bendudz / fpp-zettle

FPP Plugin for Zettle card devices.
5 stars 1 forks source link

Get purchases for yesterday total amount is wrong #1

Closed Mat-Moo closed 1 year ago

Mat-Moo commented 1 year ago

Looking at the code, I think your missing the endDate parameter for this request (think should be the same as startDate - so the yesterday totals include todays totals as well.

PiSignage commented 1 year ago

Thank you for pointing this out. You are rights about missing endDate. A update will be pushed out tonight fixing this issue and some other little fixs

Mat-Moo commented 1 year ago

No worries, just so excited to use it and realised the totals didn't tally... and as a dev, I like to poke :)

PiSignage commented 1 year ago

I have just update the code to fix yesterday totals