diff --git a/app/voicemails/voicemails.php b/app/voicemails/voicemails.php index 29d5ade81f..1333a1ce36 100644 --- a/app/voicemails/voicemails.php +++ b/app/voicemails/voicemails.php @@ -153,6 +153,9 @@ echo th_order_by('voicemail_mail_to', $text['label-voicemail_mail_to'], $order_by, $order); echo th_order_by('voicemail_file', $text['label-voicemail_file_attached'], $order_by, $order); echo th_order_by('voicemail_local_after_email', $text['label-voicemail_local_after_email'], $order_by, $order); + if (isset($_SESSION['voicemail']['transcribe_enabled']['boolean']) && $_SESSION['voicemail']['transcribe_enabled']['boolean'] == 'true') { + echo th_order_by('voicemail_transcription_enabled', $text['label-voicemail_transcribe_enabled'], $order_by, $order); + } echo "".$text['label-tools']."\n"; echo th_order_by('voicemail_enabled', $text['label-voicemail_enabled'], $order_by, $order); echo th_order_by('voicemail_description', $text['label-voicemail_description'], $order_by, $order); @@ -191,6 +194,9 @@ echo " ".escape($row['voicemail_mail_to'])." \n"; echo " ".(($row['voicemail_file'] == 'attach') ? $text['label-true'] : $text['label-false'])."\n"; echo " ".ucwords(escape($row['voicemail_local_after_email']))." \n"; + if (isset($_SESSION['voicemail']['transcribe_enabled']['boolean']) && $_SESSION['voicemail']['transcribe_enabled']['boolean'] == 'true') { + echo " ".ucwords(escape($row['voicemail_transcription_enabled']))." \n"; + } echo " \n"; if (permission_exists('voicemail_message_view')) { echo " ".$text['label-messages']."  \n";