@extends('layouts.app') @section('content')
| Code / Barcode | @if($etimsEnabled)HS Code | @endifM.Category | Sub Category | Product Name | Brand | B.Price | R.Price | @if(auth()->user()->hasPermission('products.wholesale_price'))Wh.Price | @endif @if(auth()->user()->hasPermission('products.website_price'))Web Price | @endif @if(auth()->user()->hasPermission('products.online_listing'))Online | @endifPrice Margin | @if(auth()->user()->hasPermission('products.stock_view'))Qty | Alert Qty | @endifUOM | Branch | VAT | @if(auth()->user()->hasPermission('products.change_price'))Price | @endif @if(auth()->user()->hasPermission('products.stock_view'))Stock | @endifAction |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $product->barcode }} | @if($etimsEnabled){{ $product->hs_code ?: '-' }} | @endif{{ $product->category->name ?? '' }} | {{ $product->subCategory->name ?? '' }} |
{{ $product->name }}
@if(!$product->is_for_sale)
Not for selling
@endif
|
{{ $product->brand?->name ?? '-' }} | {{ \App\Models\SystemSetting::formatNumber(\App\Models\SystemSetting::convertAmount($product->buying_price)) }} | {{ \App\Models\SystemSetting::formatNumber(\App\Models\SystemSetting::convertAmount($product->retail_price)) }} | @if(auth()->user()->hasPermission('products.wholesale_price')){{ \App\Models\SystemSetting::formatNumber(\App\Models\SystemSetting::convertAmount($product->wholesale_price)) }} | @endif @if(auth()->user()->hasPermission('products.website_price')){{ \App\Models\SystemSetting::formatNumber(\App\Models\SystemSetting::convertAmount($product->priceForWebsite())) }} | @endif @if(auth()->user()->hasPermission('products.online_listing')){{ $product->show_on_website ? 'Yes' : 'No' }} | @endif{{ \App\Models\SystemSetting::formatNumber(\App\Models\SystemSetting::convertAmount($product->retail_price - $product->buying_price)) }} | @if(auth()->user()->hasPermission('products.stock_view')){{ \App\Models\SystemSetting::formatQuantity($product->stock_quantity) }} @if($product->product_type === 'combo' && $product->combo_mode === 'break_pack') opened portions @endif | {{ \App\Models\SystemSetting::formatQuantity($product->alert_quantity) }} | @endif{{ $product->unitOfMeasure->short_name ?? '-' }} | {{ $product->branch?->name ?: 'All branches' }} | {{ \App\Models\TaxRate::typeLabel($product->taxRate?->tax_type ?: $product->vat_type, $product->taxRate ? $product->taxRate->rate : $product->vat_rate) }} | @if(auth()->user()->hasPermission('products.change_price'))@endif @if(auth()->user()->hasPermission('products.stock_view')) | @if($product->product_type === 'single') Stock @else Automatic @endif | @endif
Update
@permission('products.stock_view')
View Product History
@endpermission
|
| No products found. | |||||||||||||||||||