mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
fixes
This commit is contained in:
1 parent
31b1467a98
commit
d401ade41b
2 files changed
+10
-6
No files matched your search
@@ -16,6 +16,10 @@
|
||||
</span>
|
||||
</p>
|
||||
</div>
|
||||
<span class="u-color-text-success">-{formatCurrency(value)}</span>
|
||||
{#if value >= 100}
|
||||
<p class="inline-tag">Credits applied</p>
|
||||
{:else}
|
||||
<span class="u-color-text-success">-{formatCurrency(value)}</span>
|
||||
{/if}
|
||||
</span>
|
||||
{/if}
|
||||
@@ -8,6 +8,7 @@
|
||||
EstimatedTotalBox,
|
||||
SelectPaymentMethod
|
||||
} from '$lib/components/billing';
|
||||
import EstimatedTotal from '$lib/components/billing/estimatedTotal.svelte';
|
||||
import { BillingPlan, Dependencies } from '$lib/constants';
|
||||
import { Button, Form, FormList, InputSelect, InputTags, InputText } from '$lib/elements/forms';
|
||||
import { toLocaleDate } from '$lib/helpers/date';
|
||||
@@ -285,12 +286,11 @@
|
||||
</section>
|
||||
{:else if selectedOrgId}
|
||||
<div class:u-margin-block-start-24={campaign?.template === 'card'}>
|
||||
<EstimatedTotalBox
|
||||
fixedCoupon={!!data?.couponData?.code}
|
||||
<EstimatedTotal
|
||||
organizationId={selectedOrgId === newOrgId ? null : selectedOrgId}
|
||||
{billingPlan}
|
||||
{collaborators}
|
||||
bind:couponData
|
||||
bind:billingBudget>
|
||||
couponId={couponData.code}>
|
||||
{#if campaign?.template === 'review' && (campaign?.cta || campaign?.claimed || campaign?.unclaimed)}
|
||||
<div class="u-margin-block-end-24">
|
||||
<p class="body-text-1 u-bold">{campaign?.cta}</p>
|
||||
@@ -303,7 +303,7 @@
|
||||
</p>
|
||||
</div>
|
||||
{/if}
|
||||
</EstimatedTotalBox>
|
||||
</EstimatedTotal>
|
||||
</div>
|
||||
{/if}
|
||||
</svelte:fragment>
|
||||
|
||||
Reference in new issue
Block a user