Creating a user when a client is created.
I'm trying to make it so where whenever a client is created. It automatically makes the user record which it belongs to.
When the client gets created I run a notification that send out an email with the generated password.
I've edited the CreateClient record, but since I'm using ->relationship('user') I can't access the data from the form $data
When the client gets created I run a notification that send out an email with the generated password.
I've edited the CreateClient record, but since I'm using ->relationship('user') I can't access the data from the form $data