15 lines
286 B
Python
15 lines
286 B
Python
# -*- coding: utf-8 -*-
|
|
# Copyright (c) 2019, Frappe and contributors
|
|
# For license information, please see license.txt
|
|
|
|
|
|
import jingrow
|
|
|
|
|
|
@frappe.whitelist()
|
|
def all():
|
|
payments = frappe.get_all(
|
|
"Payment", fields=["name"], filters={"user": frappe.session.user}
|
|
)
|
|
return payments
|