|
@@ -1,48 +1,56 @@
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<template xml:space="preserve">
|
|
<template xml:space="preserve">
|
|
<t t-name="ExpiredAccountCountersModal">
|
|
<t t-name="ExpiredAccountCountersModal">
|
|
- <div class="modal fade expired-account-modal" tabindex="-1" role="dialog">
|
|
|
|
|
|
+ <div class="modal in expired-account-modal" tabindex="-1" role="dialog">
|
|
<div class="modal-dialog modal-lg" role="document">
|
|
<div class="modal-dialog modal-lg" role="document">
|
|
<div class="modal-content openerp">
|
|
<div class="modal-content openerp">
|
|
|
|
+ <!-- title -->
|
|
<div class="modal-header">
|
|
<div class="modal-header">
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close" aria-hidden="true">x</button>
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close" aria-hidden="true">x</button>
|
|
<h3 class="modal-title" t-foreach="modalTitle" t-as="title">
|
|
<h3 class="modal-title" t-foreach="modalTitle" t-as="title">
|
|
<t t-esc="title_value.title"/>
|
|
<t t-esc="title_value.title"/>
|
|
</h3>
|
|
</h3>
|
|
</div>
|
|
</div>
|
|
- <div class="oe_view_manager_body">
|
|
|
|
- <table class="oe_list_content">
|
|
|
|
- <thead >
|
|
|
|
- <tr class="oe_list_header_columns" >
|
|
|
|
- <th t-foreach="dataThead" t-as="head" class="oe_list_header_char oe_sortable">
|
|
|
|
- <t t-esc="head_value.title"/>
|
|
|
|
- </th>
|
|
|
|
- </tr>
|
|
|
|
- </thead>
|
|
|
|
- <tbody class="table-tbody">
|
|
|
|
- <tr t-foreach="data" t-as="field">
|
|
|
|
- <td><t t-esc="field_value.invoice[0]"/></td>
|
|
|
|
- <td><t t-esc="field_value.partner_id[1]"/></td>
|
|
|
|
- <td><t t-esc="field_value.ref"/></td>
|
|
|
|
-
|
|
|
|
- <td>
|
|
|
|
- <t t-set="vencimiento" t-value="field_value.date_maturity"/>
|
|
|
|
- <t t-js="ctx">
|
|
|
|
- ctx.vencimiento = $.timeago(moment(ctx.vencimiento).format("YYYY-DD-MM"));
|
|
|
|
- </t>
|
|
|
|
- <t t-esc="vencimiento"/></td>
|
|
|
|
- <td>
|
|
|
|
- <t t-js="ctx">
|
|
|
|
- ctx.field.amount_residual = accounting.formatNumber(ctx.field.amount_residual,0,',','.');
|
|
|
|
- </t>
|
|
|
|
- <t t-esc="field_value.amount_residual"/>
|
|
|
|
- </td>
|
|
|
|
- </tr>
|
|
|
|
- </tbody>
|
|
|
|
- </table>
|
|
|
|
|
|
+ <div class="oe_view_manager_body table-model">
|
|
|
|
+ <!-- tabla Head -->
|
|
|
|
+ <div class="modal-head-wrapper">
|
|
|
|
+ <table class="oe_list_content">
|
|
|
|
+ <thead >
|
|
|
|
+ <tr class="oe_list_header_columns" >
|
|
|
|
+ <th t-foreach="dataThead" t-as="head" class="oe_list_header_char oe_sortable">
|
|
|
|
+ <t t-esc="head_value.title"/>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
|
|
+ </thead>
|
|
|
|
+ </table>
|
|
|
|
+ </div>
|
|
|
|
+ <!-- table body -->
|
|
|
|
+ <div class="modal-items-wrapper">
|
|
|
|
+ <table class="oe_list_content">
|
|
|
|
+ <tbody class="table-tbody">
|
|
|
|
+ <tr t-foreach="data" t-as="field">
|
|
|
|
+ <td><t t-esc="field_value.invoice[0]"/></td>
|
|
|
|
+ <td><t t-esc="field_value.partner_id[1]"/></td>
|
|
|
|
+ <td><t t-esc="field_value.ref"/></td>
|
|
|
|
+ <td>
|
|
|
|
+ <t t-set="vencimiento" t-value="field_value.date_maturity"/>
|
|
|
|
+ <t t-js="ctx">
|
|
|
|
+ ctx.vencimiento = $.timeago(moment(ctx.vencimiento).format("YYYY-DD-MM"));
|
|
|
|
+ </t>
|
|
|
|
+ <t t-esc="vencimiento"/></td>
|
|
|
|
+ <td>
|
|
|
|
+ <t t-js="ctx">
|
|
|
|
+ ctx.field.amount_residual = accounting.formatNumber(ctx.field.amount_residual,0,',','.');
|
|
|
|
+ </t>
|
|
|
|
+ <t t-esc="field_value.amount_residual"/>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ </tbody>
|
|
|
|
+ </table>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<div class="modal-footer">
|
|
- <button type="button" class="btn btn-default" data-dismiss="modal">Cerrar</button>
|
|
|
|
|
|
+ <button type="button" class="btn btn-default " data-dismiss="modal">Cerrar</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|