From: ExsonQu <hex...@gm...> - 2013-11-19 02:17:44
|
*Hi, all:* I've done a little research for this topic and found what we need to do is add a sql statement : if ($_SESSION['SalesmanLogin'] != '') { $SQL .= " AND custbranch.salesman='" . $_SESSION['SalesmanLogin'] . "'"; } And currently, the customers search result is OK if salesman login. Then we can provide a limit for those sales orders and invoice inquiry. Any comments is welcome. If no objection for this, I'll start to enhance the feature. Thanks and best regards! Exson -- View this message in context: http://weberp-accounting.1478800.n4.nabble.com/Salesman-respective-report-and-invoice-tp4656870p4656902.html Sent from the web-ERP-developers mailing list archive at Nabble.com. |