stock module - 04-04-2025
This commit is contained in:
parent
74d6b0fd85
commit
6c2bd3b61a
@ -558,7 +558,16 @@ class Inwardgateregister extends BaseController
|
|||||||
}
|
}
|
||||||
|
|
||||||
$CreatedBy = $this->session->get('userId');
|
$CreatedBy = $this->session->get('userId');
|
||||||
$igrDetails = array('IGRNO' => $IGRNO, 'MaterialCode' => $MaterialCode, 'QuantityAsPerInvoice' => $QuantityAsPerInvoice, 'Remarks' => $Remarks, 'IGRItemStatus' => $IGRItemStatus,'GrossWeight' => (float)$GrossWeight ,'GrossWeightDate'=> $GrossWeightDate,'TareWeight' => (float)$TareWeight ,'TareWeightDate' => $TareWeightDate ,'NetWeight' => (float)$NetWeight, 'CreatedBy' => $CreatedBy, 'CreatedDate' => $createddt);
|
|
||||||
|
$igrDetails = array(
|
||||||
|
'IGRNO' => $IGRNO, 'MaterialCode' => $MaterialCode, 'QuantityAsPerInvoice' => $QuantityAsPerInvoice,
|
||||||
|
'Remarks' => $Remarks, 'IGRItemStatus' => $IGRItemStatus,'GrossWeight' => (float)$GrossWeight ,
|
||||||
|
'GrossWeightDate'=> $GrossWeightDate,'TareWeight' => (float)$TareWeight ,'TareWeightDate' => $TareWeightDate ,
|
||||||
|
'NetWeight' => (float)$NetWeight, 'CreatedBy' => $CreatedBy, 'CreatedDate' => $createddt,
|
||||||
|
|
||||||
|
//current change 04-04-2025 by vadivel
|
||||||
|
'mIGRStatus' => $IGRStatus);
|
||||||
|
|
||||||
$igrDetails['WeightFile'] = $requestWeightFileName;
|
$igrDetails['WeightFile'] = $requestWeightFileName;
|
||||||
|
|
||||||
log_message('error', 'SaveIGR igrDetails result : ' . json_encode($igrDetails));
|
log_message('error', 'SaveIGR igrDetails result : ' . json_encode($igrDetails));
|
||||||
|
|||||||
@ -232,7 +232,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<?php if(empty($gasCylinderPendingList)){?>
|
<?php if(empty($gasCylinderPendingList)){?>
|
||||||
<p align="center" > No Gas Cylinder Entered in the Given Dates..!!</p>
|
<p align="center" > No Gas Cylinder Pending in the Given Dates..!!</p>
|
||||||
<?php }else{ ?>
|
<?php }else{ ?>
|
||||||
|
|
||||||
<?php foreach($gasCylinderPendingList as $index => $gasCylinder):
|
<?php foreach($gasCylinderPendingList as $index => $gasCylinder):
|
||||||
|
|||||||
@ -225,13 +225,12 @@
|
|||||||
<th>Bill Date</th>
|
<th>Bill Date</th>
|
||||||
<th>Driver Name</th>
|
<th>Driver Name</th>
|
||||||
<th>Vehicle No</th>
|
<th>Vehicle No</th>
|
||||||
<th>Gas Details</th>
|
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|
||||||
<?php if(empty($gasCylinderReturnedList)){?>
|
<?php if(empty($gasCylinderReturnedList)){?>
|
||||||
<p align="center" > No Gas Cylinder Entered in the Given Dates..!!</p>
|
<p align="center" > No Gas Cylinder Returned in the Given Dates..!!</p>
|
||||||
<?php }else{ ?>
|
<?php }else{ ?>
|
||||||
|
|
||||||
<?php foreach($gasCylinderReturnedList as $index => $gasCylinder):
|
<?php foreach($gasCylinderReturnedList as $index => $gasCylinder):
|
||||||
@ -265,15 +264,6 @@
|
|||||||
<td><?=$gasCylinder['DriverName']?></td>
|
<td><?=$gasCylinder['DriverName']?></td>
|
||||||
<td><?=$gasCylinder['VehicleNo']?></td>
|
<td><?=$gasCylinder['VehicleNo']?></td>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- #gasEnteredDetails modal will open when clicking this button -->
|
|
||||||
<td>
|
|
||||||
<a href="#">
|
|
||||||
<i class="fa fa-edit gas-entered-details" ></i>
|
|
||||||
</a>
|
|
||||||
</td>
|
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
@ -298,113 +288,6 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- gas Entered modal -->
|
|
||||||
<div id="gasEnteredDetails" data-form="add" class="modal fade" tabindex="-1" role="dialog"
|
|
||||||
aria-labelledby="myModalLabel" aria-hidden="true" style="display: none;">
|
|
||||||
<div class="modal-dialog modal-xl">
|
|
||||||
<div class="modal-content" style="border: 1px solid #ddd; margin-top: 73px; box-shadow: 0 0 40px rgb(0 0 0 / 43%);">
|
|
||||||
<div class="modal-header">
|
|
||||||
<h4 class="modal-title">Gas Cylinder Details </h4>
|
|
||||||
|
|
||||||
<button type="button" class="close" data-dismiss="modal"
|
|
||||||
aria-hidden="true">×</button>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="modal-body p-4">
|
|
||||||
|
|
||||||
|
|
||||||
<form action="#">
|
|
||||||
|
|
||||||
<!-- first row -->
|
|
||||||
<div class="form-group row">
|
|
||||||
|
|
||||||
<div class="col-md-4">
|
|
||||||
<label for="fullCylinderDate"> Full Cylinder Date</label>
|
|
||||||
<input type="date" class="form-control" id="fullCylinderDate" name="fullCylinderDate" value="" readonly>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="col-md-4">
|
|
||||||
<label for="IGRNO"> IGRNO</label>
|
|
||||||
<input type="text" class="form-control" id="IGRNO" name="IGRNO" value="" readonly>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="col-md-4">
|
|
||||||
<label for="supplierName"> Supplier Name</label>
|
|
||||||
<input type="text" class="form-control" id="supplierName" name="supplierName" value="" readonly>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- second row -->
|
|
||||||
<div class="form-group row">
|
|
||||||
|
|
||||||
<div class="col-md-4">
|
|
||||||
<label for="invoiceNo"> Bill No/Invoice No </label>
|
|
||||||
<input type="text" class="form-control" id="invoiceNo" name="invoiceNo" value="" readonly>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="col-md-4">
|
|
||||||
<label for="billDate"> Bill Date</label>
|
|
||||||
<input type="date" class="form-control" id="billDate" name="billDate" value="" readonly>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="col-md-4">
|
|
||||||
<label for="driverName"> Driver Name</label>
|
|
||||||
<input type="text" class="form-control" id="driverName" name="driverName" value="" readonly>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- third row -->
|
|
||||||
|
|
||||||
<div class="form-group row">
|
|
||||||
|
|
||||||
<div class="col-md-4">
|
|
||||||
<label for="vehicleNo"> Vehicle No</label>
|
|
||||||
<input type="text" class="form-control" id="vehicleNo" name="vehicleNo" value="" readonly>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="col-md-4">
|
|
||||||
<label for="cylinderCount"> Cylinder Name </label>
|
|
||||||
<input type="text" class="form-control" id="cylinderName" name="cylinderName" value="" readonly>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="col-md-4">
|
|
||||||
<label for="cylinderCount"> Cylinder Count </label>
|
|
||||||
<input type="text" class="form-control" id="cylinderCount" name="cylinderCount" value="" readonly>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<!-- fourth row -->
|
|
||||||
<div id="cylinderDiv">
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="modal-footer">
|
|
||||||
<button type="button" class="btn btn-secondary waves-effect"
|
|
||||||
data-dismiss="modal" value="Cancel">Cancel</button>
|
|
||||||
<button type="submit"
|
|
||||||
class="btn btn-info waves-effect waves-light" >Save</button>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</form>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<!-- end gas shortage calculator modal -->
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user