From: <rc...@us...> - 2014-05-31 00:35:29
|
Revision: 6738 http://sourceforge.net/p/web-erp/reponame/6738 Author: rchacon Date: 2014-05-31 00:35:26 +0000 (Sat, 31 May 2014) Log Message: ----------- Add page title text and icon to import scripts. Page title text = menu option. Modified Paths: -------------- trunk/Z_ImportFixedAssets.php trunk/Z_ImportGLTransactions.php trunk/Z_ImportPriceList.php trunk/Z_ImportStocks.php Modified: trunk/Z_ImportFixedAssets.php =================================================================== --- trunk/Z_ImportFixedAssets.php 2014-05-30 22:29:38 UTC (rev 6737) +++ trunk/Z_ImportFixedAssets.php 2014-05-31 00:35:26 UTC (rev 6738) @@ -6,23 +6,27 @@ $Title = _('Import Fixed Assets'); include('includes/header.inc'); include('includes/SQL_CommonFunctions.inc'); +echo '<p class="page_title_text"><img alt="" src="' . $RootPath . '/css/' . $Theme . + '/images/fixed_assets.png" title="' . + _('Import Fixed Assets from .csv file') . '" />' . ' ' . + _('Import Fixed Assets from .csv file') . '</p>'; // If this script is called with a file object, then the file contents are imported // If this script is called with the gettemplate flag, then a template file is served // Otherwise, a file upload form is displayed $FieldNames = array( - 'Description', //0 - 'LongDescription', //1 - 'AssetCategoryID', //2 - 'SerialNo', //3 - 'BarCode', //4 - 'AssetLocationCode', //5 - 'Cost', //6 - 'AccumDepn', //7 - 'DepnType', //8 - SL or DV - 'DepnRate', //9 - 'DatePurchased' //10 + 'Description', // 0 'Title of the fixed asset', + 'LongDescription', // 1 'Description of the fixed asset', + 'AssetCategoryID', // 2 'Asset category id', + 'SerialNo', // 3 'Serial number', + 'BarCode', // 4 'Bar code', + 'AssetLocationCode', // 5 'Asset location code', + 'Cost', // 6 'Cost', + 'AccumDepn', // 7 'Accumulated depreciation', + 'DepnType', // 8 'Depreciation type - SL or DV', + 'DepnRate', // 9 'Depreciation rate', + 'DatePurchased' // 10 'Date of purchase', ); if ($_FILES['SelectedAssetFile']['name']) { //start file processing @@ -309,4 +313,4 @@ } include('includes/footer.inc'); -?> \ No newline at end of file +?> Modified: trunk/Z_ImportGLTransactions.php =================================================================== --- trunk/Z_ImportGLTransactions.php 2014-05-30 22:29:38 UTC (rev 6737) +++ trunk/Z_ImportGLTransactions.php 2014-05-31 00:35:26 UTC (rev 6738) @@ -6,6 +6,10 @@ $Title = _('Import General Ledger Transactions'); include('includes/header.inc'); include('includes/SQL_CommonFunctions.inc'); +echo '<p class="page_title_text"><img alt="" src="' . $RootPath . '/css/' . $Theme . + '/images/maintenance.png" title="' . + _('Import GL Payments Receipts Or Journals From CSV') . '" />' . ' ' . + _('Import GL Payments Receipts Or Journals From CSV') . '</p>'; $FieldHeadings = array( 'Date', // 0 'Transaction Date', @@ -16,7 +20,6 @@ 'Tag' // 5 'Tag reference' ); -echo '<p class="page_title_text" ><img src="' . $RootPath . '/css/' . $Theme . '/images/maintenance.png" title="' . $Title . '" alt="' . $Title . '" />' . ' ' . $Title . '</p>'; if (isset($_FILES['userfile']) and $_FILES['userfile']['name']) { //start file processing //check file info @@ -274,4 +277,4 @@ } } -?> \ No newline at end of file +?> Modified: trunk/Z_ImportPriceList.php =================================================================== --- trunk/Z_ImportPriceList.php 2014-05-30 22:29:38 UTC (rev 6737) +++ trunk/Z_ImportPriceList.php 2014-05-31 00:35:26 UTC (rev 6738) @@ -3,6 +3,10 @@ include('includes/session.inc'); $Title = _('Import Sales Price List'); include('includes/header.inc'); +echo '<p class="page_title_text"><img alt="" src="' . $RootPath . '/css/' . $Theme . + '/images/maintenance.png" title="' . + _('Import Price List from CSV file') . '" />' . ' ' . + _('Import Price List from CSV file') . '</p>'; $FieldHeadings = array( 'StockID', // 0 'STOCKID', @@ -11,8 +15,6 @@ 'Price' // 3 'Price' ); -echo '<p class="page_title_text" ><img src="' . $RootPath . '/css/' . $Theme . '/images/maintenance.png" title="' . $Title . '" alt="' . $Title . '" />' . ' ' . $Title . '</p>'; - if (isset($_FILES['PriceListFile']) and $_FILES['PriceListFile']['name']) { //start file processing //check file info $FileName = $_FILES['PriceListFile']['name']; Modified: trunk/Z_ImportStocks.php =================================================================== --- trunk/Z_ImportStocks.php 2014-05-30 22:29:38 UTC (rev 6737) +++ trunk/Z_ImportStocks.php 2014-05-31 00:35:26 UTC (rev 6738) @@ -4,6 +4,10 @@ include('includes/session.inc'); $Title = _('Import Items'); include('includes/header.inc'); +echo '<p class="page_title_text"><img alt="" src="' . $RootPath . '/css/' . $Theme . + '/images/inventory.png" title="' . + _('Import Stock Items from .csv') . '" />' . ' ' . + _('Import Stock Items from .csv') . '</p>'; // If this script is called with a file object, then the file contents are imported // If this script is called with the gettemplate flag, then a template file is served @@ -22,7 +26,7 @@ 'Serialised', // 9 'SERIALISED', 'Perishable', // 10 'PERISHABLE', 'Volume', // 11 'VOLUME', - 'grossweight', // 12 'grossweight', + 'grossweight', // 12 'grossweight', 'BarCode', // 13 'BARCODE', 'DiscountCategory', // 14 'DISCOUNTCATEGORY', 'TaxCat', // 15 'TAXCAT', @@ -296,4 +300,4 @@ include('includes/footer.inc'); -?> \ No newline at end of file +?> |