Revize 633
Přidáno uživatelem Michal Kliment před více než 14 roky(ů)
freenetis/trunk/kohana/application/i18n/cs_CZ/texts.php | ||
---|---|---|
'next step' => 'Další krok',
|
||
'nineth-degree certified engineers' => 'Certifikování technici devátého stupně',
|
||
'no' => 'ne',
|
||
'no member fee set!' => 'Členský příspěvek nenastaven!',
|
||
'nonactive' => 'Neaktivní',
|
||
'none' => 'žádný',
|
||
'non-member' => 'Nečlen',
|
freenetis/trunk/kohana/application/controllers/members.php | ||
---|---|---|
$balance = $account->get_account_balance($account->id);
|
||
$fee_model = new Fee_Model();
|
||
$fee = $fee_model->get_by_date_type(date('Y-m-d'), 'regular member fee');
|
||
$expiration_date = date('Y-m-d', mktime(0, 0, 0, date('m'), 1, date('Y')) + (($balance / $fee->fee) * 30 * 24 * 60 * 60));
|
||
if ($fee->fee > 0)
|
||
$expiration_date = date('Y-m-d', mktime(0, 0, 0, date('m'), 1, date('Y')) + (($balance / $fee->fee) * 30 * 24 * 60 * 60));
|
||
else
|
||
$expiration_date = url_lang::lang('texts.No member fee set!');
|
||
}
|
||
// contacts of main user of member
|
||
$model_contacts = new Contact_Model();
|
freenetis/trunk/kohana/application/libraries/Billing.php | ||
---|---|---|
|
||
require_once(APPPATH.'vendors/billing/lbilling/lbilling.php');
|
||
$this->billing = new lbilling();
|
||
$this->billing->set_auth_data($this->c->voip_billing_partner,$this->c->voip_billing_password);
|
||
$this->billing->set_auth_data($this->c->get('voip_billing_partner'),$this->c->get('voip_billing_password'));
|
||
}
|
||
else
|
||
{
|
Také k dispozici: Unified diff
Opravena chyba u vypoctu data, do kdy je zaplacen clensky prispevek (z duvodu chybejici kontroly nenuloveho clenskeho prispevku). Opravena chyba v billingu (pozustatek z minule verze settings).