fixed some field types, misc
This commit is contained in:
parent
7772ec679f
commit
97a74c09f9
2 changed files with 6 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
from record import *
|
||||
|
||||
VERSION = (0, 0, 6)
|
||||
VERSION = (0, 0, 7)
|
||||
|
||||
RECORD_TYPES = [
|
||||
'SubmitterRecord',
|
||||
|
@ -158,4 +158,7 @@ def test_unique_fields():
|
|||
if r1.employee_first_name.value == r2.employee_first_name.value:
|
||||
raise ValidationError("Horrible problem involving shared values across records")
|
||||
|
||||
#def state_postal_code(state_abbr):
|
||||
# import enums
|
||||
# return enums.state_postal_numeric[ state_abbr.upper() ]
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ import enums
|
|||
__all__ = RECORD_TYPES = ['SubmitterRecord', 'EmployerRecord',
|
||||
'EmployeeWageRecord', 'OptionalEmployeeWageRecord',
|
||||
'TotalRecord', 'OptionalTotalRecord',
|
||||
'StateTotalRecord', 'FinalRecord',]
|
||||
'StateTotalRecord', 'FinalRecord', 'StateWageRecord']
|
||||
|
||||
class SubmitterRecord(model.Model):
|
||||
record_identifier = 'RA'
|
||||
|
@ -252,7 +252,7 @@ class StateWageRecord(model.Model):
|
|||
date_first_employed = DateField(required=False)
|
||||
date_of_separation = DateField(required=False)
|
||||
blank2 = BlankField(max_length=5)
|
||||
state_employer_account_num = IntegerField(max_length=20)
|
||||
state_employer_account_num = TextField(max_length=20)
|
||||
blank3 = BlankField(max_length=6)
|
||||
state_code_2 = StateField(use_numeric=True)
|
||||
state_taxable_wages = MoneyField(max_length=11)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue