X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Forder_pkg.html;h=799165fe06da953f09352659ac4aa79e920f8d1c;hb=292ef074d01bb925e9a466ed771bf2ac418bb44f;hp=672e142c7904a6e85889844171377e929e984819;hpb=a7d8494c57376bfc493fbaa234b250cc86a79a94;p=freeside.git
diff --git a/httemplate/misc/order_pkg.html b/httemplate/misc/order_pkg.html
index 672e142c7..799165fe0 100644
--- a/httemplate/misc/order_pkg.html
+++ b/httemplate/misc/order_pkg.html
@@ -77,43 +77,47 @@
<& /elements/tr-input-pkg-quantity.html, curr_value => $quantity &>
-% if ( $cust_main && $cust_main->payby =~ /^(CARD|CHEK)$/ ) {
-% my $what = lc(FS::payby->shortname($cust_main->payby));
+% unless ( $quotationnum ) {
+
+% if ( $cust_main && $cust_main->payby =~ /^(CARD|CHEK)$/ ) {
+% my $what = lc(FS::payby->shortname($cust_main->payby));
+
+ <% mt("Disable automatic $what charge") |h %> |
+ |
+
+% }
+
- <% mt("Disable automatic $what charge") |h %> |
- |
+ <% mt('Start') |h %>
+ |
+ param('start') eq '' ? 'CHECKED' : ''%>>Now
+
+ param('start') eq 'on_hold' ? 'CHECKED' : ''%>>On hold
+
+ param('start') eq 'date' ? 'CHECKED' : ''%>>On date
+
+ <& /elements/input-date-field.html,{
+ 'name' => 'start_date',
+ 'format' => $date_format,
+ 'value' => '',
+ 'noinit' => 1,
+ } &>
+ |
-% }
-
- <% mt('Start') |h %>
- |
- param('start') eq '' ? 'CHECKED' : ''%>>Now
-
- param('start') eq 'on_hold' ? 'CHECKED' : ''%>>On hold
-
- param('start') eq 'date' ? 'CHECKED' : ''%>>On date
-
- <& /elements/input-date-field.html,{
- 'name' => 'start_date',
- 'format' => $date_format,
- 'value' => '',
- 'noinit' => 1,
- } &>
- |
-
-
-
- <% mt('Contract end date') |h %>
- |
- <& /elements/input-date-field.html,{
- 'name' => 'contract_end',
- 'format' => $date_format,
- 'value' => '',
- 'noinit' => 1,
- } &>
- |
-
+
+ <% mt('Contract end date') |h %>
+ |
+ <& /elements/input-date-field.html,{
+ 'name' => 'contract_end',
+ 'format' => $date_format,
+ 'value' => '',
+ 'noinit' => 1,
+ } &>
+ |
+
+
+% }