/
home
/
sjslayjy
/
public_html
/
assets
/
resources
/
views
/
exports
/
Upload File
HOME
<table class="table table-striped"> <thead> <tr> <th style="background-color: #5ced73; font-weight: bold; font-size: 12px; text-align: center; padding: 10px;">Circle Name</th> <th style="background-color: #5ced73; font-weight: bold; font-size: 12px; text-align: center; padding: 10px;">Customer Name</th> <th style="background-color: #5ced73; font-weight: bold; font-size: 12px; text-align: center; padding: 10px;">MR/OMC No.</th> <th style="background-color: #5ced73; font-weight: bold; font-size: 12px; text-align: center; padding: 10px;">MR/OMC Date</th> <th style="background-color: #5ced73; font-weight: bold; font-size: 12px; text-align: center; padding: 10px;">ATS Invoice No.</th> <th style="background-color: #5ced73; font-weight: bold; font-size: 12px; text-align: center; padding: 10px;">ATS Invoice Date</th> <th style="background-color: #5ced73; font-weight: bold; font-size: 12px; text-align: center; padding: 10px;">ATS Invoice Basic Value</th> <th style="background-color: #5ced73; font-weight: bold; font-size: 12px; text-align: center; padding: 10px;">Site ID</th> <th style="background-color: #5ced73; font-weight: bold; font-size: 12px; text-align: center; padding: 10px;">Site Name</th> <th style="background-color: #5ced73; font-weight: bold; font-size: 12px; text-align: center; padding: 10px;">Customer PO No.</th> <th style="background-color: #5ced73; font-weight: bold; font-size: 12px; text-align: center; padding: 10px;">Customer PO Date</th> <th style="background-color: #5ced73; font-weight: bold; font-size: 12px; text-align: center; padding: 10px;">Item Code</th> <th style="background-color: #5ced73; font-weight: bold; font-size: 12px; text-align: center; padding: 10px;">Description</th> <th style="background-color: #5ced73; font-weight: bold; font-size: 12px; text-align: center; padding: 10px;">Per Pcs Rate</th> <th style="background-color: #5ced73; font-weight: bold; font-size: 12px; text-align: center; padding: 10px;">Type</th> <th style="background-color: #5ced73; font-weight: bold; font-size: 12px; text-align: center; padding: 10px;">OMC/MR Qty.</th> <th style="background-color: #5ced73; font-weight: bold; font-size: 12px; text-align: center; padding: 10px;">Total Value</th> <th style="background-color: #5ced73; font-weight: bold; font-size: 12px; text-align: center; padding: 10px;">Spare Type</th> <th style="background-color: #5ced73; font-weight: bold; font-size: 12px; text-align: center; padding: 10px;">Complain Closure Date</th> <th style="background-color: #5ced73; font-weight: bold; font-size: 12px; text-align: center; padding: 10px;">Customer Open PO Status</th> <th style="background-color: #5ced73; font-weight: bold; font-size: 12px; text-align: center; padding: 10px;">Open PO Amount</th> <th style="background-color: #5ced73; font-weight: bold; font-size: 12px; text-align: center; padding: 10px;">Invoice Value</th> <th style="background-color: #5ced73; font-weight: bold; font-size: 12px; text-align: center; padding: 10px;">Remark</th> </tr> </thead> <tbody> @foreach($all_omc as $key=>$omc_mr) <tr> <td>{{ $omc_mr->warehouse }}</td> <td>{{ $omc_mr->customer_name }}</td> <td>{{ $omc_mr->mr_no }}</td> <td>{{ $omc_mr->created_at }}</td> <td>{{ $omc_mr->invoice_no }}</td> <td>{{ $omc_mr->invoice_date }}</td> <td>{{ $omc_mr->invoice_basic_value ?? 'N/A' }}</td> <td>{{ $omc_mr->site_id ?? 'N/A'}}</td> <td>{{ $omc_mr->site_name ?? 'N/A'}}</td> <td>{{ $omc_mr->po_no }}</td> <td>{{ $omc_mr->cutomer_po_date }}</td> <td>{{ $omc_mr->spare_code }}</td> <td>{{ $omc_mr->description }}</td> <td>{{ $omc_mr->rate }}</td> <td>{{ $omc_mr->omc_type }}</td> <td>{{ $omc_mr->fresh_qty + $omc_mr->repaired_qty }}</td> <td>{{ $omc_mr->fresh_qty*$omc_mr->rate + $omc_mr->repaired_qty*$omc_mr->rate }}</td> <td> @if($omc_mr->fresh_qty > 0) Fresh Spare @elseif($omc_mr->repaired_qty > 0) Repaired Spare @else N/A @endif </td> <td>{{ $omc_mr->complaint_closure_date }}</td> <td>{{ $omc_mr->cust_open_po_status }}</td> <td>{{ $omc_mr->open_po_amount }}</td> <td>{{ $omc_mr->invoice_value }}</td> <td>{{ $omc_mr->status }}</td> </tr> @endforeach </tbody> </table>