@extends('layouts.app') @section('style') @stop @section('content')
  @lang('layout.InventoryImport')
{{Form::open(['route'=>'inventoryImport.store','method'=>'POST','enctype'=>'multipart/form-data','class'=>'form-horizontal','id'=>'import-form'])}} {{ csrf_field() }}
{{Form::file('inventory_file',null,['class' => 'form-control','placeholder' => __('layout.File')])}}
{{Form::close()}}

    @lang('message.Info')

  • @lang('message.TipOne')
  • @lang('message.TipTwo')
  • @lang('message.TipThree')

@lang('layout.import_measure_msg')

{{Form::open(['route'=>'inventoryImport.store','method'=>'POST','class'=>'form-horizontal','enctype'=>'multipart/form-data','id'=>'import-form-second'])}} {{csrf_field()}}
@if(getM2()!="" && getSubMeasure()!="true") @endif @if(getM3()!="" && getSubMeasure()!="true") @endif @if(getM2()!="" && getSubMeasure()!="true") @endif @if(getM3()!="" && getSubMeasure()!="true") @endif {{-- --}}
# @lang('layout.ItemCode') @lang('layout.Name') @lang('layout.Type') @lang('layout.ItemType') @lang('layout.Gauge') @lang('layout.Cost') @lang('layout.Default_Rate') @lang('layout.Category') @lang('layout.Measure') @lang('layout.Measure2') @lang('layout.Measure3') @lang('layout.IncomeAccount') @lang('layout.CostAccount') @lang('layout.AssetAccount') @lang('layout.Description') @lang('layout.Code') @lang('layout.Quantity') @lang('layout.Location') @lang('layout.Min') @lang('layout.Max') @lang('layout.Date')
@{{index+1}}
{{Form::close()}}
-------------------------------

@lang('layout.ImportCodeOnHandByExcel')

{{Form::open(['route'=>'inventoryImport.store','method'=>'POST','enctype'=>'multipart/form-data','class'=>'form-horizontal','id'=>'import-form-code'])}} {{ csrf_field() }}
{{Form::file('inventory_code_file',null,['class' => 'form-control','placeholder' => __('layout.File')])}}
{{Form::close()}}
@if($codeData) @if(count($codeData)>0)
{{Form::open(['route'=>'inventoryImportCode.store','method'=>'POST','class'=>'form-horizontal','enctype'=>'multipart/form-data','id'=>'import-form-second-code'])}} {{csrf_field()}}

@foreach($codeData AS $record) @endforeach
# @lang('layout.ItemCode') @lang('layout.Name') @lang('layout.Measure') @lang('layout.Site') @lang('layout.Code') @lang('layout.Cost') @lang('layout.Default_Rate') @lang('layout.Quantity') @lang('layout.Width') @lang('layout.Length') @lang('layout.Wing') @lang('layout.ApproxWeight') @lang('layout.Description')
{{$count+1}} {{$record['serial_number']}} {{$record['name']}} {{$record['measure']}}
{{Form::close()}}
@endif @endif
@endsection @push('scripts') @endpush