/** * @return array */ public function skyFilter() { return ['currency_id' => ['label' => 'Currency', 'type' => 'select', 'options' => Currency::all()->lists('slug', 'id')], 'price' => ['type' => 'text'], 'active' => ['type' => 'checkbox']]; }
/** * @return array */ public function skyFilter() { return ['currency_id' => ['label' => 'Currency', 'type' => 'select', 'options' => Currency::all()->lists('slug', 'id')], 'quantity' => ['type' => 'text'], 'created_at' => ['type' => 'date'], 'updated_at' => ['type' => 'date']]; }