
- 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-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-16-2018 02:43 AM
Thanks Vignesh, That works great