Forum

How can I add a rep...
 
Notifications
Clear all

How can I add a report ?

6 Posts
2 Users
0 Reactions
2,730 Views
 Phil
(@phil-bzh)
Posts: 27
Active Member
Topic starter
 
[#3798]

Hello,

I'm trying to write a new report (see https://www.projeqtor.org/en/forum/3-propose-evolutions/7495-new-report-work-plan-per-week-and-per-ressource). How can I add it to the report list ?

I'm trying this in order to get access to my new report "myNewReport.php" in the report category "Planning" :

  • INSERT INTO `report` (`id`, `name`, `idReportCategory`, `file`, `sortOrder`) VALUES (99, 'reportPlanProjectPerRessourceAndMonth', 2, 'myNewReport.php', 10)
  • new line in tooli18nnlsfrlang.js for "reportPlanProjectPerRessourceAndMonth'

The new report doesn't appear in the report screen 🙁

(it does appear if I change the "file" field to "myNewReport.php" intead of "projectPlan.php" in the line with id 6 of the table "report", but I would like to be able to access to both reports : "myNewReport" and "projectPlan")

Any idea ?

Thank you,

Phil.


 
Posted : 01 Nov 2016 17H00
(@babynus)
Posts: 14952
Member Admin
 

You're missing habilitations to the report 😉


 
Posted : 01 Nov 2016 17H02
 Phil
(@phil-bzh)
Posts: 27
Active Member
Topic starter
 

Hello,
What do you mean ?


 
Posted : 01 Nov 2016 17H03
(@babynus)
Posts: 14952
Member Admin
 

Go to "habilitation to reports" screen ...


 
Posted : 01 Nov 2016 17H05
 Phil
(@phil-bzh)
Posts: 27
Active Member
Topic starter
 

Thank you very much, it was so simple but I didn't think to that 😉

Solved.

I can keep writing my new report. If I'm successful in that, may I give it to the community (how ?)


 
Posted : 01 Nov 2016 17H10
(@babynus)
Posts: 14952
Member Admin
 

Of course, every contribution is welcome.
Just send your code to support AT projeqtor.org


 
Posted : 01 Nov 2016 18H08
Share:

Scroll to Top