Add Project Status Report to project module for tracking project progress

This commit is contained in:
younes 2025-04-23 15:10:28 +01:00
parent b4b41d7716
commit ae4d119524
2 changed files with 24 additions and 25 deletions

View File

@ -316,18 +316,18 @@ msgstr "<span>عرض</span>"
#. module: project_base
#: model_terms:ir.ui.view,arch_db:project_base.project_status_qweb_report
msgid "<strong>Project Details</strong>"
msgstr "<strong>وصف المشروع</strong>"
msgid "Project Details"
msgstr "وصف المشروع"
#. module: project_base
#: model_terms:ir.ui.view,arch_db:project_base.project_status_qweb_report
msgid "<strong>Project Payments</strong>"
msgstr "<strong>دفعات المشروع</strong>"
msgid "Project Payments"
msgstr "دفعات المشروع"
#. module: project_base
#: model_terms:ir.ui.view,arch_db:project_base.project_status_qweb_report
msgid "<strong>Project Stages</strong>"
msgstr "<strong>مراحل المشروع</strong>"
msgid "Project Stages"
msgstr "مراحل المشروع"
#. module: project_base
#: model:ir.model.fields,help:project_base.field_sale_advance_payment_inv__advance_down_payment_method

View File

@ -189,11 +189,10 @@
}
</style>
<div class="page">
<h2>
<strong>Project Status Report:
<span t-field="e.project_no"/>
</strong>
</h2>
<h5>
Project Status Report:
<span t-field="e.project_no"/>
</h5>
<div class="row" style="display: flex; margin-top: 20px;">
<div style="width: 55%; padding-right: 15px;">
<table class="table table-condensed table-bordered"
@ -276,9 +275,9 @@
<div class="report-section">
<h4>
<strong>Project Stages</strong>
</h4>
<h5>
Project Stages
</h5>
<table class="table table-condensed table-bordered"
style="width: 100%; margin-top: 20px;page-break-inside: avoid;border: 2px solid black; border-collapse: collapse;">
<thead>
@ -332,21 +331,21 @@
</div>
<div class="report-section">
<h4>
<strong>Project Payments</strong>
</h4>
<h5>
Project Payments
</h5>
<table class="table table-condensed table-bordered"
style="width: 100%; margin-top: 20px;page-break-inside: avoid;border: 2px solid black; border-collapse: collapse;"
>
<tr>
<td style="border: 1px solid black;">
<span style="font-weight: bold;">Contract Amount</span>
<span>Contract Amount</span>
</td>
<td style="border: 1px solid black;">
<span t-esc="e.contract_value_untaxed"/>
</td>
<td style="border: 1px solid black;">
<span style="font-weight: bold;">Consultant Fees</span>
<span>Consultant Fees</span>
</td>
<td style="border: 1px solid black;">
<span t-esc="e.consultant_cost"/>
@ -354,13 +353,13 @@
</tr>
<tr>
<td style="border: 1px solid black;">
<span style="font-weight: bold;">Tax amount</span>
<span>Tax amount</span>
</td>
<td style="border: 1px solid black;">
<span t-esc="e.tax_amount"/>
</td>
<td style="border: 1px solid black;">
<span style="font-weight: bold;">Total</span>
<span>Total</span>
</td>
<td style="border: 1px solid black;">
<span t-esc="e.contract_value"/>
@ -368,7 +367,7 @@
</tr>
<tr>
<td style="border: 1px solid black;">
<span style="font-weight: bold;">Additional Work Amount</span>
<span>Additional Work Amount</span>
</td>
<td style="border: 1px solid black;">
<!-- <span t-esc="(e.total_invoiced_amount or 0) - (e.contract_value or 0) + (e.contract_value or 0)"/>-->
@ -441,9 +440,9 @@
</table>
</div>
<div class="report-section">
<h4>
<strong>Project Details</strong>
</h4>
<h5>
Project Details
</h5>
<span t-field="e.description"/>
</div>
</div>