add auth, format
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user