Creating multiple record based on other record

how can i create a record in other table (credit) when created a record in table (payment) here also using the values of the payement also adding it in the credit record , can any one help me i am new here and learning this very beautiful admin panel.
3 Replies
Noxo
Noxo2y ago
You need to use afterCreate method inside your PaymentResource/Pages/PaymentCreate.php file
singhbaba74_36345
@Noxo Thank you very much.

Did you find this page helpful?