Consider credit in till daily movement report

This is subtracting the credit payments from the till daily movement, since
sales using credit were already received.

Also refactor the code a little bit.

Change-Id: I5fae6f70bbe689d4375c791ac7f6f0e8e0c7d6aa