1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-16 19:40:44 +01:00

Fix minore

This commit is contained in:
valentina 2024-06-13 09:40:48 +02:00
parent f1692799d8
commit 8e08deefa2

View File

@ -49,7 +49,7 @@ class ButtonManager implements ManagerInterface
protected function getInfo($options) protected function getInfo($options)
{ {
if ($options['type'] == 'print') { if ($options['type'] == 'print') {
$print = PrintTemplate::where('name',$options['id'])->first()->id; $print = PrintTemplate::where('name',$options['id'])->first();
if (empty($print)) { if (empty($print)) {
$print = PrintTemplate::find($options['id']); $print = PrintTemplate::find($options['id']);