diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2013-08-20 16:56:46 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2013-08-20 16:56:46 -0700 |
| commit | 97c2b84e4a0ac12f203d7fa907e020d9ec784069 (patch) | |
| tree | 3d0815e66c32ee6f6ccfb5d5793499b12b594304 /httemplate/edit | |
| parent | 6db14d0fe65daec3d136edaa33a32a1fb24ba06a (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, ); }, &> |
