siwapp / siwapp-ror

Online Invoice Management in Ruby On Rails.
http://www.siwapp.com
MIT License
327 stars 182 forks source link

Invoice status remain cached after changes on payments #313

Closed agutierrezrodriguez closed 5 years ago

agutierrezrodriguez commented 5 years ago

I have a invoice with a payment and status is done. If I remove the payment, the status changed to past_due but the search through API Not found any past_due invoice.

Seems that status is cached.

agutierrezrodriguez commented 5 years ago

Seems that the invoice isn't considered in past_due if the due_date is the same as invoice date or if the due_date is the same day as today.

agutierrezrodriguez commented 5 years ago

Closed by #314