@extends('layouts.app') @section('title', __('Ukaguzi wa Stoo')) @section('content') @php $u = auth()->user(); $active = $counts->where('status', 'counting'); @endphp
{{ __('Hesabu ya ghafla (blind count): anayehesabu haoni idadi ya mfumo. Ukimaliza, ripoti inatengenezwa yenyewe na kutumwa kwa mmiliki.') }}
| # | {{ __('Ukaguzi') }} | {{ __('Stoo') }} | {{ __('Kundi') }} | {{ __('Mkaguzi') }} | {{ __('Bidhaa') }} | @if ($canSee){{ __('Usahihi') }} | {{ __('Upungufu') }} | {{ __('Tofauti halisi') }} | @endif{{ __('Hali') }} | |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $c->id }} | {{ $c->title }} {{ optional($c->started_at ?? $c->created_at)->format('d/m/Y H:i') }} |
{{ $c->branch->name }} | {{ $c->category->name ?? __('Zote') }} | {{ $c->counter->name }} | {{ $c->counted_items ?: '—' }}{{ $c->scope_items ? ' / ' . $c->scope_items : '' }} | @if ($canSee)@if ($c->status !== 'counting'){{ rtrim(rtrim(number_format($c->accuracy, 1), '0'), '.') }}%@endif | {{ $c->status !== 'counting' ? money(abs($c->shortage_value), false) : '' }} | {{ $c->status !== 'counting' ? money($c->variance_value, false) : '' }} | @endif{!! status_badge($c->status === 'counting' ? 'open' : $c->status) !!} | @if ($c->status === 'counting'){{ __('Hesabu') }} @elseif ($canSee){{ __('Ripoti') }}@endif |
| {{ __('Bado hakuna ukaguzi') }} | ||||||||||