@extends('layouts.app') @section('content') @section('css') @endsection
| Id | Customer | Date Time | Type | Payment | Tax | Discount | SubTotal | Total | User | View |
|---|---|---|---|---|---|---|---|---|---|---|
| {{$row->id}} | {{ucwords($row->customer_name)}} |
{{ date("j-F-Y", strtotime($row->created_at)) }}
{{ date("h:i:s A", strtotime($row->created_at)) }} |
{{ucwords($row->order_type)}} | {{ucwords($row->payment_type)}}
@if($row->order_type == 'delivery') @if($row->payment_status == 1) @else @endif @endif |
{{$row->tax}} | {{$row->discount_value}} | {{$row->subtotal}} | {{$row->total}} | {{ucwords($row->user)}} |