1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-06-05 22:09:38 +02:00

Aggiornamento API invio/ricezione FE

This commit is contained in:
Fabio Lovato
2019-01-22 08:59:11 +01:00
parent 858a3060bf
commit c29847d43f
5 changed files with 34 additions and 18 deletions

View File

@@ -28,16 +28,13 @@ switch (filter('op')) {
$result = Interaction::sendXML($id_record);
// Aggiornamento dello stato
/*
if ($result) {
database()->update('co_documenti', [
'codice_stato_fe' => 'WAIT',
], ['id' => $id_record]);
}
*/
echo json_encode([
'sent' => $result,
]);
echo json_encode($result);
break;
}