projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Vorbelegte E-Mail-Texte für wiederkehrende Rechnungen genau wie in oe.pl
[kivitendo-erp.git]
/
SL
/
DB
/
MetaSetup
/
Business.pm
diff --git
a/SL/DB/MetaSetup/Business.pm
b/SL/DB/MetaSetup/Business.pm
index
d04b2bc
..
08c2d10
100644
(file)
--- a/
SL/DB/MetaSetup/Business.pm
+++ b/
SL/DB/MetaSetup/Business.pm
@@
-4,25
+4,23
@@
package SL::DB::Business;
use strict;
use strict;
-use
base
qw(SL::DB::Object);
+use
parent
qw(SL::DB::Object);
__PACKAGE__->meta->table('business');
__PACKAGE__->meta->columns(
__PACKAGE__->meta->table('business');
__PACKAGE__->meta->columns(
- id => { type => 'integer', not_null => 1, sequence => 'id' },
- description => { type => 'text' },
- discount => { type => 'float', precision => 4 },
customernumberinit => { type => 'text' },
customernumberinit => { type => 'text' },
- salesman => { type => 'boolean', default => 'false' },
+ description => { type => 'text' },
+ discount => { type => 'float', precision => 4, scale => 4 },
+ id => { type => 'integer', not_null => 1, sequence => 'id' },
itime => { type => 'timestamp', default => 'now()' },
mtime => { type => 'timestamp' },
itime => { type => 'timestamp', default => 'now()' },
mtime => { type => 'timestamp' },
+ salesman => { type => 'boolean', default => 'false' },
);
__PACKAGE__->meta->primary_key_columns([ 'id' ]);
__PACKAGE__->meta->allow_inline_column_values(1);
);
__PACKAGE__->meta->primary_key_columns([ 'id' ]);
__PACKAGE__->meta->allow_inline_column_values(1);
-# __PACKAGE__->meta->initialize;
-
1;
;
1;
;