Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sales Report Graph - No Discount - SOLVED
03-15-2018, 11:24 PM,
#1
Sales Report Graph - No Discount - SOLVED
SalesGraph.php

Change this:

PHP Code:
    if ($_POST['GraphValue']=='Net') {
        
$GraphTitle _('Sales Value');
        
$SelectClause 'amt';
    } elseif (
$_POST['GraphValue']=='GP'){
        
$GraphTitle _('Gross Profit');
        
$SelectClause '(amt - cost)';
    } else {
        
$GraphTitle _('Unit Sales');
        
$SelectClause 'qty';
    } 

To this:

PHP Code:
    if ($_POST['GraphValue']=='Net') {
        
$GraphTitle _('Sales Value');
        
$SelectClause 'amt - disc';
    } elseif (
$_POST['GraphValue']=='GP'){
        
$GraphTitle _('Gross Profit');
        
$SelectClause '(amt - disc - cost)';
    } else {
        
$GraphTitle _('Unit Sales');
        
$SelectClause 'qty';
    } 
https://www.linkedin.com/in/eclipsepaulbecker
Reply
03-16-2018, 04:13 PM,
#2
RE: Sales Report Graph - No Discount - SOLVED
Change committed.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)