frappe.listview_settings['Subscription'] = {
	get_indicator: function(doc) {
		if(doc.status === 'Trialling') {
			return [__("Trialling"), "green"];
		} else if(doc.status === 'Active') {
			return [__("Active"), "green"];
		} else if(doc.status === 'Completed') {
				return [__("Completed"), "green"];
		} else if(doc.status === 'Past Due Date') {
			return [__("Past Due Date"), "orange"];
		} else if(doc.status === 'Unpaid') {
			return [__("Unpaid"), "red"];
		} else if(doc.status === 'Cancelled') {
			return [__("Cancelled"), "gray"];
		}
	}
};
