mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-12-22 09:40:23 -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' => [
|
||||
[ '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);
|
||||
|
|
Loading…
Reference in a new issue