addressdb: unit_count can now be increased
This commit is contained in:
@@ -284,7 +284,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if(!$address->id): ?>
|
||||
<hr />
|
||||
|
||||
<div class="form-group row">
|
||||
@@ -293,12 +292,11 @@
|
||||
<?php if(is_array($save_data) && array_key_exists("unit_count", $save_data)): ?>
|
||||
<input type="text" class="form-control" name="unit_count" id="unit_count" value="<?=$save_data['unit_count']?>">
|
||||
<?php else: ?>
|
||||
<input type="text" class="form-control" name="unit_count" id="unit_count" value="">
|
||||
<input type="text" class="form-control" name="unit_count" id="unit_count" value="<?=$address->unit_count?>">
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -321,7 +319,7 @@
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$(".select2").select2();
|
||||
$(".select2").select2({closeOnSelect: false});
|
||||
|
||||
$('#strasse').autoComplete({minLength: 2}).keydown(preventEnter);
|
||||
$('#plz').autoComplete({minLength: 1}).keydown(preventEnter);
|
||||
|
||||
Reference in New Issue
Block a user