lxm218 / Edminforce

0 stars 2 forks source link

calphin - family account #675

Closed lxm218 closed 8 years ago

lxm218 commented 8 years ago

请在familyaccount action里面增加一个delete,但是需要判断,如果这个account有注册信息就不能被delete

image

liyangwood commented 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.

lxm218 commented 8 years ago

现在都是这个提示,也没有变成inactive

image

liyangwood commented 8 years ago

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.

lxm218 commented 8 years ago

the reason calphin wants to have this feature is because sometimes they may create duplicate accounts. Is there way to combine two accounts?

liyangwood commented 8 years ago

可以用family的status属性控制