@extends('layouts.app') @section('title') Comparative Statements @stop @section('breadcrumb') @stop @section('css') @stop @section('content')

Comparative Statement / PR-{{$purchase_request->id}} Print

@if($pending_approvals->count() > 0 ) @endif

{{env('APP_NAME')}}


COMPARATIVE STATEMENT

DEPARTMENT: {{$purchase_request->department->department_name}}
PROJECT: {{env('APP_NAME')}}
CONTRACTOR:  
DEMAND NO: PR-{{$purchase_request->id}}
No:  
Date: {{date('d-F-Y')}}
@php $total_quantity = 0; @endphp @foreach( $purchase_request->item_purchase_requests as $list ) @php $item = \App\Item::withTrashed()->find($list->item_id); $output_vendor = array(); @endphp @if ($loop->first) @php $vendor_name = ''; $td_counter = 0; $vendor_name .= ''; foreach($purchase_request->comparative_statements as $cs) { if(!in_array($cs->vendor_id,$output_vendor )) { $output_vendor[] = $cs->vendor_id; $vendor_name .= ''; $td_counter++; } } $vendor_name .= ''; echo $vendor_name; @endphp @endif @endforeach
 SUPPLIERS NAME
'.Ucfirst(\App\PurchaseRequestVendor::find($cs->vendor_id)->name).'
  QUOT REF.
S. No.
DESCRIPTION
UNIT
QUANTITY
{{$item->item_code}}
{{$item->item_name}} - {{$item->manufacture->name}} Non Critical
{{$item->unit}}
{{number_format($list->quantity , 2 ,'.','')}} @php $total_quantity +=$list->quantity; @endphp
  TOTAL
 
{{$total_quantity}}
TERMS & CONDITIONS:






       
Recommendation:  
 
 
 


PREPARED BY
Name;  
Designation;  


VERIFIED BY
Name;  
Designation;  


APPROVED BY

Company Details

Company {{ env('APP_NAME')}}
Contact {{env('APP_CONTACT')}}
Address {{env('APP_ADDRESS')}}

Items Comparison List

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 )
@php $item = \App\Item::withTrashed()->find($list->item_id); @endphp '; } if($count > 0) { $string = '[ '. $count .' ] ' ; } else { $string = 'No Cs Receive yet'; } echo $string; @endphp @php $total_items ++; $amount += ( $list->price * $list->quantity ); $quantity += $list->quantity; @endphp @if($count > 0)

Vendor Statements

@php echo $table_content; @endphp
Select Vendor Price Message Date Order Quantity
@if($total_cs == $total_rfq || (strtotime(date("Y-m-d")) > strtotime(date("Y-m-d" , strtotime($purchase_request->quotation_valid_date))) )) @else @endif
@endif
@endforeach

Total Item: {{number_format($total_items, 2)}}

Total Items Quantity: {{number_format($quantity, 2)}}

Total Amount: PKR {{number_format($amount , 2) }}