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