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>
|
<dt>Montant à amortir</dt>
|
||||||
<dd class="money strong">{{"%f"|math:$solde|money_currency_html:false|raw}}</dd>
|
<dd class="money strong">{{"%f"|math:$solde|money_currency_html:false|raw}}</dd>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{if $valeur_residuelle > 0}}
|
|
||||||
<dt>Montant des amortissements</dt>
|
<dt>Montant des amortissements</dt>
|
||||||
<dd>{{$total_amort|money_currency_html:false|raw}}</dd>
|
<dd>{{$total_amort|money_currency_html:false|raw}}</dd>
|
||||||
<dt>Valeur nette résiduelle</dt>
|
<dt>Valeur nette résiduelle</dt>
|
||||||
<dd>{{$valeur_residuelle|money_currency_html:false|raw}}</dd>
|
<dd>{{$valeur_residuelle|money_currency_html:false|raw}}</dd>
|
||||||
{{/if}}
|
|
||||||
{{if $info_immo.duration != null && $valeur_residuelle > 0}}
|
{{if $info_immo.duration != null && $valeur_residuelle > 0}}
|
||||||
{{:assign annuite="%f/%d"|math:$solde:$info_immo.duration}}
|
{{:assign annuite="%f/%d"|math:$solde:$info_immo.duration}}
|
||||||
<dt>Annuité estimée</dt>
|
<dt>Annuité estimée</dt>
|
||||||
|
|
@ -157,12 +155,12 @@
|
||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{if $valeur_residuelle > 0 || $linked_immos != null}}
|
{{if ! $created_amort || $linked_immos != null}}
|
||||||
<h3 class="ruler">Avoirs</h3>
|
<h3 class="ruler">Avoirs</h3>
|
||||||
|
{{/if}}
|
||||||
|
{{if ! $created_amort}}
|
||||||
<nav class="actions">
|
<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"}}
|
{{: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}}
|
|
||||||
</nav>
|
</nav>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue