Ejemplo n.º 1
0
def get_list_context(context=None):
    from erpnext.controllers.website_list_for_contact import get_list_context

    list_context = get_list_context(context)
    list_context["title"] = _("My Orders")
    list_context["parents"] = [{"title": _("My Account"), "name": "me"}]
    return list_context
Ejemplo n.º 2
0
def get_list_context(context=None):
    user = frappe.session.user
    if user != "Guest":
        from erpnext.controllers.website_list_for_contact import get_list_context
        list_context = get_list_context(context)
        context.update({
            "doctype": "Warranty Claim",
            "pathname": "warranty_and_repair"
        })
        list_context.update({
            "title":
            _("Warranty Claim Details"),
            "get_list":
            get_warranty_docs,
            "row_template":
            "warranty_management/templates/includes/warranty_claim_row.html",
            "no_breadcrumbs":
            True,
            "introduction":
            frappe.render_template(
                "warranty_management/templates/pages/header_actions.html",
                context,
                is_path=True)
        })
        return list_context
Ejemplo n.º 3
0
def get_list_context(context=None):
	from erpnext.controllers.website_list_for_contact import get_list_context
	list_context = get_list_context(context)
	list_context.update({
		'show_sidebar': True,
		'show_search': True,
		'no_breadcrumbs': True,
		'title': _('Invoices'),
	})
	return list_context
Ejemplo n.º 4
0
def get_list_context(context=None):
	from erpnext.controllers.website_list_for_contact import get_list_context
	list_context = get_list_context(context)
	list_context.update({
		'show_sidebar': True,
		'show_search': True,
		'no_breadcrumbs': True,
		'title': _('Invoices'),
	})
	return list_context
Ejemplo n.º 5
0
def get_list_context(context=None):
    from erpnext.controllers.website_list_for_contact import get_list_context

    list_context = get_list_context(context)
    list_context.update({
        "show_sidebar": True,
        "show_search": True,
        "no_breadcrumbs": True,
        "title": _("Request for Quotation"),
    })
    return list_context
Ejemplo n.º 6
0
def get_list_context(context=None):
	user = frappe.session.user
	if user != "Guest":
		from erpnext.controllers.website_list_for_contact import get_list_context
		list_context = get_list_context(context)
		context.update({
			"doctype": "Warranty Claim",
			"pathname": "warranty_and_repair"
		})
		list_context.update({
			"title": _("Warranty Claim Details"),
			"get_list": get_warranty_docs,
			"row_template": "warranty_management/templates/includes/warranty_claim_row.html",
			"no_breadcrumbs": True,
			"introduction": frappe.render_template("warranty_management/templates/pages/header_actions.html", context, is_path=True)
		})
		return list_context
def get_list_context(context=None):
    from erpnext.controllers.website_list_for_contact import get_list_context
    list_context = get_list_context(context)
    list_context.update({
        'show_sidebar':
        True,
        'show_search':
        False,
        'no_breadcrumbs':
        True,
        'title':
        _('Get Quote'),
        "get_list":
        get_project_list,
        "row_template":
        "templates/includes/get_quote_row.html",
    })

    return list_context
Ejemplo n.º 8
0
def get_list_context(context=None):
    from erpnext.controllers.website_list_for_contact import get_list_context
    list_context = get_list_context(context)
    list_context["title"] = _("My Shipments")
    return list_context
Ejemplo n.º 9
0
def get_list_context(context=None):
	from erpnext.controllers.website_list_for_contact import get_list_context
	list_context = get_list_context(context)
	list_context["title"] = _("My Orders")
	return list_context
Ejemplo n.º 10
0
def get_list_context(context=None):
    from erpnext.controllers.website_list_for_contact import get_list_context
    list_context = get_list_context(context)
    list_context["show_sidebar"] = True
    return list_context
Ejemplo n.º 11
0
def get_list_context(context=None):
	from erpnext.controllers.website_list_for_contact import get_list_context
	list_context = get_list_context(context)
	list_context["title"] = _("My Orders")
	list_context["parents"] = [{"title": _("My Account"), "name": "me"}]
	return list_context
Ejemplo n.º 12
0
def get_list_context(context=None):
	from erpnext.controllers.website_list_for_contact import get_list_context
	list_context = get_list_context(context)
	return list_context
Ejemplo n.º 13
0
def get_list_context(context=None):
	from erpnext.controllers.website_list_for_contact import get_list_context
	list_context = get_list_context(context)
	list_context["show_sidebar"] = True
	return list_context
Ejemplo n.º 14
0
def get_list_context(context=None):
    from erpnext.controllers.website_list_for_contact import get_list_context

    list_context = get_list_context(context)
    list_context.update({"show_sidebar": True, "show_search": True, "no_breadcrumbs": True, "title": _("Invoices")})
    return list_context
Ejemplo n.º 15
0
def get_list_context(context=None):
    from erpnext.controllers.website_list_for_contact import get_list_context
    list_context = get_list_context(context)
    return list_context