Add checking for promo. #783
This commit is contained in:
parent
eebd1d93c4
commit
abf4bbfe22
1 changed files with 2 additions and 1 deletions
|
|
@ -1410,6 +1410,7 @@ class RiderAppController extends ApiController
|
||||||
// assuming JO information is already valid since this
|
// assuming JO information is already valid since this
|
||||||
// is in the system already
|
// is in the system already
|
||||||
// add promo if any to criteria
|
// add promo if any to criteria
|
||||||
|
if ($promo != null)
|
||||||
$icrit->addPromo($promo);
|
$icrit->addPromo($promo);
|
||||||
|
|
||||||
// get the battery purchased from existing invoice items
|
// get the battery purchased from existing invoice items
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue