bpuig / laravel-subby

Laravel Plan and Subscriptions manager.
https://bpuig.github.io/laravel-subby
MIT License
104 stars 42 forks source link

Fix getResetDate #86

Closed bpuig closed 3 years ago

bpuig commented 3 years ago

As mentioned here #77 (comment)

If subscriber does not use the app for 1 period, when usage is going to be recorded again. It will be set to next month from the previous period and use one. Subscribers get 1 usage for every period they've been out.

Now function retrieves periods until now.