X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FConf.pm;h=9d774798070b34a891cd1a74a898890fc46b849a;hb=2a741b0b2555948fc38236eeb2cb2f4a0889baae;hp=1aba769c35215f66c50c8545ff468f314e7a5ff6;hpb=f4db9807b2350af39a888f2b7822efa69dd7c6f5;p=freeside.git diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm index 1aba769c3..9d7747980 100644 --- a/FS/FS/Conf.pm +++ b/FS/FS/Conf.pm @@ -1814,7 +1814,7 @@ worry that config_items is freeside-specific and icky. 'section' => '', 'description' => 'RADIUS attribute for plain-text passwords.', 'type' => 'select', - 'select_enum' => [ 'Password', 'User-Password' ], + 'select_enum' => [ 'Password', 'User-Password', 'Cleartext-Password' ], }, { @@ -2071,6 +2071,34 @@ worry that config_items is freeside-specific and icky. }, { + 'key' => 'ticket_system-selfservice_queueid', + 'section' => '', + 'description' => 'Queue used when creating new customer tickets from self-service. Defautls to ticket_system-default_queueid if not specified.', + #false laziness w/above + 'type' => 'select-sub', + 'options_sub' => sub { + my $conf = new FS::Conf; + if ( $conf->config('ticket_system') ) { + eval "use FS::TicketSystem;"; + die $@ if $@; + FS::TicketSystem->queues(); + } else { + (); + } + }, + 'option_sub' => sub { + my $conf = new FS::Conf; + if ( $conf->config('ticket_system') ) { + eval "use FS::TicketSystem;"; + die $@ if $@; + FS::TicketSystem->queue(shift); + } else { + ''; + } + }, + }, + + { 'key' => 'ticket_system-priority_reverse', 'section' => '', 'description' => 'Enable this to consider lower numbered priorities more important. A bad habit we picked up somewhere. You probably want to avoid it and use the default.',