@extends('layout') @section('title', 'Contact List') @section('content')

Contacts

@if(Session::has('message')) @endif

Here you can add, view, edit and delete contacts.

You can delete contacts on their 'view' or 'edit' page.

@foreach($contacts as $contact) @endforeach
Name E-Mail Phone Account Code Company View Edit
{{ $contact->name }} {{ $contact->email }} {{ $contact->phone }} {{ $contact->company->accountcode }} {{ $contact->company->name }} View Edit
@stop