measure_log; btn_mini

measure_log bug fix: use teacher id not child id which was a mistake
pruchase_log: has_one
btw style changed