Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Special Order Salesmen Selection
05-12-2016, 06:34 PM,
#2
RE: Special Order Salesmen Selection
There are a few changes needed. Firstly in includes/DefineSpecialOrderClass.php insert the line:

var $SalesPerson;

at line 31.

Then in SpecialOrder.php change the sql at line 110 to be

$sql = "SELECT brname,
salesman
FROM custbranch
WHERE debtorno='" . $_SESSION['SPL'.$identifier]->CustomerID . "'
AND branchcode='" . $_POST['SelectBranch'] . "'";
then at line 117 insert the following line:

$_SESSION['SPL' . $Identifier]->SalesPerson = $myrow['salesman'];

Finally at line 526 insert the line

salesperson,

and at line 545 insert

'" . $_SESSION['SPL' . $Identifier]->SalesPerson . "',

This should then do as you requested.

Thanks
Tim
Reply


Messages In This Thread
Special Order Salesmen Selection - by daveparrish - 05-12-2016, 01:36 PM
RE: Special Order Salesmen Selection - by TimSchofield - 05-12-2016, 06:34 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)