diff --git a/_archives.html b/_archives.html index 9252b3b..671ceb4 100644 --- a/_archives.html +++ b/_archives.html @@ -51,7 +51,6 @@ trans.date as trans_date, trans.id_year as trans_id_year, line.id as immo_id, - line.label as line_label, line.debit AS debit, account.id as account_id, account.code as account_code, @@ -150,7 +149,7 @@ #{{$trans_id}} {{$trans_date|date_short}} {{$exit_date|date_short}} - {{$trans_label}}{{if $line_label != null}} — {{$line_label}}{{/if}} + {{$trans_label}} {{"%f"|math:$montant_immo|money_html:false|raw}} {{$account_code}} {{$account_label}} diff --git a/_immobilisations.html b/_immobilisations.html index fc44739..f26b23f 100644 --- a/_immobilisations.html +++ b/_immobilisations.html @@ -54,7 +54,6 @@ trans.date as trans_date, line.id as immo_line_id, line.debit AS debit, - line.label AS line_label, account.id as account_id, account.code as account_code, trans.id_year as trans_id_year @@ -168,21 +167,19 @@ #{{$immo_trans_id}} {{$trans_date|date_short}} - {{$trans_label}}{{if $line_label != null}} — {{$line_label}}{{/if}} + {{$trans_label}} {{$montant_immo|money_html:false|raw}} {{if $duration != null}}{{$duration}}{{/if}} {{$amort_amount|money_html:false|raw}} {{"%d-%d"|math:$montant_immo:$amort_amount|money_html:false|raw}} {{$account_code}} - {{if ! $exist_amort || $status == "unknown"}} - {{:linkbutton - label="Paramètres" - href="add_infos.html?immo_id=%s&type_immo=%s"|args:$immo_line_id:$type_immo - shape="settings" - target="_dialog" - }} - {{/if}} + {{:linkbutton + label="Paramètres" + href="add_infos.html?immo_id=%s&type_immo=%s"|args:$immo_line_id:$type_immo + shape="settings" + target="_dialog" + }} {{:linkbutton label="Amortissements" href="amortization.html?immo_id=%s&type_immo=%s"|args:$immo_line_id:$type_immo diff --git a/_immobilisations_autres.html b/_immobilisations_autres.html index 8d82edf..6ebb556 100644 --- a/_immobilisations_autres.html +++ b/_immobilisations_autres.html @@ -75,7 +75,6 @@ trans.label as trans_label, trans.date as trans_date, line.id as immo_id, - line.label as line_label, account.id as account_id, account.code as account_code, account.label as account_label, @@ -155,7 +154,7 @@ #{{$trans_id}} {{$trans_date|date_short}} - {{$trans_label}}{{if $line_label != null}} — {{$line_label}}{{/if}} + {{$trans_label}} {{"%f"|math:$debit|money_html:false|raw}} {{$account_code}} {{$account_label}} @@ -166,6 +165,11 @@ shape="settings" target="_dialog" }} + {{:linkbutton + label="Amortissements" + href="amortization.html?immo_id=%s&type_immo=other"|args:$immo_id + shape="table" + }} {{/select}} diff --git a/_nav.html b/_nav.html index 2192b2e..a7894b5 100644 --- a/_nav.html +++ b/_nav.html @@ -3,7 +3,7 @@