Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision a0d3ac64

Von Moritz Bunkus vor mehr als 10 Jahren hinzugefügt

  • ID a0d3ac645659b1a33df00e2d73d2931c3400f773
  • Vorgänger ffbde3ef
  • Nachfolger 0194799c

Auftragsmaske: JavaScript-Checks für Speichern aktiver per. Rechnungen nach kivi.SalesPurchase verschoben

Unterschiede anzeigen:

js/kivi.SalesPurchase.js
49 49
    return confirm(kivi.t8('There are still transfers not matching the qty of the delivery order. Stock operations can not be changed later. Do you really want to proceed?'));
50 50
  };
51 51

  
52
  this.oe_warn_save_active_periodic_invoice = function() {
53
    return confirm(kivi.t8('This sales order has an active configuration for periodic invoices. If you save then all subsequently created invoices will contain those changes as well, but not those that have already been created. Do you want to continue?'));
54
  };
55

  
52 56
  this.on_submit_checks = function() {
53 57
    var $button = $(this);
54 58
    if (($button.data('check-transfer-qty') == 1) && !kivi.SalesPurchase.delivery_order_check_transfer_qty())
55 59
      return false;
56 60

  
61
    if (($button.data('warn-save-active-periodic-invoice') == 1) && !kivi.SalesPurchase.oe_warn_save_active_periodic_invoice())
62
      return false;
63

  
57 64
    return true;
58 65
  };
59 66

  

Auch abrufbar als: Unified diff