refactor daily customer page
update payment status
define c_id as window property