Warning, /office/skrooge/plugins/skrooge/detailed.txt is written in an unsupported language. File is not indexed.

0001 <!--
0002 /***************************************************************************
0003  * SPDX-FileCopyrightText: 2022 S. MANKOWSKI stephane@mankowski.fr
0004  * SPDX-FileCopyrightText: 2022 G. DE BURE support@mankowski.fr
0005  * SPDX-License-Identifier: GPL-3.0-or-later
0006  ***************************************************************************/
0007 -->
0008 <?xml version="1.0" encoding="utf-8"?>
0009 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
0010 <html xmlns="https://www.w3.org/1999/xhtml">
0011   <head>
0012     <meta http-equiv="content-type" content="text/html;charset=utf-8" />
0013     <meta http-equiv="Content-Style-Type" content="text/css" />
0014     <style type="text/css">
0015       body
0016       {
0017       background-color: #{{ color_normalbackground }};
0018       color: #{{ color_normaltext }};
0019       font-size : small;
0020       font-family : {{ font_family }};      
0021       }
0022 
0023       h1
0024       {
0025       text-decoration: underline;
0026       color: #{{ color_activetext }};
0027       }
0028 
0029       h2
0030       {
0031       text-decoration: underline;
0032       color: #{{ color_inactivetext }};
0033       }
0034 
0035       .table
0036       {
0037       border: thin solid #000000;
0038       border-collapse: collapse;
0039       }
0040 
0041       .tabletitle
0042       {
0043       background-color: #6495ed;
0044       color : #FFFF33;
0045       font-weight : bold;
0046       font-size : normal;
0047       }
0048 
0049       .tabletotal
0050       {
0051       background-color: #{{ color_activebackground }};
0052       font-weight : bold;
0053       }
0054 
0055       tr
0056       {
0057       padding: 2px;
0058       }
0059 
0060       td
0061       {
0062       padding: 2px;
0063       white-space: nowrap;
0064       }
0065     </style>    
0066   </head>
0067   <body>
0068     <table>
0069       <tr>    
0070         <td>
0071           <img src="{{ logo }}" height="128" width="128"/>
0072         </td>
0073         <td align="left">
0074           <h1>{{ title_main }}</h1>
0075           <small>Date: {{ current_date }}</small><br/>
0076           <small>File name: {{ document.fileName }}</small><br/>
0077         </td>
0078       </tr>
0079     </table>
0080     <h2>{{ title_personal_finance_score }}</h2>
0081     {% include "default/personal_finance_score.html" %}
0082     
0083     <h2>{{ document|display:"f_CURRENTAMOUNT_INCOME" }} &amp; {{ document|display:"f_CURRENTAMOUNT_EXPENSE" }} *</h2>
0084     {% include "default/income_vs_expenditure_table.html" %}
0085     <img src="https://chart.apis.google.com/chart?cht=bvs&chxs=0,{{ color_normaltext }}|1,{{ color_normaltext }}&chbh=100&chxt=x,y&chxr=1,0,{{ report.income_vs_expenditure.4.3 }}&chf=bg,s,{{ color_normalbackground }}&chco={{ color_negativetext }}|{{ color_positivetext }}&chd=t:{{ report.income_vs_expenditure.2.3 }},{{ report.income_vs_expenditure.1.3 }}&chds=0,{{ report.income_vs_expenditure.4.3 }}&chs=300x200&chl={{ document|display:"f_CURRENTAMOUNT_EXPENSE" }}|{{ document|display:"f_CURRENTAMOUNT_INCOME" }}&chts={{ color_normaltext }}&chtt={{ document|display:"f_CURRENTAMOUNT_EXPENSE" }} vs {{ document|display:"f_CURRENTAMOUNT_INCOME" }}|{{ report.period }}"/>
0086 
0087     <h2>{{ title_budget }}</h2>
0088     {% include "default/budget_table.html" %}
0089             
0090     <h2>{{ title_main_categories }}</h2>
0091     <table>
0092       <tr>
0093         <td align="center">
0094           {% include "default/categories_previous_period_table.html" %}
0095 
0096           <img src="https://chart.apis.google.com/chart?cht=p3&chf=bg,s,{{ color_normalbackground }}&chco={{ color_negativetext }}&chd=t:{{ report.categories_previous_period.1.2 }},{{ report.categories_previous_period.2.2 }},{{ report.categories_previous_period.3.2 }},{{ report.categories_previous_period.4.2 }},{{ report.categories_previous_period.5.2 }}&chs=300x100&chl=1|2|3|4|5&chds=0,400000000" />
0097         </td>
0098         <td align="center">
0099           {% include "default/categories_period_table.html" %}
0100         
0101           <img src="https://chart.apis.google.com/chart?cht=p3&chf=bg,s,{{ color_normalbackground }}&chco={{ color_negativetext }}&chd=t:{{ report.categories_period.1.2 }},{{ report.categories_period.2.2 }},{{ report.categories_period.3.2 }},{{ report.categories_period.4.2 }},{{ report.categories_period.5.2 }}&chs=300x100&chl=1|2|3|4|5&chds=0,400000000" />
0102         </tr>
0103     </table>
0104  
0105     <h2>Transactions</h2> 
0106     <table>
0107     {% for item in document|table:"v_operation_display,1=1 ORDER By d_date, t_ACCOUNT, t_CATEGORY" %}
0108     {% ifequal item|att:"d_DATEMONTH" report.period %}
0109       <tr><td>{{ item|att:"d_date" }}</td><td>{{ item|att:"t_ACCOUNT" }}</td><td>{{ item|att:"f_CURRENTAMOUNT"|money|safe }}</td><td>{{ item|att:"t_CATEGORY" }}</td></tr>
0110     {% endifequal %}
0111     {% ifequal item|att:"d_DATEQUARTER" report.period %}
0112       <tr><td>{{ item|att:"d_date" }}</td><td>{{ item|att:"t_ACCOUNT" }}</td><td>{{ item|att:"f_CURRENTAMOUNT"|money|safe }}</td><td>{{ item|att:"t_CATEGORY" }}</td></tr>
0113     {% endifequal %}    
0114     {% ifequal item|att:"d_DATESEMESTER" report.period %}
0115       <tr><td>{{ item|att:"d_date" }}</td><td>{{ item|att:"t_ACCOUNT" }}</td><td>{{ item|att:"f_CURRENTAMOUNT"|money|safe }}</td><td>{{ item|att:"t_CATEGORY" }}</td></tr>
0116     {% endifequal %}      
0117     {% ifequal item|att:"d_DATEYEAR" report.period %}
0118       <tr><td>{{ item|att:"d_date" }}</td><td>{{ item|att:"t_ACCOUNT" }}</td><td>{{ item|att:"f_CURRENTAMOUNT"|money|safe }}</td><td>{{ item|att:"t_CATEGORY" }}</td></tr>
0119     {% endifequal %}      
0120     {% endfor %}
0121     </table>    
0122     <h2>{{ title_variations }}</h2>
0123       {% for item in report.categories_variations %}
0124       <li> {{ item|safe }}</li>
0125       {% endfor %}
0126     
0127     <h2>{{ title_account }} *</h2>
0128      {% include "default/bank_table.html" %}
0129      <br/>    
0130      {% include "default/account_table.html" %}
0131             
0132     <h2>{{ title_unit }} *</h2>
0133      {% include "default/unit_table.html" %}      
0134      
0135     <h2>{{ title_portfolio }} *</h2>
0136      {% include "default/portfolio.html" %}      
0137      <img src="https://chart.apis.google.com/chart?cht=p3&chf=bg,s,{{ color_normalbackground }}&chco={{ color_negativetext }}&chd=t:{% for item in report.portfolio %}{% if forloop.first %}{% else %}{% if forloop.last %}{{ item.5 }}{% else %}{{ item.5 }},{% endif %}{% endif %}{% endfor %}&chs=300x100&chl={% for item in report.portfolio %}{% if forloop.first %}{% else %}{% if forloop.last %}{{ item.0 }}{% else %}{{ item.0 }}|{% endif %}{% endif %}{% endfor %}&chds=0,400000000" />
0138 
0139     <h2>{{ title_interests }} *</h2>
0140        {% include "default/interests.html" %}
0141 
0142     <h2>{{ title_alarms }} *</h2>
0143        {% include "default/alarm.html" %}
0144 
0145     <p><small>* {{ msg_amount_unit_date }}</small></p>     
0146   </body>
0147 </html>