Merge pull request #3208 from expsa/fix-templates-transctions
Fix templates transctions
This commit is contained in:
commit
4ea1c57030
|
|
@ -44,147 +44,140 @@
|
|||
</template>
|
||||
|
||||
|
||||
<template id="achievement_tran_report_temp">
|
||||
<t t-call="web.html_container">
|
||||
<t t-call="exp_transaction_report.custom_external_layout_all">
|
||||
<style type="text/css">
|
||||
@font-face {
|
||||
font-family: 'DroidKufi';
|
||||
src: url("/exp_transaction_report/static/src/fonts/DroidKufi-Bold.ttf") format("truetype");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.droidkufi-font {
|
||||
font-family: 'DroidKufi', sans-serif;
|
||||
}
|
||||
<template id="achievement_tran_report_temp">
|
||||
<t t-call="web.html_container">
|
||||
<t t-call="exp_transaction_report.custom_external_layout_all">
|
||||
<style type="text/css">
|
||||
@font-face {
|
||||
font-family: 'DroidKufi';
|
||||
src: url("/exp_transaction_report/static/src/fonts/DroidKufi-Bold.ttf") format("truetype");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.droidkufi-font {
|
||||
font-family: 'DroidKufi', sans-serif;
|
||||
}
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
margin-top: 10px;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
table, th, td {
|
||||
th, td {
|
||||
border: 1px solid black;
|
||||
padding: 1px;
|
||||
|
||||
padding: 8px;
|
||||
font-size: 0.9em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
thead {
|
||||
background-color: #d3d3d3;
|
||||
th {
|
||||
background-color: #f0f0f0;
|
||||
color: black;
|
||||
}
|
||||
|
||||
tfoot {
|
||||
.total-row {
|
||||
background-color: #f0f0f0;
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="page droidkufi-font" style="padding-top: 50px;">
|
||||
.spacer-row td {
|
||||
border: none !important;
|
||||
padding: 0 !important;
|
||||
height: 100px;
|
||||
margin:50px;
|
||||
background-color: transparent !important;
|
||||
}
|
||||
</style>
|
||||
|
||||
<h4 style="text-align:center;font-weight:bold">Achievement Report</h4>
|
||||
<br/>
|
||||
<div style="width:100%;text-align:center">
|
||||
<h4 style="text-align:right;font-weight:bold;display:inline-block;width:30%">Start Date
|
||||
<t t-esc="date_start"/>
|
||||
</h4>
|
||||
<h4 style="text-align:left;font-weight:bold;display:inline-block;width:30%;">End Date
|
||||
<t t-esc="date_end"/>
|
||||
</h4>
|
||||
</div>
|
||||
<!--<table style=" border: 1px solid grey; padding: 1px; width:100%;">-->
|
||||
<t t-set="sum_total_to" t-value="sum(data['total_to'].values())"/>
|
||||
<t t-set="sum_total_from" t-value="sum(data['total_from'].values())"/>
|
||||
<t t-set="sum_transfer_from" t-value="sum(data['total_transfer_from'].values())"/>
|
||||
<t t-set="sum_transfer_to" t-value="sum(data['total_transfer_to'].values())"/>
|
||||
<t t-set="sum_closed" t-value="sum(data['total_closed'].values())"/>
|
||||
<table style="width: 100%;margin-top:10px">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style=" border: 1px solid black; padding: 1px; font-size:0.8em;background-color: #d3d3d3;color: black;width:5%;text-align:center">
|
||||
<t t-translation="online">#</t>
|
||||
</th>
|
||||
<th style=" border: 1px solid black; padding: 1px; font-size:0.8em;background-color: #d3d3d3;color: black;width:10%;text-align:center">
|
||||
<t t-translation="online">Administration/Employee</t>
|
||||
</th>
|
||||
<th style=" border: 1px solid black; padding: 1px;font-size:0.8em;background-color: #d3d3d3;color: black;text-align:center;width:15%;">
|
||||
<t t-translation="online">Number of incoming transactions</t>
|
||||
</th>
|
||||
<th style=" border: 1px solid black; padding: 1px;font-size:0.8em;background-color: #d3d3d3;color: black;text-align:center;width:15%">
|
||||
<t t-translation="online">Number of outgoing transactions</t>
|
||||
</th>
|
||||
<th style=" border: 1px solid black; padding: 1px;font-size:0.8em;background-color: #d3d3d3;color: black;text-align:center;width:18%">
|
||||
<t t-translation="online">Number of transactions referred from administration</t>
|
||||
</th>
|
||||
<th style=" border: 1px solid black; padding: 1px;font-size:0.8em;background-color: #d3d3d3;color: black;text-align:center;width:22%">
|
||||
<t t-translation="online">Number of transactions referred to administration</t>
|
||||
</th>
|
||||
<th style=" border: 1px solid black; padding: 1px;font-size:0.8em;background-color: #d3d3d3;color: black;text-align:center;width:12%">
|
||||
<t t-translation="online">Number of closed transactions</t>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<div class="page droidkufi-font" style="padding-top: 50px;text-align:center;margin-top:80px;">
|
||||
<h4 style="text-align:center;font-weight:bold;margin-bottom: 15px;">Achievement Report</h4>
|
||||
<div style="width:100%;text-align:center;margin-bottom: 10px;">
|
||||
<h4 style="text-align:right;font-weight:bold;display:inline-block;width:45%;">
|
||||
Start Date: <t t-esc="date_start"/>
|
||||
</h4>
|
||||
<h4 style="text-align:left;font-weight:bold;display:inline-block;width:45%;">
|
||||
End Date: <t t-esc="date_end"/>
|
||||
</h4>
|
||||
</div>
|
||||
|
||||
<tbody>
|
||||
<t t-foreach="data['unit']" t-as="line">
|
||||
<tr>
|
||||
<td style="border: 1px solid black;padding: 1px; padding-left: 1px;font-size:0.8em;background-color: white;color: black;text-align:center ">
|
||||
<strong t-esc="line_index + 1"/>
|
||||
</td>
|
||||
<td style="border: 1px solid black;padding: 1px; padding-left: 1px;font-size:0.8em;background-color: white;color: black;text-align:center ">
|
||||
<t t-esc="line.name"/>
|
||||
</td>
|
||||
<td style="border: 1px solid black;padding: 1px;font-size:0.8em;background-color: white;color: black;text-align:center;">
|
||||
<t t-esc="data['total_to'][line.name]"/>
|
||||
</td>
|
||||
<td style="border: 1px solid black;padding: 1px;font-size:0.8em;background-color: white;color: black;text-align:center;">
|
||||
<t t-esc="data['total_from'][line.name]"/>
|
||||
</td>
|
||||
<td style="border: 1px solid black;padding: 1px;font-size:0.8em;background-color: white;color: black;text-align:center;">
|
||||
<t t-esc="data['total_transfer_from'][line.name]"/>
|
||||
</td>
|
||||
<td style="border: 1px solid black;padding: 1px;font-size:0.8em;background-color: white;color: black;text-align:center;">
|
||||
<t t-esc="data['total_transfer_to'][line.name]"/>
|
||||
</td>
|
||||
<td style="border: 1px solid black;padding: 1px;font-size:0.8em;background-color: white;color: black;text-align:center;">
|
||||
<t t-esc="data['total_closed'][line.name]"/>
|
||||
</td>
|
||||
</tr>
|
||||
</t>
|
||||
</tbody>
|
||||
<t t-set="sum_total_to" t-value="sum(data['total_to'].values())"/>
|
||||
<t t-set="sum_total_from" t-value="sum(data['total_from'].values())"/>
|
||||
<t t-set="sum_transfer_from" t-value="sum(data['total_transfer_from'].values())"/>
|
||||
<t t-set="sum_transfer_to" t-value="sum(data['total_transfer_to'].values())"/>
|
||||
<t t-set="sum_closed" t-value="sum(data['total_closed'].values())"/>
|
||||
|
||||
<table style="width: 100%;padding-top: 200px;">
|
||||
<thead>
|
||||
<tr class="spacer-row">
|
||||
<td colspan="7"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th style="width:5%;">#</th>
|
||||
<th style="width:15%;">Administration/Employee</th>
|
||||
<th style="width:15%;">Number of incoming transactions</th>
|
||||
<th style="width:15%;">Number of outgoing transactions</th>
|
||||
<th style="width:20%;">Number of transactions referred from administration</th>
|
||||
<th style="width:20%;">Number of transactions referred to administration</th>
|
||||
<th style="width:10%;">Number of closed transactions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<t t-foreach="data['unit']" t-as="line">
|
||||
<tr>
|
||||
<td>
|
||||
<t t-esc="line_index + 1"/>
|
||||
</td>
|
||||
<td>
|
||||
<t t-esc="line.name"/>
|
||||
</td>
|
||||
<td>
|
||||
<t t-esc="data['total_to'][line.name]"/>
|
||||
</td>
|
||||
<td>
|
||||
<t t-esc="data['total_from'][line.name]"/>
|
||||
</td>
|
||||
<td>
|
||||
<t t-esc="data['total_transfer_from'][line.name]"/>
|
||||
</td>
|
||||
<td>
|
||||
<t t-esc="data['total_transfer_to'][line.name]"/>
|
||||
</td>
|
||||
<td>
|
||||
<t t-esc="data['total_closed'][line.name]"/>
|
||||
</td>
|
||||
</tr>
|
||||
</t>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<t t-if="data['unit']">
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="2" style="border: 1px solid black; padding: 1px; font-size:0.8em; font-weight: bold; background-color: #f0f0f0; text-align:center;">
|
||||
Total
|
||||
</td>
|
||||
<td style="border: 1px solid black; padding: 1px; font-size:0.8em; background-color: #f0f0f0; text-align:center;">
|
||||
<t t-esc="sum_total_to"/>
|
||||
</td>
|
||||
<td style="border: 1px solid black; padding: 1px; font-size:0.8em; background-color: #f0f0f0; text-align:center;">
|
||||
<t t-esc="sum_total_from"/>
|
||||
</td>
|
||||
<td style="border: 1px solid black; padding: 1px; font-size:0.8em; background-color: #f0f0f0; text-align:center;">
|
||||
<t t-esc="sum_transfer_from"/>
|
||||
</td>
|
||||
<td style="border: 1px solid black; padding: 1px; font-size:0.8em; background-color: #f0f0f0; text-align:center;">
|
||||
<t t-esc="sum_transfer_to"/>
|
||||
</td>
|
||||
<td style="border: 1px solid black; padding: 1px; font-size:0.8em; background-color: #f0f0f0; text-align:center;">
|
||||
<t t-esc="sum_closed"/>
|
||||
</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</t>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<t t-if="data['unit']">
|
||||
<table style="width: 100%;margin-top:10px">
|
||||
<tr class="total-row">
|
||||
<td colspan="2" style="text-align:center;width:20%;"> Total
|
||||
</td>
|
||||
<td style="width:15%;">
|
||||
<t t-esc="sum_total_to"/>
|
||||
</td>
|
||||
<td style="width:15%;">
|
||||
<t t-esc="sum_total_from"/>
|
||||
</td>
|
||||
<td style="width:20%;">
|
||||
<t t-esc="sum_transfer_from"/>
|
||||
</td>
|
||||
<td style="width:20%;">
|
||||
<t t-esc="sum_transfer_to"/>
|
||||
</td>
|
||||
<td style="width:10%;">
|
||||
<t t-esc="sum_closed"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</t>
|
||||
</t>
|
||||
</template>
|
||||
</div>
|
||||
</t>
|
||||
</t>
|
||||
</template>
|
||||
|
||||
<report id="achievement_transaction_complete_report"
|
||||
model="achievement.transaction.report.wizard"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<data>
|
||||
<template id="template_close_transaction_report">
|
||||
<template id="template_close_transaction_report">
|
||||
<t t-call="web.html_container">
|
||||
<t t-call="exp_transaction_report.custom_external_layout_all">
|
||||
<style type="text/css">
|
||||
|
|
@ -16,53 +16,69 @@
|
|||
font-family: 'DroidKufi', sans-serif;
|
||||
}
|
||||
|
||||
/* Global Table Styling */
|
||||
table {
|
||||
width: 100%;
|
||||
margin-top: 10px;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
table, th, td {
|
||||
th, td {
|
||||
border: 1px solid black;
|
||||
padding: 1px;
|
||||
}
|
||||
|
||||
thead {
|
||||
background-color: #d3d3d3;
|
||||
color: black;
|
||||
padding: 8px;
|
||||
font-size: 0.9em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
th {
|
||||
font-size: 0.8em;
|
||||
text-align: center;
|
||||
background-color: #f0f0f0;
|
||||
color: black;
|
||||
}
|
||||
|
||||
td {
|
||||
font-size: 0.8em;
|
||||
background-color: white;
|
||||
color: black;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.spacer-row td {
|
||||
border: none !important;
|
||||
padding: 0 !important;
|
||||
height: 50px;
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
.doc-header {
|
||||
margin-top: 5px;
|
||||
margin-right: 0;
|
||||
margin-bottom: 0px;
|
||||
margin-left: 0;
|
||||
padding-top:100px;
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="page droidkufi-font" style="font-size:11pt;padding: 50px;">
|
||||
<h4 style="text-align:center;font-weight:bold">Closed Transaction Report</h4>
|
||||
<br/>
|
||||
<div style="width:100%;text-align:center">
|
||||
<h4 style="text-align:right;font-weight:bold;display:inline-block;width:30%">Start Date
|
||||
<t t-esc="date_start"/>
|
||||
<div class="page droidkufi-font" style="padding-top: 50px; text-align:center; margin-top:100px;">
|
||||
<div style="padding-top: 60px;margin-bottom:0px;padding-bottom:0;">
|
||||
<h4 style="text-align:center; font-weight:bold; margin-bottom: 15px;">Closed Transaction Report</h4>
|
||||
<div style="width:100%; text-align:center; margin-bottom: 5px;padding-bottom:0px;">
|
||||
<h4 style="text-align:right; font-weight:bold; display:inline-block; width:45%;">
|
||||
Start Date: <t t-esc="date_start"/>
|
||||
</h4>
|
||||
<h4 style="text-align:left;font-weight:bold;display:inline-block;width:30%;">End Date
|
||||
<t t-esc="date_end"/>
|
||||
<h4 style="text-align:left; font-weight:bold; display:inline-block; width:45%;">
|
||||
End Date: <t t-esc="date_end"/>
|
||||
</h4>
|
||||
</div>
|
||||
</div>
|
||||
<t t-foreach="key" t-as="doc">
|
||||
<br/>
|
||||
<span t-esc="doc"/>
|
||||
<br/>
|
||||
<table>
|
||||
<div class="doc-header">
|
||||
<span t-esc="doc"/>
|
||||
</div>
|
||||
|
||||
<table style="margin-top: 10px;">
|
||||
|
||||
<thead>
|
||||
<tr class="spacer-row">
|
||||
<td colspan="9"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th style="width:5%">#</th>
|
||||
<th style="width:15%">Transaction Classification</th>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<data>
|
||||
<template id="template_forw_transaction_report">
|
||||
<template id="template_forw_transaction_report">
|
||||
<t t-call="web.html_container">
|
||||
<t t-call="exp_transaction_report.custom_external_layout_all">
|
||||
<style type="text/css">
|
||||
|
|
@ -16,65 +16,80 @@
|
|||
font-family: 'DroidKufi', sans-serif;
|
||||
}
|
||||
|
||||
/* Global Table Styling */
|
||||
table {
|
||||
width: 100%;
|
||||
margin-top: 10px;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
table, th, td {
|
||||
th, td {
|
||||
border: 1px solid black;
|
||||
padding: 1px;
|
||||
}
|
||||
|
||||
thead {
|
||||
background-color: #d3d3d3;
|
||||
color: black;
|
||||
padding: 8px;
|
||||
font-size: 0.9em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
th {
|
||||
font-size: 0.8em;
|
||||
text-align: center;
|
||||
background-color: #f0f0f0;
|
||||
color: black;
|
||||
}
|
||||
|
||||
td {
|
||||
font-size: 0.8em;
|
||||
background-color: white;
|
||||
color: black;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.spacer-row td {
|
||||
border: none !important;
|
||||
padding: 0 !important;
|
||||
height: 50px;
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
.doc-header {
|
||||
margin-top: 5px;
|
||||
margin-right: 0;
|
||||
margin-bottom: 0px;
|
||||
margin-left: 0;
|
||||
padding-top: 100px;
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="page droidkufi-font" style="font-size:11pt;padding: 50px;">
|
||||
<h4 style="text-align:center;font-weight:bold">Forward Transaction Report</h4>
|
||||
<br/>
|
||||
<div style="width:100%;text-align:center">
|
||||
<h4 style="text-align:right;font-weight:bold;display:inline-block;width:30%">Start Date
|
||||
<t t-esc="date_start"/>
|
||||
</h4>
|
||||
<h4 style="text-align:left;font-weight:bold;display:inline-block;width:30%;">End Date
|
||||
<t t-esc="date_end"/>
|
||||
</h4>
|
||||
<div class="page droidkufi-font" style="padding-top: 50px; text-align:center; margin-top:100px;">
|
||||
<div style="padding-top: 60px;margin-bottom:0px;padding-bottom:0;">
|
||||
<h4 style="text-align:center; font-weight:bold; margin-bottom: 15px;">Forward Transaction Report</h4>
|
||||
<div style="width:100%; text-align:center; margin-bottom: 5px;padding-bottom:0px;">
|
||||
<h4 style="text-align:right; font-weight:bold; display:inline-block; width:45%;">
|
||||
Start Date: <t t-esc="date_start"/>
|
||||
</h4>
|
||||
<h4 style="text-align:left; font-weight:bold; display:inline-block; width:45%;">
|
||||
End Date: <t t-esc="date_end"/>
|
||||
</h4>
|
||||
</div>
|
||||
</div>
|
||||
<t t-foreach="key" t-as="doc">
|
||||
<br/>
|
||||
<span t-esc="doc"/>
|
||||
<br/>
|
||||
<table>
|
||||
<div class="doc-header">
|
||||
<span t-esc="doc"/>
|
||||
</div>
|
||||
|
||||
<table style="margin-top: 10px;">
|
||||
<thead>
|
||||
<tr class="spacer-row">
|
||||
<td colspan="10"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th style="width:5%;">#</th>
|
||||
<th style="width:14%;">Transaction Classification</th>
|
||||
<th style="width:12%;">Transaction Number</th>
|
||||
<th style="width:10%;">Transaction Date</th>
|
||||
<th style="width:10%;">Subject</th>
|
||||
<th style="width:9%;">Type</th>
|
||||
<th style="width:15%;">From</th>
|
||||
<th style="width:10%;">Cause of Forward</th>
|
||||
<th style="width:15%;">Forward Date</th>
|
||||
<th style="width:5%;">Notes</th>
|
||||
</tr>
|
||||
<th style="width:5%">#</th>
|
||||
<th style="width:14%">Transaction Classification</th>
|
||||
<th style="width:12%">Transaction Number</th>
|
||||
<th style="width:10%">Transaction Date</th>
|
||||
<th style="width:10%">Subject</th>
|
||||
<th style="width:9%">Type</th>
|
||||
<th style="width:15%">From</th>
|
||||
<th style="width:10%">Cause of Forward</th>
|
||||
<th style="width:15%">Forward Date</th>
|
||||
<th style="width:5%">Notes</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<t t-foreach="group_dic[doc]" t-as="docs">
|
||||
|
|
|
|||
|
|
@ -16,62 +16,77 @@
|
|||
font-family: 'DroidKufi', sans-serif;
|
||||
}
|
||||
|
||||
/* Global Table Styling */
|
||||
table {
|
||||
width: 100%;
|
||||
margin-top: 10px;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
table, th, td {
|
||||
th, td {
|
||||
border: 1px solid black;
|
||||
padding: 1px;
|
||||
}
|
||||
|
||||
thead {
|
||||
background-color: #d3d3d3;
|
||||
color: black;
|
||||
padding: 8px;
|
||||
font-size: 0.9em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
th {
|
||||
font-size: 0.8em;
|
||||
text-align: center;
|
||||
background-color: #f0f0f0;
|
||||
color: black;
|
||||
}
|
||||
|
||||
td {
|
||||
font-size: 0.8em;
|
||||
background-color: white;
|
||||
color: black;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.spacer-row td {
|
||||
border: none !important;
|
||||
padding: 0 !important;
|
||||
height: 50px;
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
.doc-header {
|
||||
margin-top: 5px;
|
||||
margin-right: 0;
|
||||
margin-bottom: 0px;
|
||||
margin-left: 0;
|
||||
padding-top: 100px;
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="page droidkufi-font" style="font-size:11pt;padding: 50px;">
|
||||
<h4 style="text-align:center;font-weight:bold">Incoming Transaction Report</h4>
|
||||
<br/>
|
||||
<div style="width:100%;text-align:center">
|
||||
<h4 style="text-align:right;font-weight:bold;display:inline-block;width:30%">Start Date
|
||||
<t t-esc="date_start"/>
|
||||
</h4>
|
||||
<h4 style="text-align:left;font-weight:bold;display:inline-block;width:30%;">End Date
|
||||
<t t-esc="date_end"/>
|
||||
</h4>
|
||||
<div class="page droidkufi-font" style="padding-top: 50px; text-align:center; margin-top:100px;">
|
||||
<div style="padding-top: 60px;margin-bottom:0px;padding-bottom:0;">
|
||||
<h4 style="text-align:center; font-weight:bold; margin-bottom: 15px;">Incoming Transaction Report</h4>
|
||||
<div style="width:100%; text-align:center; margin-bottom: 5px;padding-bottom:0px;">
|
||||
<h4 style="text-align:right; font-weight:bold; display:inline-block; width:45%;">
|
||||
Start Date: <t t-esc="date_start"/>
|
||||
</h4>
|
||||
<h4 style="text-align:left; font-weight:bold; display:inline-block; width:45%;">
|
||||
End Date: <t t-esc="date_end"/>
|
||||
</h4>
|
||||
</div>
|
||||
</div>
|
||||
<t t-foreach="key" t-as="doc">
|
||||
<br/>
|
||||
<span t-esc="doc"/>
|
||||
<br/>
|
||||
<table>
|
||||
<div class="doc-header">
|
||||
<span t-esc="doc"/>
|
||||
</div>
|
||||
|
||||
<table style="margin-top: 10px;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width:5%;">#</th>
|
||||
<th style="width:13%;">Transaction Number</th>
|
||||
<th style="width:12%;">Transaction Date</th>
|
||||
<th style="width:18%;">Subject</th>
|
||||
<th style="width:12%;">Type</th>
|
||||
<th style="width:20%;">Incoming From</th>
|
||||
<th style="width:20%;">Going To</th>
|
||||
</tr>
|
||||
<tr class="spacer-row">
|
||||
<td colspan="7"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th style="width:5%">#</th>
|
||||
<th style="width:13%">Transaction Number</th>
|
||||
<th style="width:12%">Transaction Date</th>
|
||||
<th style="width:18%">Subject</th>
|
||||
<th style="width:12%">Type</th>
|
||||
<th style="width:20%">Incoming From</th>
|
||||
<th style="width:20%">Going To</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<t t-foreach="group_dic[doc]" t-as="docs">
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<data>
|
||||
<template id="template_late_transaction_report">
|
||||
<template id="template_late_transaction_report">
|
||||
<t t-call="web.html_container">
|
||||
<t t-call="exp_transaction_report.custom_external_layout_all">
|
||||
<style type="text/css">
|
||||
|
|
@ -16,63 +16,77 @@
|
|||
font-family: 'DroidKufi', sans-serif;
|
||||
}
|
||||
|
||||
/* Global Table Styling */
|
||||
table {
|
||||
width: 100%;
|
||||
margin-top: 10px;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
table, th, td {
|
||||
th, td {
|
||||
border: 1px solid black;
|
||||
padding: 1px;
|
||||
}
|
||||
|
||||
thead {
|
||||
background-color: #d3d3d3;
|
||||
color: black;
|
||||
padding: 8px;
|
||||
font-size: 0.9em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
th {
|
||||
font-size: 0.8em;
|
||||
text-align: center;
|
||||
background-color: #f0f0f0;
|
||||
color: black;
|
||||
}
|
||||
|
||||
td {
|
||||
font-size: 0.8em;
|
||||
background-color: white;
|
||||
color: black;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.spacer-row td {
|
||||
border: none !important;
|
||||
padding: 0 !important;
|
||||
height: 50px;
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
.doc-header {
|
||||
margin-top: 5px;
|
||||
margin-right: 0;
|
||||
margin-bottom: 0px;
|
||||
margin-left: 0;
|
||||
padding-top: 100px;
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="page droidkufi-font" style="font-size:11pt;padding: 50px;">
|
||||
<h4 style="text-align:center;font-weight:bold">Late Transaction Report</h4>
|
||||
<br/>
|
||||
<div style="width:100%;text-align:center">
|
||||
<h4 style="text-align:right;font-weight:bold;display:inline-block;width:30%">Start Date
|
||||
<t t-esc="date_start"/>
|
||||
</h4>
|
||||
<h4 style="text-align:left;font-weight:bold;display:inline-block;width:30%;">End Date
|
||||
<t t-esc="date_end"/>
|
||||
</h4>
|
||||
<div class="page droidkufi-font" style="padding-top: 50px; text-align:center; margin-top:100px;">
|
||||
<div style="padding-top: 60px;margin-bottom:0px;padding-bottom:0;">
|
||||
<h4 style="text-align:center; font-weight:bold; margin-bottom: 15px;">Late Transaction Report</h4>
|
||||
<div style="width:100%; text-align:center; margin-bottom: 5px;padding-bottom:0px;">
|
||||
<h4 style="text-align:right; font-weight:bold; display:inline-block; width:45%;">
|
||||
Start Date: <t t-esc="date_start"/>
|
||||
</h4>
|
||||
<h4 style="text-align:left; font-weight:bold; display:inline-block; width:45%;">
|
||||
End Date: <t t-esc="date_end"/>
|
||||
</h4>
|
||||
</div>
|
||||
</div>
|
||||
<t t-foreach="key" t-as="doc">
|
||||
<br/>
|
||||
<span t-esc="doc"/>
|
||||
<br/>
|
||||
<table>
|
||||
<div class="doc-header">
|
||||
<span t-esc="doc"/>
|
||||
</div>
|
||||
|
||||
<table style="margin-top: 10px;">
|
||||
<thead>
|
||||
<tr class="spacer-row">
|
||||
<td colspan="7"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th style="width:5%;">#</th>
|
||||
<th style="width:12%;">Transaction Number</th>
|
||||
<th style="width:20%;">Subject</th>
|
||||
<th style="width:10%;">Type</th>
|
||||
<th style="width:10%;">Transaction Date</th>
|
||||
<th style="width:15%;">Due Date</th>
|
||||
<th style="width:28%;">Going To</th>
|
||||
</tr>
|
||||
|
||||
<th style="width:5%">#</th>
|
||||
<th style="width:12%">Transaction Number</th>
|
||||
<th style="width:20%">Subject</th>
|
||||
<th style="width:10%">Type</th>
|
||||
<th style="width:10%">Transaction Date</th>
|
||||
<th style="width:15%">Due Date</th>
|
||||
<th style="width:28%">Going To</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<t t-foreach="group_dic[doc]" t-as="docs">
|
||||
|
|
|
|||
|
|
@ -16,61 +16,76 @@
|
|||
font-family: 'DroidKufi', sans-serif;
|
||||
}
|
||||
|
||||
/* Global Table Styling */
|
||||
table {
|
||||
width: 100%;
|
||||
margin-top: 10px;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
table, th, td {
|
||||
th, td {
|
||||
border: 1px solid black;
|
||||
padding: 1px;
|
||||
}
|
||||
|
||||
thead {
|
||||
background-color: #d3d3d3;
|
||||
color: black;
|
||||
padding: 8px;
|
||||
font-size: 0.9em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
th {
|
||||
font-size: 0.8em;
|
||||
text-align: center;
|
||||
background-color: #f0f0f0;
|
||||
color: black;
|
||||
}
|
||||
|
||||
td {
|
||||
font-size: 0.8em;
|
||||
background-color: white;
|
||||
color: black;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.spacer-row td {
|
||||
border: none !important;
|
||||
padding: 0 !important;
|
||||
height: 60px;
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
.doc-header {
|
||||
margin-top: 5px;
|
||||
margin-right: 0;
|
||||
margin-bottom: 0px;
|
||||
margin-left: 0;
|
||||
padding-top: 100px;
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="page droidkufi-font" style="font-size:11pt;padding: 50px;">
|
||||
<h4 style="text-align:center;font-weight:bold">Outgoing Transaction Report</h4>
|
||||
<br/>
|
||||
<div style="width:100%;text-align:center">
|
||||
<h4 style="text-align:right;font-weight:bold;display:inline-block;width:30%">Start Date
|
||||
<t t-esc="date_start"/>
|
||||
</h4>
|
||||
<h4 style="text-align:left;font-weight:bold;display:inline-block;width:30%;">End Date
|
||||
<t t-esc="date_end"/>
|
||||
</h4>
|
||||
<div class="page droidkufi-font" style="padding-top: 50px; text-align:center; margin-top:100px;">
|
||||
<div style="padding-top: 60px;margin-bottom:0px;padding-bottom:0;">
|
||||
<h4 style="text-align:center; font-weight:bold; margin-bottom: 15px;">Outgoing Transaction Report</h4>
|
||||
<div style="width:100%; text-align:center; margin-bottom: 5px;padding-bottom:0px;">
|
||||
<h4 style="text-align:right; font-weight:bold; display:inline-block; width:45%;">
|
||||
Start Date: <t t-esc="date_start"/>
|
||||
</h4>
|
||||
<h4 style="text-align:left; font-weight:bold; display:inline-block; width:45%;">
|
||||
End Date: <t t-esc="date_end"/>
|
||||
</h4>
|
||||
</div>
|
||||
</div>
|
||||
<t t-foreach="key" t-as="doc">
|
||||
<br/>
|
||||
<span t-esc="doc"/>
|
||||
<br/>
|
||||
<table>
|
||||
<div class="doc-header">
|
||||
<span t-esc="doc"/>
|
||||
</div>
|
||||
|
||||
<table style="margin-top: 10px;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 5%;">#</th>
|
||||
<th style="width: 15%;">Transaction Number</th>
|
||||
<th style="width: 15%;">Transaction Date</th>
|
||||
<th style="width: 20%;">Subject</th>
|
||||
<th style="width: 15%;">Type</th>
|
||||
<th style="width: 30%;">Send To</th>
|
||||
</tr>
|
||||
<tr class="spacer-row">
|
||||
<td colspan="6"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th style="width:5%">#</th>
|
||||
<th style="width:15%">Transaction Number</th>
|
||||
<th style="width:15%">Transaction Date</th>
|
||||
<th style="width:20%">Subject</th>
|
||||
<th style="width:15%">Type</th>
|
||||
<th style="width:30%">Send To</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<t t-foreach="group_dic[doc]" t-as="docs">
|
||||
|
|
|
|||
|
|
@ -16,63 +16,81 @@
|
|||
font-family: 'DroidKufi', sans-serif;
|
||||
}
|
||||
|
||||
/* Global Table Styling */
|
||||
table {
|
||||
width: 100%;
|
||||
margin-top: 10px;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
table, th, td {
|
||||
th, td {
|
||||
border: 1px solid black;
|
||||
padding: 1px;
|
||||
}
|
||||
|
||||
thead {
|
||||
background-color: #d3d3d3;
|
||||
color: black;
|
||||
padding: 8px;
|
||||
font-size: 0.9em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
th {
|
||||
font-size: 0.8em;
|
||||
text-align: center;
|
||||
background-color: #f0f0f0;
|
||||
color: black;
|
||||
}
|
||||
|
||||
td {
|
||||
font-size: 0.8em;
|
||||
background-color: white;
|
||||
color: black;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.spacer-row td {
|
||||
border: none !important;
|
||||
padding: 0 !important;
|
||||
height: 60px;
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
.doc-header {
|
||||
margin-top: 5px;
|
||||
margin-right: 0;
|
||||
margin-bottom: 0px;
|
||||
margin-left: 0;
|
||||
padding-top: 100px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Nested table specific adjustments */
|
||||
.nested-table {
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
.nested-table th,
|
||||
.nested-table td {
|
||||
padding: 4px;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="page droidkufi-font" style="font-size:11pt;padding: 50px;">
|
||||
<h4 style="text-align:center;font-weight:bold">Report Outstanding Transaction</h4>
|
||||
<br/>
|
||||
<h4 style="text-align:center;font-weight:bold">
|
||||
<t t-if="name == 'Incoming Transactions'">المعاملات الواردة</t>
|
||||
<t t-else="name == 'Outcoming Transactions'">المعاملات الصادرة</t>
|
||||
</h4>
|
||||
<br/>
|
||||
<div style="width:100%;text-align:center">
|
||||
<h4 style="text-align:right;font-weight:bold;display:inline-block;width:30%">Start Date
|
||||
<t t-esc="date_start"/>
|
||||
</h4>
|
||||
<h4 style="text-align:left;font-weight:bold;display:inline-block;width:30%;">End Date
|
||||
<t t-esc="date_end"/>
|
||||
</h4>
|
||||
<div class="page droidkufi-font" style="padding-top: 50px; text-align:center; margin-top:100px;">
|
||||
<div style="padding-top: 60px;margin-bottom:0px;padding-bottom:0;">
|
||||
<h4 style="text-align:center; font-weight:bold; margin-bottom: 15px;">Report Outstanding Transaction</h4>
|
||||
<div style="width:100%; text-align:center; margin-bottom: 5px;padding-bottom:0px;">
|
||||
<h4 style="text-align:right; font-weight:bold; display:inline-block; width:45%;">
|
||||
Start Date: <t t-esc="date_start"/>
|
||||
</h4>
|
||||
<h4 style="text-align:left; font-weight:bold; display:inline-block; width:45%;">
|
||||
End Date: <t t-esc="date_end"/>
|
||||
</h4>
|
||||
</div>
|
||||
</div>
|
||||
<t t-foreach="key" t-as="doc">
|
||||
<br/>
|
||||
<span t-esc="doc"/>
|
||||
<br/>
|
||||
<table>
|
||||
<div class="doc-header">
|
||||
<span t-esc="doc"/>
|
||||
</div>
|
||||
|
||||
<table style="margin-top: 10px;">
|
||||
<thead>
|
||||
<tr class="spacer-row">
|
||||
<td colspan="7"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th style="width:5%">#</th>
|
||||
<th style="width:15%">Transaction Number</th>
|
||||
|
|
|
|||
Loading…
Reference in New Issue