amend service status complete updation,emergency editable upto release

This commit is contained in:
venbatechnologies@gmail.com 2017-10-31 17:35:42 +05:30
parent 993938ae8c
commit dd541cb6a8
2 changed files with 2 additions and 2 deletions

View File

@ -3892,7 +3892,7 @@ function calculateEditTaxValue()
<input align="right" type="hidden" name="<?php echo 'TotalOrderValue'.$index ?>" id="<?php echo 'TotalOrderValue'.$index ?>" value="<?php echo $record->TotalValue ; ?>" />
<?php
if($PONOStatus == PO_DRAFT || $PONOStatus == PO_CREATED)
if($PONOStatus == PO_DRAFT || $PONOStatus == PO_CREATED|| $PONOStatus==REQITEM_Emergency_PO_CREATED || $PONOStatus==PO_APPROVED)
{?>
<td> <a data-target='#EDITREVENUE' data-id="<?php echo $index ; ?>" data-userid="<?php echo $index ; ?>" data-toggle="modal" href="#EDITREVENUE"><i class="fa fa-pencil" data-toggle="tooltip" title="Click here to view/Edit the <?php echo $record->ReqNo ; ?> Requisition details"></i>&nbsp;&nbsp;&nbsp;</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>
<?php

View File

@ -800,7 +800,7 @@ $(document).ready(function () {
{
//print_r($WorkStatus);
foreach ($WorkStatus as $WorkSID):
if($WrkStatus==$WorkSID->StatusName){
if($WrkStatus==$WorkSID->StatusCode){
$optionsWork[$WorkSID->StatusCode] = $WorkSID->StatusName;
}