Fix the same issue in resq 2 app. #750
This commit is contained in:
parent
8427b3fb3d
commit
4f70fc437c
1 changed files with 5 additions and 1 deletions
|
|
@ -673,7 +673,11 @@ class JobOrderController extends ApiController
|
|||
break;
|
||||
}
|
||||
|
||||
$icrit->addEntry($batt, $trade_in, 1);
|
||||
// right now, the app does not include trade-ins but this might change in the future
|
||||
if (empty($trade_in))
|
||||
$icrit->addEntry($batt, null, 1);
|
||||
else
|
||||
$icrit->addEntry($batt, $trade_in, 1);
|
||||
|
||||
// set taxable
|
||||
$icrit->setIsTaxable();
|
||||
|
|
|
|||
Loading…
Reference in a new issue