Skip to content

Commit

Permalink
Merge pull request #6117 from U-Mebius/dev/fix_tax_rule_error
Browse files Browse the repository at this point in the history
税率設定時に商品別税率を考慮していないのを修正
  • Loading branch information
dotani1111 authored Apr 4, 2024
2 parents 01337a0 + 3825fa9 commit 9ef759f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Eccube/Form/Type/Admin/TaxRuleType.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ public function buildForm(FormBuilderInterface $builder, array $options)
$qb
->select('count(t.id)')
->where('t.apply_date = :apply_date')
->andWhere('t.ProductClass IS NULL')
->setParameter('apply_date', $TaxRule->getApplyDate());

if ($TaxRule->getId()) {
Expand Down

0 comments on commit 9ef759f

Please sign in to comment.