Added support for tier 0. If using tiers then tier 1 will not ring until Tier Rule Wait Second expires. This effectively leaves queue callers on hold unnecessarily. Using tier 0 as the lowest tier fixes this (but may also break other things [untested, just a wag]).

This commit is contained in:
James Rose 2014-08-03 21:23:51 +00:00
parent 701ad8b712
commit e0b2c042bf
2 changed files with 11 additions and 3 deletions

View File

@ -595,7 +595,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo " </td>\n";
echo " <td class='vtable' style='text-align: center;'>\n";
echo " <select class='formfld' name='tier_level'>\n";
for ($t = 1; $t <= 9; $t++) {
for ($t = 0; $t <= 9; $t++) {
echo " <option value='".$t."'>".$t."</option>\n";
}
echo " </select>\n";
@ -931,4 +931,4 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "</div>";
require_once "resources/footer.php";
?>
?>

View File

@ -255,6 +255,14 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='tier_level'>\n";
//echo " <option value=''></option>\n";
if ($tier_level == "0") {
echo " <option value='0' selected='selected' >0</option>\n";
}
else {
echo " <option value='0'>0</option>\n";
}
if ($tier_level == "1") {
echo " <option value='1' selected='selected' >1</option>\n";
}
@ -396,4 +404,4 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "</div>";
require_once "resources/footer.php";
?>
?>