Modification présentation totaux (fin tableau)
This commit is contained in:
parent
018ee5583c
commit
a9fdb1a195
5 changed files with 112 additions and 77 deletions
|
|
@ -146,23 +146,35 @@
|
|||
</tr>
|
||||
{{/select}}
|
||||
</tbody>
|
||||
<tfoot>
|
||||
{{if $total_immo != 0}}
|
||||
{{#foreach from=$sommes_immo|ksort key="code" item="value"}}
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td>Total du compte {{$code}}</td>
|
||||
<td class="money">{{$value|money}}</td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td class="actions"></td>
|
||||
</tr>
|
||||
{{/foreach}}
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td>Total des immobilisations</td>
|
||||
<td class="money"><span class="strong">{{$total_immo|money}}</span></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td class="actions"></td>
|
||||
</tr>
|
||||
{{/if}}
|
||||
</tfoot>
|
||||
</table>
|
||||
{{if $nb_immo == 0}}
|
||||
<p class="block alert">Aucune immobilisation</p>
|
||||
{{else}}
|
||||
<aside class="describe totals">
|
||||
<h3 class="ruler">Totaux</h3>
|
||||
{{if $total_immo != 0}}
|
||||
<dl class="describe">
|
||||
{{#foreach from=$sommes_immo|ksort key="code" item="value"}}
|
||||
<dt>Total du compte {{$code}}</dt>
|
||||
<dd>{{$value|money}}
|
||||
{{/foreach}}
|
||||
<dt>Montant total des immobilisations</dt>
|
||||
<dd><span class="strong">{{$total_immo|money}}</span></dd>
|
||||
</dl>
|
||||
{{/if}}
|
||||
</aside>
|
||||
{{/if}}
|
||||
</section>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue