diff --git a/_archives.html b/_archives.html
index 671ceb4..9252b3b 100644
--- a/_archives.html
+++ b/_archives.html
@@ -51,6 +51,7 @@
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,
@@ -149,7 +150,7 @@
#{{$trans_id}} |
{{$trans_date|date_short}} |
{{$exit_date|date_short}} |
- {{$trans_label}} |
+ {{$trans_label}}{{if $line_label != null}} — {{$line_label}}{{/if}} |
{{"%f"|math:$montant_immo|money_html:false|raw}} |
{{$account_code}} |
{{$account_label}} |
diff --git a/_immobilisations.html b/_immobilisations.html
index f26b23f..fc44739 100644
--- a/_immobilisations.html
+++ b/_immobilisations.html
@@ -54,6 +54,7 @@
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
@@ -167,19 +168,21 @@
| #{{$immo_trans_id}} |
{{$trans_date|date_short}} |
- {{$trans_label}} |
+ {{$trans_label}}{{if $line_label != null}} — {{$line_label}}{{/if}} |
{{$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}} |
- {{: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 ! $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="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 6ebb556..8d82edf 100644
--- a/_immobilisations_autres.html
+++ b/_immobilisations_autres.html
@@ -75,6 +75,7 @@
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,
@@ -154,7 +155,7 @@
|
| #{{$trans_id}} |
{{$trans_date|date_short}} |
- {{$trans_label}} |
+ {{$trans_label}}{{if $line_label != null}} — {{$line_label}}{{/if}} |
{{"%f"|math:$debit|money_html:false|raw}} |
{{$account_code}} |
{{$account_label}} |
@@ -165,11 +166,6 @@
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 a7894b5..2192b2e 100644
--- a/_nav.html
+++ b/_nav.html
@@ -3,7 +3,7 @@