File manager - Edit - /var/www/payraty/helpdesk/common/resources/client/billing/billing-page/billing-page.tsx
Back
import {useBillingUser} from './use-billing-user'; import {CancelledPlanPanel} from './panels/cancelled-plan-panel'; import {ActivePlanPanel} from './panels/active-plan-panel'; import {PaymentMethodPanel} from './panels/payment-method-panel'; import {InvoiceHistoryPanel} from './panels/invoice-history-panel'; export function BillingPage() { const {subscription} = useBillingUser(); if (!subscription?.price || !subscription?.product) return null; const planPanel = subscription.ends_at ? ( <CancelledPlanPanel /> ) : ( <ActivePlanPanel /> ); return ( <div> {planPanel} <PaymentMethodPanel /> <InvoiceHistoryPanel /> </div> ); }
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0.37 |
proxy
|
phpinfo
|
Settings