Remove all reminense of Account Types next is deleting the DB Tables for account types

This commit is contained in:
johnnyq
2024-09-17 13:59:58 -04:00
parent 10ecb8b7c9
commit 7b2566b654
12 changed files with 8 additions and 401 deletions

View File

@@ -59,9 +59,8 @@
<option value="">- Select an Account -</option>
<?php
$sql = mysqli_query($mysqli, "SELECT * FROM accounts LEFT JOIN account_types ON account_types.account_type_id = accounts.account_type WHERE account_type_parent = 1 AND account_archived_at IS NULL ORDER BY account_name ASC");
$sql = mysqli_query($mysqli, "SELECT * FROM accounts WHERE account_archived_at IS NULL ORDER BY account_name ASC");
while ($row = mysqli_fetch_array($sql)) {
$account_type = nullable_htmlentities($row['account_type']);
$account_id = intval($row['account_id']);
$account_name = nullable_htmlentities($row['account_name']);
$opening_balance = floatval($row['opening_balance']);