add line item button hide
This commit is contained in:
parent
c143077330
commit
c6c3cf5fd3
@ -1057,8 +1057,25 @@ $(document).ready(function () {
|
||||
<div class="container-fluid">
|
||||
<div style="padding-right:10px">
|
||||
<div align="right">
|
||||
|
||||
|
||||
<?php
|
||||
if($PONOStatus == PO_RELEASED)
|
||||
{?>
|
||||
|
||||
|
||||
<?php }
|
||||
|
||||
else if($PONOStatus==PO_DRAFT ||$PONOStatus==PO_CREATED || $PONOStatus==PO_APPROVED)
|
||||
{?>
|
||||
|
||||
|
||||
|
||||
|
||||
<a data-toggle="modal" ><button type="submit" onclick="myFunction();" class="btn btn-primary" id="abcd" >Select Line Item</button> </a>
|
||||
|
||||
|
||||
<?}?>
|
||||
<!-- Model for servicepo -->
|
||||
<div class="modal fade" id="SERVICE" role="dialog">
|
||||
<div class="modal-dialog">
|
||||
|
||||
@ -2669,7 +2669,24 @@ function calculateEditTaxValue()
|
||||
|
||||
<div align="right">
|
||||
<div align="right">
|
||||
|
||||
|
||||
<?php
|
||||
if($PONOStatus == PO_RELEASED)
|
||||
{?>
|
||||
|
||||
|
||||
<?php }
|
||||
|
||||
else if($PONOStatus==PO_DRAFT ||$PONOStatus==PO_CREATED || $PONOStatus==PO_APPROVED)
|
||||
{?>
|
||||
|
||||
|
||||
|
||||
<a data-toggle="modal" ><button type="submit" onclick="myFunction();" class="btn btn-primary" id="abcd" >Select Line Item</button> </a>
|
||||
|
||||
<?}?>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- Model for revenue po -->
|
||||
|
||||
@ -845,7 +845,7 @@ if($PONOStatus == PO_RELEASED)
|
||||
{?>
|
||||
<!-- <a data-toggle="modal" data-target="#importpomodel" class="btn btn-primary" data-dismiss="modal" onclick="myFunction();" >Add Line Item </a> -->
|
||||
<?php
|
||||
} else {?>
|
||||
} else if ($PONOStatus==PO_DRAFT ||$PONOStatus==PO_CREATED || $PONOStatus==PO_APPROVED) {?>
|
||||
<a data-toggle="modal" data-target="#importpomodel" class="btn btn-primary" data-dismiss="modal" onclick="myFunction();" >Add Line Item </a><?php
|
||||
}?>
|
||||
|
||||
@ -2812,7 +2812,7 @@ echo form_textarea($data);
|
||||
|
||||
<?php
|
||||
|
||||
if($PONOStatus != PO_RELEASED)
|
||||
if($PONOStatus == PO_DRAFT || $PONOStatus == PO_CREATED || $PONOStatus == REQITEM_Emergency_PO_CREATED || $PONOStatus==PO_APPROVED)
|
||||
{?>
|
||||
<td> <a data-target='#editimportpomodel' data-id="<?php echo $index ; ?>" data-userid="<?php echo $index ; ?>" data-toggle="modal" href="#editimportpomodel"><i class="fa fa-pencil" 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>
|
||||
<?php
|
||||
|
||||
Loading…
Reference in New Issue
Block a user