Loading...
 
Skip to main content

History: Profile_Execute_Actions_Homepage_Ceo

Source of version: 8 (current)

Copy to clipboard
            !! Manage Requests
Select some option from the dropdown below the list of items, and click at __Apply__ (if any item is pending your feedback)
{LISTEXECUTE()}
{pagination max=25}
{filter field="tracker_id" content="$profileobject:trade_approval$"}
{filter field="tracker_field_trAppCEOPreApprovalDate"  exact=""}
{filter content="o OR p" field="tracker_status"}
{sort mode="tracker_field_trAppID_asc"}
{OUTPUT(template="table")}
    {column field="trAppID" label="ID" mode="raw"}
    {column field="trAppEmail" label="Email" mode="raw"}
    {column field="trAppFullName" label="Full Name" mode="raw"}
    {column field="trAppGCPreApprovalDate" label="GC Pre-approval"  mode="raw"}
    {column field="trAppYouCanTradeUntil" label="You can trade until"  mode="raw"}
    {column field="trAppTradingPeriodEndDate" label="Trading Period End Date"  mode="raw"}
	{column field="trAppApprovalStatus" label="Approval status"  mode="raw"}
	{tablesorter server="n" sortable="y" tsfilters="type:nofilter|type:nofilter|type:text|type:text|type:date;format:yy-mm-dd|type:date;format:yy-mm-dd|type:nofilter|type:dropdown" tscolselect="critical|critical|6|2|2|6|5"}
{OUTPUT}
	{FORMAT(name="trAppID")}{display name="tracker_field_trAppID" format="objectlink"  default=""}{FORMAT}
	{FORMAT(name="trAppEmail")}{display name="tracker_field_trAppEmail"  default=""}{FORMAT}
	{FORMAT(name="trAppFullName")}{display name="tracker_field_trAppFullName" format="trackerrender" default=""}{FORMAT}
	{FORMAT(name="trAppGCPreApprovalDate")}{display name="tracker_field_trAppGCPreApprovalDate" format="datetime" default=""}{FORMAT}
	{FORMAT(name="trAppYouCanTradeUntil")}{display name="tracker_field_trAppYouCanTradeUntil" format="trackerrender" default="" editable=inline}{FORMAT}
	{FORMAT(name="trAppTradingPeriodEndDate")}{display name="tracker_field_trAppTradingPeriodEndDate" default=""}{FORMAT}
	{FORMAT(name="trAppApprovalStatus")}{display name="tracker_field_trAppApprovalStatus" format="trackerrender" default=""}{FORMAT}
{ALTERNATE()}{TR()}There are no requests pending your pre-approval.{TR}{ALTERNATE}

    {ACTION(name="Add my pre-approval" group="Registered")}
        {step action="tracker_item_modify" field="trAppCEOPreApprovalDate"  calc="(date)"}
    {ACTION}
	{ACTION(name="Set as Postponed + change item status to pending" group="Registered")}
        {step action="tracker_item_modify" field="trAppApprovalStatus" value="4"}
        {step action="change_status" from="o" to="p"}
    {ACTION}

{LISTEXECUTE}