mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-20 03:47:11 +00:00
feat(Healthcare): Capacity for Service Unit, concurrent appointments based on Capacity, Patient enhancements (#24860)
* fix: (tests) get_healthcare_docs and get_medical_department separated, related changes * feat: Service Unit option to allow overlap, overlap capacity Appointment to allow overlapping appointments Co-authored-by: Akash Krishna <akash@earthianslive.com> * feat: Create multiple service units from tree view Co-authored-by: Akash Krishna <akash@earthianslive.com> * feat: patient address and contact patient dashboard links, customer stats * fix: sider review * fix: untranslated message * fix: enable non-negative check for service unit capacity - incorrect depends on statement in dialog * refactor(UX): Available Slots Dialog * chore: remove unused field from Healthcare Service Unit Type Co-authored-by: Akash Krishna <akash@earthianslive.com> Co-authored-by: Rucha Mahabal <ruchamahabal2@gmail.com>
This commit is contained in:
@@ -282,7 +282,12 @@ doc_events = {
|
||||
"on_trash": "erpnext.regional.check_deletion_permission"
|
||||
},
|
||||
'Address': {
|
||||
'validate': ['erpnext.regional.india.utils.validate_gstin_for_india', 'erpnext.regional.italy.utils.set_state_code', 'erpnext.regional.india.utils.update_gst_category']
|
||||
'validate': [
|
||||
'erpnext.regional.india.utils.validate_gstin_for_india',
|
||||
'erpnext.regional.italy.utils.set_state_code',
|
||||
'erpnext.regional.india.utils.update_gst_category',
|
||||
'erpnext.healthcare.utils.update_address_links'
|
||||
],
|
||||
},
|
||||
'Supplier': {
|
||||
'validate': 'erpnext.regional.india.utils.validate_pan_for_india'
|
||||
@@ -293,7 +298,7 @@ doc_events = {
|
||||
"Contact": {
|
||||
"on_trash": "erpnext.support.doctype.issue.issue.update_issue",
|
||||
"after_insert": "erpnext.telephony.doctype.call_log.call_log.link_existing_conversations",
|
||||
"validate": "erpnext.crm.utils.update_lead_phone_numbers"
|
||||
"validate": ["erpnext.crm.utils.update_lead_phone_numbers", "erpnext.healthcare.utils.update_patient_email_and_phone_numbers"]
|
||||
},
|
||||
"Email Unsubscribe": {
|
||||
"after_insert": "erpnext.crm.doctype.email_campaign.email_campaign.unsubscribe_recipient"
|
||||
|
||||
Reference in New Issue
Block a user