mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-01-06 08:27:54 -05:00
Add invoice dom sanity check before print
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
$(window).load(function()
|
||||
{
|
||||
// receipt layout sanity check
|
||||
if ( $("#receipt_items").length > 0)
|
||||
if ( $("#receipt_items, #items").length > 0)
|
||||
{
|
||||
// install firefox addon in order to use this plugin
|
||||
if (window.jsPrintSetup)
|
||||
|
||||
Reference in New Issue
Block a user