Revision cae81a93
Von Bernd Bleßmann vor fast 3 Jahren hinzugefügt
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
Anzahlungs-Rg.: neuen Typ beim Erzeugen der record items berücksichtigen