Account Types bug
This commit is contained in:
@@ -30,7 +30,7 @@
|
|||||||
<option value="">- Select -</option>
|
<option value="">- Select -</option>
|
||||||
<!-- Loop through the associative array to generate the options -->
|
<!-- Loop through the associative array to generate the options -->
|
||||||
<?php
|
<?php
|
||||||
mysqli_query($mysqli,"SELECT * FROM account_types ORDER BY account_type_id ASC");
|
$result_account_types = mysqli_query($mysqli,"SELECT * FROM account_types ORDER BY account_type_id ASC");
|
||||||
|
|
||||||
while ($row = mysqli_fetch_array($result_account_types)) {
|
while ($row = mysqli_fetch_array($result_account_types)) {
|
||||||
$account_type_id = $row['account_type_id'];
|
$account_type_id = $row['account_type_id'];
|
||||||
@@ -59,9 +59,11 @@
|
|||||||
</div>
|
</div>
|
||||||
<select class="form-control select2" name="currency_code" required>
|
<select class="form-control select2" name="currency_code" required>
|
||||||
<option value="">- Currency -</option>
|
<option value="">- Currency -</option>
|
||||||
|
test
|
||||||
<?php foreach ($currencies_array as $currency_code => $currency_name) { ?>
|
<?php foreach ($currencies_array as $currency_code => $currency_name) { ?>
|
||||||
<option <?php if ($session_company_currency == $currency_code) { echo "selected"; } ?> value="<?php echo $currency_code; ?>"><?php echo "$currency_code - $currency_name"; ?></option>
|
<option <?php if ($session_company_currency == $currency_code) { echo "selected"; } ?> value="<?php echo $currency_code; ?>"><?php echo "$currency_code - $currency_name"; ?></option>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
test
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user