Time card management - need to remove

Bharath K
Tera Contributor

Hi community,

We are working on time sheet portal, would anyone be willing to help me figure out to remove copy time logged check box in the time sheet portal.

 

BharathK_1-1686167316939.png

 

Thanks,

 

 

1 ACCEPTED SOLUTION

Shruti
Mega Sage
Mega Sage

Hi,

Navigate to Service Portal -> Widgets -> Time Card Portal Main Container

Go to the related list and open template copy-timesheet-modal 

ShrutiW_0-1686204300790.png

Comment below code and check

<div class="row">
<label for="copy-time" class="section-title col-sm-4">
${Copy time logged}
</label>
<span class="col-sm-8">
<input type="checkbox" id="copy-time" name="copy-time" ng-model="data.copyTimeLogged" aria-checked="{{data.copyTimeLogged}}"/>
</span>
</div>

ShrutiW_1-1686204376885.png

 

Avoid making changes to the OOB copy-timesheet-modal template. Please create a copy of it and associate it with the widget

View solution in original post

3 REPLIES 3

Shruti
Mega Sage
Mega Sage

Hi,

Navigate to Service Portal -> Widgets -> Time Card Portal Main Container

Go to the related list and open template copy-timesheet-modal 

ShrutiW_0-1686204300790.png

Comment below code and check

<div class="row">
<label for="copy-time" class="section-title col-sm-4">
${Copy time logged}
</label>
<span class="col-sm-8">
<input type="checkbox" id="copy-time" name="copy-time" ng-model="data.copyTimeLogged" aria-checked="{{data.copyTimeLogged}}"/>
</span>
</div>

ShrutiW_1-1686204376885.png

 

Avoid making changes to the OOB copy-timesheet-modal template. Please create a copy of it and associate it with the widget

Namita Mishra
ServiceNow Employee
ServiceNow Employee

Hi @Bharath K ,

Though @Shruti  has shared the way to remove the option - Copy time logged - I would suggest you to rethink \ discuss before actually removing it.

I have found this useful as most of the end users tell me especially when they are on 2 or 3 projects and every week they just have to put in same number of hours for each project. 

I am sure you must be discussing this with your teams but just thought to share my suggestion.

 

Thank You!

Namita Mishra

Bharath K
Tera Contributor

Hi @Namita Mishra@Shruti  

 

We have allow recall in timesheet policy right and.

We have "Recall period allowed (days)" field, by default it will be 30 days. Will this 30 days count is taking on the day of submission of the timesheet or "Week starts on" field ?

Could you please clarify this?

BharathK_0-1686560860690.png

 

Thanks,