Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

Notifications
Clear all

Ask

19 Posts
2 Users
0 Reactions
15.5 K Views
(@handler)
Posts: 11
Active Member
Topic starter
 
[#1248]

Hello!
Please,can you show me the path of the files where the filling of the liste boxes of "Reports" is coded ?


 
Posted : 09 Jul 2013 13H49
babynus
(@babynus)
Posts: 14957
Main Contributor Admin
 

/view/parameter.php,
with $type='habilitationReport'


 
Posted : 09 Jul 2013 15H18
(@handler)
Posts: 11
Active Member
Topic starter
 

And plz where car i find the definition of the function "reportSelectCategory()"


 
Posted : 09 Jul 2013 15H28
babynus
(@babynus)
Posts: 14957
Main Contributor Admin
 

/view/reportsList.php


 
Posted : 09 Jul 2013 15H56
(@handler)
Posts: 11
Active Member
Topic starter
 

Thanks,
an other thing please ,if i want to add an other type of category in reports ,where can I do it?


 
Posted : 09 Jul 2013 16H19
babynus
(@babynus)
Posts: 14957
Main Contributor Admin
 

in table reportCategory


 
Posted : 09 Jul 2013 17H35
(@handler)
Posts: 11
Active Member
Topic starter
 

But the names are note like the names that we find in the apps


 
Posted : 09 Jul 2013 18H14
(@handler)
Posts: 11
Active Member
Topic starter
 

there is my problem,the compagni that I work for charge me to add some categories frome our reports,can you give me some direction please!


 
Posted : 09 Jul 2013 18H18
babynus
(@babynus)
Posts: 14957
Main Contributor Admin
 

They just have to be translated : just define the new names in the translation files.


 
Posted : 09 Jul 2013 18H23
(@handler)
Posts: 11
Active Member
Topic starter
 

hy,pleaze can you show me the path where the tranlation of table reportcategory is coded.


 
Posted : 10 Jul 2013 17H28
babynus
(@babynus)
Posts: 14957
Main Contributor Admin
 

it it the lang.xls file.
You can get it on download page.
Place it in /tool/i18n/nls.
Update the items or create new lines.
Use "save as" (mandatory to do it once).
Then click "generate" button.
This will generate all the required lang.js files.

NB : it your server is not running on winwdows, just do it locally on your workstation and then copy /tool/i18n/nls structure generate to the server.


 
Posted : 10 Jul 2013 21H35
(@handler)
Posts: 11
Active Member
Topic starter
 

hy,
please can you show me the path of the files where the query(select,insert ...)are defined or coded ,
thanks,


 
Posted : 12 Jul 2013 13H58
(@handler)
Posts: 11
Active Member
Topic starter
 

because I cant find de code of this function "reportSelectCategory()"


 
Posted : 12 Jul 2013 19H09
babynus
(@babynus)
Posts: 14957
Main Contributor Admin
 

hy,
please can you show me the path of the files where the query(select,insert ...)are defined or coded ,
thanks,

in /model/persistence directory
SqlElement.php (inherited by all classes) manages object - database mapping.
Sql.php manages Sql queries.


 
Posted : 13 Jul 2013 0H22
babynus
(@babynus)
Posts: 14957
Main Contributor Admin
 

because I cant find de code of this function "reportSelectCategory()"

This function is in /view/js/projectorDialog.js


 
Posted : 13 Jul 2013 0H23
(@handler)
Posts: 11
Active Member
Topic starter
 

Hello,
I want to add an other categorys of reports with their reports and parameters,
what are the steps that i have to follow,
thank you,


 
Posted : 15 Jul 2013 17H50
babynus
(@babynus)
Posts: 14957
Main Contributor Admin
 

add catagories in table reportcategory
add reports in table report (specifying file name to be used)
add parameters in reportparameter
manage acces rights to report (can be done directly through screen at this step)
design report file (.php defined in report table)


 
Posted : 15 Jul 2013 20H19
(@handler)
Posts: 11
Active Member
Topic starter
 

Can I use a file who is already defined?
And how can I manage the acces rights to report ,
Thank you,


 
Posted : 18 Jul 2013 15H06
babynus
(@babynus)
Posts: 14957
Main Contributor Admin
 

Can I use a file who is already defined?

Yes

And how can I manage the acces rights to report ,

On the screen "access mode to reports"


 
Posted : 18 Jul 2013 17H24
Share:

Scroll to Top