}
 // create control
 $ctrlBlockArr = $searchControlBuilder->buildSearchCtrlBlockArr($id, $firstFieldParams['fName'], 0, $firstFieldParams['opt'], $firstFieldParams['not'], false, $firstFieldParams['value1'], $firstFieldParams['value2']);
 if (isEnableSection508()) {
     $xt->assign_section("id_label", "<label for=\"" . GetInputElementId("id", $id, PAGE_SEARCH) . "\">", "</label>");
 } else {
     $xt->assign("id_label", true);
 }
 $xt->assign("id_fieldblock", true);
 $xt->assignbyref("id_editcontrol", $ctrlBlockArr['searchcontrol']);
 $xt->assign("id_notbox", $ctrlBlockArr['notbox']);
 // create second control, if need it
 $xt->assignbyref("id_editcontrol1", $ctrlBlockArr['searchcontrol1']);
 // create search type select
 $xt->assign("searchtype_id", $ctrlBlockArr['searchtype']);
 $isFieldNeedSecCtrl = $searchControlBuilder->isNeedSecondCtrl("id");
 $ctrlInd = 0;
 if ($isFieldNeedSecCtrl) {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd, 1 => $ctrlInd + 1));
     $ctrlInd += 2;
 } else {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd));
     $ctrlInd++;
 }
 // search fields data
 if ($pageObject->pSet->getLookupTable("konterid")) {
     $pageObject->settingsMap["globalSettings"]['shortTNames'][$pageObject->pSet->getLookupTable("konterid")] = GetTableURL($pageObject->pSet->getLookupTable("konterid"));
 }
 $pageObject->fillFieldToolTips("konterid");
 $srchFields = $pageObject->searchClauseObj->getSearchCtrlParams("konterid");
 $firstFieldParams = array();
 }
 // create control
 $ctrlBlockArr = $searchControlBuilder->buildSearchCtrlBlockArr($id, $firstFieldParams['fName'], 0, $firstFieldParams['opt'], $firstFieldParams['not'], false, $firstFieldParams['value1'], $firstFieldParams['value2']);
 if (isEnableSection508()) {
     $xt->assign_section("id_label", "<label for=\"" . GetInputElementId("id", $id, PAGE_SEARCH) . "\">", "</label>");
 } else {
     $xt->assign("id_label", true);
 }
 $xt->assign("id_fieldblock", true);
 $xt->assignbyref("id_editcontrol", $ctrlBlockArr['searchcontrol']);
 $xt->assign("id_notbox", $ctrlBlockArr['notbox']);
 // create second control, if need it
 $xt->assignbyref("id_editcontrol1", $ctrlBlockArr['searchcontrol1']);
 // create search type select
 $xt->assign("searchtype_id", $ctrlBlockArr['searchtype']);
 $isFieldNeedSecCtrl = $searchControlBuilder->isNeedSecondCtrl("id");
 $ctrlInd = 0;
 if ($isFieldNeedSecCtrl) {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd, 1 => $ctrlInd + 1));
     $ctrlInd += 2;
 } else {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd));
     $ctrlInd++;
 }
 // search fields data
 if ($pageObject->pSet->getLookupTable("spt_id")) {
     $pageObject->settingsMap["globalSettings"]['shortTNames'][$pageObject->pSet->getLookupTable("spt_id")] = GetTableURL($pageObject->pSet->getLookupTable("spt_id"));
 }
 $pageObject->fillFieldToolTips("spt_id");
 $srchFields = $pageObject->searchClauseObj->getSearchCtrlParams("spt_id");
 $firstFieldParams = array();
Пример #3
0
 }
 // create control
 $ctrlBlockArr = $searchControlBuilder->buildSearchCtrlBlockArr($id, $firstFieldParams['fName'], 0, $firstFieldParams['opt'], $firstFieldParams['not'], false, $firstFieldParams['value1'], $firstFieldParams['value2']);
 if (isEnableSection508()) {
     $xt->assign_section("id_label", "<label for=\"" . GetInputElementId("id", $id, PAGE_SEARCH) . "\">", "</label>");
 } else {
     $xt->assign("id_label", true);
 }
 $xt->assign("id_fieldblock", true);
 $xt->assignbyref("id_editcontrol", $ctrlBlockArr['searchcontrol']);
 $xt->assign("id_notbox", $ctrlBlockArr['notbox']);
 // create second control, if need it
 $xt->assignbyref("id_editcontrol1", $ctrlBlockArr['searchcontrol1']);
 // create search type select
 $xt->assign("searchtype_id", $ctrlBlockArr['searchtype']);
 $isFieldNeedSecCtrl = $searchControlBuilder->isNeedSecondCtrl("id");
 $ctrlInd = 0;
 if ($isFieldNeedSecCtrl) {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd, 1 => $ctrlInd + 1));
     $ctrlInd += 2;
 } else {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd));
     $ctrlInd++;
 }
 // search fields data
 if ($pageObject->pSet->getLookupTable("nama")) {
     $pageObject->settingsMap["globalSettings"]['shortTNames'][$pageObject->pSet->getLookupTable("nama")] = GetTableURL($pageObject->pSet->getLookupTable("nama"));
 }
 $pageObject->fillFieldToolTips("nama");
 $srchFields = $pageObject->searchClauseObj->getSearchCtrlParams("nama");
 $firstFieldParams = array();
Пример #4
0
 }
 // create control
 $ctrlBlockArr = $searchControlBuilder->buildSearchCtrlBlockArr($id, $firstFieldParams['fName'], 0, $firstFieldParams['opt'], $firstFieldParams['not'], false, $firstFieldParams['value1'], $firstFieldParams['value2']);
 if (isEnableSection508()) {
     $xt->assign_section("id_label", "<label for=\"" . GetInputElementId("id", $id, PAGE_SEARCH) . "\">", "</label>");
 } else {
     $xt->assign("id_label", true);
 }
 $xt->assign("id_fieldblock", true);
 $xt->assignbyref("id_editcontrol", $ctrlBlockArr['searchcontrol']);
 $xt->assign("id_notbox", $ctrlBlockArr['notbox']);
 // create second control, if need it
 $xt->assignbyref("id_editcontrol1", $ctrlBlockArr['searchcontrol1']);
 // create search type select
 $xt->assign("searchtype_id", $ctrlBlockArr['searchtype']);
 $isFieldNeedSecCtrl = $searchControlBuilder->isNeedSecondCtrl("id");
 $ctrlInd = 0;
 if ($isFieldNeedSecCtrl) {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd, 1 => $ctrlInd + 1));
     $ctrlInd += 2;
 } else {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd));
     $ctrlInd++;
 }
 // search fields data
 if ($pageObject->pSet->getLookupTable("sspd_id")) {
     $pageObject->settingsMap["globalSettings"]['shortTNames'][$pageObject->pSet->getLookupTable("sspd_id")] = GetTableURL($pageObject->pSet->getLookupTable("sspd_id"));
 }
 $pageObject->fillFieldToolTips("sspd_id");
 $srchFields = $pageObject->searchClauseObj->getSearchCtrlParams("sspd_id");
 $firstFieldParams = array();
