mirror of
https://github.com/devcode-it/openstamanager.git
synced 2024-12-27 00:06:14 +01:00
23 lines
374 B
PHP
23 lines
374 B
PHP
<?php
|
|
|
|
switch ($resource) {
|
|
// Elenco sedi per l'applicazione
|
|
case 'stati_intervento':
|
|
$table = 'in_statiintervento';
|
|
|
|
$select = [
|
|
'*',
|
|
'id' => 'idstatointervento',
|
|
];
|
|
|
|
if (empty($where['deleted_at'])) {
|
|
$where['deleted_at'] = null;
|
|
}
|
|
|
|
break;
|
|
}
|
|
|
|
return [
|
|
'stati_intervento',
|
|
];
|