Skip to content

Commit

Permalink
fixed typos errors
Browse files Browse the repository at this point in the history
- updated typos to 1.20.0
  • Loading branch information
introkun committed Apr 2, 2024
1 parent 6e4f24e commit b309d32
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 31 deletions.
7 changes: 6 additions & 1 deletion .typos.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
[files]
extend-exclude = ["**/bundle.js", "**/bundle.js.map"]
extend-exclude = ["**/bundle.js", "**/bundle.js.map"]

[default]
extend-ignore-identifiers-re = [
"zUfuhFKKZCbHTY6aRR46gxiqszMk5tcHjsVFxnUo8VMus4kHGVdIYVbOYYNlKmHV",
]
5 changes: 2 additions & 3 deletions backend/views/core/invoices/edit.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ def invoice_get_existing_data(invoice_obj):
"from_country": invoice_obj.self_country,
"from_date_issued": invoice_obj.date_issued,
"from_date_due": invoice_obj.date_due,
"invoice_object": invoice_obj,
"og_issue_date": invoice_obj.date_issued,
"og_due_date": invoice_obj.date_due,
"issue_date": invoice_obj.date_issued,
"due_date": invoice_obj.date_due,
"invoice_object": invoice_obj,
"currency_symbol": invoice_obj.get_currency_symbol(),
"rows": invoice_obj.items.all(),
Expand Down
4 changes: 2 additions & 2 deletions frontend/templates/pages/invoices/edit/edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ <h3 class="text-sm text-natural font-semibold hidden lg:block text-end me-6">To<
id="dateIssued"
name="date_issued"
placeholder=""
value="{{ og_issue_date | date:"Y-m-d" }}"
value="{{ issue_date | date:"Y-m-d" }}"
type="date"
class="peer input input-bordered input-block">
<label class="label peer-[&amp;:not(:placeholder-shown):not(:focus):invalid]:block hidden ">
Expand All @@ -52,7 +52,7 @@ <h3 class="text-sm text-natural font-semibold hidden lg:block text-end me-6">To<
placeholder=""
type="date"
class="peer input-bordered input input-block"
value="{{ og_due_date | date:"Y-m-d" }}">
value="{{ due_date | date:"Y-m-d" }}">
<label class="label peer-[&amp;:not(:placeholder-shown):not(:focus):invalid]:block hidden ">
<span class="label-text-alt text-error">Please enter a valid date.</span>
</label>
Expand Down
Loading

0 comments on commit b309d32

Please sign in to comment.