system
(system)
October 11, 2014, 4:38am
1
brainknight wrote on Saturday, October 11, 2014 :
Dears,
Please I need help to:
1- change providers name order from (lname, fname) to (fname lname) in the calendar main menu, also to delete the coma. as shown in the attachment pic.
I tried in the file (\library patient.inc) many options but doesn’t work.
Please I need help.
Many Thanks
B. K.
system
(system)
October 11, 2014, 11:48am
2
epsdky wrote on Saturday, October 11, 2014 :
Hello B.K.,
for the day view, go to file…
openemr/interface/main/calendar/modules/PostCalendar/pntemplates/default/views/day/ajax_template.html
change line 330 from...
echo ">" . htmlspecialchars($doc['lname'],ENT_QUOTES) . ", " . htmlspecialchars($doc['fname'],ENT_QUOTES) . "</option>\n";
to…
echo ">" . htmlspecialchars($doc['fname'],ENT_QUOTES) . " " . htmlspecialchars($doc['lname'],ENT_QUOTES) . "</option>\n";
(change lname to fname, fname to lname and ", " to " ").
For week view, make above changes in line 330 in…
openemr/interface/main/calendar/modules/PostCalendar/pntemplates/default/views/week/ajax_template.html
and for month view, make changes in line 309 in…
openemr/interface/main/calendar/modules/PostCalendar/pntemplates/default/views/month/ajax_template.html
Regards,
epsdky.
system
(system)
October 12, 2014, 4:03pm
3
brainknight wrote on Sunday, October 12, 2014 :
Dear Mr. Epsdky.
Many thanks for your help, its ok now.
I need another help, in the calendar events the patient name appears (fname, mname), I need it to appear like (fname mname) with out coma.
Please see attached file.
Thank you in advance,
Regards,
B. K.
system
(system)
October 12, 2014, 6:23pm
4
epsdky wrote on Sunday, October 12, 2014 :
Hello B.K.,
pleased I could help
To change (lname,fname) to (fname lname) for patient appointments, go to same files as before.
For day view, relevant code is line 672 to 674 (GitHub)…
$content .= htmlspecialchars($lname);
if ($GLOBALS['calendar_appt_style'] != 1) {
$content .= "," . htmlspecialchars($fname);
Change lname to fname, “,” to " " and fname to lname.
For week view, lines are 691 to 693 and month view 510 to 512 (GitHub)
Regards,
epsdky.
system
(system)
October 13, 2014, 12:34am
5
brainknight wrote on Monday, October 13, 2014 :
Hello epsdky,
Many thanks for your help, its all ok now, Our confusion with the naming patients has been solved.
Thank you very much again.
My Regards
B. K.
system
(system)
April 14, 2015, 11:43am
6