mirror of
https://github.com/frappe/books.git
synced 2024-12-22 10:58:59 +00:00
fix: hide coupon codes in pos when not enabled in settings
This commit is contained in:
parent
1e67214796
commit
28d0e67a51
@ -250,7 +250,7 @@
|
||||
<div
|
||||
class="p-0.5 rounded-md bg-gray-100"
|
||||
:class="{
|
||||
hidden: !fyo.singles.AccountingSettings?.enableLoyaltyProgram,
|
||||
hidden: !fyo.singles.AccountingSettings?.enableCouponCode,
|
||||
'bg-gray-100': loyaltyPoints,
|
||||
'dark:bg-gray-600 cursor-not-allowed':
|
||||
!sinvDoc.party || !sinvDoc.items?.length,
|
||||
|
Loading…
Reference in New Issue
Block a user