This commit is contained in:
anhduy-tech
2026-02-10 10:56:07 +07:00
parent 63e5d71ca2
commit 8d8a7bdb80
3 changed files with 1 additions and 3 deletions

View File

@@ -1720,9 +1720,7 @@ class Payment_Schedule(AutoCodeModel):
class Meta: class Meta:
db_table = 'payment_schedule' db_table = 'payment_schedule'
class Invoice(AutoCodeModel): class Invoice(models.Model):
code_prefix = "HD"
code_padding = 5
link = models.CharField(max_length=100, null=True) link = models.CharField(max_length=100, null=True)
ref_code = models.CharField(max_length=30, null=True) ref_code = models.CharField(max_length=30, null=True)
amount = models.DecimalField(max_digits=35, decimal_places=2) amount = models.DecimalField(max_digits=35, decimal_places=2)