@foreach($booking->items as $key=>$item)
{{ ++$count }} |
{{ ucwords(is_null($item->business_service_id) ? $item->product->name : $item->businessService->name) }}
|
{{ $item->quantity }} |
{{globalSetting()->currency->currency_code}} {{ number_format((float)$item->unit_price, 2, '.', '') }} |
@if (!is_null($booking->deal_id))
{{globalSetting()->currency->currency_code}} {!!(number_format((float)($item->unit_price * $item->unit_quantity), 2, '.', '')) !!} |
@else
{{globalSetting()->currency->currency_code}} {!!(number_format((float)(is_null($item->business_service_id) ? $item->product->discounted_price * $item->quantity : $item->businessService->discounted_price * $item->quantity), 2, '.', '')) !!} |
@endif
@endforeach
|
|
|
@lang("app.subTotal") |
{{globalSetting()->currency->currency_code}} {{ number_format((float)$booking->original_amount+$booking->product_amount, 2, '.', '') }} |
@if($booking->discount > 0)
|
|
|
@lang("app.discount") |
- {{globalSetting()->currency->currency_code}} {{ number_format((float)$booking->discount, 2, '.', '') }} |
@endif
@if($booking->tax_amount > 0)
|
|
|
@lang('app.totalTax') |
{{globalSetting()->currency->currency_code}} {{ number_format((float)$booking->tax_amount, 2, '.', '') }} |
@endif
|
|
|
@lang("app.total") @lang("app.paid") |
{{globalSetting()->currency->currency_code}} {{ number_format((float)$booking->amountPaid(), 2, '.', '') }} |
|
|
|
@lang("app.total") |
{{globalSetting()->currency->currency_code}} {{ number_format((float)$booking->amount_to_pay, 2, '.', '') }} |
|
|
|
@lang("app.payment") @lang("app.status") |
{{$booking->payment_status}} |