Commit Graph

192 Commits

Author SHA1 Message Date
johnnyq dd46c5bcab Ticket watchers can now be add and deleted 2023-08-03 18:03:39 -04:00
johnnyq 8511cdd1fe Added the Ability to Toggle the Ticket Timer Pause / Play 2023-07-31 14:30:37 -04:00
johnnyq 336805e16b Fix Ticket Timer for users that user 12 Hour AM/FM Format, converted from time field to text added icon for timer representation 2023-07-31 14:06:47 -04:00
johnnyq 2d0458a2f3 Fix some formatting and additonal white space before contact name in Ticket Details part 2 2023-06-22 11:05:24 -04:00
johnnyq 6ccbe67b59 Fix some formatting and additonal white space before contact name in Ticket Details 2023-06-22 10:57:14 -04:00
johnnyq 8085f7cd90 User client Rate for price by default for Invoice Ticket 2023-06-14 18:44:24 -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
Marcus Hill 0144132649 Ticket.php: revert PR 679
- Hide previous ticket count for now as this doesn't work as intended
2023-05-15 21:40:59 +01:00
Marcus Hill 1057481039 Ticket.php
- Change wording of ticket 'Respond' button to 'Add note' if reply is internal
- Fix TinyMCE not loading under certain circumstances
- Correct varname 'prefix' to 'ticket_prefix' in reply alert message
2023-05-14 20:16:04 +01:00
Marcus Hill 40a8c6d723 Tidy 2023-05-14 19:48:29 +01:00
AFTECH.RO 4183583ef5
Update ticket.php
changed the sql for previous ticket to prevent XSS attacks.
2023-05-13 23:30:33 +01:00
AFTECH.RO ffe4061429
Update ticket.php
Hide Previous ticket if none exists
2023-05-13 09:42:48 +01:00
AFTECH.RO 052d418bad
Update ticket.php
Re-make of Related tickets (total open and closed) and contact card, showing previous ticket and status of it. Also, made the contact mobile and contact phone clickable (tel:$contact_phone)
2023-05-13 02:30:34 +01:00
johnnyq 37fb696e63 Replace the remaining php files with nullable_htmlentites() 2023-05-11 18:27:48 -04:00
johnnyq 043a9cfa0a Fixed Ticket Reply currently an issue where required fields using TinyMCE wont POST looking into it 2023-05-08 22:15:23 -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
Marcus Hill 3a83a701b5 Ticket autoclose: Clarify auto-close help wording; only show as ticket status option if enabled 2023-05-08 09:43:46 +01:00
Marcus Hill dc2293c8dd Add auto close ticket feature 2023-05-01 02:02:45 +01:00
Marcus Hill a3d8f5ab48 Ticket attachments (email)
Email to ticket parser: Add support for email attachments
2023-04-30 10:52:15 +01:00
johnnyq b784c48120 Opps Fix 2023-04-12 16:48:35 -04:00
johnnyq d27c83ab66 Fix Mail Parser, inserting \r \n 2023-04-11 11:23:19 -04:00
Marcus Hill a26f3087fc Change client - fix code smell 2023-04-10 19:13:31 +01:00
Marcus Hill 2f19967a0d Comment ticket_created_by 2023-04-10 18:55:42 +01:00
Marcus Hill 1aa33585a0 Ticketing - add ability to change client 2023-04-10 18:52:23 +01:00
johnnyq 20dbe285e8 Remove HTML Entity Decode from the HTML Purifier as this is not needed now 2nd attempt in ticket replies 2023-03-11 21:48:30 -05:00
johnnyq 16b20c0bfa Remove HTML Entity Decode from the HTML Purifier as this is not needed now 2023-03-11 21:47:11 -05:00
johnnyq b5ae7b3d86 Used HTMLPUrify to Purify the output of Tickets, Documents, Document Templates. Removed Redundant htmlentities in edit document edit ticket etc, Removed Company ID from Document Template Details 2023-03-11 21:24:35 -05: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 75b14b4f6f Update to change the client tag to singular as it references one record the table name should remain plural 2023-02-25 15:27:23 -05: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 f7552cd25a Finished up santizeInput Conv and UI updates 2023-02-23 16:09:37 -05:00
johnnyq 2b50302cf9 Fixed Ticket Regression which broke ticket asset, vendor and contact display 2023-02-21 11:42:24 -05:00
johnnyq 95f190c89d More UI work and santitizeInput migrations 2023-02-20 22:02:39 -05:00
johnnyq 32743e629d Fix issue when updating contact notes via contact details it overwrite every contacts notes more logging and alerting 2023-02-14 14:36:56 -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 b36719eb99 General cleanup/tidying 2023-02-09 11:32:40 +00:00
johnnyq bdc71d3163 Make vendor selection work under create and edit ticket, also add vendor info card to ticket details This will be useful if you are also working with a vendor like Microsoft or Internet provider etc 2023-01-26 16:49:18 -05:00
johnnyq a8379e331d Added Updated Date Time on Ticket Details 2023-01-24 16:35:16 -05:00
Marcus Hill ad2390d0ea General tidy/spacing cleanups 2023-01-23 21:09:44 +00:00
Marcus Hill 0acfda64ba Fix service history hyperlink, tidy text a little (#384) 2023-01-19 20:51:34 +00:00
Marcus Hill 7e81882bff Separate out time tracking and collision detection JS into separate javascript files 2023-01-03 20:30:39 +00:00
Marcus Hill a780df5205 Change spacing to 4 spaces; general refactor/tidy up 2023-01-03 20:20:54 +00:00
Marcus Hill d8410d95b2 Rem old commented code 2023-01-03 20:00:01 +00:00
Marcus Hill d842dbb863 Revert "Hide invoice ticket button for techs"
This reverts commit 6df24d859e.
2022-12-29 22:29:54 +00:00
Marcus Hill 6df24d859e Hide invoice ticket button for techs 2022-12-28 20:51:24 +00:00
Johnny e48934791a
Merge pull request #503 from wrongecho/client-avatar
Make separate avatar photo URLs for client/agent replies.
2022-12-11 13:14:56 -05:00
Marcus Hill 0706af1608 Make separate avatar photo URLs for client/agent replies. Fixes #501 2022-12-11 10:50:16 +00:00
Marcus Hill 601b5f89e9 Email parse edits 2022-12-11 02:02:00 +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 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 fc3b83d43a Allow for tickets to be unassigned after being assigned to an agent.
Hide accountants from ticket assignment list on ticket.php.
2022-05-11 20:27:18 +01:00
Marcus Hill 0a483cf13a Only show active/non-archived agents for new ticket assignment 2022-04-16 12:32:23 +01:00
Marcus Hill ac42cb82a8 Fix closed by being in caps 2022-04-15 12:00:41 +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 f3ac8df7d5 Only run contact ticket stats if contact id is not null 2022-04-07 21:07:00 +01:00
johnnyq fdf9d67910 Allow to Add Ticket to an exiting invoice item line 2022-04-02 20:50:55 -04:00
johnnyq 3a872ae433 Allow invoicing a closed ticket 2022-04-02 20:07:36 -04:00
johnnyq 84087fde2f Seperated Service Ticket vars from current Ticket vars under ticket details was causing conflicting issues with Assign to, Invoice and Close ticket buttons 2022-04-02 20:05:19 -04:00
Johnny 974cac0e86
Merge pull request #411 from wrongecho/perms
Role-based access permissions
2022-03-27 14:44:29 -04: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 42d917a0f4 Comments 2022-03-26 18:11:03 +00:00
Marcus Hill fb4da53026 Show who else is viewing the same open ticket as you 2022-03-26 18:05:20 +00:00
Marcus Hill 3019f6a5d4 Hide edit/delete buttons for closed tickets 2022-03-24 21:04:20 +00:00
Marcus Hill 34d6caa016 Client portal updates 2022-03-20 16:02:58 +00:00
Marcus Hill 76cad07566 Client portal initial - add functionality to post ticket replies 2022-03-19 19:10:36 +00:00
johnnyq 928af1d90d Added Ticket to Invoice functionality Thanks @aftechro 2022-03-11 20:24:03 -05:00
johnnyq f102c19692 DB Update Added Null Default to new meshcentral vars so it doesnt break when adding records, Added Service History #384 Thank you @aftechro for the idea. This has been added to asset list and ticket details and some UI updates to ticket details as well 2022-02-27 16:55:57 -05:00
Marcus Hill ea7f11f35f Show 'none' for assets where warranty isn't set 2022-02-27 17:40:11 +00:00
Marcus Hill e481accb79 Move details above asset, fix asset merging into other cards 2022-02-27 17:08:55 +00:00
AFTECH.RO 55f8ba652a
Update ticket.php
- Display IP on Asset section so would be handy for the technician when troubleshooting
- Implement Asset warranty so the technician can take better decision regarding the asset fixing option (parts replacement under manufacturer warranty or in house parts replacement)
2022-02-26 02:08:38 +00:00
Marcus Hill 797cd23c78 Comment invoice button as it does nothing right now 2022-02-24 18:32:07 +00:00
Marcus Hill a335f3be99 Ticketing updates 2022-02-24 17:57:41 +00: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 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 ef8e9285aa More work on #324 Tickets 2022-01-23 21:23:45 -05:00
johnnyq 34969bc475 Fix for #305 2022-01-19 17:17:18 -05:00
johnnyq 7b6b597de4 used header tag for client name to standout 2022-01-14 00:41:51 -05:00
johnnyq 3d548f8e0f Swapped out uppercase for some Bolding under ticket details 2022-01-13 20:57:19 -05:00
johnnyq 29828f8653 Added client Tag Display under Client in Ticket Details 2022-01-13 15:20:49 -05:00
johnnyq 03e8c5148c Removed unused user_name VARs from ticket details 2022-01-13 15:15:49 -05:00
johnnyq b843f530d9 Fixed ticket details assigned to and closed by, do not show closed by if not closed, do not show time worked if no time was worked, added primary location Phone number under client if exists and other minor cleanups 2022-01-13 15:13:08 -05:00
Johnny 6a7b709a49
Merge pull request #270 from wrongecho/ticketing
Ticketing updates
2022-01-12 19:44:52 -05:00
Marcus Hill 7732264922 Remove edit/merge/delete options when a ticket is closed 2022-01-12 19:10:40 +00:00
Marcus Hill 4897c46cd5 Add merge ticket functionality 2022-01-12 19:01:17 +00:00
Marcus Hill e5f2740786 Fixed ticket delete button so it deletes the ticket, not the client 2022-01-12 15:36:55 +00:00
johnnyq d272214c2d Merge branch 'master' of github.com:johnnyq/itflow 2022-01-11 17:30:34 -05:00
AFTECH.RO b9358fed4b
Update ticket.php 2022-01-11 16:19:59 +00:00
AFTECH.RO a93098ddd6
Update ticket.php
added more info to Details card
2022-01-11 16:16:59 +00:00
AFTECH.RO f41d015e0d
Update ticket.php
- added related tickets for same contact 
- future to do: when clock on related ticket number, open all tickets accordingly (open and closed)
2022-01-11 15:56:15 +00:00
johnnyq 6f244a1170 Merge branch 'master' of github.com:johnnyq/itflow 2022-01-09 23:09:31 -05:00
johnnyq 4892e33201 Small Fixes 2022-01-09 23:09:11 -05:00
Johnny 8e821b6e13
Merge pull request #263 from wrongecho/ticket-reply-hide
Hide reply box if ticket is in a closed state
2022-01-09 22:57:57 -05:00
Marcus Hill 4f197a6287 Hide reply box if ticket is in a closed state 2022-01-09 22:57:56 +00:00
johnnyq 56625c37a1 Make last respnse field sortable under tickets and client tickets 2022-01-09 12:24:12 -05:00
Marcus Hill 43a85fd21c Disable assignment when ticket is closed 2022-01-08 21:17:59 +00:00