Пример #5
0
 }
 // create control
 $ctrlBlockArr = $searchControlBuilder->buildSearchCtrlBlockArr($id, $firstFieldParams['fName'], 0, $firstFieldParams['opt'], $firstFieldParams['not'], false, $firstFieldParams['value1'], $firstFieldParams['value2']);
 if (isEnableSection508()) {
     $xt->assign_section("id_label", "<label for=\"" . GetInputElementId("id", $id, PAGE_SEARCH) . "\">", "</label>");
 } else {
     $xt->assign("id_label", true);
 }
 $xt->assign("id_fieldblock", true);
 $xt->assignbyref("id_editcontrol", $ctrlBlockArr['searchcontrol']);
 $xt->assign("id_notbox", $ctrlBlockArr['notbox']);
 // create second control, if need it
 $xt->assignbyref("id_editcontrol1", $ctrlBlockArr['searchcontrol1']);
 // create search type select
 $xt->assign("searchtype_id", $ctrlBlockArr['searchtype']);
 $isFieldNeedSecCtrl = $searchControlBuilder->isNeedSecondCtrl("id");
 $ctrlInd = 0;
 if ($isFieldNeedSecCtrl) {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd, 1 => $ctrlInd + 1));
     $ctrlInd += 2;
 } else {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd));
     $ctrlInd++;
 }
 // search fields data
 if ($pageObject->pSet->getLookupTable("tahun")) {
     $pageObject->settingsMap["globalSettings"]['shortTNames'][$pageObject->pSet->getLookupTable("tahun")] = GetTableURL($pageObject->pSet->getLookupTable("tahun"));
 }
 $pageObject->fillFieldToolTips("tahun");
 $srchFields = $pageObject->searchClauseObj->getSearchCtrlParams("tahun");
 $firstFieldParams = array();
Пример #6
0
 }
 // create control
 $ctrlBlockArr = $searchControlBuilder->buildSearchCtrlBlockArr($id, $firstFieldParams['fName'], 0, $firstFieldParams['opt'], $firstFieldParams['not'], false, $firstFieldParams['value1'], $firstFieldParams['value2']);
 if (isEnableSection508()) {
     $xt->assign_section("id_label", "<label for=\"" . GetInputElementId("id", $id, PAGE_SEARCH) . "\">", "</label>");
 } else {
     $xt->assign("id_label", true);
 }
 $xt->assign("id_fieldblock", true);
 $xt->assignbyref("id_editcontrol", $ctrlBlockArr['searchcontrol']);
 $xt->assign("id_notbox", $ctrlBlockArr['notbox']);
 // create second control, if need it
 $xt->assignbyref("id_editcontrol1", $ctrlBlockArr['searchcontrol1']);
 // create search type select
 $xt->assign("searchtype_id", $ctrlBlockArr['searchtype']);
 $isFieldNeedSecCtrl = $searchControlBuilder->isNeedSecondCtrl("id");
 $ctrlInd = 0;
 if ($isFieldNeedSecCtrl) {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd, 1 => $ctrlInd + 1));
     $ctrlInd += 2;
 } else {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd));
     $ctrlInd++;
 }
 // search fields data
 if ($pageObject->pSet->getLookupTable("tahun")) {
     $pageObject->settingsMap["globalSettings"]['shortTNames'][$pageObject->pSet->getLookupTable("tahun")] = GetTableURL($pageObject->pSet->getLookupTable("tahun"));
 }
 $pageObject->fillFieldToolTips("tahun");
 $srchFields = $pageObject->searchClauseObj->getSearchCtrlParams("tahun");
 $firstFieldParams = array();
 }
 // create control
 $ctrlBlockArr = $searchControlBuilder->buildSearchCtrlBlockArr($id, $firstFieldParams['fName'], 0, $firstFieldParams['opt'], $firstFieldParams['not'], false, $firstFieldParams['value1'], $firstFieldParams['value2']);
 if (isEnableSection508()) {
     $xt->assign_section("ID_label", "<label for=\"" . GetInputElementId("ID", $id) . "\">", "</label>");
 } else {
     $xt->assign("ID_label", true);
 }
 $xt->assign("ID_fieldblock", true);
 $xt->assignbyref("ID_editcontrol", $ctrlBlockArr['searchcontrol']);
 $xt->assign("ID_notbox", $ctrlBlockArr['notbox']);
 // create second control, if need it
 $xt->assignbyref("ID_editcontrol1", $ctrlBlockArr['searchcontrol1']);
 // create search type select
 $xt->assign("searchtype_ID", $ctrlBlockArr['searchtype']);
 $isFieldNeedSecCtrl = $searchControlBuilder->isNeedSecondCtrl("ID");
 $ctrlInd = 0;
 if ($isFieldNeedSecCtrl) {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "ID", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd, 1 => $ctrlInd + 1));
     $ctrlInd += 2;
 } else {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "ID", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd));
     $ctrlInd++;
 }
 // search fields data
 if (GetLookupTable("Module ID", $strTableName)) {
     $pageObject->settingsMap["globalSettings"]['shortTNames'][GetLookupTable("Module ID", $strTableName)] = GetTableURL(GetLookupTable("Module ID", $strTableName));
 }
 $pageObject->fillFieldToolTips("Module ID");
 $srchFields = $pageObject->searchClauseObj->getSearchCtrlParams("Module ID");
 $firstFieldParams = array();
