Report & excel frontend & admin
This commit is contained in:
43
administrator/forms/filter_reportfirme.xml
Normal file
43
administrator/forms/filter_reportfirme.xml
Normal file
@ -0,0 +1,43 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<!-- Gruppo FILTRI -->
|
||||
<fields name="filter">
|
||||
<field name="search" type="text"
|
||||
label="JSEARCH_FILTER"
|
||||
description="JSEARCH_FILTER_DESC"
|
||||
hint="Ricerca per utente/email/titolo" />
|
||||
<field name="circolare_id" type="sql"
|
||||
label="Circolare"
|
||||
query="SELECT id AS value, title AS text FROM #__circolari ORDER BY title ASC"
|
||||
key_field="value" value_field="text"
|
||||
default="0" >
|
||||
<option value="0">- Tutte -</option>
|
||||
</field>
|
||||
<field name="scelta" type="sql"
|
||||
label="Scelta"
|
||||
query="SELECT DISTINCT COALESCE(f.firma_label, b.label) AS value
|
||||
FROM #__circolari_firme f
|
||||
LEFT JOIN #__circolari_firmetipi_bottoni b ON b.id = f.firmatipo_bottone_id
|
||||
WHERE COALESCE(f.firma_label, b.label) IS NOT NULL
|
||||
ORDER BY value ASC"
|
||||
key_field="value" value_field="value"
|
||||
default="">
|
||||
<option value="">- Tutte -</option>
|
||||
</field>
|
||||
<field name="date_from" type="calendar" label="Dalla data" format="%Y-%m-%d"/>
|
||||
<field name="date_to" type="calendar" label="Alla data" format="%Y-%m-%d"/>
|
||||
</fields>
|
||||
|
||||
<!-- Gruppo LIST (ordinamento/paginazione) -->
|
||||
<fields name="list">
|
||||
<field name="fullordering" type="list" label="JGLOBAL_SORT_BY" default="f.data_firma DESC">
|
||||
<option value="f.data_firma DESC">Data ↓</option>
|
||||
<option value="f.data_firma ASC">Data ↑</option>
|
||||
<option value="u.name ASC">Nome ↑</option>
|
||||
<option value="u.name DESC">Nome ↓</option>
|
||||
<option value="c.title ASC">Circolare ↑</option>
|
||||
<option value="c.title DESC">Circolare ↓</option>
|
||||
</field>
|
||||
<field name="limit" type="limitbox" default="20"/>
|
||||
</fields>
|
||||
</form>
|
||||
Reference in New Issue
Block a user