0000817: CARD Recherche Fiche

Poste comptable appel historique + infobulle
This commit is contained in:
Dany De Bontridder 2013-05-11 20:29:36 +00:00
parent 9464a25be3
commit 4ae8ba9777
2 changed files with 10 additions and 9 deletions

View file

@ -53,6 +53,7 @@ content[22]="Donnez une partie du nom du dossier,du nom, du prénom ou du login
content[23]="Donnez une partie du nom du dossier ou de la description pour filtrer";
content[24]="Donnez une partie du poste comptable ou du libellé pour filtrer";
content[25]="Donnez une partie du libellé, la date, le montant ou le numéro d'opération pour filtrer, cela n'efface pas ce qui a déjà été sélectionné";
content[26]="Donnez une partie du quickcode, nom, description... pour filtrer";
function showBulle(p_ctl)
{

View file

@ -27,7 +27,7 @@
*
*/
$sql="
select distinct vw.f_id,vw_name,vw_first_name,vw_description,fd_label,quick_code,tva_num
select distinct vw.f_id,vw_name,vw_first_name,vw_description,fd_label,quick_code,tva_num,(select ad_value from fiche_Detail where f_id=pc.f_id and ad_id=5) as poste
from vw_fiche_attr as vw
join fiche_def as fd on (vw.fd_id=fd.fd_id)
left join fiche_detail as pc on (pc.f_id=vw.f_id)
@ -43,15 +43,15 @@ $max=(count($array)>MAX_CARD_SEARCH)?MAX_CARD_SEARCH:count($array);
<h2 class="notice">Résultat limité à <?=MAX_CARD_SEARCH?>, nombre de fiches trouvées : <?=count($array)?> </h2>
<? endif?>
Filtre .<?php echo HtmlInput::filter_table("tb_fiche", "0,1,2,3,4,5", 1); ?>
<table id="tb_fiche" class="sorttable">
Filtre <?php echo HtmlInput::infobulle(26);echo HtmlInput::filter_table("tb_fiche", "0,1,2,3,4,5", 1); ?>
<table id="tb_fiche" class="sorttable" style="width:100%">
<tr>
<th>
Quick Code
Quick Code <?php echo HtmlInput::infobulle(17); ?>
</th>
<th>
<th class=" sorttable_sorted">
Nom
<span id="sorttable_sortfwdind">&nbsp;&#x25BE;</span>
</th>
<th>
Categorie
@ -91,8 +91,8 @@ Filtre .<?php echo HtmlInput::filter_table("tb_fiche", "0,1,2,3,4,5", 1); ?>
<?=h($array[$i]['tva_num'])?>
</td>
<td>
<?=h($array[$i]['poste'])?>
<td style="text-align:right">
<?=HtmlInput::history_account($array[$i]['poste'],$array[$i]['poste'])?>
</td>
</tr>
@ -100,4 +100,4 @@ Filtre .<?php echo HtmlInput::filter_table("tb_fiche", "0,1,2,3,4,5", 1); ?>
<? endfor; ?>
</table>
<?=HtmlInput::button_close("boxsearch_card_div")?>
<?=HtmlInput::button_close("boxsearch_card_div")?>