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

Slip Transfer : edit

Page for edit Slip Transfer

@switch($slip->status) @case(false) Not complete @break @case(true) Complete @break @default @endswitch
@csrf @method('PUT')
@error('no')
{{ $message }}
@enderror
@error('internal_no')
{{ $message }}
@enderror
@error('date')
{{ $message }}
@enderror
@error('divisi_from')
{{ $message }}
@enderror
@error('divisi_to')
{{ $message }}
@enderror

Material Available

Below are list material available for Divisi {{ $slip->divisi_from }}

@foreach ($stocks as $stock) @endforeach
Material Fullname Stock Action
{{ $stock->material->formatted_material }} {{ $stock->balance }} @if ($slip->details->where('material_code', $stock->material_code)->count() === 0) @else @endif

Details

Material details you already input

@foreach ($slip->details as $detail) @endforeach
Material Fullname Material UoM Divisi From Divisi Destination Qty Action
{{ $detail->material->formatted_material }} {{ $detail->material->uom_code }} {{ $slip->divisi_from }} {{ $slip->divisi_to }} {{ $detail->qty }}
  • Are you sure want to delete this ?

    @csrf @method('DELETE')

Are you sure want to delete this ? .

Once you delete you cannot recover this PO!

@csrf @method('DELETE')
@if (count($slip->details) > 0)

Are you sure want to complete this ? .

Once you complete, all material will be decrease on Divisi From and increase on Divisi To. You CANNOT undo this change

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