Aggiunto assegnazione permessi diretti ad utente

This commit is contained in:
2023-06-20 08:27:20 +02:00
parent 30cf03bd7d
commit b82ec0adc0
7 changed files with 133 additions and 19 deletions

View File

@@ -66,4 +66,15 @@ class Progetti extends Model
]);
}
public static function riapriProgetto($progetto_id)
{
DB::table('progettis')
->where('id','=', $progetto_id)
->update([
'stato'=>'aperto',
'data_fine'=>null,
]);
}
}