[ADD]:Added Upstream Patch for pos_restaurant

This commit is contained in:
Fatemi Lokhandwala 2018-07-10 17:59:56 +05:30
parent 1c0f3c438c
commit d281943b49

View File

@ -58,7 +58,7 @@ models.load_models({
for(var i = 0; i < printers.length; i++){ for(var i = 0; i < printers.length; i++){
if(active_printers[printers[i].id]){ if(active_printers[printers[i].id]){
var url = printers[i].proxy_ip; var url = printers[i].proxy_ip || '';
if(url.indexOf('//') < 0){ if(url.indexOf('//') < 0){
url = 'http://'+url; url = 'http://'+url;
} }