Die Detailanzeige klappt jetzt nicht mehr beim Erneuern auf/zu.
Fixed Bug 2409.
shiptoname shiptostreet shiptozipcode shiptocity shiptocountry shiptocontact shiptophone shiptofax
shiptoemail shiptodepartment_1 shiptodepartment_2 shiptocp_gender message email subject cc bcc taxaccounts cursor_fokus
convert_from_do_ids convert_from_oe_ids
+ show_details
), @custom_hiddens,
map { $_.'_rate', $_.'_description', $_.'_taxnumber' } split / /, $form->{taxaccounts}];
max_dunning_level dunning_amount shiptoname shiptostreet shiptozipcode
shiptocity shiptocountry shiptocontact shiptophone shiptofax
shiptodepartment_1 shiptodepartment_2 shiptoemail shiptocp_gender
- message email subject cc bcc taxpart taxservice taxaccounts cursor_fokus),
+ message email subject cc bcc taxpart taxservice taxaccounts cursor_fokus
+ show_details),
@custom_hiddens,
map { $_.'_rate', $_.'_description', $_.'_taxnumber' } split / /, $form->{taxaccounts} ]; # deleted: discount
<input type="hidden" name="shiptostreet" value="[% HTML.escape(shiptostreet) %]">
<input type="hidden" name="shiptozipcode" value="[% HTML.escape(shiptozipcode) %]">
<input type="hidden" name="shiptocp_gender" value="[% HTML.escape(shiptocp_gender) %]">
+ <input type="hidden" name="show_details" value="[% HTML.escape(show_details) %]">
<input type="hidden" name="subject" value="[% HTML.escape(subject) %]">
<input type="hidden" name="taxincluded" value="[% HTML.escape(taxincluded) %]">
<input type="hidden" name="taxzone_id" value="[% HTML.escape(taxzone_id) %]">
[%- 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 blubb' | $T8 %]'>
<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">