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();
|
||||
|
||||
$db = new Db();
|
||||
$db = new DoliDb();
|
||||
|
||||
$retbplc = new Retourbplc($db);
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
<!-- $Id$ -->
|
||||
<title>EUCD.INFO - Dépenses</title>
|
||||
<script language="php">
|
||||
require("../../conf/conf.class.php3");
|
||||
require("../../conf/conf.class.php");
|
||||
require("../../lib/mysql.lib.php3");
|
||||
</script>
|
||||
</head>
|
||||
|
||||
@ -23,10 +23,10 @@
|
||||
|
||||
|
||||
$conf = new Conf();
|
||||
$db = new Db();
|
||||
$a = setlocale("LC_TIME", "FRENCH");
|
||||
$db = new DoliDb();
|
||||
$a = setlocale(LC_TIME, "FRENCH");
|
||||
$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";
|
||||
|
||||
if ( $db->query( $sql) )
|
||||
@ -57,7 +57,7 @@ if ( $db->query( $sql) )
|
||||
print "<TD>".strftime("%d %B %Y",$objp->datef)."</td>\n";
|
||||
print '<TD align="right">'.number_format($objp->total,2,'.','').'<br>euros';
|
||||
|
||||
if ($obj->paye)
|
||||
if ($objp->paye == 1)
|
||||
{
|
||||
print "<br>payé";
|
||||
$total_paye += $objp->total;
|
||||
|
||||
@ -38,7 +38,7 @@
|
||||
<tr id="date">
|
||||
|
||||
<script language="php">
|
||||
$a = setlocale("LC_TIME", "FRENCH");
|
||||
$a = setlocale(LC_TIME, "fr_FR");
|
||||
print strftime("%d %B %Y", time());
|
||||
</script>
|
||||
</tr>
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
<!-- $Id$ -->
|
||||
<title>Dons FSF France Projet EUCD.INFO</title>
|
||||
<script language="php">
|
||||
require("../../conf/conf.class.php3");
|
||||
require("../../conf/conf.class.php");
|
||||
require("../../lib/mysql.lib.php3");
|
||||
require("../../don.class.php");
|
||||
</script>
|
||||
|
||||
@ -22,8 +22,8 @@
|
||||
|
||||
|
||||
$conf = new Conf();
|
||||
$db = new Db();
|
||||
$a = setlocale("LC_TIME", "FRENCH");
|
||||
$db = new DoliDb();
|
||||
$a = setlocale(LC_TIME, "FRENCH");
|
||||
$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 .= " 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">
|
||||
<script language="php">
|
||||
$a = setlocale("LC_TIME", "FRENCH");
|
||||
$a = setlocale(LC_TIME, "FRENCH");
|
||||
print strftime("%d %B %Y", time());
|
||||
</script>
|
||||
</tr>
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
<!-- $Id$ -->
|
||||
<title>Dons FSF France Projet EUCD.INFO</title>
|
||||
<script language="php">
|
||||
require("../../conf/conf.class.php3");
|
||||
require("../../conf/conf.class.php");
|
||||
require("../../lib/mysql.lib.php3");
|
||||
require("../../don.class.php");
|
||||
</script>
|
||||
|
||||
@ -29,7 +29,7 @@ $conf = new Conf();
|
||||
if ($conf->don->enabled)
|
||||
{
|
||||
|
||||
$db = new Db();
|
||||
$db = new DoliDb();
|
||||
$don = new Don($db);
|
||||
|
||||
$don->projetid = $HTTP_POST_VARS["projetid"];
|
||||
@ -72,7 +72,7 @@ if ($conf->don->enabled)
|
||||
|
||||
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));
|
||||
|
||||
include ("mail.php");
|
||||
|
||||
@ -9,7 +9,7 @@ Pr
|
||||
Nom: $don->nom
|
||||
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 />
|
||||
<br />
|
||||
<br />
|
||||
<a href="http://dons.eucd.info/">Dons</a><br />
|
||||
<a href="https://dons.eucd.info/">Dons</a><br />
|
||||
<script language="php">
|
||||
if (file_exists ("therm.php"))
|
||||
{
|
||||
|
||||
@ -62,7 +62,7 @@ if (file_exists ($thermlib))
|
||||
*/
|
||||
|
||||
$conf = new Conf();
|
||||
$dbt = new Db();
|
||||
$dbt = new DoliDb();
|
||||
$dontherm = new Don($dbt);
|
||||
|
||||
$actualValue = $dontherm->sum_actual();
|
||||
|
||||
@ -29,7 +29,7 @@
|
||||
|
||||
<tr id="date">
|
||||
<script language="php">
|
||||
$a = setlocale("LC_TIME", "FRENCH");
|
||||
$a = setlocale(LC_TIME, "FRENCH");
|
||||
print strftime("%d %B %Y", time());
|
||||
</script>
|
||||
</tr>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user