master.pay_date = (master.pay_date + '').replace('00:00:00', '').replace('0:00:00', '').replace(new RegExp("/", "gm"), '-');
new RegExp("/", "gm")