diff --git a/odex25_takaful/odex_takaful/__manifest__.py b/odex25_takaful/odex_takaful/__manifest__.py
index 687afb097..bd4bfad53 100644
--- a/odex25_takaful/odex_takaful/__manifest__.py
+++ b/odex25_takaful/odex_takaful/__manifest__.py
@@ -18,6 +18,7 @@
# 'analytic_account',
],
'data': [
+ 'data/payment_methods_ar.xml',
'security/security_data.xml',
'security/ir.model.access.csv',
@@ -90,6 +91,9 @@
'reports/transfer_deduction_report.xml',
'reports/transfer_deduction_report_templates.xml',
],
+ 'qweb': [
+ 'static/src/xml/takaful_dashboard.xml',
+ ],
'icon': 'static/description/icon.png',
# 'installable': True,
# 'application': True,
diff --git a/odex25_takaful/odex_takaful/data/payment_methods_ar.xml b/odex25_takaful/odex_takaful/data/payment_methods_ar.xml
new file mode 100644
index 000000000..f1e87fcb6
--- /dev/null
+++ b/odex25_takaful/odex_takaful/data/payment_methods_ar.xml
@@ -0,0 +1,36 @@
+
+
Dear ${object.sponsor_id.name},
\n" -"Your refund request has been confirmed.
\n" -"Amount: ${object.total_sponsorship_amount} ${object.currency_id.name}
\n" -"Reason: ${object.cancel_record_id.cancel_reason.name}
\n" -"\n" -" Link:\n" -" \n" -" Open Sponsorship Receipt\n" -" \n" -"
\n" -"Thank you for your support.
\n" -"Best regards,
\n"
-" ${user.company_id.name}
Dear ${object.sponsor_id.name},
\n" -"Your sponsorship request has been confirmed.
\n" -"Amount: ${object.total_sponsorship_amount} ${object.currency_id.name}
\n" -"\n" -" Link:\n" -" \n" -" Open Sponsorship Receipt\n" -" \n" -"
\n" -"Thank you for your support.
\n" -"Best regards,
\n"
-" ${user.company_id.name}
\n" -" Dear ${ctx.get('partner_name')},\n" -"
\n" -" \n" -"\n" -" ${ctx.get('body')}\n" -"
\n" -"\n" -"\n" -" Thank you,\n" -"
\n" -"\n" -"\n" -" From ${ctx.get('company_name')}.\n" -"
\n" -" " -msgstr "" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" +"X-Generator: Odoo Transifex\n" #. module: odex_takaful #: code:addons/odex_takaful/models/takaful_month_payment.py:0 #, python-format msgid " No benefits for pay" -msgstr "لا توجد مستحقات للدفع" +msgstr " لا توجد مستحقات للدفع" #. module: odex_takaful #: code:addons/odex_takaful/models/takaful_sponorship_model.py:0 @@ -128,14 +31,6 @@ msgstr "يرجى تعيين اليومية في تفاصيل الدفع" msgid " Please set donor's payable and receivable accounts first " msgstr "يرجى تحديد حسابات الدفع والقبض أولا" -#. module: odex_takaful -#: code:addons/odex_takaful/models/takaful_sponorship_model.py:0 -#: code:addons/odex_takaful/models/takaful_sponorship_model.py:0 -#, python-format -msgid "" -" Please set income journal in settings (kafala_journal_id Payment Journal)" -msgstr "يرجى ضبط دفتر الإيراد في الإعدادات" - #. module: odex_takaful #: code:addons/odex_takaful/models/takaful_sponorship_model.py:0 #, python-format @@ -195,46 +90,39 @@ msgstr "عدد الكفالات" #: model:mail.template,report_name:odex_takaful.email_template_esterdad_confirmation20 #: model:mail.template,report_name:odex_takaful.email_template_sponsorship_confirmation10 msgid "${(object.name or '').replace('/','_')}" -msgstr "" +msgstr "${(object.name or '').replace('/','_')}" #. module: odex_takaful #: model:mail.template,subject:odex_takaful.push_notification_email_template msgid "${ctx.get('company_name')} - ${ctx.get('title')}" -msgstr "" +msgstr "${ctx.get('company_name')} - ${ctx.get('title')}" #. module: odex_takaful #: model:ir.model.fields.selection,name:odex_takaful.selection__donations_details_lines__age_category__16 msgid "+16" -msgstr "" +msgstr "+16" #. module: odex_takaful #: model:ir.model.fields.selection,name:odex_takaful.selection__donations_details_lines__age_category__18 msgid "+18" -msgstr "" +msgstr "+18" #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.view_account_payment_register_form msgid "0.00" -msgstr "" +msgstr "0.00" #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsorship_form #: model_terms:ir.ui.view,arch_db:odex_takaful.view_takaful_sponsor_form msgid "05xxxxxxxx" -msgstr "" - -#. module: odex_takaful -#: code:addons/odex_takaful/wizards/replace_sponsor_wizard.py:0 -#, python-format -msgid "" -"Sponsor Replacement\n" -" Create a new donation\n" -"
" -msgstr "" +#: model_terms:ir.ui.view,arch_db:odex_takaful.report_extension_receipt_document +#: model_terms:ir.ui.view,arch_db:odex_takaful.report_sponsorship_receipt_document +msgid "ر.س" +msgstr "ر.س" #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsorship_payment_form msgid " Months" -msgstr "" +msgstr " أشهر" #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_settings_view2 msgid "Day" -msgstr "" +msgstr "يوم" #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_settings_view2 msgid "Hours" msgstr "الساعات" -#. module: odex_takaful -#: model_terms:ir.ui.view,arch_db:odex_takaful.family_member_kanban_kafala_inherit -msgid "" -"\n" -" مكفول\n" -" " -msgstr "" - -#. module: odex_takaful -#: model_terms:ir.ui.view,arch_db:odex_takaful.family_member_kanban_kafala_inherit -msgid "" -"\n" -" غير مكفول\n" -" " -msgstr "" - -#. module: odex_takaful -#: model_terms:ir.ui.view,arch_db:odex_takaful.report_sponsorship_receipt_document -msgid "" -"\n" -" ملغي\n" -" " -msgstr "" - -#. module: odex_takaful -#: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document -msgid "" -"ما بين الصفوف الدراسية، والهوايات الصغيرة والأمنيات " -"البسيطة، نرفق لكم تقرير مفصل عن اليتيم المكفول:" -msgstr "" - #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.report_sponsorship_receipt_document msgid "التاريخ: " -msgstr "" +msgstr "التاريخ: " + +#. module: odex_takaful +#: model_terms:ir.ui.view,arch_db:odex_takaful.report_extension_receipt_document +msgid "تاريخ التجديد: " +msgstr "تاريخ التجديد: " #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.report_sponsorship_receipt_document msgid "رقم السند: " -msgstr "" +msgstr "رقم السند: " #. module: odex_takaful +#: model_terms:ir.ui.view,arch_db:odex_takaful.report_extension_receipt_document #: model_terms:ir.ui.view,arch_db:odex_takaful.report_sponsorship_receipt_document msgid "رقم الكفالة: " -msgstr "" +msgstr "رقم الكفالة: " #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.kafalat_payment_report_pdf @@ -415,17 +214,10 @@ msgid "Sponsorship Monthly Payments of Benefits :" msgstr "الدفعات الشهرية للكفالة للمستفيدين:" #. module: odex_takaful +#: model_terms:ir.ui.view,arch_db:odex_takaful.report_extension_receipt_document #: model_terms:ir.ui.view,arch_db:odex_takaful.report_sponsorship_receipt_document msgid "لا توجد دفعات" -msgstr "" - -#. module: odex_takaful -#: model_terms:ir.ui.view,arch_db:odex_takaful.report_sponsorship_receipt_document -msgid "" -"\n" -" الإجمالي:\n" -" " -msgstr "" +msgstr "لا توجد دفعات" #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.report_payment_voucher @@ -508,9 +300,10 @@ msgid "Start Date" msgstr "تاريخ البداية" #. module: odex_takaful +#: model_terms:ir.ui.view,arch_db:odex_takaful.report_extension_receipt_document #: model_terms:ir.ui.view,arch_db:odex_takaful.report_sponsorship_receipt_document msgid "المجموع:" -msgstr "" +msgstr "المجموع:" #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.report_transfer_deduction_document @@ -522,19 +315,11 @@ msgstr "المعايير المختارة" msgid "Sponsorship Details" msgstr "تفاصيل الكفالات" -#. module: odex_takaful -#: code:addons/odex_takaful/models/res_partner.py:0 -#, python-format -msgid "" -"A contact cannot be both Family/Beneficiary and Donor/Member/Sponsor at the " -"same time!" -msgstr "لا يمكن أن تكون جهة الاتصال أسرة/مستفيد ومتبرع/عضو/كافل في نفس الوقت!" - #. module: odex_takaful #: code:addons/odex_takaful/models/account_move.py:0 #, python-format msgid "A line of this move is using a deprecated account, you cannot post it." -msgstr "يستخدم أحد بنود هذه الحركة حساباً متوقفاً، لا يمكنك ترحيلها." +msgstr "أحد بنود هذا القيد يستخدم حساباً موقوفاً، لا يمكن ترحيله." #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_donations_items__account_id @@ -556,7 +341,7 @@ msgstr "رقم الحساب" #. module: odex_takaful #: model:ir.model,name:odex_takaful.model_account_payment msgid "Account Payment Inherit Model" -msgstr "نموذج توريث الدفعات" +msgstr "نموذج الدفع (معدل)" #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_payment_details_lines__account_payment_method @@ -564,6 +349,7 @@ msgid "Account Payment Method" msgstr "طريقة الدفع المرتبطة بالحاب" #. module: odex_takaful +#: model:ir.model.fields,field_description:odex_takaful.field_donation_extension_history__message_needaction #: model:ir.model.fields,field_description:odex_takaful.field_donations_details_lines__message_needaction #: model:ir.model.fields,field_description:odex_takaful.field_month_payment__message_needaction #: model:ir.model.fields,field_description:odex_takaful.field_replacement_process__message_needaction @@ -587,10 +373,16 @@ msgstr "إجراء الإرجاع" #: model:ir.model.fields.selection,name:odex_takaful.selection__donation_extension_history__state__active #: model:ir.model.fields.selection,name:odex_takaful.selection__donations_details_lines__state__active #: model:ir.model.fields.selection,name:odex_takaful.selection__res_partner__kafel_state__active +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_sponsorship_search #: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_view_search msgid "Active" msgstr "نشط" +#. module: odex_takaful +#: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsor_search_view +msgid "Active Sponsors" +msgstr "الكفلاء النشطون" + #. module: odex_takaful #: model:ir.actions.server,name:odex_takaful.action_active_sponsor_report #: model:ir.model.fields,field_description:odex_takaful.field_benefits_representative__active_counts @@ -650,10 +442,7 @@ msgid "Activity Type Icon" msgstr "أيقونة نوع النشاط" #. module: odex_takaful -#. openerp-web -#: code:addons/odex_takaful/static/src/js/donation_catalog_button.js:0 -#: model_terms:ir.ui.view,arch_db:odex_takaful.add_details_wizard_form -#, python-format +#: code:addons/odex_takaful/static/src/xml/takaful_dashboard.xml:0 msgid "Add" msgstr "إضافة" @@ -696,6 +485,11 @@ msgstr "طريقة الدفع" msgid "Add Payment Method" msgstr "طريقة الدفع" +#. module: odex_takaful +#: model_terms:ir.ui.view,arch_db:odex_takaful.product_template_view_kanban_odex_takaful +msgid "Add Product" +msgstr "إضافة منتج" + #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsorship_form msgid "Add a line" @@ -726,6 +520,7 @@ msgstr "بعد انتهاء تاريخ الكفالة" #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_donations_details_lines__age +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_sponsorship_tree msgid "Age" msgstr "العمر" @@ -781,6 +576,11 @@ msgstr "الكل" msgid "All Ages" msgstr "جميع الأعمار" +#. module: odex_takaful +#: code:addons/odex_takaful/static/src/xml/takaful_dashboard.xml:0 +msgid "All Sponsorships" +msgstr "كل الكفالات" + #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_esterdad_wizard__allowed_payment_ids msgid "Allowed Payments" @@ -799,6 +599,8 @@ msgstr "الدفعات المسموحة" #: model_terms:ir.ui.view,arch_db:odex_takaful.benefit_month_payment_share #: model_terms:ir.ui.view,arch_db:odex_takaful.benefit_payment_report_pdf #: model_terms:ir.ui.view,arch_db:odex_takaful.donation_extension_wizard_form +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_conditional_tree +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_unconditional_tree #: model_terms:ir.ui.view,arch_db:odex_takaful.report_transfer_deduction_document #: model_terms:ir.ui.view,arch_db:odex_takaful.view_esterdad_wizard_form #, python-format @@ -854,6 +656,7 @@ msgstr "تم التصديق" #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.payment_machine_view_search +#: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsor_search_view msgid "Archived" msgstr "مؤرشف" @@ -903,6 +706,7 @@ msgid "Association Journal" msgstr "حساب الجمعية" #. module: odex_takaful +#: model:ir.model.fields,field_description:odex_takaful.field_donation_extension_history__message_attachment_count #: model:ir.model.fields,field_description:odex_takaful.field_donations_details_lines__message_attachment_count #: model:ir.model.fields,field_description:odex_takaful.field_month_payment__message_attachment_count #: model:ir.model.fields,field_description:odex_takaful.field_replacement_process__message_attachment_count @@ -975,13 +779,6 @@ msgstr "اسم البنك" msgid "Bank Sheet" msgstr "ورقة البنك" -#. module: odex_takaful -#: model:ir.model.fields.selection,name:odex_takaful.selection__account_payment_register__payment_method__bank -#: model:ir.model.fields.selection,name:odex_takaful.selection__account_payment_register__takaful_payment_method__bank -#: model:ir.model.fields.selection,name:odex_takaful.selection__takaful_payment_method__payment_method__bank -msgid "Bank Transfer" -msgstr "تحويل بنكي" - #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_payment_details_lines__bank_transfer_amount msgid "Bank Transfer Amount" @@ -1066,6 +863,11 @@ msgstr "نوع المستفيدين في الشهادة" msgid "Beneficiary" msgstr "المستفيد" +#. module: odex_takaful +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_conditional_tree +msgid "Beneficiary Family" +msgstr "الأسرة المستفيدة" + #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsorship_form msgid "Beneficiary Filters" @@ -1075,6 +877,7 @@ msgstr " حقول التصفية" #: model:ir.model.fields,field_description:odex_takaful.field_add_benefit_wizard__benefit_id #: model:ir.model.fields,field_description:odex_takaful.field_donations_details_lines__benefit_id #: model:ir.model.fields,field_description:odex_takaful.field_takaful_sponsorship__benefit_id +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_sponsorship_tree msgid "Beneficiary Name" msgstr "اسم المستفيد" @@ -1286,7 +1089,9 @@ msgstr "كلاهما" #: model:ir.model.fields,field_description:odex_takaful.field_res_partner__branch_custom_id #: model:ir.model.fields,field_description:odex_takaful.field_res_users__branch_custom_id #: model:ir.model.fields,field_description:odex_takaful.field_takaful_sponsorship__branch_custom_id +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_sponsorship_search #: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_view_search +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_unconditional_search #: model_terms:ir.ui.view,arch_db:odex_takaful.payment_machine_view_search msgid "Branch" msgstr "الفرع" @@ -1299,12 +1104,12 @@ msgstr "الفرع واليومية" #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_donations_details_lines__branch_custom_id msgid "Branch Custom" -msgstr "فرع مخصص" +msgstr "الفرع" #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_donations_details_lines__branch_group_id msgid "Branch Group" -msgstr "مجموعة الفروع" +msgstr "الفروع" #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_takaful_sponsorship__manager_id @@ -1492,31 +1297,6 @@ msgstr "مستردة" msgid "Cancelled By" msgstr "تم الإلغاء بواسطة" -#. module: odex_takaful -#: code:addons/odex_takaful/models/takaful_sponorship_model.py:0 -#, python-format -msgid "" -"Cannot proceed with payment!\n" -"\n" -"The following sponsorship lines contain beneficiaries that are already sponsored by other sponsors:\n" -"Lines: %s\n" -"\n" -"Please choose different beneficiaries for these lines before proceeding with the payment." -msgstr "" -"لا يمكن المتابعة في الدفع!\n" -"\n" -"البنود التالية تحتوي على مستفيدين مكفولين بالفعل من كفلاء آخرين:\n" -"البنود: %s\n" -"\n" -"يرجى اختيار مستفيدين آخرين لهذه البنود قبل المتابعة في الدفع." - -#. module: odex_takaful -#: model:ir.model.fields.selection,name:odex_takaful.selection__account_payment_register__payment_method__cash -#: model:ir.model.fields.selection,name:odex_takaful.selection__account_payment_register__takaful_payment_method__cash -#: model:ir.model.fields.selection,name:odex_takaful.selection__takaful_payment_method__payment_method__cash -msgid "Cash" -msgstr "نقدي" - #. module: odex_takaful #: code:addons/odex_takaful/wizards/transfer_deduction_wizard.py:0 #: model_terms:ir.ui.view,arch_db:odex_takaful.report_transfer_deduction_document @@ -1524,13 +1304,6 @@ msgstr "نقدي" msgid "Charity Bank" msgstr "بنك الجمعية" -#. module: odex_takaful -#: model:ir.model.fields.selection,name:odex_takaful.selection__account_payment_register__payment_method__check -#: model:ir.model.fields.selection,name:odex_takaful.selection__account_payment_register__takaful_payment_method__check -#: model:ir.model.fields.selection,name:odex_takaful.selection__takaful_payment_method__payment_method__check -msgid "Check" -msgstr "شيك" - #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_account_payment_register__check_due_date #: model:ir.model.fields,field_description:odex_takaful.field_extension_payment_wizard_line__check_due_date @@ -1567,6 +1340,11 @@ msgstr "Check Sponsorship End Date To Send Whatsapp Message to Sponsor" msgid "Choose Donation Items" msgstr "أختر بنود التبرع" +#. module: odex_takaful +#: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsor_search_view +msgid "City" +msgstr "المدينة" + #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_takaful_sponsorship__close_to_be_canceled_date msgid "Close To Cancel Date" @@ -1576,11 +1354,17 @@ msgstr "قريب من تاريخ الإلغاء" #: model:ir.model.fields.selection,name:odex_takaful.selection__donations_details_lines__state__closed #: model:ir.model.fields.selection,name:odex_takaful.selection__sponsorship_states__name__closed #: model:ir.model.fields.selection,name:odex_takaful.selection__takaful_sponsorship__state__closed +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_sponsorship_search #: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_view_search #: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsorship_view_search msgid "Closed" msgstr "مغلق" +#. module: odex_takaful +#: model_terms:ir.ui.view,arch_db:odex_takaful.view_takaful_sponsor_form +msgid "Closing Statement" +msgstr "العبارة الختامية" + #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_month_payment__code #: model:ir.model.fields,field_description:odex_takaful.field_month_payment_line__code @@ -1597,11 +1381,31 @@ msgstr "تعليق" msgid "Company" msgstr "الشركة" +#. module: odex_takaful +#: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsor_search_view +msgid "Company Type" +msgstr "نوع الشركة" + #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_view_form msgid "Compute Sponsorships" msgstr "احتساب الكفالات" +#. module: odex_takaful +#: code:addons/odex_takaful/static/src/xml/takaful_dashboard.xml:0 +msgid "Conditional Donations" +msgstr "تبرعات مشروطة" + +#. module: odex_takaful +#: model:ir.actions.act_window,name:odex_takaful.donations_conditional_action +msgid "Conditional Donations (Families)" +msgstr "تبرعات مشروطة (لأسر)" + +#. module: odex_takaful +#: model_terms:ir.actions.act_window,help:odex_takaful.donations_conditional_action +msgid "Conditional donations are donations directed to specific families" +msgstr "التبرعات المشروطة هي تبرعات موجهة لأسر محددة" + #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.kafalat_cancel_wizard_report_form #: model_terms:ir.ui.view,arch_db:odex_takaful.kafalat_payment_wizard_report_form @@ -1642,6 +1446,8 @@ msgstr "تأكيد الإستبدال" #: model:ir.model.fields.selection,name:odex_takaful.selection__donations_details_lines__state__confirmed #: model:ir.model.fields.selection,name:odex_takaful.selection__sponsorship_states__name__confirmed #: model:ir.model.fields.selection,name:odex_takaful.selection__takaful_sponsorship__state__confirmed +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_conditional_search +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_unconditional_search #: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsorship_view_search msgid "Confirmed" msgstr "مؤكد" @@ -1685,6 +1491,11 @@ msgstr "العدد" msgid "Create Date" msgstr "تاريخ الإنشاء" +#. module: odex_takaful +#: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsorship_form +msgid "Create Joint" +msgstr "إنشاء مشترك" + #. module: odex_takaful #: code:addons/odex_takaful/models/takaful_notification.py:0 #: model:ir.model.fields.selection,name:odex_takaful.selection__takaful_notification__notification_type__create_kafala @@ -1708,7 +1519,7 @@ msgstr "إنشاء جدول فواتير الكفالة" #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_takaful_sponsorship__create_uid msgid "Create Uid" -msgstr "معرف الإنشاء" +msgstr "المنشئ" #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_replacement_process__user_id @@ -1988,19 +1799,6 @@ msgstr "اسم القسم" msgid "Determine the display order" msgstr "تحديد ترتيب العرض" -#. module: odex_takaful -#: model:ir.model.fields,field_description:odex_takaful.field_account_payment__direct_debit -#: model:ir.model.fields,field_description:odex_takaful.field_donation_extension_wizard_line__direct_debit -#: model:ir.model.fields,field_description:odex_takaful.field_donations_details_lines__direct_debit -#: model:ir.model.fields,field_description:odex_takaful.field_sponsorship_scheduling_line__direct_debit -#: model:ir.model.fields.selection,name:odex_takaful.selection__account_payment_register__takaful_payment_method__direct_debit -#: model:ir.model.fields.selection,name:odex_takaful.selection__donations_details_lines__direct_debit_filter__direct -#: model:ir.model.fields.selection,name:odex_takaful.selection__takaful_payment_method__payment_method__direct_debit -#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_view_search -#: model_terms:ir.ui.view,arch_db:odex_takaful.view_sponsorship_scheduling_line_search -msgid "Direct Debit" -msgstr "إستقطاع" - #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_payment_details_lines__direct_debit_amount msgid "Direct Debit Amount" @@ -2118,23 +1916,6 @@ msgstr "الحي" msgid "Donate For Another Person" msgstr "التبرع لشخص آخر" -#. module: odex_takaful -#: model:ir.model.fields.selection,name:odex_takaful.selection__donation_replacement_log__record_type__donation -#: model:ir.model.fields.selection,name:odex_takaful.selection__donations_details_lines__donation_type__donation -#: model:ir.model.fields.selection,name:odex_takaful.selection__donations_details_lines__donation_types__donation -#: model:ir.model.fields.selection,name:odex_takaful.selection__donations_details_lines__record_type__donation -#: model:ir.model.fields.selection,name:odex_takaful.selection__donations_items__donation_type__donation -#: model:ir.model.fields.selection,name:odex_takaful.selection__donations_items__donation_types__donation -#: model:ir.model.fields.selection,name:odex_takaful.selection__product_template__donation_category__donation -#: model:ir.model.fields.selection,name:odex_takaful.selection__replace_benefit_wizard__record_type__donation -#: model:ir.model.fields.selection,name:odex_takaful.selection__replacement_process__record_type__donation -#: model:ir.model.fields.selection,name:odex_takaful.selection__replacement_wiz__record_type__donation -#: model:ir.model.fields.selection,name:odex_takaful.selection__takaful_sponsorship__record_type__donation -#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_view_search -#: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsorship_view_search -msgid "Donation" -msgstr "التبرع" - #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_donation_extension_wizard_line__donation_amount #: model:ir.model.fields,field_description:odex_takaful.field_donations_details_lines__donation_amount @@ -2159,6 +1940,8 @@ msgstr "فئة التبرع" #. module: odex_takaful #: code:addons/odex_takaful/wizards/transfer_deduction_wizard.py:0 #: model:ir.model.fields,field_description:odex_takaful.field_payment_details_lines__donation_date +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_conditional_tree +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_unconditional_tree #: model_terms:ir.ui.view,arch_db:odex_takaful.report_transfer_deduction_document #, python-format msgid "Donation Date" @@ -2226,6 +2009,8 @@ msgstr "معلومات التبرع" #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_donation_extension_history__product_template_id +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_conditional_tree +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_unconditional_tree msgid "Donation Item" msgstr "بند التبرع" @@ -2296,6 +2081,11 @@ msgstr "نوع التبرع" msgid "Donation has been extended for %s month(s)." msgstr "تم تمديد التبرع لمدة %s شهر(أشهر)." +#. module: odex_takaful +#: model:ir.ui.menu,name:odex_takaful.donations_main_menu +msgid "Donations" +msgstr "التبرعات" + #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_takaful_sponsorship__donations_count msgid "Donations Count" @@ -2304,9 +2094,8 @@ msgstr "عدد البنود" #. module: odex_takaful #: model:ir.actions.act_window,name:odex_takaful.donations_details_lines_action #: model:ir.model.fields,field_description:odex_takaful.field_takaful_sponsorship__donations_details_lines -#: model:ir.ui.menu,name:odex_takaful.donations_details_lines_app_menu msgid "Donations Details Lines" -msgstr "تفاصيل بنود التبرعات" +msgstr "بنود الكفالات" #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_takaful_sponsorship__donations_details_lines_mechanism_ids @@ -2316,22 +2105,12 @@ msgstr "التفاصيل" #. module: odex_takaful #: model:ir.actions.act_window,name:odex_takaful.donations_details_lines_replace_action msgid "Donations Details Lines Replacement" -msgstr "تفاصيل بنود التبرع للاستبدال" - -#. module: odex_takaful -#: model:ir.ui.menu,name:odex_takaful.donations_details_lines_to_replace_app_menu -msgid "Donations Details Lines To Replace Benefit" msgstr "مستفيدين بحاجة للاستبدال" -#. module: odex_takaful -#: model:ir.ui.menu,name:odex_takaful.donations_details_lines_waiting_app_menu -msgid "Donations Details Lines Waiting Benefit" -msgstr "كفلاء بحاجة لمستفيدين" - #. module: odex_takaful #: model:ir.actions.act_window,name:odex_takaful.donations_details_lines_waiting_action msgid "Donations Details Lines waiting" -msgstr "تفاصيل بنود التبرع في الانتظار" +msgstr "كفلاء بحاجة لمستفيدين" #. module: odex_takaful #: model:ir.actions.act_window,name:odex_takaful.donations_items_action @@ -2346,10 +2125,19 @@ msgstr "بنود التبرعات" msgid "Donations Officer" msgstr "موظف نقاط بيع" +#. module: odex_takaful +#: model:ir.ui.menu,name:odex_takaful.kafalat_main_menu +msgid "Donations POS" +msgstr "نقاط بيع التبرعات" + #. module: odex_takaful #: model:ir.model.fields.selection,name:odex_takaful.selection__takaful_sponsorship__registered_type__donor +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_conditional_search +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_conditional_tree +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_unconditional_search +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_unconditional_tree msgid "Donor" -msgstr "متبرع" +msgstr "المتبرع" #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.view_account_payment_register_form @@ -2370,6 +2158,8 @@ msgstr "بيانات المتبرع" #: model:ir.model.fields.selection,name:odex_takaful.selection__sponsorship_payment__state__draft #: model:ir.model.fields.selection,name:odex_takaful.selection__sponsorship_states__name__draft #: model:ir.model.fields.selection,name:odex_takaful.selection__takaful_sponsorship__state__draft +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_conditional_search +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_unconditional_search #: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsorship_view_search msgid "Draft" msgstr "مسودة" @@ -2443,6 +2233,7 @@ msgstr "البريد الإلكتروني" #. module: odex_takaful #: code:addons/odex_takaful/wizards/transfer_deduction_wizard.py:0 #: model:ir.model.fields,field_description:odex_takaful.field_transfer_deduction_wizard__end_date +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_sponsorship_search #: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_view_form #: model_terms:ir.ui.view,arch_db:odex_takaful.kafalat_payment_report_pdf #: model_terms:ir.ui.view,arch_db:odex_takaful.makfuleen_report_pdf @@ -2476,29 +2267,12 @@ msgstr "قيد الدفع" msgid "Enter a valid Saudi mobile number" msgstr "أدخل رقم جوال سعودي صحيح" -#. module: odex_takaful -#: model:ir.model.fields,help:odex_takaful.field_res_config_settings__twilio_from_whatsapp -msgid "" -"Enter a valid phone number including country code. Example: +14155238886" -msgstr "أدخل رقم هاتف صحيح يتضمن رمز الدولة. مثال: +14155238886" - #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_month_payment__entry_id #: model:ir.model.fields,field_description:odex_takaful.field_takaful_contribution__entry_id msgid "Entry" msgstr "دخول" -#. module: odex_takaful -#: code:addons/odex_takaful/wizards/orphan_replacement_wizard.py:0 -#: code:addons/odex_takaful/wizards/replace_benefit_wizard.py:0 -#, python-format -msgid "" -"Error in replacement:\n" -"%s" -msgstr "" -"خطأ في الاستبدال:\n" -"%s" - #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_account_bank_statement_line__esterdad_id #: model:ir.model.fields,field_description:odex_takaful.field_account_move__esterdad_id @@ -2519,6 +2293,11 @@ msgstr "معالج الاسترداد" msgid "Exist" msgstr "خروج" +#. module: odex_takaful +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_view_tree_replace +msgid "Exit Period" +msgstr "فترة الخروج" + #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_takaful_sponsorship__expected_cancel_date #: model_terms:ir.ui.view,arch_db:odex_takaful.kafalat_payment_report_pdf @@ -2543,6 +2322,7 @@ msgstr "تمديد الكفالة" #. module: odex_takaful #: model:ir.model.fields.selection,name:odex_takaful.selection__donations_details_lines__state__extended +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_sponsorship_search #: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_view_search msgid "Extended" msgstr "ممددة" @@ -2554,6 +2334,7 @@ msgstr "تم التمديد بواسطة" #. module: odex_takaful #: code:addons/odex_takaful/models/donation_extension_history.py:0 +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_sponsorship_tree #, python-format msgid "Extension" msgstr "التمديد" @@ -2611,6 +2392,11 @@ msgstr "أشهر التمديد" msgid "Extension Payment Wizard Line" msgstr "سطر معالج دفع التمديد" +#. module: odex_takaful +#: model:ir.actions.report,name:odex_takaful.extension_receipt_report +msgid "Extension Receipt" +msgstr "إيصال التمديد" + #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_donation_extension_history__extension_ref msgid "Extension Reference" @@ -2629,6 +2415,7 @@ msgstr "يجب أن تكون أشهر التمديد أكبر من 0." #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_donations_details_lines__extension_count +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_sponsorship_tree #: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_view_form msgid "Extensions" msgstr "التمديدات" @@ -2672,6 +2459,7 @@ msgstr "الاسر المستفيدة" #: model:ir.model.fields,field_description:odex_takaful.field_donations_details_lines__family_id #: model:ir.model.fields,field_description:odex_takaful.field_replacement_process__family_ids #: model:ir.model.fields,field_description:odex_takaful.field_takaful_sponsorship__family_id +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_conditional_search msgid "Family" msgstr "ملف الأسرة" @@ -2735,6 +2523,8 @@ msgstr "قائمة المساهمات المالية" #: model:ir.model.fields.selection,name:odex_takaful.selection__grant_benefit_invoice__operation_type__financial_gift #: model:ir.model.fields.selection,name:odex_takaful.selection__takaful_contribution__operation_type__gift #: model:ir.model.fields.selection,name:odex_takaful.selection__takaful_sponsor_operation__operation_type__gift +#: model:product.product,name:odex_takaful.financial_gift +#: model:product.template,name:odex_takaful.financial_gift_product_template msgid "Financial Gift" msgstr "هدية مالية" @@ -2751,6 +2541,7 @@ msgid "Financial contribution for:" msgstr "مساهمة مالية لصالح:" #. module: odex_takaful +#: model:ir.model.fields,field_description:odex_takaful.field_donation_extension_history__message_follower_ids #: model:ir.model.fields,field_description:odex_takaful.field_donations_details_lines__message_follower_ids #: model:ir.model.fields,field_description:odex_takaful.field_month_payment__message_follower_ids #: model:ir.model.fields,field_description:odex_takaful.field_replacement_process__message_follower_ids @@ -2761,6 +2552,7 @@ msgid "Followers" msgstr "المتابعون" #. module: odex_takaful +#: model:ir.model.fields,field_description:odex_takaful.field_donation_extension_history__message_channel_ids #: model:ir.model.fields,field_description:odex_takaful.field_donations_details_lines__message_channel_ids #: model:ir.model.fields,field_description:odex_takaful.field_month_payment__message_channel_ids #: model:ir.model.fields,field_description:odex_takaful.field_replacement_process__message_channel_ids @@ -2771,6 +2563,7 @@ msgid "Followers (Channels)" msgstr "المتابعون (القنوات)" #. module: odex_takaful +#: model:ir.model.fields,field_description:odex_takaful.field_donation_extension_history__message_partner_ids #: model:ir.model.fields,field_description:odex_takaful.field_donations_details_lines__message_partner_ids #: model:ir.model.fields,field_description:odex_takaful.field_month_payment__message_partner_ids #: model:ir.model.fields,field_description:odex_takaful.field_replacement_process__message_partner_ids @@ -2902,8 +2695,12 @@ msgid "Group" msgstr "إختيار مجموعة" #. module: odex_takaful +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_conditional_search +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_sponsorship_search #: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_view_search +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_unconditional_search #: model_terms:ir.ui.view,arch_db:odex_takaful.payment_machine_view_search +#: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsor_search_view #: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsorship_view_search #: model_terms:ir.ui.view,arch_db:odex_takaful.view_sponsorship_scheduling_line_search msgid "Group By" @@ -3067,6 +2864,8 @@ msgid "Id Num" msgstr "رقم الهوية" #. module: odex_takaful +#: model:ir.model.fields,help:odex_takaful.field_donation_extension_history__message_needaction +#: model:ir.model.fields,help:odex_takaful.field_donation_extension_history__message_unread #: model:ir.model.fields,help:odex_takaful.field_donations_details_lines__message_needaction #: model:ir.model.fields,help:odex_takaful.field_donations_details_lines__message_unread #: model:ir.model.fields,help:odex_takaful.field_month_payment__message_needaction @@ -3083,6 +2882,8 @@ msgid "If checked, new messages require your attention." msgstr "إذا كان محددًا، فهناك رسائل جديدة تحتاج لرؤيتها." #. module: odex_takaful +#: model:ir.model.fields,help:odex_takaful.field_donation_extension_history__message_has_error +#: model:ir.model.fields,help:odex_takaful.field_donation_extension_history__message_has_sms_error #: model:ir.model.fields,help:odex_takaful.field_donations_details_lines__message_has_error #: model:ir.model.fields,help:odex_takaful.field_donations_details_lines__message_has_sms_error #: model:ir.model.fields,help:odex_takaful.field_month_payment__message_has_error @@ -3113,6 +2914,11 @@ msgstr "أمي" msgid "Inactive" msgstr "غير نشط" +#. module: odex_takaful +#: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsor_search_view +msgid "Inactive Sponsors" +msgstr "الكفلاء غير النشطون" + #. module: odex_takaful #: model:ir.model.fields.selection,name:odex_takaful.selection__donations_details_lines__sponsorship_type__person #: model:ir.model.fields.selection,name:odex_takaful.selection__grant_benefit_invoice__benefit_target__person @@ -3122,15 +2928,6 @@ msgstr "غير نشط" msgid "Individual" msgstr "إختيار فرد" -#. module: odex_takaful -#: code:addons/odex_takaful/models/takaful_sponorship_model.py:0 -#, python-format -msgid "" -"Invalid From Account of Benefit Payments (Recievable Account), Please " -"configure it" -msgstr "" -"غير صالح من حساب مدفوعات الاستحقاق (حساب مدفوعات العملاء)، يرجى تكوينه" - #. module: odex_takaful #: code:addons/odex_takaful/models/takaful_sponorship_model.py:0 #, python-format @@ -3203,6 +3000,7 @@ msgid "Is Fixed Value?" msgstr "هل القيمة ثابتة؟" #. module: odex_takaful +#: model:ir.model.fields,field_description:odex_takaful.field_donation_extension_history__message_is_follower #: model:ir.model.fields,field_description:odex_takaful.field_donations_details_lines__message_is_follower #: model:ir.model.fields,field_description:odex_takaful.field_month_payment__message_is_follower #: model:ir.model.fields,field_description:odex_takaful.field_replacement_process__message_is_follower @@ -3322,18 +3120,12 @@ msgstr "عنصر اليومية" msgid "Kafala Information" msgstr "بيانات الكفالة" -#. module: odex_takaful -#: model:ir.ui.menu,name:odex_takaful.menu_replacement_root -msgid "Kafala Processes" -msgstr "عمليات الكفالة" - #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_family_member__kafala_status msgid "Kafala Status" msgstr "حالة الكفالة" #. module: odex_takaful -#: model:ir.ui.menu,name:odex_takaful.kafalat_main_menu #: model_terms:ir.ui.view,arch_db:odex_takaful.view_takaful_sponsor_form msgid "Kafalat" msgstr "كفالات و نقاط بيع" @@ -3379,11 +3171,6 @@ msgstr "كفالة و نقاط بيع" msgid "Kafel" msgstr "كافل" -#. module: odex_takaful -#: model:ir.ui.menu,name:odex_takaful.kafileen_main_menu -msgid "Kafileen" -msgstr "الكفلاء" - #. module: odex_takaful #: model:ir.ui.menu,name:odex_takaful.takaful_settings_menu msgid "Kufala Global Settings" @@ -3586,6 +3373,11 @@ msgstr "يحدد سجلات الكفلاء بقسم المستخدم" msgid "Lines" msgstr "البنود" +#. module: odex_takaful +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_view_tree_waiting +msgid "Link Beneficiary" +msgstr "ربط مستفيد" + #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.view_product_template_tree_sponsorship msgid "Link to Sponsorship" @@ -3636,6 +3428,7 @@ msgid "Machine code must be unique!" msgstr "كود الماكينة يجب أن يكون فريداً!" #. module: odex_takaful +#: model:ir.model.fields,field_description:odex_takaful.field_donation_extension_history__message_main_attachment_id #: model:ir.model.fields,field_description:odex_takaful.field_donations_details_lines__message_main_attachment_id #: model:ir.model.fields,field_description:odex_takaful.field_month_payment__message_main_attachment_id #: model:ir.model.fields,field_description:odex_takaful.field_replacement_process__message_main_attachment_id @@ -3741,6 +3534,7 @@ msgid "Message" msgstr "الرسالة" #. module: odex_takaful +#: model:ir.model.fields,field_description:odex_takaful.field_donation_extension_history__message_has_error #: model:ir.model.fields,field_description:odex_takaful.field_donations_details_lines__message_has_error #: model:ir.model.fields,field_description:odex_takaful.field_month_payment__message_has_error #: model:ir.model.fields,field_description:odex_takaful.field_replacement_process__message_has_error @@ -3768,6 +3562,7 @@ msgid "Message Types" msgstr "أنواع الرسائل" #. module: odex_takaful +#: model:ir.model.fields,field_description:odex_takaful.field_donation_extension_history__message_ids #: model:ir.model.fields,field_description:odex_takaful.field_donations_details_lines__message_ids #: model:ir.model.fields,field_description:odex_takaful.field_month_payment__message_ids #: model:ir.model.fields,field_description:odex_takaful.field_replacement_process__message_ids @@ -3803,7 +3598,13 @@ msgstr "نسبة الاحتياجات الدنيا" #: model:ir.model.fields,field_description:odex_takaful.field_esterdad_wizard__mobile #: model:ir.model.fields,field_description:odex_takaful.field_takaful_push_notification__mobile msgid "Mobile" -msgstr "الهاتف المحمول" +msgstr "الجوال" + +#. module: odex_takaful +#: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsorship_form +#: model_terms:ir.ui.view,arch_db:odex_takaful.view_takaful_sponsor_form +msgid "Mobile Number" +msgstr "رقم الجوال" #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.view_takaful_sponsor_form @@ -3875,6 +3676,11 @@ msgstr "شهر/سنه" msgid "Monthly" msgstr "شهرياً" +#. module: odex_takaful +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_sponsorship_tree +msgid "Months" +msgstr "الأشهر" + #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.donation_extension_wizard_form msgid "Months Amount" @@ -3902,11 +3708,27 @@ msgstr "الحركات" msgid "My Activity Deadline" msgstr "نهاية الوقت المعين للنشاط" +#. module: odex_takaful +#: code:addons/odex_takaful/static/src/xml/takaful_dashboard.xml:0 +msgid "My Conditional Donations" +msgstr "تبرعاتي المشروطة" + #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_view_search +#: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsorship_view_search msgid "My Documents" msgstr "مستنداتي" +#. module: odex_takaful +#: code:addons/odex_takaful/static/src/xml/takaful_dashboard.xml:0 +msgid "My Sponsorships" +msgstr "كفالاتي" + +#. module: odex_takaful +#: code:addons/odex_takaful/static/src/xml/takaful_dashboard.xml:0 +msgid "My Unconditional Donations" +msgstr "تبرعاتي غير المشروطة" + #. module: odex_takaful #: code:addons/odex_takaful/wizards/transfer_deduction_wizard.py:0 #: code:addons/odex_takaful/wizards/transfer_deduction_wizard.py:0 @@ -3953,18 +3775,18 @@ msgstr "هل تحتاج إلى تجديد؟" msgid "Needs Contribution" msgstr "يحتاج إلى مساهمة" +#. module: odex_takaful +#: model:ir.ui.menu,name:odex_takaful.donations_details_lines_to_replace_app_menu +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_sponsorship_search +msgid "Needs Replacement" +msgstr "مستفيدين بحاجة للاستبدال" + #. module: odex_takaful #: model:ir.model.fields.selection,name:odex_takaful.selection__payment_machine__machine_type__neoleap #: model_terms:ir.ui.view,arch_db:odex_takaful.payment_machine_view_search msgid "Neoleap" msgstr "نيوليب" -#. module: odex_takaful -#: model:ir.model.fields.selection,name:odex_takaful.selection__account_payment_register__takaful_payment_method__network -#: model:ir.model.fields.selection,name:odex_takaful.selection__takaful_payment_method__payment_method__network -msgid "Network" -msgstr "شبكة" - #. module: odex_takaful #: code:addons/odex_takaful/models/takaful_conf.py:0 #: code:addons/odex_takaful/models/takaful_conf.py:0 @@ -4088,6 +3910,11 @@ msgstr "لا توجد رسالة إشعار" msgid "No Whatsapp notification of type 'Create Kafala' found." msgstr "لم يتم العثور على إشعار واتساب من نوع 'إنشاء كفالة'." +#. module: odex_takaful +#: model_terms:ir.actions.act_window,help:odex_takaful.donations_conditional_action +msgid "No conditional donations found" +msgstr "لا توجد تبرعات مشروطة" + #. module: odex_takaful #: code:addons/odex_takaful/wizards/transfer_deduction_wizard.py:0 #, python-format @@ -4173,16 +4000,31 @@ msgstr "لا توجد مراجع في الدفعات المحددة" msgid "No sponsorship found for this donation detail line." msgstr "لم يتم العثور على كفالة لسطر تفاصيل التبرع هذا." +#. module: odex_takaful +#: model_terms:ir.actions.act_window,help:odex_takaful.donations_details_lines_sponsorship_action +msgid "No sponsorship items found" +msgstr "لا توجد بنود كفالات" + #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.report_transfer_deduction_document msgid "No sponsorship scheduling lines found for the selected criteria." msgstr "لم يتم العثور على جدولة الكفالات للمعايير المختارة." +#. module: odex_takaful +#: model_terms:ir.actions.act_window,help:odex_takaful.donations_unconditional_action +msgid "No unconditional donations found" +msgstr "لا توجد تبرعات غير مشروطة" + +#. module: odex_takaful +#: model_terms:ir.actions.act_window,help:odex_takaful.donations_unconditional_action +msgid "Unconditional Donations" +msgstr "تبرعات غير مشروطة" + #. module: odex_takaful #: code:addons/odex_takaful/wizards/esterdad.py:0 #, python-format msgid "No user assigned to this sponsor" -msgstr "لا يوجد مستخدم مخصص لهذا الكفيل" +msgstr "لا يوجد مستخدم مخصص لهذا كافل" #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_donations_details_lines__non_benefit_reason @@ -4193,7 +4035,7 @@ msgstr "سبب عدم الاستفادة" #: code:addons/odex_takaful/wizards/replace_sponsor_wizard.py:0 #, python-format msgid "None" -msgstr "لا يوجد" +msgstr "لا شيء" #. module: odex_takaful #: model:ir.model.fields.selection,name:odex_takaful.selection__res_partner__kafel_state__not_active @@ -4319,6 +4161,7 @@ msgid "Number Of Family Member" msgstr "عدد افراد الاسرة" #. module: odex_takaful +#: model:ir.model.fields,field_description:odex_takaful.field_donation_extension_history__message_needaction_counter #: model:ir.model.fields,field_description:odex_takaful.field_donations_details_lines__message_needaction_counter #: model:ir.model.fields,field_description:odex_takaful.field_month_payment__message_needaction_counter #: model:ir.model.fields,field_description:odex_takaful.field_replacement_process__message_needaction_counter @@ -4329,6 +4172,7 @@ msgid "Number of Actions" msgstr "عدد الإجراءات" #. module: odex_takaful +#: model:ir.model.fields,field_description:odex_takaful.field_donation_extension_history__message_has_error_counter #: model:ir.model.fields,field_description:odex_takaful.field_donations_details_lines__message_has_error_counter #: model:ir.model.fields,field_description:odex_takaful.field_month_payment__message_has_error_counter #: model:ir.model.fields,field_description:odex_takaful.field_replacement_process__message_has_error_counter @@ -4339,6 +4183,7 @@ msgid "Number of errors" msgstr "عدد الاخطاء" #. module: odex_takaful +#: model:ir.model.fields,help:odex_takaful.field_donation_extension_history__message_needaction_counter #: model:ir.model.fields,help:odex_takaful.field_donations_details_lines__message_needaction_counter #: model:ir.model.fields,help:odex_takaful.field_month_payment__message_needaction_counter #: model:ir.model.fields,help:odex_takaful.field_replacement_process__message_needaction_counter @@ -4349,6 +4194,7 @@ msgid "Number of messages which requires an action" msgstr "عدد الرسائل التي تتطلب إجراء" #. module: odex_takaful +#: model:ir.model.fields,help:odex_takaful.field_donation_extension_history__message_has_error_counter #: model:ir.model.fields,help:odex_takaful.field_donations_details_lines__message_has_error_counter #: model:ir.model.fields,help:odex_takaful.field_month_payment__message_has_error_counter #: model:ir.model.fields,help:odex_takaful.field_replacement_process__message_has_error_counter @@ -4365,6 +4211,7 @@ msgid "Number of months to extend" msgstr "عدد الأشهر للتمديد" #. module: odex_takaful +#: model:ir.model.fields,help:odex_takaful.field_donation_extension_history__message_unread_counter #: model:ir.model.fields,help:odex_takaful.field_donations_details_lines__message_unread_counter #: model:ir.model.fields,help:odex_takaful.field_month_payment__message_unread_counter #: model:ir.model.fields,help:odex_takaful.field_replacement_process__message_unread_counter @@ -4416,22 +4263,8 @@ msgstr "عدد أشهر الدفع السابق" #. module: odex_takaful #: code:addons/odex_takaful/wizards/donation_extension_wizard.py:0 #, python-format -msgid "Only active donations can be extended. Line: %s" -msgstr "يمكن تمديد التبرعات النشطة فقط. السطر: %s" - -#. module: odex_takaful -#: code:addons/odex_takaful/wizards/donation_extension_wizard.py:0 -#, python-format -msgid "" -"Only active donations with end date in the future can be extended. Line: %s" -msgstr "التمدد للكفالات النشطة فقط" - -#. module: odex_takaful -#: code:addons/odex_takaful/wizards/donation_extension_wizard.py:0 -#, python-format -msgid "" -"Only donation with direct debit or sponsorship can be extended. Line: %s" -msgstr "يمكن تمديد التبرعات ذات الاستقطاع المباشر أو الكفالة فقط. البند: %s" +msgid "Only active donations can be extended. Line: {}" +msgstr "فقط التبرعات النشطة يمكن تمديدها. السطر: {}" #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_grant_benefit_invoice__operation_id @@ -4573,12 +4406,15 @@ msgid "Overdue in Sponsorships Payment of Total %s" msgstr "متأخر في سداد الكفالة بنسبة إجمالية %s" #. module: odex_takaful +#: model:ir.model.fields.selection,name:odex_takaful.selection__donation_extension_history__state__paid #: model:ir.model.fields.selection,name:odex_takaful.selection__donations_details_lines__state__paid #: model:ir.model.fields.selection,name:odex_takaful.selection__month_payment__state__paid #: model:ir.model.fields.selection,name:odex_takaful.selection__sponsorship_payment__state__paid #: model:ir.model.fields.selection,name:odex_takaful.selection__sponsorship_scheduling_line__status__paid #: model:ir.model.fields.selection,name:odex_takaful.selection__sponsorship_states__name__paid #: model:ir.model.fields.selection,name:odex_takaful.selection__takaful_sponsorship__state__paid +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_conditional_search +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_unconditional_search #: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsorship_view_search #: model_terms:ir.ui.view,arch_db:odex_takaful.view_sponsorship_scheduling_line_search msgid "Paid" @@ -4767,6 +4603,7 @@ msgstr "ماكينات الدفع" #: model:ir.model.fields,field_description:odex_takaful.field_account_payment_register__takaful_payment_method #: model:ir.model.fields,field_description:odex_takaful.field_account_payment_register__takaful_payment_method_id #: model:ir.model.fields,field_description:odex_takaful.field_add_details_wiz__payment_method_id +#: model:ir.model.fields,field_description:odex_takaful.field_donations_details_lines__payment_method_display #: model:ir.model.fields,field_description:odex_takaful.field_donations_items__payment_method_id #: model:ir.model.fields,field_description:odex_takaful.field_extension_payment_wizard_line__payment_method #: model:ir.model.fields,field_description:odex_takaful.field_extension_payment_wizard_line__payment_method_type @@ -4780,13 +4617,24 @@ msgstr "ماكينات الدفع" #: model:ir.model.fields,field_description:odex_takaful.field_refund_wiz__payment_method_id #: model:ir.model.fields,field_description:odex_takaful.field_takaful_payment_method__payment_method #: model:ir.model.fields,field_description:odex_takaful.field_takaful_sponsorship__payment_journal_id +#: model:ir.model.fields,field_description:odex_takaful.field_takaful_sponsorship__payment_method_display #: model:ir.model.fields,field_description:odex_takaful.field_transfer_deduction_wizard__payment_method_id +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_sponsorship_search +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_view_search +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_unconditional_search #: model_terms:ir.ui.view,arch_db:odex_takaful.report_transfer_deduction_document +#: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsorship_view_search #: model_terms:ir.ui.view,arch_db:odex_takaful.view_account_payment_register_form #, python-format msgid "Payment Method" msgstr "طريقة الدفع" +#. module: odex_takaful +#: model:ir.model.fields,field_description:odex_takaful.field_donations_details_lines__payment_method_type +#: model:ir.model.fields,field_description:odex_takaful.field_takaful_sponsorship__payment_method_type +msgid "Payment Method Type" +msgstr "نوع طريقة السداد" + #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_donations_details_lines__payment_month_count msgid "Payment Month Count" @@ -4831,12 +4679,6 @@ msgstr "طريقة الدفع" msgid "Payment Voucher Report" msgstr "تقرير قسيمة الدفع" -#. module: odex_takaful -#: model_terms:ir.actions.act_window,help:odex_takaful.action_payment_machine -msgid "" -"Payment machines are used to track POS terminals like Gidea, Neoleap, etc." -msgstr "تُستخدم ماكينات الدفع لتتبع أجهزة نقاط البيع مثل جيديا ونيوليب وغيرها." - #. module: odex_takaful #: code:addons/odex_takaful/wizards/account_payment_register.py:0 #, python-format @@ -4877,6 +4719,7 @@ msgstr "رمز الفترة" #: model:ir.model.fields.selection,name:odex_takaful.selection__donations_details_lines__sponsorship_duration__permanent #: model:ir.model.fields.selection,name:odex_takaful.selection__product_template__sponsorship_duration__permanent #: model:ir.model.fields.selection,name:odex_takaful.selection__takaful_sponsorship__sponsorship_duration__permanent +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_sponsorship_search #: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_view_search msgid "Permanent" msgstr "دائمة" @@ -4954,6 +4797,12 @@ msgstr "يجب ادخال بنك المتبرع" msgid "Please enter Payment Method." msgstr "يجب ادخال طريقة الدفع" +#. module: odex_takaful +#: code:addons/odex_takaful/wizards/account_payment_register.py:0 +#, python-format +msgid "Please enter Reference Number." +msgstr "الرجاء إدخال رقم المرجع." + #. module: odex_takaful #: code:addons/odex_takaful/wizards/account_payment_register.py:0 #, python-format @@ -5014,8 +4863,10 @@ msgstr "نقاط البيع المخصصة" #: model:ir.model.fields,field_description:odex_takaful.field_res_users__preferred_communication #: model:ir.model.fields,field_description:odex_takaful.field_takaful_sponsorship__preferred_communication #: model:ir.ui.menu,name:odex_takaful.menu_preferred_communication +#: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsorship_form #: model_terms:ir.ui.view,arch_db:odex_takaful.view_preferred_communication_form #: model_terms:ir.ui.view,arch_db:odex_takaful.view_preferred_communication_tree +#: model_terms:ir.ui.view,arch_db:odex_takaful.view_takaful_sponsor_form msgid "Preferred Communication" msgstr "طرق التواصل المفضله" @@ -5062,7 +4913,10 @@ msgstr "معالجة الدفعات المجدولة يومياً" #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_donations_details_lines__product_id #: model:ir.model.fields,field_description:odex_takaful.field_donations_items__product_id +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_conditional_search +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_sponsorship_search #: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_view_search +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_unconditional_search #: model_terms:ir.ui.view,arch_db:odex_takaful.product_template_view_kanban_odex_takaful msgid "Product" msgstr "المنتج" @@ -5099,6 +4953,7 @@ msgid "Reason for Replacement" msgstr "سبب الاستبدال" #. module: odex_takaful +#: model:ir.model.fields,field_description:odex_takaful.field_donation_extension_history__reason #: model:ir.model.fields,field_description:odex_takaful.field_donations_details_lines__reason #: model:ir.model.fields,field_description:odex_takaful.field_month_payment__reason #: model:ir.model.fields,field_description:odex_takaful.field_replacement_process__reason @@ -5112,6 +4967,11 @@ msgstr "السببظ المبرر" msgid "Reasons To Stop" msgstr "أسباب الإلغاء" +#. module: odex_takaful +#: model:ir.model.fields,field_description:odex_takaful.field_donation_extension_history__receipt_url +msgid "Receipt URL" +msgstr "رابط الإيصال" + #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_donate_for_another_person__receive_messages msgid "Receive messages?" @@ -5144,6 +5004,11 @@ msgstr "نوع السجل" msgid "Record URL" msgstr "رابط السجل" +#. module: odex_takaful +#: model_terms:ir.ui.view,arch_db:odex_takaful.product_template_view_kanban_odex_takaful +msgid "Reduce Quantity" +msgstr "تقليل الكمية" + #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_payment_details_lines__name msgid "Ref." @@ -5334,6 +5199,11 @@ msgstr "المستأجر" msgid "Replace" msgstr "إستبدال" +#. module: odex_takaful +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_view_tree_replace +msgid "Replace Beneficiary" +msgstr "استبدال المستفيد" + #. module: odex_takaful #: model:ir.model,name:odex_takaful.model_replace_benefit_wizard msgid "Replace Benefit" @@ -5520,10 +5390,15 @@ msgstr "لم يتم العثور على إجراء التقرير '%s'." msgid "Reports" msgstr "التقارير" +#. module: odex_takaful +#: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsorship_form +msgid "Request Refund" +msgstr "طلب الاسترداد" + #. module: odex_takaful #: model:ir.model,name:odex_takaful.model_res_company msgid "Res Company SMS Configuration" -msgstr "إعدادات رسائل SMS للشركة" +msgstr "إعدادات رسائل الشركة" #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsorship_form @@ -5587,6 +5462,7 @@ msgid "SA" msgstr "س.ع" #. module: odex_takaful +#: model:ir.model.fields,field_description:odex_takaful.field_donation_extension_history__message_has_sms_error #: model:ir.model.fields,field_description:odex_takaful.field_donations_details_lines__message_has_sms_error #: model:ir.model.fields,field_description:odex_takaful.field_month_payment__message_has_sms_error #: model:ir.model.fields,field_description:odex_takaful.field_replacement_process__message_has_sms_error @@ -5623,11 +5499,21 @@ msgstr "يدفع هذا الاسبوع" msgid "Scheduled Today" msgstr "يدفع اليوم" +#. module: odex_takaful +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_sponsorship_tree +msgid "Scheduling" +msgstr "الجدولة" + #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_payment_details_lines__sponsorship_scheduling_ref msgid "Scheduling Sequences" msgstr "تسلسلات الجدولة" +#. module: odex_takaful +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_conditional_search +msgid "Search Conditional Donations" +msgstr "بحث في التبرعات المشروطة" + #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_view_search msgid "Search Donation Details Lines" @@ -5638,11 +5524,26 @@ msgstr "بحث في أسطر تفاصيل التبرعات" msgid "Search Payment Machines" msgstr "البحث في ماكينات الدفع" +#. module: odex_takaful +#: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsor_search_view +msgid "Search Sponsors" +msgstr "بحث عن الكفلاء" + +#. module: odex_takaful +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_sponsorship_search +msgid "Search Sponsorship Items" +msgstr "بحث في بنود الكفالات" + #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.view_sponsorship_scheduling_line_search msgid "Search Sponsorship Scheduling Lines" msgstr "بحث في أسطر جدولة الكفالات" +#. module: odex_takaful +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_unconditional_search +msgid "Search Unconditional Donations" +msgstr "بحث في التبرعات غير المشروطة" + #. module: odex_takaful #: model:ir.model.fields.selection,name:odex_takaful.selection__donations_details_lines__display_type__line_section msgid "Section" @@ -5653,19 +5554,6 @@ msgstr "قسم" msgid "Seen" msgstr "مرئي" -#. module: odex_takaful -#: model:ir.model.fields,help:odex_takaful.field_account_payment__payment_method_line_id_type -msgid "" -"Select 'Sale' for customer invoices journals.\n" -"Select 'Purchase' for vendor bills journals.\n" -"Select 'Cash' or 'Bank' for journals that are used in customer or vendor payments.\n" -"Select 'General' for miscellaneous operations journals." -msgstr "" -"اختر 'مبيعات' ليوميات فواتير العملاء.\n" -"اختر 'مشتريات' ليوميات فواتير الموردين.\n" -"اختر 'نقدي' أو 'بنك' لليوميات المستخدمة في مدفوعات العملاء أو الموردين.\n" -"اختر 'عام' ليوميات العمليات المتنوعة." - #. module: odex_takaful #: code:addons/odex_takaful/wizards/transfer_deduction_wizard.py:0 #, python-format @@ -5727,6 +5615,11 @@ msgstr "الرقم التسلسلي أو كود ماكينة الدفع" msgid "Server Action" msgstr "إجراء السيرفر" +#. module: odex_takaful +#: model:ir.model.fields,field_description:odex_takaful.field_takaful_sponsorship__short_receipt_url +msgid "Short Receipt URL" +msgstr "رابط الإيصال المختصر" + #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_donations_details_lines__show_add_benefit_button msgid "Show Add Benefit Button" @@ -5797,11 +5690,12 @@ msgstr "حدد نوع الماكينة إذا لم يكن مدرجاً أعلا #: model:ir.model.fields,field_description:odex_takaful.field_sponsorship_scheduling_line__sponsor_id #: model:ir.model.fields.selection,name:odex_takaful.selection__replacement_process__registered_type__sponsor #: model:ir.model.fields.selection,name:odex_takaful.selection__takaful_sponsorship__registered_type__sponsor +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_sponsorship_search #: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_view_search #: model_terms:ir.ui.view,arch_db:odex_takaful.report_transfer_deduction_document #, python-format msgid "Sponsor" -msgstr "كافل" +msgstr "الكافل" #. module: odex_takaful #: model:res.groups,name:odex_takaful.group_sponsor_department_access @@ -5915,6 +5809,7 @@ msgstr "شريك الكافل" #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_donate_for_another_person__sponsor_phone +#: model:ir.model.fields,field_description:odex_takaful.field_donation_extension_history__sponsor_phone #: model:ir.model.fields,field_description:odex_takaful.field_takaful_sponsorship__sponsor_phone msgid "Sponsor Phone" msgstr "رقم الهاتف" @@ -5926,6 +5821,11 @@ msgstr "رقم الهاتف" msgid "Sponsor Replaced" msgstr "تم استبدال الكافل" +#. module: odex_takaful +#: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsor_search_view +msgid "Sponsor State" +msgstr "حالة الكافل" + #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_takaful_sponsorship__sponsor_title msgid "Sponsor Title" @@ -5948,6 +5848,11 @@ msgstr "تم استبدال الكافل بنجاح من %s إلى %s" msgid "Sponsor is already active" msgstr "الكافل نشط بالفعل" +#. module: odex_takaful +#: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsorship_form +msgid "Sponsor/Donor Name" +msgstr "اسم الكافل/المتبرع" + #. module: odex_takaful #: code:addons/odex_takaful/wizards/transfer_deduction_wizard.py:0 #: model:ir.model.fields,field_description:odex_takaful.field_transfer_deduction_wizard__sponsor_ids @@ -5965,51 +5870,6 @@ msgstr "قائمة الكفلاء" msgid "Sponsors Record" msgstr "سجل الكفلاء" -#. module: odex_takaful -#: code:addons/odex_takaful/models/takaful_sponorship_model.py:0 -#: model:ir.model,name:odex_takaful.model_takaful_sponsorship -#: model:ir.model.fields,field_description:odex_takaful.field_account_bank_statement_line__sponsorship_id -#: model:ir.model.fields,field_description:odex_takaful.field_account_move__sponsorship_id -#: model:ir.model.fields,field_description:odex_takaful.field_account_payment__sponsorship_id -#: model:ir.model.fields,field_description:odex_takaful.field_donate_for_another_person__sponsorship_id -#: model:ir.model.fields,field_description:odex_takaful.field_donation_extension_history__sponsorship_id -#: model:ir.model.fields,field_description:odex_takaful.field_donation_extension_wizard_line__sponsorship_id -#: model:ir.model.fields,field_description:odex_takaful.field_donation_replacement_log__sponsorship_id -#: model:ir.model.fields,field_description:odex_takaful.field_donations_details_lines__sponsorship_id -#: model:ir.model.fields,field_description:odex_takaful.field_donations_details_lines__sponsorship_mechanism_id -#: model:ir.model.fields,field_description:odex_takaful.field_family_member__sponsorship_id -#: model:ir.model.fields,field_description:odex_takaful.field_month_payment_line__sponsorship_id -#: model:ir.model.fields,field_description:odex_takaful.field_payment_details_lines__sponsorship_id -#: model:ir.model.fields,field_description:odex_takaful.field_refund_details_lines__sponsorship_id -#: model:ir.model.fields,field_description:odex_takaful.field_refund_wiz__sponsorship_id -#: model:ir.model.fields,field_description:odex_takaful.field_replace_benefit_wizard__sponsorship_id -#: model:ir.model.fields,field_description:odex_takaful.field_replacement_process__sponsorship_id -#: model:ir.model.fields,field_description:odex_takaful.field_replacement_wiz__sponsorship_id -#: model:ir.model.fields,field_description:odex_takaful.field_sponsorship_benefit_arrears__sponsorship_id -#: model:ir.model.fields,field_description:odex_takaful.field_sponsorship_cancellation__sponsorship_id -#: model:ir.model.fields,field_description:odex_takaful.field_sponsorship_payment__sponsorship_id -#: model:ir.model.fields,field_description:odex_takaful.field_sponsorship_scheduling_line__sponsorship_id -#: model:ir.model.fields.selection,name:odex_takaful.selection__donation_replacement_log__record_type__sponsorship -#: model:ir.model.fields.selection,name:odex_takaful.selection__donations_details_lines__donation_type__sponsorship -#: model:ir.model.fields.selection,name:odex_takaful.selection__donations_details_lines__record_type__sponsorship -#: model:ir.model.fields.selection,name:odex_takaful.selection__donations_items__donation_type__sponsorship -#: model:ir.model.fields.selection,name:odex_takaful.selection__grant_benefit_invoice__operation_type__sponsorship -#: model:ir.model.fields.selection,name:odex_takaful.selection__product_template__donation_category__sponsorship -#: model:ir.model.fields.selection,name:odex_takaful.selection__replace_benefit_wizard__record_type__sponsorship -#: model:ir.model.fields.selection,name:odex_takaful.selection__replacement_process__record_type__sponsorship -#: model:ir.model.fields.selection,name:odex_takaful.selection__replacement_wiz__record_type__sponsorship -#: model:ir.model.fields.selection,name:odex_takaful.selection__takaful_sponsor_operation__operation_type__sponsorship -#: model:ir.model.fields.selection,name:odex_takaful.selection__takaful_sponsorship__record_type__sponsorship -#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_view_search -#: model_terms:ir.ui.view,arch_db:odex_takaful.kafalat_cancel_report_pdf -#: model_terms:ir.ui.view,arch_db:odex_takaful.kafalat_payment_report_pdf -#: model_terms:ir.ui.view,arch_db:odex_takaful.makfuleen_report_pdf -#: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsorship_view_search -#: model_terms:ir.ui.view,arch_db:odex_takaful.view_sponsorship_scheduling_line_search -#, python-format -msgid "Sponsorship" -msgstr "الكفالة" - #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_sponsorship_payment__month_amount msgid "Sponsorship Amount" @@ -6146,9 +6006,14 @@ msgid "Sponsorship Information" msgstr "معلومات الكفالة" #. module: odex_takaful -#: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsorship_tree -msgid "Sponsorship List" -msgstr "قائمة الكفلاء" +#: model:ir.actions.act_window,name:odex_takaful.donations_details_lines_sponsorship_action +msgid "Sponsorship Items" +msgstr "بنود الكفالات" + +#. module: odex_takaful +#: model:ir.ui.menu,name:odex_takaful.donations_details_lines_app_menu +msgid "Sponsorship Lines" +msgstr "بنود الكفالات" #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_takaful_sponsorship__month_count @@ -6184,6 +6049,11 @@ msgstr "عدد الكفالات" msgid "Sponsorship Payment" msgstr "مدفوعات الكفالات" +#. module: odex_takaful +#: model:ir.ui.menu,name:odex_takaful.menu_replacement_root +msgid "Sponsorship Processes" +msgstr "عمليات الكفالة" + #. module: odex_takaful #: model:ir.actions.act_window,name:odex_takaful.action_config_sponsorship_stop msgid "Sponsorship Reason" @@ -6260,6 +6130,7 @@ msgstr "مدير نظام الكفالات" #: model:ir.model.fields,field_description:odex_takaful.field_replacement_line__sponsorship_type #: model:ir.model.fields,field_description:odex_takaful.field_replacement_process_line__sponsorship_type #: model:ir.model.fields,field_description:odex_takaful.field_takaful_sponsorship__sponsorship_type +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_sponsorship_search #: model_terms:ir.ui.view,arch_db:odex_takaful.kafalat_payment_report_pdf #: model_terms:ir.ui.view,arch_db:odex_takaful.makfuleen_report_pdf msgid "Sponsorship Type" @@ -6281,14 +6152,6 @@ msgstr "طلبات التبرعات" msgid "SponsorshipS States" msgstr "حالات الكفالات" -#. module: odex_takaful -#: code:addons/odex_takaful/models/res_partner.py:0 -#: model:ir.model.fields,field_description:odex_takaful.field_grant_benefit__sponsorship_ids -#: model:ir.ui.menu,name:odex_takaful.takaful_sponsorship_app_menu -#, python-format -msgid "Sponsorships" -msgstr "طلبات التبرعات" - #. module: odex_takaful #: model:ir.actions.act_window,name:odex_takaful.sponsorship_benefit_arrears_action #: model:ir.model.fields,field_description:odex_takaful.field_grant_benefit__arrears_ids @@ -6341,7 +6204,10 @@ msgstr "تاريخ البداية" #: model:ir.model.fields,field_description:odex_takaful.field_replacement_process__state #: model:ir.model.fields,field_description:odex_takaful.field_res_partner__state #: model:ir.model.fields,field_description:odex_takaful.field_sponsorship_states__name +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_conditional_search +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_sponsorship_search #: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_view_search +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_unconditional_search msgid "State" msgstr "الحالة" @@ -6370,23 +6236,6 @@ msgstr "الحالة نشط" msgid "Status Not Active" msgstr "الحالة غير نشط" -#. module: odex_takaful -#: model:ir.model.fields,help:odex_takaful.field_month_payment__activity_state -#: model:ir.model.fields,help:odex_takaful.field_replacement_process__activity_state -#: model:ir.model.fields,help:odex_takaful.field_sponsorship_cancellation__activity_state -#: model:ir.model.fields,help:odex_takaful.field_sponsorship_payment__activity_state -#: model:ir.model.fields,help:odex_takaful.field_takaful_sponsorship__activity_state -msgid "" -"Status based on activities\n" -"Overdue: Due date is already passed\n" -"Today: Activity date is today\n" -"Planned: Future activities." -msgstr "" -"الحالة على أساس الأنشطة\n" -"المتأخرة: تاريخ الاستحقاق مر\n" -"اليوم: تاريخ النشاط هو اليوم\n" -"المخطط: الأنشطة المستقبلية." - #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_takaful_message_template__title #: model:ir.model.fields,field_description:odex_takaful.field_takaful_push_notification__title @@ -6411,7 +6260,7 @@ msgstr "إرسال للدفع" #: code:addons/odex_takaful/wizards/replace_sponsor_wizard.py:0 #, python-format msgid "Success" -msgstr "تم بنجاح" +msgstr "نجاح" #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_takaful_sponsorship__supporter_status @@ -6471,6 +6320,7 @@ msgstr "اسم القالب موجود بالفعل!" #: model:ir.model.fields.selection,name:odex_takaful.selection__donations_details_lines__sponsorship_duration__temporary #: model:ir.model.fields.selection,name:odex_takaful.selection__product_template__sponsorship_duration__temporary #: model:ir.model.fields.selection,name:odex_takaful.selection__takaful_sponsorship__sponsorship_duration__temporary +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_sponsorship_search #: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_view_search msgid "Temporary" msgstr "سنوية" @@ -6486,7 +6336,7 @@ msgstr "المستفيدين" #: code:addons/odex_takaful/models/account_move.py:0 #, python-format msgid "The Bill/Refund date is required to validate this document." -msgstr "تاريخ الفاتورة/الإرجاع مطلوب للتحقق من صحة هذا المستند." +msgstr "تاريخ الفاتورة/الاسترداد مطلوب لتصديق هذا المستند." #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_contribution_form @@ -6566,44 +6416,17 @@ msgstr "الرقم المدخل خاطئ" #: code:addons/odex_takaful/models/account_move.py:0 #, python-format msgid "The entry %s (id %s) is already posted." -msgstr "القيد %s (معرّف %s) تم ترحيله بالفعل." - -#. module: odex_takaful -#: code:addons/odex_takaful/models/account_move.py:0 -#, python-format -msgid "" -"The field 'Customer' is required, please complete it to validate the " -"Customer Invoice." -msgstr "حقل 'العميل' مطلوب، يرجى إكماله للتحقق من فاتورة العميل." - -#. module: odex_takaful -#: code:addons/odex_takaful/models/account_move.py:0 -#, python-format -msgid "" -"The field 'Vendor' is required, please complete it to validate the Vendor " -"Bill." -msgstr "حقل 'المورد' مطلوب، يرجى إكماله للتحقق من فاتورة المورد." - -#. module: odex_takaful -#: code:addons/odex_takaful/wizards/transfer_deduction_wizard.py:0 -#, python-format -msgid "" -"The library 'xlsxwriter' is not installed. Please install it: pip install " -"xlsxwriter" -msgstr "مكتبة 'xlsxwriter' غير مثبتة. يرجى تثبيتها: pip install xlsxwriter" - -#. module: odex_takaful -#: code:addons/odex_takaful/models/account_move.py:0 -#, python-format -msgid "" -"The recipient bank account link to this invoice is archived.\n" -"So you cannot confirm the invoice." -msgstr "" +msgstr "القيد %s (المعرف %s) مرحل بالفعل." #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.view_takaful_sponsor_form msgid "The sponsor" -msgstr "كافل" +msgstr "الكافل" + +#. module: odex_takaful +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_unconditional_search +msgid "This Month" +msgstr "هذا الشهر" #. module: odex_takaful #: code:addons/odex_takaful/models/takaful_sponorship_model.py:0 @@ -6611,17 +6434,27 @@ msgstr "كافل" msgid "This Sponsorship is not confirmed" msgstr "لم يتم تأكيد هذا التبرع" +#. module: odex_takaful +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_unconditional_search +msgid "This Week" +msgstr "هذا الأسبوع" + #. module: odex_takaful #: code:addons/odex_takaful/models/account_move.py:0 #, python-format msgid "This move is configured to be auto-posted on %s" -msgstr "تم إعداد هذه الحركة للترحيل التلقائي في %s" +msgstr "تم إعداد هذا القيد ليتم ترحيله تلقائياً في %s" #. module: odex_takaful #: code:addons/odex_takaful/models/account_move.py:0 #, python-format msgid "This move will be posted at the accounting date: %(date)s" -msgstr "سيتم ترحيل هذه الحركة في تاريخ المحاسبة: %(date)s" +msgstr "سيتم ترحيل هذا القيد في التاريخ المحاسبي: %(date)s" + +#. module: odex_takaful +#: model_terms:ir.ui.view,arch_db:odex_takaful.view_takaful_sponsor_form +msgid "Title" +msgstr "اللقب" #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsorship_form @@ -6662,6 +6495,11 @@ msgstr "مسودة" msgid "To Replace" msgstr "للاستبدال" +#. module: odex_takaful +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_unconditional_search +msgid "Today" +msgstr "اليوم" + #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_month_payment__amount #: model:ir.model.fields,field_description:odex_takaful.field_sponsorship_payment__amount @@ -6795,7 +6633,7 @@ msgstr "معالج تقرير التحويل والخصم" #: code:addons/odex_takaful/wizards/transfer_deduction_wizard.py:0 #, python-format msgid "Transfer_Deduction_Report_%(date)s.xlsx" -msgstr "" +msgstr "Transfer_Deduction_Report_%(date)s.xlsx" #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_res_config_settings__twilio_account_sid @@ -6807,18 +6645,6 @@ msgstr "معرف حساب Twilio" msgid "Twilio Auth Token" msgstr "رمز مصادقة Twilio" -#. module: odex_takaful -#: code:addons/odex_takaful/models/donation_details_lines.py:0 -#: code:addons/odex_takaful/models/replacement_process.py:0 -#: code:addons/odex_takaful/models/replacement_process.py:0 -#: code:addons/odex_takaful/models/takaful_sponorship_model.py:0 -#: code:addons/odex_takaful/models/takaful_sponorship_model.py:0 -#, python-format -msgid "" -"Twilio configuration is missing. Please configure Twilio SID, Auth Token, " -"and WhatsApp number in General Configurations." -msgstr "إعدادات Twilio غير موجودة. يرجى ضبط معرف Twilio ورمز المصادقة ورقم الواتساب في الإعدادات العامة." - #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_account_payment__payment_method_line_id_type msgid "Type" @@ -6833,6 +6659,16 @@ msgstr "النوع" msgid "Type of the exception activity on record." msgstr "نوع النشاط الاستثنائي على السجل." +#. module: odex_takaful +#: code:addons/odex_takaful/static/src/xml/takaful_dashboard.xml:0 +msgid "Unconditional" +msgstr "غير مشروط" + +#. module: odex_takaful +#: code:addons/odex_takaful/static/src/xml/takaful_dashboard.xml:0 +msgid "Unconditional Donations" +msgstr "تبرعات غير مشروطة" + #. module: odex_takaful #: model:ir.model.fields.selection,name:odex_takaful.selection__sponsorship_scheduling_line__status__under_refund #: model_terms:ir.ui.view,arch_db:odex_takaful.view_sponsorship_scheduling_line_search @@ -6886,6 +6722,7 @@ msgid "Unpaid" msgstr "غير مدفوع" #. module: odex_takaful +#: model:ir.model.fields,field_description:odex_takaful.field_donation_extension_history__message_unread #: model:ir.model.fields,field_description:odex_takaful.field_donations_details_lines__message_unread #: model:ir.model.fields,field_description:odex_takaful.field_month_payment__message_unread #: model:ir.model.fields,field_description:odex_takaful.field_replacement_process__message_unread @@ -6896,6 +6733,7 @@ msgid "Unread Messages" msgstr "الرسائل الجديدة" #. module: odex_takaful +#: model:ir.model.fields,field_description:odex_takaful.field_donation_extension_history__message_unread_counter #: model:ir.model.fields,field_description:odex_takaful.field_donations_details_lines__message_unread_counter #: model:ir.model.fields,field_description:odex_takaful.field_month_payment__message_unread_counter #: model:ir.model.fields,field_description:odex_takaful.field_replacement_process__message_unread_counter @@ -6908,7 +6746,7 @@ msgstr "عدد الرسائل الجديدة" #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsorship_tree msgid "Unregistered Sponsor Name" -msgstr "اسم الكافل الغير مسجل بالنظام" +msgstr "كافل غير مسجل بالنظام" #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_account_payment_register__show_last_digits @@ -6943,8 +6781,6 @@ msgstr "تم التحقق" #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_view_tree -#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_view_tree_replace -#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_view_tree_waiting #: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsorship_form msgid "View Scheduling Lines" msgstr "عرض جدولة التبرع" @@ -6961,6 +6797,7 @@ msgstr "القسائم" #. module: odex_takaful #: model:ir.model.fields.selection,name:odex_takaful.selection__donations_details_lines__state__waiting +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_sponsorship_search #: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_view_search msgid "Waiting" msgstr "في الانتظار" @@ -6970,6 +6807,11 @@ msgstr "في الانتظار" msgid "Waiting Date" msgstr "تاريخ الانتظار" +#. module: odex_takaful +#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_view_tree_waiting +msgid "Waiting Duration" +msgstr "مدة الانتظار" + #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_benefits_representative__wait_cancel_day #: model:ir.model.fields,field_description:odex_takaful.field_external_benefits__wait_cancel_day @@ -6984,6 +6826,11 @@ msgstr "في انتظار الإلغاء" msgid "Waiting Period" msgstr "مدة الانتظار" +#. module: odex_takaful +#: model:ir.ui.menu,name:odex_takaful.donations_details_lines_waiting_app_menu +msgid "Waiting for Beneficiary" +msgstr "كفلاء بحاجة لمستفيدين" + #. module: odex_takaful #: model:ir.model.fields.selection,name:odex_takaful.selection__donations_details_lines__donation_type__waqf #: model:ir.model.fields.selection,name:odex_takaful.selection__donations_details_lines__donation_types__waqf @@ -6994,6 +6841,7 @@ msgid "Waqf" msgstr "وقف" #. module: odex_takaful +#: model:ir.model.fields,field_description:odex_takaful.field_donation_extension_history__website_message_ids #: model:ir.model.fields,field_description:odex_takaful.field_donations_details_lines__website_message_ids #: model:ir.model.fields,field_description:odex_takaful.field_month_payment__website_message_ids #: model:ir.model.fields,field_description:odex_takaful.field_replacement_process__website_message_ids @@ -7004,6 +6852,7 @@ msgid "Website Messages" msgstr "رسائل الموقع" #. module: odex_takaful +#: model:ir.model.fields,help:odex_takaful.field_donation_extension_history__website_message_ids #: model:ir.model.fields,help:odex_takaful.field_donations_details_lines__website_message_ids #: model:ir.model.fields,help:odex_takaful.field_month_payment__website_message_ids #: model:ir.model.fields,help:odex_takaful.field_replacement_process__website_message_ids @@ -7102,14 +6951,6 @@ msgstr "يمكنك الارسال الى مسودة للتبرعات المؤك msgid "You cannot Add more than one sponsorship" msgstr "لا يمكنك إضافة أكثر من كفالة واحدة" -#. module: odex_takaful -#: code:addons/odex_takaful/models/donation_details_lines.py:0 -#, python-format -msgid "" -"You cannot change the type of a sale quote line. Instead you should delete " -"the current line and create a new line of the proper type." -msgstr "لا يمكنك تغيير نوع بند عرض المبيعات. بدلاً من ذلك، يجب حذف البند الحالي وإنشاء بند جديد من النوع المناسب." - #. module: odex_takaful #: code:addons/odex_takaful/models/replacement_process.py:0 #: code:addons/odex_takaful/models/takaful_sponorship_model.py:0 @@ -7123,15 +6964,6 @@ msgstr "لا يمكنك حذف هذا السجل" msgid "You cannot do this. The refund period has expired." msgstr "لا يمكنك القيام بذلك لتجاوز المدة المحددة للاسترداد." -#. module: odex_takaful -#: code:addons/odex_takaful/models/account_move.py:0 -#, python-format -msgid "" -"You cannot validate an invoice with a negative total amount. You should " -"create a credit note instead. Use the action menu to transform it into a " -"credit note or refund." -msgstr "" - #. module: odex_takaful #: code:addons/odex_takaful/models/sponsorship_scheduling_line.py:0 #: code:addons/odex_takaful/models/takaful_sponorship_model.py:0 @@ -7146,39 +6978,11 @@ msgstr "لديك فاتورة مرتجع لم يتم دفعها" msgid "You have recieved money in tolal of %s in your account." msgstr "لقد تلقيت مبلغًا إجماليًا قدره %s في حسابك." -#. module: odex_takaful -#: code:addons/odex_takaful/models/takaful_sponorship_model.py:0 -#, python-format -msgid "" -"You must create a new sponsor first before saving.\n" -"Click the \"Create Subscriber\" button to add a new sponsor." -msgstr "" -"يجب إنشاء كافل جديد أولاً قبل الحفظ.\n" -"اضغط على زر \"إنشاء مشترك\" لإضافة كافل جديد." - -#. module: odex_takaful -#: code:addons/odex_takaful/models/takaful_sponorship_model.py:0 -#, python-format -msgid "" -"You must create a new subscriber first before saving.\n" -"Click the \"Create Subscriber\" button to add a new subscriber." -msgstr "" -"يجب إنشاء مشترك جديد أولاً قبل الحفظ.\n" -"اضغط على زر \"إنشاء مشترك\" لإضافة مشترك جديد." - -#. module: odex_takaful -#: code:addons/odex_takaful/models/replacement_process.py:0 -#, python-format -msgid "" -"You must select the same number of beneficiaries in the from benefits group " -"(%s) to the to benefits group (%s)" -msgstr "يجب اختيار نفس عدد المستفيدين في مجموعة المستفيدين الأصلية (%s) ومجموعة المستفيدين البديلة (%s)" - #. module: odex_takaful #: code:addons/odex_takaful/models/account_move.py:0 #, python-format msgid "You need to add a line before posting." -msgstr "يجب إضافة سطر قبل الترحيل." +msgstr "يجب إضافة بند قبل الترحيل." #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_payment_details_lines__charity_bank_id @@ -7228,7 +7032,7 @@ msgstr "شهر. الدفع. بند" #. module: odex_takaful #: model:ir.actions.report,print_report_name:odex_takaful.action_payment_voucher_report msgid "object.print_report_name()" -msgstr "" +msgstr "object.print_report_name()" #. module: odex_takaful #: model:ir.model.fields,field_description:odex_takaful.field_donation_replacement_log__old_benefit @@ -7341,167 +7145,149 @@ msgid "voucher Payment" msgstr "قسيمة الدفع" #. module: odex_takaful -#: model_terms:ir.ui.view,arch_db:odex_takaful.product_template_view_kanban_odex_takaful -msgid "إضافة" -msgstr "" - -#. module: odex_takaful -#: model_terms:ir.ui.view,arch_db:odex_takaful.product_template_view_kanban_odex_takaful -msgid "إضافة منتج" -msgstr "" - -#. module: odex_takaful -#: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsorship_form -msgid "إنشاء مشترك" -msgstr "" +#: model_terms:ir.ui.view,arch_db:odex_takaful.report_sponsorship_receipt_document +msgid "أسرة:" +msgstr "أسرة:" #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_mother_document msgid "اسم الأرملة" -msgstr "" +msgstr "اسم الأرملة" #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_mother_document msgid "اسم الكافل" -msgstr "" - -#. module: odex_takaful -#: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsorship_form -msgid "اسم الكافل/المتبرع" -msgstr "" +msgstr "اسم الكافل" #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document msgid "اسم اليتيم" -msgstr "" - -#. module: odex_takaful -#: model_terms:ir.ui.view,arch_db:odex_takaful.view_takaful_sponsor_form -msgid "الاسم" -msgstr "" +msgstr "اسم اليتيم" #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_mother_document msgid "التأمينات الاجتماعية" -msgstr "" +msgstr "التأمينات الاجتماعية" + +#. module: odex_takaful +#: model_terms:ir.ui.view,arch_db:odex_takaful.report_extension_receipt_document +#: model_terms:ir.ui.view,arch_db:odex_takaful.report_sponsorship_receipt_document +msgid "التفاصيل" +msgstr "التفاصيل" #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_mother_document msgid "التقدير" -msgstr "" +msgstr "التقدير" #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_mother_document msgid "الجنسية" -msgstr "" +msgstr "الجنسية" #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_mother_document msgid "الحالة الصحية" -msgstr "" +msgstr "الحالة الصحية" #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_mother_document msgid "الراتب التقاعدي" -msgstr "" +msgstr "الراتب التقاعدي" #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_mother_document msgid "الضمان الاجتماعي" -msgstr "" +msgstr "الضمان الاجتماعي" #. module: odex_takaful -#: model_terms:ir.ui.view,arch_db:odex_takaful.view_takaful_sponsor_form -msgid "العبارة الختامية" -msgstr "" +#: model_terms:ir.ui.view,arch_db:odex_takaful.report_sponsorship_receipt_document +msgid "العدد:" +msgstr "العدد:" #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_mother_document msgid "العمر" -msgstr "" +msgstr "العمر" #. module: odex_takaful -#: model_terms:ir.ui.view,arch_db:odex_takaful.report_sponsorship_receipt_document -msgid "الكمية" -msgstr "" - -#. module: odex_takaful -#: model_terms:ir.ui.view,arch_db:odex_takaful.view_takaful_sponsor_form -msgid "اللقب" -msgstr "" +#: model_terms:ir.ui.view,arch_db:odex_takaful.report_extension_receipt_document +msgid "الفترة الجديدة" +msgstr "الفترة الجديدة" #. module: odex_takaful +#: model_terms:ir.ui.view,arch_db:odex_takaful.report_extension_receipt_document #: model_terms:ir.ui.view,arch_db:odex_takaful.report_sponsorship_receipt_document msgid "المبلغ" -msgstr "" +msgstr "المبلغ" #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_mother_document msgid "المجموع" -msgstr "" +msgstr "المجموع" + +#. module: odex_takaful +#: model_terms:ir.ui.view,arch_db:odex_takaful.report_sponsorship_receipt_document +msgid "المدة" +msgstr "المدة" #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_mother_document msgid "المرحلة الدراسية" -msgstr "" +msgstr "المرحلة الدراسية" #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.report_sponsorship_receipt_document msgid "بكل امتنان نشكر لك تبرعك الكريم، ونسأل الله أن يجعلك ممن يرافقون النبي" -msgstr "" +msgstr "بكل امتنان نشكر لك تبرعك الكريم، ونسأل الله أن يجعلك ممن يرافقون النبي" + +#. module: odex_takaful +#: model_terms:ir.ui.view,arch_db:odex_takaful.report_extension_receipt_document +msgid "بكل امتنان نشكر لك تجديد كفالتك، ونسأل الله أن يجعلك ممن يرافقون النبي" +msgstr "بكل امتنان نشكر لك تجديد كفالتك، ونسأل الله أن يجعلك ممن يرافقون النبي" #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.view_esterdad_wizard_form msgid "بيانات المتبرع" -msgstr "" - -#. module: odex_takaful -#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_view_tree_replace -msgid "تاريخ خروج المستفيد" -msgstr "" +msgstr "بيانات المتبرع" #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_mother_document msgid "تاريخ نهاية الكفالة" -msgstr "" +msgstr "تاريخ نهاية الكفالة" #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_mother_document msgid "تقرير أم اليتيم" -msgstr "" +msgstr "تقرير أم اليتيم" #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document msgid "تقرير اليتيم" -msgstr "" - -#. module: odex_takaful -#: model_terms:ir.ui.view,arch_db:odex_takaful.product_template_view_kanban_odex_takaful -msgid "تقليل الكمية" -msgstr "" +msgstr "تقرير اليتيم" #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_mother_document msgid "تم الالتحاق في إنسان عام" -msgstr "" +msgstr "تم الالتحاق في إنسان عام" #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_mother_document msgid "حالة الأسرة" -msgstr "" +msgstr "حالة الأسرة" #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document @@ -7515,101 +7301,182 @@ msgstr "" #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_mother_document msgid "راتب الأم" -msgstr "" +msgstr "راتب الأم" #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_mother_document -#: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsorship_form -#: model_terms:ir.ui.view,arch_db:odex_takaful.view_takaful_sponsor_form msgid "رقم الجوال" -msgstr "" +msgstr "رقم الجوال" #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_mother_document msgid "رقم الملف" -msgstr "" +msgstr "رقم الملف" #. module: odex_takaful -#: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsorship_form -#: model_terms:ir.ui.view,arch_db:odex_takaful.view_takaful_sponsor_form -msgid "طريقة التواصل المفضلة" -msgstr "" +#: model_terms:ir.ui.view,arch_db:odex_takaful.report_sponsorship_receipt_document +msgid "شهر" +msgstr "شهر" #. module: odex_takaful -#: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsorship_form -msgid "طلب الاسترداد" -msgstr "" +#: model_terms:ir.ui.view,arch_db:odex_takaful.report_extension_receipt_document +msgid "شهور التمديد:" +msgstr "شهور التمديد:" #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_mother_document msgid "عدد أفراد الأسرة" -msgstr "" +msgstr "عدد أفراد الأسرة" #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_mother_document msgid "عنوان الأسرة" -msgstr "" - -#. module: odex_takaful -#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_view_tree_replace -msgid "فترة الخروج" -msgstr "" - -#. module: odex_takaful -#: model:product.product,name:odex_takaful.sponsorship -#: model:product.template,name:odex_takaful.sponsorship_product_template -msgid "كفالة" -msgstr "" +msgstr "عنوان الأسرة" #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_mother_document msgid "مبلغ الإيجار" -msgstr "" - -#. module: odex_takaful -#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_view_tree_waiting -msgid "مدة الانتظار" -msgstr "" +msgstr "مبلغ الإيجار" #. module: odex_takaful +#: model_terms:ir.ui.view,arch_db:odex_takaful.report_extension_receipt_document #: model_terms:ir.ui.view,arch_db:odex_takaful.report_sponsorship_receipt_document msgid "مرحباً" -msgstr "" +msgstr "مرحباً" #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_mother_document msgid "مصادر دخل الأسرة" -msgstr "" +msgstr "مصادر دخل الأسرة" #. module: odex_takaful +#: model_terms:ir.ui.view,arch_db:odex_takaful.report_extension_receipt_document +#: model_terms:ir.ui.view,arch_db:odex_takaful.report_sponsorship_receipt_document +msgid "من:" +msgstr "من:" + +#. module: odex_takaful +#: model_terms:ir.ui.view,arch_db:odex_takaful.report_extension_receipt_document #: model_terms:ir.ui.view,arch_db:odex_takaful.report_sponsorship_receipt_document msgid "نوع التبرع" -msgstr "" +msgstr "نوع التبرع" #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document #: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_mother_document msgid "نوع السكن" -msgstr "" - -#. module: odex_takaful -#: model:product.product,name:odex_takaful.financial_gift -#: model:product.template,name:odex_takaful.financial_gift_product_template -msgid "هدية مالية" -msgstr "" +msgstr "نوع السكن" #. module: odex_takaful +#: model_terms:ir.ui.view,arch_db:odex_takaful.report_extension_receipt_document #: model_terms:ir.ui.view,arch_db:odex_takaful.report_sponsorship_receipt_document msgid "وسيلة الدفع" -msgstr "" +msgstr "وسيلة الدفع" #. module: odex_takaful +#: model_terms:ir.ui.view,arch_db:odex_takaful.report_extension_receipt_document #: model_terms:ir.ui.view,arch_db:odex_takaful.report_sponsorship_receipt_document msgid "ونتشرف دائما باستقبال عطائك المستمر لدعم أبنائكم الأيتام." -msgstr "" +msgstr "ونتشرف دائما باستقبال عطائك المستمر لدعم أبنائكم الأيتام." + +#. module: odex_takaful +#: code:addons/odex_takaful/static/src/xml/takaful_dashboard.xml:0 +msgid "Conditional" +msgstr "مشروط" + +#. module: odex_takaful +#: model:ir.ui.menu,name:odex_takaful.donations_unconditional_menu +msgid "Unconditional Donations" +msgstr "تبرعات غير مشروطة" + +#. module: odex_takaful +#: model:ir.ui.menu,name:odex_takaful.donations_conditional_menu +msgid "Conditional Donations" +msgstr "تبرعات مشروطة (لأسر)" + +#. module: odex_takaful +#: model:ir.ui.menu,name:odex_takaful.donations_details_lines_app_menu +msgid "Sponsorship Lines" +msgstr "بنود الكفالات" + +#. module: odex_takaful +#: model:ir.ui.menu,name:odex_takaful.kafalat_main_menu +msgid "Donations POS" +msgstr "نقاط بيع التبرعات" + +#. module: odex_takaful +#: model:ir.ui.menu,name:odex_takaful.sponsorship_lines_menu +msgid "Sponsorships" +msgstr "الكفالات" + +#. module: odex_takaful +#: code:addons/odex_takaful/static/src/xml/takaful_dashboard.xml:0 +msgid "Donation" +msgstr "تبرع" + +#. module: odex_takaful +#: code:addons/odex_takaful/static/src/xml/takaful_dashboard.xml:0 +msgid "Sponsorship" +msgstr "كفالة" + +#. module: odex_takaful +#: code:addons/odex_takaful/static/src/xml/takaful_dashboard.xml:0 +msgid "Cash" +msgstr "نقدي" + +#. module: odex_takaful +#: code:addons/odex_takaful/static/src/xml/takaful_dashboard.xml:0 +msgid "Bank Transfer" +msgstr "تحويل بنكي" + +#. module: odex_takaful +#: code:addons/odex_takaful/static/src/xml/takaful_dashboard.xml:0 +msgid "Check" +msgstr "شيك" + +#. module: odex_takaful +#: code:addons/odex_takaful/static/src/xml/takaful_dashboard.xml:0 +msgid "Direct Debit" +msgstr "استقطاع" + +#. module: odex_takaful +#: code:addons/odex_takaful/static/src/xml/takaful_dashboard.xml:0 +msgid "Network" +msgstr "شبكة" + +#. module: odex_takaful +#: code:addons/odex_takaful/static/src/xml/takaful_dashboard.xml:0 +msgid "Pending Replacements" +msgstr "استبدالات معلقة" + +#. module: odex_takaful +#: code:addons/odex_takaful/static/src/xml/takaful_dashboard.xml:0 +msgid "Total Collections" +msgstr "إجمالي التحصيلات" + +#. module: odex_takaful +#: code:addons/odex_takaful/static/src/xml/takaful_dashboard.xml:0 +msgid "Pending Payment" +msgstr "دفعات معلقة" + +#. module: odex_takaful +#: code:addons/odex_takaful/static/src/xml/takaful_dashboard.xml:0 +msgid "Total Sponsored" +msgstr "إجمالي المكفولين" + +#. module: odex_takaful +#: code:addons/odex_takaful/static/src/xml/takaful_dashboard.xml:0 +msgid "My Records" +msgstr "سجلاتي" + +#. module: odex_takaful +#: code:addons/odex_takaful/static/src/xml/takaful_dashboard.xml:0 +msgid "All Records" +msgstr "كل السجلات" + diff --git a/odex25_takaful/odex_takaful/models/donation_details_lines.py b/odex25_takaful/odex_takaful/models/donation_details_lines.py index 4be4a9cc4..75b08b4ff 100644 --- a/odex25_takaful/odex_takaful/models/donation_details_lines.py +++ b/odex25_takaful/odex_takaful/models/donation_details_lines.py @@ -60,7 +60,7 @@ class DonationsDetailsLines(models.Model): string='Sponsorship Type', default="temporary") start_date = fields.Date(string="Sponsorship Start Date", copy=False, default=fields.Date.today()) end_date = fields.Date(string="Sponsorship End Date", compute='_compute_end_date', store=True) - payment_option = fields.Selection([('month', 'Monthly'), ('once', 'For Once')], string='Payment Option') + payment_option = fields.Selection([('month', 'Monthly'), ('once', 'For Once')], string='Payment Option', default='once') payment_month_count = fields.Integer(string='Payment Month Count', default=1) payment_month_count_visibility = fields.Boolean(compute="_compute_payment_month_count_visibility") fixed_value = fields.Boolean(string='Is Fixed Value?', related='product_template_id.fixed_value') @@ -129,6 +129,14 @@ class DonationsDetailsLines(models.Model): compute="_compute_direct_debit_filter", store=True, ) + payment_method_display = fields.Many2one( + 'takaful.payment.method', + string='Payment Method', + compute='_compute_payment_method_display', + store=True + ) + payment_method_type = fields.Selection(related='payment_method_display.payment_method', string='Payment Method Type', store=True) + @api.onchange('family_id') def onchange_family_id(self): @@ -197,6 +205,48 @@ class DonationsDetailsLines(models.Model): def _compute_period_display(self): today = date.today() for rec in self: + period_display = "" + if rec.waiting_date: + delta = rec.waiting_date - today + if delta.days > 0: + period_display = str(delta.days) + " Days" + else: + period_display = "Expired" + elif rec.end_date: + delta = rec.end_date - today + if delta.days > 0: + period_display = str(delta.days) + " Days" + else: + period_display = "Expired" + rec.period_display = period_display + + @api.depends('direct_debit', 'sponsorship_id', 'sponsorship_mechanism_id') + def _compute_payment_method_display(self): + for rec in self: + method = False + # 1. Check Direct Debit first + if rec.direct_debit: + dd_method = self.env['takaful.payment.method'].search([('payment_method', '=', 'direct_debit')], limit=1) + if dd_method: + method = dd_method.id + + # 2. If not Direct Debit, check related Payments + if not method: + sponsorship_id = rec.sponsorship_id.id or rec.sponsorship_mechanism_id.id + if sponsorship_id: + # Find latest posted payment for this sponsorship + # We use the related field 'takaful_sponsorship_id' on account.payment which is computed from the move + payment = self.env['account.payment'].search([ + ('takaful_sponsorship_id', '=', sponsorship_id), + ('state', '=', 'posted') + ], order='date desc', limit=1) + + if payment and payment.journal_id: + payment_method = self.env['takaful.payment.method'].search([('journal_id', '=', payment.journal_id.id)], limit=1) + if payment_method: + method = payment_method.id + + rec.payment_method_display = method # pick whichever date is set if rec.state == 'replace' : diff --git a/odex25_takaful/odex_takaful/models/res_partner.py b/odex25_takaful/odex_takaful/models/res_partner.py index 0cc57af22..eb1aa0d29 100644 --- a/odex25_takaful/odex_takaful/models/res_partner.py +++ b/odex25_takaful/odex_takaful/models/res_partner.py @@ -253,22 +253,21 @@ class ResPartner(models.Model): def _compute_operation_count(self): # Get operation_count - operation_count = self.env['takaful.sponsor.operation'].sudo().search_count([('sponsor_id', '=', self.id)]) - - if operation_count >0: - self.operation_count = operation_count - else: - self.operation_count = 0 - + for record in self: + operation_count = self.env['takaful.sponsor.operation'].sudo().search_count([('sponsor_id', '=', record.id)]) + if operation_count > 0: + record.operation_count = operation_count + else: + record.operation_count = 0 def _compute_kafalat_count(self): # Get kafalat - kafalat_count = self.env['takaful.sponsorship'].sudo().search_count([('sponsor_id', '=', self.id)]) - - if kafalat_count >0: - self.kafalat_count = kafalat_count - else: - self.kafalat_count = 0 + for record in self: + kafalat_count = self.env['takaful.sponsorship'].sudo().search_count([('sponsor_id', '=', record.id)]) + if kafalat_count > 0: + record.kafalat_count = kafalat_count + else: + record.kafalat_count = 0 def _compute_contribution_count(self): # The current user may not have access rights for contributions. diff --git a/odex25_takaful/odex_takaful/models/takaful_payment_method.py b/odex25_takaful/odex_takaful/models/takaful_payment_method.py index b9c97e86d..a42cad09a 100644 --- a/odex25_takaful/odex_takaful/models/takaful_payment_method.py +++ b/odex25_takaful/odex_takaful/models/takaful_payment_method.py @@ -6,13 +6,13 @@ from odoo import models, fields, api, _ class TakafulPaymentMethod(models.Model): _name = 'takaful.payment.method' - name = fields.Char(required=True) + name = fields.Char(required=True, translate=True) payment_method = fields.Selection([ - ("cash", "Cash"), - ("bank", "Bank Transfer"), - ("direct_debit", "Direct Debit"), - ("check", "Check"), - ("network", "Network"), + ("cash", "نقدي"), + ("bank", "تحويل بنكي"), + ("direct_debit", "استقطاع"), + ("check", "شيك"), + ("network", "شبكة"), ], required=True) journal_id = fields.Many2one('account.journal', string="Journal", required=True) diff --git a/odex25_takaful/odex_takaful/models/takaful_sponorship_model.py b/odex25_takaful/odex_takaful/models/takaful_sponorship_model.py index 57434060a..07e70f668 100644 --- a/odex25_takaful/odex_takaful/models/takaful_sponorship_model.py +++ b/odex25_takaful/odex_takaful/models/takaful_sponorship_model.py @@ -1,6 +1,8 @@ # -*- coding: utf-8 -*- from odoo import models, fields, api, _, exceptions from datetime import datetime, date +from dateutil.relativedelta import relativedelta +from odoo.tools.misc import format_amount from odoo import SUPERUSER_ID from odoo.exceptions import UserError, ValidationError, Warning @@ -96,6 +98,14 @@ class TakafulSponsorship(models.Model): ) has_needs = fields.Boolean(store=True) + payment_method_display = fields.Many2one( + 'takaful.payment.method', + string='Payment Method', + compute='_compute_payment_method_display', + store=True + ) + payment_method_type = fields.Selection(related='payment_method_display.payment_method', string='Payment Method Type', store=True) + donations_details_lines = fields.One2many( 'donations.details.lines', 'sponsorship_id', @@ -120,7 +130,7 @@ class TakafulSponsorship(models.Model): refund_move_count = fields.Integer(compute="_compute_refund_move_count") related_move_lines_records_count = fields.Integer(compute="_compute_related_move_lines_records") refund_details_lines_ids = fields.One2many('refund.details.lines', 'sponsorship_id') - donation_mechanism = fields.Selection([('with_conditions', 'With Conditions'),('without_conditions', 'Without Conditions')],string='Donation Mechanism', default='without_conditions') + donation_mechanism = fields.Selection([('with_conditions', 'مشروط'),('without_conditions', 'غير مشروط')],string='Donation Mechanism', default='without_conditions') donations_count = fields.Integer(compute="_compute_donation_count", string="Donations Count") cancel_refund = fields.Boolean(string='Cancel Refund Time', compute="compute_days_after_payment") replaced = fields.Boolean('Replaced') @@ -137,6 +147,88 @@ class TakafulSponsorship(models.Model): store=False ) + + @api.model + def retrieve_dashboard(self): + """ This function returns the values to populate the custom dashboard in + the takaful sponsorship views. + """ + self.check_access_rights('read') + + result = { + 'all_sponsorships': 0, + 'all_conditional': 0, + 'all_unconditional': 0, + 'my_sponsorships': 0, + 'my_conditional': 0, + 'my_unconditional': 0, + 'all_avg_amount': 0, + 'all_avg_days_to_pay': 0, + 'all_total_last_7_days': 0, + 'all_new_last_7_days': 0, + 'company_currency_symbol': self.env.company.currency_id.symbol or self.env.company.currency_id.name or 'SAR' + } + + # Easy counts + Sponsorship = self.env['takaful.sponsorship'] + uid = self.env.uid + + # All Records - Sponsorships vs Conditional/Unconditional + # CORRECT LOGIC (per user clarification): + # - Sponsorships: record_type='sponsorship' (5 records) + # - Conditional: record_type='donation' AND donation_mechanism='with_conditions' (1 record) + # - Unconditional: record_type='donation' AND donation_mechanism='without_conditions' (22 records) + result['all_sponsorships'] = Sponsorship.search_count([('record_type', '=', 'sponsorship')]) + result['all_conditional'] = Sponsorship.search_count([ + ('record_type', '=', 'donation'), + ('donation_mechanism', '=', 'with_conditions') + ]) + result['all_unconditional'] = Sponsorship.search_count([ + ('record_type', '=', 'donation'), + ('donation_mechanism', '=', 'without_conditions') + ]) + + # My Records + result['my_sponsorships'] = Sponsorship.search_count([ + ('record_type', '=', 'sponsorship'), + ('create_uid', '=', uid) + ]) + result['my_conditional'] = Sponsorship.search_count([ + ('record_type', '=', 'donation'), + ('donation_mechanism', '=', 'with_conditions'), + ('create_uid', '=', uid) + ]) + result['my_unconditional'] = Sponsorship.search_count([ + ('record_type', '=', 'donation'), + ('donation_mechanism', '=', 'without_conditions'), + ('create_uid', '=', uid) + ]) + + # --- KPI Section --- + currency = self.env.company.currency_id + + # 1. Pending Replacements (under_replacement state) + result['all_avg_amount'] = Sponsorship.search_count([('state', '=', 'under_replacement')]) + + # 2. Total Collections (إجمالي التحصيلات) - Sum of amount_paid for paid records + # amount_paid is computed, so use Python sum + paid_sponsorships = Sponsorship.search([('state', '=', 'paid')]) + total_collections = sum(paid_sponsorships.mapped('amount_paid')) + # Format as simple number with currency symbol + result['all_total_last_7_days'] = "{:,.0f} {}".format(total_collections, currency.name or 'SAR') + + # 3. Pending Payment (بانتظار السداد) - Records in confirmed state (not yet paid) + result['all_avg_days_to_pay'] = Sponsorship.search_count([('state', '=', 'confirmed')]) + + # 4. Total Sponsored Beneficiaries (إجمالي المكفولين) + # Count family members who are currently sponsored (have an active sponsorship link) + FamilyMember = self.env['family.member'] + # Try to find field that links beneficiary to sponsor + sponsored_count = FamilyMember.search_count([('sponsor_related_id', '!=', False)]) + result['all_new_last_7_days'] = sponsored_count + + return result + def _compute_short_receipt_url(self): """Compute short URL for receipt using link.tracker (same pattern as Odoo website_slides)""" base_url = self.env['ir.config_parameter'].sudo().get_param('web.base.url', '') @@ -479,6 +571,32 @@ class TakafulSponsorship(models.Model): for rec in self: rec.journal_entry_count_vendor = len(rec.journal_entry_ids.filtered(lambda r: r.move_type == 'in_invoice')) + @api.depends('donations_details_lines.payment_method_display', 'donations_details_lines.direct_debit') + def _compute_payment_method_display(self): + for rec in self: + method = False + # 1. Check if ANY donation line is Direct Debit. If so, default to Direct Debit as it's the intended primary method. + is_direct_debit = any(line.direct_debit for line in rec.donations_details_lines) + if is_direct_debit: + dd_method = self.env['takaful.payment.method'].search([('payment_method', '=', 'direct_debit')], limit=1) + if dd_method: + method = dd_method.id + + # 2. If not Direct Debit, find the latest payment for this sponsorship + if not method: + # Find latest posted payment for this sponsorship + payment = self.env['account.payment'].search([ + ('takaful_sponsorship_id', '=', rec.id), + ('state', '=', 'posted') + ], order='date desc', limit=1) + + if payment and payment.journal_id: + payment_method = self.env['takaful.payment.method'].search([('journal_id', '=', payment.journal_id.id)], limit=1) + if payment_method: + method = payment_method.id + + rec.payment_method_display = method + @api.depends('donations_details_lines') def _compute_donation_count(self): for rec in self: @@ -819,8 +937,8 @@ class TakafulSponsorship(models.Model): last_invoice_date = fields.Date(string='Last Invoice') voucher_ids = fields.One2many('account.move','sponsorship_id',string='Vouchers', copy=False) record_type = fields.Selection([ - ('donation', 'Donation'), - ('sponsorship', 'Sponsorship'), + ('donation', 'تبرع'), + ('sponsorship', 'كفالة'), ], string="Record Type", required=True, default=lambda self: self._get_default_record_type(), copy=False) is_donations_coordinator = fields.Boolean(string="Is Donations Coordinator", compute='_compute_is_coordinator') is_sponsorship_coordinator = fields.Boolean(string="Is Sponsorship Coordinator", compute='_compute_is_coordinator') @@ -2059,7 +2177,7 @@ class PaymentDetailsLines(models.Model): is_fully_refund = fields.Boolean(string='Is Fully Refund') is_partial_refund = fields.Boolean(string='Is Partial Refund') payment_method_id = fields.Many2one('takaful.payment.method', string="Payment Method") - payment_method = fields.Selection(selection=[("cash", "Cash"),("card", "Card"),("check", "Check"),("credit_card", "Credit Card"),("bank", "Bank Transfer"),("direct_debit", "Direct Debit")], related="payment_method_id.payment_method") + payment_method = fields.Selection(selection=[("cash", "نقدي"),("card", "بطاقة"),("check", "شيك"),("credit_card", "بطاقة ائتمان"),("bank", "تحويل بنكي"),("direct_debit", "استقطاع")], related="payment_method_id.payment_method") def action_send_whatsapp(self): notification = self.env['takaful.notification'].sudo().search( @@ -2231,7 +2349,7 @@ class PaymentDetailsLines(models.Model): # Example logic: Validate the fields and mark them as confirmed for record in self: if record.payment_method_id.payment_method in ('direct_debit', 'bank') and not record.bank_id: - raise ValidationError("Bank is required for Direct Debit and Bank Transfer methods.") + raise ValidationError("البنك مطلوب لطريقة الدفع (استقطاع بنكي - تحويل بنكي)") # Close the wizard return {'type': 'ir.actions.act_window_close'} diff --git a/odex25_takaful/odex_takaful/static/src/js/takaful_dashboard.js b/odex25_takaful/odex_takaful/static/src/js/takaful_dashboard.js new file mode 100644 index 000000000..35104de2e --- /dev/null +++ b/odex25_takaful/odex_takaful/static/src/js/takaful_dashboard.js @@ -0,0 +1,151 @@ +odoo.define('takaful.dashboard', function (require) { + "use strict"; + + /** + * This file defines the Takaful Dashboard view (alongside its renderer, model + * and controller). This Dashboard is added to the top of list and kanban Takaful + * views, it extends both views with essentially the same code except for + * _onDashboardActionClicked function so we can apply filters without changing our + * current view. + */ + + var core = require('web.core'); + var ListController = require('web.ListController'); + var ListModel = require('web.ListModel'); + var ListRenderer = require('web.ListRenderer'); + var ListView = require('web.ListView'); + var SampleServer = require('web.SampleServer'); + var view_registry = require('web.view_registry'); + + var QWeb = core.qweb; + + // Add mock of method 'retrieve_dashboard' in SampleServer + let dashboardValues; + SampleServer.mockRegistry.add('takaful.sponsorship/retrieve_dashboard', () => { + return Object.assign({}, dashboardValues); + }); + + //-------------------------------------------------------------------------- + // List View + //-------------------------------------------------------------------------- + + var TakafulListDashboardRenderer = ListRenderer.extend({ + events: _.extend({}, ListRenderer.prototype.events, { + 'click .o_dashboard_action': '_onDashboardActionClicked', + }), + /** + * @override + * @private + * @returns {Promise} + */ + _renderView: function () { + var self = this; + return this._super.apply(this, arguments).then(function () { + var values = self.state.dashboardValues; + var takaful_dashboard = QWeb.render('takaful.TakafulDashboard', { + values: values, + }); + self.$el.prepend(takaful_dashboard); + }); + }, + + /** + * @private + * @param {MouseEvent} + */ + _onDashboardActionClicked: function (e) { + e.preventDefault(); + var $action = $(e.currentTarget); + this.trigger_up('dashboard_open_action', { + action_name: $action.attr('name'), + action_context: $action.attr('context'), + }); + }, + }); + + var TakafulListDashboardModel = ListModel.extend({ + /** + * @override + */ + init: function () { + this.dashboardValues = {}; + this._super.apply(this, arguments); + }, + + /** + * @override + */ + __get: function (localID) { + var result = this._super.apply(this, arguments); + if (_.isObject(result)) { + result.dashboardValues = this.dashboardValues[localID]; + } + return result; + }, + /** + * @override + * @returns {Promise} + */ + __load: function () { + return this._loadDashboard(this._super.apply(this, arguments)); + }, + /** + * @override + * @returns {Promise} + */ + __reload: function () { + return this._loadDashboard(this._super.apply(this, arguments)); + }, + + /** + * @private + * @param {Promise} super_def a promise that resolves with a dataPoint id + * @returns {Promise -> string} resolves to the dataPoint id + */ + _loadDashboard: function (super_def) { + var self = this; + var dashboard_def = this._rpc({ + model: 'takaful.sponsorship', + method: 'retrieve_dashboard', + }); + return Promise.all([super_def, dashboard_def]).then(function (results) { + var id = results[0]; + dashboardValues = results[1]; + self.dashboardValues[id] = dashboardValues; + return id; + }); + }, + }); + + var TakafulListDashboardController = ListController.extend({ + custom_events: _.extend({}, ListController.prototype.custom_events, { + dashboard_open_action: '_onDashboardOpenAction', + }), + + /** + * @private + * @param {OdooEvent} e + */ + _onDashboardOpenAction: function (e) { + return this.do_action(e.data.action_name, + { additional_context: JSON.parse(e.data.action_context) }); + }, + }); + + var TakafulListDashboardView = ListView.extend({ + config: _.extend({}, ListView.prototype.config, { + Model: TakafulListDashboardModel, + Renderer: TakafulListDashboardRenderer, + Controller: TakafulListDashboardController, + }), + }); + + view_registry.add('takaful_dashboard', TakafulListDashboardView); + + return { + TakafulListDashboardModel: TakafulListDashboardModel, + TakafulListDashboardRenderer: TakafulListDashboardRenderer, + TakafulListDashboardController: TakafulListDashboardController, + }; + +}); diff --git a/odex25_takaful/odex_takaful/static/src/scss/takaful_dashboard.scss b/odex25_takaful/odex_takaful/static/src/scss/takaful_dashboard.scss new file mode 100644 index 000000000..6a26c0dd8 --- /dev/null +++ b/odex25_takaful/odex_takaful/static/src/scss/takaful_dashboard.scss @@ -0,0 +1,79 @@ + +.o_purchase_dashboard { + flex: 1 0 100%; + padding: 10px 10px 18px 10px; + + background-color: white; // Fallback or $o-view-background-color + position: relative; + max-width:100%; + + .row { + margin-right: 0; + margin-left: 0; + } + + .o_dashboard_action { + cursor: pointer; + } + + .table { + margin-bottom: 0; + table-layout: fixed; + border-spacing: 10px 0px; + border-collapse: separate; + font-size: 13px; + + > thead, tbody { + & > tr > td { + text-align: center; + width: 25%; + height: 33px; + vertical-align: middle; + border-top: 1px solid white; // $o-view-background-color + background-color: #e9ecef; // $o-brand-lightsecondary + + &.o_text{ + background-color: white; // $o-view-background-color + } + + > a:hover { + text-decoration: none; + } + + &.o_main { + background-color: #008784; // Default Teal + color: white; + + &:hover { + background-color: darken(#008784, 10%); + } + > a { + color: white; + } + } + + // Custom Colors for Takaful - Softer/Warmer Pastels + &.o_main_green { + background-color: #00887e; // User specified teal-green + color: white; + &:hover { background-color: darken(#00887e, 8%); } + > a { color: white; } + } + + &.o_main_blue { + background-color: #5DADE2; // Soft sky blue + color: white; + &:hover { background-color: darken(#5DADE2, 8%); } + > a { color: white; } + } + + &.o_main_orange { + background-color: #F0B27A; // Warm soft orange/peach + color: #333; // Dark text for contrast + &:hover { background-color: darken(#F0B27A, 8%); } + > a { color: #333; } + } + } + } + } +} diff --git a/odex25_takaful/odex_takaful/static/src/xml/takaful_dashboard.xml b/odex25_takaful/odex_takaful/static/src/xml/takaful_dashboard.xml new file mode 100644 index 000000000..9fe6ceaec --- /dev/null +++ b/odex25_takaful/odex_takaful/static/src/xml/takaful_dashboard.xml @@ -0,0 +1,65 @@ + +