Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -71,22 +71,24 @@ const BillingBreakdown = () => {
<p className="prose text-sm">
{selectedOrganization?.managed_by === MANAGED_BY.AWS_MARKETPLACE ? (
<>
You'll receive two invoices from AWS Marketplace: one on the 3rd of{' '}
{billingCycleEnd.format('MMMM')} for your usage in{' '}
{billingCycleStart.format('MMMM')} and one on {billingCycleEnd.format('MMMM DD')}{' '}
for the fixed subscription fee.
<p>
AWS Marketplace sends two invoices each month: one for your fixed subscription
fee, billed on the day you subscribed, and one for your usage charges from the
previous month, billed by the 3rd.
</p>

<p>
For a more detailed breakdown, visit the{' '}
<Link href={`/org/${orgSlug}/usage`}>usage page.</Link>
</p>
</>
) : (
<>
Your upcoming invoice (excluding credits) will continue to update until the end of
your billing cycle on {billingCycleEnd.format('MMMM DD')}.
your billing cycle on {billingCycleEnd.format('MMMM DD')}. For a more detailed
breakdown, visit the <Link href={`/org/${orgSlug}/usage`}>usage page.</Link>
</>
)}
<>
{' '}
For a more detailed breakdown, visit the{' '}
<Link href={`/org/${orgSlug}/usage`}>usage page.</Link>
</>
</p>
<br />
<p className="text-sm text-foreground-light mt-4">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ const CreditBalance = () => {
{isPermissionsLoaded && !canReadSubscriptions ? (
<NoPermission resourceText="view this organization's credits" />
) : (
<FormPanel footer={<CreditTopUp slug={slug} />}>
<FormPanel
footer={subscription?.billing_via_partner ? undefined : <CreditTopUp slug={slug} />}
>
<FormSection>
<FormSectionContent fullWidth loading={isLoading}>
{isError && (
Expand Down
Loading