Пример #8
0
 }
 // create control
 $ctrlBlockArr = $searchControlBuilder->buildSearchCtrlBlockArr($id, $firstFieldParams['fName'], 0, $firstFieldParams['opt'], $firstFieldParams['not'], false, $firstFieldParams['value1'], $firstFieldParams['value2']);
 if (isEnableSection508()) {
     $xt->assign_section("id_label", "<label for=\"" . GetInputElementId("id", $id, PAGE_SEARCH) . "\">", "</label>");
 } else {
     $xt->assign("id_label", true);
 }
 $xt->assign("id_fieldblock", true);
 $xt->assignbyref("id_editcontrol", $ctrlBlockArr['searchcontrol']);
 $xt->assign("id_notbox", $ctrlBlockArr['notbox']);
 // create second control, if need it
 $xt->assignbyref("id_editcontrol1", $ctrlBlockArr['searchcontrol1']);
 // create search type select
 $xt->assign("searchtype_id", $ctrlBlockArr['searchtype']);
 $isFieldNeedSecCtrl = $searchControlBuilder->isNeedSecondCtrl("id");
 $ctrlInd = 0;
 if ($isFieldNeedSecCtrl) {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd, 1 => $ctrlInd + 1));
     $ctrlInd += 2;
 } else {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd));
     $ctrlInd++;
 }
 // search fields data
 if ($pageObject->pSet->getLookupTable("kecamatan_id")) {
     $pageObject->settingsMap["globalSettings"]['shortTNames'][$pageObject->pSet->getLookupTable("kecamatan_id")] = GetTableURL($pageObject->pSet->getLookupTable("kecamatan_id"));
 }
 $pageObject->fillFieldToolTips("kecamatan_id");
 $srchFields = $pageObject->searchClauseObj->getSearchCtrlParams("kecamatan_id");
 $firstFieldParams = array();
 }
 // create control
 $ctrlBlockArr = $searchControlBuilder->buildSearchCtrlBlockArr($id, $firstFieldParams['fName'], 0, $firstFieldParams['opt'], $firstFieldParams['not'], false, $firstFieldParams['value1'], $firstFieldParams['value2']);
 if (isEnableSection508()) {
     $xt->assign_section("id_label", "<label for=\"" . GetInputElementId("id", $id, PAGE_SEARCH) . "\">", "</label>");
 } else {
     $xt->assign("id_label", true);
 }
 $xt->assign("id_fieldblock", true);
 $xt->assignbyref("id_editcontrol", $ctrlBlockArr['searchcontrol']);
 $xt->assign("id_notbox", $ctrlBlockArr['notbox']);
 // create second control, if need it
 $xt->assignbyref("id_editcontrol1", $ctrlBlockArr['searchcontrol1']);
 // create search type select
 $xt->assign("searchtype_id", $ctrlBlockArr['searchtype']);
 $isFieldNeedSecCtrl = $searchControlBuilder->isNeedSecondCtrl("id");
 $ctrlInd = 0;
 if ($isFieldNeedSecCtrl) {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd, 1 => $ctrlInd + 1));
     $ctrlInd += 2;
 } else {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd));
     $ctrlInd++;
 }
 // search fields data
 if ($pageObject->pSet->getLookupTable("tgl")) {
     $pageObject->settingsMap["globalSettings"]['shortTNames'][$pageObject->pSet->getLookupTable("tgl")] = GetTableURL($pageObject->pSet->getLookupTable("tgl"));
 }
 $pageObject->fillFieldToolTips("tgl");
 $srchFields = $pageObject->searchClauseObj->getSearchCtrlParams("tgl");
 $firstFieldParams = array();
Пример #10
0
 }
 // create control
 $ctrlBlockArr = $searchControlBuilder->buildSearchCtrlBlockArr($id, $firstFieldParams['fName'], 0, $firstFieldParams['opt'], $firstFieldParams['not'], false, $firstFieldParams['value1'], $firstFieldParams['value2']);
 if (isEnableSection508()) {
     $xt->assign_section("id_label", "<label for=\"" . GetInputElementId("id", $id, PAGE_SEARCH) . "\">", "</label>");
 } else {
     $xt->assign("id_label", true);
 }
 $xt->assign("id_fieldblock", true);
 $xt->assignbyref("id_editcontrol", $ctrlBlockArr['searchcontrol']);
 $xt->assign("id_notbox", $ctrlBlockArr['notbox']);
 // create second control, if need it
 $xt->assignbyref("id_editcontrol1", $ctrlBlockArr['searchcontrol1']);
 // create search type select
 $xt->assign("searchtype_id", $ctrlBlockArr['searchtype']);
 $isFieldNeedSecCtrl = $searchControlBuilder->isNeedSecondCtrl("id");
 $ctrlInd = 0;
 if ($isFieldNeedSecCtrl) {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd, 1 => $ctrlInd + 1));
     $ctrlInd += 2;
 } else {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd));
     $ctrlInd++;
 }
 // search fields data
 if ($pageObject->pSet->getLookupTable("rekening_id")) {
     $pageObject->settingsMap["globalSettings"]['shortTNames'][$pageObject->pSet->getLookupTable("rekening_id")] = GetTableURL($pageObject->pSet->getLookupTable("rekening_id"));
 }
 $pageObject->fillFieldToolTips("rekening_id");
 $srchFields = $pageObject->searchClauseObj->getSearchCtrlParams("rekening_id");
 $firstFieldParams = array();
Пример #11
0
 }
 // create control
 $ctrlBlockArr = $searchControlBuilder->buildSearchCtrlBlockArr($id, $firstFieldParams['fName'], 0, $firstFieldParams['opt'], $firstFieldParams['not'], false, $firstFieldParams['value1'], $firstFieldParams['value2']);
 if (isEnableSection508()) {
     $xt->assign_section("id_label", "<label for=\"" . GetInputElementId("id", $id, PAGE_SEARCH) . "\">", "</label>");
 } else {
     $xt->assign("id_label", true);
 }
 $xt->assign("id_fieldblock", true);
 $xt->assignbyref("id_editcontrol", $ctrlBlockArr['searchcontrol']);
 $xt->assign("id_notbox", $ctrlBlockArr['notbox']);
 // create second control, if need it
 $xt->assignbyref("id_editcontrol1", $ctrlBlockArr['searchcontrol1']);
 // create search type select
 $xt->assign("searchtype_id", $ctrlBlockArr['searchtype']);
 $isFieldNeedSecCtrl = $searchControlBuilder->isNeedSecondCtrl("id");
 $ctrlInd = 0;
 if ($isFieldNeedSecCtrl) {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd, 1 => $ctrlInd + 1));
     $ctrlInd += 2;
 } else {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd));
     $ctrlInd++;
 }
 // search fields data
 if ($pageObject->pSet->getLookupTable("spt_id")) {
     $pageObject->settingsMap["globalSettings"]['shortTNames'][$pageObject->pSet->getLookupTable("spt_id")] = GetTableURL($pageObject->pSet->getLookupTable("spt_id"));
 }
 $pageObject->fillFieldToolTips("spt_id");
 $srchFields = $pageObject->searchClauseObj->getSearchCtrlParams("spt_id");
 $firstFieldParams = array();
	// create control	
	$ctrlBlockArr = $searchControlBuilder->buildSearchCtrlBlockArr($id, $firstFieldParams['fName'], 0, $firstFieldParams['opt'], $firstFieldParams['not'], false, $firstFieldParams['value1'], $firstFieldParams['value2']);	
		
	if(isEnableSection508())
		$xt->assign_section("id_label","<label for=\"".GetInputElementId("id", $id, PAGE_SEARCH)."\">","</label>");
	else 
		$xt->assign("id_label", true);
	
	$xt->assign("id_fieldblock", true);
	$xt->assignbyref("id_editcontrol", $ctrlBlockArr['searchcontrol']);
	$xt->assign("id_notbox", $ctrlBlockArr['notbox']);
	// create second control, if need it
	$xt->assignbyref("id_editcontrol1", $ctrlBlockArr['searchcontrol1']);
	// create search type select
	$xt->assign("searchtype_id", $ctrlBlockArr['searchtype']);
	$isFieldNeedSecCtrl = $searchControlBuilder->isNeedSecondCtrl("id");
	$ctrlInd = 0;
	if ($isFieldNeedSecCtrl)
	{
		$pageObject->controlsMap["search"]["searchBlocks"][] = array('fName'=>"id", 'recId'=>$id, 'ctrlsMap'=>array(0=>$ctrlInd, 1=>($ctrlInd+1)));
		$ctrlInd+=2;
	}
	else
	{
		$pageObject->controlsMap["search"]["searchBlocks"][] = array('fName'=>"id", 'recId'=>$id, 'ctrlsMap'=>array(0=>$ctrlInd));			
		$ctrlInd++;
	}
	// search fields data
	
	if($pageObject->pSet->getLookupTable("username"))
		$pageObject->settingsMap["globalSettings"]['shortTNames'][$pageObject->pSet->getLookupTable("username")] = GetTableURL($pageObject->pSet->getLookupTable("username"));
