@extends('layouts.app') @section('title', __( 'stock_adjustment.add')) @section('content') @include('layouts.partials.breadcrumb',['page_title'=> __( 'stock_adjustment.add') , 'bread_crumbs'=>array( array('title'=>__('app.manage_stock_adjustments'),'url'=>route("stock-adjustments.index")),array('title'=> __('stock_adjustment.add'),'url'=>''))]) {!! Form::open(['url' => action([\App\Http\Controllers\StockAdjustmentController::class, 'store']), 'method' => 'post', 'id' => 'stock_adjustment_form' ]) !!} @component('components.widget', ['title' => __('stock_adjustment.add'),'class' => 'box','icon'=>'',]) {!! Form::label('location_id', __('purchase.business_location').':*') !!} {!! Form::select('location_id', $business_locations, null, ['class' => 'form-control select2', 'placeholder' => __('messages.please_select'), 'required']); !!} {!! Form::label('ref_no', __('purchase.ref_no').':') !!} {!! Form::text('ref_no', null, ['class' => 'form-control']); !!} {!! Form::label('transaction_date', __('messages.date') . ':*') !!} {!! Form::text('transaction_date', @format_datetime('now'), ['class' => 'form-control', 'readonly', 'required']); !!} {!! Form::label('adjustment_type', __('stock_adjustment.adjustment_type') . ':*') !!} {!! Form::select('adjustment_type', [ 'breakage' => __('stock_adjustment.breakage'), 'expire' => __('stock_adjustment.expire'), 'stock_taking' => __('stock_adjustment.stock_taking'), 'promotion' => __('stock_adjustment.promotion')], null, ['class' => 'form-control select2', 'placeholder' => __('messages.please_select'), 'required']); !!} @endcomponent @component('components.widget', ['title' => __('stock_adjustment.search_products'),'class' => 'box','icon'=>'',]) {!! 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', ['title' => __('stock_adjustment.note'),'class' => 'box','icon'=>'',]) {!! 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]); !!} {!! 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')]); !!} @lang('messages.save') @endcomponent {!! Form::close() !!} @stop @section('javascript') @endsection