changes
This commit is contained in:
@@ -1722,7 +1722,7 @@ class Payment_Schedule(AutoCodeModel):
|
||||
|
||||
class Invoice(models.Model):
|
||||
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=False)
|
||||
amount = models.DecimalField(max_digits=35, decimal_places=2)
|
||||
payment = models.ForeignKey(Payment_Schedule, null=False, related_name='invoice', on_delete=models.PROTECT)
|
||||
note = models.CharField(max_length=100, null=True)
|
||||
|
||||
Reference in New Issue
Block a user