noalyss
Version-9
include
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
*/
9
if
( ! defined (
'ALLOWED'
) ) die(
'Appel direct ne sont pas permis'
);
10
$bs
=
new
Anc_Balance_Simple
(
$cn
);
11
$bs
->get_request();
12
echo
'<form method="get">'
;
13
echo
$bs
->display_form();
14
echo
'</form>'
;
15
if
(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
?>
$cn
$cn
Definition:
ajax_anc_accounting.php:30
$bs
$bs
Definition:
anc_balance_simple.inc.php:10
$result
$result
Definition:
anc_great_ledger.inc.php:26
$_GET
$_GET['qcode']
Definition:
category_followup.inc.php:53
Anc_Balance_Simple
manage the simple balance for CA, inherit from balance_ca
Definition:
anc_balance_simple.class.php:33