@extends('layouts.frontend') @section('content')
{{ trans('global.edit') }} {{ trans('cruds.order.title_singular') }}
id]) }}" enctype="multipart/form-data"> @method('PUT') @csrf
@if($errors->has('receipt'))
{{ $errors->first('receipt') }}
@endif {{ trans('cruds.order.fields.receipt_helper') }}
@if($errors->has('merchant'))
{{ $errors->first('merchant') }}
@endif {{ trans('cruds.order.fields.merchant_helper') }}
@if($errors->has('merchant_ref'))
{{ $errors->first('merchant_ref') }}
@endif {{ trans('cruds.order.fields.merchant_ref_helper') }}
@if($errors->has('logistic'))
{{ $errors->first('logistic') }}
@endif {{ trans('cruds.order.fields.logistic_helper') }}
@if($errors->has('service_type'))
{{ $errors->first('service_type') }}
@endif {{ trans('cruds.order.fields.service_type_helper') }}
@if($errors->has('service_code'))
{{ $errors->first('service_code') }}
@endif {{ trans('cruds.order.fields.service_code_helper') }}
@if($errors->has('sender'))
{{ $errors->first('sender') }}
@endif {{ trans('cruds.order.fields.sender_helper') }}
@if($errors->has('receiver'))
{{ $errors->first('receiver') }}
@endif {{ trans('cruds.order.fields.receiver_helper') }}
@if($errors->has('items'))
{{ $errors->first('items') }}
@endif {{ trans('cruds.order.fields.items_helper') }}
@if($errors->has('qty'))
{{ $errors->first('qty') }}
@endif {{ trans('cruds.order.fields.qty_helper') }}
@if($errors->has('weight'))
{{ $errors->first('weight') }}
@endif {{ trans('cruds.order.fields.weight_helper') }}
@if($errors->has('value'))
{{ $errors->first('value') }}
@endif {{ trans('cruds.order.fields.value_helper') }}
@if($errors->has('delivery_cost'))
{{ $errors->first('delivery_cost') }}
@endif {{ trans('cruds.order.fields.delivery_cost_helper') }}
@if($errors->has('insurance_cost'))
{{ $errors->first('insurance_cost') }}
@endif {{ trans('cruds.order.fields.insurance_cost_helper') }}
@foreach(App\Models\Order::IS_INSURANCE_RADIO as $key => $label)
is_insurance) === (string) $key ? 'checked' : '' }} required>
@endforeach @if($errors->has('is_insurance'))
{{ $errors->first('is_insurance') }}
@endif {{ trans('cruds.order.fields.is_insurance_helper') }}
@if($errors->has('payer'))
{{ $errors->first('payer') }}
@endif {{ trans('cruds.order.fields.payer_helper') }}
@if($errors->has('status'))
{{ $errors->first('status') }}
@endif {{ trans('cruds.order.fields.status_helper') }}
@if($errors->has('attributes'))
{{ $errors->first('attributes') }}
@endif {{ trans('cruds.order.fields.attributes_helper') }}
@if($errors->has('canceled_at'))
{{ $errors->first('canceled_at') }}
@endif {{ trans('cruds.order.fields.canceled_at_helper') }}
@endsection