All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ] 
  Print view

Time registration
Author Message
PostPosted: Mon Sep 02, 2013 11:29 am 
Regular
Offline

Joined: Tue May 12, 2009 8:16 am
Posts: 32
Location: Beijing China
Timereg/class.hours.inc automatically adds the current user's id as userid in the hours table.

I would like to add the contents of another user unique field into the hours table in the same way. ie just as the user id is added as userid, I would like to add the contents of employee "fieldA" into table hours.fieldA.

In other words, when it gets the attributes of the current user, it puts id into hours.userid and fieldA into hours.fieldA.

Any pointers appreciated.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group