@extends('layouts.app') @section('title') Comparative Statements @stop @section('breadcrumb')
@stop @section('css') @stop @section('content')Info : If You want to register new vendor and send rfq then go to bottom of specific item section.
@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->manufacture->name}} Non Critical | {{$list->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) { $count++; $table_content .= ' |
'; if($total_cs == $total_rfq || (strtotime(date("Y-m-d")) > strtotime(date("Y-m-d" , strtotime($purchase_request->quotation_valid_date))) )) { $table_content .=''; } else { $table_content .=' '; } $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)).' | |||
Select | 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) }}