Ye error by-design hai — poora message: 'TT chain: is treatment ka bill (BILL-XXX) abhi maujood hai. Pehle bill ko Recycle Bin me delete karo, phir ye treatment delete hoga.'
KYUN
agar treatment chupchaap delete ho jaye aur bill reh jaye to accounts me aisi line bachegi jiska koi clinical record nahi — ghapla ya galti pakadna namumkin. Isliye chain ulta khulta hai: pehle paisa-record (bill) Recycle Bin me, tab clinical record.
STEPS
- Error me diya bill number note karo.
- Visit Timeline ke Bills section me (ya Billing me) us bill par 🗑 Delete dabao — Action Guard on ho to Staff PIN mangega. Bill 30 din Recycle Bin me recoverable rahega; permanent delete sirf owner.
- Ab treatment par 🗑 dabao — is baar delete (archive) ho jayega, aur uske pending post-op WhatsApp messages bhi auto-cancel ho jate hain.
EDGE CASE
bill already cancelled/recycled hai phir bhi error aa raha ho — page refresh karke dobara try karo; phir bhi aaye to Billing me check karo kahin duplicate bill to nahi bana tha usi treatment par.