missing file
This commit is contained in:
@@ -55,6 +55,8 @@ func AddVoucher(g *CartGrain, m *messages.AddVoucher) error {
|
|||||||
g.lastVoucherId++
|
g.lastVoucherId++
|
||||||
g.Vouchers = append(g.Vouchers, &Voucher{
|
g.Vouchers = append(g.Vouchers, &Voucher{
|
||||||
Id: g.lastVoucherId,
|
Id: g.lastVoucherId,
|
||||||
|
Applied: false,
|
||||||
|
Description: m.Description,
|
||||||
Code: m.Code,
|
Code: m.Code,
|
||||||
Rules: m.VoucherRules,
|
Rules: m.VoucherRules,
|
||||||
Value: m.Value,
|
Value: m.Value,
|
||||||
|
|||||||
Reference in New Issue
Block a user