                 <p:commandButton id="print" value="Actual print" style="display: none">
                                <p:ajax event="click" listener="#{reportsStock.prepareForView()}" update=":frm:tbl"/>
                                <p:printer target=":frm:tbl" />
                            </p:commandButton>
                        </h:panelGrid>

                        <h:panelGroup id="gpBillPreview"  styleClass="noBorder summeryBorder" class="w-100">

                            <p:dataTable 
  