Skip to content

Commit

Permalink
Merge pull request #13 from alextselegidis/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
tm8544 committed May 17, 2024
2 parents fb58e31 + c407bf5 commit b3d697b
Show file tree
Hide file tree
Showing 34 changed files with 34 additions and 0 deletions.
1 change: 1 addition & 0 deletions application/controllers/Booking.php
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@ public function register(): void
$customer['id'] = $this->customers_model->find_record_id($customer);

$existing_appointments = $this->appointments_model->get([
'id !=' => $manage_mode ? $appointment['id'] : null,
'id_users_customer' => $customer['id'],
'start_datetime <=' => $appointment['start_datetime'],
'end_datetime >=' => $appointment['end_datetime'],
Expand Down
1 change: 1 addition & 0 deletions application/language/arabic/translations_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -478,4 +478,5 @@
$lang['ldap_dn'] = 'LDAP DN';
$lang['role'] = 'Role';
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
// End
1 change: 1 addition & 0 deletions application/language/bulgarian/translations_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -478,4 +478,5 @@
$lang['ldap_dn'] = 'LDAP DN';
$lang['role'] = 'Role';
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
// End
1 change: 1 addition & 0 deletions application/language/catalan/translations_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -478,4 +478,5 @@
$lang['ldap_dn'] = 'LDAP DN';
$lang['role'] = 'Role';
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
// End
1 change: 1 addition & 0 deletions application/language/chinese/translations_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -478,4 +478,5 @@
$lang['ldap_dn'] = 'LDAP DN';
$lang['role'] = 'Role';
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
// End
1 change: 1 addition & 0 deletions application/language/croatian/translations_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -478,4 +478,5 @@
$lang['ldap_dn'] = 'LDAP DN';
$lang['role'] = 'Role';
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
// End
1 change: 1 addition & 0 deletions application/language/czech/translations_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -478,4 +478,5 @@
$lang['ldap_dn'] = 'LDAP DN';
$lang['role'] = 'Role';
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
// End
1 change: 1 addition & 0 deletions application/language/danish/translations_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -478,4 +478,5 @@
$lang['ldap_dn'] = 'LDAP DN';
$lang['role'] = 'Role';
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
// End
1 change: 1 addition & 0 deletions application/language/dutch/translations_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -478,4 +478,5 @@
$lang['ldap_dn'] = 'LDAP DN';
$lang['role'] = 'Role';
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
// End
1 change: 1 addition & 0 deletions application/language/english/translations_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -478,4 +478,5 @@
$lang['ldap_dn'] = 'LDAP DN';
$lang['role'] = 'Role';
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
// End
1 change: 1 addition & 0 deletions application/language/estonian/translations_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -478,4 +478,5 @@
$lang['ldap_dn'] = 'LDAP DN';
$lang['role'] = 'Role';
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
// End
1 change: 1 addition & 0 deletions application/language/finnish/translations_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -478,4 +478,5 @@
$lang['ldap_dn'] = 'LDAP DN';
$lang['role'] = 'Role';
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
// End
1 change: 1 addition & 0 deletions application/language/french/translations_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -478,4 +478,5 @@
$lang['ldap_dn'] = 'LDAP DN';
$lang['role'] = 'Role';
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
// End
1 change: 1 addition & 0 deletions application/language/german/translations_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -478,4 +478,5 @@
$lang['ldap_dn'] = 'LDAP-DN';
$lang['role'] = 'Rolle';
$lang['at_least_one_field_required'] = 'Mindestens ein Feld muss auf der Buchungsseite als erforderlich gekennzeichnet sein.';
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
// End
1 change: 1 addition & 0 deletions application/language/greek/translations_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -478,4 +478,5 @@
$lang['ldap_dn'] = 'LDAP DN';
$lang['role'] = 'Ρόλος';
$lang['at_least_one_field_required'] = 'Τουλάχιστον ένα πεδίο πρέπει να έχει οριστεί ως υποχρεωτικό στη σελίδα κράτησης.';
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
// End
1 change: 1 addition & 0 deletions application/language/hebrew/translations_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -478,4 +478,5 @@
$lang['ldap_dn'] = 'LDAP DN';
$lang['role'] = 'Role';
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
// End
1 change: 1 addition & 0 deletions application/language/hindi/translations_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -478,4 +478,5 @@
$lang['ldap_dn'] = 'LDAP DN';
$lang['role'] = 'Role';
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
// End
1 change: 1 addition & 0 deletions application/language/hungarian/translations_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -478,4 +478,5 @@
$lang['ldap_dn'] = 'LDAP DN';
$lang['role'] = 'Role';
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
// End
1 change: 1 addition & 0 deletions application/language/italian/translations_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -478,4 +478,5 @@
$lang['ldap_dn'] = 'LDAP DN';
$lang['role'] = 'Role';
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
// End
1 change: 1 addition & 0 deletions application/language/japanese/translations_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -478,4 +478,5 @@
$lang['ldap_dn'] = 'LDAP DN';
$lang['role'] = 'Role';
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
// End
1 change: 1 addition & 0 deletions application/language/luxembourgish/translations_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -478,4 +478,5 @@
$lang['ldap_dn'] = 'LDAP DN';
$lang['role'] = 'Role';
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
// End
1 change: 1 addition & 0 deletions application/language/marathi/translations_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -478,4 +478,5 @@
$lang['ldap_dn'] = 'LDAP DN';
$lang['role'] = 'Role';
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
// End
1 change: 1 addition & 0 deletions application/language/persian/translations_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -478,4 +478,5 @@
$lang['ldap_dn'] = 'LDAP DN';
$lang['role'] = 'Role';
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
// End
1 change: 1 addition & 0 deletions application/language/polish/translations_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -478,4 +478,5 @@
$lang['ldap_dn'] = 'LDAP DN';
$lang['role'] = 'Role';
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
// End
1 change: 1 addition & 0 deletions application/language/portuguese-br/translations_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -478,4 +478,5 @@
$lang['ldap_dn'] = 'LDAP DN';
$lang['role'] = 'Role';
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
// End
1 change: 1 addition & 0 deletions application/language/portuguese/translations_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -478,4 +478,5 @@
$lang['ldap_dn'] = 'LDAP DN';
$lang['role'] = 'Role';
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
// End
1 change: 1 addition & 0 deletions application/language/romanian/translations_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -478,4 +478,5 @@
$lang['ldap_dn'] = 'LDAP DN';
$lang['role'] = 'Role';
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
// End
1 change: 1 addition & 0 deletions application/language/russian/translations_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -478,4 +478,5 @@
$lang['ldap_dn'] = 'LDAP DN';
$lang['role'] = 'Role';
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
// End
1 change: 1 addition & 0 deletions application/language/serbian/translations_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -478,4 +478,5 @@
$lang['ldap_dn'] = 'LDAP DN';
$lang['role'] = 'Role';
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
// End
1 change: 1 addition & 0 deletions application/language/slovak/translations_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -478,4 +478,5 @@
$lang['ldap_dn'] = 'LDAP DN';
$lang['role'] = 'Role';
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
// End
1 change: 1 addition & 0 deletions application/language/spanish/translations_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -478,4 +478,5 @@
$lang['ldap_dn'] = 'LDAP DN';
$lang['role'] = 'Role';
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
// End
1 change: 1 addition & 0 deletions application/language/swedish/translations_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -478,4 +478,5 @@
$lang['ldap_dn'] = 'LDAP DN';
$lang['role'] = 'Role';
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
// End
1 change: 1 addition & 0 deletions application/language/thai/translations_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -478,4 +478,5 @@
$lang['ldap_dn'] = 'LDAP DN';
$lang['role'] = 'Role';
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
// End
1 change: 1 addition & 0 deletions application/language/turkish/translations_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -478,4 +478,5 @@
$lang['ldap_dn'] = 'LDAP DN';
$lang['role'] = 'Role';
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
// End

0 comments on commit b3d697b

Please sign in to comment.