1 year ago

Laravel show customer_name by using customer_id

Posted 1 year ago by Hourlee

I am using laravel and vue js. I have two tables: customers and projects. I have a form - a dropdown form which user can select a customer_name. However, in the projects table, I want to store customer_id from the form selected by the user. I want to use id in customers table to show customer_name in the form. How this can be done?


Please sign in or create an account to participate in this conversation.