eucd.info mise a jour des pages de don
This commit is contained in:
parent
1c0a41313c
commit
9bf0ff5200
@ -34,7 +34,7 @@ require("../../don.class.php");
|
|||||||
|
|
||||||
$conf = new Conf();
|
$conf = new Conf();
|
||||||
|
|
||||||
$db = new Db();
|
$db = new DoliDb();
|
||||||
|
|
||||||
$retbplc = new Retourbplc($db);
|
$retbplc = new Retourbplc($db);
|
||||||
|
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
<!-- $Id$ -->
|
<!-- $Id$ -->
|
||||||
<title>EUCD.INFO - Dépenses</title>
|
<title>EUCD.INFO - Dépenses</title>
|
||||||
<script language="php">
|
<script language="php">
|
||||||
require("../../conf/conf.class.php3");
|
require("../../conf/conf.class.php");
|
||||||
require("../../lib/mysql.lib.php3");
|
require("../../lib/mysql.lib.php3");
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@ -23,10 +23,10 @@
|
|||||||
|
|
||||||
|
|
||||||
$conf = new Conf();
|
$conf = new Conf();
|
||||||
$db = new Db();
|
$db = new DoliDb();
|
||||||
$a = setlocale("LC_TIME", "FRENCH");
|
$a = setlocale(LC_TIME, "FRENCH");
|
||||||
$sql = "SELECT ".$db->pdate("f.datef")." as datef, s.nom, f.total, f.note, f.paye";
|
$sql = "SELECT ".$db->pdate("f.datef")." as datef, s.nom, f.total, f.note, f.paye";
|
||||||
$sql .= " FROM llx_facture_fourn as f, societe as s";
|
$sql .= " FROM llx_facture_fourn as f, llx_societe as s";
|
||||||
$sql .= " WHERE f.fk_soc = s.idp ORDER BY f.datef DESC";
|
$sql .= " WHERE f.fk_soc = s.idp ORDER BY f.datef DESC";
|
||||||
|
|
||||||
if ( $db->query( $sql) )
|
if ( $db->query( $sql) )
|
||||||
@ -57,7 +57,7 @@ if ( $db->query( $sql) )
|
|||||||
print "<TD>".strftime("%d %B %Y",$objp->datef)."</td>\n";
|
print "<TD>".strftime("%d %B %Y",$objp->datef)."</td>\n";
|
||||||
print '<TD align="right">'.number_format($objp->total,2,'.','').'<br>euros';
|
print '<TD align="right">'.number_format($objp->total,2,'.','').'<br>euros';
|
||||||
|
|
||||||
if ($obj->paye)
|
if ($objp->paye == 1)
|
||||||
{
|
{
|
||||||
print "<br>payé";
|
print "<br>payé";
|
||||||
$total_paye += $objp->total;
|
$total_paye += $objp->total;
|
||||||
|
|||||||
@ -38,7 +38,7 @@
|
|||||||
<tr id="date">
|
<tr id="date">
|
||||||
|
|
||||||
<script language="php">
|
<script language="php">
|
||||||
$a = setlocale("LC_TIME", "FRENCH");
|
$a = setlocale(LC_TIME, "fr_FR");
|
||||||
print strftime("%d %B %Y", time());
|
print strftime("%d %B %Y", time());
|
||||||
</script>
|
</script>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
<!-- $Id$ -->
|
<!-- $Id$ -->
|
||||||
<title>Dons FSF France Projet EUCD.INFO</title>
|
<title>Dons FSF France Projet EUCD.INFO</title>
|
||||||
<script language="php">
|
<script language="php">
|
||||||
require("../../conf/conf.class.php3");
|
require("../../conf/conf.class.php");
|
||||||
require("../../lib/mysql.lib.php3");
|
require("../../lib/mysql.lib.php3");
|
||||||
require("../../don.class.php");
|
require("../../don.class.php");
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@ -22,8 +22,8 @@
|
|||||||
|
|
||||||
|
|
||||||
$conf = new Conf();
|
$conf = new Conf();
|
||||||
$db = new Db();
|
$db = new DoliDb();
|
||||||
$a = setlocale("LC_TIME", "FRENCH");
|
$a = setlocale(LC_TIME, "FRENCH");
|
||||||
$sql = "SELECT ".$db->pdate("d.datedon")." as datedon, d.nom, d.prenom, d.amount, d.public, d.societe";
|
$sql = "SELECT ".$db->pdate("d.datedon")." as datedon, d.nom, d.prenom, d.amount, d.public, d.societe";
|
||||||
$sql .= " FROM llx_don as d";
|
$sql .= " FROM llx_don as d";
|
||||||
$sql .= " WHERE d.fk_don_projet = 1 AND d.fk_statut in (2, 3) ORDER BY d.datedon DESC";
|
$sql .= " WHERE d.fk_don_projet = 1 AND d.fk_statut in (2, 3) ORDER BY d.datedon DESC";
|
||||||
|
|||||||
@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
<tr id="date">
|
<tr id="date">
|
||||||
<script language="php">
|
<script language="php">
|
||||||
$a = setlocale("LC_TIME", "FRENCH");
|
$a = setlocale(LC_TIME, "FRENCH");
|
||||||
print strftime("%d %B %Y", time());
|
print strftime("%d %B %Y", time());
|
||||||
</script>
|
</script>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
<!-- $Id$ -->
|
<!-- $Id$ -->
|
||||||
<title>Dons FSF France Projet EUCD.INFO</title>
|
<title>Dons FSF France Projet EUCD.INFO</title>
|
||||||
<script language="php">
|
<script language="php">
|
||||||
require("../../conf/conf.class.php3");
|
require("../../conf/conf.class.php");
|
||||||
require("../../lib/mysql.lib.php3");
|
require("../../lib/mysql.lib.php3");
|
||||||
require("../../don.class.php");
|
require("../../don.class.php");
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@ -29,7 +29,7 @@ $conf = new Conf();
|
|||||||
if ($conf->don->enabled)
|
if ($conf->don->enabled)
|
||||||
{
|
{
|
||||||
|
|
||||||
$db = new Db();
|
$db = new DoliDb();
|
||||||
$don = new Don($db);
|
$don = new Don($db);
|
||||||
|
|
||||||
$don->projetid = $HTTP_POST_VARS["projetid"];
|
$don->projetid = $HTTP_POST_VARS["projetid"];
|
||||||
@ -72,7 +72,7 @@ if ($conf->don->enabled)
|
|||||||
|
|
||||||
if ($ref_commande)
|
if ($ref_commande)
|
||||||
{
|
{
|
||||||
$a = setlocale("LC_TIME", "FRENCH");
|
$a = setlocale(LC_TIME, "FRENCH");
|
||||||
$date_limite = strftime("%A %d %B %Y",time() + (3 * 7 * 24 * 3600));
|
$date_limite = strftime("%A %d %B %Y",time() + (3 * 7 * 24 * 3600));
|
||||||
|
|
||||||
include ("mail.php");
|
include ("mail.php");
|
||||||
|
|||||||
@ -9,7 +9,7 @@ Pr
|
|||||||
Nom: $don->nom
|
Nom: $don->nom
|
||||||
Montant: $don->amount
|
Montant: $don->amount
|
||||||
|
|
||||||
http://dolibarr.fsffrance.org/compta/dons/
|
https://fsffrance.org/dolibarr/compta/dons/
|
||||||
|
|
||||||
";
|
";
|
||||||
?>
|
?>
|
||||||
|
|||||||
@ -28,7 +28,7 @@
|
|||||||
<a href="http://eucd.info/images.fr.php">Images</a><br />
|
<a href="http://eucd.info/images.fr.php">Images</a><br />
|
||||||
<br />
|
<br />
|
||||||
<br />
|
<br />
|
||||||
<a href="http://dons.eucd.info/">Dons</a><br />
|
<a href="https://dons.eucd.info/">Dons</a><br />
|
||||||
<script language="php">
|
<script language="php">
|
||||||
if (file_exists ("therm.php"))
|
if (file_exists ("therm.php"))
|
||||||
{
|
{
|
||||||
|
|||||||
@ -62,7 +62,7 @@ if (file_exists ($thermlib))
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
$conf = new Conf();
|
$conf = new Conf();
|
||||||
$dbt = new Db();
|
$dbt = new DoliDb();
|
||||||
$dontherm = new Don($dbt);
|
$dontherm = new Don($dbt);
|
||||||
|
|
||||||
$actualValue = $dontherm->sum_actual();
|
$actualValue = $dontherm->sum_actual();
|
||||||
|
|||||||
@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
<tr id="date">
|
<tr id="date">
|
||||||
<script language="php">
|
<script language="php">
|
||||||
$a = setlocale("LC_TIME", "FRENCH");
|
$a = setlocale(LC_TIME, "FRENCH");
|
||||||
print strftime("%d %B %Y", time());
|
print strftime("%d %B %Y", time());
|
||||||
</script>
|
</script>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user