barryvdh / laravel-dompdf

A DOMPDF Wrapper for Laravel
MIT License
6.71k stars 967 forks source link

Text overlaping one another while render dynamically #827

Closed manikandanm1706 closed 2 years ago

manikandanm1706 commented 2 years ago

Hi,

I generate PDF with dynamic content sometime its works sometimes some text overlaping one another. even though it is static content. These issue only occur for when creating dynamically. below i enclosed sample pdf. please check and help me to fix. Thanks in advance.

https://prnt.sc/1y5u52o

pdf (1).pdf

Below i shared my php code $pdf = \PDF::loadView('documents.willpdf',$data); $pdf->getDomPDF()->set_option("enable_php", true); $pdf->getDomPDF()->set_option("isRemoteEnabled", true);

    $pdf = \PDF::loadView('documents.willpdf',$data);

    $font = 'Noto Sans Georgian';
    $size = 10;
    $color = array(0,0,0);
    $word_space = 0.0;  //  default
    $char_space = 0.0;  //  default
    $angle = 0.0;   //  default  
    $text = "{PAGE_NUM} of {PAGE_COUNT}";    

    $canvas = $pdf->getDomPDF()->get_canvas();
    $footer = $canvas->open_object();

    // $canvas->page_text(490, 25, "hivedesk.com", '', 8, array(0, 0, 0));
    // if ($PAGE_COUNT > 1 && $PAGE_NUM!=$PAGE_COUNT ) {
        $canvas->page_text(50, 750, '.................................', $font, $size, $color,$word_space, $char_space, $angle);
        $canvas->page_text(250, 750, '................................', $font, $size, $color,    $word_space, $char_space, $angle);
        $canvas->page_text(450, 750, '................................', $font, $size, $color,     $word_space, $char_space, $angle);
        $canvas->page_text(50, 770, $data['first_name'].' '.$data['middle_name'].' '.$data['last_name'],$font, $size, $color, $word_space, $char_space, $angle);
        $canvas->page_text(250, 770, '       (Witness)',$font, $size, $color, $word_space, $char_space, $angle);
        $canvas->page_text(450, 770, '       (Witness)',$font, $size, $color, $word_space, $char_space, $angle);
    // }
    $canvas->page_text(550, 780, $text,$font, $size, $color, $word_space, $char_space, $angle);
    $canvas->page_text(250,10,$p,$font,$size,$color,$word_space,$char_space,$angle);
    $canvas->close_object();
    $canvas->add_object($footer, "all");

Below i shared my html code:

<!DOCTYPE html>

page1 @php $i=1; $j=1; $k=1; @endphp @php $i++; @endphp @if($executor['executer_backups'][1]['guardians']['full_name']!='') @php if(($executor['executer_backups']->count()==2 && $executor['executer_primaries']->count()==1)|| ($executor['executer_backups']->count()==3 && $executor['executer_primaries']->count()==1)) $j=3; else $j++; @endphp @endif @if($executor['executer_backups'][2]['guardians']['full_name']!='') @php $j++; @endphp @endif @if(($executor['executer_primaries']->count() != $executor['executer_backups']->count()) || ($executor['executer_primaries']->count()==3 && $executor['executer_backups']->count()==3) || ($executor['executer_primaries']->count()==2 && $executor['executer_backups']->count()==2)) @php if($executor['executer_primaries']->count()==3 && $executor['executer_backups']->count()==2) $j=4; else $j++; @endphp @if($executor['executer_primaries']->count()==2 && $executor['executer_backups']->count()==1 || ($executor['executer_primaries']->count()==3 && $executor['executer_backups']->count()==1)) @else @endif @endif

This Last Will and Testament is made by me,
{{ $first_name }} {{ $middle_name }} {{ $last_name }} of {{ $address }} in the parish of {{ $parish }}.

{{$i}}. Revocation

{{$i}}.{{$j}}

I revoke all previous wills and testamentary dispositions made by me and declare this to be my last Will.

{{$i}}. Executors

@foreach($executors as $executor) @if($executor['executer_primaries']->count()==1 && $executor['executer_backups']->count()==1)

{{$i}}.{{$j}}.

