mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
Updated hopefully everywhere for account so account_archived works properly also do not allow archiving of account if equals online payment account
This commit is contained in:
@@ -49,7 +49,7 @@ require_once("inc_all_settings.php");
|
||||
<select class="form-control select2" name="config_stripe_account" required>
|
||||
<option value="">- Account -</option>
|
||||
<?php
|
||||
$sql_accounts = mysqli_query($mysqli, "SELECT * FROM accounts");
|
||||
$sql_accounts = mysqli_query($mysqli, "SELECT * FROM accounts WHERE account_archived_at IS NULL ORDER BY account_name ASC");
|
||||
while ($row = mysqli_fetch_array($sql_accounts)) {
|
||||
$account_id = intval($row['account_id']);
|
||||
$account_name = nullable_htmlentities($row['account_name']);
|
||||
|
||||
Reference in New Issue
Block a user