{{ csrf_field() }}
@if ($errors->has('CardCode'))
{{ $errors->first('CardCode') }}
@endif
@if ($errors->has('names'))
{{ $errors->first('name') }}
@endif
{{--
@if ($errors->has('CardCode'))
{{ $errors->first('CardCode') }}
@endif
--}} {{--
@if ($errors->has('DiscountPercent'))
{{ $errors->first('DiscountPercent') }}
@endif
--}}
@if ($errors->has('warehouse_id'))
{{ $errors->first('warehouse_id') }}
@endif
@if ($errors->has('Comments'))
{{ $errors->first('Comments') }}
@endif
{{-- --}} {{-- @foreach ($model->details as $detail) @endforeach --}}
{{__('orders.Type')}} {{__('orders.Code')}} {{__('orders.Make')}} {{__('orders.Model')}}Measure{{__('orders.Quantity')}} {{__('orders.Price')}} {{__('orders.Discount')}} {{__('orders.Total')}} {{__('orders.Comments')}}
{{ $detail->Product }} {{ $detail->Type }} {{ $detail->Make }} {{ $detail->Model }} {{ $detail->Quantity }} {{ $detail->Price }} {{ $detail->Discount }} {{ $detail->Total }}

@push('custom-scripts') {{-- --}} {{-- --}} {{-- --}} @endpush