@extends('layouts.master') @push('head-css') @endpush @section('content')
{{ $booking->user->email ?? '--' }}
{{ $booking->user->mobile ? $booking->user->formatted_mobile : '--' }}
{{$booking->deal->location->name}}
{{$booking->deal_quantity}}
@if ($booking->date_time != '') {{ \Carbon\Carbon::parse($booking->date_time)->format($settings->date_format) }} @endif
@if ($booking->date_time != '') {{ $booking->date_time }} @endif
@foreach ($booking->users as $user) {{$user->name}} @endforeach
@lang('app.online')
# | @lang('app.item') | @lang('app.unitPrice') | @lang('app.quantity') | @lang('app.amount') | {{--@lang('app.amount remaining') | --}}|
---|---|---|---|---|---|---|
{{ $key+1 }}. | {{ ucwords(is_null($item->business_service_id) ? $item->product->name : $item->businessService->name) }} @if(is_null($item->business_service_id)) @lang('app.product') @else @lang('app.service') @endif |
{{ currencyFormatter(number_format((float)$item->unit_price, 2, '.', '')) }} | x{{ $item->quantity }} | @if ($booking->deal_id!=''){{ currencyFormatter(number_format((float)($item->unit_price * $item->quantity * $booking->deal_quantity), 2, '.', ''))}} | @else{{ currencyFormatter(number_format((float)(is_null($item->business_service_id) ? $item->product->discounted_price * $item->quantity : $item->businessService->discounted_price * $item->quantity), 2, '.', ''))}} | @endif {{--{{ currencyFormatter($booking->amountDue()) }} | --}}
# | @lang('app.date') | @lang('modules.booking.paymentMethod') | @lang('app.amountPaid') |
---|---|---|---|
{{ ++$key }}. | {{ \Carbon\Carbon::parse($payment->paid_on)->translatedFormat($settings->date_format) }} | {{ $payment->gateway }} | {{ ($payment->amount_paid != 0) ? currencyFormatter($payment->amount_paid) : currencyFormatter(0) }} |
@lang('front.paymentMethod')
@if($credentials->stripe_status == 'active')
@lang('front.buttons.stripe')
@endif
@if($credentials->paypal_status == 'active')
@lang('front.buttons.paypal')
@endif
@if($credentials->paystack_status == 'active' && $booking->amount_to_pay > 0)
@lang('front.buttons.paystack')
@endif
@if($credentials->razorpay_status == 'active')
@lang('front.buttons.razorpay')
@endif
|
|||
@lang('app.print') @lang('app.receipt') | @lang('app.download') @lang('app.receipt') |
@lang('app.serviceTotal') | {{ currencyFormatter(number_format((float)$booking->original_amount, 2, '.', '')) }} |
@lang('app.discount') | {{ currencyFormatter(number_format((float)$booking->discount, 2, '.', '')) }} |
@lang('app.productSubTotal') | {{ currencyFormatter(number_format((float)$booking->product_amount, 2, '.', '')) }} |
@lang('app.couponDiscount') ({{ $booking->coupon->title}}) | {{ currencyFormatter(number_format((float)$booking->coupon_discount, 2, '.', '')) }} |
@lang('app.totalTax') | {{ currencyFormatter(number_format((float)$booking->tax_amount, 2, '.', '')) }} |
@lang('app.total') | {{ currencyFormatter(number_format((float)$booking->amount_to_pay, 2, '.', '')) }} |
@lang('app.total') @lang('app.paid') | {{ currencyFormatter(number_format((float)$booking->amountPaid(), 2, '.', '')) }} |
@lang('app.amountRemaining') | {{ currencyFormatter(number_format((float)$booking->amountDue(), 2, '.', '')) }} |
@lang('modules.booking.paymentStatus') | @if($booking->payment_status == 'completed') {{ __('app.'.$booking->payment_status) }} | @endif @if($booking->payment_status == 'pending') {{ __('app.'.$booking->payment_status) }} @endif @if($booking->payment_status == 'partial_payment') {{ __('app.'.$booking->payment_status) }} @endif
{!! $booking->additional_notes !!}
{{ $booking->feedback ? $booking->feedback->feedback_message : ''}}