Skip to content

Commit

Permalink
Merge pull request #39 from mageplaza/2.4-develop
Browse files Browse the repository at this point in the history
2.4 develop
  • Loading branch information
haitv282 authored Aug 30, 2022
2 parents 8226a0c + ca850d2 commit 7a7bbd9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Block/Dashboard/RepeatCustomerRate.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ protected function getDataByDateRange($startDate, $endDate)
$data = [];

$customerRepeatData = $this->getCustomerRepeatDataByDateRange($startDate, $endDate);
$startDate = date('Y-m-d', strtotime($startDate));

while (strtotime($endDate) >= strtotime($startDate)) {
$data['data']['labels'][] = __('first');
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"name": "mageplaza/module-reports",
"description": "Magento 2 Reports Extension",
"require": {
"mageplaza/module-core": "^1.4.5"
"mageplaza/module-core": "^1.4.12"
},
"type": "magento2-module",
"version": "4.1.3",
"version": "4.1.4",
"license": "proprietary",
"authors": [
{
Expand Down

0 comments on commit 7a7bbd9

Please sign in to comment.