diff --git a/odex25_takaful/odex_takaful/models/donation_extension_history.py b/odex25_takaful/odex_takaful/models/donation_extension_history.py index bb7db0dfe..aaa147383 100644 --- a/odex25_takaful/odex_takaful/models/donation_extension_history.py +++ b/odex25_takaful/odex_takaful/models/donation_extension_history.py @@ -134,8 +134,7 @@ class DonationExtensionHistory(models.Model): base_url = self.env['ir.config_parameter'].sudo().get_param('web.base.url', '') for rec in self: if rec.id: - # Use public route /sponsorship/html/ for public access - rec.receipt_url = "%s/sponsorship/html/odex_takaful.report_extension_receipt_document/%s" % ( + rec.receipt_url = "%s/sponsorship/pdf/odex_takaful.report_extension_receipt_document/%s" % ( base_url, rec.id ) else: diff --git a/odex25_takaful/odex_takaful/reports/extension_receipt_report.xml b/odex25_takaful/odex_takaful/reports/extension_receipt_report.xml index bef828bab..94f03b187 100644 --- a/odex25_takaful/odex_takaful/reports/extension_receipt_report.xml +++ b/odex25_takaful/odex_takaful/reports/extension_receipt_report.xml @@ -30,20 +30,20 @@ alt="ﷺ"/>
في الجنة. -
+
ونتشرف دائما باستقبال عطائك المستمر لدعم أبنائكم الأيتام.
-
+
رقم الكفالة:
-
+
تاريخ التجديد: - + @@ -99,10 +99,10 @@ - ر.س + ر.س - ر.س + ر.س @@ -123,10 +123,10 @@ - ر.س + ر.س - ر.س + ر.س @@ -164,10 +164,10 @@ - ر.س + ر.س - ر.س + ر.س @@ -181,10 +181,10 @@ - ر.س + ر.س - ر.س + ر.س diff --git a/odex25_takaful/odex_takaful/reports/sponsorship_receipt_report.xml b/odex25_takaful/odex_takaful/reports/sponsorship_receipt_report.xml index aa8622009..d5f00a3ab 100644 --- a/odex25_takaful/odex_takaful/reports/sponsorship_receipt_report.xml +++ b/odex25_takaful/odex_takaful/reports/sponsorship_receipt_report.xml @@ -60,7 +60,7 @@
-
+
رقم الكفالة: @@ -69,9 +69,9 @@
-
+
التاريخ: - + @@ -155,10 +155,10 @@ - ر.س + ر.س - ر.س + ر.س @@ -182,10 +182,10 @@ - ر.س + ر.س - ر.س + ر.س @@ -232,10 +232,10 @@ - ر.س + ر.س - ر.س + ر.س @@ -250,10 +250,10 @@ - ر.س + ر.س - ر.س + ر.س