This commit is contained in:
baodev0
2026-07-09 11:19:50 +07:00
parent 64232d9168
commit 61c0e026c8
28 changed files with 939 additions and 230 deletions
+4
View File
@@ -7,6 +7,8 @@ enum InvoiceStatus: int
case UNPAID = 1;
case PAID = 2;
case CANCELLED = 3;
case OVERDUE = 4;
case REFUNDED = 5;
public function label(): string
{
@@ -14,6 +16,8 @@ enum InvoiceStatus: int
self::UNPAID => 'Chưa thanh toán',
self::PAID => 'Đã thanh toán',
self::CANCELLED => 'Đã hủy',
self::OVERDUE => 'Quá hạn',
self::REFUNDED => 'Đã hoàn tiền',
};
}
}