projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bugfix: CVar Accessor war falsch gesetzt
[kivitendo-erp.git]
/
templates
/
webpages
/
oe
/
sales_order.html
diff --git
a/templates/webpages/oe/sales_order.html
b/templates/webpages/oe/sales_order.html
index
c16dc11
..
1c30108
100644
(file)
--- a/
templates/webpages/oe/sales_order.html
+++ b/
templates/webpages/oe/sales_order.html
@@
-3,9
+3,14
@@
[%- PROCESS 'amcvar/render_inputs_block.html' %]
<tr>
<td>
[%- PROCESS 'amcvar/render_inputs_block.html' %]
<tr>
<td>
- <input type="button" id="cb_show_details" name="show_details" value='[% 'Show details' | $T8 %]'>
+ <input type="button" id="cb_show_details" name="show_details
_button
" value='[% 'Show details' | $T8 %]'>
<script type="text/javascript">
<script type="text/javascript">
- $('#cb_show_details').click(function(){ $('[id^="row2"]').toggle() });
+ $('#cb_show_details').click(function(){ $('[id^="row2"]').toggle();
+ if ( $('[id^="row2"]').is(":visible") ) {
+ $("[name='show_details']").val(1);
+ } else {
+ $("[name='show_details']").val(0);
+ }});
</script>
<table id='display_row' width="100%">
<tr class="listheading">
</script>
<table id='display_row' width="100%">
<tr class="listheading">