Commit Graph

190 Commits

Author SHA1 Message Date
o-psi 77145432ee Added autoclose to dark 2023-12-22 17:19:00 +00:00
Andrew Malsbury 6bceb4b33b
Merge pull request #3 from twetech:client-replied-warning-badge
Add ticket status color for "Client-Replied"
2023-12-22 11:17:08 -06:00
o-psi 0535a903ee Add ticket status color for "Client-Replied" 2023-12-22 17:16:26 +00:00
Andrew Malsbury fc5507272e
Merge pull request #2 from twetech/Fix-for-user-IDs-in-tickets
Fix ticket assignment filter bug
2023-12-22 11:09:33 -06:00
o-psi 61a0086514 Fix ticket assignment filter bug 2023-12-22 17:06:48 +00:00
Andrew Malsbury a6d43d97af
Merge pull request #1 from twetech/Fix-for-user-IDs-in-tickets
Fix ticket_assigned_to filter in SQL query
2023-12-22 10:50:11 -06:00
o-psi eb29f74fab fix error messages in log 2023-12-22 16:25:36 +00:00
o-psi 7709627e5b Accounting module disable ticket billable options 2023-12-22 16:19:51 +00:00
o-psi dd7131cae1 Fix ticket_assigned_to filter in SQL query 2023-12-22 15:14:56 +00:00
johnnyq 11da9ff0d4 Fix Undefined Status Array errors in tickets 2023-12-21 18:59:57 -05:00
o-psi 3eaaf73744 Add more billable status functionality 2023-12-21 17:10:15 +00:00
johnnyq dccec2d5f5 Removed actions column from tickets as edit ticket and Delete should be done within the ticket itself, however you can still change priotity and assigned to within the list view. This makes a tremendous impact on performance as ticket details wont need loaded for each row Soon we will impelment bulk actions 2023-12-09 15:04:30 -05:00
Marcus Hill c0eb94efc3 Ticketing updates
- Client ticket view now defaults to showing Open tickets
- Client ticket view now has ability to quick filter between open/closed tickets
- Don't render modals for closed tickets (~6x performance boost 0.030 seconds before vs 0.005 seconds after) (we really need dynamic modals for ticketing!)
2023-11-25 11:29:08 +00:00
johnnyq 1f9c6578d5 Sanitize each Status in Array 2023-11-21 15:41:03 -05:00
johnnyq 3749cbfca1 Updated multiple ticket status selection 2023-11-21 15:22:38 -05:00
johnnyq 900ec75303 Reverted Multi Status Select using select2 in Ticket filtering as it broke existing filtering 2023-11-21 12:36:37 -05:00
Andrew Malsbury 35b709fa18 Merge branches 2023-11-14 18:31:30 +00:00
Andrew Malsbury f01d9d0530 Updated to use prepared statements as 2023-11-14 18:30:18 +00:00
Andrew Malsbury 4060bea7a6 Add new ticket status and refactor ticket status
filter.
2023-11-14 17:41:30 +00:00
Andrew Malsbury 973307524d Update to fix main screen 2023-11-14 17:23:13 +00:00
Andrew Malsbury 1d401874f3 Update to select2 multiple statuses. 2023-11-14 17:09:43 +00:00
Andrew Malsbury a0cd266c8b Add Client-Replied to ticket sort dropdown 2023-11-14 15:53:04 +00:00
johnnyq 69e9691de9 Remove elevation CSS tag from tickets as this was not consistent and unnessary 2023-11-06 14:43:19 -05:00
o-psi 53c11edc8c Update constructs to not have parenthesis. 2023-10-20 15:25:52 -05:00
johnnyq 8cfa0e97d4 Allow ticket priority and status to be searchable in main tickets view 2023-10-04 22:02:08 -04:00
johnnyq b839f188ef Allow Contact name, Vendor name and asset_name to be searchable under both client tickets and the main tickets view 2023-10-04 21:59:05 -04:00
johnnyq 301d798963 You can now change ticket priority, contact or ticket Assignment by clicking on the element in the ticket listing 2023-09-18 13:23:21 -04:00
johnnyq beaa56dc36 Removed Ticket assignment through edit ticket, has to be done within the ticket itself, properly update the status to assigned and pending-assignment based off whos assigned to the ticket 2023-09-17 18:36:48 -04:00
johnnyq b23631226b Updated and added more descriptive Ticket Statuses 2023-09-17 18:06:07 -04:00
johnnyq 54c1befed9 Added Confirmation to Delete and Archiving tasks, also fixed broken trips page 2023-09-05 19:02:52 -04:00
johnnyq 709cec8d7e More Icon Updating and matching 2023-08-20 15:06:08 -04:00
johnnyq dd46c5bcab Ticket watchers can now be add and deleted 2023-08-03 18:03:39 -04:00
johnnyq e7572c9e8f Rename vars sb to sort, o to order, p to page. This makes the code easier to understand and brings consistency 2023-07-08 12:34:28 -04:00
johnnyq 32c9a933ea Invoice Ticket design update, Added functionality for vendor ticket number, asset, login description and contact pin codes 2023-06-14 18:39:24 -04:00
johnnyq 1db519d820 Updated Tickets to use timeAgo function along with stand DateTime 2023-06-05 12:38:25 -04:00
johnnyq cb2b846418 New Tickets that have not been updated now have their whole rows bolded 2023-06-03 21:43:46 -04:00
johnnyq 29dd0f6dee Fix issue under client tickets listing where contact name would appear incorrectly 2023-05-25 15:52:27 -04:00
johnnyq 37fb696e63 Replace the remaining php files with nullable_htmlentites() 2023-05-11 18:27:48 -04:00
Brent Hopkins d1fc5c3c99
Change button look 2023-05-10 21:35:48 -05:00
johnnyq c3a711d75d More TinyMCE in more places 2023-05-08 19:53:42 -04:00
johnnyq 01a37cb1e1 Replace Summernote WYSIWYG with TinyMCE 2023-05-08 18:44:00 -04:00
johnnyq 018f52eb67 Revert for now added HTML Purify to client tickets as well 2023-05-08 14:38:42 -04:00
johnnyq eb9a8000b1 Fix Rendering issues with tickets editing because ticket client_tickets and ticket all share the same edit modal which already uses htmlentites to prevent xss but so it doesnt conflict with htmlpurify in ticket details we decided to split the vars to ticket_details and ticket_details_edit which is unfilter initially but gets filtered in the modals 2023-05-08 13:52:43 -04:00
johnnyq 9887fc4a19 Removed HTML Purify on tickets.php and use htmlentities instead to mimic client_tickets.php was causing some rendering issues when you goto edit a ticket under client tickets tested for XSS all tests came back clean 2023-05-08 13:24:43 -04:00
Marcus Hill c5966961da Sanitize ticket details output in main edit modal 2023-04-29 12:34:14 +01:00
Marcus Hill 6ac7843ee9 Tidy spacing 2023-03-19 16:00:55 +00:00
Marcus Hill 3718987f50 tickets.php - Rename unused ticket_status_display to ticket_status_color 2023-03-19 15:53:10 +00: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 57b9552ab5 Minor UI Fixes and Updates 2023-02-24 23:59:15 -05:00
johnnyq 29db5a19c9 Fixed undefine vendor_id and asset_id under tickets 2023-02-24 21:30:30 -05: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
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
wrongecho b19c7a6f49
Merge branch 'master' into code-tidy 2023-01-23 19:21:43 +00:00
johnnyq 13edae48dc New Field for notifications so each user can get and dismiss their own notifications instead of them being shared 2023-01-22 20:01:20 -05:00
Marcus Hill 2c3ebb3bbb Tidy codestyle - spaces between parenthesis and curly braces 2023-01-21 17:09:39 +00:00
johnnyq 7d29b551e7 Simplified themimg, Added Hyperlink colors to the theme as well 2023-01-20 13:53:24 -05:00
johnnyq 45564d45bc Added Document Template Listing, editing, deletion, move scheduled tickets into tickets 2023-01-18 22:00:45 -05:00
Marcus Hill 5460825ece Replace stripslashes with strip_tags 2023-01-02 14:44:46 +00:00
johnnyq 9587827792 Added missing select2 class to ticket status dropdown 2022-12-21 21:38:24 -05: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
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
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 7e9597d923 Updated Ticket Icons everywhere to a more suitable icon life-ring instead of a carnival ticket 2022-10-01 15:00:48 -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
Marcus Hill bc1426ba18 Don't show archived users for ticket filters/assignment 2022-04-28 20:52:20 +01: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
Marcus Hill 3019f6a5d4 Hide edit/delete buttons for closed tickets 2022-03-24 21:04:20 +00:00
Marcus Hill 61cf50cad0 Make ticket assigned to filter select2 to make filterable 2022-03-21 21:41:33 +00:00
johnnyq 5f15ff0792 Reverting Pop overs on ticket subjects as the ticket details are not compatile with the inline text. This may be corrected when we finish the javascript handler but will explore pop overs in the future they are pretty neat Thanks @aftechro 2022-03-10 11:03:36 -05:00
AFTECH.RO 5064532a92
Update tickets.php
Ticket subject to shown as popover, for faster assignment :d
2022-03-08 23:19:57 +00:00
Marcus Hill a335f3be99 Ticketing updates 2022-02-24 17:57:41 +00:00
johnnyq 3b615d2f3a UI updates mainly icon swaps etc 2022-02-22 14:41:48 -05: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
Marcus Hill 4b9adf9a5d - General reformatting
- Adjusted logic for open tickets to include tickets in working/on-hold states.

