Skip to content

Commit

Permalink
Update notation.
Browse files Browse the repository at this point in the history
  • Loading branch information
muazhari committed Jun 25, 2023
1 parent a2a7f4e commit 6c25695
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/components/managements/pos/checkout_modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default function CheckoutModalComponent() {
}

const handleSubmitPay = (values: any) => {
if (values.sellPrice < totalCostPrice!) {
if (values.sellPrice < totalCostPrice) {
dispatch(messageModalSlice.actions.configure({
type: "failed",
content: "The total sell price must be greater than or equal to the total cost price.",
Expand Down

0 comments on commit 6c25695

Please sign in to comment.