@extends('layouts.app') @section('style') @stop @section('content') @include('inventories.cmodal') @include('inventories.modal')
  @lang('layout.AddNewItem')
{{Form::open(['route' => 'inventory.store','method' => 'POST','id' => 'inventory-form','files'=> true])}}
{{--
{{Form::text('name',null,['class' => 'form-control','tabindex' =>'1','placeholder' => __('layout.EnterItemName'), 'autocomplete'=>'off','v-validate' =>'"required|min:2"','data-vv-as' => __('layout.Name')])}} @{{ errors.first('name') }}
@{{ errors.first('number') }} @{{number_msg}}
@if(getGauge() =="true") {{Form::text('gauge',null,['class' => 'form-control','step' => 'any','min' =>'0','placeholder' => __('layout.Gauge')])}} @endif
@if(itemBrand()=="true")
{{Form::text('item_location',null,['class' => 'form-control','placeholder' => __('layout.Location')])}}
@endif

@lang('layout.MetricType')

@lang('layout.Measure')

@lang('layout.OtherMeasure')

@lang('layout.AddNewMeasure')

--}}
{{Form::text('name',null,['class' => 'form-control','tabindex' =>'1','placeholder' => __('layout.EnterItemName'), 'autocomplete'=>'off','v-validate' =>'"required|min:2"','data-vv-as' => __('layout.Name')])}} @{{ errors.first('name') }} {{-- This is inline help --}}
@{{ errors.first('number') }} @{{number_msg}}
@if(getGauge() =="true")
{{Form::text('gauge',null,['class' => 'form-control','step' => 'any','min' =>'0','placeholder' => __('layout.Gauge')])}}
@endif
{{--{{Form::select('income_account',$income,null,['class' => 'form-control'])}}--}}

@lang('layout.MetricType')

@lang('layout.Measure')

@lang('layout.OtherMeasure')

@lang('layout.AddNewMeasure')

{{Form::number('cost',null,['class' => 'form-control','v-model'=>'cost','tabindex'=>'5',':class'=>'{"input-has-error":!isError}','step' => 'any','min' =>'0','v-validate' =>'"required|decimal:10"','data-vv-as' => __('layout.CostInInventory')])}}
@{{ errors.first('cost') }}
{{Form::number('rate',null,['class' => 'form-control ','step' => 'any','v-model'=>'rate','tabindex'=>'6','min' =>'0','placeholder' => __('layout.Default_Rate'),'v-validate' =>'"decimal:10"','data-vv-as' => __('layout.Default_Rate')])}} @{{ errors.first('rate') }}
{!! Form::file('photo', null, array('placeholder' => 'photo','class' => 'form-control')) !!}
@{{ errors.first('asset_account') }}
{{--{{Form::select('income_account',$income,null,['class' => 'form-control'])}}--}}
@{{ errors.first('cost_account') }}
@if(itemBrand()=="true")
{{Form::text('item_location',null,['class' => 'form-control','placeholder' => __('layout.Location')])}}
@endif
{{Form::number('min',null,['class' => 'form-control','step' => 'any','tabindex' => '10','min' =>'0','placeholder' => __('layout.Min')])}}
{{Form::number('max',null,['class' => 'form-control','step' => 'any','min' =>'0','tabindex' => '11','placeholder' => __('layout.Max')])}}

@lang('layout.MetricType')

@lang('layout.Measure')

@lang('layout.OtherMeasure') @{{ measure1.text }}

@lang('layout.OtherMeasure')

@lang('layout.AddNewMeasure')

