nickolasjadams / megalavania

Special Order Form SAAS Project
0 stars 0 forks source link

Create order form logic #33

Open DarrylHardin opened 3 years ago

DarrylHardin commented 3 years ago

Creating new orders from order form.

Needs to check if the customer exists and add a new one if they do not, should probably give real results as the customer field is typed in, this can be done through livewire which I think we should implement into our website.

We could allow the creation of most of the foreign keys straight from the order table as a fast option.

check and create if doesn't exist:

  1. customer_id
  2. b2b_business_id
  3. brand_id
  4. order_status_id?

To Do