Back | Home
الـ Path الحالي: /home/picotech/domains/instantly.picotech.app/public_html/public/uploads/././../js/./../js/./admin
الملفات الموجودة في هذا الـ Path:
.
..
addon.js
customer.js
dashboard.js
faqs.js
front_contact.js
lead.js
pages.js
plan.js
servers.js
settings.js
tax.js
ticket.js

مشاهدة ملف: ticket.js

"use strict";
$('#tickets').DataTable({
    processing: true,
    serverSide: true,
    responsive:true,
    ajax:'/admin/ticket/get-all',
    columns: [
        { "data": "subject" },
        { "data": "description" },
        { "data": "customer_id" },
        { "data": "status" },
        { "data": "action" },
    ]
});

$(".textBoxClass").keypress(function(e)
{
    // if the key pressed is the enter key
    if (e.which == 13)
    {
        $('#messageForm').submit();
    }
});
$('.fa-times').on('click', function (e){
    location.href= '/admin/ticket';
});