upgrade plan UI improvements

This commit is contained in:
Čarodej
2022-01-03 11:14:27 +01:00
parent 2363592dcd
commit 9d189b3d12
8 changed files with 232 additions and 729 deletions
+13 -5
View File
@@ -53,8 +53,6 @@
app_logo_horizontal: '{{ $settings->app_logo_horizontal ?? null }}',
app_description: '{{ $settings->app_description ?? __t('app_description') }}',
app_payments_active: {{ $settings->payments_active ?? 0 }},
subscriptionType: '{{ $settings->subscription_type ?? 'none' }}',
allowHomepage: {{ $settings->allow_homepage ?? 1 }},
@@ -79,10 +77,20 @@
installation: '{{ $installation ?? 'initial' }}',
statusCheck: {!! json_encode($status_check) ?? 'undefined' !!},
// Payment drivers
paystack_public_key: '{{ env('PAYSTACK_PUBLIC_KEY') }}',
// Payments
app_payments_active: {{ $settings->payments_active ?? 0 }},
// PayPal
isPayPal: true,
paypal_client_id: '{{ env('PAYPAL_CLIENT_ID') }}',
stripe_public_key: '{{ env('STRIPE_PUBLIC_KEY') ?? null }}',
// Paystack
isPaystack: true,
paystack_public_key: '{{ env('PAYSTACK_PUBLIC_KEY') }}',
// Stripe
isStripe: true,
stripe_public_key: '{{ env('STRIPE_PUBLIC_KEY') }}',
}
</script>