mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
corregido bug de servicios por defecto
This commit is contained in:
@ -91,6 +91,6 @@ class PapelFormatoModel extends \App\Models\GoBaseModel
|
|||||||
->table($this->table . " t1")
|
->table($this->table . " t1")
|
||||||
->select(
|
->select(
|
||||||
"t1.id AS id, CONCAT(t1.ancho, ' x ', t1.alto) AS tamanio"
|
"t1.id AS id, CONCAT(t1.ancho, ' x ', t1.alto) AS tamanio"
|
||||||
)->get()->getResultObject();
|
)->where('is_deleted', 0)->get()->getResultObject();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -664,8 +664,8 @@ async function get_tarifas_enc(tipo=null, tarifa_id = -1){
|
|||||||
|
|
||||||
if(tipo != null){
|
if(tipo != null){
|
||||||
datos['tipo'] = tipo;
|
datos['tipo'] = tipo;
|
||||||
datos['tipo_impresion_id'] = parseInt($('#tipo_impresion').val())
|
datos['tipo_impresion_id'] = parseInt($('#tipo_impresion_id').val())
|
||||||
}
|
}
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "POST",
|
type: "POST",
|
||||||
@ -953,7 +953,7 @@ async function get_tarifas_manipulado(tipo=null, tarifa_id = -1){
|
|||||||
if(tipo != null){
|
if(tipo != null){
|
||||||
datos['tipo'] = tipo;
|
datos['tipo'] = tipo;
|
||||||
datos['solapas'] = $('#solapas').is(':checked')?1:0;
|
datos['solapas'] = $('#solapas').is(':checked')?1:0;
|
||||||
datos['tipo_impresion_id'] = parseInt($('#tipo_impresion').val());
|
datos['tipo_impresion_id'] = parseInt($('#tipo_impresion_id').val());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user