@extends('admin.layouts.resource-layout') @section('title')

Обработки: Изменить {{ $process->id }}

@endsection @php $cellId = null; if(isset($processProducts[0]) && $processProducts[0]->cell_id) { $cellId = $processProducts[0]->cell_id; } @endphp @section('resource-content')
@csrf @method('POST')
@if ($errors->has('sklad_id')) {{ $errors->first('sklad_id') }} @endif
date ? $process->date->format('Y-m-d') : null) }}" autocomplete="off"> @if ($errors->has('date')) {{ $errors->first('date') }} @endif
@include( 'components.form.field_select', [ 'values' => $merchants, 'fieldName' => 'merchant_id', 'title' => 'Merchant', 'value' => $process->merchant_id ] )
waybill) }}" autocomplete="off"> @if ($errors->has('waybill')) {{ $errors->first('waybill') }} @endif
@if ($errors->has('auto_id')) {{ $errors->first('auto_id') }} @endif
pallet) }}" autocomplete="off"> @if ($errors->has('pallet')) {{ $errors->first('pallet') }} @endif
case) }}" autocomplete="off"> @if ($errors->has('case')) {{ $errors->first('case') }} @endif
@if ($errors->has('cell_id')) {{ $errors->first('cell_id') }} @endif
@if(old('products')) @foreach(old('products') as $key => $product) @include('admin.process-acceptance._product', ['productProcess' => null, 'productId' => null, 'cellId' => null, 'count' => null, 'productsList' => $productsList, 'cellList' => $cellList, 'key' => $key]) @endforeach @else @if($processProducts->isNotEmpty()) @foreach($processProducts as $key => $item) @if($item) @include('admin.process-acceptance._product', ['productProcess' => $item, 'productsList' => $productsList, 'cellList' => $cellList, 'key' => $key]) @endif @endforeach @endif @endif
@endsection @section('stylesheet') @endsection @section('script') @endsection