diff --git a/src/etools/applications/partners/exports_v2.py b/src/etools/applications/partners/exports_v2.py index ac5b3554e8..e1f760fd4d 100644 --- a/src/etools/applications/partners/exports_v2.py +++ b/src/etools/applications/partners/exports_v2.py @@ -47,81 +47,6 @@ class PartnerOrganizationCSVRenderer(r.CSVRenderer): } -class PartnerOrganizationHactCsvRenderer(FriendlyCSVRenderer): - - header = [ - 'name', - 'vendor_number', - 'partner_type', - 'shared_with', - 'type_of_assessment', - 'net_ct_cy', - 'reported_cy', - 'total_ct_ytd', - 'rating', - 'flags.expiring_assessment_flag', - 'flags.approaching_threshold_flag', - 'hact_values.programmatic_visits.planned.q1', - 'hact_values.programmatic_visits.planned.q2', - 'hact_values.programmatic_visits.planned.q3', - 'hact_values.programmatic_visits.planned.q4', - 'hact_min_requirements.programmatic_visits', - 'hact_values.programmatic_visits.completed.q1', - 'hact_values.programmatic_visits.completed.q2', - 'hact_values.programmatic_visits.completed.q3', - 'hact_values.programmatic_visits.completed.q4', - 'planned_engagement.spot_check_planned_q1', - 'planned_engagement.spot_check_planned_q2', - 'planned_engagement.spot_check_planned_q3', - 'planned_engagement.spot_check_planned_q4', - 'hact_min_requirements.spot_checks', - 'planned_engagement.spot_check_follow_up', - 'hact_values.spot_checks.completed.q1', - 'hact_values.spot_checks.completed.q2', - 'hact_values.spot_checks.completed.q3', - 'hact_values.spot_checks.completed.q4', - 'hact_min_requirements.audits', - 'hact_values.audits.completed', - 'hact_values.outstanding_findings', - ] - - labels = { - 'name': _('Implementing Partner'), - 'vendor_number': _('Vendor Number'), - 'partner_type': _('Partner Type'), - 'shared_with': _('Shared IP'), - 'type_of_assessment': _('Assessment Type'), - 'net_ct_cy': _('Cash Transfer 1 OCT - 30 SEP'), - 'reported_cy': _('Liquidations 1 OCT - 30 SEP'), - 'total_ct_ytd': _('Cash Transfers Jan - Dec'), - 'rating': _('Risk Rating'), - 'flags.expiring_assessment_flag': _('Expiring Threshold'), - 'flags.approaching_threshold_flag': _('Approach Threshold'), - 'hact_values.programmatic_visits.planned.q1': _('Programmatic Visits Planned Q1'), - 'hact_values.programmatic_visits.planned.q2': _('Q2'), - 'hact_values.programmatic_visits.planned.q3': _('Q3'), - 'hact_values.programmatic_visits.planned.q4': _('Q4'), - 'hact_min_requirements.programmatic_visits': _('Programmatic Visits M.R'), - 'hact_values.programmatic_visits.completed.q1': _('Programmatic Visits Completed Q1'), - 'hact_values.programmatic_visits.completed.q2': _('Q2'), - 'hact_values.programmatic_visits.completed.q3': _('Q3'), - 'hact_values.programmatic_visits.completed.q4': _('Q4'), - 'planned_engagement.spot_check_planned_q1': _('Spot Checks Planned Q1'), - 'planned_engagement.spot_check_planned_q2': _('Q2'), - 'planned_engagement.spot_check_planned_q3': _('Q3'), - 'planned_engagement.spot_check_planned_q4': _('Q4'), - 'hact_min_requirements.spot_checks': _('Spot Checks M.R'), - 'planned_engagement.spot_check_follow_up': _('Follow Up'), - 'hact_values.spot_checks.completed.q1': _('Spot Checks Completed Q1'), - 'hact_values.spot_checks.completed.q2': _('Q2'), - 'hact_values.spot_checks.completed.q3': _('Q3'), - 'hact_values.spot_checks.completed.q4': _('Q4'), - 'hact_min_requirements.audits': _('Audits M.R'), - 'hact_values.audits.completed': _('Audit Completed'), - 'hact_values.outstanding_findings': _('Audits Outstanding Findings'), - } - - class PartnerOrganizationDashboardCsvRenderer(FriendlyCSVRenderer): header = [ 'name', @@ -152,49 +77,6 @@ class PartnerOrganizationDashboardCsvRenderer(FriendlyCSVRenderer): } -class PartnerOrganizationSimpleHactCsvRenderer(FriendlyCSVRenderer): - - header = [ - 'name', - 'vendor_number', - 'partner_type', - 'shared_with', - 'type_of_assessment', - 'total_ct_ytd', - 'rating', - 'flags.expiring_assessment_flag', - 'flags.approaching_threshold_flag', - 'hact_values.programmatic_visits.planned.total', - 'hact_min_requirements.programmatic_visits', - 'hact_values.programmatic_visits.completed.total', - 'planned_engagement.spot_check_required', - 'hact_values.spot_checks.completed.total', - 'hact_min_requirements.audits', - 'hact_values.audits.completed', - 'hact_values.outstanding_findings', - ] - - labels = { - 'name': _('Implementing Partner'), - 'vendor_number': _('Vendor Number'), - 'partner_type': _('Partner Type'), - 'shared_with': _('Shared IP'), - 'total_ct_ytd': _('Cash Transfers Jan - Dec'), - 'type_of_assessment': _('Assessment Type'), - 'rating': _('Risk Rating'), - 'flags.expiring_assessment_flag': _('Expiring Threshold'), - 'flags.approaching_threshold_flag': _('Approach Threshold'), - 'hact_values.programmatic_visits.planned.total': _('Programmatic Visits Planned'), - 'hact_min_requirements.programmatic_visits': _('Programmatic Visits M.R'), - 'hact_values.programmatic_visits.completed.total': _('Programmatic Visits Completed'), - 'planned_engagement.spot_check_required': _('Spot Check Required'), - 'hact_values.spot_checks.completed.total': _('Spot Checks Completed'), - 'hact_min_requirements.audits': _('Audits M.R'), - 'hact_values.audits.completed': _('Audit Completed'), - 'hact_values.outstanding_findings': _('Audits Outstanding Findings'), - } - - class AgreementCSVRenderer(r.CSVRenderer): header = [ "agreement_number", diff --git a/src/etools/applications/partners/locale/ar/LC_MESSAGES/django.po b/src/etools/applications/partners/locale/ar/LC_MESSAGES/django.po index 09cea1a9b0..fd7b42fd90 100644 --- a/src/etools/applications/partners/locale/ar/LC_MESSAGES/django.po +++ b/src/etools/applications/partners/locale/ar/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-05-21 04:41+0000\n" +"POT-Creation-Date: 2024-06-04 15:42+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -140,66 +140,6 @@ msgstr "الزيارات البرامجية المخططة" msgid "Implementing Partner" msgstr "الشريك المنفذ" -msgid "Shared IP" -msgstr "شريك منفذ مشترك" - -msgid "Cash Transfer 1 OCT - 30 SEP" -msgstr "تحويل نقدي 1 أكتوبر - 30 سبتمبر" - -msgid "Liquidations 1 OCT - 30 SEP" -msgstr "التخليص 1 أكتوبر - 30 سبتمبر" - -msgid "Cash Transfers Jan - Dec" -msgstr "التحويلات النقدية يناير - ديسمبر" - -msgid "Risk Rating" -msgstr "تقييم المخاطرة" - -msgid "Expiring Threshold" -msgstr "عتبة انتهاء الصلاحية" - -msgid "Approach Threshold" -msgstr "عتبة الاقتراب" - -msgid "Programmatic Visits Planned Q1" -msgstr "الزيارات البرجمية المخطط لها ، الربع الأول" - -msgid "Q2" -msgstr "الربع الثاني" - -msgid "Q3" -msgstr "الربع الثالث" - -msgid "Q4" -msgstr "الربع الرابع" - -msgid "Programmatic Visits M.R" -msgstr "الحد الأدنى للزيارات البرامجية" - -msgid "Programmatic Visits Completed Q1" -msgstr "الزيارات البرمجية المنجزة في الربع الأول" - -msgid "Spot Checks Planned Q1" -msgstr "عدد الزيارات الرقابية المفاجئة المخطط لها في الربع الأول" - -msgid "Spot Checks M.R" -msgstr "الحد الأدنى من عدد الزيارات الرقابية المفاجئة المطلوبة" - -msgid "Follow Up" -msgstr "متابعة" - -msgid "Spot Checks Completed Q1" -msgstr "عدد الزيارات الرقابية المفاجئة المكتملة في الربع الأول" - -msgid "Audits M.R" -msgstr "الحد الادنى لعمليات التدقيق المالي" - -msgid "Audit Completed" -msgstr "التدقيق المالي المكتمل" - -msgid "Audits Outstanding Findings" -msgstr "نتائج التدقيق المالي المعلقة" - msgid "Sections" msgstr "الأقسام" @@ -230,18 +170,6 @@ msgstr "مبلغ التحويل النقدي المباشر المستحق بي msgid "Outstanding DCT Amount more than 9 months" msgstr "مبلغ التحويل النقدي المباشر المستحق لأكثر من 9 أشهر" -msgid "Programmatic Visits Planned" -msgstr "الزيارات البرامجية المخطط لها" - -msgid "Programmatic Visits Completed" -msgstr "الزيارات البرمجية المنجزة" - -msgid "Spot Check Required" -msgstr "عدد الزيارات الرقابية المفاجئة المطلوبة" - -msgid "Spot Checks Completed" -msgstr "عدد الزيارات الرقابية المفاجئة المكتملة" - msgid "Reference Number" msgstr "رقم المرجع" @@ -730,6 +658,9 @@ msgstr "دولة" msgid "Alternate ID" msgstr "معرف بديل" +msgid "Risk Rating" +msgstr "تقييم المخاطرة" + msgid "Last Assessment Date" msgstr "تاريخ آخر تقييم" @@ -1114,6 +1045,15 @@ msgstr "تعديلات التدخل" msgid "Q1" msgstr "" +msgid "Q2" +msgstr "الربع الثاني" + +msgid "Q3" +msgstr "الربع الثالث" + +msgid "Q4" +msgstr "الربع الرابع" + msgid "Intervention" msgstr "تدخل" @@ -2249,6 +2189,66 @@ msgstr "لا تحتوي الاستجابة التي أرجعها الخادم ع msgid "Partnership Manager role required for pca export." msgstr "دور مدير الشراكة المطلوب لتصدير pca." +#~ msgid "Shared IP" +#~ msgstr "شريك منفذ مشترك" + +#~ msgid "Cash Transfer 1 OCT - 30 SEP" +#~ msgstr "تحويل نقدي 1 أكتوبر - 30 سبتمبر" + +#~ msgid "Liquidations 1 OCT - 30 SEP" +#~ msgstr "التخليص 1 أكتوبر - 30 سبتمبر" + +#~ msgid "Cash Transfers Jan - Dec" +#~ msgstr "التحويلات النقدية يناير - ديسمبر" + +#~ msgid "Expiring Threshold" +#~ msgstr "عتبة انتهاء الصلاحية" + +#~ msgid "Approach Threshold" +#~ msgstr "عتبة الاقتراب" + +#~ msgid "Programmatic Visits Planned Q1" +#~ msgstr "الزيارات البرجمية المخطط لها ، الربع الأول" + +#~ msgid "Programmatic Visits M.R" +#~ msgstr "الحد الأدنى للزيارات البرامجية" + +#~ msgid "Programmatic Visits Completed Q1" +#~ msgstr "الزيارات البرمجية المنجزة في الربع الأول" + +#~ msgid "Spot Checks Planned Q1" +#~ msgstr "عدد الزيارات الرقابية المفاجئة المخطط لها في الربع الأول" + +#~ msgid "Spot Checks M.R" +#~ msgstr "الحد الأدنى من عدد الزيارات الرقابية المفاجئة المطلوبة" + +#~ msgid "Follow Up" +#~ msgstr "متابعة" + +#~ msgid "Spot Checks Completed Q1" +#~ msgstr "عدد الزيارات الرقابية المفاجئة المكتملة في الربع الأول" + +#~ msgid "Audits M.R" +#~ msgstr "الحد الادنى لعمليات التدقيق المالي" + +#~ msgid "Audit Completed" +#~ msgstr "التدقيق المالي المكتمل" + +#~ msgid "Audits Outstanding Findings" +#~ msgstr "نتائج التدقيق المالي المعلقة" + +#~ msgid "Programmatic Visits Planned" +#~ msgstr "الزيارات البرامجية المخطط لها" + +#~ msgid "Programmatic Visits Completed" +#~ msgstr "الزيارات البرمجية المنجزة" + +#~ msgid "Spot Check Required" +#~ msgstr "عدد الزيارات الرقابية المفاجئة المطلوبة" + +#~ msgid "Spot Checks Completed" +#~ msgstr "عدد الزيارات الرقابية المفاجئة المكتملة" + #~ msgid "" #~ "Final Review must be approved for documents having amount transferred " #~ "greater than 100,000" diff --git a/src/etools/applications/partners/locale/es/LC_MESSAGES/django.po b/src/etools/applications/partners/locale/es/LC_MESSAGES/django.po index 5001826676..2f6f7bfa90 100644 --- a/src/etools/applications/partners/locale/es/LC_MESSAGES/django.po +++ b/src/etools/applications/partners/locale/es/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: et-partners2-bk\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-05-21 04:41+0000\n" +"POT-Creation-Date: 2024-06-04 15:42+0000\n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -135,66 +135,6 @@ msgstr "Visitas programáticas previstas" msgid "Implementing Partner" msgstr "Socio ejecutor" -msgid "Shared IP" -msgstr "IP compartida" - -msgid "Cash Transfer 1 OCT - 30 SEP" -msgstr "Transferencia de efectivo 1 OCT - 30 SEP" - -msgid "Liquidations 1 OCT - 30 SEP" -msgstr "Liquidaciones 1 OCT - 30 SEP" - -msgid "Cash Transfers Jan - Dec" -msgstr "Transferencias enero - diciembre" - -msgid "Risk Rating" -msgstr "Calificación del riesgo" - -msgid "Expiring Threshold" -msgstr "Umbral de expiración" - -msgid "Approach Threshold" -msgstr "Umbral de aproximación" - -msgid "Programmatic Visits Planned Q1" -msgstr "Visitas programáticas previstas Q1" - -msgid "Q2" -msgstr "Q2" - -msgid "Q3" -msgstr "Q3" - -msgid "Q4" -msgstr "Q4" - -msgid "Programmatic Visits M.R" -msgstr "Visitas programáticas M.R" - -msgid "Programmatic Visits Completed Q1" -msgstr "Visitas programáticas realizadas 1er trimestre" - -msgid "Spot Checks Planned Q1" -msgstr "Controles aleatorios previstos Q1" - -msgid "Spot Checks M.R" -msgstr "Controles aleatorios M.R" - -msgid "Follow Up" -msgstr "Seguimiento" - -msgid "Spot Checks Completed Q1" -msgstr "Controles aleatorios completados Q1" - -msgid "Audits M.R" -msgstr "Auditorías M.R" - -msgid "Audit Completed" -msgstr "Auditoría finalizada" - -msgid "Audits Outstanding Findings" -msgstr "Auditorías Conclusiones pendientes" - msgid "Sections" msgstr "Secciones" @@ -225,18 +165,6 @@ msgstr "Importe pendiente del SES entre 6 y 9 meses" msgid "Outstanding DCT Amount more than 9 months" msgstr "Importe del SES pendiente más de 9 meses" -msgid "Programmatic Visits Planned" -msgstr "Visitas programáticas previstas" - -msgid "Programmatic Visits Completed" -msgstr "Visitas programáticas realizadas" - -msgid "Spot Check Required" -msgstr "Comprobación aleatoria obligatoria" - -msgid "Spot Checks Completed" -msgstr "Controles aleatorios realizados" - msgid "Reference Number" msgstr "Número de referencia" @@ -727,6 +655,9 @@ msgstr "País" msgid "Alternate ID" msgstr "ID alternativo" +msgid "Risk Rating" +msgstr "Calificación del riesgo" + msgid "Last Assessment Date" msgstr "Fecha de la última evaluación" @@ -1111,6 +1042,15 @@ msgstr "Enmiendas de intervención" msgid "Q1" msgstr "" +msgid "Q2" +msgstr "Q2" + +msgid "Q3" +msgstr "Q3" + +msgid "Q4" +msgstr "Q4" + msgid "Intervention" msgstr "Intervención" @@ -2316,6 +2256,66 @@ msgid "Partnership Manager role required for pca export." msgstr "" "Se requiere el rol de Gerente de asociación para la exportación de PCA." +#~ msgid "Shared IP" +#~ msgstr "IP compartida" + +#~ msgid "Cash Transfer 1 OCT - 30 SEP" +#~ msgstr "Transferencia de efectivo 1 OCT - 30 SEP" + +#~ msgid "Liquidations 1 OCT - 30 SEP" +#~ msgstr "Liquidaciones 1 OCT - 30 SEP" + +#~ msgid "Cash Transfers Jan - Dec" +#~ msgstr "Transferencias enero - diciembre" + +#~ msgid "Expiring Threshold" +#~ msgstr "Umbral de expiración" + +#~ msgid "Approach Threshold" +#~ msgstr "Umbral de aproximación" + +#~ msgid "Programmatic Visits Planned Q1" +#~ msgstr "Visitas programáticas previstas Q1" + +#~ msgid "Programmatic Visits M.R" +#~ msgstr "Visitas programáticas M.R" + +#~ msgid "Programmatic Visits Completed Q1" +#~ msgstr "Visitas programáticas realizadas 1er trimestre" + +#~ msgid "Spot Checks Planned Q1" +#~ msgstr "Controles aleatorios previstos Q1" + +#~ msgid "Spot Checks M.R" +#~ msgstr "Controles aleatorios M.R" + +#~ msgid "Follow Up" +#~ msgstr "Seguimiento" + +#~ msgid "Spot Checks Completed Q1" +#~ msgstr "Controles aleatorios completados Q1" + +#~ msgid "Audits M.R" +#~ msgstr "Auditorías M.R" + +#~ msgid "Audit Completed" +#~ msgstr "Auditoría finalizada" + +#~ msgid "Audits Outstanding Findings" +#~ msgstr "Auditorías Conclusiones pendientes" + +#~ msgid "Programmatic Visits Planned" +#~ msgstr "Visitas programáticas previstas" + +#~ msgid "Programmatic Visits Completed" +#~ msgstr "Visitas programáticas realizadas" + +#~ msgid "Spot Check Required" +#~ msgstr "Comprobación aleatoria obligatoria" + +#~ msgid "Spot Checks Completed" +#~ msgstr "Controles aleatorios realizados" + #~ msgid "" #~ "Final Review must be approved for documents having amount transferred " #~ "greater than 100,000" diff --git a/src/etools/applications/partners/locale/fr/LC_MESSAGES/django.po b/src/etools/applications/partners/locale/fr/LC_MESSAGES/django.po index e993259a2f..386137d2fa 100644 --- a/src/etools/applications/partners/locale/fr/LC_MESSAGES/django.po +++ b/src/etools/applications/partners/locale/fr/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-05-21 04:41+0000\n" +"POT-Creation-Date: 2024-06-04 15:42+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -143,66 +143,6 @@ msgstr "Visites programmées" msgid "Implementing Partner" msgstr "Partenaire de mise en œuvre" -msgid "Shared IP" -msgstr "IP partagée" - -msgid "Cash Transfer 1 OCT - 30 SEP" -msgstr "Transfert d'argent liquide 1 OCT - 30 SEP" - -msgid "Liquidations 1 OCT - 30 SEP" -msgstr "Liquidations 1 OCT - 30 SEP" - -msgid "Cash Transfers Jan - Dec" -msgstr "Transferts de fonds Jan - Déc" - -msgid "Risk Rating" -msgstr "Évaluation du risque" - -msgid "Expiring Threshold" -msgstr "Seuil d'expiration" - -msgid "Approach Threshold" -msgstr "Seuil d'approche" - -msgid "Programmatic Visits Planned Q1" -msgstr "Visites programmées Q1" - -msgid "Q2" -msgstr "Q2" - -msgid "Q3" -msgstr "Q3" - -msgid "Q4" -msgstr "Q4" - -msgid "Programmatic Visits M.R" -msgstr "Visites programmées M.R" - -msgid "Programmatic Visits Completed Q1" -msgstr "Visites programmatiques achevées Q1" - -msgid "Spot Checks Planned Q1" -msgstr "Contrôles ponctuels prévus Q1" - -msgid "Spot Checks M.R" -msgstr "Contrôles ponctuels M.R" - -msgid "Follow Up" -msgstr "Suivi" - -msgid "Spot Checks Completed Q1" -msgstr "Contrôles ponctuels achevés Q1" - -msgid "Audits M.R" -msgstr "Audits M.R" - -msgid "Audit Completed" -msgstr "Audit terminé" - -msgid "Audits Outstanding Findings" -msgstr "Audits Constatations en suspens" - msgid "Sections" msgstr "Sections" @@ -233,18 +173,6 @@ msgstr "Montant du DCT impayé entre 6 et 9 mois" msgid "Outstanding DCT Amount more than 9 months" msgstr "Montant DCT impayé plus de 9 mois" -msgid "Programmatic Visits Planned" -msgstr "Visites programmées" - -msgid "Programmatic Visits Completed" -msgstr "Visites programmatiques achevées" - -msgid "Spot Check Required" -msgstr "Vérification ponctuelle requise" - -msgid "Spot Checks Completed" -msgstr "Contrôles ponctuels effectués" - msgid "Reference Number" msgstr "Numéro de référence" @@ -736,6 +664,9 @@ msgstr "Pays" msgid "Alternate ID" msgstr "ID alternatif" +msgid "Risk Rating" +msgstr "Évaluation du risque" + msgid "Last Assessment Date" msgstr "Date de la dernière évaluation" @@ -1120,6 +1051,15 @@ msgstr "Modifications de l'intervention" msgid "Q1" msgstr "" +msgid "Q2" +msgstr "Q2" + +msgid "Q3" +msgstr "Q3" + +msgid "Q4" +msgstr "Q4" + msgid "Intervention" msgstr "Intervention" @@ -2330,6 +2270,66 @@ msgstr "" msgid "Partnership Manager role required for pca export." msgstr "Rôle de gestionnaire de partenariat requis pour l'exportation pca." +#~ msgid "Shared IP" +#~ msgstr "IP partagée" + +#~ msgid "Cash Transfer 1 OCT - 30 SEP" +#~ msgstr "Transfert d'argent liquide 1 OCT - 30 SEP" + +#~ msgid "Liquidations 1 OCT - 30 SEP" +#~ msgstr "Liquidations 1 OCT - 30 SEP" + +#~ msgid "Cash Transfers Jan - Dec" +#~ msgstr "Transferts de fonds Jan - Déc" + +#~ msgid "Expiring Threshold" +#~ msgstr "Seuil d'expiration" + +#~ msgid "Approach Threshold" +#~ msgstr "Seuil d'approche" + +#~ msgid "Programmatic Visits Planned Q1" +#~ msgstr "Visites programmées Q1" + +#~ msgid "Programmatic Visits M.R" +#~ msgstr "Visites programmées M.R" + +#~ msgid "Programmatic Visits Completed Q1" +#~ msgstr "Visites programmatiques achevées Q1" + +#~ msgid "Spot Checks Planned Q1" +#~ msgstr "Contrôles ponctuels prévus Q1" + +#~ msgid "Spot Checks M.R" +#~ msgstr "Contrôles ponctuels M.R" + +#~ msgid "Follow Up" +#~ msgstr "Suivi" + +#~ msgid "Spot Checks Completed Q1" +#~ msgstr "Contrôles ponctuels achevés Q1" + +#~ msgid "Audits M.R" +#~ msgstr "Audits M.R" + +#~ msgid "Audit Completed" +#~ msgstr "Audit terminé" + +#~ msgid "Audits Outstanding Findings" +#~ msgstr "Audits Constatations en suspens" + +#~ msgid "Programmatic Visits Planned" +#~ msgstr "Visites programmées" + +#~ msgid "Programmatic Visits Completed" +#~ msgstr "Visites programmatiques achevées" + +#~ msgid "Spot Check Required" +#~ msgstr "Vérification ponctuelle requise" + +#~ msgid "Spot Checks Completed" +#~ msgstr "Contrôles ponctuels effectués" + #~ msgid "" #~ "Final Review must be approved for documents having amount transferred " #~ "greater than 100,000" diff --git a/src/etools/applications/partners/locale/pt/LC_MESSAGES/django.po b/src/etools/applications/partners/locale/pt/LC_MESSAGES/django.po index 57e8b4c536..68fec92747 100644 --- a/src/etools/applications/partners/locale/pt/LC_MESSAGES/django.po +++ b/src/etools/applications/partners/locale/pt/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-05-21 04:41+0000\n" +"POT-Creation-Date: 2024-06-04 15:42+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -148,67 +148,6 @@ msgstr "Visitas programáticas planejadas" msgid "Implementing Partner" msgstr "Parceiro implementador" -msgid "Shared IP" -msgstr "IP compartilhado" - -msgid "Cash Transfer 1 OCT - 30 SEP" -msgstr "Transferência financeira de 1 de outubro a 30 de setembro" - -msgid "Liquidations 1 OCT - 30 SEP" -msgstr "Liquidações de 1 de outubro a 30 de setembro" - -msgid "Cash Transfers Jan - Dec" -msgstr "Transferências financeiras de janeiro a dezembro" - -msgid "Risk Rating" -msgstr "Classificação de risco" - -msgid "Expiring Threshold" -msgstr "Limite de expiração" - -msgid "Approach Threshold" -msgstr "Limiar de Abordagem" - -msgid "Programmatic Visits Planned Q1" -msgstr "Visitas programáticas planejadas para o primeiro trimestre" - -msgid "Q2" -msgstr "Q2" - -msgid "Q3" -msgstr "Q3" - -msgid "Q4" -msgstr "Q4" - -msgid "Programmatic Visits M.R" -msgstr "Visitas programáticas M.R" - -msgid "Programmatic Visits Completed Q1" -msgstr "Visitas programáticas concluídas no primeiro trimestre" - -msgid "Spot Checks Planned Q1" -msgstr "" -"Spot Checks / Verificações pontuais planejadas para o primeiro trimestre" - -msgid "Spot Checks M.R" -msgstr "Spot Checks M.R" - -msgid "Follow Up" -msgstr "Acompanhamento" - -msgid "Spot Checks Completed Q1" -msgstr "Spot Checks / Verificações pontuais concluídas no primeiro trimestre" - -msgid "Audits M.R" -msgstr "Mínimo Requeridas Auditorias" - -msgid "Audit Completed" -msgstr "Auditoria concluída" - -msgid "Audits Outstanding Findings" -msgstr "Auditoria: Apontamentos Importantes " - msgid "Sections" msgstr "Seções" @@ -243,18 +182,6 @@ msgstr "Valor de DCT pendente entre 6 e 9 meses" msgid "Outstanding DCT Amount more than 9 months" msgstr "Valor de DCT pendente há mais de 9 meses" -msgid "Programmatic Visits Planned" -msgstr "Visitas programáticas planejadas" - -msgid "Programmatic Visits Completed" -msgstr "Visitas programáticas concluídas" - -msgid "Spot Check Required" -msgstr "É necessária realizar um Spot Check (verificação pontual)" - -msgid "Spot Checks Completed" -msgstr "Spot Checks/ Verificações pontuais concluídas" - msgid "Reference Number" msgstr "Número de Referência" @@ -746,6 +673,9 @@ msgstr "País" msgid "Alternate ID" msgstr "Identificação alternativa" +msgid "Risk Rating" +msgstr "Classificação de risco" + msgid "Last Assessment Date" msgstr "Data da última avaliação" @@ -1130,6 +1060,15 @@ msgstr "Aditivos da implementação do programa" msgid "Q1" msgstr "" +msgid "Q2" +msgstr "Q2" + +msgid "Q3" +msgstr "Q3" + +msgid "Q4" +msgstr "Q4" + msgid "Intervention" msgstr "Intervenção" @@ -2337,6 +2276,68 @@ msgstr "" msgid "Partnership Manager role required for pca export." msgstr "A função de gerente de parceria é necessária para a exportação de pca." +#~ msgid "Shared IP" +#~ msgstr "IP compartilhado" + +#~ msgid "Cash Transfer 1 OCT - 30 SEP" +#~ msgstr "Transferência financeira de 1 de outubro a 30 de setembro" + +#~ msgid "Liquidations 1 OCT - 30 SEP" +#~ msgstr "Liquidações de 1 de outubro a 30 de setembro" + +#~ msgid "Cash Transfers Jan - Dec" +#~ msgstr "Transferências financeiras de janeiro a dezembro" + +#~ msgid "Expiring Threshold" +#~ msgstr "Limite de expiração" + +#~ msgid "Approach Threshold" +#~ msgstr "Limiar de Abordagem" + +#~ msgid "Programmatic Visits Planned Q1" +#~ msgstr "Visitas programáticas planejadas para o primeiro trimestre" + +#~ msgid "Programmatic Visits M.R" +#~ msgstr "Visitas programáticas M.R" + +#~ msgid "Programmatic Visits Completed Q1" +#~ msgstr "Visitas programáticas concluídas no primeiro trimestre" + +#~ msgid "Spot Checks Planned Q1" +#~ msgstr "" +#~ "Spot Checks / Verificações pontuais planejadas para o primeiro trimestre" + +#~ msgid "Spot Checks M.R" +#~ msgstr "Spot Checks M.R" + +#~ msgid "Follow Up" +#~ msgstr "Acompanhamento" + +#~ msgid "Spot Checks Completed Q1" +#~ msgstr "" +#~ "Spot Checks / Verificações pontuais concluídas no primeiro trimestre" + +#~ msgid "Audits M.R" +#~ msgstr "Mínimo Requeridas Auditorias" + +#~ msgid "Audit Completed" +#~ msgstr "Auditoria concluída" + +#~ msgid "Audits Outstanding Findings" +#~ msgstr "Auditoria: Apontamentos Importantes " + +#~ msgid "Programmatic Visits Planned" +#~ msgstr "Visitas programáticas planejadas" + +#~ msgid "Programmatic Visits Completed" +#~ msgstr "Visitas programáticas concluídas" + +#~ msgid "Spot Check Required" +#~ msgstr "É necessária realizar um Spot Check (verificação pontual)" + +#~ msgid "Spot Checks Completed" +#~ msgstr "Spot Checks/ Verificações pontuais concluídas" + #~ msgid "" #~ "Final Review must be approved for documents having amount transferred " #~ "greater than 100,000" diff --git a/src/etools/applications/partners/locale/ru/LC_MESSAGES/django.po b/src/etools/applications/partners/locale/ru/LC_MESSAGES/django.po index 9728509bdc..74ba69d6c7 100644 --- a/src/etools/applications/partners/locale/ru/LC_MESSAGES/django.po +++ b/src/etools/applications/partners/locale/ru/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-05-21 04:41+0000\n" +"POT-Creation-Date: 2024-06-04 15:42+0000\n" "Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -140,66 +140,6 @@ msgstr "Запланированные программные визиты" msgid "Implementing Partner" msgstr "Исполнительный Партнер" -msgid "Shared IP" -msgstr "Совместный ИП" - -msgid "Cash Transfer 1 OCT - 30 SEP" -msgstr "Денежные переводы за 1 окт.-30 сен." - -msgid "Liquidations 1 OCT - 30 SEP" -msgstr "Ликвидации 1 окт. - 30 сен." - -msgid "Cash Transfers Jan - Dec" -msgstr "Денежные переводы янв - дек" - -msgid "Risk Rating" -msgstr "Рейтинг риска" - -msgid "Expiring Threshold" -msgstr "Порог просрочки" - -msgid "Approach Threshold" -msgstr "Приближается к порогу" - -msgid "Programmatic Visits Planned Q1" -msgstr "Запланированные программные визиты в I кв-ле" - -msgid "Q2" -msgstr "кв-л II" - -msgid "Q3" -msgstr "кв-л III" - -msgid "Q4" -msgstr "кв-л IV" - -msgid "Programmatic Visits M.R" -msgstr "М.Т. программные визиты" - -msgid "Programmatic Visits Completed Q1" -msgstr "Завершенные программные визиты в I кв-ле" - -msgid "Spot Checks Planned Q1" -msgstr "Запланированные выборочные проверки в I кв-ле" - -msgid "Spot Checks M.R" -msgstr "М.Т. выборочные проверки" - -msgid "Follow Up" -msgstr "Последующие действия" - -msgid "Spot Checks Completed Q1" -msgstr "Завершенные выборочные проверки в I кв-ле" - -msgid "Audits M.R" -msgstr "Аудиты М.Т." - -msgid "Audit Completed" -msgstr "Аудит завершен" - -msgid "Audits Outstanding Findings" -msgstr "Неразрешенные выводы аудитов" - msgid "Sections" msgstr "Секции" @@ -230,18 +170,6 @@ msgstr "Непогашенная сумма ПДП от 6 до 9 месяцев" msgid "Outstanding DCT Amount more than 9 months" msgstr "Непогашенная сумма ПДП более 9 месяцев" -msgid "Programmatic Visits Planned" -msgstr "Планируемые программные визиты" - -msgid "Programmatic Visits Completed" -msgstr "Завершенные программные визиты" - -msgid "Spot Check Required" -msgstr "Требуется выборочная проверка" - -msgid "Spot Checks Completed" -msgstr "Завершенные выборочные проверки" - msgid "Reference Number" msgstr "Номер" @@ -729,6 +657,9 @@ msgstr "Страна" msgid "Alternate ID" msgstr "Альтернативный идентификатор" +msgid "Risk Rating" +msgstr "Рейтинг риска" + msgid "Last Assessment Date" msgstr "Дата последней оценки" @@ -1113,6 +1044,15 @@ msgstr "Поправки к программе" msgid "Q1" msgstr "" +msgid "Q2" +msgstr "кв-л II" + +msgid "Q3" +msgstr "кв-л III" + +msgid "Q4" +msgstr "кв-л IV" + msgid "Intervention" msgstr "Программа" @@ -2301,6 +2241,66 @@ msgstr "" msgid "Partnership Manager role required for pca export." msgstr "Для экспорта PCA требуется роль менеджера по партнерству." +#~ msgid "Shared IP" +#~ msgstr "Совместный ИП" + +#~ msgid "Cash Transfer 1 OCT - 30 SEP" +#~ msgstr "Денежные переводы за 1 окт.-30 сен." + +#~ msgid "Liquidations 1 OCT - 30 SEP" +#~ msgstr "Ликвидации 1 окт. - 30 сен." + +#~ msgid "Cash Transfers Jan - Dec" +#~ msgstr "Денежные переводы янв - дек" + +#~ msgid "Expiring Threshold" +#~ msgstr "Порог просрочки" + +#~ msgid "Approach Threshold" +#~ msgstr "Приближается к порогу" + +#~ msgid "Programmatic Visits Planned Q1" +#~ msgstr "Запланированные программные визиты в I кв-ле" + +#~ msgid "Programmatic Visits M.R" +#~ msgstr "М.Т. программные визиты" + +#~ msgid "Programmatic Visits Completed Q1" +#~ msgstr "Завершенные программные визиты в I кв-ле" + +#~ msgid "Spot Checks Planned Q1" +#~ msgstr "Запланированные выборочные проверки в I кв-ле" + +#~ msgid "Spot Checks M.R" +#~ msgstr "М.Т. выборочные проверки" + +#~ msgid "Follow Up" +#~ msgstr "Последующие действия" + +#~ msgid "Spot Checks Completed Q1" +#~ msgstr "Завершенные выборочные проверки в I кв-ле" + +#~ msgid "Audits M.R" +#~ msgstr "Аудиты М.Т." + +#~ msgid "Audit Completed" +#~ msgstr "Аудит завершен" + +#~ msgid "Audits Outstanding Findings" +#~ msgstr "Неразрешенные выводы аудитов" + +#~ msgid "Programmatic Visits Planned" +#~ msgstr "Планируемые программные визиты" + +#~ msgid "Programmatic Visits Completed" +#~ msgstr "Завершенные программные визиты" + +#~ msgid "Spot Check Required" +#~ msgstr "Требуется выборочная проверка" + +#~ msgid "Spot Checks Completed" +#~ msgstr "Завершенные выборочные проверки" + #~ msgid "" #~ "Final Review must be approved for documents having amount transferred " #~ "greater than 100,000" diff --git a/src/etools/applications/partners/serializers/partner_organization_v2.py b/src/etools/applications/partners/serializers/partner_organization_v2.py index 827686806d..ac5f8bec21 100644 --- a/src/etools/applications/partners/serializers/partner_organization_v2.py +++ b/src/etools/applications/partners/serializers/partner_organization_v2.py @@ -438,38 +438,3 @@ class Meta: } } } - - -class PartnerOrganizationHactSerializer(serializers.ModelSerializer): - name = serializers.CharField(source='organization.name') - vendor_number = serializers.CharField(source='organization.vendor_number') - short_name = serializers.CharField(source='organization.short_name') - partner_type = serializers.CharField(source='organization.organization_type') - cso_type = serializers.CharField(source='organization.cso_type') - planned_engagement = PlannedEngagementSerializer(read_only=True) - hact_min_requirements = serializers.JSONField() - rating = serializers.CharField(source='get_rating_display') - - class Meta: - model = PartnerOrganization - fields = ( - "id", - "name", - "vendor_number", - "short_name", - "type_of_assessment", - "partner_type", - "partner_type_slug", - "cso_type", - "rating", - "shared_with", - "total_ct_cp", - "total_ct_cy", - "net_ct_cy", - "reported_cy", - "total_ct_ytd", - "hact_values", - "hact_min_requirements", - "flags", - "planned_engagement" - ) diff --git a/src/etools/applications/partners/tests/test_api_partners.py b/src/etools/applications/partners/tests/test_api_partners.py index bbf29b8b3f..e7fd709925 100644 --- a/src/etools/applications/partners/tests/test_api_partners.py +++ b/src/etools/applications/partners/tests/test_api_partners.py @@ -775,30 +775,6 @@ def test_update_partner_monitoring_activity_groups(self): self.assertEqual(response.data['hact_values']['programmatic_visits']['completed'][get_quarter()], 3) -class TestPartnerOrganizationHactAPIView(BaseTenantTestCase): - @classmethod - def setUpTestData(cls): - cls.url = reverse("partners_api:partner-hact") - cls.unicef_staff = UserFactory(is_staff=True) - cls.partner = PartnerFactory( - total_ct_cp=10.00, - total_ct_cy=8.00, - ) - - def test_get(self): - response = self.forced_auth_req( - 'get', - self.url, - user=self.unicef_staff - ) - self.assertEqual(response.status_code, status.HTTP_200_OK) - response_json = json.loads(response.rendered_content) - self.assertIsInstance(response_json, list) - self.assertEqual(len(response_json), 1) - self.assertIn('id', response_json[0].keys()) - self.assertEqual(response_json[0]['id'], self.partner.pk) - - class TestPartnerOrganizationAddView(BaseTenantTestCase): @classmethod def setUpTestData(cls): diff --git a/src/etools/applications/partners/tests/test_export_partner.py b/src/etools/applications/partners/tests/test_export_partner.py index 1d50c61689..864c4bd7e0 100644 --- a/src/etools/applications/partners/tests/test_export_partner.py +++ b/src/etools/applications/partners/tests/test_export_partner.py @@ -317,37 +317,3 @@ def test_csv_flat_export_api(self): self.assertEqual(len(headers), 15) self.assertIn("Country", headers) self.assertEqual(len(dataset[0]), 15) - - -class TestPartnerOrganizationHactExport(BaseTenantTestCase): - @classmethod - def setUpTestData(cls): - cls.url = reverse("partners_api:partner-hact") - cls.unicef_staff = UserFactory(is_staff=True) - cls.partner = PartnerFactory( - total_ct_cp=10.00, - total_ct_cy=8.00, - ) - - def test_csv_export(self): - response = self.forced_auth_req( - 'get', - self.url, - user=self.unicef_staff, - data={"format": "csv"} - ) - self.assertEqual(response.status_code, status.HTTP_200_OK) - dataset = Dataset().load(response.content.decode('utf-8'), 'csv') - self.assertEqual(dataset.height, 1) - self.assertEqual(len(dataset._get_headers()), 33) - self.assertEqual(len(dataset[0]), 33) - - def test_invalid_format_export_api(self): - response = self.forced_auth_req( - 'get', - self.url, - user=self.unicef_staff, - data={"format": "unknown"}, - ) - - self.assertEqual(response.status_code, status.HTTP_404_NOT_FOUND) diff --git a/src/etools/applications/partners/tests/test_views.py b/src/etools/applications/partners/tests/test_views.py index adab39b222..299094d092 100644 --- a/src/etools/applications/partners/tests/test_views.py +++ b/src/etools/applications/partners/tests/test_views.py @@ -79,7 +79,6 @@ def test_urls(self): """Verify URL pattern names generate the URLs we expect them to.""" names_and_paths = ( ('partner-list', '', {}), - ('partner-hact', 'hact/', {}), ('partner-engagements', 'engagements/', {}), ('partner-detail', '1/', {'pk': 1}), ('partner-delete', 'delete/1/', {'pk': 1}), diff --git a/src/etools/applications/partners/urls_v2.py b/src/etools/applications/partners/urls_v2.py index 6011056809..f3af99e49b 100644 --- a/src/etools/applications/partners/urls_v2.py +++ b/src/etools/applications/partners/urls_v2.py @@ -46,9 +46,7 @@ PartnerOrganizationDashboardAPIView, PartnerOrganizationDeleteView, PartnerOrganizationDetailAPIView, - PartnerOrganizationHactAPIView, PartnerOrganizationListAPIView, - PartnerOrganizationSimpleHactAPIView, PartnerPlannedVisitsDeleteView, PartnerWithScheduledAuditCompleted, PartnerWithSpecialAuditCompleted, @@ -101,12 +99,6 @@ name='partner-planned-visits-del' ), - re_path(r'^partners/hact/$', - view=PartnerOrganizationHactAPIView.as_view(http_method_names=['get', ]), - name='partner-hact'), - re_path(r'^partners/hact/simple/$', - view=PartnerOrganizationSimpleHactAPIView.as_view(http_method_names=['get', ]), - name='partner-hact-simple'), re_path(r'^partners/dashboard/$', view=PartnerOrganizationDashboardAPIView.as_view(http_method_names=['get', ]), name='partner-dashboard'), diff --git a/src/etools/applications/partners/views/partner_organization_v2.py b/src/etools/applications/partners/views/partner_organization_v2.py index ac0a754bbe..e1efa69f82 100644 --- a/src/etools/applications/partners/views/partner_organization_v2.py +++ b/src/etools/applications/partners/views/partner_organization_v2.py @@ -28,8 +28,6 @@ from etools.applications.partners.exports_v2 import ( PartnerOrganizationCSVRenderer, PartnerOrganizationDashboardCsvRenderer, - PartnerOrganizationHactCsvRenderer, - PartnerOrganizationSimpleHactCsvRenderer, ) from etools.applications.partners.filters import PartnerScopeFilter from etools.applications.partners.models import ( @@ -59,7 +57,6 @@ PartnerOrganizationCreateUpdateSerializer, PartnerOrganizationDashboardSerializer, PartnerOrganizationDetailSerializer, - PartnerOrganizationHactSerializer, PartnerOrganizationListSerializer, PartnerPlannedVisitsSerializer, PlannedEngagementNestedSerializer, @@ -354,37 +351,6 @@ def _add_active_pd_for_non_signed_pca(self, serializer): item['alert_active_pd_for_ended_pca'] = True if item['id'] in qs else False -class PartnerOrganizationHactAPIView(ListAPIView): - - """ - Create new Partners. - Returns a list of Partners. - """ - permission_classes = (IsAdminUser,) - queryset = PartnerOrganization.objects.select_related('planned_engagement')\ - .prefetch_related('assessments').hact_active() - serializer_class = PartnerOrganizationHactSerializer - renderer_classes = (r.JSONRenderer, PartnerOrganizationHactCsvRenderer) - filename = 'detailed_hact_dashboard' - - def list(self, request, format=None): - """ - Checks for format query parameter - :returns: JSON or CSV file - """ - query_params = self.request.query_params - response = super().list(request) - if "format" in query_params.keys(): - if query_params.get("format") == 'csv': - response['Content-Disposition'] = f"attachment;filename={self.filename}.csv" - return response - - -class PartnerOrganizationSimpleHactAPIView(PartnerOrganizationHactAPIView): - renderer_classes = (r.JSONRenderer, PartnerOrganizationSimpleHactCsvRenderer) - filename = 'hact_dashboard' - - class PlannedEngagementAPIView(ListAPIView): """