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

class DoUpdateStatusBarang extends JsonResponse {

   function TemplateModule() {
      
   }
   
   function ProcessRequest() {
      $userObj = new ProcessStatusBarang();
      #print_r($_POST); exit;
      $urlRedirect = $userObj->Update();
      return array('exec'=>'GtfwAjax.replaceContentWithUrl("subcontent-element","'.$urlRedirect.'&ascomponent=1")');
    }

   function ParseTemplate($data = NULL) {
      
   }
}
?>