add custom-notes field to admins and customers, fixes #1471

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2015-01-15 21:30:15 +01:00
parent 4e9b2d0e97
commit 7b8885c05e
13 changed files with 78 additions and 6 deletions

View File

@@ -122,6 +122,14 @@ return array(
'customernumber' => array(
'label' => $lng['customer']['customernumber'],
'type' => 'text'
),
'custom_notes' => array(
'style' => 'align-top',
'label' => $lng['usersettings']['custom_notes']['title'],
'desc' => $lng['usersettings']['custom_notes']['description'],
'type' => 'textarea',
'cols' => 60,
'rows' => 12
)
)
),

View File

@@ -130,6 +130,15 @@ return array(
'label' => $lng['customer']['customernumber'],
'type' => 'text',
'value' => $result['customernumber']
),
'custom_notes' => array(
'style' => 'align-top',
'label' => $lng['usersettings']['custom_notes']['title'],
'desc' => $lng['usersettings']['custom_notes']['description'],
'type' => 'textarea',
'cols' => 60,
'rows' => 12,
'value' => $result['custom_notes']
)
)
),