@extends('layouts.app') @section('style') @stop @section('content') @include('inventories.cmodal') @include('inventories.modal')
@lang('layout.AddNewItem') {{--@lang('layout.someinfo...')--}}
{{Form::open(['route' => 'inventory.m_store','method' => 'POST','id' => 'inventory-form','files'=> true])}}
{{Form::text('name',null,['class' => 'form-control','placeholder' => __('layout.EnterItemName'),'v-validate' =>'"required|min:2"','data-vv-as' => __('layout.Name')])}} @{{ errors.first('name') }} {{-- This is inline help --}}
@{{ errors.first('number') }} @{{number_msg}}
@if(systemConfig()[9] == 0 ) @if(getGauge() =="true")
{{Form::number('gauge',null,['class' => 'form-control','step' => 'any','min' =>'0','placeholder' => __('layout.Gauge'),'v-validate' =>'"required"','data-vv-as' => __('layout.Gauge')])}} @{{ errors.first('gauge') }}
@endif @endif
@{{ errors.first('um_id') }} {{--{{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',':class'=>'{"input-has-error":!isError}','step' => 'any','min' =>'0','v-validate' =>'"required"','data-vv-as' => __('layout.CostInInventory')])}} @{{ errors.first('cost') }}
{{Form::number('rate',null,['class' => 'form-control','step' => 'any','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') }}
@{{ errors.first('income_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','min' =>'0','placeholder' => __('layout.Min')])}}
{{Form::number('max',null,['class' => 'form-control','step' => 'any','min' =>'0','placeholder' => __('layout.Max')])}}

@lang('layout.MetricType')

@lang('layout.Measure')

@lang('layout.OtherMeasure')

@lang('layout.AddNewMeasure')

@if(itemBrand()=="true")
@endif
{{Form::textarea('description',null,['class' => 'form-control','rows' => '1','placeholder' => __('layout.Description')])}}
{{Form::number('total',null,['class' => 'form-control','v-model'=>'result','step' => 'any','min' =>'0' ,'disabled'])}}
{{--{{Form::number('quantity',null,['class' => 'form-control','v-model'=>'onHand ','step' => 'any','min' =>'0'])}}--}}
@if(getOtherMeasure()=="true")
@endif
@if(getOtherMeasure2()=="true")
@endif @if(getM2()!="")
@endif @if(getM3()!="")
@endif @if(getM4()!="")
@endif
@if(ImportEngineNumberByExcel()=="true")
@endif
{{--
--}} {{----}} {{--
--}} {{--{{Form::select('tax',[],null,['class' => 'form-control'])}}--}} {{--
--}} {{--
--}}

@if(systemConfig()[21] == 1) @endif @if(systemConfig()[9] != 0 ) @endif @if(getShowWing()!="false") @endif @if(systemConfig()[9] == 0 || getCubicMetereItems()=="true") @endif @if(getCubicMetereItems()=="true") @endif @if(getShowSuperceedNo()=="true") @endif @if(itemBrand()=="true") @endif @if(showLocation()=="true") @endif @if(getOtherMeasure()=="true") @endif @if(getOtherMeasure2()=="true") @endif @if(ImportEngineNumberByExcel()=="true") @endif @if(systemConfig()[21] == 1) @endif @if(systemConfig()[9] != 0 ) @endif @if(getShowWing()!="false") @endif @if(systemConfig()[9] == 0 || getCubicMetereItems()=="true") @endif @if(getCubicMetereItems()=="true") @endif @if(getShowSuperceedNo()=="true") @endif @if(itemBrand()=="true") @endif @if(showLocation()=="true") @endif @if(getOtherMeasure()=="true") @endif @if(getOtherMeasure2()=="true") @endif @if(ImportEngineNumberByExcel()=="true") @endif
# @lang('layout.Site') @lang('layout.Code') @lang('layout.OnHand') @lang('layout.CostInInventory')@lang('layout.UnitPrice')@lang('layout.Default_Rate')@lang('layout.Photo') @lang('layout.ExpireDate')@lang('layout.Wing') @lang('layout.ApproxWeight')@lang('layout.Width') @lang('layout.Length') @lang('layout.Gauge')@lang('layout.SuperceedNo')@lang('layout.Brand') @lang('layout.Description')@lang('layout.Location')@lang('layout.OMeasureValue1')@lang('layout.OMeasureValue2')@lang('layout.EngineNumber') @lang('layout.File')
@{{index+1}}



{{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() !!}
@endsection @push('scripts') @endpush