@extends('layouts.app') @section('title', __('lang_v1.import_opening_stock')) @section('content')
@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', 'icon' => 'ni ni-cloud-download-95 text-primary', 'title' => __('lang_v1.import_opening_stock')])
@slot('tool') @endslot {!! Form::open(['url' => action([\App\Http\Controllers\ImportOpeningStockController::class, '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','class' => 'upload-product-price']); !!}
{!! Form::close() !!} @endcomponent @component('components.widget', ['class' => 'box-primary', 'icon' => 'ni ni-bulb-61 text-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}}, @lang('lang_v1.type'): text, @lang('lang_v1.example'): {{@format_date('today')}}
@endcomponent
@endsection @section('javascript') @endsection