{{ trans('clients.label.details') }}
Print Details{{ $client->first_name . ' ' . $client->last_name }}
{{ $client->policies->count() }}
{{ $client->email }}
{{ is_null($client->birthday) ? '---------- --, ----' : date('jS F Y', strtotime($client->birthday)) }}
{{ $client->phone or '(---) ---- --- ---' }}
{{ $client->address or '. . .' }}
{{ is_object(json_decode($custom_field->value)) ? json_decode($custom_field->value)->choice : $custom_field->value }}
{{ trans('clients.table.title.notes', array( 'name' => $client->first_name )) }}
{{ trans('clients.table.header.from') }} | {{ trans('clients.table.header.message') }} | {{ trans('clients.table.header.date') }} | {{ trans('clients.table.header.actions') }} |
---|---|---|---|
{{ $note->writer->id === $user->id ? 'You': $note->writer->first_name }} | {{ $note->message }} | {{ date('F d, Y', strtotime($note->created_at)) }} | {{ trans('clients.table.data.action.read') }} |
{{ trans('clients.table.message.empty.notes', array( 'name' => $client->first_name )) }} |
{{ trans('clients.table.title.attachments') }}
{{ trans('clients.table.header.file') }} | {{ trans('clients.table.header.date') }} | {{ trans('clients.table.header.uploader') }} | {{ trans('clients.table.header.actions') }} |
---|---|---|---|
{{ $attachment->name }} | {{ date('F d, Y', strtotime($attachment->created_at)) }} | {{ $attachment->uploader->first_name . ' ' . $attachment->uploader->last_name }} | {{ trans('clients.table.data.action.view') }} |
{{ trans('clients.table.message.empty.attachments', array( 'name' => $client->first_name )) }} |
{{ trans('clients.table.title.policies') }}
{{ trans('clients.table.header.ref_no') }} | {{ trans('clients.table.header.product') }} | {{ trans('clients.table.header.insurer') }} | {{ trans('clients.table.header.premium') }} | {{ trans('clients.table.header.due') }} | {{ trans('clients.table.header.status') }} | {{ trans('clients.table.header.action') }} |
---|---|---|---|---|---|---|
{{ $policy->ref_no }} | {{ $policy->product->name }} | {{ $policy->product->insurer }} | {{ $client->currency_symbol}}{{ $policy->premium + 0 }} | {{ $client->currency_symbol}}{{ $policy->due }} |
@if ($policy->premium <= $policy->paid && $policy->paid > 0)
{{ trans('clients.table.data.status.paid') }}
@elseif ($policy->premium > $policy->paid && $policy->paid > 0)
{{ trans('clients.table.data.status.partial') }}
@elseif ($policy->premium == $policy->paid && $policy->paid === 0)
{{ trans('clients.table.data.status.free') }}
@else ($policy->premium > $policy->paid && $policy->paid === 0)
{{ trans('clients.table.data.status.unpaid') }}
@endif
|
{{ trans('clients.table.data.action.view') }} |
{{ trans('clients.table.message.empty.policies', array( 'name' => $client->first_name )) }} | ||||||
{{ trans('clients.table.header.total') }} | {{ $client->currency_symbol }}{{ $policies->sum('premium') }} | {{ $client->currency_symbol }}{{ $policies->sum('due') }} |
{{ trans('clients.table.title.payments') }}
{{ trans('clients.table.header.number') }} | {{ trans('clients.table.header.policy') }} | {{ trans('clients.table.header.amount') }} | {{ trans('clients.table.header.date') }} | {{ trans('clients.table.header.method') }} |
---|---|---|---|---|
{{ $key + 1 }} | {{ $payment->policy->ref_no }} | {{ $client->currency_symbol }}{{ $payment->amount + 0 }} | {{ date('F d, Y', strtotime($payment->date)) }} | {{ array( 'card' => trans('clients.table.data.method.card'), 'cash' => trans('clients.table.data.method.cash'), 'paypal' => trans('clients.table.data.method.paypal') )[$payment->method] }} |
{{ trans('clients.table.message.empty.payments', array( 'name' => $client->first_name )) }} |