Multiple Repeater
In the models Customer, Service, Transaction, ServiceTransaction, Payment, and PaymentTransaction, I display ServiceTransaction using a repeater in TransactionResource. I also want to use PaymentTransaction with a repeater, but it doesn't catch the payment_id. Is there a way to use a repeater that isn't related to the resource? Thank you!
Solution
The problem is I can’t see the array sent by “payment” .Yes, because you declared it a
->relationship() it is saving directly to that relationship and removing the data afterwards.