test: Patient Medical Record

This commit is contained in:
Rucha Mahabal
2020-03-24 11:54:35 +05:30
parent aabcee4f8f
commit 60e558a019
4 changed files with 506 additions and 1547 deletions

View File

@@ -333,7 +333,6 @@ def check_fee_validity(appointment):
validity = frappe.db.exists('Fee Validity', {
'practitioner': appointment.practitioner,
'patient': appointment.patient,
'status': 'Pending',
'valid_till': ('>=', appointment.appointment_date)
})
if not validity: