AssetsAdm.com |
|||
Material Receipt Report |
Purchase Date From : | {{ format_date($group['purchase_date'][0]) }} | @endif @if (!empty($group['purchase_date'][1]))To : | {{ format_date($group['purchase_date'][1]) }} | @endif
Expiry Date From : | {{ format_date($group['expiry_date'][0]) }} | @endif @if (!empty($group['expiry_date'][1]))To : | {{ format_date($group['expiry_date'][1]) }} | @endif
Created Date From : | {{ format_date($group['created_at'][0]) }} | @endif @if (!empty($group['created_at'][1]))To : | {{ format_date($group['created_at'][1]) }} | @endif
@if (@$key == 'company_id') @php $count++; @endphp | Company : | {{ @Company::find(@$group['company_id'], 'company')->name }} | @endif @if (@$key == 'division_id') @php $count++; @endphpDivision : | {{ @Company::find(@$group['division_id'],'division')->name }} | @endif @if (@$key == 'store_id') @php $count++; @endphpStore : | {{@Location::find(@$group['store_id'],'sub_location')->name }} | @endif @if (@$key == 'material_id') @php $count++; @endphpMaterial : | {{Material::find(@$group['material_id'],'material')->name }} | @endif @if (@$key == 'supplier_id') @php $count++; @endphpSupplier : | {{ @Supplier::find(@$group['supplier_id'], 'supplier')->name }} | @endif @if (@$key == 'type') @php $count++; @endphpType : | {{ @$group['type'] }} | @endif @if (@$key == 'material_status') @php $count++; @endphpMaterial Status : | {{ @$group['material_status'] }} | @endif @if (@$key == 'material_issue_id') @php $count++; @endphpMaterial Issue No. : | MI-{{ @$group['material_issue_id'] }} | @endif @if ($count % 2 == 0)
Summary View |
Receipt No. | Created Date | Store | Material | Supplier | Division | Purchase Date | Expiry Date | Item Price | Quantity | Balance Qty | Model No. | Serial No. | Material Type |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{$materialreceipt->ref}} | {{ date('d M, Y H:i:s', strtotime($materialreceipt->created_at)) }} | {{$materialreceipt->store->name}} | {{$materialreceipt->material->name}} | {{$materialreceipt->supplier->name}} | {{$materialreceipt->division->name}} | {{ date('d M, Y', strtotime($materialreceipt->purchase_date)) }} | @if(!empty($materialreceipt->expiry_date) && $materialreceipt->expiry_date != '0000-00-00') {{ date('d M, Y', strtotime($materialreceipt->expiry_date)) }} @endif | {{$materialreceipt->item_price}} | {{$materialreceipt->qty_original}} | {{$materialreceipt->qty_original - $materialreceipt->qty}} | {{$materialreceipt->name}} | {{$materialreceipt->serial_no}} | {{$materialreceipt->material_type}} |
|
@forelse(array_slice($incident_reports['all'], 0, 2) as $key=>$row)
@if($key == 00)
Detail View |
Incident | Work Due | Assets | Company | Work Priority | Status | Status Date | Created At |
---|---|---|---|---|---|---|---|
{{@$inner_row['ref']}} | {{@$inner_row['work_due']}} | {{@$inner_row['asset']['name']}} | {{@$inner_row['company']['name']}} | {{@$inner_row['work_priority']}} | {{@$inner_row['work_status']}} | {{@$inner_row['status_date']}} | {{date('d M, Y', strtotime(@$inner_row['created_at']))}} |