F
Filamentβ€’7mo ago
Sir. NioH

the contents of the table are not visible

In the screenshot, you can see a customer management interface in a Laravel project using Filament. The main problem seems to be that the list of customers is empty or the data is not being displayed correctly. Although there are multiple rows, there is no information visible in the columns of the table, what do you think is the error? I am new I just want to know if you could give me an idea because I don't know what to check it seems that if I consult the database table of the clients but they are not shown. <script src="https://gist.github.com/StikAlexander/d1f18db52df3b7a6ea919dddc29f819f.js"></script>
No description
10 Replies
LeandroFerreira
LeandroFerreiraβ€’7mo ago
Check the ClienteResource file. Resource classes contain a table() method. You should add the columns here
return $table
->columns([
...
])
return $table
->columns([
...
])
Check the docs https://filamentphp.com/docs/3.x/tables/getting-started#defining-table-columns
LeandroFerreira
LeandroFerreiraβ€’7mo ago
and welcome!
Sir. NioH
Sir. NioHOPβ€’7mo ago
hello i recreated the project from 0 because i couldn't reload it anyway thanks
LeandroFerreira
LeandroFerreiraβ€’7mo ago
Did it work?
Sir. NioH
Sir. NioHOPβ€’7mo ago
I had to redo it using a video guide because I don't know much about programming. I guess I'll transfer the data from my old database to the new one. So far, it looks like this. Since I have the chance to ask, is there a set of pre-installed Filament tools? I want to create three types of logins: admin creates sellers, and sellers create clients. Also, within the client panel, there will be a payment gateway for pending invoices. Thanks, and I hope my question isn't a bother. Have a great day!
No description
No description
LeandroFerreira
LeandroFerreiraβ€’7mo ago
You can create multiple panels, customize pages, apply themes, and more. For detailed instructions, please read the docs. Additionally, feel free to explore the plugin section on the website. https://filamentphp.com/plugins
Filament
Plugins - Filament
Community made packages for Filament projects, which give you access to awesome new features.
Tetracyclic
Tetracyclicβ€’7mo ago
And specifically, you can override all of the login features to provide your own forms if you need to do more processing than just taking the email and password: https://filamentphp.com/docs/3.x/panels/users#customizing-the-authentication-features
TheRealTeeHill
TheRealTeeHillβ€’7mo ago
glad to help where I can but this
I don't know much about programming
I don't know much about programming
rings some alarm bells, we could help you put this together but I feel like you'd do well to get better at programming in general πŸ™‚ all your questions so far, plus the ones you DM'ed me last night, are all well covered by the docs and are some pretty basic things πŸ™‚
Sir. NioH
Sir. NioHOPβ€’7mo ago
I apologize my intention was not to bother you but I am trying to learn more in order to continue with my project thank you.
TheRealTeeHill
TheRealTeeHillβ€’7mo ago
no need to apologise πŸ™‚ you're good, just my help comes in the form of advice to learn some more programming basics, its a snowball process, the more you do the easier it gets πŸ‘
Want results from more Discord servers?
Add your server