[QSL Labels] Added message to define and set label to use for print.
这个提交包含在:
父节点
b1e4de55a2
当前提交
ecc95c6e6c
共有 1 个文件被更改,包括 2 次插入 和 2 次删除
|
|
@ -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.');
|
||||
|
|
|
|||
正在加载…
在新工单中引用