Bugfix resource api checklist + gestione titolo checklist
This commit is contained in:
parent
b842526b20
commit
97bf431138
|
@ -128,7 +128,8 @@ class Checklists extends AppResource
|
||||||
zz_checks.note,
|
zz_checks.note,
|
||||||
IF(zz_checks.id_parent IS NULL, 0, zz_checks.id_parent) AS id_parent,
|
IF(zz_checks.id_parent IS NULL, 0, zz_checks.id_parent) AS id_parent,
|
||||||
zz_checks.checked_by,
|
zz_checks.checked_by,
|
||||||
zz_checks.order AS ordine
|
zz_checks.order AS ordine,
|
||||||
|
zz_checks.is_titolo
|
||||||
FROM zz_checks
|
FROM zz_checks
|
||||||
WHERE zz_checks.id = '.prepare($id);
|
WHERE zz_checks.id = '.prepare($id);
|
||||||
|
|
||||||
|
|
|
@ -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, [
|
$records = database()->fetchArray($query, [
|
||||||
':period_start' => $start,
|
':period_start' => $start,
|
||||||
':period_end' => $end,
|
':period_end' => $end,
|
||||||
|
|
Loading…
Reference in New Issue