best way I can explain the situation in as short as possible:
I am making a repair system for a jeweler company. In simple, I have a customer table and a repair table. The customer table holds customer information and the repair table holds the customers repair information. The repair and customer tables are tied together by the customer.ID column (customer_id in the repair table).
In the system there is the option to view existing repairs for a customer - shows all the repairs that match a specific customer_id.
The client I am making this system for would like a way to tie repairs together. Example, if customer john has 4 repairs in the system. Two repairs are new, and two are completed. If they do not want the customer to be contacted until the two new repairs are COMPLETED, they would view all the existing repairs, check off those two, and click a button that says 'tie repairs'.
I am having trouble thinking of the best way to tie these repairs - so the customer does not show in the call list until both repairs are completed. Every option I come up with seems to have a drawback or is not very efficient.
Should I just make another column in the repair table called tied_repairs, and include the IDs of all tied repairs separated by a ; (or any character)?
Thanks in advanced.
