Skip to content

Clean up work on reports listing view and lang() methods - #3707

Merged
objecttothis merged 5 commits into
ci4-upgradefrom
show_report_localized
Sep 29, 2023
Merged

objecttothis merged 5 commits into
ci4-upgradefrom
show_report_localized

Conversation

@edwinbsmith

Copy link
Copy Markdown
Contributor
  • added a little logic into the Reports controller
  • simplified the helper methods in the reports_helper file
  • fixed the lang() calls to be consistent with the en-US format of language keys

The links to some of the detailed reports are returning a 404. I don't know if that's a result of the changes in the code or they are not complete yet. For example /reports/detailed_sales works but /reports/specific_suppliers returns a 404. /reports/specific_supplier does not 404 but outputs an error in the Reports controller.

@edwinbsmith
edwinbsmith requested a review from objecttothis March 5, 2023 10:04
@objecttothis

objecttothis commented Mar 5, 2023 •

Copy link
Copy Markdown
Member

The 404 errors when you click on the links are likely due to routing errors but this PR is just to fix the language lines.

Comment thread app/Helpers/report_helper.php Resolved
Comment thread app/Helpers/report_helper.php Resolved
Comment thread app/Helpers/report_helper.php Resolved
Comment thread app/Helpers/report_helper.php Resolved
Comment thread app/Views/reports/listing.php Resolved
Comment thread app/Views/reports/listing.php Resolved
Comment thread app/Helpers/report_helper.php Resolved
@edwinbsmith

Copy link
Copy Markdown
Contributor Author

Alright @objecttothis, I think this PR is cleaned up style wise!

@jekkos
jekkos force-pushed the ci4-upgrade branch 2 times, most recently from 87e8bab to 00f54ef Compare June 20, 2023 21:11
@stale

stale Bot commented Aug 12, 2023

Copy link
Copy Markdown

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale Bot added the wontfix label Aug 12, 2023
@stale stale Bot closed this Sep 17, 2023
@objecttothis objecttothis reopened this Sep 20, 2023
@objecttothis
objecttothis merged commit 2628487 into ci4-upgrade Sep 29, 2023
@objecttothis
objecttothis deleted the show_report_localized branch September 29, 2023 08:52
jekkos pushed a commit that referenced this pull request Oct 31, 2023
* reworked reports and listing page to handle lang() functions in CI_4

* removed old methods

* update code style

* updated bracket style

---------

Co-authored-by: objecttothis <[email protected]>
jekkos pushed a commit that referenced this pull request Nov 1, 2023
* reworked reports and listing page to handle lang() functions in CI_4

* removed old methods

* update code style

* updated bracket style

---------

Co-authored-by: objecttothis <[email protected]>
jekkos pushed a commit that referenced this pull request Jun 10, 2024
* reworked reports and listing page to handle lang() functions in CI_4

* removed old methods

* update code style

* updated bracket style

---------

Co-authored-by: objecttothis <[email protected]>
jekkos pushed a commit that referenced this pull request Jun 15, 2024
* reworked reports and listing page to handle lang() functions in CI_4

* removed old methods

* update code style

* updated bracket style

---------

Co-authored-by: objecttothis <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants