'.HtmlInput::submit('paid',_('Mise à jour paiement')).IButton::select_checkbox('fpaida').IButton::unselect_checkbox('fpaida').'
'; echo ''; + /* + * Export to csv + */ + $r=HtmlInput::get_to_hidden(array('l','date_start','date_end','desc','amount_min','amount_max','qcode','accounting','unpaid','gDossier','ledger_type','p_action')); + if (isset($_GET['r_jrn'])) { + foreach ($_GET['r_jrn'] as $k=>$v) + $r.=HtmlInput::hidden('r_jrn['.$k.']',$v); + } + echo ''; echo ''; exit(); diff --git a/include/compta_fin.inc.php b/include/compta_fin.inc.php index e5bf54ca7..b14fa9e0d 100644 --- a/include/compta_fin.inc.php +++ b/include/compta_fin.inc.php @@ -213,6 +213,19 @@ if ( $def == 2) list($count,$html)= $Ledger->list_operation($sql,$offset); echo $html; echo $bar; + /* + * Export to csv + */ + $r=HtmlInput::get_to_hidden(array('l','date_start','date_end','desc','amount_min','amount_max','qcode','accounting','unpaid','gDossier','ledger_type','p_action')); + if (isset($_GET['r_jrn'])) { + foreach ($_GET['r_jrn'] as $k=>$v) + $r.=HtmlInput::hidden('r_jrn['.$k.']',$v); + } + echo ''; echo ''; exit(); diff --git a/include/compta_ven.inc.php b/include/compta_ven.inc.php index da98622d7..288912091 100644 --- a/include/compta_ven.inc.php +++ b/include/compta_ven.inc.php @@ -343,6 +343,20 @@ if ( $def == 2 ) echo ''; + /* + * Export to csv + */ + $r=HtmlInput::get_to_hidden(array('l','date_start','date_end','desc','amount_min','amount_max','qcode','accounting','unpaid','gDossier','ledger_type','p_action')); + if (isset($_GET['r_jrn'])) { + foreach ($_GET['r_jrn'] as $k=>$v) + $r.=HtmlInput::hidden('r_jrn['.$k.']',$v); + } + echo ''; + echo ''; exit(); diff --git a/include/quick_writing.inc.php b/include/quick_writing.inc.php index 07f3dd443..9ec1cde99 100644 --- a/include/quick_writing.inc.php +++ b/include/quick_writing.inc.php @@ -191,6 +191,20 @@ if ($sa == 'l' && $id != -1) list($count,$html)= $Ledger->list_operation($sql,$offset,0); echo $html; echo $bar; + /* + * Export to csv + */ + $r=HtmlInput::get_to_hidden(array('l','date_start','date_end','desc','amount_min','amount_max','qcode','accounting','unpaid','gDossier','ledger_type','p_action')); + if (isset($_GET['r_jrn'])) { + foreach ($_GET['r_jrn'] as $k=>$v) + $r.=HtmlInput::hidden('r_jrn['.$k.']',$v); + } + echo ''; + echo ''; exit(); } diff --git a/include/user_action_gl.php b/include/user_action_gl.php index 3acda3af6..16d047959 100644 --- a/include/user_action_gl.php +++ b/include/user_action_gl.php @@ -31,12 +31,6 @@ $cn=new Database($gDossier); require_once('class_iposte.php'); require_once('class_ipopup.php'); -$search_card=new IPopup('ipop_card'); -$search_card->title=_('Recherche de fiche'); -$search_card->value=''; -echo $search_card->input(); - -echo IPoste::ipopup('ipop_account'); echo '