diff --git a/CHANGELOG.md b/CHANGELOG.md index ea03a586a..d42b14349 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -188,7 +188,7 @@ Update from Maintenance > Update — Queue Update hands the job to cron, which u - Projects: a project has a Timeline - its booked tickets as bars in time, from its start to its due date, with now marked. A booking that is past and still open shows in amber, and two of the same agent's at the same time are flagged. Its open tickets with no booking are listed under it, with Book. - Pickers: long lists of clients, contacts, vendors, categories, locations, assets, technicians, projects, accounts and products start with the last five you picked in a field like it, under Recent, above All. Typing searches everything as before. - Archived: Tools > Archived lists what was archived lately - clients, contacts, locations, vendors, assets, credentials, documents, files, domains, certificates, networks, racks, services, licenses, projects and products - newest first, with who archived each one, to restore one or several at once. The last 30 days to start with, or pick another time, a kind or a client. -- Undo: archiving no longer asks "Are you sure?" - the message that says it's done has Undo instead, as do moves and changes to several records at once. The message stays up for ten seconds, or as long as the pointer is on it, and only its x closes it - set apart from Undo, so a click that just misses Undo doesn't lose it. Undo covers archiving one or several of every kind Archived lists, bringing back what archiving took with it - a contact's roles, a document's links, a client's recurring invoices; moving files, documents and folders, dragged or with Move; dragging kit on a rack; and the bulk changes to a ticket's priority, category or project, an asset's location, physical location, contact or status, a contact's location, department, phone number or roles, a client's industry or referral, a project's manager or due date, an invoice's or product's category, and an IP address's type. In Admin, Undo is on archiving tags and categories (one or several), canned responses, ticket, project, document, vendor, license and contract templates, roles, payment methods (a default it stopped being comes back with it), SLAs, custom links, portal announcements and banners, on archiving a tax, and on switching off a ticket status - those last two when nothing was moved to another. A payment method is archived without asking first now. In Admin, as everywhere else, the message after archiving, removing, unlinking or cancelling something is red and the one after restoring it or Undo is green. Undo works once and only for whoever made the change, and leaves anything changed again since as it is, saying how many. Archiving a client still asks first, and has no Undo when it withdrew a contract out for signing. +- Undo: archiving no longer asks "Are you sure?" - the message that says it's done has Undo instead, as do moves and changes to several records at once. The message stays up for ten seconds, or as long as the pointer is on it, and only its x closes it - set apart from Undo, so a click that just misses Undo doesn't lose it. Undo covers archiving one or several of every kind Archived lists, bringing back what archiving took with it - a contact's roles, a document's links, a client's recurring invoices; moving files, documents and folders, dragged or with Move; dragging kit on a rack; and the bulk changes to a ticket's priority, category or project, an asset's location, physical location, contact or status, a contact's location, department, phone number or roles, a client's industry or referral, a project's manager or due date, an invoice's or product's category, and an IP address's type. In Admin, Undo is on archiving tags and categories (one or several), canned responses, ticket, project, document, vendor, license and contract templates, roles, payment methods (a default it stopped being comes back with it), SLAs, custom links, portal announcements and banners, on archiving a tax, and on switching off a ticket status - those last two when nothing was moved to another. A payment method is archived without asking first now. In Admin, as everywhere else, the message after archiving, removing, unlinking or cancelling something is red and the one after restoring it or Undo is green. Undo works once and only for whoever made the change, and leaves anything changed again since as it is, saying how many. Archiving a client still asks first, and has no Undo when it withdrew a contract out for signing. Archiving a client (one or several), a ticket reply, an account or an SLA, and restoring anything archived, no longer asks first either - the ticket reply and the account have Undo too. - Client portal: one Search box in the top bar looks through the client's tickets - their subject, number and what was said on them - the documents you share with them and your Help articles at once, the first eight of each with See all. Nothing found offers Ask us, and a search with no Help article goes on the Knowledge Base's Not found list. - Client portal: a ticket says when to expect your first reply - We'll reply by and the time, from its SLA - until you reply, while it isn't on hold and the time is still ahead. New ticket says how soon you reply to each priority, beside the priority and under What happens next. Without SLAs nothing is promised. - Users: Invite several, beside New User, invites a list of people at once with one role (and office, and whether two-step sign-in is required) - one per line, as a name and email or just the email. Each gets their own invite email; anyone who already has an account is skipped and named. It needs email set up. @@ -217,6 +217,7 @@ Update from Maintenance > Update — Queue Update hands the job to cron, which u - Sign-in codes: the 6-digit code - signing in with two-step sign-in, setting it up (yours, or a contact's in the client portal), and the code emailed for a shared link - goes in six boxes, three and three. Paste or let your phone or password manager fill it, "123 456" too, and it goes as soon as the sixth digit is in - no need to click the button. A wrong code turns the boxes red. On the sign-in page Remember this browser now comes before the code, so tick it first. - 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. ### Bug Fixes @@ -272,6 +273,7 @@ Update from Maintenance > Update — Queue Update hands the job to cron, which u - Windows: opening one put a focus ring round its X in the corner. Focus now goes to the window itself. - 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. ### Developer Updates @@ -429,6 +431,8 @@ Update from Maintenance > Update — Queue Update hands the job to cron, which u - Code boxes: `otpCodeInput()` in `functions/user.php` draws a 6-digit code field (options: id, label, class, autofocus, submit, invalid) and `js/otp_input.js` (loaded by `includes/footer.php`, `client/includes/footer.php`, `login.php`, `agent/user/mfa_enforcement.php` and `guest/share.php`) lays the one see-through input over six `.itflow-otp-slot` boxes - typing, paste and autofill go to the input, the boxes only show it. Non-digits are stripped (a pasted "123 456" fills them all), the caret stays at the end, a value set from script redraws them (the input's own `value` property), and the `is-invalid` class on the input turns them red until the next digit. `data-otp-submit` sends the form with `requestSubmit()` and its first submit button once the sixth digit is in; `window.itflowOtp(input)` does one added later. One with `autofocus` is focused (without scrolling) when its modal opens (`shown.bs.modal`), and on load when the browser skipped it - a page opened at a `#fragment`. `login.php` (agent and client steps), `agent/user/includes/mfa_setup.php`, `client/profile.php` and `guest/share.php` use it; `.itflow-mfa-code` is gone. - Autofill: `js/autofill_off.js` (loaded by `includes/footer.php` on agent and admin pages, not the guest portal) gives every input, textarea and select whose autocomplete is missing, `off` or `new-password` an unrecognised `autocomplete="itflow-none"` (Chromium offers no autofill or past entries for one, where it ignores `off` for names and addresses) - `new-password` on password fields, so the saved ITFlow login isn't offered - plus `data-1p-ignore`, `data-lpignore`, `data-bwignore` and `data-form-type="other"`, and marks it `data-autofill-off`. Fields added later are done by a `MutationObserver`, which also puts it back when a script sets `autocomplete="off"` again (`js/autocomplete.js`). Left alone: `current-password`, `username`, `one-time-code`, any other real autofill value, and anything inside `[data-autofill]` - `#profileForm` and `#passwordForm` in Your account. - First reply assigns: database 4.0.9 adds `settings.config_ticket_reply_assigns` (on to start with), read by `ticketReplyAssigns()` in `functions/ticket_fields.php` (on before the update). In `add_ticket_reply` (`agent/post/ticket.php`), a Public reply on a ticket with `ticket_assigned_to = 0` calls `ticketChangeAssignee($ticket_id, $session_user_id)` after the first response is set - so moving New to Open sends no "ticket assigned" message - with its internal note, history, audit and `ticket_assign` custom action. Bulk replies, AI notes and the no-response resolve leave the assignee alone. +- Dates: `formatDate()`, `formatDateTime()` (with `$seconds` for logs), `formatTime()` and `formatDay()` in `functions/format.php` show a stored date or time (or a timestamp) as `M j, Y`, `M j, Y g:i A`, `g:i A` and `D, M j, Y`, and give '' for nothing or a zero date. Raw `Y-m-d` values printed on pages, windows, `includes/billing_paper.php`, `functions/billing_pdf.php` and the guest pages now go through them, as do the `title` hovers beside `timeAgo()`; `billingEmailDate()` calls `formatDate()`; the odd `date()` formats (`g:ia`, `M d, Y • g:i A`, `D j M`, `F j, Y`, `m/d/Y`, `M y` and the like) are the standard ones; `$config_date_format` is `M j, Y`; and the scripts' `toLocale*String()` calls pass `en-US` so they match. New code uses the helpers. +- 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. ## [26.11.8] diff --git a/admin/ai_usage.php b/admin/ai_usage.php index 6d25a213c..cfe7f1a70 100644 --- a/admin/ai_usage.php +++ b/admin/ai_usage.php @@ -220,7 +220,7 @@ $ms_text = function ($ms) { $feature = (string) $row['ai_usage_feature']; ?>
| Agent | '; days.forEach(function (d) { - html += '' + esc(d.toLocaleDateString(undefined, {weekday: 'short', month: 'short', day: 'numeric'})) + ' | '; + html += '' + esc(d.toLocaleDateString('en-US', {weekday: 'short', month: 'short', day: 'numeric'})) + ' | '; }); html += '= $category_html ?> | = kbAudienceBadge($row, $audiences[$kb_article_id]) ?> |
- = timeAgo($updated_at) ?>
+ = timeAgo($updated_at) ?>
= escapeHtml($row['updated_by_name']) ?>
|
diff --git a/agent/kb_article.php b/agent/kb_article.php
index 09f8e6fe9..cacb86d3e 100644
--- a/agent/kb_article.php
+++ b/agent/kb_article.php
@@ -95,7 +95,7 @@ $page_title = $row['kb_article_title'];
= $tags_display ?>
- Updated = timeAgo($updated_at) ?>= $updated_by !== '' ? " by $updated_by" : '' ?>
+ Updated = timeAgo($updated_at) ?>= $updated_by !== '' ? " by $updated_by" : '' ?>
· Written = date('M j, Y', strtotime($row['kb_article_created_at'])) ?>= $row['created_by_name'] !== null ? ' by ' . escapeHtml($row['created_by_name']) : '' ?>
· = count($versions) ?> earlier version= count($versions) === 1 ? '' : 's' ?>
@@ -274,7 +274,7 @@ $page_title = $row['kb_article_title'];
Archived = timeAgo($row['kb_article_archived_at']) ?>
- Published = date('M j, Y', strtotime($row['kb_article_published_at'])) ?>
+ Published = date('M j, Y', strtotime($row['kb_article_published_at'])) ?>
A draft - not finished
@@ -349,7 +349,7 @@ $page_title = $row['kb_article_title'];
= $comment !== '' ? nl2br(escapeHtml($comment)) : "Said it didn't help" ?>
- = $who ?> · = timeAgo($answer['kb_article_feedback_created_at']) ?>
+ = $who ?> · = timeAgo($answer['kb_article_feedback_created_at']) ?>
· dealt with= $answer['dealt_by_name'] !== null ? ' by ' . escapeHtml($answer['dealt_by_name']) : '' ?>
-
- = date('M j, Y g:ia', strtotime($version['kb_article_version_created_at'])) ?>
+
+ = date('M j, Y g:i A', strtotime($version['kb_article_version_created_at'])) ?>
diff --git a/agent/location.php b/agent/location.php
index 814cd944c..09bf61f58 100644
--- a/agent/location.php
+++ b/agent/location.php
@@ -320,7 +320,7 @@ if (!$location || ($client_url && intval($location['location_client_id']) !== in
= escapeHtml($version['user_name'] ?: 'Unknown') ?>
diff --git a/agent/license.php b/agent/license.php
index 61ac41d20..704b863ed 100644
--- a/agent/license.php
+++ b/agent/license.php
@@ -243,7 +243,7 @@ if (!$license || ($client_url && intval($license['software_client_id']) !== intv
= escapeHtml($renewal['text']) ?>
No date
@@ -251,13 +251,13 @@ if (!$license || ($client_url && intval($license['software_client_id']) !== intv
= $software_purchase_age ?> ago = $software_purchase_age ?> ago = nl2br(escapeHtml($row['asset_note'])) ?>
- = escapeHtml($row['user_name']) ?> · = timeAgo($row['asset_note_created_at']) ?>
+ = escapeHtml($row['user_name']) ?> · = timeAgo($row['asset_note_created_at']) ?>
= timeAgo($row['asset_history_created_at']) ?> · = escapeHtml($row['asset_history_created_at']) ?>
+ = timeAgo($row['asset_history_created_at']) ?> · = formatDateTime($row['asset_history_created_at']) ?>
diff --git a/agent/modals/certificate/certificate.php b/agent/modals/certificate/certificate.php
index 3cde74b68..aefba5058 100644
--- a/agent/modals/certificate/certificate.php
+++ b/agent/modals/certificate/certificate.php
@@ -108,7 +108,7 @@ ob_start();
= nl2br(escapeHtml($row['contact_note'])) ?>
- = escapeHtml($row['user_name']) ?> · = timeAgo($row['contact_note_created_at']) ?>
+ = escapeHtml($row['user_name']) ?> · = timeAgo($row['contact_note_created_at']) ?>
= credentialAgePill($age) ?>
- Last looked at by = escapeHtml($last_viewed['user_name'] ?: 'someone') ?>, = timeAgo($last_viewed['log_created_at']) ?>
+ Last looked at by = escapeHtml($last_viewed['user_name'] ?: 'someone') ?>, = timeAgo($last_viewed['log_created_at']) ?>
= tagPills('credential', $credential_id, $tags, "credentials.php?client_id=$client_id&", false) ?>
@@ -189,7 +189,7 @@ ob_start();
$old_to = date('Y-m-d', strtotime($old['password_history_replaced_at'])); ?>
What changed in = escapeHtml($document['document_name']) ?>
- = $version_id ? 'The version' : 'Now - the edit' ?> of = date('M j, Y g:ia', strtotime($after['at'])) ?>= $after['user_name'] ? ' by ' . escapeHtml($after['user_name']) : '' ?>,
- = $before ? 'against the one before it, ' . date('M j, Y g:ia', strtotime($before['at'])) : 'the first' ?>
+ = $version_id ? 'The version' : 'Now - the edit' ?> of = date('M j, Y g:i A', strtotime($after['at'])) ?>= $after['user_name'] ? ' by ' . escapeHtml($after['user_name']) : '' ?>,
+ = $before ? 'against the one before it, ' . date('M j, Y g:i A', strtotime($before['at'])) : 'the first' ?>
= escapeHtml($row['document_version_name']) ?>
- Version of = date('M j, Y g:ia', strtotime($row['document_version_created_at'])) ?>= $row['user_name'] ? ' by ' . escapeHtml($row['user_name']) : '' ?>
+ Version of = date('M j, Y g:i A', strtotime($row['document_version_created_at'])) ?>= $row['user_name'] ? ' by ' . escapeHtml($row['user_name']) : '' ?>
· = escapeHtml($row['document_version_description']) ?>
- = timeAgo($row['expense_created_at']) ?> by = escapeHtml($row['created_by_name']) ?>
+ = timeAgo($row['expense_created_at']) ?> by = escapeHtml($row['created_by_name']) ?>
= reconcileGlanceHtml($cleared) ?>
@@ -235,7 +235,7 @@ ob_start();
= escapeHtml(billingMoney($row['refunded_amount'], $currency)) ?> back
·
- $refund) { ?>= $i ? ', ' : '' ?>= escapeHtml($refund['expense_date']) ?>
+ $refund) { ?>= $i ? ', ' : '' ?>= formatDate($refund['expense_date']) ?>
diff --git a/agent/modals/expense/expense_reimbursement.php b/agent/modals/expense/expense_reimbursement.php
index 7b3dd33b2..10844aa2b 100644
--- a/agent/modals/expense/expense_reimbursement.php
+++ b/agent/modals/expense/expense_reimbursement.php
@@ -55,7 +55,7 @@ ob_start();
- = timeAgo($row['reimbursement_created_at']) ?> by = escapeHtml($row['created_by_name']) ?>
+ = timeAgo($row['reimbursement_created_at']) ?> by = escapeHtml($row['created_by_name']) ?>
= reconcileGlanceHtml($cleared) ?>
- = escapeHtml($expense['expense_date']) ?>= escapeHtml($expense['vendor_name'] ?: 'Expense') ?>= trim((string) $expense['expense_description']) !== '' ? ' - ' . escapeHtml(truncate(strtok((string) $expense['expense_description'], "\n"), 50)) : '' ?>
+ = formatDate($expense['expense_date']) ?>= escapeHtml($expense['vendor_name'] ?: 'Expense') ?>= trim((string) $expense['expense_description']) !== '' ? ' - ' . escapeHtml(truncate(strtok((string) $expense['expense_description'], "\n"), 50)) : '' ?>
= escapeHtml(billingMoney($expense['expense_amount'], $expense['expense_currency_code'])) ?>
diff --git a/agent/modals/file/file.php b/agent/modals/file/file.php
index 3d53b028f..6ef1d82ab 100644
--- a/agent/modals/file/file.php
+++ b/agent/modals/file/file.php
@@ -98,7 +98,7 @@ ob_start();
- = timeAgo($row['file_created_at']) ?> by = escapeHtml($row['user_name']) ?>
+ = timeAgo($row['file_created_at']) ?> by = escapeHtml($row['user_name']) ?>
diff --git a/agent/modals/invoice/invoice_add_expenses.php b/agent/modals/invoice/invoice_add_expenses.php
index 0a1161d5b..7ba177cab 100644
--- a/agent/modals/invoice/invoice_add_expenses.php
+++ b/agent/modals/invoice/invoice_add_expenses.php
@@ -54,7 +54,7 @@ ob_start();
diff --git a/agent/modals/invoice/invoice_add_ticket.php b/agent/modals/invoice/invoice_add_ticket.php
index b3cb8988d..da919c3c5 100644
--- a/agent/modals/invoice/invoice_add_ticket.php
+++ b/agent/modals/invoice/invoice_add_ticket.php
@@ -55,7 +55,7 @@ ob_start();
= escapeHtml($ticket['ticket_prefix'] . $ticket['ticket_number']) ?>= escapeHtml($ticket['ticket_subject']) ?>
= $ticket['seconds'] ? billingDuration($ticket['seconds']) . ' logged' : 'No time logged' ?>
- · done = escapeHtml(date('Y-m-d', strtotime((string) ($ticket['ticket_resolved_at'] ?: $ticket['ticket_closed_at'])))) ?>
+ · done = escapeHtml(date('M j, Y', strtotime((string) ($ticket['ticket_resolved_at'] ?: $ticket['ticket_closed_at'])))) ?>
= $ticket['prepaid'] > 0 ? '· less ' . escapeHtml(contractHoursText($ticket['prepaid'])) . ' prepaid' : '' ?>
· = in_array($ticket['rate_source'], ['after_hours', 'default_after_hours'], true) ? '' : '' ?>= escapeHtml(billingMoney($ticket['rate'], $currency)) ?>/hr
diff --git a/agent/modals/invoice/invoice_add_trips.php b/agent/modals/invoice/invoice_add_trips.php
index 8b9584431..04fe0434e 100644
--- a/agent/modals/invoice/invoice_add_trips.php
+++ b/agent/modals/invoice/invoice_add_trips.php
@@ -54,7 +54,7 @@ ob_start();
-
diff --git a/agent/modals/invoice/invoice_assets.php b/agent/modals/invoice/invoice_assets.php
index 86d72b86f..8f2bc0bbb 100644
--- a/agent/modals/invoice/invoice_assets.php
+++ b/agent/modals/invoice/invoice_assets.php
@@ -74,7 +74,7 @@ ob_start();
diff --git a/agent/modals/invoice/invoice_payments.php b/agent/modals/invoice/invoice_payments.php
index 41bb47b5e..cc015e7a8 100644
--- a/agent/modals/invoice/invoice_payments.php
+++ b/agent/modals/invoice/invoice_payments.php
@@ -56,7 +56,7 @@ ob_start();
- Each one goes on = escapeHtml($invoice['client_name']) ?>'s assets, bought = escapeHtml($invoice_date) ?> on = escapeHtml($number) ?>. + Each one goes on = escapeHtml($invoice['client_name']) ?>'s assets, bought = formatDate($invoice_date) ?> on = escapeHtml($number) ?>. Take a row out to leave it for later. diff --git a/agent/modals/invoice/invoice_email.php b/agent/modals/invoice/invoice_email.php index 0f7cf2596..208662a24 100644 --- a/agent/modals/invoice/invoice_email.php +++ b/agent/modals/invoice/invoice_email.php @@ -116,7 +116,7 @@ ob_start();= escapeHtml(billingMoney($doc_state['balance'] > 0 ? $doc_state['balance'] : $doc['invoice_amount'], $doc['invoice_currency_code'])) ?>
- = $doc_state['balance'] > 0 ? 'due ' . escapeHtml($doc['invoice_due']) : 'total' ?>
+ = $doc_state['balance'] > 0 ? 'due ' . formatDate($doc['invoice_due']) : 'total' ?>
= escapeHtml(billingMoney($payment['payment_amount'], $payment['payment_currency_code'])) ?>
= escapeHtml(implode(' · ', array_filter([$payment['payment_method'], $payment['payment_reference'], $payment['account_name']]))) ?>
= escapeHtml($payment['payment_date']) ?>
+ = formatDate($payment['payment_date']) ?>
diff --git a/agent/modals/invoice/invoice_recurring_add.php b/agent/modals/invoice/invoice_recurring_add.php
index 5bc245b44..794deadc7 100644
--- a/agent/modals/invoice/invoice_recurring_add.php
+++ b/agent/modals/invoice/invoice_recurring_add.php
@@ -34,7 +34,7 @@ ob_start();
- Bill = escapeHtml($doc['client_name']) ?> for the same = $lines ?> line= $lines === 1 ? '' : 's' ?> - = escapeHtml(billingMoney(floatval($doc['invoice_amount']) - $card_fees, $doc['invoice_currency_code'])) ?> - again and again= $card_fees > 0 ? ', without the card fee it was paid with' : '' ?>. The first one is made a period after = escapeHtml($doc_number) ?>'s date, = escapeHtml($doc['invoice_date']) ?>; change that and the lines on the recurring invoice after. +Bill = escapeHtml($doc['client_name']) ?> for the same = $lines ?> line= $lines === 1 ? '' : 's' ?> - = escapeHtml(billingMoney(floatval($doc['invoice_amount']) - $card_fees, $doc['invoice_currency_code'])) ?> - again and again= $card_fees > 0 ? ', without the card fee it was paid with' : '' ?>. The first one is made a period after = escapeHtml($doc_number) ?>'s date, = formatDate($doc['invoice_date']) ?>; change that and the lines on the recurring invoice after.
diff --git a/agent/modals/kb/kb_article_version.php b/agent/modals/kb/kb_article_version.php
index 39f619a3f..aaadaff7f 100644
--- a/agent/modals/kb/kb_article_version.php
+++ b/agent/modals/kb/kb_article_version.php
@@ -38,7 +38,7 @@ ob_start();
= escapeHtml($row['kb_article_version_title']) ?>
- Version of = date('M j, Y g:ia', strtotime($row['kb_article_version_created_at'])) ?>= $row['user_name'] ? ' by ' . escapeHtml($row['user_name']) : '' ?>
+ Version of = date('M j, Y g:i A', strtotime($row['kb_article_version_created_at'])) ?>= $row['user_name'] ? ' by ' . escapeHtml($row['user_name']) : '' ?>
· = escapeHtml($row['kb_article_version_summary']) ?>
|
= $miss['searches'] ?> | -= timeAgo($miss['last_at']) ?> | += timeAgo($miss['last_at']) ?> |
= escapeHtml($row['invoice_scope']) ?>
- Dated = escapeHtml($row['invoice_date']) ?>, due = escapeHtml($row['invoice_due']) ?>
+ Dated = formatDate($row['invoice_date']) ?>, due = formatDate($row['invoice_due']) ?>
Invoice = $money($row['invoice_amount'], $row['invoice_currency_code']) ?>
@@ -94,7 +94,7 @@ ob_start();
The other payment= count($row['others']) === 1 ? '' : 's' ?> on it
- = escapeHtml($other['payment_date']) ?>= $other['payment_method'] ? ' - ' . escapeHtml($other['payment_method']) : '' ?>
+ = formatDate($other['payment_date']) ?>= $other['payment_method'] ? ' - ' . escapeHtml($other['payment_method']) : '' ?>
= $money($other['payment_amount'], $other['payment_currency_code'] ?: $row['invoice_currency_code']) ?>
@@ -126,7 +126,7 @@ ob_start();
- = timeAgo($row['payment_created_at']) ?> from a bank statement
+ = timeAgo($row['payment_created_at']) ?> from a bank statement
= transferDepositedGlanceHtml($deposited) ?>
= reconcileGlanceHtml($cleared) ?>
diff --git a/agent/modals/payment/payment_add.php b/agent/modals/payment/payment_add.php
index 5b541ab78..bfce23cb5 100644
--- a/agent/modals/payment/payment_add.php
+++ b/agent/modals/payment/payment_add.php
@@ -68,7 +68,7 @@ ob_start();
= billingTile('invoice') ?>
= escapeHtml(billingNumber('invoice', $invoice)) ?>= trim((string) $invoice['invoice_scope']) !== '' ? ' - ' . escapeHtml($invoice['invoice_scope']) : '' ?>
- = invoiceDuePill($state) ?: 'Due ' . escapeHtml($invoice['invoice_due']) . '' ?>
+ = invoiceDuePill($state) ?: 'Due ' . formatDate($invoice['invoice_due']) . '' ?>
= escapeHtml(billingMoney($state['balance'], $invoice['invoice_currency_code'])) ?>
diff --git a/agent/modals/project/project.php b/agent/modals/project/project.php
index 3522acd04..5d8fb20b6 100644
--- a/agent/modals/project/project.php
+++ b/agent/modals/project/project.php
@@ -75,11 +75,11 @@ ob_start();
- = escapeHtml(quoteAmountText(quoteGroups($doc), $doc['quote_currency_code'])) ?>
- valid until = escapeHtml($doc['quote_expire']) ?>
+ valid until = formatDate($doc['quote_expire']) ?>
- = escapeHtml($expense['expense_date']) ?>
+ = formatDate($expense['expense_date']) ?>
= escapeHtml(billingMoney($expense['expense_amount'], $expense['expense_currency_code'])) ?>
diff --git a/agent/modals/revenue/revenue.php b/agent/modals/revenue/revenue.php
index e3b2402f3..ba26bab05 100644
--- a/agent/modals/revenue/revenue.php
+++ b/agent/modals/revenue/revenue.php
@@ -77,7 +77,7 @@ ob_start();
- = timeAgo($row['revenue_created_at']) ?> by = escapeHtml($row['created_by_name']) ?> from a bank statement
+ = timeAgo($row['revenue_created_at']) ?> by = escapeHtml($row['created_by_name']) ?> from a bank statement
= transferDepositedGlanceHtml($deposited) ?>
= reconcileGlanceHtml($cleared) ?>
diff --git a/agent/modals/revenue/revenue_edit.php b/agent/modals/revenue/revenue_edit.php
index 3878d2c45..0fff065c5 100644
--- a/agent/modals/revenue/revenue_edit.php
+++ b/agent/modals/revenue/revenue_edit.php
@@ -16,7 +16,7 @@ ob_start();
?>
-
Edit Income = escapeHtml($form_row['revenue_date']) ?>+Edit Income = formatDate($form_row['revenue_date']) ?> |
@@ -457,7 +457,7 @@ if (!$product) {
|||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| = escapeHtml($row['quote_prefix'] . $row['quote_number']) ?> | = escapeHtml($row['client_name']) ?> | -= escapeHtml($row['quote_date']) ?> | += formatDate($row['quote_date']) ?> | = escapeHtml(billingQuantity($row['qty'])) ?> | = escapeHtml(billingMoney($row['amount'], $row['quote_currency_code'])) ?>= $row['frequency'] ? ' a ' . escapeHtml(recurringInvoicePeriodWord($row['frequency'])) . ' ' : '' ?> |
= quoteStatusBadge($row) ?> | @@ -484,7 +484,7 @@ if (!$product) {|||||||||||||||||||||||||
| = escapeHtml($row['invoice_prefix'] . $row['invoice_number']) ?> | = escapeHtml($row['client_name']) ?> | -= escapeHtml($row['invoice_date']) ?> | += formatDate($row['invoice_date']) ?> | = escapeHtml(billingQuantity($row['item_quantity'])) ?> | = escapeHtml(billingMoney($row['item_price'], $row['invoice_currency_code'])) ?> | = escapeHtml(billingMoney($row['item_subtotal'], $row['invoice_currency_code'])) ?> | @@ -537,9 +537,9 @@ if (!$product) {
= escapeHtml($row['invoice_prefix'] . $row['invoice_number']) ?>
- = escapeHtml($row['invoice_date']) ?>
+ = formatDate($row['invoice_date']) ?>
- = $row['asset_purchase_date'] ? escapeHtml($row['asset_purchase_date']) : '-' ?>
+ = $row['asset_purchase_date'] ? formatDate($row['asset_purchase_date']) : '-' ?>
|
||||||||||||||||||||||||
| = escapeHtml(date('M j, Y', strtotime($move['stock_created_at']))) ?> | += escapeHtml(date('M j, Y', strtotime($move['stock_created_at']))) ?> | = $move_type['label'] ?> | = escapeHtml(productStockQty($qty)) ?> | = escapeHtml(billingQuantity($move['balance'])) ?> | @@ -618,7 +618,7 @@ if (!$product) { $price_moved = round($price_new - $price_old, 2); $cost_moved = round(floatval($price_row['price_cost_new']) - floatval($price_row['price_cost_old']), 2); ?>|||||||||||||||||||||||||||
| = escapeHtml(date('M j, Y', strtotime($price_row['price_created_at']))) ?> | += escapeHtml(date('M j, Y', strtotime($price_row['price_created_at']))) ?> |
= $money($price_old) ?> → = $money($price_new) ?>
diff --git a/agent/project.php b/agent/project.php
index 6abde4acd..13fe80f3e 100644
--- a/agent/project.php
+++ b/agent/project.php
@@ -540,7 +540,7 @@ echo agentBannersHtml($project_client_id);
= escapeHtml($task['task_name']) ?>
- = escapeHtml(trim(($task['completed_by'] ?? '') . ', ' . timeAgo($task['task_completed_at']), ', ')) ?>
+ = escapeHtml(trim(($task['completed_by'] ?? '') . ', ' . timeAgo($task['task_completed_at']), ', ')) ?>
@@ -665,7 +665,7 @@ echo agentBannersHtml($project_client_id);
= escapeHtml($who !== '' ? $who : 'Someone') ?>
= $type === 'Internal' ? 'noted on' : 'on' ?>
= ticketLink($reply) ?>
-
+
= escapeHtml(substr($time, 0, 5)) ?>= timeAgo($reply['ticket_reply_created_at']) ?>
@@ -728,11 +728,11 @@ echo agentBannersHtml($project_client_id);
= escapeHtml((string) $po['vendor_name']) ?>
- Made = escapeHtml(date('M j, Y', strtotime($po['po_created_at']))) ?>= $po['created_by_name'] ? ' by ' . escapeHtml($po['created_by_name']) : '' ?>
+ Made = escapeHtml(date('M j, Y', strtotime($po['po_created_at']))) ?>= $po['created_by_name'] ? ' by ' . escapeHtml($po['created_by_name']) : '' ?>
Approved by = escapeHtml($po['approved_by_name']) ?>
@@ -257,7 +257,7 @@ if (!$po || !poAccessible($po['po_id'])) {
diff --git a/agent/quotes.php b/agent/quotes.php
index 2a2dbf0f1..706e39736 100644
--- a/agent/quotes.php
+++ b/agent/quotes.php
@@ -258,9 +258,9 @@ $stat_monthly = function ($amount) use ($stat_money) {
= escapeHtml(billingQuantity($receipt['po_receipt_quantity'])) ?> x = escapeHtml($receipt['po_item_name']) ?>
- = escapeHtml(timeAgo($receipt['po_receipt_at'])) ?>= $receipt['user_name'] ? ' by ' . escapeHtml($receipt['user_name']) : '' ?>
+ = escapeHtml(timeAgo($receipt['po_receipt_at'])) ?>= $receipt['user_name'] ? ' by ' . escapeHtml($receipt['user_name']) : '' ?>
= intval($receipt['po_receipt_stock_id']) ? ' · on the shelf' : '' ?>
= $asset_count ? " · $asset_count asset" . ($asset_count === 1 ? '' : 's') . ' made' : '' ?>
· = escapeHtml(str_replace("\n", ', ', $receipt['po_receipt_serials'])) ?>
diff --git a/agent/quote.php b/agent/quote.php
index ae7c68325..2c83afb9f 100644
--- a/agent/quote.php
+++ b/agent/quote.php
@@ -114,7 +114,7 @@ echo agentBannersHtml($client_id);
For = escapeHtml($ticket['ticket_prefix'] . $ticket['ticket_number']) ?>
- Created = escapeHtml(timeAgo($quote['quote_created_at'])) ?>
+ Created = escapeHtml(timeAgo($quote['quote_created_at'])) ?>
- It ran out on = escapeHtml($quote['quote_expire']) ?> without an answer - the client can still see it but can't accept it.
+ It ran out on = formatDate($quote['quote_expire']) ?> without an answer - the client can still see it but can't accept it.
@@ -259,10 +259,10 @@ echo agentBannersHtml($client_id);
= escapeHtml($file['file_name']) ?>
-
= formatBytes(intval($file['file_size'])) ?> · = escapeHtml(timeAgo($file['file_created_at'])) ?>
+ = formatBytes(intval($file['file_size'])) ?> · = escapeHtml(timeAgo($file['file_created_at'])) ?>
| = escapeHtml($row['client_name']) ?> | -= escapeHtml($row['quote_date']) ?> | += formatDate($row['quote_date']) ?> |
- = escapeHtml($row['quote_expire']) ?>
+ = formatDate($row['quote_expire']) ?>
= $expiry_pill ?>
|
diff --git a/agent/rack.php b/agent/rack.php index 4ecb72394..b38f56d44 100644 --- a/agent/rack.php +++ b/agent/rack.php @@ -145,7 +145,7 @@ if (mysqli_num_rows($sql) == 0) { diff --git a/agent/racks.php b/agent/racks.php index 09148ec80..eef434afd 100644 --- a/agent/racks.php +++ b/agent/racks.php @@ -269,7 +269,7 @@ foreach ($racks as $rack_id => $row) { - + Restore diff --git a/agent/reconcile.php b/agent/reconcile.php index 987509b22..e8d08d586 100644 --- a/agent/reconcile.php +++ b/agent/reconcile.php @@ -356,7 +356,7 @@ $gap_notice = function () use ($opening, $opening_totals, $opening_gap, $account | = $can_edit ? '' : 'disabled' ?> aria-label="Cleared"> | -= escapeHtml($line['txn_date']) ?>= escapeHtml($line['txn_date']) ?> | += formatDate($line['txn_date']) ?>= formatDate($line['txn_date']) ?> |
= escapeHtml($what) ?> - = escapeHtml($description) ?>
@@ -507,7 +507,7 @@ $gap_notice = function () use ($opening, $opening_totals, $opening_gap, $account
= $money($t['out']) ?> |
= escapeHtml($row['finished_by_name'] ?? 'Someone since removed') ?>
- |
= escapeHtml(timeAgo($row['reconciliation_finished_at'])) ?>
+ = escapeHtml(timeAgo($row['reconciliation_finished_at'])) ?>
diff --git a/agent/recurring_expenses.php b/agent/recurring_expenses.php
index 3ed83f757..c04a53552 100644
--- a/agent/recurring_expenses.php
+++ b/agent/recurring_expenses.php
@@ -260,7 +260,7 @@ $any_filter = $q || $vendor_filter || $category_filter || $client_filter;
|
= $row_state === 'ended' ? '' : escapeHtml($row_next) ?>
|
= recurringExpenseNextPill($row) ?>
- Ends = escapeHtml($row['recurring_expense_end_date']) ?>
+ Ends = formatDate($row['recurring_expense_end_date']) ?>
diff --git a/agent/recurring_invoice.php b/agent/recurring_invoice.php
index 243cf2c24..e0d45f972 100644
--- a/agent/recurring_invoice.php
+++ b/agent/recurring_invoice.php
@@ -125,7 +125,7 @@ echo agentBannersHtml($client_id);
|
Recurring Invoice = escapeHtml($number) ?> - = $active ? 'Active' : (!empty($recurring['recurring_invoice_paused_until']) ? 'Paused until ' . escapeHtml($recurring['recurring_invoice_paused_until']) : 'Paused') ?> + = $active ? 'Active' : (!empty($recurring['recurring_invoice_paused_until']) ? 'Paused until ' . formatDate($recurring['recurring_invoice_paused_until']) : 'Paused') ?> = recurringInvoiceNextPill($recurring) ?>
@@ -203,9 +203,9 @@ echo agentBannersHtml($client_id);
@@ -399,7 +399,7 @@ echo agentBannersHtml($client_id);
$made_state = invoiceState($made, $made['paid']); ?>
- Its run on = escapeHtml($recurring['recurring_invoice_next_date']) ?> was missed - the next nightly run bills it. Invoice Now bills it straight away.
+ Its run on = formatDate($recurring['recurring_invoice_next_date']) ?> was missed - the next nightly run bills it. Invoice Now bills it straight away.
- Its next date, = escapeHtml($recurring['recurring_invoice_next_date']) ?>, is = $late_days ?> days gone - too far behind to bill by itself. Use Invoice Now for each run it missed, or move it on without billing them.
+ Its next date, = formatDate($recurring['recurring_invoice_next_date']) ?>, is = $late_days ?> days gone - too far behind to bill by itself. Use Invoice Now for each run it missed, or move it on without billing them.
Next
For = escapeHtml($next_period['{period}']) ?>
1 && !$late) { ?>
- then = escapeHtml(implode(', ', array_slice($upcoming, 1))) ?>
+ then = escapeHtml(implode(', ', array_map('formatDate', array_slice($upcoming, 1)))) ?>
= $for_contract && $for_contract['contract_status'] === 'Draft' ? 'Paused - it starts when ' . escapeHtml($for_contract['contract_name']) . ' is active'
- : (!empty($recurring['recurring_invoice_paused_until']) ? 'Paused until ' . escapeHtml($recurring['recurring_invoice_paused_until']) . ' - then it runs again by itself, from its next date after that'
+ : (!empty($recurring['recurring_invoice_paused_until']) ? 'Paused until ' . formatDate($recurring['recurring_invoice_paused_until']) . ' - then it runs again by itself, from its next date after that'
: 'Paused - nothing until it is resumed') ?>
Emailing is off for this one
-
-
= escapeHtml(billingMoney($made['invoice_amount'], $made['invoice_currency_code'])) ?>
@@ -407,7 +407,7 @@ echo agentBannersHtml($client_id);
= escapeHtml($made['invoice_prefix'] . $made['invoice_number']) ?> = escapeHtml($made['invoice_date']) ?>
+ = escapeHtml($made['invoice_prefix'] . $made['invoice_number']) ?> = formatDate($made['invoice_date']) ?>
= invoiceStatusBadge($made['invoice_status'], $made_state['state'] === 'overdue') ?>
None yet= $active ? ' - the first is made on ' . escapeHtml($recurring['recurring_invoice_next_date']) : '' ?>.
+ None yet= $active ? ' - the first is made on ' . formatDate($recurring['recurring_invoice_next_date']) : '' ?>.
diff --git a/agent/recurring_invoices.php b/agent/recurring_invoices.php
index de2040495..cc17d40e5 100644
--- a/agent/recurring_invoices.php
+++ b/agent/recurring_invoices.php
@@ -303,10 +303,10 @@ $stat_money = function ($amount) use ($session_company_currency) {
= escapeHtml(billingMoney($row['monthly'], $row_currency)) ?> |
- = $row_active ? escapeHtml($row['recurring_invoice_next_date']) : '' ?>
+ = $row_active ? formatDate($row['recurring_invoice_next_date']) : '' ?>
|
- = recurringInvoiceNextPill($row) ?>
= $row['recurring_invoice_last_sent'] ? escapeHtml($row['recurring_invoice_last_sent']) : 'Not yet' ?> |
+ = $row['recurring_invoice_last_sent'] ? formatDate($row['recurring_invoice_last_sent']) : 'Not yet' ?> |
|
= recurringTicketNextRunPill($row) ?>
- |
= escapeHtml(date('D M j, Y', strtotime($row['recurring_ticket_next_run']))) ?>
+ = escapeHtml(date('D, M j, Y', strtotime($row['recurring_ticket_next_run']))) ?>
|
= escapeHtml(ticketReference($last)) ?>
= ticketStatusHtml($last['ticket_status_name'], $last['ticket_status_color'], 'detail') ?>
- = timeAgo($last['ticket_created_at']) ?>
+ = timeAgo($last['ticket_created_at']) ?>
None yet
diff --git a/agent/reports/asset_lifecycle.php b/agent/reports/asset_lifecycle.php
index 35c93ae75..1a549c356 100644
--- a/agent/reports/asset_lifecycle.php
+++ b/agent/reports/asset_lifecycle.php
@@ -129,7 +129,7 @@ $candidate_columns = [
return $row['age_days'] === null ? '' : number_format($row['age_days'] / 365.25, 1, '.', '');
}, 'html' => function ($row) {
return $row['age_days'] === null ? '–'
- : '' . reportYears($row['age_days']) . '';
+ : '' . reportYears($row['age_days']) . '';
}],
'warranty' => ['label' => 'Warranty', 'sort' => false, 'csv' => function ($row) { return $row['warranty'] ? $row['warranty']['date'] : ''; }, 'csv_label' => 'Warranty ends',
'html' => function ($row) use ($warranty_pill) { return $warranty_pill($row['warranty']); }],
diff --git a/agent/reports/audit_activity.php b/agent/reports/audit_activity.php
index 55ef3cf76..418710d7f 100644
--- a/agent/reports/audit_activity.php
+++ b/agent/reports/audit_activity.php
@@ -377,7 +377,7 @@ if ($admin) {
- = reportSectionOpen('When', reportCount($out_of_hours) . ' of ' . reportCount($by_people) . ' entries by people out of hours - before ' . escapeHtml(date('g:ia', strtotime($work_start))) . ', after ' . escapeHtml(date('g:ia', strtotime($work_end))) . ' or on a day off') ?>
+ = reportSectionOpen('When', reportCount($out_of_hours) . ' of ' . reportCount($by_people) . ' entries by people out of hours - before ' . escapeHtml(date('g:i A', strtotime($work_start))) . ', after ' . escapeHtml(date('g:i A', strtotime($work_end))) . ' or on a day off') ?>
= reportHeatmap($heat, 'entry') ?>
diff --git a/agent/reports/credential_rotation.php b/agent/reports/credential_rotation.php
index 7233d80e6..28f474e62 100644
--- a/agent/reports/credential_rotation.php
+++ b/agent/reports/credential_rotation.php
@@ -100,14 +100,14 @@ $credential_columns = [
if (!$row['age']) {
return 'Never recorded';
}
- return credentialAgePill($row['age']) . '' . escapeHtml($row['age']['date']) . ' ';
+ return credentialAgePill($row['age']) . '' . formatDate($row['age']['date']) . ' ';
}],
'credential_password_changed_at' => ['label' => 'Changed on', 'type' => 'date', 'screen' => false],
'has_otp' => ['label' => '2FA', 'sort' => false, 'csv' => function ($row) { return $row['has_otp'] ? 'Yes' : 'No'; }, 'html' => function ($row) {
return $row['has_otp'] ? 'Yes' : '–';
}],
'credential_accessed_at' => ['label' => 'Last opened', 'type' => 'date', 'html' => function ($row) {
- return $row['credential_accessed_at'] ? '' . escapeHtml(timeAgo($row['credential_accessed_at'])) . ''
+ return $row['credential_accessed_at'] ? '' . escapeHtml(timeAgo($row['credential_accessed_at'])) . ''
: '–';
}],
];
diff --git a/agent/reports/inventory.php b/agent/reports/inventory.php
index 05c596485..1a4d7af9e 100644
--- a/agent/reports/inventory.php
+++ b/agent/reports/inventory.php
@@ -118,7 +118,7 @@ $product_columns = [
];
$move_columns = [
'stock_created_at' => ['label' => 'When', 'type' => 'date', 'class' => 'small text-nowrap', 'html' => function ($row) {
- return '' . escapeHtml(date('M j, Y', strtotime($row['stock_created_at']))) . '';
+ return '' . escapeHtml(date('M j, Y', strtotime($row['stock_created_at']))) . '';
}],
'product_name' => ['label' => 'Product', 'html' => function ($row) {
return '' . escapeHtml($row['product_name']) . '';
diff --git a/agent/reports/profit_loss.php b/agent/reports/profit_loss.php
index 972d04fe3..8c656d615 100644
--- a/agent/reports/profit_loss.php
+++ b/agent/reports/profit_loss.php
@@ -149,7 +149,7 @@ $span = count($columns) + 4;
'year' => [$year, $years],
'controls' => reportSegmentControl('view', $view, ['month' => 'Monthly', 'quarter' => 'Quarterly']),
'subtitle' => $current_year ? "$year to date" : (string) $year,
- 'print_meta' => $current_year ? "January 1 to " . date('F j, Y') : "Year $year",
+ 'print_meta' => $current_year ? "Jan 1 to " . date('M j, Y') : "Year $year",
]); ?>
= reportStats([
diff --git a/agent/reports/tax_package.php b/agent/reports/tax_package.php
index 1d8ede2ab..69e68c991 100644
--- a/agent/reports/tax_package.php
+++ b/agent/reports/tax_package.php
@@ -662,7 +662,7 @@ if ($show_1099) {
-
diff --git a/agent/reports/ticket_aging.php b/agent/reports/ticket_aging.php
index d9394f1d9..0e08df40b 100644
--- a/agent/reports/ticket_aging.php
+++ b/agent/reports/ticket_aging.php
@@ -123,7 +123,7 @@ $ticket_columns = [
'age_days' => ['label' => 'Open for', 'type' => 'decimal', 'decimals' => 1, 'csv_label' => 'Days open', 'html' => function ($row) {
$days = $row['age_days'];
$tone = $days > 30 ? 'text-danger-emphasis fw-semibold' : ($days > 7 ? 'text-warning-emphasis fw-semibold' : '');
- return '' . reportDuration($row['age_seconds']) . '';
+ return '' . reportDuration($row['age_seconds']) . '';
}],
'last_activity' => ['label' => 'Last activity', 'type' => 'date', 'csv' => function ($row) { return $row['last_activity']; }, 'html' => function ($row) {
return '' . escapeHtml(timeAgo($row['last_activity'])) . '';
diff --git a/agent/service.php b/agent/service.php
index f2e8da134..3f30d7062 100644
--- a/agent/service.php
+++ b/agent/service.php
@@ -295,9 +295,9 @@ if (!$service || ($client_url && intval($service['service_client_id']) !== intva
This tax year runs to = escapeHtml(date('F j, Y', strtotime($end))) ?> - the figures are the year so far. Pick the year before for the one to file.
+ This tax year runs to = escapeHtml(date('M j, Y', strtotime($end))) ?> - the figures are the year so far. Pick the year before for the one to file.
= implode('', $networks) ?>
-
- |
- = timeAgo($row['item_created_at']) ?>
+ = timeAgo($row['item_created_at']) ?>
= $row['creator_name'] !== null ? escapeHtml($row['creator_name']) : '' ?>
+ |
= escapeHtml(date('M j, g:i A', strtotime($row['item_expire_at']))) ?>
| = timeAgo($row['item_expire_at']) ?>
@@ -327,7 +327,7 @@ $filter_url = function ($changes) {
= escapeHtml(shareViewsText($row)) ?>
- |
Last = timeAgo($row['item_last_viewed_at']) ?>
+ Last = timeAgo($row['item_last_viewed_at']) ?>
= shareStateBadge($row) ?> |
diff --git a/agent/software.php b/agent/software.php
index f7d0f648b..9e598715a 100644
--- a/agent/software.php
+++ b/agent/software.php
@@ -496,7 +496,7 @@ while ($license_type_row = mysqli_fetch_row($sql_license_types)) {
= softwareSeatBar($seats) ?> |
- | = escapeHtml($renewal['date']) ?>
+ = formatDate($renewal['date']) ?>
= escapeHtml($renewal['text']) ?>
diff --git a/agent/ticket.php b/agent/ticket.php
index f5ca8b9e4..89bb5bf9b 100644
--- a/agent/ticket.php
+++ b/agent/ticket.php
@@ -568,7 +568,7 @@ if (isset($_GET['ticket_id'])) {
@@ -1169,7 +1169,7 @@ if (isset($_GET['ticket_id'])) {
Mentions you
-
+
= $ticket_reply_created_at_ago ?>(edited)'; } ?>
· = formatDuration($ticket_reply_time_worked) ?>
@@ -1212,10 +1212,7 @@ if (isset($_GET['ticket_id'])) {
-
+
Archive
@@ -1410,7 +1407,7 @@ if (isset($_GET['ticket_id'])) {
" . date('M d, Y • g:i A', strtotime($ticket_due_at)) . "";
+ $due_value = "" . date('M j, Y g:i A', strtotime($ticket_due_at)) . "";
?>
= ticketStatusHtml($other['ticket_status_name'], $other['ticket_status_color'], 'detail') ?>
Same = implode(' and ', $other['shares']) ?>
- = timeAgo($other['ticket_created_at']) ?>
+ = timeAgo($other['ticket_created_at']) ?>
-
+
@@ -2038,17 +2035,17 @@ if (isset($_GET['ticket_id'])) {
|
|