1. {{ __('My Orders') }}
  2. {{ __('Order') }} {{ $order->id }}

Order Detail

@unless($order->user_id != \Auth::user()->id) {{ Form::open(['url' => '/print_order', 'class' =>'form-horizontal']) }} {{ Form::hidden('start_order_id', $order->id)}} {{ Form::hidden('end_order_id', $order->id)}} {{ Form::close() }} @endunless
@if($order->user_id == \Auth::user()->id)

Order ID {{ $order->id }}

Sold to:
{{ $order->user->firstname }} {{ $order->user->lastname }}
Address:
{{ $order->user->address }}
{{ $order->user->city }}, {{ $order->user->state }} {{ $order->user->zip }}
{{ $order->user->country }}
Email: {{ $order->user->email }}
Phone: {{ localize_us_number($order->user->phone) }}
Order Date: {{ date('F j, Y h:m A',strtotime($order->created_at)) }}
Transaction Details
@if($transaction)
Transaction Date: {{ date('F j, Y h:m A',strtotime($transaction->created_at)) }}
Transaction Number: {{ $transaction->transaction_no }}
Transaction Amount: ${{ number_format($transaction->payment_amount,2) }}
Status: {{ ucfirst($transaction->transaction_status) }}
@else
No Transaction Data found!
{{-- Check with customer service, ref: Order ID {{ $order->id }} --}} @if(env('ZENDESKAPISUBDOMAIN') == 'none') CONTACT SUPPORT ABOUT THIS ORDER
(feature unavailable at this time) @else CONTACT SUPPORT ABOUT THIS ORDER @endif
@endif

Badges

Badge 1
@if($order->attendees->count() > 0) @if($order->attendees[0]->golfer) @if($order->attendees[0]->golfer) @else @endif @endif
Name {{$order->attendees[0]->tag_line_1}}
City/Group: {{$order->attendees[0]->tag_line_2}}
Affiliation: {{$order->attendees[0]->affiliation_type->name}}
Golf:YesNo
@endif @if(count($order->attendees) > 1)

Additional Registrants

@for($i = 1; $i < count($order->attendees); $i++)
Badge {{($i + 1)}}
@if($order->attendees[$i]->golfer) @if($order->attendees[$i]->golfer) @else @endif @endif
Name {{$order->attendees[$i]->tag_line_1}}
City/Group: {{$order->attendees[$i]->tag_line_2}}
Affiliation: {{$order->attendees[$i]->affiliation_type->name}}
Golf:YesNo
@endfor @endif
@if($order->items)

Items Ordered

@foreach($order->items as $item) @php $subtotal = $item->quantity * $item->product->price; @endphp @endforeach @if($order->comments != "") @endif
Item Qty Each Total
{{ $item->product->subtitle }} {{ $item->product->title }} @if($item->product->category_id == 15)

Personalized text:

{{$item->custom_option}}
{{$item->custom_option2}}
@endif
{{ $item->quantity }} ${{ number_format($item->product->price,2) }}${{ number_format($subtotal,2) }}
Total charge ${{number_format($order->amount,2)}}

Notes or special requests

{!! $order->comments !!}
@endif
@else
Unauthorized
@endif