Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Tag/keyword
Secondary tag/keywords
Script
PTA

Primary or Secondary Travel 

Approver to the PNR


Code Block
languagejava
titlePTA Approved
collapsetrue
//PTA Travel Approver
//Primary
 
var ap=UserPnrData.UserBooking.PreTripApprovalInfo.ProfileApproverEmail;
 
ap=ap.toUpperCase();
ap=ap.replace(/@/g,"\@");
 
if(((UserPnrData.UserBooking.PreTripApprovalInfo.CurrentApprovalState="APPROVED")&&(UserPnrData.UserBooking.PreTripApprovalInfo.StateChangedBy== "PROFILE_APPROVER")&&(ap!="")))
 
{out.print("5.S*UD146 " + ap);}


...

Tag/keyword
Secondary tag/keywords
Script
PTA

Secondary Approver skipped 



Code Block
languagejava
titleTAW PendingSkip Secondary
collapsetrue
//PTA Travel Approver
//Secondary -
 
var ap=UserPnrData.UserBooking.PreTripApprovalInfo.SecondaryApproverEmail;
 
ap=ap.toUpperCase();
ap=ap.replace(/@/g,"\@");
 
if((UserPnrData.UserBooking.PreTripApprovalInfo.StateChangedBy=="SECONDARY_APPROVER")&&(ap!="")){out.print("5.S*UD146 " + ap);}  


...