{{ Form::model($sale, ['route' => ['sales.update', $sale->id], 'method' => 'PUT']) }}
{{ Form::label('customer_id', __('Customers'), ['class' => 'col-form-label']) }}
{{ Form::select('customer_id', $customers, null, ['class' => 'form-control', 'data-toggle' => 'select']) }}
@if (Auth::user()->isOwner())
{{ Form::label('branch_id', __('Branches'), ['class' => 'col-form-label']) }}
{{ Form::select('branch_id', [], null, ['class' => 'form-control']) }}
{{ Form::label('cash_register_id', __('Cash Registers'), ['class' => 'col-form-label']) }}
{{ Form::select('cash_register_id', [], null, ['class' => 'form-control']) }}
@endif
| {{ __('Product') }} |
{{ __('Price') }} |
{{ __('Quantity') }} |
{{ __('Tax') }} |
{{ __('Subtotal') }} |
{{ __('Action') }} |
| {{ __('Total') }} |
|
|
|
|
|
{{ Form::submit(__('Save Change'), ['class' => 'btn btn-primary float-end']) }}
{{ Form::close() }}