ICARD: improve, action in javascript after cleaning the input of the qcode
This commit is contained in:
parent
1b2101c557
commit
ac87e863ad
8 changed files with 27 additions and 7 deletions
|
|
@ -1113,7 +1113,6 @@ class Acc_Ledger extends jrn_def_sql
|
|||
|
||||
$quick_code->value=(isset(${'qc_'.$i}))?${'qc_'.$i}:"";
|
||||
$quick_code->readonly=$p_readonly;
|
||||
|
||||
$label='';
|
||||
if ($quick_code->value!='')
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1492,6 +1492,7 @@ class Acc_Ledger_Purchase extends Acc_Ledger
|
|||
$W1->name="e_march".$i;
|
||||
$W1->value=$march;
|
||||
$W1->table=0;
|
||||
$W1->setAfter_clean("compute_all_ledger()");
|
||||
$W1->set_dblclick("fill_ipopcard(this);");
|
||||
$W1->set_attribute('ipopup','ipopcard');
|
||||
|
||||
|
|
|
|||
|
|
@ -1623,6 +1623,7 @@ EOF;
|
|||
$W1->name = "e_march" . $i;
|
||||
$W1->value = $march;
|
||||
$W1->table = 0;
|
||||
$W1->setAfter_clean("compute_all_ledger()");
|
||||
$W1->set_attribute('typecard', 'cred');
|
||||
$W1->set_dblclick("fill_ipopcard(this);");
|
||||
$W1->set_attribute('ipopup', 'ipopcard');
|
||||
|
|
|
|||
|
|
@ -196,7 +196,7 @@ class Acc_Ledger_Search
|
|||
$f_qcode->javascript=sprintf(' onchange="fill_data_onchange(%s);" ',
|
||||
$f_qcode->name);
|
||||
$f_qcode->value=$http->request($this->div.'qcode',"string","");
|
||||
|
||||
$f_qcode->setAfter_clean("");
|
||||
/* $f_txt_qcode=new IText('qcode');
|
||||
$f_txt_qcode->value=(isset($_REQUEST['qcode']))?$_REQUEST['qcode']:'';
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue