Created
February 18, 2009 14:24
-
-
Save anonymous/66355 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def rebate_status(rebate_claim) | |
if rebate_claim.status == 0 | |
output = "New Claim" | |
elsif | |
rebate_claim.status == 1 | |
output = "Pending LT Verification" | |
elsif | |
rebate_claim.status == 2 | |
output = "Pending Property Verification" | |
elsif | |
rebate_claim.status == 3 | |
output = "Disputed" | |
elsif | |
rebate_claim.status == 4 | |
output = "Approved" | |
elsif | |
rebate_claim.status == 5 | |
output = "Rejected" | |
else | |
output = "Status Not Available" | |
end | |
output | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment