Skip to content
Snippets Groups Projects
Commit 8a94115f authored by Demian Katz's avatar Demian Katz
Browse files

Merge pull request #273 from branflakes-ns/master

Symphony: check both unseen, total renewals left
parents cefc0263 4915b8f0
Branches
Tags
No related merge requests found
......@@ -1241,8 +1241,10 @@ class Symphony extends AbstractBase
$transactions;
foreach ($transactions as $transaction) {
if (!empty($transaction->unseenRenewalsRemaining)
|| !empty($transaction->unseenRenewalsRemainingUnlimited)
if ((!empty($transaction->unseenRenewalsRemaining)
|| !empty($transaction->unseenRenewalsRemainingUnlimited)) &&
(!empty($transaction->renewalsRemaining)
|| !empty($transaction->renewalsRemainingUnlimited))
) {
$renewable = true;
} else {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment