|
From: <rc...@us...> - 2014-10-10 03:49:05
|
Revision: 6911
http://sourceforge.net/p/web-erp/reponame/6911
Author: rchacon
Date: 2014-10-10 03:49:01 +0000 (Fri, 10 Oct 2014)
Log Message:
-----------
Add transaccion type name translation, transaccion type number and link to GL transaction inquiry.
Modified Paths:
--------------
trunk/DailyBankTransactions.php
trunk/doc/Change.log
Modified: trunk/DailyBankTransactions.php
===================================================================
--- trunk/DailyBankTransactions.php 2014-10-06 11:15:02 UTC (rev 6910)
+++ trunk/DailyBankTransactions.php 2014-10-10 03:49:01 UTC (rev 6911)
@@ -1,19 +1,14 @@
<?php
-
/* $Id: DailyBankTransactions.php 4556 2011-04-26 11:03:36Z daintree $ */
include ('includes/session.inc');
$Title = _('Bank Transactions Inquiry');
-
$ViewTopic= 'GeneralLedger';
$BookMark = 'DailyBankTransactions';
include('includes/header.inc');
-echo '<p class="page_title_text">
- <img src="'.$RootPath.'/css/'.$Theme.'/images/money_add.png" title="' .
- _('Search') . '" alt="" />' . ' ' . $Title.'
- </p>';
+echo '<p class="page_title_text"><img alt="" src="' . $RootPath . '/css/' . $Theme . '/images/money_add.png" title="' . _('Search') . '" />' . ' ' . $Title . '</p>';
if (!isset($_POST['Show'])) {
echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post">';
@@ -102,6 +97,7 @@
banktrans.exrate,
banktrans.banktranstype,
banktrans.transdate,
+ banktrans.transno,
banktrans.ref,
bankaccounts.bankaccountname,
systypes.typename,
@@ -122,11 +118,12 @@
$BankDetailRow = DB_fetch_array($BankResult);
echo '<table class="selection">
<tr>
- <th colspan="9"><h3>' . _('Account Transactions For').' '.$BankDetailRow['bankaccountname'].' '._('Between').' '.$_POST['FromTransDate'] . ' ' . _('and') . ' ' . $_POST['ToTransDate'] . '</h3></th>
+ <th colspan="10"><h3>' . _('Account Transactions For').' '.$BankDetailRow['bankaccountname'].' '._('Between').' '.$_POST['FromTransDate'] . ' ' . _('and') . ' ' . $_POST['ToTransDate'] . '</h3></th>
</tr>
<tr>
<th>' . ('Date') . '</th>
<th>' . _('Transaction type') . '</th>
+ <th>' . _('Number') . '</th>
<th>' . _('Type') . '</th>
<th>' . _('Reference') . '</th>
<th>' . _('Amount in').' '.$BankDetailRow['currcode'] . '</th>
@@ -152,7 +149,8 @@
echo '<tr>
<td>' . ConvertSQLDate($myrow['transdate']) . '</td>
- <td>' . $myrow['typename'] . '</td>
+ <td>' . _($myrow['typename']) . '</td>
+ <td class="number"><a href="' . $RootPath . '/GLTransInquiry.php?TypeID=' . $myrow['typeid'] . '&TransNo=' . $myrow['transno'] . '">' . $myrow['transno'] . '</a></td>
<td>' . $myrow['banktranstype'] . '</td>
<td>' . $myrow['ref'] . '</td>
<td class="number">' . locale_number_format($myrow['amount'],$BankDetailRow['decimalplaces']) . '</td>
Modified: trunk/doc/Change.log
===================================================================
--- trunk/doc/Change.log 2014-10-06 11:15:02 UTC (rev 6910)
+++ trunk/doc/Change.log 2014-10-10 03:49:01 UTC (rev 6911)
@@ -1,5 +1,6 @@
webERP Change Log
+09/10/14 RChacon: Add transaccion type name translation, transaccion type number and link to GL transaction inquiry in DailyBankTransactions.php.
06/10/14 Exson: Fixed the prices or line total variance in invoice for foreign currencies.
4/10/14 Andrew Galuski: defaulted factory location from WO record
30/09/14 Exson: Fixed the purchase order details status to be right when the PO is recovered from Cancelled status.
|