Possibility to add DARC-DOK in existing Database-Field COL_DARC_DOK
这个提交包含在:
父节点
0b9767ce7a
当前提交
73cd07e4c2
共有 4 个文件被更改,包括 20 次插入 和 0 次删除
|
|
@ -81,6 +81,7 @@ class Logbook_model extends CI_Model {
|
|||
'COL_DXCC' => $this->input->post('dxcc_id'),
|
||||
'COL_CQZ' => $this->input->post('cqz'),
|
||||
'COL_SOTA_REF' => trim($this->input->post('sota_ref')),
|
||||
'COL_DARC_DOK' => trim($this->input->post('darc_dok')),
|
||||
);
|
||||
|
||||
if (strpos(trim($this->input->post('locator')), ',') !== false) {
|
||||
|
|
@ -163,6 +164,7 @@ class Logbook_model extends CI_Model {
|
|||
'COL_DXCC' => $this->input->post('dxcc_id'),
|
||||
'COL_CQZ' => $this->input->post('cqz'),
|
||||
'COL_SOTA_REF' => trim($this->input->post('sota_ref')),
|
||||
'COL_DARC_DOK' => trim($this->input->post('darc_dok')),
|
||||
);
|
||||
|
||||
// If station profile has been provided fill in the fields
|
||||
|
|
|
|||
|
|
@ -113,6 +113,10 @@
|
|||
<td><input type="text" name="qth" value="<?php echo $COL_QTH; ?>" /></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>DOK</td>
|
||||
<td><input type="text" name="darc_dok" value="<?php echo $COL_DARC_DOK; ?>" /></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Comment</td>
|
||||
|
|
|
|||
|
|
@ -138,6 +138,13 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label for="darc_dok" class="col-sm-3 col-form-label">DOK</label>
|
||||
<div class="col-sm-9">
|
||||
<input type="text" class="form-control form-control-sm" name="darc_dok" id="darc_dok" value="">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label for="comment" class="col-sm-3 col-form-label">Comment</label>
|
||||
<div class="col-sm-9">
|
||||
|
|
|
|||
|
|
@ -79,6 +79,13 @@
|
|||
</tr>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($row->COL_DARC_DOK != null) { ?>
|
||||
<tr>
|
||||
<td>DOK</td>
|
||||
<td><?php echo $row->COL_DARC_DOK; ?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($row->COL_COMMENT != null) { ?>
|
||||
<tr>
|
||||
<td>Comment</td>
|
||||
|
|
|
|||
正在加载…
在新工单中引用