7 echo
'<div class="content">';
9 echo
'<form method="GET">';
11 echo HtmlInput::submit(
"viewsearch",_(
"Recherche"));
12 echo HtmlInput::extension();
13 echo HtmlInput::hidden(
'sa',
$_REQUEST[
'sa']);
14 echo HtmlInput::hidden(
'ac',
$_REQUEST[
'ac']);
20 if (isset($_POST[
'chg_poste']))
27 if (isset($_POST[
'chg_card']))
34 if (isset($_POST[
'chg_ledger']))
41 if (isset($_POST[
'chg_card_account']))
49 if ( isset ($_GET[
'viewsearch']))
52 if (count ($_GET) == 0)
60 $sql.=
' order by jr_date_order asc,substring(jr_pj_number,\'[0-9]+$\')::numeric asc ';
64 echo HtmlInput::button(
'accounting_bt',
'Changer poste comptable',
'onclick="$(\'div_poste\').show();$(\'div_card\').hide();$(\'div_ledger\').hide();$(\'div_card_account\').hide();"');
66 echo HtmlInput::button(
'card_bt',
'Changer fiche',
'onclick="$(\'div_poste\').hide();$(\'div_card\').show();$(\'div_ledger\').hide();$(\'div_card_account\').hide();"');
68 echo HtmlInput::button(
'ledger_bt',
'Déplacement dans Journal',
'onclick="$(\'div_poste\').hide();$(\'div_card\').hide();$(\'div_ledger\').show();$(\'div_card_account\').hide();"');
69 echo HtmlInput::button(
'card_acc_bt',
'Poste > fiche',
'onclick="$(\'div_poste\').hide();$(\'div_card\').hide();;$(\'div_card_account\').show();$(\'div_ledger\').hide()"');
71 require_once(
'template/search_view.php');
if(isset($_POST['remove'])) $array