fix quote?.evo_committee_quote check
This commit is contained in:
parent
7797325f8c
commit
870d7b373b
@ -116,7 +116,7 @@ export function common({ store, apolloClient }: ProcessContext) {
|
||||
},
|
||||
});
|
||||
|
||||
if (quote?.evo_committee_quote) {
|
||||
if (quote?.evo_committee_quote === 100_000_000) {
|
||||
elements.forEach((elementName) =>
|
||||
$calculation.$status.overrideStatus(elementName, 'Disabled')
|
||||
);
|
||||
|
||||
@ -245,7 +245,7 @@ export function createValidationSchema({ apolloClient }: ValidationContext) {
|
||||
});
|
||||
}
|
||||
|
||||
if (quote?.evo_committee_quote && quote.evo_accept_quoteid) {
|
||||
if (quote?.evo_committee_quote === 100_000_000 && quote.evo_accept_quoteid) {
|
||||
const {
|
||||
data: { quote: accept_quote },
|
||||
} = await apolloClient.query({
|
||||
|
||||
@ -24,7 +24,7 @@ export async function validateResults({
|
||||
},
|
||||
});
|
||||
|
||||
if (quote?.evo_committee_quote && quote.evo_accept_quoteid) {
|
||||
if (quote?.evo_committee_quote === 100_000_000 && quote.evo_accept_quoteid) {
|
||||
const { preparedValues } = calculateResult;
|
||||
const { npvBonusExpensesColumn } = calculateResult.columns;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user