From 2ea73888f02ea555d083c4b055d77552076e254e Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Tue, 11 Feb 2025 14:49:04 +0530 Subject: [PATCH] fix: changed naming for LMS Payment --- lms/lms/doctype/lms_payment/lms_payment.json | 8 +++----- lms/lms/doctype/lms_payment/lms_payment.py | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/lms/lms/doctype/lms_payment/lms_payment.json b/lms/lms/doctype/lms_payment/lms_payment.json index 786f3909..cdb3d751 100644 --- a/lms/lms/doctype/lms_payment/lms_payment.json +++ b/lms/lms/doctype/lms_payment/lms_payment.json @@ -1,19 +1,18 @@ { "actions": [], "allow_rename": 1, - "autoname": "format:PAY-{#####}", "creation": "2023-08-24 17:46:52.065763", "default_view": "List", "doctype": "DocType", "editable_grid": 1, "engine": "InnoDB", "field_order": [ - "payment_for_document_type", "member", + "billing_name", "source", "column_break_rqkd", + "payment_for_document_type", "payment_for_document", - "billing_name", "payment_received", "payment_details_section", "currency", @@ -141,11 +140,10 @@ ], "index_web_pages_for_search": 1, "links": [], - "modified": "2024-10-31 15:33:39.420366", + "modified": "2025-02-11 14:48:27.801895", "modified_by": "Administrator", "module": "LMS", "name": "LMS Payment", - "naming_rule": "Expression", "owner": "Administrator", "permissions": [ { diff --git a/lms/lms/doctype/lms_payment/lms_payment.py b/lms/lms/doctype/lms_payment/lms_payment.py index d8e25f77..5173a653 100644 --- a/lms/lms/doctype/lms_payment/lms_payment.py +++ b/lms/lms/doctype/lms_payment/lms_payment.py @@ -37,7 +37,7 @@ def send_payment_reminder(): def send_mail(payment): - subject = _(" Complete Your Enrollment - Don't miss out!") + subject = _("Complete Your Enrollment - Don't miss out!") template = "payment_reminder" custom_template = frappe.db.get_single_value( "LMS Settings", "payment_reminder_template"