mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-30 04:08:11 +00:00
Merge branch 'freight_feature/profile' of github.com:Tria-plc/edr-platform into freight_feature/profile
This commit is contained in:
@@ -36,7 +36,7 @@ export type BookingActionId =
|
||||
| "complete"
|
||||
| "cancel";
|
||||
|
||||
export type BookingActionInputKind = "note" | "reason" | "file";
|
||||
export type BookingActionInputKind = "note" | "reason" | "file" | "days";
|
||||
|
||||
export interface BookingActionDef {
|
||||
id: BookingActionId;
|
||||
@@ -121,10 +121,13 @@ const SUBMITTED_ACTIONS: BookingActionDef[] = [
|
||||
description: "Start the formal approval chain",
|
||||
confirmTitle: "Accept submission?",
|
||||
confirmDescription:
|
||||
"The booking moves to pending approval and approval steps are created from the rule engine.",
|
||||
"Set how long the contract stays valid, then the booking moves to pending approval and approval steps are created from the rule engine.",
|
||||
variant: "default",
|
||||
icon: ShieldCheck,
|
||||
primary: true,
|
||||
input: "days",
|
||||
inputLabel: "Contract validity (days)",
|
||||
inputPlaceholder: "e.g. 30",
|
||||
},
|
||||
{
|
||||
id: "requestChanges",
|
||||
|
||||
Reference in New Issue
Block a user