When I define a new model for the plan in config/soulbscription.php, I cannot use some properties because these relationships are not defined in HasSubscriptions trait. For example, I can list the plans like this:
config('soulbscription.models.plan')::all();
But I can't change a plan that I have listed in this way.
I want to customise the plan table. I can add price, description, currency or different discriminator fields. I can associate this model with my invoices. I want to make many more customisations like this.
When I define a new model for the plan in config/soulbscription.php, I cannot use some properties because these relationships are not defined in HasSubscriptions trait. For example, I can list the plans like this:
But I can't change a plan that I have listed in this way.
Because dynamic relationship is not used in HasSubscriptions trait.
I want to customise the plan table. I can add price, description, currency or different discriminator fields. I can associate this model with my invoices. I want to make many more customisations like this.