E-INVOICE - ZIGZAG
Date: {{ $invoice->created_at->formatLocalized('%A %d %B %Y') }}
@if ($invoice->transaction_code) Invoice #{{ $invoice->transaction_code }} @endif

@if($invoice->user)

Customer Details:

@else

Guest 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

Invoice Details:

@if($invoice->coupon_id) @if($invoice->coupon->type == 'percent') @else @endif @else @endif @if($invoice->paymentType) @else @endif
# 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{{ $invoice->coupon->amount }} %{{ $invoice->coupon->amount }} QARN/A{{ $invoice->amount }} QAR{{ @$invoice->paymentType->payment_type }}--{{ $invoice->status }} {{ $invoice->type }} {{ $invoice->amount }} QAR
{{--
--}} {{--
--}} {{-- https://zigzagwash.qa/--}} {{--
--}}