Urufu
Import Action
Traducción al inglés:
Hi, thanks for replying. In the CSV, I have information for both tables, Employee and Payment.
I wanted to first register the employee data with
, and then register their payments with $payment = $this->createOrUpdatePayment($employee);
Each row in the CSV has this information.
In summary, I need to insert into both tables for each row that is processed.
20 replies
Import Action
Hi, I'm trying to import a CSV file that contains Employee, Payment and Detail data,
I've been trying to do this the following way, but I always get the error:
However, the 'dni' field (which is the first in ImportColum), is in the Employee model and it seems that it wants to insert it into Payment,
any suggestions? I also tried with the hooks and it gives me the same result, my current code is:
I hope you can give me some ideas, thanks.
20 replies
How to consume an external API with Filament Tables
i think the new link is this https://filamentphp.com/community/how-to-consume-an-external-api-with-filament-tables , but can u show me your code please
70 replies