1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-20 04:06:34 +01:00
openstamanager/modules/stati_contratto/api/retrieve.php

23 lines
348 B
PHP

<?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',
];