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

@@ -1585,3 +1585,16 @@ if(isFroxlorVersion('0.9.20.1'))
updateToVersion('0.9.20.2-svn1');
}
if(isFroxlorVersion('0.9.20.2-svn1'))
{
showUpdateStep("Updating from 0.9.20.2-svn1 to 0.9.21-svn1");
lastStepStatus(0);
// add table column for gender
$db->query("ALTER TABLE `" . TABLE_PANEL_CUSTOMERS . "` ADD `gender` INT( 1 ) NOT NULL DEFAULT '0' AFTER `firstname`");
lastStepStatus(0);
updateToVersion('0.9.21-svn1');
}