Skip to content

Commit

Permalink
fix - Allow payment gateway account whose payment channel is Phone
Browse files Browse the repository at this point in the history
  • Loading branch information
maniamartial committed Feb 11, 2025
1 parent 34bf374 commit d3fd174
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion webshop/webshop/doctype/webshop_settings/webshop_settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ frappe.ui.form.on("Webshop Settings", {
}

frm.set_query('payment_gateway_account', function() {
return { 'filters': { 'payment_channel': "Email" } };
return { 'filters': {
'payment_channel': ['in', ["Email", "Phone"]]
} };
});
},
refresh: function(frm) {
Expand Down

0 comments on commit d3fd174

Please sign in to comment.