Server IP : 127.0.0.2 / Your IP : 3.23.128.245 Web Server : Apache/2.4.18 (Ubuntu) System : User : www-data ( ) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : disk_free_space,disk_total_space,diskfreespace,dl,exec,fpaththru,getmyuid,getmypid,highlight_file,ignore_user_abord,leak,listen,link,opcache_get_configuration,opcache_get_status,passthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,php_uname,phpinfo,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix,_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,pclose,popen,proc_open,proc_close,proc_get_status,proc_nice,proc_terminate,shell_exec,source,show_source,system,virtual MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /opt/odoo/addons/account/views/ |
Upload File : |
<?xml version="1.0" encoding="utf-8"?> <odoo> <template id="account.report_overdue_document"> <t t-call="report.external_layout"> <div class="page"> <div class="row"> <div class="col-xs-5 col-xs-offset-7"> <span t-field="o.name"/><br/> <span t-raw="o.contact_address.replace('\n\n', '\n').replace('\n', '<br>')"/> <span t-field="o.vat"/> </div> <p> Document: Customer account statement<br/> Date: <span t-esc="Date"/><br/> <t t-if="o.ref">Customer ref: <span t-field="o.ref"/></t> </p> <t t-if="Lines[o.id]"> <span t-field="res_company.with_context(lang=o.lang).overdue_msg"/> <table class="table table-condensed" t-foreach="Lines[o.id]" t-as="currency"> <thead> <tr> <th>Reference number</th> <th class="text-center">Date</th> <th class="text-center">Due Date</th> <th>Communication</th> <th class="text-right">Due</th> <th class="text-right">Paid</th> <th class="text-center">Litigation</th> </tr> </thead> <tr t-foreach="Lines[o.id][currency]" t-as="line"> <td> <span t-esc="line['move_id']"/> </td> <td> <span t-esc="line['date']"/> </td> <td> <span t-esc="line['date_maturity']"/> </td> <td> <t t-if="line['name'] != '/'"><span t-esc="line['name']"/></t> <span t-esc="line['ref']"/> </td> <td class="text-right"> <span t-esc="line['debit']" t-options="{'widget': 'monetary', 'display_currency': currency}"/> </td> <td class="text-right"> <span t-esc="line['credit']" t-options="{'widget': 'monetary', 'display_currency': currency}"/> </td> <td class="text-center"> <span t-if="line['blocked']">x</span> </td> </tr> <tr> <td colspan="3"></td> <td><strong>Subtotal :</strong></td> <td class="text-right"><span t-esc="Totals[o.id][currency]['due']" t-options="{'widget': 'monetary', 'display_currency': currency}"/></td> <td class="text-right"><span t-esc="Totals[o.id][currency]['paid']" t-options="{'widget': 'monetary', 'display_currency': currency}"/></td> <td class="text-right"><span t-esc="Totals[o.id][currency]['mat']" t-options="{'widget': 'monetary', 'display_currency': currency}"/></td> <td></td> </tr> <tr> <td colspan="3"></td> <td><strong>Balance :</strong></td> <td class="text-right"> <span t-esc="Totals[o.id][currency]['due'] - Totals[o.id][currency]['paid']" t-options="{'widget': 'monetary', 'display_currency': currency}"/> </td> </tr> </table> </t> <p t-if="not Lines[o.id]"> <strong>There is nothing due with this customer.</strong> </p> </div> </div> </t> </template> <template id="report_overdue"> <t t-call="report.html_container"> <t t-foreach="docs" t-as="o"> <t t-call="account.report_overdue_document" t-lang="o.lang"/> </t> </t> </template> </odoo>