Remove wallet wording from plan and upgrade action buttons.
Deploy Ladill Frontdesk / deploy (push) Successful in 2m1s
Deploy Ladill Frontdesk / deploy (push) Successful in 2m1s
Keep descriptive copy about Ladill wallet funding, but drop wallet from button and CTA labels on plans and upgrade screens.
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
</p>
|
||||
<a href="{{ route('frontdesk.pro.index') }}" class="btn-primary mt-4 inline-flex">View Pro plans</a>
|
||||
<p class="mt-3 text-xs text-indigo-700">
|
||||
<a href="{{ route('frontdesk.wallet') }}" class="underline">Top up your wallet</a> if you need more balance.
|
||||
<a href="{{ route('frontdesk.wallet') }}" class="underline">Top up</a> if you need more balance.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
<div class="mt-4 flex flex-wrap items-center gap-2">
|
||||
<button type="button" @click="billing = 'monthly'"
|
||||
:class="billing === 'monthly' ? 'bg-indigo-600 text-white' : 'bg-slate-100 text-slate-700 hover:bg-slate-200'"
|
||||
class="rounded-lg px-3 py-1.5 text-sm font-medium transition">Monthly · wallet</button>
|
||||
class="rounded-lg px-3 py-1.5 text-sm font-medium transition">Monthly</button>
|
||||
@foreach ($prepaidMonths as $months)
|
||||
<button type="button" @click="billing = '{{ $months }}'"
|
||||
:class="billing === '{{ $months }}' ? 'bg-indigo-600 text-white' : 'bg-slate-100 text-slate-700 hover:bg-slate-200'"
|
||||
@@ -130,7 +130,7 @@
|
||||
class="w-20 rounded-md border-slate-300 py-1 text-center text-sm focus:border-indigo-500 focus:ring-indigo-500">
|
||||
</label>
|
||||
<button type="submit" class="btn-secondary w-full text-sm"
|
||||
x-text="'Add seats — {{ $currency }} ' + (((Math.max(current + 1, seats) - current) * rate) / 100).toLocaleString() + ' from wallet'"></button>
|
||||
x-text="'Add seats — {{ $currency }} ' + (((Math.max(current + 1, seats) - current) * rate) / 100).toLocaleString()"></button>
|
||||
</form>
|
||||
@endif
|
||||
@elseif ($canManage)
|
||||
@@ -138,7 +138,7 @@
|
||||
@csrf
|
||||
<input type="hidden" name="branches" :value="branchCount()">
|
||||
<button type="submit" class="btn-primary w-full"
|
||||
x-text="'Upgrade to Pro — {{ $currency }} ' + fmt(proTotal()) + '/mo wallet'"></button>
|
||||
x-text="'Upgrade to Pro — {{ $currency }} ' + fmt(proTotal()) + '/mo'"></button>
|
||||
</form>
|
||||
<template x-for="months in @js($prepaidMonths)" :key="months">
|
||||
<form x-show="billing == months" method="post" action="{{ route('frontdesk.pro.subscribe-prepaid') }}">
|
||||
@@ -200,7 +200,7 @@
|
||||
class="w-20 rounded-md border-slate-500 bg-slate-800 py-1 text-center text-sm text-white focus:border-amber-400 focus:ring-amber-400">
|
||||
</label>
|
||||
<button type="submit" class="w-full rounded-xl border border-amber-300/40 bg-slate-800 px-4 py-2 text-sm font-semibold text-amber-200 hover:bg-slate-700"
|
||||
x-text="'Add seats — {{ $currency }} ' + (((Math.max(current + 1, seats) - current) * rate) / 100).toLocaleString() + ' from wallet'"></button>
|
||||
x-text="'Add seats — {{ $currency }} ' + (((Math.max(current + 1, seats) - current) * rate) / 100).toLocaleString()"></button>
|
||||
</form>
|
||||
@endif
|
||||
@elseif ($canManage)
|
||||
@@ -209,7 +209,7 @@
|
||||
@csrf
|
||||
<input type="hidden" name="branches" :value="branchCount()">
|
||||
<button type="submit" class="w-full rounded-xl bg-amber-400 px-4 py-2.5 text-sm font-semibold text-slate-900 hover:bg-amber-300"
|
||||
x-text="'Upgrade — {{ $currency }} ' + fmt(entTotal()) + '/mo wallet'"></button>
|
||||
x-text="'Upgrade — {{ $currency }} ' + fmt(entTotal()) + '/mo'"></button>
|
||||
</form>
|
||||
<template x-for="months in @js($prepaidMonths)" :key="'ent-' + months">
|
||||
<form x-show="billing == months" method="post" action="{{ route('frontdesk.pro.subscribe-prepaid') }}">
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
</p>
|
||||
<div class="mt-4 flex flex-wrap items-center gap-3">
|
||||
<a href="{{ route('frontdesk.pro.index') }}" class="btn-primary">View plans</a>
|
||||
<a href="{{ route('frontdesk.wallet') }}" class="text-sm font-medium text-indigo-600 hover:text-indigo-800">Top up wallet</a>
|
||||
<a href="{{ route('frontdesk.wallet') }}" class="text-sm font-medium text-indigo-600 hover:text-indigo-800">Top up</a>
|
||||
</div>
|
||||
</x-settings.card>
|
||||
</x-settings.page>
|
||||
|
||||
Reference in New Issue
Block a user