resources/assets/js/report.js
/**
     * @desc  Generate unique labels for elment children
     */
@desc  Generate unique labels for elment children
@desc Generate unique labels for elment children
function replaceLabels(element,number){
        $.each(element.find('*[for]'), function () {
            var $labelforId=$(this).attr('for');
            $(this).attr('for',$labelforId+"_"+number);
        });
        $.each(element.find('li[role="presentation"]'), function () {
            var $labelTabId=$(this).find('a').attr('href');
            $(this).find('a').attr('href',$labelTabId+"_"+number);
        });
    }
function replaceLabels ( element , number ) { $ . each ( element . find ( '*[for]' ) , function ( ) { var $labelforId = $ ( this ) . attr ( 'for' ) ; $ ( this ) . attr ( 'for' , $labelforId + "_" + number ) ; } ) ; $ . each ( element . find ( 'li[role="presentation"]' ) , function ( ) { var $labelTabId = $ ( this ) . find ( 'a' ) . attr ( 'href' ) ; $ ( this ) . find ( 'a' ) . attr ( 'href' , $labelTabId + "_" + number ) ; } ) ; }
@desc  Generate unique labels for elment children
@desc Generate unique labels for elment children