diff --git a/webapp/controller/DailySelectionController.class.php b/webapp/controller/DailySelectionController.class.php index e0335332..760f2334 100644 --- a/webapp/controller/DailySelectionController.class.php +++ b/webapp/controller/DailySelectionController.class.php @@ -100,7 +100,11 @@ class DailySelectionController extends BaseAuthedController { $this->save(); $propertyChgService = new PropertyChgService(); $propertyChgService->addUserChg(); + + ++$count; + $newCost = $count < $maxCount ? $arrCosts[$count] : -1; myself()->_rspData(array( + 'cost' => $newCost, 'property_chg' => $propertyChgService->toDto() )); }