Пример #1
0
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"];
?>
"/>		
		<input type="hidden" name="writ_subtype_id" id="writ_subtype_id" value="<?php 
echo isset($_POST["wstid"]) ? $_POST["wstid"] : "";