Add source to invoice criteria. Modify invoice rules to get service fees from... #1701

Merged
arcticzero merged 217 commits from 746-resq-2-0-final into master 2023-11-22 08:54:48 +00:00
Showing only changes of commit c2ff927f1f - Show all commits

View file

@ -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