Revize 1809
Přidáno uživatelem Michal Kliment před téměř 12 roky(ů)
freenetis/branches/1.1/application/i18n/cs_CZ/texts.php | ||
---|---|---|
'default count' => 'Výchozí počet',
|
||
'default driver' => 'Výchozí ovladač',
|
||
'default e-mail' => 'Výchozí e-mail',
|
||
'default fee for date %s have not been set!' => 'Výchozí příspěvek pro datum %s není nastaven!',
|
||
'default for this device type?' => 'Výchozí pro tento typ zařízení?',
|
||
'default iface is used as filled iface in permitting of the connection request' => 'Výchozí rozhraní, které je vyplněno při povolení žádosti o připojení',
|
||
'default interface' => 'Výchozí rozhraní',
|
freenetis/branches/1.1/application/controllers/transfers.php | ||
---|---|---|
$last_datetime = $transfer_model->find_last_transfer_datetime_by_type(
|
||
Transfer_Model::DEDUCT_MEMBER_FEE
|
||
);
|
||
echo $last_datetime;
|
||
|
||
if ($last_datetime)
|
||
$max_date = date_parse($last_datetime);
|
||
... | ... | |
)->find();
|
||
// creation datetime of transfers
|
||
$creation_datetime = date('Y-m-d H:i:s');
|
||
|
||
// status message
|
||
$message = '';
|
||
|
||
try
|
||
{
|
||
$db = new Transfer_Model();
|
||
... | ... | |
if ($fee && $fee->id)
|
||
$default_fee = $fee->fee;
|
||
else
|
||
throw new Exception(__('Fatal error'), __('Fees have not been set!'));
|
||
{
|
||
$message = __('Error').': '.url_lang::lang('texts.Default fee for date %s have not been set!', $date);
|
||
throw new Exception($message);
|
||
}
|
||
// finds regular member fee for this member and this month
|
||
$fee = $fee_model->get_fee_by_member_date_type(
|
||
$account->member_id, $date, 'regular member fee'
|
||
... | ... | |
{
|
||
$db->transaction_rollback();
|
||
Log::add_exception($e);
|
||
status::error('Error - some fees have not been recounted.');
|
||
status::error($message);
|
||
}
|
||
url::redirect('transfers/show_by_account/' . $account_id);
|
||
}
|
freenetis/branches/1.1/application/controllers/members_fees.php | ||
---|---|---|
date('Y-m-d'), 'regular member fee'
|
||
);
|
||
|
||
// default fee is set
|
||
if ($default_fee && $default_fee->fee)
|
||
{
|
||
$default_fee = $default_fee->fee;
|
||
}
|
||
// default fee is not set
|
||
else
|
||
{
|
||
$default_fee = NULL;
|
||
}
|
||
|
||
// breadcrumbs
|
||
$breadcrumbs = breadcrumbs::add()
|
||
->link('members/show_all', 'Members',
|
||
... | ... | |
$view->content->member = $member;
|
||
$view->content->fee_types = $arr_fee_types;
|
||
$view->content->members_fees_grids = $members_fees_grids;
|
||
$view->content->default_fee = $default_fee->fee;
|
||
$view->content->default_fee = $default_fee;
|
||
$view->render(TRUE);
|
||
}
|
||
|
Také k dispozici: Unified diff
Opravy:
- #416 - Neosetreni absence vychozich poplatku