|
|
@@ -59,7 +59,7 @@
|
|
|
</div>
|
|
|
<div class="portlet-body ">
|
|
|
<div id="error_explanation"></div>
|
|
|
- <%= hidden_field_tag 'title_for_print', "Reporte de mínimos y máximos por punto de venta" %>
|
|
|
+ <%= hidden_field_tag 'title_for_print' %>
|
|
|
<!-- lista de productos -->
|
|
|
<table class="table table-hover table-bordered table-striped tableadvancedprintable" id="minmax_table">
|
|
|
<thead>
|
|
|
@@ -106,10 +106,12 @@
|
|
|
</div>
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
- $(document).ready(function(){
|
|
|
+ $(document).on("page:change", function() {
|
|
|
$('#total_prods').html(accounting.formatMoney($("#total").val()) + ' MXN');
|
|
|
+ $('#title_for_print').val('Reporte de mínimos y máximos por punto de venta');
|
|
|
});
|
|
|
|
|
|
+
|
|
|
function applyFilter() {
|
|
|
$("#minmax_form").submit();
|
|
|
}
|