Revision d366e429
Von Thomas Heck vor etwa 11 Jahren hinzugefügt
js/locale/de.js | ||
---|---|---|
2 | 2 |
"Add linked record":"Verknüpften Beleg hinzufügen", |
3 | 3 |
"Are you sure?":"Sind Sie sicher?", |
4 | 4 |
"Database Connection Test":"Test der Datenbankverbindung", |
5 |
"Do you want to set the account number \"#1\" to \"#2\" and the name \"#3\" to \"#4\"?":"Soll die Kontonummer \"#1\" zu \"#2\" und den Name \"#3\" zu \"#4\" geändert werden?", |
|
5 | 6 |
"Map":"Karte", |
6 | 7 |
"Part picker":"Artikelauswahl", |
7 | 8 |
"The description is missing.":"Die Beschreibung fehlt.", |
locale/de/all | ||
---|---|---|
716 | 716 |
'Do you really want to delete this warehouse?' => 'Wollen Sie dieses Lager wirklich löschen?', |
717 | 717 |
'Do you want to <b>limit</b> your search?' => 'Wollen Sie Ihre Suche <b>spezialisieren</b>?', |
718 | 718 |
'Do you want to carry this shipping address over to the new purchase order so that the vendor can deliver the goods directly to your customer?' => 'Wollen Sie diese Lieferadresse in den neuen Lieferantenauftrag übernehmen, damit der Händler die Waren direkt an Ihren Kunden liefern kann?', |
719 |
'Do you want to set the account number "#1" to "#2" and the name "#3" to "#4"?' => 'Soll die Kontonummer "#1" zu "#2" und den Name "#3" zu "#4" geändert werden?', |
|
719 | 720 |
'Do you want to store the existing onhand values into a new warehouse?' => 'Möchten Sie die vorhandenen Mengendaten in ein Lager übertragen?', |
720 | 721 |
'Document' => 'Dokument', |
721 | 722 |
'Document Project Number' => 'Projektnummer des Belegs', |
templates/webpages/am/edit_accounts.html | ||
---|---|---|
41 | 41 |
<label> |
42 | 42 |
[% 'Account Number' | $T8 %] |
43 | 43 |
</label></td> |
44 |
<td><input name="accno" size="20" value="[% HTML.escape(accno) %]"></td> |
|
44 |
<td><input id="accno" name="accno" size="20" value="[% HTML.escape(accno) %]"></td>
|
|
45 | 45 |
</tr> |
46 | 46 |
<tr> |
47 | 47 |
<td> |
... | ... | |
49 | 49 |
[% 'Description' | $T8 %] |
50 | 50 |
</label> |
51 | 51 |
</td> |
52 |
<td><input name="description" size="40" value="[% HTML.escape(description) %]"></td> |
|
52 |
<td><input id="description" name="description" size="40" value="[% HTML.escape(description) %]"></td>
|
|
53 | 53 |
</tr> |
54 | 54 |
<tr> |
55 | 55 |
<td> |
... | ... | |
275 | 275 |
[% END %] |
276 | 276 |
</fieldset> |
277 | 277 |
<hr size="3" noshade> |
278 |
|
|
279 |
<script type="text/javascript"> |
|
280 |
function callback_save() { |
|
281 |
var prev_desc = "[% description | html %]"; |
|
282 |
var prev_accno = "[% accno | html %]"; |
|
283 |
var cur_desc = $("#description").val(); |
|
284 |
var cur_accno = $("#accno").val(); |
|
285 |
|
|
286 |
if ( prev_desc != cur_desc || prev_accno != cur_accno ) |
|
287 |
return confirm(kivi.t8("Do you want to set the account number \"#1\" to \"#2\" and the name \"#3\" to \"#4\"?", [prev_accno, cur_accno, prev_desc, cur_desc])); |
|
288 |
else |
|
289 |
return true; |
|
290 |
} |
|
291 |
</script> |
templates/webpages/am/form_footer.html | ||
---|---|---|
5 | 5 |
[% L.hidden_tag('callback', callback) %] |
6 | 6 |
|
7 | 7 |
<br> |
8 |
[%- IF show_save %][% L.submit_tag('action', LxERP.t8('Save')) %][% END %] |
|
8 |
[%- IF show_save %][% L.submit_tag('action', LxERP.t8('Save'), onclick = 'if ( typeof(callback_save) === "function" ) return callback_save(); ') %][% END %]
|
|
9 | 9 |
[%- IF show_delete %][% L.submit_tag('action', LxERP.t8('Delete')) %][% END %] |
10 | 10 |
[%- IF show_save_as_new %][% L.submit_tag('action', LxERP.t8('Save as new')) %][% END %] |
11 | 11 |
|
Auch abrufbar als: Unified diff
Confirm bei geänderter/m Kontonummer/-namen
fixt #2319