Commit Graph

143 Commits

Author SHA1 Message Date
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
Marcus Hill ca629801af Change all "AND" / "OR" to && / || 2022-04-14 18:40:51 +01:00
Marcus Hill e6a314d233 Prevent tech/accountant from performing certain tasks as per access matrix 2022-03-27 15:32:40 +01:00
Joe Clark e54eae13a7 Fix bug with initializing variable name 2022-03-22 13:06:14 -07:00
johnnyq 5b274b09e6 Clicking client links take you to client overview by default 2022-03-12 13:38:30 -05:00
johnnyq d1ee7ce5aa You can now search by phone numbers with dashes or () before it requied you to only type in the numbers only 2022-03-05 14:41:52 -05:00
Marcus Hill e4dc22a0ce Add functionality to pull/sync assets & info from MeshCentral 2022-02-26 21:51:37 +00:00
johnnyq 4182e43b5e UI polish bolded contact under client listing 2022-02-22 02:22:03 -05:00
johnnyq e633d1ad71 Merged contact with client on ticket listing 2022-02-22 02:15:41 -05:00
johnnyq 1829c7299e Made the php includes much more modular and simpler by lumping them all in 1 file inc_all.php instead of all over the place 2022-02-22 00:29:39 -05:00
johnnyq b850d913a0 Fixed Balanced and total amount paid in client listing 2022-02-19 00:14:52 -05:00
johnnyq a9346845ab Refactored Currency Display using PHP numfmt_format_currency() function as this is best practice and will put the right currency symbol in the right place based off locale and currency type 2022-02-17 22:20:59 -05:00
johnnyq f2f9f22545 Started using new php function for Currency formatting as this is best preactice, removed Client Access and removed certian user roles 2022-02-17 17:41:30 -05:00
johnnyq 5dd576fe20 Removed Legacy AES Password conversion and old AES key from database 2022-02-05 16:41:21 -05:00
johnnyq 0e3c457991 Reverted Modal Callback naming IDs, these do not follow the same logic as File Entity renaming 2022-02-05 13:43:52 -05:00
johnnyq 278b243e7c Finished File Entity Renaming process 2022-02-05 13:24:57 -05:00
johnnyq dd9fcd57d2 Fix guest invoice caused issues with the alert Query on certain client names, will need reworking and testing in other areas of the code as well 2022-01-28 20:38:48 -05:00
johnnyq 5e9eb4d27d More work on #324 Products and Clients 2022-01-23 20:58:27 -05:00
johnnyq 6ad98158db Updated File/Function naming convention for campaigns in accordance to #324 2022-01-23 11:31:25 -05:00