merge branch release/dyn-4515
This commit is contained in:
parent
ed5391076c
commit
d7908bb5da
@ -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
|
||||
|
||||
@ -282,6 +282,7 @@ query GetQuoteData($quoteId: Uuid!) {
|
||||
evo_transactioncurrencyid
|
||||
evo_equip_price
|
||||
evo_coefficien_bonus_reducttion
|
||||
evo_accept_limit_quote
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -276,16 +276,21 @@ type account {
|
||||
evo_corresponding_account: String
|
||||
evo_dadata_dateupdate: DateTime
|
||||
evo_dadatdalog: String
|
||||
evo_date_start_decentral: DateTime
|
||||
evo_dealer_brandid: Uuid
|
||||
evo_dealer_brandidname: String
|
||||
evo_dealer_responsible_systemuserid: Uuid
|
||||
evo_dealer_responsible_systemuseridname: String
|
||||
evo_dealer_responsible_systemuseridyominame: String
|
||||
evo_decentral_bank_detailsid: Uuid
|
||||
evo_decentral_bank_detailsidname: String
|
||||
evo_decentral_broker_accountid: Uuid
|
||||
evo_decentral_broker_accountidname: String
|
||||
evo_decentral_broker_accountidyominame: String
|
||||
evo_decentral_comment: String
|
||||
evo_decentral_create_solution_data: DateTime
|
||||
evo_decentral_dateto: DateTime
|
||||
evo_decentral_date_approval: DateTime
|
||||
evo_decentral_systemuserid: Uuid
|
||||
evo_decentral_systemuseridname: String
|
||||
evo_decentral_systemuseridyominame: String
|
||||
@ -349,6 +354,10 @@ type account {
|
||||
evo_invoice_number_rules: Int
|
||||
evo_is_individual_executive: Boolean
|
||||
evo_is_nko: Boolean
|
||||
evo_ius_cession: Boolean
|
||||
evo_kasko_category: [Int!]
|
||||
evo_kasko_fact_part: Decimal
|
||||
evo_kasko_plan_part: Decimal
|
||||
evo_kpp: String
|
||||
evo_la: String
|
||||
evo_legal_form: Int
|
||||
@ -377,6 +386,7 @@ type account {
|
||||
evo_orglegalformid: Uuid
|
||||
evo_orglegalformidData: evo_orglegalform
|
||||
evo_orglegalformidname: String
|
||||
evo_osago_category: [Int!]
|
||||
evo_osago_id: String
|
||||
evo_osago_number_rules: Int
|
||||
evo_osago_with_kasko: Boolean
|
||||
@ -396,8 +406,13 @@ type account {
|
||||
evo_rfm_date: DateTime
|
||||
evo_rfm_number: String
|
||||
evo_send_sms_payments: [Int!]
|
||||
evo_signer_decentral_solution_contactid: Uuid
|
||||
evo_signer_decentral_solution_contactidname: String
|
||||
evo_signer_decentral_solution_contactidyominame: String
|
||||
evo_smb_category: Int
|
||||
evo_smb_issue_date: DateTime
|
||||
evo_solution_archive_date: DateTime
|
||||
evo_solution_number: String
|
||||
evo_special_accounting: Int
|
||||
evo_start_create_storage: Boolean
|
||||
evo_state_actuality_date: DateTime
|
||||
@ -2466,6 +2481,7 @@ type quote {
|
||||
evo_accept_control_addproduct_typeidData: evo_addproduct_type
|
||||
evo_accept_control_addproduct_typeidname: String
|
||||
evo_accept_graph_type: Int
|
||||
evo_accept_limit_quote: Boolean
|
||||
evo_accept_param: [Int!]
|
||||
evo_accept_period: Int
|
||||
evo_accept_quoteid: Uuid
|
||||
@ -2683,9 +2699,12 @@ type quote {
|
||||
evo_irr_final: Decimal
|
||||
evo_irr_msfo_final: Decimal
|
||||
evo_irr_msfo_final2: Decimal
|
||||
evo_irr_msfo_no_bonus: Decimal
|
||||
evo_kasko_accountid: Uuid
|
||||
evo_kasko_accountidname: String
|
||||
evo_kasko_accountidyominame: String
|
||||
evo_kasko_insurance_rulesid: Uuid
|
||||
evo_kasko_insurance_rulesidname: String
|
||||
evo_kasko_payer: Int
|
||||
evo_kasko_price: Decimal
|
||||
evo_kasko_price_leasperiod: Decimal
|
||||
@ -2755,6 +2774,8 @@ type quote {
|
||||
evo_osago_accountid: Uuid
|
||||
evo_osago_accountidname: String
|
||||
evo_osago_accountidyominame: String
|
||||
evo_osago_insurance_rulesid: Uuid
|
||||
evo_osago_insurance_rulesidname: String
|
||||
evo_osago_payer: Int
|
||||
evo_osago_price: Decimal
|
||||
evo_passport_type: Int
|
||||
@ -4791,6 +4812,7 @@ type evo_planpayment {
|
||||
evo_graphidname: String
|
||||
evo_name: String
|
||||
evo_nds: Decimal
|
||||
evo_ni: Decimal
|
||||
evo_nsib_brutto: Decimal
|
||||
evo_nsib_expenses: Decimal
|
||||
evo_nsib_revenue: Decimal
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -16,6 +16,7 @@ export async function getKPData({ quote }: GetQuoteInputData): Promise<GetQuoteP
|
||||
quoteName: quote?.evo_contact_name ?? defaultValues.quoteName,
|
||||
quotePriceWithFullVAT: quote?.evo_full_nds_price ?? defaultValues.quotePriceWithFullVAT,
|
||||
quoteRedemptionGraph: quote?.evo_redemption_graph ?? defaultValues.quoteRedemptionGraph,
|
||||
quoteShowAcceptLimit: quote?.evo_accept_limit_quote ?? defaultValues.quoteShowAcceptLimit,
|
||||
registrationQuote: quote?.evo_registration_quote ?? defaultValues.registrationQuote,
|
||||
showFinGAP: quote?.evo_fingap_quote ?? defaultValues.showFinGAP,
|
||||
technicalCardQuote: quote?.evo_card_quote ?? defaultValues.technicalCardQuote,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user