        <p:dataExporter type="xlsx" target="tbl" fileName="Total_Stock"

                                                />
                            </p:commandButton>
                            <p:commandButton class="ui-button-info" icon="fas fa-print" value="Print" actionListener="#{reportsStock.prepareForPrint()}" 
                                             oncomplete="$('#frm\\:print').click()"
                                             update=":frm:tbl"/>
                            <p:command