resources/assets/js/report.js
/**
     * @desc  Generate unique data-targets for elment children
     */
@desc  Generate unique data-targets for elment children
@desc Generate unique data - targets for elment children
function replaceDataTarget(element,number){
        $.each(element.find('*[data-target]'), function () {
            var  dataTarget=$(this).attr('data-target');
            if(dataTarget.charAt(0)=='#')
                $(this).attr('data-target',dataTarget+"_"+number);
        });
    }
function replaceDataTarget ( element , number ) { $ . each ( element . find ( '*[data-target]' ) , function ( ) { var dataTarget = $ ( this ) . attr ( 'data-target' ) ; if ( dataTarget . charAt ( 0 ) == '#' ) $ ( this ) . attr ( 'data-target' , dataTarget + "_" + number ) ; } ) ; }
@desc  Generate unique data-targets for elment children
@desc Generate unique data - targets for elment children
//only change targets that are based on ids