From 71f72993370748b56a968f1f6cba812a038d0cfe Mon Sep 17 00:00:00 2001 From: johnnyq Date: Tue, 14 Jul 2026 17:55:59 -0400 Subject: [PATCH] Replace Function roundToNearest15() with roundToNearest15Min() --- agent/modals/ticket/ticket_invoice_add.php | 2 +- functions/format.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/agent/modals/ticket/ticket_invoice_add.php b/agent/modals/ticket/ticket_invoice_add.php index a48222c9..46cb3fec 100644 --- a/agent/modals/ticket/ticket_invoice_add.php +++ b/agent/modals/ticket/ticket_invoice_add.php @@ -272,7 +272,7 @@ ob_start();
- + Based off Ticket time spent in 15 Min Increments rounded up. diff --git a/functions/format.php b/functions/format.php index 2a075d5c..a5bdf8de 100644 --- a/functions/format.php +++ b/functions/format.php @@ -278,7 +278,7 @@ function roundUpToNearestMultiple($n, $increment = 1000) return (int) ($increment * ceil($n / $increment)); } -function roundToNearest15($time) +function roundToNearest15Min($time) { // Validate the input time format if (!preg_match('/^(\d{2}):(\d{2}):(\d{2})$/', $time, $matches)) {