- Timestamp:
- Mar 21, 2011, 8:47:45 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Scheduling/trunk/cs/bsdx0200GUISourceCode/DPatientLetter.cs
r884 r1110 302 302 303 303 // _currentResourcePrinting starts with zero. There will be at least this one. 304 C linicalScheduling.Printing.PrintAppointments(_dsApptDisplay, e, _dtBegin, _dtEnd,304 CGDocumentManager.Current.PrintingObject.PrintAppointments(_dsApptDisplay, e, _dtBegin, _dtEnd, 305 305 _currentResourcePrinting, ref _currentApptPrinting, _pageNumber); 306 306 … … 332 332 if (_dsApptDisplay.PatientAppts.Count == 0) 333 333 { 334 C linicalScheduling.Printing.PrintMessage("No Appointments found", e);334 CGDocumentManager.Current.PrintingObject.PrintMessage("No Appointments found", e); 335 335 return; 336 336 } … … 340 340 dsPatientApptDisplay2.BSDXResourceRow c = (dsPatientApptDisplay2.BSDXResourceRow) 341 341 _dsApptDisplay.PatientAppts[_currentApptPrinting].GetParentRow(_dsApptDisplay.Relations[0]); 342 C linicalScheduling.Printing.PrintReminderLetter(_dsApptDisplay.PatientAppts[_currentApptPrinting], e, c.LETTER_TEXT, "Reminder Letter");342 CGDocumentManager.Current.PrintingObject.PrintReminderLetter(_dsApptDisplay.PatientAppts[_currentApptPrinting], e, c.LETTER_TEXT, "Reminder Letter"); 343 343 _currentApptPrinting++; 344 344 if (_currentApptPrinting < _dsApptDisplay.PatientAppts.Count) … … 359 359 if (_dsRebookAppts.PatientAppts.Count == 0) 360 360 { 361 C linicalScheduling.Printing.PrintMessage("No Appointments found", e);361 CGDocumentManager.Current.PrintingObject.PrintMessage("No Appointments found", e); 362 362 return; 363 363 } … … 367 367 dsRebookAppts.BSDXResourceRow c = (dsRebookAppts.BSDXResourceRow) 368 368 _dsRebookAppts.PatientAppts[_currentApptPrinting].GetParentRow(_dsRebookAppts.Relations[0]); 369 C linicalScheduling.Printing.PrintCancelLetter(_dsRebookAppts.PatientAppts[_currentApptPrinting], e, c.CLINIC_CANCELLATION_LETTER, "Cancellation Letter");369 CGDocumentManager.Current.PrintingObject.PrintCancelLetter(_dsRebookAppts.PatientAppts[_currentApptPrinting], e, c.CLINIC_CANCELLATION_LETTER, "Cancellation Letter"); 370 370 _currentApptPrinting++; 371 371 if (_currentApptPrinting < _dsRebookAppts.PatientAppts.Count) … … 384 384 if (_dsRebookAppts.PatientAppts.Count == 0) 385 385 { 386 C linicalScheduling.Printing.PrintMessage("No Appointments found", e);386 CGDocumentManager.Current.PrintingObject.PrintMessage("No Appointments found", e); 387 387 return; 388 388 } … … 393 393 _dsRebookAppts.PatientAppts[_currentApptPrinting].GetParentRow(_dsRebookAppts.Relations[0]); 394 394 //XXX: Rebook letter rather oddly currently stored in NO SHOW LETTER field. What gives??? 395 C linicalScheduling.Printing.PrintRebookLetter(_dsRebookAppts.PatientAppts[_currentApptPrinting], e, c.NO_SHOW_LETTER, "Rebook Letter");395 CGDocumentManager.Current.PrintingObject.PrintRebookLetter(_dsRebookAppts.PatientAppts[_currentApptPrinting], e, c.NO_SHOW_LETTER, "Rebook Letter"); 396 396 _currentApptPrinting++; 397 397 if (_currentApptPrinting < _dsRebookAppts.PatientAppts.Count)
Note:
See TracChangeset
for help on using the changeset viewer.