Skip to content

Commit

Permalink
Merge pull request #1 from krzGablo/DX-161
Browse files Browse the repository at this point in the history
DX-161 Widoczna płatność PayPo
  • Loading branch information
s4ddly authored Oct 31, 2023
2 parents 163154d + 2efe39f commit ab2e81d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions view/base/web/js/render_channels.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ require(['jquery', 'mage/translate'], function ($, $t) {
case 109: //alior raty
return grandTotal >= 300 && grandTotal <= 9259;
break;
case 172: //paypo
return grandTotal >= 40 && grandTotal <= 3000;
break;
}

return true;
Expand All @@ -48,13 +51,12 @@ require(['jquery', 'mage/translate'], function ($, $t) {
str2 = '',
tile,
others = [157, 106, 109, 148, 104],
installmentsGroupId = [109,169,167],
installmentsGroupId = [109,169,167,172],
group,
id,
groupName,
logoSrc,
bank_selection_form = document.getElementById('bank-selection-form');

for (i in tr_groups) {
group = tr_groups[i];
id = group[0];
Expand Down Expand Up @@ -155,4 +157,4 @@ require(['jquery', 'mage/translate'], function ($, $t) {
});
});
}
);
);

0 comments on commit ab2e81d

Please sign in to comment.