@extends('layouts.app') @section('title', __('Bidhaa')) @section('content') @php $canPrice = auth()->user()->allows('products.prices'); @endphp
| {{ __('SKU') }} | {{ __('Bidhaa') }} | {{ __('Kundi') }} | @if ($canPrice){{ __('Bei ya kununua') }} | @endif{{ __('Bei ya kuuza') }} | {{ __('Bei ya chini') }} | {{ __('Stoo (zote') }}) | {{ __('Hali') }} | |
|---|---|---|---|---|---|---|---|---|
| {!! icon('layers') !!} {{ $grp ?: __('Bila kundi') }} | ||||||||
| {{ $p->sku }} | {{ $p->name }} / {{ $p->unit }} | {{ $p->category->name ?? '—' }} | @if ($canPrice){{ money($p->cost_price, false) }} | @endif{{ money($p->sell_price, false) }} | {{ money($p->min_price, false) }} | {{ (int) $p->total_qty }} | {!! status_badge($p->is_active ? 'active' : 'closed') !!} | @if (auth()->user()->allows('products.manage')){{ __('Hariri') }}@endif |
| {{ __('Hakuna bidhaa') }} | ||||||||