'Hide Filter' => 'Filter verbergen',
'Hide by default' => 'Standardmäßig verstecken',
'Hide chart details' => 'Konteninformation verstecken',
+ 'Hide details' => 'Details verbergen',
'Hide help text' => 'Hilfetext verbergen',
'Hide settings' => 'Einstellungen verbergen',
'Hints' => 'Hinweise',
'Show delete button in sales orders?' => 'Soll der "Löschen"-Knopf bei Kundenaufträgen angezeigt werden?',
'Show delivery plan' => 'Lieferplan anzeigen',
'Show delivery value report' => 'Lieferwertbericht anzeigen',
- 'Show details' => 'Detailsanzeige',
+ 'Show details' => 'Details anzeigen',
'Show details and reports of parts, services, assemblies' => 'Details und Berichte von Waren, Dienstleistungen und Erzeugnissen anzeigen',
'Show fields used for the best before date?' => 'Felder zur Eingabe des Mindesthaltbarkeitsdatums anzeigen?',
'Show follow ups...' => 'Zeige Wiedervorlagen...',
</form>
<p id="nodetails">
- <a href="#" onclick="$('#details,#nodetails').toggle();">[% LxERP.t8('Toggle details') %]</a>
+ <a href="#" onclick="$('#details,#nodetails').toggle();">[% LxERP.t8('Show details') %]</a>
</p>
<div id="details" style="display: none;">
<p>
- <a href="#" onclick="$('#details,#nodetails').toggle();">[% LxERP.t8('Toggle details') %]</a>
+ <a href="#" onclick="$('#details,#nodetails').toggle();">[% LxERP.t8('Hide details') %]</a>
</p>
<p>
[%- PROCESS 'amcvar/render_inputs_block.html' %]
<tr>
<td>
- <input type="button" id="cb_show_details" name="show_details_button" value='[% 'Show details' | $T8 %]'>
+ <input type="button" id="cb_show_details" name="show_details_button" value='[% 'Show details' | $T8 %]'[% IF show_details %] style="display:none"[% END %]>
+ <input type="button" id="cb_hide_details" name="hide_details_button" value='[% 'Hide details' | $T8 %]'[% IF !show_details %] style="display:none"[% END %]>
<script type="text/javascript">
- $('#cb_show_details').click(function(){ $('[id^="row2"]').toggle();
- if ( $('[id^="row2"]').is(":visible") ) {
- $("[name='show_details']").val(1);
- } else {
- $("[name='show_details']").val(0);
- }});
+ $('#cb_show_details,#cb_hide_details').click(function(){
+ $('[id^="row2"],#cb_show_details,#cb_hide_details').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">