20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
<col width="50%" />
<col width="10%" />
<col width="10%" />
<col width="10%" />
</colgroup>
<thead>
<tr>
<td>Réf.</td>
<td>Réf. ligne</td>
<td>Date</td>
<th>Intitulé</th>
<td class="money">Débit</td>
<td class="money">Crédit</td>
<td class="money">Solde</td>
</tr>
</thead>
<tbody>
{foreach from=$account.lines item="line"}
<tr>
<td class="num"><a href="{$admin_url}acc/transactions/details.php?id={$line.id}">{if $line.reference}{$line.reference}{else}#{$line.id}{/if}</a></td>
<td class="num">{$line.line_reference}</td>
<td>{$line.date|date_short}</td>
<th>{$line.label}{if $line.line_label} <em>({$line.line_label})</em>{/if}</th>
<td class="money">{$line.debit|raw|html_money}</td>
<td class="money">{$line.credit|raw|html_money}</td>
<td class="money">{$line.running_sum|raw|html_money:false}</td>
</tr>
{/foreach}
</tbody>
<tfoot>
<tr>
<td colspan="3"></td>
<th>Solde final</th>
<td class="money">{$account.debit|raw|html_money}</td>
<td class="money">{$account.credit|raw|html_money}</td>
<td class="money">{$account.sum|raw|html_money:false}</td>
</tr>
</tfoot>
</table>
|
|
>
|
>
|
|
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
<col width="50%" />
<col width="10%" />
<col width="10%" />
<col width="10%" />
</colgroup>
<thead>
<tr>
<td></td>
<td>N° pièce</td>
<td>Réf. ligne</td>
<td>Date</td>
<th>Intitulé</th>
<td class="money">Débit</td>
<td class="money">Crédit</td>
<td class="money">Solde</td>
</tr>
</thead>
<tbody>
{foreach from=$account.lines item="line"}
<tr>
<td class="num"><a href="{$admin_url}acc/transactions/details.php?id={$line.id}">#{$line.id}</a></td>
<td class="num">{$line.reference}</td>
<td class="num">{$line.line_reference}</td>
<td>{$line.date|date_short}</td>
<th>{$line.label}{if $line.line_label} <em>({$line.line_label})</em>{/if}</th>
<td class="money">{$line.debit|raw|html_money}</td>
<td class="money">{$line.credit|raw|html_money}</td>
<td class="money">{$line.running_sum|raw|html_money:false}</td>
</tr>
{/foreach}
</tbody>
<tfoot>
<tr>
<td colspan="4"></td>
<th>Solde final</th>
<td class="money">{$account.debit|raw|html_money}</td>
<td class="money">{$account.credit|raw|html_money}</td>
<td class="money">{$account.sum|raw|html_money:false}</td>
</tr>
</tfoot>
</table>
|