Add source to invoice criteria. Modify invoice rules to get service fees from... #1701
1 changed files with 5 additions and 1 deletions
|
|
@ -673,7 +673,11 @@ class JobOrderController extends ApiController
|
||||||
break;
|
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
|
// set taxable
|
||||||
$icrit->setIsTaxable();
|
$icrit->setIsTaxable();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue