mirror of
https://github.com/grocy/grocy.git
synced 2026-04-05 20:36: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({
|
||||
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',
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user