Beispiel #1
0
// create Date:	94.12
//---------------------------
require_once "../../../header.inc.php";
require_once "../data/writ.data.php";
require_once '../class/writ_subtype.class.php';
//--------------------------------------------------------------------
if (!empty($_POST["SIT"])) {
    $obj = new manage_salary_item_type($_POST["SIT"]);
} else {
    $obj = new manage_salary_item_type();
}
$wstid = !empty($_POST["wstid"]) ? $_POST["wstid"] : "";
$pt = !empty($_POST["pt"]) ? $_POST["pt"] : "";
$wtid = !empty($_POST["wtid"]) ? $_POST["wtid"] : "";
$obj = new manage_writ_subType($pt, $wtid, $wstid);
$drp_EMP_STATE = manage_domains::DRP_EMP_STATE_WST("emp_state", $obj->emp_state, "", "200px");
$drp_EMP_MODE = manage_domains::DRP_EMP_MODE_WST("emp_mode", $obj->emp_mode, "", "200px");
$drp_WTT = manage_domains::DRP_WTT("worktime_type", $obj->worktime_type, "", "200px");
$drp_WRT_TYP = manage_domains::WRT_TYP("writ_type_id", $obj->writ_type_id, "", "200px");
$drp_pay_proc_wst = manage_domains::DRP_PAY_PROC_WST("salary_pay_proc", $obj->salary_pay_proc, "", "200px");
$drp_post_effect_wst = manage_domains::DRP_POST_EFF_WST("post_effect", $obj->post_effect, "", "200px");
$drp_annual_effect_wst = manage_domains::DRP_ANN_EFF_WST("annual_effect", $obj->annual_effect, "", "200px");
?>

	
        <input type="hidden" name="person_type" id="person_type" value="<?php 
echo $_POST["pt"];
?>
"/>
		<input type="hidden" name="writ_type_id" id="writ_type_id" value="<?php 
echo $_POST["wtid"];
Beispiel #2
0
$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 ;
    	$writ_rec['staff_id']            = $objWrt->staff_id ;
    	$writ_rec['execute_date']        = $exedate ;
    	$writ_rec['corrective_writ_id']  = $objWrt->corrective_writ_id ;
    	$writ_rec['corrective_writ_ver'] = $objWrt->corrective_writ_ver ;*/
    $prior_writ_object = $objWrt->get_prior_writ();