            <h:panelGroup id="creditCard" rendered="#{pharmacyWholeSaleController3.paymentMethod eq 'Card'}">
                                                            <pa:creditCard paymentMethodData="#{pharmacyWholeSaleController3.paymentMethodData}"/>
                                                        </h:panelGroup>

                                                        <h:panelGroup id="ptdeposit" rendered="#{pharmacyWholeSaleController3.paymentMethod eq 'PatientDeposit'}">
                   