//--------------------------- // programmer: Mahdipour // create Date: 94.12 //--------------------------- require_once "../../header.inc.php"; require_once "../data/salary_item_type.data.php"; //-------------------------------------------------------------------- if (!empty($_POST["SIT"])) { $obj = new manage_salary_item_type($_POST["SIT"]); } else { $obj = new manage_salary_item_type(); } //$drp_personTyp = manage_domains::DRP_PersonType("person_type",$obj->person_type,""); $drp_EffTyp = manage_domains::DRP_EffectType("effect_type", $obj->effect_type, ""); $drp_CreditTopic = manage_domains::DRP_Credit_topic("credit_topic", $obj->credit_topic, ""); $drp_SitAvailable = manage_domains::DRP_SalaryItemAvailableFor("available_for", $obj->available_for, ""); ?> <script language="JavaScript"> SalaryItemType.prototype.afterNewItemLoad = function() { this.SystemTitle = "1"; this.salary_item_type_id = '<?php echo !empty($_POST["SIT"]) ? $_POST["SIT"] : ""; ?> '; this.Mode = this.salary_item_type_id == "" ? "new" : "edit"; this.validity_start_date = new Ext.form.SHDateField({ applyTo: this.get('validity_start_date'),