},
{
- 'key' => 'cust_location-agent_code',
- 'section' => 'UI',
- 'description' => 'Optional agent string for cust_location-label_prefix',
- 'type' => 'text',
- 'per_agent' => 1,
- },
-
- {
'key' => 'cust_pkg-display_times',
'section' => 'UI',
'description' => 'Display full timestamps (not just dates) for customer packages. Useful if you are doing real-time things like hourly prepaid.',
elsif ( $self->prospectnum ) {
$cust_or_prospect = FS::prospect_main->by_key($self->prospectnum);
}
- my $agent = $conf->config('cust_location-agent_code',
+ my $agent = $conf->config('cust_main-custnum-display_prefix',
$cust_or_prospect->agentnum)
|| $cust_or_prospect->agent->agent;
# else this location is invalid