Deluge script: IF (condition) in On User Input behaving oddly after working fine for 5 months

Deluge script: IF (condition) in On User Input behaving oddly after working fine for 5 months

My form Add_Charge started behaving oddly with a sequence of "if" and "else" conditions. The sequence is meant to pass a set dollar amount to the Fee_Earned field On Add>On Success and On Edit>On success. The sequence worked fine for 5 months, then it stopped passing the dollar amount about a week and a half ago.

I created a support ticket with Zoho Creator (#17925342#) on Aug 31st that remains open and without any updates since Sept 4.

Thank you for any input or assistance in advance. Here is the original, unedited script:

  1. //Adds amounts due based on type of entry.
  2. if (input.Shift_Type  =  "ERCall-OnSite")
  3. {
  4.     input.Fee_Earned = 1400.0;
  5. }
  6. else if (input.Shift_Type  =  "Wknd")
  7. {
  8.     input.Fee_Earned = 1200.0;
  9. }
  10. else if (input.Shift_Type  =  "BprCall-Home")
  11. {
  12.     input.Fee_Earned = 200.0;
  13. }
  14. else if (input.Shift_Type  =  "M-F PRN")
  15. {
  16.     input.Fee_Earned = 1200.0;
  17. }
  18. else if (input.Add_New  =  "Holiday Bonus")
  19. {
  20.     input.Fee_Earned = 500.0;
  21. }