X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Forder_pkg.html;h=4dd2b7b2011831f6d1f47ed806a56c4be141ace7;hb=d3e18527e2fa36b7b7fe7b8b0a5906caae3cb8de;hp=33b2bb39004d0324c040e9a26eb8a4c8e753ff64;hpb=995a145c931164347683071c95c6754379d36604;p=freeside.git
diff --git a/httemplate/misc/order_pkg.html b/httemplate/misc/order_pkg.html
index 33b2bb390..4dd2b7b20 100644
--- a/httemplate/misc/order_pkg.html
+++ b/httemplate/misc/order_pkg.html
@@ -5,23 +5,7 @@
-
+
<% include('/elements/error.html') %>
@@ -34,38 +18,22 @@
'curr_value' => $pkgpart,
'classnum' => -1,
'cust_main' => $cust_main,
- 'onchange' => 'enable_order_pkg',
)
%>
-%# false laziness w/edit/quick-charge.html
Start date
|
-
-
+ <% include('/elements/input-date-field.html',{
+ 'name' => 'start_date',
+ 'format' => $date_format,
+ 'value' => $start_date,
+ 'noinit' => 1,
+ }) %>
(leave blank to start immediately)
|
-
-
% if ( $cust_main->payby =~ /^(CARD|CHEK)$/ ) {
% my $what = lc(FS::payby->shortname($cust_main->payby));
@@ -83,6 +51,13 @@
%>
% }
+% if ( $curuser->access_right('Waive setup fee') ) {
+
+ Waive setup fee |
+ |
+
+% }
+
% if ( $conf->exists('pkg_referral') ) {
<% include('/elements/tr-select-part_referral.html',
'curr_value' => scalar( $cgi->param('refnum') ), #get rid of empty_label first# || $cust_main->refnum,
@@ -99,10 +74,35 @@
)
%>
+
+ Contract end date
+ |
+ <% include('/elements/input-date-field.html',{
+ 'name' => 'contract_end',
+ 'format' => $date_format,
+ 'value' => '',
+ 'noinit' => 1,
+ }) %>
+ |
+
+
+<% include( '/elements/standardize_locations.html',
+ 'form' => "OrderPkgForm",
+ 'onlyship' => 1,
+ 'no_company' => 1,
+ 'callback' => 'document.OrderPkgForm.submit();',
+ )
+%>
+
->
+
+>