@include('layouts.sub_menu.stock_adjustment')
{!! Form::open(['url' => action([\App\Http\Controllers\StockAdjustmentController::class, 'store']), 'method' => 'post', 'id' => 'stock_adjustment_form',]) !!}
@component('components.widget', ['class' => 'box-solid'])
{!! Form::label('location_id', __('purchase.business_location') . ':*') !!}
{!! Form::select('location_id', $business_locations, null, [
'class' => 'form-control select2',
'placeholder' => __('messages.please_select'),
'required',
]) !!}
@php
$warehouses_list = isset($warehouses) ? $warehouses : [];
$has_warehouses = !empty($warehouses_list) && count($warehouses_list) > 0;
@endphp
@if($has_warehouses)
@endif
{!! Form::label('ref_no', __('purchase.ref_no') . ':') !!}
{!! Form::text('ref_no', null, ['class' => 'form-control']) !!}
{!! Form::label('adjustment_type', __('stock_adjustment.adjustment_type') . ':*') !!} @show_tooltip(__('tooltip.adjustment_type'))
{!! Form::select(
'adjustment_type',
['normal' => __('stock_adjustment.normal'), 'abnormal' => __('stock_adjustment.abnormal')],
null,
['class' => 'form-control select2', 'placeholder' => __('messages.please_select'), 'required'],
) !!}
@endcomponent
@component('components.widget', ['class' => 'box-solid'])
|
@lang('sale.product')
|
@lang('sale.qty')
|
Other Unit |
@lang('sale.unit_price')
|
@lang('sale.subtotal')
|
|
|
@lang('stock_adjustment.total_amount'): 0.00
|
@endcomponent
@component('components.widget', ['class' => 'box-solid'])
{!! Form::label('total_amount_recovered', __('stock_adjustment.total_amount_recovered') . ':') !!} @show_tooltip(__('tooltip.total_amount_recovered'))
{!! Form::text('total_amount_recovered', 0, [
'class' => 'form-control input_number',
'placeholder' => __('stock_adjustment.total_amount_recovered'),
]) !!}
{!! Form::label('additional_notes', __('stock_adjustment.reason_for_stock_adjustment') . ':') !!}
{!! Form::textarea('additional_notes', null, [
'class' => 'form-control',
'placeholder' => __('stock_adjustment.reason_for_stock_adjustment'),
'rows' => 3,
]) !!}
@endcomponent
{!! Form::close() !!}
@stop
@section('javascript')
@endsection
@cannot('view_purchase_price')
@endcannot