@extends('layouts.app') @section('title', __('stock_adjustment.add')) @section('content') @lang('stock_adjustment.add') {!! Form::open(['url' => action('StockAdjustmentController@store'), 'method' => 'post', 'id' => 'stock_adjustment_form' ]) !!} {!! 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') . ':*') !!} @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']); !!} {{ __('stock_adjustment.search_products') }} {!! 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 {!! 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]); !!} @lang('messages.save') {!! Form::close() !!} @stop @section('javascript') @endsection