Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/data/demo-en/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import {
REVIEW_COMMENTS,
REVIEW_INTERNAL_NOTES,
RISK_NOTES,
SIGNATURE_NOTES,
SIGNING_ENTITIES,
TERMINATION_REASONS,
TITLE_QUALIFIERS,
Expand Down Expand Up @@ -41,7 +40,6 @@ export const EN: DemoStrings = {
reviewInternalNotes: REVIEW_INTERNAL_NOTES,
deviationTexts: DEVIATION_TEXTS,
deviationJustifications: DEVIATION_JUSTIFICATIONS,
signatureNotes: SIGNATURE_NOTES,
terminationReasons: TERMINATION_REASONS,
jurisdictions: JURISDICTIONS,
};
7 changes: 0 additions & 7 deletions src/data/demo-en/prose.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,13 +128,6 @@ export const DEVIATION_JUSTIFICATIONS: readonly string[] & { length: 6 } = [
'Requested by the business without a supporting rationale; legal recommends refusal.',
] as const;

export const SIGNATURE_NOTES: readonly string[] & { length: 4 } = [
'Envelope sent to both signatories; awaiting the counterparty’s signature.',
'Signed electronically by both parties. Countersigned copy filed.',
'Wet-ink round: originals exchanged by courier and the company seal applied.',
'Notarisation booked; the witnessed copy is still outstanding.',
] as const;

/**
* Why the four terminated contracts were ended early — the answer legal and
* audit ask for first, which is why `termination_reason` is required to
Expand Down
2 changes: 0 additions & 2 deletions src/data/demo-zh/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import {
REVIEW_COMMENTS,
REVIEW_INTERNAL_NOTES,
RISK_NOTES,
SIGNATURE_NOTES,
SIGNING_ENTITIES,
TERMINATION_REASONS,
TITLE_QUALIFIERS,
Expand Down Expand Up @@ -40,7 +39,6 @@ export const ZH_CN: DemoStrings = {
reviewInternalNotes: REVIEW_INTERNAL_NOTES,
deviationTexts: DEVIATION_TEXTS,
deviationJustifications: DEVIATION_JUSTIFICATIONS,
signatureNotes: SIGNATURE_NOTES,
terminationReasons: TERMINATION_REASONS,
jurisdictions: JURISDICTIONS,
};
7 changes: 0 additions & 7 deletions src/data/demo-zh/prose.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,6 @@ export const DEVIATION_JUSTIFICATIONS: readonly string[] & { length: 6 } = [
'业务方提出但未给出理由,法务建议拒绝。',
] as const;

export const SIGNATURE_NOTES: readonly string[] & { length: 4 } = [
'信封已发给双方签署人,等待相对方签署。',
'双方均已电子签署,回签副本已归档。',
'湿签流程:原件已快递互换,公司印章已加盖。',
'公证已预约,见证副本仍未取得。',
] as const;

/** 与 `../plan.ts` 中三个适用法律一一对应的法院或仲裁地。 */
export const TERMINATION_REASONS: readonly string[] & { length: 4 } = [
'对方严重违约:连续三个交付节点逾期,书面催告后仍未补正。',
Expand Down
1 change: 0 additions & 1 deletion src/data/negotiation.seed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ export const signatureSeed = defineSeed(Signature, {
status: signature.status,
formalities_done: [...signature.formalitiesDone],
completed_at: signedAt,
notes: STRINGS.signatureNotes[signature.noteIndex]!,
};
}),
});
Expand Down
3 changes: 0 additions & 3 deletions src/data/plan-children.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ export interface SignaturePlan {
/** A subset of the type's `execution_formalities`; a completed round covers them all. */
readonly formalitiesDone: readonly string[];
readonly completedAt: number | null;
readonly noteIndex: number;
readonly signerCount: 2 | 3;
}

Expand Down Expand Up @@ -166,7 +165,6 @@ const planSignatures = (): SignaturePlan[] => {
// formality the "待执行" list exists to surface.
formalitiesDone: incomplete ? formalities.slice(0, -1) : [],
completedAt: null,
noteIndex: incomplete ? 3 : 0,
signerCount: 2,
};
});
Expand All @@ -179,7 +177,6 @@ const planSignatures = (): SignaturePlan[] => {
status: 'completed',
formalitiesDone: typeOf(contract).executionFormalities,
completedAt: contract.timeline.signedAt,
noteIndex: typeOf(contract).signMethod === 'wet_ink' ? 2 : 1,
signerCount: random() < 0.3 ? 3 : 2,
});
}
Expand Down
2 changes: 0 additions & 2 deletions src/data/strings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,6 @@ export interface DemoStrings {
readonly deviationTexts: Strings<8>;
/** Why the requester is asking for it. */
readonly deviationJustifications: Strings<6>;
/** Notes on a signature round. */
readonly signatureNotes: Strings<4>;
/**
* Why each of the four `terminated` contracts was ended early.
*
Expand Down
4 changes: 0 additions & 4 deletions src/objects/signature.object.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,6 @@ export const Signature = ObjectSchema.create({
group: 'execution',
description: 'Stamped when the round completes, unless set explicitly (a wet-ink round records the actual signing date).',
}),
notes: Field.textarea({
label: 'Notes',
group: 'execution',
}),
},

enable: {
Expand Down
3 changes: 0 additions & 3 deletions src/translations/en/objects.lifecycle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,6 @@ export const lifecycle: Record<string, ObjectTranslationData> = {
label: 'Completed At',
help: 'Stamped when the round completes, unless set explicitly (a wet-ink round records the actual signing date).',
},
notes: {
label: 'Notes',
},
},
_sections: {
round: {
Expand Down
3 changes: 0 additions & 3 deletions src/translations/zh-CN/objects.lifecycle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,6 @@ export const lifecycle: Record<string, ObjectTranslationData> = {
label: '完成时间',
help: '本轮完成时自动写入,除非显式指定;湿签需要登记实际签署日期。',
},
notes: {
label: '备注',
},
},
_sections: {
round: {
Expand Down
Loading