From f3d7b78b153827ba3ebb21245a416c0065d71b62 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Fri, 17 Nov 2023 08:06:34 +0100 Subject: [PATCH] Add the blocked periods to the webhooks page (#432) --- application/controllers/Webhooks.php | 2 ++ application/language/arabic/translations_lang.php | 2 ++ application/language/bulgarian/translations_lang.php | 2 ++ application/language/catalan/translations_lang.php | 2 ++ application/language/chinese/translations_lang.php | 2 ++ application/language/croatian/translations_lang.php | 2 ++ application/language/czech/translations_lang.php | 2 ++ application/language/danish/translations_lang.php | 2 ++ application/language/dutch/translations_lang.php | 2 ++ application/language/english/translations_lang.php | 2 ++ application/language/estonian/translations_lang.php | 2 ++ application/language/finnish/translations_lang.php | 2 ++ application/language/french/translations_lang.php | 2 ++ application/language/german/translations_lang.php | 2 ++ application/language/greek/translations_lang.php | 2 ++ application/language/hebrew/translations_lang.php | 2 ++ application/language/hindi/translations_lang.php | 2 ++ application/language/hungarian/translations_lang.php | 2 ++ application/language/italian/translations_lang.php | 2 ++ application/language/japanese/translations_lang.php | 2 ++ application/language/luxembourgish/translations_lang.php | 2 ++ application/language/marathi/translations_lang.php | 2 ++ application/language/persian/translations_lang.php | 2 ++ application/language/polish/translations_lang.php | 2 ++ application/language/portuguese-br/translations_lang.php | 2 ++ application/language/portuguese/translations_lang.php | 2 ++ application/language/romanian/translations_lang.php | 2 ++ application/language/russian/translations_lang.php | 2 ++ application/language/serbian/translations_lang.php | 2 ++ application/language/slovak/translations_lang.php | 2 ++ application/language/spanish/translations_lang.php | 2 ++ application/language/swedish/translations_lang.php | 2 ++ application/language/turkish/translations_lang.php | 2 ++ 33 files changed, 66 insertions(+) diff --git a/application/controllers/Webhooks.php b/application/controllers/Webhooks.php index 0dd7ea79..ea6fd231 100644 --- a/application/controllers/Webhooks.php +++ b/application/controllers/Webhooks.php @@ -75,6 +75,8 @@ class Webhooks extends EA_Controller { WEBHOOK_APPOINTMENT_DELETE, WEBHOOK_UNAVAILABILITY_SAVE, WEBHOOK_UNAVAILABILITY_DELETE, + WEBHOOK_BLOCKED_PERIOD_SAVE, + WEBHOOK_BLOCKED_PERIOD_DELETE, WEBHOOK_CUSTOMER_SAVE, WEBHOOK_CUSTOMER_DELETE, WEBHOOK_SERVICE_SAVE, diff --git a/application/language/arabic/translations_lang.php b/application/language/arabic/translations_lang.php index 85da6d77..7f1dcbbc 100755 --- a/application/language/arabic/translations_lang.php +++ b/application/language/arabic/translations_lang.php @@ -443,4 +443,6 @@ $lang['blocked_period_deleted'] = 'Blocked period deleted successfully.'; $lang['delete_blocked_period'] = 'Delete Blocked Period'; $lang['blocked_period'] = 'Blocked Period'; $lang['blocked_periods'] = 'Blocked Periods'; +$lang['blocked_period_save'] = 'Blocked Period Save'; +$lang['blocked_period_delete'] = 'Blocked Period Delete'; // End diff --git a/application/language/bulgarian/translations_lang.php b/application/language/bulgarian/translations_lang.php index 9af09eb0..a3d5bc84 100755 --- a/application/language/bulgarian/translations_lang.php +++ b/application/language/bulgarian/translations_lang.php @@ -443,4 +443,6 @@ $lang['blocked_period_deleted'] = 'Blocked period deleted successfully.'; $lang['delete_blocked_period'] = 'Delete Blocked Period'; $lang['blocked_period'] = 'Blocked Period'; $lang['blocked_periods'] = 'Blocked Periods'; +$lang['blocked_period_save'] = 'Blocked Period Save'; +$lang['blocked_period_delete'] = 'Blocked Period Delete'; // End diff --git a/application/language/catalan/translations_lang.php b/application/language/catalan/translations_lang.php index 7114a37c..1cc9a3d6 100644 --- a/application/language/catalan/translations_lang.php +++ b/application/language/catalan/translations_lang.php @@ -443,4 +443,6 @@ $lang['blocked_period_deleted'] = 'Blocked period deleted successfully.'; $lang['delete_blocked_period'] = 'Delete Blocked Period'; $lang['blocked_period'] = 'Blocked Period'; $lang['blocked_periods'] = 'Blocked Periods'; +$lang['blocked_period_save'] = 'Blocked Period Save'; +$lang['blocked_period_delete'] = 'Blocked Period Delete'; // End diff --git a/application/language/chinese/translations_lang.php b/application/language/chinese/translations_lang.php index fb23ec6c..8d1efe0e 100755 --- a/application/language/chinese/translations_lang.php +++ b/application/language/chinese/translations_lang.php @@ -443,4 +443,6 @@ $lang['blocked_period_deleted'] = 'Blocked period deleted successfully.'; $lang['delete_blocked_period'] = 'Delete Blocked Period'; $lang['blocked_period'] = 'Blocked Period'; $lang['blocked_periods'] = 'Blocked Periods'; +$lang['blocked_period_save'] = 'Blocked Period Save'; +$lang['blocked_period_delete'] = 'Blocked Period Delete'; // End diff --git a/application/language/croatian/translations_lang.php b/application/language/croatian/translations_lang.php index 831ad323..1df6cf30 100644 --- a/application/language/croatian/translations_lang.php +++ b/application/language/croatian/translations_lang.php @@ -443,4 +443,6 @@ $lang['blocked_period_deleted'] = 'Blocked period deleted successfully.'; $lang['delete_blocked_period'] = 'Delete Blocked Period'; $lang['blocked_period'] = 'Blocked Period'; $lang['blocked_periods'] = 'Blocked Periods'; +$lang['blocked_period_save'] = 'Blocked Period Save'; +$lang['blocked_period_delete'] = 'Blocked Period Delete'; // End diff --git a/application/language/czech/translations_lang.php b/application/language/czech/translations_lang.php index 7a10a28c..d0fff94e 100644 --- a/application/language/czech/translations_lang.php +++ b/application/language/czech/translations_lang.php @@ -443,4 +443,6 @@ $lang['blocked_period_deleted'] = 'Blocked period deleted successfully.'; $lang['delete_blocked_period'] = 'Delete Blocked Period'; $lang['blocked_period'] = 'Blocked Period'; $lang['blocked_periods'] = 'Blocked Periods'; +$lang['blocked_period_save'] = 'Blocked Period Save'; +$lang['blocked_period_delete'] = 'Blocked Period Delete'; // End diff --git a/application/language/danish/translations_lang.php b/application/language/danish/translations_lang.php index 9d42f08c..54bbcc1c 100755 --- a/application/language/danish/translations_lang.php +++ b/application/language/danish/translations_lang.php @@ -443,4 +443,6 @@ $lang['blocked_period_deleted'] = 'Blocked period deleted successfully.'; $lang['delete_blocked_period'] = 'Delete Blocked Period'; $lang['blocked_period'] = 'Blocked Period'; $lang['blocked_periods'] = 'Blocked Periods'; +$lang['blocked_period_save'] = 'Blocked Period Save'; +$lang['blocked_period_delete'] = 'Blocked Period Delete'; // End diff --git a/application/language/dutch/translations_lang.php b/application/language/dutch/translations_lang.php index 890196bf..06fc2e86 100755 --- a/application/language/dutch/translations_lang.php +++ b/application/language/dutch/translations_lang.php @@ -443,4 +443,6 @@ $lang['blocked_period_deleted'] = 'Blocked period deleted successfully.'; $lang['delete_blocked_period'] = 'Delete Blocked Period'; $lang['blocked_period'] = 'Blocked Period'; $lang['blocked_periods'] = 'Blocked Periods'; +$lang['blocked_period_save'] = 'Blocked Period Save'; +$lang['blocked_period_delete'] = 'Blocked Period Delete'; // End diff --git a/application/language/english/translations_lang.php b/application/language/english/translations_lang.php index c793ad75..8534671b 100755 --- a/application/language/english/translations_lang.php +++ b/application/language/english/translations_lang.php @@ -443,4 +443,6 @@ $lang['blocked_period_deleted'] = 'Blocked period deleted successfully.'; $lang['delete_blocked_period'] = 'Delete Blocked Period'; $lang['blocked_period'] = 'Blocked Period'; $lang['blocked_periods'] = 'Blocked Periods'; +$lang['blocked_period_save'] = 'Blocked Period Save'; +$lang['blocked_period_delete'] = 'Blocked Period Delete'; // End diff --git a/application/language/estonian/translations_lang.php b/application/language/estonian/translations_lang.php index 5349a188..3e6af105 100644 --- a/application/language/estonian/translations_lang.php +++ b/application/language/estonian/translations_lang.php @@ -443,4 +443,6 @@ $lang['blocked_period_deleted'] = 'Blocked period deleted successfully.'; $lang['delete_blocked_period'] = 'Delete Blocked Period'; $lang['blocked_period'] = 'Blocked Period'; $lang['blocked_periods'] = 'Blocked Periods'; +$lang['blocked_period_save'] = 'Blocked Period Save'; +$lang['blocked_period_delete'] = 'Blocked Period Delete'; // End diff --git a/application/language/finnish/translations_lang.php b/application/language/finnish/translations_lang.php index 877e14d5..908342de 100755 --- a/application/language/finnish/translations_lang.php +++ b/application/language/finnish/translations_lang.php @@ -443,4 +443,6 @@ $lang['blocked_period_deleted'] = 'Blocked period deleted successfully.'; $lang['delete_blocked_period'] = 'Delete Blocked Period'; $lang['blocked_period'] = 'Blocked Period'; $lang['blocked_periods'] = 'Blocked Periods'; +$lang['blocked_period_save'] = 'Blocked Period Save'; +$lang['blocked_period_delete'] = 'Blocked Period Delete'; // End diff --git a/application/language/french/translations_lang.php b/application/language/french/translations_lang.php index 10863709..23160500 100755 --- a/application/language/french/translations_lang.php +++ b/application/language/french/translations_lang.php @@ -443,4 +443,6 @@ $lang['blocked_period_deleted'] = 'Blocked period deleted successfully.'; $lang['delete_blocked_period'] = 'Delete Blocked Period'; $lang['blocked_period'] = 'Blocked Period'; $lang['blocked_periods'] = 'Blocked Periods'; +$lang['blocked_period_save'] = 'Blocked Period Save'; +$lang['blocked_period_delete'] = 'Blocked Period Delete'; // End diff --git a/application/language/german/translations_lang.php b/application/language/german/translations_lang.php index 2e8e8bd0..accc158f 100755 --- a/application/language/german/translations_lang.php +++ b/application/language/german/translations_lang.php @@ -443,4 +443,6 @@ $lang['blocked_period_deleted'] = 'Blocked period deleted successfully.'; $lang['delete_blocked_period'] = 'Delete Blocked Period'; $lang['blocked_period'] = 'Blocked Period'; $lang['blocked_periods'] = 'Blocked Periods'; +$lang['blocked_period_save'] = 'Blocked Period Save'; +$lang['blocked_period_delete'] = 'Blocked Period Delete'; // End diff --git a/application/language/greek/translations_lang.php b/application/language/greek/translations_lang.php index eba704aa..e0cfff1f 100755 --- a/application/language/greek/translations_lang.php +++ b/application/language/greek/translations_lang.php @@ -443,4 +443,6 @@ $lang['blocked_period_deleted'] = 'Blocked period deleted successfully.'; $lang['delete_blocked_period'] = 'Delete Blocked Period'; $lang['blocked_period'] = 'Blocked Period'; $lang['blocked_periods'] = 'Blocked Periods'; +$lang['blocked_period_save'] = 'Blocked Period Save'; +$lang['blocked_period_delete'] = 'Blocked Period Delete'; // End diff --git a/application/language/hebrew/translations_lang.php b/application/language/hebrew/translations_lang.php index 8e676803..9ff1616e 100644 --- a/application/language/hebrew/translations_lang.php +++ b/application/language/hebrew/translations_lang.php @@ -443,4 +443,6 @@ $lang['blocked_period_deleted'] = 'Blocked period deleted successfully.'; $lang['delete_blocked_period'] = 'Delete Blocked Period'; $lang['blocked_period'] = 'Blocked Period'; $lang['blocked_periods'] = 'Blocked Periods'; +$lang['blocked_period_save'] = 'Blocked Period Save'; +$lang['blocked_period_delete'] = 'Blocked Period Delete'; // End diff --git a/application/language/hindi/translations_lang.php b/application/language/hindi/translations_lang.php index 5ee9a83a..05ffb169 100755 --- a/application/language/hindi/translations_lang.php +++ b/application/language/hindi/translations_lang.php @@ -443,4 +443,6 @@ $lang['blocked_period_deleted'] = 'Blocked period deleted successfully.'; $lang['delete_blocked_period'] = 'Delete Blocked Period'; $lang['blocked_period'] = 'Blocked Period'; $lang['blocked_periods'] = 'Blocked Periods'; +$lang['blocked_period_save'] = 'Blocked Period Save'; +$lang['blocked_period_delete'] = 'Blocked Period Delete'; // End diff --git a/application/language/hungarian/translations_lang.php b/application/language/hungarian/translations_lang.php index a86af978..1aad992f 100755 --- a/application/language/hungarian/translations_lang.php +++ b/application/language/hungarian/translations_lang.php @@ -443,4 +443,6 @@ $lang['blocked_period_deleted'] = 'Blocked period deleted successfully.'; $lang['delete_blocked_period'] = 'Delete Blocked Period'; $lang['blocked_period'] = 'Blocked Period'; $lang['blocked_periods'] = 'Blocked Periods'; +$lang['blocked_period_save'] = 'Blocked Period Save'; +$lang['blocked_period_delete'] = 'Blocked Period Delete'; // End diff --git a/application/language/italian/translations_lang.php b/application/language/italian/translations_lang.php index c681f35f..51d875d6 100755 --- a/application/language/italian/translations_lang.php +++ b/application/language/italian/translations_lang.php @@ -443,4 +443,6 @@ $lang['blocked_period_deleted'] = 'Blocked period deleted successfully.'; $lang['delete_blocked_period'] = 'Delete Blocked Period'; $lang['blocked_period'] = 'Blocked Period'; $lang['blocked_periods'] = 'Blocked Periods'; +$lang['blocked_period_save'] = 'Blocked Period Save'; +$lang['blocked_period_delete'] = 'Blocked Period Delete'; // End diff --git a/application/language/japanese/translations_lang.php b/application/language/japanese/translations_lang.php index f58b0ee7..260bb3ea 100755 --- a/application/language/japanese/translations_lang.php +++ b/application/language/japanese/translations_lang.php @@ -443,4 +443,6 @@ $lang['blocked_period_deleted'] = 'Blocked period deleted successfully.'; $lang['delete_blocked_period'] = 'Delete Blocked Period'; $lang['blocked_period'] = 'Blocked Period'; $lang['blocked_periods'] = 'Blocked Periods'; +$lang['blocked_period_save'] = 'Blocked Period Save'; +$lang['blocked_period_delete'] = 'Blocked Period Delete'; // End diff --git a/application/language/luxembourgish/translations_lang.php b/application/language/luxembourgish/translations_lang.php index 348fedca..34e99564 100755 --- a/application/language/luxembourgish/translations_lang.php +++ b/application/language/luxembourgish/translations_lang.php @@ -443,4 +443,6 @@ $lang['blocked_period_deleted'] = 'Blocked period deleted successfully.'; $lang['delete_blocked_period'] = 'Delete Blocked Period'; $lang['blocked_period'] = 'Blocked Period'; $lang['blocked_periods'] = 'Blocked Periods'; +$lang['blocked_period_save'] = 'Blocked Period Save'; +$lang['blocked_period_delete'] = 'Blocked Period Delete'; // End diff --git a/application/language/marathi/translations_lang.php b/application/language/marathi/translations_lang.php index 53da1c04..9237c35b 100644 --- a/application/language/marathi/translations_lang.php +++ b/application/language/marathi/translations_lang.php @@ -443,4 +443,6 @@ $lang['blocked_period_deleted'] = 'Blocked period deleted successfully.'; $lang['delete_blocked_period'] = 'Delete Blocked Period'; $lang['blocked_period'] = 'Blocked Period'; $lang['blocked_periods'] = 'Blocked Periods'; +$lang['blocked_period_save'] = 'Blocked Period Save'; +$lang['blocked_period_delete'] = 'Blocked Period Delete'; // End diff --git a/application/language/persian/translations_lang.php b/application/language/persian/translations_lang.php index d22a3035..06a7e598 100644 --- a/application/language/persian/translations_lang.php +++ b/application/language/persian/translations_lang.php @@ -443,4 +443,6 @@ $lang['blocked_period_deleted'] = 'Blocked period deleted successfully.'; $lang['delete_blocked_period'] = 'Delete Blocked Period'; $lang['blocked_period'] = 'Blocked Period'; $lang['blocked_periods'] = 'Blocked Periods'; +$lang['blocked_period_save'] = 'Blocked Period Save'; +$lang['blocked_period_delete'] = 'Blocked Period Delete'; // End diff --git a/application/language/polish/translations_lang.php b/application/language/polish/translations_lang.php index 4a358231..f4815b10 100755 --- a/application/language/polish/translations_lang.php +++ b/application/language/polish/translations_lang.php @@ -443,4 +443,6 @@ $lang['blocked_period_deleted'] = 'Blocked period deleted successfully.'; $lang['delete_blocked_period'] = 'Delete Blocked Period'; $lang['blocked_period'] = 'Blocked Period'; $lang['blocked_periods'] = 'Blocked Periods'; +$lang['blocked_period_save'] = 'Blocked Period Save'; +$lang['blocked_period_delete'] = 'Blocked Period Delete'; // End diff --git a/application/language/portuguese-br/translations_lang.php b/application/language/portuguese-br/translations_lang.php index 613a54d6..ebbcae4f 100755 --- a/application/language/portuguese-br/translations_lang.php +++ b/application/language/portuguese-br/translations_lang.php @@ -443,4 +443,6 @@ $lang['blocked_period_deleted'] = 'Blocked period deleted successfully.'; $lang['delete_blocked_period'] = 'Delete Blocked Period'; $lang['blocked_period'] = 'Blocked Period'; $lang['blocked_periods'] = 'Blocked Periods'; +$lang['blocked_period_save'] = 'Blocked Period Save'; +$lang['blocked_period_delete'] = 'Blocked Period Delete'; // End diff --git a/application/language/portuguese/translations_lang.php b/application/language/portuguese/translations_lang.php index 4a62a0dd..c3753dfd 100755 --- a/application/language/portuguese/translations_lang.php +++ b/application/language/portuguese/translations_lang.php @@ -443,4 +443,6 @@ $lang['blocked_period_deleted'] = 'Blocked period deleted successfully.'; $lang['delete_blocked_period'] = 'Delete Blocked Period'; $lang['blocked_period'] = 'Blocked Period'; $lang['blocked_periods'] = 'Blocked Periods'; +$lang['blocked_period_save'] = 'Blocked Period Save'; +$lang['blocked_period_delete'] = 'Blocked Period Delete'; // End diff --git a/application/language/romanian/translations_lang.php b/application/language/romanian/translations_lang.php index 633c77e2..5bee7d37 100755 --- a/application/language/romanian/translations_lang.php +++ b/application/language/romanian/translations_lang.php @@ -443,4 +443,6 @@ $lang['blocked_period_deleted'] = 'Blocked period deleted successfully.'; $lang['delete_blocked_period'] = 'Delete Blocked Period'; $lang['blocked_period'] = 'Blocked Period'; $lang['blocked_periods'] = 'Blocked Periods'; +$lang['blocked_period_save'] = 'Blocked Period Save'; +$lang['blocked_period_delete'] = 'Blocked Period Delete'; // End diff --git a/application/language/russian/translations_lang.php b/application/language/russian/translations_lang.php index 0a48556a..ac591212 100644 --- a/application/language/russian/translations_lang.php +++ b/application/language/russian/translations_lang.php @@ -443,4 +443,6 @@ $lang['blocked_period_deleted'] = 'Blocked period deleted successfully.'; $lang['delete_blocked_period'] = 'Delete Blocked Period'; $lang['blocked_period'] = 'Blocked Period'; $lang['blocked_periods'] = 'Blocked Periods'; +$lang['blocked_period_save'] = 'Blocked Period Save'; +$lang['blocked_period_delete'] = 'Blocked Period Delete'; // End diff --git a/application/language/serbian/translations_lang.php b/application/language/serbian/translations_lang.php index 26aee298..e84d0bdc 100644 --- a/application/language/serbian/translations_lang.php +++ b/application/language/serbian/translations_lang.php @@ -443,4 +443,6 @@ $lang['blocked_period_deleted'] = 'Blocked period deleted successfully.'; $lang['delete_blocked_period'] = 'Delete Blocked Period'; $lang['blocked_period'] = 'Blocked Period'; $lang['blocked_periods'] = 'Blocked Periods'; +$lang['blocked_period_save'] = 'Blocked Period Save'; +$lang['blocked_period_delete'] = 'Blocked Period Delete'; // End diff --git a/application/language/slovak/translations_lang.php b/application/language/slovak/translations_lang.php index 73202610..86b3c3df 100755 --- a/application/language/slovak/translations_lang.php +++ b/application/language/slovak/translations_lang.php @@ -443,4 +443,6 @@ $lang['blocked_period_deleted'] = 'Blocked period deleted successfully.'; $lang['delete_blocked_period'] = 'Delete Blocked Period'; $lang['blocked_period'] = 'Blocked Period'; $lang['blocked_periods'] = 'Blocked Periods'; +$lang['blocked_period_save'] = 'Blocked Period Save'; +$lang['blocked_period_delete'] = 'Blocked Period Delete'; // End diff --git a/application/language/spanish/translations_lang.php b/application/language/spanish/translations_lang.php index bdcd1d0c..40394481 100755 --- a/application/language/spanish/translations_lang.php +++ b/application/language/spanish/translations_lang.php @@ -443,4 +443,6 @@ $lang['blocked_period_deleted'] = 'Blocked period deleted successfully.'; $lang['delete_blocked_period'] = 'Delete Blocked Period'; $lang['blocked_period'] = 'Blocked Period'; $lang['blocked_periods'] = 'Blocked Periods'; +$lang['blocked_period_save'] = 'Blocked Period Save'; +$lang['blocked_period_delete'] = 'Blocked Period Delete'; // End diff --git a/application/language/swedish/translations_lang.php b/application/language/swedish/translations_lang.php index a5796c3d..415429e9 100644 --- a/application/language/swedish/translations_lang.php +++ b/application/language/swedish/translations_lang.php @@ -443,4 +443,6 @@ $lang['blocked_period_deleted'] = 'Blocked period deleted successfully.'; $lang['delete_blocked_period'] = 'Delete Blocked Period'; $lang['blocked_period'] = 'Blocked Period'; $lang['blocked_periods'] = 'Blocked Periods'; +$lang['blocked_period_save'] = 'Blocked Period Save'; +$lang['blocked_period_delete'] = 'Blocked Period Delete'; // End diff --git a/application/language/turkish/translations_lang.php b/application/language/turkish/translations_lang.php index 73dd8de9..578f9afe 100755 --- a/application/language/turkish/translations_lang.php +++ b/application/language/turkish/translations_lang.php @@ -443,4 +443,6 @@ $lang['blocked_period_deleted'] = 'Blocked period deleted successfully.'; $lang['delete_blocked_period'] = 'Delete Blocked Period'; $lang['blocked_period'] = 'Blocked Period'; $lang['blocked_periods'] = 'Blocked Periods'; +$lang['blocked_period_save'] = 'Blocked Period Save'; +$lang['blocked_period_delete'] = 'Blocked Period Delete'; // End