1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-28 16:50:06 +01:00
openstamanager/modules/preventivi/ajax.php
2020-02-14 17:02:16 +01:00

11 lines
297 B
PHP
Executable File

<?php
include_once __DIR__.'/../../core.php';
if (get('op') == 'get_costo_orario') {
$idtipointervento = get('idtipointervento');
$rs = $dbo->fetchArray('SELECT costo_orario FROM in_tipiintervento WHERE idtipointervento='.prepare($idtipointervento));
echo $rs[0]['costo_orario'];
}