FSA -- Account -- Employee Interface


Powered by: Liveconnect, IIOP
Last modified: Mon Apr 28 13:39:41 1997
// lookup selected account if (client.accountName != "") { __account = project.fsa_admin.lookupAccount(client.accountName); if (__account == null) { redirect("empl.html"); } } // handle deposit if (request.accountOp == "SUBMIT CLAIM") { __claim = __account.getCurrentClaim(); if (__claim) { request.dupClaim = true; } else { request.dupClaim = false; __claim = __account.submitClaim( parseFloat(request.claimAmount), request.serviceDate, request.providerName, request.details); } } // handle end of the account selection if (request.accountOp == "DONE") { client.accountName = null; __account = null; __claim = null; redirect("empl.html"); }

SELECTED ACCOUNT
Account Id: write(__account.getId());
Name: write(__account.getName());
Balance: write(__account.getBalance());
Claims: __claim = __account.getCurrentClaim(); if (__claim == null) { write("NONE"); } else { write(__claim.getStatus()); }


ACCOUNT OPERATIONS
Amount:
Service Date:
Provider Name:
Details:
if (request.dupClaim) { write("

"); write("


"); write("

"); write("Sorry, you already have a claim. Once the administrator processed the current claim and deletes it, you can submit another. Thanks for your patience"); }