mirror of
https://github.com/devcode-it/openstamanager.git
synced 2024-12-12 08:26:20 +01:00
23 lines
352 B
PHP
23 lines
352 B
PHP
<?php
|
|
|
|
switch ($resource) {
|
|
// Elenco stati preventivi
|
|
case 'stati_preventivo':
|
|
$table = 'co_statipreventivi';
|
|
|
|
$select = [
|
|
'*',
|
|
'id' => 'id',
|
|
];
|
|
|
|
if (empty($where['deleted_at'])) {
|
|
$where['deleted_at'] = null;
|
|
}
|
|
|
|
break;
|
|
}
|
|
|
|
return [
|
|
'stati_preventivo',
|
|
];
|