</style>
<div class="listtop">[% title %]</div>
-
[%- INCLUDE 'common/flash.html' %]
-<form id="reconciliation_form" method="post" action="controller.pl" style="height:100%">
+<form id="reconciliation_form" method="post" action="controller.pl" style="height:100%" id="filter_form">
<table>
<tr>
<th align="right">[% 'Bank account' | $T8 %]</th>
</tr>
</table>
- [% L.submit_tag('submit_filter', LxERP.t8("Filter"), onclick='filter_table();return false;', style='display: none') %]
-
- <div class="tabwidget" style="height:100%">
+ <div id="reconc_tabs" class="tabwidget" style="height:100%">
<ul>
<li><a href="#overview" onclick="load_overview();">[% 'Overview' | $T8 %]</a></li>
<li><a href="#automatic" onclick="load_proposals();">[% 'Proposals' | $T8 %]</a></li>
</ul>
- <div id="overview" style="height:calc(100% - 60px);overflow: auto;">[% PROCESS "reconciliation/tabs/overview.html" %]</div>
- <div id="automatic" style="height:calc(100% - 60px);overflow: auto;"></div>
+ <div id="overview" style="height:calc(100% - 60px);overflow: auto;">
+ [%- IF ui_tab == 0 %]
+ [% PROCESS "reconciliation/tabs/overview.html" %]
+ [%- END %]</div>
+ <div id="automatic" style="height:calc(100% - 60px);overflow: auto;">
+ [%- IF ui_tab == 1 %]
+ [% PROCESS "reconciliation/tabs/automatic.html" %]
+ [%- END %] </div>
</div>
</form>
success: function(new_data) {
$('#overview').html('');
$('#automatic').html(new_data['html']);
- $('#set_cleared').html('');
}
});
}
success: function(new_data) {
$('#overview').html(new_data['html']);
$('#automatic').html('');
- $('#set_cleared').html('');
}
});
}
+$.cookie('jquery_ui_tab_reconc_tabs', [% ui_tab %] );
+
//-->
</script>
-