32require_once NOALYSS_INCLUDE.
'/constant.php';
87 if (
$pa->count() == 0 )
89 echo
'<div class="content">';
90 echo
'<h2 class="error">'._(
'Aucun plan défini').
'</h2>';
113 $r=dossier::hidden();
120 $plan_id->value=$this->
db->make_array(
"select pa_id, pa_name from plan_analytique order by pa_name");
123 $javascript=
"search_ca(".dossier::id().
",'from_poste','pa_id')";
125 $javascript=
"search_ca(".dossier::id().
",'to_poste','pa_id')";
157 <?php echo _(
"Plan Analytique ")?>
161 echo $plan_id->input();
169<
span style=
"padding:5px;margin:5px;display:block;">
175 $r.=_(
"Entre l'activité ").$from_poste->input();
177 $r.=_(
" et l'activité ").$to_poste->input();
193 if ( $this->
from !=
"" )
195 $sql.=
"$and a.oa_date >= to_date('".$this->from.
"','DD.MM.YYYY')";
197 if ( $this->
to !=
"" )
199 $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
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.