Issue #0001788: [Dirigeants Opérationnels] supprimer les fichiers inutiles
This commit is contained in:
parent
5fbdcd0d7c
commit
70e18b8422
@ -1,50 +0,0 @@
|
||||
<?php $param = array(
|
||||
'controller'=>'saisie',
|
||||
'action'=>'diropcontrol',
|
||||
'mode'=>'edit',
|
||||
'type'=>'fiche',
|
||||
'siret'=>$this->siret,
|
||||
'id'=>$this->id);
|
||||
?>
|
||||
<p><a class="dlg" title="Modifier le dirigeant" href="<?=$this->url($param, null, true)?>">
|
||||
<?=$this->translate("Editer la fiche")?></a></p>
|
||||
|
||||
<?php $param['mode']='del';?>
|
||||
<p><a class="dlg" title="Supprimer le dirigeant" href="<?=$this->url($param, null, true)?>">
|
||||
<?=$this->translate("Supprimer la fiche")?></a></p>
|
||||
|
||||
<?php $param = array(
|
||||
'controller'=>'dirigeant',
|
||||
'action'=>'diropliens',
|
||||
'siret'=>$this->siret,
|
||||
'id'=>$this->id);
|
||||
?>
|
||||
<p><a title="Liste des entreprises" href="<?=$this->url($param, null, true)?>">
|
||||
<?=$this->translate("Liste des entreprises")?></a></p>
|
||||
|
||||
<script>
|
||||
$('a.dlg').on('click', function(){
|
||||
$('div.qtip').hide();
|
||||
var href = $(this).attr('href');
|
||||
if (href!='#') {
|
||||
var title = $(this).attr('title');
|
||||
var dialogOpts = {
|
||||
bgiframe: true,
|
||||
title: title,
|
||||
width: 600,
|
||||
height: 550,
|
||||
modal: true,
|
||||
open: function(event, ui) {
|
||||
$(this).html('Chargement...');
|
||||
$(this).load(href);
|
||||
},
|
||||
buttons: {
|
||||
Quitter: function() { $(this).dialog('close'); }
|
||||
},
|
||||
close: function() { $('#dialog').remove(); }
|
||||
};
|
||||
$('<div id="dialog"></div>').dialog(dialogOpts);
|
||||
return false;
|
||||
}
|
||||
});
|
||||
</script>
|
@ -1,61 +0,0 @@
|
||||
<div id="center">
|
||||
<h1><?=$this->translate("DIRIGEANTS OPERATIONNELS")?></h1>
|
||||
<div class="paragraph">
|
||||
<table class="identite">
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib"><?=$this->translate("Nom de dirigeant")?></td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->nom.' '.$this->prenom?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<h2><?=$this->translate("Liste des entreprises actifs")?></h2>
|
||||
<div class="paragraph">
|
||||
<?php if ( count($this->liste)>0 ) { ?>
|
||||
<table class="data">
|
||||
<?php foreach ($this->liste as $liste) {?>
|
||||
<tr>
|
||||
<td class="StyleInfoData" width="300"><?=$liste->RS->Nom; ?></td>
|
||||
<td class="StyleInfoData" width="80" valign="top">
|
||||
<a href="<?=$this->url(array('controller'=>'identite', 'action'=>'fiche', 'siret'=>$liste->siren), null, true) ?>">
|
||||
<?=$this->SirenTexte($liste->siren)?></a></td>
|
||||
<td class="StyleInfoData" width="200" valign="top"><?=$liste->libFct?></td>
|
||||
<?php if ($this->accessWorldCheck) {?>
|
||||
<td class="StyleInfoData" width="20" valign="top">
|
||||
<img style="cursor:pointer;" class="wcheck" data-url="<?=$this->url(array(
|
||||
'controller'=>'worldcheck','action'=>'occurence','siren'=>substr($this->siret,0,9),
|
||||
'dirType'=>'ORGANISATION','dirSociete'=>$liste->RS->Nom),null,true);?>" src="/themes/default/images/worldcheck/wc.png"/>
|
||||
</td>
|
||||
<?php }?>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</table>
|
||||
<?php } else { ?>
|
||||
<table>
|
||||
<tr>
|
||||
<td class="StyleInfoData" width="550">
|
||||
<?=$this->translate("Aucune donnée n'est présente dans notre base")?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if ($this->accessWorldCheck) {?>
|
||||
<script>
|
||||
$('img.wcheck').each(function(){
|
||||
$(this).qtip({
|
||||
hide: { event: 'unfocus' },
|
||||
show: { solo: true, delay: 500 },
|
||||
content: {
|
||||
button: true,
|
||||
title: 'WorlCheck',
|
||||
text: "Chargement...",
|
||||
ajax: { url: $(this).data('url') } },
|
||||
position: { my: 'right center', at: 'left center' }
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<?php }?>
|
@ -1 +0,0 @@
|
||||
<?=json_encode($this->output)?>
|
Loading…
Reference in New Issue
Block a user