diff --git a/resources/views/categories/index.blade.php b/resources/views/categories/index.blade.php index 7ba656d..dcb9982 100644 --- a/resources/views/categories/index.blade.php +++ b/resources/views/categories/index.blade.php @@ -1,219 +1,222 @@ @extends('layouts.app') @section('title', 'Categories') -@section('page-title', 'π·οΈ Category Management') +@section('page-title', 'Category Management π·οΈ') @section('page-subtitle', 'Organise clients, schedules & content by category') @section('content') -
No categories yet. Add your first one above.
+No categories yet. Add your first one above.
-No invoices yet. Create + one!
No invoices yet. Create one!
-e.g. INV-EA β INV-EA-001
Used for the next new invoice
+Current Logo
+Choose a new file to replace it
+Max 2 MB. Uploads immediately on file selection.
+Applied to your invoice header name and totals.
+These values will pre-fill every new invoice you create.
+ +e.g. INV-EA β INV-EA-001
Used for the next new invoice
-Current Logo
-Choose a new file to replace it
-Max 2 MB. Uploads immediately on file selection.
-Applied to your invoice header name and totals.
-These values will pre-fill every new invoice you create.
- -| Description | -Qty | -Unit Price | -Total | -||||
|---|---|---|---|---|---|---|---|
| - {{ $item->description }} - @if(!$item->is_taxable) - Non-Taxable - @endif - | -{{ $item->quantity }} | -Rp {{ number_format($item->unit_price, 0, ',', '.') }} | -Rp {{ number_format($item->total, 0, ',', '.') }} | + {{-- Line Items --}} + @php + $accent = $invoiceSettings->accent_color ?? '#FFB7C5'; + $hex = ltrim($accent, '#'); + $r = hexdec(substr($hex, 0, 2)); + $g = hexdec(substr($hex, 2, 2)); + $b = hexdec(substr($hex, 4, 2)); + $tint = sprintf( + '#%02X%02X%02X', + (int) (255 * 0.92 + $r * 0.08), + (int) (255 * 0.92 + $g * 0.08), + (int) (255 * 0.92 + $b * 0.08) + ); + @endphp +
| Description | +Qty | +Unit Price | +Total |
|---|