Esempio n. 1
0
function getIncome_Outcome_JSON($month_start, $year_start, $month_end, $year_end)
{
    $resultArr = getIncome_Outcome($month_start, $year_start, $month_end, $year_end);
    return json_encode($resultArr, JSON_NUMERIC_CHECK);
    //, JSON_UNESCAPED_UNICODE);
}
Esempio n. 2
0
        </div>
        <!-- /. WRAPPER  -->
        <!-- SCRIPTS -AT THE BOTOM TO REDUCE THE LOAD TIME-->
        <!-- JQUERY SCRIPTS -->
<!--        <script src="../assets/js/jquery-1.10.2.js"></script>-->
        <!-- BOOTSTRAP SCRIPTS -->
        <script src="../assets/js/bootstrap.min.js"></script>
        <!-- METISMENU SCRIPTS -->
        <script src="../assets/js/jquery.metisMenu.js"></script>
        <!-- DATA TABLE SCRIPTS -->
        <script src="../assets/js/dataTables/jquery.dataTables.js"></script>
        <script src="../assets/js/dataTables/dataTables.bootstrap.js"></script>
        <pre>
            <?php 
$getIncome_Outcome_JSON = getIncome_Outcome_JSON($month_start, $year_start, $month_end, $year_end);
$getIncome_Outcome = getIncome_Outcome($month_start, $year_start, $month_end, $year_end);
//        $getIncome_Outcome_total = getIncome_Outcome_total($getIncome_Outcome);
//        print_r($getIncome_Outcome_total);
$getIncome_Outcome_total_JSON = getIncome_Outcome_total_JSON($getIncome_Outcome);
//print_r($getIncome_Outcome_total_JSON);
?>
        </pre>
        <script>
                        $(function () {
                            $('[data-toggle="tooltip"]').tooltip();
                            $('table.highchart').highchartTable();
                        });

                        var idshop;
                        var data = JSON.stringify(<?php 
echo $getIncome_Outcome_total_JSON;