finishe monthly range for account type

also add create table if not exist in appointment_model.php