Folio {{$order->folio}}

{{__('Station').' '.$order->location->name }} [{{$order->location->station_number}}]

{{$order->location->address}}

{{ __('Purchase date') }}
{{$order->ordered_at}}
{{__($order->code)}}
{{ __('Payment') }}: @if($order->payment == "Money") {{__($order->payment)}} @else {{__($order->payment)}} @endif
{{ __('Client info') }}
{{ __('Client id') }}: {{$order->client->id}}
{{ __('Name') }}: {{$order->client->name}}
{{ __('Phone') }}: {{$order->client->phone}}
{{ __('Email') }}: {{$order->client->email}}
@foreach($order->products as $product) @endforeach
{{ __('Upc') }} {{ __('Item') }} {{ __('Price') }} {{ __('Qty') }} {{ __('Reward points per unity') }} {{ __('Reward points given') }} {{ __('Total') }}
{{$product->upc}} {{$product->name}} ${{$product->details->price}} {{$product->details->qty}} {{$product->details->unit}} {{!is_null($product->details->product_reward_points)?$product->details->product_reward_points:'N/A'}} {{!is_null($product->details->reward_points_given)?$product->details->reward_points_given:'N/A'}} ${{$product->details->amount}}


Subtotal
${{$order->vat}}
VAT
${{$order->vat}}
Total
${{$order->total}}

@if(!is_null($order->loyalty_points_used))
{{ __('Used Points') }}
{{$order->loyalty_points_used}}
@endif @if(!is_null($order->loyalty_points_earned))
{{ __('Earned Points') }}
{{$order->loyalty_points_earned}}
@endif