voicemail transcription to show or not show
This commit is contained in:
parent
2403fcc20e
commit
63e2316885
|
|
@ -794,7 +794,7 @@
|
|||
echo "</tr>\n";
|
||||
}
|
||||
|
||||
if (permission_exists('voicemail_transcription_enabled') && ($_SESSION['voicemail']['transcribe_enabled']['boolean'] ?? '') == "true") {
|
||||
if (permission_exists('voicemail_transcription_enabled') && ($_SESSION['transcribe']['enabled']['boolean'] ?? '') == "true") {
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
|
||||
echo " ".$text['label-voicemail_transcription_enabled']."\n";
|
||||
|
|
|
|||
|
|
@ -263,7 +263,7 @@
|
|||
echo th_order_by('voicemail_mail_to', $text['label-voicemail_mail_to'], $order_by, $order, null, "class='hide-sm-dn'");
|
||||
echo th_order_by('voicemail_file', $text['label-voicemail_file_attached'], $order_by, $order, null, "class='center hide-md-dn'");
|
||||
echo th_order_by('voicemail_local_after_email', $text['label-voicemail_local_after_email'], $order_by, $order, null, "class='center hide-md-dn'");
|
||||
if (!empty($_SESSION['voicemail']['transcribe_enabled']) && $_SESSION['voicemail']['transcribe_enabled']['boolean'] == 'true') {
|
||||
if (permission_exists('voicemail_transcription_enabled') && ($_SESSION['transcribe']['enabled']['boolean'] ?? '') == "true") {
|
||||
echo th_order_by('voicemail_transcription_enabled', $text['label-voicemail_transcribe_enabled'], $order_by, $order);
|
||||
}
|
||||
if (permission_exists('voicemail_message_view') || permission_exists('voicemail_greeting_view')) {
|
||||
|
|
@ -310,7 +310,7 @@
|
|||
echo " <td class='hide-sm-dn'>".escape($row['voicemail_mail_to'])." </td>\n";
|
||||
echo " <td class='center hide-md-dn'>".($row['voicemail_file'] == 'attach' ? $text['label-true'] : $text['label-false'])."</td>\n";
|
||||
echo " <td class='center hide-md-dn'>".ucwords(escape($row['voicemail_local_after_email']))." </td>\n";
|
||||
if (!empty($_SESSION['voicemail']['transcribe_enabled']) && $_SESSION['voicemail']['transcribe_enabled']['boolean'] == 'true') {
|
||||
if (permission_exists('voicemail_transcription_enabled') && ($_SESSION['transcribe']['enabled']['boolean'] ?? '') == "true") {
|
||||
echo " <td>".ucwords(escape($row['voicemail_transcription_enabled']))." </td>\n";
|
||||
}
|
||||
if (permission_exists('voicemail_message_view') || permission_exists('voicemail_greeting_view')) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue