@extends('layouts.app') @section('title', 'Invoice Settings') @section('page-title', 'Invoice Settings 🧾') @section('page-subtitle', 'Customize number format, header, and invoice defaults') @section('content')
← Back to Invoices
@if(session('success'))
{{ session('success') }}
@endif
@csrf {{-- Number Format --}}

🔢 Invoice Number Format

e.g. INV-EA → INV-EA-001

Used for the next new invoice

Preview: {{ rtrim(old('invoice_prefix', $settings->invoice_prefix), '-') }}-{{ str_pad((string) (old('invoice_next_number', $settings->invoice_next_number) ?? 1), 3, '0', STR_PAD_LEFT) }}
{{-- Header / Branding --}}

🎨 Invoice Header

@if($settings->header_logo)
Logo

Current Logo

Upload a new file to replace it

@endif

Max 2 MB. Shown at the top-left of your invoice.

{{-- Invoice Defaults --}}

📋 Invoice Defaults

These values will pre-fill every new invoice you create.

@push('scripts') @endpush @endsection