@php $is_credit = 0; foreach ($order->payment as $item) { if($item->payment_method == "credit_line"){ $is_credit = 1; } } @endphp @if ($is_credit == 1) @endif @if (!isset($product_type)) {{-- --}} {{-- --}} {{-- --}} @if($name !== "order-without-price") @endif @else @endif @forelse ($order_detail as $detail) @if (!isset($product_type)) @foreach ($detail->installs as $key => $install) @if($install != '') @endif @endforeach @if (count($detail->warranties) > 0) @foreach ($detail->warranties as $key => $warranty) @if ($warranty != '') @if($name !== "order-without-price") @endif @endif @endforeach @endif @else @endif @empty @endforelse @if (!isset($product_type)) {{-- @if($order->qty_haul > 0) @endif --}} @endif
Item NameDescriptionBrandPriceLocation QtyTotal
Location Model # Brand Description Qty Serial #

@if (!$without_model_number) {{ $detail->product_model." (".availabilityCondition($detail->available_condition).")" }} - @endif {{$detail->product_name}} @if ($detail->serial_numbers)

SN: {{ implode(',', $detail->serial_numbers->pluck('serial_number')->toArray()) }}
@endif

{{ removeSlymanBros($detail->store->store_name) }} {{ $detail->quantity }} @if ($order->package_pricing) See Below @else ${{ number_format($detail->subtotal_price,2) }} @endif

Install - {{$install->install_name}}

{{ $detail->quantity }} ${{ number_format($detail->quantity * $install->install_price,2) }} {{-- ${{ $detail->quantity * $detail->install_price_list[$key] }} --}}

Protection Plan - {{ $warranty->warranty_name}}

{{ $detail->quantity }} ${{ number_format($detail->quantity * $warranty->warranty_price,2) }} {{-- ${{ $detail->quantity * $detail->warranty_price_list[$key] }} --}}
{{ $detail->delivery_method_name }} {{ $detail->product_model." (".availabilityCondition($detail->available_condition).")" }} {{ $detail->product_brand }} {{ $detail->product_name }} {{ $detail->quantity }} {{ $detail->serial_number }}
No Data
Haul Away Old: {{ $order->qty_haul == 0 ? 'No':'Yes' }}
{{$order->qty_haul}}
@if(!empty($order->service_Call)) @if(count($order->service_Call) > 0)

Home Visit

@foreach ($order->service_Call as $service) @endforeach
Description Date Delivery Method Delivery Status
{{ $service->description }} {{ $service->formatted_date }} {{ $service->delivery_method ? $service->delivery_method->delivery_method_name : '-'}} {{ $service->status->name }}
@endif @endif