This is my last version of timesheet for dP 2.0
It works using the task log entry.
It adds a feature to freeze hours (prevent updates) by
an admin.
However this does not work from the task log entry form.
i am getting error when timesheet add button is clicked - the date
suppose
i have entered is Monday, 03 March 2008 then when press add i am getting
Thursday, 01 January 1970 can anybody help me
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi!...maybe I'mm a year later or so...but...I solved the 1970 problem.
If you modify the file "addedit.php" that comes within the "Timesheet" module folder, it solves the problem. Chenge the line 7 that comes in the original:
$date = intval( dPgetParam( $_GET, "date", 0 ) );
replace it with this one:
$date = dPgetParam( $_GET, 'date', null );
and you will get the desired "today" date...
Cheers
Fran.
Las Palmas, Canary Islands, Spain
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=1634501
Originator: NO
i am getting error when timesheet add button is clicked - the date
suppose
i have entered is Monday, 03 March 2008 then when press add i am getting
Thursday, 01 January 1970 can anybody help me
Logged In: YES
user_id=2029989
Originator: NO
Hi
Can anyone help me by telling me where I can get this module please???
Many Thanks
James
Logged In: YES
user_id=2029989
Originator: NO
Found it!
Hi!...maybe I'mm a year later or so...but...I solved the 1970 problem.
If you modify the file "addedit.php" that comes within the "Timesheet" module folder, it solves the problem. Chenge the line 7 that comes in the original:
$date = intval( dPgetParam( $_GET, "date", 0 ) );
replace it with this one:
$date = dPgetParam( $_GET, 'date', null );
and you will get the desired "today" date...
Cheers
Fran.
Las Palmas, Canary Islands, Spain