Added gender selection to add/edit customer, fixes #280

This commit is contained in:
Andreas Burchert (scarya)
2011-05-12 18:58:01 +02:00
parent e2076603dd
commit aa4254ad47
4 changed files with 45 additions and 1 deletions

View File

@@ -82,6 +82,11 @@ return array(
'type' => 'text',
'mandatory_ex' => true
),
'gender' => array(
'label' => $lng['gender']['title'],
'type' => 'select',
'select_var' => $gender_options
),
'company' => array(
'label' => $lng['customer']['company'],
'type' => 'text',

View File

@@ -82,6 +82,11 @@ return array(
'mandatory_ex' => true,
'value' => $result['firstname']
),
'gender' => array(
'label' => $lng['gender']['title'],
'type' => 'select',
'select_var' => $gender_options
),
'company' => array(
'label' => $lng['customer']['company'],
'type' => 'text',