@@ -126,7 +126,7 @@ |
||
126 | 126 | 'page_to' => __CLASS__, |
127 | 127 | 'type' => 'head', |
128 | 128 | 'text' => '<script src="' . |
129 | - FS_PATH . |
|
129 | + FS_PATH . |
|
130 | 130 | 'plugins/residentes/view/js/jsPDF/plugins/split_text_to_size.min.js" ' . |
131 | 131 | 'type="text/javascript"></script>', |
132 | 132 | 'params' => '' |
@@ -311,7 +311,7 @@ |
||
311 | 311 | $listaReferencias = $this->filter_request_array('referencia'); |
312 | 312 | foreach ($listaReferencias as $referencia) { |
313 | 313 | $sql = "SELECT count(referencia) as facturado from lineasfacturascli where referencia = '".$referencia."' ". |
314 | - " AND idfactura IN (select idfactura from facturascli WHERE codcliente = '".$codcliente."');"; |
|
314 | + " AND idfactura IN (select idfactura from facturascli WHERE codcliente = '".$codcliente."');"; |
|
315 | 315 | $data = $this->db->select($sql); |
316 | 316 | if (!$data[0]['facturado']) { |
317 | 317 | $listaResidentes[$codcliente][] = $referencia; |
@@ -444,9 +444,9 @@ |
||
444 | 444 | echo json_encode($hijos, JSON_THROW_ON_ERROR); |
445 | 445 | } |
446 | 446 | |
447 | - /** |
|
448 | - * funcion para guardar los codigos de las edificaciones base Manzana, Zona, Grupo, Edificio, etc |
|
449 | - */ |
|
447 | + /** |
|
448 | + * funcion para guardar los codigos de las edificaciones base Manzana, Zona, Grupo, Edificio, etc |
|
449 | + */ |
|
450 | 450 | public function agregar($objeto) |
451 | 451 | { |
452 | 452 | $inicio = \filter_input(INPUT_POST, 'inicio'); |
@@ -192,8 +192,8 @@ |
||
192 | 192 | public function all_ocupados() |
193 | 193 | { |
194 | 194 | $sql = "SELECT re.*, c.nombre FROM ".$this->table_name." as re, clientes as c ". |
195 | - " WHERE ocupado = TRUE and re.codcliente != '' and re.codcliente = c.codcliente ". |
|
196 | - " ORDER BY re.codigo_interno, re.numero"; |
|
195 | + " WHERE ocupado = TRUE and re.codcliente != '' and re.codcliente = c.codcliente ". |
|
196 | + " ORDER BY re.codigo_interno, re.numero"; |
|
197 | 197 | $data = $this->db->select($sql); |
198 | 198 | return $this->listaInfo($data); |
199 | 199 | } |
@@ -126,7 +126,7 @@ |
||
126 | 126 | 'page_to' => __CLASS__, |
127 | 127 | 'type' => 'head', |
128 | 128 | 'text' => '<script src="' . |
129 | - FS_PATH . |
|
129 | + FS_PATH . |
|
130 | 130 | 'plugins/residentes/view/js/jsPDF/plugins/split_text_to_size.min.js" ' . |
131 | 131 | 'type="text/javascript"></script>', |
132 | 132 | 'params' => '' |
@@ -141,9 +141,9 @@ |
||
141 | 141 | $lista = array(); |
142 | 142 | if ($data) { |
143 | 143 | foreach ($data as $d) { |
144 | - $item = new residentes_facturacion_programada_edificaciones($d); |
|
145 | - $this->infoAdicional($item); |
|
146 | - $lista[] = $item; |
|
144 | + $item = new residentes_facturacion_programada_edificaciones($d); |
|
145 | + $this->infoAdicional($item); |
|
146 | + $lista[] = $item; |
|
147 | 147 | } |
148 | 148 | return $lista; |
149 | 149 | } |
@@ -223,12 +223,12 @@ |
||
223 | 223 | $client = new Client('https://localhost:4010'); |
224 | 224 | |
225 | 225 | $testParams = [ |
226 | - 'thing' => 'stuff', |
|
227 | - 'foo' => [ |
|
226 | + 'thing' => 'stuff', |
|
227 | + 'foo' => [ |
|
228 | 228 | 'bar', |
229 | 229 | 'bat', |
230 | 230 | 'baz', |
231 | - ], |
|
231 | + ], |
|
232 | 232 | ]; |
233 | 233 | $result = $this->callMethod($client, 'buildUrl', [$testParams]); |
234 | 234 | $this->assertEquals($result, 'https://localhost:4010/?thing=stuff&foo=bar&foo=bat&foo=baz'); |