master
parent
737605d066
commit
ec737e2a49
|
|
@ -35,7 +35,7 @@ class DepositService
|
||||||
*/
|
*/
|
||||||
public function calculateSummary(int $markId, $start, $end): array
|
public function calculateSummary(int $markId, $start, $end): array
|
||||||
{
|
{
|
||||||
$days = $start->diffInDays($end);
|
$days = $start->diffInDays($end, false);
|
||||||
|
|
||||||
$tariffs = UniModel::model('pipi_auto_tariffs')
|
$tariffs = UniModel::model('pipi_auto_tariffs')
|
||||||
->where('model_id', $markId)
|
->where('model_id', $markId)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue