Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 1715

Přidáno uživatelem Ondřej Fibich před asi 12 roky(ů)

Oprava:

- #336: SMTP - opakovane kontaktovani
- #334: Editace cekatele na clenstvi a neclena + editace odevzdani prihlasky

Zobrazit rozdíly:

freenetis/branches/testing/application/controllers/members.php
// id of user who added member
$member->user_id = $this->session->get('user_id');
$member->comment = $form_data['comment'];
$member->entrance_date = date("Y-m-d",$form_data['entrance_date']);
if ($form_data['membername'] == '')
{
......
$member->qos_rate = $form_data['qos_rate'];
$member->entrance_fee = $form_data['entrance_fee'];
$member->debt_payment_rate = $form_data['debt_payment_rate'];
if ($member->type == Member_Model::TYPE_APPLICANT)
{
$member->entrance_date = NULL;
}
else
{
$member->entrance_date = date("Y-m-d",$form_data['entrance_date']);
}
// saving member
$member->save_throwable();

Také k dispozici: Unified diff