mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Refactor for trial plan workflow
This commit is contained in:
parent
2f56a10aed
commit
9f158868d6
@ -186,7 +186,7 @@ class NinjaPlanController extends Controller
|
||||
|
||||
public function plan()
|
||||
{
|
||||
|
||||
// return $this->trial();
|
||||
//harvest the current plan
|
||||
$data = [];
|
||||
$data['late_invoice'] = false;
|
||||
|
@ -16,17 +16,21 @@
|
||||
<div>
|
||||
|
||||
<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>Create subscriptions: Recurring & Auto-billing</li>
|
||||
<li>API integration with 3rd party apps & platforms</li>
|
||||
<li>Custom reminders</li>
|
||||
<li>Attach PDF's to client emails</li>
|
||||
<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>
|
||||
<li>Unlimited Clients & Invoices & Quotes</li>
|
||||
<li>Remove "Created by Invoice Ninja"</li>
|
||||
<li>10 Professional Invoice & Quote Templates</li>
|
||||
<li>Send Invoice Emails Sent via Your Gmail</li>
|
||||
<li>Attach Invoice PDF's to Client Emails</li>
|
||||
<li>Customize Auto-Reminder Emails</li>
|
||||
<li>Display Client E-Signatures on Invoices</li>
|
||||
<li>Enable a Client "Approve Terms' Checkbox</li>
|
||||
<li>Interlink Multiple Companies (x10) with 1 Login</li>
|
||||
<li>Customize Invoice Designs & Email Templates</li>
|
||||
<li>Custom Settings for Different Client "Groups"</li>
|
||||
<li>Client Subscriptions: Recurring & Auto-billing</li>
|
||||
<li>Password Protected Client-Side Portal</li>
|
||||
<li>API Integration with 3rd Party Apps</li>
|
||||
<li>& Much More!</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
@ -222,33 +226,37 @@
|
||||
</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 class="w-full mt-6 pt-6">
|
||||
<div class="bg-gray-50">
|
||||
<div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:py-16 lg:px-8 lg:flex lg:items-center lg:justify-between">
|
||||
<h2 class="text-3xl font-extrabold tracking-tight text-gray-900 sm:text-4xl">
|
||||
<span class="block">Enterprise Plan (1-2 Users) Annual</span>
|
||||
<span class="block text-indigo-600 mt-2">Buy 10 months, get 2 free!</span>
|
||||
</h2>
|
||||
<div class="mt-8 flex lg:mt-0 lg:flex-shrink-0">
|
||||
<div class="inline-flex rounded-md shadow">
|
||||
<a href="https://invoiceninja.invoicing.co/client/subscriptions/LYqaQWldnj/purchase" class="inline-flex items-center justify-center px-5 py-3 border border-transparent text-base font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-700"> Buy Now! </a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</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 class="w-full mt-6 pt-6">
|
||||
<div class="bg-gray-50">
|
||||
<div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:py-16 lg:px-8 lg:flex lg:items-center lg:justify-between">
|
||||
<h2 class="text-3xl font-extrabold tracking-tight text-gray-900 sm:text-4xl">
|
||||
<span class="block">Pro Plan Annual</span>
|
||||
<span class="block text-indigo-600 mt-2">Buy 10 months, get 2 free!</span>
|
||||
</h2>
|
||||
<div class="mt-8 flex lg:mt-0 lg:flex-shrink-0">
|
||||
<div class="inline-flex rounded-md shadow">
|
||||
<a href="https://invoiceninja.invoicing.co/client/subscriptions/q9wdL9wejP/purchase" class="inline-flex items-center justify-center px-5 py-3 border border-transparent text-base font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-700"> Buy Now! </a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
@endsection
|
||||
@ -258,19 +266,6 @@ Enjoy Pro Plan for a year, <br>with advanced features including send with Gmail
|
||||
|
||||
<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 }}';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user