@php $common = new App\Models\Common(); $agreement_content = $sell->branch->agreement_content; $agreement_terms_conditions = $sell->branch->agreement_terms_conditions; $content = $common->content_replace($agreement_content,$sell->id); $terms_conditions = $common->content_replace($agreement_terms_conditions,$sell->id); @endphp Document Print

SALE AGREEMENT

{!! $content !!}
@if (!empty($agreement_terms_conditions))

OTHER TERMS AND CONDITIONS

{!! $terms_conditions !!}
@endif