From: <te...@us...> - 2013-01-17 02:11:30
|
Revision: 5794 http://sourceforge.net/p/web-erp/reponame/5794 Author: tehonu Date: 2013-01-17 02:11:24 +0000 (Thu, 17 Jan 2013) Log Message: ----------- Pak Ricard: Improvement to email text Modified Paths: -------------- trunk/StockLocTransferReceive.php Modified: trunk/StockLocTransferReceive.php =================================================================== --- trunk/StockLocTransferReceive.php 2013-01-17 01:54:03 UTC (rev 5793) +++ trunk/StockLocTransferReceive.php 2013-01-17 02:11:24 UTC (rev 5794) @@ -331,9 +331,12 @@ // send an email to the inventory manager about this cancellation (as can lead to employee fraud) if ($_SESSION['InventoryManagerEmail']!=''){ $ConfirmationText = _('Cancelled balance at transfer'). ': ' . $_SESSION['Transfer']->TrfID . - ' ' . _('stock code') . ': ' . $TrfLine->StockID . - ' ' . _('by user') . ': ' . $_SESSION['UserID'] . - ' ' . _('at') . ': ' . Date('Y-m-d H:i:s'); + "\r\n" . _('From Location') . ': ' . $_SESSION['Transfer']->StockLocationFrom . + "\r\n" . _('To Location') . ': ' . $_SESSION['Transfer']->StockLocationTo . + "\r\n" . _('Stock code') . ': ' . $TrfLine->StockID . + "\r\n" . _('Qty received') . ': ' . round($TrfLine->Quantity, $TrfLine->DecimalPlaces) . + "\r\n" . _('By user') . ': ' . $_SESSION['UserID'] . + "\r\n" . _('At') . ': ' . Date('Y-m-d H:i:s'); $EmailSubject = _('Cancelled balance at transfer'). ' ' . $_SESSION['Transfer']->TrfID; mail($_SESSION['InventoryManagerEmail'],$EmailSubject,$ConfirmationText); } |