127 lines
5.8 KiB
PHTML
127 lines
5.8 KiB
PHTML
<div id="center">
|
|
<!--<span style="float:left;margin-left:6px;">
|
|
<a style="color:#9C093A;cursor:help;" class="tooltip" title="<?php echo htmlentities($this->listeCommandes);?>">Total commande : <?php echo $this->total; ?> euros</a>
|
|
</span>!-->
|
|
<span style="color:#9C093A;margin-right:5px;float: right;">
|
|
<a style="cursor:help;" class="tooltip" title="<?php echo htmlentities($this->modification);?>">Dernières modifications au <?php echo date('d/m/Y'); ?></a>
|
|
</span>
|
|
<h1>Identite<img style="margin-top:4px;float:right" src="/themes/default/images/giant/expanded.gif" ></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>
|
|
<tr id="info">
|
|
<td width="30px"></td>
|
|
<td valign="top" class="StyleInfoLib" width="250px">Téléphone</td>
|
|
<td class="StyleInfoData" width="300px"><?php echo $this->telephone;?></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<?php if(!empty($this->listeRapport)):?>
|
|
<h1>Liste des rapports<img style="margin-top:4px;float:right" src="/themes/default/images/giant/expanded.gif" ></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="400px">
|
|
<img style="cursor:help" title="<?php echo htmlentities($this->description->Full);?>" class="tooltip" src="/themes/default/images/giant/tag_blue.png" /> - Rapport de Type <?php echo $rapport->DataSetType->_?>
|
|
</td>
|
|
<!--<td class="StyleInfoData" width="150px">15€<?php /*@TODO reste a deteminer les données BDD ou fichier.*/ ?></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/<?php echo strtolower($rapport->DataSetType->_)?>/Pays/<?php echo $this->Pays; ?>/Type/<?php echo $rapport->DataSetType->_?>/CompanyId/<?php echo $this->CompanyId;?>/Language/en<?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>
|
|
<?php endif; ?>
|
|
<?php if(!empty($this->listeRapport->InvestigationOptions)): ?>
|
|
<h1>Liste des investigations<img style="margin-top:4px;float:right" src="/themes/default/images/giant/expanded.gif" ></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="460px">
|
|
<img style="cursor:help" title="" class="tooltip" src="/themes/default/images/giant/tag_blue.png" /> - Investigation <?php echo $service->Name.' ( '.$service->Duration.' '.$service->DurationMetric.' ) ';?>
|
|
</td>
|
|
<!--<td class="StyleInfoData" width="150px">
|
|
150€ <?php /*@TODO reste a deteminer les données BDD ou fichier.*/ ?>
|
|
</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</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>
|
|
<?php endif;?>
|
|
</div>
|