1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-17 03:51:06 +01:00

Creazione sessione intervento da API

This commit is contained in:
Thomas Zilio 2018-08-31 14:43:14 +02:00
parent 1d4ea8adb3
commit 28a2513110

View File

@ -38,6 +38,11 @@ switch ($resource) {
$response['id'] = $dbo->lastInsertedID();
$response['codice'] = $codice;
$start = date('Y-m-d H:i:s');
$end = date('Y-m-d H:i:s', strtotime('+1 hour', strtotime($start)));
add_tecnico($response['id'], $user['idanagrafica'], $start, $end);
}
break;