Author Topic: Adding a filter to users in the time module  (Read 3978 times)

waldo2188

  • Newbie
  • *
  • Posts: 6
    • View Profile
Adding a filter to users in the time module
« on: September 28, 2010, 04:22:46 am »
First, please excuse my approximate English (I'm French (Yes I know, it isn't a good excuse...)).

The little story.
In my work we use the Feng Office's Time module for register our time on projects.
Many of us use the Time module, and it was be rapidly unreadable. we can not verify a look of our time.
This is why we have made a filter on users.

we modified three files and create one.

fengOffice/public/assets/javascript/og/time/TimeBottomToolbar.js was created for construct the tools bar that contains the comboBox.
The comboBox is the same as the Task's module.

fengOffice/application/views/time/index.php was modified to incorporate the tools bar.
I had to add a variable in the paging system.

fengOffice/application/controllers/TimeController.class.php was modified to integrate the management of new filter settings.

fengOffice/application/models/timeslot/Timeslots.class.php was modified to integrate
was modified to include a further condition to both queries

in the zip file you will find the four files described above.
files were reviewed (hopefully enough).
If you have questions or comments, I am listening to you.

franponce87

  • Administrator
  • Hero Member
  • *****
  • Posts: 1819
    • View Profile
    • Email
Re: Adding a filter to users in the time module
« Reply #1 on: September 28, 2010, 09:49:35 am »
Hi Waldo, your English is great, so do not worry about it hehe
What you have done seems to be quite good and may be useful for some users, so we might consider adding it in a future version.
Keep up the good work!
Best regards,
Francisco
Would you like to install Feng Office Professional or Enterprise Edition in your servers? No problem! Read this article!