|
From: <vv...@us...> - 2012-04-21 20:21:39
|
Revision: 5268
http://web-erp.svn.sourceforge.net/web-erp/?rev=5268&view=rev
Author: vvs2012
Date: 2012-04-21 20:21:33 +0000 (Sat, 21 Apr 2012)
Log Message:
-----------
Editable item description in PO
Modified Paths:
--------------
trunk/PO_Items.php
trunk/doc/Change.log
Modified: trunk/PO_Items.php
===================================================================
--- trunk/PO_Items.php 2012-04-20 08:49:59 UTC (rev 5267)
+++ trunk/PO_Items.php 2012-04-21 20:21:33 UTC (rev 5268)
@@ -48,6 +48,7 @@
$_SESSION['PO'.$identifier]->LineItems[$POLine->LineNo]->Price=filter_number_format($_POST['SuppPrice'.$POLine->LineNo])/$_SESSION['PO'.$identifier]->LineItems[$POLine->LineNo]->ConversionFactor;
}
$_SESSION['PO'.$identifier]->LineItems[$POLine->LineNo]->ReqDelDate=$_POST['ReqDelDate'.$POLine->LineNo];
+ $_SESSION['PO'.$identifier]->LineItems[$POLine->LineNo]->ItemDescription =$_POST['ItemDescription'.$POLine->LineNo];
}
}
}
@@ -371,7 +372,7 @@
AND ($_SESSION['PO'.$identifier]->Status=='Authorised'
OR $_SESSION['PO'.$identifier]->Status=='Printed')){
- echo '<br /><a target="_blank" href="'.$rootpath.'/PO_PDFPurchOrder.php?OrderNo=' . $_SESSION['PO'.$identifier]->OrderNo . '">' . _('Print Purchase Order') . '</a>';
+ echo '<br /><div class="centre"><a target="_blank" href="'.$rootpath.'/PO_PDFPurchOrder.php?OrderNo=' . $_SESSION['PO'.$identifier]->OrderNo . '">' . _('Print Purchase Order') . '</a></div>';
}
} /*end of if its a new order or an existing one */
@@ -695,7 +696,7 @@
}
echo '<td>' . $POLine->StockID . '</td>
- <td>' . $POLine->ItemDescription . '</td>
+ <td><input type="text" name="ItemDescription' . $POLine->LineNo.'" size="80" value="' .$POLine->ItemDescription .'" /></td>
<td class="number">' . locale_number_format($POLine->Quantity,$POLine->DecimalPlaces) . '</td>
<td>' . $POLine->Units . '</td>
<td class="number">' . $DisplayPrice . '</td>
Modified: trunk/doc/Change.log
===================================================================
--- trunk/doc/Change.log 2012-04-20 08:49:59 UTC (rev 5267)
+++ trunk/doc/Change.log 2012-04-21 20:21:33 UTC (rev 5268)
@@ -1,4 +1,5 @@
webERP Change Log
+21/04/2012 Vitaly: Editable item description in PO.
16/04/2012 Vitaly: Added option to display only items that are currently on purchase order in StockLocStatus.php
16/04/2012 Vitaly: Fixed Days textbox where it did not remember entered value.
16/04/2012 Ricard: ReorderLevelLocation.php only showing items not discontinued (current).
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|