2021-06-12 23:44:02 +02:00
|
|
|
@php
|
|
|
|
$primary_color = isset($settings) ? $settings->primary_color : '#4caf50';
|
|
|
|
@endphp
|
|
|
|
|
2021-06-10 11:23:10 +02:00
|
|
|
<!DOCTYPE html
|
|
|
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
|
|
|
<meta name="color-scheme" content="light dark">
|
|
|
|
<meta name="supported-color-schemes" content="light dark">
|
|
|
|
|
|
|
|
<style>
|
|
|
|
@import url("https://use.typekit.net/zxn7pho.css");
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style type="text/css">
|
|
|
|
:root {
|
|
|
|
color-scheme: light dark;
|
|
|
|
supported-color-schemes: light dark;
|
|
|
|
}
|
|
|
|
|
2022-03-17 01:39:00 +01:00
|
|
|
@media screen and (prefers-color-scheme: light ) {
|
2021-06-10 11:23:10 +02:00
|
|
|
|
|
|
|
/** Content-specific styles. **/
|
|
|
|
#content .button {
|
|
|
|
display: inline-block;
|
2021-06-12 23:44:02 +02:00
|
|
|
background-color: {{ $primary_color }};
|
2021-06-10 11:23:10 +02:00
|
|
|
color: #ffffff;
|
|
|
|
text-transform: uppercase;
|
|
|
|
letter-spacing: 2px;
|
|
|
|
text-decoration: none;
|
|
|
|
font-size: 13px;
|
|
|
|
padding: 15px 50px;
|
|
|
|
font-weight: 600;
|
|
|
|
margin-bottom: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#content h1 {
|
|
|
|
font-family: 'canada-type-gibson', 'roboto', Arial, Helvetica, sans-serif;
|
|
|
|
font-weight: 600;
|
|
|
|
font-size: 32px;
|
|
|
|
margin-top: 20px;
|
|
|
|
margin-bottom: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#content > p {
|
|
|
|
font-size: 16px;
|
|
|
|
font-family: 'roboto', Arial, Helvetica, sans-serif;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
|
|
|
#content .center {
|
|
|
|
text-align: center;
|
|
|
|
}
|
2021-06-23 10:47:41 +02:00
|
|
|
|
|
|
|
#content .left {
|
|
|
|
text-align: left !important;
|
|
|
|
}
|
2022-03-17 01:39:00 +01:00
|
|
|
|
|
|
|
.body_style {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
font-family: 'roboto', Arial, Helvetica, sans-serif;
|
|
|
|
color: #3b3b3b;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
}
|
|
|
|
|
|
|
|
.logo-container {
|
|
|
|
border: 1px solid #c2c2c2;
|
|
|
|
border-bottom: none;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
border-top-left-radius: 3px;
|
|
|
|
border-top-right-radius: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.logo-style {
|
|
|
|
margin-top: 40px;
|
|
|
|
height: 40px;
|
|
|
|
display: block;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.buffer {
|
|
|
|
text-align: center;
|
|
|
|
margin-top: 25px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#content {
|
|
|
|
border: 1px solid #c2c2c2;
|
|
|
|
border-top: none;
|
|
|
|
border-bottom: none;
|
|
|
|
padding: 20px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.link-button {
|
|
|
|
display: inline-block;
|
|
|
|
background-color: {{ $primary_color }};
|
|
|
|
color: #ffffff;
|
|
|
|
text-transform: uppercase;
|
|
|
|
letter-spacing: 2px;
|
|
|
|
text-decoration: none;
|
|
|
|
font-size: 13px;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
.signature_container {
|
|
|
|
text-align: center;
|
|
|
|
padding-top: 10px;
|
|
|
|
padding-bottom: 25px;
|
|
|
|
background-color: #f9f9f9;
|
|
|
|
border: 1px solid #c2c2c2;
|
|
|
|
border-top: none;
|
|
|
|
border-bottom-color: #f9f9f9;
|
|
|
|
}
|
|
|
|
|
|
|
|
.signature {
|
|
|
|
font-size: 15px;
|
|
|
|
color: #2e2e2e;
|
|
|
|
font-family: 'roboto', Arial, Helvetica, sans-serif;
|
|
|
|
font-weight: 400;
|
|
|
|
margin-bottom: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer {
|
|
|
|
padding-top: 10px;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
background-color: #242424;
|
|
|
|
border: 1px solid #c2c2c2;
|
|
|
|
border-top-color: #242424;
|
|
|
|
border-bottom-color: #242424;
|
|
|
|
}
|
|
|
|
|
|
|
|
.copyright {
|
|
|
|
text-align: center;
|
|
|
|
color: #ffffff;
|
|
|
|
font-size: 10px;
|
|
|
|
font-family: Verdana, Geneva, Tahoma, sans-serif;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dark-bg-base {
|
|
|
|
background-color: #242424 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dark-bg {
|
|
|
|
background-color: #242424 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (prefers-color-scheme: dark ) {
|
|
|
|
|
|
|
|
:root {
|
|
|
|
background-color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.body-style {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
font-family: 'roboto', Arial, Helvetica, sans-serif;
|
|
|
|
color: #3b3b3b;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
background-color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dark-bg-base {
|
|
|
|
background-color: #fff !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dark-bg {
|
|
|
|
background-color: #fff !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#content .button {
|
|
|
|
display: inline-block;
|
|
|
|
background-color: {{ $primary_color }};
|
|
|
|
color: #ffffff;
|
|
|
|
text-transform: uppercase;
|
|
|
|
letter-spacing: 2px;
|
|
|
|
text-decoration: none;
|
|
|
|
font-size: 13px;
|
|
|
|
padding: 15px 50px;
|
|
|
|
font-weight: 600;
|
|
|
|
margin-bottom: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2021-06-10 11:23:10 +02:00
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
|
2022-03-17 01:39:00 +01:00
|
|
|
<body class="body-style">
|
2021-06-10 11:23:10 +02:00
|
|
|
<table role="presentation" border="0" cellpadding="0" cellspacing="0" width="100%">
|
|
|
|
<tr>
|
|
|
|
<td>
|
2022-03-17 01:39:00 +01:00
|
|
|
<table align="center" border="0" cellpadding="0" cellspacing="0" width="570" style="border-collapse: collapse;" class="dark-bg-base">
|
2021-06-10 11:23:10 +02:00
|
|
|
<tr>
|
2022-03-17 01:39:00 +01:00
|
|
|
<div class="buffer"></div>
|
2021-06-10 11:23:10 +02:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>
|
2022-03-17 01:39:00 +01:00
|
|
|
<div class="logo-container">
|
2021-06-10 11:23:10 +02:00
|
|
|
|
2022-03-17 01:39:00 +01:00
|
|
|
<img class="logo-style" alt="" src="{{ $logo ?? '' }}"/>
|
2021-06-10 11:23:10 +02:00
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>
|
2022-03-17 01:39:00 +01:00
|
|
|
<div id="content">
|
2021-06-11 15:52:28 +02:00
|
|
|
<div style="padding-top: 10px;"></div>
|
2021-06-10 11:23:10 +02:00
|
|
|
|
2021-06-15 15:42:37 +02:00
|
|
|
{{ $slot ?? '' }}
|
|
|
|
{!! $body ?? '' !!}
|
2021-06-11 15:52:28 +02:00
|
|
|
|
|
|
|
<div>
|
2022-03-17 01:39:00 +01:00
|
|
|
<a href="#" class="link-button">
|
2021-06-11 15:52:28 +02:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-06-10 11:23:10 +02:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td>
|
2022-03-17 01:39:00 +01:00
|
|
|
<div class="dark-bg dark-text-white signature_container" >
|
2021-06-23 10:47:41 +02:00
|
|
|
@isset($signature)
|
2022-03-17 01:39:00 +01:00
|
|
|
<p class="signature">
|
2021-06-23 10:47:41 +02:00
|
|
|
{!! nl2br($signature) !!}
|
|
|
|
</p>
|
|
|
|
@endisset
|
|
|
|
|
|
|
|
@if(isset($company) && $company instanceof \App\Models\Company)
|
2022-03-17 01:39:00 +01:00
|
|
|
<p class="signature" style="margin-bottom:0;">
|
2021-06-23 10:47:41 +02:00
|
|
|
{{ $company->present()->name() }}</p>
|
2022-03-17 01:39:00 +01:00
|
|
|
<p class="signature" style="margin-top: 5px;">
|
2021-06-23 10:47:41 +02:00
|
|
|
<span>{{ $company->settings->phone }}</span>
|
|
|
|
<span style="font-weight: 500"> {{ $company->settings->website }}</span>
|
|
|
|
</p>
|
|
|
|
@endif
|
2021-06-10 11:23:10 +02:00
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td>
|
2022-03-17 01:39:00 +01:00
|
|
|
<div class="dark-bg-base footer">
|
2021-06-18 13:43:29 +02:00
|
|
|
@if(isset($company))
|
|
|
|
@if($company->account->isPaid())
|
2022-03-17 01:39:00 +01:00
|
|
|
<p class="copyright">© {{ date('Y') }} {{ $company->present()->name() }}, All Rights Reserved</p>
|
2021-06-18 13:43:29 +02:00
|
|
|
@else
|
2022-03-17 01:39:00 +01:00
|
|
|
<p class="copyright">
|
2021-06-18 13:43:29 +02:00
|
|
|
© {{ date('Y') }} Invoice Ninja, All Rights Reserved
|
|
|
|
</p>
|
|
|
|
@endif
|
2021-06-11 15:52:28 +02:00
|
|
|
@else
|
2022-03-17 01:39:00 +01:00
|
|
|
<p class="copyright">
|
2021-06-11 15:52:28 +02:00
|
|
|
© {{ date('Y') }} Invoice Ninja, All Rights Reserved
|
|
|
|
</p>
|
2021-06-10 11:23:10 +02:00
|
|
|
@endif
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</body>
|
|
|
|
</html>
|