New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Proposal] Add ended and recurring helpers #513

Merged
merged 1 commit into from May 6, 2018

Conversation

Projects
None yet
2 participants
@timacdonald
Contributor

timacdonald commented May 5, 2018

I found I was looking for these additional methods on the subscriptions and thought I'd see if they we wanted in the package.

Trial Trial + Cancelled Recurring Recurring + Cancelled Cancelled [ended]
ended()
recurring()

In an admin area I found ended is good to be able to find out how many subscriptions are no longer potentially resumable and recurring is useful to show how many users you are going to continue making money from.

@timacdonald timacdonald force-pushed the timacdonald:add_more_state_helpers branch 2 times, most recently from 81abee9 to 37c5edb May 5, 2018

@timacdonald timacdonald force-pushed the timacdonald:add_more_state_helpers branch from 37c5edb to 14a8b4f May 6, 2018

@taylorotwell taylorotwell merged commit 14a8b4f into laravel:7.0 May 6, 2018

1 check passed

continuous-integration/styleci/pr The analysis has passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment