Slow and steady progress getting things working more smoothly.

This commit is contained in:
Scott Idem
2024-04-03 14:54:33 -04:00
parent 1555f0f8d0
commit b5588fd9a1
7 changed files with 199 additions and 48 deletions

View File

@@ -119,8 +119,25 @@ $: if ($events_sess.stripe && $events_sess.stripe.license_qty >= 0 || $events_se
{:else}
<p>You have not rented any tablets for scanning. You can use your own device(s) with this service.</p>
{/if}
<p>To save space while using this app you can hide this payment tab now that you have paid for your licenses. This can be unhidden under the Conf tab if needed.</p>
</div>
<button
type="button"
on:click={() => {
let confirm_hide = confirm('Are you sure you want to hide this tab?');
if (confirm_hide) {
$events_loc.leads.show_option__paid_tab = false;
}
}}
class="btn variant-soft-primary"
title="This payment tab can be hidden once marked as paid."
>
<span class="fas fa-eye-slash m-1"></span>
Hide This Paid Tab?
</button>
{:else}
<h3 class="h4">Not Marked as Paid</h3>