@extends('public.header') @section('head') @parent @stop @section('content')
@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->website) {{ $account->website }}
@endif @if ($account->work_phone) {{ $account->work_phone }}
@endif @if ($account->work_email) {!! HTML::mailto($account->work_email, $account->work_email) !!}
@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()))

{{ trans('texts.payment_methods') }}

@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') !!}
@stop