Skip to content

Commit

Permalink
UI fix for when both extensions are applied at once
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Guinn committed Jan 31, 2014
1 parent 9bd96c0 commit 67e4c35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/HasGroupPricing.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ protected function updateFields(FieldList $fields) {
foreach (self::get_levels() as $code => $fieldName) {
$newField = new TextField($fieldName, $this->getOwner()->fieldLabel($fieldName), '', 12);
if ($fields->hasTabSet()) {
$fields->addFieldToTab('Root.Pricing', $newField);
$fields->addFieldToTab('Root.Pricing', $newField, 'CostPrice');
} else {
$fields->insertAfter($newField, 'Price');
}
Expand Down

0 comments on commit 67e4c35

Please sign in to comment.