Minor UI cleanups started porting selects from bootstrap-select to select2

This commit is contained in:
johnny@pittpc.com
2019-11-22 20:37:55 -05:00
parent a66e2c7e33
commit 328ac67d5b
165 changed files with 167 additions and 161 deletions

View File

@@ -48,7 +48,7 @@
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-fw fa-list"></i></span>
</div>
<select class="form-control selectpicker show-tick" data-live-search="true" name="type">
<select class="form-control select2" name="type">
<?php foreach($client_types_array as $client_type_select) { ?>
<option
@@ -91,7 +91,7 @@
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-fw fa-flag"></i></span>
</div>
<select class="form-control selectpicker show-tick" data-live-search="true" name="state">
<select class="form-control select2" name="state">
<option value="">- State -</option>
<?php foreach($states_array as $state_abbr => $state_name) { ?>
<option <?php if($client_state == $state_abbr) { echo "selected"; } ?> value="<?php echo $state_abbr; ?>"><?php echo $state_name; ?></option>
@@ -184,7 +184,7 @@
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-fw fa-calendar"></i></span>
</div>
<select class="form-control selectpicker show-tick" name="net_terms">
<select class="form-control select2" name="net_terms">
<option value="">- Net Terms -</option>
<?php foreach($net_terms_array as $net_term_value => $net_term_name) { ?>
<option <?php if($net_term_value == $client_net_terms) { echo "selected"; } ?> value="<?php echo $net_term_value; ?>"><?php echo $net_term_name; ?></option>