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\Model\Base; |
||
0 ignored issues
–
show
|
|||
22 | |||
23 | /** |
||
24 | * Description of NCFVentas |
||
25 | * |
||
26 | * @author "Joe Nilson <joenilson at gmail dot com>" |
||
27 | */ |
||
28 | class NCFVentas extends Base\ModelClass |
||
0 ignored issues
–
show
The type
FacturaScripts\Core\Model\Base\ModelClass 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 ![]() |
|||
29 | { |
||
30 | use Base\ModelTrait; |
||
0 ignored issues
–
show
The type
FacturaScripts\Core\Model\Base\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 ![]() |
|||
31 | |||
32 | /** |
||
33 | * Movement Class can be sum or rest suma|resta |
||
34 | * @var string |
||
35 | */ |
||
36 | public $clasemovimiento; |
||
37 | /** |
||
38 | * If the NCF Type is about purchase movement then must to have an X as value |
||
39 | * @var string |
||
40 | */ |
||
41 | public $compras; |
||
42 | /** |
||
43 | * If the NCF Type is about regular sales or purchase movements then must to have an X as value |
||
44 | * @var string |
||
45 | */ |
||
46 | public $contribuyente; |
||
47 | /** |
||
48 | * The description of the NCF Type |
||
49 | * @var string |
||
50 | */ |
||
51 | public $descripcion; |
||
52 | /** |
||
53 | * The status of the record |
||
54 | * @var bool |
||
55 | */ |
||
56 | public $estado; |
||
57 | /** |
||
58 | * If the NCF Type is about sales movement then must to have an X as value |
||
59 | * @var string |
||
60 | */ |
||
61 | public $ventas; |
||
62 | /** |
||
63 | * This is the key value that contains the two code type of document |
||
64 | * @var string |
||
65 | */ |
||
66 | public $tipocomprobante; |
||
67 | |||
68 | /** |
||
69 | * @return string |
||
70 | */ |
||
71 | public static function primaryColumn(): string |
||
72 | { |
||
73 | return 'id'; |
||
74 | } |
||
75 | |||
76 | /** |
||
77 | * @return string |
||
78 | */ |
||
79 | public static function tableName(): string |
||
80 | { |
||
81 | return 'rd_ncfventas'; |
||
82 | } |
||
83 | |||
84 | /** |
||
85 | * @return string |
||
86 | */ |
||
87 | public function install(): string |
||
88 | { |
||
89 | parent::install(); |
||
90 | $sql = ""; |
||
91 | return ($sql); |
||
92 | } |
||
93 | } |
||
94 |
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