Oh Boy! More fixes...

strings.resx and strings.resx.ar: AppoinmentRoutingSlip identifier and name in strings changed to AppointmentReminderSlip
Printing: Corresponding change.
CGView: Appointment Order to be passed to routing slip was wrong if there were more than one resource open.
This commit is contained in:
sam 2011-03-30 10:18:19 +00:00
parent 16b509e923
commit a0731cd122
9 changed files with 8 additions and 8 deletions

View File

@ -3344,7 +3344,7 @@ namespace IndianHealthService.ClinicalScheduling
//get this appointment's order
//Today's appointments
var todaysAppts = (from lkappts in this.Document.Appointments.AppointmentTable.Values.Cast<CGAppointment>()
where lkappts.StartTime > appt.StartTime.Date && lkappts.StartTime < appt.StartTime.AddDays(1).Date
where lkappts.StartTime > appt.StartTime.Date && lkappts.StartTime < appt.StartTime.AddDays(1).Date && lkappts.Resource == appt.Resource
orderby lkappts.StartTime
select lkappts).ToList();

View File

@ -184,7 +184,7 @@ namespace IndianHealthService.ClinicalScheduling
sf.Alignment = StringAlignment.Center; //for title & header
//string s = "Appointment Reminder Slip";
string s = strings.ApptRoutingSlip;
string s = strings.ApptReminderSlip;
g.DrawString(s, fTitle, Brushes.Black, printArea, sf); //title
// move down

View File

@ -88,11 +88,11 @@ namespace IndianHealthService.ClinicalScheduling {
}
/// <summary>
/// Looks up a localized string similar to Appointment Routing Slip.
/// Looks up a localized string similar to Appointment Reminder Slip.
/// </summary>
internal static string ApptRoutingSlip {
internal static string ApptReminderSlip {
get {
return ResourceManager.GetString("ApptRoutingSlip", resourceCulture);
return ResourceManager.GetString("ApptReminderSlip", resourceCulture);
}
}

View File

@ -126,7 +126,7 @@
<data name="ApptInfo" xml:space="preserve">
<value>تفاصيل الموعد</value>
</data>
<data name="ApptRoutingSlip" xml:space="preserve">
<data name="ApptReminderSlip" xml:space="preserve">
<value>بطاقة المراجعة</value>
</data>
<data name="Clinic" xml:space="preserve">

View File

@ -126,8 +126,8 @@
<data name="ApptInfo" xml:space="preserve">
<value>Appointment Details</value>
</data>
<data name="ApptRoutingSlip" xml:space="preserve">
<value>Appointment Routing Slip</value>
<data name="ApptReminderSlip" xml:space="preserve">
<value>Appointment Reminder Slip</value>
</data>
<data name="Clinic" xml:space="preserve">
<value>Clinic</value>