/
home
/
sjslayjy
/
public_html
/
assets
/
resources
/
views
/
exports
/
Upload File
HOME
<table> <thead> <tr> <th>Complaint No.</th> <th>FSRDT</th> <th>Circle</th> <th>Customer Id</th> <th>Customer Name</th> <th>Site ID</th> <th>Site Name</th> <th>Engineer Code</th> <th>Engineer Name</th> <!-- <th>Consumption Site</th> --> <th>Item Code</th> <th>Item Description</th> <th>Qty</th> <th>Unit Price</th> <th>Base Value</th> <th>Warehouse Code</th> <th>Spare Status</th> <th>Product Type</th> <th>Call Type</th> <th>Cost Center</th> <th>Zone Type</th> </tr> </thead> <tbody> @foreach($stocks as $stock) <tr> <td>{{$stock->call_log_no}}</td> <td> {{$stock->fsr_fill_date}}</td> <td>{{$stock->Circle_Code}}</td> <td>{{$stock->Customer_ID}}</td> <td>{{$stock->Customer_Name}}</td> <td>{{$stock->Site_ID}}</td> <td> @if(isset($stock->SiteName)) {{ $stock->SiteName }} @else N/A @endif </td> <td>{{$stock->engineer_id}}</td> <td>{{$stock->StaffName}}</td> {{-- <td>$stock->eng_site</td> --}} <td>{{$stock->spare_code}}</td> <td>{{$stock->description }}</td> <td>{{$stock->qty}}</td> <td>{{$stock->rate}}</td> <td>{{$stock->qty*$stock->rate}}</td> <td>@if($stock->type =='fresh'){{$stock->warehouse}}@else {{$stock->warehouse}}(R) @endif</td> <td>{{$stock->spare_type}}</td> <td>{{$stock->product}}</td> <td>{{$stock->Call_Type_Code}}</td> <td></td> <td>{{ $stock->zone }}</td> </tr> @endforeach </tbody> </table>