diff options
author | Ivan Kohler <ivan@freeside.biz> | 2013-08-20 16:56:47 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2013-08-20 16:56:47 -0700 |
commit | 4ffd142dae5358de567d0d9cc07fd1be0b62f1be (patch) | |
tree | 43307bc9159fde92fe1fea786e5d5e611764efe6 /httemplate/edit | |
parent | 5a3704ecdaa3a5a78e8a46dffcbeb86a6f1148d4 (diff) |
continue sales person work: customer and package selection, commissions, reporting. RT#23402
Diffstat (limited to 'httemplate/edit')
-rw-r--r-- | httemplate/edit/process/sales.html | 1 | ||||
-rwxr-xr-x | httemplate/edit/sales.html | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/httemplate/edit/process/sales.html b/httemplate/edit/process/sales.html index 1bb1797df..4befc02cc 100644 --- a/httemplate/edit/process/sales.html +++ b/httemplate/edit/process/sales.html @@ -26,6 +26,7 @@ my $process_sales_pkg_class = sub { my $param = 'classnum'. $sales_pkg_class{classnum}; $sales_pkg_class->commission_percent( $cgi->param($param) ); + $sales_pkg_class->commission_duration( $cgi->param($param.'_duration') ); my $method = $sales_pkg_class->salespkgclassnum ? 'replace' : 'insert'; diff --git a/httemplate/edit/sales.html b/httemplate/edit/sales.html index 90f651dda..5a7a49e5b 100755 --- a/httemplate/edit/sales.html +++ b/httemplate/edit/sales.html @@ -19,9 +19,10 @@ '<BR>'. include('/elements/table-commissions.html', - 'source_obj' => $sales, - 'link_table' => 'sales_pkg_class', + 'source_obj' => $sales, + 'link_table' => 'sales_pkg_class', #'target_table' => 'pkg_class', + 'show_duration' => 1, ); }, &> |