d ne 'Card' ? 'none' : 'block'} ; ">
                                                <pa:creditCard paymentMethodData="#{pharmacySaleController2.paymentMethodData}"/>
                                            </h:panelGroup>

                                            <h:panelGroup id="cheque" style="display: #{pharmacySaleController2.paymentMethod ne 'Cheque' ? 'none' : 'block'} ; ">
                                                <pa:cheque paymentMethodData="#{pharmacySaleController2.paymentMethodData