@php $pdfLocale = app()->getLocale(); $isRtl = $pdfLocale === 'ar'; @endphp Contract - {{ $contract['contract_number'] }} @php $contractPdfCssPath = public_path('css/contract_pdf.css'); @endphp @if (is_file($contractPdfCssPath) && is_readable($contractPdfCssPath)) @endif
Contract
{{ $contract['contract_number'] }}
@if(!empty($contract['project_name'])) @endif
Field Value
Subject{{ $contract['subject'] }}
Customer{{ $contract['customer_name'] }}
Project{{ $contract['project_name'] }}
Value (USD){{ $contract['value_formatted'] }}
Type{{ $contract['type'] ?? '-' }}
Start Date{{ $contract['start_date'] }}
End Date{{ $contract['end_date'] }}
Status{{ ucfirst($contract['status']) }}
@if(!empty($contract['description']))
Description
{{ $contract['description'] }}
@endif @if($contract['signer_name'] || $contract['signed_at'] || $contract['signed_ip'])
Signature
@if($contract['signer_name'])
Signed by: {{ $contract['signer_name'] }}
@endif @if($contract['signed_at'])
Date: {{ $contract['signed_at'] }}
@endif @if($contract['signed_ip'])
IP: {{ $contract['signed_ip'] }}
@endif
@endif