NaN errors in Payroll 'process' page

Problem reported by Simon Jackson 8 years ago

I've just tried processing my usual monthly payroll, but this time adding another Payment line of 'Annual bonus 2016/2017'. However this causes the Tax and NI deduction calculations to error (NaN, or Not a Number). See the attached screenshot (with the amounts changed!):

file

Attempting to 'Complete' the page with this error causes one of ClearBook's 'Whoops' error pages.

Interestingly, changing the additional payment description to just 'Annual bonus' fixes the issue, so there's a problem somewhere with the Description field interfering with the calculation. If length or characters the description can contain is an issue, perhaps some field validation is needed, or just fix the calculation to work regardless of the description.

3 Replies

Hi Simon,

You are quite correct. There is a bug at the moment where special characters entered into the description field of a payment or deduction are causing the system to believe that the Tax and PAYE fields have been fed data which is NaN.

Our Product Team are aware of the issue and are working to resolve it.

In the meantime you can work around it by making sure that the description field only contains numbers and letters.

Our apologies for any inconvenience this may be causing you.

I hope this helps.

All the best.

OK, thanks for the quick reply Richard.

Hi Simon,

The page should now allow special characters which should resolve the NaN issue - if you still experience any problems just let me know.

Reply to this problem

Attach images by dragging and dropping or upload
 

Your comments will be public and can be answered by anyone in the Clear Books community.

Find out what we do and who we are