{{ trans('policies.label.details') }}
@yield('policy_actions'){{ $policy->ref_no }}
{{ $policy->product->name }}
{{ date('F d, Y', strtotime($policy->renewal)) }}
{{ date('F d, Y', strtotime($policy->expiry)) }}
{{ $policy->payer }}
{{ $policy->currency_symbol }}{{ $policy->premium }}
{{ $policy->beneficiaries }}
{!! $policy->special_remarks !!}
{{ is_object($custom_field->value) ? $custom_field->value->choice : $custom_field->value }}
{{ trans('policies.table.title.attachments') }}
{{ trans('policies.table.header.file') }} | {{ trans('policies.table.header.date') }} | {{ trans('policies.table.header.uploader') }} | {{ trans('policies.table.header.actions') }} |
---|---|---|---|
{{ $attachment->name }} | {{ date('F d, Y', strtotime($attachment->created_at)) }} | {{ $attachment->uploader->first_name . ' ' . $attachment->uploader->last_name }} | {{ trans('policies.table.data.action.view') }} |
{{ trans('policies.table.message.empty.attachments', array( 'policy' => $policy->ref_no )) }} |
{{ trans('policies.table.title.payments') }}
@if($policy->due > 0) @yield('payments_button') @endif{{ trans('policies.table.header.number') }} | {{ trans('policies.table.header.amount') }} | {{ trans('policies.table.header.date') }} | {{ trans('policies.table.header.method') }} |
---|---|---|---|
{{ $key + 1 }} | {{ $policy->client->currency_symbol }}{{ $payment->amount }} | {{ 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('policies.table.message.empty.payments', array( 'name' => $policy->client->first_name )) }} |