projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Form::_dbconnect_options nach SL::DBConnect::get_options verschoben
[kivitendo-erp.git]
/
SL
/
DB
/
PeriodicInvoicesConfig.pm
diff --git
a/SL/DB/PeriodicInvoicesConfig.pm
b/SL/DB/PeriodicInvoicesConfig.pm
index
d49595b
..
2b4542a
100644
(file)
--- a/
SL/DB/PeriodicInvoicesConfig.pm
+++ b/
SL/DB/PeriodicInvoicesConfig.pm
@@
-2,25
+2,13
@@
package SL::DB::PeriodicInvoicesConfig;
use strict;
use strict;
-use Readonly;
-
use SL::DB::MetaSetup::PeriodicInvoicesConfig;
use SL::DB::MetaSetup::PeriodicInvoicesConfig;
-__PACKAGE__->meta->add_relationships(
- order => {
- type => 'one to one',
- class => 'SL::DB::Order',
- column_map => { oe_id => 'id' },
- },
-);
-
-__PACKAGE__->meta->initialize;
-
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
__PACKAGE__->meta->make_manager_class;
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
__PACKAGE__->meta->make_manager_class;
-
Readonly our @PERIODICITIES =>
qw(m q f b y);
-
Readonly our %PERIOD_LENGTHS =>
( m => 1, q => 3, f => 4, b => 6, y => 12 );
+
our @PERIODICITIES =
qw(m q f b y);
+
our %PERIOD_LENGTHS =
( m => 1, q => 3, f => 4, b => 6, y => 12 );
sub get_period_length {
my $self = shift;
sub get_period_length {
my $self = shift;