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

Обработки: создать

@endsection @section('resource-content')
@csrf
@if ($errors->has('sklad_id')) {{ $errors->first('sklad_id') }} @endif
@if ($errors->has('date')) {{ $errors->first('date') }} @endif
@include('components.form.field_select', ['values' => $merchants, 'fieldName' => 'merchant_id', 'title' => 'Merchant'])
@if ($errors->has('waybill')) {{ $errors->first('waybill') }} @endif
@if ($errors->has('auto_id')) {{ $errors->first('auto_id') }} @endif
@if ($errors->has('pallet')) {{ $errors->first('pallet') }} @endif
@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, 'date_process' => null, 'date_end' => null, 'productsList' => $productsList, 'cellList' => $cellList, 'key' => $key]) @endforeach @endif
@endsection @section('stylesheet') @endsection @section('script') @endsection