Extended forms and started on recurring transactions.

This commit is contained in:
Sander Dorigo
2014-10-05 19:29:25 +02:00
parent 980d9ce885
commit 28aaea1aa3
10 changed files with 193 additions and 201 deletions

View File

@@ -78,12 +78,21 @@ App::down(
\Form::macro('ffSelect', function ($name, array $list = [], $selected = null, array $options = []) {
return \Firefly\Form\Form::ffSelect($name, $list, $selected, $options);
});
\Form::macro('ffNumber', function ($name, $value = null, array $options = []) {
return \Firefly\Form\Form::ffNumber($name, $value, $options);
\Form::macro('ffInteger', function ($name, $value = null, array $options = []) {
return \Firefly\Form\Form::ffInteger($name, $value, $options);
});
\Form::macro('ffAmount', function ($name, $value = null, array $options = []) {
return \Firefly\Form\Form::ffAmount($name, $value, $options);
});
\Form::macro('ffDate', function ($name, $value = null, array $options = []) {
return \Firefly\Form\Form::ffDate($name, $value, $options);
});
\Form::macro('ffTags', function ($name, $value = null, array $options = []) {
return \Firefly\Form\Form::ffTags($name, $value, $options);
});
\Form::macro('ffCheckbox',function ($name, $value = 1, $checked = null, $options = []) {
return \Firefly\Form\Form::ffCheckbox($name, $value, $checked, $options);
});
/*
|--------------------------------------------------------------------------