Przeglądaj źródła

Fix conflicting ID

Alan Lam 2 lat temu
rodzic
commit
4a7e8f6f05
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      views/modals/new_sale.php

+ 2 - 2
views/modals/new_sale.php

@@ -44,8 +44,8 @@ foreach($customers as $customer) {
 				</div>
 
 				<div class="mb-3">
-					<label class="form-label" for="location-id"><?= htmlspecialchars(__("Location")) ?></label>
-					<select class="form-select" name="location_id" id="location-id">
+					<label class="form-label" for="new-sale-location-id"><?= htmlspecialchars(__("Location")) ?></label>
+					<select class="form-select" name="location_id" id="new-sale-location-id">
 						<?php
 						HtmlHelper::renderOptions($location_options, $default_location_id);
 						?>