Order Details
{{ html()->label('Customer')->class('form-label') }}
{{ html()->select('customer_id', $customerList)->class('form-control')->placeholder('Select Customer')->required() }}
{{ html()->div('Please select customer')->class('invalid-feedback') }}
{{ html()->label('Order No.')->class('form-label') }}
{{ html()->text('order_code')->class('form-control')->placeholder('Enter Order No')->attributes(['id' => 'cleave-prefix']) }}
{{ html()->label('VAT No.')->class('form-label') }}
{{ html()->text('vat_no')->class('form-control')->placeholder('Enter VAT No') }}
{{ html()->label('Order Date')->class('form-label') }}
{{ html()->date('order_date')->class('form-control')->placeholder('Choose Order Date')->required() }}
{{ html()->div('Please choose order date')->class('invalid-feedback') }}
{{ html()->label('Delivery Date')->class('form-label') }}
{{ html()->date('delivery_date')->class('form-control')->placeholder('Choose Bill Issue Date')->required() }}
{{ html()->div('Please choose order date')->class('invalid-feedback') }}
Buyer Details
{{ html()->label('Buyer')->class('form-label') }}
{{ html()->select('buyer_id', $supplierList)->class('form-control')->placeholder('Select Buyer') }}
{{ html()->label('Address No.')->class('form-label') }}
{{ html()->text('buyer_address')->class('form-control')->placeholder('Enter Address') }}
{{ html()->label('VAT No.')->class('form-label') }}
{{ html()->text('vat_no')->class('form-control')->placeholder('Enter Buyer VAT No') }}
{{ html()->label('Sales Date')->class('form-label') }}
{{ html()->date('sales_date')->class('form-control')->placeholder('Enter Sales Date') }}
{{ html()->label('Mode of Payment')->class('form-label') }}
{{ html()->select('buyer_id', [1 => 'Cash', 2 => 'Bank', 3 => 'Credit'])->class('form-control')->placeholder('Select Payment Mode') }}
{{--
Shipping Details
{{ html()->label('Address')->class('form-label') }}
{{ html()->text('address')->class('form-control')->placeholder('Enter Address') }}
{{ html()->label('Shipping Date')->class('form-label') }}
{{ html()->date('shiiping_date')->class('form-control')->placeholder('Enter Temporary Address') }}
--}}
@include('order::order.clone-product')
@push('js')
@endpush