123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <?xml version="1.0" encoding="UTF-8"?>
- <template xml:space="preserve">
- <t t-name="ExpiredAccountCountersModal">
- <div class="modal in expired-account-modal" tabindex="-1" role="dialog">
- <div class="modal-dialog modal-lg" role="document">
- <div class="modal-content openerp">
- <!-- title -->
- <div class="modal-header">
- <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">
- <t t-esc="title_value.title"/>
- </h3>
- </div>
- <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-set="monto" t-value="field_value.amount_residual"/>
- <t t-js="ctx">
- ctx.monto = accounting.formatNumber(ctx.monto,0,'.',',');
- </t>
- <t t-esc="monto"/>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- <div class="modal-footer">
- <button type="button" class="btn btn-default " data-dismiss="modal">Cerrar</button>
- </div>
- </div>
- </div>
- </div>
- </t>
- </template>
|