$is_new_writ = false; $header_is_open = false; $is_auto_writ = true; } $is_new_writ = manage_writ::is_new_writ($exedate, $objPerson->person_type, $writ_id, $writver, $staff_id); $header_is_open = $is_new_writ ? "false" : "true"; if (manage_writ::check_for_use_in_pay_calc($writ_id, $writver, $staff_id) == null) { $salary_fields_is_open = true; } $time_limited = $FullWrt[0]['time_limited']; //$drp_MaritalStatus = manage_domains::DRP_MaritalStatus("marital_status",$objWrt->marital_status); //$drp_educ = manage_domains::DRP_EducLevel("education_level",$objWrt->education_level,"with:50%"); //$studyFielsArr = manage_domains::DRP_StudyField_StudyBranch("form_WritForm","sfid", "sbid",$objWrt->sfid, $objWrt->sbid); //$writTypeArr = manage_domains::DRP_writType_writSubType("form_WritForm", "writ_type_id", "writ_subtype_id",$objWrt->writ_type_id ,$objWrt->writ_subtype_id); $drp_salary_pay_proc = manage_domains::DRP_SalaryPayProc("salary_pay_proc", $objWrt->salary_pay_proc, "with:50%"); $drp_annual_effect = manage_domains::DRP_Annual_Effect("annual_effect", $objWrt->annual_effect, "with:50%"); $drp_costCenters = manage_domains::DRP_CostCenters("cost_center_id", $objWrt->cost_center_id); $drp_jobs = manage_domains::DRP_Jobs("job_id", $objWrt->job_id, "form_WritForm"); $workplaceArr = manage_domains::DRP_State_City("form_WritForm", "work_state_id", "work_city_id", $objWrt->work_state_id, $objWrt->work_city_id); $drp_worktime = manage_domains::DRP_WorkTimeType("worktime_type", $objWrt->worktime_type); $drp_emp_state = manage_domains::DRP_EMP_STATE_WST("emp_state", $objWrt->emp_state); $drp_emp_mode = manage_domains::DRP_EMP_MODE_WST("emp_mode", $objWrt->emp_mode); $drp_science_level = manage_domains::DRP_Science_Level("science_level", $objWrt->science_level); //............................................ if (!empty($writ_id)) { $drp_not_assigned_items = manage_writ_item::DRP_get_not_assigned_items("salary_item_type_id", $writ_id, $writver, $staff_id); } if (!$is_new_corrective) { /*unset($writ_rec); $writ_rec['writ_id'] = $_REQUEST["WID"] ; $writ_rec['writ_ver'] = $writver ;