Commit graph

366 commits

Author SHA1 Message Date
alextselegidis
2d1fb357c8 Ported the business logic settings functionality to a new standalone page 2021-11-18 08:49:23 +01:00
alextselegidis
753237d003 Ported the general settings functionality to a new standalone page 2021-11-18 07:53:41 +01:00
alextselegidis
7a64ced5c9 All the AJAX URLs now point to the new Booking controller 2021-11-18 07:35:14 +01:00
alextselegidis
fec42278c8 Created a new customers resource controller 2021-11-18 06:34:07 +01:00
alextselegidis
957865ba23 Updated the styling selectors 2021-11-18 06:29:33 +01:00
alextselegidis
7a3aa38622 Created a new secretaries resource controller 2021-11-18 06:23:21 +01:00
alextselegidis
d6b294a12b Created a new admins resource controller 2021-11-18 06:11:18 +01:00
alextselegidis
4bbcb9fff8 Created a new providers resource controller 2021-11-18 06:08:36 +01:00
alextselegidis
8682fc886b Removed the services part from the service categories page 2021-11-18 05:35:56 +01:00
alextselegidis
2a599f11b8 Removed the service categories part from the services page 2021-11-18 05:32:46 +01:00
alextselegidis
aadac6a060 Created a new service categories resource controller 2021-11-18 05:23:54 +01:00
alextselegidis
8dd509d4dc Created a new services resource controller 2021-11-18 05:21:30 +01:00
alextselegidis
9afe90f831 Correctly display long error messages within the modal 2021-11-17 09:23:21 +01:00
alextselegidis
cd9a92bed9 Removed the polyfill scripts as it is no longer needed. 2021-11-09 08:11:33 +01:00
Alex Tselegidis
a96fe86073 Removed old ext directory as the new vendor will replace its contents 2021-11-07 11:47:53 +01:00
Alex Tselegidis
c6aa24c4ec Added new gulp task that automatically packages the frontend vendor files 2021-11-07 11:47:31 +01:00
Alex Tselegidis
da34264500 Changed the extensions of the CSS files to SCSS 2021-11-07 10:11:36 +01:00
Alex Tselegidis
3896892bc0 Formatted the JS and CSS files with prettier 2021-11-06 17:38:37 +01:00
Alex Tselegidis
a20f2e9e33 Corrected the login HTTP callback 2021-11-06 16:51:36 +01:00
Alex Tselegidis
8e0d8d7c16 Changed the response content of the username validation method 2021-10-28 13:32:04 +02:00
Alex Tselegidis
7c082689ea More formatting changes 2021-10-28 13:30:39 +02:00
Thomas Saedt
9671def4ea Merge branch 'develop' into 1081_hide_data_fields 2021-10-20 22:12:47 +02:00
Alex Tselegidis
8d4d063afa Prepend the "any-provider" option to the booking page so that it is the first option displayed. 2021-10-18 12:19:13 +02:00
Alex Tselegidis
6fa2451a08 Added missing validation call in system settings 2021-10-04 09:27:32 +02:00
Alex Tselegidis
ea4295e1ad Replaced the email validation regex with a better one 2021-10-04 09:27:08 +02:00
Alex Tselegidis
566ca1c79e Added file comment-banner 2021-10-04 09:26:48 +02:00
Alex Tselegidis
33c2b72fba CSS fix for the custom checkbox switchers 2021-10-04 09:26:29 +02:00
Alex Tselegidis
8eec2339cf The backend calendar must display the modified appointment date, when using the appointment link of the confirmation email (#1112). 2021-08-24 16:03:45 +03:00
Alex Tselegidis
9800554b35 Working plan css improvements 2021-07-19 17:52:40 +03:00
Alex Tselegidis
5dd8540577 Use the AM/PM postfix as lowercase everywhere for consistency. 2021-07-19 17:44:31 +03:00
Alex Tselegidis
6103b6992d The timepicker sliders do not work when using an iOS device. #1026 2021-07-19 17:26:24 +03:00
Alex Tselegidis
9ddc820176 Set minimum service duration field value to honor the value of EVENT_MINIMUM_DURATION. #1068 2021-07-19 16:59:21 +03:00
Alex Tselegidis
d09fbb0ad6 Make sure that saving the modifications of a single break does not cancel any pending break edits. #1046 2021-07-19 16:30:27 +03:00
Alex Tselegidis
23bcc2d468 Working plan exception - details pane shows incorrect details (#1011). 2021-07-19 16:21:14 +03:00
Alex Tselegidis
c885b27f7d Add support for line breaks when displaying the service description in the frontend (#1004). 2021-07-19 16:14:37 +03:00
Alex Tselegidis
39cc1b5a0b Timezone/UX issue: Wrong day is selected when timezone differs by -1 day (#961). 2021-07-19 16:02:45 +03:00
Alex Tselegidis
cc6575d2d0 JavaScript RangeError on appointment change causing disabled calendar dates (#1092). 2021-07-19 15:52:05 +03:00
Alex Tselegidis
55a4665c7d Select the any-provider option by default. 2021-06-14 10:27:37 +02:00
Tthecreator
5cff20f4bf
Fix warnings given by npm start by incorrect var/let.
Apply suggestions from @vitormattos.

Co-authored-by: Vitor Mattos <vitor@php.rio>
2021-06-13 16:45:25 +00:00
Thomas Saedt
1bcbf9f71b [1081] Made show booking form field settings functional 2021-05-30 13:27:39 +02:00
Thomas S
ea2cdeff70 [1081] Added visual buttons to hide or show form fields 2021-05-29 20:58:08 +02:00
Alex Tselegidis
d86eb72d87 Merge branch 'patch-2' of https://github.com/sh-dv/easyappointments into develop 2021-04-07 10:06:34 +02:00
Alex Tselegidis
1a50b2e2e1 Merge branch 'patch-1' of https://github.com/sh-dv/easyappointments into develop 2021-04-07 10:04:08 +02:00
Alex Tselegidis
76672db959 Make sure that the duration of a service does not become less than the minimum acceptable value as otherwise it will make problems with the availability generation 2021-03-25 11:32:10 +01:00
Alex Tselegidis
3bf718050d Improved the backend calendar rendering performance by reducing the number of calendar render cycles on each reload 2021-03-25 11:12:10 +01:00
sh-dv
d51ca87f1b
small fix for the display of the delete button in table view
it will turn out the following class "mr-2 d-none" instead of "mr-2-d-none" which results displaying the delete button if -> GlobalVariables.user.privileges.appointments.delete = false
2021-02-06 17:49:47 +00:00
Alex Tselegidis
af350fc617 Make sure the randomly selected provider is really serving the selected service, when generating availability wit the "Any Provider" option in the frontend (#991). 2021-01-27 13:39:12 +01:00
sh-dv
9c99223cb3
Critical mistake resulting in wrong date 2021-01-25 15:02:04 +00:00
Alex Tselegidis
505b709e50 More width for better display in certain languages 2020-12-17 16:03:00 +02:00
Alex Tselegidis
78ab4ac3d2 Removed unnecessary condition 2020-12-15 10:49:16 +02:00
Alex Tselegidis
442ba83296 Display the please-select-time warning at the top of the available hours 2020-12-14 20:40:32 +02:00
Alex Tselegidis
5df1bd4902 Made the timezone and language fields required, in the backend customers page 2020-12-14 20:40:10 +02:00
Alex Tselegidis
1a1deb28c2 Use the native JSON.parse method instead of the jQuery variation 2020-12-14 20:38:57 +02:00
Alex Tselegidis
8fb111190b Use the native JSON.parse method instead of the jQuery variation 2020-12-14 20:38:17 +02:00
Alex Tselegidis
bae970d257 Sync appointment with customer's Google Calendar in the book success page needs the correct timezone 2020-12-14 20:37:08 +02:00
Alex Tselegidis
f77ceeff84 Corrected click event behavior of the captcha refresh button 2020-12-14 10:48:36 +02:00
Alex Tselegidis
0d5f673ecf User timezone must not be empied by default as it is required. 2020-12-14 09:53:16 +02:00
Alex Tselegidis
30381b5c86 Removed the onDayClick callback in table view as it is not needed. 2020-12-12 15:31:08 +02:00
Alex Tselegidis
0da88a7729 Check provided date 2020-12-12 15:11:33 +02:00
Alex Tselegidis
ce40aa342b Automatically update the non working plan when changed in backend calendar. 2020-12-12 14:54:41 +02:00
Alex Tselegidis
731fb52ab4 Display confirmation modal when disabling a connected Google Calendar Sync (#955). 2020-12-12 14:22:25 +02:00
Alex Tselegidis
de9e0542ea Remove now indicator as it does not support custom timezones (#953) 2020-12-11 21:15:25 +02:00
Alex Tselegidis
9409633a5d Corrected javascript typo with unavailability events (#946). 2020-12-10 11:31:19 +02:00
Alex Tselegidis
9133aeedd6 Applied Captcha fixes in the booking page 2020-12-09 21:28:26 +02:00
Alex Tselegidis
53a6a8c3a8 Debounce keyup events when searching for existing customers 2020-12-09 16:00:15 +02:00
Alex Tselegidis
b794cb6e74 Use the native JSON parse method 2020-12-09 15:59:59 +02:00
Alex Tselegidis
b45fd3acd6 Default value for the working plan exceptions in table view 2020-12-09 15:59:46 +02:00
Alex Tselegidis
8a68e97f94 Reformatted code files 2020-12-09 14:17:45 +02:00
Alex Tselegidis
2b5ee0426f JS fixes in the backend calendar default view 2020-12-09 14:06:47 +02:00
Alex Tselegidis
b291a2bb24 Improved event selection for both default and table calendar views 2020-12-08 14:16:58 +02:00
Alex Tselegidis
22ac631995 Updated copyright information in backend 2020-12-08 14:16:42 +02:00
Alex Tselegidis
e62a099ed6 More width needed when displaying german language 2020-12-08 14:16:29 +02:00
Alex Tselegidis
e92902f332 Backend users and services page would register the tab content events again and again 2020-12-08 13:23:37 +02:00
Alex Tselegidis
334fee3727 Removed dark color for sub title for better contrast 2020-12-08 13:23:04 +02:00
Alex Tselegidis
9655feca6c Corrected issue with table view and duplicate appointments 2020-12-08 10:17:24 +02:00
Alex Tselegidis
8f2487865f Changed cookie banner button background color 2020-12-08 09:59:17 +02:00
Alex Tselegidis
23ac39797b Default values in the appointment modal, when inserting a new appointment from the table view 2020-12-08 09:57:22 +02:00
Alex Tselegidis
3944309b0c Execut the revertFunc directly 2020-12-08 09:42:28 +02:00
Alex Tselegidis
0e9758372d Added now indication and changed snap duration 2020-12-08 09:36:46 +02:00
Alex Tselegidis
bff87eb4aa Automatically reload the calendar every minute. 2020-12-08 00:11:01 +02:00
Alex Tselegidis
54c4852cd7 Consistently use solid style of fontawesome 2020-12-08 00:10:49 +02:00
Alex Tselegidis
4a7544bf52 Use 0 instead of 0px in css 2020-12-05 11:56:12 +02:00
Alex Tselegidis
9b24ce1e57 Corrected issue with full calendar title 2020-12-05 11:07:22 +02:00
Alex Tselegidis
32e2b2843b Default values when creating a service 2020-12-05 11:05:20 +02:00
Alex Tselegidis
78a54ef0bb Type casting for if condition 2020-12-04 14:42:31 +02:00
Alex Tselegidis
1571a01f1d Update page UI fixes 2020-12-02 21:58:32 +02:00
Alex Tselegidis
bc2f3f0796 Installation page styling 2020-12-02 20:08:34 +02:00
Alex Tselegidis
88028d5770 Ensure DOM is loaded before binding the global AJAX error handler. 2020-12-02 20:08:28 +02:00
Alex Tselegidis
2ccc236bc2 Global AJAX error handling 2020-12-02 19:57:49 +02:00
Alex Tselegidis
bbaac53308 Fixed issue with translation breaking the calendar page (#931). 2020-11-16 11:09:31 +02:00
Alex Tselegidis
46804fab7b Do not make a request to the server if there's no service or provider selection 2020-11-16 10:16:48 +02:00
Alex Tselegidis
b3fbf60e29 Fixed issue with table view while being logged in as a provider (#928). 2020-11-16 10:16:00 +02:00
Alex Tselegidis
35f8553300 Added missing comma to selector. 2020-11-12 14:15:52 +02:00
Alex Tselegidis
ce4dc67c91 Corrected problem with disabled service fields during service edits 2020-10-27 11:49:48 +02:00
Alex Tselegidis
747e2f9a12 Updated the favicon.ico file 2020-10-22 12:49:43 +03:00
Alex Tselegidis
a85ec4c275 Removed old image files and updated the content and styling of the isntallation page 2020-10-22 12:49:37 +03:00
Alex Tselegidis
9604aa4ef9 Replaced qtip with tippy.js 2020-10-22 12:29:09 +03:00
Alex Tselegidis
4203bf5851 Working plan exception improvements for the table view 2020-10-22 12:12:27 +03:00
Alex Tselegidis
67dc42b2d8 Update in the backend header brand subtitle 2020-10-22 12:10:36 +03:00
Alex Tselegidis
5fa8ee4255 Added support for working plan exceptions in the table view page 2020-10-22 12:01:33 +03:00
Alex Tselegidis
1067a92a18 Renamed further "unavailabilities" occurrences to "unavailability events" 2020-10-21 21:44:35 +03:00
Alex Tselegidis
e0dea50ee4 Renamed the unavailabilities to unavailability events 2020-10-21 21:36:37 +03:00
Alex Tselegidis
8031104d49 Added subtitle in the backend header 2020-10-21 21:36:05 +03:00
Alex Tselegidis
69a0c2a48f Register the non-timezoned time in the database. 2020-10-21 21:35:40 +03:00
Alex Tselegidis
0e6fdebe0f Completed the working plan exceptions feature. 2020-10-20 16:05:00 +03:00
Alex Tselegidis
f917529dc2 Same width for the first "next" button in the booking page 2020-10-20 16:04:25 +03:00
Alex Tselegidis
5e6476c0f5 Moved the first "next" button of the booking page to the right side of the wizard 2020-10-20 16:04:25 +03:00
Alex Tselegidis
0324a3e464 Removed the unnecessary modal-close event handler 2020-10-20 16:04:25 +03:00
Alex Tselegidis
5e0ef2acc1 Corrected method name typo 2020-10-20 16:04:25 +03:00
Alex Tselegidis
45c8a82d3f Add some margin between the icon and the text of the edit popover 2020-10-20 16:04:25 +03:00
Alex Tselegidis
7eaa313e52 Corrected the z-index value of the date and time pickers. 2020-10-20 16:04:25 +03:00
Alex Tselegidis
06956e82d0 Replaced the btn light class with btn outline secondary 2020-09-28 15:24:29 +03:00
Alex Tselegidis
cab9aed12f Styling upgrades for the backend calendar page 2020-09-28 15:17:47 +03:00
Alex Tselegidis
d9985643f3 Additional styling for the frontend pages. 2020-09-28 14:42:32 +03:00
Alex Tselegidis
2f32c4cd08 Styling for the login button of the booking page 2020-09-28 13:43:57 +03:00
Alex Tselegidis
068a3995b0 Further fixes on the google synyc activation (#890). 2020-09-24 10:26:29 +03:00
Alex Tselegidis
069509c8da Merge branch 'book-advance-timeout-improvements' of https://github.com/popod/easyappointments into popod-book-advance-timeout-improvements
# Conflicts:
#	application/views/backend/calendar.php
#	application/views/backend/settings.php
2020-09-23 15:13:58 +03:00
Alex Tselegidis
b1fa89ed49 Doubled right margin of select language element in booking page 2020-09-23 14:57:32 +03:00
Alex Tselegidis
f05aab39ca Styling adjustments to the booking footer elements 2020-09-23 14:53:30 +03:00
Alex Tselegidis
8dd346c90e Improved display of booking page footer for desktop viewports 2020-09-23 14:29:18 +03:00
Alex Tselegidis
7a05fc9d48 More padding between backend header menu items 2020-09-23 14:20:11 +03:00
Alex Tselegidis
a9d6d921c7 Less padding for the language selection button 2020-09-23 14:19:10 +03:00
Alex Tselegidis
a3dfb91550 Improvements in the user language storage feature. 2020-09-23 13:48:07 +03:00
Alex Tselegidis
e70e39e3f7 The language selection popup will disappear if the users clicks anywhere on the screen (#815). 2020-09-23 13:40:49 +03:00
Alex Tselegidis
7bbe85b88a
Merge pull request #817 from popod/save-customer-language
Save customer language to the database
2020-09-23 13:16:25 +03:00
Alex Tselegidis
30eb95461a Improvements and fixes on the custom availability feature 2020-09-23 12:24:42 +03:00
Sébastien
9d1dda3806 Fix appointment date wrongly updated to current date when the modal is open from the /backend/index/<appointment hash> url 2020-09-09 15:24:28 +02:00
Alex Tselegidis
be85f46158 Restructured the customer's appointments column and added direct link to editing an appointment. 2020-09-08 10:42:58 +03:00
Alex Tselegidis
34e4d6ea13 Refactored the backend resetForm and validation methods for consistency between pages. 2020-09-08 09:57:07 +03:00
Alex Tselegidis
64cdbfb445 Applied the switcher widget for the settings user notifications 2020-09-07 14:51:52 +03:00
Alex Tselegidis
69e39b9062 Corrected disabled state on users page. 2020-09-07 14:33:02 +03:00
Alex Tselegidis
6188df7ae5 Replaced the custom tab widget in backend providers with bootstrap based navigation 2020-09-07 14:17:01 +03:00
Alex Tselegidis
b4ad00d9f3 Moved inline styles in external css files 2020-09-07 13:51:50 +03:00
Alex Tselegidis
aeb8c3d86e Better display of nav tab pills in mobile devices. 2020-09-07 13:28:51 +03:00
Alex Tselegidis
de498ab5c2 Styling for the table view calendar header row. 2020-09-07 13:18:25 +03:00
Alex Tselegidis
18fa137336 Styling corrections to the popover buttons 2020-09-07 13:04:07 +03:00
Alex Tselegidis
af270e8fe2 Use the short "phone" for the appointment popover 2020-09-07 13:03:59 +03:00
Alex Tselegidis
2f6699f655 All buttons have their icon. 2020-09-07 12:21:16 +03:00
Alex Tselegidis
185686d194 Replaced custom toggle buttons with bootstrap switcher component. 2020-09-07 11:36:36 +03:00
Alex Tselegidis
769668c828 Move the call to action button of modals to the right 2020-09-07 11:15:01 +03:00
Alex Tselegidis
5031b66bd2 Renamed the id attribute from "message_box" to "message-box" to keep things consistent. 2020-09-07 11:08:18 +03:00
Alex Tselegidis
b0b8620379 The delete reason textarea has the "form-control" class. 2020-09-07 11:07:24 +03:00
Alex Tselegidis
a1c10fc2d3 Replace custom event handler methods with the use of "on". 2020-09-07 10:53:39 +03:00
Alex Tselegidis
6c8fea4ad8 Register modal events before using them, e.g. when provider edits an existing appointment via link (#839) 2020-09-07 10:51:46 +03:00
Alex Tselegidis
9b3502bf4a Consistent use of the backend-page css class 2020-09-03 14:35:58 +03:00
Alex Tselegidis
126a3ee3ef Backnd layout footer greeting improved positioning for mobile devices 2020-09-03 14:25:53 +03:00
Alex Tselegidis
a86722d9c5 More margin bottom to the calendar toolbar buttons when on mobile view 2020-09-03 14:24:10 +03:00
Alex Tselegidis
7531de38f4 Improved positioning of calendar toolbar buttons in mobile devices 2020-09-03 14:23:24 +03:00
Alex Tselegidis
3bfa40b46b Removed unnecessary styling from backend.css 2020-09-03 14:16:58 +03:00
Alex Tselegidis
63b9653bb2 Added bootstrap 4 classes to the date field of the table calendar view in backend. 2020-09-03 14:14:56 +03:00