Passed
Push — master ( 7babde...fc1853 )
by Joe Nilson
02:15
created
model/core/residentes_facturacion_programada_edificaciones.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -140,9 +140,9 @@
 block discarded – undo
140 140
         $lista = array();
141 141
         if($data) {
142 142
             foreach($data as $d) {
143
-                 $item = new residentes_facturacion_programada_edificaciones($d);
144
-                 $this->infoAdicional($item);
145
-                 $lista[] = $item;
143
+                    $item = new residentes_facturacion_programada_edificaciones($d);
144
+                    $this->infoAdicional($item);
145
+                    $lista[] = $item;
146 146
             }
147 147
             return $lista;
148 148
         }
Please login to merge, or discard this patch.
controller/imprimir_factura_residentes.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@
 block discarded – undo
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' => ''
Please login to merge, or discard this patch.
controller/facturacion_residentes.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -311,7 +311,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
controller/edificaciones.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -444,9 +444,9 @@
 block discarded – undo
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');
Please login to merge, or discard this patch.
model/core/residentes_edificaciones.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -192,8 +192,8 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
controller/imprimir_factura_residentes_detallada.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@
 block discarded – undo
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' => ''
Please login to merge, or discard this patch.