X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fquick-charge.html;h=07501a4cf0f075bae1c06d852d36c65d63b9b8ce;hb=26ddb940ad27ce8ac5e87084eeed857a390987bc;hp=5d4bc2e1c50e07396e43b937d41d4cdf5b05782a;hpb=1c051f73e8abf23206d0373e7c83279b37bed708;p=freeside.git
diff --git a/httemplate/edit/quick-charge.html b/httemplate/edit/quick-charge.html
index 5d4bc2e1c..07501a4cf 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 &> +% } +
+ + + -