@extends('layouts.app') @section('title', __('Kiasi cha Stoo')) @section('content')
@if (auth()->user()->isBoss() || auth()->user()->role === 'accountant') @endif
{{ __('Zote') }}{{ __('Zinazokwisha') }}
{!! icon('refresh') !!} {{ __('Mienendo ya stoo') }}
@unless ($hidePrices)@endunless @php $grp = false; @endphp @forelse ($rows as $r) @php $avail = $r->qty - $r->reserved; @endphp @if ($grp !== ($r->category_name ?? '')) @php $grp = $r->category_name ?? ''; @endphp @endif @unless ($hidePrices)@endunless @empty@endforelse
{{ __('Bidhaa') }}{{ __('Ipo') }}{{ __('Imeuzwa (inasubiri kutoka') }}){{ __('Inapatikana') }}{{ __('Kiwango cha chini') }}{{ __('Thamani (bei ya kununua') }})
{!! icon('layers') !!} {{ $grp ?: __('Bila kundi') }}
{{ $r->name }} {{ $r->sku }} · {{ $r->unit }} {{ number_format($r->qty) }} {{ number_format($r->reserved) }} {{ number_format($avail) }} {{ $r->reorder_level }}{{ money($r->qty * $r->cost_price, false) }}
{{ __('Hakuna') }}
{{ $rows->links() }}
@endsection