We are working on Reports implementation to add new report filters for the date filters as shown in the below link.
We are able to copy the code from include/generic/SugarWidgets/SugarWidgetFielddatetime.php to custom/ include/generic/SugarWidgets/SugarWidgetFielddatetime.php and the code is reflecting in backend.
When we are trying to add front end implementation in custom/modules/Reports/templates/templates_modules_def_js.php the code is accepting the below path modules/Reports/templates/templates_modules_def_js.php and changed the file path for the require once in custom/modules/Reports/Report.php but in below files we have to change to custom directory.
When we added the code in main directory and it has worked as shown in screenshot.
We have tried following this question but no success.
Any suggestions on on this implementation?