Amélioration affichage liste avoirs
This commit is contained in:
parent
3bcd6bcdc8
commit
0511f22c44
1 changed files with 8 additions and 10 deletions
|
|
@ -139,12 +139,10 @@
|
|||
<dt>Montant à amortir</dt>
|
||||
<dd class="money strong">{{"%f"|math:$solde|money_currency_html:false|raw}}</dd>
|
||||
{{/if}}
|
||||
{{if $valeur_residuelle > 0}}
|
||||
<dt>Montant des amortissements</dt>
|
||||
<dd>{{$total_amort|money_currency_html:false|raw}}</dd>
|
||||
<dt>Valeur nette résiduelle</dt>
|
||||
<dd>{{$valeur_residuelle|money_currency_html:false|raw}}</dd>
|
||||
{{/if}}
|
||||
<dt>Montant des amortissements</dt>
|
||||
<dd>{{$total_amort|money_currency_html:false|raw}}</dd>
|
||||
<dt>Valeur nette résiduelle</dt>
|
||||
<dd>{{$valeur_residuelle|money_currency_html:false|raw}}</dd>
|
||||
{{if $info_immo.duration != null && $valeur_residuelle > 0}}
|
||||
{{:assign annuite="%f/%d"|math:$solde:$info_immo.duration}}
|
||||
<dt>Annuité estimée</dt>
|
||||
|
|
@ -157,12 +155,12 @@
|
|||
</dl>
|
||||
</div>
|
||||
|
||||
{{if $valeur_residuelle > 0 || $linked_immos != null}}
|
||||
{{if ! $created_amort || $linked_immos != null}}
|
||||
<h3 class="ruler">Avoirs</h3>
|
||||
{{/if}}
|
||||
{{if ! $created_amort}}
|
||||
<nav class="actions">
|
||||
{{if $total_amort == 0 || ! $created_amort}}
|
||||
{{:linkbutton label="Attacher une écriture d'avoir" href="link_immo.html?immo_doc_id=%s&filter=true"|args:$_GET.immo_doc_id shape="link" target="_dialog"}}
|
||||
{{/if}}
|
||||
{{:linkbutton label="Attacher une écriture d'avoir" href="link_immo.html?immo_doc_id=%s&filter=true"|args:$_GET.immo_doc_id shape="link" target="_dialog"}}
|
||||
</nav>
|
||||
{{/if}}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue