Cosmetic : add button close for filter, dialog box search operation, TVA
This commit is contained in:
parent
50b2607941
commit
5d70f21dfa
4 changed files with 7 additions and 3 deletions
|
|
@ -568,8 +568,8 @@ EOF;
|
|||
$r.='</tr>';
|
||||
}
|
||||
$r.='</TABLE>';
|
||||
$r.=HtmlInput::button_close("tva_select");
|
||||
$r.='</div>';
|
||||
|
||||
$html = escape_xml($r);
|
||||
|
||||
header('Content-type: text/xml; charset=UTF-8');
|
||||
|
|
|
|||
|
|
@ -173,6 +173,7 @@ if ($op=="display_search_filter")
|
|||
|
||||
printf("</li>");
|
||||
}
|
||||
echo HtmlInput::button_close("boxfilter".$p_div);
|
||||
return;
|
||||
}
|
||||
//-----------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -687,7 +687,7 @@ class Acc_Ledger_Search
|
|||
$r='';
|
||||
$r.='<div id="search_form" style="display:none">';
|
||||
$r.=HtmlInput::title_box(_('Recherche'), "search_form", "hide", "", "n");
|
||||
$r.='<FORM METHOD="GET">';
|
||||
$r.='<FORM METHOD="GET" >';
|
||||
$r.=$this->search_form();
|
||||
|
||||
$r.=HtmlInput::submit('search', _('Rechercher'));
|
||||
|
|
@ -714,6 +714,7 @@ class Acc_Ledger_Search
|
|||
|
||||
|
||||
|
||||
$r.=HtmlInput::button_hide("search_form");
|
||||
$r.='</FORM>';
|
||||
|
||||
$r.='</div>';
|
||||
|
|
|
|||
|
|
@ -87,7 +87,9 @@ class Acc_Ledger_Test extends TestCase
|
|||
put_global(array(["key"=>"ac","value"=>"phpunit"]));
|
||||
$ledger=new Acc_Ledger_Search('ALL');
|
||||
$r=$ledger->display_search_form();
|
||||
$this->assertEquals(9546,strlen($r),"Size of the html string for display_search_form");
|
||||
\Noalyss\Facility::save_file(__DIR__."/file", "acc_ledger_search-test_display_search_form.html", $r);
|
||||
$this->assertEquals(9665,strlen($r),"Size of the html string for display_search_form see "
|
||||
. __DIR__."/file/acc_ledger_search-test_display_search_form.html ");
|
||||
}
|
||||
/**
|
||||
* @covers ::build_search_filter
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue