Purchase Orders
PO id |
Supplier |
Warehouse |
Payment terms |
Product name |
total |
|---|---|---|---|---|---|
| #{{$value->id}} | {{$value->supplier_name}} | {{$value->warehouse_name}} | {{$value->payment_terms}} |
@php
$products = fetch_orders_products_pos($value->id);
$countProducts = $products? $products->count()-1:0;
$i = 0;
@endphp
@if($products)
@forelse ( $products as $info)
@if($i == 0)
Name: {!! substr(strip_tags($info->product_name), 0, 22) !!}..
Recived: {{$info->recived_qty}}
Qty: {{$info->quantity}}
{{ $countProducts != 0 ? "+ ".$countProducts." More Products" : '' }}
@else
Name: {!! substr(strip_tags($info->product_name), 0, 22) !!}..
Recived: {{$info->recived_qty}}
Qty: {{$info->quantity}} @endif @if($i == $countProducts) |
{{$value->total}} |
{{$Podata->links()}}