@foreach($orders as $order) @if($order->items->count() > 0)
|
||||||||||||||||||||||||||||||||
Item Description | Type | Quantity | Unit Price | Amount | Subtotal | |||||||||||||||||||||||||||
{{$item->subtitle}} {{$item->title}}
{{-- @if($item->category_id == 15)
Personalized text:
@endif --}}
{{$p->custom_option}} {{$p->custom_option2}} |
{{ $item->doc }} | {{$p->quantity}} | ${{number_format(floor($item->price * 100)/100,2, '.', '')}} | ${{number_format(floor($p->quantity * $item->price * 100)/100,2, '.', '')}} | @php if($item->doc == 't') { $ticketed_total = $ticketed_total + ($p->quantity * $item->price); } @endphp||||||||||||||||||||||||||||
{{$item->subtitle}} {{$item->title}}
{{-- @if($item->category_id == 15)
Personalized text:
@endif --}}
{{$p->custom_option}} {{$p->custom_option2}} |
{{ $item->doc }} | {{$p->quantity}} | ${{number_format(floor($item->price * 100)/100,2, '.', '')}} | ${{number_format(floor($p->quantity * $item->price * 100)/100,2, '.', '')}} | @php if($item->doc == 'c') { $commemoratives_total = $commemoratives_total + ($p->quantity * $item->price); } @endphp||||||||||||||||||||||||||||
{{$item->subtitle}} {{$item->title}}
{{-- @if($item->category_id == 15)
Personalized text:
@endif --}}
{{$p->custom_option}} {{$p->custom_option2}} |
{{ $item->doc }} | {{$p->quantity}} | ${{number_format(floor($item->price * 100)/100,2, '.', '')}} | ${{number_format(floor($p->quantity * $item->price * 100)/100,2, '.', '')}} | @php if($item->doc == 'd') { $donations_total = $donations_total + ($p->quantity * $item->price); } @endphp||||||||||||||||||||||||||||
{{$item->subtitle}} {{$item->title}}
@if($item->category_id == 15)
Personalized text:
@endif
{{$p->custom_option}} {{$p->custom_option2}} |
No Category! | {{$p->quantity}} | ${{number_format(floor($item->price * 100)/100,2, '.', '')}} | ${{number_format(floor($p->quantity * $item->price * 100)/100,2, '.', '')}} | @php if($item->doc == 'd') { $donations_total = $donations_total + ($p->quantity * $item->price); } @endphp{{-- {{$donations_total}} --}} | |||||||||||||||||||||||||||
Item | Total | Vegetarian | ||||||||||||||||||||||||||||||
Breakfast | {{$breakfast_total - $breakfast_vegetarian}} | {{$breakfast_vegetarian}} | ${{number_format(floor($item->price * 100)/100,2, '.', '')}} | ${{number_format(floor($breakfast_total * $item->price * 100)/100,2, '.', '')}} | ||||||||||||||||||||||||||||
Al-Anon Luncheon | {{$alanon_total - $alanon_vegetarian}} | {{$alanon_vegetarian}} | ${{number_format(floor($item->price * 100)/100,2, '.', '')}} | ${{number_format(floor($alanon_total * $item->price * 100)/100,2, '.', '')}} | ||||||||||||||||||||||||||||
Banquet | {{$aa_banquet_total - $aa_banquet_vegetarian}} | {{$aa_banquet_vegetarian}} | ${{number_format(floor($item->price * 100)/100,2, '.', '')}} | ${{number_format(floor($aa_banquet_total * $item->price * 100)/100,2, '.', '')}} | ||||||||||||||||||||||||||||
Total | ${{number_format(floor($order->amount * 100)/100,2, '.', '')}} | |||||||||||||||||||||||||||||||
LAST NAME: {{$order->user->lastname}} |
||||||||||||||||||||||||||||||||
Order Subtotals |
||||||||||||||||||||||||||||||||
Ticketed | {{number_format(floor($ticketed_total * 100)/100,2, '.', '')}} | |||||||||||||||||||||||||||||||
Commemoratives | {{number_format(floor($commemoratives_total * 100)/100,2, '.', '')}} | |||||||||||||||||||||||||||||||
Donations | {{number_format(floor($donations_total * 100)/100,2, '.', '')}} | |||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||
|