Merge branch '750-resq-2-fix-computation-issue-for-jo-from-resq-1-app' into '746-resq-2-0-final'
Fix the same issue in resq 2 app. #750 See merge request jankstudio/resq!865
This commit is contained in:
commit
c2ff927f1f
1 changed files with 5 additions and 1 deletions
|
|
@ -673,6 +673,10 @@ class JobOrderController extends ApiController
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 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);
|
$icrit->addEntry($batt, $trade_in, 1);
|
||||||
|
|
||||||
// set taxable
|
// set taxable
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue