RO Closer bug fixes.

This commit is contained in:
Patrick Fic
2024-04-04 20:41:39 -07:00
parent c4d39cf3d3
commit 96242a555a
10 changed files with 340 additions and 154 deletions

View File

@@ -26,7 +26,8 @@ export function LaborAllocationsTable({
adjustments,
technician,
showWarning,
warningCallback
warningCallback,
disabled
}) {
const { t } = useTranslation();
const [totals, setTotals] = useState([]);
@@ -82,7 +83,7 @@ export function LaborAllocationsTable({
render: (text, record) => (
<Space wrap>
{record.adjustments.toFixed(1)}
{!technician && (
{!technician && !disabled && (
<LaborAllocationsAdjustmentEdit
jobId={jobId}
adjustments={adjustments}