@extends('layouts.app') @section('title', __('lang_v1.import_opening_stock')) @section('content')

@lang('lang_v1.import_opening_stock')

@if (session('notification') || !empty($notification))
@if(!empty($notification['msg'])) {{$notification['msg']}} @elseif(session('notification.msg')) {{ session('notification.msg') }} @endif
@endif
@component('components.widget', ['class' => 'box-primary']) {!! Form::open(['url' => action('ImportOpeningStockController@store'), 'method' => 'post', 'enctype' => 'multipart/form-data' ]) !!}
{!! Form::label('name', __( 'product.file_to_import' ) . ':') !!} @show_tooltip(__('lang_v1.tooltip_import_opening_stock')) {!! Form::file('products_csv', ['accept'=> '.xls', 'required' => 'required']); !!}

{!! Form::close() !!}

@endcomponent
@component('components.widget', ['class' => 'box-primary', 'title' => __('lang_v1.instructions')]) @lang('lang_v1.instruction_line1')
@lang('lang_v1.instruction_line2')

@lang('lang_v1.col_no') @lang('lang_v1.col_name') @lang('lang_v1.instruction')
1 @lang('product.sku')(@lang('lang_v1.required'))
2 @lang('business.location') (@lang('lang_v1.optional'))
@lang('lang_v1.location_ins')
@lang('lang_v1.location_ins1')
3 @lang('lang_v1.quantity') (@lang('lang_v1.required'))
4 @lang('purchase.unit_cost_before_tax') (@lang('lang_v1.required'))
5 @lang('lang_v1.lot_number') (@lang('lang_v1.optional'))
6 @lang('lang_v1.expiry_date') (@lang('lang_v1.optional')) {!! __('lang_v1.expiry_date_in_business_date_format') !!}
{{$date_format}}
@endcomponent
@endsection