Commit 60c13b2c authored by Angel Matilla's avatar Angel Matilla
Browse files

added visualization of option table corrections 1

parent c218a22a
......@@ -276,8 +276,8 @@ class GEN_EU_Dashboard_Viewer {
<div class="gen-container">
<hr>
<?php
foreach ( $dashboard->get_number_of_registrants_by_trasnportation_list() as $options => $value ) {
echo '<strong>' . esc_html( $transportation ) . ' </strong><span class="gen-value">' . esc_html( $value ) . '</span><hr>';
foreach ( $dashboard->get_number_of_registrants_by_trasnportation_list() as $transportation => $sum ) {
echo '<strong>' . esc_html( $transportation ) . ' </strong><span class="gen-value">' . esc_html( $sum ) . '</span><hr>';
}
?>
</div>
......@@ -351,8 +351,8 @@ class GEN_EU_Dashboard_Viewer {
<div class="gen-container">
<hr>
<?php
foreach ( $dashboard->get_all_options() as $transportation => $sum ) {
echo '<strong>' . esc_html( $transportation ) . ' </strong><span class="gen-value">' . esc_html( $sum ) . '</span><hr>';
foreach ( $dashboard->get_all_options() as $options => $value ) {
echo '<strong>' . esc_html( $options ) . ' </strong><span class="gen-value">' . esc_html( $value ) . '</span><hr>';
}
?>
</div>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment