Skip to content

Commit

Permalink
fix: show loyalty program option in POS only when enabled in settings
Browse files Browse the repository at this point in the history
  • Loading branch information
AbleKSaju committed Sep 30, 2024
1 parent 716e010 commit c25fa0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/POS/POS.vue
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@
<div
class="p-1 rounded-md bg-gray-100"
:class="{
hidden: !fyo.singles.AccountingSettings?.enableLoyaltyProgram,
'bg-gray-100': loyaltyPoints,
'dark:bg-gray-600 cursor-not-allowed':
!loyaltyPoints || !sinvDoc.party || !sinvDoc.items?.length,
Expand Down

0 comments on commit c25fa0a

Please sign in to comment.