Amélioration présentation
This commit is contained in:
parent
401aac686b
commit
62692ef550
2 changed files with 8 additions and 10 deletions
|
|
@ -104,9 +104,9 @@
|
|||
{{/select}}
|
||||
{{/load}}
|
||||
|
||||
{{if $_GET.type_immo == null || $_GET.type_immo != "amortized"}}
|
||||
{{* Chercher des amortissements non rattachés à une immo *}}
|
||||
{{:assign autres_amortissements=false}}
|
||||
{{if $valeur_residuelle > 0}}
|
||||
{{* Chercher des amortissements non rattachés à une immo *}}
|
||||
{{#select
|
||||
line.id as amort_line_id,
|
||||
line.id_transaction AS amort_trans_id
|
||||
|
|
@ -267,13 +267,11 @@
|
|||
<p class="block alert">Aucun amortissement enregistré pour cette immobilisation</p>
|
||||
{{/if}}
|
||||
|
||||
{{if $_GET.type_immo == null || $_GET.type_immo != "amortized"}}
|
||||
{{if $autres_amortissements}}
|
||||
<p class="block alert">
|
||||
Il y a des écritures d'amortissement qui ne sont pas rattachées à une immobilisation ! <br />
|
||||
Utilisez le bouton « Rattacher un amortissement » pour les afficher ; vous pourrez choisir d'en attacher certaines à cette immobilisation.
|
||||
</p>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{:form_errors}}
|
||||
{{:admin_footer}}
|
||||
|
|
|
|||
|
|
@ -158,7 +158,7 @@
|
|||
<form method="post" action="" data-focus="1">
|
||||
<fieldset>
|
||||
<dl>
|
||||
{{:input type="money" name="montant" label="Montant" default=$reste help="Montant de l'amortissement"}}
|
||||
{{:input type="money" name="montant" label="Montant" default=$reste required=true help="Montant de l'amortissement"}}
|
||||
</dl>
|
||||
</fieldset>
|
||||
<p class="submit">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue