From bc2453f53eb1235b14d59487fa190739d5b135ac Mon Sep 17 00:00:00 2001 From: Mohammad Date: Mon, 21 Sep 2026 14:54:03 +0330 Subject: [PATCH] fix(kardex): remove invalid backslashes from f-string --- hesabixAPI/adapters/api/v1/kardex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hesabixAPI/adapters/api/v1/kardex.py b/hesabixAPI/adapters/api/v1/kardex.py index 57fc1aae..557961c5 100755 --- a/hesabixAPI/adapters/api/v1/kardex.py +++ b/hesabixAPI/adapters/api/v1/kardex.py @@ -846,7 +846,7 @@ async def export_kardex_pdf_endpoint(

{'گزارش کاردکس' if is_fa else 'Kardex Report'}

{( "
" + - "".join([f"{escape(str(f.get('label')))}: {escape(str(f.get('value')))}" for f in (filters_summary or [])]) + + "".join([f'''{escape(str(f.get('label')))}: {escape(str(f.get('value')))}''' for f in (filters_summary or [])]) + "
" ) if filters_summary else ""} -- 2.43.0