import React from "react"; import { StoreERP, Billing, PaymentPlan, PartnerSales } from "../../src/services/lookup.service"; import { ArrowLeft, ArrowRight } from "lucide-react"; interface PaymentStepProps { paymentForm: { invoiceStore: StoreERP | null; billing: Billing | null; paymentPlan: PaymentPlan | null; partner: PartnerSales | null; }; paymentErrors: Record; stores: StoreERP[]; billings: Billing[]; paymentPlans: PaymentPlan[]; partners: PartnerSales[]; isLoadingPaymentData: boolean; onInvoiceStoreChange: (store: StoreERP | null) => void; onBillingChange: (billing: Billing | null) => void; onPaymentPlanChange: (plan: PaymentPlan | null) => void; onPartnerChange: (partner: PartnerSales | null) => void; onPrevious: () => void; onNext: () => void; } const PaymentStep: React.FC = ({ paymentForm, paymentErrors, stores, billings, paymentPlans, partners, isLoadingPaymentData, onInvoiceStoreChange, onBillingChange, onPaymentPlanChange, onPartnerChange, onPrevious, onNext, }) => { return (

Pagamento

{paymentErrors.invoiceStore && (

{paymentErrors.invoiceStore}

)}
{paymentErrors.billing && (

{paymentErrors.billing}

)}
{paymentErrors.paymentPlan && (

{paymentErrors.paymentPlan}

)}
); }; export default PaymentStep;