Пример #13
0
 }
 // create control
 $ctrlBlockArr = $searchControlBuilder->buildSearchCtrlBlockArr($id, $firstFieldParams['fName'], 0, $firstFieldParams['opt'], $firstFieldParams['not'], false, $firstFieldParams['value1'], $firstFieldParams['value2']);
 if (isEnableSection508()) {
     $xt->assign_section("id_label", "<label for=\"" . GetInputElementId("id", $id, PAGE_SEARCH) . "\">", "</label>");
 } else {
     $xt->assign("id_label", true);
 }
 $xt->assign("id_fieldblock", true);
 $xt->assignbyref("id_editcontrol", $ctrlBlockArr['searchcontrol']);
 $xt->assign("id_notbox", $ctrlBlockArr['notbox']);
 // create second control, if need it
 $xt->assignbyref("id_editcontrol1", $ctrlBlockArr['searchcontrol1']);
 // create search type select
 $xt->assign("searchtype_id", $ctrlBlockArr['searchtype']);
 $isFieldNeedSecCtrl = $searchControlBuilder->isNeedSecondCtrl("id");
 $ctrlInd = 0;
 if ($isFieldNeedSecCtrl) {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd, 1 => $ctrlInd + 1));
     $ctrlInd += 2;
 } else {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd));
     $ctrlInd++;
 }
 // search fields data
 if ($pageObject->pSet->getLookupTable("parent")) {
     $pageObject->settingsMap["globalSettings"]['shortTNames'][$pageObject->pSet->getLookupTable("parent")] = GetTableURL($pageObject->pSet->getLookupTable("parent"));
 }
 $pageObject->fillFieldToolTips("parent");
 $srchFields = $pageObject->searchClauseObj->getSearchCtrlParams("parent");
 $firstFieldParams = array();
 }
 // create control
 $ctrlBlockArr = $searchControlBuilder->buildSearchCtrlBlockArr($id, $firstFieldParams['fName'], 0, $firstFieldParams['opt'], $firstFieldParams['not'], false, $firstFieldParams['value1'], $firstFieldParams['value2']);
 if (isEnableSection508()) {
     $xt->assign_section("ID_label", "<label for=\"" . GetInputElementId("ID", $id) . "\">", "</label>");
 } else {
     $xt->assign("ID_label", true);
 }
 $xt->assign("ID_fieldblock", true);
 $xt->assignbyref("ID_editcontrol", $ctrlBlockArr['searchcontrol']);
 $xt->assign("ID_notbox", $ctrlBlockArr['notbox']);
 // create second control, if need it
 $xt->assignbyref("ID_editcontrol1", $ctrlBlockArr['searchcontrol1']);
 // create search type select
 $xt->assign("searchtype_ID", $ctrlBlockArr['searchtype']);
 $isFieldNeedSecCtrl = $searchControlBuilder->isNeedSecondCtrl("ID");
 $ctrlInd = 0;
 if ($isFieldNeedSecCtrl) {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "ID", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd, 1 => $ctrlInd + 1));
     $ctrlInd += 2;
 } else {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "ID", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd));
     $ctrlInd++;
 }
 // search fields data
 if (GetLookupTable("Customer ID", $strTableName)) {
     $pageObject->settingsMap["globalSettings"]['shortTNames'][GetLookupTable("Customer ID", $strTableName)] = GetTableURL(GetLookupTable("Customer ID", $strTableName));
 }
 $pageObject->fillFieldToolTips("Customer ID");
 $srchFields = $pageObject->searchClauseObj->getSearchCtrlParams("Customer ID");
 $firstFieldParams = array();
