meebo
meebo
FFilament
Created by meebo on 3/13/2024 in #❓┊help
Is there a way to disable the tenant registration?
I am currently using the tenant methods on the admin panel, tenancy is working. I have a custom ->tenantRegistration() on the admin panel. I do not want users to be able to create seperate teams in this case if they already have one. Not sure if I have to change the model relationship or whether there is another way to disable registering after they have registered?
4 replies
FFilament
Created by meebo on 3/9/2024 in #❓┊help
Update relationship on a conditional field
Hello there, I have an employment model/resource that belongsTo a user, employment hasOne Accountant, the accountant is conditional if the employment is SelfEmployed. If the condition is met, I can see the accountant form which has its own model. My question is how do I create/hydrate the accountant form data. Is the best approach to create a relationship using the relationship manager or is there a way to inject the accountant data, as currently the accountant data is trying to be saved to the employments model not the accountants model. Thanks in advance, apologies if this is answered somewhere else.
5 replies