Add fax_status select list trying and busy

This commit is contained in:
FusionPBX 2023-03-28 13:12:30 -06:00 committed by GitHub
parent 7800633304
commit 14cbce3fdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 1 deletions

View File

@ -17,7 +17,7 @@
The Initial Developer of the Original Code is The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com> Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2022 Portions created by the Initial Developer are Copyright (C) 2023
the Initial Developer. All Rights Reserved. the Initial Developer. All Rights Reserved.
*/ */
@ -270,6 +270,18 @@
else { else {
echo " <option value='sent'>".$text['label-sent']."</option>\n"; echo " <option value='sent'>".$text['label-sent']."</option>\n";
} }
if (isset($_GET["fax_status"]) && $_GET["fax_status"] == "trying") {
echo " <option value='trying' selected='selected'>".$text['label-trying']."</option>\n";
}
else {
echo " <option value='trying'>".$text['label-trying']."</option>\n";
}
if (isset($_GET["fax_status"]) && $_GET["fax_status"] == "busy") {
echo " <option value='busy' selected='selected'>".$text['label-busy']."</option>\n";
}
else {
echo " <option value='busy'>".$text['label-busy']."</option>\n";
}
echo " </select>\n"; echo " </select>\n";
if (permission_exists('fax_queue_all')) { if (permission_exists('fax_queue_all')) {
if ($_GET['show'] == 'all') { if ($_GET['show'] == 'all') {