1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-21 17:01:33 +02:00
invoiceninja/resources/views/portal/ninja2020/plan/trial.blade.php

1940 lines
52 KiB
PHP
Raw Normal View History

2022-02-23 03:07:48 +01:00
@extends('portal.ninja2020.layout.app')
@section('meta_title', ctrans('texts.account_management'))
@section('body')
2022-05-19 08:50:36 +02:00
<style>
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');
*,
::before,
::after {
box-sizing: border-box;
/* 1 */
border-width: 0;
/* 2 */
border-style: solid;
/* 2 */
2022-09-17 03:49:53 +02:00
border-color: currentColor;
2022-05-19 08:50:36 +02:00
/* 2 */
}
::before,
::after {
--tw-content: '';
}
/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
*/
html {
line-height: 1.5;
/* 1 */
-webkit-text-size-adjust: 100%;
/* 2 */
-moz-tab-size: 4;
/* 3 */
-o-tab-size: 4;
tab-size: 4;
/* 3 */
2022-09-17 03:49:53 +02:00
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
2022-05-19 08:50:36 +02:00
/* 4 */
}
/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/
body {
margin: 0;
/* 1 */
line-height: inherit;
/* 2 */
}
/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/
hr {
height: 0;
/* 1 */
color: inherit;
/* 2 */
border-top-width: 1px;
/* 3 */
}
/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/
abbr:where([title]) {
-webkit-text-decoration: underline dotted;
text-decoration: underline dotted;
}
/*
Remove the default font size and weight for headings.
*/
h1,
h2,
h3,
h4,
h5,
h6 {
font-size: inherit;
font-weight: inherit;
}
/*
Reset links to optimize for opt-in styling instead of opt-out.
*/
a {
color: inherit;
text-decoration: inherit;
}
/*
Add the correct font weight in Edge and Safari.
*/
b,
strong {
font-weight: bolder;
}
/*
1. Use the user's configured `mono` font family by default.
2. Correct the odd `em` font sizing in all browsers.
*/
code,
kbd,
samp,
pre {
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
/* 1 */
font-size: 1em;
/* 2 */
}
/*
Add the correct font size in all browsers.
*/
small {
font-size: 80%;
}
/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sub {
bottom: -0.25em;
}
sup {
top: -0.5em;
}
/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/
table {
text-indent: 0;
/* 1 */
border-color: inherit;
/* 2 */
border-collapse: collapse;
/* 3 */
}
/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/
button,
input,
optgroup,
select,
textarea {
font-family: inherit;
/* 1 */
font-size: 100%;
/* 1 */
line-height: inherit;
/* 1 */
color: inherit;
/* 1 */
margin: 0;
/* 2 */
padding: 0;
/* 3 */
}
/*
Remove the inheritance of text transform in Edge and Firefox.
*/
button,
select {
text-transform: none;
}
/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/
button,
[type='button'],
[type='reset'],
[type='submit'] {
-webkit-appearance: button;
/* 1 */
background-color: transparent;
/* 2 */
background-image: none;
/* 2 */
}
/*
Use the modern Firefox focus style for all focusable elements.
*/
:-moz-focusring {
outline: auto;
}
/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/
:-moz-ui-invalid {
box-shadow: none;
}
/*
Add the correct vertical alignment in Chrome and Firefox.
*/
progress {
vertical-align: baseline;
}
/*
Correct the cursor style of increment and decrement buttons in Safari.
*/
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
height: auto;
}
/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/
[type='search'] {
-webkit-appearance: textfield;
/* 1 */
outline-offset: -2px;
/* 2 */
}
/*
Remove the inner padding in Chrome and Safari on macOS.
*/
::-webkit-search-decoration {
-webkit-appearance: none;
}
/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/
::-webkit-file-upload-button {
-webkit-appearance: button;
/* 1 */
font: inherit;
/* 2 */
}
/*
Add the correct display in Chrome and Safari.
*/
summary {
display: list-item;
}
/*
Removes the default spacing and border for appropriate elements.
*/
blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
margin: 0;
}
fieldset {
margin: 0;
padding: 0;
}
legend {
padding: 0;
}
ol,
ul,
menu {
list-style: none;
margin: 0;
padding: 0;
}
/*
Prevent resizing textareas horizontally by default.
*/
textarea {
resize: vertical;
}
/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/
input::-moz-placeholder, textarea::-moz-placeholder {
opacity: 1;
/* 1 */
color: #9ca3af;
/* 2 */
}
input:-ms-input-placeholder, textarea:-ms-input-placeholder {
opacity: 1;
/* 1 */
color: #9ca3af;
/* 2 */
}
input::placeholder,
textarea::placeholder {
opacity: 1;
/* 1 */
color: #9ca3af;
/* 2 */
}
/*
Set the default cursor for buttons.
*/
button,
[role="button"] {
cursor: pointer;
}
/*
Make sure disabled buttons don't get the pointer cursor.
*/
:disabled {
cursor: default;
}
/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
This can trigger a poorly considered lint error in some tools but is included by design.
*/
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
display: block;
/* 1 */
vertical-align: middle;
/* 2 */
}
/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/
img,
video {
max-width: 100%;
height: auto;
}
/*
Ensure the default browser behavior of the `hidden` attribute.
*/
[hidden] {
display: none;
}
*, ::before, ::after{
--tw-translate-x: 0;
--tw-translate-y: 0;
--tw-rotate: 0;
--tw-skew-x: 0;
--tw-skew-y: 0;
--tw-scale-x: 1;
--tw-scale-y: 1;
--tw-pan-x: ;
--tw-pan-y: ;
--tw-pinch-zoom: ;
--tw-scroll-snap-strictness: proximity;
--tw-ordinal: ;
--tw-slashed-zero: ;
--tw-numeric-figure: ;
--tw-numeric-spacing: ;
--tw-numeric-fraction: ;
--tw-ring-inset: ;
--tw-ring-offset-width: 0px;
--tw-ring-offset-color: #fff;
--tw-ring-color: rgb(59 130 246 / 0.5);
--tw-ring-offset-shadow: 0 0 #0000;
--tw-ring-shadow: 0 0 #0000;
--tw-shadow: 0 0 #0000;
--tw-shadow-colored: 0 0 #0000;
--tw-blur: ;
--tw-brightness: ;
--tw-contrast: ;
--tw-grayscale: ;
--tw-hue-rotate: ;
--tw-invert: ;
--tw-saturate: ;
--tw-sepia: ;
--tw-drop-shadow: ;
--tw-backdrop-blur: ;
--tw-backdrop-brightness: ;
--tw-backdrop-contrast: ;
--tw-backdrop-grayscale: ;
--tw-backdrop-hue-rotate: ;
--tw-backdrop-invert: ;
--tw-backdrop-opacity: ;
--tw-backdrop-saturate: ;
--tw-backdrop-sepia: ;
}
2022-09-17 03:49:53 +02:00
.sr-only{
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border-width: 0;
}
2022-05-19 08:50:36 +02:00
.absolute{
position: absolute;
}
.relative{
position: relative;
}
.z-0{
z-index: 0;
}
.z-10{
z-index: 10;
}
.m-0{
margin: 0px;
}
.mx-\[auto\]{
margin-left: auto;
margin-right: auto;
}
2022-09-17 03:49:53 +02:00
.mx-\[22px\]{
margin-left: 22px;
margin-right: 22px;
}
.mx-\[40px\]{
margin-left: 40px;
margin-right: 40px;
}
2022-05-19 08:50:36 +02:00
.mb-\[30px\]{
margin-bottom: 30px;
}
.mb-\[11px\]{
margin-bottom: 11px;
}
.mt-\[30px\]{
margin-top: 30px;
}
.mb-\[21px\]{
margin-bottom: 21px;
}
.mb-4{
margin-bottom: 1rem;
}
.mb-\[10px\]{
margin-bottom: 10px;
}
.mt-5{
margin-top: 1.25rem;
}
.mt-\[50px\]{
margin-top: 50px;
}
.mb-\[50px\]{
margin-bottom: 50px;
}
.mb-\[8px\]{
margin-bottom: 8px;
}
.ml-\[5px\]{
margin-left: 5px;
}
.mb-\[24px\]{
margin-bottom: 24px;
}
.mt-\[auto\]{
margin-top: auto;
}
.mb-\[26px\]{
margin-bottom: 26px;
}
2022-09-17 03:49:53 +02:00
.mb-\[25px\]{
margin-bottom: 25px;
}
.mb-\[20px\]{
margin-bottom: 20px;
}
.mb-\[5px\]{
margin-bottom: 5px;
}
.mb-\[40px\]{
margin-bottom: 40px;
}
.mr-5{
margin-right: 1.25rem;
}
.ml-5{
margin-left: 1.25rem;
}
.ml-\[10px\]{
margin-left: 10px;
}
.mb-6{
margin-bottom: 1.5rem;
}
.mb-8{
margin-bottom: 2rem;
}
.mb-1\.5{
margin-bottom: 0.375rem;
}
.mb-1{
margin-bottom: 0.25rem;
}
.mb-5{
margin-bottom: 1.25rem;
}
.mb-\[36px\]{
margin-bottom: 36px;
}
2022-05-19 08:50:36 +02:00
.block{
display: block;
}
.flex{
display: flex;
}
2022-09-17 03:49:53 +02:00
.inline-flex{
display: inline-flex;
}
2022-05-19 08:50:36 +02:00
.hidden{
display: none;
}
2022-09-17 03:49:53 +02:00
.h-\[40px\]{
height: 40px;
}
2022-05-19 08:50:36 +02:00
.min-h-\[450px\]{
min-height: 450px;
}
2022-09-17 03:49:53 +02:00
.min-h-\[57\%\]{
min-height: 57%;
}
.min-h-\[411px\]{
min-height: 411px;
}
2022-05-19 08:50:36 +02:00
.w-\[100\%\]{
width: 100%;
}
.w-full{
width: 100%;
}
2022-09-17 03:49:53 +02:00
.w-\[87px\]{
width: 87px;
}
2022-05-19 08:50:36 +02:00
.max-w-\[625px\]{
max-width: 625px;
}
.max-w-\[212px\]{
max-width: 212px;
}
2022-09-17 03:49:53 +02:00
.max-w-\[450px\]{
max-width: 450px;
}
2022-05-19 08:50:36 +02:00
.flex-1{
flex: 1 1 0%;
}
.grow{
flex-grow: 1;
}
.transform{
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
2022-09-17 03:49:53 +02:00
.cursor-pointer{
cursor: pointer;
}
2022-05-19 08:50:36 +02:00
.flex-col{
flex-direction: column;
}
.flex-col-reverse{
flex-direction: column-reverse;
}
2022-09-17 03:49:53 +02:00
.content-start{
align-content: flex-start;
}
.items-start{
align-items: flex-start;
}
.items-center{
align-items: center;
}
.justify-start{
justify-content: flex-start;
}
2022-05-19 08:50:36 +02:00
.justify-end{
justify-content: flex-end;
}
.justify-center{
justify-content: center;
}
.justify-between{
justify-content: space-between;
}
.gap-\[25px\]{
gap: 25px;
}
.gap-\[13px\]{
gap: 13px;
}
.gap-\[10px\]{
gap: 10px;
}
.gap-\[44px\]{
gap: 44px;
}
.gap-x-2{
-moz-column-gap: 0.5rem;
column-gap: 0.5rem;
}
.gap-y-\[20px\]{
row-gap: 20px;
}
.overflow-hidden{
overflow: hidden;
}
.overflow-y-auto{
overflow-y: auto;
}
.rounded{
border-radius: 0.25rem;
}
.rounded-sm{
border-radius: 5px;
}
2022-09-17 03:49:53 +02:00
.rounded-full{
border-radius: 9999px;
}
.rounded-lg{
border-radius: 0.5rem;
}
.rounded-\[10px\]{
border-radius: 10px;
}
2022-05-19 08:50:36 +02:00
.border{
border-width: 1px;
}
2022-09-17 03:49:53 +02:00
.border-\[10px\]{
border-width: 10px;
}
2022-05-19 08:50:36 +02:00
.border-t-\[0px\]{
border-top-width: 0px;
}
.border-t-\[10px\]{
border-top-width: 10px;
}
.border-t-\[1px\]{
border-top-width: 1px;
}
.border-t-\[11px\]{
border-top-width: 11px;
}
.border-light-grey{
--tw-border-opacity: 1;
border-color: rgb(232 233 237 / var(--tw-border-opacity));
}
.border-primary-blue{
--tw-border-opacity: 1;
border-color: rgb(0 145 234 / var(--tw-border-opacity));
}
.border-\[transparent\]{
border-color: transparent;
}
2022-09-17 03:49:53 +02:00
.border-\[\#28CA42\]{
--tw-border-opacity: 1;
border-color: rgb(40 202 66 / var(--tw-border-opacity));
}
.border-primary-green{
--tw-border-opacity: 1;
border-color: rgb(40 202 66 / var(--tw-border-opacity));
}
2022-05-19 08:50:36 +02:00
.bg-secondary-dark{
--tw-bg-opacity: 1;
background-color: rgb(73 68 68 / var(--tw-bg-opacity));
}
.bg-white{
--tw-bg-opacity: 1;
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}
.bg-primary-blue{
--tw-bg-opacity: 1;
background-color: rgb(0 145 234 / var(--tw-bg-opacity));
}
2022-09-17 03:49:53 +02:00
.bg-primary-blue\/\[\.05\]{
background-color: rgb(0 145 234 / .05);
}
.bg-primary-grey{
--tw-bg-opacity: 1;
background-color: rgb(229 229 229 / var(--tw-bg-opacity));
}
.bg-primary-blue\/50{
background-color: rgb(0 145 234 / 0.5);
}
.bg-primary-blue\/5{
background-color: rgb(0 145 234 / 0.05);
}
.bg-\[\#F2F9FE\]{
--tw-bg-opacity: 1;
background-color: rgb(242 249 254 / var(--tw-bg-opacity));
}
2022-05-19 08:50:36 +02:00
.bg-clip-padding{
background-clip: padding-box;
}
.p-4{
padding: 1rem;
}
.p-\[20px\]{
padding: 20px;
}
2022-09-17 03:49:53 +02:00
.p-\[12px\]{
padding: 12px;
}
2022-05-19 08:50:36 +02:00
.py-\[36px\]{
padding-top: 36px;
padding-bottom: 36px;
}
.px-\[20px\]{
padding-left: 20px;
padding-right: 20px;
}
.py-\[33px\]{
padding-top: 33px;
padding-bottom: 33px;
}
.px-3{
padding-left: 0.75rem;
padding-right: 0.75rem;
}
.py-2{
padding-top: 0.5rem;
padding-bottom: 0.5rem;
}
.py-\[9\.5px\]{
padding-top: 9.5px;
padding-bottom: 9.5px;
}
.px-\[12px\]{
padding-left: 12px;
padding-right: 12px;
}
.py-\[22px\]{
padding-top: 22px;
padding-bottom: 22px;
}
.px-\[22px\]{
padding-left: 22px;
padding-right: 22px;
}
.pt-\[20px\]{
padding-top: 20px;
}
.pl-\[18px\]{
padding-left: 18px;
}
.pr-\[18px\]{
padding-right: 18px;
}
.pb-\[20px\]{
padding-bottom: 20px;
}
.pt-\[17px\]{
padding-top: 17px;
}
.pb-\[23px\]{
padding-bottom: 23px;
}
.pt-\[21px\]{
padding-top: 21px;
}
.pb-\[26px\]{
padding-bottom: 26px;
}
2022-09-17 03:49:53 +02:00
.pb-\[58px\]{
padding-bottom: 58px;
}
.pt-\[35px\]{
padding-top: 35px;
}
.pb-\[34px\]{
padding-bottom: 34px;
}
.pt-\[29px\]{
padding-top: 29px;
}
.pb-\[56px\]{
padding-bottom: 56px;
}
2022-05-19 08:50:36 +02:00
.text-left{
text-align: left;
}
.text-center{
text-align: center;
}
.font-\[\'Open_Sans\'\]{
font-family: 'Open Sans';
}
.text-\[15px\]{
font-size: 15px;
}
.text-\[24px\]{
font-size: 24px;
}
.text-\[18px\]{
font-size: 18px;
}
.text-base{
font-size: 1rem;
line-height: 1.5rem;
}
.text-sm{
font-size: 0.875rem;
line-height: 1.25rem;
}
.text-\[12px\]{
font-size: 12px;
}
.text-\[40px\]{
font-size: 40px;
}
.text-\[14px\]{
font-size: 14px;
}
2022-09-17 03:49:53 +02:00
.text-\[16px\]{
font-size: 16px;
}
.text-\[22px\]{
font-size: 22px;
}
.text-\[35px\]{
font-size: 35px;
}
2022-05-19 08:50:36 +02:00
.font-normal{
font-weight: 400;
}
.font-semibold{
font-weight: 600;
}
.font-bold{
font-weight: 700;
}
.uppercase{
text-transform: uppercase;
}
.italic{
font-style: italic;
}
.leading-\[1\.75em\]{
line-height: 1.75em;
}
.leading-\[1\.3em\]{
line-height: 1.3em;
}
.leading-\[1\.35em\]{
line-height: 1.35em;
}
.leading-\[1\.36em\]{
line-height: 1.36em;
}
.leading-\[1\.5em\]{
line-height: 1.5em;
}
2022-09-17 03:49:53 +02:00
.leading-\[1\.375em\]{
line-height: 1.375em;
}
.leading-\[1\.2rem\]{
line-height: 1.2rem;
}
2022-05-19 08:50:36 +02:00
.text-white{
--tw-text-opacity: 1;
color: rgb(255 255 255 / var(--tw-text-opacity));
}
.text-primary-blue{
--tw-text-opacity: 1;
color: rgb(0 145 234 / var(--tw-text-opacity));
}
.text-dark-grey{
--tw-text-opacity: 1;
color: rgb(142 147 167 / var(--tw-text-opacity));
}
.text-light-grey-secondary{
--tw-text-opacity: 1;
color: rgb(219 220 222 / var(--tw-text-opacity));
}
2022-09-17 03:49:53 +02:00
.text-black{
--tw-text-opacity: 1;
color: rgb(0 0 0 / var(--tw-text-opacity));
}
.text-primary-dark{
--tw-text-opacity: 1;
color: rgb(46 44 44 / var(--tw-text-opacity));
}
.text-gray{
--tw-text-opacity: 1;
color: rgb(100 111 121 / var(--tw-text-opacity));
}
2022-05-19 08:50:36 +02:00
.transition{
transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
}
.duration-300{
transition-duration: 300ms;
}
.ease-in-out{
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.ease-in{
transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
}
/* UI Elements */
.button-primary {
width: 100%;
height: 49px;
color: #fff;
cursor: pointer;
}
.list-checkmark-round {
padding: 0;
list-style: none;
}
.list-checkmark-round li {
position: relative;
padding-left: 40px;
}
.list-checkmark-round li::before {
content: "";
position: absolute;
left: 0;
top: 0px;
width: 30px;
height: 30px;
2022-09-17 04:51:59 +02:00
background: url('/images/checkmark-round.svg') center/contain no-repeat;
2022-05-19 08:50:36 +02:00
}
.list-checkmark {
padding: 0;
list-style: none;
}
.list-checkmark li {
position: relative;
padding-left: 25px;
}
.list-checkmark li::before {
content: "";
position: absolute;
left: 0;
top: 4px;
width: 16px;
height: 16px;
2022-09-17 04:51:59 +02:00
background: url('/images/checkmark.svg') center/contain no-repeat;
2022-09-17 03:49:53 +02:00
}
.list-checkmark_green li::before {
2022-09-17 04:51:59 +02:00
background: url('/images/checkmark-green.svg') center/contain no-repeat;
2022-05-19 08:50:36 +02:00
}
/* Main Content */
.pro-plan-trial {
position: relative;
overflow: hidden;
}
.success-banner {
position: relative;
overflow: hidden;
}
.success-banner::before{
content: "";
position: absolute;
left: 0%;
bottom: 0;
width: 60%;
height: 100%;
2022-09-17 04:51:59 +02:00
background: url(/images/test.svg) right center/cover no-repeat;
2022-05-19 08:50:36 +02:00
z-index: 1;
}
@media (max-width: 767px) {
.success-banner::before {
width: 100%;
}
}
2022-09-17 03:49:53 +02:00
.after\:absolute::after{
content: var(--tw-content);
position: absolute;
}
.after\:top-\[5px\]::after{
content: var(--tw-content);
top: 5px;
}
.after\:left-\[8px\]::after{
content: var(--tw-content);
left: 8px;
}
.after\:h-\[30px\]::after{
content: var(--tw-content);
height: 30px;
}
.after\:w-\[30px\]::after{
content: var(--tw-content);
width: 30px;
}
.after\:rounded-full::after{
content: var(--tw-content);
border-radius: 9999px;
}
.after\:bg-white::after{
content: var(--tw-content);
--tw-bg-opacity: 1;
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}
.after\:transition-all::after{
content: var(--tw-content);
transition-property: all;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
}
.after\:content-\[\'\'\]::after{
--tw-content: '';
content: var(--tw-content);
}
.hover\:bg-primary-green:hover{
--tw-bg-opacity: 1;
background-color: rgb(40 202 66 / var(--tw-bg-opacity));
}
.hover\:text-white:hover{
--tw-text-opacity: 1;
color: rgb(255 255 255 / var(--tw-text-opacity));
}
2022-05-19 08:50:36 +02:00
.hover\:opacity-80:hover{
opacity: 0.8;
}
.focus\:border-primary-blue:focus{
--tw-border-opacity: 1;
border-color: rgb(0 145 234 / var(--tw-border-opacity));
}
.focus\:outline-none:focus{
outline: 2px solid transparent;
outline-offset: 2px;
}
2022-09-17 03:49:53 +02:00
.peer:checked ~ .peer-checked\:bg-primary-blue{
--tw-bg-opacity: 1;
background-color: rgb(0 145 234 / var(--tw-bg-opacity));
}
.peer:checked ~ .peer-checked\:text-gray{
--tw-text-opacity: 1;
color: rgb(100 111 121 / var(--tw-text-opacity));
}
.peer:checked ~ .peer-checked\:text-black{
--tw-text-opacity: 1;
color: rgb(0 0 0 / var(--tw-text-opacity));
}
.peer:checked ~ .peer-checked\:after\:translate-x-\[140\%\]::after{
content: var(--tw-content);
--tw-translate-x: 140%;
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.peer:focus ~ .peer-focus\:outline-none{
outline: 2px solid transparent;
outline-offset: 2px;
}
2022-05-19 08:50:36 +02:00
@media (min-width: 768px){
.md\:mx-\[0\]{
margin-left: 0;
margin-right: 0;
}
.md\:mb-\[46px\]{
margin-bottom: 46px;
}
.md\:flex{
display: flex;
}
2022-09-17 03:49:53 +02:00
.md\:min-h-\[411px\]{
min-height: 411px;
}
2022-05-19 08:50:36 +02:00
.md\:w-1\/2{
width: 50%;
}
.md\:w-1\/3{
width: 33.333333%;
}
2022-09-17 03:49:53 +02:00
.md\:shrink{
flex-shrink: 1;
}
.md\:grow-0{
flex-grow: 0;
}
.md\:basis-\[449px\]{
flex-basis: 449px;
}
2022-05-19 08:50:36 +02:00
.md\:flex-row{
flex-direction: row;
}
.md\:gap-\[18px\]{
gap: 18px;
}
.md\:gap-x-\[21px\]{
-moz-column-gap: 21px;
column-gap: 21px;
}
.md\:px-\[58px\]{
padding-left: 58px;
padding-right: 58px;
}
2022-09-17 03:49:53 +02:00
.md\:px-\[40px\]{
padding-left: 40px;
padding-right: 40px;
}
@media (min-width: 768px){
.md\:md\:px-\[40px\]{
padding-left: 40px;
padding-right: 40px;
}
}
2022-05-19 08:50:36 +02:00
.md\:pl-\[61px\]{
padding-left: 61px;
}
.md\:pr-\[20px\]{
padding-right: 20px;
}
2022-09-17 03:49:53 +02:00
.md\:pt-\[58px\]{
padding-top: 58px;
}
.md\:pb-\[40px\]{
padding-bottom: 40px;
}
.md\:pl-\[52px\]{
padding-left: 52px;
}
.md\:pr-\[48px\]{
padding-right: 48px;
}
2022-05-19 08:50:36 +02:00
.md\:text-left{
text-align: left;
}
.md\:text-\[30px\]{
font-size: 30px;
}
}
2022-09-17 03:49:53 +02:00
@media (min-width: 1024px){
.lg\:max-w-\[80\%\]{
max-width: 80%;
}
}
2022-05-19 08:50:36 +02:00
</style>
2022-02-23 03:07:48 +01:00
<meta name="stripe-publishable-key" content="{{ $gateway->getPublishableKey()}}">
2022-05-19 08:50:36 +02:00
<meta name="client-postal-code" content="{{ $client->postal_code }}">
<meta name="client-name" content="{{ $client->present()->name() }}">
2022-09-17 03:49:53 +02:00
<div class="flex flex-col justify-stretch overflow-hidden md:flex-row border border-light-grey rounded">
<div class="w-1/1 flex flex-col md:flex-row md:w-1/2 md:flex ">
<div
class="bg-white w-[100%] flex flex-col py-[33px] px-[20px] md:pt-[58px] md:pb-[40px] md:pl-[52px] md:pr-[48px]">
<p class="text-primary-blue uppercase text-[15px] leading-[1.375em] font-bold">
Free Trial
</p>
<h2 class="text-black text-[24px] leading-[1.3em] font-bold mb-[25px]">
14 Day Pro Plan!
</h2>
<form
id="card-form"
2022-09-17 05:23:06 +02:00
action="{{ route('client.trial.response') }}"
2022-09-17 03:49:53 +02:00
method="post"
>
2022-09-17 05:23:06 +02:00
@csrf
2022-09-17 03:49:53 +02:00
<input type="hidden" name="gateway_response"/>
<div class="alert alert-failure mb-4" hidden="" id="errors"></div>
<div class="form-group mb-[10px]">
<input
type="text"
class="form-control block w-full px-3 py-2 text-base font-normal text-gray-700 bg-white bg-clip-padding border border-light-grey rounded transition ease-in-out m-0 focus:primary-blue focus:outline-none"
id="name"
placeholder="{{ ctrans('texts.name') }}"
name="name"
value="{{$client->present()->name()}}"
/>
</div>
<div class="form-group mb-[10px]">
<input
type="text"
class="form-control block w-full py-[9.5px] px-[12px] text-base font-normal text-gray-700 bg-white bg-clip-padding border border-light-grey rounded transition ease-in-out m-0 focus:border-primary-blue focus:outline-none"
id="address1"
placeholder="{{ ctrans('texts.address1') }}"
name="address1"
value="{{$client->address1}}"
/>
</div>
<div class="form-group mb-[10px]">
<input
type="text"
class="form-control block w-full py-[9.5px] px-[12px] text-base font-normal text-gray-700 bg-white bg-clip-padding border border-light-grey rounded transition ease-in-out m-0 focus:border-primary-blue focus:outline-none"
id="address2"
placeholder="{{ ctrans('texts.address2') }}"
name="address2"
value="{{$client->address2}}"
/>
</div>
<div
class="flex form-group flex justify-center gap-[13px] mb-[10px]"
>
<div class="w-full gap-x-2 md:w-1/3">
<div class="form-group">
<input
type="text"
class="form-control block w-full py-[9.5px] px-[12px] text-base font-normal text-gray-700 bg-white bg-clip-padding border border-light-grey rounded transition ease-in-out m-0 focus:border-primary-blue focus:outline-none"
id="city"
placeholder="{{ ctrans('texts.city') }}"
name="city"
value="{{$client->city}}"
/>
</div>
</div>
<div class="w-full gap-x-2 md:w-1/3">
<div class="form-group">
<input
type="text"
class="form-control block w-full py-[9.5px] px-[12px] text-base font-normal text-gray-700 bg-white bg-clip-padding border border-light-grey rounded transition ease-in-out m-0 focus:border-primary-blue focus:outline-none"
id="state"
placeholder="{{ ctrans('texts.state') }}"
name="state"
value="{{$client->state}}"
/>
</div>
</div>
<div class="w-full gap-x-2 md:w-1/3">
<div class="form-group">
<input
type="text"
class="form-control block w-full py-[9.5px] px-[12px] text-base font-normal text-gray-700 bg-white bg-clip-padding border border-light-grey rounded transition ease-in-out m-0 focus:border-primary-blue focus:outline-none"
id="postal_code"
2022-05-19 08:50:36 +02:00
placeholder="{{ ctrans('texts.postal_code') }}"
2022-09-17 03:49:53 +02:00
name="postal_code"
value="{{$client->postal_code}}"
/>
</div>
</div>
</div>
<div class="form-group mb-[10px]">
<select name="country" id="country" class="form-select w-full py-[9.5px] px-[12px] border border-light-grey rounded transition ease-in-out m-0 focus:border-primary-blue focus:outline-none bg-white">
2022-05-19 08:50:36 +02:00
<option value="{{ $client->country->id}}" selected>{{ $client->country->iso_3166_2 }} ({{ $client->country->name }})</option>
@foreach($countries as $country)
<option value="{{ $country->id }}">{{ $country->iso_3166_2 }} ({{ $country->name }})></option>
@endforeach
</select>
</div>
2022-09-17 03:49:53 +02:00
<div class="mb-[10px]">
<div
id="card-element"
class="border p-4 rounded text-base font-normal text-gray-700 bg-white bg-clip-padding border border-light-grey rounded focus:border-primary-blue focus:outline-none StripeElement StripeElement--empty"
>
</div>
</div>
<div class="flex justify-start mb-[25px]">
<span class="text-[12px]">* At the end of your 14 day trial your card will be charged $10/month. Cancel anytime.</span>
</div>
<div class="flex justify-end">
<button
@isset($form) form="{{ $form }}" @endisset
type="{{ $type ?? 'button' }}"
id="{{ $id ?? 'pay-now' }}"
@isset($data) @foreach($data as $prop => $value) data-{{ $prop }}="{{ $value }}" @endforeach @endisset
class="bg-primary-blue hover:opacity-80 button button-primary bg-primary rounded-sm text-sm transition duration-300 ease-in {{ $class ?? '' }}"
{{ isset($disabled) && $disabled === true ? 'disabled' : '' }}>
<svg class="animate-spin h-5 w-5 text-white hidden" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
<circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle>
<path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"></path>
</svg>
<span>{{ $slot ?? ctrans('texts.trial_call_to_action') }}</span>
</button>
</div>
</form>
</div>
2022-05-19 08:50:36 +02:00
</div>
2022-09-17 03:49:53 +02:00
<div class="w-1/1 flex flex-col md:flex-row md:w-1/2 md:flex ">
<div class="w-[100%] flex flex-col content-start justify-center pro-plan-trial py-[36px] px-[20px] bg-[#F2F9FE] overflow-hidden text-primary-dark md:pl-[61px] md:pr-[20px]">
<h2 class="text-primary-blue uppercase text-[16px] leading-[1.3em] font-bold mb-[20px] relative z-10">
Pro Plan Includes
</h2>
<ul class="list-checkmark relative z-10">
<li class="mb-[5px]">Unlimited Clients & Invoices & Quotes</li>
<li class="mb-[5px]">Remove "Created by Invoice Ninja"</li>
<li class="mb-[5px]">Send Invoice Emails via Gmail or MSN Accounts</li>
<li class="mb-[5px]">10 Professional Invoice & Quote Template Designs</li>
<li class="mb-[5px]">Branded URL Option: "YourBrand".Invoicing.co"</li>
<li class="mb-[5px]">Customize Invoice Designs & Email Templates</li>
<li class="mb-[5px]">Create Client Subscriptions: Recurring & Auto-billing</li>
<li class="mb-[5px]">API Integration with 3rd Party Apps & Platforms</li>
<li class="mb-[5px]">Display Clients E-Signature on Invoices & Quotes</li>
<li>Setup Custom Payment Auto-Reminder Emails</li>
2022-05-19 08:50:36 +02:00
</ul>
2022-09-17 03:49:53 +02:00
<p class="text-primary-blue mt-[30px] font-bold text-[16px] italic relative z-10">
&amp; Much More!
2022-05-19 08:50:36 +02:00
</p>
</div>
2022-09-17 03:49:53 +02:00
</div>
</div>
2022-09-17 04:51:59 +02:00
<div class="mt-[50px]" x-data="{show: true}" id="datadiv">
2022-09-17 03:49:53 +02:00
<h2 class="text-center text-[24px] mb-[40px] leading-[1.3em] font-bold">
Skip the 14-day trial and go into a monthly or annual upgrade!
</h2>
2022-05-19 08:50:36 +02:00
2022-09-17 03:49:53 +02:00
<div>
<div class="w-full text-center mb-[40px]">
<label for="large-toggle" class="inline-flex items-center cursor-pointer">
2022-09-17 04:51:59 +02:00
<input type="checkbox" value="" id="large-toggle" class="sr-only peer" @click="show = !show">
2022-09-17 03:49:53 +02:00
<span class="mr-5 text-base font-semibold text-black peer-checked:text-gray">Monthly</span>
<div class="switcher w-[87px] h-[40px] relative bg-primary-blue
peer-focus:outline-none rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-[140%] after:content-['']
after:absolute after:top-[5px] after:left-[8px] after:bg-white after:rounded-full after:h-[30px] after:w-[30px]
after:transition-all peer-checked:bg-primary-blue"></div>
<span class="ml-5 text-base font-semibold text-gray peer-checked:text-black">Annual</span>
</label>
</div>
2022-09-17 04:51:59 +02:00
<!-- Monthly Plans -->
<div class="flex flex-col gap-y-[20px] justify-center items-start md:flex-row md:gap-x-[21px]" x-show=" show ">
2022-09-17 03:49:53 +02:00
<div class="w-1/1 bg-white rounded-[10px] justify-end md:basis-[449px] md:shrink md:grow-0">
<div class="w-[100%] max-w-[450px] flex flex-col border border-primary-green rounded-lg border-t-[0px] pb-[58px]">
<div class="flex flex-col border-t-[10px] border-primary-green rounded-lg pt-[35px] pb-[56px] px-[22px] md:min-h-[411px] md:px-[40px]">
<h4 class="text-[22px] text-black font-bold mb-[11px]">Ninja Pro</h4>
<p class="font-[16px] leading-[1.36em] text-gray mb-4 lg:max-w-[80%]">
2022-09-17 05:23:06 +02:00
30 day money back guarantee!
2022-09-17 03:49:53 +02:00
</p>
<h3 class="text-[35px] font-bold leading-[1.35em] mb-[36px] text-black">
$10<span class="font-normal text-base ml-[10px] text-gray">Per month</span>
</h3>
<button
type="button"
2022-09-17 04:51:59 +02:00
id="handleProMonthlyClick"
2022-09-17 03:49:53 +02:00
class="bg-white text-primary-dark text-center button w-full p-[12px] border border-primary-green mt-[auto] rounded-full text-base leading-[1.2rem] transition duration-300 ease-in hover:bg-primary-green hover:text-white hover:opacity-80">
Go Pro!
</button>
</div>
<div class="flex flex-col border-t-[1px] border-light-grey pt-[29px] mx-[22px] md: mx-[40px]">
<h5 class="text-base font-bold leading-[1.36em] text-primary-dark uppercase mb-4">All Free Features +</h5>
<ul class="list-checkmark list-checkmark_green relative z-10">
<li class="mb-[5px]">Unlimited Clients & Invoices</li>
<li class="mb-[5px]">Remove "Created by Invoice Ninja"</li>
<li class="mb-[5px]">Email Invoices via Gmail & MSN</li>
<li class="mb-[5px]">Branded URL: 'YourSite".Invoicing.co'</li>
<li class="mb-[5px]">10 Professional Invoice Templates</li>
<li class="mb-[5px]">Customize Invoice Designs</li>
<li class="mb-[5px]">Recurring & Auto-Billing Invoices</li>
<li class="mb-[5px]">API Integration with 3rd Party Apps</li>
<li class="mb-[5px]">Password Protect Client-Side Portal</li>
<li class="mb-[5px]">Set Up Auto-Reminder Emails</li>
<li class="mb-[5px]">Auto-Attached Invoice PDF to Emails</li>
<li class="mb-[5px]">Display Clients E-Signature on Invoices</li>
<li class="mb-[5px]">Enable an 'Approve Terms' Checkbox</li>
<li class="mb-[5px]">Reports: Invoices, Expenses, P&L, more</li>
<li class="mb-[5px]">Bulk Email Invoices, Quotes, Credits</li>
<li class="mb-[5px]">Interlink 10 Companies with 1 Login</li>
<li>Create Unique "Client Group" Settings</li>
</ul>
</div>
</div>
</div>
<div class="w-1/1 bg-white rounded-[10px] md:basis-[449px] md:shrink md:grow-0">
<div class="w-[100%] max-w-[450px] flex flex-col border border-primary-blue rounded-lg border-t-[0px] pb-[58px]">
<div class="flex flex-col border-t-[10px] border-primary-blue rounded-lg pt-[35px] pb-[56px] px-[22px] md:min-h-[411px] md:px-[40px]">
2022-09-17 04:51:59 +02:00
<h4 class="text-[22px] text-black font-bold mb-[11px]">Enterprise Plan</h4>
<p class="font-[16px] leading-[1.36em] text-gray mb-4 lg:max-w-[80%]">
2022-09-17 05:23:06 +02:00
30 day money back guarantee!
2022-09-17 04:51:59 +02:00
</p>
<h3 class="text-[35px] font-bold leading-[1.35em] mb-[36px] text-black" id="m_plan_price">
$14<span class="font-normal text-base ml-[10px] text-gray">Per month</span>
</h3>
<form
id="plan-form"
action="#"
method="post"
>
2022-09-17 05:23:06 +02:00
@csrf
2022-09-17 04:51:59 +02:00
<div class="form-group mb-[10px]">
<label for="users" class="font-base primary-dark mb-1.5">Plan selected:</label>
<select
name="users"
id="users_monthly"
class="form-select w-full py-[9.5px] px-[12px] mb-5 border border-light-grey rounded-lg transition ease-in-out m-0 focus:border-primary-blue focus:outline-none bg-white"
>
<option value="7LDdwRb1YK" selected>1-2 Users</option>
<option value="MVyb8mdvAZ">3-5 Users</option>
<option value="WpmbkR5azJ">6-10 Users</option>
<option value="k8mepY2aMy">11-20 Users</option>
</select>
</div>
</form>
<button
type="button"
id="handleMonthlyClick"
class="bg-primary-blue hover:opacity-80 text-white text-center button w-full p-[12px] border border-primary-blue mt-[auto] rounded-full text-base leading-[1.2rem] transition duration-300 ease-in">
Go Enterprise!
</button>
</div>
<div class="flex flex-col border-t-[1px] border-light-grey pt-[29px] mx-[22px] md: mx-[40px]">
<h5 class="text-base font-bold leading-[1.36em] text-primary-dark mb-4 uppercase ">All Free Features + Pro +</h5>
<ul class="list-checkmark relative z-10">
<li class="mb-[20px]">Create Additional Account Users (up to 20!) & Set Access Permissions per User</li>
<li class="mb-[20px]">Attach Files to Emails & Client-Portal (pdf, jpg, ppt, xls, doc & more)</li>
<li>Fully Branded Client Portal: "Billing.YourCompany.com"</li>
</ul>
</div>
</div>
</div>
</div>
<!-- Yearly Plans -->
<div class="flex flex-col gap-y-[20px] justify-center items-start md:flex-row md:gap-x-[21px]" x-show=" !show">
<div class="w-1/1 bg-white rounded-[10px] justify-end md:basis-[449px] md:shrink md:grow-0">
<div class="w-[100%] max-w-[450px] flex flex-col border border-primary-green rounded-lg border-t-[0px] pb-[58px]">
<div class="flex flex-col border-t-[10px] border-primary-green rounded-lg pt-[35px] pb-[56px] px-[22px] md:min-h-[411px] md:px-[40px]">
<h4 class="text-[22px] text-black font-bold mb-[11px]">Ninja Pro</h4>
2022-09-17 03:49:53 +02:00
<p class="font-[16px] leading-[1.36em] text-gray mb-4 lg:max-w-[80%]">
Pay annually for 10 months + 2 free!
</p>
<h3 class="text-[35px] font-bold leading-[1.35em] mb-[36px] text-black">
2022-09-17 04:51:59 +02:00
$100<span class="font-normal text-base ml-[10px] text-gray">Per year</span>
</h3>
<button
type="button"
id="handleProYearlyClick"
class="bg-white text-primary-dark text-center button w-full p-[12px] border border-primary-green mt-[auto] rounded-full text-base leading-[1.2rem] transition duration-300 ease-in hover:bg-primary-green hover:text-white hover:opacity-80">
Go Pro!
</button>
</div>
<div class="flex flex-col border-t-[1px] border-light-grey pt-[29px] mx-[22px] md: mx-[40px]">
<h5 class="text-base font-bold leading-[1.36em] text-primary-dark uppercase mb-4">All Free Features +</h5>
<ul class="list-checkmark list-checkmark_green relative z-10">
<li class="mb-[5px]">Unlimited Clients & Invoices</li>
<li class="mb-[5px]">Remove "Created by Invoice Ninja"</li>
<li class="mb-[5px]">Email Invoices via Gmail & MSN</li>
<li class="mb-[5px]">Branded URL: 'YourSite".Invoicing.co'</li>
<li class="mb-[5px]">10 Professional Invoice Templates</li>
<li class="mb-[5px]">Customize Invoice Designs</li>
<li class="mb-[5px]">Recurring & Auto-Billing Invoices</li>
<li class="mb-[5px]">API Integration with 3rd Party Apps</li>
<li class="mb-[5px]">Password Protect Client-Side Portal</li>
<li class="mb-[5px]">Set Up Auto-Reminder Emails</li>
<li class="mb-[5px]">Auto-Attached Invoice PDF to Emails</li>
<li class="mb-[5px]">Display Clients E-Signature on Invoices</li>
<li class="mb-[5px]">Enable an 'Approve Terms' Checkbox</li>
<li class="mb-[5px]">Reports: Invoices, Expenses, P&L, more</li>
<li class="mb-[5px]">Bulk Email Invoices, Quotes, Credits</li>
<li class="mb-[5px]">Interlink 10 Companies with 1 Login</li>
<li>Create Unique "Client Group" Settings</li>
</ul>
</div>
</div>
</div>
<div class="w-1/1 bg-white rounded-[10px] md:basis-[449px] md:shrink md:grow-0">
<div class="w-[100%] max-w-[450px] flex flex-col border border-primary-blue rounded-lg border-t-[0px] pb-[58px]">
<div class="flex flex-col border-t-[10px] border-primary-blue rounded-lg pt-[35px] pb-[56px] px-[22px] md:min-h-[411px] md:px-[40px]">
<h4 class="text-[22px] text-black font-bold mb-[11px]">Enterprise Plan</h4>
<p class="font-[16px] leading-[1.36em] text-gray mb-4 lg:max-w-[80%]">
Pay annually for 10 months + 2 free!
</p>
<h3 class="text-[35px] font-bold leading-[1.35em] mb-[36px] text-black" id="y_plan_price">
$140<span class="font-normal text-base ml-[10px] text-gray">Per Year</span>
2022-09-17 03:49:53 +02:00
</h3>
<form
id="plan-form"
action="#"
method="post"
>
<div class="form-group mb-[10px]">
<label for="users" class="font-base primary-dark mb-1.5">Plan selected:</label>
<select
name="users"
2022-09-17 04:51:59 +02:00
id="users_yearly"
2022-09-17 03:49:53 +02:00
class="form-select w-full py-[9.5px] px-[12px] mb-5 border border-light-grey rounded-lg transition ease-in-out m-0 focus:border-primary-blue focus:outline-none bg-white"
>
2022-09-17 04:51:59 +02:00
<option value="LYqaQWldnj" selected>1-2 Users</option>
<option value="kQBeX6mbyK">3-5 Users</option>
<option value="GELe32Qd69">6-10 Users</option>
<option value="MVyb86oevA">11-20 Users</option>
2022-09-17 03:49:53 +02:00
</select>
</div>
</form>
<button
type="button"
2022-09-17 04:51:59 +02:00
id="handleYearlyClick"
2022-09-17 03:49:53 +02:00
class="bg-primary-blue hover:opacity-80 text-white text-center button w-full p-[12px] border border-primary-blue mt-[auto] rounded-full text-base leading-[1.2rem] transition duration-300 ease-in">
Go Enterprise!
</button>
</div>
<div class="flex flex-col border-t-[1px] border-light-grey pt-[29px] mx-[22px] md: mx-[40px]">
2022-09-17 04:51:59 +02:00
<h5 class="text-base font-bold leading-[1.36em] text-primary-dark mb-4 uppercase ">All Free Features + Pro +</h5>
2022-09-17 03:49:53 +02:00
<ul class="list-checkmark relative z-10">
<li class="mb-[20px]">Create Additional Account Users (up to 20!) & Set Access Permissions per User</li>
<li class="mb-[20px]">Attach Files to Emails & Client-Portal (pdf, jpg, ppt, xls, doc & more)</li>
<li>Fully Branded Client Portal: "Billing.YourCompany.com"</li>
</ul>
</div>
</div>
</div>
2022-05-19 08:50:36 +02:00
</div>
2022-09-17 04:51:59 +02:00
2022-05-19 08:50:36 +02:00
</div>
2022-09-17 03:49:53 +02:00
</div>
2022-02-23 03:07:48 +01:00
@endsection
@push('footer')
<script src="https://js.stripe.com/v3/"></script>
<script type="text/javascript">
var stripe = Stripe('{{ $gateway->getPublishableKey()}}');
2022-02-23 07:39:36 +01:00
var client_secret = '{{ $intent->client_secret }}';
2022-02-23 03:07:48 +01:00
var elements = stripe.elements({
2022-02-23 07:39:36 +01:00
clientSecret: client_secret,
2022-02-23 03:07:48 +01:00
});
var cardElement = elements.create('card', {
value: {
2022-02-23 07:39:36 +01:00
postalCode: document.querySelector('input[name=postal_code]').content,
2022-09-17 03:49:53 +02:00
name: document.querySelector('input[name=name]').content,
2022-02-23 03:07:48 +01:00
}
});
cardElement.mount('#card-element');
2022-02-23 07:39:36 +01:00
const form = document.getElementById('card-form');
var e = document.getElementById("country");
var country_value = e.options[e.selectedIndex].value;
document
.getElementById('pay-now')
.addEventListener('click', () => {
let payNowButton = document.getElementById('pay-now');
payNowButton = payNowButton;
payNowButton.disabled = true;
payNowButton.querySelector('svg').classList.remove('hidden');
payNowButton.querySelector('span').classList.add('hidden');
stripe.handleCardSetup(this.client_secret, cardElement, {
payment_method_data: {
billing_details: {
name: document.querySelector('input[name=name]').content,
2022-09-17 03:49:53 +02:00
address: {
line1: document.querySelector('input[name=address1]').content,
line2: document.querySelector('input[name=address2]').content,
city: document.querySelector('input[name=city]').content,
postal_code: document.querySelector('input[name=postal_code]').content,
state: document.querySelector('input[name=state]').content,
}
2022-02-23 07:39:36 +01:00
},
}
})
.then((result) => {
if (result.error) {
let errors = document.getElementById('errors');
let payNowButton = document.getElementById('pay-now');
errors.textContent = '';
errors.textContent = result.error.message;
errors.hidden = false;
payNowButton.disabled = false;
payNowButton.querySelector('svg').classList.add('hidden');
payNowButton.querySelector('span').classList.remove('hidden');
return;
}
document.querySelector(
'input[name="gateway_response"]'
).value = JSON.stringify(result.setupIntent);
2022-09-17 05:23:06 +02:00
form.submit();
2022-02-23 07:39:36 +01:00
});
2022-02-23 03:07:48 +01:00
2022-02-23 07:39:36 +01:00
});
2022-02-23 03:07:48 +01:00
</script>
2022-09-17 04:51:59 +02:00
<script type="text/javascript">
var users_yearly = 'LYqaQWldnj';
var users_monthly = '7LDdwRb1YK';
document.getElementById('users_yearly').options[0].selected = true;
document.getElementById('users_monthly').options[0].selected = true;
document.getElementById("large-toggle").addEventListener('change', function() {
document.getElementById('users_yearly').options[0].selected = true;
document.getElementById('users_monthly').options[0].selected = true;
document.getElementById('y_plan_price').innerHTML = price_map.get('LYqaQWldnj');
document.getElementById('m_plan_price').innerHTML = price_map.get('7LDdwRb1YK');
users_yearly = 'LYqaQWldnj';
users_monthly = '7LDdwRb1YK';
});
document.getElementById('users_yearly').addEventListener('change', function() {
users_yearly = this.value;
document.getElementById('y_plan_price').innerHTML = price_map.get(this.value);
});
document.getElementById('users_monthly').addEventListener('change', function() {
users_monthly = this.value;
document.getElementById('m_plan_price').innerHTML = price_map.get(this.value);
});
document.getElementById('handleYearlyClick').addEventListener('click', function() {
document.getElementById("large-toggle").checked = false;
location.href = 'https://invoiceninja.invoicing.co/client/subscriptions/' + users_yearly + '/purchase';
});
document.getElementById('handleMonthlyClick').addEventListener('click', function() {
document.getElementById("large-toggle").checked = false;
location.href = 'https://invoiceninja.invoicing.co/client/subscriptions/' + users_monthly + '/purchase';
});
document.getElementById('handleProMonthlyClick').addEventListener('click', function() {
document.getElementById("large-toggle").checked = false;
location.href = 'https://invoiceninja.invoicing.co/client/subscriptions/WJxbojagwO/purchase';
});
document.getElementById('handleProYearlyClick').addEventListener('click', function() {
document.getElementById("large-toggle").checked = false;
location.href = 'https://invoiceninja.invoicing.co/client/subscriptions/q9wdL9wejP/purchase';
});
const price_map = new Map();
//monthly
price_map.set('7LDdwRb1YK', '$14 <span class="font-normal text-base ml-[10px] text-gray">Per month</span>');
price_map.set('MVyb8mdvAZ', '$26 <span class="font-normal text-base ml-[10px] text-gray">Per month</span>');
price_map.set('WpmbkR5azJ', '$36 <span class="font-normal text-base ml-[10px] text-gray">Per month</span>');
price_map.set('k8mepY2aMy', '$44 <span class="font-normal text-base ml-[10px] text-gray">Per month</span>');
//yearly
price_map.set('LYqaQWldnj', '$140 <span class="font-normal text-base ml-[10px] text-gray">Per year</span>');
price_map.set('kQBeX6mbyK', '$260 <span class="font-normal text-base ml-[10px] text-gray">Per year</span>');
price_map.set('GELe32Qd69', '$360 <span class="font-normal text-base ml-[10px] text-gray">Per year</span>');
price_map.set('MVyb86oevA', '$440 <span class="font-normal text-base ml-[10px] text-gray">Per year</span>');
</script>
2022-02-23 03:07:48 +01:00
@endpush