72456: Directions - override company_address
[freeside.git] / FS / FS / Conf.pm
index 4738e59..870c009 100644 (file)
@@ -2226,10 +2226,18 @@ and customer address. Include units.',
   },
 
   {
-    'key'         => 'safe-part_bill_event',
+    'key'         => 'google_maps_api_key',
     'section'     => 'UI',
-    'description' => 'Validates invoice event expressions against a preset list.  Useful for webdemos, annoying to powerusers.',
-    'type'        => 'checkbox',
+    'description' => 'API key for google maps.  This must be set for map and directions links to work.  See <a href="https://developers.google.com/maps/documentation/javascript/get-api-key" target="_top">Getting a Google Maps API Key</a>',
+    'type'        => 'text',
+  },
+
+  {
+    'key'         => 'company_physical_address',
+    'section'     => 'addresses',
+    'description' => 'Your physical company address, for use in supplying google map directions, defaults to company_address',
+    'type'        => 'textarea',
+    'per_agent'   => 1,
   },
 
   {