[freeside-commits] freeside/httemplate/misc bill.cgi, 1.13, 1.14 cancel-unaudited.cgi, 1.11, 1.12 delete-agent_payment_gateway.cgi, 1.1, 1.2 delete-cust_credit.cgi, 1.2, 1.3 delete-cust_pay.cgi, 1.3, 1.4 delete-cust_refund.cgi, 1.1, 1.2 delete-domain_record.cgi, 1.2, 1.3 delete-part_export.cgi, 1.4, 1.5 dump.cgi, 1.3, 1.4 inventory_item-import.html, 1.2, 1.3 unapply-cust_credit.cgi, 1.2, 1.3 unapply-cust_pay.cgi, 1.3, 1.4 unprovision.cgi, 1.3, 1.4 unsusp_pkg.cgi, 1.5, 1.6 unvoid-cust_pay_void.cgi, 1.2, 1.3 upload-batch.cgi, 1.11, 1.12 void-cust_pay.cgi, 1.2, 1.3
Jeff Finucane,420,,
jeff at wavetail.420.am
Mon Oct 8 12:14:29 PDT 2007
- Previous message: [freeside-commits] freeside/httemplate/elements errorpage.html, 1.1, 1.2 tr-select-part_referral.html, 1.3, 1.4
- Next message: [freeside-commits] freeside/httemplate/misc/process cdr-import.html, 1.3, 1.4 cust_main-import.cgi, 1.5, 1.6 cust_main-import_charges.cgi, 1.4, 1.5 inventory_item-import.html, 1.3, 1.4 link.cgi, 1.16, 1.17 payment.cgi, 1.12, 1.13
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/misc
In directory wavetail:/tmp/cvs-serv9767/httemplate/misc
Modified Files:
bill.cgi cancel-unaudited.cgi delete-agent_payment_gateway.cgi
delete-cust_credit.cgi delete-cust_pay.cgi
delete-cust_refund.cgi delete-domain_record.cgi
delete-part_export.cgi dump.cgi inventory_item-import.html
unapply-cust_credit.cgi unapply-cust_pay.cgi unprovision.cgi
unsusp_pkg.cgi unvoid-cust_pay_void.cgi upload-batch.cgi
void-cust_pay.cgi
Log Message:
Remove remaining calls to idiot/eidiot. Should fix 1479
Index: upload-batch.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/upload-batch.cgi,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- upload-batch.cgi 5 Feb 2007 15:49:32 -0000 1.11
+++ upload-batch.cgi 8 Oct 2007 19:14:27 -0000 1.12
@@ -2,7 +2,7 @@
<!-- mason kludge -->
-% eidiot($error);
+% errorpage($error);
%# $cgi->param('error', $error);
%# print $cgi->redirect( "${p}cust_main-import.cgi
% } else {
Index: dump.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/dump.cgi,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- dump.cgi 23 Aug 2006 22:25:38 -0000 1.3
+++ dump.cgi 8 Oct 2007 19:14:27 -0000 1.4
@@ -7,7 +7,7 @@
% }
% open(DUMP,"pg_dump $dbname |");
% } else {
-% eidiot "don't (yet) know how to dump ". driver_name. " databases\n";
+% errorpage("don't (yet) know how to dump ". driver_name. " databases");
% }
%
% http_header('Content-Type' => 'text/plain' );
Index: unvoid-cust_pay_void.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/unvoid-cust_pay_void.cgi,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- unvoid-cust_pay_void.cgi 23 Aug 2006 22:25:38 -0000 1.2
+++ unvoid-cust_pay_void.cgi 8 Oct 2007 19:14:27 -0000 1.3
@@ -9,7 +9,7 @@
%my $custnum = $cust_pay_void->custnum;
%
%my $error = $cust_pay_void->unvoid;
-%eidiot($error) if $error;
+%errorpage($error) if $error;
%
%print $cgi->redirect($p. "view/cust_main.cgi?". $custnum);
%
Index: unprovision.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/unprovision.cgi,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- unprovision.cgi 23 Aug 2006 22:25:38 -0000 1.3
+++ unprovision.cgi 8 Oct 2007 19:14:27 -0000 1.4
@@ -22,7 +22,7 @@
<!-- mason kludge -->
%
-% &eidiot($error);
+% errorpage($error);
%} else {
% print $cgi->redirect(popurl(2)."view/cust_main.cgi?$custnum");
%}
Index: bill.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/bill.cgi,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- bill.cgi 13 Jul 2007 23:52:22 -0000 1.13
+++ bill.cgi 8 Oct 2007 19:14:26 -0000 1.14
@@ -11,7 +11,6 @@
%my $error = $cust_main->bill(
%# 'time'=>$time
% );
-%#&eidiot($error) if $error;
%
%unless ( $error ) {
% $error = $cust_main->apply_payments_and_credits
@@ -33,14 +32,13 @@
% #'realtime' => $conf->exists('realtime-backend'),
% );
%}
-%#&eidiot($error) if $error;
%
%if ( $error ) {
%
<!-- mason kludge -->
%
-% &idiot($error);
+% errorpage($error);
%} else {
% print $cgi->redirect(popurl(2). "view/cust_main.cgi?$custnum");
%}
Index: unapply-cust_pay.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/unapply-cust_pay.cgi,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- unapply-cust_pay.cgi 23 Aug 2006 22:25:38 -0000 1.3
+++ unapply-cust_pay.cgi 8 Oct 2007 19:14:27 -0000 1.4
@@ -10,7 +10,7 @@
%
%foreach my $cust_bill_pay ( $cust_pay->cust_bill_pay ) {
% my $error = $cust_bill_pay->delete;
-% eidiot($error) if $error;
+% errorpage($error) if $error;
%}
%
%print $cgi->redirect($p. "view/cust_main.cgi?". $custnum);
Index: void-cust_pay.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/void-cust_pay.cgi,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- void-cust_pay.cgi 23 Aug 2006 22:25:38 -0000 1.2
+++ void-cust_pay.cgi 8 Oct 2007 19:14:27 -0000 1.3
@@ -9,7 +9,7 @@
%my $custnum = $cust_pay->custnum;
%
%my $error = $cust_pay->void;
-%eidiot($error) if $error;
+%errorpage($error) if $error;
%
%print $cgi->redirect($p. "view/cust_main.cgi?". $custnum);
%
Index: delete-cust_credit.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/delete-cust_credit.cgi,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- delete-cust_credit.cgi 23 Aug 2006 22:25:38 -0000 1.2
+++ delete-cust_credit.cgi 8 Oct 2007 19:14:27 -0000 1.3
@@ -9,7 +9,7 @@
%my $custnum = $cust_credit->custnum;
%
%my $error = $cust_credit->delete;
-%eidiot($error) if $error;
+%errorpage($error) if $error;
%
%print $cgi->redirect($p. "view/cust_main.cgi?". $custnum);
%
Index: delete-agent_payment_gateway.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/delete-agent_payment_gateway.cgi,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- delete-agent_payment_gateway.cgi 14 Nov 2006 04:04:33 -0000 1.1
+++ delete-agent_payment_gateway.cgi 8 Oct 2007 19:14:27 -0000 1.2
@@ -10,6 +10,6 @@
% });
%
% my $error = $agent_payment_gateway->delete;
-% eidiot($error) if $error;
+% errorpage($error) if $error;
%
% print $cgi->redirect($p. "browse/agent.cgi");
Index: unapply-cust_credit.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/unapply-cust_credit.cgi,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- unapply-cust_credit.cgi 23 Aug 2006 22:25:38 -0000 1.2
+++ unapply-cust_credit.cgi 8 Oct 2007 19:14:27 -0000 1.3
@@ -10,7 +10,7 @@
%
%foreach my $cust_credit_bill ( $cust_credit->cust_credit_bill ) {
% my $error = $cust_credit_bill->delete;
-% eidiot($error) if $error;
+% errorpage($error) if $error;
%}
%
%print $cgi->redirect($p. "view/cust_main.cgi?". $custnum);
Index: unsusp_pkg.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/unsusp_pkg.cgi,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- unsusp_pkg.cgi 23 Aug 2006 22:25:38 -0000 1.5
+++ unsusp_pkg.cgi 8 Oct 2007 19:14:27 -0000 1.6
@@ -8,7 +8,7 @@
%my $cust_pkg = qsearchs('cust_pkg',{'pkgnum'=>$pkgnum});
%
%my $error = $cust_pkg->unsuspend;
-%&eidiot($error) if $error;
+%errorpage($error) if $error;
%
%print $cgi->redirect(popurl(2). "view/cust_main.cgi?".$cust_pkg->getfield('custnum'));
%
Index: cancel-unaudited.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/cancel-unaudited.cgi,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- cancel-unaudited.cgi 23 Aug 2006 22:25:38 -0000 1.11
+++ cancel-unaudited.cgi 8 Oct 2007 19:14:26 -0000 1.12
@@ -14,7 +14,7 @@
%die "Unknown svcnum!" unless $cust_svc;
%my $cust_pkg = $cust_svc->cust_pkg;
%if ( $cust_pkg ) {
-% &eidiot( 'This account has already been audited. Cancel the '.
+% errorpage( 'This account has already been audited. Cancel the '.
% qq!<A HREF="${p}view/cust_main.cgi?!. $cust_pkg->custnum.
% '#cust_pkg'. $cust_pkg->pkgnum. '">'.
% 'package</A> instead.');
@@ -27,7 +27,7 @@
<!-- mason kludge -->
%
-% &eidiot($error);
+% errorpage($error);
%} else {
% print $cgi->redirect(popurl(2));
%}
Index: delete-cust_pay.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/delete-cust_pay.cgi,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- delete-cust_pay.cgi 23 Aug 2006 22:25:38 -0000 1.3
+++ delete-cust_pay.cgi 8 Oct 2007 19:14:27 -0000 1.4
@@ -9,7 +9,7 @@
%my $custnum = $cust_pay->custnum;
%
%my $error = $cust_pay->delete;
-%eidiot($error) if $error;
+%errorpage($error) if $error;
%
%print $cgi->redirect($p. "view/cust_main.cgi?". $custnum);
%
Index: delete-cust_refund.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/delete-cust_refund.cgi,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- delete-cust_refund.cgi 8 Jan 2007 17:36:53 -0000 1.1
+++ delete-cust_refund.cgi 8 Oct 2007 19:14:27 -0000 1.2
@@ -9,7 +9,7 @@
%my $custnum = $cust_refund->custnum;
%
%my $error = $cust_refund->delete;
-%eidiot($error) if $error;
+%errorpage($error) if $error;
%
%print $cgi->redirect($p. "view/cust_main.cgi?". $custnum);
%
Index: delete-part_export.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/delete-part_export.cgi,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- delete-part_export.cgi 23 Aug 2006 22:25:38 -0000 1.4
+++ delete-part_export.cgi 8 Oct 2007 19:14:27 -0000 1.5
@@ -8,7 +8,7 @@
%my $part_export = qsearchs('part_export',{'exportnum'=>$exportnum});
%
%my $error = $part_export->delete;
-%eidiot($error) if $error;
+%errorpage($error) if $error;
%
%print $cgi->redirect($p. "browse/part_export.cgi");
%
Index: inventory_item-import.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/inventory_item-import.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- inventory_item-import.html 23 Aug 2006 22:25:38 -0000 1.2
+++ inventory_item-import.html 8 Oct 2007 19:14:27 -0000 1.3
@@ -1,7 +1,7 @@
%
%
%my $classnum = $cgi->param('classnum');
-%$classnum =~ /^(\d+)$/ or eidiot "illegal classnum $classnum";
+%$classnum =~ /^(\d+)$/ or errorpage("illegal classnum $classnum");
%$classnum = $1;
%my $inventory_class = qsearchs('inventory_class', { 'classnum' => $classnum } );
%
Index: delete-domain_record.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/delete-domain_record.cgi,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- delete-domain_record.cgi 23 Aug 2006 22:25:38 -0000 1.2
+++ delete-domain_record.cgi 8 Oct 2007 19:14:27 -0000 1.3
@@ -8,7 +8,7 @@
%my $domain_record = qsearchs('domain_record',{'recnum'=>$recnum});
%
%my $error = $domain_record->delete;
-%eidiot($error) if $error;
+%errorpage($error) if $error;
%
%print $cgi->redirect($p. "view/svc_domain.cgi?". $domain_record->svcnum);
%
- Previous message: [freeside-commits] freeside/httemplate/elements errorpage.html, 1.1, 1.2 tr-select-part_referral.html, 1.3, 1.4
- Next message: [freeside-commits] freeside/httemplate/misc/process cdr-import.html, 1.3, 1.4 cust_main-import.cgi, 1.5, 1.6 cust_main-import_charges.cgi, 1.4, 1.5 inventory_item-import.html, 1.3, 1.4 link.cgi, 1.16, 1.17 payment.cgi, 1.12, 1.13
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list