location button for searching card

This commit is contained in:
Dany De Bontridder 2011-11-30 22:59:50 +00:00
parent 01748b6931
commit 523bb4eba0
6 changed files with 6 additions and 6 deletions

View file

@ -267,7 +267,7 @@ function ShowActionList($cn,$p_base)
$w->table=0;
$list=$cn->make_list("select fd_id from fiche_def where frd_id in (4,8,9,14,15,16,25)");
$w->extra=$list;
echo _('Fiche').' :'.$w->search().$w->input().'<br/>';
echo _('Fiche').' :'.$w->input().$w->search().'<br/>';
printf (_('Titre ou référence').': <input class="input_text" type="text" name="query" value="%s">',
$a);
echo '<br/>';

View file

@ -1676,7 +1676,7 @@ class Acc_Ledger extends jrn_def_sql
$deb->javascript=' onChange="checkTotalDirect()"';
$ret.='<tr>';
$ret.='<td>'.$quick_code->search().$quick_code->input().'</td>';
$ret.='<td>'.$quick_code->input().$quick_code->search().'</td>';
$ret.='<td>'.$poste->input().
'<script> document.getElementById(\'poste'.$i.'\').onblur=function(){ if (trim(this.value) !=\'\') {document.getElementById(\'qc_'.$i.'\').value="";}}</script>'.
'</td>';

View file

@ -80,7 +80,7 @@ $w_poste->set_dblclick("fill_ipopcard(this);");
$w_poste->value=(isset($_REQUEST['f_id']))?$_REQUEST['f_id']:"";
print td($w_poste->search().$w_poste->input());
print td($w_poste->input().$w_poste->search());
echo td($span->input('f_id_label'));
print '</TR>';
print '<TR>';

View file

@ -36,8 +36,8 @@
</tr>
<? foreach ($array as $item) {
echo '<tr>';
echo '<td>'.$item['bt'].'</td>';
echo $item['quick_code'];
echo '<td>'.$item['bt'].'</td>';
?>
<td style="border-bottom: 1px dotted grey; width: 75%;"><?=$item['denom'] ?></td>
<?

View file

@ -29,7 +29,7 @@
<? foreach ($array as $item) {
echo '<tr>';
echo td($item['search'].$item['qcode']);
echo td($item['qcode'].$item['search']);
echo td($item['span']);
echo td($item['comment']);
echo td(nbm($item['amount']));

View file

@ -40,7 +40,7 @@
<?=_('Et utilisant la fiche (quick code)')?>
</td>
<td>
<?php echo $f_qcode->search();echo $f_qcode->input(); ?>
<?php echo $f_qcode->input(); echo $f_qcode->search(); ?>
</td>
</tr>
<tr>