* [misc,done,3h] convert scientific counting into numbers.

This commit is contained in:
tianshujie
2025-02-11 11:30:35 +08:00
committed by 刘刚
parent bbff780d3d
commit ec43dda1ee
19 changed files with 54 additions and 24 deletions
+3 -3
View File
@@ -351,17 +351,17 @@ $tbody = function() use($tasks, $lang, $groupBy, $users, $groupByList, $executio
h::td
(
setClass('text-right'),
$task->estimate . $lang->execution->workHourUnit
helper::formatHours($task->estimate) . $lang->execution->workHourUnit
),
h::td
(
setClass('text-right'),
$task->consumed . $lang->execution->workHourUnit
helper::formatHours($task->consumed) . $lang->execution->workHourUnit
),
h::td
(
setClass('text-right'),
$task->left . $lang->execution->workHourUnit
helper::formatHours($task->left) . $lang->execution->workHourUnit
),
h::td
(
+1 -1
View File
@@ -129,7 +129,7 @@ div
span
(
setClass('ml-2 font-bold'),
$story->estimate
helper::formatHours($story->estimate)
)
)
),
+3 -3
View File
@@ -57,7 +57,7 @@ div
span
(
setClass('ml-2 font-bold'),
$task->estimate . ' ' . $lang->execution->workHourUnit
helper::formatHours($task->estimate) . ' ' . $lang->execution->workHourUnit
)
),
div
@@ -67,7 +67,7 @@ div
span
(
setClass('ml-2 font-bold'),
round($task->consumed, 2) . ' ' . $lang->execution->workHourUnit
helper::formatHours($task->consumed) . ' ' . $lang->execution->workHourUnit
)
),
div
@@ -77,7 +77,7 @@ div
span
(
setClass('ml-2 font-bold'),
$task->left . ' ' . $lang->execution->workHourUnit
helper::formatHours($task->left) . ' ' . $lang->execution->workHourUnit
)
),
div
+3 -3
View File
@@ -596,19 +596,19 @@ div
(
setClass('w-1/3'),
span(setClass('text-gray'), $lang->execution->estimateHours),
span(setClass('ml-2'), $execution->totalEstimate . $lang->execution->workHourUnit)
span(setClass('ml-2'), helper::formatHours($execution->totalEstimate) . $lang->execution->workHourUnit)
),
div
(
setClass('w-1/3'),
span(setClass('text-gray'), $lang->execution->consumedHours),
span(setClass('ml-2'), $execution->totalConsumed . $lang->execution->workHourUnit)
span(setClass('ml-2'), helper::formatHours($execution->totalConsumed) . $lang->execution->workHourUnit)
),
div
(
setClass('w-1/3'),
span(setClass('text-gray'), $lang->execution->leftHours),
span(setClass('ml-2'), $execution->totalLeft . $lang->execution->workHourUnit)
span(setClass('ml-2'), helper::formatHours($execution->totalLeft) . $lang->execution->workHourUnit)
),
div
(