@extends('header') @section('content')
{{ Button::link(URL::to('clients/' . $client->id . '/edit'), 'Edit Client') }} {{ Button::primary_link(URL::to('invoices/create/' . $client->id), 'Create Invoice') }}

{{ $client->name }}

Details

{{ $client->getAddress() }}

{{ $client->getPhone() }}

{{ $client->getNotes() }}

Contacts

@foreach ($client->contacts as $contact) {{ $contact->getDetails() }} @endforeach

Balance

$0.00 Paid to Date USD

$0.00 Outstanding USD

 

{{ Datatable::table() ->addColumn('Date', 'Message') ->setUrl(url('api/activities/'. $client->id)) ->setOptions('sPaginationType', 'bootstrap') ->setOptions('bFilter', false) ->render() }}
{{ Datatable::table() ->addColumn('Invoice Number', 'Amount', 'Date') ->setUrl(url('api/invoices/' . $client->id)) ->setOptions('sPaginationType', 'bootstrap') ->setOptions('bFilter', false) ->render() }}
{{ Datatable::table() ->addColumn('Invoice Number', 'Amount', 'Date') ->setUrl(url('api/payments/' . $client->id)) ->setOptions('sPaginationType', 'bootstrap') ->setOptions('bFilter', false) ->render() }}
@stop