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() { //For edit pos form if ($('form#sell_return_form').length > 0) { pos_form_obj = $('form#sell_return_form'); } else { pos_form_obj = $('form#add_pos_sell_form'); } if ($('form#sell_return_form').length > 0 || $('form#add_pos_sell_form').length > 0) { initialize_printer(); } //Date picker $('#transaction_date').datetimepicker({ format: moment_date_format + ' ' + moment_time_format, ignoreReadonly: true, }); pos_form_validator = pos_form_obj.validate({ submitHandler: function(form) { var cnf = true; if (cnf) { var data = $(form).serialize(); var url = $(form).attr('action'); $.ajax({ method: 'POST', url: url, data: data, dataType: 'json', success: function(result) { if (result.success == 1) { toastr.success(result.msg); //Check if enabled or not if (result.receipt.is_enabled) { pos_print(result.receipt); } } else { toastr.error(result.msg); } }, }); } return false; }, }); }); function initialize_printer() { if ($('input#location_id').data('receipt_printer_type') == 'printer') { initializeSocket(); } } function pos_print(receipt) { //If printer type then connect with websocket if (receipt.print_type == 'printer') { var content = receipt; content.type = 'print-receipt'; //Check if ready or not, then print. if (socket.readyState != 1) { initializeSocket(); setTimeout(function() { socket.send(JSON.stringify(content)); }, 700); } else { socket.send(JSON.stringify(content)); } } else if (receipt.html_content != '') { var title = document.title; if (typeof receipt.print_title != 'undefined') { document.title = receipt.print_title; } //If printer type browser then print content $('#receipt_section').html(receipt.html_content); __currency_convert_recursively($('#receipt_section')); setTimeout(function() { window.print(); document.title = title; }, 1000); } } // //Set the location and initialize printer // function set_location(){ // if($('input#location_id').length == 1){ // $('input#location_id').val($('select#select_location_id').val()); // //$('input#location_id').data('receipt_printer_type', $('select#select_location_id').find(':selected').data('receipt_printer_ty // } // if($('input#location_id').val()){ // $('input#search_product').prop( "disabled", false ).focus(); // } else { // $('input#search_product').prop( "disabled", true ); // } // initialize_printer(); // }