1 follower Follow

Calculations Using Different Catagories

Help, I can't figure this out. So I have three categories  I want depending on the category chosen to show the amount in the calculation. I got it to show one, but I am stuck and figure out the rest.. 

For being the different categories, and Fees being the amount I want it to provide in the calculation. Any help would be truly appreciated. 

var package = @For ;
var balance_due = (@50100 Repairs Fee+@62300 Tickets/Tolls+@40200 Origination Fee+@41000 Ins Deductible);
var result = (balance_due >= 0 && package == "Repairs") ? balance_due : "@50100 Repairs Fee" ;

Paula Rabbat

Please sign in to leave a comment.