mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-13 10:11:20 +00:00
added website pages for orders, tickets and added sales invoice print format
This commit is contained in:
@@ -70,4 +70,11 @@ def set_status(name, status):
|
||||
st = webnotes.bean("Support Ticket", name)
|
||||
st.doc.status = status
|
||||
st.save()
|
||||
|
||||
|
||||
@webnotes.whitelist()
|
||||
def get_tickets():
|
||||
tickets = webnotes.conn.sql("""select name, subject, status from
|
||||
`tabSupport Ticket` where raised_by=%s order by modified desc""",
|
||||
webnotes.session.user, as_dict=1)
|
||||
return tickets
|
||||
|
||||
|
||||
Reference in New Issue
Block a user