stock module - 25-03-2025
This commit is contained in:
parent
40d64e1bcf
commit
f4c73c6bc3
@ -52,7 +52,6 @@
|
||||
<div class="col-12">
|
||||
<div class="page-title-box page-title-box-alt">
|
||||
<h4 class="page-title">Material Master Details</h4>
|
||||
<a class="btn btn-success" href="<?php echo base_url(); ?>addRawmaterial">Add New Material</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -73,6 +72,9 @@
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="card">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-8">
|
||||
<form class="Date-filter-form" id="DateRangeFilter" style="margin-top: 14px; margin-bottom: -11px; margin-left: 33px;">
|
||||
|
||||
<input type="hidden" name="table" value="requisition">
|
||||
@ -113,11 +115,13 @@
|
||||
|
||||
<div class="error" id="error"></div>
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<div class="col-2">
|
||||
<a class="btn btn-success mt-3" href="<?php echo base_url(); ?>addRawmaterial">Add New Material</a>
|
||||
</div>
|
||||
<div class="col-2">
|
||||
<div style="margin-left:auto">
|
||||
<div class="form-check" style="margin-right: 25px;">
|
||||
<div class="form-check mt-4" style="margin-right: 25px;">
|
||||
<form id="archiveFormId" action="<?php echo base_url()?>/rawmaterialListing" method="post">
|
||||
<input class="form-check-input" type="checkbox" id="showArchiveId"
|
||||
name="showArchive" value="1" <?php echo $showArchive ? "checked" : " " ?>
|
||||
@ -129,6 +133,15 @@
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="card-body" style="overflow-x:scroll;">
|
||||
<table id="raw_material_list_table" class="table dt-responsive nowrap w-100">
|
||||
|
||||
@ -160,6 +160,22 @@
|
||||
|
||||
|
||||
.celda_normal {
|
||||
/*background-color: #fff;*/
|
||||
/* <!-- ad9271 into ffffff brown-light to green-light --> */
|
||||
text-align: center;
|
||||
border: 1px solid #ccc;
|
||||
padding: 2px 4px;
|
||||
}
|
||||
|
||||
#abstractTableId tbody td.celda_normal {
|
||||
/*background-color: #fff;*/
|
||||
/* <!-- ad9271 into ffffff brown-light to green-light --> */
|
||||
text-align: center;
|
||||
border: 1px solid #ccc;
|
||||
padding: 10px 4px;
|
||||
}
|
||||
|
||||
#trpProductionStockDetailsTableId tfoot tr td.celda_normal {
|
||||
/*background-color: #fff;*/
|
||||
/* <!-- ad9271 into ffffff brown-light to green-light --> */
|
||||
text-align: center;
|
||||
@ -2063,6 +2079,11 @@ $timeOtions[] = "12:00 AM";
|
||||
|
||||
if (trpOnTime != '' && trpOffTime != '') {
|
||||
|
||||
if(trpOnTime == trpOffTime){
|
||||
document.querySelector(`td.totalHours[data-id="${date} totalHours"]`).innerText = '24.0';
|
||||
return;
|
||||
}
|
||||
|
||||
const startDate = new Date(`1970-01-01T${convertTo24Hour(trpOnTime)}`);
|
||||
const endDate = new Date(`1970-01-01T${convertTo24Hour(trpOffTime)}`);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user