Query an item in a table in the Database and insert one in the front column
Hello good afternoon
I needed to know if there is any way in the Resources of FilamentPHP to query an item from a table in the Database in the case of Item Code in Stock (PAT), if you have this item in the table mark it as "OK" in the Status column
Att.
2 Replies
would you like to customize the query?
https://filamentphp.com/docs/2.x/admin/resources/getting-started#customizing-the-eloquent-query
I will explain in more detail the functionality I need, I have a table in the Database that has some equipment and their Registration Numbers
EX:
Equipment | NR | STATE|
Keyboard | 1057 | |
And with PHP filament I wanted to make a form that looked for that Registration Number and if it had it in that table it would register with "OK" in the front column
EX:
Equipment | NR | STATE|
Keyboard | 1057 | OK |
In order to facilitate the comparison of these equipment