@extends('mrp') @section('title', $page_title) @section('content') {{--
--}} {{--

Date Picker WIP Export

@csrf
@error('start_date') {{ $message }} @enderror
@error('end_date') {{ $message }} @enderror
--}} {{-- @if (isset($status)) --}}

{{ $page_title }}

Excel
{{--
PDF
--}} {{--
FULL
--}}
{{-- @if (Session::has('message')) @endif --}} {{--
--}} {{--
--}} {{--
--}}
{{--

Report Wip

--}}
@foreach ($wips as $wip) @endforeach
No Date Product Production Process Machine Shift Qty Total Qty Actual Qty Plan Qty Good Qty Reject
{{ $loop->iteration }} {{ $wip->date }} {{ $wip->ProcessMachineProduct->product->product_name }} {{ $wip->ProcessMachineProduct->production->production_code }} {{ $wip->ProcessMachineProduct->process->process_name }} {{ $wip->ProcessMachineProduct->machine->machine_name }} {{ $wip->shift->shift_name }} {{ $wip->qty_total }} {{ $wip->qty_plan }} {{ $wip->qty_total }} {{ $wip->qty_good }} {{ $wip->qty_reject }}

{{-- @foreach ($report_wip as $product => $machines)

{{ $product }}

@foreach ($machines as $machine => $process) @foreach ($process as $proc => $shifts) @foreach ($shifts as $shift => $dataWip) @php $dateBefore = 0; @endphp @foreach ($dataWip as $dw) @php $dateBefore = $dw['dateIndex'] @endphp @endforeach @endforeach @endforeach @endforeach
Machine Process Shift Item 1 2
{{ $proc }} {{ $machine }} {{ $shift }}
Actual
Plan
Good
Reject
{{ $dw['qty_good'] }}
{{ $dw['qty_plan'] }}
{{ $dw['qty_good'] }}
{{ $dw['qty_reject'] }}
@endforeach --}}
{{--
--}} {{--
--}} {{--
--}} @endsection @push('css') @endpush @push('js') @endpush