mirror of
https://github.com/frappe/books.git
synced 2025-01-03 07:12:21 +00:00
fix: show loyalty program option in POS only when enabled in settings
This commit is contained in:
parent
716e0109f7
commit
c25fa0ab53
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user