mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-01-02 22:47:50 -05:00
30 lines
636 B
PHP
30 lines
636 B
PHP
<?php
|
|
/**
|
|
* @var string $title
|
|
* @var string $subtitle
|
|
* @var string $chart_type
|
|
* @var array $summary_data_1
|
|
*/
|
|
?>
|
|
|
|
<?= view('partial/header') ?>
|
|
|
|
<?php
|
|
$title_info['config_title'] = esc($title);
|
|
echo view('configs/config_header', $title_info);
|
|
?>
|
|
|
|
<div id="page_subtitle"><?= esc($subtitle) ?></div>
|
|
|
|
<div class="ct-chart ct-golden-section" id="chart1"></div>
|
|
|
|
<?= view($chart_type) ?>
|
|
|
|
<div id="chart_report_summary">
|
|
<?php foreach ($summary_data_1 as $name => $value) { ?>
|
|
<div class="summary_row"><?= lang("Reports.$name") . ': ' . to_currency($value) ?></div>
|
|
<?php } ?>
|
|
</div>
|
|
|
|
<?= view('partial/footer') ?>
|