update oqs reload print
This commit is contained in:
@@ -367,7 +367,7 @@ $(document).on('turbolinks:load', function() {
|
|||||||
if ($("#server_mode").val() == "cloud") {
|
if ($("#server_mode").val() == "cloud") {
|
||||||
code2lab.printFile(result.filepath.substr(6), result.printer_url);
|
code2lab.printFile(result.filepath.substr(6), result.printer_url);
|
||||||
}
|
}
|
||||||
|
location.reload();
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -391,6 +391,7 @@ $(document).on('turbolinks:load', function() {
|
|||||||
if ($("#server_mode").val() == "cloud") {
|
if ($("#server_mode").val() == "cloud") {
|
||||||
code2lab.printFile(result.filepath.substr(6), result.printer_url);
|
code2lab.printFile(result.filepath.substr(6), result.printer_url);
|
||||||
}
|
}
|
||||||
|
location.reload();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -179,9 +179,9 @@
|
|||||||
|
|
||||||
<button type="button" title="Print Order Item" id="print_order_item" class="btn bg-blue btn-block btn-lg waves-effect">Print</a>
|
<button type="button" title="Print Order Item" id="print_order_item" class="btn bg-blue btn-block btn-lg waves-effect">Print</a>
|
||||||
|
|
||||||
<button type="button" class="btn bg-blue btn-block btn-lg waves-effect" id="print_order_summary">Print <br/>Order<br/>Summary</button>
|
<!-- <button type="button" class="btn bg-blue btn-block btn-lg waves-effect" id="print_order_summary">Print <br/>Order<br/>Summary</button>
|
||||||
<% if ENV["SERVER_MODE"] != "cloud" %>
|
<% if ENV["SERVER_MODE"] != "cloud" %>
|
||||||
<%end%>
|
<%end%> -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<input type="hidden" id="server_mode" value="<%=ENV["SERVER_MODE"]%>">
|
<input type="hidden" id="server_mode" value="<%=ENV["SERVER_MODE"]%>">
|
||||||
|
|||||||
Reference in New Issue
Block a user