Hi! I want to build a small POS system for my friends restaurant. I will use Commerce POS, but I need some help.
First of all: how to print receipt? When I click on button "Print Receipt" nothing happened.
I have created Libraries folder and put jqueryprint in it (on raports page it says that everything is ok).
Any ideas?

Comments

Kolo’s picture

This is what happened when I click "Print Receipt" (log from Fire Fox console):

14:30:53.538 Use of getPreventDefault() is deprecated.  Use defaultPrevented instead. - jquery.min.js:16
14:30:55.570 POST (...)/system/ajax - [HTTP/1.1 200 OK 741ms]
14:30:56.335 GET (...)/sites/all/modules/jquery_update/replace/ui/ui/minified/jquery.ui.core.min.js - [HTTP/1.1 200 OK 180ms]
14:30:56.273 Expected 'none' or URL but found 'Alpha('.  Error in parsing value for 'filter'.  Declaration dropped. - jquery.ui.core.min.css:10
14:30:56.275 Expected 'none' or URL but found 'Alpha('.  Error in parsing value for 'filter'.  Declaration dropped. - jquery.ui.theme.css:48
14:30:56.275 Expected 'none' or URL but found 'Alpha('.  Error in parsing value for 'filter'.  Declaration dropped. - jquery.ui.theme.css:53
14:30:56.276 Unknown property '-moz-border-radius-bottomleft'.  Declaration dropped. - jquery.ui.theme.css:306
14:30:56.276 Unknown property '-moz-border-radius-bottomright'.  Declaration dropped. - jquery.ui.theme.css:309
14:30:56.276 Unknown property '-moz-border-radius'.  Declaration dropped. - jquery.ui.theme.css:321
14:30:56.276 Expected 'none' or URL but found 'Alpha('.  Error in parsing value for 'filter'.  Declaration dropped. - jquery.ui.theme.css:337
14:30:56.276 Unknown property '-moz-border-radius'.  Declaration dropped. - jquery.ui.theme.css:368
14:30:56.276 Unknown property '-moz-border-radius'.  Declaration dropped. - jquery.ui.theme.css:400
14:30:56.507 GET (...)/modules/overlay/overlay-parent.js - [HTTP/1.1 200 OK 180ms]
14:30:56.660 TypeError: $(...).jqprint is not a function - pos-interface.js:104
jonesrussell42’s picture

Looks like you didn't install the jqprint library

mglaman’s picture

Status: Active » Closed (works as designed)

User error, per #2 and code provided.