Skip to content

Commit

Permalink
updated couponload file
Browse files Browse the repository at this point in the history
  • Loading branch information
yudiz-ritikapatel committed Apr 15, 2024
1 parent 61b53f4 commit adc5bfb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Model/Config/Source/CouponLoad.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ public function toOptionArray()
$rules = $objrules->getCollection();
$rules->addFieldToFilter('is_active', 1);
$rules->addFieldToFilter('coupon_type', 2);
$rules->addFieldToFilter('use_auto_generation', 1);

// Additional filter for rules starting and ending date
$currentDate = date('Y-m-d');
Expand Down

0 comments on commit adc5bfb

Please sign in to comment.