{{-- requisition lists start --}}
@php $loop = $quotations->count();$i=1; $count = 0; @endphp
@foreach($quotations as $key=>$quotation)
{{--{{ dd($quotation) }}--}}
{{ $quotation[$count]->supplier->name }} -- {{ $quotation[$count]->supplier->phone }}
| SL |
Supplier |
Item Name |
Item Code |
Item Price |
@if($count < count($quotation))
@php $sl=0; @endphp
@foreach(\App\QuotationProduct::where('requisition_id',$requisition->id)
->where('supplier_id',$quotation[$count]->supplier_id)
->get()
as $product)
| {{ ++$sl }} |
{{ $product->supplier->name }} |
{{ $product->requisitionProduct->product->name }} |
{{ $product->requisitionProduct->product->item_code }} |
{{ $product->price }} Tk |
@endforeach
@endif
@php $count++ @endphp
@endforeach