@@ -21,13 +21,13 @@ |
||
| 21 | 21 | class Cliente |
| 22 | 22 | { |
| 23 | 23 | /** |
| 24 | - * Payment type based on DGII table |
|
| 25 | - * @var string |
|
| 26 | - */ |
|
| 24 | + * Payment type based on DGII table |
|
| 25 | + * @var string |
|
| 26 | + */ |
|
| 27 | 27 | public $ncftipopago; |
| 28 | 28 | /** |
| 29 | - * Type of NCF to generate to the customer |
|
| 30 | - * @var string |
|
| 31 | - */ |
|
| 29 | + * Type of NCF to generate to the customer |
|
| 30 | + * @var string |
|
| 31 | + */ |
|
| 32 | 32 | public $tipocomprobante; |
| 33 | 33 | } |
@@ -47,8 +47,8 @@ |
||
| 47 | 47 | |
| 48 | 48 | public function saveInsert() |
| 49 | 49 | { |
| 50 | - return function () { |
|
| 51 | - $ArrayTipoNCFCompras = ['11','12','16','17']; |
|
| 50 | + return function() { |
|
| 51 | + $ArrayTipoNCFCompras = ['11', '12', '16', '17']; |
|
| 52 | 52 | $ncfrango = new NCFRango(); |
| 53 | 53 | $cliente = new Proveedor(); |
| 54 | 54 | $appSettings = new AppSettings; |
@@ -96,7 +96,7 @@ |
||
| 96 | 96 | $item->codcliente = ''; |
| 97 | 97 | $cli = new Cliente(); |
| 98 | 98 | $where = [ |
| 99 | - new DataBaseWhere('cifnif' , $item->RGE_RUC) |
|
| 99 | + new DataBaseWhere('cifnif', $item->RGE_RUC) |
|
| 100 | 100 | ]; |
| 101 | 101 | $cli->all($where); |
| 102 | 102 | if ($cli[0] !== null) { |