{{* -*- brindille -*- *}} {{:admin_header title="Gestion des amortissements" custom_css="./style.css" current="module_amortissement"}} {{* barre de navigation *}} {{if $_GET.amort == null}} {{:assign amort="amort"}} {{else}} {{:assign amort=$_GET.amort}} {{/if}} {{:include file="_nav.html" current="index" subcurrent="%s"|args:$amort}} {{if $_GET.ok}} {{if $_GET.msg|match:"immobilisation"}} {{:assign msg="Immobilisation enregistrée"}} {{elseif $_GET.msg|match:"infos"}} {{:assign msg="Informations enregistrées"}} {{/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}} {{if $amort == "no_amort"}} {{:include file="./immobilisations_non.html"}} {{else}} {{:include file="./immobilisations.html"}} {{/if}} {{:admin_footer}}