Added gridsquare for state qsos not updated

This commit is contained in:
Andreas Kristiansen
2025-12-16 13:27:58 +01:00
parent 80b2b340f1
commit 4f3f0220ef
2 changed files with 5 additions and 2 deletions

View File

@@ -1613,6 +1613,7 @@ class Logbookadvanced_model extends CI_Model {
} else {
$result['station_profile_name'] = $qso->station_profile_name;
$result['id'] = $qso->COL_PRIMARY_KEY;
$result['gridsquare'] = $qso->COL_GRIDSQUARE;
$results[] = $result;
}
}

View File

@@ -97,8 +97,9 @@ function showStateUpdateResult($result, $country) {
echo '<thead class="table-dark">';
echo '<tr>';
echo '<th>' . __("Callsign") . '</th>';
echo '<th>' . __("Reason") . '</th>';
echo '<th>' . __("Gridsquare") . '</th>';
echo '<th>' . __("Station location") . '</th>';
echo '<th>' . __("Reason") . '</th>';
echo '</tr>';
echo '</thead>';
echo '<tbody>';
@@ -106,8 +107,9 @@ function showStateUpdateResult($result, $country) {
foreach ($details as $r) {
echo '<tr>';
echo '<td><a id="edit_qso" href="javascript:displayQso(' . $r['id'] . ')">' . htmlspecialchars($r['callsign']) . '</a></td>';
echo '<td>' . htmlspecialchars($r['reason']) . '</td>';
echo '<td>' . htmlspecialchars($r['gridsquare']) . '</td>';
echo '<td>' . htmlspecialchars($r['station_profile_name']) . '</td>';
echo '<td>' . htmlspecialchars($r['reason']) . '</td>';
echo '</tr>';
}