add field cbxQuoteShowAcceptLimit
This commit is contained in:
parent
4a190e962a
commit
55799af225
@ -12,5 +12,6 @@ export const rows: FormTabRows = [
|
|||||||
[['cbxInsurance', 'cbxRegistrationQuote'], { gridTemplateColumns: ['1fr', '1fr 1fr'] }],
|
[['cbxInsurance', 'cbxRegistrationQuote'], { gridTemplateColumns: ['1fr', '1fr 1fr'] }],
|
||||||
[['cbxTechnicalCardQuote', 'cbxNSIB'], { gridTemplateColumns: ['1fr', '1fr 1fr'] }],
|
[['cbxTechnicalCardQuote', 'cbxNSIB'], { gridTemplateColumns: ['1fr', '1fr 1fr'] }],
|
||||||
[['cbxQuoteRedemptionGraph', 'cbxShowFinGAP'], { gridTemplateColumns: ['1fr', '1fr 1fr'] }],
|
[['cbxQuoteRedemptionGraph', 'cbxShowFinGAP'], { gridTemplateColumns: ['1fr', '1fr 1fr'] }],
|
||||||
|
[['cbxQuoteShowAcceptLimit'], { gridTemplateColumns: ['1fr', '1fr 1fr'] }],
|
||||||
[['tbxQuoteName', 'radioQuoteContactGender'], { gridTemplateColumns: ['1fr', '2fr 1fr'] }],
|
[['tbxQuoteName', 'radioQuoteContactGender'], { gridTemplateColumns: ['1fr', '2fr 1fr'] }],
|
||||||
];
|
];
|
||||||
|
|||||||
@ -136,6 +136,7 @@ const components = wrapComponentsMap({
|
|||||||
cbxPartialVAT: e.Switch,
|
cbxPartialVAT: e.Switch,
|
||||||
cbxFloatingRate: e.Switch,
|
cbxFloatingRate: e.Switch,
|
||||||
cbxQuotePriceWithFullVAT: e.Switch,
|
cbxQuotePriceWithFullVAT: e.Switch,
|
||||||
|
cbxQuoteShowAcceptLimit: e.Switch,
|
||||||
|
|
||||||
/** Readonly Elements */
|
/** Readonly Elements */
|
||||||
labelLeaseObjectRisk: e.Text,
|
labelLeaseObjectRisk: e.Text,
|
||||||
|
|||||||
@ -130,6 +130,7 @@ const titles: Record<ActionElements | ValuesElements, string> = {
|
|||||||
cbxPartialVAT: 'Частичный НДС',
|
cbxPartialVAT: 'Частичный НДС',
|
||||||
cbxFloatingRate: 'Плавающая ставка',
|
cbxFloatingRate: 'Плавающая ставка',
|
||||||
cbxQuotePriceWithFullVAT: 'Отображать Стоимость ПЛ с полным НДС',
|
cbxQuotePriceWithFullVAT: 'Отображать Стоимость ПЛ с полным НДС',
|
||||||
|
cbxQuoteShowAcceptLimit: 'Отображать одобренный лимит',
|
||||||
|
|
||||||
/** Link Elements */
|
/** Link Elements */
|
||||||
linkDownloadKp: '',
|
linkDownloadKp: '',
|
||||||
|
|||||||
@ -195,6 +195,7 @@ const types = wrapElementsTypes({
|
|||||||
cbxPartialVAT: t.Switch,
|
cbxPartialVAT: t.Switch,
|
||||||
cbxFloatingRate: t.Switch,
|
cbxFloatingRate: t.Switch,
|
||||||
cbxQuotePriceWithFullVAT: t.Switch,
|
cbxQuotePriceWithFullVAT: t.Switch,
|
||||||
|
cbxQuoteShowAcceptLimit: t.Switch,
|
||||||
|
|
||||||
labelLeaseObjectRisk: t.Readonly,
|
labelLeaseObjectRisk: t.Readonly,
|
||||||
tbxInsKaskoPriceLeasePeriod: t.Readonly,
|
tbxInsKaskoPriceLeasePeriod: t.Readonly,
|
||||||
|
|||||||
@ -133,6 +133,7 @@ const elementsToValues = wrapElementsMap({
|
|||||||
cbxPartialVAT: 'partialVAT',
|
cbxPartialVAT: 'partialVAT',
|
||||||
cbxFloatingRate: 'floatingRate',
|
cbxFloatingRate: 'floatingRate',
|
||||||
cbxQuotePriceWithFullVAT: 'quotePriceWithFullVAT',
|
cbxQuotePriceWithFullVAT: 'quotePriceWithFullVAT',
|
||||||
|
cbxQuoteShowAcceptLimit: 'quoteShowAcceptLimit',
|
||||||
|
|
||||||
/** Readonly Elements */
|
/** Readonly Elements */
|
||||||
labelLeaseObjectRisk: 'leaseObjectRiskName',
|
labelLeaseObjectRisk: 'leaseObjectRiskName',
|
||||||
|
|||||||
@ -511,6 +511,7 @@ const defaultOptions: CalculationOptions = {
|
|||||||
cbxPartialVAT: [],
|
cbxPartialVAT: [],
|
||||||
cbxFloatingRate: [],
|
cbxFloatingRate: [],
|
||||||
cbxQuotePriceWithFullVAT: [],
|
cbxQuotePriceWithFullVAT: [],
|
||||||
|
cbxQuoteShowAcceptLimit: [],
|
||||||
};
|
};
|
||||||
|
|
||||||
export default defaultOptions;
|
export default defaultOptions;
|
||||||
|
|||||||
@ -18,6 +18,7 @@ const defaultStatuses: CalculationStatuses = {
|
|||||||
cbxPriceWithDiscount: 'Default',
|
cbxPriceWithDiscount: 'Default',
|
||||||
cbxQuotePriceWithFullVAT: 'Default',
|
cbxQuotePriceWithFullVAT: 'Default',
|
||||||
cbxQuoteRedemptionGraph: 'Default',
|
cbxQuoteRedemptionGraph: 'Default',
|
||||||
|
cbxQuoteShowAcceptLimit: 'Default',
|
||||||
cbxRecalcWithRevision: 'Default',
|
cbxRecalcWithRevision: 'Default',
|
||||||
cbxRegistrationQuote: 'Default',
|
cbxRegistrationQuote: 'Default',
|
||||||
cbxShowFinGAP: 'Default',
|
cbxShowFinGAP: 'Default',
|
||||||
|
|||||||
@ -144,6 +144,7 @@ const defaultValues: CalculationValues = {
|
|||||||
partialVAT: false,
|
partialVAT: false,
|
||||||
floatingRate: false,
|
floatingRate: false,
|
||||||
quotePriceWithFullVAT: false,
|
quotePriceWithFullVAT: false,
|
||||||
|
quoteShowAcceptLimit: true,
|
||||||
};
|
};
|
||||||
|
|
||||||
export default defaultValues;
|
export default defaultValues;
|
||||||
|
|||||||
@ -129,6 +129,7 @@ const ValuesSchema = z.object({
|
|||||||
withTrailer: z.boolean(),
|
withTrailer: z.boolean(),
|
||||||
partialVAT: z.boolean(),
|
partialVAT: z.boolean(),
|
||||||
floatingRate: z.boolean(),
|
floatingRate: z.boolean(),
|
||||||
|
quoteShowAcceptLimit: z.boolean(),
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Link Values
|
* Link Values
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user