Go to the source code of this file.
Functions | |
ShowReportResult ($p_array) | |
Variables | |
$Form = new rapport($cn,$_POST['form_id']) | |
$submit = new widget() | |
$hid = new widget("hidden") | |
$t = ($_POST['from_periode']==$_POST['to_periode'])?"":" -> ".getPeriodeName($cn,$_POST['to_periode'],'p_end') | |
exit | |
$ret | |
$w | table = 1 |
$w | label = "Choississez le rapport" |
$filter_year = " where p_exercice='".$User->getExercice()."'" | |
$periode_start = make_array($cn,"select p_id,to_char(p_start,'DD-MM-YYYY') from parm_periode $filter_year order by p_id") | |
$periode_end = make_array($cn,"select p_id,to_char(p_end,'DD-MM-YYYY') from parm_periode $filter_year order by p_id") | |
print</TR > | $aStep |
some variable are already defined ($cn, $User ...)
Definition in file impress_rapport.php.
|
Definition at line 167 of file impress_rapport.php. References $i. 00167 { 00168 00169 echo '<TABLE class="result">'; 00170 echo "<TR>". 00171 "<TH> Description </TH>". 00172 "<TH> montant </TH>". 00173 "</TR>"; 00174 $i=0; 00175 foreach ( $p_array as $op ) { 00176 $i++; 00177 $class= ( $i % 2 == 0 )?' class="odd"':""; 00178 00179 echo "<TR $class>". 00180 "<TD>".$op['desc']."</TD>". 00181 "<TD align=\"right\">".sprintf("% 8.2f",$op['montant'])."</TD>". 00182 "</TR>"; 00183 } 00184 echo "</table>"; 00185 00186 }
|
|
Initial value: Definition at line 151 of file impress_rapport.php. |
|
Definition at line 142 of file impress_rapport.php. |
|
Definition at line 36 of file impress_rapport.php. |
|
Definition at line 60 of file impress_rapport.php. |
|
Definition at line 148 of file impress_rapport.php. |
|
Definition at line 144 of file impress_rapport.php. |
|
Initial value: make_array($cn,"select fr_id,fr_label from formdef order by fr_label") Definition at line 122 of file impress_rapport.php. |
|
Definition at line 59 of file impress_rapport.php. |
|
Definition at line 62 of file impress_rapport.php. Referenced by Cpdf::ARC4(), Cpdf::ARC4_init(), Cezpdf::ezTable(), Document_modele::form(), fiche::getAttribut(), fiche_def::GetAttribut(), fiche::GetByDef(), fiche::GetByType(), fiche_def_ref::Input(), RecordInvoice(), SortAttributeById(), and Customer::VatListing(). |
|
Definition at line 114 of file impress_rapport.php. |
|
Definition at line 137 of file impress_rapport.php. |
|
Definition at line 139 of file impress_rapport.php. |
|
Definition at line 136 of file impress_rapport.php. |