mirror of
https://github.com/grocy/grocy.git
synced 2026-04-06 12:56:15 +02:00
Added button to shoppinglist print menu
This commit is contained in:
parent
f496679060
commit
61eea19401
|
|
@ -430,7 +430,7 @@ $(document).on("click", "#print-shopping-list-button", function(e)
|
||||||
|
|
||||||
bootbox.dialog({
|
bootbox.dialog({
|
||||||
message: dialogHtml,
|
message: dialogHtml,
|
||||||
size: 'small',
|
size: 'medium',
|
||||||
backdrop: true,
|
backdrop: true,
|
||||||
closeButton: false,
|
closeButton: false,
|
||||||
className: "d-print-none",
|
className: "d-print-none",
|
||||||
|
|
@ -443,6 +443,14 @@ $(document).on("click", "#print-shopping-list-button", function(e)
|
||||||
bootbox.hideAll();
|
bootbox.hideAll();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
printtp: {
|
||||||
|
label: __t('Print with thermal printer'),
|
||||||
|
className: 'btn-secondary',
|
||||||
|
callback: function()
|
||||||
|
{
|
||||||
|
bootbox.hideAll();
|
||||||
|
}
|
||||||
|
},
|
||||||
ok: {
|
ok: {
|
||||||
label: __t('Print'),
|
label: __t('Print'),
|
||||||
className: 'btn-primary responsive-button',
|
className: 'btn-primary responsive-button',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user