I appoint @if($executor['executer_primaries'][0]['guardians']['type']=='partner')(Spouse)@endif @if($executor['executer_primaries'][0]['guardians']['type']=='child')(Child)@endif {{ $executor['executer_primaries'][0]['guardians']['full_name']}} of @if($executor['executer_primaries'][0]['guardians']['email']!=null) {{ $executor['executer_primaries'][0]['guardians']['email']}} @endif @if($executor['executer_primaries'][0]['guardians']['phone_number']!=null) {{ $executor['executer_primaries'][0]['guardians']['phone_number']}} @endif @if($executor['executer_primaries'][0]['guardians']['address']!=null) {{ $executor['executer_primaries'][0]['guardians']['address']}} @endifto be the Executor of this my Will.

@php $j++; @endphp

{{$i}}.{{$j}}.

If @if($executor['executer_primaries'][0]['guardians']['type']=='partner')(Spouse)@endif @if($executor['executer_primaries'][0]['guardians']['type']=='child')(Child)@endif {{ $executor['executer_primaries'][0]['guardians']['full_name']}} refuses, is unable or unwilling to act or continue to act as my Executor, then I appoint in their place@if($executor['executer_backups'][0]['guardians']['type']=='partner')(Spouse)@endif @if($executor['executer_backups'][0]['guardians']['type']=='child')(Child)@endif{{ $executor['executer_backups'][0]['guardians']['full_name'] }} of@if($executor['executer_backups'][0]['guardians']['email']!=null) {{ $executor['executer_backups'][0]['guardians']['email']}} @endif @if($executor['executer_backups'][0]['guardians']['phone_number']!=null) {{ $executor['executer_backups'][0]['guardians']['phone_number']}} @endif @if($executor['executer_backups'][0]['guardians']['address']!=null) {{ $executor['executer_backups'][0]['guardians']['address']}} @endifto be the Executor of this my Will (Substitute Executor).

@endif @endforeach @foreach($executors as $executor) @if($executor['executer_primaries']->count()==1 && $executor['executer_backups']->count()>1)

{{$i}}.{{$j}}.

I appoint @if($executor['executer_primaries'][0]['guardians']['type']=='partner')(Spouse)@endif @if($executor['executer_primaries'][0]['guardians']['type']=='child')(Child)@endif{{ $executor['executer_primaries'][0]['guardians']['full_name']}} of @if($executor['executer_primaries'][0]['guardians']['email']!=null) {{ $executor['executer_primaries'][0]['guardians']['email']}} @endif @if($executor['executer_primaries'][0]['guardians']['phone_number']!=null) {{ $executor['executer_primaries'][0]['guardians']['phone_number']}} @endif @if($executor['executer_primaries'][0]['guardians']['address']!=null) {{ $executor['executer_primaries'][0]['guardians']['address']}} @endif to be the Executor of this my Will.

@php $j++; @endphp

{{$i}}.{{$j}}.

If @if($executor['executer_primaries'][0]['guardians']['type']=='partner')(Spouse) @endif @if($executor['executer_primaries'][0]['guardians']['type']=='child')(Child)@endif {{ $executor['executer_primaries'][0]['guardians']['full_name']}} refuses, is unable or unwilling to act or continue to act as my Executor, then I appoint in their place @if($executor['executer_backups'][0]['guardians']['type']=='partner')(Spouse)@endif @if($executor['executer_backups'][0]['guardians']['type']=='child')(Child)@endif{{ $executor['executer_backups'][0]['guardians']['full_name'] }} of @if($executor['executer_backups'][0]['guardians']['email']!=null) {{ $executor['executer_backups'][0]['guardians']['email']}} @endif @if($executor['executer_backups'][0]['guardians']['phone_number']!=null) {{ $executor['executer_backups'][0]['guardians']['phone_number']}} @endif @if($executor['executer_backups'][0]['guardians']['address']!=null) {{ $executor['executer_backups'][0]['guardians']['address']}} @endif to be the Executor of this my Will (Substitute Executor).

@endif @endforeach @foreach($executors as $executor) @if($executor['executer_primaries']->count()>1 || $executor['executer_backups']->count()>1)
@if($executor['executer_primaries']->count()>1)

