Show Invoices for a particular Member

Laraship QuestionsCategory: TechnicalShow Invoices for a particular Member
lentini asked 5 years ago
Hi, I am trying to show all invoices from a specific Member to him. First I gave Users-> Roles permission for him to view the invoice. I then gave permission in Administration-> Menu so that member can view Invoice menu But when I click Invoices I get a 403 error. The error no longer appears when I give view_all permission, but here I don\'t want to show everything ... just the specific customer invoices Regards.
Attachments
1 Answers
laraship Staff answered 5 years ago
Hello, This is not how permission works, you need to define another URL for invoices like invoices/my "similar to orders" and assign it a permission like "my invoices"  and then create a controller and view for in addition to different InvoiceDataTable