diff --git a/application/controllers/GiantController.php b/application/controllers/GiantController.php index 8b1669ce7..061353eca 100644 --- a/application/controllers/GiantController.php +++ b/application/controllers/GiantController.php @@ -229,6 +229,8 @@ class GiantController extends Zend_Controller_Action { $this->_helper->layout()->disableLayout(); $this->view->headLink()->appendStylesheet('/themes/default/styles/giant.css', 'all'); + $form = new Application_Form_RechercheEntreprise(); + $this->view->assign('form', $form); $this->view->lang = $this->getRequest()->getParam('lang'); $this->view->CompanyId = $this->getRequest()->getParam('CompanyId'); $this->view->Pays = $this->getRequest()->getParam('Pays'); @@ -257,6 +259,7 @@ class GiantController extends Zend_Controller_Action $this->_helper->layout()->disableLayout(); $this->view->headLink()->appendStylesheet('/themes/default/styles/giant.css', 'all'); $this->view->CompanyId = $this->getRequest()->getParam('CompanyId'); + $this->view->InternalOrderId = $this->getRequest()->getParam('InternalOrderId'); $this->view->Pays = $this->getRequest()->getParam('Pays'); $this->view->InternalOrderId = $this->getRequest()->getParam('InternalOrderId'); $this->view->CompanyName = $this->getRequest()->getParam('CompanyName'); @@ -280,6 +283,7 @@ class GiantController extends Zend_Controller_Action $this->view->headLink()->appendStylesheet('/themes/default/styles/giant.css', 'all'); $this->view->lang = $this->getRequest()->getParam('lang'); $this->view->CompanyId = $this->getRequest()->getParam('CompanyId'); + $this->view->InternalOrderId = $this->getRequest()->getParam('InternalOrderId'); $this->view->Pays = $this->getRequest()->getParam('Pays'); $this->view->CompanyName = $this->getRequest()->getParam('CompanyName'); $this->view->action = $this->getRequest()->getParam('action'); diff --git a/application/views/default/scripts/giant/identite.phtml b/application/views/default/scripts/giant/identite.phtml index d0a36f0b5..a66c54ba2 100644 --- a/application/views/default/scripts/giant/identite.phtml +++ b/application/views/default/scripts/giant/identite.phtml @@ -130,9 +130,9 @@ - modification)): ?> -

Liste des monitoring

- - ';print_r($this->modification); ?> + ';print_r($this->modification); ?> - + diff --git a/application/views/default/scripts/giant/retrive.phtml b/application/views/default/scripts/giant/retrive.phtml index 33868e638..c8256169b 100644 --- a/application/views/default/scripts/giant/retrive.phtml +++ b/application/views/default/scripts/giant/retrive.phtml @@ -82,13 +82,21 @@ if ( empty($this->source) ){ endforeach; ?> action('ret', 'giant',null,array('date_st'=>current($merged_type)[0]->ProviderOrderId)));?> -
+ $this->configVal->cache->lifetime,'automatic_serialization' => true); + $backendOptions = array('cache_dir' => '../data/cache/giant/'); + $cache = Zend_Cache::factory('Output','File',$frontendOptions,$backendOptions); + if(($lang = $cache->load('Pays_'.$resultDB['Pays'])) === false) { + $lang = 'en'; + } + $language =$lang->MonitoringOptions->MonitoringOption[0]->LanguageCodes->LanguageCode; + ?> +

Company->CompanyName['0']->_ ?> (Company->CompanyId ?>)

- Company->CompanyName['0']->_)?>'> - Company->CompanyName['0']->_)?>'> - Company->CompanyName['0']->_)?>'> + /lang//CompanyName/Company->CompanyName['0']->_)?>'> + /InternalOrderId//CompanyName/Company->CompanyName['0']->_)?>'> + /lang//InternalOrderId//CompanyName/Company->CompanyName['0']->_)?>'> source) ){ Company->Event[0]->EventCode); + $name = explode('.', $monitor_type[0]->Company->Event[0]->EventCode); echo "

".$name[1]."

"; } //Fin foreach?> diff --git a/application/views/default/scripts/giant/startmonitoring.phtml b/application/views/default/scripts/giant/startmonitoring.phtml index 17c041ee7..1ca6d0ee7 100644 --- a/application/views/default/scripts/giant/startmonitoring.phtml +++ b/application/views/default/scripts/giant/startmonitoring.phtml @@ -1,14 +1,14 @@
-

-CompanyId: CompanyId?>

-Company Name: CompanyName?>

+

+CompanyId:
+CompanyId)):?>disabled="disabled" required />

Category Name:


+Country:
+CompanyId)):?> +'France','BE'=>'Belgium','ES'=>'Spain','GB'=>'United Kingdom','NL'=>'The Netherlands',)?> +

+ +

+ Preferred Start Date:
optional

Preferred End Date:
diff --git a/application/views/default/scripts/giant/stopmonitoring.phtml b/application/views/default/scripts/giant/stopmonitoring.phtml index fbc62c821..a4f6f8e13 100644 --- a/application/views/default/scripts/giant/stopmonitoring.phtml +++ b/application/views/default/scripts/giant/stopmonitoring.phtml @@ -9,7 +9,7 @@
Internal Order Id:
-

+

Preferred End Date:
diff --git a/application/views/default/scripts/giant/updatemonitoring.phtml b/application/views/default/scripts/giant/updatemonitoring.phtml index c5e4bca2e..10fee900c 100644 --- a/application/views/default/scripts/giant/updatemonitoring.phtml +++ b/application/views/default/scripts/giant/updatemonitoring.phtml @@ -9,7 +9,7 @@
Internal Order Id:
-

+

New Category Name: