New enhancements to the code related to the SuiteDesk configuration

This commit is contained in:
Manuel Cillero 2017-10-08 20:17:40 +02:00
parent feb393faa4
commit 6d893bfe98
4 changed files with 9 additions and 44 deletions

View file

@ -365,6 +365,12 @@ function storm_init() {
'watcher_notifications_templates_body_node',
'watcher_notifications_templates_body_cmt',
'watcher_notifications_templates_body_confirm',
// SuiteDesk configuration:
'storminvoice_payment_modes',
'storminvoice_cover_note_subject',
'storminvoice_cover_note',
'storminvoice_payment_terms',
'stormquicktt_default_title',
);
// It is intended to move these calls to pages which specifically need them rather than on hook_init.
@ -571,7 +577,7 @@ function storm_menu() {
// Admin options.
$items['admin/settings/suitedesk'] = array(
'title' => 'SuiteDesk',
'title' => 'Configuration',
'description' => 'SuiteDesk administration page',
'page callback' => 'drupal_get_form',
'page arguments' => array('storm_admin_settings'),