Skip to content

Commit 2efaf8e

Browse files
authored
chore(upcoming invoice): min amount / no plan fee (supabase#45877)
Prep work for new platform plan <img width="733" height="120" alt="Screenshot 2026-05-13 at 8 25 29 PM" src="https://github.com/user-attachments/assets/5667bb86-e317-44f7-86ac-07a8c5cc1994" />
1 parent fd01c66 commit 2efaf8e

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

  • apps/studio/components/interfaces/Organization/BillingSettings/BillingBreakdown

apps/studio/components/interfaces/Organization/BillingSettings/BillingBreakdown/UpcomingInvoice.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export const UpcomingInvoice = ({ slug }: UpcomingInvoiceProps) => {
122122
<div>
123123
<Table className="w-full text-sm">
124124
<TableBody>
125-
{!planFeePaidInAdvance && (
125+
{planItem && !planFeePaidInAdvance && (
126126
<TableRow>
127127
<TableCell className="py-2! px-0">{planItem?.description}</TableCell>
128128
<TableCell className="text-right py-2 px-0">
@@ -228,6 +228,13 @@ export const UpcomingInvoice = ({ slug }: UpcomingInvoiceProps) => {
228228
<span>{item.description ?? 'Unknown'}</span>
229229
{(sortedBreakdown.length > 0 || item.usage_metric !== null) && (
230230
<InfoTooltip className="max-w-sm">
231+
{item.item_name === 'minimum_amount' && (
232+
<p className="mb-2" translate="no">
233+
Minimum Fee - If your cost is below the minimum fee, you will be
234+
charged the difference as a floor fee
235+
</p>
236+
)}
237+
231238
{item.unit_price_desc && (
232239
<p className="mb-2" translate="no">
233240
Pricing: {item.unit_price_desc}

0 commit comments

Comments
 (0)