-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Add Product Image Display Support in Receiving and Sales Views #4292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
- Fixed black line alignment problem where total columns extended beyond borders - Added dynamic colspan calculation to handle avatar column visibility - Updated all colspan values from hardcoded '3' to dynamic '' - Ensured proper alignment regardless of avatar column show/hide state - Standardized border styling from '#000000' to 'black' for consistency
- Added Turnstile configuration options in Config.php and Login.php. - Implemented database migration to add Turnstile keys.
@@ -23,18 +23,75 @@ | |||
|
|||
<?php if (ENVIRONMENT == 'development' || get_cookie('debug') == 'true' || $request->getGet('debug') == 'true') : ?> | |||
<!-- inject:debug:css --> | |||
<link rel="stylesheet" href="resources/css/jquery-ui-fe010342cb.css"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be omitted from the PR
database.default.password = 'pointofsale' | ||
database.default.database = 'osposs' | ||
database.default.username = 'root' | ||
database.default.password = 'root' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes can be reverted
} | ||
|
||
$image = ''; | ||
if (!empty($item->pic_filename)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems indentation is not completely correct here.
|
||
if (sizeof($images) < 2 && !file_exists($thumb_path)) { | ||
{ | ||
helper('file'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like to check these improvements, currently the thumbnail does not seem to be working
Thanks for this PR! looks like a nice addition, I'll try to install it on dev so I can try it out. |
This PR enhances the visual experience of OpenSourcePOS by adding product image display functionality across receiving and sales interfaces. Key changes include:
Technical Details:
Testing:
This enhancement improves product identification and verification during transactions while maintaining the system's performance and usability.