Gas stock details changes-5 vadivel J 28-11-2024
This commit is contained in:
parent
4d706ed970
commit
181b6648ec
@ -67,21 +67,26 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<form class="Date-filter-form" id="DateRangeFilter" style="margin-top: 14px;margin-bottom: -11px;margin-left: 33px;">
|
<form class="Date-filter-form" id="DateRangeFilter"
|
||||||
|
style="margin-top: 14px;margin-bottom: -11px;margin-left: 33px;">
|
||||||
<input type="hidden" name="table" value="requisition">
|
<input type="hidden" name="table" value="requisition">
|
||||||
<label for="fromDate">From:</label>
|
<label for="fromDate">From:</label>
|
||||||
<input class="form-control date_range form-date-search" id="fromDate" name="fromDate" placeholder="Select From Date" autocomplete="off" required>
|
<input class="form-control date_range form-date-search" id="fromDate" name="fromDate"
|
||||||
|
placeholder="Select From Date" autocomplete="off" required>
|
||||||
|
|
||||||
<label for="toDate">To:</label>
|
<label for="toDate">To:</label>
|
||||||
<input class="form-control date_range to-date-search" id="toDate" name="toDate" placeholder="Select To Date" autocomplete="off" required>
|
<input class="form-control date_range to-date-search" id="toDate" name="toDate"
|
||||||
|
placeholder="Select To Date" autocomplete="off" required>
|
||||||
|
|
||||||
<button type="submit" class="range_search_button"><i class="fe-search" aria-hidden="true" class="icon-button" title="Search"></i></button>
|
<button type="submit" class="range_search_button"><i class="fe-search" aria-hidden="true"
|
||||||
<i class="fe-rotate-cw range_reset_button" aria-hidden="true" class="icon-button" id="resetButton" title="Reset"></i>
|
class="icon-button" title="Search"></i></button>
|
||||||
|
<i class="fe-rotate-cw range_reset_button" aria-hidden="true" class="icon-button" id="resetButton"
|
||||||
|
title="Reset"></i>
|
||||||
|
|
||||||
<div style="margin-left:auto">
|
<div style="margin-left:auto">
|
||||||
<div class="form-check" style="margin-right: 25px;">
|
<div class="form-check" style="margin-right: 25px;">
|
||||||
<input class="form-check-input" type="checkbox" id="showArchiveId" name="showArchive"
|
<input class="form-check-input" type="checkbox" id="showArchiveId" name="showArchive" value="1"
|
||||||
value="1" onchange="showArchiveList()" style="widzth: 18px; height: 18px;">
|
onchange="showArchiveList()" style="width: 18px; height: 18px;">
|
||||||
<label class="form-check-label" for="showArchiveId" style="font-size: 1rem; margin-left: 8px;">
|
<label class="form-check-label" for="showArchiveId" style="font-size: 1rem; margin-left: 8px;">
|
||||||
Show Archive
|
Show Archive
|
||||||
</label>
|
</label>
|
||||||
@ -114,10 +119,12 @@
|
|||||||
foreach ($userRecords as $record) {
|
foreach ($userRecords as $record) {
|
||||||
$date = date("Y-m-d");
|
$date = date("Y-m-d");
|
||||||
?>
|
?>
|
||||||
<tr
|
<tr class="<?php if ($record->IsActive == 0) {
|
||||||
class="<?php if($record->IsActive == 0){echo"deactivatedRow";}?>"
|
echo "deactivatedRow";
|
||||||
style="<?php if($record->IsActive == 0){echo"display:none";}?>"
|
} ?>"
|
||||||
>
|
style="<?php if ($record->IsActive == 0) {
|
||||||
|
echo "display:none";
|
||||||
|
} ?>">
|
||||||
|
|
||||||
<?php if (date('d-m-Y', strtotime($record->CreatedDate)) == "30-11--0001") {
|
<?php if (date('d-m-Y', strtotime($record->CreatedDate)) == "30-11--0001") {
|
||||||
$cdate = '00-00-0000';
|
$cdate = '00-00-0000';
|
||||||
@ -136,23 +143,29 @@
|
|||||||
<?php } ?>
|
<?php } ?>
|
||||||
<td><?php echo $record->Category ?></td>
|
<td><?php echo $record->Category ?></td>
|
||||||
<td><?php echo $record->HSNCODE ?></td>
|
<td><?php echo $record->HSNCODE ?></td>
|
||||||
<td><?php if ($record->IsActive == 1) {echo"Active";}else{echo "InActive";}?></td>
|
<td><?php if ($record->IsActive == 1) {
|
||||||
|
echo "Active";
|
||||||
|
} else {
|
||||||
|
echo "InActive";
|
||||||
|
} ?></td>
|
||||||
<td><?php if ($record->IsActive == 0) { ?>
|
<td><?php if ($record->IsActive == 0) { ?>
|
||||||
|
|
||||||
<a style="cursor:pointer;" onclick="reActivateMaterial('<?php echo $record->MaterialCode; ?>')"><i class="fa fa-key" style="color:#02a8b5;"></i> </a>
|
<a style="cursor:pointer;" onclick="reActivateMaterial('<?php echo $record->MaterialCode; ?>')"><i
|
||||||
|
class="fa fa-key" style="color:#02a8b5;"></i> </a>
|
||||||
|
|
||||||
<?php } else { ?>
|
<?php } else { ?>
|
||||||
|
|
||||||
<a class="a_tag_link"
|
<a class="a_tag_link"
|
||||||
href="<?php echo base_url() . 'viewRawmaterial?RID=' . $record->MaterialCode . '&MType=' . $record->MaterialType . '&UOM=' . $record->UOM . '&date1=' . $date ?>"
|
href="<?php echo base_url() . 'viewRawmaterial?RID=' . $record->MaterialCode . '&MType=' . $record->MaterialType . '&UOM=' . $record->UOM . '&date1=' . $date ?>"
|
||||||
data-toggle="tooltip"
|
data-toggle="tooltip"
|
||||||
title="<?php echo $record->MaterialCode; ?> - Click here to view Material details"><i class="fa fa-edit" style="color:#02a8b5;"></i>
|
title="<?php echo $record->MaterialCode; ?> - Click here to view Material details"><i
|
||||||
|
class="fa fa-edit" style="color:#02a8b5;"></i>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<a style="cursor:pointer;"
|
<a style="cursor:pointer;" data-toggle="tooltip"
|
||||||
data-toggle="tooltip"
|
|
||||||
title="<?= $record->MaterialCode ?> - Click here to delete material details"
|
title="<?= $record->MaterialCode ?> - Click here to delete material details"
|
||||||
onclick="deleteMaterial('<?php echo $record->MaterialCode; ?>')"><i class="fa fa-trash" style="color:#02a8b5;"></i>
|
onclick="deleteMaterial('<?php echo $record->MaterialCode; ?>')"><i class="fa fa-trash"
|
||||||
|
style="color:#02a8b5;"></i>
|
||||||
</a>
|
</a>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user