|
|
|
|
@ -486,7 +486,7 @@ private
|
|
|
|
|
attributes["prevten"] = field_61 |
|
|
|
|
attributes["homeless"] = homeless |
|
|
|
|
|
|
|
|
|
attributes["ppcodenk"] = field_65 |
|
|
|
|
attributes["ppcodenk"] = ppcodenk |
|
|
|
|
attributes["ppostcode_full"] = ppostcode_full |
|
|
|
|
|
|
|
|
|
attributes["reasonpref"] = field_69 |
|
|
|
|
@ -537,6 +537,15 @@ private
|
|
|
|
|
attributes |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
def ppcodenk |
|
|
|
|
case field_65 |
|
|
|
|
when 1 |
|
|
|
|
1 |
|
|
|
|
when 2 |
|
|
|
|
0 |
|
|
|
|
end |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
def earnings |
|
|
|
|
field_50.round if field_50.present? |
|
|
|
|
end |
|
|
|
|
|