[QSL Labels] Added message to define and set label to use for print.

这个提交包含在:
Andreas 2023-06-16 09:04:50 +02:00
父节点 b1e4de55a2
当前提交 ecc95c6e6c

查看文件

@ -119,8 +119,8 @@ class Labels extends CI_Controller {
'font-size' => $label->font_size
));
} else {
// Standard format
$pdf = new PDF_Label('3422');
$this->session->set_flashdata('error', 'You need to create a label and set it to be used for print.');
redirect('labels');
}
} catch (\Throwable $th) {
$this->session->set_flashdata('error', 'Something went wrong! The label could not be generated. Check label size and font size.');