Skip to content

Commit

Permalink
Merge pull request resilient-tech#3012 from vorasmit/perf-str
Browse files Browse the repository at this point in the history
  • Loading branch information
vorasmit authored Feb 3, 2025
2 parents a3354d4 + ac443c6 commit f1fd7e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
</style>

{% set data = _dict(json.loads(doc.data)) %}
{%- set irn = frappe.db.get_value("Sales Invoice", {"ewaybill": data.ewbNo}, "irn") -%}
{%- set irn = frappe.db.get_value("Sales Invoice", {"ewaybill": data.ewbNo|string}, "irn") -%}

{% if data.supplyType == "O" %}
{% set generated_by = data.fromTrdName %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
</style>

{% set data = _dict(json.loads(doc.data)) %}
{%- set irn = frappe.db.get_value("Sales Invoice", {"ewaybill": data.ewbNo}, "irn") -%}
{%- set irn = frappe.db.get_value("Sales Invoice", {"ewaybill": data.ewbNo|string}, "irn") -%}

{% if data.supplyType == "O" %}
{% set generated_by = data.fromTrdName %}
Expand Down

0 comments on commit f1fd7e3

Please sign in to comment.