show bank accounts of stakeholders

This commit is contained in:
2025-08-17 09:57:14 +03:30
parent a51a4442ce
commit 5b1c5e0cb0
6 changed files with 88 additions and 14 deletions

View File

@@ -177,10 +177,10 @@ class BankAccountInformation(BaseModel):
('USR', 'user'),
)
account_type = models.CharField(max_length=10, default='USR')
name = models.CharField(max_length=150)
card = models.CharField(max_length=25, unique=True)
account = models.CharField(max_length=25, unique=True)
sheba = models.CharField(max_length=30, unique=True)
name = models.CharField(max_length=150, null=True)
card = models.CharField(max_length=25, null=True, unique=True)
account = models.CharField(max_length=25, null=True, unique=True)
sheba = models.CharField(max_length=30, null=True, unique=True)
def __str__(self):
return f'{self.name}-{self.card}'