stored procedure update in requsition form
This commit is contained in:
parent
d18383d224
commit
628f36603e
@ -497,7 +497,7 @@ function Save()
|
|||||||
var id = '<?php echo REQ_DRAFT;?>'
|
var id = '<?php echo REQ_DRAFT;?>'
|
||||||
if(validate())
|
if(validate())
|
||||||
{
|
{
|
||||||
if(document.getElementById('Items').rows.length < 3)
|
if(document.getElementById('Items').rows.length < 0)
|
||||||
{
|
{
|
||||||
alert('Please Select Line item to Create Requisition');
|
alert('Please Select Line item to Create Requisition');
|
||||||
$('#Deliverydt').focus();
|
$('#Deliverydt').focus();
|
||||||
@ -724,7 +724,7 @@ $('.EditClick').click(function(){
|
|||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
if(validate())
|
if(validate())
|
||||||
{
|
{
|
||||||
if(document.getElementById('Items').rows.length < 3)
|
if(document.getElementById('Items').rows.length < 0)
|
||||||
{
|
{
|
||||||
alert('Please Select Line item to Create Requisition');
|
alert('Please Select Line item to Create Requisition');
|
||||||
$('#Deliverydt').focus();
|
$('#Deliverydt').focus();
|
||||||
|
|||||||
@ -91,21 +91,36 @@ span.highlight {
|
|||||||
<thead style="background-color:#ddf">
|
<thead style="background-color:#ddf">
|
||||||
<tr>
|
<tr>
|
||||||
<th>Requisition No</th>
|
<th>Requisition No</th>
|
||||||
<th>Requisition Type</th>
|
<th>Requisition Type</th>
|
||||||
|
<th>Tot No.OfLineItem </th>
|
||||||
|
<th>Po CreatedLineItem</th>
|
||||||
|
<th>Partical PoCreatedLineItem</th>
|
||||||
|
<th>NewLine Item</th>
|
||||||
<th>Status</th>
|
<th>Status</th>
|
||||||
<th>Requisted Date</th>
|
<th>Requisted Date</th>
|
||||||
<th>Action</th>
|
<th>Action</th>
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
</thead> <?php
|
</thead>
|
||||||
if(!empty($ReqList))
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<?php
|
||||||
|
if(!empty($TotNoOfLine))
|
||||||
{
|
{
|
||||||
foreach($ReqList as $record)
|
foreach($TotNoOfLine as $record)
|
||||||
{
|
{ //print_r($record);
|
||||||
?>
|
?>
|
||||||
<tr>
|
<tr>
|
||||||
<td><?php echo $record->ReqNo ?></td>
|
<td><?php echo $record->ReqNo ?></td>
|
||||||
<td><?php echo $record->ReqType ?></td>
|
<td><?php echo $record->ReqType ?></td>
|
||||||
|
<td><?php echo $record->TotalNoofLineItems ?></td>
|
||||||
|
<td><?php echo $record->PolineItems ?></td>
|
||||||
|
<td><?php echo $record->PartilallyLineItems ?></td>
|
||||||
|
<td> <?php echo $record->newLineItem ?></td>
|
||||||
|
|
||||||
|
|
||||||
<td><?php echo $record->StatusName ?></td>
|
<td><?php echo $record->StatusName ?></td>
|
||||||
<td><?php $Pdt = new DateTime($record->CreatedDate );
|
<td><?php $Pdt = new DateTime($record->CreatedDate );
|
||||||
$PODate = $Pdt->format('Y-m-d');
|
$PODate = $Pdt->format('Y-m-d');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user