Revision c2f92862
Von Bernd Bleßmann vor fast 3 Jahren hinzugefügt
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' }; |
Auch abrufbar als: Unified diff
Anzahlungs-Rg.: neuen Typ beim Erzeugen der record items berücksichtigen