projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Letter: Sortierung default neue zuerst
[kivitendo-erp.git]
/
SL
/
DB
/
MetaSetup
/
Customer.pm
diff --git
a/SL/DB/MetaSetup/Customer.pm
b/SL/DB/MetaSetup/Customer.pm
index
b802119
..
173cb75
100644
(file)
--- a/
SL/DB/MetaSetup/Customer.pm
+++ b/
SL/DB/MetaSetup/Customer.pm
@@
-4,7
+4,7
@@
package SL::DB::Customer;
use strict;
use strict;
-use
base
qw(SL::DB::Object);
+use
parent
qw(SL::DB::Object);
__PACKAGE__->meta->table('customer');
__PACKAGE__->meta->table('customer');
@@
-53,8
+53,7
@@
__PACKAGE__->meta->columns(
taxincluded => { type => 'boolean' },
taxincluded_checked => { type => 'boolean' },
taxnumber => { type => 'text' },
taxincluded => { type => 'boolean' },
taxincluded_checked => { type => 'boolean' },
taxnumber => { type => 'text' },
- taxzone_id => { type => 'integer', default => '0', not_null => 1 },
- terms => { type => 'integer', default => '0' },
+ taxzone_id => { type => 'integer', not_null => 1 },
user_password => { type => 'text' },
username => { type => 'text' },
ustid => { type => 'text' },
user_password => { type => 'text' },
username => { type => 'text' },
ustid => { type => 'text' },
@@
-90,6
+89,11
@@
__PACKAGE__->meta->foreign_keys(
class => 'SL::DB::PaymentTerm',
key_columns => { payment_id => 'id' },
},
class => 'SL::DB::PaymentTerm',
key_columns => { payment_id => 'id' },
},
+
+ taxzone => {
+ class => 'SL::DB::TaxZone',
+ key_columns => { taxzone_id => 'id' },
+ },
);
1;
);
1;