|
|
@@ -79,12 +79,12 @@
|
|
|
<div class="table-scrollable">
|
|
|
<table class="table table-hover table-striped table-bordered" id="payment_methods_table">
|
|
|
<thead>
|
|
|
- <tr class="uppercase">
|
|
|
+ <tr>
|
|
|
<th> # </th>
|
|
|
<th> Método de pago </th>
|
|
|
- <th> Total de ingresos </th>
|
|
|
- <th> Total de egresos </th>
|
|
|
- <th>Total</th>
|
|
|
+ <th> Total de ingresos (ventas) </th>
|
|
|
+ <th> Total de egresos (gastos) </th>
|
|
|
+ <th>Total (ventas y efectivo inicial)</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
@@ -266,8 +266,9 @@
|
|
|
function addCashOut() {
|
|
|
if ( !$('#submit_cash_out').hasClass('disabled') ) {
|
|
|
if ($('#cash_out_received_by_id').val()) {
|
|
|
- $('#submit_cash_out').prop('disabled', true);
|
|
|
$('#cash_out_form').submit();
|
|
|
+ $('#submit_cash_out').prop('disabled', true);
|
|
|
+ $('#submit_cash_out').addClass('disabled');
|
|
|
} else {
|
|
|
toastr["error"]("Seleccione quien va a recibir el corte de caja.");
|
|
|
}
|