Skip to content

Commit

Permalink
Merge pull request #286 from RitvikSardana/currency-fix
Browse files Browse the repository at this point in the history
fix: return currency if no symbol found
  • Loading branch information
RitvikSardana authored Oct 10, 2024
2 parents d57e799 + 4f1b81b commit a876675
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion education/education/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ def get_student_invoices(student):


def get_currency_symbol(currency):
return frappe.db.get_value("Currency", currency, "symbol")
return frappe.db.get_value("Currency", currency, "symbol") or currency


def get_posting_date_from_payment_entry_against_sales_invoice(sales_invoice):
Expand Down

0 comments on commit a876675

Please sign in to comment.