User details

avatar
query($query); while ($row = $result->fetchArray(SQLITE3_ASSOC)) { $currencyId = $row['id']; $currencies[$currencyId] = $row; } ?>
query($sql); if ($result) { $household = array(); while ($row = $result->fetchArray(SQLITE3_ASSOC)) { $household[] = $row; } } ?>

Household

query($sql); $rowCount = 0; while ($row = $result->fetchArray(SQLITE3_ASSOC)) { $notifications = $row; $rowCount++; } if ($rowCount == 0) { $notifications['enabled'] = false; $notifications['days'] = 1; $notifications['smtp_address'] = ""; $notifications['smtp_port'] = ""; $notifications['smtp_username'] = ""; $notifications['smtp_password'] = ""; } ?>

Notifications

query($sql); if ($result) { $categories = array(); while ($row = $result->fetchArray(SQLITE3_ASSOC)) { $categories[] = $row; } } ?>

Categories

query($sql); if ($result) { $payments = array(); while ($row = $result->fetchArray(SQLITE3_ASSOC)) { $payments[] = $row; } } ?> query($sql); if ($result) { $currencies = array(); while ($row = $result->fetchArray(SQLITE3_ASSOC)) { $currencies[] = $row; } } $query = "SELECT main_currency FROM user WHERE id = 1"; $stmt = $db->prepare($query); $result = $stmt->execute(); $row = $result->fetchArray(SQLITE3_ASSOC); $mainCurrencyId = $row['main_currency']; $query = "SELECT date FROM last_exchange_update"; $exchange_rates_last_updated = $db->querySingle($query); ?>

Currencies

query($sql); if ($result) { $row = $result->fetchArray(SQLITE3_ASSOC); if ($row) { $apiKey = $row['api_key']; } } ?>

Fixer API Key

Display settings

Experimental settings

Experimental settings will probably not work perfectly.

Payment Methods

query('SELECT id FROM payment_methods WHERE id IN (SELECT DISTINCT payment_method_id FROM subscriptions)'); $paymentsInUse = []; while ($row = $paymentsInUseQuery->fetchArray(SQLITE3_ASSOC)) { $paymentsInUse[] = $row['id']; } foreach ($payments as $payment) { $inUse = in_array($payment['id'], $paymentsInUse); ?>
Logo

About and Credits

Wallos v1.0

License: GPLv3

The author: https://henrique.pt

Icons: https://www.streamlinehq.com/freebies/plump-flat-free

Payment Icons: https://www.figma.com/file/5IMW8JfoXfB5GRlPNdTyeg/Credit-Cards-and-Payment-Methods-Icons-(Community)

Chart.js: https://www.chartjs.org/