Added button to shoppinglist print menu

This commit is contained in:
Marc Ole Bulling 2021-01-14 21:02:32 +01:00
parent f496679060
commit 61eea19401
No known key found for this signature in database
GPG Key ID: C126AFC2A47B06FF

View File

@ -430,7 +430,7 @@ $(document).on("click", "#print-shopping-list-button", function(e)
bootbox.dialog({
message: dialogHtml,
size: 'small',
size: 'medium',
backdrop: true,
closeButton: false,
className: "d-print-none",
@ -443,6 +443,14 @@ $(document).on("click", "#print-shopping-list-button", function(e)
bootbox.hideAll();
}
},
printtp: {
label: __t('Print with thermal printer'),
className: 'btn-secondary',
callback: function()
{
bootbox.hideAll();
}
},
ok: {
label: __t('Print'),
className: 'btn-primary responsive-button',