@extends('layouts.app') @section('content') @section('style') @stop
@lang('layout.CreateNewInventoryOpening')
{!! Form::open(array('route' => 'openingInventory.store','method'=>'POST','class'=>'form-horizontal')) !!} {{ csrf_field() }}
{{Form::text('name',$inventory->name,['class' => 'form-control','placeholder' => __('layout.EnterItemName'),'readonly'])}} {{-- This is inline help --}}
{{Form::number('number',$inventory->number,['class' => 'form-control','min' =>'0' ,'placeholder' => __('layout.ItemCode'),'readonly'])}}
@permission(['cost-create'])
@{{ errors.first('rate') }}
@{{ errors.first('cost') }}
@endpermission
{{Form::textarea('description',null,['class' => 'form-control','rows'=>'1'])}}
{{--{{Form::number('quantity',null,['class' => 'form-control','v-model'=>'onHand ','step' => 'any','min' =>'0'])}}--}}
@permission(['price-create'])
{{Form::number('total',null,['class' => 'form-control','v-model'=>'result','step' => 'any','min' =>'0' ,'disabled'])}}
@endpermission @if (getCalQuantityOfOtherMeasure() != 'simpleMethod') @if(getOtherMeasure()=="true")
{{Form::number('o_measure',null,['class' => 'form-control','step' => 'any','min' =>'0'])}}
@endif @if(getOtherMeasure2()=="true")
{{Form::number('o_measure2',null,['class' => 'form-control','step' => 'any','min' =>'0'])}}
@endif @endif
@if(systemConfig()[27] == 1) @endif @if(showLocation()=="true") @endif @if(colorModel()=="true") @endif @if (getCalQuantityOfOtherMeasure() == 'simpleMethod' || getCalQuantityOfOtherMeasure() == 'avgMethod') @endif @if(getShowCBM()=="true") @endif @if(systemConfig()[27] == 1) @endif @if(showLocation()=="true") @endif @if(colorModel()=="true") @endif @if (getCalQuantityOfOtherMeasure() == 'simpleMethod' || getCalQuantityOfOtherMeasure() == 'avgMethod') @endif @if(getShowCBM()=="true") @endif
@lang('layout.Site') @lang('layout.OnHand') @lang('layout.ExpireDate') @lang('layout.Density') @lang('layout.Location') @lang('layout.Description1') @lang('layout.Model') @lang('layout.Color') @lang('layout.OMeasureValue1') @lang('layout.OMeasureValue2')@lang('layout.CBM')
@lang('layout.Cancel')
{!! Form::close() !!}
@endsection @push('scripts') @endpush