-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix/sync master and release #3344
Conversation
Release 28 June
Release 6 July
Release 9 July
Release 18 July
Release 20 - July
HOTFIX - Fix finance report
Passing run #7787 ↗︎
Details:
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. |
|
||
$reportData = $this->service->getRevenueReportDataForClient($filters, $client); | ||
$revenueReportService = new RevenueReportService; | ||
$reportData = $revenueReportService->getRevenueReportDataForClient($filters, $client); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would be easier if we make these static functions and then can directly call these like:
$reportData = RevenueReportService::getRevenueReportDataForClient($filters, $client);
$revenueReportService = new RevenueReportService; | ||
$reportData = $revenueReportService->getRevenueGroupedByClient($filters); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same feedback for this. Can be used as a static function.
@rathorevaibhav getting this issue when using static class |
@GauravGusain98 in your error screenshot, have you defined the function as static before calling it statically? |
|
@GauravGusain98 static functions are called like this: RevenueReportService::getRevenueGroupedByClient($filters);
// and not like
$this->getRevenueGroupedByClient($filters); |
…x/sync-master-and-release
Changes