1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-27 08:12:47 +01:00
openstamanager/modules/interventi/api/v1/Firma.php
2019-07-19 16:51:52 +02:00

22 lines
503 B
PHP

<?php
namespace Modules\Interventi\API\v1;
use API\Interfaces\UpdateInterface;
use API\Resource;
class Firma extends Resource implements UpdateInterface
{
public function update($request)
{
$database = database();
$data = $request['data'];
$database->update('in_interventi', [
'firma_file' => $data['firma_file'],
'firma_data' => $data['firma_data'],
'firma_nome' => $data['firma_nome'],
], ['id' => $data['id']]);
}
}