diff --git a/application/views/logbookadvanced/index.php b/application/views/logbookadvanced/index.php index 85c0d207..70376bd7 100644 --- a/application/views/logbookadvanced/index.php +++ b/application/views/logbookadvanced/index.php @@ -468,6 +468,9 @@ $options = json_decode($options); iota->show ?? "true") == "true") { echo '' . lang('gen_hamradio_iota') . ''; } ?> + pota->show ?? "true") == "true") { + echo '' . lang('gen_hamradio_pota') . ''; + } ?> operator->show ?? "true") == "true") { echo '' . lang('gen_hamradio_operator') . ''; } ?> diff --git a/assets/js/sections/logbookadvanced.js b/assets/js/sections/logbookadvanced.js index 3e996516..c2961633 100644 --- a/assets/js/sections/logbookadvanced.js +++ b/assets/js/sections/logbookadvanced.js @@ -81,9 +81,9 @@ function updateRow(qso) { if (user_options.iota.show == "true"){ cells.eq(c++).html(qso.iota); } - // if (user_options.pota.show == "true"){ - // cells.eq(c++).html(qso.pota); - // } + if (user_options.pota.show == "true"){ + cells.eq(c++).html(qso.pota); + } if ( (user_options.operator) && (user_options.operator.show == "true")){ cells.eq(c++).html(qso.operator); } @@ -180,9 +180,9 @@ function loadQSOTable(rows) { if (user_options.iota.show == "true"){ data.push(qso.iota); } - // if (user_options.pota.show == "true"){ - // data.push(qso.pota); - // } + if (user_options.pota.show == "true"){ + data.push(qso.pota); + } if (user_options.operator.show == "true"){ data.push(qso.operator); }