diff --git a/gestorpsi/client/models.py b/gestorpsi/client/models.py index 2a663e7d..a185481b 100755 --- a/gestorpsi/client/models.py +++ b/gestorpsi/client/models.py @@ -55,6 +55,11 @@ (13, _('Others')), ) +COMPANY_SIZE = ( + (1, _('Payer')), + (2, _('Exempted')), + (3, _('Temporarily exempted')), +) class MaritalStatus(models.Model): description = models.CharField(max_length=20) diff --git a/gestorpsi/person/models.py b/gestorpsi/person/models.py index 436b907a..070eae46 100755 --- a/gestorpsi/person/models.py +++ b/gestorpsi/person/models.py @@ -68,6 +68,7 @@ class Person(models.Model): comments = models.TextField(blank=True) active = models.BooleanField(default=True) organization = models.ManyToManyField(Organization) + salary = models.DecimalField(max_digits=7, decimal_places=2, default=0.00) # the fields below were added in order to deal with foreign ones birthForeignCity = models.CharField(max_length=100, null=True) diff --git a/gestorpsi/templates/tags/payment_condition.html b/gestorpsi/templates/tags/payment_condition.html index ef33ad0f..451d49c3 100644 --- a/gestorpsi/templates/tags/payment_condition.html +++ b/gestorpsi/templates/tags/payment_condition.html @@ -17,14 +17,13 @@ {% load i18n %}
-