1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Update for trial pay - annual discounted plans

This commit is contained in:
David Bomba 2022-03-10 15:49:56 +11:00
parent 305045a742
commit 49855077c2

View File

@ -15,10 +15,10 @@
<div>
<ul class="list-decimal mx-20 w-100">
<li>Unlimited clients, invoices and quotes</li>
<ul class="mx-20 w-100" style="list-style-type:disc;">
<li>Unlimited Clients, Invoices and Quotes</li>
<li>Remove "Created by Invoice Ninja" from invoices</li>
<li>Enable emails to be sent from your GMail</li>
<li>Enable emails to be sent from your Gmail</li>
<li>Create subscriptions: Recurring & Auto-billing</li>
<li>API integration with 3rd party apps & platforms</li>
<li>Custom reminders</li>
@ -26,11 +26,12 @@
<li>Display clients e-signature on invoices and quotes</li>
<li>Enable clients to "Approve Terms' checkbox</li>
<li>Bulk emailing of invoices and quotes</li>
<li>Much more!</li>
</ul>
</div>
</div>
</div>
<div class="w-1/2 overflow-hidden">
<form id="card-form" action="{{ route('client.trial.response') }}" method="post">
@ -209,6 +210,46 @@
</div>
<div class="w-full mt-6 pt-6">
<div class="relative">
<div class="absolute inset-0 flex items-center" aria-hidden="true">
<div class="w-full border-t border-gray-300"></div>
</div>
<div class="relative flex justify-center">
<span class="px-2 bg-white text-sm text-gray-500"> Discounted Plans </span>
</div>
</div>
</div>
<div class="w-1/2 overflow-hidden py-10 mt-10 content-center">
<h2 class="mb-6 py-10 text-lg">
Enterprise Plan (1-2 Users) Annual<br>
Buy 10 months, get 2 free!
</h2>
<p>
Enjoy the power of Enterprise with 3rd party attachments<br> and a custom domain client portal.
</p>
<button class="bg-blue-500 hover:bg-blue-400 text-white font-bold py-2 px-4 border-b-4 border-blue-700 hover:border-blue-500 rounded mt-5" id="annual_enterprise">
Buy Now!
</button>
</div>
<div class="w-1/2 overflow-hidden py-10 mt-10 content-center">
<h2 class="mb-6 py-10 text-lg">
Pro Plan Annual<br>
Buy 10 months, get 2 free!
</h2>
<p>
Enjoy Pro Plan for a year, <br>with advanced features including send with Gmail and API integrations.
</p>
<button class="bg-blue-500 hover:bg-blue-400 text-white font-bold py-2 px-4 border-b-4 border-blue-700 hover:border-blue-500 rounded mt-5" id="annual_pro">
Buy Now!
</button>
</div>
@endsection
@ -217,6 +258,19 @@
<script type="text/javascript">
document.getElementById('annual_enterprise').addEventListener('click', function() {
location.href = 'https://invoiceninja.invoicing.co/client/subscriptions/LYqaQWldnj/purchase';
});
document.getElementById('annual_pro').addEventListener('click', function() {
location.href = 'https://invoiceninja.invoicing.co/client/subscriptions/q9wdL9wejP/purchase';
});
var stripe = Stripe('{{ $gateway->getPublishableKey()}}');
var client_secret = '{{ $intent->client_secret }}';