@extends('layouts.agent') @section('content')
id) }}" enctype="multipart/form-data"> @method('PUT') @csrf
{{ trans('global.edit') }} Sales Order
{{-- --}} @if($errors->has('bill_to'))
{{ $errors->first('bill_to') }}
@endif
@if($errors->has('ship_to'))
{{ $errors->first('ship_to') }}
@endif
@if($errors->has('ship_to_name'))
{{ $errors->first('ship_to_name') }}
@endif
@if($errors->has('ship_to_contact_number'))
{{ $errors->first('ship_to_contact_number') }}
@endif
@if($errors->has('ship_to_address'))
{{ $errors->first('ship_to_address') }}
@endif
@if($errors->has('date'))
{{ $errors->first('date') }}
@endif
@if($errors->has('payment_terms'))
{{ $errors->first('payment_terms') }}
@endif
@if($errors->has('sales_order_remark'))
{{ $errors->first('sales_order_remark') }}
@endif
Sales Order Items
{{-- --}} @foreach ($salesOrder->salesOrderItem as $key => $salesOrderItem) {{-- --}} @endforeach
No Item Code Description Remark QtyU.Price Discount TotalAction
{{ $key + 1 }} @if (!$loop->first) @endif
{{ trans('global.back') }}
@endsection @section('scripts') @endsection