1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-01-03 03:19:17 +01:00

Limitata la selezione dello stato in creazione intervento da documento

This commit is contained in:
Pek5892 2023-08-04 15:19:21 +02:00
parent 6f3140bba5
commit 73d33ead3a
2 changed files with 2 additions and 2 deletions

View File

@ -125,7 +125,7 @@ if (!empty($options['create_document'])) {
elseif ($final_module['name'] == 'Interventi') {
echo '
<div class="col-md-6">
{[ "type": "select", "label": "'.tr('Stato').'", "name": "id_stato_intervento", "required": 1, "values": "query=SELECT idstatointervento AS id, descrizione, colore AS _bgcolor_ FROM in_statiintervento WHERE deleted_at IS NULL ORDER BY descrizione" ]}
{[ "type": "select", "label": "'.tr('Stato').'", "name": "id_stato_intervento", "required": 1, "values": "query=SELECT idstatointervento AS id, descrizione, colore AS _bgcolor_ FROM in_statiintervento WHERE deleted_at IS NULL AND is_completato = 0 ORDER BY descrizione" ]}
</div>
<div class="col-md-6">