{{* -*- brindille -*- *}} {{:admin_header title="Gestion des amortissements" custom_css=$custom_css current="module_amortissement"}} {{* barre de navigation *}} {{:include file="_nav.html" current="index"}} {{if $_GET.ok}} {{if $_GET.msg|match:"immobilisation"}} {{:assign msg="Immobilisation enregistrée"}} {{elseif $_GET.msg|match:"durée"}} {{:assign msg="Durée enregistrée"}} {{/if}}
{{$msg}}
{{elseif $_GET.err}}Échec enregistrement immobilisation
{{/if}} {{* supprimer les documents sans écriture associée *}} {{#load type="immo"}} {{#select line.id as line_id FROM acc_transactions_lines as line INNER JOIN acc_transactions AS trans on line.id_transaction = trans.id WHERE line.id = :line_id; :line_id = $line }} {{else}} {{:delete key=$key}} {{/select}} {{/load}}N° | Date | Libellé | Montant | Durée | N° compte | Compte | Projet | |
---|---|---|---|---|---|---|---|---|
#{{$trans_id}} | {{$trans_date|date_short}} | {{$trans_label}} | {{"%f"|math:$debit|money}} | {{if $duration != null}}{{$duration}}{{/if}} | {{$account_code}} | {{$account_label}} | {{$project_label}} | {{if $duration == null}} {{:linkbutton label="Ajouter infos" href="add_duration.html?immo_id=%s"|args:$immo_id shape="help" target="_dialog" }} {{else}} {{:linkbutton label="Amortissements" href="amortization.html?immo_id=%s"|args:$immo_id shape="table" }} {{/if}} |