Пример #1
0
<?php

//---------------------------
// programmer:	Sh.Jafarkhani
// Date:		90.01
//---------------------------
require_once '../../../header.inc.php';
require_once inc_dataReader;
require_once inc_manage_unit;
$drp_units = manage_units::DRP_Units("org_units", "", "", "210", "(parent_ouid='' or parent_ouid is null)");
$drp_personTypes = manage_domains::DRP_PersonType("person_type", "", "width:90");
$drp_month = manage_domains::DRP_months("tax_normalized_month");
?>
<html>
<head>
	<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
	<?php 
jsConfig::initialExt();
jsConfig::date();
?>
	<script type="text/javascript" src="/HumanResources/global/LOV/LOV.js"></script>

	<script type="text/javascript">
	Ext.onReady(function(){

		this.field = new Ext.form.TriggerField({
		    triggerCls:'x-form-search-trigger',
		    onTriggerClick : function(){
		    	this.setValue(LOV_PersonID());
		    },
		    applyTo : "from_PersonID",
Пример #2
0
<?php

//---------------------------
// programmer:	Jafarkhani
// create Date:	88.12
//---------------------------
require_once '../header.inc.php';
require_once 'unit.data.php';
ini_set("display_errors", "On");
$drp_units = manage_units::DRP_Units("org_units", "", "", "210", "");
jsConfig::initialExt();
jsConfig::tree();
jsConfig::window();
require_once 'ManageUnits.js.php';
?>
<body dir="rtl">
	<table width="750px">
		<tr>
			<td width="40%">
				<div id="tree-div" style="overflow:auto; width:250px;border:1px solid #c3daf9;"></div>
			</td>
			<td valign="top" style="padding-right: 5px">
				<!-- -------------------------------------------- -->
				<div id="DIV_NewUnit" class="x-hide-display">
					<div id="PNL_NewUnit">
					</div>
				</div>
				<!-- -------------------------------------------- -->
			</td>
		</tr>
	</table>