@extends('layouts.app') @section('title', __('Import Products')) @section('content')
{{ __('Upload a file with a header row. Recognized columns: name, generic_name, category, barcode, sku, unit, purchase_price, selling_price, vat_rate, min_stock, reorder_quantity, requires_prescription, description, batch_number, expiration_date, quantity') }}
@if (session('import_errors')){{ $error }}
@endforeach{{ __('Categories created automatically') }}
@foreach (session('import_categories') as $category){{ $category }}
@endforeach{{ __('Sample CSV header') }}
name,generic_name,category,barcode,purchase_price,selling_price,vat_rate,min_stock,quantity,expiration_date
{{ __('The category column accepts a category name (recommended) or a category id.') }}
{{ __('French headers are accepted (Nom du produit, Catégorie, Prix de vente, Code-barres, Quantité…), as well as a semicolon or tab separator and a UTF-8 BOM.') }}