KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.41 (Ubuntu)
System : Linux vmi1525618.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64
User : www-data ( 33)
PHP Version : 8.2.12
Disable Function : NONE
Directory :  /var/www/lecturebazaar.com/resources/js/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //var/www/lecturebazaar.com/resources/js/admin/appointments.js
(function ($) {
    "use strict";

    $('body').on('click', '.js-show-join-modal', function (e) {
        e.preventDefault();

        const parent = $(this).closest('td');

        const reserve_id = $(this).attr('data-reserve-id');
        const password = parent.find('.js-meeting-password').val();
        const link = parent.find('.js-meeting-link').val();

        const $modal = $('#joinModal');
        $modal.find('.js-join-btn').attr('href', adminPanelPrefix + '/appointments/' + reserve_id + '/join');

        $modal.find('input[name="password"]').val(password);
        $modal.find('input[name="link"]').val(link);

        $modal.modal('show')
    });

    $('body').on('click', '.js-send-reminder', function (e) {
        e.preventDefault();
        const reserve_id = $(this).attr('data-reserve-id');

        const $modal = $('#sendReminderModal');

        $.get(adminPanelPrefix + '/appointments/' + reserve_id + '/getReminderDetails', function (result) {

            $modal.find('.js-send-reminder-btn').attr('href', adminPanelPrefix + '/appointments/' + reserve_id + '/sendReminder');
            $modal.find('.js-consultant').html(result.consultant);
            $modal.find('.js-reservatore').html(result.reservatore);
            $modal.find('.js-title').html(result.title);
            $modal.find('.js-message').html(result.content);

            $modal.modal('show');
        });
    });
})(jQuery);

Anon7 - 2021