Skip to content
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

[13.x] Add invoices methods to subscription #1245

Merged
merged 3 commits into from
Aug 30, 2021
Merged

Conversation

driesvints
Copy link
Member

@driesvints driesvints commented Aug 30, 2021

This PR adds some new invoices methods to the Subscription model to retrieve invoices specific to that subscription. It uses the same API as the methods on the billable model.

$invoices = $user->subscription()->invoices();

@taylorotwell taylorotwell merged commit 01f82b1 into 13.x Aug 30, 2021
@taylorotwell taylorotwell deleted the subscription-invoices branch August 30, 2021 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants