mirror of
https://github.com/devcode-it/openstamanager.git
synced 2024-12-25 06:55:05 +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',
|
|
];
|