@foreach($receipts as $receipt) @php $cargo = DB::table('cash_cargo_other_charges') ->where(['cash_cargo_id'=>$receipt->id]) ->select([DB::raw('SUM(amount) as total_other_amount')])->first(); @endphp
logo

Reg. Office: {{@$branch['address']}}, {{@$branch['city']}}

Ph: {{@$branch['contact_no']}}

GST No: {{@$branch['gstno']}}
ORIGIN DESTINATION
{{$receipt->origin}} {{$receipt->destination}}
Consignment no.
@php $generator = new \Picqer\Barcode\BarcodeGeneratorPNG(); @endphp {{$receipt->number}}
Date {{date('d', strtotime($receipt->date))}} {{date('m', strtotime($receipt->date))}} {{date('Y', strtotime($receipt->date))}}
CONSIGNOR

{{$receipt->consignor}}

Address

{{ $receipt->consignor_address1 ?? '' }} {{ $receipt->consignor_address2 ? ', ' . $receipt->consignor_address2 : '' }}

Mobile No. {{$receipt->consignor_mobile}}
GST No. {{$receipt->consignor_gstno}}
CONSIGNEE

{{$receipt->consignee}}

Address

{{ $receipt->receiver_address ?? '' }}

Mobile No. {{$receipt->receiver_mobile}}
package type

{{$receipt->packagetype_name}}

pieces

{{$receipt->number_of_box}}

carrier

{{$receipt->carrier_name}}

weight

{{($displayAccountParcelWeight) ? 'A/c' : $receipt->weight}}

mode of payment Cash Credit parcel value

{{$receipt->parcel_value}}

Remarks

{{$receipt->remarks}}

{{-- --}}
Terms & Condition

{{$branch['cash_receipt_notes']}}

Gross Amount {{($displayAccountParcelPrice) ? 'A/c' : number_format($receipt->amont,2)}}
Other Charges {{($displayAccountParcelPrice) ? 'A/c' : number_format($cargo->total_other_amount,2)}}
IGST {{($displayAccountParcelPrice) ? 'A/c' : number_format($receipt->igst,2)}}
SGST {{($displayAccountParcelPrice) ? 'A/c' : number_format($receipt->sgst,2)}}
CGST {{($displayAccountParcelPrice) ? 'A/c' : number_format($receipt->cgst,2)}}
Net Amount {{($displayAccountParcelPrice) ? 'A/c' : number_format($receipt->total_charge,2)}}
consignee Sign & Stamp


Received By

{{@$branch['name']}}

Signature & Stamp

{{@$branch['name']}}

@endforeach