2014-05-30 16:34:13 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<templates xml:space= "preserve" >
<t t-name= "bank_statement_nothing_to_reconcile" >
<div class= "oe_form_sheetbg" > <div class= "oe_form_sheet oe_form_sheet_width" >
<div class= "oe_view_nocontent" > <p >
<b > Good Job!</b> Bank statements are fully reconciled.</p>
<p > This page displays all the bank transactions that are to be reconciled and provides with a neat interface to do so.</p>
</div>
</div> </div>
</t>
<t t-name= "bank_statement_reconciliation" >
<div class= "oe_form_sheetbg" > <div class= "oe_form_sheet oe_form_sheet_width" >
2014-09-11 14:34:05 +00:00
<t t-if= "single_statement" >
2014-09-10 12:07:27 +00:00
<h1 class= "statement_name" >
<span > <t t-esc= "title" /> </span>
<table class= "change_statement_name_container oe_form" > <tr >
<td > <input class= "change_statement_name_field" type= "text" /> </td>
<td > <button class= "change_statement_name_button oe_highlight" > OK</button> </td>
</tr> </table>
</h1>
</t>
2014-09-11 14:34:05 +00:00
<t t-if= "!single_statement" >
2014-09-10 12:07:27 +00:00
<h1 > <t t-esc= "title" /> </h1>
</t>
2014-05-30 16:34:13 +00:00
<div class= "progress progress-striped" >
<div class= "progress-text" > <span class= "valuenow" > 0</span> / <span class= "valuemax" > <t t-esc= "total_lines" /> </span> </div>
<div class= "progress-bar" role= "progressbar" aria-valuenow= "0" aria-valuemin= "0" t-att-aria-valuemax= "total_lines" style= "width: 0%;" >
</div>
</div>
<div class= "oe_clear" > </div>
<div class= "reconciliation_lines_container" > </div>
<p class= 'protip' > Tip : Hit ctrl-enter to validate the whole sheet.</p>
</div> </div>
</t>
<t t-name= "bank_statement_reconciliation_done_message" >
<div class= 'done_message' >
<h2 > <t t-raw= "title" /> </h2>
<p > It took you <strong > <t t-esc= "time_taken" /> </strong> to reconcile <strong > <t t-esc= "transactions_done" /> transactions.<br /> </strong> That's on average <t t-esc= "sec_per_item" /> seconds per transaction.</p>
<t t-if= "done_with_ctrl_enter !== 0" >
<p > You validated <t t-esc= "done_with_ctrl_enter" /> reconciliations with the ctrl-enter shortcut.</p>
</t>
<p class= 'achievements' >
<t t-foreach= "achievements" t-as= "achievement" >
<i class= 'fa fa-certificate achievement' t-att-data-title= 'achievement.title' t-att-data-content= 'achievement.desc' > <i t-att-class= "'fa '+achievement.icon" > </i> </i>
</t>
</p>
<p class= "action_buttons" >
2014-09-11 10:46:56 +00:00
<t t-if= "single_statement or multiple_statements" >
<button class= "button_back_to_statement" > Back to statements list</button>
<button class= "button_close_statement" > Close the statement<t t-if= "multiple_statements" > s</t> </button>
2014-05-30 16:34:13 +00:00
</t>
</p>
</div>
</t>
<t t-name= "bank_statement_reconciliation_line" >
<table t-att-data-mode= "mode" >
<tr >
<td >
<table class= "accounting_view" >
<caption >
<button class= "button_ok" > </button>
2014-09-10 13:01:13 +00:00
<span t-if= "! line.has_no_partner" class= "partner_name" >
<t t-esc= "line.partner_name" />
2014-09-16 09:01:06 +00:00
<span class= "change_partner glyphicon glyphicon-pencil" > </span>
2014-09-10 13:01:13 +00:00
</span>
2014-05-30 16:34:13 +00:00
<div class= "change_partner_container oe_form" > </div>
</caption>
<tbody class= "tbody_initial_line" >
<tr class= "initial_line" >
2014-09-04 09:32:16 +00:00
<td class= "cell_action" > <span class= "toggle_match glyphicon glyphicon-cog" > </span> </td>
<td class= "cell_account_code" > <t t-esc= "line.account_code" /> </td>
<td class= "cell_due_date" > <t t-esc= "line.date" /> </td>
2014-09-16 15:17:11 +00:00
<td class= "cell_label" >
<t t-if= "line.name" t-esc= "line.name" />
<t t-if= "line.ref" > : <t t-esc= "line.ref" /> </t>
2014-05-30 16:34:13 +00:00
<t t-if= "line.amount_currency_str" > (<t t-esc= "line.amount_currency_str" /> )</t> </td>
2014-09-04 09:32:16 +00:00
<td class= "cell_debit" > <t t-if= "line.amount > 0" >
2014-05-30 16:34:13 +00:00
<t t-esc= "line.amount_str" /> </t> </td>
2014-09-04 09:32:16 +00:00
<td class= "cell_credit" > <t t-if= "line.amount < 0" >
2014-05-30 16:34:13 +00:00
<t t-esc= "line.amount_str" /> </t> </td>
2014-09-04 09:32:16 +00:00
<td class= "cell_info_popover" > <span class= "line_info_button glyphicon glyphicon-info-sign" t-att-data-content= "line.q_popover" > </span> </td>
2014-05-30 16:34:13 +00:00
</tr>
</tbody>
<tbody class= "tbody_matched_lines" > </tbody>
<tbody class= "tbody_created_lines" > </tbody>
<tbody class= "tbody_open_balance" > </tbody>
</table>
</td>
</tr>
<tr >
<td >
<div class= "action_pane match" >
<div class= "match_controls" >
<input type= "text" class= "filter" placeholder= "Filter" value= "" />
<span class= "pager_control_right pull-right glyphicon glyphicon-chevron-right" > </span>
<span class= "pager_control_left pull-right glyphicon glyphicon-chevron-left" > </span>
</div>
<table > </table>
</div>
<div class= "action_pane create" >
<!-- NB : I use a .quick_add:empty selector. whitespace characters being a node, there shall be none -->
<div class= "quick_add btn-group btn-group-sm" > <t t-foreach= "presets" t-as= "preset" > <button type= 'button' class= 'btn btn-default preset' t-att-data-presetid= "preset.id" > <t t-esc= "preset.name" /> </button> </t> </div>
<div class= "oe_form create_form" >
<!-- here come some form_create_field -->
<table class= "create_field add_line_container" > <tr > <td > <a href= "javascript:void(0)" class= "add_line" > New</a> </td> </tr> </table>
</div>
</div>
</td>
</tr>
</table>
</t>
<t t-name= "filter_no_match" >
<tr > <td style= 'text-align: center;' > No result matching '<t t-esc= "filter_str" /> '</td> </tr>
</t>
<t t-name= "form_create_field" >
<table t-att-class= '"create_field create_"+id' > <tr >
<th > <t t-esc= "label" /> </th>
<td class= "create_account_container" t-att-class= '"create_"+id+"_container"' > </td>
</tr> </table>
</t>
<t t-name= "bank_statement_reconciliation_line_details" >
<table class= 'details' >
<tr > <td > Date</td> <td > <t t-esc= "line.date" /> </td> </tr>
2014-09-04 09:32:16 +00:00
<tr t-if= "line.partner_name" > <td > Partner</td> <td > <t t-esc= "line.partner_name" /> </td> </tr>
2014-05-30 16:34:13 +00:00
<tr t-if= "line.ref" > <td > Transaction</td> <td > <t t-esc= "line.ref" /> </td> </tr>
<tr > <td > Description</td> <td > <t t-esc= "line.name" /> </td> </tr>
<tr > <td > Amount</td> <td > <t t-esc= "line.amount_str" /> <t t-if= "line.amount_currency_str" > (<t t-esc= "line.amount_currency_str" /> )</t> </td> </tr>
<tr > <td > Account</td> <td > <t t-esc= "line.account_code" /> <t t-esc= "line.account_name" /> </td> </tr>
</table>
</t>
<t t-name= "bank_statement_reconciliation_move_line" >
<tr class= "mv_line" t-att-data-lineid= "line.id" t-att-data-selected= "selected" >
2014-09-04 09:32:16 +00:00
<td class= "cell_action" > <span class= "glyphicon glyphicon-add-remove" > </span> </td>
<td class= "cell_account_code" t-if= "line.account_code" > <t t-esc= "line.account_code" /> </td>
<td class= "cell_due_date" > <t t-esc= "line.q_due_date" /> </td>
<td class= "cell_label js_qlabel" > <t t-esc= "line.q_label" /> </td>
<td class= "cell_debit" > <t t-if= "line.debit !== 0" > <t t-if= "line.propose_partial_reconcile" t-call= "icon_do_partial_reconciliation" > </t> <t t-if= "line.partial_reconcile" t-call= "icon_undo_partial_reconciliation" > </t> <t t-esc= "line.debit_str" /> </t> </td>
<td class= "cell_credit" > <t t-if= "line.credit !== 0" > <t t-if= "line.propose_partial_reconcile" > <t t-call= "icon_do_partial_reconciliation" /> </t> <t t-if= "line.partial_reconcile" > <t t-call= "icon_undo_partial_reconciliation" /> </t> <t t-esc= "line.credit_str" /> </t> </td>
<td class= "cell_info_popover" > <span class= "line_info_button glyphicon glyphicon-info-sign" t-att-data-content= "line.q_popover" > </span> </td>
2014-05-30 16:34:13 +00:00
</tr>
</t>
2014-09-16 09:01:06 +00:00
<t t-name= "icon_do_partial_reconciliation" > <i class= "do_partial_reconcile_button fa fa-exclamation-triangle" data-content= "Click to register a partial payment and keep the invoice open. Otherwise it does a full reconciliation." > </i> </t>
2014-05-30 16:34:13 +00:00
2014-09-04 09:32:16 +00:00
<t t-name= "icon_undo_partial_reconciliation" > <i class= "undo_partial_reconcile_button fa fa-exclamation-triangle" data-content= "Undo the partial reconciliation." > </i> </t>
2014-05-30 16:34:13 +00:00
<t t-name= "bank_statement_reconciliation_move_line_details" >
<table class= 'details' >
2014-09-04 09:32:16 +00:00
<tr t-if= "line.account_code" > <td > Account</td> <td > <t t-esc= "line.account_code" /> <t t-esc= "line.account_name" /> </td> </tr>
2014-05-30 16:34:13 +00:00
<tr > <td > Journal</td> <td > <t t-esc= "line.journal_name" /> </td> </tr>
<tr > <td > Period</td> <td > <t t-esc= "line.period_name" /> </td> </tr>
<tr > <td > Date</td> <td > <t t-esc= "line.date" /> </td> </tr>
<tr > <td > Due Date</td> <td > <t t-esc= "line.q_due_date" /> </td> </tr>
2014-09-16 10:23:13 +00:00
<t t-if= "line.is_partially_reconciled" >
<tr > <td > Total</td> <td >
<t t-esc= "line.total_amount_str" /> <t t-if= "line.total_amount_currency_str" > (<t t-esc= "line.total_amount_currency_str" /> )</t>
2014-05-30 16:34:13 +00:00
</td> </tr>
2014-09-16 10:23:13 +00:00
</t>
<tr > <td > <t t-if= "line.is_partially_reconciled" > Residual</t> <t t-if= "! line.is_partially_reconciled" > Amount</t> </td> <td >
<t t-if= "line.debit !== 0" t-esc= "line.debit_str" /> <t t-if= "line.credit !== 0" t-esc= "line.credit_str" />
<t t-if= "line.amount_currency_str" > (<t t-esc= "line.amount_currency_str" /> )</t>
</td> </tr>
2014-05-30 16:34:13 +00:00
</table>
</t>
<t t-name= "bank_statement_reconciliation_created_line" >
<tr class= "created_line" t-att-data-lineid= "line.id" >
2014-12-05 14:07:01 +00:00
<td class= "cell_action" > <t t-if= "! line.no_remove_action" > <span class= "glyphicon glyphicon-remove" > </span> </t> </td>
2014-09-04 09:32:16 +00:00
<td class= "cell_account_code" > <t t-esc= "line.account_num" /> </td>
<td class= "cell_due_date" > </td>
<td class= "cell_label" > <t t-esc= "line.label" /> </td>
<td class= "cell_debit" > <t t-if= "line.amount < 0" > <t t-esc= "line.amount_str" /> </t> </td>
<td class= "cell_credit" > <t t-if= "line.amount > 0" > <t t-esc= "line.amount_str" /> </t> </td>
<td class= "cell_info_popover" > </td>
2014-05-30 16:34:13 +00:00
</tr>
</t>
<t t-name= "bank_statement_reconciliation_line_open_balance" >
<tr class= "line_open_balance" >
2014-09-04 09:32:16 +00:00
<td class= "cell_action" > <span class= "toggle_create glyphicon glyphicon-play" > </span> </td>
<td class= "cell_account_code" > <t t-esc= "account_code" /> </td>
<td class= "cell_due_date" > </td>
<td class= "cell_label js_open_balance" > Open balance</td>
<td class= "cell_debit" > <t t-esc= "debit" /> </td>
<td class= "cell_credit" > <t t-esc= "credit" /> </td>
<td class= "cell_info_popover" > </td>
2014-05-30 16:34:13 +00:00
</tr>
</t>
</templates>