Revision 3a476fcc
Von Thomas Heck vor mehr als 10 Jahren hinzugefügt
SL/DB/AuthUser.pm | ||
---|---|---|
8 | 8 |
use SL::DB::Manager::AuthUser; |
9 | 9 |
use SL::DB::Helper::Util; |
10 | 10 |
|
11 |
use constant CONFIG_VARS => qw(copies countrycode dateformat timeformat default_media default_printer_id email favorites fax hide_cvar_search_options mandatory_departments menustyle name |
|
12 |
numberformat show_form_details signature stylesheet taxincluded_checked tel template_format vclimit); |
|
11 |
use constant CONFIG_VARS => qw(copies countrycode dateformat timeformat default_media default_printer_id |
|
12 |
email favorites fax hide_cvar_search_options mandatory_departments menustyle name |
|
13 |
numberformat show_form_details signature stylesheet taxincluded_checked tel |
|
14 |
template_format vclimit focus_position); |
|
13 | 15 |
|
14 | 16 |
__PACKAGE__->meta->add_relationship( |
15 | 17 |
groups => { |
locale/de/all | ||
---|---|---|
1083 | 1083 |
'First 20 Lines' => 'Nur erste 20 Datensätze', |
1084 | 1084 |
'Fix transaction' => 'Buchung korrigieren', |
1085 | 1085 |
'Fix transactions' => 'Buchungen korrigieren', |
1086 |
'Focus position after update' => 'Kursor-Position nach Erneuern', |
|
1086 | 1087 |
'Folgekonto' => 'Folgekonto', |
1087 | 1088 |
'Follow-Up' => 'Wiedervorlage', |
1088 | 1089 |
'Follow-Up Date' => 'Wiedervorlagedatum', |
... | ... | |
1345 | 1346 |
'Last modification' => 'Letzte Änderung', |
1346 | 1347 |
'Last opening balance or all transactions' => 'Letzte Eröffnungsbuchung oder alle Buchungen', |
1347 | 1348 |
'Last opening balance or start of year' => 'Letzte Eröffnungsbuchung oder Jahresanfang', |
1349 |
'Last row, description' => 'Letzte Zeile, Artikelbeschreibung', |
|
1350 |
'Last row, partnumber' => 'Letzte Zeile, Nummer', |
|
1348 | 1351 |
'Last run at' => 'Letzte Ausführung um', |
1349 | 1352 |
'Lastcost' => 'Einkaufspreis', |
1350 | 1353 |
'Lastcost (with X being a number)' => 'Einkaufspreis (X ist eine fortlaufende Zahl)', |
... | ... | |
1479 | 1482 |
'New invoice' => 'Neue Rechnung', |
1480 | 1483 |
'New name' => 'Neuer Name', |
1481 | 1484 |
'New part' => 'Neue Ware', |
1485 |
'New row, description' => 'Neue Zeile, Artikelbeschreibung', |
|
1486 |
'New row, partnumber' => 'Neue Zeile, Nummer', |
|
1482 | 1487 |
'New sales order' => 'Neuer Auftrag', |
1483 | 1488 |
'New service' => 'Neue Dienstleistung', |
1484 | 1489 |
'New shipto' => 'Neue Lieferadresse', |
templates/webpages/am/config.html | ||
---|---|---|
37 | 37 |
<th align="right">[% 'E-mail' | $T8 %]</th> |
38 | 38 |
<td><input name="email" size="30" value="[% HTML.escape(myconfig_email) %]"></td> |
39 | 39 |
</tr> |
40 |
|
|
40 |
|
|
41 | 41 |
<tr valign="top"> |
42 | 42 |
<th align="right">[% 'Signature' | $T8 %]</th> |
43 | 43 |
<td><textarea id="signature" name="signature" class="toggletextarea" rows="5" cols="50">[% HTML.escape(myconfig_signature) %] </textarea> |
44 |
<span id="full_signature" class="toggletextarea"> <textarea readonly name="full_signature" rows="10" cols="50" >[% HTML.escape(full_signature) %]</textarea> </span>
|
|
44 |
<span id="full_signature" class="toggletextarea"> <textarea readonly name="full_signature" rows="10" cols="50" >[% HTML.escape(full_signature) %]</textarea> </span> |
|
45 | 45 |
<a href="#" class="togglelink">[% 'Check full signature' | $T8 %]</a> |
46 | 46 |
<a href="#" id="edit_signature" class="togglelink">[% 'Edit user signature' | $T8 %]</a> |
47 | 47 |
</td> </tr> |
... | ... | |
62 | 62 |
</td> |
63 | 63 |
</tr> |
64 | 64 |
|
65 |
<tr> |
|
66 |
<th align="right">[% 'Focus position after update' | $T8 %]</th> |
|
67 |
<td> |
|
68 |
[% L.select_tag( |
|
69 |
'focus_position', |
|
70 |
[ |
|
71 |
['new_description', LxERP.t8('New row, description')], |
|
72 |
['new_partnumber', LxERP.t8('New row, partnumber')], |
|
73 |
['last_description', LxERP.t8('Last row, description')], |
|
74 |
['last_partnumber', LxERP.t8('Last row, partnumber')], |
|
75 |
], |
|
76 |
default => myconfig_focus_position) |
|
77 |
%] |
|
78 |
</td> |
|
79 |
</tr> |
|
80 |
|
|
65 | 81 |
</table> |
66 | 82 |
</div> |
67 | 83 |
|
... | ... | |
222 | 238 |
</form> |
223 | 239 |
|
224 | 240 |
<script type="text/javascript"> |
225 |
<!--
|
|
241 |
<!-- |
|
226 | 242 |
$(function() { |
227 | 243 |
$("#full_signature").toggle(); |
228 | 244 |
$("#edit_signature").toggle(); |
templates/webpages/oe/sales_order.html | ||
---|---|---|
1 | 1 |
[%- USE T8 %] |
2 | 2 |
[%- USE HTML %] |
3 |
|
|
3 | 4 |
[%- PROCESS 'amcvar/render_inputs_block.html' %] |
4 | 5 |
<tr> |
5 | 6 |
<td> |
... | ... | |
21 | 22 |
[%- END %] |
22 | 23 |
</tr> |
23 | 24 |
[%- FOREACH row = ROWS %] |
24 |
<tr valign="top" class="[% IF row.error %]error_message[% ELSE %]listrow[% loop.count % 2 %][% END %]"> |
|
25 |
<tr valign="top" class="row [% IF row.error %]error_message[% ELSE %]listrow[% loop.count % 2 %][% END %]">
|
|
25 | 26 |
[%- FOREACH row1 = row.ROW1 %] |
26 | 27 |
<td[% IF row1.align %] align="[% row1.align %]"[% END %][% IF row1.nowrap %] nowrap[% END %]>[% row1.value %]</td> |
27 | 28 |
[%- END %] |
... | ... | |
49 | 50 |
[%- END %] |
50 | 51 |
|
51 | 52 |
</table> |
52 |
</td> |
|
53 |
</tr> |
|
54 |
<tr style='display:none'> |
|
55 |
<td> |
|
56 |
<script type='text/javascript'> |
|
57 |
$(document).ready( function(){ $('#display_row tr:gt(1) input[name*="description"]').focus() }); |
|
58 |
</script> |
|
53 |
|
|
54 |
<script type='text/javascript'> |
|
55 |
$(function() { |
|
56 |
setTimeout(function(){ |
|
57 |
[% SWITCH( myconfig_focus_position ) %] |
|
58 |
[% CASE 'last_partnumber' %] |
|
59 |
$('#display_row tr.row:gt(-3):lt(-1) input[name*="partnumber"]').focus(); |
|
60 |
[% CASE 'last_description' %] |
|
61 |
$('#display_row tr.row:gt(-3):lt(-1) input[name*="description"]').focus(); |
|
62 |
[% CASE 'new_partnumber' %] |
|
63 |
$('#display_row tr:gt(1) input[name*="partnumber"]').focus(); |
|
64 |
[% CASE DEFAULT %] |
|
65 |
$('#display_row tr:gt(1) input[name*="description"]').focus(); |
|
66 |
[% END %] |
|
67 |
}, 1); |
|
68 |
}); |
|
69 |
</script> |
|
70 |
|
|
59 | 71 |
</td> |
60 | 72 |
</tr> |
Auch abrufbar als: Unified diff
Focusposition nach Erneuern wählbar gemacht