sentVat=='1') style="background-color:#6ec00f;" @elseif($row->status=='Delivered') style="background-color: #e26c36;" @elseif($row->status=='Shipped') style="background-color: #718bff;" @endif>
| {{$key+1}} |
{{$row->reference }} |
@if(empty($row->created_at)) @else {{date('d M, Y h:i:s', strtotime($row->created_at))}} @endif |
{{@$row->agentData->name}} |
{{@$row->userData->areaData->name}} |
{{@$row->userData->id}} |
{{@$row->userData->name}} |
£ {{$row->totalAmt-$row->taxAmt}} |
£ {{$row->totalAmt}} |
@if($row->discount) £ {{$row->discount}} @else N/A @endif |
@if($row->paymentStatus=='cod') @if(TotalPartPayment($row->id,$row->totalAmt)==0) N/A @else £ {{TotalPartPayment($row->id,$row->totalAmt)}} @endif @else Paid @endif |
@if($row->paymentStatus=='cod') £ {{(($row->totalAmt)-(TotalPartPayment($row->id,$row->totalAmt)+$row->discount))}} @else DONE @endif |
{{$row->paymentStatus}} |
{{$row->status}} |
{{$row->by}} |
@if($row->transaction_id) #{{$row->transaction_id}} @endif |
@if($row->paymentStatus=='cod')
@endif
|
|
|
@else
sentVat=='1') style="background-color:#6ec00f;" @elseif($row->status=='Delivered') style="background-color: #e26c36;" @elseif($row->status=='Shipped') style="background-color: #718bff;" @endif>
| {{$key+1}} |
{{$row->reference }} |
@if(empty($row->created_at)) @else {{date('d M, Y h:i:s', strtotime($row->created_at))}} @endif |
{{@$row->agentData->name}} |
{{@$row->userData->areaData->name}} |
{{@$row->userData->id}} |
{{@$row->userData->name}} |
£ {{$row->totalAmt-$row->taxAmt}} |
£ {{$row->totalAmt}} |
@if($row->discount) £ {{$row->discount}} @else N/A @endif |
@if($row->paymentStatus=='cod') @if(TotalPartPayment($row->id,$row->totalAmt)==0) N/A @else £ {{TotalPartPayment($row->id,$row->totalAmt)}} @endif @else Paid @endif |
@if($row->paymentStatus=='cod') £ {{(($row->totalAmt)-(TotalPartPayment($row->id,$row->totalAmt)+$row->discount))}} @else DONE @endif |
{{$row->paymentStatus}} |
{{$row->status}} |
@if($row->transaction_id) #{{$row->transaction_id}} @endif |
{{$row->by}} |
@if($row->paymentStatus=='cod')
@endif
|
|
|
@endif
@endforeach