openstamanager/templates/preventivi/init.php

12 lines
304 B
PHP
Raw Normal View History

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