Scope parks and downstream investment requests to the treated opportunity
This commit is contained in:
@@ -9,6 +9,8 @@ import { Conversation } from './conversation';
|
||||
import type { Message } from './conversation';
|
||||
import CountrySelect, { type Country } from '@/components/country-select';
|
||||
type Payload = {
|
||||
context_opportunity?: string;
|
||||
context_opportunity_snapshot?: string;
|
||||
simple_participation?: boolean;
|
||||
opportunity_title?: string;
|
||||
opportunity_reference?: string;
|
||||
@@ -79,6 +81,7 @@ type Props = {
|
||||
id: string;
|
||||
version: number;
|
||||
payload: Partial<Payload>;
|
||||
opportunity_id?: number | null;
|
||||
status: string;
|
||||
};
|
||||
references: References;
|
||||
@@ -461,6 +464,7 @@ function Editor({
|
||||
<DossierPrefill
|
||||
contextId={contextDossierId}
|
||||
consumer="submission"
|
||||
initialOpportunity={s.opportunity_id ? `opportunity:${s.opportunity_id}` : undefined}
|
||||
values={form.data.payload}
|
||||
boundRevision={boundContextRevision}
|
||||
readOnly={readonly}
|
||||
|
||||
Reference in New Issue
Block a user