Revision dfa741a1
Von Moritz Bunkus vor fast 8 Jahren hinzugefügt
js/kivi.SalesPurchase.js | ||
---|---|---|
286 | 286 |
|
287 | 287 |
return true; |
288 | 288 |
}; |
289 |
|
|
290 |
// Printing records. |
|
291 |
this.setup_print_dialog = function() { |
|
292 |
kivi.SalesPurchase.show_all_print_options_elements(); |
|
293 |
|
|
294 |
$('#print_options').children().remove().appendTo('#print_dialog_print_options'); |
|
295 |
|
|
296 |
$('#print_dialog_print_button').focus(); |
|
297 |
}; |
|
298 |
|
|
299 |
this.finish_print_dialog = function() { |
|
300 |
$('#print_dialog_print_options').children().remove().appendTo('#print_options'); |
|
301 |
}; |
|
302 |
|
|
303 |
this.print_record = function() { |
|
304 |
$('#print_dialog').dialog('close'); |
|
305 |
|
|
306 |
kivi.submit_form_with_action('#form', 'print'); |
|
307 |
}; |
|
308 |
|
|
309 |
this.show_print_dialog = function() { |
|
310 |
kivi.popup_dialog({ |
|
311 |
id: 'print_dialog', |
|
312 |
dialog: { |
|
313 |
height: 600, |
|
314 |
title: kivi.t8('Print record'), |
|
315 |
open: kivi.SalesPurchase.setup_print_dialog, |
|
316 |
close: kivi.SalesPurchase.finish_print_dialog, |
|
317 |
} |
|
318 |
}); |
|
319 |
}; |
|
289 | 320 |
}); |
js/locale/de.js | ||
---|---|---|
77 | 77 |
"Please select a vendor.":"Bitte wählen Sie einen Lieferanten aus.", |
78 | 78 |
"Price Types":"Preistypen", |
79 | 79 |
"Print options":"Druckoptionen", |
80 |
"Print record":"Beleg drucken", |
|
80 | 81 |
"Project link actions":"Projektverknüpfungs-Aktionen", |
81 | 82 |
"Quotations/Orders actions":"Aktionen für Angebote/Aufträge", |
82 | 83 |
"Re-numbering all sections and function blocks in the order they are currently shown cannot be undone.":"Das Neu-Nummerieren aller Abschnitte und Funktionsblöcke kann nicht rückgängig gemacht werden.", |
locale/de/all | ||
---|---|---|
1055 | 1055 |
'During the next update a taxkey 0 with tax rate of 0 will automatically created.' => 'Beim nächsten Ausführen des Updates wird ein Steuerschlüssel 0 mit einem Steuersatz von 0% automatisch erzeugt.', |
1056 | 1056 |
'E Mail' => 'E-Mail', |
1057 | 1057 |
'E-Mail' => 'E-Mail', |
1058 |
'E-Mail is sent to #1' => 'Die E-Mail wurde an \'#1\' gesendet', |
|
1059 | 1058 |
'E-Mail-Journal' => 'E-Mail-Journal', |
1060 | 1059 |
'E-mail' => 'E-Mail', |
1061 | 1060 |
'E-mail Statement to' => 'Fälligkeitsabrechnung als E-Mail an', |
... | ... | |
2218 | 2217 |
'Print dunnings' => 'Mahnungen drucken', |
2219 | 2218 |
'Print list' => 'Liste ausdrucken', |
2220 | 2219 |
'Print options' => 'Druckoptionen', |
2220 |
'Print record' => 'Beleg drucken', |
|
2221 | 2221 |
'Print selected' => 'Drucken', |
2222 | 2222 |
'Print selected delivery orders both sided' => 'Ausgewählte Lieferscheine (ggf beidseitig)', |
2223 | 2223 |
'Print template base file name' => 'Druckvorlagen-Basisdateiname', |
templates/webpages/common/_print_dialog.html | ||
---|---|---|
1 |
[%- USE LxERP -%][%- USE L -%] |
|
2 |
<div id="print_dialog_print_options"></div> |
|
3 |
|
|
4 |
<p> |
|
5 |
[% L.button_tag("kivi.SalesPurchase.print_record()", LxERP.t8("Print"), id="print_dialog_print_button") %] |
|
6 |
[% L.button_tag("\$('#print_dialog').dialog('close');", LxERP.t8("Abort"), id="print_dialog_abort_button") %] |
|
7 |
</p> |
templates/webpages/oe/form_footer.html | ||
---|---|---|
150 | 150 |
</form> |
151 | 151 |
|
152 | 152 |
<div id="shipto_dialog" class="hidden"></div> |
153 |
<div id="print_dialog" class="hidden"> |
|
154 |
[%- PROCESS 'common/_print_dialog.html' %] |
|
155 |
</div> |
Auch abrufbar als: Unified diff
ActionBar: Angebote/Aufträge: Drucken über Dialog implementiert