issue #0001649: Retrive monitoring types
This commit is contained in:
parent
4a89f96643
commit
c5aa779514
@ -314,7 +314,8 @@ class GiantController extends Zend_Controller_Action
|
||||
$this->getRequest()->getParam('StartFrom'),
|
||||
$this->getRequest()->getParam('InternalOrderId'),
|
||||
$this->getRequest()->getParam('Pays'),
|
||||
$this->TestIndication
|
||||
$this->TestIndication,
|
||||
$this->getRequest()->getParam('monitor_type')
|
||||
);
|
||||
$this->view->result = $result;
|
||||
|
||||
|
@ -79,10 +79,10 @@ Class GiantControllerLib
|
||||
$result = $rapport->GetUpdateMonitoring($CompanyId, $InternalOrderId, $CategorieName, $EventType, $PreferredStartDate, $Version, $LanguageCode);
|
||||
return ($result);
|
||||
}
|
||||
public function retrivemonitoring($CompanyId, $StartFrom,$InternalOrderId,$Pays,$TestIndication)
|
||||
public function retrivemonitoring($CompanyId, $StartFrom,$InternalOrderId,$Pays,$TestIndication,$EventType)
|
||||
{
|
||||
$rapport = new GiantRechercheController($Pays, $TestIndication);
|
||||
$result = $rapport->GetretriveMonitoring($CompanyId, $StartFrom,$InternalOrderId);
|
||||
$result = $rapport->GetretriveMonitoring($CompanyId, $StartFrom,$InternalOrderId,$EventType);
|
||||
return ($result);
|
||||
}
|
||||
protected function parcourTableau($array)
|
||||
@ -278,10 +278,10 @@ Class GiantRechercheController extends GiantFunction
|
||||
$result = $this->CreditData->getMethode('UpdateMonitoringOptions', array($CompanyId, $InternalOrderId, $CategorieName, $EventType, $PreferredStartDate, $Version, $LanguageCode));
|
||||
return ($result);
|
||||
}
|
||||
public function GetRetriveMonitoring($CompanyId, $StartFrom, $InternalOrderId)
|
||||
public function GetRetriveMonitoring($CompanyId, $StartFrom, $InternalOrderId,$EventType)
|
||||
{
|
||||
$this->CreditData = new CreditData($this->soapG, $CompanyId);
|
||||
$result = $this->CreditData->getMethode('RetrieveMonitoringEventsForOrder', array($CompanyId, $StartFrom, $InternalOrderId));
|
||||
$result = $this->CreditData->getMethode('RetrieveMonitoringEventsFor'.$EventType, array($CompanyId, $StartFrom, $InternalOrderId));
|
||||
return ($result);
|
||||
}
|
||||
public function ListeRapport($CompanyId)
|
||||
|
@ -290,10 +290,10 @@ Class CreditData extends GiantFunction
|
||||
return ($result);
|
||||
}
|
||||
|
||||
protected function RetrieveMonitoringEventsForCustomer($StartFrom)
|
||||
protected function RetrieveMonitoringEventsForCustomer($CompanyId, $StartFrom)
|
||||
{
|
||||
$parametres = new stdClass();
|
||||
$parametres->StartFrom = $StartFrom;
|
||||
if (!empty($StartFrom)) {$parametres->StartFrom = $StartFrom;}
|
||||
try {
|
||||
$result = $this->soapG->RetrieveMonitoringEventsForCustomer($parametres);
|
||||
} catch (SoapFault $soapFault) {
|
||||
@ -302,10 +302,10 @@ Class CreditData extends GiantFunction
|
||||
return ($result);
|
||||
}
|
||||
|
||||
protected function RetrieveMonitoringEventsForConsumer($StartFrom)
|
||||
protected function RetrieveMonitoringEventsForConsumer($CompanyId, $StartFrom)
|
||||
{
|
||||
$parametres = new stdClass();
|
||||
$parametres->StartFrom = $StartFrom;
|
||||
if (!empty($StartFrom)) {$parametres->StartFrom = $StartFrom;}
|
||||
try {
|
||||
$result = $this->soapG->RetrieveMonitoringEventsForConsumer($parametres);
|
||||
} catch (SoapFault $soapFault) {
|
||||
|
@ -65,7 +65,7 @@ $(document).ready( function()
|
||||
$( ".monitor_but a,.retrive_but a" )
|
||||
.button();
|
||||
});
|
||||
|
||||
$.mon_type = $('.mon_type').val();
|
||||
$('.retr').on('click', function(e){
|
||||
e.preventDefault();
|
||||
var title = $(this).attr('title');
|
||||
|
Loading…
Reference in New Issue
Block a user