}
data.put("polis_giver", "");//TODO кого сюда пихать? Парамаетр - "Кем выдан"
}
Address address = client.getAddress();
if (address != null) {
data.put("address_index", address.getZipCode() !=0 ? Integer.toString(address.getZipCode()) : "");
data.put("address_region", address.getRegionTitle());
data.put("address_town", address.getAreaOrCity());
data.put("address_village", address.getVillageOrCityDistrict());
data.put("address_village_type", address.getSettlementType() != null ?
address.getSettlementType().getTitle() : "");
data.put("address_street", address.getStreetTitle());
data.put("address_street_type", address.getStreet().getType() != null ?
address.getStreet().getType().getTitle() : "");
data.put("building_number", Converter.getBuildingNumber(address.getBuilding()));
data.put("building_corps", Converter.getBuildingCorpus(address.getBuilding()));
data.put("building_letter", Converter.getBuildingLetter(address.getBuilding()));
data.put("flat_number", address.getFlat() == null ? "" : address.getFlat());
if (address.isCitizen() != null) {
data.put("pacient_resident", address.isCitizen() ? CONST_1 : CONST_2);
}
}
JobLocal job = client.getLastJob();
if (job != null && job.getEnterprise() != null) {