instant_quote 1.3.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 40981c76f383ff34163f212e6b9f32a58d2281426ee40fc872b1f38102e24754
|
|
4
|
+
data.tar.gz: 227f3b25eec82494a383ad796f09b0dda5ad9b1472d93c1ba6e2728855529c59
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 860eb841f3405a3bf62c614551d0f663de38451956321ca2998d790381a365f42067f85d48bc32c90a689ed579e69d9167dbe32d9f2220292ad79a119227d730
|
|
7
|
+
data.tar.gz: f767ccde890f42dfc727e230c0fc02479d81bcf0e911a1b00d33e12ac7679edd244cfe41be7e6dc7c5ad292796dae85379962b5b0643b1aa646817c19499ec14
|
data/Gemfile.lock
CHANGED
|
@@ -38,27 +38,28 @@ module InstantQuote
|
|
|
38
38
|
if: ->(app) { app.borrower_organisation.sole_trader? }
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
|
-
name: '
|
|
42
|
-
label: '
|
|
41
|
+
name: 'turnover_percentage_after_feb_2020',
|
|
42
|
+
label: 'When compared to before COVID-19, what is your current turnover level?',
|
|
43
43
|
required: true,
|
|
44
44
|
choices: {
|
|
45
|
-
'
|
|
46
|
-
'
|
|
45
|
+
'Greater than before (>100%)' => 'GreaterThanHundredPercentage',
|
|
46
|
+
'Marginally reduced (80-100%)' => 'LessThanOrEqualToHunderdPercentage',
|
|
47
|
+
'Reduced (60-79%)' => 'LessThanSeventyNinePercentage',
|
|
48
|
+
'Halved (40-59%)' => 'LessThanFiftyNinePercentage',
|
|
49
|
+
'Less than half (20-39%)' => 'LessThanThirtyNinePercentage',
|
|
50
|
+
'Severely reduced or no turnover (<20%)' => 'LessThanTwentyPercentage'
|
|
47
51
|
},
|
|
48
|
-
type: '
|
|
52
|
+
type: 'select'
|
|
49
53
|
},
|
|
50
54
|
{
|
|
51
|
-
name: '
|
|
52
|
-
label: '
|
|
55
|
+
name: 'preferred_monthly_repayment_option',
|
|
56
|
+
label: 'What is your preferred monthly repayment option?',
|
|
53
57
|
required: true,
|
|
54
|
-
choices:
|
|
55
|
-
'
|
|
56
|
-
'
|
|
57
|
-
'
|
|
58
|
-
|
|
59
|
-
'Less than half (20-39%)' => '20-39%',
|
|
60
|
-
'Severely reduced or no turnover (<20%)' => '<20%'
|
|
61
|
-
},
|
|
58
|
+
choices: [
|
|
59
|
+
'Minimum Amount Required',
|
|
60
|
+
'Full Balance',
|
|
61
|
+
'Fixed Amount'
|
|
62
|
+
],
|
|
62
63
|
type: 'select'
|
|
63
64
|
},
|
|
64
65
|
{
|
|
@@ -152,7 +152,7 @@ module InstantQuote
|
|
|
152
152
|
def additional_questions
|
|
153
153
|
[
|
|
154
154
|
loan_purpose_question,
|
|
155
|
-
|
|
155
|
+
preferred_monthly_repayment_option_question,
|
|
156
156
|
turnover_percentage_question
|
|
157
157
|
]
|
|
158
158
|
end
|
|
@@ -165,8 +165,8 @@ module InstantQuote
|
|
|
165
165
|
}
|
|
166
166
|
end
|
|
167
167
|
|
|
168
|
-
def
|
|
169
|
-
question_from_extra_info('
|
|
168
|
+
def preferred_monthly_repayment_option_question
|
|
169
|
+
question_from_extra_info('preferred_monthly_repayment_option', '17')
|
|
170
170
|
end
|
|
171
171
|
|
|
172
172
|
def turnover_percentage_question
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: instant_quote
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- rikas
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-09-
|
|
11
|
+
date: 2020-09-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|