Skip to content
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

Highlighting the names of products when they are low in quantity on the Stock Management page in the Admin. #1052 #1081

Closed
wants to merge 1 commit into from

Conversation

ak1021lg15
Copy link

when product quantity will be less than 2 than that product row will be highlighted in yellow In stock management page of Admin.

</tbody>
<tbody ng-show="!vm.isLoading">
<tr ng-repeat="item in vm.stocks" style="{{item.quantity < 2 ? 'background-color: yellow;' : ''}}">
<td style="{{item.quantity < 2 ? 'background-color: yellow;' : ''}}">{{item.productName}}</td>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be nice if the minimum quantity is configurable

@thiennn
Copy link
Contributor

thiennn commented Feb 25, 2024

done by #1084

@thiennn thiennn closed this Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants