$msg = '<h2 class="info2">' . _("Période ") . $_GET['date_start'] . _(" au ") . $_GET['date_end'] . '</h2>'; } /* compute the sql stmt */ list($sql, $where) = $Ledger->build_search_sql($p_array); $max_line = $cn->count_sql($sql); $step = $_SESSION['g_pagesize']; $page = isset($_GET['offset']) ? $_GET['page'] : 1; $offset = isset($_GET['offset']) ? $_GET['offset'] : 0; $bar = navigation_bar($offset, $max_line, $step, $page); echo $msg; echo '<form method="GET" id="fpaida" class="print">'; echo HtmlInput::hidden("ac", $_REQUEST['ac']); echo HtmlInput::hidden('ledger_type', $ledger_type); echo dossier::hidden(); echo $bar; list($count, $html) = $Ledger->list_operation($sql, $offset, $ask_pay); echo $html; echo $bar; $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 $r; if ($ask_pay) { echo '<p>' . HtmlInput::submit('paid', _('Mise à jour paiement')) . IButton::select_checkbox('fpaida') . IButton::unselect_checkbox('fpaida') . '</p>'; } echo '</form>'; /* * Export to csv