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

@lang('lang_v1.import_manufacturers')

@include('layouts.partials.error') @if(!empty($notification['msg']))
{{ $notification['msg'] }}
@endif
@component('components.widget', ['class' => 'box-primary']) {!! Form::open(['url' => action([\App\Http\Controllers\ImportManufacturersController::class, 'store']), 'method' => 'post', 'enctype' => 'multipart/form-data']) !!}
{!! Form::label('manufacturers_csv', __('product.file_to_import') . ':') !!} {!! Form::file('manufacturers_csv', ['accept' => '.xls, .xlsx, .csv', 'required' => 'required']) !!}

{!! Form::close() !!}
{{-- Generated from templateColumns() so it cannot drift from the parser. --}} @lang('lang_v1.download_template_file')
@endcomponent
@component('components.widget', ['class' => 'box-primary', 'title' => __('lang_v1.instructions')]) @lang('lang_v1.instruction_line1')
@lang('lang_v1.instruction_line2')

@lang('lang_v1.mfg_import_scope_help')
@lang('lang_v1.col_no') @lang('lang_v1.col_name') @lang('lang_v1.instruction')
1 Manufacturer Name (@lang('lang_v1.required')) Must be unique within the business. Matching ignores letter case, so Cipla and CIPLA are treated as the same manufacturer and the second row is reported as a duplicate rather than creating a second record.
2 Description (@lang('lang_v1.optional'))
3 Email (@lang('lang_v1.optional')) Validated. Used to email purchase orders and follow-up reminders to a third-party manufacturer, which has no portal login of its own — so it is worth filling in.
4 Mobile (@lang('lang_v1.optional'))
5 Address (@lang('lang_v1.optional'))
@endcomponent
@endsection