From 956b4fe51e926e601fc615ec6a364339b69038d4 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Tue, 26 Sep 2017 15:47:18 -0400 Subject: [PATCH] Remove the postal code from the dashboard subscriptions controller --- app/Http/Controllers/DashboardController.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/Http/Controllers/DashboardController.php b/app/Http/Controllers/DashboardController.php index 96c982f..64d31b5 100644 --- a/app/Http/Controllers/DashboardController.php +++ b/app/Http/Controllers/DashboardController.php @@ -59,8 +59,7 @@ class DashboardController extends Controller { 'cols' => [ [ 'Date', 'created_at' ], [ 'Email', 'email' ], - [ 'Name', 'name' ], - [ 'Postal / Zip', 'location' ] + [ 'Name', 'name' ] ] ]); } @@ -84,8 +83,8 @@ class DashboardController extends Controller { $items = Contact::select('created_at', 'name', 'email', 'message')->get(); break; case 'subscriptions': - $headings = [ 'Date', 'Email', 'Name', 'Postal / Zip' ]; - $items = Subscriptions::select('created_at', 'email', 'name', 'location')->get(); + $headings = [ 'Date', 'Email', 'Name' ]; + $items = Subscriptions::select('created_at', 'email', 'name')->get(); break; default: abort(404);