mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Update new designs
This commit is contained in:
parent
f5cc1f0d22
commit
5b67a547d9
@ -128,5 +128,9 @@ return [
|
||||
'system' => [
|
||||
'node_path' => env('NODE_PATH', false),
|
||||
'npm_path' => env('NPM_PATH', false)
|
||||
]
|
||||
],
|
||||
'designs' => [
|
||||
'base_path' => resource_path('views/pdf-designs'),
|
||||
'templates' => ['bold', 'business', 'clean', 'creative', 'elegant', 'hipster', 'modern', 'plain', 'playful'],
|
||||
],
|
||||
];
|
||||
|
138
resources/views/pdf-designs/new/bold.html
Normal file
138
resources/views/pdf-designs/new/bold.html
Normal file
@ -0,0 +1,138 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
</head>
|
||||
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
body {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
@media print {
|
||||
body {
|
||||
margin-top: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
.header-wrapper {
|
||||
display: grid;
|
||||
grid-template-columns: 1.5fr 1fr 1fr;
|
||||
background-color: #2d2c2a;
|
||||
padding: 3rem;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.company-logo {
|
||||
height: 6rem;
|
||||
padding: 2rem;
|
||||
background-color: white;
|
||||
margin: 2rem;
|
||||
margin-top: -4rem;
|
||||
}
|
||||
|
||||
#company-details,
|
||||
#company-address {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
#client-details {
|
||||
margin: 2rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
#client-details > :first-child {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.client-entity-wrapper {
|
||||
display: grid;
|
||||
grid-template-columns: 1.5fr 1fr;
|
||||
}
|
||||
|
||||
.entity-details-wrapper {
|
||||
background-color: #35a39a;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
#entity-details {
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
color: white !important;
|
||||
}
|
||||
#entity-details > tr,
|
||||
#entity-details th {
|
||||
font-weight: normal;
|
||||
padding-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
#product-table {
|
||||
min-width: 100%;
|
||||
table-layout: fixed;
|
||||
overflow-wrap: break-word;
|
||||
margin-top: 3rem;
|
||||
}
|
||||
#product-table > thead {
|
||||
text-align: left;
|
||||
}
|
||||
#product-table > thead > tr > th {
|
||||
padding: 2rem;
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
#product-table > tbody > tr > td {
|
||||
padding: 1.5rem;
|
||||
}
|
||||
#product-table > tbody > tr > td:first-child {
|
||||
font-weight: bold;
|
||||
}
|
||||
#product-table > tbody > tr:nth-child(odd) {
|
||||
background-color: #ebebeb;
|
||||
}
|
||||
#product-table > tfoot > tr > td {
|
||||
padding: 1.5rem;
|
||||
}
|
||||
#product-table > tfoot [data-element='balance-due-label'],
|
||||
#product-table > tfoot [data-element='balance-due'] {
|
||||
font-weight: bold;
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
#product-table > tfoot [data-element='balance-due'] {
|
||||
color: #35a39a;
|
||||
}
|
||||
</style>
|
||||
|
||||
<body>
|
||||
<div class="header-wrapper">
|
||||
<div> <!-- Empty space placeholder--> </div>
|
||||
|
||||
<div id="company-details"></div>
|
||||
<div id="company-address"></div>
|
||||
</div>
|
||||
|
||||
<img
|
||||
class="company-logo"
|
||||
src="$company.logo"
|
||||
alt="$company.name logo"
|
||||
/>
|
||||
|
||||
<div class="client-entity-wrapper">
|
||||
<div id="client-details" cellspacing="0"></div>
|
||||
|
||||
<div class="entity-details-wrapper">
|
||||
<table id="entity-details"></table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<table id="product-table" cellspacing="0"></table>
|
||||
</body>
|
||||
</html>
|
163
resources/views/pdf-designs/new/business.html
Normal file
163
resources/views/pdf-designs/new/business.html
Normal file
@ -0,0 +1,163 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
|
||||
<style>
|
||||
body {
|
||||
margin: 2rem;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
.header-container {
|
||||
display: grid;
|
||||
grid-template-columns: 1.8fr 1fr 1fr;
|
||||
grid-gap: 20px;
|
||||
}
|
||||
.header-container > span {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.company-logo {
|
||||
height: 4rem;
|
||||
}
|
||||
|
||||
#company-details {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
color: #b1b1b1;
|
||||
}
|
||||
#company-details > * {
|
||||
margin-bottom: 0.8rem;
|
||||
}
|
||||
|
||||
#company-address {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
color: #b1b1b1;
|
||||
}
|
||||
#company-address > * {
|
||||
margin-bottom: 0.8rem;
|
||||
}
|
||||
|
||||
.entity-issued-to {
|
||||
margin-top: 3rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.client-and-entity-wrapper {
|
||||
display: grid;
|
||||
grid-template-columns: 2fr 1.5fr;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
#client-details {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
color: #ec782f;
|
||||
}
|
||||
#client-details > * {
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
#client-details > span:nth-child(1) {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#entity-details {
|
||||
background-color: #ec782f;
|
||||
padding: 0.8rem;
|
||||
border-radius: 1rem;
|
||||
width: 100%;
|
||||
color: white;
|
||||
text-align: left;
|
||||
}
|
||||
#entity-details th {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
#product-table {
|
||||
margin-top: 3.5rem;
|
||||
min-width: 100%;
|
||||
table-layout: fixed;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
#product-table > thead {
|
||||
text-align: left;
|
||||
background: #394e6b;
|
||||
}
|
||||
#product-table > thead > tr > th {
|
||||
padding: 1rem;
|
||||
color: white;
|
||||
font-weight: semibold;
|
||||
}
|
||||
#product-table > thead > tr > th:first-child {
|
||||
border-top-left-radius: 1rem;
|
||||
}
|
||||
#product-table > thead > tr > th:last-child {
|
||||
border-top-right-radius: 1rem;
|
||||
}
|
||||
#product-table > tbody > tr > td {
|
||||
padding: 1rem;
|
||||
}
|
||||
#product-table > tbody > tr:nth-child(odd) > td {
|
||||
background: #e8e8e8;
|
||||
}
|
||||
#product-table > tbody > tr:nth-child(even) > td {
|
||||
background: #f7f7f7;
|
||||
}
|
||||
#product-table > tfoot > tr > td {
|
||||
padding: 1rem;
|
||||
background: #e8e8e8;
|
||||
}
|
||||
#product-table > tfoot > tr:nth-last-child(1) > td:first-child {
|
||||
border-bottom-left-radius: 1rem;
|
||||
}
|
||||
#product-table > tfoot > tr:nth-last-child(1) > td:last-child {
|
||||
border-bottom-right-radius: 1rem;
|
||||
}
|
||||
#product-table > tfoot > td {
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
[data-element='product-table-balance-due-label'],
|
||||
[data-element='product-table-balance-due'] {
|
||||
color: #394e6b !important;
|
||||
font-weight: bold !important;
|
||||
}
|
||||
|
||||
@media print {
|
||||
body {
|
||||
margin-top: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="header-container">
|
||||
<img
|
||||
src="$company.logo"
|
||||
class="company-logo"
|
||||
alt="$company.name logo"
|
||||
/>
|
||||
|
||||
<div id="company-details"></div>
|
||||
<div id="company-address"></div>
|
||||
</div>
|
||||
|
||||
<p class="entity-issued-to">$entity_issued_to_label:</p>
|
||||
<div class="client-and-entity-wrapper">
|
||||
<div id="client-details"></div>
|
||||
|
||||
<div class="entity-details-wrapper">
|
||||
<table id="entity-details" cellspacing="0"></table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<table id="product-table" cellspacing="0"></table>
|
||||
</body>
|
||||
</html>
|
135
resources/views/pdf-designs/new/clean.html
Normal file
135
resources/views/pdf-designs/new/clean.html
Normal file
@ -0,0 +1,135 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
|
||||
<style>
|
||||
body {
|
||||
margin: 2rem;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
@media print {
|
||||
body {
|
||||
margin-top: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
.header-container {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 1fr;
|
||||
gap: 20px;
|
||||
}
|
||||
.header-container .company-logo {
|
||||
height: 4rem;
|
||||
}
|
||||
|
||||
#company-details {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
color: #9f9f9f;
|
||||
}
|
||||
#company-details > span:first-child {
|
||||
color: #67b1cc;
|
||||
}
|
||||
|
||||
#company-address {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
color: #9f9f9f;
|
||||
}
|
||||
|
||||
.entity-label {
|
||||
text-transform: uppercase;
|
||||
margin-top: 3.5rem;
|
||||
font-weight: semibold;
|
||||
color: #67b1cc;
|
||||
}
|
||||
|
||||
.client-and-entity-wrapper {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
padding-left: 1rem;
|
||||
padding-right: 1rem;
|
||||
padding-top: 1rem;
|
||||
padding-bottom: 1rem;
|
||||
border-top: 1px solid #9f9f9f;
|
||||
border-bottom: 1px solid #9f9f9f;
|
||||
}
|
||||
|
||||
#entity-details {
|
||||
text-align: left;
|
||||
}
|
||||
#entity-details > tr,
|
||||
#entity-details th {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
#client-details {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
#client-details > :first-child {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#product-table {
|
||||
margin-top: 3rem;
|
||||
min-width: 100%;
|
||||
table-layout: fixed;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
#product-table > thead {
|
||||
text-align: left;
|
||||
}
|
||||
#product-table > thead > tr > th {
|
||||
font-size: 1.1rem;
|
||||
padding-bottom: 1.5rem;
|
||||
padding-left: 1rem;
|
||||
}
|
||||
#product-table > tbody > tr > td {
|
||||
border-bottom: 1px solid #9f9f9f;
|
||||
padding: 1rem;
|
||||
}
|
||||
#product-table > tbody > tr > td:first-child {
|
||||
color: #67b1cc;
|
||||
}
|
||||
#product-table > tbody > tr:nth-child(odd) {
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
#product-table > tfoot > tr > td {
|
||||
padding: 1rem;
|
||||
}
|
||||
#product-table > tfoot [data-element='balance-due'] {
|
||||
color: #67b1cc;
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="header-container">
|
||||
<img
|
||||
class="company-logo"
|
||||
src="$company.logo"
|
||||
alt="$company.name logo"
|
||||
/>
|
||||
|
||||
<div id="company-details"></div>
|
||||
<div id="company-address"></div>
|
||||
</div>
|
||||
|
||||
<p class="entity-label">$entity_label</p>
|
||||
<div class="client-and-entity-wrapper">
|
||||
<table id="entity-details" cellspacing="0"></table>
|
||||
|
||||
<div id="client-details"></div>
|
||||
</div>
|
||||
|
||||
<!-- product_table -->
|
||||
<table id="product-table" cellspacing="0"></table>
|
||||
</body>
|
||||
</html>
|
134
resources/views/pdf-designs/new/creative.html
Normal file
134
resources/views/pdf-designs/new/creative.html
Normal file
@ -0,0 +1,134 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
body {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
@media print {
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
body {
|
||||
margin: 2rem;
|
||||
}
|
||||
|
||||
.header-wrapper {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 1fr;
|
||||
gap: 20px;
|
||||
}
|
||||
.header-wrapper .company-logo {
|
||||
height: 5rem;
|
||||
}
|
||||
.header-wrapper #client-details,
|
||||
.header-wrapper #company-details,
|
||||
.header-wrapper #company-address {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.header-wrapper #client-details > *:first-child {
|
||||
font-weight: bold;
|
||||
}
|
||||
.header-wrapper .company-info-wrapper > * {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.entity-label-wrapper {
|
||||
display: grid;
|
||||
grid-template-columns: 2fr 1fr;
|
||||
margin-top: 3rem;
|
||||
}
|
||||
.entity-label-wrapper .entity-label > * {
|
||||
font-size: 3rem;
|
||||
}
|
||||
.entity-label-wrapper .entity-label > *:first-child {
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.entity-label-wrapper .entity-label > *:last-child {
|
||||
color: #b21c53;
|
||||
font-style: italic;
|
||||
}
|
||||
.entity-label-wrapper #entity-details {
|
||||
text-align: left;
|
||||
}
|
||||
.entity-label-wrapper #entity-details > tr,
|
||||
.entity-label-wrapper #entity-details th {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
#product-table {
|
||||
margin-top: 3rem;
|
||||
min-width: 100%;
|
||||
table-layout: fixed;
|
||||
overflow-wrap: break-word;
|
||||
border-top: 5px solid #b21c53;
|
||||
}
|
||||
#product-table > thead {
|
||||
text-align: left;
|
||||
}
|
||||
#product-table > thead > tr > th {
|
||||
font-size: 1.1rem;
|
||||
padding: 1rem;
|
||||
}
|
||||
#product-table > tbody > tr > td {
|
||||
padding: 1rem;
|
||||
}
|
||||
#product-table > tbody > tr:nth-child(odd) {
|
||||
background-color: #e8e8e8;
|
||||
}
|
||||
#product-table > tfoot > tr > td {
|
||||
padding: 1rem;
|
||||
}
|
||||
#product-table > tfoot > tr:last-child > td {
|
||||
border-top: 5px solid #b21c53;
|
||||
}
|
||||
#product-table > tfoot [data-element='product-table-balance-due'] {
|
||||
color: #b21c53;
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body class="background">
|
||||
<div class="header-wrapper">
|
||||
<div id="client-details"></div>
|
||||
|
||||
<div class="company-info-wrapper">
|
||||
<div id="company-details"></div>
|
||||
<div id="company-address"></div>
|
||||
</div>
|
||||
|
||||
<img
|
||||
class="company-logo"
|
||||
src="$company.logo"
|
||||
alt="$company.name logo"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div class="entity-label-wrapper">
|
||||
<h1 class="entity-label">
|
||||
<span>$entity_label</span>
|
||||
<span>#$entity_number</span>
|
||||
</h1>
|
||||
|
||||
<table id="entity-details" cellspacing="0"></table>
|
||||
</div>
|
||||
|
||||
<table id="product-table" cellspacing="0"></table>
|
||||
</body>
|
||||
</html>
|
160
resources/views/pdf-designs/new/elegant.html
Normal file
160
resources/views/pdf-designs/new/elegant.html
Normal file
@ -0,0 +1,160 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
body {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
@media print {
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
body {
|
||||
margin: 2rem;
|
||||
}
|
||||
|
||||
.company-logo-wrapper {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
padding-bottom: 2.5rem;
|
||||
border-bottom: 4px solid;
|
||||
}
|
||||
.company-logo-wrapper .company-logo {
|
||||
height: 5rem;
|
||||
}
|
||||
|
||||
.double-border {
|
||||
margin-top: 3px;
|
||||
border-color: black;
|
||||
}
|
||||
|
||||
.client-entity-wrapper {
|
||||
display: grid;
|
||||
grid-template-columns: 1.8fr 1.2fr;
|
||||
margin-top: 3rem;
|
||||
gap: 10px;
|
||||
}
|
||||
.client-entity-wrapper .wrapper-info-text {
|
||||
display: block;
|
||||
font-size: 1.5rem;
|
||||
font-weight: normal;
|
||||
}
|
||||
.client-entity-wrapper .wrapper-left-side {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
}
|
||||
.client-entity-wrapper .wrapper-left-side #client-details,
|
||||
.client-entity-wrapper .wrapper-left-side #company-details,
|
||||
.client-entity-wrapper .wrapper-left-side #company-address {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
.client-entity-wrapper .wrapper-left-side .company-info {
|
||||
border-left: 1px solid;
|
||||
padding-left: 1rem;
|
||||
}
|
||||
.client-entity-wrapper #entity-details {
|
||||
text-align: left;
|
||||
margin-top: 0.5rem;
|
||||
min-width: 100%;
|
||||
}
|
||||
.client-entity-wrapper #entity-details > tr,
|
||||
.client-entity-wrapper #entity-details th {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
#product-table {
|
||||
margin-top: 3rem;
|
||||
min-width: 100%;
|
||||
table-layout: fixed;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
#product-table > thead {
|
||||
text-align: left;
|
||||
}
|
||||
#product-table > thead > tr > th {
|
||||
font-size: 1.1rem;
|
||||
padding-bottom: 1.5rem;
|
||||
padding-left: 1rem;
|
||||
color: #396d49;
|
||||
font-weight: medium;
|
||||
}
|
||||
#product-table > tbody > tr > td {
|
||||
border-bottom: 1px solid;
|
||||
padding: 1rem;
|
||||
}
|
||||
#product-table > tfoot > tr > td {
|
||||
padding: 1rem;
|
||||
}
|
||||
#product-table
|
||||
> tfoot
|
||||
[data-element='product-table-balance-due-label'],
|
||||
#product-table > tfoot [data-element='product-table-balance-due'] {
|
||||
border-top: 1px solid;
|
||||
border-bottom: 1px solid;
|
||||
}
|
||||
|
||||
.thanks-label {
|
||||
text-align: center;
|
||||
margin-top: 6rem;
|
||||
font-size: 1.5rem;
|
||||
font-weight: bold;
|
||||
padding-bottom: 1rem;
|
||||
border-bottom: 4px solid;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="company-logo-wrapper">
|
||||
<img
|
||||
class="company-logo"
|
||||
src="$company.logo"
|
||||
alt="$company.name logo"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<hr class="double-border" />
|
||||
|
||||
<div class="client-entity-wrapper">
|
||||
<div class="wrapper-left-side">
|
||||
<div class="text-with-client">
|
||||
<h2 class="wrapper-info-text">$balance_due_label</h2>
|
||||
|
||||
<div id="client-details"></div>
|
||||
</div>
|
||||
|
||||
<div class="company-info">
|
||||
<div id="company-details"></div>
|
||||
<div id="company-address"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="wrapper-right-side">
|
||||
<h2 class="wrapper-info-text">$details_label</h2>
|
||||
<table id="entity-details" cellspacing="0"></table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<table id="product-table" cellspacing="0"></table>
|
||||
|
||||
<p class="thanks-label">$thanks_label!</p>
|
||||
<hr class="double-border" />
|
||||
</body>
|
||||
</html>
|
188
resources/views/pdf-designs/new/hipster.html
Normal file
188
resources/views/pdf-designs/new/hipster.html
Normal file
@ -0,0 +1,188 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
body {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
@media print {
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
body {
|
||||
margin: 2rem;
|
||||
}
|
||||
|
||||
.header-wrapper {
|
||||
display: grid;
|
||||
grid-template-columns: 1.2fr 1.8fr;
|
||||
gap: 20px;
|
||||
}
|
||||
.header-wrapper .header-text-label {
|
||||
font-size: 1.1rem;
|
||||
color: #bba238;
|
||||
text-transform: uppercase;
|
||||
font-weight: bold;
|
||||
}
|
||||
.header-wrapper .header-left-side-wrapper {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 10px;
|
||||
border-left: 1px solid #303030;
|
||||
padding-left: 1rem;
|
||||
}
|
||||
.header-wrapper .header-left-side-wrapper > * {
|
||||
margin-bottom: 0.8rem;
|
||||
}
|
||||
.header-wrapper .header-left-side-wrapper #company-details,
|
||||
.header-wrapper .header-left-side-wrapper #company-address {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.header-wrapper .header-right-side-wrapper {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 10px;
|
||||
border-left: 1px solid #303030;
|
||||
padding-left: 1rem;
|
||||
}
|
||||
.header-wrapper .header-right-side-wrapper #client-details {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-top: 0.8rem;
|
||||
}
|
||||
.header-wrapper .company-logo {
|
||||
height: 5rem;
|
||||
}
|
||||
|
||||
.entity-label {
|
||||
font-size: 3rem;
|
||||
text-transform: uppercase;
|
||||
margin: 2rem 1rem;
|
||||
}
|
||||
|
||||
.entity-details-wrapper {
|
||||
margin: 1rem;
|
||||
}
|
||||
.entity-details-wrapper > * {
|
||||
margin-right: 1.5rem;
|
||||
}
|
||||
.entity-details-wrapper .entity-property-label {
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.entity-details-wrapper
|
||||
[data-element='entity-details-wrapper-invoice-number-label'],
|
||||
.entity-details-wrapper
|
||||
[data-element='entity-details-wrapper-amount-due'] {
|
||||
color: #bba238;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#product-table {
|
||||
margin-top: 3rem;
|
||||
min-width: 100%;
|
||||
table-layout: fixed;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
#product-table > thead {
|
||||
text-align: left;
|
||||
text-transform: uppercase;
|
||||
font-weight: bold;
|
||||
}
|
||||
#product-table > thead > tr > th {
|
||||
font-size: 1.1rem;
|
||||
padding-bottom: 1.5rem;
|
||||
padding-left: 1rem;
|
||||
border-left: 1px solid;
|
||||
}
|
||||
#product-table > tbody > tr > td {
|
||||
padding: 1rem;
|
||||
border-left: 1px solid;
|
||||
}
|
||||
#product-table > tfoot > tr > td {
|
||||
padding: 1rem;
|
||||
}
|
||||
#product-table > tfoot > tr > td:nth-last-child(1),
|
||||
#product-table > tfoot > tr td:nth-last-child(2) {
|
||||
border-left: 1px solid;
|
||||
}
|
||||
#product-table
|
||||
> tfoot
|
||||
[data-element='product-table-balance-due-label'],
|
||||
#product-table > tfoot [data-element='product-table-balance-due'] {
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="header-wrapper">
|
||||
<div class="header-left-side-wrapper">
|
||||
<p class="header-text-label">$from_label:</p>
|
||||
<!-- company_details -->
|
||||
<div id="company-details"></div>
|
||||
|
||||
<!-- company_address -->
|
||||
<div id="company-address"></div>
|
||||
</div>
|
||||
|
||||
<div class="header-right-side-wrapper">
|
||||
<!-- client_details -->
|
||||
<div>
|
||||
<p class="header-text-label">$to_label:</p>
|
||||
<div id="client-details"></div>
|
||||
</div>
|
||||
|
||||
<!-- company_logo -->
|
||||
<img
|
||||
class="company-logo"
|
||||
src="$company.logo"
|
||||
alt="$company.name logo"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h1 class="entity-label">$entity_label</h1>
|
||||
<div class="entity-details-wrapper">
|
||||
<span>
|
||||
<span
|
||||
class="entity-property-label"
|
||||
data-element="entity-details-wrapper-invoice-number-label"
|
||||
>$entity_number_label:</span
|
||||
>
|
||||
<span class="entity-property-value">$entity_number</span>
|
||||
</span>
|
||||
<span>
|
||||
<span class="entity-property-label">$entity_date_label:</span>
|
||||
<span class="entity-property-value">$entity_date</span>
|
||||
</span>
|
||||
<span>
|
||||
<span class="entity-property-label">$payment_due_label:</span>
|
||||
<span class="entity-property-value">$payment_due</span>
|
||||
</span>
|
||||
<span>
|
||||
<span class="entity-property-label">$amount_due_label:</span>
|
||||
<span
|
||||
class="entity-property-value"
|
||||
data-element="entity-details-wrapper-amount-due"
|
||||
>$amount_due</span
|
||||
>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<table id="product-table" cellspacing="0"></table>
|
||||
</body>
|
||||
</html>
|
157
resources/views/pdf-designs/new/mdoern.html
Normal file
157
resources/views/pdf-designs/new/mdoern.html
Normal file
@ -0,0 +1,157 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
body {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
@media print {
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
.header-container {
|
||||
background-color: #f46521;
|
||||
color: white;
|
||||
display: grid;
|
||||
grid-template-columns: 1.5fr 1fr;
|
||||
padding: 1.5rem;
|
||||
}
|
||||
.header-container .company-name {
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
|
||||
#entity-details {
|
||||
text-align: left;
|
||||
color: #fff4e9 !important;
|
||||
}
|
||||
#entity-details > tr,
|
||||
#entity-details th {
|
||||
font-weight: normal;
|
||||
padding-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.company-logo {
|
||||
height: 5rem;
|
||||
}
|
||||
|
||||
.logo-client-wrapper {
|
||||
margin: 3rem 1.5rem;
|
||||
display: grid;
|
||||
grid-template-columns: 1.5fr 1fr;
|
||||
}
|
||||
|
||||
#client-details {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
#client-details > * {
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.table-wrapper {
|
||||
margin: 3rem 1.5rem;
|
||||
}
|
||||
|
||||
#product-table {
|
||||
min-width: 100%;
|
||||
table-layout: fixed;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
#product-table > thead {
|
||||
text-align: left;
|
||||
}
|
||||
#product-table > thead > tr > th {
|
||||
padding: 0.8rem;
|
||||
background-color: #3f3e3c;
|
||||
color: white;
|
||||
}
|
||||
#product-table > tbody > tr > td {
|
||||
border-bottom: 1px solid #3f3e3c;
|
||||
padding: 1rem;
|
||||
}
|
||||
#product-table > tbody > tr > td:first-child {
|
||||
font-weight: bold;
|
||||
}
|
||||
#product-table > tfoot > tr > td {
|
||||
padding: 1rem;
|
||||
}
|
||||
#product-table > tfoot [data-element='balance-due-row'] > td {
|
||||
background-color: #3f3e3c;
|
||||
color: white;
|
||||
}
|
||||
#product-table > tfoot [data-element='balance-due-label'] {
|
||||
font-weight: bold;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
#product-table > tfoot [data-element='balance-due'] {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.footer-wrapper {
|
||||
display: grid;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
padding: 1.5rem;
|
||||
grid-template-columns: 2fr 1fr 1fr;
|
||||
background-color: #f46521;
|
||||
color: #fff4e9;
|
||||
}
|
||||
|
||||
#company-address,
|
||||
#company-details {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
#company-address > *,
|
||||
#company-details > * {
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="header-container">
|
||||
<h1 class="company-name">$company.name</h1>
|
||||
|
||||
<table id="entity-details" cellspacing="0"></table>
|
||||
</div>
|
||||
|
||||
<div class="logo-client-wrapper">
|
||||
<img
|
||||
class="company-logo"
|
||||
src="$company.logo"
|
||||
alt="$company.name logo"
|
||||
/>
|
||||
|
||||
<div id="client-details"></div>
|
||||
</div>
|
||||
|
||||
<div class="table-wrapper">
|
||||
<table id="product-table" cellspacing="0"></table>
|
||||
</div>
|
||||
|
||||
<div class="footer-wrapper">
|
||||
<div>
|
||||
<!-- Placeholder for offset -->
|
||||
</div>
|
||||
|
||||
<div id="company-details"></div>
|
||||
<div id="company-address"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
117
resources/views/pdf-designs/new/plain.html
Normal file
117
resources/views/pdf-designs/new/plain.html
Normal file
@ -0,0 +1,117 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
body {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
@media print {
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
body {
|
||||
margin: 2rem;
|
||||
}
|
||||
|
||||
.header-wrapper {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 1fr;
|
||||
}
|
||||
.header-wrapper .company-logo {
|
||||
height: 5rem;
|
||||
}
|
||||
.header-wrapper #company-address {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.header-wrapper #entity-details {
|
||||
margin-top: 1.5rem;
|
||||
text-align: left;
|
||||
width: 100%;
|
||||
}
|
||||
.header-wrapper #entity-details > tr,
|
||||
.header-wrapper #entity-details th {
|
||||
font-weight: normal;
|
||||
padding-left: 0.9rem;
|
||||
padding-top: 0.3rem;
|
||||
padding-bottom: 0.3rem;
|
||||
}
|
||||
.header-wrapper
|
||||
#entity-details
|
||||
[data-element='entity-balance-due-label'],
|
||||
.header-wrapper
|
||||
#entity-details
|
||||
[data-element='entity-balance-due'] {
|
||||
background-color: #e6e6e6;
|
||||
}
|
||||
|
||||
#client-details {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
#product-table {
|
||||
min-width: 100%;
|
||||
table-layout: fixed;
|
||||
overflow-wrap: break-word;
|
||||
margin-top: 3rem;
|
||||
}
|
||||
#product-table > thead {
|
||||
text-align: left;
|
||||
}
|
||||
#product-table > thead > tr > th {
|
||||
padding: 1rem;
|
||||
background-color: #e6e6e6;
|
||||
}
|
||||
#product-table > tbody > tr > td {
|
||||
border-bottom: 1px solid #e6e6e6;
|
||||
padding: 1rem;
|
||||
}
|
||||
#product-table > tfoot > tr > td {
|
||||
padding: 1rem;
|
||||
}
|
||||
#product-table
|
||||
> tfoot
|
||||
[data-element='product-table-balance-due-label'],
|
||||
#product-table > tfoot [data-element='product-table-balance-due'] {
|
||||
background-color: #e6e6e6;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="header-wrapper">
|
||||
<p>$company.name</p>
|
||||
|
||||
<div id="company-address"></div>
|
||||
|
||||
<div>
|
||||
<img
|
||||
class="company-logo"
|
||||
src="$company.logo"
|
||||
alt="$company.name logo"
|
||||
/>
|
||||
|
||||
<table id="entity-details" cellspacing="0"></table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="client-details"></div>
|
||||
|
||||
<table id="product-table" cellspacing="0"></table>
|
||||
</body>
|
||||
</html>
|
171
resources/views/pdf-designs/new/playful.html
Normal file
171
resources/views/pdf-designs/new/playful.html
Normal file
@ -0,0 +1,171 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
body {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
@media print {
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
body {
|
||||
margin: 2rem;
|
||||
}
|
||||
|
||||
.header-wrapper {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 1fr;
|
||||
}
|
||||
.header-wrapper .company-logo {
|
||||
height: 5rem;
|
||||
}
|
||||
.header-wrapper .entity-details-wrapper {
|
||||
background-color: #009e90;
|
||||
padding: 1rem;
|
||||
border-radius: 10px;
|
||||
}
|
||||
.header-wrapper #entity-details {
|
||||
width: 100%;
|
||||
color: white;
|
||||
text-align: left;
|
||||
}
|
||||
.header-wrapper #entity-details > tr,
|
||||
.header-wrapper #entity-details th {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.contacts-wrapper {
|
||||
margin-top: 3rem;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 40px;
|
||||
}
|
||||
.contacts-wrapper .contact-label {
|
||||
font-weight: bold;
|
||||
color: #009e90;
|
||||
margin-left: 1rem;
|
||||
}
|
||||
.contacts-wrapper #company-address,
|
||||
.contacts-wrapper #company-details,
|
||||
.contacts-wrapper #client-details {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
.contacts-wrapper .company-info {
|
||||
margin-top: 1rem;
|
||||
padding: 1rem;
|
||||
border-top: 1px solid #009e90;
|
||||
border-bottom: 1px solid #009e90;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 10px;
|
||||
}
|
||||
.contacts-wrapper #client-details {
|
||||
margin-top: 1rem;
|
||||
padding: 1rem;
|
||||
border-top: 1px solid #009e90;
|
||||
border-bottom: 1px solid #009e90;
|
||||
}
|
||||
|
||||
#product-table {
|
||||
margin-top: 3rem;
|
||||
min-width: 100%;
|
||||
table-layout: fixed;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
#product-table > thead {
|
||||
text-align: left;
|
||||
}
|
||||
#product-table > thead > tr > th {
|
||||
font-size: 1.2rem;
|
||||
padding: 1rem;
|
||||
background: #009e90;
|
||||
color: white;
|
||||
}
|
||||
#product-table > thead tr > th:first-child {
|
||||
border-top-left-radius: 10px;
|
||||
border-bottom-left-radius: 10px;
|
||||
}
|
||||
#product-table > thead tr > th:last-child {
|
||||
border-top-right-radius: 10px;
|
||||
border-bottom-right-radius: 10px;
|
||||
}
|
||||
#product-table > tbody > tr > td {
|
||||
border-bottom: 1px solid #009e90;
|
||||
padding: 1rem;
|
||||
}
|
||||
#product-table > tbody > tr > td:first-child {
|
||||
color: #bb3a24;
|
||||
}
|
||||
#product-table > tfoot > tr > td {
|
||||
padding: 1rem;
|
||||
}
|
||||
#product-table
|
||||
> tfoot
|
||||
[data-element='product-table-balance-due-label'] {
|
||||
background-color: #009e90;
|
||||
color: white;
|
||||
border-top-left-radius: 10px;
|
||||
border-bottom-left-radius: 10px;
|
||||
}
|
||||
#product-table > tfoot [data-element='product-table-balance-due'] {
|
||||
background-color: #009e90;
|
||||
color: white;
|
||||
border-top-right-radius: 10px;
|
||||
border-bottom-right-radius: 10px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="header-wrapper">
|
||||
<img
|
||||
class="company-logo"
|
||||
src="$company.logo"
|
||||
alt="$company.name logo"
|
||||
/>
|
||||
|
||||
<div>
|
||||
<!-- Placeholder for empty space -->
|
||||
</div>
|
||||
|
||||
<div class="entity-details-wrapper">
|
||||
<table id="entity-details" cellspacing="0"></table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="contacts-wrapper">
|
||||
<div>
|
||||
<p class="contact-label">$to_label:</p>
|
||||
<div class="company-info">
|
||||
<div id="company-details"></div>
|
||||
<div id="company-address"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<p class="contact-label">$from_label:</p>
|
||||
|
||||
<div id="client-details"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<table id="product-table" cellspacing="0"></table>
|
||||
</body>
|
||||
</html>
|
Loading…
x
Reference in New Issue
Block a user