@if (session('success')) @endif @if (session('error')) @endif @livewire('import-component', ['DemoFile' => 'download/NOMENCLATURE.xlsx', 'ImportModels' => App\Imports\ImportNomenclatures::class, 'rules' => [ 'orderList.reference_article' => 'required', 'orderList.reference_composant' => 'required', 'orderList.qte' => 'required' ]])
@forelse($nomenclatures as $nomenclature) @empty @endforelse
{{__('Article')}} @if ($sortColumn == "article_id" && $sortDirection == 'ASC') @elseif($sortColumn == "article_id" && $sortDirection == 'DESC') @else @endif {{__('Article Type')}} @if ($sortColumn == "article.type" && $sortDirection == 'ASC') @elseif($sortColumn == "article.type" && $sortDirection == 'DESC') @else @endif {{__('Qte fabrique')}} @if ($sortColumn == "qte_fabriquee" && $sortDirection == 'ASC') @elseif($sortColumn == "qte_fabriquee" && $sortDirection == 'DESC') @else @endif
@can('nomenclatures_edit') @endcan @can('nomenclatures_show') remove_red_eye @endcan @can('nomenclatures_edit') edit @endcan @can('nomenclatures_delete') delete @endcan {{ optional($nomenclature->article)->reference .' - '. optional($nomenclature->article)->designation }} @isset(optional($nomenclature->article)->type) {{ App\Helpers\ArticleList::TYPE[optional($nomenclature->article)->type] }} @endisset {{ $nomenclature->qte_fabriquee }}
{{__('No results found.')}}
@if(!empty($term)) {{ $nomenclatures->appends(['s' => $term])->links() }} @else {{ $nomenclatures->links() }} @endif
{{__('Showing')}} {{ $nomenclatures->firstItem() }} - {{ $nomenclatures->lastItem() }} / {{ $nomenclatures->total() }} ({{__('page')}} {{ $nomenclatures->currentPage() }} )