Some previously: https://github.com/easydigitaldownloads/easy-digital-downloads/issues/7052#issuecomment-458265857
Show a searchable dropdown of Customers by default when creating or editing an order.
When manually creating a new Order a Customer is required to be associated with it before it can be saved. Currently you can either assign an existing customer or create a new customer.
Since we know one of these actions has to be taken we can help users realize a Customer is required and reduce the number of clicks it takes to attach a Customer by showing the searchable dropdown automatically. This will likely cover the majority of use cases and hides the (I think) less used option under a toggle.
This also allows more validation to focus the dropdown if attempting to save the order without assigning a Customer.


When selecting a Customer the information below the dropdown will automatically be updated.
The only thing I'm not 100% on is the or, but I think there needs to be some separation from the existing Customer search.
A few things left to wire up, but this feels nice:

PR #7557
I really like this flow when creating a new order, but I'm not sure it works as well when viewing an existing order.
It feels a bit weird for the customer's name to be shown exclusively in a drop down menu when viewing an existing order. The existing UI in release/3.0 feels more natural when viewing existing orders:

@pippinsplugins I was thinking yesterday that the larger name should be restored at least. I'll play with making sure it's clear switching a Customer is still possible when editing an Order.
@pippinsplugins What about a more clear label above the Customer search?


Edit:
With the Customer name added as well:


@spencerfinnell That's much better. Let's proceed with that.
Most helpful comment
A few things left to wire up, but this feels nice: