Skip to content

Commit

Permalink
add payment_method_id
Browse files Browse the repository at this point in the history
  • Loading branch information
sokratis1988 committed Feb 23, 2024
1 parent 7e41ad5 commit 0a2aeee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stats.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ function getPriceConverted($price, $currency, $database) {
$amountDueThisMonth = 0;
$totalCostPerMonth = 0;

$query = "SELECT name, price, frequency, cycle, currency_id, next_payment, payer_user_id, category_id FROM subscriptions WHERE inactive = 0";
$query = "SELECT name, price, frequency, cycle, currency_id, next_payment, payer_user_id, category_id, payment_method_id FROM subscriptions WHERE inactive = 0";
$result = $db->query($query);
if ($result) {
while ($row = $result->fetchArray(SQLITE3_ASSOC)) {
Expand Down

0 comments on commit 0a2aeee

Please sign in to comment.