From 5cb09cee0b2c1ea4e5e5210d90c39061e938bdc9 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Sat, 21 Nov 2026 00:16:26 -0500 Subject: [PATCH] QoL 44: windows that make a record say New and Create and edit windows say Save, list buttons say New Provider, New Model, New Instance and New Item, add-to-record windows keep Add, every field label uses form-label, bare fields get input-group icons, one invoice icon everywhere, the license icon in onboarding, the client delete window rebuilt in the standard layout, and the contact archive button typo fixed --- CHANGELOG.md | 3 ++ admin/ai_models.php | 4 +- admin/ai_providers.php | 4 +- admin/managed_instances.php | 6 +-- admin/modals/ai/ai_model_edit.php | 4 +- admin/modals/ai/ai_provider_edit.php | 4 +- admin/modals/api/api_key_add.php | 8 +-- admin/modals/api/api_key_edit.php | 6 +-- .../canned_response/canned_response_add.php | 2 +- admin/modals/category/category_edit.php | 2 +- .../contract_template_edit.php | 2 +- admin/modals/cron/cron_edit.php | 6 +-- admin/modals/custom_link/custom_link_add.php | 2 +- admin/modals/custom_link/custom_link_edit.php | 2 +- .../document_template_add.php | 2 +- .../managed_instance_form.php | 4 +- admin/modals/office/office.php | 2 +- .../payment_method/payment_method_edit.php | 2 +- .../payment_provider_edit.php | 4 +- .../project_template_ticket_template_add.php | 17 ++++--- admin/modals/rmm/rmm_provider_edit.php | 4 +- admin/modals/role/role_add.php | 2 +- admin/modals/role/role_edit.php | 2 +- admin/modals/role/role_form.php | 4 +- admin/modals/sla/holiday_add.php | 2 +- .../modals/sms_provider/sms_provider_edit.php | 4 +- .../software_template_add.php | 2 +- admin/modals/tag/tag_edit.php | 2 +- .../ticket_status/ticket_status_edit.php | 2 +- .../ticket_template/ticket_template_add.php | 2 +- .../vendor_template/vendor_template_add.php | 2 +- admin/payment_providers.php | 4 +- admin/rmm_providers.php | 4 +- admin/text_messaging.php | 4 +- agent/client_onboarding/it.php | 2 +- agent/dispatch.php | 8 +-- agent/includes/client_side_nav.php | 2 +- agent/includes/inc_recurring_ticket_ahead.php | 4 +- agent/includes/inc_ticket_tasks_section.php | 2 +- agent/includes/side_nav.php | 2 +- agent/income.php | 2 +- agent/js/client_delete_confirm.js | 11 ++-- agent/modals/asset/asset_bulk_add_ticket.php | 10 ++-- .../asset/asset_bulk_assign_contact.php | 2 +- .../asset/asset_bulk_assign_location.php | 2 +- .../asset_bulk_assign_physical_location.php | 2 +- agent/modals/asset/asset_bulk_edit_status.php | 2 +- .../asset/asset_bulk_transfer_client.php | 2 +- agent/modals/asset/asset_export.php | 16 +++--- .../asset/asset_interface_bulk_edit_type.php | 2 +- agent/modals/asset/asset_note_add.php | 2 +- agent/modals/calendar/calendar_event_add.php | 2 +- .../modals/certificate/certificate_export.php | 10 ++-- agent/modals/client/client_add.php | 50 +++++++++++-------- .../modals/client/client_bulk_add_ticket.php | 10 ++-- .../client/client_bulk_edit_industry.php | 2 +- .../client/client_bulk_edit_referral.php | 2 +- agent/modals/client/client_credit_add.php | 12 ++--- agent/modals/client/client_delete.php | 39 ++++++++------- agent/modals/client/client_edit.php | 14 +++--- agent/modals/client/client_export.php | 16 +++--- agent/modals/client/client_export_data.php | 4 +- agent/modals/client/client_statement.php | 4 +- agent/modals/client/client_tax_fields.php | 6 +-- agent/modals/contact/contact_archive.php | 4 +- .../contact/contact_bulk_assign_location.php | 2 +- .../contact/contact_bulk_edit_department.php | 2 +- .../contact/contact_bulk_edit_phone.php | 2 +- agent/modals/contact/contact_export.php | 10 ++-- agent/modals/contact/contact_note_add.php | 2 +- agent/modals/contract/contract_edit.php | 2 +- agent/modals/credential/credential_export.php | 8 +-- agent/modals/domain/domain_export.php | 10 ++-- agent/modals/expense/expense_add.php | 2 +- agent/modals/expense/expense_copy.php | 2 +- agent/modals/invoice/invoice_export.php | 10 ++-- agent/modals/kb/kb_article_add.php | 2 +- agent/modals/location/location_export.php | 8 +-- agent/modals/network/network_export.php | 10 ++-- agent/modals/payment/invoice_apply_credit.php | 2 +- agent/modals/payment/payment.php | 2 +- agent/modals/product/product_add.php | 2 +- agent/modals/product/product_export.php | 10 ++-- .../modals/project/project_apply_template.php | 21 ++++---- agent/modals/purchasing/order_item.php | 4 +- agent/modals/purchasing/po_new.php | 2 +- agent/modals/quote/quote_export.php | 8 +-- agent/modals/quote/quote_to_invoice.php | 2 +- .../recurring_expense_add.php | 2 +- .../recurring_invoice_export.php | 10 ++-- .../recurring_ticket/recurring_ticket_add.php | 22 ++++---- .../recurring_ticket_bulk_agent_edit.php | 2 +- .../recurring_ticket_bulk_category_edit.php | 2 +- .../recurring_ticket_bulk_next_run_edit.php | 2 +- .../recurring_ticket_bulk_priority_edit.php | 2 +- .../recurring_ticket_edit.php | 20 ++++---- agent/modals/revenue/revenue_add.php | 2 +- agent/modals/revenue/revenue_copy.php | 2 +- agent/modals/software/software_export.php | 14 +++--- agent/modals/ticket/ticket_add.php | 36 ++++++------- agent/modals/ticket/ticket_add_watcher.php | 2 +- .../modals/ticket/ticket_bulk_add_project.php | 2 +- agent/modals/ticket/ticket_bulk_assign.php | 2 +- .../ticket/ticket_bulk_edit_category.php | 2 +- .../ticket/ticket_bulk_edit_priority.php | 2 +- agent/modals/ticket/ticket_bulk_merge.php | 4 +- agent/modals/ticket/ticket_bulk_reply.php | 2 +- agent/modals/ticket/ticket_bulk_resolve.php | 2 +- agent/modals/ticket/ticket_change_client.php | 4 +- agent/modals/ticket/ticket_contact.php | 2 +- agent/modals/ticket/ticket_edit.php | 26 +++++----- agent/modals/ticket/ticket_edit_asset.php | 4 +- agent/modals/ticket/ticket_edit_project.php | 2 +- agent/modals/ticket/ticket_edit_schedule.php | 8 +-- agent/modals/ticket/ticket_edit_vendor.php | 4 +- agent/modals/ticket/ticket_export.php | 20 ++++---- agent/modals/ticket/ticket_helper.php | 6 +-- agent/modals/ticket/ticket_invoice_add.php | 2 +- agent/modals/ticket/ticket_merge.php | 4 +- agent/modals/ticket/ticket_quick.php | 12 ++--- agent/modals/ticket/ticket_quote_add.php | 18 +++---- agent/modals/ticket/ticket_reply_edit.php | 4 +- agent/modals/ticket/ticket_reply_split.php | 6 +-- agent/modals/ticket/ticket_sla.php | 2 +- .../ticket/ticket_task_approver_add.php | 6 +-- agent/modals/ticket/ticket_task_edit.php | 4 +- agent/modals/trip/trip_add.php | 2 +- agent/modals/trip/trip_copy.php | 2 +- agent/modals/vendor/vendor_export.php | 8 +-- agent/reports/client_review.php | 2 +- agent/ticket.php | 6 +-- agent/to_order.php | 4 +- agent/unbilled_time.php | 4 +- agent/user/modals/canned_response_add.php | 2 +- functions/app_log.php | 2 +- functions/audit_log.php | 2 +- functions/roles.php | 2 +- functions/settings.php | 2 +- 138 files changed, 410 insertions(+), 395 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0958afccb..7f5e36acc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -218,6 +218,7 @@ Update from Maintenance > Update — Queue Update hands the job to cron, which u - Browser autofill: Chrome, Edge and other Chromium browsers no longer offer your own name, email, phone or address in forms about clients - a new client's contact, a contact, a location - and Bitwarden, 1Password, LastPass and Dashlane no longer offer your ITFlow login in a credential's username and password, or anywhere else you type someone else's details or secrets, nor ask to save them. Your own profile, password change and two-step sign-in still work with your password manager. - Tickets: the first technician to reply to a ticket nobody is assigned to - with a public note, an email reply or a text reply - is assigned it, as Assign to me would, and the message after sending says so. An internal note doesn't assign it, so a ticket can be looked into, or someone @mentioned on it, without taking it, and a ticket already assigned keeps its technician. Admin > Settings > Tickets > Assigning switches it off - for a shop where someone answers new tickets before handing them on. - Dates: every date reads one way - Nov 13, 2026, with times as 2:30 PM and the day of the week as Fri, Nov 13 where it shows. The invoice, quote, recurring invoice, expense, income, trip and transaction lists and pages, an asset's and a license's dates, certificates, domains, invoice and quote PDFs, statements and the guest invoice and quote pages showed 2026-11-13; some times read 2:30pm or 14:30, and some emails put the day first, 13 Nov. Pointing at a "3 days ago" shows the date and time the same way. Date fields, exports and file names keep 2026-11-13. +- Windows and buttons: a window that makes something new is called New ... and its button says Create, and an edit window's button says Save - they said Add, Add Income, Add Expense, Log Trip, Set Up, Make Draft, Create Client, Save changes and the like. On list pages the button that opens it says New, as New Provider, New Model, New Instance and New Item had said Add. A window that adds to the record it's on - Add Tickets on an invoice, Add keys on a license - still says Add. Field labels sit the same distance above their fields in every window, the extensions on a new client, applying a project template and adding ticket templates to one have their icon in front like every other field, invoices have one icon everywhere, and deleting a client is a normal window with Delete at the bottom, turned on once the client's name is typed. ### Bug Fixes @@ -274,6 +275,7 @@ Update from Maintenance > Update — Queue Update hands the job to cron, which u - Tickets: the tickets list and board showed how long ago a ticket's SLA was due, in grey, until cron next marked it breached, and showed the time left on one that had already missed its first response. A ticket past its deadline or that missed a target now says Breached, as the SLA breached view counts it. - Dashboard: in Open and assigned to you, the SLA, status and last activity didn't line up from one ticket to the next - each row moved them by the width of its own status or time, and by whether it had an SLA. They now sit in columns down the card. - Messages: archiving, restoring, deleting, favoriting or setting the category of several contacts, clients, assets or products said contact(s), client(s) and so on, an import of network IPs said IP(s), and the message after restoring clients started "You restored". They now say 1 contact, 3 contacts, with the number in bold, like the rest. +- Contacts: the button in the archive window read Arhive. ### Developer Updates @@ -435,6 +437,7 @@ Update from Maintenance > Update — Queue Update hands the job to cron, which u - Messages: a note added to an asset or a contact sets its message with `flashAlert()`, its names escaped, rather than writing `$_SESSION['alert_message']` itself; the `archive_ticket_reply` and `archive_account` handlers offer Undo through `undoArchivedBefore()` / `undoOfferArchived()`; and the SLA list no longer builds the archive prompt's text. - Pickers: the 78 plain `` to the picker, so one set narrow inside an input group stays narrow. Every select in a window is the picker now - new ones should be too. - Money: the 51 places that called `numfmt_format_currency($currency_format, ...)` themselves - client and vendor lists and pages, payment and credit messages, the client portal's home, the guest card payment page, and the report, dashboard and search helpers - call `billingMoney($amount, $currency)`, the one formatter. Left as they are: `billingMoney()` itself, `reportMoneyWhole()` (whole amounts), the trip rate (more decimals) and the localization settings' sample. +- Windows: submit buttons say Create on new-record windows and Save on edit windows; Add stays where a window adds existing things to the record it names. Every field `