georgejkaye / delay-repay

Tool to calculate Delay Repay refunds
1 stars 1 forks source link

Can't handle free tickets #3

Closed FrozenDude101 closed 2 months ago

FrozenDude101 commented 2 months ago

If a ticket costs £0, the delay repay is set to £0, regardless of other tickets (This also happens for no cost tickets, maybe they're being interpreted as £0? (as they should))

Steps to reproduce:

  1. Add a ticket with a non-zero cost.
  2. Add a ticket with a cost of £0.
  3. Set the delay repay
  4. Observe that you get nothing
georgejkaye commented 2 months ago

I'm not getting this (although maybe that's because I've fixed the infinite useEffect issue)

FrozenDude101 commented 2 months ago

maybe, I can't replicate it again now

georgejkaye commented 2 months ago

good enough for me