jobDates.add(Converter.dateToString(date, "dd.MM.yy"));
}
extraFields.put("job_dates", jobDates);
extraFields.put("job_enterprises", jobEnterprises);
JobLocal jobLocal = getLastJob();
if (jobLocal != null) {
DirectoryEnterpriseItem enter = jobLocal.getEnterprise();
DirectoryProfessionItem prof = jobLocal.getProfession();
DirectoryAppointmentItem app = jobLocal.getAppointment();
extraFields.put("job_enterprise", enter != null && enter.getID() != 0 ? enter.getTitle() : "");
extraFields.put("job_profession", prof != null && prof.getID() != 0 ? prof.getTitle() : "");
extraFields.put("job_appointment", app != null && app.getID() != 0 ? app.getTitle() : "");
//todo поле иждивенец откуда брать?
}