29if ( ! defined (
'ALLOWED') ) die(
'Appel direct ne sont pas permis');
57 throw new \Exception(
"HO58 : ledger_type unknown");
61echo
'<div class="content">';
78 $period =
$g_user->get_periode();
79 $per =
new Periode(
$cn, $period);
96$step = $_SESSION[SESSION_KEY.
'g_pagesize'];
99 $page =
$http->get(
'page',
'string',1);
101}
catch (\Exception
$e)
110echo
$Ledger->button_propose_filter();
111echo HtmlInput::filter_table(
'history_operation_t',
'0,1,2,3,4,5,6,7', 1);
112echo
$Ledger->display_search_form();
114echo
'<form method="GET" id="fpaida" class="print">';
115echo HtmlInput::hidden(
"ac",
$http->request(
'ac'));
117echo dossier::hidden();
124$r = HtmlInput::get_to_hidden(array(
'search_opnb_jrn',
142if (isset(
$_GET[
'r_jrn']))
144 $a_rjn=
$http->get(
'r_jrn',
'array');
145 foreach ($a_rjn as $k => $v) {
146 if (
isNumber($v))
$r.=HtmlInput::hidden(
'r_jrn[' . $k .
']', $v);
151 $a_search_opr_jrn=
$http->get(
'search_opr_jrn');
152 foreach ($a_search_opr_jrn as $k => $v)
153 if (
isNumber($v))
$r.=HtmlInput::hidden(
'r_jrn[' . $k .
']', $v);
162 'date_start',
'date_end',
'desc',
'amount_min',
'amount_max',
'qcode',
'operation_filter',
163 'accounting',
'unpaid',
'gDossier',
'ledger_type',
164 'p_action',
'search_optag_option',
'p_currency_code',
'tva_id_search'));
165if (isset(
$_GET[
'search_opr_jrn']))
167 foreach ($a_search_opr_jrn as $k => $v)
171if (isset(
$_GET[
'r_jrn']))
173 foreach ($a_rjn as $k => $v)
179 foreach (
$aTag as $k=>$v) {
182 $r.=HtmlInput::hidden(
'tag[]',$v);
186echo
'<form action="export.php" method="get">';
191echo HtmlInput::hidden(
'qcode',trim(
$qcode));
198 var operation_payment=
new Operation_Payment(
"paid_operation_ck",
'<?=Dossier::id()?>',
'<?=$http->request("ac")?>');
199 operation_payment.activate_checkbox_range()
NoAccess($js=1)
Echo no access and stop.
global $g_user
if no group available , then stop
if(headers_sent() &&DEBUGNOALYSS > 0) $html
catch(Exception $exc) if(! $g_user->can_write_action($ag_id)) $r
foreach(array( 'l', 'gDossier') as $a) if(is_numeric($l)==false) $Ledger
_("actif, passif,charge,...")
for($e=0; $e< count($afiche); $e++) exit
js_include($p_string)
create the HTML for including of a javascript file if a file is included twice, the second time it wi...
catch(\Exception $e) $bar
navigation_bar($p_offset, $p_line, $p_size=0, $p_page=1, $p_javascript="")
Create a navigation_bar (pagesize)