{{$i}}.{{$j}}.      I appoint:

@foreach($executor['executer_primaries'] as $executor_primary)

{{$i}}.{{$j}}.{{$k}}. @if($executor_primary['guardians']->type=='partner')(Spouse)@endif @if($executor_primary['guardians']->type=='child')(Child)@endif{{ $executor_primary['guardians']->full_name }} of @if($executor_primary['guardians']->email!=null) {{ $executor_primary['guardians']->email }}; @endif @if($executor_primary['guardians']->phone_number!=null) {{ $executor_primary['guardians']->phone_number }}; @endif @if($executor_primary['guardians']->address!=null) {{ $executor_primary['guardians']->address }}; @endif @if(!$loop->last) and @endif

@php $k++; @endphp @endforeach

            to be the joint Executors of this my Will.

@endif @php $j++; @endphp @php $k=1; @endphp @if($executor['executer_primaries']->count()>1)

{{$i}}.{{$j}}.      If either

@foreach($executor['executer_primaries'] as $executor_primary)

{{$i}}.{{$j}}.{{$k}}. @if($executor_primary['guardians']->type=='partner')(Spouse)@endif @if($executor_primary['guardians']->type=='child')(Child)@endif{{ $executor_primary['guardians']->full_name }} ; @if(!$loop->last)or @endif

@php $k++; @endphp @endforeach

            refuses, is unable or unwilling to act or continue to act as my Executor, then I appoint in their place the survivors of them and @if($executor['executer_backups'][0]['guardians']['type']=='partner')(Spouse)@endif @if($executor['executer_backups'][0]['guardians']['type']=='child')(Child)@endif{{ $executor['executer_backups'][0]['guardians']['full_name'] }} of @if($executor['executer_backups'][0]['guardians']['email']!=null) {{ $executor['executer_backups'][0]['guardians']['email']}} @endif @if($executor['executer_backups'][0]['guardians']['phone_number']!=null) {{ $executor['executer_backups'][0]['guardians']['phone_number']}} @endif @if($executor['executer_backups'][0]['guardians']['address']!=null) {{ $executor['executer_backups'][0]['guardians']['address']}} @endif, to be the joint Executors of this my Will (Substitute Executors).

@endif
@endif @endforeach

{{$i}}.{{$j}}.

Should my Substitute Executor predecease me or be unwilling or unable to act or die before the finalisation of my Estate, then I appoint@if($executor['executer_backups'][1]['guardians']['type']=='partner')(Spouse)@endif @if($executor['executer_backups'][1]['guardians']['type']=='child')(Child)@endif {{ $executor['executer_backups'][1]['guardians']['full_name'] }} of @if($executor['executer_backups'][1]['guardians']['email']!=null) {{ $executor['executer_backups'][1]['guardians']['email']}} @endif @if($executor['executer_backups'][1]['guardians']['phone_number']!=null) {{ $executor['executer_backups'][1]['guardians']['phone_number']}} @endif @if($executor['executer_backups'][1]['guardians']['address']!=null) {{ $executor['executer_backups'][1]['guardians']['address']}} @endifto be the Executor of this my Will (Reserve Executor).

{{$i}}.{{$j}}.

Should my Reserve Executor predecease me or be unwilling or unable to act or die before the finalisation of my Estate, then I appoint @if($executor['executer_backups'][2]['guardians']['type']=='partner')(Spouse)@endif @if($executor['executer_backups'][2]['guardians']['type']=='child')(Child)@endif{{ $executor['executer_backups'][2]['guardians']['full_name'] }} of@if($executor['executer_backups'][2]['guardians']['email']!=null) {{ $executor['executer_backups'][2]['guardians']['email']}} @endif @if($executor['executer_backups'][2]['guardians']['phone_number']!=null) {{ $executor['executer_backups'][2]['guardians']['phone_number']}} @endif @if($executor['executer_backups'][2]['guardians']['address']!=null) {{ $executor['executer_backups'][2]['guardians']['address']}} @endifto be the Executor of this my Will (Remaining Executors).

{{$i}}.{{$j}}.

