Revize 93fe8f1c
Přidáno uživatelem David Raška před asi 9 roky(ů)
application/controllers/bank_accounts.php | ||
---|---|---|
case Bank_Account_Settings::FIELD_TYPE_DROPDOWN:
|
||
$input = $form->dropdown($column)->selected($ba_driver->$column)->options(array());
|
||
break;
|
||
case Bank_Account_Settings::FIELD_TYPE_DATESELECT:
|
||
$input = $form->dateselect($column)->value($ba_driver->$column)->rules('precise')->minutes(1);
|
||
break;
|
||
default:
|
||
$input = $form->input($column)->value($ba_driver->$column);
|
||
break;
|
||
... | ... | |
if ($form->validate())
|
||
{
|
||
$form_data = $form->as_array();
|
||
|
||
|
||
// real bank account
|
||
$bank_account->type = $form_data['type'];
|
||
$bank_account->IBAN = $form_data['IBAN'];
|
Také k dispozici: Unified diff
Support for dateselect field in bank account settings
Support for precise datetime (including seconds) in dateselect field
Tatrabanka last download time moved from config table to bank account table