Skip to content

Commit

Permalink
fix: Discount from backned fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
iamtrazy committed Jul 18, 2024
1 parent 0df4c97 commit 25b5600
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pages/BranchManager/FoodList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,10 @@ export default function FoodList() {
return `$${cellValue}`;
case 'availability':
return cellValue === 1 ? 'Available' : 'Not Available';
case 'discountStatus':
return cellValue === 1 ? 'Discounted' : 'Not Discounted';
case 'discountId':
return cellValue ? cellValue : 'N/A';
case 'features':
return (
<div>
Expand Down

0 comments on commit 25b5600

Please sign in to comment.