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 7b16738709 - Show all commits

View file

@ -876,9 +876,9 @@ class ResqRiderAPIHandler implements RiderAPIHandlerInterface
{ {
// right now, the app does not include trade-ins but this might change in the future // right now, the app does not include trade-ins but this might change in the future
if ($trade_in == null) if ($trade_in == null)
$icrit->addEntry($batt, null, 1); $crit->addEntry($battery, null, 1);
else else
$icrit->addEntry($batt, $trade_in, 1); $crit->addEntry($battery, $trade_in, 1);
// error_log('adding entry for battery - ' . $battery->getID()); // error_log('adding entry for battery - ' . $battery->getID());
} }