Server IP : 66.29.132.124 / Your IP : 3.144.37.178 Web Server : LiteSpeed System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : wavevlvu ( 1524) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/wavevlvu/book24.ng/modules/Flight/Views/emails/ |
Upload File : |
<div class="b-panel-title">{{__('Flight information')}}</div> <div class="b-table-wrap"> <table class="b-table" cellspacing="0" cellpadding="0"> <tr> <td class="label">{{__('Booking Number')}}</td> <td class="val">#{{$booking->id}}</td> </tr> <tr> <td class="label">{{__('Booking Status')}}</td> <td class="val">{{$booking->statusName}}</td> </tr> @if($booking->gatewayObj) <tr> <td class="label">{{__('Payment method')}}</td> <td class="val">{{$booking->gatewayObj->getOption('name')}}</td> </tr> @endif @if($booking->gatewayObj and $note = $booking->gatewayObj->getOption('payment_note')) <tr> <td class="label">{{__('Payment Note')}}</td> <td class="val">{!! clean($note) !!}</td> </tr> @endif <tr> <td class="label">{{__('Flight name')}}</td> <td class="val"> <a href="{{$service->getDetailUrl()}}">{!! clean($service->title) !!}</a> </td> </tr> <tr> @if($service->address) <td class="label">{{__('Address')}}</td> <td class="val"> {{$service->address}} </td> @endif </tr> @if($booking->start_date && $booking->end_date) <tr> <td class="label">{{__('Start date')}}</td> <td class="val">{{display_datetime($booking->start_date)}}</td> </tr> <tr> <td class="label">{{__('End date:')}}</td> <td class="val"> {{display_datetime($booking->end_date)}} </td> </tr> @if($booking->getMeta("booking_type") == "by_day") <tr> <td class="label">{{__('Days:')}}</td> <td class="val"> {{$booking->duration_days}} </td> </tr> @endif @if($booking->getMeta("booking_type") == "by_night") <tr> <td class="label">{{__('Nights:')}}</td> <td class="val"> {{$booking->duration_nights}} </td> </tr> @endif @endif @if($meta = $booking->getMeta('adults')) <tr> <td class="label">{{__('Adults')}}:</td> <td class="val"> <strong>{{$meta}}</strong> </td> </tr> @endif @if($meta = $booking->getMeta('children')) <tr> <td class="label">{{__('Children')}}:</td> <td class="val"> <strong>{{$meta}}</strong> </td> </tr> @endif <tr> <td class="label">{{__('Pricing')}}</td> <td class="val"> <table class="pricing-list" width="100%"> <tr> <td class="label"> {{__('Rental price')}} </td> <td class="val"> @php $price_item = $booking->total_before_extra_price; @endphp <strong> {{format_money( $price_item)}}</strong> </td> </tr> @php $extra_price = $booking->getJsonMeta('extra_price')@endphp @if(!empty($extra_price)) <tr> <td colspan="2" class="label-title"><strong>{{__("Extra Prices:")}}</strong></td> </tr> <tr class=""> <td colspan="2" class="no-r-padding no-b-border"> <table width="100%"> @foreach($extra_price as $type) <tr> <td class="label">{{$type['name']}}:</td> <td class="val no-r-padding"> <strong>{{format_money($type['total'] ?? 0)}}</strong> </td> </tr> @endforeach </table> </td> </tr> @endif @php $list_all_fee = []; if(!empty($booking->buyer_fees)){ $buyer_fees = json_decode($booking->buyer_fees , true); $list_all_fee = $buyer_fees; } if(!empty($vendor_service_fee = $booking->vendor_service_fee)){ $list_all_fee = array_merge($list_all_fee , $vendor_service_fee); } @endphp @if(!empty($list_all_fee)) @foreach ($list_all_fee as $item) @php $fee_price = $item['price']; if(!empty($item['unit']) and $item['unit'] == "percent"){ $fee_price = ( $booking->total_before_fees / 100 ) * $item['price']; } @endphp <tr> <td class="label"> {{$item['name_'.$lang_local] ?? $item['name']}} <i class="icofont-info-circle" data-toggle="tooltip" data-placement="top" title="{{ $item['desc_'.$lang_local] ?? $item['desc'] }}"></i> @if(!empty($item['per_person']) and $item['per_person'] == "on") : {{$booking->total_guests}} * {{format_money( $fee_price )}} @endif </td> <td class="val"> @if(!empty($item['per_person']) and $item['per_person'] == "on") {{ format_money( $fee_price * $booking->total_guests ) }} @else {{ format_money( $fee_price ) }} @endif </td> </tr> @endforeach @endif @if(!empty($booking->coupon_amount) and $booking->coupon_amount > 0) <tr> <td class="label"> {{__("Coupon")}} </td> <td class="val"> -{{ format_money($booking->coupon_amount) }} </td> </tr> @endif </table> </td> </tr> <tr> <td class="label fsz21">{{__('Total')}}</td> <td class="val fsz21"><strong style="color: #FA5636">{{format_money($booking->total)}}</strong></td> </tr> <tr> <td class="label fsz21">{{__('Paid')}}</td> <td class="val fsz21"><strong style="color: #FA5636">{{format_money($booking->paid)}}</strong></td> </tr> @if($booking->total > $booking->paid) <tr> <td class="label fsz21">{{__('Remain')}}</td> <td class="val fsz21"><strong style="color: #FA5636">{{format_money($booking->total - $booking->paid)}}</strong></td> </tr> @endif </table> </div> <div class="text-center mt20"> <a href="{{ route("user.booking_history") }}" target="_blank" class="btn btn-primary manage-booking-btn">{{__('Manage Bookings')}}</a> </div>