some changes - in pos - v1
This commit is contained in:
@@ -7,7 +7,7 @@ ENV_NAME=DEV
|
|||||||
# Database secrets
|
# Database secrets
|
||||||
DB_HOST=31.7.78.133
|
DB_HOST=31.7.78.133
|
||||||
DB_PORT=14352
|
DB_PORT=14352
|
||||||
DB_NAME=Development
|
DB_NAME=Production
|
||||||
DB_USERNAME=postgres
|
DB_USERNAME=postgres
|
||||||
DB_PASSWORD=pfLIVXupbDetvFMt2gUvxLXUL9b4HIOHaPcKXsBEZ1i8zl0iLUjmhUfXlGfJKcTV
|
DB_PASSWORD=pfLIVXupbDetvFMt2gUvxLXUL9b4HIOHaPcKXsBEZ1i8zl0iLUjmhUfXlGfJKcTV
|
||||||
|
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ def quota_pricing_items_by_type(quota: Quota, sharing: list) -> typing.Any:
|
|||||||
items = (
|
items = (
|
||||||
QuotaPriceCalculationItems.objects.filter(quota=quota).select_related(
|
QuotaPriceCalculationItems.objects.filter(quota=quota).select_related(
|
||||||
"pricing_type"
|
"pricing_type"
|
||||||
).values(
|
).order_by("id").values(
|
||||||
"pricing_type_id",
|
"pricing_type_id",
|
||||||
"pricing_type__en_name",
|
"pricing_type__en_name",
|
||||||
"pricing_type__name",
|
"pricing_type__name",
|
||||||
|
|||||||
Reference in New Issue
Block a user