File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<?php
22/**
33 * This file is part of Servicios plugin for FacturaScripts
4- * Copyright (C) 2020- 2026 Carlos Garcia Gomez <carlos@facturascripts.com>
4+ * Copyright (C) 2026 Carlos Garcia Gomez <carlos@facturascripts.com>
55 *
66 * This program is free software: you can redistribute it and/or modify
77 * it under the terms of the GNU Lesser General Public License as
1919
2020namespace FacturaScripts \Plugins \Servicios \Controller ;
2121
22+ use DateTime ;
2223use FacturaScripts \Core \Base \Controller ;
2324
2425/**
@@ -159,7 +160,7 @@ protected function loadOpenServicesLastYear(): void
159160 protected function loadServicesByMonth (): void
160161 {
161162 // genera los 12 meses completos con valor 0 para no dejar huecos en el gráfico
162- $ now = new \ DateTime ();
163+ $ now = new DateTime ();
163164 for ($ i = 11 ; $ i >= 0 ; $ i --) {
164165 $ date = clone $ now ;
165166 $ date ->modify ("- $ i months " );
You can’t perform that action at this time.
0 commit comments