Пример #15
0
 }
 // create control
 $ctrlBlockArr = $searchControlBuilder->buildSearchCtrlBlockArr($id, $firstFieldParams['fName'], 0, $firstFieldParams['opt'], $firstFieldParams['not'], false, $firstFieldParams['value1'], $firstFieldParams['value2']);
 if (isEnableSection508()) {
     $xt->assign_section("id_label", "<label for=\"" . GetInputElementId("id", $id, PAGE_SEARCH) . "\">", "</label>");
 } else {
     $xt->assign("id_label", true);
 }
 $xt->assign("id_fieldblock", true);
 $xt->assignbyref("id_editcontrol", $ctrlBlockArr['searchcontrol']);
 $xt->assign("id_notbox", $ctrlBlockArr['notbox']);
 // create second control, if need it
 $xt->assignbyref("id_editcontrol1", $ctrlBlockArr['searchcontrol1']);
 // create search type select
 $xt->assign("searchtype_id", $ctrlBlockArr['searchtype']);
 $isFieldNeedSecCtrl = $searchControlBuilder->isNeedSecondCtrl("id");
 $ctrlInd = 0;
 if ($isFieldNeedSecCtrl) {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd, 1 => $ctrlInd + 1));
     $ctrlInd += 2;
 } else {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd));
     $ctrlInd++;
 }
 // search fields data
 if ($pageObject->pSet->getLookupTable("tahun")) {
     $pageObject->settingsMap["globalSettings"]['shortTNames'][$pageObject->pSet->getLookupTable("tahun")] = GetTableURL($pageObject->pSet->getLookupTable("tahun"));
 }
 $pageObject->fillFieldToolTips("tahun");
 $srchFields = $pageObject->searchClauseObj->getSearchCtrlParams("tahun");
 $firstFieldParams = array();
 }
 // create control
 $ctrlBlockArr = $searchControlBuilder->buildSearchCtrlBlockArr($id, $firstFieldParams['fName'], 0, $firstFieldParams['opt'], $firstFieldParams['not'], false, $firstFieldParams['value1'], $firstFieldParams['value2']);
 if (isEnableSection508()) {
     $xt->assign_section("ID_label", "<label for=\"" . GetInputElementId("ID", $id) . "\">", "</label>");
 } else {
     $xt->assign("ID_label", true);
 }
 $xt->assign("ID_fieldblock", true);
 $xt->assignbyref("ID_editcontrol", $ctrlBlockArr['searchcontrol']);
 $xt->assign("ID_notbox", $ctrlBlockArr['notbox']);
 // create second control, if need it
 $xt->assignbyref("ID_editcontrol1", $ctrlBlockArr['searchcontrol1']);
 // create search type select
 $xt->assign("searchtype_ID", $ctrlBlockArr['searchtype']);
 $isFieldNeedSecCtrl = $searchControlBuilder->isNeedSecondCtrl("ID");
 $ctrlInd = 0;
 if ($isFieldNeedSecCtrl) {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "ID", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd, 1 => $ctrlInd + 1));
     $ctrlInd += 2;
 } else {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "ID", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd));
     $ctrlInd++;
 }
 // search fields data
 if (GetLookupTable("Module Type", $strTableName)) {
     $pageObject->settingsMap["globalSettings"]['shortTNames'][GetLookupTable("Module Type", $strTableName)] = GetTableURL(GetLookupTable("Module Type", $strTableName));
 }
 $pageObject->fillFieldToolTips("Module Type");
 $srchFields = $pageObject->searchClauseObj->getSearchCtrlParams("Module Type");
 $firstFieldParams = array();
 }
 // create control
 $ctrlBlockArr = $searchControlBuilder->buildSearchCtrlBlockArr($id, $firstFieldParams['fName'], 0, $firstFieldParams['opt'], $firstFieldParams['not'], false, $firstFieldParams['value1'], $firstFieldParams['value2']);
 if (isEnableSection508()) {
     $xt->assign_section("id_label", "<label for=\"" . GetInputElementId("id", $id, PAGE_SEARCH) . "\">", "</label>");
 } else {
     $xt->assign("id_label", true);
 }
 $xt->assign("id_fieldblock", true);
 $xt->assignbyref("id_editcontrol", $ctrlBlockArr['searchcontrol']);
 $xt->assign("id_notbox", $ctrlBlockArr['notbox']);
 // create second control, if need it
 $xt->assignbyref("id_editcontrol1", $ctrlBlockArr['searchcontrol1']);
 // create search type select
 $xt->assign("searchtype_id", $ctrlBlockArr['searchtype']);
 $isFieldNeedSecCtrl = $searchControlBuilder->isNeedSecondCtrl("id");
 $ctrlInd = 0;
 if ($isFieldNeedSecCtrl) {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd, 1 => $ctrlInd + 1));
     $ctrlInd += 2;
 } else {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd));
     $ctrlInd++;
 }
 // search fields data
 if ($pageObject->pSet->getLookupTable("tahun")) {
     $pageObject->settingsMap["globalSettings"]['shortTNames'][$pageObject->pSet->getLookupTable("tahun")] = GetTableURL($pageObject->pSet->getLookupTable("tahun"));
 }
 $pageObject->fillFieldToolTips("tahun");
 $srchFields = $pageObject->searchClauseObj->getSearchCtrlParams("tahun");
 $firstFieldParams = array();
 }
 // create control
 $ctrlBlockArr = $searchControlBuilder->buildSearchCtrlBlockArr($id, $firstFieldParams['fName'], 0, $firstFieldParams['opt'], $firstFieldParams['not'], false, $firstFieldParams['value1'], $firstFieldParams['value2']);
 if (isEnableSection508()) {
     $xt->assign_section("id_label", "<label for=\"" . GetInputElementId("id", $id, PAGE_SEARCH) . "\">", "</label>");
 } else {
     $xt->assign("id_label", true);
 }
 $xt->assign("id_fieldblock", true);
 $xt->assignbyref("id_editcontrol", $ctrlBlockArr['searchcontrol']);
 $xt->assign("id_notbox", $ctrlBlockArr['notbox']);
 // create second control, if need it
 $xt->assignbyref("id_editcontrol1", $ctrlBlockArr['searchcontrol1']);
 // create search type select
 $xt->assign("searchtype_id", $ctrlBlockArr['searchtype']);
 $isFieldNeedSecCtrl = $searchControlBuilder->isNeedSecondCtrl("id");
 $ctrlInd = 0;
 if ($isFieldNeedSecCtrl) {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd, 1 => $ctrlInd + 1));
     $ctrlInd += 2;
 } else {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd));
     $ctrlInd++;
 }
 // search fields data
 if ($pageObject->pSet->getLookupTable("daftar_id")) {
     $pageObject->settingsMap["globalSettings"]['shortTNames'][$pageObject->pSet->getLookupTable("daftar_id")] = GetTableURL($pageObject->pSet->getLookupTable("daftar_id"));
 }
 $pageObject->fillFieldToolTips("daftar_id");
 $srchFields = $pageObject->searchClauseObj->getSearchCtrlParams("daftar_id");
 $firstFieldParams = array();
 }
 // create control
 $ctrlBlockArr = $searchControlBuilder->buildSearchCtrlBlockArr($id, $firstFieldParams['fName'], 0, $firstFieldParams['opt'], $firstFieldParams['not'], false, $firstFieldParams['value1'], $firstFieldParams['value2']);
 if (isEnableSection508()) {
     $xt->assign_section("id_label", "<label for=\"" . GetInputElementId("id", $id, PAGE_SEARCH) . "\">", "</label>");
 } else {
     $xt->assign("id_label", true);
 }
 $xt->assign("id_fieldblock", true);
 $xt->assignbyref("id_editcontrol", $ctrlBlockArr['searchcontrol']);
 $xt->assign("id_notbox", $ctrlBlockArr['notbox']);
 // create second control, if need it
 $xt->assignbyref("id_editcontrol1", $ctrlBlockArr['searchcontrol1']);
 // create search type select
 $xt->assign("searchtype_id", $ctrlBlockArr['searchtype']);
 $isFieldNeedSecCtrl = $searchControlBuilder->isNeedSecondCtrl("id");
 $ctrlInd = 0;
 if ($isFieldNeedSecCtrl) {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd, 1 => $ctrlInd + 1));
     $ctrlInd += 2;
 } else {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd));
     $ctrlInd++;
 }
 // search fields data
 if ($pageObject->pSet->getLookupTable("terima_id")) {
     $pageObject->settingsMap["globalSettings"]['shortTNames'][$pageObject->pSet->getLookupTable("terima_id")] = GetTableURL($pageObject->pSet->getLookupTable("terima_id"));
 }
 $pageObject->fillFieldToolTips("terima_id");
 $srchFields = $pageObject->searchClauseObj->getSearchCtrlParams("terima_id");
 $firstFieldParams = array();
 }
 // create control
 $ctrlBlockArr = $searchControlBuilder->buildSearchCtrlBlockArr($id, $firstFieldParams['fName'], 0, $firstFieldParams['opt'], $firstFieldParams['not'], false, $firstFieldParams['value1'], $firstFieldParams['value2']);
 if (isEnableSection508()) {
     $xt->assign_section("id_label", "<label for=\"" . GetInputElementId("id", $id, PAGE_SEARCH) . "\">", "</label>");
 } else {
     $xt->assign("id_label", true);
 }
 $xt->assign("id_fieldblock", true);
 $xt->assignbyref("id_editcontrol", $ctrlBlockArr['searchcontrol']);
 $xt->assign("id_notbox", $ctrlBlockArr['notbox']);
 // create second control, if need it
 $xt->assignbyref("id_editcontrol1", $ctrlBlockArr['searchcontrol1']);
 // create search type select
 $xt->assign("searchtype_id", $ctrlBlockArr['searchtype']);
 $isFieldNeedSecCtrl = $searchControlBuilder->isNeedSecondCtrl("id");
 $ctrlInd = 0;
 if ($isFieldNeedSecCtrl) {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd, 1 => $ctrlInd + 1));
     $ctrlInd += 2;
 } else {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd));
     $ctrlInd++;
 }
 // search fields data
 if ($pageObject->pSet->getLookupTable("nama")) {
     $pageObject->settingsMap["globalSettings"]['shortTNames'][$pageObject->pSet->getLookupTable("nama")] = GetTableURL($pageObject->pSet->getLookupTable("nama"));
 }
 $pageObject->fillFieldToolTips("nama");
 $srchFields = $pageObject->searchClauseObj->getSearchCtrlParams("nama");
 $firstFieldParams = array();
 }
 // create control
 $ctrlBlockArr = $searchControlBuilder->buildSearchCtrlBlockArr($id, $firstFieldParams['fName'], 0, $firstFieldParams['opt'], $firstFieldParams['not'], false, $firstFieldParams['value1'], $firstFieldParams['value2']);
 if (isEnableSection508()) {
     $xt->assign_section("Code_label", "<label for=\"" . GetInputElementId("Code", $id) . "\">", "</label>");
 } else {
     $xt->assign("Code_label", true);
 }
 $xt->assign("Code_fieldblock", true);
 $xt->assignbyref("Code_editcontrol", $ctrlBlockArr['searchcontrol']);
 $xt->assign("Code_notbox", $ctrlBlockArr['notbox']);
 // create second control, if need it
 $xt->assignbyref("Code_editcontrol1", $ctrlBlockArr['searchcontrol1']);
 // create search type select
 $xt->assign("searchtype_Code", $ctrlBlockArr['searchtype']);
 $isFieldNeedSecCtrl = $searchControlBuilder->isNeedSecondCtrl("Code");
 $ctrlInd = 0;
 if ($isFieldNeedSecCtrl) {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "Code", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd, 1 => $ctrlInd + 1));
     $ctrlInd += 2;
 } else {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "Code", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd));
     $ctrlInd++;
 }
 // search fields data
 if (GetLookupTable("Location", $strTableName)) {
     $pageObject->settingsMap["globalSettings"]['shortTNames'][GetLookupTable("Location", $strTableName)] = GetTableURL(GetLookupTable("Location", $strTableName));
 }
 $pageObject->fillFieldToolTips("Location");
 $srchFields = $pageObject->searchClauseObj->getSearchCtrlParams("Location");
 $firstFieldParams = array();
 }
 // create control
 $ctrlBlockArr = $searchControlBuilder->buildSearchCtrlBlockArr($id, $firstFieldParams['fName'], 0, $firstFieldParams['opt'], $firstFieldParams['not'], false, $firstFieldParams['value1'], $firstFieldParams['value2']);
 if (isEnableSection508()) {
     $xt->assign_section("Record_ID_label", "<label for=\"" . GetInputElementId("Record ID", $id) . "\">", "</label>");
 } else {
     $xt->assign("Record_ID_label", true);
 }
 $xt->assign("Record_ID_fieldblock", true);
 $xt->assignbyref("Record_ID_editcontrol", $ctrlBlockArr['searchcontrol']);
 $xt->assign("Record_ID_notbox", $ctrlBlockArr['notbox']);
 // create second control, if need it
 $xt->assignbyref("Record_ID_editcontrol1", $ctrlBlockArr['searchcontrol1']);
 // create search type select
 $xt->assign("searchtype_Record_ID", $ctrlBlockArr['searchtype']);
 $isFieldNeedSecCtrl = $searchControlBuilder->isNeedSecondCtrl("Record ID");
 $ctrlInd = 0;
 if ($isFieldNeedSecCtrl) {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "Record ID", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd, 1 => $ctrlInd + 1));
     $ctrlInd += 2;
 } else {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "Record ID", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd));
     $ctrlInd++;
 }
 // search fields data
 if (GetLookupTable("Module ID", $strTableName)) {
     $pageObject->settingsMap["globalSettings"]['shortTNames'][GetLookupTable("Module ID", $strTableName)] = GetTableURL(GetLookupTable("Module ID", $strTableName));
 }
 $pageObject->fillFieldToolTips("Module ID");
 $srchFields = $pageObject->searchClauseObj->getSearchCtrlParams("Module ID");
 $firstFieldParams = array();
