diff --git a/include/class/acc_ledger_search.class.php b/include/class/acc_ledger_search.class.php index 3dc0524f0..2a25e2fbc 100644 --- a/include/class/acc_ledger_search.class.php +++ b/include/class/acc_ledger_search.class.php @@ -47,9 +47,9 @@ class Acc_Ledger_Search * - 1 means all the ledger of this type * - 0 No have the "Tous les journaux" availables * @param $div is the div (for reconciliation) - * @param type $p_type - * @param type $p_all - * @param string $p_div name of the HTML DIV + * @param string $p_type ACH, VEN , ODS or FIN + * @param int $p_all 1 means all the ledger + * @param string $p_div prefix of the DOM ID * * @todo the parameter $all_type_ledger is useless : ALL means all the ledgers, VEN all the ledger of sales... */ diff --git a/include/template/ledger_search.php b/include/template/ledger_search.php index 6a8010f03..7aca0e803 100644 --- a/include/template/ledger_search.php +++ b/include/template/ledger_search.php @@ -1,10 +1,31 @@ +
| @@ -112,19 +133,19 @@ echo $f_accounting->input(); ?> | |
| - + div."tag_option"); $iselect->value=array( array("value"=>0,"label"=>_("Toutes les étiquettes")), array("value"=>1,"label"=>_("Au moins une étiquette")) ); - + $iselect->set_value($http->request($this->div."tag_option","number",0)); - echo $iselect->input(); - + echo $iselect->input(); + ?> div); @@ -132,7 +153,7 @@ echo $f_accounting->input(); ?> | - request($this->div."tag","string",0); if (is_array($aTag) ) { $nb_tag=count($aTag); @@ -142,9 +163,9 @@ echo $f_accounting->input(); ?> } } ?> - + |