Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision d5724551

Von Bernd Bleßmann vor etwa 2 Jahren hinzugefügt

  • ID d5724551c1b052275eba974b1c3d6d43f18cae95
  • Vorgänger 7ccf0034
  • Nachfolger d7eb07e6

zu Revert "Rechnungsmaske: "Browser-Zurück verhindern" konfigurierbar in Mandantenkonfig"

Design 4.0

Unterschiede anzeigen:

templates/design40_webpages/client_config/_features.html
393 393
        <td>[% L.select_tag("defaults.create_qrbill_invoices", [ [ 0, LxERP.t8('Do not create QR-bill invoices') ], [ 1, LxERP.t8('Create variant QR-IBAN with QR reference') ], [ 2, LxERP.t8('Create variant IBAN without reference') ] ], default=SELF.defaults.create_qrbill_invoices) %]</td>
394 394
        <td class="long-desc">[% LxERP.t8("If enabled sales invoices created using OpenDocument/OASIS format will include data for Swiss QR-Bill creation.") %]</td>
395 395
       </tr>
396
       <tr>
397
        <th>[% LxERP.t8("Prevent browser's back button in sales invoices") %]</th>
398
        <td>[% L.yes_no_tag("defaults.invoice_prevent_browser_back", SELF.defaults.invoice_prevent_browser_back) %]</td>
399
        <td class="long-desc">[% LxERP.t8("If enabled try to overrule the brower's back button to prevent double booking of sales invoices.") %]</td>
400
       </tr>
401 396
       <tr>
402 397
        <th>[% LxERP.t8("Lock RFQ/Quotation and Order Subversion") %]</th>
403 398
        <td>[% L.yes_no_tag("defaults.lock_oe_subversions", SELF.defaults.lock_oe_subversions) %]</td>
templates/design40_webpages/is/form_header.html
404 404
[% IF (resubmit && is_format_html) || resubmit || creditwarning != '' %]
405 405
  <script type="text/javascript"><!--
406 406
    $('document').ready(function(){
407
      [% IF INSTANCE_CONF.get_invoice_prevent_browser_back %]
408 407
       function disableBack() { window.history.forward() };
409 408
       window.onload = disableBack();
410 409
       window.onpageshow = function(evt) { if (evt.persisted) disableBack() };
411
      [% END %]
412 410

  
413 411
      [% IF resubmit && is_format_html %]
414 412
        window.open('about:blank','Beleg');

Auch abrufbar als: Unified diff