Color bullets in doctype list

I want to color the bullets in overview page of a doctype. The “reason” field is a select type with only 2 options as shown in the image. How can I do that?

See this: erpnext/sales_invoice_list.js at develop · frappe/erpnext · GitHub

3 Likes

ty @anand! :smile: