c8ef0d9d17
Création des acces au rapport ! + library réutilisable.
119 lines
4.7 KiB
PHTML
119 lines
4.7 KiB
PHTML
<style>
|
|
#info td {
|
|
padding:2px;
|
|
}
|
|
|
|
</style>
|
|
<div id="center">
|
|
<span style="margin-right:5px;float: right;"><a style="cursor:help;" class="tooltip" href="" title="<?php echo $this->modification?>">Dernières modifications au <?php echo date('d/m/Y'); ?></a></span>
|
|
<h1>Identite</h1>
|
|
<div class="paragraph">
|
|
<div id="identite">
|
|
<table>
|
|
<tr id="info">
|
|
<td width="30px"></td>
|
|
<td class="StyleInfoLib" width="250px">CompanyId</td>
|
|
<td class="StyleInfoData" width="300px"><?php echo $this->CompanyId;?></td>
|
|
</tr>
|
|
<tr id="info">
|
|
<td width="30px"></td>
|
|
<td class="StyleInfoLib" width="250px">CompanyRegisterNumber</td>
|
|
<td class="StyleInfoData" width="300px"><?php echo $this->CompanyRegisterNumber;?></td>
|
|
</tr>
|
|
<tr id="info">
|
|
<td width="30px"></td>
|
|
<td valign="top" class="StyleInfoLib" width="250px">RegisteredName</td>
|
|
<td class="StyleInfoData" width="300px"><?php echo $this->raisonSociale;?></td>
|
|
</tr>
|
|
<tr id="info">
|
|
<td width="30px"></td>
|
|
<td valign="top" class="StyleInfoLib" width="250px">Adresse</td>
|
|
<td class="StyleInfoData" width="300px"><a href=""><?php echo $this->Adresse[0].' '.$this->Adresse[1];?><br />
|
|
<?php echo $this->Adresse[2].' '.$this->Adresse[3]?></a></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<h1>Liste des rapports</h1>
|
|
<div class="paragraph">
|
|
<table>
|
|
<tr>
|
|
<td width="30px"></td>
|
|
<td></td>
|
|
<td></td>
|
|
<td style="word-spacing: 2px;" align="center">
|
|
<input disabled="disabled" type="radio" name="lang1" /><input type="radio" name="lang2" checked="true" />
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
<?php $i=1; foreach ($this->listeRapport->DataSetOptions->DataSetOption as $rapport):?>
|
|
<tr id="info">
|
|
<td width="30px"></td>
|
|
<td class="StyleInfoLib" width="250px">
|
|
<img style="cursor:help" class="tooltip" title="<?php echo htmlentities($this->description->Full);?>" src="/themes/default/images/giant/tag_blue.png" /> - Type de rapport
|
|
</td>
|
|
<td class="StyleInfoData" width="150px"><?php echo $rapport->DataSetType->_?></td>
|
|
<td align="center" class="StyleInfoData" width="100px">
|
|
<?php foreach ($rapport->LanguageCodes->LanguageCode as $language):?>
|
|
<img src="/themes/default/images/drapeaux/<?php echo $language;?>.png" />
|
|
<?php endforeach;?>
|
|
</td>
|
|
<td class="StyleInfoData" width="300px">
|
|
<a id="r<?php echo $i?>" class="idpr" href="/giant/rapport/Type/<?php echo $rapport->DataSetType->_?>/CompanyId/<?php echo $this->CompanyId;?>/Version//Language/<?php echo $language;?>" >Consulter le rapport en immédiat</a>
|
|
<div id="pr<?php echo $i?>" class="hide" style="display:none;">
|
|
<center><img style="padding-top:30%" src="/themes/default/images/giant/19-1.gif" /></center>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<?php $i++;?>
|
|
<?php endforeach;?>
|
|
</table>
|
|
</div>
|
|
<h1>Liste des investigations</h1>
|
|
<div class="paragraph">
|
|
<table>
|
|
<tr>
|
|
<td width="30px"></td>
|
|
<td></td>
|
|
<td></td>
|
|
<td style="word-spacing: 2px;" align="center">
|
|
<input disabled="disabled" type="radio" name="langI1" /><input type="radio" name="langI2" checked="true" />
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
<?php foreach ($this->listeRapport->InvestigationOptions->InvestigationOption as $investigation):?>
|
|
<?php foreach ($investigation->ServiceLevels->ServiceLevel as $service):?>
|
|
<tr id="info">
|
|
<td width="30px"></td>
|
|
<td class="StyleInfoLib" width="250px">
|
|
<img style="cursor:help" title="" class="tooltip" src="/themes/default/images/giant/tag_blue.png" /> - Investigation
|
|
</td>
|
|
<td class="StyleInfoData" width="150px">
|
|
<a href=""><?php echo $service->Name.' ( '.$service->Duration.' '.$service->DurationMetric.' ) ';?></a>
|
|
</td>
|
|
<td align="center" class="StyleInfoData" width="100px">
|
|
<?php foreach ($investigation->LanguageCodes->LanguageCode as $language):?>
|
|
<img src="/themes/default/images/drapeaux/<?php echo $language;?>.png" />
|
|
<?php endforeach;?>
|
|
</td>
|
|
<td class="StyleInfoData" width="300px">
|
|
<a id="r<?php echo $i?>" class="idpr" href="">Commander l'investigation en ligne</a>
|
|
<div id="pr<?php echo $i?>" class="hide" style="display:none;">
|
|
<center><img style="padding-top:30%" src="/themes/default/images/giant/19-1.gif" /></center>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<?php $i++; endforeach;?>
|
|
<?php endforeach;?>
|
|
<?php if($this->debug):?>
|
|
<tr>
|
|
<td width="30px"></td>
|
|
<td colspan="5">
|
|
<?php echo $this->action('identite', 'debug', null, array('resultat'=> $this->listeRapport, 'soap' => $this->soap));?>
|
|
</td>
|
|
</tr>
|
|
<?php endif;?>
|
|
</table>
|
|
</div>
|
|
</div>
|