HEX
Server: Apache
System: Linux p3plzcpnl506847.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: slfopp7cb1df (5698090)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //proc/self/root/proc/self/cwd/pm/app/Views/expenses/reports/category_chart_container.php
<div>
    <div id="expense-chart-filters" class="chart-date-range-button">
    </div>
    <div id="load-expense-chart"></div>
</div>

<script type="text/javascript">
    $(document).ready(function () {
        var dynamicDates = getDynamicDates();
        $("#expense-chart-filters").appFilters({
            source: '<?php echo_uri("expenses/category_chart_view") ?>',
            targetSelector: '#load-expense-chart',
            rangeDatepicker: [{startDate: {name: "start_date", value: dynamicDates.start_of_year}, endDate: {name: "end_date", value: dynamicDates.end_of_year}, showClearButton: true, label: "<?php echo app_lang('date'); ?>", ranges: ['this_month', 'last_month', 'this_year', 'last_year', 'last_30_days', 'last_7_days']}],
            beforeRelaodCallback: function () {

            },
            afterRelaodCallback: function () {

            }
        });
    });
</script>