add some order defaults to satisfy the make() method
authorTony Cook <tony@develop-help.com>
Sat, 21 Dec 2019 01:07:58 +0000 (12:07 +1100)
committerTony Cook <tony@develop-help.com>
Sat, 21 Dec 2019 01:07:58 +0000 (12:07 +1100)
site/cgi-bin/modules/BSE/TB/Order.pm

index d73ac07..508066d 100644 (file)
@@ -100,7 +100,12 @@ sub defaults {
      stage => "incomplete",
      ccPAN => "",
      paid_manually => 0,
      stage => "incomplete",
      ccPAN => "",
      paid_manually => 0,
+     coupon_id => undef,
+     coupon_code_discount_pc => 0,
      delivery_in => undef,
      delivery_in => undef,
+     product_cost_discount => 0,
+     coupon_cart_wide => 1,
+     coupon_description => '',
     );
 }
 
     );
 }