rully
5 months ago
930
12
Laravel

laravel hierarchy users

Posted 5 months ago by rully

hey guys, i have one table the relation is many to many, and in this table i have users: -general manager users -manager users -supervisor users -leader users -sales users

and i have one table again, the table name is RESULTS,The contents of the results table are the results of the sales trade, where the sales have a salescode. how to take sales sales results in the RESULTS table while the sales account and account leader section has taken sales results using a join how to continue taking sales sales results in the account leader to the top, dynamically

Please sign in or create an account to participate in this conversation.