getSettings(); $products = Product::query([], ["sort" => "name"]); $request = Request::fromRequest(); $default_location_id = $request->int("add_location_id"); $location_options = []; foreach(Customer::getAll() as $customer) { foreach($customer->getLocations() as $location) { $location_options[$location->id] = $location->getDisplayName(); } } ?>