Contentieux : affichage multiple de tiers

This commit is contained in:
Michael RICOIS 2016-04-11 13:23:44 +00:00
parent 632b7379bf
commit 6aae492e1a
2 changed files with 5 additions and 1 deletions

View File

@ -41,12 +41,14 @@
<?php if (count($this->Affaire->Tiers->item) > 0) {?>
<?php foreach ($this->Affaire->Tiers->item as $t) {?>
<?php if ($t->TypeCode == 'DE') {?>
<div>
<strong><?=$t->companyNom?></strong><?php if (!empty($t->companyId)) {?> (<?=$this->SirenTexte($t->companyId)?>) <?php }?>
<?php if (!empty($t->Acteur)) {?>
<?php foreach($t->Acteur->item as $acteur) {?>
<br/> - <?=$acteur->Nom?>
<?php }?>
<?php }?>
</div>
<?php }?>
<?php }?>
<?php }?>
@ -58,12 +60,14 @@
<?php if (count($this->Affaire->Tiers->item) > 0) {?>
<?php foreach ($this->Affaire->Tiers->item as $t) {?>
<?php if ($t->TypeCode == 'DF') {?>
<div>
<strong><?=$t->companyNom?></strong><?php if (!empty($t->companyId)) {?> (<?=$this->SirenTexte($t->companyId)?>) <?php }?>
<?php if (!empty($t->Acteur)) {?>
<?php foreach($t->Acteur->item as $acteur) {?>
<br/> - <?=$acteur->Nom?>
<?php }?>
<?php }?>
</div>
<?php }?>
<?php }?>
<?php }?>

View File

@ -80,6 +80,6 @@ class Application_Controller_Plugin_Menu extends Zend_Controller_Plugin_Abstract
//$view->aide = true;
}
Zend_Registry::get('firebug')->info('PLUGIN MENU -END');
Zend_Registry::get('firebug')->info('PLUGIN MENU - END');
}
}