1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-24 22:42:33 +01:00
openstamanager/modules/preventivi/ajax.php

11 lines
297 B
PHP
Raw Normal View History

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