@extends('layouts.app') @section('title') Purchase Order Approval Pending @stop @section('breadcrumb')
@stop @section('css') @stop @section('css') @stop @section('content')@php $total_items = 0; $amount = 0; $quantity = 0; @endphp @foreach( $purchase_request->item_purchase_requests as $list )
Code | Item - Brand | Detail | Demand Qty | Order Qty | Remain Qty | Price | CS Recv |
---|---|---|---|---|---|---|---|
{{$item->item_code}} | {{$item->item_name}} - {{$item->brand}} | {{$item->description}} | {{number_format($list->quantity , 2)}} | {{number_format($list->quantity - $list->remaining_quantity , 2)}} | {{number_format($list->remaining_quantity , 2)}} | {{number_format($list->price , 2)}} | @php $count = 0; $table_content = ''; foreach($purchase_request->comparative_statements as $cs) if($list->item_id == $cs->item_id) { $po = \App\PurchaseOrder::getStatusOfVendorPo($purchase_request->id,$cs->vendor_id,$cs->item_id); $count++; if($po[0] > 0) { $table_content .= ' |
'.Ucfirst(\App\PurchaseRequestVendor::find($cs->vendor_id)->name).' | '.number_format($cs->price , 2).' | '.$cs->message.' | '.date("d-F-Y" , strtotime($cs->created_at)).' | '.$po[1].' | |||
Vendor | Price | Message | Date | Order Quantity |
---|---|---|---|---|
Total Item: {{number_format($total_items, 2)}}
Total Items Quantity: {{number_format($quantity, 2)}}
Total Amount: PKR {{number_format($amount , 2) }}