1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-30 09:40:44 +01:00
openstamanager/templates/preventivi_cons/init.php
2017-09-21 15:51:39 +02:00

12 lines
290 B
PHP

<?php
include_once __DIR__.'/../../core.php';
$module_name = 'Preventivi';
// Lettura info fattura
$records = $dbo->fetchArray('SELECT *, data_bozza AS data FROM co_preventivi WHERE id='.prepare($id_record));
$id_cliente = $records[0]['idanagrafica'];
$id_sede = $records[0]['idsede'];