Attach a payment to one or multiple services

I have a structure of 3 tables: 

1) Booking Table
2) Service Table
3) Payments Table

I want to enter payments to the payment table, which should basically show as a total amount paid by the customer. And then have the ability to attach the payment to one or multiple services in the service table.

Is there any sample app or guide for this?

0 3 83
3 REPLIES 3
Top Labels in this Space