@if(itemBrand()=="true")
@endif
{{Form::textarea('description',null,['class' => 'form-control','rows' => '1','placeholder' => __('layout.Description')])}}
@if(getMarginAndMarkup()=="true")
{{Form::number('margin',null,['class' => 'form-control','v-model'=>'margin','step' => 'any','min' =>'0','readonly'=>'readonly'])}} %
{{Form::number('markup',null,['class' => 'form-control','v-model'=>'markup','step' => 'any','min' =>'0','readonly'=>'readonly'])}} %
@endif @if(getSerialNumberTimes() >= 1 && getSerialNumberTimes() <= 9)
{{Form::text('number1',null,['class' => 'form-control','step' => 'any','min' =>'0','placeholder' => __('layout.SerialNumber1'), 'autocomplete'=>'off'])}}
@endif @if(getSerialNumberTimes() >= 2 && getSerialNumberTimes() <= 9)
{{Form::text('number2',null,['class' => 'form-control','step' => 'any','min' =>'0','placeholder' => __('layout.SerialNumber2'), 'autocomplete'=>'off'])}}
@endif
@if(getSerialNumberTimes() >= 3 && getSerialNumberTimes() <= 9)
{{Form::text('number3',null,['class' => 'form-control','step' => 'any','min' =>'0','placeholder' => __('layout.SerialNumber3'), 'autocomplete'=>'off'])}}
@endif @if(getSerialNumberTimes() >= 4 && getSerialNumberTimes() <= 9)
{{Form::text('number4',null,['class' => 'form-control','step' => 'any','min' =>'0','placeholder' => __('layout.SerialNumber4'), 'autocomplete'=>'off'])}}
@endif @if(getSerialNumberTimes() >= 5 && getSerialNumberTimes() <= 9)
{{Form::text('number5',null,['class' => 'form-control','step' => 'any','min' =>'0','placeholder' => __('layout.SerialNumber5'), 'autocomplete'=>'off'])}}
@endif @if(getSerialNumberTimes() >= 6 && getSerialNumberTimes() <= 9)
{{Form::text('number6',null,['class' => 'form-control','step' => 'any','min' =>'0','placeholder' => __('layout.SerialNumber6'), 'autocomplete'=>'off'])}}
@endif
@if(getSerialNumberTimes() >= 7 && getSerialNumberTimes() <= 9)
{{Form::text('number7',null,['class' => 'form-control','step' => 'any','min' =>'0','placeholder' => __('layout.SerialNumber7'), 'autocomplete'=>'off'])}}
@endif @if(getSerialNumberTimes() >= 8 && getSerialNumberTimes() <= 9)
{{Form::text('number8',null,['class' => 'form-control','step' => 'any','min' =>'0','placeholder' => __('layout.SerialNumber8'), 'autocomplete'=>'off'])}}
@endif @if(getSerialNumberTimes() >= 9 && getSerialNumberTimes() <= 9)
{{Form::text('number9',null,['class' => 'form-control','step' => 'any','min' =>'0','placeholder' => __('layout.SerialNumber9'), 'autocomplete'=>'off'])}}
@endif
@if(getShowMakeCartan()=="true")
{{Form::text('length',null,['class' => 'form-control','placeholder' => __('layout.Length'), 'v-model' => 'length','@input' => 'calculateCbm'])}}
{{Form::text('width',null,['class' => 'form-control','placeholder' => __('layout.Width'), 'v-model' => 'width','@input' => 'calculateCbm'])}}
{{Form::text('height',null,['class' => 'form-control','placeholder' => __('layout.Height'), 'v-model' => 'height','@input' => 'calculateCbm'])}}
@endif @if(getShowCBM()=="true")
{{Form::text('base_cbm',null,['class' => 'form-control','placeholder' => __('layout.CBM'), 'v-model' => 'cbm','@input' => 'handleCbmInput'])}}
@endif @if(getM2()!="" && getSubMeasure()!="true")
@endif
@if(getM3()!="" && getSubMeasure()!="true")
@endif @if(getM4()!="")
@endif @if(getOtherMeasure()=="true")
@if (getCalQuantityOfOtherMeasure() != 'simpleMethod')
{{Form::number('o_measure_value',null,['class' => 'form-control','step' => 'any','min' =>'0'])}}
@endif @endif
@if(getOtherMeasure()=="true")
@if (getCalQuantityOfOtherMeasure() != 'simpleMethod')
{{Form::number('um_exchange',null,['class' => 'form-control','step' => 'any','min' =>'0'])}}
@endif @endif @if(getSubMeasure()=="true")
@endif
{{--
--}} {{----}} {{--
--}} {{--{{Form::select('tax',[],null,['class' => 'form-control'])}}--}} {{--
--}} {{--
--}}
@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')

{{Form::close()}} {!! Form::open(array('method'=>'POST','class'=>'form-horizontal')) !!} {{ csrf_field() }}

@lang('layout.AddNewCategory')

{{Form::text('name',null,['class' => 'cform-control','placeholder' => __('layout.CategoryName'),'v-model'=>'nameCat'])}} {{Form::select('parent',$parent,Null,['class' => 'cform-control','placeholder' => __('layout.SelectParent'),'v-model'=>'parentCat'])}} {!! Form::textarea('description', null, array('placeholder' => __('layout.Description'),'class' => 'cform-control','rows' => 6, 'cols' => 30,'v-model'=>'descriptionCat')) !!}
{!! Form::close() !!} {!! Form::open(array('method'=>'POST','class'=>'form-horizontal')) !!} {{ csrf_field() }}

@lang('layout.CreateNewAccountStep')

@if(getAccountNumber()=="true") @{{account_errors.number}} @endif {{Form::text('name','null',['class' => 'cform-control','placeholder' => __('layout.AccountName'),'v-model'=>'nameAcc','autocomplete'=>'off'])}} @{{account_errors.name}} {{-- --}} {{-- {{Form::select('parent_id',$parent,Null,['class' => 'cform-control','placeholder' => __('layout.SelectParent'),'v-model'=>'parentAcc'])}}--}} {!! Form::textarea('description', null, array('placeholder' => __('layout.Description'),'class' => 'cform-control','rows' => 4, 'cols' => 30,'v-model'=>'descriptionAcc')) !!}
{!! Form::close() !!}
@endsection @push('scripts') @endpush