@extends('layouts.app') @section('style') @endsection @section('content')

Add New Product

@if($errors->any()) @endif @if(session('error')) @endif
@csrf
Basic Information
@error('name')
{{ $message }}
@enderror
@error('sku')
{{ $message }}
@enderror
Stock Keeping Unit - must be unique
@error('barcode')
{{ $message }}
@enderror
@error('ref_number')
{{ $message }}
@enderror
@error('category_id')
{{ $message }}
@enderror
@error('brand_id')
{{ $message }}
@enderror
@error('supplier_id')
{{ $message }}
@enderror
@error('unit_id')
{{ $message }}
@enderror
@error('description')
{{ $message }}
@enderror
@error('short_description')
{{ $message }}
@enderror
Pricing
KES
@error('cost_price')
{{ $message }}
@enderror
KES
@error('sale_price')
{{ $message }}
@enderror
KES
@error('wholesale_price')
{{ $message }}
@enderror
KES
@error('discount_price')
{{ $message }}
@enderror
%
@error('discount_percent')
{{ $message }}
@enderror
Enter either discount price or percentage (not both)
Tax Configuration
@error('tax_id')
{{ $message }}
@enderror
Select applicable VAT rate (16%, 8%, etc.)
Selected: (%)
Understanding Tax Options:
  • VAT Taxable: Product is subject to VAT (select a rate above)
  • Zero-Rated VAT: VAT applies at 0% rate (for exports/essentials)
  • VAT Exempt: No VAT applies at all (exempt by law)
@php $zeroRatedTax = $taxes->where('rate', 0)->first(); @endphp
Tax & Price Preview
Sale Price
KES 0.00
Tax Rate
0%
Tax Amount
KES 0.00
Total Price
KES 0.00
Current Status: @if(old('tax_status', 'vat') == 'vat') VAT Taxable @if(old('tax_id')) ({{ $taxes->where('id', old('tax_id'))->first()->rate ?? '0' }}%) @endif @elseif(old('tax_status') == 'zero') Zero-Rated VAT (0%) @else VAT Exempt (No VAT) @endif
Inventory Management
@error('stock')
{{ $message }}
@enderror
@error('reorder_point')
{{ $message }}
@enderror
Alert when stock reaches this level
@error('minimum_stock')
{{ $message }}
@enderror
@error('maximum_stock')
{{ $message }}
@enderror
Maximum stock capacity (optional)
Expiry & Batch Tracking
@error('expiry_warning_days')
{{ $message }}
@enderror
Alert before expiry
Expiry Tracking: For products with expiry dates (food, medicine, etc.)
Batch Tracking: Track stock by batches/lots. Required for expiry tracking.
Status & Options
@error('status')
{{ $message }}
@enderror
@endsection @section('script') @endsection