mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-04 12:49:10 +00:00
chore: mass trailing whitespace and EOF fixes
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
|
||||
<div>{{doc.terms}}</div>
|
||||
<div>{{doc.terms}}</div>
|
||||
|
||||
@@ -8,4 +8,4 @@
|
||||
|
||||
<p class="post-description"> {{ intro }} </p>
|
||||
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
||||
@@ -17,4 +17,3 @@ def get_context(context):
|
||||
context.doc = course
|
||||
context.sidebar_title = sidebar_title
|
||||
context.intro = course.course_intro
|
||||
|
||||
|
||||
@@ -6,4 +6,4 @@
|
||||
padding: 10rem 0;
|
||||
}
|
||||
{% endif %}
|
||||
/* csslint ignore:end */
|
||||
/* csslint ignore:end */
|
||||
|
||||
@@ -72,4 +72,4 @@
|
||||
{{ render_homepage_section(section) }}
|
||||
{% endfor %}
|
||||
</main>
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
||||
@@ -13,4 +13,4 @@
|
||||
<span class='gocardless-loading'>{{ _("Loading Payment System") }}</span>
|
||||
</p>
|
||||
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
||||
@@ -74,4 +74,4 @@ def check_mandate(data, reference_doctype, reference_docname):
|
||||
|
||||
except Exception as e:
|
||||
frappe.log_error(e, "GoCardless Payment Error")
|
||||
return {"redirect_to": '/integrations/payment-failed'}
|
||||
return {"redirect_to": '/integrations/payment-failed'}
|
||||
|
||||
@@ -13,4 +13,4 @@
|
||||
<span class='gocardless-loading'>{{ _("Payment Confirmation") }}</span>
|
||||
</p>
|
||||
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
||||
@@ -86,4 +86,4 @@ def create_mandate(data):
|
||||
}).insert(ignore_permissions=True)
|
||||
|
||||
except Exception:
|
||||
frappe.log_error(frappe.get_traceback())
|
||||
frappe.log_error(frappe.get_traceback())
|
||||
|
||||
@@ -71,4 +71,4 @@
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
||||
@@ -19,7 +19,7 @@ def get_context(context):
|
||||
|
||||
if not frappe.has_website_permission(context.doc):
|
||||
frappe.throw(_("Not Permitted"), frappe.PermissionError)
|
||||
|
||||
|
||||
default_print_format = frappe.db.get_value('Property Setter', dict(property='default_print_format', doc_type=frappe.form_dict.doctype), "value")
|
||||
if default_print_format:
|
||||
context.print_format = default_print_format
|
||||
@@ -45,5 +45,5 @@ def get_more_items_info(items, material_request):
|
||||
item.delivered_qty = flt(frappe.db.sql("""select sum(transfer_qty)
|
||||
from `tabStock Entry Detail` where material_request = %s
|
||||
and item_code = %s and docstatus = 1""",
|
||||
(material_request, item.item_code))[0][0])
|
||||
return items
|
||||
(material_request, item.item_code))[0][0])
|
||||
return items
|
||||
|
||||
@@ -56,4 +56,4 @@
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
||||
@@ -39,4 +39,4 @@
|
||||
});
|
||||
})
|
||||
</script>
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
||||
@@ -32,9 +32,9 @@ def get_context(context):
|
||||
|
||||
if not frappe.has_website_permission(context.doc):
|
||||
frappe.throw(_("Not Permitted"), frappe.PermissionError)
|
||||
|
||||
|
||||
# check for the loyalty program of the customer
|
||||
customer_loyalty_program = frappe.db.get_value("Customer", context.doc.customer, "loyalty_program")
|
||||
customer_loyalty_program = frappe.db.get_value("Customer", context.doc.customer, "loyalty_program")
|
||||
if customer_loyalty_program:
|
||||
from erpnext.accounts.doctype.loyalty_program.loyalty_program import get_loyalty_program_details_with_points
|
||||
loyalty_program_details = get_loyalty_program_details_with_points(context.doc.customer, customer_loyalty_program)
|
||||
|
||||
@@ -47,4 +47,3 @@ def get_product_list(search=None, start=0, limit=12):
|
||||
set_product_info_for_website(item)
|
||||
|
||||
return [get_item_for_list_in_html(r) for r in data]
|
||||
|
||||
|
||||
@@ -117,4 +117,4 @@ frappe.ready(function() {
|
||||
})
|
||||
return false;
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
@@ -147,4 +147,4 @@
|
||||
});
|
||||
</script>
|
||||
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
||||
@@ -7,8 +7,8 @@ def get_context(context):
|
||||
context.no_cache = 1
|
||||
|
||||
task = frappe.get_doc('Task', frappe.form_dict.task)
|
||||
|
||||
|
||||
context.comments = frappe.get_all('Communication', filters={'reference_name': task.name, 'comment_type': 'comment'},
|
||||
fields=['subject', 'sender_full_name', 'communication_date'])
|
||||
|
||||
context.doc = task
|
||||
|
||||
context.doc = task
|
||||
|
||||
@@ -45,4 +45,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
||||
@@ -7,5 +7,5 @@ def get_context(context):
|
||||
context.no_cache = 1
|
||||
|
||||
timelog = frappe.get_doc('Time Log', frappe.form_dict.timelog)
|
||||
|
||||
context.doc = timelog
|
||||
|
||||
context.doc = timelog
|
||||
|
||||
Reference in New Issue
Block a user