@if(!empty($package['pdfB2BLogo']) && file_exists(public_path('storage/' . $package['pdfB2BLogo'])) ) @else TripifyMe @endif
Reservation ID

@if($commentspack->customer_type <> 4) TripifyMe:- @endif TTC{{ str_pad(@$commentspack->id, 7, '0', STR_PAD_LEFT) }}

Check-in
{{ date('d M Y', strtotime($package['start_date'])) }}
Check-out
{{ date('d M Y', strtotime($package['end_date'])) }}
Confirmed

PAYMENT RECEIPT

@php $taxes="GST"; $gstAmount =0; $billingId = $commentspack->billing_id; $grandTotaltest = $commentspack?->packagesummary?->buying_price; $profit = ($commentspack?->packagesummary?->grand_total - $commentspack?->packagesummary?->buying_price) - ($commentspack->discount ?? 0); if ($billingId == 1) { // Same state $sgstPercentage = $billingDetails->sgst; $cgstPercentage = $billingDetails->cgst; $taxes="SGST & CGST"; $persgst=($profit * $sgstPercentage) / 100; $percgst=($profit * $cgstPercentage) / 100; $gstAmount = ($profit * ($sgstPercentage + $cgstPercentage)) / 100; $totcol = 10; $parcol = 5; } elseif ($billingId == 2) { // Different state $igstPercentage = $billingDetails->igst; $gstAmount = ($profit * $igstPercentage) / 100; $perigst=$gstAmount ; $taxes="IGST"; $totcol = 10; $parcol = 5; } elseif ($billingId == 3) { // Dubai $vatPercentage = $billingDetails->vat; $gstAmount = ($profit * $vatPercentage) / 100; $pervat=$gstAmount; $taxes="VAT"; $totcol = 8; $parcol = 3; } $grandTotal = $grandTotaltest+$profit+$gstAmount; @endphp
Bill from:Bill to:
{!! nl2br(e($settingDetails['fromaddress'] ?? '')) !!} {{ $settingDetails['toname'] }}<
{!! nl2br(e($settingDetails['toaddress'] ?? '')) !!}<
BOOKING DETAILS: Date of Travel: {{ date('d M Y', strtotime($package['start_date'])) }} - {{ date('d M Y', strtotime($package['end_date'])) }}
PRODUCT Description Duration No of Pax Total Cost
Tour Package {{ ucfirst($package['name'] ?? '') }} {{ $package['routing_days'] ?? 0 }} (D) / {{ $package['routing_nights'] ?? 0 }} (N) {{ $package['adults'] }} Adults @if($package['kids'] > 0) & {{ $package['kids'] }} Child @endif @if($package['infant'] > 0) & {{ $package['infant'] }} infant @endif {{ number_format($grandTotal, 2, '.', '') }}
@php $balance = $grandTotal; @endphp @foreach($breakdownTotals as $breakDownTransactions) @foreach($breakDownTransactions as $transaction) @if($transaction['trans_type'] == 'd') @elseif($transaction['trans_type'] == 'c') @php $balance -= $transaction['amount']; @endphp @endif @endforeach @endforeach
Total payable amount {{ number_format($grandTotal, 2, '.', '') }}
Amount Credited ON {{ date('d M Y',strtotime($transaction['updated_at'])) }} {{ number_format($transaction['amount'], 2, '.', ',') }}
Balance due {{ $package['selling_currency'] }} {{ number_format($balance, 2, '.', ',') }}

Place: Kochi

Date: {{ date('d M Y') }}

For booking confirmation, Please follow the instructions mentioned below:

PROCESS OF MAKING ADVANCE PAYMENT:

Cash deposit in our Below Bank.

{!! nl2br(e($settingDetails['account_detail'] ?? '')) !!}