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

Inspection : create

Page for create Inspection

Surat Jalan No : {{ $workOrderSuratJalan->no }}
Divisi Code : {{ $workOrderSuratJalan->schedule->wo->divisi_destination }}
Material Code : {{ $workOrderSuratJalan->material_code }}
Material UoM : {{ $workOrderSuratJalan->material->uom_code }}
Create Inspection
@csrf
Material Code Material Name Material UoM Qty Received Qty Inspection
{{ $workOrderSuratJalan->material_code }} {{ $workOrderSuratJalan->material->name }} {{ $workOrderSuratJalan->material->uom_code }} {{ $workOrderSuratJalan->qty_received }} @error('qty')
{{ $message }}
@enderror
@error('reason')
{{ $message }}
@enderror
@error('divisi_code')
{{ $message }}
@enderror

Are you sure want to send this ? .

List Inspection

Below is the list of Inspections that you have created on this page.

@foreach ($workOrderSuratJalan->inspections as $inspection) @endforeach
No Inspection At Qty Material Code Material UoM Send to Reason Status Action
{{ $inspection->no }} {{ $inspection->created_at }} {{ $inspection->qty }} {{ $inspection->material_code }} {{ $inspection->material->uom_code }} {{ $inspection->send_to_divisi }} @switch($inspection->reason) @case('REJECT') REJECT @break @case('SAMPLING') SAMPLING @break @default @endswitch @switch($inspection->status) @case(false) Not complete @break @case(true) Complete @break @default @endswitch @switch($inspection->status) @case(false)
  • Are you sure want to delete this ?

    @csrf @method('DELETE')
@break @case(true) @break @default @endswitch
@endsection @section('js') @endsection