2017-09-21 10:01:07 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
include_once __DIR__.'/../../core.php';
|
|
|
|
|
2019-07-15 11:16:12 +02:00
|
|
|
use Modules\Preventivi\Preventivo;
|
2017-09-21 10:01:07 +02:00
|
|
|
|
2019-07-15 11:16:12 +02:00
|
|
|
$documento = Preventivo::find($id_record);
|
|
|
|
$records = $documento->interventi;
|
2017-09-21 10:01:07 +02:00
|
|
|
|
2019-07-15 11:16:12 +02:00
|
|
|
$id_cliente = $documento['idanagrafica'];
|
|
|
|
$id_sede = $documento['idsede'];
|
|
|
|
|
|
|
|
$pricing = $options['pricing'];
|