Revision c2cfaebb
Von Jan Büren vor mehr als 2 Jahren hinzugefügt
SL/DB/PurchaseInvoice.pm | ||
---|---|---|
sub invoice_type {
|
||
my ($self) = @_;
|
||
|
||
return 'ap_transaction' if !$self->invoice;
|
||
return 'purchase_credit_note' if $self->amount < 0;
|
||
return 'ap_transaction' if !$self->invoice;
|
||
return 'purchase_invoice';
|
||
}
|
||
|
Auch abrufbar als: Unified diff
Zustand für negative Kreditorenbuchung oder EK-Rechnung als invoice_type hinzufügen
Entsprechend bei Wechselkursgebühren ausklammern