Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(packet.data.docId == null) {
- if(is_employee && packet.data.iteration == 1){
- $('#consult-request-modal').modal('show');
- playSound();
- consultationLog('".ConsultationLog::REQUEST_RECEIVED."', packet.data.hash, '');
- }
- else if(!is_employee && packet.data.iteration > 1){
- $('#consult-request-modal').modal('show');
- playSound();
- consultationLog('".ConsultationLog::REQUEST_RECEIVED."', packet.data.hash, '');
- }
- }
- //selected consultant
- else if (packet.data.docId != null && packet.data.docId == user_id) {
- $('#consult-request-modal').modal('show');
- playSound();
- consultationLog('".ConsultationLog::REQUEST_RECEIVED."', packet.data.hash, '');
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement