2017-09-21 10:01:07 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
include_once __DIR__.'/../../core.php';
|
|
|
|
|
|
|
|
$module_name = 'Preventivi';
|
|
|
|
|
|
|
|
// Lettura info fattura
|
2017-09-21 11:02:31 +02:00
|
|
|
$records = $dbo->fetchArray('SELECT *, data_bozza AS data FROM co_preventivi WHERE id='.prepare($idpreventivo));
|
2017-09-21 10:01:07 +02:00
|
|
|
|
|
|
|
$id_cliente = $records[0]['idanagrafica'];
|
|
|
|
$id_sede = $records[0]['idsede'];
|