Пример #23
0
 }
 // create control
 $ctrlBlockArr = $searchControlBuilder->buildSearchCtrlBlockArr($id, $firstFieldParams['fName'], 0, $firstFieldParams['opt'], $firstFieldParams['not'], false, $firstFieldParams['value1'], $firstFieldParams['value2']);
 if (isEnableSection508()) {
     $xt->assign_section("id_label", "<label for=\"" . GetInputElementId("id", $id, PAGE_SEARCH) . "\">", "</label>");
 } else {
     $xt->assign("id_label", true);
 }
 $xt->assign("id_fieldblock", true);
 $xt->assignbyref("id_editcontrol", $ctrlBlockArr['searchcontrol']);
 $xt->assign("id_notbox", $ctrlBlockArr['notbox']);
 // create second control, if need it
 $xt->assignbyref("id_editcontrol1", $ctrlBlockArr['searchcontrol1']);
 // create search type select
 $xt->assign("searchtype_id", $ctrlBlockArr['searchtype']);
 $isFieldNeedSecCtrl = $searchControlBuilder->isNeedSecondCtrl("id");
 $ctrlInd = 0;
 if ($isFieldNeedSecCtrl) {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd, 1 => $ctrlInd + 1));
     $ctrlInd += 2;
 } else {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd));
     $ctrlInd++;
 }
 // search fields data
 if ($pageObject->pSet->getLookupTable("invoice_id")) {
     $pageObject->settingsMap["globalSettings"]['shortTNames'][$pageObject->pSet->getLookupTable("invoice_id")] = GetTableURL($pageObject->pSet->getLookupTable("invoice_id"));
 }
 $pageObject->fillFieldToolTips("invoice_id");
 $srchFields = $pageObject->searchClauseObj->getSearchCtrlParams("invoice_id");
 $firstFieldParams = array();
 }
 // create control
 $ctrlBlockArr = $searchControlBuilder->buildSearchCtrlBlockArr($id, $firstFieldParams['fName'], 0, $firstFieldParams['opt'], $firstFieldParams['not'], false, $firstFieldParams['value1'], $firstFieldParams['value2']);
 if (isEnableSection508()) {
     $xt->assign_section("id_label", "<label for=\"" . GetInputElementId("id", $id, PAGE_SEARCH) . "\">", "</label>");
 } else {
     $xt->assign("id_label", true);
 }
 $xt->assign("id_fieldblock", true);
 $xt->assignbyref("id_editcontrol", $ctrlBlockArr['searchcontrol']);
 $xt->assign("id_notbox", $ctrlBlockArr['notbox']);
 // create second control, if need it
 $xt->assignbyref("id_editcontrol1", $ctrlBlockArr['searchcontrol1']);
 // create search type select
 $xt->assign("searchtype_id", $ctrlBlockArr['searchtype']);
 $isFieldNeedSecCtrl = $searchControlBuilder->isNeedSecondCtrl("id");
 $ctrlInd = 0;
 if ($isFieldNeedSecCtrl) {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd, 1 => $ctrlInd + 1));
     $ctrlInd += 2;
 } else {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd));
     $ctrlInd++;
 }
 // search fields data
 if ($pageObject->pSet->getLookupTable("customer_usaha_id")) {
     $pageObject->settingsMap["globalSettings"]['shortTNames'][$pageObject->pSet->getLookupTable("customer_usaha_id")] = GetTableURL($pageObject->pSet->getLookupTable("customer_usaha_id"));
 }
 $pageObject->fillFieldToolTips("customer_usaha_id");
 $srchFields = $pageObject->searchClauseObj->getSearchCtrlParams("customer_usaha_id");
 $firstFieldParams = array();
 }
 // create control
 $ctrlBlockArr = $searchControlBuilder->buildSearchCtrlBlockArr($id, $firstFieldParams['fName'], 0, $firstFieldParams['opt'], $firstFieldParams['not'], false, $firstFieldParams['value1'], $firstFieldParams['value2']);
 if (isEnableSection508()) {
     $xt->assign_section("Units_label", "<label for=\"" . GetInputElementId("Units", $id) . "\">", "</label>");
 } else {
     $xt->assign("Units_label", true);
 }
 $xt->assign("Units_fieldblock", true);
 $xt->assignbyref("Units_editcontrol", $ctrlBlockArr['searchcontrol']);
 $xt->assign("Units_notbox", $ctrlBlockArr['notbox']);
 // create second control, if need it
 $xt->assignbyref("Units_editcontrol1", $ctrlBlockArr['searchcontrol1']);
 // create search type select
 $xt->assign("searchtype_Units", $ctrlBlockArr['searchtype']);
 $isFieldNeedSecCtrl = $searchControlBuilder->isNeedSecondCtrl("Units");
 $ctrlInd = 0;
 if ($isFieldNeedSecCtrl) {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "Units", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd, 1 => $ctrlInd + 1));
     $ctrlInd += 2;
 } else {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "Units", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd));
     $ctrlInd++;
 }
 // search fields data
 if (GetLookupTable("PerUnit Price", $strTableName)) {
     $pageObject->settingsMap["globalSettings"]['shortTNames'][GetLookupTable("PerUnit Price", $strTableName)] = GetTableURL(GetLookupTable("PerUnit Price", $strTableName));
 }
 $pageObject->fillFieldToolTips("PerUnit Price");
 $srchFields = $pageObject->searchClauseObj->getSearchCtrlParams("PerUnit Price");
 $firstFieldParams = array();
