@extends('layouts.admin') @section('title', 'Settings') @section('page-title', 'Settings') @section('breadcrumb') @endsection @section('styles') @endsection @section('content')

Company Settings

@csrf
@error('company_name') {{ $message }} @enderror
@error('company_registration_number') {{ $message }} @enderror
@error('company_address') {{ $message }} @enderror
@error('company_phone') {{ $message }} @enderror
@error('company_email') {{ $message }} @enderror
This will appear on invoices in the terms & conditions section. @error('bank_account') {{ $message }} @enderror

Company Logo

@csrf
@if($logoUrl) Company Logo @else

No logo uploaded yet.

@endif
Supported formats: JPG, PNG, GIF, SVG. Max size: 2MB @error('company_logo') {{ $message }} @enderror

Invoice Settings

@csrf
Invoice numbers will be generated automatically using these prefixes. Example: INV-000001, QUO-000001
Current format: {{ old('invoice_prefix', $invoiceSettings['invoice_prefix'] ?? 'INV-') }}000001 @error('invoice_prefix') {{ $message }} @enderror
Current format: {{ old('quotation_prefix', $invoiceSettings['quotation_prefix'] ?? 'QUO-') }}000001 @error('quotation_prefix') {{ $message }} @enderror
{{ old('invoice_prefix', $invoiceSettings['invoice_prefix'] ?? 'INV-') }}
Auto-generated based on existing invoices
{{ old('quotation_prefix', $invoiceSettings['quotation_prefix'] ?? 'QUO-') }}
Auto-generated based on existing quotations

Terms & Conditions

@csrf
@error('tnc_title') {{ $message }} @enderror
@error('tnc_content') {{ $message }} @enderror You can use HTML tags like <ol>, <ul>, <li>, <strong>, <em>, etc.
@if($tncContent)
{!! $tncContent !!}
@endif
@endsection @section('scripts') @endsection