|
From: <rc...@us...> - 2013-11-30 16:05:21
|
Revision: 6461
http://sourceforge.net/p/web-erp/reponame/6461
Author: rchacon
Date: 2013-11-30 16:05:19 +0000 (Sat, 30 Nov 2013)
Log Message:
-----------
Includes supplier-code, currency-code, and currency-name-from-CurrenciesArray.php in SelectSupplier.php.
Modified Paths:
--------------
trunk/SupplierInquiry.php
trunk/doc/Change.log
Modified: trunk/SupplierInquiry.php
===================================================================
--- trunk/SupplierInquiry.php 2013-11-30 15:15:06 UTC (rev 6460)
+++ trunk/SupplierInquiry.php 2013-11-30 16:05:19 UTC (rev 6461)
@@ -3,7 +3,6 @@
/* $Id$*/
include('includes/SQL_CommonFunctions.inc');
-
include('includes/session.inc');
$Title = _('Supplier Inquiry');
include('includes/header.inc');
@@ -113,13 +112,15 @@
$SupplierRecord['overdue1'] = 0;
$SupplierRecord['overdue2'] = 0;
}
+include('includes/CurrenciesArray.php'); // To get the currency name.
+echo '<p class="page_title_text"><img src="'.$RootPath.'/css/'.$Theme.'/images/supplier.png" title="' . _('Supplier') . '" alt="" /> ' .
+ _('Supplier') . ': ' .
+ $SupplierID . ' - ' . $SupplierRecord['suppname'] . '<br />' .
+ _('All amounts stated in') . ': ' .
+ $SupplierRecord['currcode'] . ' - ' . $CurrenciesArray[$SupplierRecord['currcode']]['Currency'] . '<br />' .
+ _('Terms') . ': ' .
+ $SupplierRecord['terms'] . '</p>';
-echo '<p class="page_title_text">
- <img src="'.$RootPath.'/css/'.$Theme.'/images/supplier.png" title="' . _('Supplier') . '" alt="" />' . ' ' . _('Supplier') . ' : ' . $SupplierRecord['suppname'] . ' - (' . _('All amounts stated in') . ' ' . $SupplierRecord['currency'] . ')
- <br />
- <br />' . _('Terms') . ': ' . $SupplierRecord['terms'] . '
- </p>';
-
if (isset($_GET['HoldType']) AND isset($_GET['HoldTrans'])){
if ($_GET['HoldStatus'] == _('Hold')){
Modified: trunk/doc/Change.log
===================================================================
--- trunk/doc/Change.log 2013-11-30 15:15:06 UTC (rev 6460)
+++ trunk/doc/Change.log 2013-11-30 16:05:19 UTC (rev 6461)
@@ -1,4 +1,5 @@
webERP Change Log
+30/11/13 rchacon: Includes supplier-code, currency-code, and currency-name-from-CurrenciesArray.php in SelectSupplier.php.
2013/11/30 Thumb: Add salesman constraint to show salesperson's own sales orders invoice, customer etc in DailySalesInquiry.php,PDFDeliveryDifferences.php,PDFOrdersInvoiced.php,PDFOrderStatus.php,PDFPickingList.php,SalesByTypePeriodInquiry.php,SalesInquiry.php,SelectCompletedOrder.php.
28/11/13 Phil: Apply Tim's idea for stripping slashes from incorrectly displayed items PO_Items.php and DeliveryDetails.php
28/11/13 Thumb: Add salesman constraints to ConfirmDispatch_Invoice.php to ensure that sales can only print his own sales orders' invoice.
|