File tree Expand file tree Collapse file tree
organization-[organization]/billing Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -560,7 +560,6 @@ export async function checkForMissingPaymentMethod() {
560560 Query . isNull ( 'backupPaymentMethodId' ) ,
561561 Query . equal ( 'platform' , Platform . Appwrite )
562562 ] ) ;
563-
564563 if ( orgs ?. total ) {
565564 orgMissingPaymentMethod . set ( orgs . teams [ 0 ] ) ;
566565 headerAlert . add ( {
Original file line number Diff line number Diff line change 4242 // For known plans, use tierToPlan
4343 const tierData = tierToPlan (billingPlan as Tier );
4444
45- // If it's not a custom plan, or we got a non-custom result, return the name
45+ // If it's not a custom plan or we got a non-custom result, return the name
4646 if (tierData .name !== ' Custom' ) {
4747 return tierData .name ;
4848 }
Original file line number Diff line number Diff line change 229229 campaign ?.plan && $plansInfo .get (campaign .plan ) ? $plansInfo .get (campaign .plan ) : null ;
230230 const newPlan = $plansInfo .get (billingPlan );
231231
232- // if campaign has a plan, and it's higher than the selected new plan
232+ // if campaign has a plan and it's higher than the selected new plan
233233 if (campaignPlan ?.order > newPlan ?.order ) {
234234 return campaignPlan .$id as Tier ;
235235 }
Original file line number Diff line number Diff line change 125125 {/if }
126126 {#if organization ?.billingPlanDowngrade }
127127 <Alert .Inline status =" info" >
128- Your organization has changed to {tierToPlan (organization ?.billingPlanDowngrade ).name }
129- plan. You will continue to have access to {tierToPlan (organization ?.billingPlan ).name }
130- plan features until your billing period ends on {toLocaleDate (
131- organization .billingNextInvoiceDate
132- )}.
128+ Your organization has changed to {tierToPlan (organization ?.billingPlanDowngrade ).name } plan.
129+ You will continue to have access to {tierToPlan (organization ?.billingPlan ).name } plan features
130+ until your billing period ends on {toLocaleDate (organization .billingNextInvoiceDate )}.
133131 </Alert .Inline >
134132 {/if }
135133 {#if $useNewPricingModal }
You can’t perform that action at this time.
0 commit comments