Commit Graph

253 Commits

Author SHA1 Message Date
johnnyq d713031545 Priority and Contact are now clickable and changeable within ticket details 2023-09-18 15:07:12 -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 fed51928c7 Updated Status Badge Colors 2023-09-17 18:10:21 -04:00
johnnyq b23631226b Updated and added more descriptive Ticket Statuses 2023-09-17 18:06:07 -04:00
johnnyq f44641c5e4 Sort Client tags alphabetically when being show under client details, client listing and ticket details 2023-09-11 16:01:47 -04:00
johnnyq eb1048ea4a Added Confirmation to Ticket Details Page, Closing ticket archiveing reply deleting etc 2023-09-05 19:04:43 -04:00
johnnyq b1a9dda896 Ticket update bar Formatting Fix 2023-09-05 15:33:03 -04:00
johnnyq d978e475bb Removed Closed from the Ticket Dropdown as it was accidenally hit sometimes 2023-09-05 15:31:09 -04:00
johnnyq a5b034f877 Added Ticket Watchers card to the ticket details side bar 2023-09-05 15:25:25 -04:00
johnnyq d7ab2b2fec Fix issue with umlaught characters causing the contact name not to display properly in ticket details 2023-08-17 21:04:18 -04:00
johnnyq 2915d7a1b7 Replicated reworked tags code logic under client details and ticket details 2023-08-16 14:07:25 -04:00
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
johnnyq b7f2053648 Modified time counter under tickets to use type field text instread of time as it was setting the hour and to 12 AM 2022-01-08 15:49:41 -05:00
johnnyq c87c45df85 Used card outline instead of a full card color to differentiate between public and private ticket replies, not sure if this is enough 2022-01-08 15:38:28 -05:00
johnnyq c8e789396b Moved Ticket Reply on top of comments for now more than likely will place it inside a modal 2022-01-08 15:18:32 -05:00
johnnyq 48116258b9 Remove the space between the icon and text on the details of ticket details as we are using Margin Right CSS for this 2022-01-08 15:13:09 -05:00
Marcus Hill c98be4c344 Add support for public/internal updates, using the existing 'email update to client' checkbox 2022-01-08 16:40:04 +00:00
Marcus Hill 8406779b3b Add time tracking to ticket 2022-01-08 16:12:04 +00:00
johnnyq c41daab0c9 Tidy DB file 2022-01-07 22:19:46 -05:00
johnnyq ee5ae53a41 Updated ticket details layout and added some additional functionality thanks to @aftechro 2022-01-07 18:20:16 -05:00
Marcus Hill a392ac0d85 Fix user initials in ticket reply 2022-01-07 16:17:04 +00:00
johnnyq c6bafa9420 Enhanced @wrongcho Link ticket assets Merge 2022-01-05 22:28:29 -05:00
Marcus Hill f6900ae993 Allow linking of asset to a ticket via edit modal 2022-01-04 20:22:27 +00:00
johnnyq de883f9ff5 Fixed Add Recurring and Edit Recurring Invoices going to a blank screen after submit this was due to a missing history_status var, Removed Activate and Deactivate from recurring list and the buttons from recurring details as this can be modified using edit recurring, Removed Redundant Force Send action on recurring list views, this can be accessed by going to the recurring details. 2022-01-02 13:39:25 -05:00
johnnyq b8a1af2e0f Show Ticket Reply Modified date if applicable 2022-01-02 01:50:18 -05:00
johnnyq ba584a57e0 BREAKING CHANGES - Many DB Updates - NOT POSSIBLE TO EASILY UPGRADE TO THIS - Completely reworked User Company Access Permssions, started working on Client Role so Clients can access their data and a bunch of other small fixes 2021-12-22 13:08:24 -05:00
johnnyq 100286738e Removed Unnessary DIVs under invoice/quote/recurring notes 2021-11-09 15:17:38 -05:00
johnnyq 592041087c Updated Ticket Details UI using the media Class and to include User avatar for Ticket replies and reducing the padding under ticket content and ticket replies by removing the <p> tag. Moved Edit and Delete for ticket replies to a elipsis using the card-tools class 2021-11-09 14:08:51 -05:00
johnnyq 2e5e1aee52 Phone numbers are all now formatted correctly per their length 2021-09-11 22:41:50 -04:00
johnnyq fa6bb33c7a Fied Contact Email showing under ticket details and Phone Number formatting 2021-08-28 12:54:21 -04:00
johnnyq f3053ffbd4 BREAKING CHANGES: Major Backend Code Changes Updated Foreign keys to prepend their table names ex invoice_client_id, switched most queries over to JOIN instead of = Combined contacts and location into client removed client email, phone etc fields, tons of small bug fixes, and other small UI changes all across the board 2021-08-27 23:14:06 -04:00
johnnyq 6a8283200f Added More red text to delete and cancel dropdown options Some UI Cleanup in ticket details 2021-08-21 01:06:29 -04:00
johnnyq 61710eecf6 Added the Ability to assign a contact from client in tickets 2021-08-21 00:42:06 -04:00
johnnyq 34093b50f9 Initial support for ticket status changes and emailing client ticket updates 2021-08-20 23:37:27 -04:00
johnnyq 5c46e57a21 Added Edit and delete ticket updates funtionality 2021-08-20 23:10:48 -04:00
johnnyq 11a932194a Added Updatd by User to each ticket update 2021-08-20 22:37:01 -04:00
johnnyq 131e04915b Added the ability to assign or unassign tickets 2021-08-20 22:12:29 -04:00
johnnyq 9a4b82eb6f Bump PhpMailer from 6.2.0 to 6.4.0 2021-04-07 20:55:07 -04:00
johnny@pittpc.com fa008d05bc Finished Ticket Number and Ticket Prefix 2021-02-08 21:29:29 -05:00
johnny@pittpc.com 5ee274ae67 Updated ticket status display logic to conform to the ticket priority display logic 2021-01-22 18:35:47 -05:00
johnny@pittpc.com 206c09d100 Added Ticket Status badge colors 2021-01-22 18:30:11 -05:00
johnny@pittpc.com d30481d506 Added Ticket Priority, field ticket_priority added to ticket table, New DB Sructure Dump 2021-01-22 18:06:42 -05:00
johnny@pittpc.com 18c9038955 Fixed edit ticket in ticket details 2021-01-22 17:39:35 -05:00
johnny@pittpc.com d39e2d9bfa updated README to include demo and other changes 2021-01-08 20:44:37 -05:00
johnny@pittpc.com 3f7133dbef Updates to tickets added summernote js to textarea, UI updates WIP 2020-04-05 00:48:30 -04:00
johnny@pittpc.com a28d1d6e57 Added Adavnced Filter to customers and expenses, removed some text-mono, ui updates to ticket details, added quick links to reports under dashboard 2019-12-04 20:58:16 -05:00
johnny@pittpc.com e6e44969aa updated tickets ui, added close buttons on dashboard, other minor ui modifications 2019-11-23 21:34:56 -05:00
johnny@pittpc.com 328ac67d5b Minor UI cleanups started porting selects from bootstrap-select to select2 2019-11-22 20:37:55 -05:00
johnny@pittpc.com 42918e90ae Fix for Auto Recurring Duplicate Invoice Numbers 2019-10-06 14:56:22 -04:00
johnny@pittpc.com f3c1df3e17 Added Created By toticket details 2019-09-30 09:48:35 -04:00
johnny@pittpc.com 5f30dbf9a9 Removed Cancelled and added Viewed to Invoice. Client Links mirror their accompanied tabs in the client portal, minor UI fixes on ticket view, client view of ticket sorted tickets DESC via ticket_id 2019-09-06 16:56:26 -04:00