Should any of my Substitute Executors predecease me or be unwilling or unable to act or die before the finalisation of my Estate, then I appoint the survivors of them to be the Executor of this my Will.

{{$i}}.{{$j}}.

Should any of my Remaining Executors predecease me or be unwilling or unable to act or die before the finalisation of my Estate, then I appoint the survivors of them to be the Executor of this my Will.

@php $i=3; $j=1; $k=1;@endphp

{{$i}}. Payment of debt and expenses

3.1     Unless otherwise stipulated in the clause entitled ‘Gifts’, I direct that my Executors:

@php $k++;@endphp @php $k++;@endphp

{{$i}}.{{$j}}.{{$k}}.

sell, call in or convert into money any part of my Estate; or

{{$i}}.{{$j}}.{{$k}}.

use entitlements, Death Benefits, proceeds life insurance policies, compensation payments or any other proceeds, to pay any debts and funeral expenses associated with my death and the administration of my Estate, and all probate death and estate duties payable in relation to my Estate.

{{$i}}.{{$j}}.{{$k}}.

Any proceeds not required to be used for payments of any debts and funeral expenses associated with my death and the administration of my Estate, I direct that such proceeds be paid to my Estate and distributed by my Executors in accordance with the clause entitled ‘Residual Estate’. I further direct that I intend for this to be a binding death benefit nomination.

@if(!$gift->isEmpty()) @php $i++; $j=1; $k=1 @endphp

{{$i}}. Gifts

{{$i}}.{{$j}}.

I bequeath gift, free of all duties and encumbrances, the following specific gifts from my Estate:

@foreach($gift as $gift) @if($gift['gift_type']=='item') @endif @if($gift['gift_type']=='money') @endif @php $k++; @endphp @endforeach

{{$i}}.{{$j}}.{{$k}}.

@if($gift['gift_item']['charity_or_church']->count())

My {{ $gift['gift_item']->gift }} to @foreach($gift['gift_item']['charity_or_church'] as $gift_rec) {{ $gift_rec->full_name }} @endforeach. If this charity/church cannot receive a gift, then that gift shall be made to similar charitable/Church organisation that my Executors consider most nearly fulfils the objects I intend to benefit. Left message: {{ $gift['gift_item']->message; }}

@endif @if($gift['gift_item']['guardians']->count())

My {{ $gift['gift_item']->gift }} to @foreach($gift['gift_item']['guardians'] as $gift_rec) @if($gift_rec->type=='partner')(Spouse)@endif @if($gift_rec->type=='child')(Child)@endif {{ $gift_rec->full_name }} @endforeach , provided that such person survives me by thirty (30) days. Left message: {{ $gift['gift_item']->message; }}

If under the preceding clauses a person does not survive to attain a vested interest in a gift from my Estate, then that gift shall be given to my Executors to be distributed in accordance with the clause entitled ‘Residual Estate’.

@endif
@if(count($gift['gift_money']['charity_or_church']))

The sum of Amount {{ $gift['gift_money']->amount }} {{ $gift['gift_money']->currency_code}} to @foreach($gift['gift_money']['charity_or_church'] as $gift_rec) {{ $gift_rec->full_name }}@endforeach. If this charity/church cannot receive a gift, then that gift shall be made to similar charitable/Church organisation that my Executors consider most nearly fulfils the objects I intend to benefit. Left Message: {{ $gift['gift_money']->message }}

@endif @if(count($gift['gift_money']['guardians']))

The sum of Amount {{ $gift['gift_money']->amount }} {{ $gift['gift_money']->currency_code}} to @foreach($gift['gift_money']['guardians'] as $gift_rec) @if($gift_rec->type=='partner')(Spouse)@endif @if($gift_rec->type=='child')(Child)@endif {{ $gift_rec->full_name }} @endforeach, provided that such person survives me by thirty (30) days. Left message: {{ $gift['gift_money']->message }}

If under the preceding clauses a person does not survive to attain a vested interest in a gift from my Estate, then that gift shall be given to my Executors to be distributed in accordance with the clause entitled ‘Residual Estate’.

@endif
@endif

{{$i}}.{{$j}}.

