X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FPriceRule.pm;h=889dde7b67fef48e7ad2ad104888f37efbbb0b6a;hb=a805ddafe2970ba5c07a59d90749fa0c7e24f903;hp=00469ad12fd17eadf96d2e8b724c787e929be1c8;hpb=9589ecd776677cdeb2fbaf8de211963d24cf5aa1;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/PriceRule.pm b/SL/DB/MetaSetup/PriceRule.pm index 00469ad12..889dde7b6 100644 --- a/SL/DB/MetaSetup/PriceRule.pm +++ b/SL/DB/MetaSetup/PriceRule.pm @@ -4,20 +4,21 @@ package SL::DB::PriceRule; use strict; -use base qw(SL::DB::Object); +use parent qw(SL::DB::Object); __PACKAGE__->meta->table('price_rules'); __PACKAGE__->meta->columns( - discount => { type => 'numeric', precision => 15, scale => 5 }, - id => { type => 'serial', not_null => 1 }, - itime => { type => 'timestamp' }, - mtime => { type => 'timestamp' }, - name => { type => 'text' }, - obsolete => { type => 'boolean', default => 'false', not_null => 1 }, - price => { type => 'numeric', precision => 15, scale => 5 }, - priority => { type => 'integer', default => 3, not_null => 1 }, - type => { type => 'text' }, + discount => { type => 'numeric', precision => 15, scale => 5 }, + id => { type => 'serial', not_null => 1 }, + itime => { type => 'timestamp' }, + mtime => { type => 'timestamp' }, + name => { type => 'text' }, + obsolete => { type => 'boolean', default => 'false', not_null => 1 }, + price => { type => 'numeric', precision => 15, scale => 5 }, + priority => { type => 'integer', default => 3, not_null => 1 }, + reduction => { type => 'numeric', precision => 15, scale => 5 }, + type => { type => 'text' }, ); __PACKAGE__->meta->primary_key_columns([ 'id' ]);