- Added filter to advanced search for ticket state

- Removed query string for the total/open/closed counts/filters

- Hyperlinked the unassigned tickets button.
-- Future work here would be to allow tickets to be filtered by assignee.
2022-02-12 22:45:39 +00:00
johnnyq ac276d7844 Added some elevation to the Card table on tickets removed btn-lg for each button that parts of the btn-group and specified btn lg in the btn group class instead 2022-02-08 21:59:17 -05:00
johnnyq 02fce58f80 Remove more number_formats and some UI work on tickets 2022-02-08 21:53:39 -05:00
johnnyq c6db5516cf Remove some more tics, set to to get the current user logged in number of tickets 2022-02-08 21:42:51 -05:00
johnnyq 7385d1e0a5 Removed unnessessary tics in the queries, no need to use the number_format() php function for row counts. number_format is mainly used for decimals and such. Remove some double spacing 2022-02-08 21:38:52 -05:00
johnnyq c1bfec98be Indentation cleanup, removed extra </div> on tickets 2022-02-08 21:29:43 -05:00
AFTECH.RO 1a30cecf64
Update tickets.php
- added My tickets - showing total of assigned tickets to user
- added Unassigned tickets - showing all open tickets not assigned and ready to be grabbed by anyone available
- added Task - this can be left at it is or to be renamed to Alerts/Notification - used for 3rd party emails fetched as tickets ( backups notification, domain/ssl expiry, check central etc)