The gifts made pursuant to this clause {{$k-1}} are not to be taken into account in the division of the remaining balance of my Estate in accordance with the clause entitled ‘Residual Estate’.

@if(!$pet->isEmpty()) @php $i++; $j=1; $k=1 @endphp

{{$i}}. Pets

{{$i}}.{{$j}}     I gift:

@foreach($pet as $pet) @php $k++; @endphp @endforeach

{{$i}}.{{$j}}.{{$k}}.

my {{ $pet->pet_type }}, {{ $pet->pet_name }} to @foreach($pet['pet_guardians'] as $pet_guardian) @if($pet_guardian['guardians']->type=='partner')(Spouse)@endif @if($pet_guardian['guardians']->type=='child')(Child)@endif {{ $pet_guardian['guardians']->full_name}}, @endforeachprovided that such person survives me by thirty (30) days.

@php $j++; @endphp @php $j++; @endphp

{{$i}}.{{$j}}.

If under the preceding clauses a person does not survive to attain a vested interest in a gift from my Estate, then that gift shall be given to my Executors to be distributed in accordance with the clause entitled ‘Residual Estate’.

{{$i}}.{{$j}}.

The gifts made pursuant to this clause are not to be taken into account in the division of the remaining balance of my Estate in accordance with the clause entitled ‘Residual Estate’.

@endif @php $above_18_count = 0; foreach ($children as $key => $value) { if($value->is_under_18 == 'No'){ $above_18_count++; } } @endphp @if(!($above_18_count == count($children))) @if(!$children->isEmpty()) @endif
@php $i++; $j=1; $k=1;@endphp

{{$i}}. Guardianship of Children

{{$i}}.{{$j}}.

If the other parent of my children does not survive me and I die leaving children under the age of eighteen (18) years:

@foreach($children as $children) @if($children->is_under_18 == 'Yes') @php $k++; @endphp @endif @endforeach

{{$i}}.{{$j}}.{{$k}}.

I appoint @foreach($children['child_guardians'] as $child_guardian) @if($child_guardian['guardians']->type=='partner')(Spouse) @endif @if($child_guardian['guardians']->type=='child')(Child) @endif {{ $child_guardian['guardians']->full_name }} @if(!$loop->last), and @endif @endforeach to be the guardian of my child {{ $children->full_name }}, and to be responsible for their day to day and long-term care, welfare and development during their minority.

@php $j++; @endphp

{{$i}}.{{$j}}.

I direct my Executors to exercise their powers under this Will so as to ensure that any person caring for any of my children (whether a guardian or otherwise) does not suffer any financial burden or loss in the course of caring for my children.

@php $j++; @endphp

{{$i}}.{{$j}}.

I direct my Executors to exercise their powers granted to them under this Will to provide such funds as may be necessary to ensure that my children's accommodation, education and other day to day needs are met.

@endif @endif @if($beneficiary['contingent_beneficiaries']=='backup_beneficiaries' ) @php $k=1; @endphp @foreach($beneficiary['beneficiary_backup'] as $beneficiary_backup) @php $k++; @endphp @endforeach @endif
@php $i++; $j=1; $k=1; @endphp

{{$i}}. Residual Estate

@foreach($beneficiaries as $beneficiary)

{{$i}}.{{$j}}.{{ $k }}.   {{$beneficiary->percentage}}% of my Residual Estate to @if($beneficiary['guardians']!=null) @if($beneficiary['guardians']->type=='partner')(Spouse)@endif @if($beneficiary['guardians']->type=='child')(Child)@endif {{ $beneficiary['guardians']->full_name }} @endif @if($beneficiary['charity_or_church']!=null) {{ $beneficiary['charity_or_church']->full_name }} @endif absolutely.

@php $k++; @endphp @endforeach

{{$i}}.{{$j}}.

I direct and bequeath that my Executors divide the balance of my Estate not already dealt with under the preceding clauses of this Will into portions and distribute such portions as follows:

@php $j=2; $k=1;@endphp @foreach($beneficiaries as $beneficiary) @if($beneficiary['guardians']!=null)

{{$i}}.{{$j}}.

