projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Einkauf/Verkauf: Feld »Leistungsdatum« für Steuerberechnung
[kivitendo-erp.git]
/
SL
/
DB
/
Order.pm
diff --git
a/SL/DB/Order.pm
b/SL/DB/Order.pm
index
d996d13
..
43acce5
100644
(file)
--- a/
SL/DB/Order.pm
+++ b/
SL/DB/Order.pm
@@
-144,6
+144,12
@@
sub deliverydate {
return shift->transdate;
}
+sub effective_tax_point {
+ my ($self) = @_;
+
+ return $self->tax_point || $self->transdate;
+}
+
sub displayable_type {
my $type = shift->type;