mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Merge pull request #3918 from woodspire/fix/missing-subscriptions
Fix missing subscriptions events.
This commit is contained in:
commit
e66e899346
@ -1104,6 +1104,38 @@ class Utils
|
||||
return EVENT_CREATE_PAYMENT;
|
||||
} elseif ($eventName == 'create_vendor') {
|
||||
return EVENT_CREATE_VENDOR;
|
||||
} elseif ($eventName == 'update_quote') {
|
||||
return EVENT_UPDATE_QUOTE;
|
||||
} elseif ($eventName == 'delete_quote') {
|
||||
return EVENT_DELETE_QUOTE;
|
||||
} elseif ($eventName == 'update_invoice') {
|
||||
return EVENT_UPDATE_INVOICE;
|
||||
} elseif ($eventName == 'delete_invoice') {
|
||||
return EVENT_DELETE_INVOICE;
|
||||
} elseif ($eventName == 'update_client') {
|
||||
return EVENT_UPDATE_CLIENT;
|
||||
} elseif ($eventName == 'delete_client') {
|
||||
return EVENT_DELETE_CLIENT;
|
||||
} elseif ($eventName == 'delete_payment') {
|
||||
return EVENT_DELETE_PAYMENT;
|
||||
} elseif ($eventName == 'update_vendor') {
|
||||
return EVENT_UPDATE_VENDOR;
|
||||
} elseif ($eventName == 'delete_vendor') {
|
||||
return EVENT_DELETE_VENDOR;
|
||||
} elseif ($eventName == 'create_expense') {
|
||||
return EVENT_CREATE_EXPENSE;
|
||||
} elseif ($eventName == 'update_expense') {
|
||||
return EVENT_UPDATE_EXPENSE;
|
||||
} elseif ($eventName == 'delete_expense') {
|
||||
return EVENT_DELETE_EXPENSE;
|
||||
} elseif ($eventName == 'create_task') {
|
||||
return EVENT_CREATE_TASK;
|
||||
} elseif ($eventName == 'update_task') {
|
||||
return EVENT_UPDATE_TASK;
|
||||
} elseif ($eventName == 'delete_task') {
|
||||
return EVENT_DELETE_TASK;
|
||||
} elseif ($eventName == 'approve_quote') {
|
||||
return EVENT_APPROVE_QUOTE;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user