If@if($beneficiary['guardians']->type=='partner')(Spouse)@endif @if($beneficiary['guardians']->type=='child')(Child)@endif{{ $beneficiary['guardians']['full_name'] }} does not survive me by thirty (30) days or does not survive to attain a vested interest in my Residual Estate, then my Executors shall distribute that deceased beneficiary’s portion of the Residual Estate to:

@if($beneficiary['contingent_beneficiaries']=='to_children' ) @endif @if($beneficiary['contingent_beneficiaries']=='divide_amount_beneficiaries' )

{{$i}}.{{$j}}.{{$k}}.

the Children of the deceased beneficiary in equal shares absolutely, provided that such Children survive me by thirty (30) days or are born after my death (Survivors). If any of the Survivors who would otherwise have taken the place of a deceased beneficiary do not survive to attain a vested interest in my Residual Estate but leave Children who survive me by thirty (30) days or are born after my death (Residual Survivors), then the Residual Survivors shall receive in equal shares the portion the deceased beneficiary would have received had the Survivor survived to attain a vested interest.

{{$i}}.{{$j}}.{{$k}}.

the surviving beneficiaries of my Estate, in equal shares absolutely (Survivors). If any of the Survivors who would otherwise have taken the place of a deceased beneficiary do not survive to attain a vested interest in my Residual Estate but leave Children who survive me by thirty (30) days or are born after my death (Residual Survivors), then the Residual Survivors shall receive in equal shares the portion the deceased beneficiary would have received had the Survivor survived to attain a vested interest.

{{$i}}.{{$j}}.{{$k}}.

@if($beneficiary_backup['guardians']!=null)

@if($beneficiary_backup['guardians']->type=='partner')(Spouse) @endif @if($beneficiary_backup['guardians']->type=='child')(Child) @endif {{ $beneficiary_backup['guardians']['full_name'] }} absolutely (Survivors). If any of the Survivors who would otherwise have taken the place of a deceased beneficiary do not survive to attain a vested interest in my Residual Estate but leave Children who survive me by thirty (30) days or are born after my death (Residual Survivors), then the Residual Survivors shall receive in equal shares the portion the deceased beneficiary would have received had the Survivor survived to attain a vested interest.

@endif @if($beneficiary_backup['charity_or_church']!=null)

{{ $beneficiary_backup['charity_or_church']['full_name'] }} of @if($beneficiary_backup['charity_or_church']['email']!=null) {{ $beneficiary_backup['charity_or_church']['email']}} @endif @if($beneficiary_backup['charity_or_church']['phone_number']!=null) {{ $beneficiary_backup['charity_or_church']['phone_number']}} @endif @if($beneficiary_backup['charity_or_church']['address']!=null) {{ $beneficiary_backup['charity_or_church']['address']}} @endifabsolutely. if {{ $beneficiary_backup['charity_or_church']['full_name'] }} cannot receive a vested interest in my Residual Estate, then I direct my Executors to gift my Residual Estate to a similar organisation that my Executors consider most nearly fulfils the objects I intend to benefit.

@endif
@endif @if($beneficiary['charity_or_church']!=null)

{{$i}}.{{$j}}

If {{ $beneficiary['charity_or_church']['full_name'] }} of @if($beneficiary['charity_or_church']['email']!=null) {{ $beneficiary['charity_or_church']['email']}} @endif @if($beneficiary['charity_or_church']['phone_number']!=null) {{ $beneficiary['charity_or_church']['phone_number']}} @endif @if($beneficiary['charity_or_church']['address']!=null) {{ $beneficiary['charity_or_church']['address']}} @endif, cannot receive a vested interest in my Residual Estate, then I direct my Executors to gift my Residual Estate to a similar organisation that my Executors consider most nearly fulfils the objects I intend to benefit.

@endif @php $j++; @endphp @endforeach @if(!$assets->isEmpty()) @php $i++; $j=1; @endphp @endif @php $i++; $j=1; $k=1; @endphp

{{$i}}. Final Wishes

{{$i}}.{{$j}}     It is my wish that:

{{$i}}.{{$j}}.{{$k}}.     My body to be @if($final_wishes->funeral == 'let_family_decide') left for my family to decide @elseif($final_wishes->funeral == 'burial') buried @elseif($final_wishes->funeral == 'cremation') cremated @else donate to science @endif in accordance with any wishes I may have made known to my Executors.

