packages feed

ochintin-daicho 0.1.0.2 → 0.1.0.3

raw patch · 2 files changed

+11/−2 lines, 2 filesdep ~bookkeeping

Dependency ranges changed: bookkeeping

Files

ochintin-daicho.cabal view
@@ -1,5 +1,5 @@ name:                ochintin-daicho-version:             0.1.0.2+version:             0.1.0.3 synopsis:            A module to manage payroll books for Japanese companies. description:     A module to manage payroll books for Japanese companies. This enable to export data to tax withholding book, etc...@@ -18,7 +18,7 @@   hs-source-dirs:      src   exposed-modules:     Business.OchintinDaicho   build-depends:       base >= 4.9 && < 5-                     , bookkeeping >= 0.3.3 && < 0.4+                     , bookkeeping >= 0.3.3 && < 0.5                      , text >= 1.2 && < 1.3   default-language:    Haskell2010   ghc-options:         -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates
src/Business/OchintinDaicho.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP #-} {-# LANGUAGE GeneralizedNewtypeDeriving #-} {-# LANGUAGE Strict #-} {-# LANGUAGE StrictData #-}@@ -45,7 +46,11 @@   , DateTransactions   , DebitCategory(..)   , Month+#if MIN_VERSION_bookkeeping(0,4,0)+  , Journal+#else   , Transaction+#endif   , Transactions   , Year   , activity@@ -468,5 +473,9 @@ _実支払額 :: Payment -> Amount _実支払額 payment@(Payment {..}) = _課税支給額 - _算出保険料 payment - _算出所得税 payment - _その他控除総計 payment + _非課税支給額総計 payment +#if MIN_VERSION_bookkeeping(0,4,0)+runDummyActivity :: DateTransactions -> [Journal]+#else runDummyActivity :: DateTransactions -> [Transaction]+#endif runDummyActivity = runTransactions . year 1 . month 1 . activity 1 ""