// client tag and the client ID
prt(xout,result,"totalGroupIncome");// Print the totalGroupIncome
prt(xout,result,"client_fpl"); // Print the fpl percentage
if(result.get("eligible").booleanValue()){ // Test their eligiblity result
xout.printdata("eligibility", "Approved"); // If approved, print the details of their
prt(xout,result,"program"); // approval.
prt(xout,result,"programLevel");
}else{
xout.printdata("eligibility", "Not Approved"); // If not approved, print the