def get_context(): from portal.utils import get_currency_context context = get_currency_context() context.update({ "title": "Shipments", "method": "portal.templates.pages.shipments.get_shipments", "icon": "icon-truck", "empty_list_message": "No Shipments Found", "page": "shipment" }) return context
def get_context(): from portal.utils import get_currency_context context = get_currency_context() context.update({ "title": "My Orders", "method": "selling.doctype.sales_order.templates.pages.orders.get_orders", "icon": "icon-list", "empty_list_message": "No Orders Yet", "page": "order", }) return context
def get_context(): from portal.utils import get_currency_context context = get_currency_context() context.update({ "title": "Invoices", "method": "accounts.doctype.sales_invoice.templates.pages.invoices.get_invoices", "icon": "icon-file-text", "empty_list_message": "No Invoices Found", "page": "invoice" }) return context