@php $j++; @endphp

{{$i}}. Assets

@php $j++; @endphp @foreach($assets as $assets) @php $j++; @endphp @endforeach

{{$i}}.{{$j}}.

{{$first_name}} {{$middle_name }} {{$last_name }} leaves the following information for my Executors to exercise their powers under this Will to ensure that my assets can be located that form my Estate.

{{$i}}.{{$j}}

My {{ $assets->type }}. Message: {{ $assets->locate_asset }}

{{$i}}.{{$j}}.

Further instructions include: {{ $final_wishes->final_message }}

@php $i++; $j=1; @endphp

{{$i}}. Specific powers of the Executors

{{$i}}.{{$j}}.

In addition to and without limiting the generality of the general powers referred to in the preceding clauses or in addition to any other powers authorised by law, my Executors will have the following specific powers:

(a)

open any account with any bank and to operate such bank account or to close any account;

(b)

sell, lease, exchange, convert or dispose of any assets of my Estate by any means or postpone the sale, exchange, lease, disposal or conversion of any assets or parts of my Estate for so long as my Executors will think fit without being responsible for any loss;

(c)

select and maintain investments and change such investments as my Executors consider appropriate whether or not such investments are deemed by law to be prudent or appropriate, including the power to invest in unsecured or secured loans, interest bearing or interest- free loans or other income producing or non-income-producing assets;

(d)

acquire or lease assets for occupation, use or enjoyment by a beneficiary (including any persons who reside with the beneficiary);

(e)

allow any beneficiary to occupy, have custody of or use any real or personal property for the time being forming part of the Estate on such terms and conditions my Executors consider appropriate without being responsible for any loss;

(f)

pay any income and/or capital or transfer any assets of my Estate for the maintenance, support, education, advancement or benefit of any beneficiary, contingent beneficiaries or a person considered by my Executors to be a beneficiary, including the power to make payment to any parents or guardians of any minor, incapacitated beneficiary

(g)

invest, reinvest, hold, use, surrender, partition, dispose, let, lease, sub-lease, take and grant options or rights in, or otherwise deal with any income, interest, profit, capital gain, real or personal property of the Estate and including, but not limited to, shares, units, debentures or securities of any company or trust, bonds, convertible notes, safe notes, bills of exchange, or deposits with any bank, credit union, public body, trust or company;

(h)

make loans to any beneficiary or any person or company associated with any beneficiary on whatever terms my Executors consider appropriate;

(i)

provide guarantees or indemnities for the benefit of my Estate or any beneficiary and to secure such guarantees or indemnities by mortgaging, pledging or charging any of the assets of my Estate;

(j)

borrow or raise moneys from any persons or entity for the benefit of my Estate or any beneficiary either with or without giving security and enter into any mortgage, charge, grant a security interest, lien, pledge or otherwise encumber any of the assets of my Estate;

(k)

discontinue or continue, or acquire and carry on, any interest in any business or to commence and carry on any business, either alone, in partnership or on a corporate basis anywhere in the world, and to appoint, engage or employ any person or entity including themselves in the conduct of such business;

(l)

act as directors of any companies in which my Estate or any fund arising from my Estate holds or is entitled to hold shares, including exercising such voting rights as my Executors consider appropriate without being responsible for any loss;

(m)

take out, effect or maintain any insurance policies for the benefit of my Estate or any beneficiary, and apply or convert any insurance money or proceeds for the benefit of my Estate or any beneficiary;

(n)

maintain, repair, improve, develop, alter or renovate the whole or any part of my Estate as my Executors consider appropriate;

(o)

enter into any lease, sub-licence or licence or lease or licence any part of my Estate for the benefit of my Estate or any beneficiary on whatever terms my Executors consider appropriate;

(p)

determine or calculate the value of any income, capital or assets of my Estate accordance with acceptable taxation or accounting standards;

(q)

use income and/or capital from my Estate for the benefit of my Estate or any beneficiary on whatever terms my Executors consider appropriate;

(q)

