openstamanager/templates/preventivi_cons/init.php

12 lines
293 B
PHP
Raw Normal View History

<?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($idpreventivo));
$id_cliente = $records[0]['idanagrafica'];
$id_sede = $records[0]['idsede'];