Percent Attr für marge_percent in Order (zum testen)
authorSven Schöling <s.schoeling@linet-services.de>
Thu, 2 Sep 2010 09:51:19 +0000 (11:51 +0200)
committerSven Schöling <s.schoeling@linet-services.de>
Wed, 8 Sep 2010 14:03:59 +0000 (16:03 +0200)
SL/DB/Order.pm

index 309b506..d71caae 100644 (file)
@@ -10,6 +10,7 @@ use SL::DB::Invoice;
 
 __PACKAGE__->attr_number($_, places => -2) for qw(amount netamount marge_total marge_percent);
 __PACKAGE__->attr_date($_) for qw(transdate reqdate);
+__PACKAGE__->attr_percent($_) for qw(marge_percent);
 
 __PACKAGE__->meta->add_relationship(
   orderitems => {