X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fquick-charge.html;h=af6fd417d2fc5c28bace7eb02430f572375b5a7f;hb=32a1571c24a90b89676e646f58436446df7deafb;hp=b30285c215ad0e219afc5bc687e55a3643964a78;hpb=2a863bbb144830dfb8fca4afb3af76a84a647c76;p=freeside.git
diff --git a/httemplate/edit/quick-charge.html b/httemplate/edit/quick-charge.html
index b30285c21..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 &> +% } +
+ +