summaryrefslogtreecommitdiff
path: root/httemplate/graph/money_time-graph.cgi
diff options
context:
space:
mode:
authorivan <ivan>2004-04-23 12:19:40 +0000
committerivan <ivan>2004-04-23 12:19:40 +0000
commit87227cd405166484ca7b791b2bd3c8829ce8d969 (patch)
treeb838747ae5773879bb023b6b39ae904a3f29fefb /httemplate/graph/money_time-graph.cgi
parent5cd995865b91204f7ce9233a8ba4d5eee62f9be4 (diff)
credit report, add some links to sales/credits/receipts summary, move payment search to template
Diffstat (limited to 'httemplate/graph/money_time-graph.cgi')
-rwxr-xr-xhttemplate/graph/money_time-graph.cgi6
1 files changed, 4 insertions, 2 deletions
diff --git a/httemplate/graph/money_time-graph.cgi b/httemplate/graph/money_time-graph.cgi
index 55e8982b4..bb3d23aae 100755
--- a/httemplate/graph/money_time-graph.cgi
+++ b/httemplate/graph/money_time-graph.cgi
@@ -15,17 +15,19 @@ my $emonth = $cgi->param('emonth') || $curmon+1;
#my @labels;
#my %data;
-my @items = qw( invoiced netsales credits receipts );
+my @items = qw( invoiced netsales credits payments receipts );
my %label = (
'invoiced' => 'Gross Sales (invoiced)',
'netsales' => 'Net Sales (invoiced - applied credits)',
'credits' => 'Credits',
- 'receipts' => 'Receipts/Cashflow (payments - refunds)',
+ 'payments' => 'Gross Receipts (payments)',
+ 'receipts' => 'Net Receipts/Cashflow (payments - refunds)',
);
my %color = (
'invoiced' => [ 153, 153, 255 ], #light blue
'netsales' => [ 0, 0, 204 ], #blue
'credits' => [ 204, 0, 0 ], #red
+ 'payments' => [ 153, 204, 153 ], #light green
'receipts' => [ 0, 204, 0 ], #green
);