
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2018 06:06 AM
Hi,
Is it possible to add more information in the below view of approvals.Often there can be 10-15 approvals pending and clients want the option to approve them here with a quick overview of what they are approving. If additional time has been requested we want to show the request and reason etc.
Thanks
John
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2018 01:38 AM
Looks like those fields are on task table, still you can get them from approval table, as you have an relation.
add this in your widget , server code widget
t.u_hours_required= task.u_hours_required.toString();
t.u_reason = task.u_reason.toString();
and in HTML add
<div ng-if="approval.task.u_hours_required"><label>${Hours Required}</label> {{::approval.task.u_hours_required}}</div>
<div ng-if="approval.task.u_reason "><label>${Reason}</label> {{::approval.task.u_reason }}</div>

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2018 06:41 AM
You have to clone approvals widget and make changes according to your requirement.
Add the field you want to add in server script after 62 and HTML code after 26.
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2018 08:51 AM
Hi vignesh,
Our widget has already been cloned and slightly edited. I see where the server and HTML is edited for what is currently shown.
A lot of approvals will be for additional time. These are run by a ui action button but run from the task table.
Im not sure how to add these fields in the widget scripts.
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2018 09:14 AM
Do you want to add hours required and reason field to the widget ?
Are those fields available in approval table ?
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2018 01:11 AM