@props([ 'export' => false, 'loadScript' => false, 'dataReplace' => [], 'isReplace' => false ]) @extends('report.layout') @section('title', $agreement->name) @section('type', $agreement->name) @push('style') @endpush @if($agreement->isAccepted()) @section('header_info') @lang('lang.date.date'): {{ DateHelper::format($agreement->accepted_at) }}
@endsection @endif @section('client_info') @include('report.partial.client-info', ['client' => $client])
@endsection @section('project_info') @include('report.partial.project-info', ['project' => $project]) @endsection @section('content')
@php $content = $agreement->description; if ($isReplace) { $content = $agreement->replaceMatches($dataReplace); } @endphp @if($agreement->isPending() || $agreement->isTemplate())
@csrf @endif {!! $content !!} @if(($agreement->isPending() || $agreement->isTemplate()) && $isReplace)
@push('script') @endpush @elseif($agreement->isAccepted())

{{ __('lang.signature.signature') }}

signature
@endif @endsection