[Weberp-svn] SF.net SVN: weberp:[8734] trunk
Brought to you by:
sotandeka,
tim_schofield
From: <tim...@us...> - 2012-04-29 19:21:35
|
Revision: 8734 http://weberp.svn.sourceforge.net/weberp/?rev=8734&view=rev Author: tim_schofield Date: 2012-04-29 19:21:28 +0000 (Sun, 29 Apr 2012) Log Message: ----------- Layout improvements, new css and buttons Modified Paths: -------------- trunk/SuppFixedAssetChgs.php trunk/SupplierInvoice.php Modified: trunk/SuppFixedAssetChgs.php =================================================================== --- trunk/SuppFixedAssetChgs.php 2012-04-29 19:21:15 UTC (rev 8733) +++ trunk/SuppFixedAssetChgs.php 2012-04-29 19:21:28 UTC (rev 8734) @@ -22,7 +22,9 @@ /*It all stops here if there aint no supplier selected and invoice/credit initiated ie $_SESSION['SuppTrans'] started off*/ } -$_POST['Amount'] = filter_currency_input($_POST['Amount']); +if (isset($_POST['Amount'])) { + $_POST['Amount'] = filter_currency_input($_POST['Amount']); +} if (isset($_POST['AddAssetToInvoice'])){ @@ -141,7 +143,7 @@ <td><input type="text" class="number" name="Amount" size="12" maxlength="11" value="' . locale_money_format($_POST['Amount'], $_SESSION['SuppTrans']->CurrCode) . '" /></td></tr>'; echo '</table>'; -echo '<br /><div class="centre"><input type="submit" name="AddAssetToInvoice" value="' . _('Enter Fixed Asset') . '" /></div>'; +echo '<br /><div class="centre"><button type="submit" name="AddAssetToInvoice">' . _('Enter Fixed Asset') . '</button></div>'; echo '</form>'; include('includes/footer.inc'); Modified: trunk/SupplierInvoice.php =================================================================== --- trunk/SupplierInvoice.php 2012-04-29 19:21:15 UTC (rev 8733) +++ trunk/SupplierInvoice.php 2012-04-29 19:21:28 UTC (rev 8734) @@ -275,7 +275,7 @@ echo '<br /><table cellpadding="2" class="selection"> <tr><th colspan="6">' . _('Purchase Order Charges') . '</th></tr>'; - $tableheader = '<tr bgcolor=#800000> + $tableheader = '<tr> <th>' . _('Seq') . ' #</th> <th>' . _('Item Code') . '</th> <th>' . _('Description') . '</th> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |