Use new code style
This commit is contained in:
@ -7,58 +7,60 @@
|
||||
?>
|
||||
<div id="dashboard-filters" class="wp-filter wu-filter">
|
||||
|
||||
<ul class="filter-links">
|
||||
<ul class="filter-links">
|
||||
|
||||
<?php foreach ($views as $tab => $view) : ?>
|
||||
<?php foreach ($views as $tab => $view) : ?>
|
||||
|
||||
<li class="<?php echo $tab === $active_tab ? 'current' : ''; ?>">
|
||||
<a href="<?php echo esc_attr($view['url']); ?>"
|
||||
class="<?php echo $tab === $active_tab ? 'current wu-font-medium' : ''; ?> wu-loader">
|
||||
<?php echo $view['label']; ?>
|
||||
</a>
|
||||
</li>
|
||||
<li class="<?php echo $tab === $active_tab ? 'current' : ''; ?>">
|
||||
<a href="<?php echo esc_attr($view['url']); ?>"
|
||||
class="<?php echo $tab === $active_tab ? 'current wu-font-medium' : ''; ?> wu-loader">
|
||||
<?php echo $view['label']; ?>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<?php endforeach; ?>
|
||||
<?php endforeach; ?>
|
||||
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
<ul class="filter-links sm:wu-float-right sm:wu-w-1/2 lg:wu-w-1/4 wu--mx-2 wu-block sm:wu-inline-block">
|
||||
<li class="wu-w-full wu-relative">
|
||||
<span class="dashicons-wu-calendar wu-absolute wu-text-base wu-text-gray-600" style="top: 18px; left: 12px;"></span>
|
||||
<input
|
||||
id="wu-date-range"
|
||||
style="min-height: 28px;"
|
||||
class="wu-border-0 wu-border-l wu-border-gray-300 wu-bg-gray-100 wu-w-full wu-text-right wu-py-3 wu-outline-none wu-rounded-none"
|
||||
placeholder="Loading..."
|
||||
>
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="filter-links sm:wu-float-right sm:wu-w-1/2 lg:wu-w-1/4 wu--mx-2 wu-block sm:wu-inline-block">
|
||||
<li class="wu-w-full wu-relative">
|
||||
<span class="dashicons-wu-calendar wu-absolute wu-text-base wu-text-gray-600" style="top: 18px; left: 12px;"></span>
|
||||
<input
|
||||
id="wu-date-range"
|
||||
style="min-height: 28px;"
|
||||
class="wu-border-0 wu-border-l wu-border-gray-300 wu-bg-gray-100 wu-w-full wu-text-right wu-py-3 wu-outline-none wu-rounded-none"
|
||||
placeholder="Loading..."
|
||||
>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul class="wu-hidden md:wu-inline-block filter-links sm:wu-float-right md:wu-mr-6">
|
||||
<ul class="wu-hidden md:wu-inline-block filter-links sm:wu-float-right md:wu-mr-6">
|
||||
|
||||
<?php foreach ($preset_options as $slug => $preset) : ?>
|
||||
<?php foreach ($preset_options as $slug => $preset) : ?>
|
||||
|
||||
<?php
|
||||
<?php
|
||||
|
||||
$link = add_query_arg(array(
|
||||
'start_date' => $preset['start_date'],
|
||||
'end_date' => $preset['end_date'],
|
||||
'preset' => $slug,
|
||||
));
|
||||
$link = add_query_arg(
|
||||
array(
|
||||
'start_date' => $preset['start_date'],
|
||||
'end_date' => $preset['end_date'],
|
||||
'preset' => $slug,
|
||||
)
|
||||
);
|
||||
|
||||
$request_slug = wu_request('preset', 'none');
|
||||
$request_slug = wu_request('preset', 'none');
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
<li class="<?php echo $slug === $request_slug ? 'current' : ''; ?>">
|
||||
<a href="<?php echo esc_attr($link); ?>"
|
||||
class="<?php echo $slug === $request_slug ? 'current wu-font-medium' : ''; ?> wu-loader">
|
||||
<?php echo $preset['label']; ?>
|
||||
</a>
|
||||
</li>
|
||||
<li class="<?php echo $slug === $request_slug ? 'current' : ''; ?>">
|
||||
<a href="<?php echo esc_attr($link); ?>"
|
||||
class="<?php echo $slug === $request_slug ? 'current wu-font-medium' : ''; ?> wu-loader">
|
||||
<?php echo $preset['label']; ?>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<?php endforeach; ?>
|
||||
<?php endforeach; ?>
|
||||
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
@ -11,29 +11,29 @@
|
||||
|
||||
<?php
|
||||
|
||||
$data = array();
|
||||
$slug = 'signup_countries';
|
||||
$data = array();
|
||||
$slug = 'signup_countries';
|
||||
$headers = array(
|
||||
__('Country', 'wp-ultimo'),
|
||||
__('Customer Count', 'wp-ultimo'),
|
||||
__('Country', 'wp-ultimo'),
|
||||
__('Customer Count', 'wp-ultimo'),
|
||||
);
|
||||
|
||||
foreach ($countries as $country_code => $count) {
|
||||
$line = array(
|
||||
wu_get_country_name($country_code),
|
||||
$count,
|
||||
);
|
||||
|
||||
$line = array(
|
||||
wu_get_country_name($country_code),
|
||||
$count,
|
||||
);
|
||||
|
||||
$data[] = $line;
|
||||
|
||||
$data[] = $line;
|
||||
} // end foreach;
|
||||
|
||||
$page->render_csv_button(array(
|
||||
'headers' => $headers,
|
||||
'data' => $data,
|
||||
'slug' => $slug,
|
||||
));
|
||||
$page->render_csv_button(
|
||||
array(
|
||||
'headers' => $headers,
|
||||
'data' => $data,
|
||||
'slug' => $slug,
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
|
||||
@ -41,77 +41,81 @@ $page->render_csv_button(array(
|
||||
|
||||
</div>
|
||||
|
||||
<?php if (!empty($countries)) : ?>
|
||||
<?php if ( ! empty($countries)) : ?>
|
||||
|
||||
<div class="wu-advanced-filters wu--mx-3 wu--mb-3 wu-mt-3">
|
||||
<div class="wu-advanced-filters wu--mx-3 wu--mb-3 wu-mt-3">
|
||||
|
||||
<table class="wp-list-table widefat fixed striped wu-border-t-0 wu-border-l-0 wu-border-r-0">
|
||||
<table class="wp-list-table widefat fixed striped wu-border-t-0 wu-border-l-0 wu-border-r-0">
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<th><?php _e('Country', 'wp-ultimo'); ?></th>
|
||||
<th class="wu-text-right"><?php _e('Customer Count', 'wp-ultimo'); ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<thead>
|
||||
<tr>
|
||||
<th><?php _e('Country', 'wp-ultimo'); ?></th>
|
||||
<th class="wu-text-right"><?php _e('Customer Count', 'wp-ultimo'); ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<tbody>
|
||||
|
||||
<?php foreach ($countries as $country_code => $count) : ?>
|
||||
<?php foreach ($countries as $country_code => $count) : ?>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<?php
|
||||
<tr>
|
||||
<td>
|
||||
<?php
|
||||
|
||||
printf('<span class="wu-flag-icon wu-flag-icon-%s wu-w-5 wu-mr-1" %s></span>',
|
||||
strtolower($country_code),
|
||||
wu_tooltip_text(wu_get_country_name($country_code))
|
||||
);
|
||||
printf(
|
||||
'<span class="wu-flag-icon wu-flag-icon-%s wu-w-5 wu-mr-1" %s></span>',
|
||||
strtolower($country_code),
|
||||
wu_tooltip_text(wu_get_country_name($country_code))
|
||||
);
|
||||
|
||||
?>
|
||||
<?php echo wu_get_country_name($country_code); ?>
|
||||
</td>
|
||||
<td class="wu-text-right"><?php echo $count; ?></td>
|
||||
</tr>
|
||||
?>
|
||||
<?php echo wu_get_country_name($country_code); ?>
|
||||
</td>
|
||||
<td class="wu-text-right"><?php echo $count; ?></td>
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
<?php
|
||||
|
||||
$state_list = wu_get_states_of_customers($country_code);
|
||||
$_state_count = 0;
|
||||
$state_list = wu_get_states_of_customers($country_code);
|
||||
$_state_count = 0;
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
<?php foreach ($state_list as $state => $state_count) : $_state_count = $_state_count + $state_count; ?>
|
||||
<?php
|
||||
foreach ($state_list as $state => $state_count) :
|
||||
$_state_count = $_state_count + $state_count;
|
||||
?>
|
||||
|
||||
<tr>
|
||||
<td class="wu-text-xs">|⟶ <?php echo $state; ?></td>
|
||||
<td class="wu-text-right"><?php echo $state_count; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="wu-text-xs">|⟶ <?php echo $state; ?></td>
|
||||
<td class="wu-text-right"><?php echo $state_count; ?></td>
|
||||
</tr>
|
||||
|
||||
<?php endforeach; ?>
|
||||
<?php endforeach; ?>
|
||||
|
||||
<?php if ($state_list && $count - $_state_count >= 0) : ?>
|
||||
<?php if ($state_list && $count - $_state_count >= 0) : ?>
|
||||
|
||||
<tr>
|
||||
<td class="wu-text-xs">|⟶ <?php _e('Other', 'wp-ultimo') ?></td>
|
||||
<td class="wu-text-right"><?php echo $count - $_state_count; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="wu-text-xs">|⟶ <?php _e('Other', 'wp-ultimo'); ?></td>
|
||||
<td class="wu-text-right"><?php echo $count - $_state_count; ?></td>
|
||||
</tr>
|
||||
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php endforeach; ?>
|
||||
<?php endforeach; ?>
|
||||
|
||||
</tbody>
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
<div class="wu-bg-gray-100 wu-p-4 wu-rounded wu-mt-6">
|
||||
<div class="wu-bg-gray-100 wu-p-4 wu-rounded wu-mt-6">
|
||||
|
||||
<?php _e('No countries registered yet.', 'wp-ultimo'); ?>
|
||||
<?php _e('No countries registered yet.', 'wp-ultimo'); ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php endif; ?>
|
||||
|
@ -12,29 +12,29 @@
|
||||
|
||||
<?php
|
||||
|
||||
$data = array();
|
||||
$slug = 'signup_forms';
|
||||
$data = array();
|
||||
$slug = 'signup_forms';
|
||||
$headers = array(
|
||||
__('Checkout Form', 'wp-ultimo'),
|
||||
__('Signups', 'wp-ultimo'),
|
||||
__('Checkout Form', 'wp-ultimo'),
|
||||
__('Signups', 'wp-ultimo'),
|
||||
);
|
||||
|
||||
foreach ($forms as $form) {
|
||||
$line = array(
|
||||
$form->signup_form,
|
||||
$form->count,
|
||||
);
|
||||
|
||||
$line = array(
|
||||
$form->signup_form,
|
||||
$form->count,
|
||||
);
|
||||
|
||||
$data[] = $line;
|
||||
|
||||
$data[] = $line;
|
||||
} // end foreach;
|
||||
|
||||
$page->render_csv_button(array(
|
||||
'headers' => $headers,
|
||||
'data' => $data,
|
||||
'slug' => $slug,
|
||||
));
|
||||
$page->render_csv_button(
|
||||
array(
|
||||
'headers' => $headers,
|
||||
'data' => $data,
|
||||
'slug' => $slug,
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
|
||||
@ -42,47 +42,47 @@ $page->render_csv_button(array(
|
||||
|
||||
</div>
|
||||
|
||||
<?php if (!empty($forms)) : ?>
|
||||
<?php if ( ! empty($forms)) : ?>
|
||||
|
||||
<div class="wu-advanced-filters wu--mx-3 wu--mb-3 wu-mt-3">
|
||||
<div class="wu-advanced-filters wu--mx-3 wu--mb-3 wu-mt-3">
|
||||
|
||||
<table class="wp-list-table widefat fixed striped wu-border-t-0 wu-border-l-0 wu-border-r-0">
|
||||
<table class="wp-list-table widefat fixed striped wu-border-t-0 wu-border-l-0 wu-border-r-0">
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<th><?php _e('Checkout Form', 'wp-ultimo'); ?></th>
|
||||
<th class="wu-text-right"><?php _e('Signups', 'wp-ultimo'); ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<thead>
|
||||
<tr>
|
||||
<th><?php _e('Checkout Form', 'wp-ultimo'); ?></th>
|
||||
<th class="wu-text-right"><?php _e('Signups', 'wp-ultimo'); ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<tbody>
|
||||
|
||||
<?php foreach ($forms as $form) : ?>
|
||||
<?php foreach ($forms as $form) : ?>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo $form->signup_form; ?>
|
||||
<?php if ($form->signup_form === 'by-admin') : ?>
|
||||
<?php echo wu_tooltip(__('Customers created via the admin panel, by super admins.', 'wp-ultimo')); ?>
|
||||
<?php endif;?>
|
||||
</td>
|
||||
<td class="wu-text-right"><?php echo $form->count; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo $form->signup_form; ?>
|
||||
<?php if ($form->signup_form === 'by-admin') : ?>
|
||||
<?php echo wu_tooltip(__('Customers created via the admin panel, by super admins.', 'wp-ultimo')); ?>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td class="wu-text-right"><?php echo $form->count; ?></td>
|
||||
</tr>
|
||||
|
||||
<?php endforeach; ?>
|
||||
<?php endforeach; ?>
|
||||
|
||||
</tbody>
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
<div class="wu-bg-gray-100 wu-p-4 wu-rounded wu-mt-6">
|
||||
<div class="wu-bg-gray-100 wu-p-4 wu-rounded wu-mt-6">
|
||||
|
||||
<?php _e('No data yet.', 'wp-ultimo'); ?>
|
||||
<?php _e('No data yet.', 'wp-ultimo'); ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php endif; ?>
|
||||
|
@ -20,8 +20,7 @@ $headers = array(
|
||||
);
|
||||
|
||||
foreach ($sites as $site_visits) {
|
||||
|
||||
$site_line = $site_visits->site->get_title().' '.get_admin_url($site_visits->site->get_id());
|
||||
$site_line = $site_visits->site->get_title() . ' ' . get_admin_url($site_visits->site->get_id());
|
||||
|
||||
$line = array(
|
||||
$site_line,
|
||||
@ -29,14 +28,15 @@ foreach ($sites as $site_visits) {
|
||||
);
|
||||
|
||||
$data[] = $line;
|
||||
|
||||
} // end foreach;
|
||||
|
||||
$page->render_csv_button(array(
|
||||
'headers' => $headers,
|
||||
'data' => $data,
|
||||
'slug' => $slug,
|
||||
));
|
||||
$page->render_csv_button(
|
||||
array(
|
||||
'headers' => $headers,
|
||||
'data' => $data,
|
||||
'slug' => $slug,
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
|
||||
@ -44,66 +44,66 @@ $page->render_csv_button(array(
|
||||
|
||||
</div>
|
||||
|
||||
<?php if (!empty($sites)) : ?>
|
||||
<?php if ( ! empty($sites)) : ?>
|
||||
|
||||
<div class="wu-advanced-filters wu--mx-3 wu--mb-3 wu-mt-3">
|
||||
<div class="wu-advanced-filters wu--mx-3 wu--mb-3 wu-mt-3">
|
||||
|
||||
<table class="wp-list-table widefat fixed striped wu-border-t-0 wu-border-l-0 wu-border-r-0">
|
||||
<table class="wp-list-table widefat fixed striped wu-border-t-0 wu-border-l-0 wu-border-r-0">
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="wu-w-8/12"><?php _e('Site', 'wp-ultimo'); ?></th>
|
||||
<th class="wu-text-right"><?php _e('Visits', 'wp-ultimo'); ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="wu-w-8/12"><?php _e('Site', 'wp-ultimo'); ?></th>
|
||||
<th class="wu-text-right"><?php _e('Visits', 'wp-ultimo'); ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<tbody>
|
||||
|
||||
<?php foreach ($sites as $site_visits) : ?>
|
||||
<?php foreach ($sites as $site_visits) : ?>
|
||||
|
||||
<tr>
|
||||
<td class="wu-align-middle">
|
||||
<span class="wu-uppercase wu-text-xs wu-text-gray-700 wu-font-bold">
|
||||
<?php echo $site_visits->site->get_title(); ?>
|
||||
</span>
|
||||
<tr>
|
||||
<td class="wu-align-middle">
|
||||
<span class="wu-uppercase wu-text-xs wu-text-gray-700 wu-font-bold">
|
||||
<?php echo $site_visits->site->get_title(); ?>
|
||||
</span>
|
||||
|
||||
<div class="sm:wu-flex">
|
||||
<div class="sm:wu-flex">
|
||||
|
||||
<a title="<?php _e('Homepage', 'wp-ultimo'); ?>" href="<?php echo esc_attr(get_home_url($site_visits->site->get_id())); ?>" class="wu-no-underline wu-flex wu-items-center wu-text-xs wp-ui-text-highlight">
|
||||
<a title="<?php _e('Homepage', 'wp-ultimo'); ?>" href="<?php echo esc_attr(get_home_url($site_visits->site->get_id())); ?>" class="wu-no-underline wu-flex wu-items-center wu-text-xs wp-ui-text-highlight">
|
||||
|
||||
<span class="dashicons-wu-link1 wu-align-middle wu-mr-1"></span>
|
||||
<?php _e('Homepage', 'wp-ultimo'); ?>
|
||||
<span class="dashicons-wu-link1 wu-align-middle wu-mr-1"></span>
|
||||
<?php _e('Homepage', 'wp-ultimo'); ?>
|
||||
|
||||
</a>
|
||||
</a>
|
||||
|
||||
<a title="<?php _e('Dashboard', 'wp-ultimo'); ?>" href="<?php echo esc_attr(get_admin_url($site_visits->site->get_id())); ?>" class="wu-no-underline wu-flex wu-items-center wu-text-xs wp-ui-text-highlight sm:wu-mt-0 sm:wu-ml-6">
|
||||
<a title="<?php _e('Dashboard', 'wp-ultimo'); ?>" href="<?php echo esc_attr(get_admin_url($site_visits->site->get_id())); ?>" class="wu-no-underline wu-flex wu-items-center wu-text-xs wp-ui-text-highlight sm:wu-mt-0 sm:wu-ml-6">
|
||||
|
||||
<span class="dashicons-wu-browser wu-align-middle wu-mr-1"></span>
|
||||
<?php _e('Dashboard', 'wp-ultimo'); ?>
|
||||
<span class="dashicons-wu-browser wu-align-middle wu-mr-1"></span>
|
||||
<?php _e('Dashboard', 'wp-ultimo'); ?>
|
||||
|
||||
</a>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
</td>
|
||||
<td class="wu-align-middle wu-text-right">
|
||||
<?php echo sprintf(_n('%d visit', '%d visits', $site_visits->count, 'wp-ultimo'), $site_visits->count); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</div>
|
||||
</td>
|
||||
<td class="wu-align-middle wu-text-right">
|
||||
<?php printf(_n('%d visit', '%d visits', $site_visits->count, 'wp-ultimo'), $site_visits->count); ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php endforeach; ?>
|
||||
<?php endforeach; ?>
|
||||
|
||||
</tbody>
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
<div class="wu-bg-gray-100 wu-p-4 wu-rounded wu-mt-6">
|
||||
<div class="wu-bg-gray-100 wu-p-4 wu-rounded wu-mt-6">
|
||||
|
||||
<?php _e('No visits registered in this period.', 'wp-ultimo'); ?>
|
||||
<?php _e('No visits registered in this period.', 'wp-ultimo'); ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php endif; ?>
|
||||
|
@ -7,26 +7,26 @@
|
||||
?>
|
||||
<div class="wu-mt-6 wu-mb-0">
|
||||
|
||||
<div v-show="false" class="wu-text-center wu-rounded wu-flex wu-items-center wu-justify-center wu-uppercase wu-font-semibold wu-text-xs wu-h-full wu-text-gray-700" style="height: 300px;">
|
||||
<div v-show="false" class="wu-text-center wu-rounded wu-flex wu-items-center wu-justify-center wu-uppercase wu-font-semibold wu-text-xs wu-h-full wu-text-gray-700" style="height: 300px;">
|
||||
|
||||
<span class="wu-blinking-animation">
|
||||
<span class="wu-blinking-animation">
|
||||
|
||||
<?php _e('Loading...', 'wp-ultimo'); ?>
|
||||
<?php _e('Loading...', 'wp-ultimo'); ?>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="chart_mrr_growth">
|
||||
<apexchart
|
||||
v-cloak
|
||||
height="300"
|
||||
:type="chart_options.mrr_growth.chartOptions.chart.type"
|
||||
:options="chart_options.mrr_growth.chartOptions"
|
||||
:series="chart_options.mrr_growth.series"
|
||||
>
|
||||
</apexchart>
|
||||
</div>
|
||||
<div id="chart_mrr_growth">
|
||||
<apexchart
|
||||
v-cloak
|
||||
height="300"
|
||||
:type="chart_options.mrr_growth.chartOptions.chart.type"
|
||||
:options="chart_options.mrr_growth.chartOptions"
|
||||
:series="chart_options.mrr_growth.series"
|
||||
>
|
||||
</apexchart>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
@ -7,69 +7,69 @@
|
||||
?>
|
||||
<div class="wu-styling">
|
||||
|
||||
<ul class="md:wu-flex wu-my-0 wu-mx-0">
|
||||
<ul class="md:wu-flex wu-my-0 wu-mx-0">
|
||||
|
||||
<li class="wu-p-2 wu-w-full md:wu-w-full wu-relative">
|
||||
<li class="wu-p-2 wu-w-full md:wu-w-full wu-relative">
|
||||
|
||||
<div>
|
||||
<div>
|
||||
|
||||
<strong class="wu-text-gray-800 wu-text-2xl md:wu-text-xl">
|
||||
<?php echo $new_accounts; ?>
|
||||
</strong>
|
||||
<strong class="wu-text-gray-800 wu-text-2xl md:wu-text-xl">
|
||||
<?php echo $new_accounts; ?>
|
||||
</strong>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="wu-text-sm wu-text-gray-600">
|
||||
<span class="wu-block"><?php _e('New Memberships', 'wp-ultimo'); ?></span>
|
||||
</div>
|
||||
<div class="wu-text-sm wu-text-gray-600">
|
||||
<span class="wu-block"><?php _e('New Memberships', 'wp-ultimo'); ?></span>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
<div class="wu--mx-3 wu--mb-3 wu-mt-2">
|
||||
<div class="wu--mx-3 wu--mb-3 wu-mt-2">
|
||||
|
||||
|
||||
<table class="wp-list-table widefat fixed striped wu-border-t-1 wu-border-l-0 wu-border-r-0">
|
||||
<table class="wp-list-table widefat fixed striped wu-border-t-1 wu-border-l-0 wu-border-r-0">
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<th><?php _e('Product Name', 'wp-ultimo'); ?></th>
|
||||
<th class="wu-text-right"><?php _e('New Memberships', 'wp-ultimo'); ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<thead>
|
||||
<tr>
|
||||
<th><?php _e('Product Name', 'wp-ultimo'); ?></th>
|
||||
<th class="wu-text-right"><?php _e('New Memberships', 'wp-ultimo'); ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<tbody>
|
||||
|
||||
<?php if ($products) : ?>
|
||||
<?php if ($products) : ?>
|
||||
|
||||
<?php foreach ($products as $product) : ?>
|
||||
<?php foreach ($products as $product) : ?>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo $product->name; ?>
|
||||
</td>
|
||||
<td class="wu-text-right">
|
||||
<?php echo $product->count; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo $product->name; ?>
|
||||
</td>
|
||||
<td class="wu-text-right">
|
||||
<?php echo $product->count; ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php endforeach; ?>
|
||||
<?php endforeach; ?>
|
||||
|
||||
<?php else : ?>
|
||||
<?php else : ?>
|
||||
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<?php _e('No Products found.', 'wp-ultimo'); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<?php _e('No Products found.', 'wp-ultimo'); ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
</tbody>
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
@ -7,100 +7,100 @@
|
||||
?>
|
||||
<div class="wu-styling">
|
||||
|
||||
<ul class="lg:wu-flex wu-my-0 wu-mx-0">
|
||||
<ul class="lg:wu-flex wu-my-0 wu-mx-0">
|
||||
|
||||
<li class="wu-p-2 wu-w-full md:wu-w-4/12 wu-relative" <?php echo wu_tooltip_text(__('MRR stands for Monthly Recurring Revenue', 'wp-ultimo')); ?>>
|
||||
<li class="wu-p-2 wu-w-full md:wu-w-4/12 wu-relative" <?php echo wu_tooltip_text(__('MRR stands for Monthly Recurring Revenue', 'wp-ultimo')); ?>>
|
||||
|
||||
<div>
|
||||
<div>
|
||||
|
||||
<strong class="wu-text-gray-800 wu-text-2xl md:wu-text-xl">
|
||||
<?php echo wu_format_currency($mrr); ?>
|
||||
</strong>
|
||||
<strong class="wu-text-gray-800 wu-text-2xl md:wu-text-xl">
|
||||
<?php echo wu_format_currency($mrr); ?>
|
||||
</strong>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="wu-text-md wu-text-gray-600">
|
||||
<span class="wu-block"><?php _e('MRR', 'wp-ultimo'); ?></span>
|
||||
</div>
|
||||
<div class="wu-text-md wu-text-gray-600">
|
||||
<span class="wu-block"><?php _e('MRR', 'wp-ultimo'); ?></span>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
</li>
|
||||
|
||||
<li class="wu-p-2 wu-w-full md:wu-w-4/12 wu-relative">
|
||||
<li class="wu-p-2 wu-w-full md:wu-w-4/12 wu-relative">
|
||||
|
||||
<div>
|
||||
<div>
|
||||
|
||||
<strong class="wu-text-gray-800 wu-text-2xl md:wu-text-xl">
|
||||
<?php echo wu_format_currency($gross_revenue); ?>
|
||||
</strong>
|
||||
<strong class="wu-text-gray-800 wu-text-2xl md:wu-text-xl">
|
||||
<?php echo wu_format_currency($gross_revenue); ?>
|
||||
</strong>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="wu-text-md wu-text-gray-600">
|
||||
<span class="wu-block"><?php _e('Gross Revenue', 'wp-ultimo'); ?></span>
|
||||
</div>
|
||||
<div class="wu-text-md wu-text-gray-600">
|
||||
<span class="wu-block"><?php _e('Gross Revenue', 'wp-ultimo'); ?></span>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
</li>
|
||||
|
||||
<li class="wu-p-2 wu-w-full md:wu-w-4/12 wu-relative">
|
||||
<li class="wu-p-2 wu-w-full md:wu-w-4/12 wu-relative">
|
||||
|
||||
<div>
|
||||
<div>
|
||||
|
||||
<strong class="wu-text-gray-800 wu-text-2xl md:wu-text-xl">
|
||||
<?php echo wu_format_currency($refunds); ?>
|
||||
</strong>
|
||||
<strong class="wu-text-gray-800 wu-text-2xl md:wu-text-xl">
|
||||
<?php echo wu_format_currency($refunds); ?>
|
||||
</strong>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="wu-text-md wu-text-gray-600">
|
||||
<span class="wu-block"><?php _e('Refunded', 'wp-ultimo'); ?></span>
|
||||
</div>
|
||||
<div class="wu-text-md wu-text-gray-600">
|
||||
<span class="wu-block"><?php _e('Refunded', 'wp-ultimo'); ?></span>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
<div class="wu--mx-3 wu--mb-3 wu-mt-2">
|
||||
<div class="wu--mx-3 wu--mb-3 wu-mt-2">
|
||||
|
||||
<table class="wp-list-table widefat fixed striped wu-border-t-1 wu-border-l-0 wu-border-r-0">
|
||||
<table class="wp-list-table widefat fixed striped wu-border-t-1 wu-border-l-0 wu-border-r-0">
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<th><?php _e('Product', 'wp-ultimo'); ?></th>
|
||||
<th class="wu-text-right"><?php _e('Revenue', 'wp-ultimo'); ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<thead>
|
||||
<tr>
|
||||
<th><?php _e('Product', 'wp-ultimo'); ?></th>
|
||||
<th class="wu-text-right"><?php _e('Revenue', 'wp-ultimo'); ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<tbody>
|
||||
|
||||
<?php if (wu_get_products()) : ?>
|
||||
<?php if (wu_get_products()) : ?>
|
||||
|
||||
<?php foreach ($product_stats as $stats) : ?>
|
||||
<?php foreach ($product_stats as $stats) : ?>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo $stats['label']; ?>
|
||||
</td>
|
||||
<td class="wu-text-right">
|
||||
<?php echo wu_format_currency($stats['revenue']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo $stats['label']; ?>
|
||||
</td>
|
||||
<td class="wu-text-right">
|
||||
<?php echo wu_format_currency($stats['revenue']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php endforeach; ?>
|
||||
<?php endforeach; ?>
|
||||
|
||||
<?php else : ?>
|
||||
<?php else : ?>
|
||||
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<?php _e('No Products found.', 'wp-ultimo'); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<?php _e('No Products found.', 'wp-ultimo'); ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
</tbody>
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
@ -7,88 +7,88 @@
|
||||
?>
|
||||
<div class="wu-styling">
|
||||
|
||||
<div class="wu-widget-inset">
|
||||
<div class="wu-widget-inset">
|
||||
|
||||
<?php
|
||||
<?php
|
||||
|
||||
$data = array();
|
||||
$slug = 'taxes_by_code';
|
||||
$headers = array(
|
||||
__('Tax', 'wp-ultimo'),
|
||||
__('Rate', 'wp-ultimo'),
|
||||
__('Orders', 'wp-ultimo'),
|
||||
__('Tax Total', 'wp-ultimo'),
|
||||
);
|
||||
$data = array();
|
||||
$slug = 'taxes_by_code';
|
||||
$headers = array(
|
||||
__('Tax', 'wp-ultimo'),
|
||||
__('Rate', 'wp-ultimo'),
|
||||
__('Orders', 'wp-ultimo'),
|
||||
__('Tax Total', 'wp-ultimo'),
|
||||
);
|
||||
|
||||
foreach ($taxes_by_rate as $tax_line) {
|
||||
foreach ($taxes_by_rate as $tax_line) {
|
||||
$line = array(
|
||||
wu_get_isset($tax_line, 'title', 'No Name'),
|
||||
$tax_line['tax_rate'],
|
||||
$tax_line['order_count'],
|
||||
wu_format_currency($tax_line['tax_total']),
|
||||
);
|
||||
|
||||
$line = array(
|
||||
wu_get_isset($tax_line, 'title', 'No Name'),
|
||||
$tax_line['tax_rate'],
|
||||
$tax_line['order_count'],
|
||||
wu_format_currency($tax_line['tax_total']),
|
||||
);
|
||||
$data[] = $line;
|
||||
} // end foreach;
|
||||
|
||||
$data[] = $line;
|
||||
$page->render_csv_button(
|
||||
array(
|
||||
'headers' => $headers,
|
||||
'data' => $data,
|
||||
'slug' => $slug,
|
||||
)
|
||||
);
|
||||
|
||||
} // end foreach;
|
||||
?>
|
||||
|
||||
$page->render_csv_button(array(
|
||||
'headers' => $headers,
|
||||
'data' => $data,
|
||||
'slug' => $slug
|
||||
));
|
||||
<table class="wp-list-table widefat fixed striped wu-border-none">
|
||||
|
||||
?>
|
||||
<thead>
|
||||
<tr>
|
||||
<th><?php _e('Tax', 'wp-ultimo'); ?></th>
|
||||
<th><?php _e('Rate', 'wp-ultimo'); ?></th>
|
||||
<th><?php _e('Orders', 'wp-ultimo'); ?></th>
|
||||
<th><?php _e('Tax Total', 'wp-ultimo'); ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<table class="wp-list-table widefat fixed striped wu-border-none">
|
||||
<tbody>
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<th><?php _e('Tax', 'wp-ultimo'); ?></th>
|
||||
<th><?php _e('Rate', 'wp-ultimo'); ?></th>
|
||||
<th><?php _e('Orders', 'wp-ultimo'); ?></th>
|
||||
<th><?php _e('Tax Total', 'wp-ultimo'); ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<?php if ($taxes_by_rate) : ?>
|
||||
|
||||
<tbody>
|
||||
<?php foreach ($taxes_by_rate as $tax_line) : ?>
|
||||
|
||||
<?php if ($taxes_by_rate) : ?>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo wu_get_isset($tax_line, 'title', 'No Name'); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo $tax_line['tax_rate']; ?>%
|
||||
</td>
|
||||
<td>
|
||||
<?php echo $tax_line['order_count']; ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo wu_format_currency($tax_line['tax_total']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php foreach ($taxes_by_rate as $tax_line) : ?>
|
||||
<?php endforeach; ?>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo wu_get_isset($tax_line, 'title', 'No Name'); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo $tax_line['tax_rate']; ?>%
|
||||
</td>
|
||||
<td>
|
||||
<?php echo $tax_line['order_count']; ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo wu_format_currency($tax_line['tax_total']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php else : ?>
|
||||
|
||||
<?php endforeach; ?>
|
||||
<tr>
|
||||
<td colspan="4">
|
||||
<?php _e('No Taxes found.', 'wp-ultimo'); ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php else : ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<tr>
|
||||
<td colspan="4">
|
||||
<?php _e('No Taxes found.', 'wp-ultimo'); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
@ -7,12 +7,12 @@
|
||||
?>
|
||||
<div class="wu-styling">
|
||||
|
||||
<div class="wu-widget-inset">
|
||||
<div class="wu-widget-inset">
|
||||
|
||||
<?php
|
||||
<?php
|
||||
|
||||
$data = array();
|
||||
$slug = 'taxes_by_day';
|
||||
$data = array();
|
||||
$slug = 'taxes_by_day';
|
||||
$headers = array(
|
||||
__('Day', 'wp-ultimo'),
|
||||
__('Orders', 'wp-ultimo'),
|
||||
@ -22,79 +22,79 @@
|
||||
);
|
||||
|
||||
foreach ($taxes_by_day as $day => $tax_line) {
|
||||
|
||||
$line = array(
|
||||
date_i18n(get_option('date_format'), strtotime($day)),
|
||||
$tax_line['order_count'],
|
||||
wu_format_currency($tax_line['total']),
|
||||
wu_format_currency($tax_line['tax_total']),
|
||||
wu_format_currency($tax_line['net_profit'])
|
||||
wu_format_currency($tax_line['net_profit']),
|
||||
);
|
||||
|
||||
$data[] = $line;
|
||||
|
||||
$data[] = $line;
|
||||
} // end foreach;
|
||||
|
||||
$page->render_csv_button(array(
|
||||
'headers' => $headers,
|
||||
'data' => $data,
|
||||
'slug' => $slug
|
||||
));
|
||||
$page->render_csv_button(
|
||||
array(
|
||||
'headers' => $headers,
|
||||
'data' => $data,
|
||||
'slug' => $slug,
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
|
||||
<table class="wp-list-table widefat fixed striped wu-border-none">
|
||||
<table class="wp-list-table widefat fixed striped wu-border-none">
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="wu-w-1/3"><?php _e('Day', 'wp-ultimo'); ?></th>
|
||||
<th><?php _e('Orders', 'wp-ultimo'); ?></th>
|
||||
<th><?php _e('Total Sales', 'wp-ultimo'); ?></th>
|
||||
<th><?php _e('Tax Total', 'wp-ultimo'); ?></th>
|
||||
<th><?php _e('Net Profit', 'wp-ultimo'); ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="wu-w-1/3"><?php _e('Day', 'wp-ultimo'); ?></th>
|
||||
<th><?php _e('Orders', 'wp-ultimo'); ?></th>
|
||||
<th><?php _e('Total Sales', 'wp-ultimo'); ?></th>
|
||||
<th><?php _e('Tax Total', 'wp-ultimo'); ?></th>
|
||||
<th><?php _e('Net Profit', 'wp-ultimo'); ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<tbody>
|
||||
|
||||
<?php if ($taxes_by_day) : ?>
|
||||
<?php if ($taxes_by_day) : ?>
|
||||
|
||||
<?php foreach ($taxes_by_day as $day => $tax_line) : ?>
|
||||
<?php foreach ($taxes_by_day as $day => $tax_line) : ?>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo date_i18n(get_option('date_format'), strtotime($day)); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo $tax_line['order_count']; ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo wu_format_currency($tax_line['total']); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo wu_format_currency($tax_line['tax_total']); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo wu_format_currency($tax_line['net_profit']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo date_i18n(get_option('date_format'), strtotime($day)); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo $tax_line['order_count']; ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo wu_format_currency($tax_line['total']); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo wu_format_currency($tax_line['tax_total']); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo wu_format_currency($tax_line['net_profit']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php endforeach; ?>
|
||||
<?php endforeach; ?>
|
||||
|
||||
<?php else : ?>
|
||||
<?php else : ?>
|
||||
|
||||
<tr>
|
||||
<td colspan="4">
|
||||
<?php _e('No Taxes found.', 'wp-ultimo'); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="4">
|
||||
<?php _e('No Taxes found.', 'wp-ultimo'); ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
</tbody>
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
@ -7,26 +7,26 @@
|
||||
?>
|
||||
<div class="wu-mt-6 wu-mb-0">
|
||||
|
||||
<div v-show="false" class="wu-text-center wu-rounded wu-flex wu-items-center wu-justify-center wu-uppercase wu-font-semibold wu-text-xs wu-h-full wu-text-gray-700" style="height: 300px;">
|
||||
<div v-show="false" class="wu-text-center wu-rounded wu-flex wu-items-center wu-justify-center wu-uppercase wu-font-semibold wu-text-xs wu-h-full wu-text-gray-700" style="height: 300px;">
|
||||
|
||||
<span class="wu-blinking-animation">
|
||||
<span class="wu-blinking-animation">
|
||||
|
||||
<?php _e('Loading...', 'wp-ultimo'); ?>
|
||||
<?php _e('Loading...', 'wp-ultimo'); ?>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="chart_mrr_growth">
|
||||
<apexchart
|
||||
v-cloak
|
||||
height="300"
|
||||
:type="chart_options.mrr_growth.chartOptions.chart.type"
|
||||
:options="chart_options.mrr_growth.chartOptions"
|
||||
:series="chart_options.mrr_growth.series"
|
||||
>
|
||||
</apexchart>
|
||||
</div>
|
||||
<div id="chart_mrr_growth">
|
||||
<apexchart
|
||||
v-cloak
|
||||
height="300"
|
||||
:type="chart_options.mrr_growth.chartOptions.chart.type"
|
||||
:options="chart_options.mrr_growth.chartOptions"
|
||||
:series="chart_options.mrr_growth.series"
|
||||
>
|
||||
</apexchart>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
@ -7,26 +7,26 @@
|
||||
?>
|
||||
<div class="wu-mt-6 wu-mb-0">
|
||||
|
||||
<div v-show="false" class="wu-text-center wu-rounded wu-flex wu-items-center wu-justify-center wu-uppercase wu-font-semibold wu-text-xs wu-h-full wu-text-gray-700" style="height: 300px;">
|
||||
<div v-show="false" class="wu-text-center wu-rounded wu-flex wu-items-center wu-justify-center wu-uppercase wu-font-semibold wu-text-xs wu-h-full wu-text-gray-700" style="height: 300px;">
|
||||
|
||||
<span class="wu-blinking-animation">
|
||||
<span class="wu-blinking-animation">
|
||||
|
||||
<?php _e('Loading...', 'wp-ultimo'); ?>
|
||||
<?php _e('Loading...', 'wp-ultimo'); ?>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="chart_mrr_growth">
|
||||
<apexchart
|
||||
v-cloak
|
||||
height="300"
|
||||
:type="chart_options.mrr_growth.chartOptions.chart.type"
|
||||
:options="chart_options.mrr_growth.chartOptions"
|
||||
:series="chart_options.mrr_growth.series"
|
||||
>
|
||||
</apexchart>
|
||||
</div>
|
||||
<div id="chart_mrr_growth">
|
||||
<apexchart
|
||||
v-cloak
|
||||
height="300"
|
||||
:type="chart_options.mrr_growth.chartOptions.chart.type"
|
||||
:options="chart_options.mrr_growth.chartOptions"
|
||||
:series="chart_options.mrr_growth.series"
|
||||
>
|
||||
</apexchart>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user