stock module latest today vadivel J 23-01-2025
This commit is contained in:
parent
fb7abc1b6e
commit
9cec6e39e8
@ -474,7 +474,7 @@ class StockController extends BaseController
|
||||
'salableQty' => $postData['salableQty'],
|
||||
'testedBy' => $postData['testedBy'],
|
||||
'approvedBy' => $postData['approvedBy'],
|
||||
'clayOrLossOfIgnitionPercent' => $postData['clayOrLossOfIgnition'],
|
||||
'clayOrLossOfIgnition' => $postData['clayOrLossOfIgnition'],
|
||||
'reportComments' => $postData['reportComments'],
|
||||
'gradeRange' => $postData['gradeRange'],
|
||||
'reportTime' => $postData['reportTime']
|
||||
|
||||
@ -16,7 +16,7 @@ class IncomingSilicaSandDetailsModel extends Model
|
||||
'_10' ,'_20','_30','_40','_50','_70','_100', '_140','_200','_300',
|
||||
'pan' , 'total' , 'afsSpec' ,'afsActual','plus20Loss','plus30Loss','moistureSpec','moistureActual',
|
||||
'moistureLoss', 'moistureLossQty','sieveLossQty','salableQty', 'remark',
|
||||
'testedBy','approvedBy' , 'clayOrLossOfIgnitionPercent','reportComments','gradeRange','reportTime',
|
||||
'testedBy','approvedBy' , 'clayOrLossOfIgnition','reportComments','gradeRange','reportTime',
|
||||
'is_active','created_at','updated_at'];
|
||||
|
||||
protected bool $allowEmptyInserts = false;
|
||||
|
||||
@ -539,6 +539,7 @@
|
||||
<?php echo $record['id'] ?? ' '; ?>
|
||||
</td>
|
||||
|
||||
|
||||
<!-- 'td:eq(36)' -->
|
||||
<td style="display: none;">
|
||||
<?php echo $record['clayOrLossOfIgnition'] ?? ' '; ?>
|
||||
@ -1048,7 +1049,7 @@
|
||||
<input type="hidden" name="salableQty" id="salableQty" value="">
|
||||
<input type="hidden" name="testedBy" id="testedBy" value="">
|
||||
<input type="hidden" name="approvedBy" id="approvedBy" value="">
|
||||
<input type="hidden" name="clayOrLossOfIgnitionPercent" id="clayOrLossOfIgnitionPercent" value="">
|
||||
<input type="hidden" name="clayOrLossOfIgnition" id="clayOrLossOfIgnition" value="">
|
||||
<input type="hidden" name="reportsComments" id="reportComments" value="">
|
||||
<input type="hidden" name="gradeRange" id="gradeRange" value="">
|
||||
<input type="hidden" name="reportTime" id="reportTime" value="">
|
||||
@ -1144,6 +1145,8 @@
|
||||
|
||||
$('#dwnldLossOfIgnitionRowId').hide();
|
||||
$('#dwnldClayRowId').show();
|
||||
console.log("inside silica sand");
|
||||
console.log(clayOrLossOfIgnition)
|
||||
$('#dwnldClayId').text(clayOrLossOfIgnition);
|
||||
|
||||
|
||||
@ -1151,6 +1154,8 @@
|
||||
|
||||
$('#dwnldClayRowId').hide();
|
||||
$('#dwnldLossOfIgnitionRowId').show();
|
||||
console.log("inside waste core");
|
||||
console.log(clayOrLossOfIgnition);
|
||||
$('#dwnldLossOfIgnitionId').text(clayOrLossOfIgnition);
|
||||
|
||||
}
|
||||
@ -1269,7 +1274,7 @@
|
||||
$('#approvedBy').val(approvedBy);
|
||||
$('#testedById').val(testedBy);
|
||||
$('#approvedById').val(approvedBy);
|
||||
$('#clayOrLossOfIgnitionPercent').val(clayOrLossOfIgnition);
|
||||
$('#clayOrLossOfIgnition').val(clayOrLossOfIgnition);
|
||||
$('#reportComments').val(reportComments);
|
||||
$('#gradeRange').val(gradeRange);
|
||||
$('#reportTime').val(reportTime);
|
||||
@ -1582,7 +1587,7 @@ $(document).ready(function() {
|
||||
},
|
||||
success: function(data){
|
||||
alert("Data Saved Successfully..!!");
|
||||
window.location.reload();
|
||||
window.location.reload();
|
||||
},
|
||||
error : function(xhr, status, error){
|
||||
alert("An error occurred while processing the request. Please try again.");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user