noalyss
Version-9
include
anc_balance_double.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 crossed balance between 2 plan
7
*@see Anc_Balance_Double
8
*/
9
if
( ! defined (
'ALLOWED'
) ) die(
'Appel direct ne sont pas permis'
);
10
$bc
=
new
Anc_Balance_Double
(
$cn
);
11
$bc
->get_request();
12
echo
'<form method="get">'
;
13
echo
$bc
->display_form();
14
echo
'</form>'
;
15
if
(isset(
$_GET
[
'result'
]))
16
{
17
try
{
18
$result
=
$bc
->display_html();
19
if
(
$bc
->has_data > 0) {
20
echo
$bc
->show_button();
21
echo
$result
;
22
}
else
23
{
24
echo
'<p class="notice">'
;
25
echo _(
'Aucune donnée trouvée'
);
26
echo
'</p>'
;
27
}
28
29
}
catch
(Exception
$e
){
30
alert
(
$e
->getMessage());
31
}
32
}
33
34
?>
alert
alert($p_msg, $buffer=false)
alert in javascript
Definition:
ac_common.php:738
$cn
$cn
Definition:
ajax_anc_accounting.php:30
$bc
$bc
Definition:
anc_balance_double.inc.php:10
$result
$result
Definition:
anc_great_ledger.inc.php:26
$_GET
$_GET['qcode']
Definition:
category_followup.inc.php:53
Anc_Balance_Double
Print the crossed balance between 2 plan.
Definition:
anc_balance_double.class.php:34
$e
$e
Definition:
result_cat_card_summary.php:26