@if($product->imageUrl())  }}) @else{{ strtoupper(substr($product->name,0,1)) }}@endif |
{{ $product->name }}Added by {{ ucfirst($product->creator?->role ?? 'system') }} |
{{ $product->category?->displayName() ?? 'General Products' }} |
{{ $product->sellingModeLabel() }} |
@unless($isCashier)@if($product->canSellSingle()){{ $product->singleUnitSingular() }}TZS {{ tzs_amount($product->costPricePerSingle()) }}@endif @if($product->canSellWholesale()){{ $product->wholesaleUnitSingular() }}TZS {{ tzs_amount($product->cost_price_per_carton) }}@endif | @endunless
@if($product->canSellSingle()){{ $product->singleUnitSingular() }}TZS {{ tzs_amount($product->default_selling_price_per_single) }}@endif @if($product->canSellWholesale()){{ $product->wholesaleUnitSingular() }}TZS {{ tzs_amount($product->default_selling_price_per_carton) }}@endif |
@if($product->canSellWholesale())
{{ number_format($product->wholesaleAvailable()) }} {{ $product->unitName('wholesale',$product->wholesaleAvailable()) }}
@endif
@if($product->canSellSingle())
{{ number_format($product->looseSingleAvailable()) }} {{ $product->unitName('single',$product->looseSingleAvailable()) }}
@endif
@if($product->canSellWholesale() && $product->canSellSingle())
+
@endif
Total: {{ number_format($product->current_stock_pieces) }} {{ $product->unitName('single',$product->current_stock_pieces) }}
|
@if($product->isArchived())
Archived
@elseif($product->status === 'inactive')
Inactive
@else
{{ $product->stockStatusLabel() }}
@endif
|
@if(in_array(auth()->user()->role,['owner','manager'],true))
@if(!$product->isArchived())
Edit
•••
@else
@endif
@else
—
@endif
|
@empty