Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision c2f92862

Von Bernd Bleßmann vor fast 3 Jahren hinzugefügt

  • ID c2f928620c3201a88e47899ff3b7e1d2b6d7a009
  • Vorgänger 31d60fb4
  • Nachfolger beff4231

Anzahlungs-Rg.: neuen Typ beim Erzeugen der record items berücksichtigen

Unterschiede anzeigen:

SL/Controller/PriceSource.pm
83 83
    sales_quotation         => 'OrderItem',
84 84
    request_quotation       => 'OrderItem',
85 85
    invoice                 => 'InvoiceItem',
86
    invoice_for_advance_payment => 'InvoiceItem',
86 87
    purchase_invoice        => 'InvoiceItem',
87 88
    credit_note             => 'InvoiceItem',
88 89
    purchase_delivery_order => 'DeliveryOrderItem',
......
154 155
    sales_delivery_order    => 'DeliveryOrder',
155 156
  }->{$::form->{type}};
156 157

  
157
  if ($::form->{type} =~ /invoice|credit_note/) {
158
  if ($::form->{type} =~ /invoice|invoice_for_advance_payment|credit_note/) {
158 159
    $class = $::form->{vc} eq 'customer' ? 'Invoice'
159 160
           : $::form->{vc} eq 'vendor'   ? 'PurchaseInvoice'
160 161
           : do { die 'unknown invoice type' };
bin/mozilla/io.pl
1885 1885
    sales_quotation         => 'OrderItem',
1886 1886
    request_quotation       => 'OrderItem',
1887 1887
    invoice                 => 'InvoiceItem',
1888
    invoice_for_advance_payment => 'InvoiceItem',
1888 1889
    credit_note             => 'InvoiceItem',
1889 1890
    purchase_invoice        => 'InvoiceItem',
1890 1891
    purchase_delivery_order => 'DeliveryOrderItem',
......
1965 1966
    sales_delivery_order    => 'DeliveryOrder',
1966 1967
  }->{$::form->{type}};
1967 1968

  
1968
  if ($::form->{type} =~ /invoice|credit_note/) {
1969
  if ($::form->{type} =~ /invoice|invoice_for_advance_payment|credit_note/) {
1969 1970
    $class = $::form->{vc} eq 'customer' ? 'Invoice'
1970 1971
           : $::form->{vc} eq 'vendor'   ? 'PurchaseInvoice'
1971 1972
           : do { die 'unknown invoice type' };

Auch abrufbar als: Unified diff