add auth, format

This commit is contained in:
Phuoc Nguyen
2025-11-07 11:52:06 +07:00
parent 24a8508fce
commit 3803bd26e0
173 changed files with 8505 additions and 7116 deletions

View File

@@ -15,7 +15,7 @@ enum InvoiceType {
creditNote,
/// Debit note
debitNote;
debitNote,
}
/// Invoice status enum
@@ -166,8 +166,7 @@ class Invoice {
(!isPaid && DateTime.now().isAfter(dueDate));
/// Check if invoice is partially paid
bool get isPartiallyPaid =>
amountPaid > 0 && amountPaid < totalAmount;
bool get isPartiallyPaid => amountPaid > 0 && amountPaid < totalAmount;
/// Get payment percentage
double get paymentPercentage {