'.totalValue').innerText = total.toFixed(2);
                        }

                        setTimeout(calculateTotal, 100);

                    </script>

                    <h:panelGroup rendered="#{cc.attrs.bill.discount ne 0.0}">
                        <tr>
                            <td  class="totalsBlock" style="text-align: left;">
                                <h:outputLabel  rendered="#{cc.attrs.bill.discount ne 0.0}" value="Discount " style="font-weight: bolder!important;"/>
            