Future to do: 
- when click on My tickets, to show all the tickets assigned to user (open/answered, unanswered, closed by user)
- when click on My Tickets - Unanswered - to show tickets assigned to user with status open but not replied to customer
- when click on My Tickets - Open/Answered - to show tickets assigned to user and replied by the agent (work in progress)
2022-02-08 23:01:18 +00: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 21a0feb625 Removed circle from edit location and client photo, fixed location phone number not saving when you add a client 2022-01-25 15:28:57 -05:00
johnnyq ef8e9285aa More work on #324 Tickets 2022-01-23 21:23:45 -05:00
johnnyq 72fbebd77a Client Tickets display Contact Email below Contact name, removed email column reworked the display handler on the main tickets listing page as well 2022-01-13 16:13:33 -05:00
johnnyq 7de91d96f4 Client Tickets display Contact Email below Contact name, removed email column reworked the display handler 2022-01-13 16:08:15 -05:00
johnnyq 48dbb3ec4c More Define canned date if not set. Prevents undefined errors Same as a48e302 2022-01-13 14:07:51 -05:00
johnnyq 56625c37a1 Make last respnse field sortable under tickets and client tickets 2022-01-09 12:24:12 -05:00
AFTECH.RO 97f49826bf
Update tickets.php
- open ticket when click on both ticket number and subject
- re-arranged the table elements display 
- added from email address of within the company (can be left From email or from Contact of the company - or both :D )
2022-01-06 23:23:47 +00:00
johnnyq 8e8b28df40 Fixed Querying wihtin Invoice status 2022-01-06 11:21:10 -05:00
johnnyq 0047198bcd Added hidden status variable upon search form POSt under tickets to allow querying within a status 2022-01-05 22:40:26 -05:00
Marcus Hill 913d41e4b3 Tidy/Fix undefine variable errors, improve open/closed ticket filtering, still needs some work as open/close state is lost after search 2022-01-04 21:55:45 +00:00
johnnyq faf39fc84a Code cleanup and fix possible injections when a trusted user is logged in thanks to mwdmeyer, constant_chaos, disclosure5 and rightwayround from /r/msp for pointing these issues out 2021-12-12 13:16:26 -05:00
johnnyq 6e9c9fd7d4 Fixed contact selected with edit ticket under ticket listing views 2021-08-28 13:11:02 -04:00