X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Fedit%2Fquick-charge.html;h=af6fd417d2fc5c28bace7eb02430f572375b5a7f;hb=a6c5bd2d56ad177a8f79ac0aa5c88b389513dc82;hp=94682d0a6540e50aac630a6f11ec77b54a583e9e;hpb=9509e5bfb7f9331303153cac24d7bfecbe2ea9f1;p=freeside.git
diff --git a/httemplate/edit/quick-charge.html b/httemplate/edit/quick-charge.html
index 94682d0a6..af6fd417d 100644
--- a/httemplate/edit/quick-charge.html
+++ b/httemplate/edit/quick-charge.html
@@ -1,44 +1,55 @@
-<% include("/elements/header-popup.html", 'One-time charge entry', '',
- ( $cgi->param('error') ? '' : 'onload="addRow()"' ),
- )
-%>
-% if ( $cgi->param('error') ) {
-
- <% $cgi->param('error') %>
-% }
+% if ( $quotationnum && ! $cust_main ) {
+<& /elements/header.html, mt('Quotation #[_1]: add one-time charge', $quotationnum) &>
+% } else {
+<& /elements/header-cust_main.html,
+ view => $quotationnum ? 'quotations' : 'packages',
+ cust_main => $cust_main,
+ etc => $cgi->param('error') ? '' : 'onload="addRow()"',
+&>
+
+% if ( $prospect_main ) { +<& /elements/small_prospect_view.html, $prospect_main &> +% } +
+ +