feat: add signer name and title fields to invoices with toggleable UI visibility

This commit is contained in:
I-Fun
2026-04-05 13:10:07 +07:00
parent 12d44cbecc
commit ed9e7dc0fd
8 changed files with 178 additions and 93 deletions

View File

@@ -46,6 +46,8 @@ class InvoiceController extends Controller
'due_date' => 'required|date|after_or_equal:issue_date',
'notes' => 'nullable|string',
'signature_image' => 'nullable|image|max:2048',
'signer_name' => 'nullable|string|max:255',
'signer_title' => 'nullable|string|max:255',
'bank_name' => 'nullable|string|max:100',
'bank_account' => 'nullable|string|max:50',
'bank_holder' => 'nullable|string|max:100',
@@ -108,6 +110,8 @@ class InvoiceController extends Controller
'paid_date' => 'nullable|date',
'notes' => 'nullable|string',
'signature_image' => 'nullable|image|max:2048',
'signer_name' => 'nullable|string|max:255',
'signer_title' => 'nullable|string|max:255',
'bank_name' => 'nullable|string|max:100',
'bank_account' => 'nullable|string|max:50',
'bank_holder' => 'nullable|string|max:100',