{{-- --}} {{-- --}} {{-- --}} @forelse($articles as $article) {{-- --}} {{-- --}} {{-- --}} @empty @endforelse
{{__('reference')}} @if ($sortColumn == "reference" && $sortDirection == 'ASC') @elseif($sortColumn == "reference" && $sortDirection == 'DESC') @else @endif {{__('articles.type')}} @if ($sortColumn == "type" && $sortDirection == 'ASC') @elseif($sortColumn == "type" && $sortDirection == 'DESC') @else @endif {{__('designation')}} @if ($sortColumn == "designation" && $sortDirection == 'ASC') @elseif($sortColumn == "designation" && $sortDirection == 'DESC') @else @endif {{ __('articles.nature_id') }} @if ($sortColumn == "nature_id" && $sortDirection == 'ASC') @elseif($sortColumn == "nature_id" && $sortDirection == 'DESC') @else @endif {{ __('articles.type_lame') }} @if ($sortColumn == "type_lame" && $sortDirection == 'ASC') @elseif($sortColumn == "type_lame" && $sortDirection == 'DESC') @else @endif {{ __('articles.marque_id') }} @if ($sortColumn == "marque_id" && $sortDirection == 'ASC') @elseif($sortColumn == "marque_id" && $sortDirection == 'DESC') @else @endif {{__('Qté stock')}} @if ($sortColumn == "qte_stock" && $sortDirection == 'ASC') @elseif($sortColumn == "qte_stock" && $sortDirection == 'DESC') @else @endif {{__('Pmp')}} @if ($sortColumn == "pmp" && $sortDirection == 'ASC') @elseif($sortColumn == "pmp" && $sortDirection == 'DESC') @else @endif {{__('Nomenclature')}} @if ($sortColumn == "nomenclature" && $sortDirection == 'ASC') @elseif($sortColumn == "nomenclature" && $sortDirection == 'DESC') @else @endif {{__('Marge Tolérance (%)')}} @if ($sortColumn == "tolerance" && $sortDirection == 'ASC') @elseif($sortColumn == "tolerance" && $sortDirection == 'DESC') @else @endif
@can('articles_edit') @endcan @can('articles_show') remove_red_eye @endcan @can('articles_edit') edit @endcan @can('articles_delete') @if ($article->nomenclature == -1) delete @endif @endcan {{ $article->reference }} @isset($article->type) {{ App\Helpers\ArticleList::TYPE[$article->type] }} @endisset {{ $article->designation }} {{ $article->nature->libelle ?? '' }} {{ $article->typeLame ?? '' }} {{ $article->marque->libelle ?? '' }}{{ $article->qte_stock }}{{ $article->pmp }}{{ $article->nomenclature == 1 ? 'Oui' : 'Non' }}{{ $article->tolerance ?? 0 }} %
{{__('No results found.')}}
@if(!empty($term)) {{ $articles->appends(['s' => $term])->links() }} @else {{ $articles->links() }} @endif
{{__('Showing')}} {{ $articles->firstItem() }} - {{ $articles->lastItem() }} / {{ $articles->total() }} ({{__('page')}} {{ $articles->currentPage() }} )
@push('script') @endpush