Skip to content

Commit

Permalink
Update MonthlyRevenueWidget.php
Browse files Browse the repository at this point in the history
  • Loading branch information
saeed-corals authored Dec 12, 2023
1 parent f76d504 commit dfcebdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Common/Widgets/MonthlyRevenueWidget.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function run($args)
$dateFormat='%M %Y';
} else if ($connection === 'pgsql') {
$dateFormatMethod = 'TO_CHAR';
$dateFormat='MM-YY';
$dateFormat="'MM-YY'";
}

$data = Invoice::where('status', 'paid')->select(
Expand Down

0 comments on commit dfcebdf

Please sign in to comment.