task #0001697: Extension usage des étiquettes , tag on operation + export CSV + filter
This commit is contained in:
parent
656ab45372
commit
085efd0efa
27 changed files with 857 additions and 100 deletions
|
|
@ -175,17 +175,28 @@ echo '</form>';
|
|||
*/
|
||||
$r = HtmlInput::get_to_hidden(array('l', 'date_paid_start','date_paid_end',
|
||||
'date_start', 'date_end', 'desc', 'amount_min', 'amount_max', 'qcode','operation_filter',
|
||||
'accounting', 'unpaid', 'gDossier', 'ledger_type', 'p_action'));
|
||||
'accounting', 'unpaid', 'gDossier', 'ledger_type', 'p_action','search_optag_option'));
|
||||
if (isset($_GET['search_opr_jrn']))
|
||||
{
|
||||
foreach ($a_search_opr_jrn as $k => $v)
|
||||
if (isNumber($v)) $r.=HtmlInput::hidden('r_jrn[' . $k . ']', $v);
|
||||
}
|
||||
$r.=HtmlInput::hidden("tag_option",$http->request("search_optag_option","string",0));
|
||||
if (isset($_GET['r_jrn']))
|
||||
{
|
||||
foreach ($a_rjn as $k => $v)
|
||||
if (isNumber($v)) $r.=HtmlInput::hidden('r_jrn[' . $k . ']', $v);
|
||||
}
|
||||
if (isset($_GET['search_optag'])) {
|
||||
$http=new HttpInput();
|
||||
$aTag=$http->get("search_optag","array");
|
||||
foreach ($aTag as $k=>$v) {
|
||||
// Protect : check that $k and $v are numeric
|
||||
if (isNumber($k)&&isNumber($v)) {
|
||||
$r.=HtmlInput::hidden('tag[]',$v);
|
||||
}
|
||||
}
|
||||
}
|
||||
echo '<form action="export.php" method="get">';
|
||||
echo $r;
|
||||
echo HtmlInput::hidden('act', 'CSV:histo');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue