From 7cb9ffd7aad030ee8e0ecfd1724c5a869bbe3df7 Mon Sep 17 00:00:00 2001 From: objecttothis Date: Mon, 11 Mar 2024 15:58:00 +0400 Subject: [PATCH] Formattings - Format of ternary changed for readability - Corrected CSS to use : instead of = - Removed Label for item name to allow more text --- app/Libraries/Barcode_lib.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Libraries/Barcode_lib.php b/app/Libraries/Barcode_lib.php index 8fb2f4ffc..2f5759cf1 100644 --- a/app/Libraries/Barcode_lib.php +++ b/app/Libraries/Barcode_lib.php @@ -152,11 +152,11 @@ class Barcode_lib if((isset($item['item_number']) || isset($item['name'])) && isset($item['item_id'])) { $display_table = ''; - $display_table .= "'; + $display_table .= ''; $barcode = $this->generate_barcode($item, $barcode_config); $display_table .= '"; - $display_table .= "'; - $display_table .= "'; + $display_table .= ''; + $display_table .= ''; $display_table .= '
" . $this->manage_display_layout($barcode_config['barcode_first_row'], $item, $barcode_config) . '
' . $this->manage_display_layout($barcode_config['barcode_first_row'], $item, $barcode_config) . '
$barcode
" . $this->manage_display_layout($barcode_config['barcode_second_row'], $item, $barcode_config) . '
" . $this->manage_display_layout($barcode_config['barcode_third_row'], $item, $barcode_config) . '
' . $this->manage_display_layout($barcode_config['barcode_second_row'], $item, $barcode_config) . '
' . $this->manage_display_layout($barcode_config['barcode_third_row'], $item, $barcode_config) . '
'; return $display_table; @@ -178,7 +178,7 @@ class Barcode_lib if($layout_type == 'name') { - $result = lang('Items.name') . ": " . $item['name']; + $result = $item['name']; } elseif($layout_type == 'category' && isset($item['category'])) {