joenilson /
fsRepublicaDominicana
| 1 | <?php |
||
| 2 | /** |
||
| 3 | * Copyright (C) 2020 Joe Nilson <joenilson at gmail dot com> |
||
| 4 | * |
||
| 5 | * fsRepublicaDominicana is free software: you can redistribute it and/or modify |
||
| 6 | * it under the terms of the GNU Lesser General Public License as published by |
||
| 7 | * the Free Software Foundation, either version 3 of the License, or |
||
| 8 | * (at your option) any later version. |
||
| 9 | * |
||
| 10 | * fsRepublicaDominicana is distributed in the hope that it will be useful, |
||
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
||
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||
| 13 | * GNU Lesser General Public License for more details. |
||
| 14 | * |
||
| 15 | * You should have received a copy of the GNU Lesser General Public License |
||
| 16 | * along with fsRepublicaDominicana. If not, see <http://www.gnu.org/licenses/>. |
||
| 17 | */ |
||
| 18 | |||
| 19 | namespace FacturaScripts\Plugins\fsRepublicaDominicana\Model; |
||
| 20 | |||
| 21 | use FacturaScripts\Core\Template\ModelClass; |
||
|
0 ignored issues
–
show
|
|||
| 22 | use FacturaScripts\Core\Template\ModelTrait; |
||
|
0 ignored issues
–
show
The type
FacturaScripts\Core\Template\ModelTrait was not found. Maybe you did not declare it correctly or list all dependencies?
The issue could also be caused by a filter entry in the build configuration.
If the path has been excluded in your configuration, e.g. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths Loading history...
|
|||
| 23 | use FacturaScripts\Core\Tools; |
||
| 24 | |||
| 25 | |||
| 26 | /** |
||
| 27 | * Description of NCFVentas |
||
| 28 | * |
||
| 29 | * @author "Joe Nilson <joenilson at gmail dot com>" |
||
| 30 | */ |
||
| 31 | class NCFVentas extends ModelClass |
||
| 32 | { |
||
| 33 | use ModelTrait; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Movement Class can be sum or rest suma|resta |
||
| 37 | * @var string |
||
| 38 | */ |
||
| 39 | public $clasemovimiento; |
||
| 40 | /** |
||
| 41 | * If the NCF Type is about purchase movement then must to have an X as value |
||
| 42 | * @var string |
||
| 43 | */ |
||
| 44 | public $compras; |
||
| 45 | /** |
||
| 46 | * If the NCF Type is about regular sales or purchase movements then must to have an X as value |
||
| 47 | * @var string |
||
| 48 | */ |
||
| 49 | public $contribuyente; |
||
| 50 | /** |
||
| 51 | * The description of the NCF Type |
||
| 52 | * @var string |
||
| 53 | */ |
||
| 54 | public $descripcion; |
||
| 55 | /** |
||
| 56 | * The status of the record |
||
| 57 | * @var bool |
||
| 58 | */ |
||
| 59 | public $estado; |
||
| 60 | /** |
||
| 61 | * If the NCF Type is about sales movement then must to have an X as value |
||
| 62 | * @var string |
||
| 63 | */ |
||
| 64 | public $ventas; |
||
| 65 | /** |
||
| 66 | * This is the key value that contains the two code type of document |
||
| 67 | * @var string |
||
| 68 | */ |
||
| 69 | public $tipocomprobante; |
||
| 70 | |||
| 71 | /** |
||
| 72 | * @return string |
||
| 73 | */ |
||
| 74 | public static function primaryColumn(): string |
||
| 75 | { |
||
| 76 | return 'id'; |
||
| 77 | } |
||
| 78 | |||
| 79 | /** |
||
| 80 | * @return string |
||
| 81 | */ |
||
| 82 | public static function tableName(): string |
||
| 83 | { |
||
| 84 | return 'rd_ncfventas'; |
||
| 85 | } |
||
| 86 | |||
| 87 | /** |
||
| 88 | * @return string |
||
| 89 | */ |
||
| 90 | public function install(): string |
||
| 91 | { |
||
| 92 | parent::install(); |
||
| 93 | $sql = ""; |
||
| 94 | return ($sql); |
||
| 95 | } |
||
| 96 | } |
||
| 97 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths