-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(template): fix template rendering and optimize queries
- Loading branch information
1 parent
be6fe1c
commit 2190343
Showing
9 changed files
with
200 additions
and
82 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Generated by Django 5.1.2 on 2024-10-17 11:46 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("sage_invoice", "0002_alter_invoice_template_choice"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="item", | ||
name="quantity", | ||
field=models.PositiveIntegerField( | ||
blank=True, | ||
db_comment="The quantity of the invoice item", | ||
help_text="The quantity of the item.", | ||
null=True, | ||
verbose_name="Quantity", | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Generated by Django 5.1.2 on 2024-10-17 13:00 | ||
|
||
import django.db.models.deletion | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("sage_invoice", "0003_alter_item_quantity"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="expense", | ||
name="invoice", | ||
field=models.OneToOneField( | ||
db_comment="Reference to the associated invoice", | ||
help_text="The invoice associated with this total.", | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="expense", | ||
to="sage_invoice.invoice", | ||
verbose_name="Invoice", | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.