Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 940da3f8

Von Moritz Bunkus vor etwa 7 Jahren hinzugefügt

  • ID 940da3f8a8302ac7623923fdb5b8c894ea552b08
  • Vorgänger ac1a9e8e
  • Nachfolger c9947d8e

ActionBar: Brieffunktion: Drucken über Dialog

Unterschiede anzeigen:

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