paniers/public_html_admin/templates/livraisons/prints/livraison_print_emargement.tpl

49 lines
2.1 KiB
Smarty

<head>
{foreach from=$cssFiles item=file}
<link href="{$file}" rel="stylesheet" media="all">
{/foreach}
</head>
<body class="printLivraison" orientation="{$orientation}">
<!-- PANIERS -->
<div class="formLivraison">
<table class="printHeader">
<tr>
<th class="titre">
LIVRAISON {$infos.paniers_groupe_nom|upper}<br/>
{$infos.date_long_print}
</th>
<th class="page">FEUILLE D'EMARGEMENT{if $lieu_ref>0}<br/>{$lieu_nom}{/if}</th>
<th class="logo"><img src="{$logo}"></th>
</tr>
</table>
<table class="emargement">
<thead>
<tr>
<th class="nom">NOM</th>
<th class="tel center">TELEPHONE</th>
<th class="type center">TYPE DE PANIER</th>
<th class="nb_paniers center">PANIERS DISTRIBUES</th>
<th class="complement center">COMPLEMENT<br/>A REGLER</th>
<th class="complement center">COMPLEMENT<br/>DU JOUR</th>
<th class="complement center">COMPLEMENT<br/>REGLE CE JOUR</th>
<th class="signature center">SIGNATURE</th>
</tr>
</thead>
<tbody>
{foreach from=$emargement_list item=c}
<tr class="contrat{if !$c.present} absent{/if}">
<td class="nom">{$c.client_prenom} {$c.client_nom}</td>
<td class="tel center">{$c.client_tel}</td>
<td class="type center">{$c.panier_type_nom}</td>
<td class="nb_paniers center">{$c.nb_paniers_livres} / {$c.nb_paniers}</td>
<td class="complement center">{$c.complement_du}</td>
<td class="complement center">{$c.complement}</td>
<td class="complement center">{$c.complement_regle}</td>
<td class="signature center">{if !$c.present}ABSENT{/if}</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
</body>