{!! str_replace(',', '
', e($fetchCwoName->address??'')) !!}
Phone: {{$cwo_phone??''}}
Email: {{$fetchCwoName->cwo_email??''}}
Account Holder: @if(isset($bankDetails)){{ $bankDetails->account_holder }}@endif
Account Number: @if(isset($bankDetails)){{ $bankDetails->account_number }}@endif
Bank Name: @if(isset($bankDetails)){{ $bankDetails->bank_name }}@endif
Account Type: @if(isset($bankDetails)){{ $bankDetails->account_type }}@endif
Branch Name: @if(isset($bankDetails)){{ $bankDetails->branch_name }}@endif
Branch Code: @if(isset($bankDetails)){{ $bankDetails->branch_code }}@endif
Swift Code/IBAN: @if(isset($bankDetails)){{ $bankDetails->swift_code }}@endif
@if(!empty($data))
@php
$i = 1;
$tot_amount = 0;
$paid_amount = 0;
$due_amount = 0;
@endphp
@foreach($data as $d1)
@php
$tot_amount += $d1['total_amount'];
if($d1['payment_status']=='1'){
$paid_amount += $d1['total_amount'];
}else{
$due_amount += $d1['total_amount'];
}
@endphp
@endforeach
@endif
Client Name: {{ $co_fname }} {{ $co_lname }}
Phone: {{$isd_code}}{{ $co_phone }}
@php $invoice_no = $id.'-'.$entry_date @endphp
@if(!empty($entry_date))
Invoice Number#: {{$invoice_no ?? ''}}
Invoice Date: {{ \Carbon\Carbon::parse($entry_date)->format('jS F, Y') }}
@else
Invoice Number#: {{ $invoice_no ?? ''}}
Invoice Date: {{ $date_washed }}
@endif
@if($tot_amount > 0)
Amount Due:: {{ $symbol }}{{ $tot_amount }}
@endif
| Sl. No. | Car Reg. No. | Make | Model | Color | Body Type | Wash Type | Amount | Date Washed | Completed Date | Wash Status | Payment Status | Payment Type |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $i }} | {{ $d['car_registration_no'] }} | {{ $d['make'] }} | {{ $d['car_model'] }} | {{ $d['vehicle_color'] }} | {{ $d['body_type'] }} | {{ $wash_name }} | {{ $d['symbol'] }}{{ $d['total_amount'] }} | {{ $d['date_washed'] }} | {{ $d['date_washed'] }} | {{ $p_status }} | @if($d['status'] == 0) In Queue @endif @if($d['status'] == 1) In Wash Bay @endif @if($d['status'] == 2) Finishing Bay @endif @if($d['status'] == 3) Completed @endif @if($d['status'] == 4) Cancelled @endif @if($d['status'] == 5) Keys Collected @endif | {{ $d['payment_details'] }} |