mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-28 10:53:40 +03:00
Update the method names of the library.
This commit is contained in:
parent
121571f517
commit
cfac49e920
2 changed files with 10 additions and 10 deletions
|
@ -60,7 +60,7 @@ class Email_messages {
|
|||
*
|
||||
* @throws Exception
|
||||
*/
|
||||
public function send_appointment_details(
|
||||
public function send_appointment_saved(
|
||||
array $appointment,
|
||||
array $provider,
|
||||
array $service,
|
||||
|
@ -131,7 +131,7 @@ class Email_messages {
|
|||
*
|
||||
* @throws Exception
|
||||
*/
|
||||
public function send_delete_appointment(
|
||||
public function send_appointment_deleted(
|
||||
array $appointment,
|
||||
array $provider,
|
||||
array $service,
|
||||
|
|
|
@ -92,7 +92,7 @@ class Notifications {
|
|||
|
||||
if ($send_customer === TRUE)
|
||||
{
|
||||
$this->CI->email_messages->send_appointment_details(
|
||||
$this->CI->email_messages->send_appointment_saved(
|
||||
$appointment,
|
||||
$provider,
|
||||
$service,
|
||||
|
@ -115,7 +115,7 @@ class Notifications {
|
|||
|
||||
if ($send_provider === TRUE)
|
||||
{
|
||||
$this->CI->email_messages->send_appointment_details(
|
||||
$this->CI->email_messages->send_appointment_saved(
|
||||
$appointment,
|
||||
$provider,
|
||||
$service,
|
||||
|
@ -140,7 +140,7 @@ class Notifications {
|
|||
continue;
|
||||
}
|
||||
|
||||
$this->CI->email_messages->send_appointment_details(
|
||||
$this->CI->email_messages->send_appointment_saved(
|
||||
$appointment,
|
||||
$provider,
|
||||
$service,
|
||||
|
@ -170,7 +170,7 @@ class Notifications {
|
|||
continue;
|
||||
}
|
||||
|
||||
$this->CI->email_messages->send_appointment_details(
|
||||
$this->CI->email_messages->send_appointment_saved(
|
||||
$appointment,
|
||||
$provider,
|
||||
$service,
|
||||
|
@ -220,7 +220,7 @@ class Notifications {
|
|||
|
||||
if ($send_provider === TRUE)
|
||||
{
|
||||
$this->CI->email_messages->send_delete_appointment(
|
||||
$this->CI->email_messages->send_appointment_deleted(
|
||||
$appointment,
|
||||
$provider,
|
||||
$service,
|
||||
|
@ -240,7 +240,7 @@ class Notifications {
|
|||
|
||||
if ($send_customer === TRUE)
|
||||
{
|
||||
$this->CI->email_messages->send_delete_appointment(
|
||||
$this->CI->email_messages->send_appointment_deleted(
|
||||
$appointment,
|
||||
$provider,
|
||||
$service,
|
||||
|
@ -262,7 +262,7 @@ class Notifications {
|
|||
continue;
|
||||
}
|
||||
|
||||
$this->CI->email_messages->send_delete_appointment(
|
||||
$this->CI->email_messages->send_appointment_deleted(
|
||||
$appointment,
|
||||
$provider,
|
||||
$service,
|
||||
|
@ -289,7 +289,7 @@ class Notifications {
|
|||
continue;
|
||||
}
|
||||
|
||||
$this->CI->email_messages->send_delete_appointment(
|
||||
$this->CI->email_messages->send_appointment_deleted(
|
||||
$appointment,
|
||||
$provider,
|
||||
$service,
|
||||
|
|
Loading…
Reference in a new issue