@php $txt = "{$order->branch->name} Location
{$order->branch->street}
{$order->branch->city}, {$order->branch->state} {$order->branch->zip}

"; $txt_tel = $order->branch->phone; $sCustNameBPCode = $order->client->first_name . " - " . $order->client->document; @endphp

{!!$txt!!}
{!!$txt_tel!!}
sales@igt-glasshardware.com

Invoice #{{explode("/", $order->bo_invoice)[0]}}
S.O. #{{ $order->code }}

Bill To:
{!!$sCustNameBPCode!!}
@if($order->address) {{$order->address->direction}} {{$order->address->city_id}}
@endif Created on:
{{$order->creation_date}}

Sales Rep. Carrier PO#
{{$order->admin->first_name}} {{$order->admin->last_name}} {{$order->boShippingType->name}} {{$order->bo_purchase_order}}
@php $total_items = 0; @endphp @foreach($order->orderProducts as $order_product) @php $total_items += $order_product->quantity; @endphp {{-- --}} @if ( $order_product->price < $order_product->price_bruto) @else @endif @endforeach
{{$order_product->products->plu}}{{$order_product->quantity}} @ {{$order_product->price}}{{$order_product->quantity}} @ {{number_format($order_product->price_bruto, 2)}} {{ number_format($order_product->price, 2) }}{{$order_product->quantity}} @ {{ number_format($order_product->price, 2) }}${{ number_format($order_product->price * $order_product->quantity, 2) }}
{{$order_product->products->name}}