finishe monthly range for account type

also add create table if not exist in appointment_model.php
Merge remote-tracking branch 'origin/development' into mic_branch