Exemplo n.º 1
0
<?php

//---------------------------
// programmer:	Jafarkhani
// create Date:	88.12
//---------------------------
require_once '../header.inc.php';
require_once 'unit.class.php';
require_once 'unit.data.php';
$ouid = !empty($_GET["ouid"]) ? $_GET["ouid"] : "";
$obj = new manage_units($ouid);
$drp_org_unit_types = manage_units::DRP_org_unit_type("org_unit_type", $obj->org_unit_type, "", "200px");
$drp_unitTypes = manage_units::DRP_unitType("UnitType", $obj->UnitType, "", "200px");
$drp_LevelTypes = manage_units::DRP_LevelType("LevelType", $obj->LevelType, "", "200px");
DRP_State_City($state_id, $city_id, "state_id", "ctid", $obj->state_id, $obj->ctid);
$drp_costCenters = manage_domains::DRP_CostCenters("ccid", $obj->ccid);
?>
<form id="form_newUnit">
<input type="hidden" name="ouid" id="ouid" value="<?php 
echo isset($_GET["ouid"]) ? $_GET["ouid"] : "";
?>
"/>
<input type="hidden" name="parent_ouid" id="parent_ouid" value="<?php 
echo $_GET["parent_ouid"];
?>
"/>
<table width="100%">
	<tr>
		<td width="35%">واحد سازماني رده بالاتر :</td>
		<td height="21px"><b><?php 
echo $_GET["parentText"];
Exemplo n.º 2
0
    $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 ;
    	$writ_rec['staff_id']            = $objWrt->staff_id ;