| Conditions | 1 |
| Paths | 1 |
| Total Lines | 17 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php namespace Distilleries\Expendable\Http\Forms\Export; |
||
| 17 | public function buildForm() |
||
| 18 | { |
||
| 19 | |||
| 20 | $this |
||
| 21 | ->add('range', 'datepicker', |
||
| 22 | [ |
||
| 23 | 'label' => trans('expendable::form.date'), |
||
| 24 | 'validation' => 'required', |
||
| 25 | 'range' => true |
||
| 26 | ]) |
||
| 27 | ->add('type', 'choice', [ |
||
| 28 | 'choices' => StaticLabel::typeExport(), |
||
| 29 | 'validation' => 'required', |
||
| 30 | 'label' => trans('expendable::form.type') |
||
| 31 | ]) |
||
| 32 | ->addDefaultActions(); |
||
| 33 | } |
||
| 34 | } |