fetchArray($query); $costi_intervento = get_costi_intervento($idintervento); $id_cliente = $records[0]['idanagrafica']; $id_sede = $records[0]['idsede']; // Sostituzioni specifiche // Imposta numerointervento-data-numerocommessa su intestazione $custom = [ 'intervento_numero' => $records[0]['codice'], 'intervento_data' => Translator::dateToLocale($records[0]['data_richiesta']), 'commessa_numero' => !empty($records[0]['numero_preventivo']) ? $records[0]['codice'] : ' ', ]; $mostra_prezzi = get_var("Visualizza i costi sulle stampe degli interventi");