@php $sitesetup = App\Models\Setting::where('type','site-setup')->where('key', 'site-setup')->first(); $datetime = $sitesetup ? json_decode($sitesetup->value) : null; @endphp {{ Form::hidden('id',$bookingdata->id) }}
{{__('messages.book_placed')}} {{ date("$datetime->date_format / $datetime->time_format", strtotime($bookingdata->created_at)) ?? '-'}}
{{__('messages.amount')}} : {{!empty($bookingdata->total_amount) ? getPriceFormat($bookingdata->total_amount): 0}}
{{ optional($bookingdata->customer)->contact_number ?? '-' }}
{{ optional($bookingdata->customer)->address ?? '-' }}
{{ optional($bookingdata->provider)->contact_number ?? '-' }}
{{ optional($bookingdata->provider)->address ?? '-' }}
{{optional($booking->handyman)->contact_number ?? '-'}}
{{optional($booking->handyman)->address ?? '-'}}
{{__('messages.title')}} | {{__('messages.price')}} | {{__('messages.quantity')}} | {{__('messages.total_amount')}} |
---|---|---|---|
{{getPriceFormat($chrage->price)}} | {{$chrage->qty}} | {{getPriceFormat($chrage->price * $chrage->qty)}} |
{{__('messages.title')}} | {{__('messages.price')}} | {{__('messages.total_amount')}} |
---|---|---|
{{getPriceFormat($addonservice->price)}} | {{getPriceFormat($addonservice->price)}} |
{{__('messages.service')}} | {{__('messages.price')}} | {{__('messages.quantity')}} | {{__('messages.sub_total')}} |
---|---|---|---|
{{ isset($bookingdata->amount) ? getPriceFormat($bookingdata->amount) : 0 }} | {{!empty($bookingdata->quantity) ? $bookingdata->quantity : 0}} | {{getPriceFormat($bookingdata->final_total_service_price)}} |
{{ __('messages.price') }} | {{ getPriceFormat($bookingdata->amount) }} * {{ $bookingdata->quantity }} = {{ getPriceFormat($bookingdata->amount * $bookingdata->quantity) }} |
{{ __('messages.discount') }} ({{ $bookingdata->discount }}% off) | -{{ getPriceFormat($bookingdata->final_discount_amount) }} |
{{ __('messages.coupon') }} ({{ $bookingdata->couponAdded->code }}) | -{{ getPriceFormat($bookingdata->final_coupon_discount_amount) }} |
{{ __('messages.subtotal_vat') }} | {{ getPriceFormat($subTotal) }} |
{{ __('messages.extra_charge') }} | +{{ getPriceFormat($extraCharges) }} |
{{ __('messages.add_ons') }} | +{{ getPriceFormat($addonTotalPrice) }} |
{{ __('messages.tax') }} ({{ $bookingdata->tax_rate }}%) | {{ getPriceFormat($taxAmount) }} |
{{ __('messages.grand_total') }} |
{{ getPriceFormat($grandTotal) }} |
{{ __('messages.advance_payment_amount') }} ({{ $bookingdata->service->advance_payment_amount }}%) | {{ getPriceFormat($bookingdata->advance_paid_amount) }} |
{{ __('messages.remaining_amount') }} @if(optional($bookingdata->payment)->payment_status == 'paid') {{ __('messages.paid') }} @else {{ __('messages.pending') }} @endif | {{ getPriceFormat($grandTotal - $bookingdata->advance_paid_amount) }} |