Merge pull request #703 from daccle/fix_edit_transmit_pwr

adds TX_PWR to qso edit dialog
This commit is contained in:
Peter Goodhall
2020-11-18 16:19:00 +00:00
committed by GitHub
3 changed files with 15 additions and 1 deletions

View File

@@ -607,6 +607,7 @@ class Logbook_model extends CI_Model {
'COL_LOTW_QSL_RCVD' => $this->input->post('lotw_recv'),
'COL_IOTA' => $this->input->post('iota_ref'),
'COL_SOTA_REF' => $this->input->post('sota_ref'),
'COL_TX_PWR' => $this->input->post('transmit_power'),
'COL_SIG' => $this->input->post('sig'),
'COL_SIG_INFO' => $this->input->post('sig_info'),
'COL_DARC_DOK' => $this->input->post('darc_dok'),

View File

@@ -86,7 +86,15 @@
}
?>
</select>
</div>
</div>
<div class="form-group col-sm6">
<label for="transmit_power">Transmit Power (W)</label>
<input type="number" step="0.001" class="form-control" id="transmit_power" name="transmit_power" value="<?php echo $qso->COL_TX_PWR; ?>" />
<small id="powerHelp" class="form-text text-muted">Give power value in Watts. Include only numbers in the input.</small>
</div>
</div>
</div>
<div class="form-group col-sm-6">
<label for="freq">Band</label>

View File

@@ -165,6 +165,11 @@
?>
</select>
</div>
<div class="form-group col-sm6">
<label for="transmit_power">Transmit Power (W)</label>
<input type="number" step="0.001" class="form-control" id="transmit_power" name="transmit_power" value="<?php echo $qso->COL_TX_PWR; ?>" />
<small id="powerHelp" class="form-text text-muted">Give power value in Watts. Include only numbers in the input.</small>
</div>
</div>
<div class="form-row">