Ignore:
Timestamp:
Mar 24, 2011, 9:26:14 AM (13 years ago)
Author:
Sam Habiel
Message:

CGDocument: Minor Change: Add appointment ID to Appointment
CGDocumentManager: added parameter /culture to set Thread.CurrentThread.CurrentUICulture
CGView: Minor changes in CheckInAppointment: Printing of Routing Slip now always happens.

Routing slip now get parameter for patient order.

Patient: i18n of UserFriendlyAge
Printing: Extensive changes. Support for i18n; new routing slip and appt slip. i18n support only for appt slip.

File:
1 edited

Legend:

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

    r1111 r1112  
    5454            {
    5555                if (Age.TotalDays / 365.24 > 5)
    56                     return Math.Floor((Age.TotalDays / 365.24)).ToString() + " years";
     56                    return Math.Floor((Age.TotalDays / 365.24)).ToString() + " " + strings.years;
    5757                else
    58                     return Math.Floor((Age.TotalDays / 365.24)).ToString() + " years & "
    59                      + Math.Floor(Age.TotalDays % 365.24 / 30).ToString() + " months";
     58                    return Math.Floor((Age.TotalDays / 365.24)).ToString() + " " + strings.years + " " + strings.and + " "
     59                     + Math.Floor(Age.TotalDays % 365.24 / 30).ToString() + " " + strings.months;
    6060            }
    6161        }
Note: See TracChangeset for help on using the changeset viewer.