@extends('header') @section('content')
{{ Former::open('clients/bulk')->addClass('mainForm') }}
{{ Former::text('action') }} {{ Former::text('id')->value($client->public_id) }}
{{ DropdownButton::normal('Edit Client', Navigation::links( [ ['Edit Client', URL::to('clients/' . $client->public_id . '/edit')], [Navigation::DIVIDER], ['Archive Client', "javascript:onArchiveClick()"], ['Delete Client', "javascript:onDeleteClick()"], ] ) , ['id'=>'normalDropDown'])->split(); }} {{ DropdownButton::primary('Create Invoice', Navigation::links( [ ['Create Invoice', URL::to('invoices/create/' . $client->public_id )], ['Create Payment', URL::to('payments/create/' . $client->public_id )], ['Create Credit', URL::to('credits/create/' . $client->public_id )], ] ) , ['id'=>'primaryDropDown'])->split(); }} {{ Former::close() }}

{{ $client->name }}

@if ($client->last_login > 0)

Last logged in {{ Utils::timestampToDateTimeString($client->last_login); }}

@endif

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->public_id)) ->setOptions('sPaginationType', 'bootstrap') ->setOptions('bFilter', false) ->render('datatable') }}
@if ($hasRecurringInvoices) {{ Datatable::table() ->addColumn('Total', 'How Often', 'Start Date', 'End Date') ->setUrl(url('api/recurring_invoices/' . $client->public_id)) ->setOptions('sPaginationType', 'bootstrap') ->setOptions('bFilter', false) ->render('datatable') }} @endif {{ Datatable::table() ->addColumn('Invoice Number', 'Total', 'Amount Due', 'Invoice Date', 'Due Date', 'Status') ->setUrl(url('api/invoices/' . $client->public_id)) ->setOptions('sPaginationType', 'bootstrap') ->setOptions('bFilter', false) ->render('datatable') }}
{{ Datatable::table() ->addColumn('Transaction Reference', 'Invoice', 'Amount', 'Payment Date') ->setUrl(url('api/payments/' . $client->public_id)) ->setOptions('sPaginationType', 'bootstrap') ->setOptions('bFilter', false) ->render('datatable') }}
{{ Datatable::table() ->addColumn('Amount', 'Credit Date') ->setUrl(url('api/credits/' . $client->public_id)) ->setOptions('sPaginationType', 'bootstrap') ->setOptions('bFilter', false) ->render('datatable') }}
@stop