Author: benj
Date: Thu Nov 24 16:22:40 2016
New Revision: 1763
URL: http://svn.gna.org/viewcvs/gdtc?rev=1763&view=rev
Log:
Minimal amount for subscription is 10 euros (closes: #24787)
Modified:
trunk/gdtc/cgi-bin/adhesion.cgi
Modified: trunk/gdtc/cgi-bin/adhesion.cgi
URL:
http://svn.gna.org/viewcvs/gdtc/trunk/gdtc/cgi-bin/adhesion.cgi?rev=1763&r1=1762&r2=1763&view=diff
==============================================================================
--- trunk/gdtc/cgi-bin/adhesion.cgi (original)
+++ trunk/gdtc/cgi-bin/adhesion.cgi Thu Nov 24 16:22:40 2016
@@ -471,13 +471,13 @@
$q->param(-name => 'cotisation', -value =>
calcul_cotisation($q->param('cotisation'),$q->param('autreMontant')));
- if($q->param('cotisation') == 0)
+ if($q->param('cotisation') < 10)
{
# Affichage de l'en-tete HTTP et HTML
print $q->header, $q->start_html;
print $q->hr;
- print "<strong>Attention: </strong>Le champ cotisation</strong> n'est
pas rempli.<br>\n";
+ print "<strong>Attention: </strong>Le champ cotisation</strong> doit
valoir au moins 10€.<br>\n";
print $q->end_html;
exit 1;
}
_______________________________________________
Gdtc-commits mailing list
[email protected]
https://mail.gna.org/listinfo/gdtc-commits