noalyss Version-9
anc_balance_simple.inc.php
Go to the documentation of this file.
1<?php
2//This file is part of NOALYSS and is under GPL
3//see licence.txt
4/**
5 *@file
6 *@brief Print the balance of 1 plan
7 * @see Anc_Balance_Simple
8 */
9if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
11$bs->get_request();
12echo '<form method="get">';
13echo $bs->display_form();
14echo '</form>';
15if (isset($_GET['result']))
16{
17 $result= $bs->display_html();
18 if ( $bs->has_data > 0)
19 {
20 echo $bs->show_button();
21 echo $result;
22 }
23 else
24 {
25 echo '<p class="notice">';
26 echo _('Aucune donnée trouvée');
27 echo '</p>';
28 }
29}
30?>
$_GET['qcode']
manage the simple balance for CA, inherit from balance_ca