Correction message erreur non affiché
This commit is contained in:
parent
4c95e1e24c
commit
b8ae97b10a
1 changed files with 5 additions and 9 deletions
|
|
@ -70,6 +70,7 @@
|
|||
{{/select}}
|
||||
|
||||
{{* lignes de l'écriture de sortie *}}
|
||||
{{:assign exit_amort=0}}
|
||||
{{#select
|
||||
line.label as line_label,
|
||||
line.credit,
|
||||
|
|
@ -85,15 +86,10 @@
|
|||
assign="trans"
|
||||
}}
|
||||
{{:assign var="exit_trans.%s"|args:$account_code value=$trans}}
|
||||
{{/select}}
|
||||
|
||||
{{:assign acc_codes=$exit_trans|keys}}
|
||||
{{#foreach from=$linked_amort}}
|
||||
{{if $account_code|in:$acc_codes}}
|
||||
{{:assign var="exit_amort" from="exit_trans.%s.debit"|args:$account_code}}
|
||||
{{:break}}
|
||||
{{if $account_code|strpos:"28" === 0}}
|
||||
{{:assign exit_amort="%d+%d"|math:$exit_amort:$debit}}
|
||||
{{/if}}
|
||||
{{/foreach}}
|
||||
{{/select}}
|
||||
|
||||
{{if $exit_amort != $total_amort}}
|
||||
{{:assign exit_amort_display=$exit_amort|money_currency:false|replace:" ":" "}}
|
||||
|
|
@ -313,7 +309,7 @@
|
|||
{{if $exit_lines}}
|
||||
<nav class="actions">
|
||||
{{:linkbutton
|
||||
label="Attacher une écriture sortie de bilan"
|
||||
label="Attacher une écriture de sortie de bilan"
|
||||
href="list_exit.html?immo_doc_id=%s&filter=true&from=%s"|args:$_GET.immo_doc_id:$_GET.from shape="link"
|
||||
target="_dialog"}}
|
||||
</nav>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue