Cross-shop Staff Transfer
Also known as: Beautician shop change · Staff inter-shop migration
A self-service flow for a beautician moving from one MeiYe Zhan shop to another. The original shop's historical records remain intact; the new shop sends an invite link; the beautician clicks to join.
Full definition
Cross-shop staff transfer addresses high beauty-industry mobility — beauticians change shops due to closures, leases, compensation, geography. Generic systems get stuck: after the original shop deactivates the member, `users/{uid}.shopId` still points at the old shop and the staff can't join a new one; hard-deleting the member loses historical records. MeiYe Zhan v1.0.40+ established a self-service flow: original shop deactivates → staff app auto-detects → clears own shopId → routes to /onboarding → new shop sends invite → staff clicks to join.
Why this concept matters
Shops are small; staff move often. A stuck transfer flow hurts everyone: the old shop fields support tickets, the new shop's admin spends manual time, the staff member's account is broken. Automating the flow removes friction so shops don't need to compete adversarially over employee transfers.
How MeiYe Zhan handles it
Three coordinated steps: (1) **Original shop action**: owner goes to settings → staff management → toggles deactivate. Member doc `isActive=false`, effective immediately; staff can't access this shop's data but performance + attendance history is preserved. (2) **Deactivated staff self-detection**: AppShell detects `member.isActive === false && profile.shopId === shop.shopId` on next app open, auto-clears `users.shopId=null`, redirects to /onboarding?reason=deactivated with a banner. (3) **New shop invite**: new owner generates invite link. `acceptInvite` Cloud Function writes the new member doc and updates `users.shopId`. History stays with original shop; staff at new shop starts from zero.
Concrete example
Beautician A worked 3 years at shop X with NT$500,000 cumulative performance. X owner deactivates A → on next app open A is auto-cleared and lands on /onboarding with banner "you've been removed from your previous shop; if you have another invite link, open it to join." Next week shop Y owner sends an invite → A clicks, logs in, auto-joins Y. A's NT$500,000 history stays in X's reports (X can still view), but at Y, A's performance starts at NT$0.
Deep-dive articles
Comparisons
See how MeiYe Zhan handles Cross-shop Staff Transfer in practice?
30-day free trial, no credit card required. From NT$999/month.
Start free trial