32require_once NOALYSS_INCLUDE.
'/constant.php';
89 if (
$pa->count() == 0 )
91 echo
'<div class="content">';
92 echo
'<h2 class="error">'._(
'Aucun plan défini').
'</h2>';
115 $r=dossier::hidden();
118 $r.=HtmlInput::request_to_hidden(array(
'ac'));
122 $plan_id->value=$this->
db->make_array(
"select pa_id, pa_name from plan_analytique order by pa_name");
125 $javascript=
"search_ca(".dossier::id().
",'from_poste','pa_id')";
127 $javascript=
"search_ca(".dossier::id().
",'to_poste','pa_id')";
131 $r.=HtmlInput::request_to_hidden(array(
'ac'));
159 <?php echo
_(
"Plan Analytique ")?>
163 echo $plan_id->input();
171<
span style=
"padding:5px;margin:5px;display:block;">
177 $r.=
_(
"Entre l'activité ").$from_poste->input();
179 $r.=
_(
" et l'activité ").$to_poste->input();
195 if ( $this->
from !=
"" )
197 $sql.=
"$and a.oa_date >= to_date('".$this->from.
"','DD.MM.YYYY')";
199 if ( $this->
to !=
"" )
201 $sql.=
" $and a.oa_date <= to_date('".$this->to.
"','DD.MM.YYYY')";
span($p_string, $p_extra='')
tr($p_string, $p_extra='')
td($p_string='', $p_extra='')
surround the string with td
global $g_user
if no group available , then stop
catch(Exception $exc) if(! $g_user->can_write_action($ag_id)) $r
$anc_grandlivre from_poste
_("actif, passif,charge,...")
Concerns the Analytic plan (table plan_analytique)
this class is the mother class for the CA printing
get_request()
complete the object with the data in $_REQUEST
set_sql_filter()
Set the filter (account_date)
display_form($p_hidden="")
Compute the form to display.
HtmlInput for card of analytic accountancy.
Html Input : Input a date format dd.mm.yyyy The property title should be set to indicate what it is e...
Html Input , create a tag <SELECT> ... </SELECT> if readonly == true then display the label correspon...
static icon_magnifier($id, $p_javascript, $p_style="")
Display a icon with a magnify glass.
static infobulle($p_comment)
Display a info in a bubble, text is in message_javascript.