{{ config('custom.invoice_header') }}

{{env('APP_NAME')}}

{!! getCompanyDetail('address') !!}

Email: {!! getCompanyDetail('email') !!}

Phone: {!! getCompanyDetail('phone') !!}

ABN: {!! getCompanyDetail('abn') !!}

{{--
--}}

{{$order->institution->name}}

{{$order->institution->address}}

Email: {{$order->institution->email}}

Phone: {{$order->institution->contact_number}}


Your Order Details: @if($order->order_status == \App\Constant\Constant::ORDER_COMPLETE) PAID @else UNPAID @endif

Tax Invoice Number:{{$order->invoice_number}}
Order Date:{{$order->order_date_formatted}}
Student Id: {{$order->graduate->student_id}}
Institute Name: {{$order->institution->name}}
Course Name: {{$order->graduate->course->course_name}}
Venue:{{$order->ceremony->venue}}
Ceremony Date:{{$order->ceremony->date_formatted}}
Ceremony Time:{{$order->ceremony->time}}
Address:{{$order->ceremony->address}}

@if (isTrue($order->institution->enable_dietary_preference_option)) @endif
Name:{{$order->graduate->full_name}}
Email:{{$order->graduate->email}}
Mobile:{{$order->graduate->mobile}}
Mailing Address:
{{$order->address}}
Dietary Preference:{{$order->graduate->dietary_preference}}
@if (!is_null($order->graduate->seat_number))
Seat Number:{{$order->graduate->seat_number}}
@endif


Item @if (isGraduate($order->graduate->user_type)) Price @endif
@foreach ($order->orderProducts as $op)

{{$op->packageProduct->product_name}} - (SIZE: {{ $op->product_size}})

@endforeach @foreach ($order->orderStaticProducts as $so)

{{$so->commonProduct->name}} - ({{ $so->commonProduct->description}})

@endforeach
@if (isGraduate($order->graduate->user_type)) AUD {{amountForPDF($order, 'package_amount_formatted')}} @endif
@if (isGraduate($order->graduate->user_type)) @if($order->graduation->package->allowed_guest_number > 0 && isGraduate($order->graduate->user_type))
{{$order->guest_number}} Guest(s) Tickets AUD {{amountForPDF($order, 'guest_price_amount_formatted')}}
@endif @endif @if(isYesNoTextStatus($order->graduate->can_pre_order))
@foreach ($order->orderOtherProducts as $other) @endforeach @if (isGraduate($order->graduate->user_type)) @if (isYesNoTextStatus($order->graduate->can_pre_order)) @endif @endif @if (isGraduate($order->graduate->user_type)) @if ($order->merchant_fee > 0) @endif @endif @if (isGraduate($order->graduate->user_type)) @endif

{{ $other->otherProduct->product_name }} @if (!is_null($other->other_product_option_id))

- {{ $other->otherProductOption->name }}
@endif

QTY: {{ $other->quantity }}

AUD ${{ $other->product_total_price_formatted }}
Important: {{ $other->otherProduct->product_name }} Instructions
{!! $other->otherProduct->instruction !!}
Postage Fee AUD ${{ numberFormat($order->postage_fee) }}
Merchant Fee AUD ${{ $order->merchant_fee_amount_formatted }} ({{ $order->merchant_fee }}%)
Total AUD {{amountForPDF($order, 'total_amount_formatted')}}
(Including GST)
{{ $order->payment_method }}
@endif @if(isGraduate($order->graduate->user_type))


@if ($order->guestListsWithPaid()->count() > 0) @foreach ($order->guestListsWithPaid as $guest)
{!! $guest->first_name !!}
{!! strtoupper($guest->last_name) !!}

{{--
--}}
Guest Ticket
{{--
Ticket Price:  AUD {{$order->free_guest_number >= $i ? '$0.00' : ticketAmountForPDF($order,'per_guest_price_amount')}} (Inc GST)
--}}
Ceremony Date:  {{$order->ceremony->date_formatted}}
Ceremony Time:  {{$order->ceremony->time}}
Venue:  {{$order->ceremony->venue}}
Address:  {{$order->ceremony->address}}
ROW/SEAT
N/A

NO ALLOCATED SEATING




@endforeach @else @for ($i = 1; $i<=$order->guest_number;$i++)
{!! $order->graduate->first_name !!}
{!! strtoupper($order->graduate->last_name) !!}

{{--
--}}
Guest Ticket
{{--
Ticket Price:  AUD {{$order->free_guest_number >= $i ? '$0.00' : ticketAmountForPDF($order,'per_guest_price_amount')}} (Inc GST)
--}}
Ceremony Date:  {{$order->ceremony->date_formatted}}
Ceremony Time:  {{$order->ceremony->time}}
Venue:  {{$order->ceremony->venue}}
Address:  {{$order->ceremony->address}}
ROW/SEAT
N/A

NO ALLOCATED SEATING




@endfor @endif @endif @if (isGraduate($order->graduate->user_type))
Academic Regalia Information
{!! $order->graduation->package->invoice_regalia_collection_text ?? null !!}


{!! $order->graduation->package->invoice_text ?? null !!}
@endif
{{ config('custom.invoice_header') }}