opensourcepos / opensourcepos

Open Source Point of Sale is a web based point of sale application written in PHP using CodeIgniter framework. It uses MySQL as the data back end and has a Bootstrap 3 based user interface.

Home Page:http://www.opensourcepos.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Request to remove the showing of the word 'Category' or 'Item name' above and below the Barcode

JZafarr opened this issue · comments

Background information

IMPORTANT: If you choose to ignore this issue report template, your issue will be closed as we cannot help without the requested information.

Please make sure you tick (add an x between the square brackets with no spaces) the following check boxes:

  • Reporting an issue of an unmodified OSPOS installation
  • Checked open and closed issues and no similar issue was already reported (please make sure you searched!)
  • Read README, WHATS_NEW, INSTALL.md and UPGRADE
  • Read the FAQ for any known install and/or upgrade gotchas (in specific PHP extensions installed)
  • Read the wiki
  • Executed any database upgrade scripts if an upgrade pre 3.0.0 (e.g. database/2.4_to_3.0.sql)
  • Aware the installation code that GitHub master is for developers only and therefore not complete nor stable.

Installation information

  • OSPOS version is: 3.3.9
  • OSPOS git commit hash is: NA
  • PHP version is: NA
  • MySQL or MariaDB version is: NA
  • OS and version is: NA
  • WebServer is: NA
  • Selected language is: English
  • (If applicable) Docker installation: YES
  • (If applicable) Installation package for the LAMP/LEMP stack is: NA

Question / New Feature / Enhancement

Request to remove the showing of the word 'Category' or 'Item name' next to the name chosen when showing above and below the barcode. We already know what we are selecting when we are going into the settings option. Also add the ability to not cut the last part of a long item name or category above or below the barcode. Please see screenshot.
Screenshot 2023-12-19 215724

Go to application/libraries/barcode_lib . Scroll to the bottom of the page and locate manage_display_layout. Remove the lang name like this shows. Hope this helps you out.

if($layout_type == 'name')
{
$result = lang('') . " " . $item['name'];

Okay it worked and how to stop the truncating of a long name, some of our product names are long and we also have to define Pallets and their numbers next to them. After a certain length it cuts and adds .... at the end

Nevermind, i just changed the character limit from 40 to 100