feat: image pasting

This commit is contained in:
Jannat Patel
2024-07-19 11:55:36 +05:30
parent 4bc3ac1665
commit 69d266e018
9 changed files with 106 additions and 21 deletions

View File

@@ -103,6 +103,7 @@
"fieldname": "start_date",
"fieldtype": "Date",
"in_list_view": 1,
"in_standard_filter": 1,
"label": "Start Date",
"reqd": 1
},
@@ -127,6 +128,7 @@
{
"fieldname": "start_time",
"fieldtype": "Time",
"in_list_view": 1,
"label": "Start Time",
"reqd": 1
},
@@ -165,6 +167,7 @@
{
"fieldname": "category",
"fieldtype": "Link",
"in_standard_filter": 1,
"label": "Category",
"options": "LMS Category"
},
@@ -325,7 +328,7 @@
],
"index_web_pages_for_search": 1,
"links": [],
"modified": "2024-06-24 16:24:45.536453",
"modified": "2024-07-18 18:06:37.229885",
"modified_by": "Administrator",
"module": "LMS",
"name": "LMS Batch",

View File

@@ -96,6 +96,7 @@ class LMSBatch(Document):
)
args = {
"title": self.title,
"student_name": student.student_name,
"start_time": self.start_time,
"start_date": self.start_date,

View File

@@ -8,10 +8,11 @@
<br>
<p>
<b>
{{ _("Important Details:") }}
{{ title }}
</b>
</p>
<p>
<b>{{ _("Batch Start Date:") }}</b> {{ frappe.utils.format_date(start_date, "medium") }}
</p>