Пример #26
0
 }
 // create control
 $ctrlBlockArr = $searchControlBuilder->buildSearchCtrlBlockArr($id, $firstFieldParams['fName'], 0, $firstFieldParams['opt'], $firstFieldParams['not'], false, $firstFieldParams['value1'], $firstFieldParams['value2']);
 if (isEnableSection508()) {
     $xt->assign_section("id_label", "<label for=\"" . GetInputElementId("id", $id, PAGE_SEARCH) . "\">", "</label>");
 } else {
     $xt->assign("id_label", true);
 }
 $xt->assign("id_fieldblock", true);
 $xt->assignbyref("id_editcontrol", $ctrlBlockArr['searchcontrol']);
 $xt->assign("id_notbox", $ctrlBlockArr['notbox']);
 // create second control, if need it
 $xt->assignbyref("id_editcontrol1", $ctrlBlockArr['searchcontrol1']);
 // create search type select
 $xt->assign("searchtype_id", $ctrlBlockArr['searchtype']);
 $isFieldNeedSecCtrl = $searchControlBuilder->isNeedSecondCtrl("id");
 $ctrlInd = 0;
 if ($isFieldNeedSecCtrl) {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd, 1 => $ctrlInd + 1));
     $ctrlInd += 2;
 } else {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd));
     $ctrlInd++;
 }
 // search fields data
 if ($pageObject->pSet->getLookupTable("nama")) {
     $pageObject->settingsMap["globalSettings"]['shortTNames'][$pageObject->pSet->getLookupTable("nama")] = GetTableURL($pageObject->pSet->getLookupTable("nama"));
 }
 $pageObject->fillFieldToolTips("nama");
 $srchFields = $pageObject->searchClauseObj->getSearchCtrlParams("nama");
 $firstFieldParams = array();
 }
 // create control
 $ctrlBlockArr = $searchControlBuilder->buildSearchCtrlBlockArr($id, $firstFieldParams['fName'], 0, $firstFieldParams['opt'], $firstFieldParams['not'], false, $firstFieldParams['value1'], $firstFieldParams['value2']);
 if (isEnableSection508()) {
     $xt->assign_section("id_label", "<label for=\"" . GetInputElementId("id", $id, PAGE_SEARCH) . "\">", "</label>");
 } else {
     $xt->assign("id_label", true);
 }
 $xt->assign("id_fieldblock", true);
 $xt->assignbyref("id_editcontrol", $ctrlBlockArr['searchcontrol']);
 $xt->assign("id_notbox", $ctrlBlockArr['notbox']);
 // create second control, if need it
 $xt->assignbyref("id_editcontrol1", $ctrlBlockArr['searchcontrol1']);
 // create search type select
 $xt->assign("searchtype_id", $ctrlBlockArr['searchtype']);
 $isFieldNeedSecCtrl = $searchControlBuilder->isNeedSecondCtrl("id");
 $ctrlInd = 0;
 if ($isFieldNeedSecCtrl) {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd, 1 => $ctrlInd + 1));
     $ctrlInd += 2;
 } else {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd));
     $ctrlInd++;
 }
 // search fields data
 if ($pageObject->pSet->getLookupTable("kode")) {
     $pageObject->settingsMap["globalSettings"]['shortTNames'][$pageObject->pSet->getLookupTable("kode")] = GetTableURL($pageObject->pSet->getLookupTable("kode"));
 }
 $pageObject->fillFieldToolTips("kode");
 $srchFields = $pageObject->searchClauseObj->getSearchCtrlParams("kode");
 $firstFieldParams = array();
