Closed lxm218 closed 8 years ago
done delete means change customer status from 'active' to 'inactive' we can not delete from db beacuse it will trigger a lot of problems.
现在都是这个提示,也没有变成inactive
beacuse all of these customers have students. My logic is if customer has student, it can't be deleted. You can add a customer and test the delete feature. thanks.
the reason calphin wants to have this feature is because sometimes they may create duplicate accounts. Is there way to combine two accounts?
可以用family的status属性控制
请在familyaccount action里面增加一个delete,但是需要判断,如果这个account有注册信息就不能被delete