Commit Graph

161 Commits

Author SHA1 Message Date
johnnyq ccf0d3ab77 Replace all instances of htmlentities() with the new function nullable_htmlentities() thanks @bhopkins0 2023-05-11 18:23:36 -04:00
Brent Hopkins cdd2a31217
Update MySQL query 2023-05-11 16:07:05 -05:00
Brent Hopkins 9de9dcd1b3
Add client_tags.client_tag_tag_id to GROUP BY 2023-05-11 02:43:58 -05:00
johnnyq 0f758c5901 Finished DB Structure for the coming new feature custom fields 2023-05-07 19:45:55 -04:00
johnnyq 53b7f7d1d5 Feature: Client CSV Exportation 2023-04-24 16:48:47 -04:00
johnnyq f127719cbe Added new Field Client Tax ID Number, currently only vieable on the client top head, and under edit. It is also searchable 2023-04-11 16:20:48 -04:00
johnnyq c544dc4a2a New Feature: Added Hourly Rate to Client 2023-03-28 15:29:54 -04:00
johnnyq 9d053dcc91 Undo Query need to rethink this one 2023-03-12 15:49:01 -04:00
johnnyq 89c4811aa6 Combined balance, reccuring monthly and paid to date to the clients query so now they can be sortable with less queries 2023-03-12 15:39:22 -04:00
johnnyq 48fe49cf77 BREAKING CHANGES - MAKE FULL BACKUP BEFORE PROCEEDING - Requires Manual Intervention on files see Forum Post Make sure you run the Database update directly after update. This Removes Multi-Company Functionality. Fixes issues with Reponsive tables and bunch of other UI and small Fixes 2023-03-11 16:16:46 -05:00
johnnyq a711bed38c Add sme more htmlemtities for consistency 2023-03-05 20:06:42 -05:00
johnnyq cdf97ec83b Fix clients being duplicated when multiple tags are assigned to them 2023-03-05 11:40:20 -05:00
johnnyq b2deebfa42 Reverted still causing issues with duplicate clients 2023-03-01 01:11:25 -05:00
johnnyq 58e08c1e60 Still getting dupes in clients with multiple tags redid the query 2023-03-01 01:09:14 -05:00
johnnyq d50397f291 Add back additional Groupby in Client oops 2023-03-01 01:03:40 -05:00
johnnyq 1a5bffd2e0 Updated the client inc to remove date 0000-00-00 format to fix issue with MySQL 2023-02-28 23:52:20 -05:00
johnnyq 94c020f689 Fix issue clients listing being broken with MySQL server due to not specifiying all non aggregate columns be in the GROUP BY Field, this was not an issue with mariaDB 2023-02-28 22:15:09 -05:00
johnnyq a79e4b496c Fix regression in client listing which broke searching between dates 2023-02-27 12:26:46 -05:00
johnnyq a21ede9a14 opps forgot to commit the clients.php changes 2023-02-25 15:28:53 -05:00
Marcus Hill a3267f213b Rm testing string 2023-02-25 19:04:10 +00:00
Marcus Hill 67ea16e4fc Allow searching the main clients list by client tags.
- DB Change: Prefixed columns in client_tags table with client_tags_
- Updated existing SQL references to client_tags.client_id and client_tags.tag_id to new names
- clients.php: Added SQL joins/where/groupby logic to allow searching via tags
2023-02-25 19:00:31 +00:00
johnnyq 6f0017d90b Dedup More Pagination code you now only have to define Sortby column and its order, also fixed issue when searching by date it would close on the first query 2023-02-24 20:22:57 -05:00
johnnyq f7552cd25a Finished up santizeInput Conv and UI updates 2023-02-23 16:09:37 -05:00
johnnyq 95f190c89d More UI work and santitizeInput migrations 2023-02-20 22:02:39 -05:00
johnnyq 3742051e03 UI spruce up on invoice details, also now more mobile friendly 2023-02-17 13:58:55 -05:00
johnnyq 8a91ae0e46 More updating with new sanitize function and more logging and alerting cont 2023-02-16 22:26:38 -05:00
Marcus Hill 5bb4296f14 Adjust core files to 4 spaces 2023-02-12 14:40:10 +00:00
Marcus Hill 615f317d2b General cleanup/formatting 2023-02-09 12:29:12 +00:00
Marcus Hill f92dc108e2 Tidy
- Move some scripts to their own js files
- Move some duplicate code blocks to functions
- General tidy & spacing cleanups (#538)
2023-02-04 22:09:56 +00:00
johnnyq da810349f4 Moved the toastr response from the top right to the top center 2023-01-25 12:40:25 -05:00
Marcus Hill 2c3ebb3bbb Tidy codestyle - spaces between parenthesis and curly braces 2023-01-21 17:09:39 +00:00
johnnyq 6bafb0bcbb Added Recurring Monthly to Client Listing Billing column as well 2023-01-09 14:51:13 -05:00
Marcus Hill a66b6052df Change stripslashes to strip_tags for better html sanitization 2023-01-02 19:28:24 +00:00
johnnyq 2a16b6d2ae Remove some tags there and here some more output formatting all thanks to the great security researcher @indevi0us for pointing these out to us. 2022-12-21 21:31:51 -05:00
Marcus Hill 51792a1a2f Set a max date attribute for date input fields to prevent/discourage them going over 4 characters (client side validation) 2022-12-17 18:03:53 +00:00
Johnny 64c3d47ac5
Merge pull request #505 from wrongecho/quick-fix-tech-financials
Role enforcement
2022-12-11 13:17:52 -05:00
johnnyq 13d9d6f743 Refresh some UI elements for add edit calendar events and some other UI updates including adding tickets 2022-12-11 13:12:08 -05:00
Marcus Hill 5c1653dc0a Sonarcloud codesmell, add space after IF 2022-12-11 14:47:16 +00:00
Marcus Hill 1917b3413c Hide the client actions (edit/delete) button for non-admins - they aren't able to use the actions anyway as post.php enforces an admin rolecheck 2022-12-11 14:41:47 +00:00
johnnyq b6e540825f Format output for the proper code syntax, this should fix many various issues with output formatting and page breakage 2022-12-02 19:58:21 -05:00
johnnyq e3601ad2ce opps misspelling 2022-09-29 12:23:32 -04:00
johnnyq a8a7ea4805 Made Client Refferral searchable under clients 2022-09-29 12:20:35 -04:00
johnnyq d7090d3286 Reworked Client Section URL routing to be standard with standard URL routing of ITFlow. It was just too confusing to mix to different URL routing operations 2022-09-18 14:00:31 -04:00
johnnyq ff5f08a052 Added copy to clipboard for contact emails 2022-05-14 18:26:31 -04:00
Marcus Hill f7df7811c0 Correct L207 ['client_archive_at'] to ['client_archiveD_at'] 2022-05-11 20:45:54 +01:00
johnnyq 50670d4d27 Table Field cleanup 2022-05-07 20:51:13 -04:00
johnnyq 0ac9143e47 Do no show archived clients under clients, add archive client, add undo archive client 2022-05-07 20:15:13 -04:00
Marcus Hill f5f033fed4 Remove MeshCentral integration
As per recent discussions about the API & scripts being a better way forward for all integration, removing the MeshCentral integration that was added.
2022-04-19 22:42:38 +01:00
Marcus Hill fca1627c33 Remove delete user post.php code. Deleting users means we'll lose all tickets/replies which isn't great.
Correct user archive behaviour so when users are archived they can no longer login. Need to add ability for quick disable/enable of user accounts, as using archive as permanent.
Refactor "You are not permitted to do that!" wording into a constant instead.
2022-04-15 13:29:27 +01:00
johnnyq fd8188095e New Feature Enable/Disable ITFlow Modules now using the automated DB updater 2022-04-14 22:59:36 -04:00