Пример #28
0
 }
 // create control
 $ctrlBlockArr = $searchControlBuilder->buildSearchCtrlBlockArr($id, $firstFieldParams['fName'], 0, $firstFieldParams['opt'], $firstFieldParams['not'], false, $firstFieldParams['value1'], $firstFieldParams['value2']);
 if (isEnableSection508()) {
     $xt->assign_section("id_label", "<label for=\"" . GetInputElementId("id", $id, PAGE_SEARCH) . "\">", "</label>");
 } else {
     $xt->assign("id_label", true);
 }
 $xt->assign("id_fieldblock", true);
 $xt->assignbyref("id_editcontrol", $ctrlBlockArr['searchcontrol']);
 $xt->assign("id_notbox", $ctrlBlockArr['notbox']);
 // create second control, if need it
 $xt->assignbyref("id_editcontrol1", $ctrlBlockArr['searchcontrol1']);
 // create search type select
 $xt->assign("searchtype_id", $ctrlBlockArr['searchtype']);
 $isFieldNeedSecCtrl = $searchControlBuilder->isNeedSecondCtrl("id");
 $ctrlInd = 0;
 if ($isFieldNeedSecCtrl) {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd, 1 => $ctrlInd + 1));
     $ctrlInd += 2;
 } else {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd));
     $ctrlInd++;
 }
 // search fields data
 if ($pageObject->pSet->getLookupTable("spt_type_id")) {
     $pageObject->settingsMap["globalSettings"]['shortTNames'][$pageObject->pSet->getLookupTable("spt_type_id")] = GetTableURL($pageObject->pSet->getLookupTable("spt_type_id"));
 }
 $pageObject->fillFieldToolTips("spt_type_id");
 $srchFields = $pageObject->searchClauseObj->getSearchCtrlParams("spt_type_id");
 $firstFieldParams = array();
Пример #29
0
 }
 // create control
 $ctrlBlockArr = $searchControlBuilder->buildSearchCtrlBlockArr($id, $firstFieldParams['fName'], 0, $firstFieldParams['opt'], $firstFieldParams['not'], false, $firstFieldParams['value1'], $firstFieldParams['value2']);
 if (isEnableSection508()) {
     $xt->assign_section("id_label", "<label for=\"" . GetInputElementId("id", $id, PAGE_SEARCH) . "\">", "</label>");
 } else {
     $xt->assign("id_label", true);
 }
 $xt->assign("id_fieldblock", true);
 $xt->assignbyref("id_editcontrol", $ctrlBlockArr['searchcontrol']);
 $xt->assign("id_notbox", $ctrlBlockArr['notbox']);
 // create second control, if need it
 $xt->assignbyref("id_editcontrol1", $ctrlBlockArr['searchcontrol1']);
 // create search type select
 $xt->assign("searchtype_id", $ctrlBlockArr['searchtype']);
 $isFieldNeedSecCtrl = $searchControlBuilder->isNeedSecondCtrl("id");
 $ctrlInd = 0;
 if ($isFieldNeedSecCtrl) {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd, 1 => $ctrlInd + 1));
     $ctrlInd += 2;
 } else {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd));
     $ctrlInd++;
 }
 // search fields data
 if ($pageObject->pSet->getLookupTable("nama_wp")) {
     $pageObject->settingsMap["globalSettings"]['shortTNames'][$pageObject->pSet->getLookupTable("nama_wp")] = GetTableURL($pageObject->pSet->getLookupTable("nama_wp"));
 }
 $pageObject->fillFieldToolTips("nama_wp");
 $srchFields = $pageObject->searchClauseObj->getSearchCtrlParams("nama_wp");
 $firstFieldParams = array();
 }
 // create control
 $ctrlBlockArr = $searchControlBuilder->buildSearchCtrlBlockArr($id, $firstFieldParams['fName'], 0, $firstFieldParams['opt'], $firstFieldParams['not'], false, $firstFieldParams['value1'], $firstFieldParams['value2']);
 if (isEnableSection508()) {
     $xt->assign_section("id_label", "<label for=\"" . GetInputElementId("id", $id, PAGE_SEARCH) . "\">", "</label>");
 } else {
     $xt->assign("id_label", true);
 }
 $xt->assign("id_fieldblock", true);
 $xt->assignbyref("id_editcontrol", $ctrlBlockArr['searchcontrol']);
 $xt->assign("id_notbox", $ctrlBlockArr['notbox']);
 // create second control, if need it
 $xt->assignbyref("id_editcontrol1", $ctrlBlockArr['searchcontrol1']);
 // create search type select
 $xt->assign("searchtype_id", $ctrlBlockArr['searchtype']);
 $isFieldNeedSecCtrl = $searchControlBuilder->isNeedSecondCtrl("id");
 $ctrlInd = 0;
 if ($isFieldNeedSecCtrl) {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd, 1 => $ctrlInd + 1));
     $ctrlInd += 2;
 } else {
     $pageObject->controlsMap["search"]["searchBlocks"][] = array('fName' => "id", 'recId' => $id, 'ctrlsMap' => array(0 => $ctrlInd));
     $ctrlInd++;
 }
 // search fields data
 if ($pageObject->pSet->getLookupTable("kode")) {
     $pageObject->settingsMap["globalSettings"]['shortTNames'][$pageObject->pSet->getLookupTable("kode")] = GetTableURL($pageObject->pSet->getLookupTable("kode"));
 }
 $pageObject->fillFieldToolTips("kode");
 $srchFields = $pageObject->searchClauseObj->getSearchCtrlParams("kode");
 $firstFieldParams = array();