po unit test
This commit is contained in:
parent
bedb4aa236
commit
d78bd11df4
@ -143,8 +143,8 @@ if (!empty($getlogpodtl)) {
|
||||
});
|
||||
|
||||
$("#PODate").on("change", function() {
|
||||
var minDate = $(this).datepicker("getDate");
|
||||
var maxDate = new Date(minDate.getFullYear() + 1, minDate.getMonth(), minDate.getDate());
|
||||
// var minDate = $(this).datepicker("getDate");
|
||||
// var maxDate = new Date(minDate.getFullYear() + 1, minDate.getMonth(), minDate.getDate());
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
@ -259,20 +259,20 @@ if (!empty($getlogpodtl)) {
|
||||
Mat: []
|
||||
};
|
||||
$(function() {
|
||||
$("#PODate").datepicker({
|
||||
//minDate : d,
|
||||
//maxDate : 'now',
|
||||
dateFormat: 'dd-mm-yy',
|
||||
changeMonth: true,
|
||||
changeYear: true
|
||||
}); //yearRange: '-100:+0'
|
||||
$("#Deliverydt").datepicker({
|
||||
minDate: 'now',
|
||||
dateFormat: 'dd-mm-yy',
|
||||
changeMonth: true,
|
||||
changeYear: true,
|
||||
yearRange: '0:+10'
|
||||
});
|
||||
// $("#PODate").datepicker({
|
||||
// //minDate : d,
|
||||
// //maxDate : 'now',
|
||||
// dateFormat: 'dd-mm-yy',
|
||||
// changeMonth: true,
|
||||
// changeYear: true
|
||||
// }); //yearRange: '-100:+0'
|
||||
// $("#Deliverydt").datepicker({
|
||||
// minDate: 'now',
|
||||
// dateFormat: 'dd-mm-yy',
|
||||
// changeMonth: true,
|
||||
// changeYear: true,
|
||||
// yearRange: '0:+10'
|
||||
// });
|
||||
/* $("#Requeston").datepicker({
|
||||
//minDate : d,
|
||||
maxDate : 'now',
|
||||
@ -347,7 +347,6 @@ if (!empty($getlogpodtl)) {
|
||||
|
||||
|
||||
$('#MaterialCode').change(function() {
|
||||
|
||||
var id = $('#MaterialCode').val();
|
||||
RequistQuantity = '';
|
||||
clearTaxField();
|
||||
@ -760,7 +759,7 @@ if (!empty($getlogpodtl)) {
|
||||
<?php } else { ?>
|
||||
<h4><?= "Amended Service Purchase Order - $PONO "; ?></h4>
|
||||
<?php } ?>
|
||||
<a href="<?php echo base_url() ?>purchaseorderListing" class="btn btn-cancel" id="back" value="Back">Back</a>
|
||||
<a href="<?php echo base_url() ?>purchaseorderListing" class="btn btn-success" id="back" value="Back">Back</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -1198,7 +1197,7 @@ if (!empty($getlogpodtl)) {
|
||||
<?php
|
||||
|
||||
if ($PONOStatus == PO_DRAFT || $PONOStatus == PO_CREATED || $PONOStatus == REQITEM_Emergency_PO_CREATED || $PONOStatus == PO_APPROVED || $PONOStatus == SPECIAL_PO) { ?>
|
||||
<td> <a data-target='#EDITSERVICE' data-id="<?php echo $index; ?>" data-userid="<?php echo $index; ?>" data-toggle="modal" href="#EDITSERVICE"><i class="fas fa-pencil-alt" data-toggle="tooltip" title="Click here to view/Edit the <?php echo $record->ReqNo; ?> Requisition details"></i> </a> <a href='#' onclick="DeleteRow(<?php echo $index; ?>)" class="link" data-id="<?php echo $index; ?>" data-userid="<?php echo $index; ?>" id="Del"><span class="glyphicon glyphicon-trash"></span></a>
|
||||
<td> <a data-target='#EDITSERVICE' data-id="<?php echo $index; ?>" data-userid="<?php echo $index; ?>" data-toggle="modal" href="#EDITSERVICE"><i class="ri-pencil-fill" data-toggle="tooltip" title="Click here to view/Edit the <?php echo $record->ReqNo; ?> Requisition details"></i> </a> <a href='#' onclick="DeleteRow(<?php echo $index; ?>)" class="link" data-id="<?php echo $index; ?>" data-userid="<?php echo $index; ?>" id="Del"><span class="ri-delete-bin-7-fill"></span></a>
|
||||
<?php
|
||||
} else { ?>
|
||||
<td> <a data-target='#VIEWSERVICE' data-id="<?php echo $index; ?>" data-userid="<?php echo $index; ?>" data-toggle="modal" href="#VIEWSERVICE"><i class="fa fa-eye" data-toggle="tooltip" title="<?php echo $record->ReqNo; ?> - Click here to view Requistion details"></i> </a> </td>
|
||||
@ -1336,7 +1335,7 @@ if (!empty($getlogpodtl)) {
|
||||
<input type="hidden" id="billnos<?= $row ?>" value="<?= $gd->BillNo ?>">
|
||||
<input type="hidden" id="file<?= $row ?>" value="<?= $gd->FilePath ?>">
|
||||
<td><?php echo (!empty($gd->FilePath)) ? $gd->FilePath : "No File"; ?></td>
|
||||
<td><span onclick="openmodel(<?= $row ?>);"><i class="fas fa-pencil-alt" data-toggle="tooltip" title="Click here to Edit the Revenue SplPO details"></i></span>
|
||||
<td><span onclick="openmodel(<?= $row ?>);"><i class="ri-pencil-fill" data-toggle="tooltip" title="Click here to Edit the Revenue SplPO details"></i></span>
|
||||
<?php if (!empty($gd->FilePath)) { ?>
|
||||
<a target="_blank" href="<?php echo base_url() . 'public/uploads/BillFiles/' ?><?php echo $gd->FilePath ?>"><i class="fa fa-download"></i></a>
|
||||
<?php } ?>
|
||||
@ -1729,7 +1728,7 @@ if (!empty($getlogpodtl)) {
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<a class="btn btn-cancel" data-dismiss="modal" value="Cancel">Cancel</a>
|
||||
<a class="btn btn-success" data-dismiss="modal" value="Cancel">Cancel</a>
|
||||
<a class="btn btn-success font AddService" ID="AddService"><span class="bold">Add Service</span></a>
|
||||
</div>
|
||||
</form>
|
||||
@ -2024,7 +2023,7 @@ if (!empty($getlogpodtl)) {
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<div class="form-row">
|
||||
<a class="btn btn-cancel" data-dismiss="modal" value="Cancel">Cancel</a>
|
||||
<a class="btn btn-success" data-dismiss="modal" value="Cancel">Cancel</a>
|
||||
<a class="btn btn-success font EditService" ID="Edit"> <span class="bold">Update Service</span></a>
|
||||
</div>
|
||||
</div>
|
||||
@ -2306,7 +2305,7 @@ if (!empty($getlogpodtl)) {
|
||||
<div class="modal-footer">
|
||||
<div class="form-row">
|
||||
|
||||
<a class="btn btn-cancel" data-dismiss="modal" value="Cancel">Cancel</a>
|
||||
<a class="btn btn-success" data-dismiss="modal" value="Cancel">Cancel</a>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
@ -2332,7 +2331,7 @@ if (!empty($getlogpodtl)) {
|
||||
<td align="left"><%=Taxvalue%></td>
|
||||
<td align="left"><%=TotalValue%></td>
|
||||
<td>
|
||||
<a data-target='#EDITSERVICE' data-id="<%=index%>" data-userid="<%=index%>" data-toggle="modal" href="#EDITSERVICE"><i class="fas fa-pencil-alt" data-toggle="tooltip" title="Click here to view/Edit the <%=ReqNo%> Requisition details"></i> </a> <a href='#' onclick="DeleteRow(<%=index%>)" class="link" data-id="<%=index%>" data-userid="<%=index%>" id="Del"><span class="glyphicon glyphicon-trash"></span></a>
|
||||
<a data-target='#EDITSERVICE' data-id="<%=index%>" data-userid="<%=index%>" data-toggle="modal" href="#EDITSERVICE"><i class="ri-pencil-fill" data-toggle="tooltip" title="Click here to view/Edit the <%=ReqNo%> Requisition details"></i> </a> <a href='#' onclick="DeleteRow(<%=index%>)" class="link" data-id="<%=index%>" data-userid="<%=index%>" id="Del"><span class="ri-delete-bin-7-fill"></span></a>
|
||||
</td>
|
||||
</tr>
|
||||
</script> -->
|
||||
@ -3035,13 +3034,13 @@ $('#ServiceAppend').append(rowHtml);
|
||||
// this function is used to clear data changing schedule option
|
||||
$('#Scheduleby').change(function() {
|
||||
|
||||
$("#Deliverydt").datepicker({
|
||||
minDate: 'now',
|
||||
dateFormat: 'mm/dd/yy',
|
||||
changeMonth: true,
|
||||
changeYear: true,
|
||||
yearRange: '0:+10'
|
||||
});
|
||||
// $("#Deliverydt").datepicker({
|
||||
// minDate: 'now',
|
||||
// dateFormat: 'mm/dd/yy',
|
||||
// changeMonth: true,
|
||||
// changeYear: true,
|
||||
// yearRange: '0:+10'
|
||||
// });
|
||||
|
||||
|
||||
});
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -298,7 +298,7 @@ if (!empty($RequistionDetails)) {
|
||||
<div class="col-12">
|
||||
<div class="page-title-box page-title-box-alt">
|
||||
<h4><?= "Amended Import Purchase Order - $PONO "; ?></h4>
|
||||
<a href="<?php echo base_url() ?>amendmentpurchaseorder" class="btn btn-cancel" id="back" value="Back">Back</a>
|
||||
<a href="<?php echo base_url() ?>amendmentpurchaseorder" class="btn btn-success" id="back" value="Back">Back</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -804,15 +804,13 @@ if (!empty($RequistionDetails)) {
|
||||
|
||||
<!-- Basic Price in US $ per Ton : -->
|
||||
|
||||
<p id="labelEditBasicPriceUs"><b><?php echo "Basic Value in $Currencycode ($Value)" ?></p>
|
||||
<p id="labelEditBasicPriceUs"><b><?php echo "Basic Value in $Currencycode ($Value)" ?></b></p>
|
||||
|
||||
|
||||
<div>
|
||||
<?php
|
||||
$data = array('name' => 'EditimBasicPrice', 'value' => set_value('EditimBasicPrice'), 'id' => 'EditimBasicPrice', 'class' => 'form-control num', 'placeholder ' => 'basic price', 'onkeypress' => 'return isNumberKey(event);', 'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="form-group col-md-3">
|
||||
|
||||
@ -844,7 +842,7 @@ if (!empty($RequistionDetails)) {
|
||||
</div>-->
|
||||
</div>
|
||||
<br />
|
||||
<div style="border:1px solid #000;padding:0px;">
|
||||
<div style="padding:0px;">
|
||||
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-4">
|
||||
@ -1093,10 +1091,10 @@ if (!empty($RequistionDetails)) {
|
||||
</div>
|
||||
<!--End of Adding of freight in edit model -->
|
||||
|
||||
<div class="form-row">
|
||||
|
||||
<center> <label>Cost of the product Per UOM</label></center>
|
||||
<hr />
|
||||
</div>
|
||||
<hr/>
|
||||
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-4">
|
||||
Duty Impact
|
||||
@ -1109,7 +1107,7 @@ if (!empty($RequistionDetails)) {
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group col-md-4" style="margin-top: -4.8%">
|
||||
<div class="form-group col-md-4">
|
||||
<span>Quantity</span>
|
||||
<div>
|
||||
<?php
|
||||
@ -1149,9 +1147,8 @@ if (!empty($RequistionDetails)) {
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-4">
|
||||
<!-- RMC Including Customers -->
|
||||
<label><?php echo "Nett per UOM($INR)"; ?></label>
|
||||
@ -1198,7 +1195,7 @@ if (!empty($RequistionDetails)) {
|
||||
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<a class="btn btn-cancel" data-dismiss="modal" value="Cancel">Cancel</a>
|
||||
<a class="btn btn-success" data-dismiss="modal" value="Cancel">Cancel</a>
|
||||
<a class="btn btn-success font EditImport" ID="EditImport"> <span class="bold">Edit Import</span></a>
|
||||
<!--<a class="btn btn-success font AddService" ID="AddService" ><i class="fa fa-plus"></i> <span class="bold">Add Service</span></a>-->
|
||||
</div>
|
||||
@ -1357,7 +1354,7 @@ if (!empty($RequistionDetails)) {
|
||||
// if($PONOStatus == PO_DRAFT)
|
||||
// {
|
||||
?>
|
||||
<td> <a data-target='#editimportpomodel' data-id="<?php echo $index; ?>" data-userid="<?php echo $index; ?>" data-toggle="modal" href="#editimportpomodel"><i class="fas fa-pencil-alt" data-toggle="tooltip" title="Click here to view/Edit the <?php echo $record->ReqNo; ?> Requisition details"></i> </a> <!-- <a href='#' onclick = "DeleteRow(<?php echo $index; ?>)" class="link" data-id="<?php echo $index; ?>" data-userid="<?php echo $index; ?>" id="Del" ><span class="glyphicon glyphicon-trash"></span></a>-->
|
||||
<td> <a data-target='#editimportpomodel' data-id="<?php echo $index; ?>" data-userid="<?php echo $index; ?>" data-toggle="modal" href="#editimportpomodel"><i class="ri-pencil-fill" data-toggle="tooltip"></i> </a> <!-- <a href='#' onclick = "DeleteRow(<?php echo $index; ?>)" class="link" data-id="<?php echo $index; ?>" data-userid="<?php echo $index; ?>" id="Del" ><span class="ri-delete-bin-7-fill"></span></a>-->
|
||||
<?php
|
||||
// } else {
|
||||
?>
|
||||
@ -2435,7 +2432,7 @@ if (!empty($RequistionDetails)) {
|
||||
|
||||
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#editimportpomodel').on("shown.bs.modal", function(e) {
|
||||
|
||||
userid = $(e.relatedTarget).data('userid');
|
||||
@ -2580,7 +2577,7 @@ if (!empty($RequistionDetails)) {
|
||||
});
|
||||
}
|
||||
|
||||
});
|
||||
});});
|
||||
|
||||
|
||||
$('.EditImport').click(function() {
|
||||
|
||||
@ -1289,9 +1289,9 @@ if (!empty($INRSYMBOL)) {
|
||||
|
||||
|
||||
|
||||
<td> <a data-target='#EDITREVENUE' data-id="<?php echo $index; ?>" data-userid="<?php echo $index; ?>" data-toggle="modal" href="#EDITREVENUE"><i class="ri-pencil-fill" data-toggle="tooltip"></i></a>
|
||||
<td> <a data-target='#EDITREVENUE' data-id="<?php echo $index; ?>" data-userid="<?php echo $index; ?>" data-toggle="modal" href="#EDITREVENUE"><i class="ri-pencil-fill"></i></a>
|
||||
|
||||
<!-- <td> <a data-toggle="tooltip" href="#"><i class="fas fa-pencil-alt" data-toggle="tooltip" title="<?php //echo $record->ReqNo;
|
||||
<!-- <td> <a data-toggle="tooltip" href="#"><i class="ri-pencil-fill" data-toggle="tooltip" title="<?php //echo $record->ReqNo;
|
||||
?> - Click here to view Requistion details"></i> </a> </td> -->
|
||||
|
||||
</td>
|
||||
@ -1426,7 +1426,7 @@ if (!empty($INRSYMBOL)) {
|
||||
<input type="hidden" id="PrePOFile" name="PrePOFile" value="<?php echo $PrePOFile; ?>" /><br>
|
||||
</div>
|
||||
<div class="btn-container" style="text-align: right;">
|
||||
<input type="button" class="btn btn-cancel" value="Cancel" onClick="window.location ='amendmentpurchaseorder';">
|
||||
<input type="button" class="btn btn-success" value="Cancel" onClick="window.location ='amendmentpurchaseorder';">
|
||||
<input type="hidden" name="txtPoRange" id="txtPoRange" />
|
||||
<input type="hidden" name="isEdit" id="isEdit" value="0" />
|
||||
<input type="hidden" name="txtStatus" id="txtStatus" />
|
||||
@ -1527,7 +1527,7 @@ if (!empty($INRSYMBOL)) {
|
||||
</form>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<a class="btn btn-cancel" data-dismiss="modal" style="margin-top: -24px;" value="Cancel">Cancel</a>
|
||||
<a class="btn btn-success" data-dismiss="modal" style="margin-top: -24px;" value="Cancel">Cancel</a>
|
||||
<a class="btn btn-success" ID="CSTOption" onclick="SetCSTCalculation();" style="margin-top: -24px;"> <span class="bold">Ok</span></a>
|
||||
</div>
|
||||
</div>
|
||||
@ -1885,7 +1885,7 @@ if (!empty($INRSYMBOL)) {
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<a class="btn btn-cancel" data-dismiss="modal" value="Cancel">Cancel</a>
|
||||
<a class="btn btn-success" data-dismiss="modal" value="Cancel">Cancel</a>
|
||||
<a class="btn btn-success EditRevenue" ID="EditRevenue"> <span class="bold">Edit Revenue</span></a>
|
||||
</div>
|
||||
</form>
|
||||
@ -1977,7 +1977,7 @@ if (!empty($INRSYMBOL)) {
|
||||
</form>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<a class="btn btn-cancel" data-dismiss="modal" style="margin-top: -24px;" value="Cancel">Cancel</a>
|
||||
<a class="btn btn-success" data-dismiss="modal" style="margin-top: -24px;" value="Cancel">Cancel</a>
|
||||
<a class="btn btn-success" ID="VatOption" onclick="SetVatCalculation();" style="margin-top: -24px;"> <span class="bold">Ok</span></a>
|
||||
|
||||
</div>
|
||||
@ -1985,7 +1985,7 @@ if (!empty($INRSYMBOL)) {
|
||||
</div>
|
||||
</div><!-- /.modal -->
|
||||
|
||||
<script type="text/html" id="RevenueList">
|
||||
<!-- <script type="text/html" id="RevenueList">
|
||||
<tr id="<%=index%>">
|
||||
<td align="left"><%=index%></td>
|
||||
<td align="left"><%=ReqNo%></td>
|
||||
@ -1999,12 +1999,12 @@ if (!empty($INRSYMBOL)) {
|
||||
<td align="left"><%=TotalValue%></td>
|
||||
|
||||
<td>
|
||||
<a data-target='#EDITREVENUE' data-id="<%=index%>" data-userid="<%=index%>" data-toggle="modal" href="#EDITREVENUE"><i class="fas fa-pencil-alt" data-toggle="tooltip" title="Click here to view/Edit the <%=ReqNo%> Requisition details"></i> </a> <a href='#' onclick="DeleteRow('<%=index%>')" class="link" data-id="<%=index%>" data-userid="<%=index%>" id="Del"><span class="glyphicon glyphicon-trash"></span></a>
|
||||
<a data-target='#EDITREVENUE' data-id="<%=index%>" data-userid="<%=index%>" data-toggle="modal" href="#EDITREVENUE"><i class="ri-pencil-fill" data-toggle="tooltip"></i> </a> <a href='#' onclick="DeleteRow('<%=index%>')" class="link" data-id="<%=index%>" data-userid="<%=index%>" id="Del"><span class="ri-delete-bin-7-fill"></span></a>
|
||||
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</script>
|
||||
</script> -->
|
||||
<script>
|
||||
var index = '1';
|
||||
var userid = '';
|
||||
|
||||
@ -1863,7 +1863,7 @@ if (!empty($getlogpodtl)) {
|
||||
<?php } else { ?>
|
||||
<h4><?= "Amended Revenue Purchase Order - $PONO "; ?></h4>
|
||||
<?php } ?>
|
||||
<a href="<?php echo base_url() ?>purchaseorderListing" class="btn btn-cancel" id="back" value="Back">Back</a>
|
||||
<a href="<?php echo base_url() ?>purchaseorderListing" class="btn btn-success" id="back" value="Back">Back</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -2232,9 +2232,9 @@ if (!empty($getlogpodtl)) {
|
||||
<?php
|
||||
|
||||
if ($PONOStatus == PO_DRAFT || $PONOStatus == PO_CREATED || $PONOStatus == REQITEM_Emergency_PO_CREATED || $PONOStatus == PO_APPROVED || $PONOStatus == SPECIAL_PO) { ?>
|
||||
<td> <a data-target='#EDITREVENUE' data-id="<?php echo $index; ?>" data-userid="<?php echo $index; ?>" data-toggle="modal" href="#EDITREVENUE"><i class="fas fa-pencil-alt" data-toggle="tooltip" ></i></a>
|
||||
<td> <a data-target='#EDITREVENUE' data-id="<?php echo $index; ?>" data-userid="<?php echo $index; ?>" data-toggle="modal" href="#EDITREVENUE"><i class="ri-pencil-fill" ></i></a>
|
||||
|
||||
<a href='#' onclick="DeleteRow(<?php echo $index; ?>)" class="link" data-id="<?php echo $index; ?>" data-userid="<?php echo $index; ?>" id="Del"><span class="glyphicon glyphicon-trash"></span></a>
|
||||
<a href='#' onclick="DeleteRow(<?php echo $index; ?>)" class="link" data-id="<?php echo $index; ?>" data-userid="<?php echo $index; ?>" id="Del"><span class="ri-delete-bin-7-fill"></span></a>
|
||||
<?php
|
||||
} else { ?>
|
||||
<td> <a data-target='#VIEWREVENUE' data-id="<?php echo $index; ?>" data-userid="<?php echo $index; ?>" data-toggle="modal" href="#VIEWREVENUE"><i class="fa fa-eye" data-toggle="tooltip" title="Click here to view the <?php echo $record->ReqNo; ?> Requisition details"></i> </a> </td>
|
||||
@ -2401,7 +2401,7 @@ if (!empty($getlogpodtl)) {
|
||||
<input type="hidden" id="courierno<?= $row ?>" value="<?= $gd->CourierNo ?>">
|
||||
<input type="hidden" id="MaterialRcvdDate<?= $row ?>" value="<?= $gd->MaterialRcvdDate ?>">
|
||||
|
||||
<td><span onclick="openmodel(<?= $row ?>);"><i class="fas fa-pencil-alt" data-toggle="tooltip" title="Click here to Edit the Revenue SplPO details"></i></span>
|
||||
<td><span onclick="openmodel(<?= $row ?>);"><i class="ri-pencil-fill" ></i></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
@ -2463,7 +2463,7 @@ if (!empty($getlogpodtl)) {
|
||||
|
||||
|
||||
|
||||
<td><span onclick="openbillmodel(<?php echo $index ?>);"><i class="fas fa-pencil-alt" data-toggle="tooltip" title="Click here to Edit the Revenue SplPO details"></i></span>
|
||||
<td><span onclick="openbillmodel(<?php echo $index ?>);"><i class="ri-pencil-fill" ></i></span>
|
||||
<?php if (!empty($gd->FilePath)) { ?>
|
||||
<a target="_blank" href="<?php echo base_url() . 'public/uploads/BillFiles/' ?><?php echo $gd->FilePath ?>"><i class="fa fa-download"></i></a>
|
||||
<?php } ?>
|
||||
@ -2561,7 +2561,7 @@ if (!empty($getlogpodtl)) {
|
||||
<input type="hidden" name="Budget" id="Budget" value="<?php echo $BudgetType; ?>" />
|
||||
<div class="btn-container" style="text-align: right;">
|
||||
<?php if ($PONOStatus == PO_DRAFT || $PONOStatus == PO_CREATED || $PONOStatus == REQITEM_Emergency_PO_CREATED) { ?>
|
||||
<a class="btn btn-cancel Save" ID="Cancel" href="<?php echo base_url() . 'purchaseorderListing'; ?>"> <span class="bold">Cancel</span></a>
|
||||
<a class="btn btn-success Save" ID="Cancel" href="<?php echo base_url() . 'purchaseorderListing'; ?>"> <span class="bold">Cancel</span></a>
|
||||
<?php if ($PONOStatus == PO_DRAFT) { ?>
|
||||
<a class="btn btn-success Save" ID="Save" onclick="Save(0)"> <span class="bold">Save as Draft</span></a>
|
||||
<?php } ?>
|
||||
@ -3864,7 +3864,7 @@ if (!empty($getlogpodtl)) {
|
||||
<td align="right"><%=ReceivedQuantity%></td>
|
||||
<td align="right"><%=PendingQuantity%></td>
|
||||
<td>
|
||||
<a data-target='#EDITREVENUE' data-id="<%=index%>" data-userid="<%=index%>" data-toggle="modal" href="#EDITREVENUE"><i class="fas fa-pencil-alt" data-toggle="tooltip" title="Click here to view/Edit the <%=ReqNo%> Requisition details"></i> </a> <a href='#' onclick="DeleteRow(<%=index%>)" class="link" data-id="<%=index%>" data-userid="<%=index%>" id="Del"><span class="glyphicon glyphicon-trash"></span></a>
|
||||
<a data-target='#EDITREVENUE' data-id="<%=index%>" data-userid="<%=index%>" data-toggle="modal" href="#EDITREVENUE"><i class="ri-pencil-fill" data-toggle="tooltip" title="Click here to view/Edit the <%=ReqNo%> Requisition details"></i> </a> <a href='#' onclick="DeleteRow(<%=index%>)" class="link" data-id="<%=index%>" data-userid="<%=index%>" id="Del"><span class="ri-delete-bin-7-fill"></span></a>
|
||||
|
||||
|
||||
</td>
|
||||
@ -4012,7 +4012,7 @@ if (!empty($getlogpodtl)) {
|
||||
|
||||
<td>
|
||||
<a data-target='#EDITREVENUE' data-id="${temp}" data-userid="${temp}" data-toggle="modal" href="#EDITREVENUE">
|
||||
<i class="ri-pencil-fill" data-toggle="tooltip" title="Click here to view/Edit the ${Reqnumber} Requisition details"></i>
|
||||
<i class="ri-pencil-fill"></i>
|
||||
</a>
|
||||
|
||||
<a href='#' onclick="DeleteRow('${temp}')" class="link" data-id="${temp}" data-userid="${temp}" id="Del">
|
||||
|
||||
@ -687,7 +687,7 @@ foreach ($PaymentTerms as $TER) {
|
||||
<div class="col-12">
|
||||
<div class="page-title-box page-title-box-alt">
|
||||
<h4><?= "Amended Service Purchase Order- $PONO "; ?></h4>
|
||||
<a href="<?php echo base_url() ?>amendmentpurchaseorder" class="btn btn-cancel" id="back" value="Back">Back</a>
|
||||
<a href="<?php echo base_url() ?>amendmentpurchaseorder" class="btn btn-success" id="back" value="Back">Back</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -1275,7 +1275,7 @@ foreach ($PaymentTerms as $TER) {
|
||||
|
||||
<div class="modal-footer">
|
||||
<div class="form-group col-md-12">
|
||||
<a class="btn btn-cancel" data-dismiss="modal" value="Cancel">Cancel</a>
|
||||
<a class="btn btn-success" data-dismiss="modal" value="Cancel">Cancel</a>
|
||||
<a class="btn btn-success font EditService" ID="Edit"> <span class="bold">Update Service</span></a>
|
||||
</div>
|
||||
</div>
|
||||
@ -1416,7 +1416,7 @@ foreach ($PaymentTerms as $TER) {
|
||||
//if($PONOStatus == PO_DRAFT)
|
||||
//{
|
||||
?>
|
||||
<td> <a data-target='#EDITSERVICE' data-id="<?php echo $index; ?>" data-userid="<?php echo $index; ?>" data-toggle="modal" href="#EDITSERVICE"><i class="fas fa-pencil-alt" data-toggle="tooltip" title="Click here to view/Edit the <?php echo $record->ReqNo; ?> Requisition details"></i> <!-- </a> <a href='#' onclick = "DeleteRow(<?php echo $index; ?>)" class="link" data-id="<?php echo $index; ?>" data-userid="<?php echo $index; ?>" id="Del" ><span class="glyphicon glyphicon-trash"></span></a>-->
|
||||
<td> <a data-target='#EDITSERVICE' data-id="<?php echo $index; ?>" data-userid="<?php echo $index; ?>" data-toggle="modal" href="#EDITSERVICE"><i class="ri-pencil-fill" data-toggle="tooltip" title="Click here to view/Edit the <?php echo $record->ReqNo; ?> Requisition details"></i> <!-- </a> <a href='#' onclick = "DeleteRow(<?php echo $index; ?>)" class="link" data-id="<?php echo $index; ?>" data-userid="<?php echo $index; ?>" id="Del" ><span class="ri-delete-bin-7-fill"></span></a>-->
|
||||
<?php
|
||||
//} else {
|
||||
?>
|
||||
@ -1530,7 +1530,7 @@ foreach ($PaymentTerms as $TER) {
|
||||
<input type="hidden" name="txtPONO" id="txtPONO" value="<?php echo $PONO; ?>" />
|
||||
<input type="hidden" name="txtStatus" id="txtStatus" />
|
||||
<input type="hidden" name="txtDeletedRow" id="txtDeletedRow" />
|
||||
<input type="button" class="btn btn-cancel" value="Cancel" onClick="window.location ='amendmentpurchaseorder';">
|
||||
<input type="button" class="btn btn-success" value="Cancel" onClick="window.location ='amendmentpurchaseorder';">
|
||||
|
||||
<!-- <a class="btn btn-success Save" ID="Save" onclick="Save(0)" > <span class="bold">Save</span></a> -->
|
||||
<a class="btn btn-success Save" ID="Submit" onclick="Save()"> <span class="bold">Submit</span></a>
|
||||
@ -1594,7 +1594,7 @@ foreach ($PaymentTerms as $TER) {
|
||||
<td align="left"><%=PendingQuantity%></td>
|
||||
|
||||
<td>
|
||||
<a data-target='#EDITSERVICE' data-id="<%=index%>" data-userid="<%=index%>" data-toggle="modal" href="#EDITSERVICE"><i class="fas fa-pencil-alt" data-toggle="tooltip" title="Click here to view/Edit the <%=ReqNo%> Requisition details"></i> </a> <a href='#' onclick="DeleteRow(<%=index%>)" class="link" data-id="<%=index%>" data-userid="<%=index%>" id="Del"><span class="glyphicon glyphicon-trash"></span></a>
|
||||
<a data-target='#EDITSERVICE' data-id="<%=index%>" data-userid="<%=index%>" data-toggle="modal" href="#EDITSERVICE"><i class="ri-pencil-fill" data-toggle="tooltip" title="Click here to view/Edit the <%=ReqNo%> Requisition details"></i> </a> <a href='#' onclick="DeleteRow(<%=index%>)" class="link" data-id="<%=index%>" data-userid="<%=index%>" id="Del"><span class="ri-delete-bin-7-fill"></span></a>
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -248,7 +248,7 @@ if (isset($AvlimportBudAmt) && !empty($AvlimportBudAmt)) {
|
||||
<div class="col-12">
|
||||
<div class="page-title-box page-title-box-alt">
|
||||
<h4><?= "Import Purchase Order"; ?></h4>
|
||||
<a href="<?php echo base_url() ?>CreatePO" class="btn btn-cancel" id="back" value="Back">Back</a>
|
||||
<a href="<?php echo base_url() ?>CreatePO" class="btn btn-success" id="back" value="Back">Back</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -3324,10 +3324,10 @@ if (isset($AvlimportBudAmt) && !empty($AvlimportBudAmt)) {
|
||||
<td align="left">${pendingqty}</td>
|
||||
<td>
|
||||
<a data-target='#editimportpomodel' data-id="${temp}" data-userid="${temp}" data-toggle="modal" href="#editimportpomodel">
|
||||
<i class="fas fa-pencil-alt" data-toggle="tooltip"></i>
|
||||
<i class="ri-pencil-fill" data-toggle="tooltip"></i>
|
||||
</a>
|
||||
<a href='#' onclick="DeleteRow(${temp})" class="link" data-id="${temp}" data-userid="${temp}" id="Del">
|
||||
<span class="glyphicon glyphicon-trash"></span>
|
||||
<span class="ri-delete-bin-7-fill"></span>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@ -1768,7 +1768,7 @@ if (!empty($INRSYMBOL)) {
|
||||
<div class="col-12">
|
||||
<div class="page-title-box page-title-box-alt">
|
||||
<h4><?= "Revenue Purchase Order"; ?></h4>
|
||||
<a href="<?php echo base_url() ?>CreatePO" class="btn btn-cancel" id="back" value="Back">Back</a>
|
||||
<a href="<?php echo base_url() ?>CreatePO" class="btn btn-success" id="back" value="Back">Back</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -3070,7 +3070,7 @@ if (!empty($INRSYMBOL)) {
|
||||
<td align="right"><%=Taxvalue%></td>
|
||||
<td align="right"><%=TotalValue%></td>
|
||||
<td>
|
||||
<a data-target='#EDITREVENUE' data-id="<%=index%>" data-userid="<%=index%>" data-toggle="modal" href="#EDITREVENUE"><i class="fa fa-pencil" data-toggle="tooltip" title="Click here to view/Edit the <%=ReqNo%> Requisition details"></i> </a> <a href='#' onclick="DeleteRow('<%=index%>')" class="link" data-id="<%=index%>" data-userid="<%=index%>" id="Del"><span class="glyphicon glyphicon-trash"></span></a>
|
||||
<a data-target='#EDITREVENUE' data-id="<%=index%>" data-userid="<%=index%>" data-toggle="modal" href="#EDITREVENUE"><i class="fa fa-pencil" data-toggle="tooltip" title="Click here to view/Edit the <%=ReqNo%> Requisition details"></i> </a> <a href='#' onclick="DeleteRow('<%=index%>')" class="link" data-id="<%=index%>" data-userid="<%=index%>" id="Del"><span class="ri-delete-bin-7-fill"></span></a>
|
||||
</td>
|
||||
</tr>
|
||||
</script> -->
|
||||
@ -3312,7 +3312,7 @@ var rowHtml = `
|
||||
<td align="right">${TotalOrderValue}</td>
|
||||
<td>
|
||||
<a data-target='#EDITREVENUE' data-id="${temp}" data-userid="${temp}" data-toggle="modal" href="#EDITREVENUE">
|
||||
<i class="ri-pencil-fill" data-toggle="tooltip" title="Click here to view/Edit the ${Reqnumber} Requisition details"></i>
|
||||
<i class="ri-pencil-fill" data-toggle="tooltip"></i>
|
||||
</a>
|
||||
|
||||
<a href='#' onclick="DeleteRow('${temp}')" class="link" data-id="${temp}" data-userid="${temp}" id="Del">
|
||||
|
||||
@ -586,7 +586,7 @@ if (!empty($INRSYMBOL)) {
|
||||
<div class="col-12">
|
||||
<div class="page-title-box page-title-box-alt">
|
||||
<h4><?= "Service Purchase Order"; ?></h4>
|
||||
<a href="<?php echo base_url() ?>CreatePO" class="btn btn-cancel" id="back" value="Back">Back</a>
|
||||
<a href="<?php echo base_url() ?>CreatePO" class="btn btn-success" id="back" value="Back">Back</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -1517,7 +1517,7 @@ echo form_dropdown('insuranceStatus', $optionsInsurance, set_value('insuranceSta
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<div class="form-row">
|
||||
<a class="btn btn-cancel" data-dismiss="modal" value="Cancel">Cancel</a>
|
||||
<a class="btn btn-success" data-dismiss="modal" value="Cancel">Cancel</a>
|
||||
<a class="btn btn-success font EditService" ID="Edit"> <span class="bold">Update Service</span></a>
|
||||
</div>
|
||||
</div><!-- EDITSERVICE modal-footer closed here -->
|
||||
@ -1542,7 +1542,7 @@ echo form_dropdown('insuranceStatus', $optionsInsurance, set_value('insuranceSta
|
||||
<td align="left"><%=TotalValue%></td>
|
||||
|
||||
<td>
|
||||
<a data-target='#EDITSERVICE' data-id="<%=index%>" data-userid="<%=index%>" data-toggle="modal" href="#EDITSERVICE"><i class="fa fa-pencil" data-toggle="tooltip" title="Click here to view/Edit the <%=ReqNo%> Requisition details"></i> </a> <a href='#' onclick="DeleteRow(<%=index%>)" class="link" data-id="<%=index%>" data-userid="<%=index%>" id="Del"><span class="glyphicon glyphicon-trash"></span></a>
|
||||
<a data-target='#EDITSERVICE' data-id="<%=index%>" data-userid="<%=index%>" data-toggle="modal" href="#EDITSERVICE"><i class="fa fa-pencil" data-toggle="tooltip" title="Click here to view/Edit the <%=ReqNo%> Requisition details"></i> </a> <a href='#' onclick="DeleteRow(<%=index%>)" class="link" data-id="<%=index%>" data-userid="<%=index%>" id="Del"><span class="ri-delete-bin-7-fill"></span></a>
|
||||
|
||||
|
||||
</td>
|
||||
@ -1756,7 +1756,7 @@ echo form_dropdown('insuranceStatus', $optionsInsurance, set_value('insuranceSta
|
||||
<td align="left">${TotalOrderValue}</td>
|
||||
<td>
|
||||
<a data-target='#EDITSERVICE' data-id="${temp}" data-userid="${temp}" data-toggle="modal" href="#EDITSERVICE">
|
||||
<i class="ri-pencil-fill" data-toggle="tooltip" title="Click here to view/Edit the ${Reqnumber} Requisition details"></i>
|
||||
<i class="ri-pencil-fill" data-toggle="tooltip"></i>
|
||||
</a>
|
||||
|
||||
<a href='#' onclick="DeleteRow(${temp})" class="link" data-id="${temp}" data-userid="${temp}" id="Del">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user