GlisWeb framework
_attivita.print.php
Vai alla documentazione di questo file.
1 <?php
2 
12  // gruppi di controlli
13  $ct['page']['contents']['metros'] = array(
14  'general' => array(
15  'label' => NULL
16  )
17  );
18 
19  // bottoni
20  $ct['page']['contents']['metro']['general'] = array(
21  0 => array(
22  'url' => '/_mod/_1100.attivita/_src/_api/_print/_ore.busta.xls.php?a=' . date('Y',strtotime('-1 month')) . '&m=' . date('n',strtotime('-1 month')),
23  'icon' => NULL,
24  'fa' => 'fa-table',
25  'title' => 'XLS ore mese scorso',
26  'text' => 'esportazione per consulente del lavoro'
27  ),
28  1 => array(
29  'url' => '/_mod/_1100.attivita/_src/_api/_print/_ore.busta.xls.php?a=' . date('Y') . '&m=' . date('n'),
30  'icon' => NULL,
31  'fa' => 'fa-table',
32  'title' => 'XLS ore mese corrente',
33  'text' => 'esportazione per consulente del lavoro'
34  ),
35  2 => array(
36  'modal' => array( 'id' => 'report', 'include' => 'bin/attivita.print.report.html' ),
37  'icon' => NULL,
38  'fa' => 'fa-table',
39  'title' => 'report XLS attività cliente',
40  'text' => 'verranno chiesti il cliente e il periodo'
41  )
42  );
43 
44  // dati per i moduli
45  $ct['etc']['dal'] = date( 'Y-m-d', strtotime( 'monday last week' ) );
46  $ct['etc']['al'] = date( 'Y-m-d', strtotime( 'sunday last week' ) );
47  $ct['etc']['id_cliente'] = mysqlQuery( $cf['mysql']['connection'], 'SELECT id, __label__ FROM anagrafica_view WHERE se_cliente = 1' );
48 
49 ?>
$ct['page']['contents']['metros']
mysqlQuery( $c, $q, $p=false, &$e=array())
$cf['ricerca']['template']
Definition: _030.common.php:7