Suppression documents sans écriture associée
This commit is contained in:
parent
b17a14526e
commit
0e2625e9a2
16
index.html
16
index.html
@ -15,6 +15,20 @@
|
|||||||
<p class="block error">Échec enregistrement immobilisation</p>
|
<p class="block error">Échec enregistrement immobilisation</p>
|
||||||
{{/if}}
|
{{/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}}
|
||||||
|
|
||||||
{{* lister les immobilisations *}}
|
{{* lister les immobilisations *}}
|
||||||
<section class="immobilisation">
|
<section class="immobilisation">
|
||||||
<h2 class="ruler">Liste des immobilisations</h2>
|
<h2 class="ruler">Liste des immobilisations</h2>
|
||||||
@ -78,7 +92,7 @@
|
|||||||
<td class="actions">
|
<td class="actions">
|
||||||
{{if $duration == null}}
|
{{if $duration == null}}
|
||||||
{{:linkbutton
|
{{:linkbutton
|
||||||
label="Ajouter durée"
|
label="Ajouter infos"
|
||||||
href="add_duration.html?immo_id=%s"|args:$immo_id
|
href="add_duration.html?immo_id=%s"|args:$immo_id
|
||||||
shape="help"
|
shape="help"
|
||||||
target="_dialog"
|
target="_dialog"
|
||||||
|
Loading…
Reference in New Issue
Block a user