added settings page in admin #93

This commit is contained in:
Nabeel Shahzad
2017-12-30 10:38:18 -06:00
parent fcec39fe0f
commit 4a1d7c59fb
15 changed files with 241 additions and 84 deletions

View File

@@ -33,7 +33,7 @@ class CreateSettingsTable extends Migration
[
'order' => 1,
'name' => 'Start Date',
'group' => '',
'group' => 'general',
'key' => 'general.start_date',
'value' => '',
'type' => 'date',
@@ -45,7 +45,7 @@ class CreateSettingsTable extends Migration
'group' => 'general',
'key' => 'general.currency',
'value' => 'dollar',
'type' => 'text',
'type' => 'select',
'options' => 'dollar,euro,gbp,yen,jpy,rupee,ruble',
'description' => 'Currency to show in the interface',
],