mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-09 11:16:39 -05:00
Remove the postal code from the dashboard subscriptions controller
This commit is contained in:
parent
ac5697eeeb
commit
956b4fe51e
1 changed files with 3 additions and 4 deletions
|
@ -59,8 +59,7 @@ class DashboardController extends Controller {
|
||||||
'cols' => [
|
'cols' => [
|
||||||
[ 'Date', 'created_at' ],
|
[ 'Date', 'created_at' ],
|
||||||
[ 'Email', 'email' ],
|
[ 'Email', 'email' ],
|
||||||
[ 'Name', 'name' ],
|
[ 'Name', 'name' ]
|
||||||
[ 'Postal / Zip', 'location' ]
|
|
||||||
]
|
]
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
@ -84,8 +83,8 @@ class DashboardController extends Controller {
|
||||||
$items = Contact::select('created_at', 'name', 'email', 'message')->get();
|
$items = Contact::select('created_at', 'name', 'email', 'message')->get();
|
||||||
break;
|
break;
|
||||||
case 'subscriptions':
|
case 'subscriptions':
|
||||||
$headings = [ 'Date', 'Email', 'Name', 'Postal / Zip' ];
|
$headings = [ 'Date', 'Email', 'Name' ];
|
||||||
$items = Subscriptions::select('created_at', 'email', 'name', 'location')->get();
|
$items = Subscriptions::select('created_at', 'email', 'name')->get();
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
abort(404);
|
abort(404);
|
||||||
|
|
Loading…
Reference in a new issue