Bugfix resource api checklist + gestione titolo checklist

This commit is contained in:
Matteo 2023-09-11 16:24:01 +02:00
parent b842526b20
commit 97bf431138
2 changed files with 3 additions and 2 deletions

View File

@ -128,7 +128,8 @@ class Checklists extends AppResource
zz_checks.note,
IF(zz_checks.id_parent IS NULL, 0, zz_checks.id_parent) AS id_parent,
zz_checks.checked_by,
zz_checks.order AS ordine
zz_checks.order AS ordine,
zz_checks.is_titolo
FROM zz_checks
WHERE zz_checks.id = '.prepare($id);

View File

@ -160,7 +160,7 @@ class Interventi extends AppResource
)';
}
if (setting('Mostra promemoria attività ai soli Tecnici assegnati') == 1) {
if (setting('Visualizza solo promemoria assegnati') == 1) {
$records = database()->fetchArray($query, [
':period_start' => $start,
':period_end' => $end,