<?php
require_once GTFWConfiguration::GetValue( 'application', 'docroot') . 'module/penghasilan/response/ProcessPenghasilan.proc.class.php';

class DoAddPenghasilan extends JsonResponse {

	function TemplateModule() {
	}
	
	function ProcessRequest() {
		$penghasilanObj = new ProcessPenghasilan();
		$urlRedirect = $penghasilanObj->Add();
		
		return array('exec'=>'GtfwAjax.replaceContentWithUrl("subcontent-element","'.$urlRedirect.'&ascomponent=1")');
	 }
	function ParseTemplate($data = NULL) {	
	}
}
?>
