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