freeside/FS/FS Conf.pm,1.112,1.113 TicketSystem.pm,1.1,1.2

ivan ivan at pouncequick.420.am
Mon Dec 6 06:00:47 PST 2004


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory pouncequick:/tmp/cvs-serv26387/FS/FS

Modified Files:
	Conf.pm TicketSystem.pm 
Log Message:
1st try at adding custom field handling


Index: Conf.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Conf.pm,v
retrieving revision 1.112
retrieving revision 1.113
diff -u -d -r1.112 -r1.113
--- Conf.pm	2 Dec 2004 09:59:47 -0000	1.112
+++ Conf.pm	6 Dec 2004 14:00:43 -0000	1.113
@@ -1336,6 +1336,20 @@
   },
 
   {
+    'key'         => 'ticket_system-custom_priority_field-values',
+    'section'     => '',
+    'description' => 'Values for the custom field from the ticketing system tobreak down and sort customer ticket lists.',
+    'type'        => 'textarea',
+  },
+
+  {
+    'key'         => 'ticket_system-custom_priority_field_queue',
+    'section'     => '',
+    'description' => 'Ticketing system queue in which the custom field specified in ticket_system-custom_priority_field is located.',
+    'type'        => 'text',
+  },
+
+  {
     'key'         => 'company_name',
     'section'     => 'required',
     'description' => 'Your company name',

Index: TicketSystem.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/TicketSystem.pm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- TicketSystem.pm	2 Dec 2004 09:59:47 -0000	1.1
+++ TicketSystem.pm	6 Dec 2004 14:00:43 -0000	1.2
@@ -1,12 +1,12 @@
 package FS::TicketSystem;
 
 use strict;
-use vars qw( $system $AUTOLOAD );
+use vars qw( $conf $system $AUTOLOAD );
 use FS::Conf;
 use FS::UID;
 
 install_callback FS::UID sub { 
-  my $conf = new FS::Conf;
+  $conf = new FS::Conf;
   $system = $conf->config('ticket_system');
 };
 




More information about the freeside-commits mailing list