chore: fix linter
This commit is contained in:
parent
76493e928f
commit
0048bcb067
@ -9,6 +9,7 @@ from frappe import _
|
||||
from frappe.model.document import Document
|
||||
from frappe.utils import flt, get_url, nowdate
|
||||
from frappe.utils.background_jobs import enqueue
|
||||
from payments.utils import get_payment_gateway_controller
|
||||
|
||||
from erpnext.accounts.doctype.payment_entry.payment_entry import (
|
||||
get_company_defaults,
|
||||
@ -19,8 +20,6 @@ from erpnext.accounts.party import get_party_account, get_party_bank_account
|
||||
from erpnext.accounts.utils import get_account_currency
|
||||
from erpnext.erpnext_integrations.stripe_integration import create_stripe_subscription
|
||||
|
||||
from payments.utils import get_payment_gateway_controller
|
||||
|
||||
|
||||
class PaymentRequest(Document):
|
||||
def validate(self):
|
||||
|
@ -10,7 +10,6 @@ from frappe import _
|
||||
from frappe.integrations.utils import create_request_log
|
||||
from frappe.model.document import Document
|
||||
from frappe.utils import call_hook_method, cint, flt, get_url
|
||||
|
||||
from payments.utils import create_payment_gateway
|
||||
|
||||
|
||||
|
@ -9,6 +9,7 @@ from frappe import _
|
||||
from frappe.integrations.utils import create_request_log
|
||||
from frappe.model.document import Document
|
||||
from frappe.utils import call_hook_method, fmt_money, get_request_site_address
|
||||
from payments.utils import create_payment_gateway
|
||||
|
||||
from erpnext.erpnext_integrations.doctype.mpesa_settings.mpesa_connector import MpesaConnector
|
||||
from erpnext.erpnext_integrations.doctype.mpesa_settings.mpesa_custom_fields import (
|
||||
@ -16,8 +17,6 @@ from erpnext.erpnext_integrations.doctype.mpesa_settings.mpesa_custom_fields imp
|
||||
)
|
||||
from erpnext.erpnext_integrations.utils import create_mode_of_payment
|
||||
|
||||
from payments.utils import create_payment_gateway
|
||||
|
||||
|
||||
class MpesaSettings(Document):
|
||||
supported_currencies = ["KES"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user