<?php
/*
 @ClassName : View Combo Lokasi Barang
 @Copyright : PT Gamatechno Indonesia
 @Analyzed By : Nanang Ruswianto <nanang@gamatechno.com>
 @Designed By : Rosyid <rosyid@gamatechno.com>
 @Author By : Dyan Galih <galih@gamatechno.com>
 @Version : 1.0
 @StartDate : Okt 20, 2008
 @LastUpdate : Okt 20, 2008
 @Description :
*/


require_once GTFWConfiguration::GetValue( 'application', 'docroot').
   'module/laporan_dir/business/AppLaporanDir.class.php';

class ViewComboPj extends HtmlResponse
{

   function TemplateModule()
   {
      $this->SetTemplateBasedir(GTFWConfiguration::GetValue('application','docroot').
         'module/laporan_dir/template');
      $this->SetTemplateFile('combo_pj.html');
   }
   
   function ProcessRequest()
   {
   	$obj = new AppLaporanDir();
   	
   	//get id from get
   	$gedung = $_GET['gedung'];
   	//set combo unit kerja
   	$pj = $obj->GetComboPic($gedung);
   	
   	Messenger::Instance()->SendToComponent('combobox', 'Combobox', 'view', 'html', 'pj', array('pj', $pj, $_POST['pj'], 'false', ''), Messenger::CurrentRequest);
   	
      return $return;
   }
   
   
	function ParseTemplate($data = NULL)
   {
      
   }
}
?>
