issue #0001653 : Harmonized code between dirigeants and fiche
This commit is contained in:
parent
952a4cabb6
commit
ff2a62e818
@ -102,12 +102,12 @@
|
||||
<?php if ($dir->Societe != '') { ?>
|
||||
<img class="wcheck" data-url="<?=$this->url(array(
|
||||
'controller'=>'worldcheck','action'=>'occurence','siren'=>substr($this->siret,0,9),
|
||||
'dirType'=>'ORGANISATION','dirSociete'=>$dir->Societe),null,true);?>" src='/themes/default/images/worldcheck/wc.png'/>
|
||||
'dirType'=>'ORGANISATION','dirSociete'=>$dir->Societe),null,true);?>" src="/themes/default/images/worldcheck/wc.png"/>
|
||||
<?php }?>
|
||||
<?php if ($dir->Nom != '') { ?>
|
||||
<img class="wcheck" data-url="<?=$this->url(array(
|
||||
'controller'=>'worldcheck','action'=>'occurence','siren'=>substr($this->siret,0,9),
|
||||
'dirType'=>'INDIVIDUAL','dirNom'=>$dir->Nom,'dirPrenom'=>$dir->Prenom),null,true);?>" src='/themes/default/images/worldcheck/wc.png'/>
|
||||
'dirType'=>'INDIVIDUAL','dirNom'=>$dir->Nom,'dirPrenom'=>$dir->Prenom),null,true);?>" src="/themes/default/images/worldcheck/wc.png"/>
|
||||
<?php } ?>
|
||||
</td>
|
||||
<?php }?>
|
||||
|
@ -59,13 +59,9 @@ echo $this->partial('identite/fiche-item.phtml', $this->dBlock['AutreSiren']);
|
||||
<h2>Raison sociale & Coordonnées</h2>
|
||||
<div class="paragraph">
|
||||
|
||||
<?php if ( empty($this->AutrePage) ) {?>
|
||||
<?php if($this->accessWorldCheck) { ?>
|
||||
<?php if ( empty($this->AutrePage) && $this->accessWorldCheck) { ?>
|
||||
<div style="float:right;">
|
||||
<img class="wcheck" src='/themes/default/images/worldcheck/wc.png'/>
|
||||
</div>
|
||||
<?php
|
||||
$params = array(
|
||||
<img class="wcheck" data-url="<?=$this->url(array(
|
||||
'controller'=>'worldcheck',
|
||||
'action'=>'occurence',
|
||||
'dirSociete'=>$this->infos->Nom,
|
||||
@ -78,8 +74,8 @@ $params = array(
|
||||
'dirSocEnseigneLong'=>$this->infos->EnseigneLong,
|
||||
'dirType' =>'ORGANISATION',
|
||||
'siren'=>substr($this->siret, 0, 9)
|
||||
);
|
||||
?>
|
||||
), null, true)?>" src="/themes/default/images/worldcheck/wc.png"/>
|
||||
</div>
|
||||
<script>
|
||||
$('img.wcheck').each(function(){
|
||||
$(this).qtip({
|
||||
@ -89,7 +85,7 @@ $('img.wcheck').each(function(){
|
||||
button: true,
|
||||
title: 'WorlCheck',
|
||||
text: "Chargement...",
|
||||
ajax: { url: '<?=$this->url($params,null,true);?>' } },
|
||||
ajax: { url: $(this).data('url') } },
|
||||
position: { my: 'right center', at: 'left center' }
|
||||
});
|
||||
});
|
||||
|
@ -87,7 +87,7 @@ class WsScores
|
||||
$options['login'] = $this->login;
|
||||
$options['password'] = $this->password;
|
||||
if (APPLICATION_ENV == 'development'){
|
||||
$options['cache_wsdl'] = WSDL_CACHE_NONE;
|
||||
$options['cache_wsdl'] = WSDL_CACHE_NONE;
|
||||
}
|
||||
$options['trace'] = true;
|
||||
$options['encoding'] = 'utf-8';
|
||||
|
Loading…
Reference in New Issue
Block a user