noalyss
Version-9
Toggle main menu visibility
Main Page
Related Pages
Packages
Package List
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Variables
$
a
s
u
v
Files
File List
Globals
All
$
(
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
p
r
s
t
u
w
Variables
$
(
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
Typedefs
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Pages
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