@extends('layouts.app') @section('title', __('app.import_opening_stock')) @section('content') @include('layouts.partials.breadcrumb',['page_title'=> __( 'app.import_opening_stock') , 'bread_crumbs'=>array( array('title'=>__('app.manage_products'),'url'=>'/products'),array('title'=> __('app.import_opening_stock'),'url'=>''))])
@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', 'title'=>__( 'app.import_opening_stock')])
{!! 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(__('app.tooltip_import_opening_stock')) {!! Form::file('products_csv', ['accept'=> '.xls', 'required' => 'required', 'class'=>'form-control']); !!}

{!! Form::close() !!}
@endcomponent
@component('components.widget', ['class' => 'box', 'title' => __('app.instructions')]) @lang('app.instruction_line1')
@lang('app.instruction_line2')

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