Пример #1
0
class OwnedBankAccountsTableEntry(models.Model):
    table = models.ForeignKey(OwnedBankAccountsTable, on_delete=models.CASCADE, null=True)
    institution = models.CharField("Instituția", max_length=128, choices=FinancialInstitution.return_as_iterable())
    account_type = models.CharField("Tipul", max_length=32, choices=AccountType.return_as_iterable())
    currency = models.CharField("Valuta", max_length=16, choices=Currency.return_as_iterable())
    opening_year = models.IntegerField("Deschis in anul")
    account_balance = models.DecimalField("Soldul", decimal_places=2, max_digits=10)
Пример #2
0
class OwnedDebtsTableEntry(models.Model):
    table = models.ForeignKey(OwnedDebtsTable, on_delete=models.CASCADE, null=True)
    person = models.ForeignKey(Person, on_delete=models.CASCADE, null=True, blank=True)
    lender = models.CharField("Creditor", max_length=128, choices=FinancialInstitution.return_as_iterable(), null=True, blank=True)
    debt_type = models.CharField("Tip datorie", max_length=30, choices=DebtType.return_as_iterable())
    acquirement_year = models.IntegerField("Contractat in anul")
    due_date = models.IntegerField("Scadent la")
    value = models.FloatField("Valoare")
    currency = models.CharField("Valuta", max_length=16, choices=Currency.return_as_iterable())
Пример #3
0
class TranscribeOwnedBankAccountsRowEntry(forms.Form):
    financial_institution = forms.ChoiceField(
        label="Care este institutia financiara?",
        choices=FinancialInstitution.return_as_iterable())
    account_type = forms.ChoiceField(label="Care este tipul contului?",
                                     choices=AccountType.return_as_iterable())
    currency = forms.ChoiceField(label="Care este valuta?",
                                 choices=Currency.return_as_iterable())
    account_start_date = forms.ChoiceField(
        label="Care este anul deschiderii contului?",
        choices=YEAR_DICT_CHOICES)
    balance = forms.FloatField(label="Care este valoarea soldului?")
Пример #4
0
class OwnedBankAccountsTableEntry(models.Model):
    table = models.ForeignKey(OwnedBankAccountsTable, on_delete=models.CASCADE)
    institution = models.CharField(
        "Instituția",
        max_length=128,
        choices=FinancialInstitution.return_as_iterable())
    address = models.CharField("Adresa institutiei", max_length=128)
    account_holder = models.CharField("Titular", max_length=128)
    currency = models.CharField("Valuta",
                                max_length=16,
                                choices=Currency.return_as_iterable())
    opening_year = models.DateField("Deschis in anul")
    account_type = models.IntegerField(
        "Tipul", choices=AccountType.return_as_iterable())
Пример #5
0
class TranscribeOwnedDebtsSingleRowEntry(forms.Form):
    loaner_surname = forms.CharField(label="Care este numele creditorului?")
    loaner_name = forms.CharField(label="Care este prenumele creditorului?")
    institution = forms.CharField(
        label="Care este numele institutiei creditoare?",
        widget=forms.Select(choices=FinancialInstitution.return_as_iterable()))
    type_of_debt = forms.CharField(
        label="Care este tipul de datorie?",
        widget=forms.Select(choices=DebtType.return_as_iterable()))
    loan_start_year = forms.ChoiceField(
        label="Care este anul contractarii imprumutului?",
        choices=YEAR_DICT_CHOICES)
    loan_maturity = forms.ChoiceField(label="Care este data scadentei?",
                                      choices=YEAR_DICT_CHOICES)
    loan_amount = forms.FloatField(label="Care este valoarea imprumutului?")
    currency = forms.ChoiceField(
        label="Care este moneda in care s-a facut imprumutul?",
        choices=Currency.return_as_iterable())