@extends('mrp') @section('title', $page_title) @section('content')
@csrf
@error('import_file') {{ $message }} @enderror
{{--

Import data from excel

@csrf
@error('import_file') {{ $message }} @enderror
--}}

{{ $page_title }}

@if (auth()->user()->can('inventory_material_index-create'))
Add New
@endif
@if (Session::has('message')) @endif
@foreach ($inven_materials as $inventory_material) @endforeach
No Date Begin Part Name Part Number Begin Stock Ending Stock (Qty) Target Qty (Pcs/day) Target Qty Target (day) Actual Stock (Day) Description Action
{{$loop->iteration}} {{$inventory_material->lot_material ?? "N/A"}} {{$inventory_material->material->material_name ?? "N/A"}} {{$inventory_material->material->part_number ?? "N/A"}} {{$inventory_material->initial_stock ?? "N/A"}} {{$inventory_material->stock ?? "N/A"}} {{$inventory_material->total_target_day ?? "N/A"}} {{$inventory_material->qty_target ?? "N/A"}} {{$inventory_material->target_day ?? "N/A"}} {{ $inventory_material->totalStock() }} {{$inventory_material->description}}
@if (auth()->user()->can('inventory_material_index-edit')) @endif @if (auth()->user()->can('inventory_material_index-delete')) {{-- --}} @endif
@endsection @push('css') @endpush @push('js') @endpush