velimirovicmisa
Forum Replies Created
-
file is : update-appointments.php APP.CALENDAR 2.7.1
Hello everyone,
I’m not very skilled in php code it is necessary to change the email users, regarding the appointment calendar notifications in the status variable of WHO states:
CANCELLED – OTKAZAN
Done – ZAVRŠEN
Pending – NA ČEKANJU
Approved- ODOBREN
We do not know in what part of the code and where to place the change
In doing so I am sending you a piece of codeThanks for your help!
Example: Postovani MISA VE,
Hvala sto ste zakazali tretman sa PATONG studio.Vasi detalji tretmana su:
Tretman za: Sportska Masaža 30
Napomena tretmana: nemam primedbi
Status tretmana: Pending
Datum tretmana: 2014-06-16
Vreme tretmana: 03:30 PM To 04:00 PM
Tretman Key: 211b41b4a8d430adf219ba202dd9c2b2Dobicete mail sa potvrdom kada admin bude odobrio tretman.
Srdacan pozdrav
PATONG studiofile is : update-appointments.php APP.CALENDAR 2.7.1
<th scope="row"><strong><?php _e("Status", "appointzilla"); ?></strong></th> <td><strong>:</strong></td> <td><select id="app_status" name="app_status"> <option value="pending" <?php if($appointmentdetails->status == 'pending') echo "selected"; ?> ><?php _e("Pending", "appointzilla"); ?></option> <option value="approved" <?php if($appointmentdetails->status == 'approved') echo "selected"; ?> ><?php _e("Approved", "appointzilla"); ?></option> <option value="cancelled" <?php if($appointmentdetails->status == 'cancelled') echo "selected"; ?> ><?php _e("Cancelled", "appointzilla"); ?></option> <option value="done" <?php if($appointmentdetails->status == 'done') echo "selected"; ?> ><?php _e("Completed", "appointzilla"); ?></option> </select> <a href="#" rel="tooltip">Appointment Status" ><i class="icon-question-sign"></i></a> </td> </tr> <tr>[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]