@extends('layouts.app') @section('title', __('Makundi ya Bidhaa')) @section('content')

{{ __('Panga bidhaa kwa makundi: inarahisisha kutafuta, kukagua stoo kundi kwa kundi, ripoti na SKU za automatic.') }}

@if ($uncategorized)
{!! icon('alert') !!}
{{ __(':n bidhaa hazina kundi.', ['n' => $uncategorized]) }} {{ __('Zipangie makundi') }} →
@endif
@foreach ($categories as $c) @php $pct = $totalValue > 0 ? round($c->cost_value / $totalValue * 100) : 0; @endphp
{{ $c->code ?: '—' }}

{{ $c->name }}

{{ $c->description }}
{{ __('Bidhaa') }}
{{ $c->products }}
{{ __('Idadi stoo') }}
{{ number_format($c->qty) }}
{{ __('Thamani ya stoo') }}{{ money($c->cost_value) }}
{{ $pct }}% {{ __('ya stoo yote') }}
@endforeach
@endsection @push('scripts') @endpush