use income and/or capital from my Estate for the benefit of my Estate or any beneficiary on whatever terms my Executors consider appropriate;

(r)

use income and/or capital from my Estate to pay any debts, duties, liabilities or taxes levied on my Estate, including tax arising from the disposal or distribution of any assets of my Estate;

(s)

access, download, delete, convert and make backups of any digital or electronic assets stored on any computer device or cloud-based server or database;

(t)

purchase any part of my Estate at a value determined by an independent and qualified valuer and on terms that would be granted to an arm’s length purchaser from my Estate; and

(u)

devolve or restrict in writing (whether on a temporary or permanent basis) any of the preceding powers.

@php $j++; @endphp

{{$i}}.{{$j}}.

My Executors may engage or employ any contractor, solicitor, accountant, employee, agent or other professional advisors to transact any business or do any act required to be transacted or done in the administration and execution of my Estate, and my Executors may act upon the advice received from any contractor, solicitor, accountant, employee, agent or other professional advisors without being liable in respect of any such act done by my Executors in accordance with such advice. All reasonable expenses incurred in engaging any contractor, solicitor, accountant, employee, agent or other professional advisors will be paid out of my Estate.

@php $j++; @endphp

{{$i}}.{{$j}}.

My Executors will not be personally liable and are entitled to be indemnified out of the assets of my Estate, for any loss incurred in connection with the administration or execution of my Estate or any failure by my Executors to exercise any of the Executors’ powers granted to them under this Will or at law, except that my Executors will not be entitled to be indemnified by my Estate in circumstances where my Executors have acted dishonestly, fraudulently or engaged in any act or omission the Executors knew or ought to know was a breach of relevant probate laws.

@php $i++; $j=1;@endphp

{{$i}}. Definitions and interpretation

@php $i++; $j=1; @endphp

{{$i}}. Disclaimer of an Interest under this Will

{{$i}}.{{$j}}.

In the event that a beneficiary disclaims all or any part of the assets that would otherwise be distributed to the beneficiary under this Will, the assets to which the disclaimer relates will, for the purposes of this Will, be dealt with by my Executors as if the beneficiary had not survived me by thirty (30) days.

@php $i++; $j=1; @endphp

{{$i}}. Entitlement to charge

{{$i}}.{{$j}}.

If any Executor is a lawyer, chartered accountant or other professional, then my Executor may act in a professional capacity and shall be entitled to charge and to be paid all professional and other charges for all work performed for, and on behalf of, my Estate by them, their firm or business (regardless of whether such work could have performed by them in their personal capacity).

{{$i}}.{{$j}}.    In this my last Will, the term:

(a)

Child/Children mean the children of the beneficiary and or Testator (including legally adopted children) but exclude stepchildren and foster children.

(b)

Spouse means the Testator’s husband/wife or de facto relationship of which they were living together as a couple on a genuine domestic basis.

(c)

Estate includes both real and personal property;

(d)

Executors means my executors or legal personal representatives for the time being, and Executor shall have a corresponding meaning;

This Will is made on the ———————— day of the month of ———————— in the year ———————— .

Signed by the Willmaker (Testator),
{{ $first_name }} {{ $middle_name }} {{ $last_name }}
in our presence and signed by us
in their presence and the presence of each other:

…………………………………
Signature of {{ $first_name }} {{ $middle_name }} {{ $last_name }}

Witness 1 Witness 2
Signature of Witness 1 Signature of Witness 2
Full Name of Witness 1 Full Name of Witness 2
Address of Witness 1 Address of Witness 2
Occupation Occupation
Date Date
aruljames678 commented 2 years ago

yes i have same issue

anand1330 commented 2 years ago

in my case, pdf render like below https://www.awesomescreenshot.com/image/16102650?key=6bee131f1547ec94e2137d0033f1242b Please help me! ThankYou

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any issues with PDF rendering itself that are not directly related to this package, should be reported on https://github.com/dompdf/dompdf instead. When having doubts, please try to reproduce the issue with just dompdf. If you believe this is an actual issue with the latest version of laravel-dompdf, please reply to this issue so we can investigate further. Thank you for your contribution! Apologies for any delayed response on our side.