projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
InstallationCheck um REST::Client erweitert
[kivitendo-erp.git]
/
SL
/
DB
/
MetaSetup
/
TaxzoneChart.pm
diff --git
a/SL/DB/MetaSetup/TaxzoneChart.pm
b/SL/DB/MetaSetup/TaxzoneChart.pm
index
f0cd6dc
..
64b1494
100644
(file)
--- a/
SL/DB/MetaSetup/TaxzoneChart.pm
+++ b/
SL/DB/MetaSetup/TaxzoneChart.pm
@@
-4,17
+4,17
@@
package SL::DB::TaxzoneChart;
use strict;
use strict;
-use
base
qw(SL::DB::Object);
+use
parent
qw(SL::DB::Object);
__PACKAGE__->meta->table('taxzone_charts');
__PACKAGE__->meta->columns(
__PACKAGE__->meta->table('taxzone_charts');
__PACKAGE__->meta->columns(
- id => { type => 'serial', not_null => 1 },
- taxzone_id => { type => 'integer', not_null => 1 },
buchungsgruppen_id => { type => 'integer', not_null => 1 },
buchungsgruppen_id => { type => 'integer', not_null => 1 },
- income_accno_id => { type => 'integer', not_null => 1 },
expense_accno_id => { type => 'integer', not_null => 1 },
expense_accno_id => { type => 'integer', not_null => 1 },
+ id => { type => 'serial', not_null => 1 },
+ income_accno_id => { type => 'integer', not_null => 1 },
itime => { type => 'timestamp', default => 'now()' },
itime => { type => 'timestamp', default => 'now()' },
+ taxzone_id => { type => 'integer', not_null => 1 },
);
__PACKAGE__->meta->primary_key_columns([ 'id' ]);
);
__PACKAGE__->meta->primary_key_columns([ 'id' ]);
@@
-36,9
+36,12
@@
__PACKAGE__->meta->foreign_keys(
class => 'SL::DB::Chart',
key_columns => { income_accno_id => 'id' },
},
class => 'SL::DB::Chart',
key_columns => { income_accno_id => 'id' },
},
-);
-# __PACKAGE__->meta->initialize;
+ taxzone => {
+ class => 'SL::DB::TaxZone',
+ key_columns => { taxzone_id => 'id' },
+ },
+);
1;
;
1;
;