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 d73ac07854813ecb8d71930d533e376f30255dcd..508066dc4365d586c326be04388b98f62d87f895 100644 (file)
@@ -100,7 +100,12 @@ sub defaults {
      stage => "incomplete",
      ccPAN => "",
      paid_manually => 0,
+     coupon_id => undef,
+     coupon_code_discount_pc => 0,
      delivery_in => undef,
+     product_cost_discount => 0,
+     coupon_cart_wide => 1,
+     coupon_description => '',
     );
 }