I think it is a very useful function to display the name in the ticket card and clicking on "write in whatsapp" opens whatsapp to send a message without having to add the contact in your account ... (It also works from fixed PCs with the whatsapp application installed or maybe even with whatsapp web ..).
I would like this feature to be integrated in future updates. I hope it was helpful ..
in the file .../include/staff/ticket-view.inc.php
(+39 is prefix for italy)
(after this)
<tr>
<th><?php echo __('Email'); ?>:</th>
<td>
<span id="user-<?php echo $ticket->getOwnerId(); ?>-email"><?php echo $ticket->getEmail(); ?></span>
</td>
</tr>
(add this)
<!-- INIZIO: Modifica aggiunta visualizzazione numero di telefono nella pagina ticket e link scrivi in WhatsApp -->
<tr>
<th>
<?php echo __('Phone'); ?>:
</th>
<td>
<?php
echo Format::htmlchars($user->getPhone());
?> - <a href="https://wa.me/+39<?php echo $ticket->getPhoneNumber(); ?>?text=Goodmorning, " target="_blank">Write WhatsApp</a>
</td>
</tr>
<!-- FINE: Modifica aggiunta visualizzazione numero di telefono nella pagina ticket e link scrivi in WhatsApp -->