Verification : Not verified
Verification : Not verified
What's the meaning of verification status showing "Not verified" in the employee's timesheet?
Sorry, I should have said as long as the pay period is open and its after the pay period end date, they can verify their timesheets.
So if today is the end of the pay period, they should be able to verify their timesheets tomorrow.
There is no way to change this without modifying the source code at this time. Most of our customers use this feature for legal purposes, so allowing employees to verify timesheets before the end of the pay period, or after a pay period is closed would render it useless for them.
So if today is the end of the pay period, they should be able to verify their timesheets tomorrow.
There is no way to change this without modifying the source code at this time. Most of our customers use this feature for legal purposes, so allowing employees to verify timesheets before the end of the pay period, or after a pay period is closed would render it useless for them.
I believe the templates/timesheet/ViewUserTimeSheet.tpl is the only file you need to modify.
The following is the code in question:
Change to:
and a little further down:
Change to:
The following is the code in question:
Code: Select all
{if $is_previous_time_sheet_verified == FALSE
AND $current_time <= $pay_period_transaction_date
AND is_object( $current_user ) AND is_object( $user_obj )
AND $current_user->getId() == $user_obj->getId()}
Code: Select all
{if $is_previous_time_sheet_verified == FALSE
AND is_object( $current_user ) AND is_object( $user_obj )
AND $current_user->getId() == $user_obj->getId()}
and a little further down:
Code: Select all
{elseif $time_sheet_verify == ''
AND $pay_period_status_id != '' AND $pay_period_status_id != 20
AND $current_user->getId() == $user_obj->getId()}
Code: Select all
{elseif $time_sheet_verify == ''
AND $pay_period_status_id != ''
AND $current_user->getId() == $user_obj->getId()}
I just upgraded to 2.1.0 RC4 and still cannot get this to work. I did a copy and paste from what you had in the page and still do not get the option to show up. Below is what I have in the file:
{if $is_previous_time_sheet_verified == FALSE
AND is_object( $current_user ) AND is_object( $user_obj )
AND $current_user->getId() == $user_obj->getId()}
{elseif $time_sheet_verify == ''
AND $pay_period_status_id != ''
AND $current_user->getId() == $user_obj->getId()}
{if $is_previous_time_sheet_verified == FALSE
AND is_object( $current_user ) AND is_object( $user_obj )
AND $current_user->getId() == $user_obj->getId()}
{elseif $time_sheet_verify == ''
AND $pay_period_status_id != ''
AND $current_user->getId() == $user_obj->getId()}