@extends('crm.layout') @section('crm-title',__('Catalogue')) @section('crm-content')

{{ __('Products and services for your company. Prices are copied into quotation snapshots when saved. Catalogue changes do not change issued quotations.') }}

@if($access->allowed(auth()->user(),'manage-catalogue-crm'))
query('quick_create') === 'product') open @endif>{{ __('Add product or service') }} @include('crm.product-form',['product'=>null])
@endif
@if($access->allowed(auth()->user(),'view-cost-crm'))@endif @forelse($products as $product) @if($access->allowed(auth()->user(),'view-cost-crm'))@endif @empty @endforelse
{{ __('SKU') }}{{ __('Product or service') }}{{ __('Unit') }}{{ __('Price') }}{{ __('Cost') }}{{ __('Status') }}{{ __('Actions') }}
{{ $product->sku }}{{ $product->name }}{{ $product->unit }}{{ $product->currency }} {{ \App\Support\Money::decimal($product->price_minor) }}{{ isset($product->cost_minor)?\App\Support\Money::decimal($product->cost_minor):'—' }}{{ $product->active?__('Active'):__('Inactive') }}@if($access->allowed(auth()->user(),'manage-catalogue-crm'))
{{ __('Edit') }}: {{ $product->sku }}@include('crm.product-form')
@endif
{{ __('Add your first product or service to make quotations faster.') }}
{{ $products->links() }} @endsection