Revision 940da3f8
Von Moritz Bunkus vor fast 8 Jahren hinzugefügt
SL/Controller/Letter.pm | ||
---|---|---|
655 | 655 |
action => [ t8('Export') ], |
656 | 656 |
action => [ |
657 | 657 |
t8('Print'), |
658 |
submit => [ '#form', { action => 'Letter/print_letter' } ],
|
|
658 |
call => [ 'kivi.SalesPurchase.show_print_dialog', 'Letter/print_letter' ],
|
|
659 | 659 |
disabled => !$self->letter->id ? t8('The object has not been saved yet.') : undef, |
660 | 660 |
], |
661 | 661 |
action => [ |
templates/webpages/letter/edit.html | ||
---|---|---|
147 | 147 |
</div> |
148 | 148 |
</div> |
149 | 149 |
</form> |
150 |
|
|
151 |
<div id="print_dialog" class="hidden"> |
|
152 |
[%- PROCESS 'common/_print_dialog.html' %] |
|
153 |
</div> |
Auch abrufbar als: Unified diff
ActionBar: Brieffunktion: Drucken über Dialog