@foreach($receipts as $receipt) @php $cargo = DB::table('cargo_other_charges') ->where(['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}}

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

{{$receipt->consignee}}

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->gross_amount,2)}}
Other Charges {{($displayAccountParcelPrice) ? 'A/c' : number_format($cargo->total_other_amount,2)}}
IGST {{($displayAccountParcelPrice) ? 'A/c' : number_format(0,2)}}
SGST {{($displayAccountParcelPrice) ? 'A/c' : number_format(0,2)}}
CGST {{($displayAccountParcelPrice) ? 'A/c' : number_format(0,2)}}
Net Amount {{($displayAccountParcelPrice) ? 'A/c' : number_format($receipt->total_charge,2)}}
consignee Sign & Stamp


Received By

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

Signature & Stamp

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

@endforeach