projects
/
bse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
531a7e9
)
add some order defaults to satisfy the make() method
author
Tony Cook
<tony@develop-help.com>
Sat, 21 Dec 2019 01:07:58 +0000
(12:07 +1100)
committer
Tony Cook
<tony@develop-help.com>
Sat, 21 Dec 2019 01:07:58 +0000
(12:07 +1100)
site/cgi-bin/modules/BSE/TB/Order.pm
patch
|
blob
|
blame
|
history
diff --git
a/site/cgi-bin/modules/BSE/TB/Order.pm
b/site/cgi-bin/modules/BSE/TB/Order.pm
index d73ac07854813ecb8d71930d533e376f30255dcd..508066dc4365d586c326be04388b98f62d87f895 100644
(file)
--- a/
site/cgi-bin/modules/BSE/TB/Order.pm
+++ b/
site/cgi-bin/modules/BSE/TB/Order.pm
@@
-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 => '',
);
}