@@ -184,7 +184,7 @@ |
||
| 184 | 184 | . $idempresa |
| 185 | 185 | . ' AND tipocomprobante = ' |
| 186 | 186 | . $dataBase->var2str($tipocomprobante) |
| 187 | - . ' AND estado = ' . $dataBase->var2str(true) |
|
| 187 | + . ' AND estado = '.$dataBase->var2str(true) |
|
| 188 | 188 | . ';'; |
| 189 | 189 | $data = $dataBase->select($sql); |
| 190 | 190 | if (in_array($data, [null, ''], true)) { |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | |
| 65 | 65 | public function saveInsert() |
| 66 | 66 | { |
| 67 | - return function () { |
|
| 67 | + return function() { |
|
| 68 | 68 | $ncfrango = new NCFRango(); |
| 69 | 69 | $cliente = new Cliente(); |
| 70 | 70 | $appSettins = new AppSettings; |
@@ -94,11 +94,11 @@ discard block |
||
| 94 | 94 | public function all() |
| 95 | 95 | { |
| 96 | 96 | //parent::all(); |
| 97 | - return function () { |
|
| 97 | + return function() { |
|
| 98 | 98 | $this->facturarectnumero2 = ''; |
| 99 | 99 | if ($this->idfacturarect !== '') { |
| 100 | 100 | $facturaRectificativa = $this->get($this->idfacturarect); |
| 101 | - $this->loadFromData(['facturarectnumero2' => 'SI' ]); |
|
| 101 | + $this->loadFromData(['facturarectnumero2' => 'SI']); |
|
| 102 | 102 | $this->facturarectnumero2 = $facturaRectificativa->numero2; |
| 103 | 103 | } else { |
| 104 | 104 | $this->loadFromData(['facturarectnumero2' => 'NO HAY']); |