@foreach ($profile as $pic) @if ($purchase_order->branch == $pic->branch)

{{ $pic->name }}

{{ $pic->address }}
{{ $pic->phno1 }}, {{ $pic->phno2 }}

@endif @endforeach {{--

Purchase Order

--}}
Receiving Mode :  {{ $purchase_order->balance_due }}


{{ $purchase_order->quote_no }}
{{ $purchase_order->po_date }}

{{-- --}} @php $no = 1; @endphp @foreach ($purchase_sells as $sell) @php $no++; @endphp @endforeach @foreach ($payment_methods as $index => $payment_method) @if ($index == 0) @else @endif @endforeach
{{ trans('No') }} {{ trans('Item Name') }} {{ trans('Description') }} {{ trans('Qty') }} {{ trans('Unit') }} {{ trans('Price') }} {{ trans('Discounts') }}{{ trans('Total') }} {{-- ({{ config('currency.symbol') }}) --}}
{{ $no }} {{ $sell->part_number }} {{ $sell->description }} {{ $sell->product_qty }} {{ $sell->unit }} {{ number_format($sell->product_price ?? 0, 2) }} {{ number_format($sell->discount ?? 0, 2) }} {{ number_format($sell->product_qty * $sell->product_price - $sell->discount ?? 0, 2) }}
Sub Total {{ number_format($purchase_order->sub_total ?? 0, 2) }}
Overall Discount {{ number_format($purchase_order->discount_total ?? 0, 2) }}
Item Discount {{ number_format($purchase_sells->sum('discount') ?? 0, 2) }}
Total {{ number_format($purchase_order->total ?? 0, 2) }}
Payment Method - {{ $payment_method->payment_method }}                                {{ $payment_method->payment_method }} {{ number_format($payment_method->payment_amount ?? 0, 2) }}
Deposit {{ number_format($purchase_order->deposit ?? 0, 2) }}
Remaning Balance {{ number_format($purchase_order->remain_balance ?? 0, 2) }}


Remark - {{ $purchase_order->remark }}
{{-- Print --}}
Print