projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more room for package change popup
[freeside.git]
/
httemplate
/
view
/
cust_bill.cgi
diff --git
a/httemplate/view/cust_bill.cgi
b/httemplate/view/cust_bill.cgi
index
c7238e6
..
e35d7f1
100755
(executable)
--- a/
httemplate/view/cust_bill.cgi
+++ b/
httemplate/view/cust_bill.cgi
@@
-1,13
+1,6
@@
-<& /elements/header.html, mt('Invoice View'), menubar(
- emt("View this customer (#[_1])",$display_custnum) => "${p}view/cust_main.cgi?$custnum",
-) &>
+<& /elements/header-cust_main.html, view=>'payment_history', custnum=>$custnum &>
-<SCRIPT TYPE="text/javascript">
-function areyousure(href, message) {
- if (confirm(message) == true)
- window.location.href = href;
-}
-</SCRIPT>
+<h2>Invoice #<% $invnum %></h2>
% if ( !$cust_bill->closed ) { # otherwise allow no changes
% my $can_delete = $conf->exists('deleteinvoices')
% if ( !$cust_bill->closed ) { # otherwise allow no changes
% my $can_delete = $conf->exists('deleteinvoices')
@@
-187,7
+180,7
@@
function change_invoice_mode(obj) {
<PRE><% join('', $cust_bill->print_text(\%opt) ) |h %></PRE>
% }
<PRE><% join('', $cust_bill->print_text(\%opt) ) |h %></PRE>
% }
-<& /elements/footer.html &>
+<& /elements/footer
-cust_main
.html &>
<%init>
my $curuser = $FS::CurrentUser::CurrentUser;
<%init>
my $curuser = $FS::CurrentUser::CurrentUser;