fix(portal): add X-Impersonation-Session-Id headers to fix 404s (GRO-286) #177

Closed
groombook-engineer[bot] wants to merge 6 commits from fix/portal-password-validation-report-cards-retry into main
Showing only changes of commit 317915a10d - Show all commits
@@ -110,14 +110,12 @@ export function BillingPayments({ sessionId, readOnly }: BillingPaymentsProps) {
{pending.length} unpaid invoice{pending.length > 1 ? "s" : ""}
</p>
</div>
{!readOnly && (
<button
<button
onClick={() => setShowPaymentModal(true)}
className="px-6 py-2 bg-(--color-accent) text-white rounded-lg text-sm font-medium hover:bg-(--color-accent-hover)"
>
Pay Now
</button>
)}
</div>
)}
@@ -293,7 +291,7 @@ export function BillingPayments({ sessionId, readOnly }: BillingPaymentsProps) {
)}
{/* Payment Modal */}
{showPaymentModal && !readOnly && (
{showPaymentModal && (
<PaymentModal
pending={pending}
totalPending={totalPending}