// Copyright (c) 2020, JINGROW
// License: GNU General Public License v3. See license.txt

jingrow.listview_settings['Invoice'] = {
	get_indicator: function (pg) {
		var status_color = {
			Draft: 'darkgrey',
			Unpaid: 'orange',
			Paid: 'green',
			'Invoice Created': 'blue',
		};
		return [__(pg.status), status_color[pg.status], 'status,=,' + pg.status];
	},
};
