class PayReq extends Validate
{
// {{{ properties
-
+
public $titre;
public $site;
$where = "%".$wassoid."%".$wevt."%";
return $where;
}
-
+
// }}}
// {{{ function accept()
return true;
}
- // }}}
- // {{{ function submit()
-
+ // }}}
+ // {{{ function submit()
+
// supprime les demandes de paiments pour le meme evenement
public function submit()
{
// }}}
// {{{ function commit()
-
+
public function commit()
{
global $globals;
$id, $this->titre, $this->site,
$this->montant, $this->montant_min, $this->montant_max,
$this->bestalias."@".$globals->mail->domain, $this->msg_reponse, $this->asso_id);
- if ($this->asso_id && $this->evt)
+ if ($this->asso_id && $this->evt)
$ret = XDB::execute("UPDATE groupex.evenements SET paiement_id = {?} WHERE asso_id = {?} AND eid = {?}", $id, $this->asso_id, $this->evt);
return $ret;