Merge pull request #13511 from rohitwaghchaure/table_styling
[Fix] Width and margin for account receivable pdc print format
This commit is contained in:
commit
aa7cddef5c
@ -2,9 +2,8 @@
|
|||||||
<style>
|
<style>
|
||||||
@media screen {
|
@media screen {
|
||||||
.print-format {
|
.print-format {
|
||||||
padding: 8mm;
|
padding: 4mm;
|
||||||
margin:4mm;
|
font-size: 8.0pt !important;
|
||||||
font-size: 10.0pt !important;
|
|
||||||
font-family: Tahoma, sans-serif;
|
font-family: Tahoma, sans-serif;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -12,9 +11,8 @@
|
|||||||
{% } %}
|
{% } %}
|
||||||
<style>
|
<style>
|
||||||
.print-format {
|
.print-format {
|
||||||
padding: 8mm;
|
padding: 4mm;
|
||||||
margin:4mm;
|
font-size: 8.0pt !important;
|
||||||
font-size: 10.0pt !important;
|
|
||||||
font-family: Tahoma, sans-serif;
|
font-family: Tahoma, sans-serif;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@ -41,7 +39,7 @@
|
|||||||
var range4 = report.columns[14].label;
|
var range4 = report.columns[14].label;
|
||||||
%}
|
%}
|
||||||
{% if(balance_row) { %}
|
{% if(balance_row) { %}
|
||||||
<table class="table table-bordered table-condensed table-sm small">
|
<table class="table table-bordered table-condensed">
|
||||||
<caption class="text-right">(Amount in {%= data[0][__("currency")] || "" %})</caption>
|
<caption class="text-right">(Amount in {%= data[0][__("currency")] || "" %})</caption>
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col style="width: 30mm;">
|
<col style="width: 30mm;">
|
||||||
@ -100,8 +98,8 @@
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
{% if(report.report_name === "Accounts Receivable" || report.report_name === "Accounts Payable") { %}
|
{% if(report.report_name === "Accounts Receivable" || report.report_name === "Accounts Payable") { %}
|
||||||
<th style="width: 15%">{%= __("Date") %}</th>
|
<th style="width: 18%">{%= __("Date") %}</th>
|
||||||
<th style="width: 20%">{%= __("Reference") %}</th>
|
<th style="width: 17%">{%= __("Reference") %}</th>
|
||||||
{% if(!filters.show_pdc_in_print) { %}
|
{% if(!filters.show_pdc_in_print) { %}
|
||||||
<th style="width: 20%">{%= (filters.customer || filters.supplier) ? __("Remarks"): __("Party") %}</th>
|
<th style="width: 20%">{%= (filters.customer || filters.supplier) ? __("Remarks"): __("Party") %}</th>
|
||||||
{% } %}
|
{% } %}
|
||||||
@ -234,4 +232,4 @@
|
|||||||
{% } %}
|
{% } %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<p class="text-right text-muted">{{ __("Printed On") }}{%= dateutil.str_to_user(dateutil.get_datetime_as_string()) %}</p>
|
<p class="text-right text-muted">{{ __("Printed On ") }}{%= dateutil.str_to_user(dateutil.get_datetime_as_string()) %}</p>
|
Loading…
x
Reference in New Issue
Block a user