Show member name when sorting by members
This commit is contained in:
@@ -43,7 +43,7 @@ if (!file_exists($databaseFile)) {
|
||||
FOREIGN KEY(cycle) REFERENCES cycles(id),
|
||||
FOREIGN KEY(frequency) REFERENCES frequencies(id),
|
||||
FOREIGN KEY(payment_method_id) REFERENCES payment_methods(id),
|
||||
FOREIGN KEY(payer_user_id) REFERENCES user(id)
|
||||
FOREIGN KEY(payer_user_id) REFERENCES household(id)
|
||||
FOREIGN KEY(category_id) REFERENCES categories(id)
|
||||
)');
|
||||
|
||||
|
||||
@@ -50,6 +50,7 @@
|
||||
$print[$id]['payment_method_icon'] = "images/uploads/icons/" . $payment_methods[$paymentMethodId]['icon'];
|
||||
$print[$id]['payment_method_name'] = $payment_methods[$paymentMethodId]['name'];
|
||||
$print[$id]['category_id'] = $subscription['category_id'];
|
||||
$print[$id]['payer_user_id'] = $subscription['payer_user_id'];
|
||||
$print[$id]['price'] = $subscription['price'];
|
||||
|
||||
if (isset($_COOKIE['convertCurrency']) && $_COOKIE['convertCurrency'] === 'true' && $currencyId != $mainCurrencyId) {
|
||||
@@ -66,7 +67,7 @@
|
||||
}
|
||||
|
||||
if (isset($print)) {
|
||||
printSubscriptons($print, $sort, $categories);
|
||||
printSubscriptons($print, $sort, $categories, $members);
|
||||
}
|
||||
|
||||
if (count($subscriptions) == 0) {
|
||||
|
||||
Reference in New Issue
Block a user