]> git.imager.perl.org - bse.git/commitdiff
add order item defaults too and bump versions
authorTony Cook <tony@develop-help.com>
Sat, 21 Dec 2019 03:59:04 +0000 (14:59 +1100)
committerTony Cook <tony@develop-help.com>
Sat, 21 Dec 2019 03:59:04 +0000 (14:59 +1100)
site/cgi-bin/modules/BSE/TB/Order.pm
site/cgi-bin/modules/BSE/TB/OrderItem.pm

index 508066dc4365d586c326be04388b98f62d87f895..44864832b13cab908b01ca34a814d0013e991ce2 100644 (file)
@@ -7,7 +7,7 @@ use vars qw/@ISA/;
 use Carp 'confess';
 use BSE::Shop::PaymentTypes;
 
-our $VERSION = "1.029";
+our $VERSION = "1.030";
 
 sub columns {
   return qw/id
index 6364fb09c135a779507e83eac5bb182dfde83393..52af7359cefecc265fcb4d2e641f65c8e053000c 100644 (file)
@@ -5,7 +5,7 @@ use Squirrel::Row;
 use vars qw/@ISA/;
 @ISA = qw/Squirrel::Row/;
 
-our $VERSION = "1.006";
+our $VERSION = "1.007";
 
 sub table { "order_item" }
 
@@ -31,6 +31,9 @@ sub defaults {
      customStr1 => undef,
      customStr2 => undef,
      customStr3 => undef,
+     tier_id => undef,
+     product_discount => 0,
+     product_discount_units => 0,
     );
 }