/
home
/
sjslayjy
/
public_html
/
tabson
/
resources
/
views
/
dashboard
/
supplier-quotation
/
Upload File
HOME
<h5><b>PR Number : </b>{{ $supplier_data->pr_number }} <b>PR Date : </b>{{ $supplier_data->pr_date }} <b>Preparer Name : </b>{{ $supplier_data->pr_preparer_name }}</h5> <table class="table table-bordered"> <thead> <tr> <th colspan="6"></th> @foreach($vendor_quot_count as $key=>$vendor_count) <th colspan="4" style="text-align: center;">({{$vendor_count->vendor_name}}) Quotation {{ $key+1 }}</th> @endforeach </tr> <tr> <th>S.No.</th> <th>Item Code</th> <th>Description</th> <th>Specification</th> <th>UoM</th> <th>Quantity</th> @foreach($vendor_quot_count as $key=>$vendor_count) <th>Make</th> <th>Quoted Rate</th> <th>Amount</th> <th>GST %age</th> @endforeach </tr> </thead> <tbody> @php $i = 1; @endphp @foreach($pr_details as $key3=>$pr_detail) <tr> <td>{{ $i++ }}</td> <td>{{ $pr_detail->item_code }}</td> <td>{{ $pr_detail->description }}</td> <td>{{ $pr_detail->specification }}</td> <td>{{ $pr_detail->uom }}</td> <td>{{ $pr_detail->qty }}</td> @foreach($vendor_quot_count as $key4=>$vendor_count) @php logger("key3 ".$key3); logger("key4 ".$key4); @endphp <td>{{ $vendor_quot_details[$key3]['make'][$key4] }}</td> <td>{{ $vendor_quot_details[$key3]['quoted_rate'][$key4] }}</td> <td>{{ $vendor_quot_details[$key3]['item_amount'][$key4] }}</td> <td>{{ $vendor_quot_details[$key3]['gst_percentage'][$key4] }}</td> @endforeach </tr> @endforeach @foreach($vendor_details as $key=>$vendor_detail) <tr style="text-align: center;"> @if($key == 'freight_amount') <td colspan="6">Freight Amount</td> @foreach($vendor_detail as $key1=>$value1) <td colspan="4" style="text-align: center;">{{$value1}}</td> @endforeach @elseif($key == 'total_basic_amount') <td colspan="6">Total Basic Amount</td> @foreach($vendor_detail as $key1=>$value1) <td colspan="4" style="text-align: center;">{{$value1}}</td> @endforeach @elseif($key == 'gst_amount') <td colspan="6">GST Amount</td> @foreach($vendor_detail as $key1=>$value1) <td colspan="4" style="text-align: center;">{{$value1}}</td> @endforeach @elseif($key == 'total_amount') <td colspan="6">Total Amount</td> @foreach($vendor_detail as $key1=>$value1) <td colspan="4" style="text-align: center;">{{$value1}}</td> @endforeach @elseif($key == 'delivery_term_id') <td colspan="6">Delivery Term</td> @foreach($vendor_detail as $key1=>$value1) <td colspan="4" style="text-align: center;">{{getModelById('DeliveryTerm', $value1)->name}}</td> @endforeach @elseif($key == 'payment_term_id') <td colspan="6">Payment Term</td> @foreach($vendor_detail as $key1=>$value1) <td colspan="4" style="text-align: center;">{{getModelById('PaymentTerm', $value1)->name}}</td> @endforeach @elseif($key == 'warranty_term') <td colspan="6">Warranty Term</td> @foreach($vendor_detail as $key1=>$value1) <td colspan="4" style="text-align: center;">{{$value1}}</td> @endforeach @elseif($key == 'special_term') <td colspan="6">Special Term</td> @foreach($vendor_detail as $key1=>$value1) <td colspan="4" style="text-align: center;">{{$value1}}</td> @endforeach @endif </tr> @endforeach </tbody> </table>