@extends('content') @section('filters')
@endsection @section('page-title')
{{ __('warehouse.items.title') }}
@cansee('warehouse.stock_items.insert') {{ __('main.add') }} @endcansee
@endsection @section('page-content') {{-- --}} @foreach($items as $index => $wi) {{-- --}} @endforeach
# @sortable('warehouse.items.name', 't1.name') @sortable('warehouse.items.producer', 't1.producer') @sortable('warehouse.items.description', 't1.description') @sortable('warehouse.items.units', 't1.units')@sortable('warehouse.items.price', 't1.units')
{{ ($items->currentPage() - 1) * $items->perPage() + $loop->iteration }}. {{ $wi->name }} {{ $wi->producer }} {{ $wi->description }} {{ $wi->units }}{{ $wi->price }} @cansee('warehouse.stock_items.update') Edytuj @endcansee @cansee('warehouse.stock_items.delete') UsuĊ„ @endcansee
{{ $items->links() }}
@endsection @push('modal') @cansee('warehouse.stock_items.delete') @endcansee @endpush