diff --git a/apps/edr-freight-web/backoffice/src/components/contracts/ContractActionsToolbar.tsx b/apps/edr-freight-web/backoffice/src/components/contracts/ContractActionsToolbar.tsx index 8c4833550..d2a245f24 100644 --- a/apps/edr-freight-web/backoffice/src/components/contracts/ContractActionsToolbar.tsx +++ b/apps/edr-freight-web/backoffice/src/components/contracts/ContractActionsToolbar.tsx @@ -5,7 +5,7 @@ import { Button, Group, Modal, Stack, Text, Textarea } from "@mantine/core"; import { Check, Eye, - FilePen, + // FilePen, // ponytail: back with the "Edit contract articles" button FileSignature, MessageSquareWarning, PauseCircle, @@ -286,9 +286,9 @@ export function ContractActionsToolbar({ <> {canEditDocument - ? "It is your turn to approve. You can edit the articles before approving — the PDF is generated automatically once the last approver approves." + ? "It is your turn to approve — the PDF is generated automatically once the last approver approves." : draft?.nextApproverRole - ? `Awaiting ${draft.nextApproverRole}. Only the current approver can edit the document.` + ? `Awaiting ${draft.nextApproverRole}.` : "Awaiting approval."} + {/* Article editing is hidden for now (frontend only) — the approval + chain approves the document as accepted. Uncomment to restore. + {canEditDocument && (