diff --git a/odex25_takaful/odex_takaful/__manifest__.py b/odex25_takaful/odex_takaful/__manifest__.py index 90e42af61..02e5501be 100644 --- a/odex25_takaful/odex_takaful/__manifest__.py +++ b/odex25_takaful/odex_takaful/__manifest__.py @@ -58,6 +58,8 @@ 'views/reports_actions.xml', 'reports/month_payment_template.xml', 'reports/sponsorship_receipt_report.xml', + 'reports/orphan_mother_report.xml', + 'reports/orphan_report.xml', 'wizards/takaful_reports_wizards.xml', 'wizards/refund_payment_wizard.xml', 'wizards/add_details_wizard.xml', diff --git a/odex25_takaful/odex_takaful/reports/orphan_mother_report.xml b/odex25_takaful/odex_takaful/reports/orphan_mother_report.xml new file mode 100644 index 000000000..8eb3d9010 --- /dev/null +++ b/odex25_takaful/odex_takaful/reports/orphan_mother_report.xml @@ -0,0 +1,335 @@ + + + + + + Orphan Mother Report Paper + + A4 + Landscape + 0 + 0 + 0 + 0 + 0 + + + + + + + + Orphan Mother Report + takaful.sponsorship + qweb-pdf + odex_takaful.report_orphan_mother_document + odex_takaful.report_orphan_mother_document + + (object.code and ('Orphan Mother Report - %s' % (object.code,))) or 'Orphan Mother Report' + + + + + + diff --git a/odex25_takaful/odex_takaful/reports/orphan_report.xml b/odex25_takaful/odex_takaful/reports/orphan_report.xml new file mode 100644 index 000000000..559834b77 --- /dev/null +++ b/odex25_takaful/odex_takaful/reports/orphan_report.xml @@ -0,0 +1,336 @@ + + + + + + Orphan Report Paper + + A4 + Landscape + 0 + 0 + 0 + 0 + 0 + + + + + + + + Orphan Report + takaful.sponsorship + qweb-pdf + odex_takaful.report_orphan_document + odex_takaful.report_orphan_document + + (object.code and ('Orphan Report - %s' % (object.code,))) or 'Orphan Report' + + + + + + diff --git a/odex25_takaful/odex_takaful/static/src/fonts/Cairo-Bold.ttf b/odex25_takaful/odex_takaful/static/src/fonts/Cairo-Bold.ttf new file mode 100644 index 000000000..6b851bd65 Binary files /dev/null and b/odex25_takaful/odex_takaful/static/src/fonts/Cairo-Bold.ttf differ diff --git a/odex25_takaful/odex_takaful/static/src/fonts/Cairo-Regular.ttf b/odex25_takaful/odex_takaful/static/src/fonts/Cairo-Regular.ttf new file mode 100644 index 000000000..d64275177 Binary files /dev/null and b/odex25_takaful/odex_takaful/static/src/fonts/Cairo-Regular.ttf differ diff --git a/odex25_takaful/odex_takaful/static/src/fonts/Cairo-SemiBold.ttf b/odex25_takaful/odex_takaful/static/src/fonts/Cairo-SemiBold.ttf new file mode 100644 index 000000000..57fe37982 Binary files /dev/null and b/odex25_takaful/odex_takaful/static/src/fonts/Cairo-SemiBold.ttf differ diff --git a/odex25_takaful/odex_takaful/static/src/img/ensan-logo.png b/odex25_takaful/odex_takaful/static/src/img/ensan-logo.png new file mode 100644 index 000000000..12262268f Binary files /dev/null and b/odex25_takaful/odex_takaful/static/src/img/ensan-logo.png differ diff --git a/odex25_takaful/odex_takaful/static/src/scss/orphan-fonts.scss b/odex25_takaful/odex_takaful/static/src/scss/orphan-fonts.scss new file mode 100644 index 000000000..57a043858 --- /dev/null +++ b/odex25_takaful/odex_takaful/static/src/scss/orphan-fonts.scss @@ -0,0 +1,24 @@ +@font-face { + font-family: 'Cairo'; + src: url('fonts/Cairo-Regular.ttf') format('truetype'); + font-weight: 400; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'Cairo'; + src: url('fonts/Cairo-SemiBold.ttf') format('truetype'); + font-weight: 600; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'Cairo'; + src: url('fonts/Cairo-Bold.ttf') format('truetype'); + font-weight: 700; + font-style: normal; + font-display: swap; +} + diff --git a/odex25_takaful/odex_takaful/views/assets.xml b/odex25_takaful/odex_takaful/views/assets.xml index 9c3de7b04..4a7335f93 100644 --- a/odex25_takaful/odex_takaful/views/assets.xml +++ b/odex25_takaful/odex_takaful/views/assets.xml @@ -5,6 +5,7 @@ +