Repeater Pivot Table with Order
Guys, good night.
I'm at the beginning of the filament, I'm creating an Orders screen, it has tabs, but I have a table that is orders -> hasOne financial, where each order has a "financial" but in this financial there can be one or more payment methods. So I created the financials table, payment_methods and financial_payment_method pivot.
I wanted to "add" new payment types within repeat, and have them inserted into the pivot table relating the financial_id and payment_method_id with the payment amount, etc.
However, I'm not able to use the repeater in this case, I tried different ways and because I'm still new to filament I couldn't understand a better way to do it. Could anyone give me some light please?









0 Replies