Explorar el Código

Add blank option

Alan Lam hace 1 año
padre
commit
5d0ae38dad
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      views/components/location_id_field.php

+ 1 - 0
views/components/location_id_field.php

@@ -15,6 +15,7 @@ $customers = Customer::getAll();
 	<label class="form-label" for="location-id"><?=htmlspecialchars(__("Location"))?></label>
 	<label class="form-label" for="location-id"><?=htmlspecialchars(__("Location"))?></label>
 
 
 	<select class="form-control" name="location_id" id="location-id">
 	<select class="form-control" name="location_id" id="location-id">
+		<option value=""><?=htmlspecialchars(__("Select Location"))?></option>
 		<?php
 		<?php
 		foreach($customers as $customer) {
 		foreach($customers as $customer) {
 			?>
 			?>