@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

Standing

$0.00 Paid to Date USD

$0.00 Balance USD

 

{{ Datatable::table() ->addColumn('Date', 'Message', 'Balance') ->setUrl(url('api/activities/'. $client->id)) ->setOptions('sPaginationType', 'bootstrap') ->setOptions('bFilter', false) ->render() }}
{{ Datatable::table() ->addColumn('Invoice Number', 'Total', 'Amount Due', 'Invoice Date', 'Due Date', 'Status') ->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() }}
{{ Datatable::table() ->addColumn('Credit Number', 'Amount', 'Credit Date') ->setUrl(url('api/credits/' . $client->id)) ->setOptions('sPaginationType', 'bootstrap') ->setOptions('bFilter', false) ->render() }}
@stop