BalanceGoodsDeduction.php 394 B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: Administrator
  5. * Date: 2021/4/22
  6. * Time: 13:48
  7. */
  8. namespace app\frontend\modules\finance\deduction;
  9. use app\frontend\modules\deduction\GoodsDeduction;
  10. class BalanceGoodsDeduction extends GoodsDeduction
  11. {
  12. public function getCode()
  13. {
  14. return 'balance';
  15. }
  16. public function deductible($goods)
  17. {
  18. return true;
  19. }
  20. }