@if($invoice->user)
Customer Details:
@elseGuest Details:
@endif
@if($invoice->user)
CUSTOMER CODE: {{ $invoice->user->reference_code }}
CUSTOMER NAME: {{ $invoice->user->name }}
@else GUEST NAME: {{ @$invoice->userSubscription->guest->full_name }}
@endif @foreach($invoice->userSubscriptions as $userSubscriptions) @php $car=$userSubscriptions->getCar; @endphp Subscription Id: {{ $userSubscriptions->id }}
CUSTOMER CAR: {{ @$car->model->name }} #{{ @$car->plate_number }}
CAR LOCATION: {{ @$car->location->street_name}}, {{ @$car->location->compound_name}}
CAR PARKING: {{ @$car->location->parking_type}}
@endforeach
CUSTOMER NAME: {{ $invoice->user->name }}
@else GUEST NAME: {{ @$invoice->userSubscription->guest->full_name }}
@endif @foreach($invoice->userSubscriptions as $userSubscriptions) @php $car=$userSubscriptions->getCar; @endphp Subscription Id: {{ $userSubscriptions->id }}
CUSTOMER CAR: {{ @$car->model->name }} #{{ @$car->plate_number }}
CAR LOCATION: {{ @$car->location->street_name}}, {{ @$car->location->compound_name}}
CAR PARKING: {{ @$car->location->parking_type}}
@endforeach
Invoice Details:
# | PACKAGE | PACKAGE PRICE | Discount | PAID AMOUNT | PAYMENT TYPE | PAYMENT STATUS | SUBSCRIPTION TYPE | TOTAL | |||
---|---|---|---|---|---|---|---|---|---|---|---|
{{ $invoice->transaction_code }} | {{ @$invoice->userSubscriptions[0]->allPackage->name_en }} | {{ @$invoice->userSubscriptions[0]->allPackage->monthly_price }} QAR | @if($invoice->coupon_id) @if($invoice->coupon->type == 'percent'){{ $invoice->coupon->amount }} % | @else{{ $invoice->coupon->amount }} QAR | @endif @elseN/A | @endif{{ $invoice->amount }} QAR | @if($invoice->paymentType){{ @$invoice->paymentType->payment_type }} | @else-- | @endif{{ $invoice->status }} | {{ $invoice->type }} | {{ $invoice->amount }} QAR |
--}}
{{--
--}} {{-- https://zigzagwash.qa/--}} {{--
--}}
--}} {{-- https://zigzagwash.qa/--}} {{--