Revize 274
Přidáno uživatelem Michal Kliment před více než 15 roky(ů)
freenetis/trunk/kohana/application/controllers/members.php | ||
---|---|---|
$enum = new Enum_type_Model();
|
||
|
||
$account->type_id = $enum->get_type_id('credit');
|
||
$account->name = $form_data['surname'].' '.$formdata['name'];
|
||
$account->name = $form_data['surname'].' '.$form_data['name'];
|
||
|
||
//if ($this->acl_check_new(get_class($this),'current_credit'))
|
||
// $account->start_amount = $form_data['current_credit'];
|
freenetis/trunk/kohana/application/upgrade_sql/upgrade_sql_273.php | ||
---|---|---|
<?php
|
||
|
||
$upgrade_sql[273] = array(
|
||
"INSERT INTO `enum_types` (`type_id`, `value`, `read_only`)
|
||
VALUES ('5', 'bank fees', '1'),
|
||
('5', 'bank interests', '1');",
|
||
"INSERT INTO `translations` (`original_term` , `translated_term` , `lang`) VALUES
|
||
('bank fees', 'bankovní poplatky', 'cs'),
|
||
('bank interests', 'bankovní úroky', 'cs');"
|
||
);
|
||
|
||
|
||
?>
|
freenetis/trunk/kohana/application/upgrade_sql/upgrade_sql.php | ||
---|---|---|
|
||
|
||
$upgrade_sql[get_SVN_rev()] = array(
|
||
"INSERT INTO `enum_types` (`type_id`, `value`, `read_only`)
|
||
VALUES ('5', 'bank fees', '1'),
|
||
('5', 'bank interests', '1');",
|
||
"INSERT INTO `translations` (`original_term` , `translated_term` , `lang`) VALUES
|
||
('bank fees', 'bankovní poplatky', 'cs'),
|
||
('bank interests', 'bankovní úroky', 'cs');"
|
||
"INSERT INTO `translations` (`id`, `original_term`, `translated_term`, `lang`) VALUES
|
||
(26, 'operating', 'provozní', 'cs');"
|
||
);
|
||
|
||
|
Také k dispozici: Unified diff
Opravena mensi chyba i pridavani clena, pridan preklad pro provozni ucet.