Adding appointment notes to mail

260 views
Skip to first unread message

Karim L

unread,
Aug 27, 2019, 4:02:04 PM8/27/19
to Easy!Appointments - Support Group
Hey there,

does someone have an idea whats the "appointment notes" variable to be used in the mail notification?

I hope its in the file: /application/views/emails/appointment_details.php 
maybe its like $appointment_notes ? 

Its a little bit too tricky to get to the notes - you need to login, and click edit on the appointment just to check if there are any notes... so mailing this note or even put the notes into the ical file would be wonderful.

Thanks for any hint :-)

Best Regards,

Karim

Karim Krell

unread,
Aug 28, 2019, 8:34:50 AM8/28/19
to Easy!Appointments - Support Group
I like the idea, greate

Karim L

unread,
Sep 11, 2019, 2:09:08 PM9/11/19
to Easy!Appointments - Support Group
Hey all,

without any hints, it was pretty stupid, but i've figured it out, to get the notes to the email at least. So ICS is still open. I'll see if i can fix this also.
For anybody who needs this also:

File: /src/application/engine/Notifications/Email.php
Add Line 143: '$appointment_notes'=> $appointment['notes'],

File: /src/application/views/emails/appointment_details.php
Add Line 36: 
                <tr>
                    <td class="label" style="padding: 3px;font-weight: bold;">Bemerkungen</td>
                    <td style="padding: 3px;">$appointment_notes</td>
                </tr>


Best Regards,

Karim L

unread,
Sep 16, 2019, 6:35:34 AM9/16/19
to Easy!Appointments - Support Group
And for the ICS File:
/src/application/libraries/Ics.php

Add Line 52:
->setDescription($appointment['notes'])

Location came into my mind, but its strange and not working with this attempt. Cuz customer Location is only grabbed here if the form is filled out, but not for customer who already registered and didnt entered again everything.

Andrey Afanasyev

unread,
Jun 18, 2020, 6:14:21 PM6/18/20
to Easy!Appointments - Support Group
Minor improvement:
File: /src/engine/Notifications/Email.php
Add Line 143: '$appointment_notes'=> $appointment['notes'],

File: /src/application/views/emails/appointment_details.php
Add Line 36: 
                <tr>
                    <td class="label" style="padding: 3px;font-weight: bold;»>Notes</td>
                    <td style="padding: 3px;">$appointment_notes</td>
                </tr>
Add after line: // Translations
'Notes' => $this->framework->lang->line('notes'),

Andreas Hanny

unread,
Mar 11, 2021, 10:20:58 AM3/11/21
to Easy!Appointments - Support Group

Great Karim, you made my day!
Thank you very much!!!

Tamás Orosz

unread,
Mar 11, 2021, 3:50:40 PM3/11/21
to Easy!Appointments - Support Group
"And for the ICS File:
/src/application/libraries/Ics.php

Add Line 52:
->setDescription($appointment['notes'])"

Where should I add this line above to the ICS.php? I don' think into 52th line is correct.

Képernyőfotó 2021-03-11 - 21.49.14.png
Reply all
Reply to author
Forward
0 new messages