Dashboard progress issues fixed

This commit is contained in:
jitendra 2018-11-27 10:53:47 +05:30
parent 82760de8d4
commit a9ef1269c3
1 changed files with 3 additions and 3 deletions

View File

@ -294,9 +294,9 @@ class DashboardController extends Controller
$this->endDate = Carbon::now();
$this->lastStartDate = clone $this->startDate;
$this->lastEndDate = clone $this->endDate;
$this->lastEndDate = clone $this->startDate;
$this->lastStartDate->subDays($this->lastStartDate->diffInDays($this->lastEndDate));
$this->lastEndDate->subDays($this->lastStartDate->diffInDays($this->lastEndDate));
$this->lastStartDate->subDays($this->startDate->diffInDays($this->endDate));
// $this->lastEndDate->subDays($this->lastStartDate->diffInDays($this->lastEndDate));
}
}