Correction erreur propriété
This commit is contained in:
parent
1961431942
commit
8bbd0b8101
1 changed files with 10 additions and 3 deletions
|
|
@ -316,12 +316,19 @@
|
||||||
<td class="num">{{if $transactions|count > 0}}{{"Oui"}}{{/if}}</td>
|
<td class="num">{{if $transactions|count > 0}}{{"Oui"}}{{/if}}</td>
|
||||||
<td class="actions">
|
<td class="actions">
|
||||||
{{if $current != "archives"}}
|
{{if $current != "archives"}}
|
||||||
|
{{if $direction == "output" && $type_mvt == "retour"}}
|
||||||
|
{{:assign prop = 0}}
|
||||||
|
{{elseif $direction == "input" && $type_mvt == "temporaire"}}
|
||||||
|
{{:assign prop = 0}}
|
||||||
|
{{else}}
|
||||||
|
{{:assign prop = 1}}
|
||||||
|
{{/if}}
|
||||||
{{if $direction == "output" && $type_mvt == "temporaire"}}
|
{{if $direction == "output" && $type_mvt == "temporaire"}}
|
||||||
{{:assign var="temp_ext" from="reste.%s"|args:$key}}
|
{{:assign var="temp_ext" from="reste.%s"|args:$key}}
|
||||||
{{if $temp_ext != null && $temp_ext > 0}}
|
{{if $temp_ext != null && $temp_ext > 0}}
|
||||||
{{:linkbutton
|
{{:linkbutton
|
||||||
label="Retour"
|
label="Retour"
|
||||||
href="movements/output_return.html?key=%s&prop=%s"|args:$key:$selected_prop
|
href="movements/output_return.html?key=%s&prop=%s"|args:$key:$prop
|
||||||
shape="reset"
|
shape="reset"
|
||||||
target="_dialog"}}
|
target="_dialog"}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
@ -331,14 +338,14 @@
|
||||||
{{if $temp_in != null && $temp_in > 0}}
|
{{if $temp_in != null && $temp_in > 0}}
|
||||||
{{:linkbutton
|
{{:linkbutton
|
||||||
label="Retour"
|
label="Retour"
|
||||||
href="movements/input_return.html?key=%s&prop=%s"|args:$key:$selected_prop
|
href="movements/input_return.html?key=%s&prop=%s"|args:$key:$prop
|
||||||
shape="reset"
|
shape="reset"
|
||||||
target="_dialog"}}
|
target="_dialog"}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{:linkbutton
|
{{:linkbutton
|
||||||
label="Détails"
|
label="Détails"
|
||||||
href="movements/movement_details.html?key=%s&prop=%s&from=eh"|args:$key:$selected_prop
|
href="movements/movement_details.html?key=%s&prop=%s&from=eh"|args:$key:$prop
|
||||||
shape="eye"
|
shape="eye"
|
||||||
}}
|
}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue