2019-11-02 17:53:27 +01:00
|
|
|
{include file="admin/_head.tpl" title="Client — %s"|args:$plugin.nom current="plugin_%s"|args:$plugin.id js=0}
|
|
|
|
{include file="%s/templates/_menu_client.tpl"|args:$plugin_root current="client"}
|
|
|
|
|
2021-12-17 12:10:43 +01:00
|
|
|
<dl class="describe">
|
2019-11-02 17:53:27 +01:00
|
|
|
<dt>Numéro de client</dt>
|
2021-12-17 12:10:43 +01:00
|
|
|
<dd>{$client.id}</dd>
|
|
|
|
|
2019-11-02 17:53:27 +01:00
|
|
|
|
|
|
|
<dt>Nom</dt>
|
2021-12-17 12:10:43 +01:00
|
|
|
<dd>{$client.nom|escape|rtrim|nl2br}
|
|
|
|
|
2019-11-02 17:53:27 +01:00
|
|
|
<dt>Adresse</dt>
|
2021-12-17 12:10:43 +01:00
|
|
|
<dd>{$client.adresse|escape|rtrim|nl2br}</dd>
|
|
|
|
|
2019-11-02 17:53:27 +01:00
|
|
|
<dt>Ville</dt>
|
2021-12-17 12:10:43 +01:00
|
|
|
<dd>{$client.ville|escape|rtrim|nl2br}</dd>
|
|
|
|
|
2019-11-02 17:53:27 +01:00
|
|
|
<dt>Code postal</dt>
|
2021-12-17 12:10:43 +01:00
|
|
|
<dd>{$client.code_postal|escape|rtrim|nl2br}</dd>
|
2019-11-02 17:53:27 +01:00
|
|
|
|
|
|
|
<dt>Adresse électronique</dt>
|
|
|
|
<dd>
|
|
|
|
{if empty($client.email)}
|
|
|
|
<em>(Non renseigné)</em>
|
|
|
|
{else}
|
|
|
|
<a href="mailto:{$client.email|escape:'url'}">{$client.email}</a>
|
|
|
|
{/if}
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt>Numéro de téléphone</dt>
|
|
|
|
<dd>
|
|
|
|
{if empty($client.telephone)}
|
|
|
|
<em>(Non renseigné)</em>
|
|
|
|
{else}
|
|
|
|
<a href="tel:{$client.telephone}">{$client.telephone|format_tel}</a>
|
|
|
|
{/if}
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt>Date d'ajout</dt>
|
2021-04-11 14:25:59 +02:00
|
|
|
<dd>{$client.date_creation|date:'d/m/Y'}</dd>
|
2019-11-02 17:53:27 +01:00
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
{if $docs}
|
|
|
|
<div style="display: block;">
|
|
|
|
<h4>Documents associés</h4>
|
|
|
|
<table class="list">
|
|
|
|
<thead>
|
|
|
|
<td>Type</td>
|
|
|
|
<td>Numéro</td>
|
|
|
|
<td>Emission</td>
|
|
|
|
<td>Echéance</td>
|
|
|
|
<td>Réglée</td>
|
|
|
|
<td>Archivée</td>
|
|
|
|
<td>Moyen paiement</td>
|
|
|
|
<td>Contenu</td>
|
|
|
|
<td>Total</td>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{foreach from=$docs item=facture}
|
|
|
|
<tr>
|
2020-12-29 18:07:26 +01:00
|
|
|
<td>{$f_obj->types[$facture.type_facture]['label'] }</td>
|
2019-11-02 17:53:27 +01:00
|
|
|
<td><a href="{plugin_url file="facture.php"}?id={$facture.id}">{$facture.numero}</a></td>
|
2021-04-11 14:25:59 +02:00
|
|
|
<td>{$facture.date_emission|date:'d/m/Y'}</td>
|
|
|
|
<td>{$facture.date_echeance|date:'d/m/Y'}</td>
|
2019-11-02 17:53:27 +01:00
|
|
|
<td>{$facture.reglee}</td>
|
|
|
|
<td>{$facture.archivee}</td>
|
|
|
|
<td>{$facture.moyen_paiement}</td>
|
|
|
|
<td>
|
|
|
|
{foreach from=$facture.contenu item=contenu}
|
2021-12-17 12:10:43 +01:00
|
|
|
{$contenu.designation} : {$contenu.prix|escape|money_currency}
|
2019-11-02 17:53:27 +01:00
|
|
|
{/foreach}
|
|
|
|
</td>
|
2021-12-17 12:10:43 +01:00
|
|
|
<td>{$facture.total|escape|money_currency}</td>
|
2019-11-02 17:53:27 +01:00
|
|
|
</tr>
|
|
|
|
{/foreach}
|
|
|
|
</tbody>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
{else}
|
|
|
|
<h4>Cet utilisateur n'a pas de document associé.</h4>
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
{include file="admin/_foot.tpl"}
|