mirror of
https://github.com/itflow-org/itflow
synced 2026-08-10 09:37:15 +00:00
Move more select * to column select for further optimization
This commit is contained in:
@@ -117,7 +117,7 @@ if ($user_config_dashboard_financial_enable == 1) {
|
||||
|
||||
$profit = $total_income - $total_expenses;
|
||||
|
||||
$sql_accounts = mysqli_query($mysqli, "SELECT * FROM accounts WHERE account_archived_at IS NULL ORDER BY account_name ASC");
|
||||
$sql_accounts = mysqli_query($mysqli, "SELECT account_id, account_name, opening_balance FROM accounts WHERE account_archived_at IS NULL ORDER BY account_name ASC");
|
||||
|
||||
$sql_latest_invoice_payments = mysqli_query($mysqli, "
|
||||
SELECT client_name, invoice_number, invoice_prefix, payment_amount, payment_date FROM payments
|
||||
|
||||
Reference in New Issue
Block a user