@extends('layouts.app_inventory_management') @section('title', __('stock_adjustment.add')) @section('content')
{!! Form::open([ 'url' => action([\App\Http\Controllers\StockAdjustmentController::class, 'store']), 'method' => 'post', 'id' => 'stock_adjustment_form', ]) !!} @component('components.widget', ['class' => 'card'])
{!! Form::select('location_id', $business_locations, null, [ 'class' => 'form-control select2','id'=>'location_id', 'placeholder' => __('messages.please_select'), 'required', ]) !!} {!! Form::label('location_id', __('purchase.business_location') . ':*') !!}
{!! Form::text('ref_no', null, ['class' => 'form-control']) !!} {!! Form::label('ref_no', __('purchase.ref_no') . ':') !!}
{!! Form::text('transaction_date', @format_datetime('now'), ['id' => 'transaction_date', 'class' => 'form-control', 'readonly', 'required']) !!} {!! Form::label('transaction_date', __('messages.date') . ':*') !!}
{!! Form::select( 'adjustment_type', ['normal' => __('stock_adjustment.normal'), 'abnormal' => __('stock_adjustment.abnormal')], null, ['id' => 'adjustment_type','class' => 'form-control select2', 'placeholder' => __('messages.please_select'), 'required'], ) !!} {!! Form::label('adjustment_type', __('stock_adjustment.adjustment_type') . ':*') !!} @show_tooltip(__('tooltip.adjustment_type'))
{!! Form::text('search_product', null, [ 'class' => 'form-control', 'id' => 'search_product_for_srock_adjustment', 'placeholder' => __('stock_adjustment.search_product'), 'disabled', ]) !!}
@lang('sale.product') @lang('sale.qty') @lang('sale.unit_price') @lang('sale.subtotal')
@lang('stock_adjustment.total_amount'): 0.00
@endcomponent @component('components.widget', ['class' => 'box-solid'])
{!! Form::text('total_amount_recovered', 0, [ 'class' => 'form-control input_number', 'placeholder' => __('stock_adjustment.total_amount_recovered'), ]) !!} {!! Form::label('total_amount_recovered', __('stock_adjustment.total_amount_recovered') . ':') !!} @show_tooltip(__('tooltip.total_amount_recovered'))
{!! Form::textarea('additional_notes', null, [ 'class' => 'form-control', 'placeholder' => __('stock_adjustment.reason_for_stock_adjustment'), 'rows' => 3, ]) !!} {!! Form::label('additional_notes', __('stock_adjustment.reason_for_stock_adjustment') . ':') !!}
@endcomponent {!! Form::close() !!}
@stop @section('javascript') @endsection @cannot('view_purchase_price') @endcannot