Skip to content

Commit

Permalink
fix pipfile
Browse files Browse the repository at this point in the history
  • Loading branch information
daxaxelrod committed Oct 29, 2023
1 parent b556829 commit bdb760e
Show file tree
Hide file tree
Showing 6 changed files with 63 additions and 19 deletions.
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name = "pypi"

[packages]
django-environ = "*"
django = "*"
django = "==4.2.6"
djangorestframework = "*"
django-cors-headers = "*"
dr-cli = "*"
Expand Down
31 changes: 17 additions & 14 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions frontend/src/app/components/home/EducationalLeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,9 @@ export default function EducationalLeader() {
paddingRight: isMobile ? "1rem" : 0,
}}
>
Open Insure lets you self-insure your personal property
on a modern web platform
Open Insure makes it easy for you to{" "}
<strong>self-insure</strong> your personal property on a
modern web platform
</Paragraph>
<div
style={{
Expand Down
7 changes: 5 additions & 2 deletions frontend/src/app/components/onboarding/LoginForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export default function LoginForm() {
]}
>
<Input
placeholder="email"
placeholder="Edward@lloyds.com"
type={"email"}
autoComplete="email"
/>
Expand All @@ -85,7 +85,10 @@ export default function LoginForm() {
{ required: true, message: "Please input your password!" },
]}
>
<Input.Password autoComplete="current-password" />
<Input.Password
autoComplete="current-password"
placeholder="******"
/>
</Form.Item>

<Form.Item
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Generated by Django 5.0b1 on 2023-10-29 17:49

from django.db import migrations, models


class Migration(migrations.Migration):
dependencies = [
("policies", "0059_alter_policyrisksettings_conservative_factor"),
]

operations = [
migrations.AddField(
model_name="risk",
name="is_premium_amount_overridden",
field=models.BooleanField(
default=False,
help_text="If true, the premium amount was overridden by the escrow agent",
),
),
migrations.AddField(
model_name="risk",
name="premium_amount_overridden_on",
field=models.DateTimeField(
blank=True,
help_text="When the escrow agent overrode the premium",
null=True,
),
),
]
8 changes: 8 additions & 0 deletions policies/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,14 @@ class Risk(models.Model):
validators=[MinValueValidator(100)], help_text="in cents", null=True, blank=True
)

is_premium_amount_overridden = models.BooleanField(
default=False,
help_text="If true, the premium amount was overridden by the escrow agent",
)
premium_amount_overridden_on = models.DateTimeField(
null=True, blank=True, help_text="When the escrow agent overrode the premium"
)

# the details of the underlying asset, see risk -> models.py
underlying_insured_type = models.CharField(
choices=UNDERLYING_INSURED_TYPE, max_length=32, null=True, blank=True
Expand Down

0 comments on commit bdb760e

Please sign in to comment.