prework_v1
This commit is contained in:
parent
6dc1f24bb3
commit
3adae4f3bf
@ -67,6 +67,8 @@ class Admin extends BaseController {
|
|||||||
'ispending'=> $row['ODR_ISPENDING'] ?? 0,
|
'ispending'=> $row['ODR_ISPENDING'] ?? 0,
|
||||||
'ishardcopy'=> $row['ODR_NFLAGHARDCOPY'] ?? 0,
|
'ishardcopy'=> $row['ODR_NFLAGHARDCOPY'] ?? 0,
|
||||||
'isval' => $row['ISVAL'] ?? 0,
|
'isval' => $row['ISVAL'] ?? 0,
|
||||||
|
'isval1' => $row['ISVAL1'] ?? 0,
|
||||||
|
'isval2' => $row['ISVAL2'] ?? 0,
|
||||||
'isdelete' => $isDelete,
|
'isdelete' => $isDelete,
|
||||||
'val' => $row['VAL'] ?? 0,
|
'val' => $row['VAL'] ?? 0,
|
||||||
'val1user' => $row['VAL1USER'] ?? '-',
|
'val1user' => $row['VAL1USER'] ?? '-',
|
||||||
|
|||||||
@ -126,22 +126,25 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td id='val2user-<?=$accessnumber;?>'>2 : <?=$row['val2user'];?></td>
|
<td id='val2user-<?=$accessnumber;?>'>2 : <?=$row['val2user'];?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php if($row['val'] != 2) { ?>
|
<?php if($row['isval'] == 1) { ?>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<button id='unvalBtn-<?=$accessnumber;?>' class='btn btn-xs btn-outline-secondary px-1 py-0 mb-1' onclick="unvalidateShow(<?=$row['sp_accessnumber'];?>)" data-bs-toggle="modal" data-bs-target="#unvalidateModal"><i class="bi bi-arrow-counterclockwise"></i></button>
|
<button id='unvalBtn-<?=$accessnumber;?>' class='btn btn-xs btn-outline-secondary px-1 py-0 mb-1' onclick="unvalidateShow(<?=$row['sp_accessnumber'];?>)" data-bs-toggle="modal" data-bs-target="#unvalidateModal"><i class="bi bi-arrow-counterclockwise"></i></button>
|
||||||
|
<?php if($row['val2user'] == '' || $row['val2user'] == '-' ) {?>
|
||||||
<button id='valBtn-<?=$accessnumber;?>' class='btn btn-xs btn-outline-success px-1 py-0 mb-1' onclick="validateShow(<?=$row['sp_accessnumber'];?>)" data-bs-toggle="modal" data-bs-target="#validateModal"><i class="bi bi-check-lg"></i></button>
|
<button id='valBtn-<?=$accessnumber;?>' class='btn btn-xs btn-outline-success px-1 py-0 mb-1' onclick="validateShow(<?=$row['sp_accessnumber'];?>)" data-bs-toggle="modal" data-bs-target="#validateModal"><i class="bi bi-check-lg"></i></button>
|
||||||
|
<?php } ?>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php } ?>
|
<?php if($row['isval2']==1) {?>
|
||||||
</table>
|
<tr>
|
||||||
<!--
|
<td>
|
||||||
<?php if($row['val'] == 2) { ?>
|
<a href="http://glenlis/spooler_db/main_dev.php?acc=<?=$row['sp_accessnumber'];?>" target="_blank" class="btn btn-xs btn-primary py-0 px-1">Ind</a>
|
||||||
<a href="http://glenlis/spooler_db/main_dev.php?acc=<?=$row['sp_accessnumber'];?>" target="_blank" class="btn btn-xs btn-primary py-0 px-1">Ind</a> |
|
<a href="http://glenlis/spooler_db/main_dev.php?acc=<?=$row['sp_accessnumber'];?>&eng=1" target="_blank" class="btn btn-xs btn-primary py-0 px-1">Eng</a>
|
||||||
<a href="http://glenlis/spooler_db/main_dev.php?acc=<?=$row['sp_accessnumber'];?>&eng=1" target="_blank" class="btn btn-xs btn-primary py-0 px-1">Eng</a> |
|
|
||||||
<a href="#" class="btn btn-xs btn-secondary py-0 px-1">Pdf</a> <br />
|
<a href="#" class="btn btn-xs btn-secondary py-0 px-1">Pdf</a> <br />
|
||||||
<?php } ?>
|
</td>
|
||||||
-->
|
</tr>
|
||||||
|
<?php } } ?>
|
||||||
|
</table>
|
||||||
</td>
|
</td>
|
||||||
<td class="pointercol <?= esc($class) ?>" data-access="<?= $row['sp_accessnumber'] ?>" onclick="detailShow(<?=$row['sp_accessnumber'];?>)" data-bs-toggle="modal" data-bs-target="#detailModal"> <?= esc($row['stats']) ?> </td>
|
<td class="pointercol <?= esc($class) ?>" data-access="<?= $row['sp_accessnumber'] ?>" onclick="detailShow(<?=$row['sp_accessnumber'];?>)" data-bs-toggle="modal" data-bs-target="#detailModal"> <?= esc($row['stats']) ?> </td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@ -6,8 +6,8 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row mx-auto">
|
<div class="row mx-auto">
|
||||||
<!-- <iframe id="result-iframe" src="http://glenlis/spooler_db/main_dev.php?acc=<?=$accessnumber;?>" width="750px" height="600px"> -->
|
<iframe id="result-iframe" src="http://glenlis/spooler_db/main_dev.php?acc=<?=$accessnumber;?>" width="750px" height="600px"> -->
|
||||||
<iframe id="result-iframe" src="<?=base_url('dummypage');?>" width="750px" height="600px">
|
<!-- <iframe id="result-iframe" src="<?=base_url('dummypage');?>" width="750px" height="600px"> -->
|
||||||
|
|
||||||
<p>Your browser does not support iframes. Please contact the technical support.</p>
|
<p>Your browser does not support iframes. Please contact the technical support.</p>
|
||||||
</iframe>
|
</iframe>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user