@extends('setting.nav') @section('title', 'Product Master') @section('content')
What you sell, and for how much. A mail classified Pricing Enquiry says somebody wants a price; these rows are where that price comes from, and a quotation line will point at one of them. The catalogue belongs to the account — everyone in your team sees the same list, and only an administrator can change it.
| Product | Code | Price today | Tax | Unit | Active | Actions | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
{{ $product->name }}
@if ($product->description)
{{ \Illuminate\Support\Str::limit($product->description, 110) }}
@endif
@if ($product->ai_aliases)
also matches: {{ $product->ai_aliases }}
@endif
|
{{ $product->product_code }} |
@if ($current)
{{ number_format((float) $current->price, 2) }}
{{ $current->currency }}
@if ($bands->count() > 1)
{{ $bands->count() }} price bands
@endif
@else
{{-- No applicable price is a real state, not a zero:
nothing can be quoted from this product today. --}}
No price today
@endif
|
{{ rtrim(rtrim(number_format((float) $product->tax_percentage, 2), '0'), '.') }}% | {{ $product->unit }} | @if ($isAdmin) @else {{ $product->is_active ? 'Active' : 'Inactive' }} @endif | @if ($isAdmin) @endif | ||||||||||||||||||
|
Price book — {{ $product->product_code }}
@if ($isAdmin)
@endif
|
||||||||||||||||||||||||
| @if ($search !== '') Nothing matches "{{ $search }}". @else No products yet. Add one, or import your price list from a spreadsheet on the right. @endif | ||||||||||||||||||||||||
Rows are matched on product code: a code you already have is updated, a new one is created. Nothing is ever deleted by an import — a partial price list is normal, and an omission is not a retirement.