1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

refactor(subscriptions): store stripe customer id with user

This commit is contained in:
Ferdinand Mütsch
2022-12-30 13:14:24 +01:00
parent 3aac5e9062
commit 8e521741f8
9 changed files with 100 additions and 78 deletions

View File

@@ -81,9 +81,6 @@
<label class="font-semibold text-gray-300" for="email">E-Mail Address</label>
<span class="block text-sm text-gray-600">
Optional in general, but required for weekly reports and for resetting your password.
{{ if .User.HasActiveSubscription }}
You cannot unset or change your e-mail address while you have an active subscription.
{{ end }}
</span>
</div>
<div class="w-1/2 ml-4">
@@ -91,7 +88,6 @@
type="email" id="email"
name="email" placeholder="Enter your e-mail address"
value="{{ .User.Email }}"
{{ if .User.HasActiveSubscription }}disabled{{ end }}
>
</div>
</div>