Changeset 892


Ignore:
Timestamp:
Jul 21, 2010, 9:42:23 AM (14 years ago)
Author:
Sam Habiel
Message:
 
Location:
Scheduling/trunk/cs/bsdx0200GUISourceCode
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Scheduling/trunk/cs/bsdx0200GUISourceCode/CGView.cs

    r850 r892  
    21312131                                appt.HealthRecordNumber = dPat.HealthRecordNumber;
    21322132
    2133                                 /*
    2134                                  * 8-10-05 Copied overbook prompt for walkin
    2135                                  * to this position in order to check just prior
    2136                                  * to calling CreateAppointment
    2137                                 */
    21382133                                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                                 }
    21492134
    21502135                                //Call Document to add a walkin appointment
  • Scheduling/trunk/cs/bsdx0200GUISourceCode/DResource.cs

    r802 r892  
    543543                        DataTable dtHospLoc = dsGlobal.Tables["HospitalLocation"];
    544544                        m_dvHospLoc = new DataView(dtHospLoc);
    545                         m_dvHospLoc.Sort = "HOSPITAL_LOCATION_ID ASC";
     545            m_dvHospLoc.Sort = "HOSPITAL_LOCATION_ID ASC";
    546546                        int nFind = m_dvHospLoc.Find((int) 0);
    547547                        if (nFind < 0)
     
    553553                                drv.EndEdit();
    554554                        }
     555            m_dvHospLoc.Sort = "HOSPITAL_LOCATION ASC";
    555556
    556557//                      DataTable dtClinicParams = dsGlobal.Tables["ClinicSetupParameters"];
Note: See TracChangeset for help on using the changeset viewer.