[freeside-commits] freeside/httemplate/edit/process part_pkg.cgi, 1.22, 1.23
Jeff Finucane,420,,
jeff at wavetail.420.am
Wed Nov 28 12:19:33 PST 2007
- Previous message: [freeside-commits] freeside/httemplate/edit part_pkg.cgi, 1.75, 1.76
- Next message: [freeside-commits] freeside/FS/FS cust_pay_pending.pm, NONE, 1.1 Schema.pm, 1.72, 1.73 cust_main.pm, 1.322, 1.323 cust_pay.pm, 1.55, 1.56
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/edit/process
In directory wavetail:/tmp/cvs-serv6973/process
Modified Files:
part_pkg.cgi
Log Message:
better select multiple, discourage creation of packages no agent can sell
Index: part_pkg.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/part_pkg.cgi,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- part_pkg.cgi 13 Oct 2007 17:33:48 -0000 1.22
+++ part_pkg.cgi 28 Nov 2007 20:19:31 -0000 1.23
@@ -36,6 +36,11 @@
% /^(\d+)$/;
% push @agents, $1 if $1;
%}
+%$error = "At least one agent type must be specified."
+% unless( scalar(@agents) ||
+% $cgi->param('clone') && $cgi->param('clone') ~= /^\d+$/ ||
+% !pkgpart && $conf->exists('agent-defaultpkg')
+% );
%
%my $new = new FS::part_pkg ( {
% map {
- Previous message: [freeside-commits] freeside/httemplate/edit part_pkg.cgi, 1.75, 1.76
- Next message: [freeside-commits] freeside/FS/FS cust_pay_pending.pm, NONE, 1.1 Schema.pm, 1.72, 1.73 cust_main.pm, 1.322, 1.323 cust_pay.pm, 1.55, 1.56
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list