Changeset 892 for Scheduling/trunk/cs/bsdx0200GUISourceCode
- Timestamp:
- Jul 21, 2010, 9:42:23 AM (14 years ago)
- Location:
- Scheduling/trunk/cs/bsdx0200GUISourceCode
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Scheduling/trunk/cs/bsdx0200GUISourceCode/CGView.cs
r850 r892 2131 2131 appt.HealthRecordNumber = dPat.HealthRecordNumber; 2132 2132 2133 /*2134 * 8-10-05 Copied overbook prompt for walkin2135 * to this position in order to check just prior2136 * to calling CreateAppointment2137 */2138 2133 this.Document.RefreshDocument(); 2139 m_nSlots = m_Document.SlotsAvailable(dStart, dEnd, sResource, out sAccessType, out sAvailabilityMessage);2140 2141 if (m_nSlots < 1)2142 {2143 DialogResult dr = MessageBox.Show(this, "There are no slots available at the selected time. Do you want to overbook this appointment?", "Clinical Scheduling",MessageBoxButtons.YesNo);2144 if (dr != DialogResult.Yes)2145 {2146 return;2147 }2148 }2149 2134 2150 2135 //Call Document to add a walkin appointment -
Scheduling/trunk/cs/bsdx0200GUISourceCode/DResource.cs
r802 r892 543 543 DataTable dtHospLoc = dsGlobal.Tables["HospitalLocation"]; 544 544 m_dvHospLoc = new DataView(dtHospLoc); 545 545 m_dvHospLoc.Sort = "HOSPITAL_LOCATION_ID ASC"; 546 546 int nFind = m_dvHospLoc.Find((int) 0); 547 547 if (nFind < 0) … … 553 553 drv.EndEdit(); 554 554 } 555 m_dvHospLoc.Sort = "HOSPITAL_LOCATION ASC"; 555 556 556 557 // DataTable dtClinicParams = dsGlobal.Tables["ClinicSetupParameters"];
Note:
See TracChangeset
for help on using the changeset viewer.