@extends('layouts.app') @section('content')

Production Recycle : edit

Page for edit Production Recycle

@switch($recycleProduction->status) @case(false) Not complete @break @case(true) Complete @break @default @endswitch
Recycle Production No : {{ $recycleProduction->no }}
Date : {{ $recycleProduction->formatted_date }}
Created by : {{ $recycleProduction->createdBy->full_contact }}
Status : @switch($recycleProduction->status) @case(false) Not complete @break @case(true) Complete @break @default @endswitch

Recycle Input

Recycle input lists to make this recycle

@foreach ($recycleProduction->inputs as $stock) @endforeach
Material Fullname Material Code Material UoM Material Type Divisi Code Qty
{{ $stock->material->formatted_material }} {{ $stock->material_code }} {{ $stock->material->uom_code }} {{ $stock->material->material_type_code }} {{ $stock->divisi_code }} {{ $stock->qty }}

Recycle Output

Choose recycle to output

@csrf
@error('material_code')
{{ $message }}
@enderror
@error('divisi_code')
{{ $message }}
@enderror
@error('qty')
{{ $message }}
@enderror
@foreach ($recycleProduction->outputs as $detail) @endforeach
Material Fullname Material Code Material Type Material UoM Qty Send output to Action
{{ $detail->material->formatted_material }} {{ $detail->material_code }} {{ $detail->material->material_type_code }} {{ $detail->material->uom_code }} {{ $detail->qty }} {{ $detail->divisi_code }}
  • Are you sure want to delete this ?

    @csrf @method('DELETE')
@if (count($recycleProduction->outputs) > 0)

Are you sure want to complete this ? .

Once you complete, all input will decrease on divisi and all output will increase on divisi

@csrf @method('PUT')
@else @endif
@endsection @section('js') @endsection