Dashboard progress issues fixed
This commit is contained in:
parent
82760de8d4
commit
a9ef1269c3
|
|
@ -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));
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue