@extends('public.header') @section('head') @parent @stop @section('content')

{{$client->name}}

@if ($contact->first_name || $contact->last_name) {{ $contact->first_name.' '.$contact->last_name }}
@endif @if ($client->address1) {{ $client->address1 }}
@endif @if ($client->address2) {{ $client->address2 }}
@endif @if ($client->getCityState()) {{ $client->getCityState() }}
@endif @if ($client->country) {{ $client->country->name }}
@endif
@if ($contact->email) {!! HTML::mailto($contact->email, $contact->email) !!}
@endif @if ($client->website) {!! HTML::link($client->website, $client->website) !!}
@endif @if ($contact->phone) {{ $contact->phone }}
@endif
{{ trans('texts.total_invoiced') }}
{{ Utils::formatMoney($client->paid_to_date + $client->balance, $client->currency_id ?: $account->currency_id) }}
{{ trans('texts.paid_to_date') }}
{{ Utils::formatMoney($client->paid_to_date, $client->currency_id ?: $account->currency_id) }}
{{ trans('texts.open_balance') }}
{{ Utils::formatMoney($client->balance, $client->currency_id ?: $account->currency_id) }}
@if (!empty($account->getTokenGatewayId()))
@include('payments.paymentmethods_list')
@endif
{!! Datatable::table() ->addColumn( trans('texts.date'), trans('texts.message'), trans('texts.balance'), trans('texts.adjustment')) ->setUrl(route('api.client.activity')) ->setOptions('bFilter', false) ->setOptions('aaSorting', [['0', 'desc']]) ->setOptions('sPaginationType', 'bootstrap') ->render('datatable') !!}
{{trans('texts.invoice_from')}}
@if ($account->address1) {{ $account->address1 }}
@endif @if ($account->address2) {{ $account->address2 }}
@endif @if ($account->getCityState()) {{ $account->getCityState() }}
@endif @if ($account->country) {{ $account->country->name }} @endif
@if ($account->work_phone) {{ $account->work_phone }}
@endif @if ($account->website) {{ $account->website }}
@endif @if ($account->work_email) {!! HTML::mailto($account->work_email, $account->work_email) !!}
@endif

 

@stop