@foreach($bills as $bill) @php $isNewBill = isset($bill->rounding_amount) && !is_null($bill->rounding_amount) && $bill->rounding_amount != 0; if ($isRoundingEnabled) { if ($isNewBill) { $finalGrandTotal = $bill->grandtotal; $roundValue = $bill->rounding_amount; } else { $grandAmount = $bill->grandtotal; $ceilAmount = ceil($grandAmount); $floorAmount = floor($grandAmount); $roundValue = $ceilAmount - $grandAmount; $finalGrandTotal = ($roundValue > 0 && $roundValue <= 0.50) ? $ceilAmount : $floorAmount; } } else { $finalGrandTotal = $isNewBill ? $bill->grandtotal - $bill->rounding_amount : $bill->grandtotal; $roundValue = 0; } $billAmount = $bill->amount; $serviceChAmount = ($billAmount * $bill->service_charge_percent)/100; $amountAndService = $billAmount + $serviceChAmount; $fuelAmount = ($amountAndService * $bill->fchpercent)/100; $otherChAmount = $bill->other_charge; $totAmount = $amountAndService + $fuelAmount + $otherChAmount; @endphp
DEBIT MEMO / CASH MEMO
TAX INVOICE
ORIGINAL / DUPLICATE / TRIPLICATE

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

{{@$branch['address']}}, {{@$branch['city']}} - {{@$branch['zipcode']}}
Period Bill / {{date("d M Y", strtotime($bill->start_date))}} - {{date("d M Y", strtotime($bill->end_last))}}

M/s. {{$bill->name}}

Address {{@$bill->address1.' '.@$bill->address2.' '.@$bill->city}}

Phone {{@$bill->phone1}}

GST No. {{@$bill->gstno}}

Bill No. {{$bill->billno}}

Date. {{date("d/m/Y", strtotime($bill->created_at))}}

@if($value == 'Positive') @else @endif @if($value == 'Positive') {{-- @else --}} @endif @if($roundValue > 0 && $roundValue <= 0.50) @endif
PARTICULAR AMOUNT
COURIER CHARGES FOR THE {{date("d M Y", strtotime($bill->start_date))}} TO {{date("d M Y", strtotime($bill->end_last))}} {{Laracore::showPrice($parcels[0]->total_amount)}}
COURIER CHARGES FOR THE {{date("d M Y", strtotime($bill->start_date))}} TO {{date("d M Y", strtotime($bill->end_last))}} {{Laracore::showPrice($parcels[0]->total_amount + abs($parcels[0]->total_amount - $bill->amount))}}
DISCOUNT - {{Laracore::showPrice($parcels[0]->total_amount - $bill->amount)}}
DISCOUNT --
F.Ch. % ({{$bill->fchpercent}}) {{Laracore::showPrice(($bill->amount * $bill->fchpercent)/100)}}
CGST % ({{$bill->cgstpercent}}) {{Laracore::showPrice(($totAmount * $bill->cgstpercent)/100)}}
SGST / UTGST % ({{$bill->sgstpercent}}) {{Laracore::showPrice(($totAmount * $bill->sgstpercent)/100)}}
IGST % ({{$bill->igstpercent}}) {{Laracore::showPrice(($totAmount * $bill->igstpercent)/100)}}
Round Of {{Laracore::showPrice($roundValue)}}
GRAND TOTAL {{ Laracore::showPrice($finalGrandTotal) }}

(Rupees in words) {{ getIndianCurrency($finalGrandTotal) }}

GST No.- {{@$branch['gstno']}}
{{@$branch['bank_address']}}
A/C. No. - {{@$branch['bank_acno']}}
IFSC CODE - {{@$branch['ifsc_code']}}
MSME No. - {{@$branch['msme_no']}}
HSN/SAC CODE - {{@$branch['sac_code']}}
Pan Card No.-{{@$branch['pancard']}}
Mo. {{@$branch['contact_no']}}
@if($branch['bill_terms_and_conditions'] != '')

@php $termsAndConditionsArr = explode("\n", str_replace("\r", "", @$branch['bill_terms_and_conditions'])); $lineCount = 1; @endphp @foreach($termsAndConditionsArr as $termsAndConditions) @if($lineCount <= 5) {{$termsAndConditions}}
@php $lineCount++; @endphp @endif @endforeach

@else
PLEASE MAKE PAYMENT BY A/c. PAYEE CHEQUE IN FAVOR OF {{strtoupper(@$branch['name'])}}
PLEASE MAKE PAYMENT BY AMOUNT DUE ON 1 TO 5 DAYS
@endif
@if($branch['payment_qr_code'])

Payment QR Code

Stamp
@endif
@if($digital_signature == 1) Digitally signed by {{strtoupper(@$branch['name'])}}
Date: {{date("d/m/Y", strtotime($bill->created_at))}}
Location: {{@$branch['city']}}
@elseif($digital_signature == 2 && $branch['stamp'] != '')

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

Stamp
@else

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

Autho / Sign.
@endif
@endforeach @if(count($all_parcels) > 0) @foreach($bills as $bill) @php $fuelAmount = ($bill->amount * $bill->fchpercent)/100; $totAmount = $bill->amount + $fuelAmount; @endphp
Bill Detail / {{date(" d M Y", strtotime($bill->start_date))}} - {{date("d M Y", strtotime($bill->end_last))}}
@foreach($all_parcels as $parcels)
@endforeach @if($roundValue > 0 && $roundValue <= 0.50) @endif
Sr Receiver Center Date Cons_No Remark Package Carrier Weight {{($is_allow_to_change_insurance_label) ? str_limit($insurance_new_label_name, 4, '..') : 'Ins.'}} Charges
{{$srno}} {{@$parcels->receiver_name}} {{@$parcels->city_name}} {{date("d/m/Y", strtotime(@$parcels->date))}} {{@$parcels->consignment_no}} {{@$parcels->remakrs}} {{@$parcels->dp_name}} {{@$parcels->carrier_name}} {{@$parcels->weight}} {{strtoupper(@$parcels->weight_type)}} @if($parcels->number_of_box != null)
({{$parcels->number_of_box}} Box)
@endif
{{@$parcels->insurance_amt}} {{Laracore::showPrice(@$parcels->net_amt)}}
Amount {{Laracore::showPrice($bill->amount)}}
F.Ch. % ({{$bill->fchpercent}}) {{Laracore::showPrice(($bill->amount * $bill->fchpercent)/100)}}
CGST % ({{$bill->cgstpercent}}) {{Laracore::showPrice(($totAmount * $bill->cgstpercent)/100)}}
SGST / UTGST % ({{$bill->sgstpercent}}) {{Laracore::showPrice(($totAmount * $bill->sgstpercent)/100)}}
IGST % ({{$bill->igstpercent}}) {{Laracore::showPrice(($totAmount * $bill->igstpercent)/100)}}
Round Of {{Laracore::showPrice($roundValue)}}
GRAND TOTAL {{ Laracore::showPrice($finalGrandTotal) }}

(Rupees in words) {{ getIndianCurrency($finalGrandTotal) }}

@if($digital_signature == 1) Digitally signed by {{strtoupper(@$branch['name'])}}
Date: {{date("d/m/Y", strtotime($bill->created_at))}}
Location: {{@$branch['city']}}
@elseif($digital_signature == 2 && $branch['stamp'] != '')

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

Stamp
@else

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

Autho / Sign.
@endif
@endforeach @endif

In case of any query, feel free to contact us at

{{@$branch['name']}}
{{@$branch['address']}},
{{@$branch['city']}}
+91-{{@$branch['contact_no']}}

This is system generated invoice signature not required.