From: <rc...@us...> - 2017-06-18 17:00:56
|
Revision: 7778 http://sourceforge.net/p/web-erp/reponame/7778 Author: rchacon Date: 2017-06-18 17:00:53 +0000 (Sun, 18 Jun 2017) Log Message: ----------- Improve jump to enter a GL receipt if 'Type'=='GL' in CustomerReceipt.php (by Tim). Modified Paths: -------------- trunk/CustomerReceipt.php trunk/doc/Change.log Modified: trunk/CustomerReceipt.php =================================================================== --- trunk/CustomerReceipt.php 2017-06-18 16:30:01 UTC (rev 7777) +++ trunk/CustomerReceipt.php 2017-06-18 17:00:53 UTC (rev 7778) @@ -600,13 +600,7 @@ echo '<div class="centre noprint">', '<p class="page_title_text"><img src="'.$RootPath.'/css/'.$Theme.'/images/printer.png" title="' . _('Print') . '" alt="" />' . ' ' . '<a href="' . $RootPath . '/PDFBankingSummary.php?BatchNo=' . $_SESSION['ReceiptBatch' . $identifier]->BatchNo . '">' . _('Print PDF Batch Summary') . '</a></p>'; echo '<p class="page_title_text"><img src="'.$RootPath.'/css/'.$Theme.'/images/allocation.png" title="' . _('Allocate') . '" alt="" />' . ' ' . '<a href="' . $RootPath . '/CustomerAllocations.php">' . _('Allocate Receipts') . '</a></p>'; - echo '<p class="page_title_text"><img alt="" src="', $RootPath, '/css/', $Theme, '/images/transactions.png" title="', _('Enter Receipts'), '" /> ', '<a href="', $RootPath, '/CustomerReceipt.php?NewReceipt=Yes&Type='; - if ($_GET['Type']=='GL') { - echo 'GL'; - } else { - echo 'Customer'; - } - echo '">', _('Enter Receipts'), '</a></p>', + echo '<p class="page_title_text"><img alt="" src="', $RootPath, '/css/', $Theme, '/images/transactions.png" title="', _('Enter Receipts'), '" /> ', '<a href="', $RootPath, '/CustomerReceipt.php?NewReceipt=Yes&Type=', urlencode($_GET['Type']), '">', _('Enter Receipts'), '</a></p>', '</div>'; unset($_SESSION['ReceiptBatch' . $identifier]); Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2017-06-18 16:30:01 UTC (rev 7777) +++ trunk/doc/Change.log 2017-06-18 17:00:53 UTC (rev 7778) @@ -1,5 +1,6 @@ webERP Change Log +18/06/17 Tim (committed by RChacon): Improve jump to enter a GL receipt if 'Type'=='GL' in CustomerReceipt.php. 18/06/17 RChacon: Add missing images and delete unused images in css/custom/. 18/06/17 Exson: Fixed a typo in GLPostings.inc. 18/06/17 Giankocr created a custom theme for webERP, Exson port part of it to webERP. |