Resolve "Rider app trade-in support" #1723
1 changed files with 2 additions and 1 deletions
|
|
@ -1410,7 +1410,8 @@ 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
|
||||||
$icrit->addPromo($promo);
|
if ($promo != null)
|
||||||
|
$icrit->addPromo($promo);
|
||||||
|
|
||||||
// get the battery purchased from existing invoice items
|
// get the battery purchased from existing invoice items
|
||||||
// add the batteries ordered to criteria
|
// add the batteries ordered to criteria
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue