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

Multiple subscription #6

Open
midesweb opened this issue Mar 16, 2020 · 3 comments
Open

Multiple subscription #6

midesweb opened this issue Mar 16, 2020 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@midesweb
Copy link

I am trying to manage different subscriptions on the same resource:

public function fields(Request $request)
{
    return [
        ID::make()->sortable(),
        // ...

        Subscription::make('one'),
        Subscription::make('two'),

        // ...
    ];
}

However, when the related resource is opened in Nova the system only shows the first subscription field (In this case "one").

@rudowastaken rudowastaken added help wanted Extra attention is needed enhancement New feature or request labels Mar 24, 2020
@rudowastaken
Copy link
Member

Hi @midesweb, I suspect that Nova displays only a single Resource Tool with the same name. I'd appreciate if somebody knows whether it's really enforced like this or there is a way around it.

Changing the name of the subscription was originally meant to allow for different naming conventions. I haven't really needed to use this since we usually link multiple billable entities for User (Project,...) when creating subscriptions but this feature could also be interesting to some people.

@eduardocruz
Copy link

Got the same issue. I have more than one subscription name, and it does not work, since the package allows only a single subscription name.

@mstaack
Copy link

mstaack commented Jul 21, 2021

yeah same for me, i have multiple subscription but only one per user, displaying the correct one does not work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants