1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-12 16:38:19 +01:00
openstamanager/modules/stati_contratto/api/retrieve.php

23 lines
348 B
PHP
Raw Normal View History

<?php
switch ($resource) {
// Elenco stati contratti
case 'stati_contratto':
$table = 'co_staticontratti';
$select = [
'*',
'id' => 'id',
];
if (empty($where['deleted_at'])) {
$where['deleted_at'] = null;
}
break;
}
return [
'stati_contratto',
];