File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -1303,10 +1303,17 @@ const photoBooth = (function () {
13031303 const copies = config . print . max_multi === 1 ? 1 : await photoboothTools . askCopies ( ) ;
13041304
13051305 if ( copies && ! isNaN ( copies ) ) {
1306- photoboothTools . printPayment ( filename , copies , ( ) => {
1307- remoteBuzzerClient . inProgress ( false ) ;
1308- buttonPrint . trigger ( 'blur' ) ;
1309- } ) ;
1306+ if config . payments . enabled {
1307+ photoboothTools . printPayment ( filename , copies , ( ) => {
1308+ remoteBuzzerClient . inProgress ( false ) ;
1309+ buttonPrint . trigger ( 'blur' ) ;
1310+ } ) ;
1311+ } else {
1312+ photoboothTools . printImage ( filename , copies , ( ) => {
1313+ remoteBuzzerClient . inProgress ( false ) ;
1314+ buttonPrint . trigger ( 'blur' ) ;
1315+ } ) ;
1316+ }
13101317 }
13111318 } ) ;
13121319
You can’t perform that action at this time.
0 commit comments