| 
      
      
      From: <tu...@us...> - 2017-12-13 19:58:17
      
     | 
| Revision: 7880
          http://sourceforge.net/p/web-erp/reponame/7880
Author:   turbopt
Date:     2017-12-13 19:58:15 +0000 (Wed, 13 Dec 2017)
Log Message:
-----------
CustomerReceipt.php: Add identifier to URL for delete link. (Reported in forums by Paul Becker)
Modified Paths:
--------------
    trunk/CustomerReceipt.php
    trunk/doc/Change.log
Modified: trunk/CustomerReceipt.php
===================================================================
--- trunk/CustomerReceipt.php	2017-12-13 19:23:22 UTC (rev 7879)
+++ trunk/CustomerReceipt.php	2017-12-13 19:58:15 UTC (rev 7880)
@@ -270,7 +270,7 @@
 		$BankAccounts[$i]= $Act[0];
 		$i++;
 	}
-	
+
 	/*Start a transaction to do the whole lot inside */
 	$result = DB_Txn_Begin();
 	$_SESSION['ReceiptBatch' . $identifier]->BatchNo = GetNextTransNo(12,$db);
@@ -1018,7 +1018,7 @@
 				<td>' . $ReceiptItem->GLCode.' - '.$myrow['accountname'] . '</td>
 				<td>' .  stripslashes($ReceiptItem->Narrative) . '</td>
 				<td>' .  $ReceiptItem->TagName . '</td>
-				<td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?Delete=' . $ReceiptItem->ID . '&Type=' . $_GET['Type']. '">' . _('Delete') . '</a></td>
+				<td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?Delete=' . $ReceiptItem->ID . '&Type=' . $_GET['Type'] . '&identifier=' . $identifier . '">' . _('Delete') . '</a></td>
 			</tr>';
 		$BatchTotal= $BatchTotal + $ReceiptItem->Amount;
 	}
Modified: trunk/doc/Change.log
===================================================================
--- trunk/doc/Change.log	2017-12-13 19:23:22 UTC (rev 7879)
+++ trunk/doc/Change.log	2017-12-13 19:58:15 UTC (rev 7880)
@@ -1,5 +1,6 @@
 webERP Change Log
 
+11/13/17 PaulT: CustomerReceipt.php: Add identifier to URL for delete link. (Reported in forums by Paul Becker)
 11/13/17 PaulT: QATests.php: Correct wrong attribute name in two option tags. (Reported in forums by Paul Becker)
 11/12/17 PaulT: PHP 7 constructor compatibility change to phplot.php. (Reported in forums by rjonesbsink)
 11/12/17 Paul Becker: (forums) SelectSalesOrder.php: Consistent delivery address and correct a unit conversion issue.
 |