97 lines
2.2 KiB
PHTML
97 lines
2.2 KiB
PHTML
<div id="center">
|
|
|
|
<h1>PIÈCES OFFICIELLES</h1>
|
|
<div class="paragraph">
|
|
<table class="identite">
|
|
<tr>
|
|
<td width="30"> </td>
|
|
<td width="200" class="StyleInfoLib">
|
|
Numéro identifiant Siren
|
|
</td>
|
|
<td width="350" class="StyleInfoData">
|
|
<?=$this->SirenTexte($this->siren)?>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="30"> </td>
|
|
<td width="200" class="StyleInfoLib">Raison Sociale</td>
|
|
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
|
|
</tr>
|
|
<?php if ($this->surveillance) {?>
|
|
<tr>
|
|
<td width="30"> </td>
|
|
<td colspan="2" width="550" class="StyleInfoData">
|
|
<?=$this->action('infos','surveillance', null, array(
|
|
'source' => 'actes',
|
|
'siret' => $this->siret
|
|
))?>
|
|
</td>
|
|
</tr>
|
|
<?php }?>
|
|
</table>
|
|
</div>
|
|
|
|
<h2>Actes & Status</h2>
|
|
<div class="paragraph">
|
|
<?php if ($this->ErreurMessage):?>
|
|
<?=$this->ErreurMessage?>
|
|
<?php else:?>
|
|
<table class="greffe">
|
|
<thead>
|
|
<tr><th>Date</th><th>Type</th><th>Décisions</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php foreach($this->InfosActes as $acte):?>
|
|
<?php
|
|
$style = '';
|
|
if ($acte['mode']=='fichier' && $this->ModeEdition) {
|
|
$style.=' style="background-color: #007DFF;"';
|
|
}
|
|
?>
|
|
<tr<?=$style?>>
|
|
<td class="date"><?=$acte['date']?></td>
|
|
<td class="type"><?=$acte['lib']?>
|
|
<?php
|
|
switch($acte['mode'])
|
|
{
|
|
case 'fichier':
|
|
case 'T':
|
|
?>
|
|
<span class="fichier">
|
|
<a href="<?=$acte['href']?>" title="<?=$acte['title']?>">
|
|
<img alt="PDF" src="/themes/default/images/interfaces/icone_pdf.gif"/>
|
|
</a>
|
|
</span>
|
|
<?php
|
|
break;
|
|
case 'courrier':
|
|
case 'C':
|
|
?>
|
|
<a class="dialogcmd" href="<?=$acte['href']?>" title="<?=$acte['title']?>">
|
|
<img alt="Courrier" src="/themes/default/images/interfaces/icone_courrier.png"/>
|
|
</a>
|
|
<?php
|
|
break;
|
|
}
|
|
?>
|
|
<?php if ($this->ModeEdition && $acte['mode']!='fichier'){?>
|
|
<br/><a href="<?=$this->url(array(
|
|
'controller' => 'pieces',
|
|
'action' => 'cmdfactice',
|
|
'siret' => $this->siret,
|
|
'ref' => $acte['ref']
|
|
), null, true)?>" target="_blank">
|
|
Créer une commande factice.
|
|
</a>
|
|
<?php }?>
|
|
</td>
|
|
<td class="decision"><?=$acte['decision']?></td>
|
|
</tr>
|
|
<?php endforeach;?>
|
|
</tbody>
|
|
</table>
|
|
<?php endif;?>
|
|
</div>
|
|
|
|
</div>
|