Changeset View
Changeset View
Standalone View
Standalone View
modules/in-commerce/units/pricing/pricing_event_handler.php
Show First 20 Lines • Show All 333 Lines • ▼ Show 20 Line(s) | |||||
else { // this is when ok - add to end_values list | else { // this is when ok - add to end_values list | ||||
$end_values[] = $record['MaxQty']; | $end_values[] = $record['MaxQty']; | ||||
} | } | ||||
} | } | ||||
// sort brackets by 2nd column (Max values) | // sort brackets by 2nd column (Max values) | ||||
uasort($temp, 'pr_bracket_comp'); | uasort($temp, 'pr_bracket_comp'); | ||||
reset($temp); | reset($temp); | ||||
$first_item=each($temp); | $first_item_key = key($temp); | ||||
$first_item_key=$first_item['key']; | |||||
$group_id = $this->Application->getVar('group_id'); | $group_id = $this->Application->getVar('group_id'); | ||||
$default_group = $this->Application->ConfigValue('User_LoggedInGroup'); | $default_group = $this->Application->ConfigValue('User_LoggedInGroup'); | ||||
if($group_id>0){ | if($group_id>0){ | ||||
$where_group=' AND GroupId = '.$group_id.' '; | $where_group=' AND GroupId = '.$group_id.' '; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 174 Lines • Show Last 20 Lines |