Doc
This commit is contained in:
parent
3d7199a8b5
commit
e5be7dbcda
@ -15,10 +15,13 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*
|
*/
|
||||||
* $Id$
|
|
||||||
* $Source$
|
/**
|
||||||
*
|
* \file htdocs/compta/bank/bilan.php
|
||||||
|
* \ingroup banque
|
||||||
|
* \brief Page de bilan
|
||||||
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("./pre.inc.php");
|
require("./pre.inc.php");
|
||||||
@ -48,13 +51,13 @@ print '<br>';
|
|||||||
|
|
||||||
print '<table class="noborder" width="100%" cellspacing="0" cellpadding="2">';
|
print '<table class="noborder" width="100%" cellspacing="0" cellpadding="2">';
|
||||||
print "<tr class=\"liste_titre\">";
|
print "<tr class=\"liste_titre\">";
|
||||||
echo '<td colspan="2">Résumé</td>';
|
echo '<td colspan="2">R<EFBFBD>sum<EFBFBD></td>';
|
||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
|
|
||||||
$var=!$var;
|
$var=!$var;
|
||||||
$sql = "SELECT sum(amount) as amount FROM ".MAIN_DB_PREFIX."paiement";
|
$sql = "SELECT sum(amount) as amount FROM ".MAIN_DB_PREFIX."paiement";
|
||||||
$paiem = valeur($sql);
|
$paiem = valeur($sql);
|
||||||
print "<tr $bc[$var]><td>Somme des paiements (associés à une facture)</td><td align=\"right\">".price($paiem)."</td></tr>";
|
print "<tr $bc[$var]><td>Somme des paiements (associes a une facture)</td><td align=\"right\">".price($paiem)."</td></tr>";
|
||||||
|
|
||||||
$var=!$var;
|
$var=!$var;
|
||||||
$sql = "SELECT sum(amount) as amount FROM ".MAIN_DB_PREFIX."bank WHERE amount > 0";
|
$sql = "SELECT sum(amount) as amount FROM ".MAIN_DB_PREFIX."bank WHERE amount > 0";
|
||||||
|
|||||||
@ -15,14 +15,25 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*
|
*/
|
||||||
* $Id$
|
|
||||||
|
/**
|
||||||
|
* \file htdocs/compta/bank/bplc.php
|
||||||
|
* \ingroup banque
|
||||||
|
* \brief Page of BPLC transactions
|
||||||
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("./pre.inc.php");
|
require("./pre.inc.php");
|
||||||
require_once(DOL_DOCUMENT_ROOT."/lib/bank.lib.php");
|
require_once(DOL_DOCUMENT_ROOT."/lib/bank.lib.php");
|
||||||
|
|
||||||
if (!$user->rights->banque->lire) accessforbidden();
|
// Security check
|
||||||
|
restrictedArea($user,'banque');
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* View
|
||||||
|
*/
|
||||||
|
|
||||||
llxHeader();
|
llxHeader();
|
||||||
|
|
||||||
@ -36,10 +47,10 @@ print_barre_liste("Transactions BPLC", $page, "bplc.php");
|
|||||||
|
|
||||||
print "<table class=\"noborder\" width=\"100%\" cellspacing=\"0\" cellpadding=\"2\">";
|
print "<table class=\"noborder\" width=\"100%\" cellspacing=\"0\" cellpadding=\"2\">";
|
||||||
print "<tr class=\"liste_titre\">";
|
print "<tr class=\"liste_titre\">";
|
||||||
print "<td>Réf. commande</td>";
|
print "<td>R<EFBFBD>f. commande</td>";
|
||||||
print "<td>ip client</td><td>Num. transaction</td><td>Date</td><td>Heure</td>";
|
print "<td>ip client</td><td>Num. transaction</td><td>Date</td><td>Heure</td>";
|
||||||
print "<td>Num autorisation</td>";
|
print "<td>Num autorisation</td>";
|
||||||
print "<td>clé acceptation</td>";
|
print "<td>cl<EFBFBD> acceptation</td>";
|
||||||
print "<td>code retour</td>";
|
print "<td>code retour</td>";
|
||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
|
|
||||||
|
|||||||
@ -19,11 +19,11 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\file htdocs/compta/bank/budget.php
|
* \file htdocs/compta/bank/budget.php
|
||||||
\ingroup banque
|
* \ingroup banque
|
||||||
\brief Page de budget
|
* \brief Page de budget
|
||||||
\version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("./pre.inc.php");
|
require("./pre.inc.php");
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user