Help me customize my ListView

Hey guys,

I have two DocTypes one of them is Payment Entry Doctype and the other one is a custom Cheque DocType. In the Cheque Doctype we have a custom statuses.

What I’m trying to do is to display the Cheque Status for the Payment Entries that Have been made by a cheque instead of the default Payment Entry statuses but I don’t want to change the actual data. I just want to manipulate the frontend to display something different than the actual doctype values.

For more clarification:
I have 10 Submitted Payment Entries. one of them is paid by a Cheque. All of the Entries should have a Submitted status in the database but when displaying them on the List or Form view’s one of them should have the Cheque Status and 9 should have the submitted status.

Is this possible? and can someone help me achieve this?

Any help?

@mohammad-ihraiz check this



for more refrence check this erpnext/erpnext/selling/doctype/sales_order/sales_order_list.js at develop · frappe/erpnext · GitHub

1 Like

Thank you <3

made the topic as solution ?!