fix(portal): wire up Pay Now button with payment modal #164

Closed
groombook-engineer[bot] wants to merge 3 commits from fix/gro-261-pay-now-button into main
Showing only changes of commit 9caa03723c - Show all commits
@@ -216,7 +216,7 @@ export function BillingPayments({ readOnly }: Props) {
);
}
function PaymentModal({ outstanding, totalOutstanding, onClose }: { outstanding: Invoice[]; totalOutstanding: number; onClose: () => void }) {
function PaymentModal({ outstanding, totalOutstanding: _totalOutstanding, onClose }: { outstanding: Invoice[]; totalOutstanding: number; onClose: () => void }) {
const [selectedInvoices, setSelectedInvoices] = useState<Set<string>>(new Set(outstanding.map(i => i.id)));
const [isProcessing, setIsProcessing] = useState(false);
const [isComplete, setIsComplete] = useState(false);