summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2003-07-15 11:45:14 +0000
committerivan <ivan>2003-07-15 11:45:14 +0000
commitf6c9088e16c4c083174dd1130ae58d213923cdef (patch)
tree7398c7087b03c412658679bf25a68700191bd1a8
import of sql-ledger 2.0.8SQL_LEDGER_2_0_8
-rw-r--r--sql-ledger/SL/AM.pm694
-rw-r--r--sql-ledger/SL/AP.pm381
-rw-r--r--sql-ledger/SL/AR.pm381
-rw-r--r--sql-ledger/SL/CA.pm262
-rw-r--r--sql-ledger/SL/CP.pm308
-rw-r--r--sql-ledger/SL/CT.pm447
-rw-r--r--sql-ledger/SL/Form.pm1397
-rw-r--r--sql-ledger/SL/GL.pm462
-rw-r--r--sql-ledger/SL/IC.pm936
-rw-r--r--sql-ledger/SL/IR.pm995
-rw-r--r--sql-ledger/SL/IS.pm1231
-rw-r--r--sql-ledger/SL/Inifile.pm87
-rw-r--r--sql-ledger/SL/Mailer.pm147
-rw-r--r--sql-ledger/SL/Menu.pm117
-rw-r--r--sql-ledger/SL/Num2text.pm162
-rw-r--r--sql-ledger/SL/OE.pm674
-rw-r--r--sql-ledger/SL/PE.pm276
-rw-r--r--sql-ledger/SL/RC.pm186
-rw-r--r--sql-ledger/SL/RP.pm1310
-rw-r--r--sql-ledger/SL/User.pm692
-rw-r--r--sql-ledger/VERSION1
-rwxr-xr-xsql-ledger/am.pl126
-rw-r--r--sql-ledger/bin/lynx/menu.pl128
-rw-r--r--sql-ledger/bin/mozilla/admin.pl1504
-rw-r--r--sql-ledger/bin/mozilla/am.pl1051
-rw-r--r--sql-ledger/bin/mozilla/ap.pl1103
-rw-r--r--sql-ledger/bin/mozilla/ar.pl1135
-rw-r--r--sql-ledger/bin/mozilla/arap.pl406
-rw-r--r--sql-ledger/bin/mozilla/ca.pl413
-rw-r--r--sql-ledger/bin/mozilla/cp.pl528
-rw-r--r--sql-ledger/bin/mozilla/ct.pl631
-rw-r--r--sql-ledger/bin/mozilla/gl.pl806
-rw-r--r--sql-ledger/bin/mozilla/ic.pl1638
-rw-r--r--sql-ledger/bin/mozilla/io.pl1149
-rw-r--r--sql-ledger/bin/mozilla/ir.pl653
-rw-r--r--sql-ledger/bin/mozilla/is.pl739
-rw-r--r--sql-ledger/bin/mozilla/login.pl217
-rw-r--r--sql-ledger/bin/mozilla/menu.pl160
-rw-r--r--sql-ledger/bin/mozilla/oe.pl1111
-rw-r--r--sql-ledger/bin/mozilla/pe.pl549
-rw-r--r--sql-ledger/bin/mozilla/rc.pl371
-rw-r--r--sql-ledger/bin/mozilla/rp.pl1730
-rw-r--r--sql-ledger/css/sql-ledger.css113
-rw-r--r--sql-ledger/doc/COPYING355
-rw-r--r--sql-ledger/doc/README287
-rw-r--r--sql-ledger/doc/UPGRADE-1.6-1.861
-rw-r--r--sql-ledger/doc/UPGRADE-1.8-1.8.323
-rw-r--r--sql-ledger/doc/UPGRADE-1.8.3-1.8.410
-rw-r--r--sql-ledger/doc/UPGRADE-1.8.4-1.8.518
-rw-r--r--sql-ledger/doc/UPGRADE-1.8.5-1.8.76
-rw-r--r--sql-ledger/doc/UPGRADE-1.8.7-2.0.020
-rw-r--r--sql-ledger/doc/UPGRADE-2.0-2.0.88
-rw-r--r--sql-ledger/doc/copyright23
-rw-r--r--sql-ledger/doc/faq.html747
-rw-r--r--sql-ledger/favicon.icobin0 -> 3638 bytes
-rw-r--r--sql-ledger/locale/br/COPYING24
-rw-r--r--sql-ledger/locale/br/LANGUAGE1
-rw-r--r--sql-ledger/locale/br/admin122
-rw-r--r--sql-ledger/locale/br/all487
-rw-r--r--sql-ledger/locale/br/am139
-rw-r--r--sql-ledger/locale/br/ap133
-rw-r--r--sql-ledger/locale/br/ar133
-rw-r--r--sql-ledger/locale/br/arap30
-rw-r--r--sql-ledger/locale/br/ca50
-rw-r--r--sql-ledger/locale/br/cp75
-rw-r--r--sql-ledger/locale/br/ct69
-rw-r--r--sql-ledger/locale/br/gl124
-rw-r--r--sql-ledger/locale/br/ic205
-rw-r--r--sql-ledger/locale/br/io106
-rw-r--r--sql-ledger/locale/br/ir178
-rw-r--r--sql-ledger/locale/br/is185
-rw-r--r--sql-ledger/locale/br/login28
-rw-r--r--sql-ledger/locale/br/menu72
-rw-r--r--sql-ledger/locale/br/oe199
-rw-r--r--sql-ledger/locale/br/pe35
-rw-r--r--sql-ledger/locale/br/rc37
-rw-r--r--sql-ledger/locale/br/rp117
-rw-r--r--sql-ledger/locale/cn/COPYING24
-rw-r--r--sql-ledger/locale/cn/LANGUAGE1
-rw-r--r--sql-ledger/locale/cn/admin124
-rw-r--r--sql-ledger/locale/cn/all495
-rw-r--r--sql-ledger/locale/cn/am139
-rw-r--r--sql-ledger/locale/cn/ap133
-rw-r--r--sql-ledger/locale/cn/ar133
-rw-r--r--sql-ledger/locale/cn/arap30
-rw-r--r--sql-ledger/locale/cn/ca50
-rw-r--r--sql-ledger/locale/cn/cp77
-rw-r--r--sql-ledger/locale/cn/ct71
-rw-r--r--sql-ledger/locale/cn/gl124
-rw-r--r--sql-ledger/locale/cn/ic206
-rw-r--r--sql-ledger/locale/cn/io106
-rw-r--r--sql-ledger/locale/cn/ir178
-rw-r--r--sql-ledger/locale/cn/is185
-rw-r--r--sql-ledger/locale/cn/login27
-rw-r--r--sql-ledger/locale/cn/menu71
-rw-r--r--sql-ledger/locale/cn/oe200
-rw-r--r--sql-ledger/locale/cn/pe35
-rw-r--r--sql-ledger/locale/cn/rc37
-rw-r--r--sql-ledger/locale/cn/rp120
-rw-r--r--sql-ledger/locale/ct/COPYING21
-rw-r--r--sql-ledger/locale/ct/LANGUAGE1
-rw-r--r--sql-ledger/locale/ct/admin122
-rw-r--r--sql-ledger/locale/ct/all487
-rw-r--r--sql-ledger/locale/ct/am139
-rw-r--r--sql-ledger/locale/ct/ap133
-rw-r--r--sql-ledger/locale/ct/ar133
-rw-r--r--sql-ledger/locale/ct/arap30
-rw-r--r--sql-ledger/locale/ct/ca50
-rw-r--r--sql-ledger/locale/ct/cp75
-rw-r--r--sql-ledger/locale/ct/ct69
-rw-r--r--sql-ledger/locale/ct/gl124
-rw-r--r--sql-ledger/locale/ct/ic205
-rw-r--r--sql-ledger/locale/ct/io106
-rw-r--r--sql-ledger/locale/ct/ir178
-rw-r--r--sql-ledger/locale/ct/is185
-rw-r--r--sql-ledger/locale/ct/login28
-rw-r--r--sql-ledger/locale/ct/menu72
-rw-r--r--sql-ledger/locale/ct/oe199
-rw-r--r--sql-ledger/locale/ct/pe35
-rw-r--r--sql-ledger/locale/ct/rc37
-rw-r--r--sql-ledger/locale/ct/rp117
-rw-r--r--sql-ledger/locale/cz/COPYING23
-rw-r--r--sql-ledger/locale/cz/LANGUAGE1
-rw-r--r--sql-ledger/locale/cz/admin122
-rw-r--r--sql-ledger/locale/cz/all487
-rw-r--r--sql-ledger/locale/cz/am139
-rw-r--r--sql-ledger/locale/cz/ap133
-rw-r--r--sql-ledger/locale/cz/ar133
-rw-r--r--sql-ledger/locale/cz/arap30
-rw-r--r--sql-ledger/locale/cz/ca50
-rw-r--r--sql-ledger/locale/cz/cp75
-rw-r--r--sql-ledger/locale/cz/ct69
-rw-r--r--sql-ledger/locale/cz/gl124
-rw-r--r--sql-ledger/locale/cz/ic205
-rw-r--r--sql-ledger/locale/cz/io106
-rw-r--r--sql-ledger/locale/cz/ir178
-rw-r--r--sql-ledger/locale/cz/is185
-rw-r--r--sql-ledger/locale/cz/login28
-rw-r--r--sql-ledger/locale/cz/menu72
-rw-r--r--sql-ledger/locale/cz/oe199
-rw-r--r--sql-ledger/locale/cz/pe35
-rw-r--r--sql-ledger/locale/cz/rc37
-rw-r--r--sql-ledger/locale/cz/rp117
-rw-r--r--sql-ledger/locale/de/COPYING22
-rw-r--r--sql-ledger/locale/de/LANGUAGE1
-rw-r--r--sql-ledger/locale/de/Num2text185
-rw-r--r--sql-ledger/locale/de/admin124
-rw-r--r--sql-ledger/locale/de/all499
-rw-r--r--sql-ledger/locale/de/am139
-rw-r--r--sql-ledger/locale/de/ap133
-rw-r--r--sql-ledger/locale/de/ar134
-rw-r--r--sql-ledger/locale/de/arap30
-rw-r--r--sql-ledger/locale/de/ca50
-rw-r--r--sql-ledger/locale/de/cp77
-rw-r--r--sql-ledger/locale/de/ct71
-rw-r--r--sql-ledger/locale/de/gl124
-rw-r--r--sql-ledger/locale/de/ic205
-rw-r--r--sql-ledger/locale/de/io108
-rw-r--r--sql-ledger/locale/de/ir180
-rw-r--r--sql-ledger/locale/de/is187
-rwxr-xr-xsql-ledger/locale/de/locales.pl303
-rw-r--r--sql-ledger/locale/de/login27
-rw-r--r--sql-ledger/locale/de/menu73
-rw-r--r--sql-ledger/locale/de/oe202
-rw-r--r--sql-ledger/locale/de/pe45
-rw-r--r--sql-ledger/locale/de/rc37
-rw-r--r--sql-ledger/locale/de/rp119
-rw-r--r--sql-ledger/locale/dk/COPYING24
-rw-r--r--sql-ledger/locale/dk/LANGUAGE1
-rw-r--r--sql-ledger/locale/dk/admin122
-rw-r--r--sql-ledger/locale/dk/all487
-rw-r--r--sql-ledger/locale/dk/am139
-rw-r--r--sql-ledger/locale/dk/ap133
-rw-r--r--sql-ledger/locale/dk/ar133
-rw-r--r--sql-ledger/locale/dk/arap30
-rw-r--r--sql-ledger/locale/dk/ca50
-rw-r--r--sql-ledger/locale/dk/cp75
-rw-r--r--sql-ledger/locale/dk/ct69
-rw-r--r--sql-ledger/locale/dk/gl124
-rw-r--r--sql-ledger/locale/dk/ic205
-rw-r--r--sql-ledger/locale/dk/io106
-rw-r--r--sql-ledger/locale/dk/ir178
-rw-r--r--sql-ledger/locale/dk/is185
-rw-r--r--sql-ledger/locale/dk/login28
-rw-r--r--sql-ledger/locale/dk/menu72
-rw-r--r--sql-ledger/locale/dk/oe199
-rw-r--r--sql-ledger/locale/dk/pe35
-rw-r--r--sql-ledger/locale/dk/rc37
-rw-r--r--sql-ledger/locale/dk/rp117
-rw-r--r--sql-ledger/locale/ee/COPYING25
-rw-r--r--sql-ledger/locale/ee/LANGUAGE1
-rw-r--r--sql-ledger/locale/ee/admin124
-rw-r--r--sql-ledger/locale/ee/all497
-rw-r--r--sql-ledger/locale/ee/am139
-rw-r--r--sql-ledger/locale/ee/ap133
-rw-r--r--sql-ledger/locale/ee/ar134
-rw-r--r--sql-ledger/locale/ee/arap30
-rw-r--r--sql-ledger/locale/ee/ca50
-rw-r--r--sql-ledger/locale/ee/cp77
-rw-r--r--sql-ledger/locale/ee/ct71
-rw-r--r--sql-ledger/locale/ee/gl124
-rw-r--r--sql-ledger/locale/ee/ic208
-rw-r--r--sql-ledger/locale/ee/io108
-rw-r--r--sql-ledger/locale/ee/ir180
-rw-r--r--sql-ledger/locale/ee/is187
-rw-r--r--sql-ledger/locale/ee/login27
-rw-r--r--sql-ledger/locale/ee/menu71
-rw-r--r--sql-ledger/locale/ee/oe202
-rw-r--r--sql-ledger/locale/ee/pe35
-rw-r--r--sql-ledger/locale/ee/rc37
-rw-r--r--sql-ledger/locale/ee/rp120
-rw-r--r--sql-ledger/locale/en_GB/COPYING23
-rw-r--r--sql-ledger/locale/en_GB/LANGUAGE1
-rw-r--r--sql-ledger/locale/en_GB/admin124
-rw-r--r--sql-ledger/locale/en_GB/all499
-rw-r--r--sql-ledger/locale/en_GB/am139
-rw-r--r--sql-ledger/locale/en_GB/ap133
-rw-r--r--sql-ledger/locale/en_GB/ar134
-rw-r--r--sql-ledger/locale/en_GB/arap30
-rw-r--r--sql-ledger/locale/en_GB/bp54
-rw-r--r--sql-ledger/locale/en_GB/ca50
-rw-r--r--sql-ledger/locale/en_GB/cp77
-rw-r--r--sql-ledger/locale/en_GB/ct71
-rw-r--r--sql-ledger/locale/en_GB/gl124
-rw-r--r--sql-ledger/locale/en_GB/ic205
-rw-r--r--sql-ledger/locale/en_GB/io108
-rw-r--r--sql-ledger/locale/en_GB/ir180
-rw-r--r--sql-ledger/locale/en_GB/is187
-rw-r--r--sql-ledger/locale/en_GB/login27
-rw-r--r--sql-ledger/locale/en_GB/menu73
-rw-r--r--sql-ledger/locale/en_GB/oe202
-rw-r--r--sql-ledger/locale/en_GB/pe45
-rw-r--r--sql-ledger/locale/en_GB/rc37
-rw-r--r--sql-ledger/locale/en_GB/rp119
-rw-r--r--sql-ledger/locale/es/COPYING26
-rw-r--r--sql-ledger/locale/es/LANGUAGE1
-rw-r--r--sql-ledger/locale/es/Num2text195
-rw-r--r--sql-ledger/locale/es/admin124
-rw-r--r--sql-ledger/locale/es/all490
-rw-r--r--sql-ledger/locale/es/am139
-rw-r--r--sql-ledger/locale/es/ap133
-rw-r--r--sql-ledger/locale/es/ar133
-rw-r--r--sql-ledger/locale/es/arap30
-rw-r--r--sql-ledger/locale/es/ca50
-rw-r--r--sql-ledger/locale/es/cp75
-rw-r--r--sql-ledger/locale/es/ct69
-rw-r--r--sql-ledger/locale/es/gl124
-rw-r--r--sql-ledger/locale/es/ic205
-rw-r--r--sql-ledger/locale/es/io106
-rw-r--r--sql-ledger/locale/es/ir178
-rw-r--r--sql-ledger/locale/es/is185
-rw-r--r--sql-ledger/locale/es/login27
-rw-r--r--sql-ledger/locale/es/menu71
-rw-r--r--sql-ledger/locale/es/oe200
-rw-r--r--sql-ledger/locale/es/pe35
-rw-r--r--sql-ledger/locale/es/rc37
-rw-r--r--sql-ledger/locale/es/rp117
-rw-r--r--sql-ledger/locale/fi/COPYING23
-rw-r--r--sql-ledger/locale/fi/LANGUAGE1
-rw-r--r--sql-ledger/locale/fi/admin126
-rw-r--r--sql-ledger/locale/fi/all494
-rw-r--r--sql-ledger/locale/fi/am140
-rw-r--r--sql-ledger/locale/fi/ap133
-rw-r--r--sql-ledger/locale/fi/ar133
-rw-r--r--sql-ledger/locale/fi/arap30
-rw-r--r--sql-ledger/locale/fi/ca50
-rw-r--r--sql-ledger/locale/fi/cp75
-rw-r--r--sql-ledger/locale/fi/ct71
-rw-r--r--sql-ledger/locale/fi/gl124
-rw-r--r--sql-ledger/locale/fi/ic205
-rw-r--r--sql-ledger/locale/fi/io106
-rw-r--r--sql-ledger/locale/fi/ir178
-rw-r--r--sql-ledger/locale/fi/is185
-rw-r--r--sql-ledger/locale/fi/login27
-rw-r--r--sql-ledger/locale/fi/menu71
-rw-r--r--sql-ledger/locale/fi/oe199
-rw-r--r--sql-ledger/locale/fi/pe35
-rw-r--r--sql-ledger/locale/fi/rc37
-rw-r--r--sql-ledger/locale/fi/rp117
-rw-r--r--sql-ledger/locale/fr/COPYING27
-rw-r--r--sql-ledger/locale/fr/LANGUAGE1
-rw-r--r--sql-ledger/locale/fr/admin124
-rw-r--r--sql-ledger/locale/fr/all495
-rw-r--r--sql-ledger/locale/fr/am139
-rw-r--r--sql-ledger/locale/fr/ap133
-rw-r--r--sql-ledger/locale/fr/ar133
-rw-r--r--sql-ledger/locale/fr/arap30
-rw-r--r--sql-ledger/locale/fr/ca50
-rw-r--r--sql-ledger/locale/fr/cp77
-rw-r--r--sql-ledger/locale/fr/ct71
-rw-r--r--sql-ledger/locale/fr/gl124
-rw-r--r--sql-ledger/locale/fr/ic206
-rw-r--r--sql-ledger/locale/fr/io106
-rw-r--r--sql-ledger/locale/fr/ir178
-rw-r--r--sql-ledger/locale/fr/is185
-rw-r--r--sql-ledger/locale/fr/login27
-rw-r--r--sql-ledger/locale/fr/menu71
-rw-r--r--sql-ledger/locale/fr/oe200
-rw-r--r--sql-ledger/locale/fr/pe35
-rw-r--r--sql-ledger/locale/fr/rc37
-rw-r--r--sql-ledger/locale/fr/rp120
-rw-r--r--sql-ledger/locale/hu/COPYING23
-rw-r--r--sql-ledger/locale/hu/LANGUAGE1
-rw-r--r--sql-ledger/locale/hu/admin124
-rw-r--r--sql-ledger/locale/hu/all499
-rw-r--r--sql-ledger/locale/hu/am139
-rw-r--r--sql-ledger/locale/hu/ap133
-rw-r--r--sql-ledger/locale/hu/ar134
-rw-r--r--sql-ledger/locale/hu/arap30
-rw-r--r--sql-ledger/locale/hu/ca50
-rw-r--r--sql-ledger/locale/hu/cp77
-rw-r--r--sql-ledger/locale/hu/ct71
-rw-r--r--sql-ledger/locale/hu/gl124
-rw-r--r--sql-ledger/locale/hu/ic205
-rw-r--r--sql-ledger/locale/hu/io108
-rw-r--r--sql-ledger/locale/hu/ir180
-rw-r--r--sql-ledger/locale/hu/is187
-rw-r--r--sql-ledger/locale/hu/login27
-rw-r--r--sql-ledger/locale/hu/menu73
-rw-r--r--sql-ledger/locale/hu/oe202
-rw-r--r--sql-ledger/locale/hu/pe45
-rw-r--r--sql-ledger/locale/hu/rc37
-rw-r--r--sql-ledger/locale/hu/rp119
-rw-r--r--sql-ledger/locale/is/COPYING23
-rw-r--r--sql-ledger/locale/is/LANGUAGE1
-rw-r--r--sql-ledger/locale/is/admin124
-rw-r--r--sql-ledger/locale/is/all496
-rw-r--r--sql-ledger/locale/is/am139
-rw-r--r--sql-ledger/locale/is/ap133
-rw-r--r--sql-ledger/locale/is/ar134
-rw-r--r--sql-ledger/locale/is/arap30
-rw-r--r--sql-ledger/locale/is/ca50
-rw-r--r--sql-ledger/locale/is/cp77
-rw-r--r--sql-ledger/locale/is/ct71
-rw-r--r--sql-ledger/locale/is/gl124
-rw-r--r--sql-ledger/locale/is/ic206
-rw-r--r--sql-ledger/locale/is/io106
-rw-r--r--sql-ledger/locale/is/ir178
-rw-r--r--sql-ledger/locale/is/is185
-rw-r--r--sql-ledger/locale/is/login27
-rw-r--r--sql-ledger/locale/is/menu71
-rw-r--r--sql-ledger/locale/is/oe200
-rw-r--r--sql-ledger/locale/is/pe35
-rw-r--r--sql-ledger/locale/is/rc37
-rw-r--r--sql-ledger/locale/is/rp120
-rw-r--r--sql-ledger/locale/it/COPYING25
-rw-r--r--sql-ledger/locale/it/LANGUAGE1
-rw-r--r--sql-ledger/locale/it/Num2text163
-rw-r--r--sql-ledger/locale/it/admin124
-rw-r--r--sql-ledger/locale/it/all495
-rw-r--r--sql-ledger/locale/it/am139
-rw-r--r--sql-ledger/locale/it/ap133
-rw-r--r--sql-ledger/locale/it/ar133
-rw-r--r--sql-ledger/locale/it/arap30
-rw-r--r--sql-ledger/locale/it/ca50
-rw-r--r--sql-ledger/locale/it/cp77
-rw-r--r--sql-ledger/locale/it/ct71
-rw-r--r--sql-ledger/locale/it/gl124
-rw-r--r--sql-ledger/locale/it/ic206
-rw-r--r--sql-ledger/locale/it/io106
-rw-r--r--sql-ledger/locale/it/ir178
-rw-r--r--sql-ledger/locale/it/is185
-rw-r--r--sql-ledger/locale/it/login27
-rw-r--r--sql-ledger/locale/it/menu71
-rw-r--r--sql-ledger/locale/it/oe200
-rw-r--r--sql-ledger/locale/it/pe35
-rw-r--r--sql-ledger/locale/it/qe199
-rw-r--r--sql-ledger/locale/it/rc37
-rw-r--r--sql-ledger/locale/it/rp120
-rw-r--r--sql-ledger/locale/lt/COPYING23
-rw-r--r--sql-ledger/locale/lt/LANGUAGE1
-rw-r--r--sql-ledger/locale/lt/admin124
-rw-r--r--sql-ledger/locale/lt/all497
-rw-r--r--sql-ledger/locale/lt/am139
-rw-r--r--sql-ledger/locale/lt/ap133
-rw-r--r--sql-ledger/locale/lt/ar134
-rw-r--r--sql-ledger/locale/lt/arap30
-rw-r--r--sql-ledger/locale/lt/ca50
-rw-r--r--sql-ledger/locale/lt/cp77
-rw-r--r--sql-ledger/locale/lt/ct71
-rw-r--r--sql-ledger/locale/lt/gl124
-rw-r--r--sql-ledger/locale/lt/ic208
-rw-r--r--sql-ledger/locale/lt/io108
-rw-r--r--sql-ledger/locale/lt/ir180
-rw-r--r--sql-ledger/locale/lt/is187
-rw-r--r--sql-ledger/locale/lt/login27
-rw-r--r--sql-ledger/locale/lt/menu71
-rw-r--r--sql-ledger/locale/lt/oe202
-rw-r--r--sql-ledger/locale/lt/pe35
-rw-r--r--sql-ledger/locale/lt/rc37
-rw-r--r--sql-ledger/locale/lt/rp120
-rw-r--r--sql-ledger/locale/mx/COPYING23
-rw-r--r--sql-ledger/locale/mx/LANGUAGE1
-rw-r--r--sql-ledger/locale/mx/admin128
-rw-r--r--sql-ledger/locale/mx/all496
-rw-r--r--sql-ledger/locale/mx/am140
-rw-r--r--sql-ledger/locale/mx/ap133
-rw-r--r--sql-ledger/locale/mx/ar133
-rw-r--r--sql-ledger/locale/mx/arap30
-rw-r--r--sql-ledger/locale/mx/ca50
-rw-r--r--sql-ledger/locale/mx/cp75
-rw-r--r--sql-ledger/locale/mx/ct69
-rw-r--r--sql-ledger/locale/mx/gl124
-rw-r--r--sql-ledger/locale/mx/ic206
-rw-r--r--sql-ledger/locale/mx/io106
-rw-r--r--sql-ledger/locale/mx/ir178
-rw-r--r--sql-ledger/locale/mx/is185
-rw-r--r--sql-ledger/locale/mx/login28
-rw-r--r--sql-ledger/locale/mx/menu72
-rw-r--r--sql-ledger/locale/mx/oe200
-rw-r--r--sql-ledger/locale/mx/pe35
-rw-r--r--sql-ledger/locale/mx/rc37
-rw-r--r--sql-ledger/locale/mx/rp117
-rw-r--r--sql-ledger/locale/nl/COPYING26
-rw-r--r--sql-ledger/locale/nl/LANGUAGE1
-rw-r--r--sql-ledger/locale/nl/Num2text161
-rw-r--r--sql-ledger/locale/nl/admin124
-rw-r--r--sql-ledger/locale/nl/all491
-rw-r--r--sql-ledger/locale/nl/am139
-rw-r--r--sql-ledger/locale/nl/ap133
-rw-r--r--sql-ledger/locale/nl/ar133
-rw-r--r--sql-ledger/locale/nl/arap30
-rw-r--r--sql-ledger/locale/nl/ca50
-rw-r--r--sql-ledger/locale/nl/cp75
-rw-r--r--sql-ledger/locale/nl/ct71
-rw-r--r--sql-ledger/locale/nl/gl124
-rw-r--r--sql-ledger/locale/nl/ic206
-rw-r--r--sql-ledger/locale/nl/io106
-rw-r--r--sql-ledger/locale/nl/ir178
-rw-r--r--sql-ledger/locale/nl/is185
-rw-r--r--sql-ledger/locale/nl/login27
-rw-r--r--sql-ledger/locale/nl/menu71
-rw-r--r--sql-ledger/locale/nl/oe200
-rw-r--r--sql-ledger/locale/nl/pe35
-rw-r--r--sql-ledger/locale/nl/rc37
-rw-r--r--sql-ledger/locale/nl/rp116
-rw-r--r--sql-ledger/locale/no/COPYING24
-rw-r--r--sql-ledger/locale/no/LANGUAGE1
-rw-r--r--sql-ledger/locale/no/admin124
-rw-r--r--sql-ledger/locale/no/all496
-rw-r--r--sql-ledger/locale/no/am139
-rw-r--r--sql-ledger/locale/no/ap133
-rw-r--r--sql-ledger/locale/no/ar134
-rw-r--r--sql-ledger/locale/no/arap30
-rw-r--r--sql-ledger/locale/no/ca50
-rw-r--r--sql-ledger/locale/no/cp77
-rw-r--r--sql-ledger/locale/no/ct71
-rw-r--r--sql-ledger/locale/no/gl124
-rw-r--r--sql-ledger/locale/no/ic206
-rw-r--r--sql-ledger/locale/no/io106
-rw-r--r--sql-ledger/locale/no/ir178
-rw-r--r--sql-ledger/locale/no/is185
-rw-r--r--sql-ledger/locale/no/login27
-rw-r--r--sql-ledger/locale/no/menu71
-rw-r--r--sql-ledger/locale/no/oe200
-rw-r--r--sql-ledger/locale/no/pe35
-rw-r--r--sql-ledger/locale/no/rc37
-rw-r--r--sql-ledger/locale/no/rp120
-rw-r--r--sql-ledger/locale/pa/COPYING23
-rw-r--r--sql-ledger/locale/pa/LANGUAGE1
-rw-r--r--sql-ledger/locale/pa/admin128
-rw-r--r--sql-ledger/locale/pa/all496
-rw-r--r--sql-ledger/locale/pa/am140
-rw-r--r--sql-ledger/locale/pa/ap133
-rw-r--r--sql-ledger/locale/pa/ar133
-rw-r--r--sql-ledger/locale/pa/arap30
-rw-r--r--sql-ledger/locale/pa/ca50
-rw-r--r--sql-ledger/locale/pa/cp75
-rw-r--r--sql-ledger/locale/pa/ct69
-rw-r--r--sql-ledger/locale/pa/gl124
-rw-r--r--sql-ledger/locale/pa/ic206
-rw-r--r--sql-ledger/locale/pa/io106
-rw-r--r--sql-ledger/locale/pa/ir178
-rw-r--r--sql-ledger/locale/pa/is185
-rw-r--r--sql-ledger/locale/pa/login28
-rw-r--r--sql-ledger/locale/pa/menu72
-rw-r--r--sql-ledger/locale/pa/oe200
-rw-r--r--sql-ledger/locale/pa/pe35
-rw-r--r--sql-ledger/locale/pa/rc37
-rw-r--r--sql-ledger/locale/pa/rp117
-rw-r--r--sql-ledger/locale/pl/COPYING23
-rw-r--r--sql-ledger/locale/pl/LANGUAGE1
-rw-r--r--sql-ledger/locale/pl/admin122
-rw-r--r--sql-ledger/locale/pl/all487
-rw-r--r--sql-ledger/locale/pl/am139
-rw-r--r--sql-ledger/locale/pl/ap133
-rw-r--r--sql-ledger/locale/pl/ar133
-rw-r--r--sql-ledger/locale/pl/arap30
-rw-r--r--sql-ledger/locale/pl/ca50
-rw-r--r--sql-ledger/locale/pl/cp75
-rw-r--r--sql-ledger/locale/pl/ct69
-rw-r--r--sql-ledger/locale/pl/gl124
-rw-r--r--sql-ledger/locale/pl/ic205
-rw-r--r--sql-ledger/locale/pl/io106
-rw-r--r--sql-ledger/locale/pl/ir178
-rw-r--r--sql-ledger/locale/pl/is185
-rw-r--r--sql-ledger/locale/pl/login28
-rw-r--r--sql-ledger/locale/pl/menu72
-rw-r--r--sql-ledger/locale/pl/oe199
-rw-r--r--sql-ledger/locale/pl/pe35
-rw-r--r--sql-ledger/locale/pl/rc37
-rw-r--r--sql-ledger/locale/pl/rp117
-rw-r--r--sql-ledger/locale/pt/COPYING23
-rw-r--r--sql-ledger/locale/pt/LANGUAGE1
-rw-r--r--sql-ledger/locale/pt/admin122
-rw-r--r--sql-ledger/locale/pt/all487
-rw-r--r--sql-ledger/locale/pt/am139
-rw-r--r--sql-ledger/locale/pt/ap133
-rw-r--r--sql-ledger/locale/pt/ar133
-rw-r--r--sql-ledger/locale/pt/arap30
-rw-r--r--sql-ledger/locale/pt/ca50
-rw-r--r--sql-ledger/locale/pt/cp75
-rw-r--r--sql-ledger/locale/pt/ct69
-rw-r--r--sql-ledger/locale/pt/gl124
-rw-r--r--sql-ledger/locale/pt/ic205
-rw-r--r--sql-ledger/locale/pt/io106
-rw-r--r--sql-ledger/locale/pt/ir178
-rw-r--r--sql-ledger/locale/pt/is185
-rw-r--r--sql-ledger/locale/pt/login28
-rw-r--r--sql-ledger/locale/pt/menu72
-rw-r--r--sql-ledger/locale/pt/oe199
-rw-r--r--sql-ledger/locale/pt/pe35
-rw-r--r--sql-ledger/locale/pt/rc37
-rw-r--r--sql-ledger/locale/pt/rp117
-rw-r--r--sql-ledger/locale/ru/COPYING23
-rw-r--r--sql-ledger/locale/ru/LANGUAGE1
-rw-r--r--sql-ledger/locale/ru/admin122
-rw-r--r--sql-ledger/locale/ru/all487
-rw-r--r--sql-ledger/locale/ru/am139
-rw-r--r--sql-ledger/locale/ru/ap133
-rw-r--r--sql-ledger/locale/ru/ar133
-rw-r--r--sql-ledger/locale/ru/arap30
-rw-r--r--sql-ledger/locale/ru/ca50
-rw-r--r--sql-ledger/locale/ru/cp75
-rw-r--r--sql-ledger/locale/ru/ct69
-rw-r--r--sql-ledger/locale/ru/gl124
-rw-r--r--sql-ledger/locale/ru/ic205
-rw-r--r--sql-ledger/locale/ru/io106
-rw-r--r--sql-ledger/locale/ru/ir178
-rw-r--r--sql-ledger/locale/ru/is185
-rw-r--r--sql-ledger/locale/ru/login28
-rw-r--r--sql-ledger/locale/ru/menu72
-rw-r--r--sql-ledger/locale/ru/oe199
-rw-r--r--sql-ledger/locale/ru/pe35
-rw-r--r--sql-ledger/locale/ru/rc37
-rw-r--r--sql-ledger/locale/ru/rp117
-rw-r--r--sql-ledger/locale/se/COPYING23
-rw-r--r--sql-ledger/locale/se/LANGUAGE1
-rw-r--r--sql-ledger/locale/se/admin124
-rw-r--r--sql-ledger/locale/se/all491
-rw-r--r--sql-ledger/locale/se/am139
-rw-r--r--sql-ledger/locale/se/ap133
-rw-r--r--sql-ledger/locale/se/ar133
-rw-r--r--sql-ledger/locale/se/arap30
-rw-r--r--sql-ledger/locale/se/ca50
-rw-r--r--sql-ledger/locale/se/cp75
-rw-r--r--sql-ledger/locale/se/ct71
-rw-r--r--sql-ledger/locale/se/gl124
-rw-r--r--sql-ledger/locale/se/ic205
-rw-r--r--sql-ledger/locale/se/io106
-rw-r--r--sql-ledger/locale/se/ir178
-rw-r--r--sql-ledger/locale/se/is185
-rw-r--r--sql-ledger/locale/se/login27
-rw-r--r--sql-ledger/locale/se/menu71
-rw-r--r--sql-ledger/locale/se/oe199
-rw-r--r--sql-ledger/locale/se/pe35
-rw-r--r--sql-ledger/locale/se/rc37
-rw-r--r--sql-ledger/locale/se/rp117
-rw-r--r--sql-ledger/locale/tr/COPYING23
-rw-r--r--sql-ledger/locale/tr/LANGUAGE1
-rw-r--r--sql-ledger/locale/tr/admin122
-rw-r--r--sql-ledger/locale/tr/all487
-rw-r--r--sql-ledger/locale/tr/am139
-rw-r--r--sql-ledger/locale/tr/ap133
-rw-r--r--sql-ledger/locale/tr/ar133
-rw-r--r--sql-ledger/locale/tr/arap30
-rw-r--r--sql-ledger/locale/tr/ca50
-rw-r--r--sql-ledger/locale/tr/cp75
-rw-r--r--sql-ledger/locale/tr/ct69
-rw-r--r--sql-ledger/locale/tr/gl124
-rw-r--r--sql-ledger/locale/tr/ic205
-rw-r--r--sql-ledger/locale/tr/io106
-rw-r--r--sql-ledger/locale/tr/ir178
-rw-r--r--sql-ledger/locale/tr/is185
-rw-r--r--sql-ledger/locale/tr/login28
-rw-r--r--sql-ledger/locale/tr/menu72
-rw-r--r--sql-ledger/locale/tr/oe199
-rw-r--r--sql-ledger/locale/tr/pe35
-rw-r--r--sql-ledger/locale/tr/rc37
-rw-r--r--sql-ledger/locale/tr/rp117
-rw-r--r--sql-ledger/locale/tw/COPYING25
-rw-r--r--sql-ledger/locale/tw/LANGUAGE1
-rw-r--r--sql-ledger/locale/tw/admin122
-rw-r--r--sql-ledger/locale/tw/all487
-rw-r--r--sql-ledger/locale/tw/am139
-rw-r--r--sql-ledger/locale/tw/ap133
-rw-r--r--sql-ledger/locale/tw/ar133
-rw-r--r--sql-ledger/locale/tw/arap30
-rw-r--r--sql-ledger/locale/tw/ca50
-rw-r--r--sql-ledger/locale/tw/cp75
-rw-r--r--sql-ledger/locale/tw/ct69
-rw-r--r--sql-ledger/locale/tw/gl124
-rw-r--r--sql-ledger/locale/tw/ic205
-rw-r--r--sql-ledger/locale/tw/io106
-rw-r--r--sql-ledger/locale/tw/ir178
-rw-r--r--sql-ledger/locale/tw/is185
-rw-r--r--sql-ledger/locale/tw/login28
-rw-r--r--sql-ledger/locale/tw/menu72
-rw-r--r--sql-ledger/locale/tw/oe199
-rw-r--r--sql-ledger/locale/tw/pe35
-rw-r--r--sql-ledger/locale/tw/rc37
-rw-r--r--sql-ledger/locale/tw/rp117
-rw-r--r--sql-ledger/locale/ua/COPYING23
-rw-r--r--sql-ledger/locale/ua/LANGUAGE1
-rw-r--r--sql-ledger/locale/ua/admin124
-rw-r--r--sql-ledger/locale/ua/all495
-rw-r--r--sql-ledger/locale/ua/am139
-rw-r--r--sql-ledger/locale/ua/ap133
-rw-r--r--sql-ledger/locale/ua/ar133
-rw-r--r--sql-ledger/locale/ua/arap30
-rw-r--r--sql-ledger/locale/ua/ca50
-rw-r--r--sql-ledger/locale/ua/cp77
-rw-r--r--sql-ledger/locale/ua/ct71
-rw-r--r--sql-ledger/locale/ua/gl124
-rw-r--r--sql-ledger/locale/ua/ic206
-rw-r--r--sql-ledger/locale/ua/io106
-rw-r--r--sql-ledger/locale/ua/ir178
-rw-r--r--sql-ledger/locale/ua/is185
-rw-r--r--sql-ledger/locale/ua/login27
-rw-r--r--sql-ledger/locale/ua/menu71
-rw-r--r--sql-ledger/locale/ua/oe200
-rw-r--r--sql-ledger/locale/ua/pe35
-rw-r--r--sql-ledger/locale/ua/rc37
-rw-r--r--sql-ledger/locale/ua/rp120
-rw-r--r--sql-ledger/locale/ve/COPYING23
-rw-r--r--sql-ledger/locale/ve/LANGUAGE1
-rw-r--r--sql-ledger/locale/ve/admin124
-rw-r--r--sql-ledger/locale/ve/all491
-rw-r--r--sql-ledger/locale/ve/am139
-rw-r--r--sql-ledger/locale/ve/ap133
-rw-r--r--sql-ledger/locale/ve/ar133
-rw-r--r--sql-ledger/locale/ve/arap30
-rw-r--r--sql-ledger/locale/ve/ca50
-rw-r--r--sql-ledger/locale/ve/cp75
-rw-r--r--sql-ledger/locale/ve/ct71
-rw-r--r--sql-ledger/locale/ve/gl124
-rw-r--r--sql-ledger/locale/ve/ic206
-rw-r--r--sql-ledger/locale/ve/io106
-rw-r--r--sql-ledger/locale/ve/ir178
-rw-r--r--sql-ledger/locale/ve/is185
-rw-r--r--sql-ledger/locale/ve/login27
-rw-r--r--sql-ledger/locale/ve/menu71
-rw-r--r--sql-ledger/locale/ve/oe200
-rw-r--r--sql-ledger/locale/ve/pe35
-rw-r--r--sql-ledger/locale/ve/rc37
-rw-r--r--sql-ledger/locale/ve/rp116
-rwxr-xr-xsql-ledger/login.pl132
-rw-r--r--sql-ledger/menu.ini394
-rwxr-xr-xsql-ledger/setup.pl594
-rw-r--r--sql-ledger/sql-ledger.conf.default33
-rw-r--r--sql-ledger/sql-ledger.pngbin0 -> 6963 bytes
-rw-r--r--sql-ledger/sql/Austria-chart.sql143
-rw-r--r--sql-ledger/sql/Austria-gifi.sql334
-rw-r--r--sql-ledger/sql/Brazil_General-chart.sql70
-rw-r--r--sql-ledger/sql/Canada-gifi.sql754
-rw-r--r--sql-ledger/sql/Canada_General-chart.sql77
-rw-r--r--sql-ledger/sql/Czech_Republic-chart.sql317
-rw-r--r--sql-ledger/sql/Danish_Default-chart.sql75
-rw-r--r--sql-ledger/sql/Default-chart.sql81
-rw-r--r--sql-ledger/sql/Dutch_Default-chart.sql80
-rw-r--r--sql-ledger/sql/Dutch_Standard-chart.sql233
-rw-r--r--sql-ledger/sql/France-chart.sql951
-rw-r--r--sql-ledger/sql/German-Sample-chart.sql216
-rw-r--r--sql-ledger/sql/German-Sample-gifi.sql19
-rw-r--r--sql-ledger/sql/Germany-DATEV-SKR03-chart.sql262
-rw-r--r--sql-ledger/sql/Germany-DATEV-SKR03-gifi.sql550
-rw-r--r--sql-ledger/sql/Germany-SKR03-chart.sql267
-rw-r--r--sql-ledger/sql/Germany-SKR03-gifi.sql1083
-rw-r--r--sql-ledger/sql/Italy-chart.sql179
-rw-r--r--sql-ledger/sql/Oracle-indices.sql57
-rw-r--r--sql-ledger/sql/Oracle-tables.sql388
-rw-r--r--sql-ledger/sql/Oracle-upgrade-1.8.0-1.8.4.sql28
-rw-r--r--sql-ledger/sql/Oracle-upgrade-1.8.4-1.8.5.sql77
-rw-r--r--sql-ledger/sql/Oracle-upgrade-1.8.5-2.0.0.sql100
-rw-r--r--sql-ledger/sql/Oracle-upgrade-2.0.0-2.0.8.sql19
-rw-r--r--sql-ledger/sql/Pg-indices.sql57
-rw-r--r--sql-ledger/sql/Pg-tables.sql289
-rw-r--r--sql-ledger/sql/Pg-upgrade-1.2.6-1.2.7.sql4
-rw-r--r--sql-ledger/sql/Pg-upgrade-1.2.7-1.4.0.sql173
-rw-r--r--sql-ledger/sql/Pg-upgrade-1.4.0-1.6.0.sql126
-rw-r--r--sql-ledger/sql/Pg-upgrade-1.6.0-1.8.0.sql104
-rw-r--r--sql-ledger/sql/Pg-upgrade-1.8.0-1.8.4.sql21
-rw-r--r--sql-ledger/sql/Pg-upgrade-1.8.4-1.8.5.sql63
-rw-r--r--sql-ledger/sql/Pg-upgrade-1.8.5-2.0.0.sql92
-rw-r--r--sql-ledger/sql/Pg-upgrade-2.0.0-2.0.8.sql12
-rw-r--r--sql-ledger/sql/Poland-chart.sql337
-rw-r--r--sql-ledger/sql/Simplified_Chinese_Default-chart.sql78
-rw-r--r--sql-ledger/sql/Spain-chart.sql132
-rw-r--r--sql-ledger/sql/Swiss-German-chart.sql160
-rw-r--r--sql-ledger/sql/Swiss-German-gifi.sql55
-rw-r--r--sql-ledger/sql/Traditional_Chinese_Default-chart.sql78
-rw-r--r--sql-ledger/sql/US_General-chart.sql98
-rw-r--r--sql-ledger/templates/Brazilian_Portuguese-balance_sheet.html103
-rw-r--r--sql-ledger/templates/Brazilian_Portuguese-check.tex71
-rw-r--r--sql-ledger/templates/Brazilian_Portuguese-income_statement.html77
-rw-r--r--sql-ledger/templates/Brazilian_Portuguese-invoice.html315
-rw-r--r--sql-ledger/templates/Brazilian_Portuguese-invoice.tex223
-rw-r--r--sql-ledger/templates/Brazilian_Portuguese-packing_list.html143
-rw-r--r--sql-ledger/templates/Brazilian_Portuguese-packing_list.tex116
-rw-r--r--sql-ledger/templates/Brazilian_Portuguese-purchase_order.html187
-rw-r--r--sql-ledger/templates/Brazilian_Portuguese-purchase_order.tex198
-rw-r--r--sql-ledger/templates/Brazilian_Portuguese-receipt.tex71
-rw-r--r--sql-ledger/templates/Brazilian_Portuguese-sales_order.html221
-rw-r--r--sql-ledger/templates/Brazilian_Portuguese-sales_order.tex137
-rw-r--r--sql-ledger/templates/Brazilian_Portuguese-statement.html125
-rw-r--r--sql-ledger/templates/Brazilian_Portuguese-statement.tex137
-rw-r--r--sql-ledger/templates/Danish-balance_sheet.html96
-rw-r--r--sql-ledger/templates/Danish-check.tex71
-rw-r--r--sql-ledger/templates/Danish-income_statement.html73
-rw-r--r--sql-ledger/templates/Danish-invoice.html273
-rw-r--r--sql-ledger/templates/Danish-invoice.tex152
-rw-r--r--sql-ledger/templates/Danish-packing_list.html145
-rw-r--r--sql-ledger/templates/Danish-packing_list.tex123
-rw-r--r--sql-ledger/templates/Danish-purchase_order.html191
-rw-r--r--sql-ledger/templates/Danish-purchase_order.tex143
-rw-r--r--sql-ledger/templates/Danish-receipt.tex71
-rw-r--r--sql-ledger/templates/Danish-sales_order.html210
-rw-r--r--sql-ledger/templates/Danish-sales_order.tex144
-rw-r--r--sql-ledger/templates/Danish-statement.html121
-rw-r--r--sql-ledger/templates/Danish-statement.tex137
-rw-r--r--sql-ledger/templates/Default-balance_sheet.html100
-rw-r--r--sql-ledger/templates/Default-check.tex77
-rw-r--r--sql-ledger/templates/Default-income_statement.html82
-rw-r--r--sql-ledger/templates/Default-invoice.html309
-rw-r--r--sql-ledger/templates/Default-invoice.tex231
-rw-r--r--sql-ledger/templates/Default-packing_list.html148
-rw-r--r--sql-ledger/templates/Default-packing_list.tex122
-rw-r--r--sql-ledger/templates/Default-purchase_order.html224
-rw-r--r--sql-ledger/templates/Default-purchase_order.tex198
-rw-r--r--sql-ledger/templates/Default-receipt.tex74
-rw-r--r--sql-ledger/templates/Default-sales_order.html212
-rw-r--r--sql-ledger/templates/Default-sales_order.tex143
-rw-r--r--sql-ledger/templates/Default-statement.html121
-rw-r--r--sql-ledger/templates/Default-statement.tex137
-rw-r--r--sql-ledger/templates/Dutch-balance_sheet.html104
-rw-r--r--sql-ledger/templates/Dutch-check.tex71
-rw-r--r--sql-ledger/templates/Dutch-income_statement.html83
-rw-r--r--sql-ledger/templates/Dutch-invoice.html239
-rw-r--r--sql-ledger/templates/Dutch-invoice.tex138
-rw-r--r--sql-ledger/templates/Dutch-packing_list.html121
-rw-r--r--sql-ledger/templates/Dutch-packing_list.tex114
-rw-r--r--sql-ledger/templates/Dutch-purchase_order.html186
-rw-r--r--sql-ledger/templates/Dutch-purchase_order.tex137
-rw-r--r--sql-ledger/templates/Dutch-receipt.tex71
-rw-r--r--sql-ledger/templates/Dutch-sales_order.html208
-rw-r--r--sql-ledger/templates/Dutch-sales_order.tex134
-rw-r--r--sql-ledger/templates/Dutch-statement.html121
-rw-r--r--sql-ledger/templates/Dutch-statement.tex137
-rw-r--r--sql-ledger/templates/Estonian-balance_sheet.html103
-rw-r--r--sql-ledger/templates/Estonian-check.tex71
-rw-r--r--sql-ledger/templates/Estonian-income_statement.html84
-rw-r--r--sql-ledger/templates/Estonian-invoice.html215
-rw-r--r--sql-ledger/templates/Estonian-invoice.tex147
-rw-r--r--sql-ledger/templates/Estonian-packing_list.html147
-rw-r--r--sql-ledger/templates/Estonian-packing_list.tex119
-rw-r--r--sql-ledger/templates/Estonian-purchase_order.html195
-rw-r--r--sql-ledger/templates/Estonian-purchase_order.tex143
-rw-r--r--sql-ledger/templates/Estonian-receipt.tex71
-rw-r--r--sql-ledger/templates/Estonian-sales_order.html214
-rw-r--r--sql-ledger/templates/Estonian-sales_order.tex141
-rw-r--r--sql-ledger/templates/Estonian-statement.html121
-rw-r--r--sql-ledger/templates/Estonian-statement.tex137
-rw-r--r--sql-ledger/templates/French-balance_sheet.html109
-rw-r--r--sql-ledger/templates/French-check.tex71
-rw-r--r--sql-ledger/templates/French-income_statement.html86
-rw-r--r--sql-ledger/templates/French-invoice.html309
-rw-r--r--sql-ledger/templates/French-invoice.tex151
-rw-r--r--sql-ledger/templates/French-packing_list.html152
-rw-r--r--sql-ledger/templates/French-packing_list.tex125
-rw-r--r--sql-ledger/templates/French-purchase_order.html207
-rw-r--r--sql-ledger/templates/French-purchase_order.tex143
-rw-r--r--sql-ledger/templates/French-receipt.tex71
-rw-r--r--sql-ledger/templates/French-sales_order.html229
-rw-r--r--sql-ledger/templates/French-sales_order.tex144
-rw-r--r--sql-ledger/templates/French-statement.html133
-rw-r--r--sql-ledger/templates/French-statement.tex137
-rw-r--r--sql-ledger/templates/German-balance_sheet.html100
-rw-r--r--sql-ledger/templates/German-check.tex71
-rw-r--r--sql-ledger/templates/German-income_statement.html78
-rw-r--r--sql-ledger/templates/German-invoice.html265
-rw-r--r--sql-ledger/templates/German-invoice.tex155
-rw-r--r--sql-ledger/templates/German-packing_list.html146
-rw-r--r--sql-ledger/templates/German-packing_list.tex118
-rw-r--r--sql-ledger/templates/German-purchase_order.html188
-rw-r--r--sql-ledger/templates/German-purchase_order.tex143
-rw-r--r--sql-ledger/templates/German-receipt.tex71
-rw-r--r--sql-ledger/templates/German-sales_order.html213
-rw-r--r--sql-ledger/templates/German-sales_order.tex142
-rw-r--r--sql-ledger/templates/German-statement.html121
-rw-r--r--sql-ledger/templates/German-statement.tex137
-rw-r--r--sql-ledger/templates/Service-balance_sheet.html100
-rw-r--r--sql-ledger/templates/Service-check.tex71
-rw-r--r--sql-ledger/templates/Service-income_statement.html82
-rw-r--r--sql-ledger/templates/Service-invoice.html226
-rw-r--r--sql-ledger/templates/Service-invoice.tex151
-rw-r--r--sql-ledger/templates/Service-packing_list.html148
-rw-r--r--sql-ledger/templates/Service-packing_list.tex120
-rw-r--r--sql-ledger/templates/Service-purchase_order.html194
-rw-r--r--sql-ledger/templates/Service-purchase_order.tex143
-rw-r--r--sql-ledger/templates/Service-receipt.tex71
-rw-r--r--sql-ledger/templates/Service-sales_order.html198
-rw-r--r--sql-ledger/templates/Service-sales_order.tex139
-rw-r--r--sql-ledger/templates/Service-statement.html121
-rw-r--r--sql-ledger/templates/Service-statement.tex137
-rw-r--r--sql-ledger/templates/Spanish_A4-balance_sheet.html100
-rw-r--r--sql-ledger/templates/Spanish_A4-check.tex71
-rw-r--r--sql-ledger/templates/Spanish_A4-income_statement.html77
-rw-r--r--sql-ledger/templates/Spanish_A4-invoice.html153
-rw-r--r--sql-ledger/templates/Spanish_A4-invoice.tex108
-rw-r--r--sql-ledger/templates/Spanish_A4-packing_list.html155
-rw-r--r--sql-ledger/templates/Spanish_A4-packing_list.tex108
-rw-r--r--sql-ledger/templates/Spanish_A4-purchase_order.html153
-rw-r--r--sql-ledger/templates/Spanish_A4-purchase_order.tex107
-rw-r--r--sql-ledger/templates/Spanish_A4-receipt.tex71
-rw-r--r--sql-ledger/templates/Spanish_A4-sales_order.html153
-rw-r--r--sql-ledger/templates/Spanish_A4-sales_order.tex107
-rw-r--r--sql-ledger/templates/Spanish_A4-statement.html121
-rw-r--r--sql-ledger/templates/Spanish_A4-statement.tex137
-rw-r--r--sql-ledger/templates/Spanish_Letter-balance_sheet.html100
-rw-r--r--sql-ledger/templates/Spanish_Letter-check.tex71
-rw-r--r--sql-ledger/templates/Spanish_Letter-income_statement.html77
-rw-r--r--sql-ledger/templates/Spanish_Letter-invoice.html153
-rw-r--r--sql-ledger/templates/Spanish_Letter-invoice.tex110
-rw-r--r--sql-ledger/templates/Spanish_Letter-packing_list.html155
-rw-r--r--sql-ledger/templates/Spanish_Letter-packing_list.tex108
-rw-r--r--sql-ledger/templates/Spanish_Letter-purchase_order.html153
-rw-r--r--sql-ledger/templates/Spanish_Letter-purchase_order.tex107
-rw-r--r--sql-ledger/templates/Spanish_Letter-receipt.tex71
-rw-r--r--sql-ledger/templates/Spanish_Letter-sales_order.html153
-rw-r--r--sql-ledger/templates/Spanish_Letter-sales_order.tex107
-rw-r--r--sql-ledger/templates/Spanish_Letter-statement.html121
-rw-r--r--sql-ledger/templates/Spanish_Letter-statement.tex137
-rw-r--r--sql-ledger/users/members.default5
843 files changed, 127977 insertions, 0 deletions
diff --git a/sql-ledger/SL/AM.pm b/sql-ledger/SL/AM.pm
new file mode 100644
index 0000000..d691b3c
--- /dev/null
+++ b/sql-ledger/SL/AM.pm
@@ -0,0 +1,694 @@
+#=====================================================================
+# SQL-Ledger Accounting
+# Copyright (C) 2001
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+# Contributors:
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#======================================================================
+#
+# Administration module
+# Chart of Accounts
+# template routines
+# preferences
+#
+#======================================================================
+
+package AM;
+
+
+sub get_account {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ my $query = qq|SELECT accno, description, charttype, gifi_accno,
+ category, link
+ FROM chart
+ WHERE id = $form->{id}|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ my $ref = $sth->fetchrow_hashref(NAME_lc);
+
+ foreach my $key (keys %$ref) {
+ $form->{"$key"} = $ref->{"$key"};
+ }
+
+ $sth->finish;
+
+
+ # get default accounts
+ $query = qq|SELECT inventory_accno_id, income_accno_id, expense_accno_id
+ FROM defaults|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ $ref = $sth->fetchrow_hashref(NAME_lc);
+
+ map { $form->{$_} = $ref->{$_} } keys %ref;
+
+ $sth->finish;
+ $dbh->disconnect;
+
+}
+
+
+sub save_account {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database, turn off AutoCommit
+ my $dbh = $form->dbconnect_noauto($myconfig);
+
+ # sanity check, can't have AR with AR_...
+ if ($form->{AR} || $form->{AP} || $form->{IC}) {
+ map { delete $form->{$_} } qw(AR_amount AR_tax AR_paid AP_amount AP_tax AP_paid IC_sale IC_cogs IC_taxpart IC_income IC_expense IC_taxservice);
+ }
+
+ $form->{link} = "";
+ foreach my $item ($form->{AR},
+ $form->{AR_amount},
+ $form->{AR_tax},
+ $form->{AR_paid},
+ $form->{AP},
+ $form->{AP_amount},
+ $form->{AP_tax},
+ $form->{AP_paid},
+ $form->{IC},
+ $form->{IC_sale},
+ $form->{IC_cogs},
+ $form->{IC_taxpart},
+ $form->{IC_income},
+ $form->{IC_expense},
+ $form->{IC_taxservice},
+ $form->{CT_tax}
+ ) {
+ $form->{link} .= "${item}:" if ($item);
+ }
+ chop $form->{link};
+
+ # if we have an id then replace the old record
+ $form->{description} =~ s/'/''/g;
+
+ # strip blanks from accno
+ map { $form->{$_} =~ s/ //g; } qw(accno gifi_accno);
+
+ my ($query, $sth);
+
+ if ($form->{id}) {
+ $query = qq|UPDATE chart SET
+ accno = '$form->{accno}',
+ description = '$form->{description}',
+ charttype = '$form->{charttype}',
+ gifi_accno = '$form->{gifi_accno}',
+ category = '$form->{category}',
+ link = '$form->{link}'
+ WHERE id = $form->{id}|;
+ } else {
+ $query = qq|INSERT INTO chart
+ (accno, description, charttype, gifi_accno, category, link)
+ VALUES ('$form->{accno}', '$form->{description}',
+ '$form->{charttype}', '$form->{gifi_accno}',
+ '$form->{category}', '$form->{link}')|;
+ }
+ $dbh->do($query) || $form->dberror($query);
+
+
+ if ($form->{IC_taxpart} || $form->{IC_taxservice} || $form->{CT_tax}) {
+
+ my $chart_id = $form->{id};
+
+ unless ($form->{id}) {
+ # get id from chart
+ $query = qq|SELECT id
+ FROM chart
+ WHERE accno = '$form->{accno}'|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ ($chart_id) = $sth->fetchrow_array;
+ $sth->finish;
+ }
+
+ # add account if it doesn't exist in tax
+ $query = qq|SELECT chart_id
+ FROM tax
+ WHERE chart_id = $chart_id|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ my ($tax_id) = $sth->fetchrow_array;
+ $sth->finish;
+
+ # add tax if it doesn't exist
+ unless ($tax_id) {
+ $query = qq|INSERT INTO tax (chart_id, rate)
+ VALUES ($chart_id, 0)|;
+ $dbh->do($query) || $form->dberror($query);
+ }
+ } else {
+ # remove tax
+ if ($form->{id}) {
+ $query = qq|DELETE FROM tax
+ WHERE chart_id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+ }
+ }
+
+
+ # commit
+ my $rc = $dbh->commit;
+ $dbh->disconnect;
+
+ $rc;
+
+}
+
+
+
+sub delete_account {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database, turn off AutoCommit
+ my $dbh = $form->dbconnect_noauto($myconfig);
+
+ # delete chart of account record
+ $query = qq|DELETE FROM chart
+ WHERE id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+
+ # set inventory_accno_id, income_accno_id, expense_accno_id to defaults
+ $query = qq|UPDATE parts
+ SET inventory_accno_id =
+ (SELECT inventory_accno_id FROM defaults)
+ WHERE inventory_accno_id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+
+ $query = qq|UPDATE parts
+ SET income_accno_id =
+ (SELECT income_accno_id FROM defaults)
+ WHERE income_accno_id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+
+ $query = qq|UPDATE parts
+ SET expense_accno_id =
+ (SELECT expense_accno_id FROM defaults)
+ WHERE expense_accno_id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+
+ foreach my $table (qw(partstax customertax vendortax tax)) {
+ $query = qq|DELETE FROM $table
+ WHERE chart_id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+ }
+
+ # commit and redirect
+ my $rc = $dbh->commit;
+ $dbh->disconnect;
+
+ $rc;
+
+}
+
+
+sub gifi_accounts {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ my $query = qq|SELECT accno, description
+ FROM gifi
+ ORDER BY accno|;
+
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while (my $ref = $sth->fetchrow_hashref(NAME_lc)) {
+ push @{ $form->{ALL} }, $ref;
+ }
+
+ $sth->finish;
+ $dbh->disconnect;
+
+}
+
+
+
+sub get_gifi {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ my $query = qq|SELECT accno, description
+ FROM gifi
+ WHERE accno = '$form->{accno}'|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ my $ref = $sth->fetchrow_hashref(NAME_lc);
+
+ map { $form->{$_} = $ref->{$_} } keys %$ref;
+
+ $sth->finish;
+ $dbh->disconnect;
+
+}
+
+
+sub save_gifi {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ $form->{description} =~ s/'/''/g;
+ $form->{accno} =~ s/ //g;
+
+ # id is the old account number!
+ if ($form->{id}) {
+ $query = qq|UPDATE gifi SET
+ accno = '$form->{accno}',
+ description = '$form->{description}'
+ WHERE accno = '$form->{id}'|;
+ } else {
+ $query = qq|INSERT INTO gifi
+ (accno, description)
+ VALUES ('$form->{accno}', '$form->{description}')|;
+ }
+ $dbh->do($query) || $form->dberror($query);
+
+ $dbh->disconnect;
+
+}
+
+
+sub delete_gifi {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ # id is the old account number!
+ $query = qq|DELETE FROM gifi
+ WHERE accno = '$form->{id}'|;
+ $dbh->do($query) || $form->dberror($query);
+
+ $dbh->disconnect;
+
+}
+
+
+sub load_template {
+ my ($self, $form) = @_;
+
+ open(TEMPLATE, "$form->{file}") or $form->error("$form->{file} : $!");
+
+ while (<TEMPLATE>) {
+ $form->{body} .= $_;
+ }
+
+ close(TEMPLATE);
+
+}
+
+
+sub save_template {
+ my ($self, $form) = @_;
+
+ open(TEMPLATE, ">$form->{file}") or $form->error("$form->{file} : $!");
+
+ # strip
+ $form->{body} =~ s/\r\n/\n/g;
+ print TEMPLATE $form->{body};
+
+ close(TEMPLATE);
+
+}
+
+
+
+sub save_preferences {
+ my ($self, $myconfig, $form, $memberfile, $userspath) = @_;
+
+ map { ($form->{$_}) = split /--/, $form->{$_} } qw(inventory_accno income_accno expense_accno fxgain_accno fxloss_accno);
+
+ my @a;
+ $form->{curr} =~ s/ //g;
+ map { push(@a, uc pack "A3", $_) if $_ } split /:/, $form->{curr};
+ $form->{curr} = join ':', @a;
+
+ # connect to database
+ my $dbh = $form->dbconnect_noauto($myconfig);
+
+ # these defaults are database wide
+ # user specific variables are in myconfig
+ # save defaults
+ my $query = qq|UPDATE defaults SET
+ inventory_accno_id =
+ (SELECT id FROM chart
+ WHERE accno = '$form->{inventory_accno}'),
+ income_accno_id =
+ (SELECT id FROM chart
+ WHERE accno = '$form->{income_accno}'),
+ expense_accno_id =
+ (SELECT id FROM chart
+ WHERE accno = '$form->{expense_accno}'),
+ fxgain_accno_id =
+ (SELECT id FROM chart
+ WHERE accno = '$form->{fxgain_accno}'),
+ fxloss_accno_id =
+ (SELECT id FROM chart
+ WHERE accno = '$form->{fxloss_accno}'),
+ invnumber = '$form->{invnumber}',
+ sonumber = '$form->{sonumber}',
+ ponumber = '$form->{ponumber}',
+ yearend = '$form->{yearend}',
+ curr = '$form->{curr}',
+ weightunit = '$form->{weightunit}',
+ businessnumber = '$form->{businessnumber}'
+ |;
+ $dbh->do($query) || $form->dberror($query);
+
+ # update name
+ my $name = $form->{name};
+ $name =~ s/'/''/g;
+ $query = qq|UPDATE employee
+ SET name = '$name'
+ WHERE login = '$form->{login}'|;
+ $dbh->do($query) || $form->dberror($query);
+
+ foreach my $item (split / /, $form->{taxaccounts}) {
+ $query = qq|UPDATE tax
+ SET rate = |.($form->{$item} / 100).qq|,
+ taxnumber = '$form->{"taxnumber_$item"}'
+ WHERE chart_id = $item|;
+ $dbh->do($query) || $form->dberror($query);
+ }
+
+ my $rc = $dbh->commit;
+ $dbh->disconnect;
+
+ # save first currency in myconfig
+ $form->{currency} = substr($form->{curr},0,3);
+
+ my $myconfig = new User "$memberfile", "$form->{login}";
+
+ foreach my $item (keys %$form) {
+ $myconfig->{$item} = $form->{$item};
+ }
+
+ $myconfig->save_member($memberfile, $userspath);
+
+ $rc;
+
+}
+
+
+sub defaultaccounts {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ # get defaults from defaults table
+ my $query = qq|SELECT * FROM defaults|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ $form->{defaults} = $sth->fetchrow_hashref(NAME_lc);
+ $form->{defaults}{IC} = $form->{defaults}{inventory_accno_id};
+ $form->{defaults}{IC_income} = $form->{defaults}{income_accno_id};
+ $form->{defaults}{IC_expense} = $form->{defaults}{expense_accno_id};
+ $form->{defaults}{FX_gain} = $form->{defaults}{fxgain_accno_id};
+ $form->{defaults}{FX_loss} = $form->{defaults}{fxloss_accno_id};
+
+
+ $sth->finish;
+
+
+ $query = qq|SELECT id, accno, description, link
+ FROM chart
+ WHERE link LIKE '%IC%'
+ ORDER BY accno|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $self->dberror($query);
+
+ while (my $ref = $sth->fetchrow_hashref(NAME_lc)) {
+ foreach my $key (split(/:/, $ref->{link})) {
+ if ($key =~ /IC/) {
+ $nkey = $key;
+ if ($key =~ /cogs/) {
+ $nkey = "IC_expense";
+ }
+ if ($key =~ /sale/) {
+ $nkey = "IC_income";
+ }
+ %{ $form->{IC}{$nkey}{$ref->{accno}} } = ( id => $ref->{id},
+ description => $ref->{description} );
+ }
+ }
+ }
+ $sth->finish;
+
+
+ $query = qq|SELECT id, accno, description
+ FROM chart
+ WHERE category = 'I'
+ AND charttype = 'A'
+ ORDER BY accno|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $self->dberror($query);
+
+ while (my $ref = $sth->fetchrow_hashref(NAME_lc)) {
+ %{ $form->{IC}{FX_gain}{$ref->{accno}} } = ( id => $ref->{id},
+ description => $ref->{description} );
+ }
+ $sth->finish;
+
+ $query = qq|SELECT id, accno, description
+ FROM chart
+ WHERE category = 'E'
+ AND charttype = 'A'
+ ORDER BY accno|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $self->dberror($query);
+
+ while (my $ref = $sth->fetchrow_hashref(NAME_lc)) {
+ %{ $form->{IC}{FX_loss}{$ref->{accno}} } = ( id => $ref->{id},
+ description => $ref->{description} );
+ }
+ $sth->finish;
+
+
+ # now get the tax rates and numbers
+ $query = qq|SELECT chart.id, chart.accno, chart.description,
+ tax.rate * 100 AS rate, tax.taxnumber
+ FROM chart, tax
+ WHERE chart.id = tax.chart_id|;
+
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while (my $ref = $sth->fetchrow_hashref(NAME_lc)) {
+ $form->{taxrates}{$ref->{accno}}{id} = $ref->{id};
+ $form->{taxrates}{$ref->{accno}}{description} = $ref->{description};
+ $form->{taxrates}{$ref->{accno}}{taxnumber} = $ref->{taxnumber} if $ref->{taxnumber};
+ $form->{taxrates}{$ref->{accno}}{rate} = $ref->{rate} if $ref->{rate};
+ }
+
+ $sth->finish;
+ $dbh->disconnect;
+
+}
+
+
+sub backup {
+ my ($self, $myconfig, $form, $userspath) = @_;
+
+ my ($tmpfile, $out, $mail);
+
+ if ($form->{media} eq 'email') {
+
+ my $boundary = time;
+ $tmpfile = "$userspath/$boundary.$myconfig->{dbname}-$form->{dbversion}.sql";
+ $out = $form->{OUT};
+ $form->{OUT} = ">$tmpfile";
+
+ use SL::Mailer;
+ $mail = new Mailer;
+
+ $mail->{to} = qq|"$myconfig->{name}" <$myconfig->{email}>|;
+ $mail->{from} = qq|"$myconfig->{name}" <$myconfig->{email}>|;
+ $mail->{subject} = "SQL-Ledger Backup / $myconfig->{dbname}-$form->{dbversion}.sql";
+ @{ $mail->{attachments} } = ($tmpfile);
+ $mail->{version} = $form->{version};
+ $mail->{fileid} = "$boundary.";
+
+ $myconfig->{signature} =~ s/\\n/\r\n/g;
+ $mail->{message} = "--\n$myconfig->{signature}";
+
+ }
+
+ if ($form->{OUT}) {
+ open(OUT, "$form->{OUT}") or $form->error("$form->{OUT} : $!");
+ } else {
+ open(OUT, ">-") or $form->error("STDOUT : $!");
+ }
+
+ if ($form->{media} eq 'file') {
+ print OUT qq|Content-Type: Application/File;
+Content-Disposition: filename="$myconfig->{dbname}-$form->{dbversion}.sql"\n\n|;
+ }
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ # get all the tables
+ my @tables = $dbh->tables;
+
+ my $today = scalar localtime;
+
+
+ $myconfig->{dbhost} = 'localhost' unless $myconfig->{dbhost};
+
+ print OUT qq|-- SQL-Ledger Backup
+-- Dataset: $myconfig->{dbname}
+-- Version: $form->{dbversion}
+-- Host: $myconfig->{dbhost}
+-- Login: $form->{login}
+-- User: $myconfig->{name}
+-- Date: $today
+--
+-- set options
+$myconfig->{dboptions};
+--
+|;
+
+ foreach $table (@tables) {
+ my $query = qq|SELECT * FROM $table|;
+
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ $query = qq|INSERT INTO $table (|;
+ map { $query .= qq|$sth->{NAME}->[$_],| } (0 .. $sth->{NUM_OF_FIELDS} - 1);
+ chop $query;
+
+ $query .= qq|) VALUES|;
+
+ print OUT qq|--
+DELETE FROM $table;
+|;
+ while (my @arr = $sth->fetchrow_array) {
+
+ $fields = "(";
+ foreach my $item (@arr) {
+ if (defined $item) {
+ $item =~ s/'/''/g;
+ $fields .= qq|'$item',|;
+ } else {
+ $fields .= 'NULL,';
+ }
+ }
+
+ chop $fields;
+ $fields .= ")";
+
+ print OUT qq|$query $fields;\n|;
+ }
+
+ $sth->finish;
+ }
+
+ $query = qq|SELECT last_value FROM id|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ my ($id) = $sth->fetchrow_array;
+ $sth->finish;
+
+ print OUT qq|--
+DROP SEQUENCE id;
+CREATE SEQUENCE id START $id;
+|;
+
+ close(OUT);
+
+ $dbh->disconnect;
+
+ if ($form->{media} eq 'email') {
+ my $err = $mail->send($out);
+ $_ = $tmpfile;
+ unlink;
+ }
+
+}
+
+
+sub closedto {
+ my ($self, $myconfig, $form) = @_;
+
+ my $dbh = $form->dbconnect($myconfig);
+
+ my $query = qq|SELECT closedto, revtrans FROM defaults|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ ($form->{closedto}, $form->{revtrans}) = $sth->fetchrow_array;
+
+ $sth->finish;
+
+ $dbh->disconnect;
+
+}
+
+
+sub closebooks {
+ my ($self, $myconfig, $form) = @_;
+
+ my $dbh = $form->dbconnect($myconfig);
+
+ if ($form->{revtrans}) {
+
+ $query = qq|UPDATE defaults SET closedto = NULL,
+ revtrans = '1'|;
+ } else {
+ if ($form->{closedto}) {
+
+ $query = qq|UPDATE defaults SET closedto = '$form->{closedto}',
+ revtrans = '0'|;
+ } else {
+
+ $query = qq|UPDATE defaults SET closedto = NULL,
+ revtrans = '0'|;
+ }
+ }
+
+ # set close in defaults
+ $dbh->do($query) || $form->dberror($query);
+
+ $dbh->disconnect;
+
+}
+
+
+1;
+
diff --git a/sql-ledger/SL/AP.pm b/sql-ledger/SL/AP.pm
new file mode 100644
index 0000000..e1870f8
--- /dev/null
+++ b/sql-ledger/SL/AP.pm
@@ -0,0 +1,381 @@
+#=====================================================================
+# SQL-Ledger Accounting
+# Copyright (C) 2001
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+# Contributors:
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#======================================================================
+#
+# Accounts Payables database backend routines
+#
+#======================================================================
+
+
+package AP;
+
+
+sub post_transaction {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect_noauto($myconfig);
+
+ my ($null, $taxrate, $amount);
+ my $exchangerate = 0;
+
+ # split and store id numbers in link accounts
+ ($form->{AP}{payables}) = split(/--/, $form->{AP});
+ map { ($form->{AP}{"amount_$_"}) = split(/--/, $form->{"AP_amount_$_"}) } (1 .. $form->{rowcount});
+
+ if ($form->{currency} eq $form->{defaultcurrency}) {
+ $form->{exchangerate} = 1;
+ } else {
+ $exchangerate = $form->check_exchangerate($myconfig, $form->{currency}, $form->{transdate}, 'sell');
+
+ $form->{exchangerate} = ($exchangerate) ? $exchangerate : $form->parse_amount($myconfig, $form->{exchangerate});
+ }
+
+ # reverse and parse amounts
+ for my $i (1 .. $form->{rowcount}) {
+ $form->{"amount_$i"} = $form->round_amount($form->parse_amount($myconfig, $form->{"amount_$i"}) * $form->{exchangerate} * -1, 2);
+ $amount += ($form->{"amount_$i"} * -1);
+ }
+
+ # this is for ap
+ $form->{amount} = $amount;
+
+ # taxincluded doesn't make sense if there is no amount
+ $form->{taxincluded} = 0 if ($form->{amount} == 0);
+
+ for my $item (split / /, $form->{taxaccounts}) {
+ $form->{AP}{"tax_$item"} = $item;
+
+ $amount = $form->round_amount($form->parse_amount($myconfig, $form->{"tax_$item"}), 2);
+
+ $form->{"tax_$item"} = $form->round_amount($amount * $form->{exchangerate}, 2) * -1;
+ $form->{total_tax} += ($form->{"tax_$item"} * -1);
+ }
+
+
+ # adjust paidaccounts if there is no date in the last row
+ $form->{paidaccounts}-- unless ($form->{"datepaid_$form->{paidaccounts}"});
+
+ $form->{invpaid} = 0;
+ # add payments
+ for my $i (1 .. $form->{paidaccounts}) {
+ $form->{"paid_$i"} = $form->round_amount($form->parse_amount($myconfig, $form->{"paid_$i"}), 2);
+
+ $form->{invpaid} += $form->{"paid_$i"};
+ $form->{datepaid} = $form->{"datepaid_$i"};
+
+ }
+
+ $form->{invpaid} = $form->round_amount($form->{invpaid} * $form->{exchangerate}, 2);
+
+ if ($form->{taxincluded} *= 1) {
+ for $i (1 .. $form->{rowcount}) {
+ $tax = $form->{total_tax} * $form->{"amount_$i"} / $form->{amount};
+ $amount = $form->{"amount_$i"} - $tax;
+ $form->{"amount_$i"} = $form->round_amount($amount, 2);
+ $diff += $amount - $form->{"amount_$i"};
+ }
+
+ # deduct taxes from amount
+ $form->{amount} -= $form->{total_tax};
+ # deduct difference from amount_1
+ $form->{amount_1} += $form->round_amount($diff, 2);
+ }
+
+ $form->{netamount} = $form->{amount};
+
+ # store invoice total, this goes into ap table
+ $form->{invtotal} = $form->{amount} + $form->{total_tax};
+
+ # amount for total AP
+ $form->{payables} = $form->{invtotal};
+
+
+ my ($query, $sth);
+
+ # if we have an id delete old records
+ if ($form->{id}) {
+
+ # delete detail records
+ $query = qq|DELETE FROM acc_trans WHERE trans_id = $form->{id}|;
+
+ $dbh->do($query) || $form->dberror($query);
+
+ } else {
+ my $uid = time;
+ $uid .= $form->{login};
+
+ $query = qq|INSERT INTO ap (invnumber, employee_id)
+ VALUES ('$uid', (SELECT id FROM employee
+ WHERE login = '$form->{login}') )|;
+ $dbh->do($query) || $form->dberror($query);
+
+ $query = qq|SELECT id FROM ap
+ WHERE invnumber = '$uid'|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ ($form->{id}) = $sth->fetchrow_array;
+ $sth->finish;
+
+ }
+
+ # escape '
+ $form->{notes} =~ s/'/''/g;
+
+ $form->{datepaid} = $form->{transdate} unless ($form->{datepaid});
+ my $datepaid = ($form->{invpaid} != 0) ? qq|'$form->{datepaid}'| : 'NULL';
+
+ $query = qq|UPDATE ap SET
+ invnumber = '$form->{invnumber}',
+ transdate = '$form->{transdate}',
+ ordnumber = '$form->{ordnumber}',
+ vendor_id = $form->{vendor_id},
+ taxincluded = '$form->{taxincluded}',
+ amount = $form->{invtotal},
+ duedate = '$form->{duedate}',
+ paid = $form->{invpaid},
+ datepaid = $datepaid,
+ netamount = $form->{netamount},
+ curr = '$form->{currency}',
+ notes = '$form->{notes}'
+ WHERE id = $form->{id}
+ |;
+ $dbh->do($query) || $form->dberror($query);
+
+
+ # update exchangerate
+ if (($form->{currency} ne $form->{defaultcurrency}) && !$exchangerate) {
+ $form->update_exchangerate($dbh, $form->{currency}, $form->{transdate}, 0, $form->{exchangerate});
+ }
+
+ # add individual transactions
+ foreach my $item (keys %{ $form->{AP} }) {
+ if ($form->{$item} != 0) {
+ $project_id = 'NULL';
+ if ($item =~ /amount_/) {
+ if ($form->{"project_id_$'"} && $form->{"projectnumber_$'"}) {
+ $project_id = $form->{"project_id_$'"};
+ }
+ }
+
+ # insert detail records in acc_trans
+ $query = qq|INSERT INTO acc_trans (trans_id, chart_id, amount, transdate,
+ project_id)
+ VALUES ($form->{id}, (SELECT id FROM chart
+ WHERE accno = '$form->{AP}{$item}'),
+ $form->{$item}, '$form->{transdate}', $project_id)|;
+ $dbh->do($query) || $form->dberror($query);
+ }
+ }
+
+ # if there is no amount but a payment record a payable
+ if ($form->{amount} == 0 && $form->{invtotal} == 0) {
+ $form->{payables} = $form->{invpaid};
+ }
+
+ # add paid transactions
+ for my $i (1 .. $form->{paidaccounts}) {
+ if ($form->{"paid_$i"} != 0) {
+
+ $exchangerate = 0;
+ if ($form->{currency} eq $form->{defaultcurrency}) {
+ $form->{"exchangerate_$i"} = 1;
+ } else {
+ $exchangerate = $form->check_exchangerate($myconfig, $form->{currency}, $form->{"datepaid_$i"}, 'sell');
+
+ $form->{"exchangerate_$i"} = ($exchangerate) ? $exchangerate : $form->parse_amount($myconfig, $form->{"exchangerate_$i"});
+ }
+
+
+ # get paid account
+ ($form->{AP}{"paid_$i"}) = split(/--/, $form->{"AP_paid_$i"});
+ $form->{"datepaid_$i"} = $form->{transdate} unless ($form->{"datepaid_$i"});
+
+ # if there is no amount and invtotal is zero there is no exchangerate
+ if ($form->{amount} == 0 && $form->{invtotal} == 0) {
+ $form->{exchangerate} = $form->{"exchangerate_$i"};
+ }
+
+ $amount = $form->round_amount($form->{"paid_$i"} * $form->{exchangerate} * -1, 2);
+ if ($form->{payables}) {
+ $query = qq|INSERT INTO acc_trans (trans_id, chart_id, amount,
+ transdate)
+ VALUES ($form->{id},
+ (SELECT id FROM chart
+ WHERE accno = '$form->{AP}{payables}'),
+ $amount, '$form->{"datepaid_$i"}')|;
+ $dbh->do($query) || $form->dberror($query);
+ }
+ $form->{payables} = $amount;
+
+ # add payment
+ $query = qq|INSERT INTO acc_trans (trans_id, chart_id, amount,
+ transdate, source)
+ VALUES ($form->{id},
+ (SELECT id FROM chart
+ WHERE accno = '$form->{AP}{"paid_$i"}'),
+ $form->{"paid_$i"}, '$form->{"datepaid_$i"}',
+ '$form->{"source_$i"}')|;
+ $dbh->do($query) || $form->dberror($query);
+
+ # add exchange rate difference
+ $amount = $form->round_amount($form->{"paid_$i"} * ($form->{"exchangerate_$i"} - 1), 2);
+ if ($amount != 0) {
+ $query = qq|INSERT INTO acc_trans (trans_id, chart_id, amount,
+ transdate, fx_transaction, cleared)
+ VALUES ($form->{id},
+ (SELECT id FROM chart
+ WHERE accno = '$form->{AP}{"paid_$i"}'),
+ $amount, '$form->{"datepaid_$i"}', '1', '0')|;
+
+ $dbh->do($query) || $form->dberror($query);
+ }
+
+ # exchangerate gain/loss
+ $amount = $form->round_amount($form->{"paid_$i"} * ($form->{exchangerate} - $form->{"exchangerate_$i"}), 2);
+
+ if ($amount != 0) {
+ $accno = ($amount > 0) ? $form->{fxgain_accno} : $form->{fxloss_accno};
+ $query = qq|INSERT INTO acc_trans (trans_id, chart_id, amount,
+ transdate, fx_transaction, cleared)
+ VALUES ($form->{id}, (SELECT id FROM chart
+ WHERE accno = '$accno'),
+ $amount, '$form->{"datepaid_$i"}', '1', '0')|;
+ $dbh->do($query) || $form->dberror($query);
+ }
+
+ # update exchange rate record
+ if (($form->{currency} ne $form->{defaultcurrency}) && !$exchangerate) {
+ $form->update_exchangerate($dbh, $form->{currency}, $form->{"datepaid_$i"}, 0, $form->{"exchangerate_$i"});
+ }
+ }
+ }
+
+ my $rc = $dbh->commit;
+ $dbh->disconnect;
+
+ $rc;
+
+}
+
+
+
+
+sub delete_transaction {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect_noauto($myconfig);
+
+ # check for other foreign currency transactions
+ $form->delete_exchangerate($dbh) if ($form->{currency} ne $form->{defaultcurrency});
+
+ my $query = qq|DELETE FROM ap WHERE id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+
+ $query = qq|DELETE FROM acc_trans WHERE trans_id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+
+ # commit and redirect
+ my $rc = $dbh->commit;
+ $dbh->disconnect;
+
+ $rc;
+
+}
+
+
+
+
+sub ap_transactions {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ my $incemp = qq|, (SELECT e.name FROM employee e
+ WHERE a.employee_id = e.id) AS employee
+ | if ($form->{l_employee});
+
+ my $query = qq|SELECT a.id, a.invnumber, a.transdate, a.duedate,
+ a.amount, a.paid, a.ordnumber, v.name, a.invoice,
+ a.netamount, a.datepaid, a.notes
+
+ $incemp
+
+ FROM ap a, vendor v
+ WHERE a.vendor_id = v.id|;
+
+ if ($form->{vendor_id}) {
+ $query .= " AND a.vendor_id = $form->{vendor_id}";
+ } else {
+ if ($form->{vendor}) {
+ my $vendor = $form->like(lc $form->{vendor});
+ $query .= " AND lower(v.name) LIKE '$vendor'";
+ }
+ }
+ if ($form->{invnumber}) {
+ my $invnumber = $form->like(lc $form->{invnumber});
+ $query .= " AND lower(a.invnumber) LIKE '$invnumber'";
+ }
+ if ($form->{ordnumber}) {
+ my $ordnumber = $form->like(lc $form->{ordnumber});
+ $query .= " AND lower(a.ordnumber) LIKE '$ordnumber'";
+ }
+ if ($form->{notes}) {
+ my $notes = $form->like(lc $form->{notes});
+ $query .= " AND lower(a.notes) LIKE '$notes'";
+ }
+
+ $query .= " AND a.transdate >= '$form->{transdatefrom}'" if $form->{transdatefrom};
+ $query .= " AND a.transdate <= '$form->{transdateto}'" if $form->{transdateto};
+ if ($form->{open} || $form->{closed}) {
+ unless ($form->{open} && $form->{closed}) {
+ $query .= " AND a.amount <> a.paid" if ($form->{open});
+ $query .= " AND a.amount = a.paid" if ($form->{closed});
+ }
+ }
+
+ my @a = (transdate, invnumber, name);
+ push @a, "employee" if $self->{l_employee};
+ my $sortorder = join ', ', $form->sort_columns(@a);
+ $sortorder = $form->{sort} unless $sortorder;
+
+ $query .= " ORDER by $sortorder";
+
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while (my $ap = $sth->fetchrow_hashref(NAME_lc)) {
+ push @{ $form->{AP} }, $ap;
+ }
+
+ $sth->finish;
+ $dbh->disconnect;
+
+}
+
+
+1;
+
diff --git a/sql-ledger/SL/AR.pm b/sql-ledger/SL/AR.pm
new file mode 100644
index 0000000..4ea3d82
--- /dev/null
+++ b/sql-ledger/SL/AR.pm
@@ -0,0 +1,381 @@
+#=====================================================================
+# SQL-Ledger Accounting
+# Copyright (C) 2001
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+# Contributors:
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#======================================================================
+#
+# Accounts Receivable module backend routines
+#
+#======================================================================
+
+package AR;
+
+
+sub post_transaction {
+ my ($self, $myconfig, $form) = @_;
+
+ my ($null, $taxrate, $amount, $tax, $diff);
+ my $exchangerate = 0;
+ my $i;
+
+ # split and store id numbers in link accounts
+ map { ($form->{AR}{"amount_$_"}) = split(/--/, $form->{"AR_amount_$_"}) } (1 .. $form->{rowcount});
+ ($form->{AR}{receivables}) = split(/--/, $form->{AR});
+
+ if ($form->{currency} eq $form->{defaultcurrency}) {
+ $form->{exchangerate} = 1;
+ } else {
+ $exchangerate = $form->check_exchangerate($myconfig, $form->{currency}, $form->{transdate}, 'buy');
+ }
+
+ $form->{exchangerate} = ($exchangerate) ? $exchangerate : $form->parse_amount($myconfig, $form->{exchangerate});
+
+ for $i (1 .. $form->{rowcount}) {
+ $form->{"amount_$i"} = $form->round_amount($form->parse_amount($myconfig, $form->{"amount_$i"}) * $form->{exchangerate}, 2);
+ $amount += $form->{"amount_$i"};
+ }
+
+ # this is for ar
+ $form->{amount} = $amount;
+
+ # taxincluded doesn't make sense if there is no amount
+ $form->{taxincluded} = 0 if ($form->{amount} == 0);
+
+ foreach my $item (split / /, $form->{taxaccounts}) {
+ $form->{AR}{"tax_$item"} = $item;
+
+ $amount = $form->round_amount($form->parse_amount($myconfig, $form->{"tax_$item"}), 2);
+
+ $form->{"tax_$item"} = $form->round_amount($amount * $form->{exchangerate}, 2);
+ $form->{total_tax} += $form->{"tax_$item"};
+
+ }
+
+ # adjust paidaccounts if there is no date in the last row
+ $form->{paidaccounts}-- unless ($form->{"datepaid_$form->{paidaccounts}"});
+
+ $form->{invpaid} = 0;
+ # add payments
+ for $i (1 .. $form->{paidaccounts}) {
+ $form->{"paid_$i"} = $form->round_amount($form->parse_amount($myconfig, $form->{"paid_$i"}), 2);
+
+ $form->{invpaid} += $form->{"paid_$i"};
+ $form->{datepaid} = $form->{"datepaid_$i"};
+
+ # reverse payment
+ $form->{"paid_$i"} *= -1;
+
+ }
+
+ $form->{invpaid} = $form->round_amount($form->{invpaid} * $form->{exchangerate}, 2);
+
+ if ($form->{taxincluded} *= 1) {
+ for $i (1 .. $form->{rowcount}) {
+ $tax = $form->{total_tax} * $form->{"amount_$i"} / $form->{amount};
+ $amount = $form->{"amount_$i"} - $tax;
+ $form->{"amount_$i"} = $form->round_amount($amount, 2);
+ $diff += $amount - $form->{"amount_$i"};
+ }
+
+ $form->{amount} -= $form->{total_tax};
+ # deduct difference from amount_1
+ $form->{amount_1} += $form->round_amount($diff, 2);
+ }
+
+ # store invoice total, this goes into ar table
+ $form->{invtotal} = $form->{amount} + $form->{total_tax};
+
+ # connect to database
+ my $dbh = $form->dbconnect_noauto($myconfig);
+
+ my ($query, $sth);
+
+ # if we have an id delete old records
+ if ($form->{id}) {
+
+ # delete detail records
+ $query = qq|DELETE FROM acc_trans WHERE trans_id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+
+ } else {
+ my $uid = time;
+ $uid .= $form->{login};
+
+ $query = qq|INSERT INTO ar (invnumber, employee_id)
+ VALUES ('$uid', (SELECT id FROM employee
+ WHERE login = '$form->{login}') )|;
+ $dbh->do($query) || $form->dberror($query);
+
+ $query = qq|SELECT id FROM ar
+ WHERE invnumber = '$uid'|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ ($form->{id}) = $sth->fetchrow_array;
+ $sth->finish;
+
+ }
+
+ # escape '
+ $form->{notes} =~ s/'/''/g;
+
+ # record last payment date in ar table
+ $form->{datepaid} = $form->{transdate} unless $form->{datepaid};
+ my $datepaid = ($form->{invpaid} != 0) ? qq|'$form->{datepaid}'| : 'NULL';
+
+ $query = qq|UPDATE ar set
+ invnumber = '$form->{invnumber}',
+ ordnumber = '$form->{ordnumber}',
+ transdate = '$form->{transdate}',
+ customer_id = $form->{customer_id},
+ taxincluded = '$form->{taxincluded}',
+ amount = $form->{invtotal},
+ duedate = '$form->{duedate}',
+ paid = $form->{invpaid},
+ datepaid = $datepaid,
+ netamount = $form->{amount},
+ curr = '$form->{currency}',
+ notes = '$form->{notes}'
+ WHERE id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+
+
+ # amount for AR account
+ $form->{receivables} = $form->round_amount($form->{invtotal} * -1, 2);
+
+
+ # update exchangerate
+ if (($form->{currency} ne $form->{defaultcurrency}) && !$exchangerate) {
+ $form->update_exchangerate($dbh, $form->{currency}, $form->{transdate}, $form->{exchangerate}, 0);
+ }
+
+ # add individual transactions for AR, amount and taxes
+ foreach my $item (keys %{ $form->{AR} }) {
+ if ($form->{$item} != 0) {
+ $project_id = 'NULL';
+ if ($item =~ /amount_/) {
+ if ($form->{"project_id_$'"} && $form->{"projectnumber_$'"}) {
+ $project_id = $form->{"project_id_$'"};
+ }
+ }
+
+ # insert detail records in acc_trans
+ $query = qq|INSERT INTO acc_trans (trans_id, chart_id, amount, transdate,
+ project_id)
+ VALUES ($form->{id}, (SELECT id FROM chart
+ WHERE accno = '$form->{AR}{$item}'),
+ $form->{$item}, '$form->{transdate}', $project_id)|;
+ $dbh->do($query) || $form->dberror($query);
+ }
+ }
+
+ # if there is no amount but a payment record a receivables
+ if ($form->{amount} == 0 && $form->{invtotal} == 0) {
+ $form->{receivables} = $form->{invpaid} * -1;
+ }
+
+ # add paid transactions
+ for my $i (1 .. $form->{paidaccounts}) {
+ if ($form->{"paid_$i"} != 0) {
+
+ ($form->{AR}{"paid_$i"}) = split(/--/, $form->{"AR_paid_$i"});
+ $form->{"datepaid_$i"} = $form->{transdate} unless ($form->{"datepaid_$i"});
+
+ $exchangerate = 0;
+ if ($form->{currency} eq $form->{defaultcurrency}) {
+ $form->{"exchangerate_$i"} = 1;
+ } else {
+ $exchangerate = $form->check_exchangerate($myconfig, $form->{currency}, $form->{"datepaid_$i"}, 'buy');
+
+ $form->{"exchangerate_$i"} = ($exchangerate) ? $exchangerate : $form->parse_amount($myconfig, $form->{"exchangerate_$i"});
+ }
+
+
+ # if there is no amount and invtotal is zero there is no exchangerate
+ if ($form->{amount} == 0 && $form->{invtotal} == 0) {
+ $form->{exchangerate} = $form->{"exchangerate_$i"};
+ }
+
+ # receivables amount
+ $amount = $form->round_amount($form->{"paid_$i"} * $form->{exchangerate} * -1, 2);
+
+ if ($form->{receivables} != 0) {
+ # add receivable
+ $query = qq|INSERT INTO acc_trans (trans_id, chart_id, amount,
+ transdate)
+ VALUES ($form->{id},
+ (SELECT id FROM chart
+ WHERE accno = '$form->{AR}{receivables}'),
+ $amount, '$form->{"datepaid_$i"}')|;
+ $dbh->do($query) || $form->dberror($query);
+ }
+ $form->{receivables} = $amount;
+
+ # add payment
+ $query = qq|INSERT INTO acc_trans (trans_id, chart_id, amount,
+ transdate, source)
+ VALUES ($form->{id},
+ (SELECT id FROM chart
+ WHERE accno = '$form->{AR}{"paid_$i"}'),
+ $form->{"paid_$i"}, '$form->{"datepaid_$i"}',
+ '$form->{"source_$i"}')|;
+ $dbh->do($query) || $form->dberror($query);
+
+
+ # exchangerate difference for payment
+ $amount = $form->round_amount($form->{"paid_$i"} * ($form->{"exchangerate_$i"} - 1), 2);
+
+ if ($amount != 0) {
+ $query = qq|INSERT INTO acc_trans (trans_id, chart_id, amount,
+ transdate, fx_transaction, cleared)
+ VALUES ($form->{id},
+ (SELECT id FROM chart
+ WHERE accno = '$form->{AR}{"paid_$i"}'),
+ $amount, '$form->{"datepaid_$i"}', '1', '0')|;
+ $dbh->do($query) || $form->dberror($query);
+ }
+
+ # exchangerate gain/loss
+ $amount = $form->round_amount($form->{"paid_$i"} * ($form->{exchangerate} - $form->{"exchangerate_$i"}), 2);
+
+ if ($amount != 0) {
+ $accno = ($amount > 0) ? $form->{fxgain_accno} : $form->{fxloss_accno};
+ $query = qq|INSERT INTO acc_trans (trans_id, chart_id, amount,
+ transdate, fx_transaction, cleared)
+ VALUES ($form->{id}, (SELECT id FROM chart
+ WHERE accno = '$accno'),
+ $amount, '$form->{"datepaid_$i"}', '1', '0')|;
+ $dbh->do($query) || $form->dberror($query);
+ }
+
+ # update exchangerate record
+ if (($form->{currency} ne $form->{defaultcurrency}) && !$exchangerate) {
+ $form->update_exchangerate($dbh, $form->{currency}, $form->{"datepaid_$i"}, $form->{"exchangerate_$i"}, 0);
+ }
+ }
+ }
+
+
+ my $rc = $dbh->commit;
+ $dbh->disconnect;
+
+ $rc;
+
+}
+
+
+
+sub delete_transaction {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database, turn AutoCommit off
+ my $dbh = $form->dbconnect_noauto($myconfig);
+
+ # check for other foreign currency transactions
+ $form->delete_exchangerate($dbh) if ($form->{currency} ne $form->{defaultcurrency});
+
+ my $query = qq|DELETE FROM ar WHERE id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+
+ $query = qq|DELETE FROM acc_trans WHERE trans_id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+
+ # commit
+ my $rc = $dbh->commit;
+ $dbh->disconnect;
+
+ $rc;
+
+}
+
+
+
+sub ar_transactions {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ my $incemp = qq|, (SELECT e.name FROM employee e
+ WHERE a.employee_id = e.id) AS employee
+ | if ($form->{l_employee});
+
+ my $query = qq|SELECT a.id, a.invnumber, a.ordnumber, a.transdate,
+ a.duedate, a.netamount, a.amount, a.paid, c.name,
+ a.invoice, a.datepaid, a.terms, a.notes, a.shippingpoint
+
+ $incemp
+
+ FROM ar a, customer c
+ WHERE a.customer_id = c.id|;
+
+ if ($form->{customer_id}) {
+ $query .= " AND a.customer_id = $form->{customer_id}";
+ } else {
+ if ($form->{customer}) {
+ my $customer = $form->like(lc $form->{customer});
+ $query .= " AND lower(c.name) LIKE '$customer'";
+ }
+ }
+ if ($form->{invnumber}) {
+ my $invnumber = $form->like(lc $form->{invnumber});
+ $query .= " AND lower(a.invnumber) LIKE '$invnumber'";
+ }
+ if ($form->{ordnumber}) {
+ my $ordnumber = $form->like(lc $form->{ordnumber});
+ $query .= " AND lower(a.ordnumber) LIKE '$ordnumber'";
+ }
+ if ($form->{notes}) {
+ my $notes = $form->like(lc $form->{notes});
+ $query .= " AND lower(a.notes) LIKE '$notes'";
+ }
+
+ $query .= " AND a.transdate >= '$form->{transdatefrom}'" if $form->{transdatefrom};
+ $query .= " AND a.transdate <= '$form->{transdateto}'" if $form->{transdateto};
+ if ($form->{open} || $form->{closed}) {
+ unless ($form->{open} && $form->{closed}) {
+ $query .= " AND a.amount <> a.paid" if ($form->{open});
+ $query .= " AND a.amount = a.paid" if ($form->{closed});
+ }
+ }
+
+ my @a = (transdate, invnumber, name);
+ push @a, "employee" if $form->{l_employee};
+ my $sortorder = join ', ', $form->sort_columns(@a);
+ $sortorder = $form->{sort} unless $sortorder;
+
+ $query .= " ORDER by $sortorder";
+
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while (my $ar = $sth->fetchrow_hashref(NAME_lc)) {
+ push @{ $form->{AR} }, $ar;
+ }
+
+ $sth->finish;
+ $dbh->disconnect;
+
+}
+
+
+1;
+
diff --git a/sql-ledger/SL/CA.pm b/sql-ledger/SL/CA.pm
new file mode 100644
index 0000000..b71749d
--- /dev/null
+++ b/sql-ledger/SL/CA.pm
@@ -0,0 +1,262 @@
+#=====================================================================
+# SQL-Ledger Accounting
+# Copyright (C) 2001
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+# Contributors:
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#======================================================================
+# chart of accounts
+#
+# CHANGE LOG:
+# DS. 2000-07-04 Created
+#
+#======================================================================
+
+
+package CA;
+
+
+sub all_accounts {
+ my ($self, $myconfig, $form) = @_;
+
+ my $amount = ();
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ my $query = qq|SELECT accno,
+ SUM(acc_trans.amount) AS amount
+ FROM chart, acc_trans
+ WHERE chart.id = acc_trans.chart_id
+ GROUP BY accno|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while (my $ref = $sth->fetchrow_hashref(NAME_lc)) {
+ $amount{$ref->{accno}} = $ref->{amount}
+ }
+ $sth->finish;
+
+ $query = qq|SELECT accno, description
+ FROM gifi|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ my $gifi = ();
+ while (my ($accno, $description) = $sth->fetchrow_array) {
+ $gifi{$accno} = $description;
+ }
+ $sth->finish;
+
+ $query = qq|SELECT c.id, c.accno, c.description, c.charttype, c.gifi_accno,
+ c.category, c.link
+ FROM chart c
+ ORDER BY accno|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while (my $ca = $sth->fetchrow_hashref(NAME_lc)) {
+ $ca->{amount} = $amount{$ca->{accno}};
+ $ca->{gifi_description} = $gifi{$ca->{gifi_accno}};
+ if ($ca->{amount} < 0) {
+ $ca->{debit} = $ca->{amount} * -1;
+ } else {
+ $ca->{credit} = $ca->{amount};
+ }
+ push @{ $form->{CA} }, $ca;
+ }
+
+ $sth->finish;
+ $dbh->disconnect;
+
+}
+
+
+sub all_transactions {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ # get chart_id
+ my $query = qq|SELECT id FROM chart
+ WHERE accno = '$form->{accno}'|;
+ if ($form->{accounttype} eq 'gifi') {
+ $query = qq|SELECT id FROM chart
+ WHERE gifi_accno = '$form->{gifi_accno}'|;
+ }
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ my @id = ();
+ while (my ($id) = $sth->fetchrow_array) {
+ push @id, $id;
+ }
+
+ $sth->finish;
+
+ my $where = '1 = 1';
+ # build WHERE clause from dates if any
+ if ($form->{fromdate}) {
+ $where .= " AND ac.transdate >= '$form->{fromdate}'";
+ }
+ if ($form->{todate}) {
+ $where .= " AND ac.transdate <= '$form->{todate}'";
+ }
+
+ my $sortorder = join ', ', $form->sort_columns(qw(transdate reference description));
+ my $false = ($myconfig->{dbdriver} eq 'Pg') ? FALSE : q|'0'|;
+
+ # Oracle workaround, use ordinal positions
+ my %ordinal = ( transdate => 4,
+ reference => 2,
+ description => 3 );
+ map { $sortorder =~ s/$_/$ordinal{$_}/ } keys %ordinal;
+
+
+ if ($form->{accno}) {
+ # get category for account
+ $query = qq|SELECT category
+ FROM chart
+ WHERE accno = '$form->{accno}'|;
+ $sth = $dbh->prepare($query);
+
+ $sth->execute || $form->dberror($query);
+ ($form->{category}) = $sth->fetchrow_array;
+ $sth->finish;
+
+ if ($form->{fromdate}) {
+ # get beginning balance
+ $query = qq|SELECT SUM(ac.amount)
+ FROM acc_trans ac, chart c
+ WHERE ac.chart_id = c.id
+ AND c.accno = '$form->{accno}'
+ AND ac.transdate < date '$form->{fromdate}'
+ |;
+ $sth = $dbh->prepare($query);
+
+ $sth->execute || $form->dberror($query);
+ ($form->{balance}) = $sth->fetchrow_array;
+ $sth->finish;
+ }
+ }
+
+ if ($form->{accounttype} eq 'gifi' && $form->{gifi_accno}) {
+ # get category for account
+ $query = qq|SELECT category
+ FROM chart
+ WHERE gifi_accno = '$form->{gifi_accno}'|;
+ $sth = $dbh->prepare($query);
+
+ $sth->execute || $form->dberror($query);
+ ($form->{category}) = $sth->fetchrow_array;
+ $sth->finish;
+
+ if ($form->{fromdate}) {
+ # get beginning balance
+ $query = qq|SELECT SUM(ac.amount)
+ FROM acc_trans ac, chart c
+ WHERE ac.chart_id = c.id
+ AND c.gifi_accno = '$form->{gifi_accno}'
+ AND ac.transdate < date '$form->{fromdate}'
+ |;
+ $sth = $dbh->prepare($query);
+
+ $sth->execute || $form->dberror($query);
+ ($form->{balance}) = $sth->fetchrow_array;
+ $sth->finish;
+ }
+ }
+
+ $query = "";
+
+ foreach my $id (@id) {
+
+ # get all transactions
+ $query .= qq|
+ SELECT g.id, g.reference, g.description, ac.transdate,
+ $false AS invoice,
+ ac.amount, 'gl' as charttype
+ FROM gl g, acc_trans ac
+ WHERE $where
+ AND ac.chart_id = $id
+ AND ac.trans_id = g.id
+ UNION ALL
+ SELECT a.id, a.invnumber, c.name, ac.transdate,
+ a.invoice,
+ ac.amount, 'ar' as charttype
+ FROM ar a, acc_trans ac, customer c
+ WHERE $where
+ AND ac.chart_id = $id
+ AND ac.trans_id = a.id
+ AND a.customer_id = c.id
+ UNION ALL
+ SELECT a.id, a.invnumber, v.name, ac.transdate,
+ a.invoice,
+ ac.amount, 'ap' as charttype
+ FROM ap a, acc_trans ac, vendor v
+ WHERE $where
+ AND ac.chart_id = $id
+ AND ac.trans_id = a.id
+ AND a.vendor_id = v.id
+ UNION ALL|;
+ }
+
+ $query =~ s/UNION ALL$//;
+ $query .= qq|
+ ORDER BY $sortorder|;
+
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while (my $ca = $sth->fetchrow_hashref(NAME_lc)) {
+
+ # gl
+ if ($ca->{charttype} eq "gl") {
+ $ca->{module} = "gl";
+ }
+
+ # ap
+ if ($ca->{charttype} eq "ap") {
+ $ca->{module} = ($ca->{invoice}) ? 'ir' : 'ap';
+ }
+
+ # ar
+ if ($ca->{charttype} eq "ar") {
+ $ca->{module} = ($ca->{invoice}) ? 'is' : 'ar';
+ }
+
+ if ($ca->{amount} < 0) {
+ $ca->{debit} = $ca->{amount} * -1;
+ $ca->{credit} = 0;
+ } else {
+ $ca->{credit} = $ca->{amount};
+ $ca->{debit} = 0;
+ }
+
+ push @{ $form->{CA} }, $ca;
+
+ }
+
+ $sth->finish;
+ $dbh->disconnect;
+
+}
+
+1;
+
diff --git a/sql-ledger/SL/CP.pm b/sql-ledger/SL/CP.pm
new file mode 100644
index 0000000..f84bd15
--- /dev/null
+++ b/sql-ledger/SL/CP.pm
@@ -0,0 +1,308 @@
+#=====================================================================
+# SQL-Ledger Accounting
+# Copyright (C) 2002
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+# Contributors:
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#======================================================================
+#
+# Check and receipt printing payment module backend routines
+# Number to text conversion routines are in
+# locale/{countrycode}/Num2text
+#
+#======================================================================
+
+package CP;
+
+
+sub new {
+ my ($type, $countrycode) = @_;
+
+ $self = {};
+
+ if ($countrycode) {
+ if (-f "locale/$countrycode/Num2text") {
+ require "locale/$countrycode/Num2text";
+ } else {
+ use SL::Num2text;
+ }
+ } else {
+ use SL::Num2text;
+ }
+
+ bless $self, $type;
+
+}
+
+
+sub paymentaccounts {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ my $query = qq|SELECT accno, description
+ FROM chart
+ WHERE link LIKE '%$form->{arap}_paid%'
+ ORDER BY accno|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while (my $ref = $sth->fetchrow_hashref(NAME_lc)) {
+ push @{ $form->{PR} }, $ref;
+ }
+ $sth->finish;
+
+ # get currencies and closedto
+ $query = qq|SELECT curr, closedto
+ FROM defaults|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ ($form->{currencies}, $form->{closedto}) = $sth->fetchrow_array;
+ $sth->finish;
+
+ $dbh->disconnect;
+
+}
+
+
+sub get_openvc {
+ my ($self, $myconfig, $form) = @_;
+
+ my $dbh = $form->dbconnect($myconfig);
+
+ my $arap = ($form->{vc} eq 'customer') ? 'ar' : 'ap';
+
+ my $query = qq|SELECT count(*)
+ FROM $form->{vc} ct, $arap a
+ WHERE a.$form->{vc}_id = ct.id
+ AND a.amount != a.paid|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+ my ($count) = $sth->fetchrow_array;
+ $sth->finish;
+
+ # build selection list
+ if ($count < $myconfig->{vclimit}) {
+ $query = qq|SELECT DISTINCT ct.id, ct.name
+ FROM $form->{vc} ct, $arap a
+ WHERE a.$form->{vc}_id = ct.id
+ AND a.amount != a.paid
+ ORDER BY name|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while (my $ref = $sth->fetchrow_hashref(NAME_lc)) {
+ push @{ $form->{"all_$form->{vc}"} }, $ref;
+ }
+
+ $sth->finish;
+
+ }
+
+ $dbh->disconnect;
+
+}
+
+
+sub get_openinvoices {
+ my ($self, $myconfig, $form) = @_;
+
+ return unless $form->{"$form->{vc}_id"};
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ my $where = qq|WHERE $form->{vc}_id = $form->{"$form->{vc}_id"}
+ AND curr = '$form->{currency}'
+ AND NOT amount = paid|;
+
+ if ($form->{transdatefrom}) {
+ $where .= " AND transdate >= '$form->{transdatefrom}'";
+ }
+ if ($form->{transdateto}) {
+ $where .= " AND transdate <= '$form->{transdateto}'";
+ }
+
+ my ($arap, $buysell);
+ if ($form->{vc} eq 'customer') {
+ $arap = "ar";
+ $buysell = "buy";
+ } else {
+ $arap = "ap";
+ $buysell = "sell";
+ }
+
+ my $query = qq|SELECT id, invnumber, transdate, amount, paid, curr
+ FROM $arap
+ $where
+ ORDER BY id|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while ($ref = $sth->fetchrow_hashref(NAME_lc)) {
+ # if this is a foreign currency transaction get exchangerate
+ $ref->{exchangerate} = $form->get_exchangerate($dbh, $ref->{curr}, $ref->{transdate}, $buysell) if ($form->{currency} ne $form->{defaultcurrency});
+ push @{ $form->{PR} }, $ref;
+ }
+
+ $sth->finish;
+ $dbh->disconnect;
+
+}
+
+
+
+sub process_payment {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database, turn AutoCommit off
+ my $dbh = $form->dbconnect_noauto($myconfig);
+
+ my ($paymentaccno) = split /--/, $form->{account};
+
+ # if currency ne defaultcurrency update exchangerate
+ if ($form->{currency} ne $form->{defaultcurrency}) {
+ $form->{exchangerate} = $form->parse_amount($myconfig, $form->{exchangerate});
+
+ if ($form->{vc} eq 'customer') {
+ $form->update_exchangerate($dbh, $form->{currency}, $form->{datepaid}, $form->{exchangerate}, 0);
+ } else {
+ $form->update_exchangerate($dbh, $form->{currency}, $form->{datepaid}, 0, $form->{exchangerate});
+ }
+ } else {
+ $form->{exchangerate} = 1;
+ }
+
+ my $query = qq|SELECT fxgain_accno_id, fxloss_accno_id
+ FROM defaults|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ my ($fxgain_accno_id, $fxloss_accno_id) = $sth->fetchrow_array;
+ $sth->finish;
+
+ my ($ARAP, $arap, $buysell);
+
+ if ($form->{vc} eq 'customer') {
+ $ARAP = "AR";
+ $arap = "ar";
+ $buysell = "buy";
+ } else {
+ $ARAP = "AP";
+ $arap = "ap";
+ $buysell = "sell";
+ }
+
+ # go through line by line
+ for my $i (1 .. $form->{rowcount}) {
+
+ if ($form->{"paid_$i"}) {
+
+ $form->{"paid_$i"} = $form->parse_amount($myconfig, $form->{"paid_$i"});
+
+ # get exchangerate for original
+ $query = qq|SELECT $buysell FROM exchangerate e, $arap a
+ WHERE e.curr = '$form->{currency}'
+ AND a.transdate = e.transdate
+ AND a.id = $form->{"id_$i"}|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ my ($exchangerate) = $sth->fetchrow_array;
+ $sth->finish;
+
+ $exchangerate = 1 unless $exchangerate;
+
+ $query = qq|SELECT c.id FROM chart c, acc_trans a
+ WHERE a.chart_id = c.id
+ AND c.link = '$ARAP'
+ AND a.trans_id = $form->{"id_$i"}|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ my ($id) = $sth->fetchrow_array;
+ $sth->finish;
+
+ my $amount = $form->round_amount($form->{"paid_$i"} * $exchangerate * -1, 2);
+ $ml = ($ARAP eq 'AR') ? -1 : 1;
+ # add AR/AP
+ $query = qq|INSERT INTO acc_trans (trans_id, chart_id, transdate, amount)
+ VALUES ($form->{"id_$i"}, $id,
+ '$form->{datepaid}', $amount * $ml)|;
+ $dbh->do($query) || $form->dberror($query);
+
+ # add payment
+ $query = qq|INSERT INTO acc_trans (trans_id, chart_id, transdate, amount,
+ source)
+ VALUES ($form->{"id_$i"},
+ (SELECT id FROM chart
+ WHERE accno = '$paymentaccno'),
+ '$form->{datepaid}', $form->{"paid_$i"} * $ml,
+ '$form->{source}')|;
+ $dbh->do($query) || $form->dberror($query);
+
+ # add exchangerate difference if currency ne defaultcurrency
+ $amount = $form->round_amount($form->{"paid_$i"} * ($form->{exchangerate} - 1), 2);
+
+ if ($amount != 0) {
+ # exchangerate difference
+ $query = qq|INSERT INTO acc_trans (trans_id, chart_id, transdate,
+ amount, cleared, fx_transaction)
+ VALUES ($form->{"id_$i"},
+ (SELECT id FROM chart
+ WHERE accno = '$paymentaccno'),
+ '$form->{datepaid}', $amount * $ml, '0', '1')|;
+ $dbh->do($query) || $form->dberror($query);
+
+ # gain/loss
+
+ $amount = $form->round_amount($form->{"paid_$i"} * ($exchangerate - $form->{exchangerate}) * $ml, 2);
+ if ($amount != 0) {
+ my $accno_id = ($amount > 0) ? $fxgain_accno_id : $fxloss_accno_id;
+ $query = qq|INSERT INTO acc_trans (trans_id, chart_id, transdate,
+ amount, cleared, fx_transaction)
+ VALUES ($form->{"id_$i"}, $accno_id,
+ '$form->{datepaid}', $amount, '0', '1')|;
+ $dbh->do($query) || $form->dberror($query);
+ }
+ }
+
+ $form->{"paid_$i"} = $form->round_amount($form->{"paid_$i"} * $exchangerate, 2);
+
+ # update AR/AP transaction
+ $query = qq|UPDATE $arap set
+ paid = paid + $form->{"paid_$i"},
+ datepaid = '$form->{datepaid}'
+ WHERE id = $form->{"id_$i"}|;
+ $dbh->do($query) || $form->dberror($query);
+ }
+ }
+
+ my $rc = $dbh->commit;
+ $dbh->disconnect;
+
+ $rc;
+
+}
+
+
+1;
+
diff --git a/sql-ledger/SL/CT.pm b/sql-ledger/SL/CT.pm
new file mode 100644
index 0000000..7c42cb8
--- /dev/null
+++ b/sql-ledger/SL/CT.pm
@@ -0,0 +1,447 @@
+#=====================================================================
+# SQL-Ledger Accounting
+# Copyright (C) 2001
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+# Contributors:
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#======================================================================
+#
+# backend code for customers and vendors
+#
+# CHANGE LOG:
+# DS. 2000-07-04 Created
+#
+#======================================================================
+
+package CT;
+
+
+sub get_tuple {
+ my ($self, $myconfig, $form) = @_;
+
+ my $dbh = $form->dbconnect($myconfig);
+ my $query = qq|SELECT *
+ FROM $form->{db}
+ WHERE id = $form->{id}|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ my $ref = $sth->fetchrow_hashref(NAME_lc);
+
+ map { $form->{$_} = $ref->{$_} } keys %$ref;
+
+ $sth->finish;
+
+
+ # get ship to
+ $query = qq|SELECT *
+ FROM shipto
+ WHERE trans_id = $form->{id}|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ $ref = $sth->fetchrow_hashref(NAME_lc);
+
+ map { $form->{$_} = $ref->{$_} } keys %$ref;
+
+ $sth->finish;
+
+
+ # get tax labels
+ $query = qq|SELECT accno, description
+ FROM chart, tax
+ WHERE link LIKE '%CT_tax%'
+ AND chart.id = tax.chart_id
+ ORDER BY accno|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while ($ref = $sth->fetchrow_hashref(NAME_lc)) {
+ $form->{taxaccounts} .= "$ref->{accno} ";
+ $form->{tax}{$ref->{accno}}{description} = $ref->{description};
+ }
+ $sth->finish;
+ chop $form->{taxaccounts};
+
+ # get taxes for customer/vendor
+ $query = qq|SELECT chart_id, accno
+ FROM $form->{db}tax, chart
+ WHERE chart_id = chart.id
+ AND $form->{db}_id = $form->{id}|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while ($ref = $sth->fetchrow_hashref(NAME_lc)) {
+ $form->{tax}{$ref->{accno}}{taxable} = 1;
+ }
+ $sth->finish;
+
+
+ $dbh->disconnect;
+
+}
+
+
+sub taxaccounts {
+ my ($self, $myconfig, $form) = @_;
+
+ my $dbh = $form->dbconnect($myconfig);
+
+ # get tax labels
+ my $query = qq|SELECT accno, description
+ FROM chart, tax
+ WHERE link LIKE '%CT_tax%'
+ AND chart.id = tax.chart_id
+ ORDER BY accno|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while (my $taxref = $sth->fetchrow_hashref(NAME_lc)) {
+ $form->{taxaccounts} .= "$taxref->{accno} ";
+ $form->{tax}{$taxref->{accno}}{description} = $taxref->{description};
+ }
+ $sth->finish;
+ chop $form->{taxaccounts};
+
+ $dbh->disconnect;
+
+}
+
+
+sub delete_customer {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database, turn AutoCommit off
+ my $dbh = $form->dbconnect_noauto($myconfig);
+
+ my $query = qq|SELECT id FROM ar
+ WHERE customer_id = $form->{id}
+ UNION
+ SELECT id FROM oe
+ WHERE customer_id = $form->{id}|;
+ my $sth = $dbh->prepare($query) || $form->dberror($query);
+ $sth->execute;
+
+ my ($rc) = $sth->fetchrow_array;
+ $sth->finish;
+
+ if ($rc) {
+ $dbh->disconnect;
+ $rc = -1;
+ } else {
+
+ # delete customer
+ $query = qq|DELETE FROM customer
+ WHERE id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+
+ $query = qq|DELETE FROM shipto
+ WHERE trans_id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+
+ $query = qq|DELETE FROM customertax
+ WHERE customer_id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+
+ # commit and redirect
+ $rc = $dbh->commit;
+ $dbh->disconnect;
+
+ }
+
+ $rc;
+
+}
+
+
+sub save_customer {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ # escape '
+ map { $form->{$_} =~ s/'/''/g } qw(customernumber name addr1 addr2 addr3 addr4 contact notes);
+
+ # assign value discount, terms, creditlimit
+ $form->{discount} /= 100;
+ $form->{terms} *= 1;
+ $form->{taxincluded} *= 1;
+ $form->{creditlimit} = $form->parse_amount($myconfig, $form->{creditlimit});
+
+ my ($query, $sth);
+
+ if ($form->{id}) {
+ $query = qq|DELETE FROM customertax
+ WHERE customer_id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+
+ $query = qq|DELETE FROM shipto
+ WHERE trans_id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+ } else {
+ my $uid = time;
+ $uid .= $form->{login};
+
+ $query = qq|INSERT INTO customer (name)
+ VALUES ('$uid')|;
+ $dbh->do($query) || $form->dberror($query);
+
+ $query = qq|SELECT id FROM customer
+ WHERE name = '$uid'|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ ($form->{id}) = $sth->fetchrow_array;
+ $sth->finish;
+
+ }
+
+ $query = qq|UPDATE customer SET
+ customernumber = '$form->{customernumber}',
+ name = '$form->{name}',
+ addr1 = '$form->{addr1}',
+ addr2 = '$form->{addr2}',
+ addr3 = '$form->{addr3}',
+ addr4 = '$form->{addr4}',
+ contact = '$form->{contact}',
+ phone = '$form->{phone}',
+ fax = '$form->{fax}',
+ email = '$form->{email}',
+ cc = '$form->{cc}',
+ bcc = '$form->{bcc}',
+ notes = '$form->{notes}',
+ discount = $form->{discount},
+ creditlimit = $form->{creditlimit},
+ terms = $form->{terms},
+ taxincluded = '$form->{taxincluded}'
+ WHERE id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+
+ # save taxes
+ foreach $item (split / /, $form->{taxaccounts}) {
+ if ($form->{"tax_$item"}) {
+ $query = qq|INSERT INTO customertax (customer_id, chart_id)
+ VALUES ($form->{id}, (SELECT id
+ FROM chart
+ WHERE accno = '$item'))|;
+ $dbh->do($query) || $form->dberror($query);
+ }
+ }
+
+ # add shipto
+ $form->add_shipto($dbh, $form->{id});
+
+ $dbh->disconnect;
+
+}
+
+
+sub save_vendor {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ # escape '
+ map { $form->{$_} =~ s/'/''/g } qw(vendornumber name addr1 addr2 addr3 addr4 contact notes);
+
+ $form->{terms} *= 1;
+ $form->{taxincluded} *= 1;
+
+ my $query;
+
+ if ($form->{id}) {
+ $query = qq|DELETE FROM vendortax
+ WHERE vendor_id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+
+ $query = qq|DELETE FROM shipto
+ WHERE trans_id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+ } else {
+ my $uid = time;
+ $uid .= $form->{login};
+
+ $query = qq|INSERT INTO vendor (name)
+ VALUES ('$uid')|;
+ $dbh->do($query) || $form->dberror($query);
+
+ $query = qq|SELECT id FROM vendor
+ WHERE name = '$uid'|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ ($form->{id}) = $sth->fetchrow_array;
+ $sth->finish;
+
+ }
+
+
+ $query = qq|UPDATE vendor SET
+ vendornumber = '$form->{vendornumber}',
+ name = '$form->{name}',
+ addr1 = '$form->{addr1}',
+ addr2 = '$form->{addr2}',
+ addr3 = '$form->{addr3}',
+ addr4 = '$form->{addr4}',
+ contact = '$form->{contact}',
+ phone = '$form->{phone}',
+ fax = '$form->{fax}',
+ email = '$form->{email}',
+ cc = '$form->{cc}',
+ bcc = '$form->{bcc}',
+ notes = '$form->{notes}',
+ terms = $form->{terms},
+ taxincluded = '$form->{taxincluded}'
+ WHERE id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+
+ # save taxes
+ foreach $item (split / /, $form->{taxaccounts}) {
+ if ($form->{"tax_$item"}) {
+ $query = qq|INSERT INTO vendortax (vendor_id, chart_id)
+ VALUES ($form->{id}, (SELECT id
+ FROM chart
+ WHERE accno = '$item'))|;
+ $dbh->do($query) || $form->dberror($query);
+ }
+ }
+
+ # add shipto
+ $form->add_shipto($dbh, $form->{id});
+
+ $dbh->disconnect;
+
+}
+
+
+
+sub delete_vendor {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database, turn AutoCommit off
+ my $dbh = $form->dbconnect_noauto($myconfig);
+
+ # check if there are any transactions on file
+ my $query = qq|SELECT id FROM ap
+ WHERE vendor_id = $form->{id}
+ UNION
+ SELECT id FROM oe
+ WHERE vendor_id = $form->{id}|;
+ my $sth = $dbh->prepare($query) || $form->dberror($query);
+ $sth->execute;
+
+ my ($rc) = $sth->fetchrow_array;
+ $sth->finish;
+
+ if ($rc) {
+ $dbh->disconnect;
+ $rc = -1;
+ } else {
+
+ # delete vendor
+ $query = qq|DELETE FROM vendor
+ WHERE id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+
+ $query = qq|DELETE FROM shipto
+ WHERE trans_id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+
+ $query = qq|DELETE FROM vendortax
+ WHERE vendor_id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+
+ # commit and redirect
+ $rc = $dbh->commit;
+ $dbh->disconnect;
+
+ }
+
+ $rc;
+
+}
+
+
+sub search {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ my $where = "1 = 1";
+ $form->{sort} = "name" unless ($form->{sort});
+
+ if ($form->{"$form->{db}number"}) {
+ my $companynumber = $form->like(lc $form->{"$form->{db}number"});
+ $where .= " AND lower($form->{db}number) LIKE '$companynumber'";
+ }
+ if ($form->{name}) {
+ my $name = $form->like(lc $form->{name});
+ $where .= " AND lower(name) LIKE '$name'";
+ }
+ if ($form->{contact}) {
+ my $contact = $form->like(lc $form->{contact});
+ $where .= " AND lower(contact) LIKE '$contact'";
+ }
+ if ($form->{email}) {
+ my $email = $form->like(lc $form->{email});
+ $where .= " AND lower(email) LIKE '$email'";
+ }
+
+ if ($form->{status} eq 'orphaned') {
+ $where .= qq| AND id NOT IN (SELECT o.$form->{db}_id
+ FROM oe o, $form->{db} ct
+ WHERE ct.id = o.$form->{db}_id)|;
+ if ($form->{db} eq 'customer') {
+ $where .= qq| AND id NOT IN (SELECT a.customer_id
+ FROM ar a, customer ct
+ WHERE ct.id = a.customer_id)|;
+ }
+ if ($form->{db} eq 'vendor') {
+ $where .= qq| AND id NOT IN (SELECT a.vendor_id
+ FROM ap a, vendor ct
+ WHERE ct.id = a.vendor_id)|;
+ }
+ }
+
+ my $query = qq~SELECT id, name, $form->{db}number,
+ addr1 || ' ' || addr2 || ' ' || addr3 || ' ' || addr4 AS address,
+ contact, phone, fax, email, cc, terms
+ FROM $form->{db}
+ WHERE $where
+ ORDER BY $form->{sort}~;
+
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+
+ while (my $ref = $sth->fetchrow_hashref(NAME_lc)) {
+ push @{ $form->{CT} }, $ref;
+ }
+
+ $sth->finish;
+ $dbh->disconnect;
+
+}
+
+
+1;
+
diff --git a/sql-ledger/SL/Form.pm b/sql-ledger/SL/Form.pm
new file mode 100644
index 0000000..ef5f2ca
--- /dev/null
+++ b/sql-ledger/SL/Form.pm
@@ -0,0 +1,1397 @@
+#=====================================================================
+# SQL-Ledger Accounting
+# Copyright (C) 1998-2003
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+# Contributors: Thomas Bayen <bayen@gmx.de>
+# Antti Kaihola <akaihola@siba.fi>
+# Moritz Bunkus (tex code)
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#======================================================================
+# Utilities for parsing forms
+# and supporting routines for linking account numbers
+# used in AR, AP and IS, IR modules
+#
+#======================================================================
+
+package Form;
+
+
+sub new {
+ my $type = shift;
+
+ my $self = {};
+
+ read(STDIN, $_, $ENV{CONTENT_LENGTH});
+
+ if ($ENV{QUERY_STRING}) {
+ $_ = $ENV{QUERY_STRING};
+ }
+
+ if ($ARGV[0]) {
+ $_ = $ARGV[0];
+ }
+
+ foreach $item (split(/&/)) {
+ ($key, $value) = split(/=/, $item);
+ $self->{$key} = &unescape("",$value);
+ }
+
+ $self->{action} = lc $self->{action};
+ $self->{action} =~ s/( |-|,)/_/g;
+
+ $self->{version} = "2.0.8";
+ $self->{dbversion} = "2.0.8";
+
+ bless $self, $type;
+
+}
+
+
+sub debug {
+ my ($self) = @_;
+
+ print "\n";
+
+ map { print "$_ = $self->{$_}\n" } (sort keys %{$self});
+
+}
+
+
+sub escape {
+ my ($self, $str, $beenthere) = @_;
+
+ # for Apache 2 we escape strings twice
+ if (($ENV{SERVER_SOFTWARE} =~ /Apache\/2/) && !$beenthere) {
+ $str = $self->escape($str, 1);
+ }
+
+ $str =~ s/([^a-zA-Z0-9_.-])/sprintf("%%%02x", ord($1))/ge;
+ $str;
+
+}
+
+
+sub unescape {
+ my ($self, $str) = @_;
+
+ $str =~ tr/+/ /;
+ $str =~ s/\\$//;
+
+ $str =~ s/%([0-9a-fA-Z]{2})/pack("c",hex($1))/eg;
+
+ $str;
+
+}
+
+
+sub error {
+ my ($self, $msg) = @_;
+
+ if ($ENV{HTTP_USER_AGENT}) {
+ $msg =~ s/\n/<br>/g;
+
+ print qq|Content-Type: text/html
+
+ <body bgcolor=ffffff>
+
+ <h2><font color=red>Error!</font></h2>
+
+ <p><b>$msg</b>
+
+ </body>
+ </html>
+ |;
+
+ die "Error: $msg\n";
+
+ } else {
+
+ if ($self->{error_function}) {
+ &{ $self->{error_function} }($msg);
+ } else {
+ die "Error: $msg\n";
+ }
+ }
+
+}
+
+
+
+sub info {
+ my ($self, $msg) = @_;
+
+ if ($ENV{HTTP_USER_AGENT}) {
+ $msg =~ s/\n/<br>/g;
+
+ if (!$self->{header}) {
+ $self->header;
+ print qq|
+ <body>|;
+ }
+
+ print qq|
+
+ <p><b>$msg</b>
+ |;
+
+ } else {
+
+ if ($self->{info_function}) {
+ &{ $self->{info_function} }($msg);
+ } else {
+ print "$msg\n";
+ }
+ }
+
+}
+
+
+sub numtextrows {
+ my ($self, $str, $cols, $maxrows) = @_;
+
+ my $rows;
+
+ map { $rows += int ((length $_)/$cols) + 1 } (split /\r/, $str);
+
+ $rows = $maxrows if (defined $maxrows && ($rows > $maxrows));
+
+ $rows;
+
+}
+
+
+sub dberror {
+ my ($self, $msg) = @_;
+
+ $self->error("$msg\n".$DBI::errstr);
+
+}
+
+
+sub isblank {
+ my ($self, $name, $msg) = @_;
+
+ if ($self->{$name} =~ /^\s*$/) {
+ $self->error($msg);
+ }
+}
+
+
+sub header {
+ my ($self) = @_;
+
+ my ($nocache, $stylesheet, $charset);
+
+ # use expire tag to prevent caching
+# $nocache = qq|<META HTTP-EQUIV="Expires" CONTENT="Tue, 01 Jan 1980 1:00:00 GMT">
+# <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
+#|;
+
+ if ($self->{stylesheet} && (-f "css/$self->{stylesheet}")) {
+ $stylesheet = qq|<LINK REL="stylesheet" HREF="css/$self->{stylesheet}" TYPE="text/css" TITLE="SQL-Ledger style sheet">
+|;
+ }
+
+ if ($self->{charset}) {
+ $charset = qq|<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=$self->{charset}">
+|;
+ }
+
+ $self->{titlebar} = ($self->{title}) ? "$self->{title} - $self->{titlebar}" : $self->{titlebar};
+
+ print qq|Content-Type: text/html
+
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<head>
+ <title>$self->{titlebar}</title>
+ $nocache
+ $stylesheet
+ $charset
+</head>
+
+|;
+
+}
+
+
+sub redirect {
+ my ($self, $msg) = @_;
+
+ if ($self->{callback}) {
+
+ ($script, $argv) = split(/\?/, $self->{callback});
+
+ exec ("perl", "$script", $argv);
+
+ } else {
+
+ if ($ENV{HTTP_USER_AGENT}) {
+ $msg =~ s/\n/<br>/g;
+
+ print qq|Content-Type: text/html
+
+<body bgcolor=ffffff>
+
+<h2>$msg</h2>
+
+</body>
+</html>
+|;
+
+ } else {
+ print "$msg\n";
+ }
+
+ exit;
+
+ }
+
+}
+
+
+sub sort_columns {
+ my ($self, @columns) = @_;
+
+ @columns = grep !/^$self->{sort}$/, @columns;
+ splice @columns, 0, 0, $self->{sort};
+
+ @columns;
+
+}
+
+
+sub format_amount {
+ my ($self, $myconfig, $amount, $places, $dash) = @_;
+
+ if ($places =~ /\d/) {
+ $amount = $self->round_amount($amount, $places);
+ }
+
+ # is the amount negative
+ my $negative = ($amount < 0);
+
+ if ($amount != 0) {
+ if ($myconfig->{numberformat} && ($myconfig->{numberformat} ne '1000.00')) {
+ my ($whole, $dec) = split /\./, "$amount";
+ $whole =~ s/-//;
+ $amount = join '', reverse split //, $whole;
+
+ if ($myconfig->{numberformat} eq '1,000.00') {
+ $amount =~ s/\d{3,}?/$&,/g;
+ $amount =~ s/,$//;
+ $amount = join '', reverse split //, $amount;
+ $amount .= "\.$dec" if ($dec ne "");
+ }
+
+ if ($myconfig->{numberformat} eq '1.000,00') {
+ $amount =~ s/\d{3,}?/$&./g;
+ $amount =~ s/\.$//;
+ $amount = join '', reverse split //, $amount;
+ $amount .= ",$dec" if ($dec ne "");
+ }
+
+ if ($myconfig->{numberformat} eq '1000,00') {
+ $amount = "$whole";
+ $amount .= ",$dec" if ($dec ne "");
+ }
+
+ if ($dash =~ /-/) {
+ $amount = ($negative) ? "($amount)" : "$amount";
+ } elsif ($dash =~ /DRCR/) {
+ $amount = ($negative) ? "$amount DR" : "$amount CR";
+ } else {
+ $amount = ($negative) ? "-$amount" : "$amount";
+ }
+ }
+ } else {
+ if ($dash eq "0" && $places) {
+ if ($myconfig->{numberformat} eq '1.000,00') {
+ $amount = "0".","."0" x $places;
+ } else {
+ $amount = "0"."."."0" x $places;
+ }
+ } else {
+ $amount = ($dash ne "") ? "$dash" : "";
+ }
+ }
+
+ $amount;
+
+}
+
+
+sub parse_amount {
+ my ($self, $myconfig, $amount) = @_;
+
+ if (($myconfig->{numberformat} eq '1.000,00') ||
+ ($myconfig->{numberformat} eq '1000,00')) {
+ $amount =~ s/\.//g;
+ $amount =~ s/,/\./;
+ }
+
+ $amount =~ s/,//g;
+
+ return ($amount * 1);
+
+}
+
+
+sub round_amount {
+ my ($self, $amount, $places) = @_;
+
+# $places = 3 if $places == 2;
+
+ if (($places * 1) >= 0) {
+ # compensate for perl behaviour, add 1/10^$places+3
+ sprintf("%.${places}f", $amount + (1 / (10 ** ($places + 3))) * (($amount > 0) ? 1 : -1));
+ } else {
+ $places *= -1;
+ sprintf("%.f", $amount / (10 ** $places) + (($amount > 0) ? 0.1 : -0.1)) * (10 ** $places);
+ }
+
+}
+
+
+sub parse_template {
+ my ($self, $myconfig, $userspath) = @_;
+
+ # { Moritz Bunkus
+ # Some variables used for page breaks
+ my ($chars_per_line, $lines_on_first_page, $lines_on_second_page) = (0, 0, 0);
+ my ($current_page, $current_line) = (1, 1);
+ my $pagebreak = "";
+ my $sum = 0;
+ # } Moritz Bunkus
+
+ open(IN, "$self->{templates}/$self->{IN}") or $self->error("$self->{IN} : $!");
+
+ @_ = <IN>;
+ close(IN);
+
+ $self->{copies} = 1 if (($self->{copies} *= 1) <= 0);
+
+ # OUT is used for the media, screen, printer, email
+ # for postscript we store a copy in a temporary file
+ my $fileid = time;
+ $self->{tmpfile} = "$userspath/${fileid}.$self->{IN}";
+ if ($self->{format} =~ /(postscript|pdf)/ || $self->{media} eq 'email') {
+ $out = $self->{OUT};
+ $self->{OUT} = ">$self->{tmpfile}";
+ }
+
+
+ if ($self->{OUT}) {
+ open(OUT, "$self->{OUT}") or $self->error("$self->{OUT} : $!");
+ } else {
+ open(OUT, ">-") or $self->error("STDOUT : $!");
+ $self->header;
+ }
+
+
+ # first we generate a tmpfile
+ # read file and replace <%variable%>
+ while ($_ = shift) {
+
+ $par = "";
+ $var = $_;
+
+
+ # { Moritz Bunkus
+ # detect pagebreak block and its parameters
+ if (/<%pagebreak ([0-9]+) ([0-9]+) ([0-9]+)%>/) {
+ $chars_per_line = $1;
+ $lines_on_first_page = $2;
+ $lines_on_second_page = $3;
+
+ while ($_ = shift) {
+ last if (/<\%end pagebreak%>/);
+ $pagebreak .= $_;
+ }
+ }
+ # } Moritz Bunkus
+
+
+ if (/<%foreach /) {
+
+ # this one we need for the count
+ chomp $var;
+ $var =~ s/<%foreach (.+?)%>/$1/;
+ while ($_ = shift) {
+ last if (/<%end /);
+
+ # store line in $par
+ $par .= $_;
+ }
+
+ # display contents of $self->{number}[] array
+ for $i (0 .. $#{ $self->{$var} }) {
+
+ # { Moritz Bunkus
+ # Try to detect whether a manual page break is necessary
+ # but only if there was a <%pagebreak ...%> block before
+
+ if ($chars_per_line) {
+ my $lines = int(length($self->{"description"}[$i]) / $chars_per_line + 0.95);
+ my $lpp;
+
+ if ($current_page == 1) {
+ $lpp = $lines_on_first_page;
+ } else {
+ $lpp = $lines_on_second_page;
+ }
+
+ # Yes we need a manual page break
+ if (($current_line + $lines) > $lpp) {
+ my $pb = $pagebreak;
+
+ # replace the special variables <%sumcarriedforward%>
+ # and <%lastpage%>
+
+ my $psum = $self->format_amount($myconfig, $sum, 2);
+ $pb =~ s/<%sumcarriedforward%>/$psum/g;
+ $pb =~ s/<%lastpage%>/$current_page/g;
+
+ # only "normal" variables are supported here
+ # (no <%if, no <%foreach, no <%include)
+
+ $pb =~ s/<%(.+?)%>/$self->{$1}/g;
+
+ # page break block is ready to rock
+ print(OUT $pb);
+ $current_page++;
+ $current_line = 1;
+ }
+ $current_line += $lines;
+ }
+ $sum += $self->parse_amount($myconfig, $self->{"linetotal"}[$i]);
+ # } Moritz Bunkus
+
+
+ # don't parse par, we need it for each line
+ $_ = $par;
+ s/<%(.+?)%>/$self->{$1}[$i]/mg;
+ print OUT;
+ }
+ next;
+ }
+
+ # if not comes before if!
+ if (/<%if not /) {
+ # check if it is not set and display
+ chop;
+ s/<%if not (.+?)%>/$1/;
+
+ unless ($self->{$_}) {
+ while ($_ = shift) {
+ last if (/<%end /);
+
+ # store line in $par
+ $par .= $_;
+ }
+
+ $_ = $par;
+
+ } else {
+ while ($_ = shift) {
+ last if (/<%end /);
+ }
+ next;
+ }
+ }
+
+ if (/<%if /) {
+ # check if it is set and display
+ chop;
+ s/<%if (.+?)%>/$1/;
+
+ if ($self->{$_}) {
+ while ($_ = shift) {
+ last if (/<%end /);
+
+ # store line in $par
+ $par .= $_;
+ }
+
+ $_ = $par;
+
+ } else {
+ while ($_ = shift) {
+ last if (/<%end /);
+ }
+ next;
+ }
+ }
+
+ # check for <%include filename%>
+ if (/<%include /) {
+
+ # get the filename
+ chomp $var;
+ $var =~ s/<%include (.+?)%>/$1/;
+
+ # mangle filename if someone tries to be cute
+ $var =~ s/\///g;
+
+ # prevent the infinite loop!
+ next if ($self->{"$var"});
+
+ open(INC, "$self->{templates}/$var") or $self->error($self->cleanup."$self->{templates}/$var : $!");
+ unshift(@_, <INC>);
+ close(INC);
+
+ $self->{"$var"} = 1;
+
+ next;
+ }
+
+ s/<%(.+?)%>/$self->{$1}/g;
+ print OUT;
+ }
+
+ close(OUT);
+
+
+ # { Moritz Bunkus
+ # Convert the tex file to postscript
+ if ($self->{format} =~ /(postscript|pdf)/) {
+
+ use Cwd;
+ $self->{cwd} = cwd();
+ chdir("$userspath") or $self->error($self->cleanup."chdir : $!");
+
+ $self->{tmpfile} =~ s/$userspath\///g;
+
+ # DS. added screen and email option in addition to printer
+ # screen
+ if ($self->{format} eq 'postscript') {
+ system("latex --interaction=nonstopmode $self->{tmpfile} > $self->{tmpfile}.err");
+ $self->error($self->cleanup) if ($?);
+
+ $self->{tmpfile} =~ s/tex$/dvi/;
+
+ system("dvips $self->{tmpfile} -o -q > /dev/null");
+ $self->error($self->cleanup."dvips : $!") if ($?);
+ $self->{tmpfile} =~ s/dvi$/ps/;
+ }
+ if ($self->{format} eq 'pdf') {
+ system("pdflatex --interaction=nonstopmode $self->{tmpfile} > $self->{tmpfile}.err");
+ $self->error($self->cleanup) if ($?);
+ $self->{tmpfile} =~ s/tex$/pdf/;
+ }
+
+ }
+
+ if ($self->{format} =~ /(postscript|pdf)/ || $self->{media} eq 'email') {
+
+ if ($self->{media} eq 'email') {
+
+ use SL::Mailer;
+
+ my $mail = new Mailer;
+
+ $self->{email} =~ s/,/>,</g;
+
+ map { $mail->{$_} = $self->{$_} } qw(cc bcc subject message version format charset);
+ $mail->{to} = qq|"$self->{name}" <$self->{email}>|;
+ $mail->{from} = qq|"$myconfig->{name}" <$myconfig->{email}>|;
+ $mail->{fileid} = "$fileid.";
+
+ # if we send html or plain text inline
+ if (($self->{format} eq 'html') && ($self->{sendmode} eq 'inline')) {
+ $mail->{contenttype} = "text/html";
+
+ $mail->{message} =~ s/\r\n/<br>\n/g;
+ $myconfig->{signature} =~ s/\\n/<br>\n/g;
+ $mail->{message} .= "<br>\n--<br>\n$myconfig->{signature}\n<br>";
+
+ open(IN, $self->{tmpfile}) or $self->error($self->cleanup."$self->{tmpfile} : $!");
+ while (<IN>) {
+ $mail->{message} .= $_;
+ }
+
+ close(IN);
+
+ } else {
+
+ @{ $mail->{attachments} } = ($self->{tmpfile});
+
+ $myconfig->{signature} =~ s/\\n/\r\n/g;
+ $mail->{message} .= "\r\n--\r\n$myconfig->{signature}";
+
+ }
+
+ my $err = $mail->send($out);
+ $self->error($self->cleanup."$err") if ($err);
+
+ } else {
+
+ $self->{OUT} = $out;
+ open(IN, $self->{tmpfile}) or $self->error($self->cleanup."$self->{tmpfile} : $!");
+
+ $self->{copies} = 1 unless $self->{media} eq 'printer';
+
+ for my $i (1 .. $self->{copies}) {
+
+ if ($self->{OUT}) {
+ open(OUT, $self->{OUT}) or $self->error($self->cleanup."$self->{OUT} : $!");
+ } else {
+ open(OUT, ">-") or $self->error($self->cleanup."$!: STDOUT");
+
+ # launch application
+ print qq|Content-Type: application/$self->{format}; name="$self->{tmpfile}"
+ Content-Disposition: filename="$self->{tmpfile}"
+
+ |;
+ }
+
+ while (<IN>) {
+ print OUT $_;
+ }
+ close(OUT);
+ seek IN, 0, 0;
+ }
+
+ close(IN);
+ }
+
+ $self->cleanup;
+
+ }
+ # } Moritz Bunkus
+
+}
+
+
+sub cleanup {
+ my $self = shift;
+
+ my @err = ();
+ if (-f "$self->{tmpfile}.err") {
+ open(FH, "$self->{tmpfile}.err");
+ @err = <FH>;
+ close(FH);
+ }
+
+ if ($self->{tmpfile}) {
+ # strip extension
+ $self->{tmpfile} =~ s/\.\w+$//g;
+ my $tmpfile = $self->{tmpfile};
+ unlink(<$tmpfile.*>);
+ }
+
+
+ chdir("$self->{cwd}");
+
+ "@err";
+
+}
+
+
+sub format_string {
+ my ($self, @fields) = @_;
+
+ my $format = $self->{format};
+ if ($self->{format} =~ /(postscript|pdf)/) {
+ $format = 'tex';
+ }
+
+ my %replace = ( 'order' => { 'html' => [ quotemeta('\n'), ' ' ],
+ 'tex' => [ '&', quotemeta('\n'), ' ',
+ '\$', '%', '_', '#', quotemeta('^'),
+ '{', '}', '<', '>', '£' ] },
+ 'html' => {
+ quotemeta('\n') => '<br>', ' ' => '<br>'
+ },
+ 'tex' => {
+ '&' => '\&', '\$' => '\$', '%' => '\%', '_' => '\_',
+ '#' => '\#', quotemeta('^') => '\^\\', '{' => '\{', '}' => '\}',
+ '<' => '$<$', '>' => '$>$',
+ quotemeta('\n') => '\newline ', ' ' => '\newline ',
+ '£' => '\pounds ',
+ }
+ );
+
+ foreach my $key (@{ $replace{order}{$format} }) {
+ map { $self->{$_} =~ s/$key/$replace{$format}{$key}/g; } @fields;
+ }
+
+}
+
+
+sub datetonum {
+ my ($self, $date, $myconfig) = @_;
+
+ if ($date) {
+ # get separator
+ my $spc = $myconfig->{dateformat};
+ $spc =~ s/\w//g;
+ $spc = substr($spc, 1, 1);
+
+ if ($spc eq '.') {
+ $spc = '\.';
+ }
+ if ($spc eq '/') {
+ $spc = '\/';
+ }
+
+ if ($myconfig->{dateformat} =~ /^yy/) {
+ ($yy, $mm, $dd) = split /$spc/, $date;
+ }
+ if ($myconfig->{dateformat} =~ /^mm/) {
+ ($mm, $dd, $yy) = split /$spc/, $date;
+ }
+ if ($myconfig->{dateformat} =~ /^dd/) {
+ ($dd, $mm, $yy) = split /$spc/, $date;
+ }
+
+ $dd *= 1;
+ $mm *= 1;
+ $yy = ($yy < 70) ? $yy + 2000 : $yy;
+ $yy = ($yy >= 70 && $yy <= 99) ? $yy + 1900 : $yy;
+
+ $dd = "0$dd" if ($dd < 10);
+ $mm = "0$mm" if ($mm < 10);
+
+ $date = "$yy$mm$dd";
+ }
+
+ $date;
+
+}
+
+
+
+# Database routines used throughout
+
+sub dbconnect {
+ my ($self, $myconfig) = @_;
+
+ # connect to database
+ my $dbh = DBI->connect($myconfig->{dbconnect}, $myconfig->{dbuser}, $myconfig->{dbpasswd}) or $self->dberror;
+
+ # set db options
+ if ($myconfig->{dboptions}) {
+ $dbh->do($myconfig->{dboptions}) || $self->dberror($myconfig->{dboptions});
+ }
+
+ $dbh;
+
+}
+
+
+sub dbconnect_noauto {
+ my ($self, $myconfig) = @_;
+
+ # connect to database
+ $dbh = DBI->connect($myconfig->{dbconnect}, $myconfig->{dbuser}, $myconfig->{dbpasswd}, {AutoCommit => 0}) or $self->dberror;
+
+ # set db options
+ if ($myconfig->{dboptions}) {
+ $dbh->do($myconfig->{dboptions}) || $self->dberror($myconfig->{dboptions});
+ }
+
+ $dbh;
+
+}
+
+
+sub update_balance {
+ my ($self, $dbh, $table, $field, $where, $value) = @_;
+
+ # if we have a value, go do it
+ if ($value != 0) {
+ # retrieve balance from table
+ my $query = "SELECT $field FROM $table WHERE $where";
+ my $sth = $dbh->prepare($query);
+
+ $sth->execute || $self->dberror($query);
+ my ($balance) = $sth->fetchrow_array;
+ $sth->finish;
+
+ $balance += $value;
+ # update balance
+ $query = "UPDATE $table SET $field = $balance WHERE $where";
+ $dbh->do($query) || $self->dberror($query);
+ }
+}
+
+
+
+sub update_exchangerate {
+ my ($self, $dbh, $curr, $transdate, $buy, $sell) = @_;
+
+ # some sanity check for currency
+ return if ($curr eq '');
+
+ my $query = qq|SELECT curr FROM exchangerate
+ WHERE curr = '$curr'
+ AND transdate = '$transdate'|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $self->dberror($query);
+
+ my $set;
+ if ($buy != 0 && $sell != 0) {
+ $set = "buy = $buy, sell = $sell";
+ } elsif ($buy != 0) {
+ $set = "buy = $buy";
+ } elsif ($sell != 0) {
+ $set = "sell = $sell";
+ }
+
+ if ($sth->fetchrow_array) {
+ $query = qq|UPDATE exchangerate
+ SET $set
+ WHERE curr = '$curr'
+ AND transdate = '$transdate'|;
+ } else {
+ $query = qq|INSERT INTO exchangerate (curr, buy, sell, transdate)
+ VALUES ('$curr', $buy, $sell, '$transdate')|;
+ }
+ $sth->finish;
+ $dbh->do($query) || $self->dberror($query);
+
+}
+
+
+sub get_exchangerate {
+ my ($self, $dbh, $curr, $transdate, $fld) = @_;
+
+ my $query = qq|SELECT $fld FROM exchangerate
+ WHERE curr = '$curr'
+ AND transdate = '$transdate'|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $self->dberror($query);
+
+ my ($exchangerate) = $sth->fetchrow_array;
+ $sth->finish;
+
+ $exchangerate;
+
+}
+
+
+sub delete_exchangerate {
+ my ($self, $dbh) = @_;
+
+ my @transdate = ();
+ my $transdate;
+
+ my $query = qq|SELECT DISTINCT transdate
+ FROM acc_trans
+ WHERE trans_id = $self->{id}|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $self->dberror($query);
+
+ while ($transdate = $sth->fetchrow_array) {
+ push @transdate, $transdate;
+ }
+ $sth->finish;
+
+ $query = qq|SELECT transdate FROM acc_trans
+ WHERE ar.id = trans_id
+ AND ar.curr = '$self->{currency}'
+ AND transdate IN
+ (SELECT transdate FROM acc_trans
+ WHERE trans_id = $self->{id})
+ AND trans_id != $self->{id}
+ UNION SELECT transdate FROM acc_trans
+ WHERE ap.id = trans_id
+ AND ap.curr = '$self->{currency}'
+ AND transdate IN
+ (SELECT transdate FROM acc_trans
+ WHERE trans_id = $self->{id})
+ AND trans_id != $self->{id}
+ UNION SELECT transdate FROM oe
+ WHERE oe.curr = '$self->{currency}'
+ AND transdate IN
+ (SELECT transdate FROM acc_trans
+ WHERE trans_id = $self->{id})|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $self->dberror($query);
+
+ while ($transdate = $sth->fetchrow_array) {
+ @transdate = grep !/^$transdate$/, @transdate;
+ }
+ $sth->finish;
+
+ foreach $transdate (@transdate) {
+ $query = qq|DELETE FROM exchangerate
+ WHERE curr = '$self->{currency}'
+ AND transdate = '$transdate'|;
+ $dbh->do($query) || $self->dberror($query);
+ }
+
+}
+
+
+sub check_exchangerate {
+ my ($self, $myconfig, $currency, $transdate, $fld) = @_;
+
+ return "" unless $transdate;
+
+ my $dbh = $self->dbconnect($myconfig);
+
+ my $query = qq|SELECT $fld FROM exchangerate
+ WHERE curr = '$currency'
+ AND transdate = '$transdate'|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $self->dberror($query);
+
+ my ($exchangerate) = $sth->fetchrow_array;
+ $sth->finish;
+ $dbh->disconnect;
+
+ $exchangerate;
+
+}
+
+
+sub add_shipto {
+ my ($self, $dbh, $id) = @_;
+
+ my $shipto;
+ foreach my $item (qw(name addr1 addr2 addr3 addr4 contact phone fax email)) {
+ if ($self->{"shipto$item"}) {
+ $shipto = 1 if ($self->{$item} ne $self->{"shipto$item"});
+ }
+ $self->{"shipto$item"} =~ s/'/''/g;
+ }
+
+ if ($shipto) {
+ my $query = qq|INSERT INTO shipto (trans_id, shiptoname, shiptoaddr1,
+ shiptoaddr2, shiptoaddr3, shiptoaddr4, shiptocontact,
+ shiptophone, shiptofax, shiptoemail) VALUES ($id,
+ '$self->{shiptoname}', '$self->{shiptoaddr1}',
+ '$self->{shiptoaddr2}', '$self->{shiptoaddr3}',
+ '$self->{shiptoaddr4}', '$self->{shiptocontact}',
+ '$self->{shiptophone}', '$self->{shiptofax}',
+ '$self->{shiptoemail}')|;
+ $dbh->do($query) || $self->dberror($query);
+ }
+
+}
+
+
+sub get_employee {
+ my ($self, $dbh) = @_;
+
+ my $query = qq|SELECT name FROM employee
+ WHERE login = '$self->{login}'|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $self->dberror($query);
+
+ ($self->{employee}) = $sth->fetchrow_array;
+ $sth->finish;
+
+}
+
+
+# this sub gets the id and name from $table
+sub get_name {
+ my ($self, $myconfig, $table) = @_;
+
+ # connect to database
+ my $dbh = $self->dbconnect($myconfig);
+
+ my $name = $self->like(lc $self->{$table});
+ my $query = qq~SELECT id, name,
+ addr1 || ' ' || addr2 || ' ' || addr3 || ' ' || addr4 AS address
+ FROM $table
+ WHERE lower(name) LIKE '$name'
+ ORDER BY name~;
+ my $sth = $dbh->prepare($query);
+
+ $sth->execute || $self->dberror($query);
+
+ my $i = 0;
+ while ($ref = $sth->fetchrow_hashref(NAME_lc)) {
+ push(@{ $self->{name_list} }, $ref);
+ $i++;
+ }
+ $sth->finish;
+ $dbh->disconnect;
+
+ $i;
+
+}
+
+
+# the selection sub is used in the AR, AP, IS, IR and OE module
+#
+sub all_vc {
+ my ($self, $myconfig, $table) = @_;
+
+ my $dbh = $self->dbconnect($myconfig);
+
+ my $query = qq|SELECT count(*) FROM $table|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $self->dberror($query);
+ my ($count) = $sth->fetchrow_array;
+ $sth->finish;
+
+ # build selection list
+ if ($count < $myconfig->{vclimit}) {
+ $query = qq|SELECT id, name
+ FROM $table
+ ORDER BY name|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $self->dberror($query);
+
+ while (my $ref = $sth->fetchrow_hashref(NAME_lc)) {
+ push @{ $self->{"all_$table"} }, $ref;
+ }
+
+ $sth->finish;
+
+ }
+
+ $dbh->disconnect;
+
+}
+
+
+sub create_links {
+ my ($self, $module, $myconfig, $table) = @_;
+
+ $self->all_vc($myconfig, $table);
+
+ # get last customers or vendors
+ my ($query, $sth);
+
+ my $dbh = $self->dbconnect($myconfig);
+
+ my %xkeyref = ();
+
+
+ # now get the account numbers
+ $query = qq|SELECT accno, description, link
+ FROM chart
+ WHERE link LIKE '%$module%'
+ ORDER BY accno|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $self->dberror($query);
+
+ $self->{accounts} = "";
+ while (my $ref = $sth->fetchrow_hashref(NAME_lc)) {
+
+ foreach my $key (split(/:/, $ref->{link})) {
+ if ($key =~ /$module/) {
+ # cross reference for keys
+ $xkeyref{$ref->{accno}} = $key;
+
+ push @{ $self->{"${module}_links"}{$key} }, { accno => $ref->{accno},
+ description => $ref->{description} };
+
+ $self->{accounts} .= "$ref->{accno} " unless $key =~ /tax/;
+ }
+ }
+ }
+ $sth->finish;
+
+
+ if ($self->{id}) {
+ my $arap = ($table eq 'customer') ? 'ar' : 'ap';
+
+ $query = qq|SELECT a.invnumber, a.transdate,
+ a.${table}_id, a.datepaid, a.duedate, a.ordnumber,
+ a.taxincluded, a.curr AS currency, a.notes, c.name AS $table,
+ a.amount AS oldinvtotal, a.paid AS oldtotalpaid
+ FROM $arap a, $table c
+ WHERE a.${table}_id = c.id
+ AND a.id = $self->{id}|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $self->dberror($query);
+
+ $ref = $sth->fetchrow_hashref(NAME_lc);
+ foreach $key (keys %$ref) {
+ $self->{$key} = $ref->{$key};
+ }
+ $sth->finish;
+
+ # get amounts from individual entries
+ $query = qq|SELECT c.accno, c.description, a.source, a.amount,
+ a.transdate, a.cleared, a.project_id, p.projectnumber
+ FROM acc_trans a
+ JOIN chart c ON (c.id = a.chart_id)
+ LEFT JOIN project p ON (a.project_id = p.id)
+ WHERE a.trans_id = $self->{id}
+ AND a.fx_transaction = '0'
+ ORDER BY transdate|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $self->dberror($query);
+
+ my $fld = ($table eq 'customer') ? 'buy' : 'sell';
+ # get exchangerate for currency
+ $self->{exchangerate} = $self->get_exchangerate($dbh, $self->{currency}, $self->{transdate}, $fld);
+
+ # store amounts in {acc_trans}{$key} for multiple accounts
+ while (my $ref = $sth->fetchrow_hashref(NAME_lc)) {
+ $ref->{exchangerate} = $self->get_exchangerate($dbh, $self->{currency}, $ref->{transdate}, $fld);
+
+ push @{ $self->{acc_trans}{$xkeyref{$ref->{accno}}} }, $ref;
+ }
+
+ $sth->finish;
+
+ $query = qq|SELECT d.curr AS currencies, d.closedto, d.revtrans,
+ (SELECT c.accno FROM chart c
+ WHERE d.fxgain_accno_id = c.id) AS fxgain_accno,
+ (SELECT c.accno FROM chart c
+ WHERE d.fxloss_accno_id = c.id) AS fxloss_accno
+ FROM defaults d|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $self->dberror($query);
+
+ $ref = $sth->fetchrow_hashref(NAME_lc);
+ map { $self->{$_} = $ref->{$_} } keys %$ref;
+ $sth->finish;
+
+ } else {
+
+ # get date
+ $query = qq|SELECT current_date AS transdate,
+ d.curr AS currencies, d.closedto, d.revtrans,
+ (SELECT c.accno FROM chart c
+ WHERE d.fxgain_accno_id = c.id) AS fxgain_accno,
+ (SELECT c.accno FROM chart c
+ WHERE d.fxloss_accno_id = c.id) AS fxloss_accno
+ FROM defaults d|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $self->dberror($query);
+
+ $ref = $sth->fetchrow_hashref(NAME_lc);
+ map { $self->{$_} = $ref->{$_} } keys %$ref;
+ $sth->finish;
+
+ if ($self->{"$self->{vc}_id"}) {
+ # only setup currency
+ ($self->{currency}) = split /:/, $self->{currencies};
+
+ } else {
+
+ $self->lastname_used($dbh, $myconfig, $table, $module);
+
+ my $fld = ($table eq 'customer') ? 'buy' : 'sell';
+ # get exchangerate for currency
+ $self->{exchangerate} = $self->get_exchangerate($dbh, $self->{currency}, $self->{transdate}, $fld);
+
+ }
+
+ }
+
+ $dbh->disconnect;
+
+}
+
+
+sub lastname_used {
+ my ($self, $dbh, $myconfig, $table, $module) = @_;
+
+ my $arap = ($table eq 'customer') ? "ar" : "ap";
+ $arap = 'oe' if ($self->{type} =~ /_order/);
+
+ my $query = qq|SELECT id FROM $arap
+ WHERE id IN (SELECT MAX(id) FROM $arap
+ WHERE ${table}_id > 0)|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $self->dberror($query);
+
+ my ($trans_id) = $sth->fetchrow_array;
+ $sth->finish;
+
+ $trans_id *= 1;
+ $query = qq|SELECT ct.name, a.curr, a.${table}_id,
+ current_date + ct.terms AS duedate
+ FROM $arap a
+ JOIN $table ct ON (a.${table}_id = ct.id)
+ WHERE a.id = $trans_id|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $self->dberror($query);
+
+ ($self->{$table}, $self->{currency}, $self->{"${table}_id"}, $self->{duedate}) = $sth->fetchrow_array;
+ $sth->finish;
+
+}
+
+
+
+sub current_date {
+ my ($self, $myconfig, $thisdate, $days) = @_;
+
+ my $dbh = $self->dbconnect($myconfig);
+ my ($sth, $query);
+
+ $days *= 1;
+ if ($thisdate) {
+ my $dateformat = $myconfig->{dateformat};
+ $dateformat .= "yy" if $myconfig->{dateformat} !~ /^y/;
+
+ $query = qq|SELECT to_date('$thisdate', '$dateformat') + $days AS thisdate
+ FROM defaults|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $self->dberror($query);
+ } else {
+ $query = qq|SELECT current_date AS thisdate
+ FROM defaults|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $self->dberror($query);
+ }
+
+ ($thisdate) = $sth->fetchrow_array;
+ $sth->finish;
+
+ $dbh->disconnect;
+
+ $thisdate;
+
+}
+
+
+sub like {
+ my ($self, $string) = @_;
+
+ unless ($string =~ /%/) {
+ $string = "%$string%";
+ }
+
+ $string =~ s/'/''/g;
+ $string;
+
+}
+
+
+sub redo_rows {
+ my ($self, $flds, $new, $count, $numrows) = @_;
+
+ my @ndx = ();
+
+ map { push @ndx, { num => $new->[$_-1]->{runningnumber}, ndx => $_ } } (1 .. $count);
+
+ my $i = 0;
+ # fill rows
+ foreach my $item (sort { $a->{num} <=> $b->{num} } @ndx) {
+ $i++;
+ $j = $item->{ndx} - 1;
+ map { $self->{"${_}_$i"} = $new->[$j]->{$_} } @{$flds};
+ }
+
+ # delete empty rows
+ for $i ($count + 1 .. $numrows) {
+ map { delete $self->{"${_}_$i"} } @{$flds};
+ }
+
+}
+
+
+package Locale;
+
+
+sub new {
+ my ($type, $country, $NLS_file) = @_;
+ my $self = {};
+
+ %self = ();
+ if ($country && -d "locale/$country") {
+ $self->{countrycode} = $country;
+ eval { require "locale/$country/$NLS_file"; };
+ }
+
+ $self->{NLS_file} = $NLS_file;
+
+ push @{ $self->{LONG_MONTH} }, ("January", "February", "March", "April", "May ", "June", "July", "August", "September", "October", "November", "December");
+ push @{ $self->{SHORT_MONTH} }, (qw(Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec));
+
+ bless $self, $type;
+
+}
+
+
+sub text {
+ my ($self, $text) = @_;
+
+ return (exists $self{texts}{$text}) ? $self{texts}{$text} : $text;
+
+}
+
+
+sub findsub {
+ my ($self, $text) = @_;
+
+ if (exists $self{subs}{$text}) {
+ $text = $self{subs}{$text};
+ } else {
+ if ($self->{countrycode} && $self->{NLS_file}) {
+ Form->error("$text not defined in locale/$self->{countrycode}/$self->{NLS_file}");
+ }
+ }
+
+ $text;
+
+}
+
+
+sub date {
+ my ($self, $myconfig, $date, $longformat) = @_;
+
+ my $longdate = "";
+ my $longmonth = ($longformat) ? 'LONG_MONTH' : 'SHORT_MONTH';
+
+ if ($date) {
+ # get separator
+ $spc = $myconfig->{dateformat};
+ $spc =~ s/\w//g;
+ $spc = substr($spc, 1, 1);
+
+ if ($spc eq '.') {
+ $spc = '\.';
+ }
+ if ($spc eq '/') {
+ $spc = '\/';
+ }
+
+ if ($myconfig->{dateformat} =~ /^yy/) {
+ ($yy, $mm, $dd) = split /$spc/, $date;
+ }
+ if ($myconfig->{dateformat} =~ /^mm/) {
+ ($mm, $dd, $yy) = split /$spc/, $date;
+ }
+ if ($myconfig->{dateformat} =~ /^dd/) {
+ ($dd, $mm, $yy) = split /$spc/, $date;
+ }
+
+ $dd *= 1;
+ $mm--;
+ $yy = ($yy < 70) ? $yy + 2000 : $yy;
+ $yy = ($yy >= 70 && $yy <= 99) ? $yy + 1900 : $yy;
+
+ if ($myconfig->{dateformat} =~ /^dd/) {
+ $longdate = "$dd. ".&text($self, $self->{$longmonth}[$mm])." $yy";
+ } else {
+ $longdate = &text($self, $self->{$longmonth}[$mm])." $dd, $yy";
+ }
+
+ }
+
+ $longdate;
+
+}
+
+
+1;
+
diff --git a/sql-ledger/SL/GL.pm b/sql-ledger/SL/GL.pm
new file mode 100644
index 0000000..5bceb07
--- /dev/null
+++ b/sql-ledger/SL/GL.pm
@@ -0,0 +1,462 @@
+#=====================================================================
+# SQL-Ledger Accounting
+# Copyright (C) 2001
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+# Contributors:
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#======================================================================
+#
+# General ledger backend code
+#
+# CHANGE LOG:
+# DS. 2000-07-04 Created
+# DS. 2001-06-12 Changed relations from accno to chart_id
+#
+#======================================================================
+
+package GL;
+
+
+sub delete_transaction {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect_noauto($myconfig);
+
+ my $query = qq|DELETE FROM gl WHERE id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+
+ $query = qq|DELETE FROM acc_trans WHERE trans_id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+
+ # commit and redirect
+ my $rc = $dbh->commit;
+ $dbh->disconnect;
+
+ $rc;
+
+}
+
+
+sub post_transaction {
+ my ($self, $myconfig, $form) = @_;
+
+ my ($debit, $credit) = (0, 0);
+ my $project_id;
+
+ my $i;
+ # check if debit and credit balances
+ for $i (1 .. $form->{rowcount}) {
+ if ($form->{"debit_$i"} && $form->{"credit_$i"}) {
+ return -1;
+ }
+
+ $form->{"debit_$i"} = $form->parse_amount($myconfig, $form->{"debit_$i"});
+ $form->{"credit_$i"} = $form->parse_amount($myconfig, $form->{"credit_$i"});
+
+ $debit += $form->{"debit_$i"};
+ $credit += $form->{"credit_$i"};
+ }
+
+ $debit = $form->round_amount($debit, 2);
+ $credit = $form->round_amount($credit, 2);
+
+ if ($debit != $credit) {
+ return -2;
+ }
+
+ if (($debit + $credit) == 0) {
+ return -3;
+ }
+
+ # connect to database, turn off AutoCommit
+ my $dbh = $form->dbconnect_noauto($myconfig);
+
+ # post the transaction
+ # make up a unique handle and store in reference field
+ # then retrieve the record based on the unique handle to get the id
+ # replace the reference field with the actual variable
+ # add records to acc_trans
+
+ # if there is a $form->{id} replace the old transaction
+ # delete all acc_trans entries and add the new ones
+
+ # escape '
+ map { $form->{$_} =~ s/'/''/g } qw(reference description);
+
+
+ my ($query, $sth);
+
+ if ($form->{id}) {
+ # delete individual transactions
+ $query = qq|DELETE FROM acc_trans
+ WHERE trans_id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+
+ } else {
+ my $uid = time;
+ $uid .= $form->{login};
+
+ $query = qq|INSERT INTO gl (reference, employee_id)
+ VALUES ('$uid', (SELECT id FROM employee
+ WHERE login = '$form->{login}'))|;
+ $dbh->do($query) || $form->dberror($query);
+
+ $query = qq|SELECT id FROM gl
+ WHERE reference = '$uid'|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ ($form->{id}) = $sth->fetchrow_array;
+ $sth->finish;
+
+ }
+
+ $query = qq|UPDATE gl SET
+ reference = '$form->{reference}',
+ description = '$form->{description}',
+ notes = '$form->{notes}',
+ transdate = '$form->{transdate}'
+ WHERE id = $form->{id}|;
+
+ $dbh->do($query) || $form->dberror($query);
+
+
+ # insert acc_trans transactions
+ for $i (1 .. $form->{rowcount}) {
+ # extract accno
+ ($accno) = split(/--/, $form->{"accno_$i"});
+ my $amount = 0;
+
+ if ($form->{"credit_$i"} != 0) {
+ $amount = $form->{"credit_$i"};
+ }
+ if ($form->{"debit_$i"} != 0) {
+ $amount = $form->{"debit_$i"} * -1;
+ }
+
+
+ # if there is an amount, add the record
+ if ($amount != 0) {
+ $project_id = ($form->{"project_id_$i"}) ? $form->{"project_id_$i"} : 'NULL';
+ $query = qq|INSERT INTO acc_trans (trans_id, chart_id, amount, transdate,
+ source, project_id)
+ VALUES
+ ($form->{id}, (SELECT id
+ FROM chart
+ WHERE accno = '$accno'),
+ $amount, '$form->{transdate}', '$form->{reference}',
+ $project_id)|;
+
+ $dbh->do($query) || $form->dberror($query);
+ }
+ }
+
+ # commit and redirect
+ my $rc = $dbh->commit;
+ $dbh->disconnect;
+
+ $rc;
+
+}
+
+
+
+sub all_transactions {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+ my $query;
+ my $sth;
+
+ my ($glwhere, $arwhere, $apwhere) = ("1 = 1", "1 = 1", "1 = 1");
+
+ if ($form->{reference}) {
+ my $source = $form->like(lc $form->{reference});
+ $glwhere .= " AND lower(g.reference) LIKE '$source'";
+ $arwhere .= " AND lower(a.invnumber) LIKE '$source'";
+ $apwhere .= " AND lower(a.invnumber) LIKE '$source'";
+ }
+ if ($form->{source}) {
+ my $source = $form->like(lc $form->{source});
+ $glwhere .= " AND lower(ac.source) LIKE '$source'";
+ $arwhere .= " AND lower(ac.source) LIKE '$source'";
+ $apwhere .= " AND lower(ac.source) LIKE '$source'";
+ }
+ if ($form->{datefrom}) {
+ $glwhere .= " AND ac.transdate >= '$form->{datefrom}'";
+ $arwhere .= " AND ac.transdate >= '$form->{datefrom}'";
+ $apwhere .= " AND ac.transdate >= '$form->{datefrom}'";
+ }
+ if ($form->{dateto}) {
+ $glwhere .= " AND ac.transdate <= '$form->{dateto}'";
+ $arwhere .= " AND ac.transdate <= '$form->{dateto}'";
+ $apwhere .= " AND ac.transdate <= '$form->{dateto}'";
+ }
+ if ($form->{description}) {
+ my $description = $form->like(lc $form->{description});
+ $glwhere .= " AND lower(g.description) LIKE '$description'";
+ $arwhere .= " AND lower(ct.name) LIKE '$description'";
+ $apwhere .= " AND lower(ct.name) LIKE '$description'";
+ }
+ if ($form->{notes}) {
+ my $notes = $form->like(lc $form->{notes});
+ $glwhere .= " AND lower(g.notes) LIKE '$notes'";
+ $arwhere .= " AND lower(a.notes) LIKE '$notes'";
+ $apwhere .= " AND lower(a.notes) LIKE '$notes'";
+ }
+ if ($form->{accno}) {
+ $glwhere .= " AND c.accno = '$form->{accno}'";
+ $arwhere .= " AND c.accno = '$form->{accno}'";
+ $apwhere .= " AND c.accno = '$form->{accno}'";
+ }
+ if ($form->{gifi_accno}) {
+ $glwhere .= " AND c.gifi_accno = '$form->{gifi_accno}'";
+ $arwhere .= " AND c.gifi_accno = '$form->{gifi_accno}'";
+ $apwhere .= " AND c.gifi_accno = '$form->{gifi_accno}'";
+ }
+ if ($form->{category} ne 'X') {
+ $glwhere .= " AND c.category = '$form->{category}'";
+ $arwhere .= " AND c.category = '$form->{category}'";
+ $apwhere .= " AND c.category = '$form->{category}'";
+ }
+
+ if ($form->{accno}) {
+ # get category for account
+ $query = qq|SELECT category
+ FROM chart
+ WHERE accno = '$form->{accno}'|;
+ $sth = $dbh->prepare($query);
+
+ $sth->execute || $form->dberror($query);
+ ($form->{ml}) = $sth->fetchrow_array;
+ $sth->finish;
+
+ if ($form->{datefrom}) {
+ $query = qq|SELECT SUM(ac.amount)
+ FROM acc_trans ac, chart c
+ WHERE ac.chart_id = c.id
+ AND c.accno = '$form->{accno}'
+ AND ac.transdate < date '$form->{datefrom}'
+ |;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ ($form->{balance}) = $sth->fetchrow_array;
+ $sth->finish;
+ }
+ }
+
+ if ($form->{gifi_accno}) {
+ # get category for account
+ $query = qq|SELECT category
+ FROM chart
+ WHERE gifi_accno = '$form->{gifi_accno}'|;
+ $sth = $dbh->prepare($query);
+
+ $sth->execute || $form->dberror($query);
+ ($form->{ml}) = $sth->fetchrow_array;
+ $sth->finish;
+
+ if ($form->{datefrom}) {
+ $query = qq|SELECT SUM(ac.amount)
+ FROM acc_trans ac, chart c
+ WHERE ac.chart_id = c.id
+ AND c.gifi_accno = '$form->{gifi_accno}'
+ AND ac.transdate < date '$form->{datefrom}'
+ |;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ ($form->{balance}) = $sth->fetchrow_array;
+ $sth->finish;
+ }
+ }
+
+ my $false = ($myconfig->{dbdriver} eq 'Pg') ? FALSE : q|'0'|;
+
+ my $sortorder = join ', ', $form->sort_columns(qw(transdate reference source description accno));
+ my %ordinal = ( transdate => 6,
+ reference => 4,
+ source => 7,
+ description => 5 );
+ map { $sortorder =~ s/$_/$ordinal{$_}/ } keys %ordinal;
+
+ my $query = qq|SELECT g.id, 'gl' AS type, $false AS invoice, g.reference,
+ g.description, ac.transdate, ac.source,
+ ac.amount, c.accno, c.gifi_accno, g.notes
+ FROM gl g, acc_trans ac, chart c
+ WHERE $glwhere
+ AND ac.chart_id = c.id
+ AND g.id = ac.trans_id
+ UNION ALL
+ SELECT a.id, 'ar' AS type, a.invoice, a.invnumber,
+ ct.name, ac.transdate, ac.source,
+ ac.amount, c.accno, c.gifi_accno, a.notes
+ FROM ar a, acc_trans ac, chart c, customer ct
+ WHERE $arwhere
+ AND ac.chart_id = c.id
+ AND a.customer_id = ct.id
+ AND a.id = ac.trans_id
+ UNION ALL
+ SELECT a.id, 'ap' AS type, a.invoice, a.invnumber,
+ ct.name, ac.transdate, ac.source,
+ ac.amount, c.accno, c.gifi_accno, a.notes
+ FROM ap a, acc_trans ac, chart c, vendor ct
+ WHERE $apwhere
+ AND ac.chart_id = c.id
+ AND a.vendor_id = ct.id
+ AND a.id = ac.trans_id
+ ORDER BY $sortorder|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while (my $ref = $sth->fetchrow_hashref(NAME_lc)) {
+
+ # gl
+ if ($ref->{type} eq "gl") {
+ $ref->{module} = "gl";
+ }
+
+ # ap
+ if ($ref->{type} eq "ap") {
+ if ($ref->{invoice}) {
+ $ref->{module} = "ir";
+ } else {
+ $ref->{module} = "ap";
+ }
+ }
+
+ # ar
+ if ($ref->{type} eq "ar") {
+ if ($ref->{invoice}) {
+ $ref->{module} = "is";
+ } else {
+ $ref->{module} = "ar";
+ }
+ }
+
+ if ($ref->{amount} < 0) {
+ $ref->{debit} = $ref->{amount} * -1;
+ $ref->{credit} = 0;
+ } else {
+ $ref->{credit} = $ref->{amount};
+ $ref->{debit} = 0;
+ }
+
+ push @{ $form->{GL} }, $ref;
+
+ }
+
+ $sth->finish;
+
+ if ($form->{accno}) {
+ $query = qq|SELECT description FROM chart WHERE accno = '$form->{accno}'|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ ($form->{account_description}) = $sth->fetchrow_array;
+ $sth->finish;
+ }
+ if ($form->{gifi_accno}) {
+ $query = qq|SELECT description FROM gifi WHERE accno = '$form->{gifi_accno}'|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ ($form->{gifi_account_description}) = $sth->fetchrow_array;
+ $sth->finish;
+ }
+
+ $dbh->disconnect;
+
+}
+
+
+sub transaction {
+ my ($self, $myconfig, $form) = @_;
+
+ my ($query, $sth);
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ if ($form->{id}) {
+ $query = "SELECT closedto, revtrans
+ FROM defaults";
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ ($form->{closedto}, $form->{revtrans}) = $sth->fetchrow_array;
+ $sth->finish;
+
+ $query = "SELECT reference, description, notes, transdate
+ FROM gl
+ WHERE id = $form->{id}";
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ ($form->{reference}, $form->{description}, $form->{notes}, $form->{transdate}) = $sth->fetchrow_array;
+ $sth->finish;
+
+ # retrieve individual rows
+ $query = "SELECT c.accno, a.amount, project_id,
+ (SELECT p.projectnumber FROM project p
+ WHERE a.project_id = p.id) AS projectnumber
+ FROM acc_trans a, chart c
+ WHERE a.chart_id = c.id
+ AND a.trans_id = $form->{id}
+ ORDER BY accno";
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while (my $ref = $sth->fetchrow_hashref(NAME_lc)) {
+ push @{ $form->{GL} }, $ref;
+ }
+ } else {
+ $query = "SELECT current_date AS transdate, closedto, revtrans
+ FROM defaults";
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ ($form->{transdate}, $form->{closedto}, $form->{revtrans}) = $sth->fetchrow_array;
+ }
+
+ $sth->finish;
+
+ # get chart of accounts
+ $query = qq|SELECT accno,description
+ FROM chart
+ WHERE charttype = 'A'
+ ORDER by accno|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+ $form->{chart} = "";
+ while (my $ref = $sth->fetchrow_hashref(NAME_lc)) {
+ push @{ $form->{chart} }, $ref;
+ }
+ $sth->finish;
+
+ $dbh->disconnect;
+
+}
+
+
+1;
+
diff --git a/sql-ledger/SL/IC.pm b/sql-ledger/SL/IC.pm
new file mode 100644
index 0000000..f4a2f75
--- /dev/null
+++ b/sql-ledger/SL/IC.pm
@@ -0,0 +1,936 @@
+#=====================================================================
+# SQL-Ledger Accounting
+# Copyright (C) 2001
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+# Contributors:
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#======================================================================
+#
+# Inventory Control backend
+#
+#======================================================================
+
+package IC;
+
+
+sub get_part {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to db
+ my $dbh = $form->dbconnect($myconfig);
+
+ my $query = qq|SELECT p.*,
+ c1.accno AS inventory_accno,
+ c2.accno AS income_accno,
+ c3.accno AS expense_accno,
+ pg.partsgroup
+ FROM parts p
+ LEFT JOIN chart c1 ON (p.inventory_accno_id = c1.id)
+ LEFT JOIN chart c2 ON (p.income_accno_id = c2.id)
+ LEFT JOIN chart c3 ON (p.expense_accno_id = c3.id)
+ LEFT JOIN partsgroup pg ON (p.partsgroup_id = pg.id)
+ WHERE p.id = $form->{id}|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+ my $ref = $sth->fetchrow_hashref(NAME_lc);
+
+ # copy to $form variables
+ map { $form->{$_} = $ref->{$_} } ( keys %{ $ref } );
+
+ $sth->finish;
+
+ my %oid = ('Pg' => 'a.oid',
+ 'Oracle' => 'a.rowid'
+ );
+
+
+ # part or service item
+ $form->{item} = ($form->{inventory_accno}) ? 'part' : 'service';
+ if ($form->{assembly}) {
+ $form->{item} = 'assembly';
+
+ # retrieve assembly items
+ $query = qq|SELECT p.id, p.partnumber, p.description,
+ p.sellprice, p.weight, a.qty, a.bom, p.unit,
+ pg.partsgroup
+ FROM parts p
+ JOIN assembly a ON (a.parts_id = p.id)
+ LEFT JOIN partsgroup pg ON (p.partsgroup_id = pg.id)
+ WHERE a.id = $form->{id}
+ ORDER BY $oid{$myconfig->{dbdriver}}|;
+
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ $form->{assembly_rows} = 0;
+ while (my $ref = $sth->fetchrow_hashref(NAME_lc)) {
+ $form->{assembly_rows}++;
+ foreach my $key ( keys %{ $ref } ) {
+ $form->{"${key}_$form->{assembly_rows}"} = $ref->{$key};
+ }
+ }
+ $sth->finish;
+
+ }
+
+ # setup accno hash for <option checked> {amount} is used in create_links
+ $form->{amount}{IC} = $form->{inventory_accno};
+ $form->{amount}{IC_income} = $form->{income_accno};
+ $form->{amount}{IC_sale} = $form->{income_accno};
+ $form->{amount}{IC_expense} = $form->{expense_accno};
+ $form->{amount}{IC_cogs} = $form->{expense_accno};
+
+
+ if ($form->{item} ne 'service') {
+ # get makes
+ if ($form->{makemodel}) {
+ $query = qq|SELECT name FROM makemodel
+ WHERE parts_id = $form->{id}|;
+
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ my $i = 1;
+ while (($form->{"make_$i"}, $form->{"model_$i"}) = split(/:/, $sth->fetchrow_array)) {
+ $i++;
+ }
+ $sth->finish;
+ $form->{makemodel_rows} = $i - 1;
+
+ }
+ }
+
+ # now get accno for taxes
+ $query = qq|SELECT c.accno
+ FROM chart c, partstax pt
+ WHERE pt.chart_id = c.id
+ AND pt.parts_id = $form->{id}|;
+
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while (($key) = $sth->fetchrow_array) {
+ $form->{amount}{$key} = $key;
+ }
+
+ $sth->finish;
+
+ # is it an orphan
+ $query = qq|SELECT parts_id
+ FROM invoice
+ WHERE parts_id = $form->{id}
+ UNION
+ SELECT parts_id
+ FROM orderitems
+ WHERE parts_id = $form->{id}
+ UNION
+ SELECT parts_id
+ FROM assembly
+ WHERE parts_id = $form->{id}|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ ($form->{orphaned}) = $sth->fetchrow_array;
+ $form->{orphaned} = !$form->{orphaned};
+ $sth->finish;
+
+ $dbh->disconnect;
+
+}
+
+
+
+sub save {
+ my ($self, $myconfig, $form) = @_;
+
+ ($form->{inventory_accno}) = split(/--/, $form->{IC});
+ ($form->{expense_accno}) = split(/--/, $form->{IC_expense});
+ ($form->{income_accno}) = split(/--/, $form->{IC_income});
+
+ # connect to database, turn off AutoCommit
+ my $dbh = $form->dbconnect_noauto($myconfig);
+
+ # save the part
+ # make up a unique handle and store in partnumber field
+ # then retrieve the record based on the unique handle to get the id
+ # replace the partnumber field with the actual variable
+ # add records for makemodel
+
+ # if there is a $form->{id} then replace the old entry
+ # delete all makemodel entries and add the new ones
+
+ # escape '
+ map { $form->{$_} =~ s/'/''/g } qw(partnumber description notes unit bin);
+
+ # undo amount formatting
+ map { $form->{$_} = $form->parse_amount($myconfig, $form->{$_}) } qw(rop weight listprice sellprice lastcost stock);
+
+ # set date to NULL if nothing entered
+ $form->{priceupdate} = ($form->{priceupdate}) ? qq|'$form->{priceupdate}'| : "NULL";
+
+ $form->{makemodel} = (($form->{make_1}) || ($form->{model_1})) ? 1 : 0;
+
+ $form->{alternate} = 0;
+ $form->{assembly} = ($form->{item} eq 'assembly') ? 1 : 0;
+ $form->{obsolete} *= 1;
+ $form->{onhand} *= 1;
+
+ my ($query, $sth);
+
+ if ($form->{id}) {
+
+ # get old price
+ $query = qq|SELECT sellprice, weight
+ FROM parts
+ WHERE id = $form->{id}|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ my ($sellprice, $weight) = $sth->fetchrow_array;
+ $sth->finish;
+
+ # if item is part of an assembly adjust all assemblies
+ $query = qq|SELECT id, qty
+ FROM assembly
+ WHERE parts_id = $form->{id}|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while (my ($id, $qty) = $sth->fetchrow_array) {
+ &update_assembly($dbh, $form, $id, $qty * 1, $sellprice * 1, $weight * 1);
+ }
+ $sth->finish;
+
+
+ if ($form->{item} ne 'service') {
+ # delete makemodel records
+ $query = qq|DELETE FROM makemodel
+ WHERE parts_id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+ }
+
+ if ($form->{item} eq 'assembly') {
+ if ($form->{onhand} != 0) {
+ &adjust_inventory($dbh, $form, $form->{id}, $form->{onhand} * -1);
+ }
+
+ if ($form->{orphaned}) {
+ # delete assembly records
+ $query = qq|DELETE FROM assembly
+ WHERE id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+ } else {
+ # update BOM only
+ $query = qq|UPDATE assembly
+ SET bom = ?
+ WHERE id = ?
+ AND parts_id = ?|;
+ $sth = $dbh->prepare($query);
+
+ for $i (1 .. $form->{assembly_rows} - 1) {
+ $sth->execute(($form->{"bom_$i"}) ? '1' : '0', $form->{id}, $form->{"id_$i"}) || $form->dberror($query);
+ }
+ $sth->finish;
+ }
+
+ $form->{onhand} += $form->{stock};
+ }
+
+ # delete tax records
+ $query = qq|DELETE FROM partstax
+ WHERE parts_id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+
+ } else {
+ my $uid = time;
+ $uid .= $form->{login};
+
+ $query = qq|INSERT INTO parts (partnumber)
+ VALUES ('$uid')|;
+ $dbh->do($query) || $form->dberror($query);
+
+ $query = qq|SELECT id FROM parts
+ WHERE partnumber = '$uid'|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ ($form->{id}) = $sth->fetchrow_array;
+ $sth->finish;
+
+ $form->{orphaned} = 1;
+ $form->{onhand} = ($form->{stock} * 1) if $form->{item} eq 'assembly';
+
+ }
+
+ my $partsgroup_id = 0;
+ if ($form->{partsgroup}) {
+ my $partsgroup = lc $form->{partsgroup};
+ $query = qq|SELECT DISTINCT id FROM partsgroup
+ WHERE lower(partsgroup) = '$partsgroup'|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ ($partsgroup_id) = $sth->fetchrow_array;
+ $sth->finish;
+
+ if (!$partsgroup_id) {
+ $query = qq|INSERT INTO partsgroup (partsgroup)
+ VALUES ('$form->{partsgroup}')|;
+ $dbh->do($query) || $form->dberror($query);
+
+ $query = qq|SELECT id FROM partsgroup
+ WHERE partsgroup = '$form->{partsgroup}'|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ ($partsgroup_id) = $sth->fetchrow_array;
+ $sth->finish;
+ }
+ }
+
+
+ $query = qq|UPDATE parts SET
+ partnumber = '$form->{partnumber}',
+ description = '$form->{description}',
+ makemodel = '$form->{makemodel}',
+ alternate = '$form->{alternate}',
+ assembly = '$form->{assembly}',
+ listprice = $form->{listprice},
+ sellprice = $form->{sellprice},
+ lastcost = $form->{lastcost},
+ weight = $form->{weight},
+ priceupdate = $form->{priceupdate},
+ unit = '$form->{unit}',
+ notes = '$form->{notes}',
+ rop = $form->{rop},
+ bin = '$form->{bin}',
+ inventory_accno_id = (SELECT id FROM chart
+ WHERE accno = '$form->{inventory_accno}'),
+ income_accno_id = (SELECT id FROM chart
+ WHERE accno = '$form->{income_accno}'),
+ expense_accno_id = (SELECT id FROM chart
+ WHERE accno = '$form->{expense_accno}'),
+ obsolete = '$form->{obsolete}',
+ image = '$form->{image}',
+ drawing = '$form->{drawing}',
+ microfiche = '$form->{microfiche}',
+ partsgroup_id = $partsgroup_id
+ WHERE id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+
+
+ # insert makemodel records
+ unless ($form->{item} eq 'service') {
+ for my $i (1 .. $form->{makemodel_rows}) {
+ # put make and model together
+ if (($form->{"make_$i"}) || ($form->{"model_$i"})) {
+ map { $form->{"${_}_$i"} =~ s/'/''/g } qw(make model);
+
+ $query = qq|INSERT INTO makemodel (parts_id, name)
+ VALUES ($form->{id},
+ '$form->{"make_$i"}:$form->{"model_$i"}')|;
+ $dbh->do($query) || $form->dberror($query);
+ }
+ }
+ }
+
+
+ # insert taxes
+ foreach $item (split / /, $form->{taxaccounts}) {
+ if ($form->{"IC_tax_$item"}) {
+ $query = qq|INSERT INTO partstax (parts_id, chart_id)
+ VALUES ($form->{id},
+ (SELECT id
+ FROM chart
+ WHERE accno = '$item'))|;
+ $dbh->do($query) || $form->dberror($query);
+ }
+ }
+
+ # add assembly records
+ if ($form->{item} eq 'assembly') {
+
+ if ($form->{orphaned}) {
+ for my $i (1 .. $form->{assembly_rows}) {
+ $form->{"qty_$i"} = $form->parse_amount($myconfig, $form->{"qty_$i"});
+
+ if ($form->{"qty_$i"} != 0) {
+ $form->{"bom_$i"} *= 1;
+ $query = qq|INSERT INTO assembly (id, parts_id, qty, bom)
+ VALUES ($form->{id}, $form->{"id_$i"},
+ $form->{"qty_$i"}, '$form->{"bom_$i"}')|;
+ $dbh->do($query) || $form->dberror($query);
+ }
+ }
+ }
+
+ # adjust onhand for the assembly
+ if ($form->{onhand} != 0) {
+ &adjust_inventory($dbh, $form, $form->{id}, $form->{onhand});
+ }
+
+ }
+
+
+ # commit
+ my $rc = $dbh->commit;
+ $dbh->disconnect;
+
+ $rc;
+
+}
+
+
+
+sub update_assembly {
+ my ($dbh, $form, $id, $qty, $sellprice, $weight) = @_;
+
+ my $query = qq|SELECT id, qty
+ FROM assembly
+ WHERE parts_id = $id|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while (my ($pid, $aqty) = $sth->fetchrow_array) {
+ &update_assembly($dbh, $form, $pid, $aqty * $qty, $sellprice, $weight);
+ }
+ $sth->finish;
+
+ $query = qq|UPDATE parts
+ SET sellprice = sellprice +
+ $qty * ($form->{sellprice} - $sellprice),
+ weight = weight +
+ $qty * ($form->{weight} - $weight)
+ WHERE id = $id|;
+ $dbh->do($query) || $form->dberror($query);
+
+}
+
+
+
+sub retrieve_assemblies {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ my $where = '1 = 1';
+
+ if ($form->{partnumber}) {
+ my $partnumber = $form->like(lc $form->{partnumber});
+ $where .= " AND lower(p.partnumber) LIKE '$partnumber'";
+ }
+
+ if ($form->{description}) {
+ my $description = $form->like(lc $form->{description});
+ $where .= " AND lower(p.description) LIKE '$description'";
+ }
+ $where .= " AND NOT p.obsolete = '1'";
+
+ # retrieve assembly items
+ my $query = qq|SELECT p.id, p.partnumber, p.description,
+ p.bin, p.onhand, p.rop,
+ (SELECT sum(p2.inventory_accno_id)
+ FROM parts p2, assembly a
+ WHERE p2.id = a.parts_id
+ AND a.id = p.id) AS inventory
+ FROM parts p
+ WHERE $where
+ AND assembly = '1'|;
+
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while (my $ref = $sth->fetchrow_hashref(NAME_lc)) {
+ push @{ $form->{assembly_items} }, $ref if $ref->{inventory};
+ }
+ $sth->finish;
+
+ $dbh->disconnect;
+
+}
+
+
+sub restock_assemblies {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect_noauto($myconfig);
+
+ for my $i (1 .. $form->{rowcount}) {
+
+ $form->{"qty_$i"} = $form->parse_amount($myconfig, $form->{"qty_$i"});
+
+ if ($form->{"qty_$i"} != 0) {
+ &adjust_inventory($dbh, $form, $form->{"id_$i"}, $form->{"qty_$i"});
+ }
+
+ }
+
+ my $rc = $dbh->commit;
+ $dbh->disconnect;
+
+ $rc;
+
+}
+
+
+sub adjust_inventory {
+ my ($dbh, $form, $id, $qty) = @_;
+
+ my $query = qq|SELECT p.id, p.inventory_accno_id, p.assembly, a.qty
+ FROM parts p
+ JOIN assembly a ON (a.parts_id = p.id)
+ WHERE a.id = $id|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while (my $ref = $sth->fetchrow_hashref(NAME_lc)) {
+
+ my $allocate = $qty * $ref->{qty};
+
+ # is it a service item, then loop
+ $ref->{inventory_accno_id} *= 1;
+ next if (($ref->{inventory_accno_id} == 0) && !$ref->{assembly});
+
+ # adjust parts onhand
+ $form->update_balance($dbh,
+ "parts",
+ "onhand",
+ qq|id = $ref->{id}|,
+ $allocate * -1);
+ }
+
+ $sth->finish;
+
+ # update assembly
+ $form->update_balance($dbh,
+ "parts",
+ "onhand",
+ qq|id = $id|,
+ $qty);
+
+}
+
+
+sub delete {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database, turn off AutoCommit
+ my $dbh = $form->dbconnect_noauto($myconfig);
+
+ if ($form->{item} eq 'assembly' && $form->{onhand} != 0) {
+ # adjust onhand for the assembly
+ &adjust_inventory($dbh, $form, $form->{id}, $form->{onhand} * -1);
+ }
+
+ my $query = qq|DELETE FROM parts
+ WHERE id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+
+ $query = qq|DELETE FROM partstax
+ WHERE parts_id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+
+ # check if it is a part, assembly or service
+ if ($form->{item} eq 'part') {
+ $query = qq|DELETE FROM makemodel
+ WHERE parts_id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+ }
+
+ if ($form->{item} eq 'assembly') {
+ $query = qq|DELETE FROM assembly
+ WHERE id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+ }
+
+ if ($form->{item} eq 'alternate') {
+ $query = qq|DELETE FROM alternate
+ WHERE id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+ }
+
+ # commit
+ my $rc = $dbh->commit;
+ $dbh->disconnect;
+
+ $rc;
+
+}
+
+
+sub assembly_item {
+ my ($self, $myconfig, $form) = @_;
+
+ my $i = $form->{assembly_rows};
+ my $var;
+ my $where = "1 = 1";
+
+ if ($form->{"partnumber_$i"}) {
+ $var = $form->like(lc $form->{"partnumber_$i"});
+ $where .= " AND lower(p.partnumber) LIKE '$var'";
+ }
+ if ($form->{"description_$i"}) {
+ $var = $form->like(lc $form->{"description_$i"});
+ $where .= " AND lower(p.description) LIKE '$var'";
+ }
+ if ($form->{"partsgroup_$i"}) {
+ $var = $form->like(lc $form->{"partsgroup_$i"});
+ $where .= " AND lower(pg.partsgroup) LIKE '$var'";
+ }
+
+ if ($form->{id}) {
+ $where .= " AND NOT p.id = $form->{id}";
+ }
+
+ if ($partnumber) {
+ $where .= " ORDER BY p.partnumber";
+ } else {
+ $where .= " ORDER BY p.description";
+ }
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ my $query = qq|SELECT p.id, p.partnumber, p.description, p.sellprice,
+ p.weight, p.onhand, p.unit,
+ pg.partsgroup
+ FROM parts p
+ LEFT JOIN partsgroup pg ON (p.partsgroup_id = pg.id)
+ WHERE $where|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while (my $ref = $sth->fetchrow_hashref(NAME_lc)) {
+ push @{ $form->{item_list} }, $ref;
+ }
+
+ $sth->finish;
+ $dbh->disconnect;
+
+}
+
+
+sub all_parts {
+ my ($self, $myconfig, $form) = @_;
+
+ my $where = '1 = 1';
+ my $var;
+
+ foreach my $item (qw(partnumber drawing microfiche)) {
+ if ($form->{$item}) {
+ $var = $form->like(lc $form->{$item});
+ $where .= " AND lower(p.$item) LIKE '$var'";
+ }
+ }
+ # special case for description
+ if ($form->{description}) {
+ unless ($form->{bought} || $form->{sold} || $form->{onorder} || $form->{ordered}) {
+ $var = $form->like(lc $form->{description});
+ $where .= " AND lower(p.description) LIKE '$var'";
+ }
+ }
+
+ if ($form->{searchitems} eq 'part') {
+ $where .= " AND p.inventory_accno_id > 0";
+ }
+ if ($form->{searchitems} eq 'assembly') {
+ $form->{bought} = "";
+ $where .= " AND p.assembly = '1'";
+ }
+ if ($form->{searchitems} eq 'service') {
+ $where .= " AND p.inventory_accno_id IS NULL AND NOT p.assembly = '1'";
+ # irrelevant for services
+ $form->{make} = $form->{model} = "";
+ }
+
+ # items which were never bought, sold or on an order
+ if ($form->{itemstatus} eq 'orphaned') {
+ $form->{onhand} = $form->{short} = 0;
+ $form->{bought} = $form->{sold} = 0;
+ $form->{onorder} = $form->{ordered} = 0;
+ $form->{transdatefrom} = $form->{transdateto} = "";
+
+ $where .= " AND p.onhand = 0
+ AND p.id NOT IN (SELECT p.id FROM parts p, invoice i
+ WHERE p.id = i.parts_id)
+ AND p.id NOT IN (SELECT p.id FROM parts p, assembly a
+ WHERE p.id = a.parts_id)
+ AND p.id NOT IN (SELECT p.id FROM parts p, orderitems o
+ WHERE p.id = o.parts_id)";
+ }
+
+ if ($form->{itemstatus} eq 'active') {
+ $where .= " AND p.obsolete = '0'";
+ }
+ if ($form->{itemstatus} eq 'obsolete') {
+ $where .= " AND p.obsolete = '1'";
+ $form->{onhand} = $form->{short} = 0;
+ }
+ if ($form->{itemstatus} eq 'onhand') {
+ $where .= " AND p.onhand > 0";
+ }
+ if ($form->{itemstatus} eq 'short') {
+ $where .= " AND p.onhand < 0";
+ }
+
+ if ($form->{make}) {
+ $var = $form->like(lc $form->{make}).":%";
+ $where .= " AND p.id IN (SELECT DISTINCT ON (m.parts_id) m.parts_id
+ FROM makemodel m WHERE lower(m.name) LIKE '$var')";
+ }
+ if ($form->{model}) {
+ $var = "%:".$form->like($form->{model});
+ $where .= " AND p.id IN (SELECT DISTINCT ON (m.parts_id) m.parts_id
+ FROM makemodel m WHERE lower(m.name) LIKE '$var')";
+ }
+ if ($form->{partsgroup}) {
+ $var = $form->like(lc $form->{partsgroup});
+ $where .= " AND lower(pg.partsgroup) LIKE '$var'";
+
+ }
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+
+ my $sortorder = join ', ', $form->sort_columns(qw(partnumber description bin priceupdate partsgroup));
+ $sortorder = $form->{sort} unless $sortorder;
+
+ my $query = qq|SELECT p.id, p.partnumber, p.description, p.onhand, p.unit,
+ p.bin, p.sellprice, p.listprice, p.lastcost, p.rop, p.weight,
+ p.priceupdate, p.image, p.drawing, p.microfiche,
+ pg.partsgroup
+ FROM parts p
+ LEFT JOIN partsgroup pg ON (p.partsgroup_id = pg.id)
+ WHERE $where
+ ORDER BY $sortorder|;
+
+ # rebuild query for bought and sold items
+ if ($form->{bought} || $form->{sold} || $form->{onorder} || $form->{ordered}) {
+
+ my $union = "";
+ $query = "";
+
+ if ($form->{bought} || $form->{sold}) {
+
+ my $invwhere = "$where";
+ $invwhere .= " AND i.assemblyitem = '0'";
+ $invwhere .= " AND a.transdate >= '$form->{transdatefrom}'" if $form->{transdatefrom};
+ $invwhere .= " AND a.transdate <= '$form->{transdateto}'" if $form->{transdateto};
+
+ if ($form->{description}) {
+ $var = $form->like(lc $form->{description});
+ $invwhere .= " AND lower(i.description) LIKE '$var'";
+ }
+
+ my $flds = qq|p.id, p.partnumber, i.description,
+ i.qty AS onhand, i.unit, p.bin, i.sellprice,
+ p.listprice, p.lastcost, p.rop, p.weight,
+ p.priceupdate, p.image, p.drawing, p.microfiche,
+ pg.partsgroup,
+ a.invnumber, a.ordnumber, i.trans_id|;
+
+ if ($form->{bought}) {
+ $query = qq|
+ SELECT $flds, 'ir' AS module, '' AS type,
+ 1 AS exchangerate
+ FROM parts p
+ JOIN invoice i ON (i.parts_id = p.id)
+ JOIN ap a ON (i.trans_id = a.id)
+ LEFT JOIN partsgroup pg ON (p.partsgroup_id = pg.id)
+ WHERE $invwhere|;
+ $union = "
+ UNION";
+ }
+
+ if ($form->{sold}) {
+ $query .= qq|$union
+ SELECT $flds, 'is' AS module, '' AS type,
+ 1 As exchangerate
+ FROM parts p
+ JOIN invoice i ON (i.parts_id = p.id)
+ JOIN ar a ON (i.trans_id = a.id)
+ LEFT JOIN partsgroup pg ON (p.partsgroup_id = pg.id)
+ WHERE $invwhere|;
+ $union = "
+ UNION";
+ }
+ }
+
+ if ($form->{onorder} || $form->{ordered}) {
+ my $ordwhere = "$where";
+ $ordwhere .= " AND o.closed = '0'" unless $form->{closed};
+
+ $ordwhere .= " AND o.transdate >= '$form->{transdatefrom}'" if $form->{transdatefrom};
+ $ordwhere .= " AND o.transdate <= '$form->{transdateto}'" if $form->{transdateto};
+
+ if ($form->{description}) {
+ $var = $form->like(lc $form->{description});
+ $ordwhere .= " AND lower(oi.description) LIKE '$var'";
+ }
+
+ $flds = qq|p.id, p.partnumber, oi.description,
+ oi.qty AS onhand, oi.unit, p.bin, oi.sellprice,
+ p.listprice, p.lastcost, p.rop, p.weight,
+ p.priceupdate, p.image, p.drawing, p.microfiche,
+ pg.partsgroup,
+ '' AS invnumber, o.ordnumber, oi.trans_id|;
+
+ if ($form->{ordered}) {
+ $query .= qq|$union
+ SELECT $flds, 'oe' AS module, 'sales_order' AS type,
+ (SELECT buy FROM exchangerate ex
+ WHERE ex.curr = o.curr
+ AND ex.transdate = o.transdate) AS exchangerate
+ FROM parts p
+ JOIN orderitems oi ON (oi.parts_id = p.id)
+ JOIN oe o ON (oi.trans_id = o.id)
+ LEFT JOIN partsgroup pg ON (p.partsgroup_id = pg.id)
+ WHERE $ordwhere
+ AND o.customer_id > 0|;
+ $union = "
+ UNION";
+ }
+
+ if ($form->{onorder}) {
+ $flds = qq|p.id, p.partnumber, oi.description,
+ oi.qty * -1 AS onhand, oi.unit, p.bin, oi.sellprice,
+ p.listprice, p.lastcost, p.rop, p.weight,
+ p.priceupdate, p.image, p.drawing, p.microfiche,
+ pg.partsgroup,
+ '' AS invnumber, o.ordnumber, oi.trans_id|;
+
+ $query .= qq|$union
+ SELECT $flds, 'oe' AS module, 'purchase_order' AS type,
+ (SELECT sell FROM exchangerate ex
+ WHERE ex.curr = o.curr
+ AND ex.transdate = o.transdate) AS exchangerate
+ FROM parts p
+ JOIN orderitems oi ON (oi.parts_id = p.id)
+ JOIN oe o ON (oi.trans_id = o.id)
+ LEFT JOIN partsgroup pg ON (p.partsgroup_id = pg.id)
+ WHERE $ordwhere
+ AND o.vendor_id > 0|;
+ }
+
+ }
+
+ $query .= qq|
+ ORDER BY $sortorder|;
+
+ }
+
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while (my $ref = $sth->fetchrow_hashref(NAME_lc)) {
+ push @{ $form->{parts} }, $ref;
+ }
+
+ $sth->finish;
+
+
+ # include individual items for assemblies
+ if ($form->{searchitems} eq 'assembly' && $form->{bom}) {
+ foreach $item (@{ $form->{parts} }) {
+ push @assemblies, $item;
+ $query = qq|SELECT p.id, p.partnumber, p.description, a.qty AS onhand,
+ p.unit, p.bin,
+ p.sellprice, p.listprice, p.lastcost,
+ p.rop, p.weight, p.priceupdate,
+ p.image, p.drawing, p.microfiche
+ FROM parts p
+ JOIN assembly a ON (p.id = a.parts_id)
+ WHERE a.id = $item->{id}|;
+
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while (my $ref = $sth->fetchrow_hashref(NAME_lc)) {
+ $ref->{assemblyitem} = 1;
+ push @assemblies, $ref;
+ }
+ $sth->finish;
+
+ push @assemblies, {id => $item->{id}};
+
+ }
+
+ # copy assemblies to $form->{parts}
+ @{ $form->{parts} } = @assemblies;
+
+ }
+
+ $dbh->disconnect;
+
+}
+
+
+sub create_links {
+ my ($self, $module, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ my $query = qq|SELECT accno, description, link
+ FROM chart
+ WHERE link LIKE '%$module%'
+ ORDER BY accno|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while (my $ref = $sth->fetchrow_hashref(NAME_lc)) {
+ foreach my $key (split(/:/, $ref->{link})) {
+ if ($key =~ /$module/) {
+ push @{ $form->{"${module}_links"}{$key} }, { accno => $ref->{accno},
+ description => $ref->{description} };
+ }
+ }
+ }
+
+ $sth->finish;
+
+ if ($form->{id}) {
+ $query = qq|SELECT weightunit
+ FROM defaults|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ ($form->{weightunit}) = $sth->fetchrow_array;
+ $sth->finish;
+
+ } else {
+ $query = qq|SELECT weightunit, current_date
+ FROM defaults|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ ($form->{weightunit}, $form->{priceupdate}) = $sth->fetchrow_array;
+ $sth->finish;
+ }
+
+ $dbh->disconnect;
+
+}
+
+
+1;
+
diff --git a/sql-ledger/SL/IR.pm b/sql-ledger/SL/IR.pm
new file mode 100644
index 0000000..357533e
--- /dev/null
+++ b/sql-ledger/SL/IR.pm
@@ -0,0 +1,995 @@
+#=====================================================================
+# SQL-Ledger Accounting
+# Copyright (C) 2001
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+# Contributors:
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#======================================================================
+#
+# Inventory received module
+#
+#======================================================================
+
+package IR;
+
+
+sub post_invoice {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database, turn off autocommit
+ my $dbh = $form->dbconnect_noauto($myconfig);
+
+ my ($query, $sth, $null, $project_id);
+ my $exchangerate = 0;
+
+ if ($form->{id}) {
+
+ &reverse_invoice($dbh, $form);
+
+ } else {
+ my $uid = time;
+ $uid .= $form->{login};
+
+ $query = qq|INSERT INTO ap (invnumber, employee_id)
+ VALUES ('$uid', (SELECT id FROM employee
+ WHERE login = '$form->{login}'))|;
+ $dbh->do($query) || $form->dberror($query);
+
+ $query = qq|SELECT id FROM ap
+ WHERE invnumber = '$uid'|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ ($form->{id}) = $sth->fetchrow_array;
+ $sth->finish;
+ }
+
+ map { $form->{$_} =~ s/'/''/g } qw(invnumber ordnumber);
+
+ my ($amount, $linetotal, $lastinventoryaccno, $lastexpenseaccno);
+ my ($netamount, $invoicediff, $expensediff) = (0, 0, 0);
+
+ if ($form->{currency} eq $form->{defaultcurrency}) {
+ $form->{exchangerate} = 1;
+ } else {
+ $exchangerate = $form->check_exchangerate($myconfig, $form->{currency}, $form->{transdate}, 'sell');
+ }
+
+ $form->{exchangerate} = ($exchangerate) ? $exchangerate : $form->parse_amount($myconfig, $form->{exchangerate});
+
+
+ for my $i (1 .. $form->{rowcount}) {
+ $form->{"qty_$i"} = $form->parse_amount($myconfig, $form->{"qty_$i"});
+
+ if ($form->{"qty_$i"} != 0) {
+
+ map { $form->{"${_}_$i"} =~ s/'/''/g } qw(partnumber description unit);
+
+ my ($allocated, $taxrate) = (0, 0);
+ my $taxamount;
+
+ $form->{"sellprice_$i"} = $form->parse_amount($myconfig, $form->{"sellprice_$i"});
+ my $fxsellprice = $form->{"sellprice_$i"};
+
+ my ($dec) = ($fxsellprice =~ /\.(\d+)/);
+ $dec = length $dec;
+ my $decimalplaces = ($dec > 2) ? $dec : 2;
+
+
+ map { $taxrate += $form->{"${_}_rate"} } split / /, $form->{"taxaccounts_$i"};
+
+ if ($form->{"inventory_accno_$i"}) {
+
+ $linetotal = $form->round_amount($form->{"sellprice_$i"} * $form->{"qty_$i"}, 2);
+
+ if ($form->{taxincluded}) {
+ $taxamount = $linetotal * ($taxrate / (1 + $taxrate));
+ $form->{"sellprice_$i"} = $form->{"sellprice_$i"} * (1 / (1 + $taxrate));
+ } else {
+ $taxamount = $linetotal * $taxrate;
+ }
+
+ $netamount += $linetotal;
+
+ if ($taxamount != 0) {
+ map { $form->{amount}{$form->{id}}{$_} -= $taxamount * $form->{"${_}_rate"} / $taxrate } split / /, $form->{"taxaccounts_$i"};
+ }
+
+ # add purchase to inventory, this one is without the tax!
+ $amount = $form->{"sellprice_$i"} * $form->{"qty_$i"} * $form->{exchangerate};
+ $linetotal = $form->round_amount($form->{"sellprice_$i"} * $form->{"qty_$i"}, 2) * $form->{exchangerate};
+ $linetotal = $form->round_amount($linetotal, 2);
+
+ # this is the difference for the inventory
+ $invoicediff += ($amount - $linetotal);
+
+ $form->{amount}{$form->{id}}{$form->{"inventory_accno_$i"}} -= $linetotal;
+
+ # adjust and round sellprice
+ $form->{"sellprice_$i"} = $form->round_amount($form->{"sellprice_$i"} * $form->{exchangerate}, $decimalplaces);
+
+
+ # update parts table
+ $query = qq|UPDATE parts SET
+ lastcost = $form->{"sellprice_$i"},
+ onhand = onhand + $form->{"qty_$i"}
+ WHERE id = $form->{"id_$i"}|;
+ $dbh->do($query) || $form->dberror($query);
+
+
+ # check if we sold the item already and
+ # make an entry for the expense and inventory
+ $query = qq|SELECT i.id, i.qty, i.allocated, i.trans_id,
+ p.inventory_accno_id, p.expense_accno_id, a.transdate
+ FROM invoice i, ar a, parts p
+ WHERE i.parts_id = p.id
+ AND i.parts_id = $form->{"id_$i"}
+ AND (i.qty + i.allocated) > 0
+ AND i.trans_id = a.id
+ ORDER BY transdate|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+
+ my $totalqty = $form->{"qty_$i"};
+
+ while (my $ref = $sth->fetchrow_hashref(NAME_lc)) {
+
+ my $qty = $ref->{qty} + $ref->{allocated};
+
+ if (($qty - $totalqty) > 0) {
+ $qty = $totalqty;
+ }
+
+
+ $linetotal = $form->round_amount($form->{"sellprice_$i"} * $qty, 2);
+
+ if ($ref->{allocated} < 0) {
+ # we have an entry for it already, adjust amount
+ $form->update_balance($dbh,
+ "acc_trans",
+ "amount",
+ qq|trans_id = $ref->{trans_id} AND chart_id = $ref->{inventory_accno_id} AND transdate = '$ref->{transdate}'|,
+ $linetotal);
+
+ $form->update_balance($dbh,
+ "acc_trans",
+ "amount",
+ qq|trans_id = $ref->{trans_id} AND chart_id = $ref->{expense_accno_id} AND transdate = '$ref->{transdate}'|,
+ $linetotal * -1);
+
+ } else {
+ # add entry for inventory, this one is for the sold item
+ if ($linetotal != 0) {
+ $query = qq|INSERT INTO acc_trans (trans_id, chart_id, amount,
+ transdate)
+ VALUES ($ref->{trans_id}, $ref->{inventory_accno_id},
+ $linetotal, '$ref->{transdate}')|;
+ $dbh->do($query) || $form->dberror($query);
+
+ # add expense
+ $query = qq|INSERT INTO acc_trans (trans_id, chart_id, amount,
+ transdate)
+ VALUES ($ref->{trans_id}, $ref->{expense_accno_id},
+ |. ($linetotal * -1) .qq|, '$ref->{transdate}')|;
+ $dbh->do($query) || $form->dberror($query);
+ }
+ }
+
+ # update allocated for sold item
+ $form->update_balance($dbh,
+ "invoice",
+ "allocated",
+ qq|id = $ref->{id}|,
+ $qty * -1);
+
+ $allocated += $qty;
+
+ last if (($totalqty -= $qty) <= 0);
+ }
+
+ $sth->finish;
+
+ $lastinventoryaccno = $form->{"inventory_accno_$i"};
+
+ } else {
+
+ $linetotal = $form->round_amount($form->{"sellprice_$i"} * $form->{"qty_$i"}, 2);
+
+ if ($form->{taxincluded}) {
+ $taxamount = $linetotal * ($taxrate / (1 + $taxrate));
+
+ $form->{"sellprice_$i"} = $form->{"sellprice_$i"} * (1 / (1 + $taxrate));
+ } else {
+ $taxamount = $linetotal * $taxrate;
+ }
+
+ $netamount += $linetotal;
+
+ if ($taxamount != 0) {
+ map { $form->{amount}{$form->{id}}{$_} -= $taxamount * $form->{"${_}_rate"} / $taxrate } split / /, $form->{"taxaccounts_$i"};
+ }
+
+ $amount = $form->{"sellprice_$i"} * $form->{"qty_$i"} * $form->{exchangerate};
+ $linetotal = $form->round_amount($form->{"sellprice_$i"} * $form->{"qty_$i"}, 2) * $form->{exchangerate};
+ $linetotal = $form->round_amount($linetotal, 2);
+
+ # this is the difference for expense
+ $expensediff += ($amount - $linetotal);
+
+ # add amount to expense
+ $form->{amount}{$form->{id}}{$form->{"expense_accno_$i"}} -= $linetotal;
+
+ $lastexpenseaccno = $form->{"expense_accno_$i"};
+
+ # adjust and round sellprice
+ $form->{"sellprice_$i"} = $form->round_amount($form->{"sellprice_$i"} * $form->{exchangerate}, $decimalplaces);
+
+ # update lastcost
+ $query = qq|UPDATE parts SET
+ lastcost = $form->{"sellprice_$i"}
+ WHERE id = $form->{"id_$i"}|;
+ $dbh->do($query) || $form->dberror($query);
+
+ }
+
+ $project_id = 'NULL';
+ if ($form->{"project_id_$i"}) {
+ $project_id = $form->{"project_id_$i"};
+ }
+ $deliverydate = ($form->{"deliverydate_$i"}) ? qq|'$form->{"deliverydate_$i"}'| : "NULL";
+
+ # save detail record in invoice table
+ $query = qq|INSERT INTO invoice (trans_id, parts_id, description, qty,
+ sellprice, fxsellprice, allocated, unit, deliverydate)
+ VALUES ($form->{id}, $form->{"id_$i"},
+ '$form->{"description_$i"}', |. ($form->{"qty_$i"} * -1) .qq|,
+ $form->{"sellprice_$i"}, $fxsellprice, $allocated,
+ '$form->{"unit_$i"}', $deliverydate)|;
+ $dbh->do($query) || $form->dberror($query);
+
+ }
+ }
+
+
+ $form->{datepaid} = $form->{invdate};
+
+ # all amounts are in natural state, netamount includes the taxes
+ # if tax is included, netamount is rounded to 2 decimal places,
+ # taxes are not
+
+ # total payments
+ for my $i (1 .. $form->{paidaccounts}) {
+ $form->{"paid_$i"} = $form->parse_amount($myconfig, $form->{"paid_$i"});
+ $form->{paid} += $form->{"paid_$i"};
+ $form->{datepaid} = $form->{"datepaid_$i"} if ($form->{"datepaid_$i"});
+ }
+
+ my ($tax, $paiddiff) = (0, 0);
+
+ $netamount = $form->round_amount($netamount, 2);
+
+ # figure out rounding errors for amount paid and total amount
+ if ($form->{taxincluded}) {
+
+ $amount = $form->round_amount($netamount * $form->{exchangerate}, 2);
+ $paiddiff = $amount - $netamount * $form->{exchangerate};
+ $netamount = $amount;
+
+ foreach my $item (split / /, $form->{taxaccounts}) {
+ $amount = $form->{amount}{$form->{id}}{$item} * $form->{exchangerate};
+ $form->{amount}{$form->{id}}{$item} = $form->round_amount($amount, 2);
+ $amount = $form->{amount}{$form->{id}}{$item} * -1;
+ $tax += $amount;
+ $netamount -= $amount;
+ }
+
+ $invoicediff += $paiddiff;
+ $expensediff += $paiddiff;
+
+ ######## this only applies to tax included
+ if ($lastinventoryaccno) {
+ $form->{amount}{$form->{id}}{$lastinventoryaccno} -= $invoicediff;
+ }
+ if ($lastexpenseaccno) {
+ $form->{amount}{$form->{id}}{$lastexpenseaccno} -= $expensediff;
+ }
+
+ } else {
+ $amount = $form->round_amount($netamount * $form->{exchangerate}, 2);
+ $paiddiff = $amount - $netamount * $form->{exchangerate};
+ $netamount = $amount;
+ foreach my $item (split / /, $form->{taxaccounts}) {
+ $form->{amount}{$form->{id}}{$item} = $form->round_amount($form->{amount}{$form->{id}}{$item}, 2);
+ $amount = $form->round_amount($form->{amount}{$form->{id}}{$item} * $form->{exchangerate} * -1, 2);
+ $paiddiff += $amount - $form->{amount}{$form->{id}}{$item} * $form->{exchangerate} * -1;
+ $form->{amount}{$form->{id}}{$item} = $form->round_amount($amount * -1, 2);
+ $amount = $form->{amount}{$form->{id}}{$item} * -1;
+ $tax += $amount;
+ }
+ }
+
+
+ $form->{amount}{$form->{id}}{$form->{AP}} = $netamount + $tax;
+
+ if ($form->{paid} != 0) {
+ $form->{paid} = $form->round_amount($form->{paid} * $form->{exchangerate} + $paiddiff, 2);
+ }
+
+
+ # update exchangerate
+ if (($form->{currency} ne $form->{defaultcurrency}) && !$exchangerate) {
+ $form->update_exchangerate($dbh, $form->{currency}, $form->{invdate}, 0, $form->{exchangerate});
+ }
+
+ # record acc_trans transactions
+ foreach my $trans_id (keys %{$form->{amount}}) {
+ foreach my $accno (keys %{ $form->{amount}{$trans_id} }) {
+ if (($form->{amount}{$trans_id}{$accno} = $form->round_amount($form->{amount}{$trans_id}{$accno}, 2)) != 0) {
+ $query = qq|INSERT INTO acc_trans (trans_id, chart_id, amount,
+ transdate)
+ VALUES ($trans_id, (SELECT id FROM chart
+ WHERE accno = '$accno'),
+ $form->{amount}{$trans_id}{$accno}, '$form->{invdate}')|;
+ $dbh->do($query) || $form->dberror($query);
+ }
+ }
+ }
+
+ # deduct payment differences from paiddiff
+ for my $i (1 .. $form->{paidaccounts}) {
+ if ($form->{"paid_$i"} != 0) {
+ $amount = $form->round_amount($form->{"paid_$i"} * $form->{exchangerate}, 2);
+ $paiddiff -= $amount - $form->{"paid_$i"} * $form->{exchangerate};
+ }
+ }
+
+ # force AP entry if 0
+ $form->{amount}{$form->{id}}{$form->{AP}} = $form->{paid} if ($form->{amount}{$form->{id}}{$form->{AP}} == 0);
+
+ # record payments and offsetting AP
+ for my $i (1 .. $form->{paidaccounts}) {
+
+ if ($form->{"paid_$i"} != 0) {
+ my ($accno) = split /--/, $form->{"AP_paid_$i"};
+ $form->{"datepaid_$i"} = $form->{invdate} unless ($form->{"datepaid_$i"});
+ $form->{datepaid} = $form->{"datepaid_$i"};
+
+ $amount = ($form->round_amount($form->{"paid_$i"} * $form->{exchangerate} + $paiddiff, 2)) * -1;
+
+ # record AP
+
+ if ($form->{amount}{$form->{id}}{$form->{AP}} != 0) {
+ $query = qq|INSERT INTO acc_trans (trans_id, chart_id, amount,
+ transdate)
+ VALUES ($form->{id}, (SELECT id FROM chart
+ WHERE accno = '$form->{AP}'),
+ $amount, '$form->{"datepaid_$i"}')|;
+ $dbh->do($query) || $form->dberror($query);
+ }
+
+ # record payment
+
+ $query = qq|INSERT INTO acc_trans (trans_id, chart_id, amount, transdate,
+ source)
+ VALUES ($form->{id}, (SELECT id FROM chart
+ WHERE accno = '$accno'),
+ $form->{"paid_$i"}, '$form->{"datepaid_$i"}',
+ '$form->{"source_$i"}')|;
+ $dbh->do($query) || $form->dberror($query);
+
+
+ $exchangerate = 0;
+
+ if ($form->{currency} eq $form->{defaultcurrency}) {
+ $form->{"exchangerate_$i"} = 1;
+ } else {
+ $exchangerate = $form->check_exchangerate($myconfig, $form->{currency}, $form->{"datepaid_$i"}, 'sell');
+
+ $form->{"exchangerate_$i"} = ($exchangerate) ? $exchangerate : $form->parse_amount($myconfig, $form->{"exchangerate_$i"});
+ }
+
+
+ # exchangerate difference
+ $form->{fx}{$accno}{$form->{"datepaid_$i"}} += $form->{"paid_$i"} * ($form->{"exchangerate_$i"} - 1) + $paiddiff;
+
+
+ # gain/loss
+ $amount = ($form->{"paid_$i"} * $form->{exchangerate}) - ($form->{"paid_$i"} * $form->{"exchangerate_$i"});
+ if ($amount > 0) {
+ $form->{fx}{$form->{fxgain_accno}}{$form->{"datepaid_$i"}} += $amount;
+ } else {
+ $form->{fx}{$form->{fxloss_accno}}{$form->{"datepaid_$i"}} += $amount;
+ }
+
+ $paiddiff = 0;
+
+ # update exchange rate
+ if (($form->{currency} ne $form->{defaultcurrency}) && !$exchangerate) {
+ $form->update_exchangerate($dbh, $form->{currency}, $form->{"datepaid_$i"}, 0, $form->{"exchangerate_$i"});
+ }
+ }
+ }
+
+ # record exchange rate differences and gains/losses
+ foreach my $accno (keys %{$form->{fx}}) {
+ foreach my $transdate (keys %{ $form->{fx}{$accno} }) {
+ if (($form->{fx}{$accno}{$transdate} = $form->round_amount($form->{fx}{$accno}{$transdate}, 2)) != 0) {
+
+ $query = qq|INSERT INTO acc_trans (trans_id, chart_id, amount,
+ transdate, cleared, fx_transaction)
+ VALUES ($form->{id}, (SELECT id FROM chart
+ WHERE accno = '$accno'),
+ $form->{fx}{$accno}{$transdate}, '$transdate', '0', '1')|;
+ $dbh->do($query) || $form->dberror($query);
+ }
+ }
+ }
+
+
+ $amount = $netamount + $tax;
+
+ # set values which could be empty
+ $form->{taxincluded} *= 1;
+ my $datepaid = ($form->{paid}) ? qq|'$form->{datepaid}'| : "NULL";
+ my $duedate = ($form->{duedate}) ? qq|'$form->{duedate}'| : "NULL";
+
+ # save AP record
+ $query = qq|UPDATE ap set
+ invnumber = '$form->{invnumber}',
+ ordnumber = '$form->{ordnumber}',
+ transdate = '$form->{invdate}',
+ vendor_id = $form->{vendor_id},
+ amount = $amount,
+ netamount = $netamount,
+ paid = $form->{paid},
+ datepaid = $datepaid,
+ duedate = $duedate,
+ invoice = '1',
+ taxincluded = '$form->{taxincluded}',
+ notes = '$form->{notes}',
+ curr = '$form->{currency}'
+ WHERE id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+
+ # add shipto
+ $form->{name} = $form->{vendor};
+ $form->{name} =~ s/--$form->{vendor_id}//;
+ $form->add_shipto($dbh, $form->{id});
+
+ # delete zero entries
+ $query = qq|DELETE FROM acc_trans
+ WHERE amount = 0|;
+ $dbh->do($query) || $form->dberror($query);
+
+ my $rc = $dbh->commit;
+ $dbh->disconnect;
+ $rc;
+
+}
+
+
+
+sub reverse_invoice {
+ my ($dbh, $form) = @_;
+
+ # reverse inventory items
+ my $query = qq|SELECT i.parts_id, p.inventory_accno_id, p.expense_accno_id,
+ i.qty, i.allocated, i.sellprice
+ FROM invoice i, parts p
+ WHERE i.parts_id = p.id
+ AND i.trans_id = $form->{id}|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ my $netamount = 0;
+
+ while (my $ref = $sth->fetchrow_hashref(NAME_lc)) {
+ $netamount += $form->round_amount($ref->{sellprice} * $ref->{qty} * -1, 2);
+
+ if ($ref->{inventory_accno_id}) {
+ # update onhand
+ $form->update_balance($dbh,
+ "parts",
+ "onhand",
+ qq|id = $ref->{parts_id}|,
+ $ref->{qty});
+
+ # if $ref->{allocated} > 0 than we sold that many items
+ if ($ref->{allocated} > 0) {
+
+ # get references for sold items
+ $query = qq|SELECT i.id, i.trans_id, i.allocated, a.transdate
+ FROM invoice i, ar a
+ WHERE i.parts_id = $ref->{parts_id}
+ AND i.allocated < 0
+ AND i.trans_id = a.id
+ ORDER BY transdate DESC|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while (my $pthref = $sth->fetchrow_hashref(NAME_lc)) {
+ my $qty = $ref->{allocated};
+ if (($ref->{allocated} + $pthref->{allocated}) > 0) {
+ $qty = $pthref->{allocated} * -1;
+ }
+
+ my $amount = $form->round_amount($ref->{sellprice} * $qty, 2);
+
+ #adjust allocated
+ $form->update_balance($dbh,
+ "invoice",
+ "allocated",
+ qq|id = $pthref->{id}|,
+ $qty);
+
+ $form->update_balance($dbh,
+ "acc_trans",
+ "amount",
+ qq|trans_id = $pthref->{trans_id} AND chart_id = $ref->{expense_accno_id} AND transdate = '$pthref->{transdate}'|,
+ $amount);
+
+ $form->update_balance($dbh,
+ "acc_trans",
+ "amount",
+ qq|trans_id = $pthref->{trans_id} AND chart_id = $ref->{inventory_accno_id} AND transdate = '$pthref->{transdate}'|,
+ $amount * -1);
+
+ last if (($ref->{allocated} -= $qty) <= 0);
+ }
+ $sth->finish;
+ }
+ }
+ }
+ $sth->finish;
+
+ # delete acc_trans
+ $query = qq|DELETE FROM acc_trans
+ WHERE trans_id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+
+ # delete invoice entries
+ $query = qq|DELETE FROM invoice
+ WHERE trans_id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+
+ $query = qq|DELETE FROM shipto
+ WHERE trans_id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+
+}
+
+
+
+sub delete_invoice {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect_noauto($myconfig);
+
+ # check for other foreign currency transactions
+ $form->delete_exchangerate($dbh) if ($form->{currency} ne $form->{defaultcurrency});
+
+ &reverse_invoice($dbh, $form);
+
+ # delete zero entries
+ my $query = qq|DELETE FROM acc_trans
+ WHERE amount = 0|;
+ $dbh->do($query) || $form->dberror($query);
+
+ # delete AP record
+ my $query = qq|DELETE FROM ap
+ WHERE id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+
+ my $rc = $dbh->commit;
+ $dbh->disconnect;
+
+ $rc;
+
+}
+
+
+
+sub retrieve_invoice {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect_noauto($myconfig);
+
+ my $query;
+
+ if ($form->{id}) {
+ # get default accounts and last invoice number
+ $query = qq|SELECT (SELECT c.accno FROM chart c
+ WHERE d.inventory_accno_id = c.id) AS inventory_accno,
+ (SELECT c.accno FROM chart c
+ WHERE d.income_accno_id = c.id) AS income_accno,
+ (SELECT c.accno FROM chart c
+ WHERE d.expense_accno_id = c.id) AS expense_accno,
+ (SELECT c.accno FROM chart c
+ WHERE d.fxgain_accno_id = c.id) AS fxgain_accno,
+ (SELECT c.accno FROM chart c
+ WHERE d.fxloss_accno_id = c.id) AS fxloss_accno,
+ d.curr AS currencies
+ FROM defaults d|;
+ } else {
+ $query = qq|SELECT (SELECT c.accno FROM chart c
+ WHERE d.inventory_accno_id = c.id) AS inventory_accno,
+ (SELECT c.accno FROM chart c
+ WHERE d.income_accno_id = c.id) AS income_accno,
+ (SELECT c.accno FROM chart c
+ WHERE d.expense_accno_id = c.id) AS expense_accno,
+ (SELECT c.accno FROM chart c
+ WHERE d.fxgain_accno_id = c.id) AS fxgain_accno,
+ (SELECT c.accno FROM chart c
+ WHERE d.fxloss_accno_id = c.id) AS fxloss_accno,
+ d.ponumber AS invnumber, d.curr AS currencies,
+ current_date AS invdate
+ FROM defaults d|;
+ }
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ my $ref = $sth->fetchrow_hashref(NAME_lc);
+ map { $form->{$_} = $ref->{$_} } keys %$ref;
+ $sth->finish;
+
+
+ if ($form->{id}) {
+
+ # retrieve invoice
+ $query = qq|SELECT a.invnumber, a.transdate AS invdate, a.duedate,
+ a.ordnumber, a.paid, a.taxincluded, a.notes, a.curr AS currency
+ FROM ap a
+ WHERE id = $form->{id}|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ $ref = $sth->fetchrow_hashref(NAME_lc);
+ map { $form->{$_} = $ref->{$_} } keys %$ref;
+ $sth->finish;
+
+ $form->{exchangerate} = $form->get_exchangerate($dbh, $form->{currency}, $form->{invdate}, "sell");
+
+ # get shipto
+ $query = qq|SELECT * FROM shipto
+ WHERE trans_id = $form->{id}|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ $ref = $sth->fetchrow_hashref(NAME_lc);
+ map { $form->{$_} = $ref->{$_} } keys %$ref;
+ $sth->finish;
+
+ # retrieve individual items
+ $query = qq|SELECT c1.accno AS inventory_accno,
+ c2.accno AS income_accno,
+ c3.accno AS expense_accno,
+ p.partnumber, i.description, i.qty, i.fxsellprice AS sellprice,
+ i.parts_id AS id, i.unit, p.bin, i.deliverydate,
+ pr.projectnumber,
+ i.project_id,
+ pg.partsgroup
+ FROM invoice i
+ JOIN parts p ON (i.parts_id = p.id)
+ LEFT JOIN chart c1 ON (p.inventory_accno_id = c1.id)
+ LEFT JOIN chart c2 ON (p.income_accno_id = c2.id)
+ LEFT JOIN chart c3 ON (p.expense_accno_id = c3.id)
+ LEFT JOIN project pr ON (i.project_id = pr.id)
+ LEFT JOIN partsgroup pg ON (pg.id = p.partsgroup_id)
+ WHERE trans_id = $form->{id}
+ ORDER BY i.id|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while ($ref = $sth->fetchrow_hashref(NAME_lc)) {
+
+ # get tax rates for part
+ $query = qq|SELECT c.accno
+ FROM chart c, partstax pt
+ WHERE pt.chart_id = c.id
+ AND pt.parts_id = $ref->{id}|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ $ref->{taxaccounts} = "";
+ my $taxrate = 0;
+
+ while (my $ptref = $sth->fetchrow_hashref(NAME_lc)) {
+ $ref->{taxaccounts} .= "$ptref->{accno} ";
+ $taxrate += $form->{"$ptref->{accno}_rate"};
+ }
+
+ $sth->finish;
+ chop $ref->{taxaccounts};
+
+ $ref->{qty} *= -1;
+
+ push @{ $form->{invoice_details} }, $ref;
+
+ }
+
+ $sth->finish;
+
+ } else {
+
+ # up invoice number by 1
+ $form->{invnumber}++;
+
+ # save the new number
+ $query = qq|UPDATE defaults
+ SET ponumber = '$form->{invnumber}'|;
+ $dbh->do($query) || $form->dberror($query);
+
+ }
+
+
+ my $rc = $dbh->commit;
+ $dbh->disconnect;
+
+ $rc;
+
+}
+
+
+
+sub get_vendor {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ my $dateformat = $myconfig->{dateformat};
+ $dateformat .= "yy" if $myconfig->{dateformat} !~ /^y/;
+
+ my $duedate = ($form->{invdate}) ? "to_date('$form->{invdate}', '$dateformat')" : "current_date";
+
+ $form->{vendor_id} *= 1;
+ # get vendor
+ my $query = qq|SELECT taxincluded, terms, email, cc, bcc,
+ addr1, addr2, addr3, addr4,
+ $duedate + terms AS duedate
+ FROM vendor
+ WHERE id = $form->{vendor_id}|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ $ref = $sth->fetchrow_hashref(NAME_lc);
+ map { $form->{$_} = $ref->{$_} } keys %$ref;
+ $sth->finish;
+
+ # get shipto if we do not convert an order or invoice
+ if (!$form->{shipto}) {
+ map { delete $form->{$_} } qw(shiptoname shiptoaddr1 shiptoaddr2 shiptoaddr3 shiptoaddr4 shiptocontact shiptophone shiptofax shiptoemail);
+
+ $query = qq|SELECT * FROM shipto
+ WHERE trans_id = $form->{vendor_id}|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ $ref = $sth->fetchrow_hashref(NAME_lc);
+ map { $form->{$_} = $ref->{$_} } keys %$ref;
+ $sth->finish;
+ }
+
+ # get taxes for vendor
+ $query = qq|SELECT c.accno
+ FROM chart c, vendortax v
+ WHERE v.chart_id = c.id
+ AND v.vendor_id = $form->{vendor_id}|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ my $vendortax = ();
+ while ($ref = $sth->fetchrow_hashref(NAME_lc)) {
+ $vendortax{$ref->{accno}} = 1;
+ }
+ $sth->finish;
+
+
+ # get tax rates and description
+ $query = qq|SELECT c.accno, c.description, c.link, t.rate
+ FROM chart c, tax t
+ WHERE c.id = t.chart_id
+ AND c.link LIKE '%CT_tax%'
+ ORDER BY accno|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ $form->{taxaccounts} = "";
+ $form->{taxpart} = "";
+ $form->{taxservice} = "";
+ while ($ref = $sth->fetchrow_hashref(NAME_lc)) {
+ if ($vendortax{$ref->{accno}}) {
+ $form->{"$ref->{accno}_rate"} = $ref->{rate};
+ $form->{"$ref->{accno}_description"} = $ref->{description};
+ $form->{taxaccounts} .= "$ref->{accno} ";
+ }
+
+ foreach my $item (split /:/, $ref->{link}) {
+ if ($item =~ /IC_taxpart/) {
+ $form->{taxpart} .= "$ref->{accno} ";
+ }
+
+ if ($item =~ /IC_taxservice/) {
+ $form->{taxservice} .= "$ref->{accno} ";
+ }
+ }
+ }
+ $sth->finish;
+ chop $form->{taxaccounts};
+ chop $form->{taxpart};
+ chop $form->{taxservice};
+
+ if (!$form->{id} && $form->{type} !~ /_order/) {
+ # setup last accounts used
+ $query = qq|SELECT c.accno, c.description, c.link, c.category
+ FROM chart c
+ JOIN acc_trans ac ON (ac.chart_id = c.id)
+ JOIN ap a ON (a.id = ac.trans_id)
+ WHERE a.vendor_id = $form->{vendor_id}
+ AND NOT (c.link LIKE '%_tax%' OR c.link LIKE '%_paid%')
+ AND a.id IN (SELECT max(id) FROM ap
+ WHERE vendor_id = $form->{vendor_id})|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ my $i = 0;
+ while ($ref = $sth->fetchrow_hashref(NAME_lc)) {
+ if ($ref->{category} eq 'E') {
+ $i++;
+ $form->{"AP_amount_$i"} = "$ref->{accno}--$ref->{description}";
+ }
+ if ($ref->{category} eq 'L') {
+ $form->{AP} = $form->{AP_1} = "$ref->{accno}--$ref->{description}";
+ }
+ }
+ $sth->finish;
+ $form->{rowcount} = $i if ($i && !$form->{type});
+ }
+
+ $dbh->disconnect;
+
+}
+
+
+sub retrieve_item {
+ my ($self, $myconfig, $form) = @_;
+
+ my $i = $form->{rowcount};
+ my $var;
+
+ # don't include assemblies or obsolete parts
+ my $where = "NOT p.assembly = '1' AND NOT p.obsolete = '1'";
+
+ if ($form->{"partnumber_$i"}) {
+ $var = $form->like(lc $form->{"partnumber_$i"});
+ $where .= " AND lower(p.partnumber) LIKE '$var'";
+ }
+
+ if ($form->{"description_$i"}) {
+ $var = $form->like(lc $form->{"description_$i"});
+ $where .= " AND lower(p.description) LIKE '$var'";
+ }
+
+ if ($form->{"partsgroup_$i"}) {
+ $var = $form->like(lc $form->{"partsgroup_$i"});
+ $where .= " AND lower(pg.partsgroup) LIKE '$var'";
+ }
+
+ if ($form->{"description_$i"}) {
+ $where .= " ORDER BY description";
+ } else {
+ $where .= " ORDER BY partnumber";
+ }
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ my $query = qq|SELECT p.id, p.partnumber, p.description,
+ c1.accno AS inventory_accno,
+ c2.accno AS income_accno,
+ c3.accno AS expense_accno,
+ pg.partsgroup
+ FROM parts p
+ LEFT JOIN chart c1 ON (p.inventory_accno_id = c1.id)
+ LEFT JOIN chart c2 ON (p.income_accno_id = c2.id)
+ LEFT JOIN chart c3 ON (p.expense_accno_id = c3.id)
+ LEFT JOIN partsgroup pg ON (pg.id = p.partsgroup_id)
+ WHERE $where|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while (my $ref = $sth->fetchrow_hashref(NAME_lc)) {
+ # get tax rates for part
+ $query = qq|SELECT c.accno
+ FROM chart c
+ JOIN partstax pt ON (pt.chart_id = c.id)
+ WHERE pt.parts_id = $ref->{id}|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ $ref->{taxaccounts} = "";
+ while (my $ptref = $sth->fetchrow_hashref(NAME_lc)) {
+ $ref->{taxaccounts} .= "$ptref->{accno} ";
+ }
+ $sth->finish;
+ chop $ref->{taxaccounts};
+
+ push @{ $form->{item_list} }, $ref;
+ }
+
+ $sth->finish;
+ $dbh->disconnect;
+
+}
+
+
+
+sub vendor_details {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ # get rest for the vendor
+ my $query = qq|SELECT vendornumber, name, addr1, addr2, addr3, addr4,
+ contact, phone as vendorphone, fax as vendorfax, vendornumber
+ FROM vendor
+ WHERE id = $form->{vendor_id}|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ $ref = $sth->fetchrow_hashref(NAME_lc);
+ map { $form->{$_} = $ref->{$_} } keys %$ref;
+
+ $sth->finish;
+ $dbh->disconnect;
+
+}
+
+
+sub item_links {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ my $query = qq|SELECT accno, description, link
+ FROM chart
+ WHERE link LIKE '%IC%'
+ ORDER BY accno|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while (my $ref = $sth->fetchrow_hashref(NAME_lc)) {
+ foreach my $key (split(/:/, $ref->{link})) {
+ if ($key =~ /IC/) {
+ push @{ $form->{IC_links}{$key} }, { accno => $ref->{accno},
+ description => $ref->{description} };
+ }
+ }
+ }
+
+ $sth->finish;
+}
+
+1;
+
diff --git a/sql-ledger/SL/IS.pm b/sql-ledger/SL/IS.pm
new file mode 100644
index 0000000..dc11e36
--- /dev/null
+++ b/sql-ledger/SL/IS.pm
@@ -0,0 +1,1231 @@
+#=====================================================================
+# SQL-Ledger Accounting
+# Copyright (C) 1998-2002
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+# Contributors:
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#======================================================================
+#
+# Inventory invoicing module
+#
+#======================================================================
+
+package IS;
+
+
+sub invoice_details {
+ my ($self, $myconfig, $form) = @_;
+
+ $form->{duedate} = $form->{invdate} unless ($form->{duedate});
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ my $query = qq|SELECT date '$form->{duedate}' - date '$form->{invdate}'
+ AS terms
+ FROM defaults|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ ($form->{terms}) = $sth->fetchrow_array;
+ $sth->finish;
+
+ my $tax = 0;
+ my $item;
+ my $i;
+ my @partsgroup = ();
+ my $partsgroup;
+ my %oid = ( 'Pg' => 'oid',
+ 'Oracle' => 'rowid' );
+
+ # sort items by partsgroup
+ for $i (1 .. $form->{rowcount}) {
+ $partsgroup = "";
+ if ($form->{"partsgroup_$i"} && $form->{groupitems}) {
+ $form->format_string("partsgroup_$i");
+ $partsgroup = $form->{"partsgroup_$i"};
+ }
+ push @partsgroup, [ $i, $partsgroup ];
+ }
+
+ my $sameitem = "";
+ foreach $item (sort { $a->[1] cmp $b->[1] } @partsgroup) {
+ $i = $item->[0];
+
+ if ($item->[1] ne $sameitem) {
+ push(@{ $form->{description} }, qq|$item->[1]|);
+ $sameitem = $item->[1];
+
+ map { push(@{ $form->{$_} }, "") } qw(runningnumber number bin qty unit deliverydate sellprice listprice netprice discount linetotal);
+ }
+
+ $form->{"qty_$i"} = $form->parse_amount($myconfig, $form->{"qty_$i"});
+
+ if ($form->{"qty_$i"} != 0) {
+
+ # add number, description and qty to $form->{number}, ....
+ push(@{ $form->{runningnumber} }, $i);
+ push(@{ $form->{number} }, qq|$form->{"partnumber_$i"}|);
+ push(@{ $form->{bin} }, qq|$form->{"bin_$i"}|);
+ push(@{ $form->{description} }, qq|$form->{"description_$i"}|);
+ push(@{ $form->{qty} }, $form->format_amount($myconfig, $form->{"qty_$i"}));
+ push(@{ $form->{unit} }, qq|$form->{"unit_$i"}|);
+ push(@{ $form->{deliverydate} }, qq|$form->{"deliverydate_$i"}|);
+
+ push(@{ $form->{sellprice} }, $form->{"sellprice_$i"});
+
+ # listprice
+ push(@{ $form->{listprice} }, $form->{"listprice_$i"});
+
+ my $sellprice = $form->parse_amount($myconfig, $form->{"sellprice_$i"});
+ my ($dec) = ($sellprice =~ /\.(\d+)/);
+ $dec = length $dec;
+ my $decimalplaces = ($dec > 2) ? $dec : 2;
+
+ my $discount = $form->round_amount($sellprice * $form->parse_amount($myconfig, $form->{"discount_$i"}) / 100, $decimalplaces);
+
+ # keep a netprice as well, (sellprice - discount)
+ $form->{"netprice_$i"} = $sellprice - $discount;
+ push(@{ $form->{netprice} }, ($form->{"netprice_$i"} != 0) ? $form->format_amount($myconfig, $form->{"netprice_$i"}, $decimalplaces) : " ");
+
+
+ my $linetotal = $form->round_amount($form->{"qty_$i"} * $form->{"netprice_$i"}, 2);
+
+ $discount = ($discount != 0) ? $form->format_amount($myconfig, $discount * -1, $decimalplaces) : " ";
+ $linetotal = ($linetotal != 0) ? $linetotal : " ";
+
+ push(@{ $form->{discount} }, $discount);
+
+ $form->{total} += $linetotal;
+
+ push(@{ $form->{linetotal} }, $form->format_amount($myconfig, $linetotal, 2));
+
+ my $taxrate = 0;
+ my ($taxamount, $taxbase);
+
+ map { $taxrate += $form->{"${_}_rate"} } split / /, $form->{"taxaccounts_$i"};
+
+ if ($form->{taxincluded}) {
+ # calculate tax
+ $taxamount = $linetotal * ($taxrate / (1 + $taxrate));
+ $taxbase = $linetotal - $taxamount;
+ } else {
+ $taxamount = $linetotal * $taxrate;
+ $taxbase = $linetotal;
+ }
+
+ if ($taxamount != 0) {
+ foreach my $item (split / /, $form->{"taxaccounts_$i"}) {
+ $taxaccounts{$item} += $taxamount * $form->{"${item}_rate"} / $taxrate;
+ $taxbase{$item} += $taxbase;
+ }
+ }
+
+ if ($form->{"assembly_$i"}) {
+ $sameitem = "";
+
+ # get parts and push them onto the stack
+ my $sortorder = "";
+ if ($form->{groupitems}) {
+ $sortorder = qq|ORDER BY pg.partsgroup, a.$oid{$myconfig->{dbdriver}}|;
+ } else {
+ $sortorder = qq|ORDER BY a.$oid{$myconfig->{dbdriver}}|;
+ }
+
+ $query = qq|SELECT p.partnumber, p.description, p.unit, a.qty,
+ pg.partsgroup
+ FROM assembly a
+ JOIN parts p ON (a.parts_id = p.id)
+ LEFT JOIN partsgroup pg ON (p.partsgroup_id = pg.id)
+ WHERE a.bom = '1'
+ AND a.id = '$form->{"id_$i"}'
+ $sortorder|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while (my $ref = $sth->fetchrow_hashref(NAME_lc)) {
+ if ($form->{groupitems} && $ref->{partsgroup} ne $sameitem) {
+ map { push(@{ $form->{$_} }, "") } qw(runningnumber number unit qty bin sellprice listprice netprice discount linetotal);
+ $sameitem = ($ref->{partsgroup}) ? $ref->{partsgroup} : "--";
+ push(@{ $form->{description} }, $sameitem);
+ }
+
+ push(@{ $form->{number} }, qq|$ref->{partnumber}|);
+ push(@{ $form->{description} }, qq|$ref->{description}|);
+ push(@{ $form->{unit} }, qq|$ref->{unit}|);
+ push(@{ $form->{qty} }, $form->format_amount($myconfig, $ref->{qty} * $form->{"qty_$i"}));
+
+ map { push(@{ $form->{$_} }, "") } qw(runningnumber bin sellprice listprice netprice discount linetotal);
+
+ }
+ $sth->finish;
+ }
+
+ }
+ }
+
+
+ foreach my $item (sort keys %taxaccounts) {
+ if ($form->round_amount($taxaccounts{$item}, 2) != 0) {
+ push(@{ $form->{taxbase} }, $form->format_amount($myconfig, $taxbase{$item}, 2));
+
+ $tax += $taxamount = $form->round_amount($taxaccounts{$item}, 2);
+
+ push(@{ $form->{tax} }, $form->format_amount($myconfig, $taxamount));
+ push(@{ $form->{taxdescription} }, $form->{"${item}_description"});
+ push(@{ $form->{taxrate} }, $form->format_amount($myconfig, $form->{"${item}_rate"} * 100));
+ push(@{ $form->{taxnumber} }, $form->{"${item}_taxnumber"});
+ }
+ }
+
+
+ for my $i (1 .. $form->{paidaccounts}) {
+ if ($form->{"paid_$i"}) {
+ push(@{ $form->{payment} }, $form->{"paid_$i"});
+ my ($accno, $description) = split /--/, $form->{"AR_paid_$i"};
+ push(@{ $form->{paymentaccount} }, $description);
+ push(@{ $form->{paymentdate} }, $form->{"datepaid_$i"});
+ push(@{ $form->{paymentsource} }, $form->{"source_$i"});
+
+ $form->{paid} += $form->parse_amount($myconfig, $form->{"paid_$i"});
+ }
+ }
+
+ $form->{subtotal} = $form->format_amount($myconfig, $form->{total}, 2);
+ $form->{invtotal} = ($form->{taxincluded}) ? $form->{total} : $form->{total} + $tax;
+ $form->{total} = $form->format_amount($myconfig, $form->{invtotal} - $form->{paid}, 2);
+ $form->{invtotal} = $form->format_amount($myconfig, $form->{invtotal}, 2);
+
+ $form->{paid} = $form->format_amount($myconfig, $form->{paid}, 2);
+
+ # myconfig variables
+ map { $form->{$_} = $myconfig->{$_} } (qw(company address tel fax signature businessnumber));
+ $form->{username} = $myconfig->{name};
+
+ $dbh->disconnect;
+
+}
+
+
+sub project_description {
+ my ($self, $dbh, $id) = @_;
+
+ my $query = qq|SELECT description
+ FROM project
+ WHERE id = $id|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ ($_) = $sth->fetchrow_array;
+
+ $sth->finish;
+
+ $_;
+
+}
+
+
+sub customer_details {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ # get rest for the customer
+ my $query = qq|SELECT customernumber, name, addr1, addr2, addr3, addr4,
+ phone as customerphone, fax as customerfax, contact
+ FROM customer
+ WHERE id = $form->{customer_id}|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ $ref = $sth->fetchrow_hashref(NAME_lc);
+ map { $form->{$_} = $ref->{$_} } keys %$ref;
+
+ $sth->finish;
+ $dbh->disconnect;
+
+}
+
+
+sub post_invoice {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database, turn off autocommit
+ my $dbh = $form->dbconnect_noauto($myconfig);
+
+ my ($query, $sth, $null, $project_id, $deliverydate);
+ my $exchangerate = 0;
+
+ if ($form->{id}) {
+
+ &reverse_invoice($dbh, $form);
+
+ } else {
+ my $uid = time;
+ $uid .= $form->{login};
+
+ $query = qq|INSERT INTO ar (invnumber, employee_id)
+ VALUES ('$uid', (SELECT id FROM employee
+ WHERE login = '$form->{login}') )|;
+ $dbh->do($query) || $form->dberror($query);
+
+ $query = qq|SELECT id FROM ar
+ WHERE invnumber = '$uid'|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ ($form->{id}) = $sth->fetchrow_array;
+ $sth->finish;
+ }
+
+
+ map { $form->{$_} =~ s/'/''/g } (qw(invnumber shippingpoint notes message));
+
+ my ($netamount, $invoicediff) = (0, 0);
+ my ($amount, $linetotal, $lastincomeaccno);
+
+ if ($form->{currency} eq $form->{defaultcurrency}) {
+ $form->{exchangerate} = 1;
+ } else {
+ $exchangerate = $form->check_exchangerate($myconfig, $form->{currency}, $form->{transdate}, 'buy');
+ }
+
+ $form->{exchangerate} = ($exchangerate) ? $exchangerate : $form->parse_amount($myconfig, $form->{exchangerate});
+
+
+ foreach my $i (1 .. $form->{rowcount}) {
+ $form->{"qty_$i"} = $form->parse_amount($myconfig, $form->{"qty_$i"});
+
+ if ($form->{"qty_$i"} != 0) {
+
+ map { $form->{"${_}_$i"} =~ s/'/''/g } (qw(partnumber description unit));
+
+ # undo discount formatting
+ $form->{"discount_$i"} = $form->parse_amount($myconfig, $form->{"discount_$i"}) / 100;
+
+ my ($allocated, $taxrate) = (0, 0);
+ my $taxamount;
+
+ # keep entered selling price
+ my $fxsellprice = $form->parse_amount($myconfig, $form->{"sellprice_$i"});
+
+ my ($dec) = ($fxsellprice =~ /\.(\d+)/);
+ $dec = length $dec;
+ my $decimalplaces = ($dec > 2) ? $dec : 2;
+
+ # deduct discount
+ my $discount = $form->round_amount($fxsellprice * $form->{"discount_$i"}, $decimalplaces);
+ $form->{"sellprice_$i"} = $fxsellprice - $discount;
+
+ # add tax rates
+ map { $taxrate += $form->{"${_}_rate"} } split / /, $form->{"taxaccounts_$i"};
+
+ # round linetotal to 2 decimal places
+ $linetotal = $form->round_amount($form->{"sellprice_$i"} * $form->{"qty_$i"}, 2);
+
+ if ($form->{taxincluded}) {
+ $taxamount = $linetotal * ($taxrate / (1 + $taxrate));
+ $form->{"sellprice_$i"} = $form->{"sellprice_$i"} * (1 / (1 + $taxrate));
+ } else {
+ $taxamount = $linetotal * $taxrate;
+ }
+
+ $netamount += $linetotal;
+
+ if ($taxamount != 0) {
+ map { $form->{amount}{$form->{id}}{$_} += $taxamount * $form->{"${_}_rate"} / $taxrate } split / /, $form->{"taxaccounts_$i"};
+ }
+
+
+ # add amount to income, $form->{amount}{trans_id}{accno}
+ $amount = $form->{"sellprice_$i"} * $form->{"qty_$i"} * $form->{exchangerate};
+
+ $linetotal = $form->round_amount($form->{"sellprice_$i"} * $form->{"qty_$i"}, 2) * $form->{exchangerate};
+ $linetotal = $form->round_amount($linetotal, 2);
+
+ # this is the difference from the inventory
+ $invoicediff += ($amount - $linetotal);
+
+ $form->{amount}{$form->{id}}{$form->{"income_accno_$i"}} += $linetotal;
+
+ $lastincomeaccno = $form->{"income_accno_$i"};
+
+
+ # adjust and round sellprice
+ $form->{"sellprice_$i"} = $form->round_amount($form->{"sellprice_$i"} * $form->{exchangerate}, $decimalplaces);
+
+ if ($form->{"inventory_accno_$i"} || $form->{"assembly_$i"}) {
+ # adjust parts onhand quantity
+
+ if ($form->{"assembly_$i"}) {
+ # do not update if assembly consists of all services
+ $query = qq|SELECT sum(p.inventory_accno_id)
+ FROM parts p, assembly a
+ WHERE a.parts_id = p.id
+ AND a.id = $form->{"id_$i"}|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ if ($sth->fetchrow_array) {
+ $form->update_balance($dbh,
+ "parts",
+ "onhand",
+ qq|id = $form->{"id_$i"}|,
+ $form->{"qty_$i"} * -1);
+ }
+ $sth->finish;
+
+ # record assembly item as allocated
+ &process_assembly($dbh, $form, $form->{"id_$i"}, $form->{"qty_$i"});
+ } else {
+ $form->update_balance($dbh,
+ "parts",
+ "onhand",
+ qq|id = $form->{"id_$i"}|,
+ $form->{"qty_$i"} * -1);
+
+ $allocated = &cogs($dbh, $form, $form->{"id_$i"}, $form->{"qty_$i"});
+ }
+ }
+
+ $project_id = 'NULL';
+ if ($form->{"project_id_$i"}) {
+ $project_id = $form->{"project_id_$i"};
+ }
+ $deliverydate = ($form->{"deliverydate_$i"}) ? qq|'$form->{"deliverydate_$i"}'| : "NULL";
+
+ # save detail record in invoice table
+ $query = qq|INSERT INTO invoice (trans_id, parts_id, description, qty,
+ sellprice, fxsellprice, discount, allocated, assemblyitem,
+ unit, deliverydate, project_id)
+ VALUES ($form->{id}, $form->{"id_$i"},
+ '$form->{"description_$i"}', $form->{"qty_$i"},
+ $form->{"sellprice_$i"}, $fxsellprice,
+ $form->{"discount_$i"}, $allocated, 'f',
+ '$form->{"unit_$i"}', $deliverydate, $project_id)|;
+ $dbh->do($query) || $form->dberror($query);
+
+ }
+ }
+
+
+ $form->{datepaid} = $form->{invdate};
+
+ # total payments, don't move we need it here
+ for my $i (1 .. $form->{paidaccounts}) {
+ $form->{"paid_$i"} = $form->parse_amount($myconfig, $form->{"paid_$i"});
+ $form->{paid} += $form->{"paid_$i"};
+ $form->{datepaid} = $form->{"datepaid_$i"} if ($form->{"datepaid_$i"});
+ }
+
+ my ($tax, $diff) = (0, 0);
+
+ $netamount = $form->round_amount($netamount, 2);
+
+ # figure out rounding errors for total amount vs netamount + taxes
+ if ($form->{taxincluded}) {
+
+ $amount = $form->round_amount($netamount * $form->{exchangerate}, 2);
+ $diff += $amount - $netamount * $form->{exchangerate};
+ $netamount = $amount;
+
+ foreach my $item (split / /, $form->{taxaccounts}) {
+ $amount = $form->{amount}{$form->{id}}{$item} * $form->{exchangerate};
+ $form->{amount}{$form->{id}}{$item} = $form->round_amount($amount, 2);
+ $tax += $form->{amount}{$form->{id}}{$item};
+ $netamount -= $form->{amount}{$form->{id}}{$item};
+ }
+
+ $invoicediff += $diff;
+ ######## this only applies to tax included
+ if ($lastincomeaccno) {
+ $form->{amount}{$form->{id}}{$lastincomeaccno} += $invoicediff;
+ }
+
+ } else {
+ $amount = $form->round_amount($netamount * $form->{exchangerate}, 2);
+ $diff = $amount - $netamount * $form->{exchangerate};
+ $netamount = $amount;
+ foreach my $item (split / /, $form->{taxaccounts}) {
+ $form->{amount}{$form->{id}}{$item} = $form->round_amount($form->{amount}{$form->{id}}{$item}, 2);
+ $amount = $form->round_amount($form->{amount}{$form->{id}}{$item} * $form->{exchangerate}, 2);
+ $diff += $amount - $form->{amount}{$form->{id}}{$item} * $form->{exchangerate};
+ $form->{amount}{$form->{id}}{$item} = $form->round_amount($amount, 2);
+ $tax += $form->{amount}{$form->{id}}{$item};
+ }
+ }
+
+
+ $form->{amount}{$form->{id}}{$form->{AR}} = $netamount + $tax;
+
+ if ($form->{paid} != 0) {
+ $form->{paid} = $form->round_amount($form->{paid} * $form->{exchangerate} + $diff, 2);
+ }
+
+ # reverse AR
+ $form->{amount}{$form->{id}}{$form->{AR}} *= -1;
+
+
+ # update exchangerate
+ if (($form->{currency} ne $form->{defaultcurrency}) && !$exchangerate) {
+ $form->update_exchangerate($dbh, $form->{currency}, $form->{invdate}, $form->{exchangerate}, 0);
+ }
+
+ foreach my $trans_id (keys %{$form->{amount}}) {
+ foreach my $accno (keys %{ $form->{amount}{$trans_id} }) {
+ if (($form->{amount}{$trans_id}{$accno} = $form->round_amount($form->{amount}{$trans_id}{$accno}, 2)) != 0) {
+ $query = qq|INSERT INTO acc_trans (trans_id, chart_id, amount,
+ transdate)
+ VALUES ($trans_id, (SELECT id FROM chart
+ WHERE accno = '$accno'),
+ $form->{amount}{$trans_id}{$accno}, '$form->{invdate}')|;
+ $dbh->do($query) || $form->dberror($query);
+ }
+ }
+ }
+
+ # deduct payment differences from diff
+ for my $i (1 .. $form->{paidaccounts}) {
+ if ($form->{"paid_$i"} != 0) {
+ $amount = $form->round_amount($form->{"paid_$i"} * $form->{exchangerate}, 2);
+ $diff -= $amount - $form->{"paid_$i"} * $form->{exchangerate};
+ }
+ }
+
+ # force AR entry if 0
+ $form->{amount}{$form->{id}}{$form->{AR}} = 1 if ($form->{amount}{$form->{id}}{$form->{AR}} == 0);
+
+ # record payments and offsetting AR
+ for my $i (1 .. $form->{paidaccounts}) {
+
+ if ($form->{"paid_$i"} != 0) {
+ my ($accno) = split /--/, $form->{"AR_paid_$i"};
+ $form->{"datepaid_$i"} = $form->{invdate} unless ($form->{"datepaid_$i"});
+ $form->{datepaid} = $form->{"datepaid_$i"};
+
+ # record AR
+ $amount = $form->round_amount($form->{"paid_$i"} * $form->{exchangerate} + $diff, 2);
+
+ if ($form->{amount}{$form->{id}}{$form->{AR}} != 0) {
+ $query = qq|INSERT INTO acc_trans (trans_id, chart_id, amount,
+ transdate)
+ VALUES ($form->{id}, (SELECT id FROM chart
+ WHERE accno = '$form->{AR}'),
+ $amount, '$form->{"datepaid_$i"}')|;
+ $dbh->do($query) || $form->dberror($query);
+ }
+
+ # record payment
+ $form->{"paid_$i"} *= -1;
+
+ $query = qq|INSERT INTO acc_trans (trans_id, chart_id, amount, transdate,
+ source)
+ VALUES ($form->{id}, (SELECT id FROM chart
+ WHERE accno = '$accno'),
+ $form->{"paid_$i"}, '$form->{"datepaid_$i"}',
+ '$form->{"source_$i"}')|;
+ $dbh->do($query) || $form->dberror($query);
+
+
+ $exchangerate = 0;
+
+ if ($form->{currency} eq $form->{defaultcurrency}) {
+ $form->{"exchangerate_$i"} = 1;
+ } else {
+ $exchangerate = $form->check_exchangerate($myconfig, $form->{currency}, $form->{"datepaid_$i"}, 'buy');
+
+ $form->{"exchangerate_$i"} = ($exchangerate) ? $exchangerate : $form->parse_amount($myconfig, $form->{"exchangerate_$i"});
+ }
+
+
+ # exchangerate difference
+ $form->{fx}{$accno}{$form->{"datepaid_$i"}} += $form->{"paid_$i"} * ($form->{"exchangerate_$i"} - 1) + $diff;
+
+
+ # gain/loss
+ $amount = $form->{"paid_$i"} * $form->{exchangerate} - $form->{"paid_$i"} * $form->{"exchangerate_$i"};
+ if ($amount > 0) {
+ $form->{fx}{$form->{fxgain_accno}}{$form->{"datepaid_$i"}} += $amount;
+ } else {
+ $form->{fx}{$form->{fxloss_accno}}{$form->{"datepaid_$i"}} += $amount;
+ }
+
+ $diff = 0;
+
+ # update exchange rate
+ if (($form->{currency} ne $form->{defaultcurrency}) && !$exchangerate) {
+ $form->update_exchangerate($dbh, $form->{currency}, $form->{"datepaid_$i"}, $form->{"exchangerate_$i"}, 0);
+ }
+ }
+ }
+
+
+ # record exchange rate differences and gains/losses
+ foreach my $accno (keys %{$form->{fx}}) {
+ foreach my $transdate (keys %{ $form->{fx}{$accno} }) {
+ if (($form->{fx}{$accno}{$transdate} = $form->round_amount($form->{fx}{$accno}{$transdate}, 2)) != 0) {
+
+ $query = qq|INSERT INTO acc_trans (trans_id, chart_id, amount,
+ transdate, cleared, fx_transaction)
+ VALUES ($form->{id},
+ (SELECT id FROM chart
+ WHERE accno = '$accno'),
+ $form->{fx}{$accno}{$transdate}, '$transdate', '0', '1')|;
+ $dbh->do($query) || $form->dberror($query);
+ }
+ }
+ }
+
+
+ $amount = $netamount + $tax;
+
+ # set values which could be empty to 0
+ $form->{terms} *= 1;
+ $form->{taxincluded} *= 1;
+ my $datepaid = ($form->{paid}) ? qq|'$form->{datepaid}'| : "NULL";
+ my $duedate = ($form->{duedate}) ? qq|'$form->{duedate}'| : "NULL";
+
+ # fill in subject if there is none
+ $form->{subject} = qq|$form->{label} $form->{invnumber}| unless $form->{subject};
+ # if there is a message stuff it into the notes
+ my $cc = "Cc: $form->{cc}\\r\n" if $form->{cc};
+ my $bcc = "Bcc: $form->{bcc}\\r\n" if $form->{bcc};
+ $form->{notes} .= qq|\r
+\r
+[email]\r
+To: $form->{email}\r
+$cc${bcc}Subject: $form->{subject}\r
+\r
+Message: $form->{message}\r| if $form->{message};
+
+ # save AR record
+ $query = qq|UPDATE ar set
+ invnumber = '$form->{invnumber}',
+ ordnumber = '$form->{ordnumber}',
+ transdate = '$form->{invdate}',
+ customer_id = $form->{customer_id},
+ amount = $amount,
+ netamount = $netamount,
+ paid = $form->{paid},
+ datepaid = $datepaid,
+ duedate = $duedate,
+ invoice = '1',
+ shippingpoint = '$form->{shippingpoint}',
+ terms = $form->{terms},
+ notes = '$form->{notes}',
+ taxincluded = '$form->{taxincluded}',
+ curr = '$form->{currency}'
+ WHERE id = $form->{id}
+ |;
+ $dbh->do($query) || $form->dberror($query);
+
+ # add shipto
+ $form->{name} = $form->{customer};
+ $form->{name} =~ s/--$form->{customer_id}//;
+ $form->add_shipto($dbh, $form->{id});
+
+ my $rc = $dbh->commit;
+ $dbh->disconnect;
+
+ $rc;
+
+}
+
+
+sub process_assembly {
+ my ($dbh, $form, $id, $totalqty) = @_;
+
+ my $query = qq|SELECT a.parts_id, a.qty, p.assembly,
+ p.partnumber, p.description, p.unit,
+ p.inventory_accno_id, p.income_accno_id,
+ p.expense_accno_id
+ FROM assembly a, parts p
+ WHERE a.parts_id = p.id
+ AND a.id = $id|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+
+ while (my $ref = $sth->fetchrow_hashref(NAME_lc)) {
+
+ my $allocated = 0;
+
+ $ref->{inventory_accno_id} *= 1;
+ $ref->{expense_accno_id} *= 1;
+
+ map { $ref->{$_} =~ s/'/''/g } (qw(partnumber description unit));
+
+ # multiply by number of assemblies
+ $ref->{qty} *= $totalqty;
+
+ if ($ref->{assembly}) {
+ &process_assembly($dbh, $form, $ref->{parts_id}, $ref->{qty});
+ next;
+ } else {
+ if ($ref->{inventory_accno_id}) {
+ $allocated = &cogs($dbh, $form, $ref->{parts_id}, $ref->{qty});
+ }
+ }
+
+ # save detail record for individual assembly item in invoice table
+ $query = qq|INSERT INTO invoice (trans_id, description, parts_id, qty,
+ sellprice, fxsellprice, allocated, assemblyitem, unit)
+ VALUES
+ ($form->{id}, '$ref->{description}',
+ $ref->{parts_id}, $ref->{qty}, 0, 0, $allocated, 't',
+ '$ref->{unit}')|;
+ $dbh->do($query) || $form->dberror($query);
+
+ }
+
+ $sth->finish;
+
+}
+
+
+sub cogs {
+ my ($dbh, $form, $id, $totalqty) = @_;
+
+ my $query = qq|SELECT i.id, i.trans_id, i.qty, i.allocated, i.sellprice,
+ (SELECT c.accno FROM chart c
+ WHERE p.inventory_accno_id = c.id)
+ AS inventory_accno,
+ (SELECT c.accno FROM chart c
+ WHERE p.expense_accno_id = c.id)
+ AS expense_accno
+ FROM invoice i, parts p
+ WHERE i.parts_id = p.id
+ AND i.parts_id = $id
+ AND (i.qty + i.allocated) < 0
+ ORDER BY trans_id|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ my $allocated = 0;
+ my $qty;
+
+ while (my $ref = $sth->fetchrow_hashref(NAME_lc)) {
+ if (($qty = (($ref->{qty} * -1) - $ref->{allocated})) > $totalqty) {
+ $qty = $totalqty;
+ }
+
+ $form->update_balance($dbh,
+ "invoice",
+ "allocated",
+ qq|id = $ref->{id}|,
+ $qty);
+
+ # total expenses and inventory
+ # sellprice is the cost of the item
+ $linetotal = $form->round_amount($ref->{sellprice} * $qty, 2);
+
+ # add to expense
+ $form->{amount}{$form->{id}}{$ref->{expense_accno}} += -$linetotal;
+
+ # deduct inventory
+ $form->{amount}{$form->{id}}{$ref->{inventory_accno}} -= -$linetotal;
+
+ # add allocated
+ $allocated += -$qty;
+
+ last if (($totalqty -= $qty) <= 0);
+ }
+
+ $sth->finish;
+
+ $allocated;
+
+}
+
+
+
+sub reverse_invoice {
+ my ($dbh, $form) = @_;
+
+ # reverse inventory items
+ my $query = qq|SELECT i.id, i.parts_id, i.qty, i.assemblyitem, p.assembly,
+ p.inventory_accno_id
+ FROM invoice i, parts p
+ WHERE i.parts_id = p.id
+ AND i.trans_id = $form->{id}|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while (my $ref = $sth->fetchrow_hashref(NAME_lc)) {
+
+ if ($ref->{inventory_accno_id} || $ref->{assembly}) {
+
+ # if the invoice item is not an assemblyitem adjust parts onhand
+ unless ($ref->{assemblyitem}) {
+ # adjust onhand in parts table
+ $form->update_balance($dbh,
+ "parts",
+ "onhand",
+ qq|id = $ref->{parts_id}|,
+ $ref->{qty});
+ }
+
+ # loop if it is an assembly
+ next if ($ref->{assembly});
+
+ # de-allocated purchases
+ $query = qq|SELECT id, trans_id, allocated
+ FROM invoice
+ WHERE parts_id = $ref->{parts_id}
+ AND allocated > 0
+ ORDER BY trans_id DESC|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while (my $inhref = $sth->fetchrow_hashref(NAME_lc)) {
+ $qty = $ref->{qty};
+ if (($ref->{qty} - $inhref->{allocated}) > 0) {
+ $qty = $inhref->{allocated};
+ }
+
+ # update invoice
+ $form->update_balance($dbh,
+ "invoice",
+ "allocated",
+ qq|id = $inhref->{id}|,
+ $qty * -1);
+
+ last if (($ref->{qty} -= $qty) <= 0);
+ }
+ $sth->finish;
+ }
+ }
+
+ $sth->finish;
+
+ # delete acc_trans
+ $query = qq|DELETE FROM acc_trans
+ WHERE trans_id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+
+ # delete invoice entries
+ $query = qq|DELETE FROM invoice
+ WHERE trans_id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+
+ $query = qq|DELETE FROM shipto
+ WHERE trans_id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+
+}
+
+
+
+sub delete_invoice {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect_noauto($myconfig);
+
+ # check for other foreign currency transactions
+ $form->delete_exchangerate($dbh) if ($form->{currency} ne $form->{defaultcurrency});
+
+ &reverse_invoice($dbh, $form);
+
+ # delete AR record
+ my $query = qq|DELETE FROM ar
+ WHERE id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+
+ my $rc = $dbh->commit;
+ $dbh->disconnect;
+
+ $rc;
+
+}
+
+
+
+sub retrieve_invoice {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect_noauto($myconfig);
+
+ my $query;
+
+ if ($form->{id}) {
+ # get default accounts and last invoice number
+ $query = qq|SELECT (SELECT c.accno FROM chart c
+ WHERE d.inventory_accno_id = c.id) AS inventory_accno,
+ (SELECT c.accno FROM chart c
+ WHERE d.income_accno_id = c.id) AS income_accno,
+ (SELECT c.accno FROM chart c
+ WHERE d.expense_accno_id = c.id) AS expense_accno,
+ (SELECT c.accno FROM chart c
+ WHERE d.fxgain_accno_id = c.id) AS fxgain_accno,
+ (SELECT c.accno FROM chart c
+ WHERE d.fxloss_accno_id = c.id) AS fxloss_accno,
+ d.curr AS currencies
+ FROM defaults d|;
+ } else {
+ $query = qq|SELECT (SELECT c.accno FROM chart c
+ WHERE d.inventory_accno_id = c.id) AS inventory_accno,
+ (SELECT c.accno FROM chart c
+ WHERE d.income_accno_id = c.id) AS income_accno,
+ (SELECT c.accno FROM chart c
+ WHERE d.expense_accno_id = c.id) AS expense_accno,
+ (SELECT c.accno FROM chart c
+ WHERE d.fxgain_accno_id = c.id) AS fxgain_accno,
+ (SELECT c.accno FROM chart c
+ WHERE d.fxloss_accno_id = c.id) AS fxloss_accno,
+ d.invnumber, d.curr AS currencies, current_date AS invdate
+ FROM defaults d|;
+ }
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ my $ref = $sth->fetchrow_hashref(NAME_lc);
+ map { $form->{$_} = $ref->{$_} } keys %$ref;
+ $sth->finish;
+
+
+ if ($form->{id}) {
+
+ # retrieve invoice
+ $query = qq|SELECT a.invnumber, a.ordnumber, a.transdate AS invdate, a.paid,
+ a.shippingpoint, a.terms, a.notes, a.duedate, a.taxincluded,
+ a.curr AS currency, (SELECT e.name FROM employee e
+ WHERE e.id = a.employee_id) AS employee
+ FROM ar a
+ WHERE a.id = $form->{id}|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ $ref = $sth->fetchrow_hashref(NAME_lc);
+ map { $form->{$_} = $ref->{$_} } keys %$ref;
+ $sth->finish;
+
+ $form->{exchangerate} = $form->get_exchangerate($dbh, $form->{currency}, $form->{invdate}, "buy");
+
+ # get shipto
+ $query = qq|SELECT * FROM shipto
+ WHERE trans_id = $form->{id}|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ $ref = $sth->fetchrow_hashref(NAME_lc);
+ map { $form->{$_} = $ref->{$_} } keys %$ref;
+ $sth->finish;
+
+ # retrieve individual items
+ $query = qq|SELECT c1.accno AS inventory_accno,
+ c2.accno AS income_accno,
+ c3.accno AS expense_accno,
+ i.description, i.qty, i.fxsellprice AS sellprice,
+ i.discount, i.parts_id AS id, i.unit, i.deliverydate,
+ pr.projectnumber,
+ i.project_id,
+ p.partnumber, p.assembly, p.bin,
+ pg.partsgroup
+ FROM invoice i
+ JOIN parts p ON (i.parts_id = p.id)
+ LEFT JOIN chart c1 ON (p.inventory_accno_id = c1.id)
+ LEFT JOIN chart c2 ON (p.income_accno_id = c2.id)
+ LEFT JOIN chart c3 ON (p.expense_accno_id = c3.id)
+ LEFT JOIN project pr ON (i.project_id = pr.id)
+ LEFT JOIN partsgroup pg ON (p.partsgroup_id = pg.id)
+ WHERE i.trans_id = $form->{id}
+ AND NOT i.assemblyitem = '1'
+ ORDER BY i.id|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while ($ref = $sth->fetchrow_hashref(NAME_lc)) {
+ # get taxes
+ $query = qq|SELECT c.accno
+ FROM chart c, partstax pt
+ WHERE pt.chart_id = c.id
+ AND pt.parts_id = $ref->{id}|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ $ref->{taxaccounts} = "";
+ my $taxrate = 0;
+
+ while (my $ptref = $sth->fetchrow_hashref(NAME_lc)) {
+ $ref->{taxaccounts} .= "$ptref->{accno} ";
+ $taxrate += $form->{"$ptref->{accno}_rate"};
+ }
+ $sth->finish;
+ chop $ref->{taxaccounts};
+
+ push @{ $form->{invoice_details} }, $ref;
+ }
+ $sth->finish;
+
+ } else {
+
+ $form->{shippingpoint} = $myconfig->{shippingpoint} unless $form->{shippingpoint};
+
+ # up invoice number by 1
+ $form->{invnumber}++;
+
+ # save the new number
+ $query = qq|UPDATE defaults
+ SET invnumber = '$form->{invnumber}'|;
+ $dbh->do($query) || $form->dberror($query);
+
+ $form->get_employee($dbh);
+
+ }
+
+
+ my $rc = $dbh->commit;
+ $dbh->disconnect;
+
+ $rc;
+
+}
+
+
+sub get_customer {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ my $dateformat = $myconfig->{dateformat};
+ $dateformat .= "yy" if $myconfig->{dateformat} !~ /^y/;
+
+ my $duedate = ($form->{invdate}) ? "to_date('$form->{invdate}', '$dateformat')" : "current_date";
+
+ $form->{customer_id} *= 1;
+ # get customer
+ my $query = qq|SELECT c.name AS customer, c.discount, c.creditlimit, c.terms,
+ c.email, c.cc, c.bcc, c.taxincluded,
+ c.addr1, c.addr2, c.addr3, c.addr4,
+ $duedate + c.terms AS duedate
+ FROM customer c
+ WHERE c.id = $form->{customer_id}|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ $ref = $sth->fetchrow_hashref(NAME_lc);
+
+ map { $form->{$_} = $ref->{$_} } keys %$ref;
+ $sth->finish;
+
+ $form->{creditremaining} = $form->{creditlimit};
+ $query = qq|SELECT SUM(amount - paid)
+ FROM ar
+ WHERE customer_id = $form->{customer_id}|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ ($form->{creditremaining}) -= $sth->fetchrow_array;
+
+ $sth->finish;
+
+ $query = qq|SELECT o.amount,
+ (SELECT e.buy FROM exchangerate e
+ WHERE e.curr = o.curr
+ AND e.transdate = o.transdate)
+ FROM oe o
+ WHERE o.customer_id = $form->{customer_id}
+ AND o.closed = '0'|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while (my ($amount, $exch) = $sth->fetchrow_array) {
+ $exch = 1 unless $exch;
+ $form->{creditremaining} -= $amount * $exch;
+ }
+ $sth->finish;
+
+
+ # get shipto if we did not converted an order or invoice
+ if (!$form->{shipto}) {
+ map { delete $form->{$_} } qw(shiptoname shiptoaddr1 shiptoaddr2 shiptoaddr3 shiptoaddr4 shiptocontact shiptophone shiptofax shiptoemail);
+
+ $query = qq|SELECT * FROM shipto
+ WHERE trans_id = $form->{customer_id}|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ $ref = $sth->fetchrow_hashref(NAME_lc);
+ map { $form->{$_} = $ref->{$_} } keys %$ref;
+ $sth->finish;
+ }
+
+ # get taxes we charge for this customer
+ $query = qq|SELECT c.accno
+ FROM chart c, customertax ct
+ WHERE ct.chart_id = c.id
+ AND ct.customer_id = $form->{customer_id}|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ my $customertax = ();
+ while ($ref = $sth->fetchrow_hashref(NAME_lc)) {
+ $customertax{$ref->{accno}} = 1;
+ }
+ $sth->finish;
+
+ # get tax rates and description
+ $query = qq|SELECT c.accno, c.description, t.rate, t.taxnumber
+ FROM chart c, tax t
+ WHERE c.id = t.chart_id
+ AND c.link LIKE '%CT_tax%'
+ ORDER BY accno|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ $form->{taxaccounts} = "";
+ while ($ref = $sth->fetchrow_hashref(NAME_lc)) {
+ if ($customertax{$ref->{accno}}) {
+ $form->{"$ref->{accno}_rate"} = $ref->{rate};
+ $form->{"$ref->{accno}_description"} = $ref->{description};
+ $form->{"$ref->{accno}_taxnumber"} = $ref->{taxnumber};
+ $form->{taxaccounts} .= "$ref->{accno} ";
+ }
+ }
+ $sth->finish;
+ chop $form->{taxaccounts};
+
+ # setup last accounts used for this customer
+ if (!$form->{id} && $form->{type} !~ /_order/) {
+ $query = qq|SELECT c.accno, c.description, c.link, c.category
+ FROM chart c
+ JOIN acc_trans ac ON (ac.chart_id = c.id)
+ JOIN ar a ON (a.id = ac.trans_id)
+ WHERE a.customer_id = $form->{customer_id}
+ AND NOT (c.link LIKE '%_tax%' OR c.link LIKE '%_paid%')
+ AND a.id IN (SELECT max(id) FROM ar
+ WHERE customer_id = $form->{customer_id})|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ my $i = 0;
+ while ($ref = $sth->fetchrow_hashref(NAME_lc)) {
+ if ($ref->{category} eq 'I') {
+ $i++;
+ $form->{"AR_amount_$i"} = "$ref->{accno}--$ref->{description}";
+ }
+ if ($ref->{category} eq 'A') {
+ $form->{AR} = $form->{AR_1} = "$ref->{accno}--$ref->{description}";
+ }
+ }
+ $sth->finish;
+ $form->{rowcount} = $i if ($i && !$form->{type});
+ }
+
+ $dbh->disconnect;
+
+}
+
+
+
+sub retrieve_item {
+ my ($self, $myconfig, $form) = @_;
+
+ my $i = $form->{rowcount};
+ my $var;
+ my $where = "NOT obsolete = '1'";
+
+ if ($form->{"partnumber_$i"}) {
+ $var = $form->like(lc $form->{"partnumber_$i"});
+ $where .= " AND lower(p.partnumber) LIKE '$var'";
+ }
+ if ($form->{"description_$i"}) {
+ $var = $form->like(lc $form->{"description_$i"});
+ $where .= " AND lower(p.description) LIKE '$var'";
+ }
+
+ if ($form->{"partsgroup_$i"}) {
+ $var = $form->like(lc $form->{"partsgroup_$i"});
+ $where .= " AND lower(pg.partsgroup) LIKE '$var'";
+ }
+
+ if ($form->{"description_$i"}) {
+ $where .= " ORDER BY description";
+ } else {
+ $where .= " ORDER BY partnumber";
+ }
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ my $query = qq|SELECT p.id, p.partnumber, p.description, p.sellprice,
+ p.listprice,
+ c1.accno AS inventory_accno,
+ c2.accno AS income_accno,
+ c3.accno AS expense_accno,
+ p.unit, p.assembly, p.bin, p.onhand, p.makemodel,
+ pg.partsgroup
+ FROM parts p
+ LEFT JOIN chart c1 ON (p.inventory_accno_id = c1.id)
+ LEFT JOIN chart c2 ON (p.income_accno_id = c2.id)
+ LEFT JOIN chart c3 ON (p.expense_accno_id = c3.id)
+ LEFT JOIN partsgroup pg ON (pg.id = p.partsgroup_id)
+ WHERE $where|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while (my $ref = $sth->fetchrow_hashref(NAME_lc)) {
+
+ # get taxes for part
+ $query = qq|SELECT c.accno
+ FROM chart c
+ JOIN partstax pt ON (c.id = pt.chart_id)
+ WHERE pt.parts_id = $ref->{id}|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ $ref->{taxaccounts} = "";
+ while (my $ptref = $sth->fetchrow_hashref(NAME_lc)) {
+ $ref->{taxaccounts} .= "$ptref->{accno} ";
+ }
+ $sth->finish;
+ chop $ref->{taxaccounts};
+
+ # get makemodel
+ if ($ref->{makemodel}) {
+ $query = qq|SELECT name
+ FROM makemodel
+ WHERE parts_id = $ref->{id}|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ $ref->{makemodel} = "";
+ while (my $ptref = $sth->fetchrow_hashref(NAME_lc)) {
+ $ref->{makemodel} .= "$ptref->{name}:";
+ }
+ $sth->finish;
+ chop $ref->{makemodel};
+ }
+
+ push @{ $form->{item_list} }, $ref;
+
+ }
+
+ $sth->finish;
+ $dbh->disconnect;
+
+}
+
+
+1;
+
diff --git a/sql-ledger/SL/Inifile.pm b/sql-ledger/SL/Inifile.pm
new file mode 100644
index 0000000..e9de47a
--- /dev/null
+++ b/sql-ledger/SL/Inifile.pm
@@ -0,0 +1,87 @@
+#=====================================================================
+# SQL-Ledger Accounting
+# Copyright (C) 2001
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+# Contributors:
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#=====================================================================
+#
+# routines to retrieve / manipulate win ini style files
+# ORDER is used to keep the elements in the order they appear in .ini
+#
+#=====================================================================
+
+package Inifile;
+
+
+sub new {
+ my ($type, $file, $level) = @_;
+
+ my $id = "";
+ my $skip;
+
+ $type = ref($self) || $self;
+
+ open FH, "$file" or Form->error("$file : $!");
+
+ while (<FH>) {
+ next if /^(#|;|\s)/;
+ last if /^\./;
+
+ chop;
+
+ # strip comments
+ s/\s*(#|;).*//g;
+
+ # remove any trailing whitespace
+ s/^\s*(.*?)\s*$/$1/;
+
+ if (/^\[/) {
+ s/(\[|\])//g;
+
+ $id = $_;
+
+ # if there is a level skip
+ if ($skip = ($id !~ /^$level/)) {
+ next;
+ }
+
+ push @{$self->{ORDER}}, $_;
+
+ next;
+
+ }
+
+ if (!$skip) {
+ # add key=value to $id
+ my ($key, $value) = split /=/, $_, 2;
+
+ $self->{$id}{$key} = $value;
+ }
+
+ }
+ close FH;
+
+ bless $self, $type;
+
+}
+
+
+1;
+
diff --git a/sql-ledger/SL/Mailer.pm b/sql-ledger/SL/Mailer.pm
new file mode 100644
index 0000000..934ad36
--- /dev/null
+++ b/sql-ledger/SL/Mailer.pm
@@ -0,0 +1,147 @@
+#=====================================================================
+# SQL-Ledger Accounting
+# Copyright (C) 2001
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+# Contributors:
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#======================================================================
+
+package Mailer;
+
+sub new {
+ my ($type) = @_;
+ my $self = {};
+
+ bless $self, $type;
+}
+
+
+sub send {
+ my ($self, $out) = @_;
+
+ my $boundary = time;
+ $boundary = "SL-$self->{version}-$boundary";
+ my $domain = $self->{from};
+ $domain =~ s/(.*?\@|>)//g;
+ my $msgid = "$boundary\@$domain";
+
+ $self->{charset} = "ISO-8859-1" unless $self->{charset};
+
+ if ($out) {
+ open(OUT, $out) or return "$out : $!";
+ } else {
+ open(OUT, ">-") or return "STDOUT : $!";
+ }
+
+ $self->{contenttype} = "text/plain" unless $self->{contenttype};
+
+ my ($cc, $bcc);
+ $cc = "Cc: $self->{cc}\n" if $self->{cc};
+ $bcc = "Bcc: $self->{bcc}\n" if $self->{bcc};
+
+ print OUT qq|From: $self->{from}
+To: $self->{to}
+${cc}${bcc}Subject: $self->{subject}
+Message-ID: <$msgid>
+X-Mailer: SQL-Ledger $self->{version}
+MIME-Version: 1.0
+|;
+
+
+ if ($self->{attachments}) {
+ print OUT qq|Content-Type: multipart/mixed; boundary="$boundary"
+
+--${boundary}
+Content-Type: $self->{contenttype}; charset="$self->{charset}"
+
+$self->{message}
+
+|;
+
+ foreach my $attachment (@{ $self->{attachments} }) {
+
+ my $application = ($attachment =~ /(^\w+$)|\.(html|text|txt|sql)$/) ? "text" : "application";
+
+ open(IN, $attachment);
+ if ($?) {
+ close(OUT);
+ return "$attachment : $!";
+ }
+
+ my $filename = $attachment;
+ # strip path
+ $filename =~ s/(.*\/|$self->{fileid})//g;
+
+ print OUT qq|--${boundary}
+Content-Type: $application/$self->{format}; name="$filename"; charset="$self->{charset}"
+Content-Transfer-Encoding: BASE64
+Content-Disposition: attachment; filename="$filename"\n\n|;
+
+ my $msg = "";
+ while (<IN>) {;
+ $msg .= $_;
+ }
+ print OUT &encode_base64($msg);
+
+ close(IN);
+
+ }
+ print OUT qq|--${boundary}--\n|;
+
+ } else {
+ print OUT qq|Content-Type: $self->{contenttype}; charset="$self->{charset}"
+
+$self->{message}
+|;
+ }
+
+ close(OUT);
+
+ return "";
+
+}
+
+
+sub encode_base64 ($;$) {
+
+ # this code is from the MIME-Base64-2.12 package
+ # Copyright 1995-1999,2001 Gisle Aas <gisle@ActiveState.com>
+
+ my $res = "";
+ my $eol = $_[1];
+ $eol = "\n" unless defined $eol;
+ pos($_[0]) = 0; # ensure start at the beginning
+
+ $res = join '', map( pack('u',$_)=~ /^.(\S*)/, ($_[0]=~/(.{1,45})/gs));
+
+ $res =~ tr|` -_|AA-Za-z0-9+/|; # `# help emacs
+ # fix padding at the end
+ my $padding = (3 - length($_[0]) % 3) % 3;
+ $res =~ s/.{$padding}$/'=' x $padding/e if $padding;
+ # break encoded string into lines of no more than 60 characters each
+ if (length $eol) {
+ $res =~ s/(.{1,60})/$1$eol/g;
+ }
+ return $res;
+
+}
+
+
+1;
+
diff --git a/sql-ledger/SL/Menu.pm b/sql-ledger/SL/Menu.pm
new file mode 100644
index 0000000..661d354
--- /dev/null
+++ b/sql-ledger/SL/Menu.pm
@@ -0,0 +1,117 @@
+#=====================================================================
+# SQL-Ledger Accounting
+# Copyright (C) 2001
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+# Contributors:
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#=====================================================================
+#
+# routines for menu items
+#
+#=====================================================================
+
+package Menu;
+
+
+sub new {
+ my ($type, $menufile, $level) = @_;
+
+ use SL::Inifile;
+ my $self = Inifile->new($menufile, $level);
+
+ bless $self, $type;
+
+}
+
+
+sub menuitem {
+ my ($self, $myconfig, $form, $item) = @_;
+
+ my $module = $form->{script};
+ my $action = "section_menu";
+ my $target = "";
+
+ if ($self->{$item}{module}) {
+ $module = $self->{$item}{module};
+ }
+ if ($self->{$item}{action}) {
+ $action = $self->{$item}{action};
+ }
+ if ($self->{$item}{target}) {
+ $target = $self->{$item}{target};
+ }
+
+ my $level = $form->escape($item);
+ my $str = qq|<a href=$module?path=$form->{path}&action=$action&level=$level&login=$form->{login}&password=$form->{password}|;
+ my @vars = qw(module action target href);
+
+ if ($self->{$item}{href}) {
+ $str = qq|<a href=$self->{$item}{href}|;
+ @vars = qw(module target href);
+ }
+
+ map { delete $self->{$item}{$_} } @vars;
+
+
+ # add other params
+ foreach my $key (keys %{ $self->{$item} }) {
+ $str .= "&".$form->escape($key,1)."=";
+ ($value, $conf) = split /=/, $self->{$item}{$key}, 2;
+ $value = $myconfig->{$value}."/$conf" if ($conf);
+ $str .= $form->escape($value, 1);
+ }
+
+ if ($target) {
+ $str .= qq| target=$target|;
+ }
+
+ $str .= ">";
+
+}
+
+
+sub access_control {
+ my ($self, $myconfig, $menulevel) = @_;
+
+ my @menu = ();
+
+ if ($menulevel eq "") {
+ @menu = grep { !/--/ } @{ $self->{ORDER} };
+ } else {
+ @menu = grep { /^${menulevel}--/ } @{ $self->{ORDER} };
+ }
+
+ my @a = split /;/, $myconfig->{acs};
+ my $excl = ();
+
+ # remove --AR, --AP from array
+ grep { ($a, $b) = split /--/; s/--$a$//; } @a;
+
+ map { $excl{$_} = 1 } @a;
+
+ @a = ();
+ map { push @a, $_ unless $excl{$_} } (@menu);
+
+ @a;
+
+}
+
+
+1;
+
diff --git a/sql-ledger/SL/Num2text.pm b/sql-ledger/SL/Num2text.pm
new file mode 100644
index 0000000..f09121c
--- /dev/null
+++ b/sql-ledger/SL/Num2text.pm
@@ -0,0 +1,162 @@
+#=====================================================================
+# SQL-Ledger Accounting
+# Copyright (C) 2001
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+# Contributors:
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#=====================================================================
+#
+# this is the default code for the Check package
+#
+#=====================================================================
+
+
+sub init {
+ my $self = shift;
+
+ %{ $self->{numbername} } =
+ (0 => 'Zero',
+ 1 => 'One',
+ 2 => 'Two',
+ 3 => 'Three',
+ 4 => 'Four',
+ 5 => 'Five',
+ 6 => 'Six',
+ 7 => 'Seven',
+ 8 => 'Eight',
+ 9 => 'Nine',
+ 10 => 'Ten',
+ 11 => 'Eleven',
+ 12 => 'Twelve',
+ 13 => 'Thirteen',
+ 14 => 'Fourteen',
+ 15 => 'Fifteen',
+ 16 => 'Sixteen',
+ 17 => 'Seventeen',
+ 18 => 'Eighteen',
+ 19 => 'Nineteen',
+ 20 => 'Twenty',
+ 30 => 'Thirty',
+ 40 => 'Forty',
+ 50 => 'Fifty',
+ 60 => 'Sixty',
+ 70 => 'Seventy',
+ 80 => 'Eighty',
+ 90 => 'Ninety',
+ 10**2 => 'Hundred',
+ 10**3 => 'Thousand',
+ 10**6 => 'Million',
+ 10**9 => 'Billion',
+ 10**12 => 'Trillion',
+ );
+
+}
+
+
+sub num2text {
+ my ($self, $amount) = @_;
+
+ return $self->{numbername}{0} unless $amount;
+
+ my @textnumber = ();
+
+ # split amount into chunks of 3
+ my @num = reverse split //, $amount;
+ my @numblock = ();
+ my @a;
+ my $i;
+
+ while (@num) {
+ @a = ();
+ for (1 .. 3) {
+ push @a, shift @num;
+ }
+ push @numblock, join / /, reverse @a;
+ }
+
+ while (@numblock) {
+
+ $i = $#numblock;
+ @num = split //, $numblock[$i];
+
+ if ($numblock[$i] == 0) {
+ pop @numblock;
+ next;
+ }
+
+ if ($numblock[$i] > 99) {
+ # the one from hundreds
+ push @textnumber, $self->{numbername}{$num[0]};
+
+ # add hundred designation
+ push @textnumber, $self->{numbername}{10**2};
+
+ # reduce numblock
+ $numblock[$i] -= $num[0] * 100;
+
+ }
+
+ $numblock[$i] *= 1;
+
+ if ($numblock[$i] > 9) {
+ # tens
+ push @textnumber, $self->format_ten($numblock[$i]);
+ } elsif ($numblock[$i] > 0) {
+ # ones
+ push @textnumber, $self->{numbername}{$numblock[$i]};
+ }
+
+ # add thousand, million
+ if ($i) {
+ $num = 10**($i * 3);
+ push @textnumber, $self->{numbername}{$num};
+ }
+
+ pop @numblock;
+
+ }
+
+ join ' ', @textnumber;
+
+}
+
+
+sub format_ten {
+ my ($self, $amount) = @_;
+
+ my $textnumber = "";
+ my @num = split //, $amount;
+
+ if ($amount > 20) {
+ $textnumber = $self->{numbername}{$num[0]*10};
+ $amount = $num[1];
+ } else {
+ $textnumber = $self->{numbername}{$amount};
+ $amount = 0;
+ }
+
+ $textnumber .= " ".$self->{numbername}{$amount} if $amount;
+
+ $textnumber;
+
+}
+
+
+1;
+
diff --git a/sql-ledger/SL/OE.pm b/sql-ledger/SL/OE.pm
new file mode 100644
index 0000000..a742ca7
--- /dev/null
+++ b/sql-ledger/SL/OE.pm
@@ -0,0 +1,674 @@
+#=====================================================================
+# SQL-Ledger Accounting
+# Copyright (C) 2001
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+# Contributors:
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#======================================================================
+#
+# Order entry module
+#
+#======================================================================
+
+package OE;
+
+
+sub transactions {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ my $query;
+
+ my $rate = ($form->{vc} eq 'customer') ? 'buy' : 'sell';
+
+ my $query = qq|SELECT o.id, o.ordnumber, o.transdate, o.reqdate,
+ o.amount, ct.name, o.netamount, o.$form->{vc}_id,
+ (SELECT $rate FROM exchangerate ex
+ WHERE ex.curr = o.curr
+ AND ex.transdate = o.transdate) AS exchangerate,
+ o.closed
+ FROM oe o, $form->{vc} ct
+ WHERE o.$form->{vc}_id = ct.id|;
+
+ my $ordnumber = $form->like(lc $form->{ordnumber});
+
+ if ($form->{"$form->{vc}_id"}) {
+ $query .= qq| AND o.$form->{vc}_id = $form->{"$form->{vc}_id"}|;
+ } else {
+ if ($form->{$form->{vc}}) {
+ my $name = $form->like(lc $form->{$form->{vc}});
+ $query .= " AND lower(name) LIKE '$name'";
+ }
+ }
+ unless ($form->{open} && $form->{closed}) {
+ $query .= ($form->{open}) ? " AND o.closed = '0'" : " AND o.closed = '1'";
+ }
+
+ my $sortorder = join ', ', $form->sort_columns(qw(transdate ordnumber name));
+ $sortorder = $form->{sort} unless $sortorder;
+
+ $query .= " AND lower(ordnumber) LIKE '$ordnumber'" if $form->{ordnumber};
+ $query .= " AND transdate >= '$form->{transdatefrom}'" if $form->{transdatefrom};
+ $query .= " AND transdate <= '$form->{transdateto}'" if $form->{transdateto};
+ $query .= " ORDER by $sortorder";
+
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while (my $oe = $sth->fetchrow_hashref(NAME_lc)) {
+ $oe->{exchangerate} = 1 unless $oe->{exchangerate};
+ push @{ $form->{OE} }, $oe;
+ }
+
+ $sth->finish;
+ $dbh->disconnect;
+
+}
+
+
+sub save_order {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database, turn off autocommit
+ my $dbh = $form->dbconnect_noauto($myconfig);
+
+ my ($query, $sth);
+ my $exchangerate = 0;
+
+ if ($form->{id}) {
+
+ $query = qq|DELETE FROM orderitems
+ WHERE trans_id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+
+ $query = qq|DELETE FROM shipto
+ WHERE trans_id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+
+ } else {
+ my $uid = time;
+ $uid .= $form->{login};
+
+ $query = qq|INSERT INTO oe (ordnumber, employee_id)
+ VALUES ('$uid', (SELECT id FROM employee
+ WHERE login = '$form->{login}') )|;
+ $dbh->do($query) || $form->dberror($query);
+
+ $query = qq|SELECT id FROM oe
+ WHERE ordnumber = '$uid'|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ ($form->{id}) = $sth->fetchrow_array;
+ $sth->finish;
+ }
+
+ map { $form->{$_} =~ s/'/''/g } qw(ordnumber shippingpoint notes message);
+
+ my ($amount, $linetotal, $discount, $project_id, $reqdate);
+ my ($taxrate, $taxamount, $fxsellprice);
+ my %taxbase = ();
+ my %taxaccounts = ();
+ my ($netamount, $tax) = (0, 0);
+
+ for my $i (1 .. $form->{rowcount}) {
+
+ $form->{"qty_$i"} = $form->parse_amount($myconfig, $form->{"qty_$i"});
+
+ if ($form->{"qty_$i"} != 0) {
+
+ map { $form->{"${_}_$i"} =~ s/'/''/g } qw(partnumber description unit);
+
+ # set values to 0 if nothing entered
+ $form->{"discount_$i"} = $form->parse_amount($myconfig, $form->{"discount_$i"}) / 100;
+
+ $form->{"sellprice_$i"} = $form->parse_amount($myconfig, $form->{"sellprice_$i"});
+ $fxsellprice = $form->{"sellprice_$i"};
+
+ my ($dec) = ($form->{"sellprice_$i"} =~ /\.(\d+)/);
+ $dec = length $dec;
+ my $decimalplaces = ($dec > 2) ? $dec : 2;
+
+ $discount = $form->round_amount($form->{"sellprice_$i"} * $form->{"discount_$i"}, $decimalplaces);
+ $form->{"sellprice_$i"} = $form->round_amount($form->{"sellprice_$i"} - $discount, $decimalplaces);
+
+ $linetotal = $form->round_amount($form->{"sellprice_$i"} * $form->{"qty_$i"}, 2);
+ $taxrate = 0;
+ map { $taxrate += $form->{"${_}_rate"} } split / /, $form->{"taxaccounts_$i"};
+
+ if ($form->{taxincluded}) {
+ $taxamount = $linetotal * $taxrate / (1 + $taxrate);
+ $taxbase = $linetotal - $taxamount;
+ # we are not keeping a natural price, do not round
+ $form->{"sellprice_$i"} = $form->{"sellprice_$i"} * (1 / (1 + $taxrate));
+ } else {
+ $taxamount = $linetotal * $taxrate;
+ $taxbase = $linetotal;
+ }
+
+ if ($taxamount != 0) {
+ foreach my $item (split / /, $form->{"taxaccounts_$i"}) {
+ $taxaccounts{$item} += $taxamount * $form->{"${item}_rate"} / $taxrate;
+ $taxbase{$item} += $taxbase;
+ }
+ }
+
+ $netamount += $form->{"sellprice_$i"} * $form->{"qty_$i"};
+
+ $project_id = 'NULL';
+ if ($form->{"project_id_$i"}) {
+ $project_id = $form->{"project_id_$i"};
+ }
+ $reqdate = ($form->{"reqdate_$i"}) ? qq|'$form->{"reqdate_$i"}'| : "NULL";
+
+ # save detail record in orderitems table
+ $query = qq|INSERT INTO orderitems
+ (trans_id, parts_id, description, qty, sellprice, discount,
+ unit, reqdate, project_id) VALUES (
+ $form->{id}, $form->{"id_$i"}, '$form->{"description_$i"}',
+ $form->{"qty_$i"}, $fxsellprice, $form->{"discount_$i"},
+ '$form->{"unit_$i"}', $reqdate, $project_id)|;
+ $dbh->do($query) || $form->dberror($query);
+
+ $form->{"sellprice_$i"} = $fxsellprice;
+ $form->{"discount_$i"} *= 100;
+ }
+ }
+
+
+ # set values which could be empty
+ map { $form->{$_} *= 1 } qw(vendor_id customer_id taxincluded closed);
+
+ $reqdate = ($form->{reqdate}) ? qq|'$form->{reqdate}'| : "NULL";
+
+ # add up the tax
+ foreach my $item (sort keys %taxaccounts) {
+ $taxamount = $form->round_amount($taxaccounts{$item}, 2);
+ $tax += $taxamount;
+ }
+
+ $amount = $form->round_amount($netamount + $tax, 2);
+ $netamount = $form->round_amount($netamount, 2);
+
+ if ($form->{currency} eq $form->{defaultcurrency}) {
+ $form->{exchangerate} = 1;
+ } else {
+ $exchangerate = $form->check_exchangerate($myconfig, $form->{currency}, $form->{transdate}, ($form->{vc} eq 'customer') ? 'buy' : 'sell');
+ }
+
+ $form->{exchangerate} = ($exchangerate) ? $exchangerate : $form->parse_amount($myconfig, $form->{exchangerate});
+
+ # fill in subject if there is none
+ $form->{subject} = qq|$form->{label} $form->{ordnumber}| unless $form->{subject};
+ # if there is a message stuff it into the notes
+ my $cc = "Cc: $form->{cc}\\r\n" if $form->{cc};
+ my $bcc = "Bcc: $form->{bcc}\\r\n" if $form->{bcc};
+ $form->{notes} .= qq|\r
+\r
+[email]\r
+To: $form->{email}\r
+$cc${bcc}Subject: $form->{subject}\r
+\r
+Message: $form->{message}\r| if $form->{message};
+
+ # save OE record
+ $query = qq|UPDATE oe set
+ ordnumber = '$form->{ordnumber}',
+ transdate = '$form->{orddate}',
+ vendor_id = $form->{vendor_id},
+ customer_id = $form->{customer_id},
+ amount = $amount,
+ netamount = $netamount,
+ reqdate = $reqdate,
+ taxincluded = '$form->{taxincluded}',
+ shippingpoint = '$form->{shippingpoint}',
+ notes = '$form->{notes}',
+ curr = '$form->{currency}',
+ closed = '$form->{closed}'
+ WHERE id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+
+ $form->{ordtotal} = $amount;
+
+ # add shipto
+ $form->{name} = $form->{$form->{vc}};
+ $form->{name} =~ s/--$form->{"$form->{vc}_id"}//;
+ $form->add_shipto($dbh, $form->{id});
+
+ if (($form->{currency} ne $form->{defaultcurrency}) && !$exchangerate) {
+ if ($form->{vc} eq 'customer') {
+ $form->update_exchangerate($dbh, $form->{currency}, $form->{orddate}, $form->{exchangerate}, 0);
+ }
+ if ($form->{vc} eq 'vendor') {
+ $form->update_exchangerate($dbh, $form->{currency}, $form->{orddate}, 0, $form->{exchangerate});
+ }
+ }
+
+ my $rc = $dbh->commit;
+ $dbh->disconnect;
+
+ $rc;
+
+}
+
+
+
+sub delete_order {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect_noauto($myconfig);
+
+ my $query;
+
+ # can't use $form->delete_exchangerate
+ if ($form->{currency} ne $form->{defaultcurrency}) {
+ $query = qq|SELECT transdate FROM acc_trans
+ WHERE ar.id = trans_id
+ AND ar.curr = '$form->{currency}'
+ AND transdate = '$form->{orddate}'
+ UNION SELECT transdate FROM acc_trans
+ WHERE ap.id = trans_id
+ AND ap.curr = '$form->{currency}'
+ AND transdate = '$form->{orddate}'|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ my ($transdate) = $sth->fetchrow_array;
+ $sth->finish;
+
+ if (!$transdate) {
+ $query = qq|DELETE FROM exchangerate
+ WHERE curr = '$form->{currency}'
+ AND transdate = '$form->{orddate}'|;
+ $dbh->do($query) || $self->dberror($query);
+ }
+ }
+
+
+ # delete OE record
+ $query = qq|DELETE FROM oe
+ WHERE id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+
+ # delete individual entries
+ $query = qq|DELETE FROM orderitems
+ WHERE trans_id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+
+ $query = qq|DELETE FROM shipto
+ WHERE trans_id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+
+ my $rc = $dbh->commit;
+ $dbh->disconnect;
+
+ $rc;
+
+}
+
+
+
+sub retrieve_order {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect_noauto($myconfig);
+
+ my $query;
+
+ if ($form->{id}) {
+ # get default accounts and last order number
+ $query = qq|SELECT (SELECT c.accno FROM chart c
+ WHERE d.inventory_accno_id = c.id) AS inventory_accno,
+ (SELECT c.accno FROM chart c
+ WHERE d.income_accno_id = c.id) AS income_accno,
+ (SELECT c.accno FROM chart c
+ WHERE d.expense_accno_id = c.id) AS expense_accno,
+ (SELECT c.accno FROM chart c
+ WHERE d.fxgain_accno_id = c.id) AS fxgain_accno,
+ (SELECT c.accno FROM chart c
+ WHERE d.fxloss_accno_id = c.id) AS fxloss_accno,
+ d.curr AS currencies
+ FROM defaults d|;
+ } else {
+ my $ordnumber = ($form->{vc} eq 'customer') ? 'sonumber' : 'ponumber';
+ $query = qq|SELECT (SELECT c.accno FROM chart c
+ WHERE d.inventory_accno_id = c.id) AS inventory_accno,
+ (SELECT c.accno FROM chart c
+ WHERE d.income_accno_id = c.id) AS income_accno,
+ (SELECT c.accno FROM chart c
+ WHERE d.expense_accno_id = c.id) AS expense_accno,
+ (SELECT c.accno FROM chart c
+ WHERE d.fxgain_accno_id = c.id) AS fxgain_accno,
+ (SELECT c.accno FROM chart c
+ WHERE d.fxloss_accno_id = c.id) AS fxloss_accno,
+ $ordnumber AS ordnumber, d.curr AS currencies,
+ current_date AS orddate, current_date AS reqdate
+ FROM defaults d|;
+ }
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ my $ref = $sth->fetchrow_hashref(NAME_lc);
+ map { $form->{$_} = $ref->{$_} } keys %$ref;
+ $sth->finish;
+
+ ($form->{currency}) = split /:/, $form->{currencies};
+
+ if ($form->{id}) {
+
+ # retrieve order
+ $query = qq|SELECT o.ordnumber, o.transdate AS orddate, o.reqdate,
+ o.taxincluded, o.shippingpoint, o.notes, o.curr AS currency,
+ (SELECT name FROM employee e
+ WHERE e.id = o.employee_id) AS employee,
+ o.$form->{vc}_id, cv.name AS $form->{vc}, o.amount AS invtotal,
+ o.closed, o.reqdate
+ FROM oe o, $form->{vc} cv
+ WHERE o.$form->{vc}_id = cv.id
+ AND o.id = $form->{id}|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ $ref = $sth->fetchrow_hashref(NAME_lc);
+ map { $form->{$_} = $ref->{$_} } keys %$ref;
+ $sth->finish;
+
+
+ $query = qq|SELECT * FROM shipto
+ WHERE trans_id = $form->{id}|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ $ref = $sth->fetchrow_hashref(NAME_lc);
+ map { $form->{$_} = $ref->{$_} } keys %$ref;
+ $sth->finish;
+
+ my %oid = ( 'Pg' => 'oid',
+ 'Oracle' => 'rowid',
+ 'DB2' => '' );
+
+ # retrieve individual items
+ $query = qq|SELECT c1.accno AS inventory_accno,
+ c2.accno AS income_accno,
+ c3.accno AS expense_accno,
+ p.partnumber, p.assembly, o.description, o.qty,
+ o.sellprice, o.parts_id AS id, o.unit, o.discount, p.bin,
+ o.reqdate, o.project_id,
+ pr.projectnumber,
+ pg.partsgroup
+ FROM orderitems o
+ JOIN parts p ON (o.parts_id = p.id)
+ LEFT JOIN chart c1 ON (p.inventory_accno_id = c1.id)
+ LEFT JOIN chart c2 ON (p.income_accno_id = c2.id)
+ LEFT JOIN chart c3 ON (p.expense_accno_id = c3.id)
+ LEFT JOIN project pr ON (o.project_id = pr.id)
+ LEFT JOIN partsgroup pg ON (p.partsgroup_id = pg.id)
+ WHERE trans_id = $form->{id}
+ ORDER BY o.$oid{$myconfig->{dbdriver}}|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while ($ref = $sth->fetchrow_hashref(NAME_lc)) {
+
+ # get tax rates for part
+ $query = qq|SELECT c.accno
+ FROM chart c, partstax pt
+ WHERE pt.chart_id = c.id
+ AND pt.parts_id = $ref->{id}|;
+ my $pth = $dbh->prepare($query);
+ $pth->execute || $form->dberror($query);
+
+ $ref->{taxaccounts} = "";
+ my $taxrate = 0;
+
+ while (my $ptref = $pth->fetchrow_hashref(NAME_lc)) {
+ $ref->{taxaccounts} .= "$ptref->{accno} ";
+ $taxrate += $form->{"$ptref->{accno}_rate"};
+ }
+ $pth->finish;
+ chop $ref->{taxaccounts};
+
+ push @{ $form->{order_details} }, $ref;
+
+ }
+ $sth->finish;
+
+ } else {
+
+ my $ordnumber = ($form->{vc} eq 'customer') ? 'sonumber' : 'ponumber';
+ # up order number by 1
+ $form->{ordnumber}++;
+
+ # save the new number
+ $query = qq|UPDATE defaults
+ SET $ordnumber = '$form->{ordnumber}'|;
+ $dbh->do($query) || $form->dberror($query);
+
+ $form->get_employee($dbh);
+
+ # get last name used
+ $form->lastname_used($dbh, $myconfig, $form->{vc}) unless $form->{"$form->{vc}_id"};
+
+ }
+
+ $form->{exchangerate} = $form->get_exchangerate($dbh, $form->{currency}, $form->{orddate}, ($form->{vc} eq 'customer') ? "buy" : "sell");
+
+ my $rc = $dbh->commit;
+ $dbh->disconnect;
+
+ $rc;
+
+}
+
+
+
+sub order_details {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ my $tax = 0;
+ my $item;
+ my $i;
+ my @partsgroup = ();
+ my $partsgroup;
+ my %oid = ( 'Pg' => 'oid',
+ 'Oracle' => 'rowid' );
+
+ # sort items by partsgroup
+ for $i (1 .. $form->{rowcount}) {
+ $partsgroup = "";
+ if ($form->{"partsgroup_$i"} && $form->{groupitems}) {
+ $form->format_string("partsgroup_$i");
+ $partsgroup = $form->{"partsgroup_$i"};
+ }
+ push @partsgroup, [ $i, $partsgroup ];
+ }
+
+ my $sameitem = "";
+ foreach $item (sort { $a->[1] cmp $b->[1] } @partsgroup) {
+ $i = $item->[0];
+
+ if ($item->[1] ne $sameitem) {
+ push(@{ $form->{description} }, qq|$item->[1]|);
+ $sameitem = $item->[1];
+
+ map { push(@{ $form->{$_} }, "") } qw(runningnumber number bin qty unit reqdate sellprice listprice netprice discount linetotal);
+ }
+
+ $form->{"qty_$i"} = $form->parse_amount($myconfig, $form->{"qty_$i"});
+
+ if ($form->{"qty_$i"} != 0) {
+
+ # add number, description and qty to $form->{number}, ....
+ push(@{ $form->{runningnumber} }, $i);
+ push(@{ $form->{number} }, qq|$form->{"partnumber_$i"}|);
+ push(@{ $form->{description} }, qq|$form->{"description_$i"}|);
+ push(@{ $form->{qty} }, $form->format_amount($myconfig, $form->{"qty_$i"}));
+ push(@{ $form->{unit} }, qq|$form->{"unit_$i"}|);
+ push(@{ $form->{reqdate} }, qq|$form->{"reqdate_$i"}|);
+
+ push(@{ $form->{sellprice} }, $form->{"sellprice_$i"});
+
+ push(@{ $form->{listprice} }, $form->{"listprice_$i"});
+
+ my $sellprice = $form->parse_amount($myconfig, $form->{"sellprice_$i"});
+ my ($dec) = ($sellprice =~ /\.(\d+)/);
+ $dec = length $dec;
+ my $decimalplaces = ($dec > 2) ? $dec : 2;
+
+ my $discount = $form->round_amount($sellprice * $form->parse_amount($myconfig, $form->{"discount_$i"}) / 100, $decimalplaces);
+
+ # keep a netprice as well, (sellprice - discount)
+ $form->{"netprice_$i"} = $sellprice - $discount;
+
+ my $linetotal = $form->round_amount($form->{"qty_$i"} * $form->{"netprice_$i"}, 2);
+
+ push(@{ $form->{netprice} }, ($form->{"netprice_$i"} != 0) ? $form->format_amount($myconfig, $form->{"netprice_$i"}, $decimalplaces) : " ");
+
+ $discount = ($discount != 0) ? $form->format_amount($myconfig, $discount * -1, $decimalplaces) : " ";
+ $linetotal = ($linetotal != 0) ? $linetotal : " ";
+
+ push(@{ $form->{discount} }, $discount);
+
+ $form->{ordtotal} += $linetotal;
+
+ push(@{ $form->{linetotal} }, $form->format_amount($myconfig, $linetotal, 2));
+
+ my ($taxamount, $taxbase);
+ my $taxrate = 0;
+
+ map { $taxrate += $form->{"${_}_rate"} } split / /, $form->{"taxaccounts_$i"};
+
+ if ($form->{taxincluded}) {
+ # calculate tax
+ $taxamount = $linetotal * $taxrate / (1 + $taxrate);
+ $taxbase = $linetotal / (1 + $taxrate);
+ } else {
+ $taxamount = $linetotal * $taxrate;
+ $taxbase = $linetotal;
+ }
+
+
+ if ($taxamount != 0) {
+ foreach my $item (split / /, $form->{"taxaccounts_$i"}) {
+ $taxaccounts{$item} += $taxamount * $form->{"${item}_rate"} / $taxrate;
+ $taxbase{$item} += $taxbase;
+ }
+ }
+
+ if ($form->{"assembly_$i"}) {
+ $sameitem = "";
+
+ # get parts and push them onto the stack
+ my $sortorder = "";
+ if ($form->{groupitems}) {
+ $sortorder = qq|ORDER BY pg.partsgroup, a.$oid{$myconfig->{dbdriver}}|;
+ } else {
+ $sortorder = qq|ORDER BY a.$oid{$myconfig->{dbdriver}}|;
+ }
+
+ $query = qq|SELECT p.partnumber, p.description, p.unit, a.qty,
+ pg.partsgroup
+ FROM assembly a
+ JOIN parts p ON (a.parts_id = p.id)
+ LEFT JOIN partsgroup pg ON (p.partsgroup_id = pg.id)
+ WHERE a.bom = '1'
+ AND a.id = '$form->{"id_$i"}'
+ $sortorder|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while (my $ref = $sth->fetchrow_hashref(NAME_lc)) {
+ if ($form->{groupitems} && $ref->{partsgroup} ne $sameitem) {
+ map { push(@{ $form->{$_} }, "") } qw(runningnumber number unit bin qty sellprice listprice netprice discount linetotal);
+ $sameitem = ($ref->{partsgroup}) ? $ref->{partsgroup} : "--";
+ push(@{ $form->{description} }, $sameitem);
+ }
+
+ push(@{ $form->{number} }, qq|$ref->{partnumber}|);
+ push(@{ $form->{description} }, qq|$ref->{description}|);
+ push(@{ $form->{unit} }, qq|$ref->{unit}|);
+ push(@{ $form->{qty} }, $form->format_amount($myconfig, $ref->{qty} * $form->{"qty_$i"}));
+
+ map { push(@{ $form->{$_} }, "") } qw(runningnumber bin sellprice listprice netprice discount linetotal);
+
+ }
+ $sth->finish;
+ }
+
+ }
+ }
+
+
+ foreach $item (sort keys %taxaccounts) {
+ if ($form->round_amount($taxaccounts{$item}, 2) != 0) {
+ push(@{ $form->{taxbase} }, $form->format_amount($myconfig, $taxbase{$item}, 2));
+
+ $taxamount = $form->round_amount($taxaccounts{$item}, 2);
+ $tax += $taxamount;
+
+ push(@{ $form->{tax} }, $form->format_amount($myconfig, $taxamount, 2));
+ push(@{ $form->{taxdescription} }, $form->{"${item}_description"});
+ push(@{ $form->{taxrate} }, $form->format_amount($myconfig, $form->{"${item}_rate"} * 100));
+ push(@{ $form->{taxnumber} }, $form->{"${item}_taxnumber"});
+ }
+ }
+
+
+ $form->{subtotal} = $form->format_amount($myconfig, $form->{ordtotal}, 2);
+ $form->{ordtotal} = ($form->{taxincluded}) ? $form->{ordtotal} : $form->{ordtotal} + $tax;
+
+ # format amounts
+ $form->{ordtotal} = $form->format_amount($myconfig, $form->{ordtotal}, 2);
+
+ # myconfig variables
+ map { $form->{$_} = $myconfig->{$_} } (qw(company address tel fax signature businessnumber));
+ $form->{username} = $myconfig->{name};
+
+ $dbh->disconnect;
+
+}
+
+
+sub project_description {
+ my ($self, $dbh, $id) = @_;
+
+ my $query = qq|SELECT description
+ FROM project
+ WHERE id = $id|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ ($_) = $sth->fetchrow_array;
+
+ $sth->finish;
+
+ $_;
+
+}
+
+
+1;
+
diff --git a/sql-ledger/SL/PE.pm b/sql-ledger/SL/PE.pm
new file mode 100644
index 0000000..dec04bb
--- /dev/null
+++ b/sql-ledger/SL/PE.pm
@@ -0,0 +1,276 @@
+#=====================================================================
+# SQL-Ledger Accounting
+# Copyright (C) 1998-2002
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+# Contributors:
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#======================================================================
+#
+# Project module
+# also used for partsgroups
+#
+#======================================================================
+
+package PE;
+
+
+sub projects {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ my $sortorder = ($form->{sort}) ? $form->{sort} : "projectnumber";
+
+ my $query = qq|SELECT id, projectnumber, description
+ FROM project
+ WHERE 1 = 1|;
+
+ if ($form->{projectnumber}) {
+ my $projectnumber = $form->like(lc $form->{projectnumber});
+ $query .= " AND lower(projectnumber) LIKE '$projectnumber'";
+ }
+ if ($form->{projectdescription}) {
+ my $description = $form->like(lc $form->{projectdescription});
+ $query .= " AND lower(description) LIKE '$description'";
+ }
+ if ($form->{status} eq 'orphaned') {
+ $query .= " AND id NOT IN (SELECT p.id
+ FROM project p, acc_trans a
+ WHERE p.id = a.project_id)
+ AND id NOT IN (SELECT p.id
+ FROM project p, invoice i
+ WHERE p.id = i.project_id)
+ AND id NOT IN (SELECT p.id
+ FROM project p, orderitems o
+ WHERE p.id = o.project_id)";
+ }
+
+ $query .= qq|
+ ORDER BY $sortorder|;
+
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ my $i = 0;
+ while (my $ref = $sth->fetchrow_hashref(NAME_lc)) {
+ push @{ $form->{project_list} }, $ref;
+ $i++;
+ }
+
+ $sth->finish;
+ $dbh->disconnect;
+
+ $i;
+
+}
+
+
+sub get_project {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ my $query = qq|SELECT *
+ FROM project
+ WHERE id = $form->{id}|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ my $ref = $sth->fetchrow_hashref(NAME_lc);
+
+ map { $form->{$_} = $ref->{$_} } keys %$ref;
+
+ $sth->finish;
+
+ # check if it is orphaned
+ $query = qq|SELECT count(*)
+ FROM acc_trans
+ WHERE project_id = $form->{id}|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ ($form->{orphaned}) = $sth->fetchrow_array;
+ $form->{orphaned} = !$form->{orphaned};
+
+ $sth->finish;
+
+ $dbh->disconnect;
+
+}
+
+
+sub save_project {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ map { $form->{$_} =~ s/'/''/g } (projectnumber, description);
+
+ if ($form->{id}) {
+ $query = qq|UPDATE project SET
+ projectnumber = '$form->{projectnumber}',
+ description = '$form->{description}'
+ WHERE id = $form->{id}|;
+ } else {
+ $query = qq|INSERT INTO project
+ (projectnumber, description)
+ VALUES ('$form->{projectnumber}', '$form->{description}')|;
+ }
+ $dbh->do($query) || $form->dberror($query);
+
+ $dbh->disconnect;
+
+}
+
+
+sub partsgroups {
+ my ($self, $myconfig, $form) = @_;
+
+ my $var;
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ my $sortorder = ($form->{sort}) ? $form->{sort} : "partsgroup";
+
+ my $query = qq|SELECT g.*
+ FROM partsgroup g|;
+
+ my $where = "1 = 1";
+
+ if ($form->{partsgroup}) {
+ $var = $form->like(lc $form->{partsgroup});
+ $where .= " AND lower(partsgroup) LIKE '$var'";
+ }
+ $query .= qq|
+ WHERE $where
+ ORDER BY $sortorder|;
+
+ if ($form->{status} eq 'orphaned') {
+ $query = qq|SELECT g.*
+ FROM partsgroup g
+ LEFT JOIN parts p ON (p.partsgroup_id = g.id)
+ WHERE $where
+ EXCEPT
+ SELECT g.*
+ FROM partsgroup g
+ JOIN parts p ON (p.partsgroup_id = g.id)
+ WHERE $where
+ ORDER BY $sortorder|;
+ }
+
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ my $i = 0;
+ while (my $ref = $sth->fetchrow_hashref(NAME_lc)) {
+ push @{ $form->{item_list} }, $ref;
+ $i++;
+ }
+
+ $sth->finish;
+ $dbh->disconnect;
+
+ $i;
+
+}
+
+
+sub save_partsgroup {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ map { $form->{$_} =~ s/'/''/g } (partsgroup);
+
+
+ if ($form->{id}) {
+ $query = qq|UPDATE partsgroup SET
+ partsgroup = '$form->{partsgroup}'
+ WHERE id = $form->{id}|;
+ } else {
+ $query = qq|INSERT INTO partsgroup
+ (partsgroup)
+ VALUES ('$form->{partsgroup}')|;
+ }
+ $dbh->do($query) || $form->dberror($query);
+
+ $dbh->disconnect;
+
+}
+
+
+sub get_partsgroup {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ my $query = qq|SELECT *
+ FROM partsgroup
+ WHERE id = $form->{id}|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ my $ref = $sth->fetchrow_hashref(NAME_lc);
+
+ map { $form->{$_} = $ref->{$_} } keys %$ref;
+
+ $sth->finish;
+
+ # check if it is orphaned
+ $query = qq|SELECT count(*)
+ FROM parts
+ WHERE partsgroup_id = $form->{id}|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ ($form->{orphaned}) = $sth->fetchrow_array;
+ $form->{orphaned} = !$form->{orphaned};
+
+ $sth->finish;
+
+ $dbh->disconnect;
+
+}
+
+
+
+sub delete_tuple {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ $query = qq|DELETE FROM $form->{type}
+ WHERE id = $form->{id}|;
+ $dbh->do($query) || $form->dberror($query);
+
+ $dbh->disconnect;
+
+}
+
+
+
+1;
+
diff --git a/sql-ledger/SL/RC.pm b/sql-ledger/SL/RC.pm
new file mode 100644
index 0000000..9957d73
--- /dev/null
+++ b/sql-ledger/SL/RC.pm
@@ -0,0 +1,186 @@
+#=====================================================================
+# SQL-Ledger Accounting
+# Copyright (C) 2002
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+# Contributors:
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#======================================================================
+#
+# Account reconciliation routines
+#
+#======================================================================
+
+package RC;
+
+
+sub paymentaccounts {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ my $query = qq|SELECT accno, description
+ FROM chart
+ WHERE link LIKE '%_paid%'
+ AND category = 'A'
+ ORDER BY accno|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while (my $ref = $sth->fetchrow_hashref(NAME_lc)) {
+ push @{ $form->{PR} }, $ref;
+ }
+ $sth->finish;
+ $dbh->disconnect;
+
+}
+
+
+sub payment_transactions {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database, turn AutoCommit off
+ my $dbh = $form->dbconnect_noauto($myconfig);
+
+ my ($query, $sth);
+
+ # get cleared balance
+ if ($form->{fromdate}) {
+ $query = qq|SELECT sum(a.amount)
+ FROM acc_trans a, chart c
+ WHERE a.transdate < date '$form->{fromdate}'
+ AND a.cleared = '1'
+ AND c.id = a.chart_id
+ AND c.accno = '$form->{accno}'
+ |;
+ } else {
+ $query = qq|SELECT sum(a.amount)
+ FROM acc_trans a, chart c
+ WHERE a.cleared = '1'
+ AND c.id = a.chart_id
+ AND c.accno = '$form->{accno}'
+ |;
+ }
+
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ ($form->{beginningbalance}) = $sth->fetchrow_array;
+
+ $sth->finish;
+
+ my %oid = ( 'Pg' => 'ac.oid',
+ 'Oracle' => 'ac.rowid');
+
+ $query = qq|SELECT c.name, ac.source, ac.transdate, ac.cleared,
+ ac.fx_transaction, ac.amount, a.id,
+ $oid{$myconfig->{dbdriver}} AS oid
+ FROM customer c, acc_trans ac, ar a, chart ch
+ WHERE c.id = a.customer_id
+ AND ac.cleared = '0'
+ AND ac.trans_id = a.id
+ AND ac.chart_id = ch.id
+ AND ch.accno = '$form->{accno}'
+ |;
+
+ $query .= " AND ac.transdate >= '$form->{fromdate}'" if $form->{fromdate};
+ $query .= " AND ac.transdate <= '$form->{todate}'" if $form->{todate};
+
+
+ $query .= qq|
+
+ UNION
+ SELECT v.name, ac.source, ac.transdate, ac.cleared,
+ ac.fx_transaction, ac.amount, a.id,
+ $oid{$myconfig->{dbdriver}} AS oid
+ FROM vendor v, acc_trans ac, ap a, chart ch
+ WHERE v.id = a.vendor_id
+ AND ac.cleared = '0'
+ AND ac.trans_id = a.id
+ AND ac.chart_id = ch.id
+ AND ch.accno = '$form->{accno}'
+ |;
+
+ $query .= " AND ac.transdate >= '$form->{fromdate}'" if $form->{fromdate};
+ $query .= " AND ac.transdate <= '$form->{todate}'" if $form->{todate};
+
+ $query .= qq|
+
+ UNION
+ SELECT g.description, ac.source, ac.transdate, ac.cleared,
+ ac.fx_transaction, ac.amount, g.id,
+ $oid{$myconfig->{dbdriver}} AS oid
+ FROM gl g, acc_trans ac, chart ch
+ WHERE g.id = ac.trans_id
+ AND ac.cleared = '0'
+ AND ac.trans_id = g.id
+ AND ac.chart_id = ch.id
+ AND ch.accno = '$form->{accno}'
+ |;
+
+ $query .= " AND ac.transdate >= '$form->{fromdate}'" if $form->{fromdate};
+ $query .= " AND ac.transdate <= '$form->{todate}'" if $form->{todate};
+
+ $query .= " ORDER BY 3,7,8";
+
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while (my $pr = $sth->fetchrow_hashref(NAME_lc)) {
+ push @{ $form->{PR} }, $pr;
+ }
+ $sth->finish;
+
+ $dbh->disconnect;
+
+}
+
+
+sub reconcile {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ my ($query, $i);
+ my %oid = ( 'Pg' => 'oid',
+ 'Oracle' => 'rowid');
+
+ # clear flags
+ for $i (1 .. $form->{rowcount}) {
+ if ($form->{"cleared_$i"}) {
+ $query = qq|UPDATE acc_trans SET cleared = '1'
+ WHERE $oid{$myconfig->{dbdriver}} = $form->{"oid_$i"}|;
+ $dbh->do($query) || $form->dberror($query);
+
+ # clear fx_transaction
+ if ($form->{"fxoid_$i"}) {
+ $query = qq|UPDATE acc_trans SET cleared = '1'
+ WHERE $oid{$myconfig->{dbdriver}} = $form->{"fxoid_$i"}|;
+ $dbh->do($query) || $form->dberror($query);
+ }
+ }
+ }
+
+ $dbh->disconnect;
+
+}
+
+1;
+
diff --git a/sql-ledger/SL/RP.pm b/sql-ledger/SL/RP.pm
new file mode 100644
index 0000000..3f07bb5
--- /dev/null
+++ b/sql-ledger/SL/RP.pm
@@ -0,0 +1,1310 @@
+#=====================================================================
+# SQL-Ledger Accounting
+# Copyright (C) 1998-2002
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+# Contributors: Benjamin Lee <benjaminlee@consultant.com>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#======================================================================
+#
+# backend code for reports
+#
+#======================================================================
+
+package RP;
+
+
+sub income_statement {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ my $last_period = 0;
+ my @categories = qw(I E);
+ my $category;
+
+ $form->{decimalplaces} *= 1;
+
+ &get_accounts($dbh, $last_period, $form->{fromdate}, $form->{todate}, $form, \@categories);
+
+ # if there are any compare dates
+ if ($form->{comparefromdate} || $form->{comparetodate}) {
+ $last_period = 1;
+
+ &get_accounts($dbh, $last_period, $form->{comparefromdate}, $form->{comparetodate}, $form, \@categories);
+ }
+
+
+ # disconnect
+ $dbh->disconnect;
+
+
+ # now we got $form->{I}{accno}{ }
+ # and $form->{E}{accno}{ }
+
+ my %account = ( 'I' => { 'label' => 'income',
+ 'labels' => 'income',
+ 'ml' => 1 },
+ 'E' => { 'label' => 'expense',
+ 'labels' => 'expenses',
+ 'ml' => -1 }
+ );
+
+ my $str;
+
+ foreach $category (@categories) {
+
+ foreach $key (sort keys %{ $form->{$category} }) {
+ # push description onto array
+
+ $str = ($form->{l_heading}) ? $form->{padding} : "";
+
+ if ($form->{$category}{$key}{charttype} eq "A") {
+ $str .= ($form->{l_accno}) ? "$form->{$category}{$key}{accno} - $form->{$category}{$key}{description}" : "$form->{$category}{$key}{description}";
+ }
+ if ($form->{$category}{$key}{charttype} eq "H") {
+ if ($account{$category}{subtotal} && $form->{l_subtotal}) {
+ $dash = "- ";
+ push(@{$form->{"$account{$category}{label}_account"}}, "$str$form->{bold}$account{$category}{subdescription}$form->{endbold}");
+ push(@{$form->{"$account{$category}{labels}_this_period"}}, $form->format_amount($myconfig, $account{$category}{subthis} * $account{$category}{ml}, $form->{decimalplaces}, $dash));
+
+ if ($last_period) {
+ push(@{$form->{"$account{$category}{labels}_last_period"}}, $form->format_amount($myconfig, $account{$category}{sublast} * $account{$category}{ml}, $form->{decimalplaces}, $dash));
+ }
+
+ }
+
+ $str = "$form->{br}$form->{bold}$form->{$category}{$key}{description}$form->{endbold}";
+
+ $account{$category}{subthis} = $form->{$category}{$key}{this};
+ $account{$category}{sublast} = $form->{$category}{$key}{last};
+ $account{$category}{subdescription} = $form->{$category}{$key}{description};
+ $account{$category}{subtotal} = 1;
+
+ $form->{$category}{$key}{this} = 0;
+ $form->{$category}{$key}{last} = 0;
+
+ next unless $form->{l_heading};
+
+ $dash = " ";
+ }
+
+ push(@{$form->{"$account{$category}{label}_account"}}, $str);
+
+ if ($form->{$category}{$key}{charttype} eq 'A') {
+ $form->{"total_$account{$category}{labels}_this_period"} += $form->{$category}{$key}{this} * $account{$category}{ml};
+ $dash = "- ";
+ }
+
+ push(@{$form->{"$account{$category}{labels}_this_period"}}, $form->format_amount($myconfig, $form->{$category}{$key}{this} * $account{$category}{ml}, $form->{decimalplaces}, $dash));
+
+ # add amount or - for last period
+ if ($last_period) {
+ $form->{"total_$account{$category}{labels}_last_period"} += $form->{$category}{$key}{last} * $account{$category}{ml};
+
+ push(@{$form->{"$account{$category}{labels}_last_period"}}, $form->format_amount($myconfig,$form->{$category}{$key}{last} * $account{$category}{ml}, $form->{decimalplaces}, $dash));
+ }
+ }
+
+ $str = ($form->{l_heading}) ? $form->{padding} : "";
+ if ($account{$category}{subtotal} && $form->{l_subtotal}) {
+ push(@{$form->{"$account{$category}{label}_account"}}, "$str$form->{bold}$account{$category}{subdescription}$form->{endbold}");
+ push(@{$form->{"$account{$category}{labels}_this_period"}}, $form->format_amount($myconfig, $account{$category}{subthis} * $account{$category}{ml}, $form->{decimalplaces}, $dash));
+
+ if ($last_period) {
+ push(@{$form->{"$account{$category}{labels}_last_period"}}, $form->format_amount($myconfig, $account{$category}{sublast} * $account{$category}{ml}, $form->{decimalplaces}, $dash));
+ }
+ }
+
+ }
+
+
+ # totals for income and expenses
+ $form->{total_income_this_period} = $form->round_amount($form->{total_income_this_period}, $form->{decimalplaces});
+ $form->{total_expenses_this_period} = $form->round_amount($form->{total_expenses_this_period}, $form->{decimalplaces});
+
+ # total for income/loss
+ $form->{total_this_period} = $form->{total_income_this_period} - $form->{total_expenses_this_period};
+
+ if ($last_period) {
+ # total for income/loss
+ $form->{total_last_period} = $form->format_amount($myconfig, $form->{total_income_last_period} - $form->{total_expenses_last_period}, $form->{decimalplaces}, "- ");
+
+ # totals for income and expenses for last_period
+ $form->{total_income_last_period} = $form->format_amount($myconfig, $form->{total_income_last_period}, $form->{decimalplaces}, "- ");
+ $form->{total_expenses_last_period} = $form->format_amount($myconfig, $form->{total_expenses_last_period}, $form->{decimalplaces}, "- ");
+
+ }
+
+
+ $form->{total_income_this_period} = $form->format_amount($myconfig,$form->{total_income_this_period}, $form->{decimalplaces}, "- ");
+ $form->{total_expenses_this_period} = $form->format_amount($myconfig,$form->{total_expenses_this_period}, $form->{decimalplaces}, "- ");
+ $form->{total_this_period} = $form->format_amount($myconfig,$form->{total_this_period}, $form->{decimalplaces}, "- ");
+
+}
+
+
+
+sub balance_sheet {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ my $last_period = 0;
+ my @categories = qw(A L Q);
+
+ # if there are any dates construct a where
+ if ($form->{asofdate}) {
+
+ $form->{this_period} = "$form->{asofdate}";
+ $form->{period} = "$form->{asofdate}";
+
+ }
+
+ $form->{decimalplaces} *= 1;
+
+ &get_accounts($dbh, $last_period, "", $form->{asofdate}, $form, \@categories);
+
+ # if there are any compare dates
+ if ($form->{compareasofdate}) {
+
+ $last_period = 1;
+ &get_accounts($dbh, $last_period, "", $form->{compareasofdate}, $form, \@categories);
+
+ $form->{last_period} = "$form->{compareasofdate}";
+
+ }
+
+
+ # disconnect
+ $dbh->disconnect;
+
+
+ # now we got $form->{A}{accno}{ } assets
+ # and $form->{L}{accno}{ } liabilities
+ # and $form->{Q}{accno}{ } equity
+ # build asset accounts
+
+ my $str;
+ my $key;
+
+ my %account = ( 'A' => { 'label' => 'asset',
+ 'labels' => 'assets',
+ 'ml' => -1 },
+ 'L' => { 'label' => 'liability',
+ 'labels' => 'liabilities',
+ 'ml' => 1 },
+ 'Q' => { 'label' => 'equity',
+ 'labels' => 'equities',
+ 'ml' => 1 }
+ );
+
+ foreach $category (@categories) {
+
+ foreach $key (sort keys %{ $form->{$category} }) {
+
+ $str = ($form->{l_heading}) ? $form->{padding} : "";
+
+ if ($form->{$category}{$key}{charttype} eq "A") {
+ $str .= ($form->{l_accno}) ? "$form->{$category}{$key}{accno} - $form->{$category}{$key}{description}" : "$form->{$category}{$key}{description}";
+ }
+ if ($form->{$category}{$key}{charttype} eq "H") {
+ if ($account{$category}{subtotal} && $form->{l_subtotal}) {
+ $dash = "- ";
+ push(@{$form->{"$account{$category}{label}_account"}}, "$str$form->{bold}$account{$category}{subdescription}$form->{endbold}");
+ push(@{$form->{"$account{$category}{label}_this_period"}}, $form->format_amount($myconfig, $account{$category}{subthis} * $account{$category}{ml}, $form->{decimalplaces}, $dash));
+
+ if ($last_period) {
+ push(@{$form->{"$account{$category}{label}_last_period"}}, $form->format_amount($myconfig, $account{$category}{sublast} * $account{$category}{ml}, $form->{decimalplaces}, $dash));
+ }
+ }
+
+ $str = "$form->{bold}$form->{$category}{$key}{description}$form->{endbold}";
+
+ $account{$category}{subthis} = $form->{$category}{$key}{this};
+ $account{$category}{sublast} = $form->{$category}{$key}{last};
+ $account{$category}{subdescription} = $form->{$category}{$key}{description};
+ $account{$category}{subtotal} = 1;
+
+ $form->{$category}{$key}{this} = 0;
+ $form->{$category}{$key}{last} = 0;
+
+ next unless $form->{l_heading};
+
+ $dash = " ";
+ }
+
+ # push description onto array
+ push(@{$form->{"$account{$category}{label}_account"}}, $str);
+
+ if ($form->{$category}{$key}{charttype} eq 'A') {
+ $form->{"total_$account{$category}{labels}_this_period"} += $form->{$category}{$key}{this} * $account{$category}{ml};
+ $dash = "- ";
+ }
+
+ push(@{$form->{"$account{$category}{label}_this_period"}}, $form->format_amount($myconfig, $form->{$category}{$key}{this} * $account{$category}{ml}, $form->{decimalplaces}, $dash));
+
+ if ($last_period) {
+ $form->{"total_$account{$category}{labels}_last_period"} += $form->{$category}{$key}{last} * $account{$category}{ml};
+
+ push(@{$form->{"$account{$category}{label}_last_period"}}, $form->format_amount($myconfig, $form->{$category}{$key}{last} * $account{$category}{ml}, $form->{decimalplaces}, $dash));
+ }
+ }
+
+ $str = ($form->{l_heading}) ? $form->{padding} : "";
+ if ($account{$category}{subtotal} && $form->{l_subtotal}) {
+ push(@{$form->{"$account{$category}{label}_account"}}, "$str$form->{bold}$account{$category}{subdescription}$form->{endbold}");
+ push(@{$form->{"$account{$category}{label}_this_period"}}, $form->format_amount($myconfig, $account{$category}{subthis} * $account{$category}{ml}, $form->{decimalplaces}, $dash));
+
+ if ($last_period) {
+ push(@{$form->{"$account{$category}{label}_last_period"}}, $form->format_amount($myconfig, $account{$category}{sublast} * $account{$category}{ml}, $form->{decimalplaces}, $dash));
+ }
+ }
+
+ }
+
+
+ # totals for assets, liabilities
+ $form->{total_assets_this_period} = $form->round_amount($form->{total_assets_this_period}, $form->{decimalplaces});
+ $form->{total_liabilities_this_period} = $form->round_amount($form->{total_liabilities_this_period}, $form->{decimalplaces});
+
+
+ # calculate retained earnings
+ $form->{earnings_this_period} = $form->{total_assets_this_period} - $form->{total_liabilities_this_period} - $form->{total_equity_this_period};
+
+ push(@{$form->{equity_this_period}}, $form->format_amount($myconfig, $form->{earnings_this_period}, $form->{decimalplaces}, "- "));
+
+ $form->{total_equity_this_period} = $form->round_amount($form->{total_equity_this_period} + $form->{earnings_this_period}, $form->{decimalplaces});
+
+ # add liability + equity
+ $form->{total_this_period} = $form->format_amount($myconfig, $form->{total_liabilities_this_period} + $form->{total_equity_this_period}, $form->{decimalplaces}, "- ");
+
+
+ if ($last_period) {
+ # totals for assets, liabilities
+ $form->{total_assets_last_period} = $form->round_amount($form->{total_assets_last_period}, $form->{decimalplaces});
+ $form->{total_liabilities_last_period} = $form->round_amount($form->{total_liabilities_last_period}, $form->{decimalplaces});
+
+
+ # calculate retained earnings
+ $form->{earnings_last_period} = $form->{total_assets_last_period} - $form->{total_liabilities_last_period} - $form->{total_equity_last_period};
+
+ push(@{$form->{equity_last_period}}, $form->format_amount($myconfig,$form->{earnings_last_period}, $form->{decimalplaces}, "- "));
+
+ $form->{total_equity_last_period} = $form->round_amount($form->{total_equity_last_period} + $form->{earnings_last_period}, $form->{decimalplaces});
+
+ # add liability + equity
+ $form->{total_last_period} = $form->format_amount($myconfig, $form->{total_liabilities_last_period} + $form->{total_equity_last_period}, $form->{decimalplaces}, "- ");
+
+ }
+
+
+ $form->{total_liabilities_last_period} = $form->format_amount($myconfig, $form->{total_liabilities_last_period}, $form->{decimalplaces}, "- ") if ($form->{total_liabilities_last_period} != 0);
+
+ $form->{total_equity_last_period} = $form->format_amount($myconfig, $form->{total_equity_last_period}, $form->{decimalplaces}, "- ") if ($form->{total_equity_last_period} != 0);
+
+ $form->{total_assets_last_period} = $form->format_amount($myconfig, $form->{total_assets_last_period}, $form->{decimalplaces}, "- ") if ($form->{total_assets_last_period} != 0);
+
+ $form->{total_assets_this_period} = $form->format_amount($myconfig, $form->{total_assets_this_period}, $form->{decimalplaces}, "- ");
+
+ $form->{total_liabilities_this_period} = $form->format_amount($myconfig, $form->{total_liabilities_this_period}, $form->{decimalplaces}, "- ");
+
+ $form->{total_equity_this_period} = $form->format_amount($myconfig, $form->{total_equity_this_period}, $form->{decimalplaces}, "- ");
+
+}
+
+
+
+sub get_accounts {
+ my ($dbh, $last_period, $fromdate, $todate, $form, $categories) = @_;
+
+ my $query;
+ my $where = "WHERE 1 = 1";
+ my $subwhere;
+ my $item;
+
+ my $category = "AND (";
+ foreach $item (@{ $categories }) {
+ $category .= qq|c.category = '$item' OR |;
+ }
+ $category =~ s/OR $/\)/;
+
+
+ # get headings
+ $query = qq|SELECT accno, description, category
+ FROM chart c
+ WHERE c.charttype = 'H'
+ $category
+ ORDER by c.accno|;
+
+ if ($form->{accounttype} eq 'gifi')
+ {
+ $query = qq|SELECT g.accno, g.description, c.category
+ FROM gifi g
+ JOIN chart c ON (c.gifi_accno = g.accno)
+ WHERE c.charttype = 'H'
+ $category
+ ORDER BY g.accno|;
+ }
+
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ my @headingaccounts = ();
+ while ($ref = $sth->fetchrow_hashref(NAME_lc))
+ {
+ $form->{$ref->{category}}{$ref->{accno}}{description} = "$ref->{description}";
+ $form->{$ref->{category}}{$ref->{accno}}{charttype} = "H";
+ $form->{$ref->{category}}{$ref->{accno}}{accno} = $ref->{accno};
+
+ push @headingaccounts, $ref->{accno};
+ }
+
+ $sth->finish;
+
+
+ $where .= " AND ac.transdate >= '$fromdate'" if $fromdate;
+
+ if ($todate) {
+ $where .= " AND ac.transdate <= '$todate'";
+ $subwhere = " AND transdate <= '$todate'";
+ }
+
+
+ if ($form->{project_id})
+ {
+ $project = qq|
+ AND ac.project_id = $form->{project_id}
+ |;
+ }
+
+
+ if ($form->{accounttype} eq 'gifi')
+ {
+
+ if ($form->{method} eq 'cash')
+ {
+
+ $query = qq|
+
+ SELECT g.accno, sum(ac.amount) AS amount,
+ g.description, c.category
+ FROM acc_trans ac
+ JOIN chart c ON (c.id = ac.chart_id)
+ JOIN ar a ON (a.id = ac.trans_id)
+ JOIN gifi g ON (g.accno = c.gifi_accno)
+ $where
+ $category
+ AND ac.trans_id IN
+ (
+ SELECT trans_id
+ FROM acc_trans
+ JOIN chart ON (chart_id = id)
+ WHERE link LIKE '%AR_paid%'
+ $subwhere
+ )
+ $project
+ GROUP BY g.accno, g.description, c.category
+
+ UNION
+
+ SELECT '' AS accno, SUM(ac.amount) AS amount,
+ '' AS description, c.category
+ FROM acc_trans ac
+ JOIN chart c ON (c.id = ac.chart_id)
+ JOIN ar a ON (a.id = ac.trans_id)
+ $where
+ $category
+ AND c.gifi_accno = ''
+ AND ac.trans_id IN
+ (
+ SELECT trans_id
+ FROM acc_trans
+ JOIN chart ON (chart_id = id)
+ WHERE link LIKE '%AR_paid%'
+ $subwhere
+ )
+ $project
+ GROUP BY c.category
+
+ UNION
+
+ SELECT g.accno, sum(ac.amount) AS amount,
+ g.description, c.category
+ FROM acc_trans ac
+ JOIN chart c ON (c.id = ac.chart_id)
+ JOIN ap a ON (a.id = ac.trans_id)
+ JOIN gifi g ON (g.accno = c.gifi_accno)
+ $where
+ $category
+ AND ac.trans_id IN
+ (
+ SELECT trans_id
+ FROM acc_trans
+ JOIN chart ON (chart_id = id)
+ WHERE link LIKE '%AP_paid%'
+ $subwhere
+ )
+ $project
+ GROUP BY g.accno, g.description, c.category
+
+ UNION
+
+ SELECT '' AS accno, SUM(ac.amount) AS amount,
+ '' AS description, c.category
+ FROM acc_trans ac
+ JOIN chart c ON (c.id = ac.chart_id)
+ JOIN ap a ON (a.id = ac.trans_id)
+ $where
+ $category
+ AND c.gifi_accno = ''
+ AND ac.trans_id IN
+ (
+ SELECT trans_id
+ FROM acc_trans
+ JOIN chart ON (chart_id = id)
+ WHERE link LIKE '%AP_paid%'
+ $subwhere
+ )
+ $project
+ GROUP BY c.category
+
+ UNION
+
+-- add gl
+
+ SELECT g.accno, sum(ac.amount) AS amount,
+ g.description, c.category
+ FROM acc_trans ac
+ JOIN chart c ON (c.id = ac.chart_id)
+ JOIN gifi g ON (g.accno = c.gifi_accno)
+ JOIN gl a ON (a.id = ac.trans_id)
+ $where
+ $category
+ AND NOT (c.link = 'AR' OR c.link = 'AP')
+ $project
+ GROUP BY g.accno, g.description, c.category
+
+ UNION
+
+ SELECT '' AS accno, SUM(ac.amount) AS amount,
+ '' AS description, c.category
+ FROM acc_trans ac
+ JOIN chart c ON (c.id = ac.chart_id)
+ JOIN gl a ON (a.id = ac.trans_id)
+ $where
+ $category
+ AND c.gifi_accno = ''
+ AND NOT (c.link = 'AR' OR c.link = 'AP')
+ $project
+ GROUP BY c.category
+ |;
+
+ } else {
+
+ $query = qq|
+
+ SELECT g.accno, SUM(ac.amount) AS amount,
+ g.description, c.category
+ FROM acc_trans ac
+ JOIN chart c ON (c.id = ac.chart_id)
+ JOIN gifi g ON (c.gifi_accno = g.accno)
+ $where
+ $category
+ $project
+ GROUP BY g.accno, g.description, c.category
+
+ UNION
+
+ SELECT '' AS accno, SUM(ac.amount) AS amount,
+ '' AS description, c.category
+ FROM acc_trans ac
+ JOIN chart c ON (c.id = ac.chart_id)
+ $where
+ $category
+ AND c.gifi_accno = ''
+ $project
+ GROUP by c.category
+ |;
+
+ }
+
+ } else {
+
+ if ($form->{method} eq 'cash')
+ {
+
+
+ $query = qq|
+
+ SELECT c.accno, sum(ac.amount) AS amount,
+ c.description, c.category
+ FROM acc_trans ac
+ JOIN chart c ON (c.id = ac.chart_id)
+ JOIN ar a ON (a.id = ac.trans_id)
+ $where
+ $category
+ AND ac.trans_id IN
+ (
+ SELECT trans_id
+ FROM acc_trans
+ JOIN chart ON (chart_id = id)
+ WHERE link LIKE '%AR_paid%'
+ $subwhere
+ )
+
+ $project
+ GROUP BY c.accno, c.description, c.category
+
+ UNION
+
+ SELECT c.accno, sum(ac.amount) AS amount,
+ c.description, c.category
+ FROM acc_trans ac
+ JOIN chart c ON (c.id = ac.chart_id)
+ JOIN ap a ON (a.id = ac.trans_id)
+ $where
+ $category
+ AND ac.trans_id IN
+ (
+ SELECT trans_id
+ FROM acc_trans
+ JOIN chart ON (chart_id = id)
+ WHERE link LIKE '%AP_paid%'
+ $subwhere
+ )
+
+ $project
+ GROUP BY c.accno, c.description, c.category
+
+ UNION
+
+ SELECT c.accno, sum(ac.amount) AS amount,
+ c.description, c.category
+ FROM acc_trans ac
+ JOIN chart c ON (c.id = ac.chart_id)
+ JOIN gl a ON (a.id = ac.trans_id)
+ $where
+ $category
+ AND NOT (c.link = 'AR' OR c.link = 'AP')
+ $project
+ GROUP BY c.accno, c.description, c.category
+ |;
+
+ } else {
+
+ $query = qq|
+
+ SELECT c.accno, sum(ac.amount) AS amount,
+ c.description, c.category
+ FROM acc_trans ac
+ JOIN chart c ON (c.id = ac.chart_id)
+ $where
+ $category
+ $project
+ GROUP BY c.accno, c.description, c.category
+ |;
+
+ }
+
+ }
+
+
+ my @accno;
+ my $accno;
+ my $ref;
+
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while ($ref = $sth->fetchrow_hashref(NAME_lc))
+ {
+
+ if ($ref->{category} eq 'C') {
+ $ref->{category} = 'A';
+ }
+
+ # get last heading account
+ @accno = grep { $_ le "$ref->{accno}" } @headingaccounts;
+ $accno = pop @accno;
+ if ($accno) {
+ if ($last_period)
+ {
+ $form->{$ref->{category}}{$accno}{last} += $ref->{amount};
+ } else {
+ $form->{$ref->{category}}{$accno}{this} += $ref->{amount};
+ }
+ }
+
+ $form->{$ref->{category}}{$ref->{accno}}{accno} = $ref->{accno};
+ $form->{$ref->{category}}{$ref->{accno}}{description} = $ref->{description};
+ $form->{$ref->{category}}{$ref->{accno}}{charttype} = "A";
+
+ if ($last_period)
+ {
+ $form->{$ref->{category}}{$ref->{accno}}{last} += $ref->{amount};
+ } else {
+ $form->{$ref->{category}}{$ref->{accno}}{this} += $ref->{amount};
+ }
+ }
+ $sth->finish;
+
+
+ # remove accounts with zero balance
+ foreach $category (@{ $categories }) {
+ foreach $accno (keys %{ $form->{$category} }) {
+ $form->{$category}{$accno}{last} = $form->round_amount($form->{$category}{$accno}{last}, $form->{decimalplaces});
+ $form->{$category}{$accno}{this} = $form->round_amount($form->{$category}{$accno}{this}, $form->{decimalplaces});
+
+ delete $form->{$category}{$accno} if ($form->{$category}{$accno}{this} == 0 && $form->{$category}{$accno}{last} == 0);
+ }
+ }
+
+}
+
+
+
+sub trial_balance_details {
+ my ($self, $myconfig, $form) = @_;
+
+ my $dbh = $form->dbconnect($myconfig);
+
+ my ($query, $sth, $ref);
+ my %balance = ();
+ my %trb = ();
+
+ my $where = "WHERE 1 = 1";
+
+ if ($form->{project_id}) {
+ $where .= qq|
+ AND a.project_id = $form->{project_id}
+ |;
+ }
+
+ # get beginning balances
+ if ($form->{fromdate}) {
+
+ if ($form->{accounttype} eq 'gifi') {
+
+ $query = qq|SELECT g.accno, c.category, SUM(a.amount) AS amount,
+ g.description
+ FROM acc_trans a
+ JOIN chart c ON (a.chart_id = c.id)
+ JOIN gifi g ON (c.gifi_accno = g.accno)
+ $where
+ AND a.transdate < '$form->{fromdate}'
+ GROUP BY g.accno, c.category, g.description
+ |;
+
+ } else {
+
+ $query = qq|SELECT c.accno, c.category, SUM(a.amount) AS amount,
+ c.description
+ FROM acc_trans a
+ JOIN chart c ON (a.chart_id = c.id)
+ $where
+ AND a.transdate < '$form->{fromdate}'
+ GROUP BY c.accno, c.category, c.description
+ |;
+ }
+
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while (my $ref = $sth->fetchrow_hashref(NAME_lc)) {
+ $balance{$ref->{accno}} = $ref->{amount};
+
+ if ($ref->{amount} != 0 && $form->{all_accounts}) {
+ $trb{$ref->{accno}}{description} = $ref->{description};
+ $trb{$ref->{accno}}{charttype} = 'A';
+ $trb{$ref->{accno}}{category} = $ref->{category};
+ }
+
+ }
+ $sth->finish;
+
+ }
+
+
+ # get headings
+ $query = qq|SELECT c.accno, c.description, c.category
+ FROM chart c
+ WHERE c.charttype = 'H'
+ ORDER by c.accno|;
+
+ if ($form->{accounttype} eq 'gifi')
+ {
+ $query = qq|SELECT g.accno, g.description, c.category
+ FROM gifi g
+ JOIN chart c ON (c.gifi_accno = g.accno)
+ WHERE c.charttype = 'H'
+ ORDER BY g.accno|;
+ }
+
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ my @headingaccounts = ();
+ while ($ref = $sth->fetchrow_hashref(NAME_lc))
+ {
+ $trb{$ref->{accno}}{description} = $ref->{description};
+ $trb{$ref->{accno}}{charttype} = 'H';
+ $trb{$ref->{accno}}{category} = $ref->{category};
+
+ push @headingaccounts, $ref->{accno};
+ }
+
+ $sth->finish;
+
+
+ if ($form->{fromdate} || $form->{todate}) {
+ if ($form->{fromdate}) {
+ $where .= " AND a.transdate >= '$form->{fromdate}'";
+ }
+ if ($form->{todate}) {
+ $where .= " AND a.transdate <= '$form->{todate}'";
+ }
+ }
+
+
+ if ($form->{accounttype} eq 'gifi') {
+
+ $query = qq|SELECT g.accno, g.description, c.category,
+ SUM(a.amount) AS amount
+ FROM acc_trans a
+ JOIN chart c ON (c.id = a.chart_id)
+ JOIN gifi g ON (c.gifi_accno = g.accno)
+ $where
+ GROUP BY g.accno, g.description, c.category
+
+ UNION
+
+ SELECT '' AS accno, '' AS description, c.category,
+ SUM(a.amount) AS amount
+ FROM acc_trans a
+ JOIN chart c ON (c.id = a.chart_id)
+ $where
+ AND c.gifi_accno = ''
+ GROUP BY c.category
+ ORDER BY accno|;
+
+ } else {
+
+ $query = qq|SELECT c.accno, c.description, c.category,
+ SUM(a.amount) AS amount
+ FROM acc_trans a
+ JOIN chart c ON (c.id = a.chart_id)
+ $where
+ GROUP BY c.accno, c.description, c.category
+ ORDER BY accno|;
+
+ }
+
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+
+ # prepare query for each account
+
+ $query = qq|SELECT (SELECT SUM(a.amount) * -1
+ FROM acc_trans a
+ JOIN chart c ON (c.id = a.chart_id)
+ $where
+ AND a.amount < 0
+ AND c.accno = ?) AS debit,
+ (SELECT SUM(a.amount)
+ FROM acc_trans a
+ JOIN chart c ON (c.id = a.chart_id)
+ $where
+ AND a.amount > 0
+ AND c.accno = ?) AS credit
+ |;
+
+ if ($form->{accounttype} eq 'gifi') {
+
+ $query = qq|SELECT (SELECT SUM(a.amount) * -1
+ FROM acc_trans a
+ JOIN chart c ON (c.id = a.chart_id)
+ $where
+ AND a.amount < 0
+ AND c.gifi_accno = ?) AS debit,
+ (SELECT SUM(a.amount)
+ FROM acc_trans a
+ JOIN chart c ON (c.id = a.chart_id)
+ $where
+ AND a.amount > 0
+ AND c.gifi_accno = ?) AS credit|;
+
+ }
+
+ $drcr = $dbh->prepare($query);
+
+ # calculate the debit and credit in the period
+ while ($ref = $sth->fetchrow_hashref(NAME_lc)) {
+ $trb{$ref->{accno}}{description} = $ref->{description};
+ $trb{$ref->{accno}}{charttype} = 'A';
+ $trb{$ref->{accno}}{category} = $ref->{category};
+ $trb{$ref->{accno}}{amount} += $ref->{amount};
+
+ }
+ $sth->finish;
+
+ my ($debit, $credit);
+
+ foreach my $accno (sort keys %trb) {
+ $ref = ();
+
+ $ref->{accno} = $accno;
+ map { $ref->{$_} = $trb{$accno}{$_} } qw(description category charttype amount);
+
+ $ref->{balance} = $form->round_amount($balance{$ref->{accno}}, 2);
+
+ if ($trb{$accno}{charttype} eq 'A') {
+ # get DR/CR
+ $drcr->execute($ref->{accno}, $ref->{accno}) || $form->dberror($query);
+
+ ($debit, $credit) = (0,0);
+ while (($debit, $credit) = $drcr->fetchrow_array) {
+ $ref->{debit} += $debit;
+ $ref->{credit} += $credit;
+ }
+ $drcr->finish;
+
+ $ref->{debit} = $form->round_amount($ref->{debit}, 2);
+ $ref->{credit} = $form->round_amount($ref->{credit}, 2);
+
+ }
+
+
+ # add subtotal
+ @accno = grep { $_ le "$ref->{accno}" } @headingaccounts;
+ $accno = pop @accno;
+ if ($accno) {
+ $trb{$accno}{debit} += $ref->{debit};
+ $trb{$accno}{credit} += $ref->{credit};
+ }
+
+ push @{ $form->{TB} }, $ref;
+
+ }
+
+ $dbh->disconnect;
+
+ # debits and credits for headings
+ foreach $accno (@headingaccounts) {
+ foreach $ref (@{ $form->{TB} }) {
+ if ($accno eq $ref->{accno}) {
+ $ref->{debit} = $trb{$accno}{debit};
+ $ref->{credit} = $trb{$accno}{credit};
+ }
+ }
+ }
+
+}
+
+
+
+sub aging {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+ my $invoice = ($form->{arap} eq 'ar') ? 'is' : 'ir';
+
+ $form->{todate} = $form->current_date($myconfig) unless ($form->{todate});
+
+ my $where = "1 = 1";
+ my $name;
+
+ if ($form->{"$form->{ct}_id"}) {
+ $where .= qq| AND ct.id = $form->{"$form->{ct}_id"}|;
+ } else {
+ if ($form->{$form->{ct}}) {
+ $name = $form->like(lc $form->{$form->{ct}});
+ $where .= qq| AND lower(ct.name) LIKE '$name'| if $form->{$form->{ct}};
+ }
+ }
+
+ # select outstanding vendors or customers, depends on $ct
+ my $query = qq|SELECT DISTINCT ct.id, ct.name
+ FROM $form->{ct} ct, $form->{arap} a
+ WHERE $where
+ AND a.$form->{ct}_id = ct.id
+ AND a.paid != a.amount
+ AND (a.transdate <= '$form->{todate}')
+ ORDER BY ct.name|;
+
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror;
+
+ my $buysell = ($form->{arap} eq 'ar') ? 'buy' : 'sell';
+
+ # for each company that has some stuff outstanding
+ while ( my ($id) = $sth->fetchrow_array ) {
+
+ $query = qq|
+
+-- between 0-30 days
+
+ SELECT $form->{ct}.id AS ctid, $form->{ct}.name,
+ addr1, addr2, addr3, addr4, contact,
+ phone as customerphone, fax as customerfax, $form->{ct}number,
+ "invnumber", "transdate",
+ (amount - paid) as "c0", 0.00 as "c30", 0.00 as "c60", 0.00 as "c90",
+ "duedate", invoice, $form->{arap}.id,
+ (SELECT $buysell FROM exchangerate
+ WHERE $form->{arap}.curr = exchangerate.curr
+ AND exchangerate.transdate = $form->{arap}.transdate) AS exchangerate
+ FROM $form->{arap}, $form->{ct}
+ WHERE paid != amount
+ AND $form->{arap}.$form->{ct}_id = $form->{ct}.id
+ AND $form->{ct}.id = $id
+ AND (
+ transdate <= (date '$form->{todate}' - interval '0 days')
+ AND transdate >= (date '$form->{todate}' - interval '30 days')
+ )
+
+ UNION
+
+-- between 31-60 days
+
+ SELECT $form->{ct}.id AS ctid, $form->{ct}.name,
+ addr1, addr2, addr3, addr4, contact,
+ phone as customerphone, fax as customerfax, $form->{ct}number,
+ "invnumber", "transdate",
+ 0.00 as "c0", (amount - paid) as "c30", 0.00 as "c60", 0.00 as "c90",
+ "duedate", invoice, $form->{arap}.id,
+ (SELECT $buysell FROM exchangerate
+ WHERE $form->{arap}.curr = exchangerate.curr
+ AND exchangerate.transdate = $form->{arap}.transdate) AS exchangerate
+ FROM $form->{arap}, $form->{ct}
+ WHERE paid != amount
+ AND $form->{arap}.$form->{ct}_id = $form->{ct}.id
+ AND $form->{ct}.id = $id
+ AND (
+ transdate < (date '$form->{todate}' - interval '30 days')
+ AND transdate >= (date '$form->{todate}' - interval '60 days')
+ )
+
+ UNION
+
+-- between 61-90 days
+
+ SELECT $form->{ct}.id AS ctid, $form->{ct}.name,
+ addr1, addr2, addr3, addr4, contact,
+ phone as customerphone, fax as customerfax, $form->{ct}number,
+ "invnumber", "transdate",
+ 0.00 as "c0", 0.00 as "c30", (amount - paid) as "c60", 0.00 as "c90",
+ "duedate", invoice, $form->{arap}.id,
+ (SELECT $buysell FROM exchangerate
+ WHERE $form->{arap}.curr = exchangerate.curr
+ AND exchangerate.transdate = $form->{arap}.transdate) AS exchangerate
+ FROM $form->{arap}, $form->{ct}
+ WHERE paid != amount
+ AND $form->{arap}.$form->{ct}_id = $form->{ct}.id
+ AND $form->{ct}.id = $id
+ AND (
+ transdate < (date '$form->{todate}' - interval '60 days')
+ AND transdate >= (date '$form->{todate}' - interval '90 days')
+ )
+
+ UNION
+
+-- over 90 days
+
+ SELECT $form->{ct}.id AS ctid, $form->{ct}.name,
+ addr1, addr2, addr3, addr4, contact,
+ phone as customerphone, fax as customerfax, $form->{ct}number,
+ "invnumber", "transdate",
+ 0.00 as "c0", 0.00 as "c30", 0.00 as "c60", (amount - paid) as "c90",
+ "duedate", invoice, $form->{arap}.id,
+ (SELECT $buysell FROM exchangerate
+ WHERE $form->{arap}.curr = exchangerate.curr
+ AND exchangerate.transdate = $form->{arap}.transdate) AS exchangerate
+ FROM $form->{arap}, $form->{ct}
+ WHERE paid != amount
+ AND $form->{arap}.$form->{ct}_id = $form->{ct}.id
+ AND $form->{ct}.id = $id
+ AND transdate < (date '$form->{todate}' - interval '90 days')
+
+ ORDER BY
+
+ ctid, invnumber, transdate
+
+ |;
+
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror;
+
+ while (my $ref = $sth->fetchrow_hashref(NAME_lc)) {
+ $ref->{module} = ($ref->{invoice}) ? $invoice : $form->{arap};
+ $ref->{exchangerate} = 1 unless $ref->{exchangerate};
+ push @{ $form->{AG} }, $ref;
+ }
+
+ $sth->finish;
+
+ }
+
+ $sth->finish;
+ # disconnect
+ $dbh->disconnect;
+
+}
+
+
+sub get_customer {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ my $query = qq|SELECT name, email, cc, bcc
+ FROM $form->{ct} ct
+ WHERE ct.id = $form->{"$form->{ct}_id"}|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror;
+
+ ($form->{$form->{ct}}, $form->{email}, $form->{cc}, $form->{bcc}) = $sth->fetchrow_array;
+ $sth->finish;
+ $dbh->disconnect;
+
+}
+
+
+sub get_taxaccounts {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ # get tax accounts
+ my $query = qq|SELECT accno, description
+ FROM chart
+ WHERE link LIKE '%CT_tax%'
+ ORDER BY accno|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror;
+
+ while ( my ($accno, $description) = $sth->fetchrow_array ) {
+ push @{ $form->{taxaccounts} }, "$accno--$description";
+ }
+ $sth->finish;
+
+ # get gifi tax accounts
+ my $query = qq|SELECT DISTINCT ON (g.accno) g.accno, g.description
+ FROM gifi g, chart c
+ WHERE g.accno = c.gifi_accno
+ AND c.link LIKE '%CT_tax%'
+ ORDER BY accno|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror;
+
+ while ( my ($accno, $description) = $sth->fetchrow_array ) {
+ push @{ $form->{gifi_taxaccounts} }, "$accno--$description";
+ }
+ $sth->finish;
+
+ $dbh->disconnect;
+
+}
+
+
+
+sub tax_report {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database
+ my $dbh = $form->dbconnect($myconfig);
+
+ # build WHERE
+ my $where = qq|WHERE ac.trans_id = a.id
+ AND ac.chart_id = ch.id|;
+
+
+ if ($form->{accno} =~ /^gifi_/) {
+ my ($null, $accno) = split /_/, $form->{accno};
+ $where .= qq| AND ch.gifi_accno = '$accno'|;
+ } else {
+ $where .= qq| AND ch.accno = '$form->{accno}'|;
+ }
+
+ my $table;
+
+ if ($form->{db} eq 'ar') {
+ $where .= " AND n.id = a.customer_id";
+ $table = "customer";
+ }
+ if ($form->{db} eq 'ap') {
+ $where .= " AND n.id = a.vendor_id";
+ $table = "vendor";
+ }
+
+ my $transdate = ($form->{cashbased}) ? "a.datepaid" : "ac.transdate";
+ if ($form->{cashbased}) {
+ $where .= " AND a.amount = a.paid";
+ }
+
+ # if there are any dates construct a where
+ if ($form->{fromdate} || $form->{todate}) {
+ if ($form->{fromdate}) {
+ $where .= " AND $transdate >= '$form->{fromdate}'";
+ }
+ if ($form->{todate}) {
+ $where .= " AND $transdate <= '$form->{todate}'";
+ }
+ }
+
+ my $query = qq|SELECT a.id, a.invoice, $transdate AS transdate, a.invnumber,
+ n.name, a.netamount,|;
+ my $sortorder = join ', ', $form->sort_columns(qw(transdate invnumber name));
+ $sortorder = $form->{sort} unless $sortorder;
+
+ if ($form->{db} eq 'ar') {
+ $query .= " ac.amount AS tax";
+ }
+ if ($form->{db} eq 'ap') {
+ $query .= " ac.amount * -1 AS tax";
+ }
+
+ $query .= qq|
+ FROM acc_trans ac, "$form->{db}" a, "$table" n, chart ch
+ $where
+ ORDER by $sortorder|;
+
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while ( my $ref = $sth->fetchrow_hashref(NAME_lc)) {
+ push @{ $form->{TR} }, $ref;
+ }
+
+ $sth->finish;
+ $dbh->disconnect;
+
+}
+
+
+sub paymentaccounts {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database, turn AutoCommit off
+ my $dbh = $form->dbconnect_noauto($myconfig);
+
+ my $arap = uc $form->{db};
+ $arap .= "_paid";
+
+ # get A(R|P)_paid accounts
+ my $query = qq|SELECT accno, description
+ FROM chart
+ WHERE link LIKE '%$arap%'|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while (my $ref = $sth->fetchrow_hashref(NAME_lc)) {
+ push @{ $form->{PR} }, $ref;
+ }
+
+ $sth->finish;
+ $dbh->disconnect;
+
+}
+
+
+sub payments {
+ my ($self, $myconfig, $form) = @_;
+
+ # connect to database, turn AutoCommit off
+ my $dbh = $form->dbconnect_noauto($myconfig);
+
+ my $ml = 1;
+ if ($form->{db} eq 'ar') {
+ $table = 'customer';
+ $ml = -1;
+ }
+ if ($form->{db} eq 'ap') {
+ $table = 'vendor';
+ }
+
+ my ($query, $sth);
+
+ # cycle through each id
+ foreach my $accno (split(/ /, $form->{paymentaccounts})) {
+
+ $query = qq|SELECT id, accno, description
+ FROM chart
+ WHERE accno = '$accno'|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ my $ref = $sth->fetchrow_hashref(NAME_lc);
+ push @{ $form->{PR} }, $ref;
+ $sth->finish;
+
+ $query = qq|SELECT c.name, a.invnumber, a.ordnumber,
+ ac.transdate,
+ ac.amount * $ml AS paid, ac.source, a.invoice, a.id,
+ '$form->{db}' AS module
+ FROM $table c, acc_trans ac, $form->{db} a
+ WHERE c.id = a.${table}_id
+ AND ac.trans_id = a.id
+ AND ac.chart_id = $ref->{id}|;
+
+ $query .= " AND ac.transdate >= '$form->{fromdate}'" if $form->{fromdate};
+ $query .= " AND ac.transdate <= '$form->{todate}'" if $form->{todate};
+
+ $query .= qq|
+ UNION
+ SELECT g.description, g.reference, NULL AS ordnumber,
+ ac.transdate,
+ ac.amount * $ml AS paid, ac.source, '0' as invoice, g.id,
+ 'gl' AS module
+ FROM gl g, acc_trans ac
+ WHERE g.id = ac.trans_id
+ AND ac.chart_id = $ref->{id}
+ AND (ac.amount * $ml) > 0
+ |;
+
+ $query .= " AND ac.transdate >= '$form->{fromdate}'" if $form->{fromdate};
+ $query .= " AND ac.transdate <= '$form->{todate}'" if $form->{todate};
+
+
+ my $sortorder = join ', ', $form->sort_columns(qw(name invnumber ordnumber transdate source));
+
+ $query .= " ORDER BY $sortorder";
+
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while (my $pr = $sth->fetchrow_hashref(NAME_lc)) {
+ push @{ $form->{$ref->{id}} }, $pr;
+ }
+ $sth->finish;
+
+ }
+
+ $dbh->disconnect;
+
+}
+
+
+1;
+
+
diff --git a/sql-ledger/SL/User.pm b/sql-ledger/SL/User.pm
new file mode 100644
index 0000000..d9b463d
--- /dev/null
+++ b/sql-ledger/SL/User.pm
@@ -0,0 +1,692 @@
+#=====================================================================
+# SQL-Ledger Accounting
+# Copyright (C) 2001
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+# Contributors:
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#=====================================================================
+#
+# user related functions
+#
+#=====================================================================
+
+package User;
+
+
+sub new {
+ my ($type, $memfile, $login) = @_;
+ my $self = {};
+
+ if ($login ne "") {
+ # check if the file is locked
+ &error("", "$memfile locked!") if (-f "${memfile}.LCK");
+
+ open(MEMBER, "$memfile") or &error("", "$memfile : $!");
+
+ while (<MEMBER>) {
+ if (/^\[$login\]/) {
+ while (<MEMBER>) {
+ last if /^\[/;
+ next if /^(#|\s)/;
+
+ # remove comments
+ s/\s#.*//g;
+
+ # remove any trailing whitespace
+ s/^\s*(.*?)\s*$/$1/;
+
+ ($key, $value) = split /=/, $_, 2;
+
+ $self->{$key} = $value;
+ }
+
+ $self->{login} = $login;
+
+ last;
+ }
+ }
+ close MEMBER;
+ }
+
+ bless $self, $type;
+}
+
+
+sub country_codes {
+
+ my %cc = ();
+ my @language = ();
+
+ # scan the locale directory and read in the LANGUAGE files
+ opendir DIR, "locale";
+
+ my @dir = grep !/(^\.\.?$|\..*)/, readdir DIR;
+
+ foreach my $dir (@dir) {
+ next unless open(FH, "locale/$dir/LANGUAGE");
+ @language = <FH>;
+ close FH;
+
+ $cc{$dir} = "@language";
+ }
+
+ closedir(DIR);
+
+ %cc;
+
+}
+
+
+sub login {
+ my ($self, $form, $userspath) = @_;
+
+
+ if ($self->{login}) {
+
+ if ($self->{password}) {
+ $form->{password} = crypt $form->{password}, substr($self->{login}, 0, 2);
+ if ($self->{password} ne $form->{password}) {
+ return -1;
+ }
+ }
+
+ unless (-e "$userspath/$self->{login}.conf") {
+ $self->create_config("$userspath/$self->{login}.conf");
+ }
+
+ do "$userspath/$self->{login}.conf";
+ $myconfig{dbpasswd} = unpack 'u', $myconfig{dbpasswd};
+
+ # check if database is down
+ my $dbh = DBI->connect($myconfig{dbconnect}, $myconfig{dbuser}, $myconfig{dbpasswd}) or $self->error(DBI::errstr);
+
+ # we got a connection, check the version
+ my $query = qq|SELECT version FROM defaults|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ my ($dbversion) = $sth->fetchrow_array;
+ $sth->finish;
+
+ # add login to employee table if it does not exist
+ # no error check for employee table, ignore if it does not exist
+ $query = qq|SELECT id FROM employee WHERE login = '$self->{login}'|;
+ $sth = $dbh->prepare($query);
+ $sth->execute;
+
+ my ($login) = $sth->fetchrow_array;
+ $sth->finish;
+
+ if (!$login) {
+ $query = qq|INSERT INTO employee (login, name, workphone)
+ VALUES ('$self->{login}', '$myconfig{name}', '$myconfig{tel}')|;
+ $dbh->do($query);
+ }
+ $dbh->disconnect;
+
+ if ($form->{dbversion} ne $dbversion) {
+ return -2;
+ }
+
+ } else {
+ return -3;
+ }
+
+}
+
+
+
+sub dbconnect_vars {
+ my ($form, $db) = @_;
+
+ my %dboptions = (
+ 'Pg' => {
+ 'yy-mm-dd' => 'set DateStyle to \'ISO\'',
+ 'mm/dd/yy' => 'set DateStyle to \'SQL, US\'',
+ 'mm-dd-yy' => 'set DateStyle to \'POSTGRES, US\'',
+ 'dd/mm/yy' => 'set DateStyle to \'SQL, EUROPEAN\'',
+ 'dd-mm-yy' => 'set DateStyle to \'POSTGRES, EUROPEAN\'',
+ 'dd.mm.yy' => 'set DateStyle to \'GERMAN\''
+ },
+ 'Oracle' => {
+ 'yy-mm-dd' => 'ALTER SESSION SET NLS_DATE_FORMAT = \'YY-MM-DD\'',
+ 'mm/dd/yy' => 'ALTER SESSION SET NLS_DATE_FORMAT = \'MM/DD/YY\'',
+ 'mm-dd-yy' => 'ALTER SESSION SET NLS_DATE_FORMAT = \'MM-DD-YY\'',
+ 'dd/mm/yy' => 'ALTER SESSION SET NLS_DATE_FORMAT = \'DD/MM/YY\'',
+ 'dd-mm-yy' => 'ALTER SESSION SET NLS_DATE_FORMAT = \'DD-MM-YY\'',
+ 'dd.mm.yy' => 'ALTER SESSION SET NLS_DATE_FORMAT = \'DD.MM.YY\'',
+ }
+ );
+
+ $form->{dboptions} = $dboptions{$form->{dbdriver}}{$form->{dateformat}};
+
+ if ($form->{dbdriver} eq 'Pg') {
+ $form->{dbconnect} = "dbi:Pg:dbname=$db";
+ }
+
+ if ($form->{dbdriver} eq 'Oracle') {
+ $form->{dbconnect} = "dbi:Oracle:sid=$form->{sid}";
+ }
+
+ if ($form->{dbhost}) {
+ $form->{dbconnect} .= ";host=$form->{dbhost}";
+ }
+ if ($form->{dbport}) {
+ $form->{dbconnect} .= ";port=$form->{dbport}";
+ }
+
+}
+
+
+sub dbdrivers {
+
+ my @drivers = DBI->available_drivers();
+
+ return (grep { /(Pg|Oracle)$/ } @drivers);
+
+}
+
+
+sub dbsources {
+ my ($self, $form) = @_;
+
+ my @dbsources = ();
+ my ($sth, $query);
+
+ $form->{dbdefault} = $form->{dbuser} unless $form->{dbdefault};
+ $form->{sid} = $form->{dbdefault};
+ &dbconnect_vars($form, $form->{dbdefault});
+
+ my $dbh = DBI->connect($form->{dbconnect}, $form->{dbuser}, $form->{dbpasswd}) or $form->dberror;
+
+
+ if ($form->{dbdriver} eq 'Pg') {
+
+ $query = qq|SELECT datname FROM pg_database|;
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while (my ($db) = $sth->fetchrow_array) {
+
+ if ($form->{only_acc_db}) {
+
+ next if ($db =~ /^template/);
+
+ &dbconnect_vars($form, $db);
+ my $dbh = DBI->connect($form->{dbconnect}, $form->{dbuser}, $form->{dbpasswd}) or $form->dberror;
+
+ $query = qq|SELECT tablename FROM pg_tables
+ WHERE tablename = 'defaults'
+ AND tableowner = '$form->{dbuser}'|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ if ($sth->fetchrow_array) {
+ push @dbsources, $db;
+ }
+ $sth->finish;
+ $dbh->disconnect;
+ next;
+ }
+ push @dbsources, $db;
+ }
+ }
+
+ if ($form->{dbdriver} eq 'Oracle') {
+ if ($form->{only_acc_db}) {
+ $query = qq|SELECT owner FROM dba_objects
+ WHERE object_name = 'DEFAULTS'
+ AND object_type = 'TABLE'|;
+ } else {
+ $query = qq|SELECT username FROM dba_users|;
+ }
+
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while (my ($db) = $sth->fetchrow_array) {
+ push @dbsources, $db;
+ }
+ }
+
+ $sth->finish;
+ $dbh->disconnect;
+
+ return @dbsources;
+
+}
+
+
+sub dbcreate {
+ my ($self, $form) = @_;
+
+ my %dbcreate = ( 'Pg' => qq|CREATE DATABASE "$form->{db}"|,
+ 'Oracle' => qq|CREATE USER "$form->{db}" DEFAULT TABLESPACE USERS TEMPORARY TABLESPACE TEMP IDENTIFIED BY "$form->{db}"|);
+
+ $dbcreate{Pg} .= " WITH ENCODING = '$form->{encoding}'" if $form->{encoding};
+
+ $form->{sid} = $form->{dbdefault};
+ &dbconnect_vars($form, $form->{dbdefault});
+ my $dbh = DBI->connect($form->{dbconnect}, $form->{dbuser}, $form->{dbpasswd}) or $form->dberror;
+ my $query = qq|$dbcreate{$form->{dbdriver}}|;
+ $dbh->do($query) || $form->dberror($query);
+
+ if ($form->{dbdriver} eq 'Oracle') {
+ $query = qq|GRANT CONNECT,RESOURCE TO "$form->{db}"|;
+ $dbh->do($query) || $form->dberror($query);
+ }
+ $dbh->disconnect;
+
+
+ # setup variables for the new database
+ if ($form->{dbdriver} eq 'Oracle') {
+ $form->{dbuser} = $form->{db};
+ $form->{dbpasswd} = $form->{db};
+ }
+
+
+ &dbconnect_vars($form, $form->{db});
+
+ $dbh = DBI->connect($form->{dbconnect}, $form->{dbuser}, $form->{dbpasswd}) or $form->dberror;
+
+ # create the tables
+ my $filename = qq|sql/$form->{dbdriver}-tables.sql|;
+ $self->processquery($form, $dbh, $filename);
+
+ # load gifi
+ ($filename) = split /_/, $form->{chart};
+ $filename =~ s/_//;
+ $self->processquery($form, $dbh, "sql/${filename}-gifi.sql");
+
+ # load chart of accounts
+ $filename = qq|sql/$form->{chart}-chart.sql|;
+ $self->processquery($form, $dbh, $filename);
+
+ # create indices
+ $filename = qq|sql/$form->{dbdriver}-indices.sql|;
+ $self->processquery($form, $dbh, $filename);
+
+ $dbh->disconnect;
+
+}
+
+
+
+sub processquery {
+ my ($self, $form, $dbh, $filename) = @_;
+
+ return unless (-f $filename);
+
+ open(FH, "$filename") or $form->error("$filename : $!\n");
+ my $query = "";
+
+ while (<FH>) {
+ $query .= $_;
+
+ if (/;\s*$/) {
+ # strip ;... Oracle doesn't like it
+ $query =~ s/;\s*$//;
+ $dbh->do($query) || $form->dberror($query);
+ $query = "";
+ }
+ }
+ close FH;
+
+}
+
+
+
+sub dbdelete {
+ my ($self, $form) = @_;
+
+ my %dbdelete = ( 'Pg' => qq|DROP DATABASE "$form->{db}"|,
+ 'Oracle' => qq|DROP USER $form->{db} CASCADE|
+ );
+
+ $form->{sid} = $form->{dbdefault};
+ &dbconnect_vars($form, $form->{dbdefault});
+ my $dbh = DBI->connect($form->{dbconnect}, $form->{dbuser}, $form->{dbpasswd}) or $form->dberror;
+ my $query = qq|$dbdelete{$form->{dbdriver}}|;
+ $dbh->do($query) || $form->dberror($query);
+
+ $dbh->disconnect;
+
+}
+
+
+
+sub dbsources_unused {
+ my ($self, $form, $memfile) = @_;
+
+ my @dbexcl = ();
+ my @dbsources = ();
+
+ $form->error('File locked!') if (-f "${memfile}.LCK");
+
+ # open members file
+ open(FH, "$memfile") or $form->error("$memfile : $!");
+
+ while (<FH>) {
+ if (/^dbname=/) {
+ my ($null,$item) = split /=/;
+ push @dbexcl, $item;
+ }
+ }
+
+ close FH;
+
+ $form->{only_acc_db} = 1;
+ my @db = &dbsources("", $form);
+
+ push @dbexcl, $form->{dbdefault};
+
+ foreach $item (@db) {
+ unless (grep /$item$/, @dbexcl) {
+ push @dbsources, $item;
+ }
+ }
+
+ return @dbsources;
+
+}
+
+
+sub dbneedsupdate {
+ my ($self, $form) = @_;
+
+ my %dbsources = ();
+ my $query;
+
+ $form->{sid} = $form->{dbdefault};
+ &dbconnect_vars($form, $form->{dbdefault});
+
+ my $dbh = DBI->connect($form->{dbconnect}, $form->{dbuser}, $form->{dbpasswd}) or $form->dberror;
+
+ if ($form->{dbdriver} eq 'Pg') {
+
+ $query = qq|SELECT d.datname FROM pg_database d, pg_user u
+ WHERE d.datdba = u.usesysid
+ AND u.usename = '$form->{dbuser}'|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while (my ($db) = $sth->fetchrow_array) {
+
+ next if ($db =~ /^template/);
+
+ &dbconnect_vars($form, $db);
+
+ my $dbh = DBI->connect($form->{dbconnect}, $form->{dbuser}, $form->{dbpasswd}) or $form->dberror;
+
+ $query = qq|SELECT tablename FROM pg_tables
+ WHERE tablename = 'defaults'|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ if ($sth->fetchrow_array) {
+ $query = qq|SELECT version FROM defaults|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute;
+
+ if (my ($version) = $sth->fetchrow_array) {
+ $dbsources{$db} = $version;
+ }
+ $sth->finish;
+ }
+ $sth->finish;
+ $dbh->disconnect;
+ }
+ $sth->finish;
+ }
+
+
+ if ($form->{dbdriver} eq 'Oracle') {
+ $query = qq|SELECT owner FROM dba_objects
+ WHERE object_name = 'DEFAULTS'
+ AND object_type = 'TABLE'|;
+
+ $sth = $dbh->prepare($query);
+ $sth->execute || $form->dberror($query);
+
+ while (my ($db) = $sth->fetchrow_array) {
+
+ $form->{dbuser} = $db;
+ &dbconnect_vars($form, $db);
+
+ my $dbh = DBI->connect($form->{dbconnect}, $form->{dbuser}, $form->{dbpasswd}) or $form->dberror;
+
+ $query = qq|SELECT version FROM defaults|;
+ my $sth = $dbh->prepare($query);
+ $sth->execute;
+
+ if (my ($version) = $sth->fetchrow_array) {
+ $dbsources{$db} = $version;
+ }
+ $sth->finish;
+ $dbh->disconnect;
+ }
+ $sth->finish;
+ }
+
+ $dbh->disconnect;
+
+ %dbsources;
+
+}
+
+
+sub dbupdate {
+ my ($self, $form) = @_;
+
+ $form->{sid} = $form->{dbdefault};
+
+ my @upgradescripts = ();
+ my $query;
+
+ if ($form->{dbupdate}) {
+ # read update scripts into memory
+ opendir SQLDIR, "sql/." or $form-error($!);
+ @upgradescripts = sort grep /$form->{dbdriver}-upgrade-.*?\.sql/, readdir SQLDIR;
+ closedir SQLDIR;
+ }
+
+
+ foreach my $db (split / /, $form->{dbupdate}) {
+
+ next unless $form->{$db};
+
+ # strip db from dataset
+ $db =~ s/^db//;
+ &dbconnect_vars($form, $db);
+
+ my $dbh = DBI->connect($form->{dbconnect}, $form->{dbuser}, $form->{dbpasswd}) or $form->dberror;
+
+ # check version
+ $query = qq|SELECT version FROM defaults|;
+ my $sth = $dbh->prepare($query);
+ # no error check, let it fall through
+ $sth->execute;
+
+ my $version = $sth->fetchrow_array;
+ $sth->finish;
+
+ next unless $version;
+
+ foreach my $upgradescript (@upgradescripts) {
+ my $a = $upgradescript;
+ $a =~ s/(^$form->{dbdriver}-upgrade-|\.sql$)//g;
+
+ my ($mindb, $maxdb) = split /-/, $a;
+
+ next if ($version ge $maxdb);
+
+ # if there is no upgrade script exit
+ last if ($version lt $mindb);
+
+ # apply upgrade
+ $self->processquery($form, $dbh, "sql/$upgradescript");
+
+ $version = $maxdb;
+
+ }
+
+ $dbh->disconnect;
+
+ }
+}
+
+
+
+sub create_config {
+ my ($self, $filename) = @_;
+
+
+ @config = &config_vars;
+
+ open(CONF, ">$filename") or $self->error("$filename : $!");
+
+ # create the config file
+ print CONF qq|# configuration file for $self->{login}
+
+\%myconfig = (
+|;
+
+ foreach $key (sort @config) {
+ $self->{$key} =~ s/'/\\'/g;
+ print CONF qq| $key => '$self->{$key}',\n|;
+ }
+
+
+ print CONF qq|);\n\n|;
+
+ close CONF;
+
+}
+
+
+sub save_member {
+ my ($self, $memberfile, $userspath) = @_;
+
+ my $newmember = 1;
+
+ # format dbconnect and dboptions string
+ map { $self->{$_} = lc $self->{$_} } qw(dbname host);
+ &dbconnect_vars($self, $self->{dbname});
+
+ $self->error('File locked!') if (-f "${memberfile}.LCK");
+ open(FH, ">${memberfile}.LCK") or $self->error("${memberfile}.LCK : $!");
+ close(FH);
+
+ open(CONF, "+<$memberfile") or $self->error("$memberfile : $!");
+
+ @config = <CONF>;
+
+ seek(CONF, 0, 0);
+ truncate(CONF, 0);
+
+ while ($line = shift @config) {
+ if ($line =~ /^\[$self->{login}\]/) {
+ $newmember = 0;
+ last;
+ }
+ print CONF $line;
+ }
+
+ # remove everything up to next login or EOF
+ while ($line = shift @config) {
+ last if ($line =~ /^\[/);
+ }
+
+ # this one is either the next login or EOF
+ print CONF $line;
+
+ while ($line = shift @config) {
+ print CONF $line;
+ }
+
+ print CONF qq|[$self->{login}]\n|;
+
+ if ((($self->{dbpasswd} ne $self->{old_dbpasswd}) || $newmember) && $self->{root}) {
+ $self->{dbpasswd} = pack 'u', $self->{dbpasswd};
+ chop $self->{dbpasswd};
+ }
+
+ if ($self->{password} ne $self->{old_password}) {
+ $self->{password} = crypt $self->{password}, substr($self->{login}, 0, 2) if $self->{password};
+ }
+
+ if ($self->{'root login'}) {
+ @config = ("password");
+ } else {
+ @config = &config_vars;
+ }
+
+ # replace \r\n with \n
+ $self->{address} =~ s/\r\n/\\n/g if $self->{address};
+ $self->{signature} =~ s/\r\n/\\n/g if $self->{signature};
+
+ foreach $key (sort @config) {
+ print CONF qq|$key=$self->{$key}\n|;
+ }
+
+ print CONF "\n";
+ close CONF;
+ unlink "${memberfile}.LCK";
+
+ # create conf file
+ $self->create_config("$userspath/$self->{login}.conf") unless $self->{'root login'};
+
+}
+
+
+sub config_vars {
+
+ my @conf = qw(acs address admin businessnumber charset company countrycode
+ currency dateformat dbconnect dbdriver dbhost dbport dboptions
+ dbname dbuser dbpasswd email fax name numberformat password
+ printer sid shippingpoint signature stylesheet tel templates
+ vclimit);
+
+ @conf;
+
+}
+
+
+sub error {
+ my ($self, $msg) = @_;
+
+ if ($ENV{HTTP_USER_AGENT}) {
+ print qq|Content-Type: text/html
+
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+
+<body bgcolor=ffffff>
+
+<h2><font color=red>Error!</font></h2>
+<p><b>$msg</b>|;
+
+ }
+
+ die "Error: $msg\n";
+
+}
+
+
+1;
+
diff --git a/sql-ledger/VERSION b/sql-ledger/VERSION
new file mode 100644
index 0000000..815e68d
--- /dev/null
+++ b/sql-ledger/VERSION
@@ -0,0 +1 @@
+2.0.8
diff --git a/sql-ledger/am.pl b/sql-ledger/am.pl
new file mode 100755
index 0000000..f69a15a
--- /dev/null
+++ b/sql-ledger/am.pl
@@ -0,0 +1,126 @@
+#!/usr/bin/perl
+#
+######################################################################
+# SQL-Ledger Accounting
+# Copyright (C) 2001
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+# Contributors:
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#######################################################################
+#
+# this script is the frontend called from bin/$terminal/$script
+# all the accounting modules are linked to this script which in
+# turn execute the same script in bin/$terminal/
+#
+#######################################################################
+
+# setup defaults, these are overidden by sql-ledger.conf
+# DO NOT CHANGE
+$userspath = "users";
+$templates = "templates";
+$memberfile = "users/members";
+$sendmail = "| /usr/sbin/sendmail -t";
+########## end ###########################################
+
+
+$| = 1;
+
+use SL::Form;
+
+eval { require "sql-ledger.conf"; };
+
+
+$form = new Form;
+
+
+# name of this script
+$0 =~ tr/\\/\//;
+$pos = rindex $0, '/';
+$script = substr($0, $pos + 1);
+
+# we use $script for the language module
+$form->{script} = $script;
+# strip .pl for translation files
+$script =~ s/\.pl//;
+
+# pull in DBI
+use DBI;
+
+# check for user config file, could be missing or ???
+eval { require("$userspath/$form->{login}.conf"); };
+if ($@) {
+ $locale = new Locale "$language", "$script";
+
+ $form->{callback} = "";
+ $msg1 = $locale->text('You are logged out!');
+ $msg2 = $locale->text('Login');
+ $form->redirect("$msg1 <p><a href=login.pl target=_top>$msg2</a>");
+}
+
+
+$myconfig{dbpasswd} = unpack 'u', $myconfig{dbpasswd};
+map { $form->{$_} = $myconfig{$_} } qw(stylesheet charset) unless (($form->{action} eq "save") && ($form->{type} eq 'preferences'));
+
+
+# locale messages
+$locale = new Locale "$myconfig{countrycode}", "$script";
+
+
+# check password
+$form->error($locale->text('Incorrect Password!')) if ($form->{password} ne $myconfig{password});
+
+
+$form->{path} =~ s/\.\.\///g;
+if ($form->{path} !~ /^bin\//) {
+ $form->error($locale->text('Invalid path!')."\n");
+}
+
+# did sysadmin lock us out
+if (-e "$userspath/nologin") {
+ $form->error($locale->text('System currently down for maintenance!'));
+}
+
+
+# pull in the main code
+require "$form->{path}/$form->{script}";
+
+# customized scripts
+if (-f "$form->{path}/custom_$form->{script}") {
+ eval { require "$form->{path}/custom_$form->{script}"; };
+ $form->error($@) if ($@);
+}
+
+# customized scripts for login
+if (-f "$form->{path}/$form->{login}_$form->{script}") {
+ eval { require "$form->{path}/$form->{login}_$form->{script}"; };
+ $form->error($@) if ($@);
+}
+
+if ($form->{action}) {
+ # window title bar, user info
+ $form->{titlebar} = "SQL-Ledger ".$locale->text('Version'). " $form->{version} - $myconfig{name} - $myconfig{dbname}";
+
+ &{ $locale->findsub($form->{action}) };
+} else {
+ $form->error($locale->text('action= not defined!'));
+}
+
+
+# end
+
diff --git a/sql-ledger/bin/lynx/menu.pl b/sql-ledger/bin/lynx/menu.pl
new file mode 100644
index 0000000..5599716
--- /dev/null
+++ b/sql-ledger/bin/lynx/menu.pl
@@ -0,0 +1,128 @@
+######################################################################
+# SQL-Ledger Accounting
+# Copyright (c) 2001
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+# Contributors: Christopher Browne
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#######################################################################
+#
+# menu for text based browsers (lynx)
+#
+# CHANGE LOG:
+# DS. 2000-07-04 Created
+# DS. 2001-08-07 access control
+# CBB 2002-02-09 Refactored HTML out to subroutines
+#######################################################################
+
+$menufile = "menu.ini";
+use SL::Menu;
+
+
+1;
+# end of main
+
+
+
+sub display {
+
+ $menu = new Menu "$menufile";
+
+ @menuorder = $menu->access_control(\%myconfig);
+
+ $form->{title} = "SQL-Ledger $form->{version}";
+
+ $form->header;
+
+ $offset = int (21 - $#menuorder)/2;
+
+ print "<pre>";
+ print "\n" x $offset;
+ print "</pre>";
+
+ print qq|<center><table>|;
+
+ map { print "<tr><td>".$menu->menuitem(\%myconfig, \%$form, $_).$locale->text($_).qq|</a></td></tr>|; } @menuorder;
+
+ print qq'
+</table>
+
+</body>
+</html>
+';
+
+ # display the company logo
+# $argv = "login=$form->{login}&password=$form->{password}&path=$form->{path}&action=company_logo&noheader=1";
+# exec "./login.pl", $argv;
+
+}
+
+
+sub section_menu {
+
+ $menu = new Menu "$menufile", $form->{level};
+
+ # build tiered menus
+ @menuorder = $menu->access_control(\%myconfig, $form->{level});
+
+ foreach $item (@menuorder) {
+ $a = $item;
+ $item =~ s/^$form->{level}--//;
+ push @neworder, $a unless ($item =~ /--/);
+ }
+ @menuorder = @neworder;
+
+ $level = $form->{level};
+ $level =~ s/--/ /g;
+
+ $form->{title} = $locale->text($level);
+
+ $form->header;
+
+ $offset = int (21 - $#menuorder)/2;
+ print "<pre>";
+ print "\n" x $offset;
+ print "</pre>";
+
+ print qq|<center><table>|;
+
+ foreach $item (@menuorder) {
+ $label = $item;
+ $label =~ s/$form->{level}--//g;
+
+ # remove target
+ $menu->{$item}{target} = "";
+
+ print "<tr><td>".$menu->menuitem(\%myconfig, \%$form, $item, $form->{level}).$locale->text($label)."</a></td></tr>";
+ }
+
+ print qq'</table>
+
+</body>
+</html>
+';
+
+}
+
+
+sub acc_menu {
+
+ &section_menu;
+
+}
+
diff --git a/sql-ledger/bin/mozilla/admin.pl b/sql-ledger/bin/mozilla/admin.pl
new file mode 100644
index 0000000..39247b5
--- /dev/null
+++ b/sql-ledger/bin/mozilla/admin.pl
@@ -0,0 +1,1504 @@
+#=====================================================================
+# SQL-Ledger Accounting
+# Copyright (c) 2002
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#======================================================================
+#
+# setup module
+# add/edit/delete users
+#
+#======================================================================
+
+$menufile = "menu.ini";
+
+use SL::Form;
+use SL::User;
+
+
+$form = new Form;
+
+$locale = new Locale $language, "admin";
+
+eval { require DBI; };
+$form->error($locale->text('DBI not installed!')) if ($@);
+
+
+# customization
+if (-f "$form->{path}/custom_$form->{script}") {
+ eval { require "$form->{path}/custom_$form->{script}"; };
+ $form->error($@) if ($@);
+}
+
+
+if (-f "css/sql-ledger.css") {
+ $form->{stylesheet} = "sql-ledger.css";
+}
+
+
+if ($form->{action}) {
+
+ $subroutine = $locale->findsub($form->{action});
+
+ if ($subroutine eq 'login') {
+ if ($form->{rpw}) {
+ $form->{rpw} = crypt $form->{rpw}, "ro";
+ }
+ }
+
+ &check_password;
+
+ &$subroutine;
+
+} else {
+
+ # if there are no drivers bail out
+ $form->error($locale->text('No Database Drivers available!')) unless (User->dbdrivers);
+
+ # create memberfile
+ if (! -f $memberfile) {
+ open(FH, ">$memberfile") or $form->error("$memberfile : $!");
+ print FH qq|# SQL-Ledger Accounting members
+
+[root login]
+password=
+
+|;
+ close(FH);
+ }
+
+ &adminlogin;
+
+}
+
+1;
+# end
+
+
+sub adminlogin {
+
+ $form->{title} = qq|SQL-Ledger $form->{version} |.$locale->text('Administration');
+
+ $form->header;
+
+ print qq|
+<body class=admin>
+
+
+<div align=center>
+
+<a href="http://www.sql-ledger.org"><img src=sql-ledger.png border=0></a>
+<h1 class=login>|.$locale->text('Version').qq| $form->{version}<p>|.$locale->text('Administration').qq|</h1>
+
+<form method=post action="$form->{script}">
+
+<table>
+ <tr>
+ <th>|.$locale->text('Password').qq|</th>
+ <td><input type=password name=rpw></td>
+ <td><input type=submit class=submit name=action value="|.$locale->text('Login').qq|"></td>
+ </tr>
+<input type=hidden name=action value=login>
+<input type=hidden name=root value="root login">
+<input type=hidden name=path value=$form->{path}>
+</table>
+
+
+</form>
+
+<a href=http://www.sql-ledger.org>SQL-Ledger |.$locale->text('website').qq|</a>
+
+</div>
+
+</body>
+</html>
+|;
+
+}
+
+
+
+
+sub login {
+
+ &list_users;
+
+}
+
+
+
+sub add_user {
+
+ $form->{title} = "SQL-Ledger ".$locale->text('Accounting')." ".$locale->text('Administration')." / ".$locale->text('Add User');
+
+ $form->{Oracle_sid} = $sid;
+ $form->{Oracle_dbport} = '1521';
+ $form->{Oracle_dbhost} = `hostname`;
+
+ if (-f "css/sql-ledger.css") {
+ $myconfig->{stylesheet} = "sql-ledger.css";
+ }
+ $myconfig->{vclimit} = 200;
+
+ &form_header;
+ &form_footer;
+
+}
+
+
+
+sub edit {
+
+ $form->{title} = "SQL-Ledger ".$locale->text('Accounting')." ".$locale->text('Administration')." / ".$locale->text('Edit User');
+ $form->{edit} = 1;
+
+ &form_header;
+ &form_footer;
+
+}
+
+
+sub form_footer {
+
+ if ($form->{edit}) {
+ $delete = qq|<input type=submit class=submit name=action value="|.$locale->text('Delete').qq|">
+<input type=hidden name=edit value=1>|;
+ }
+
+ print qq|
+
+<input name=callback type=hidden value="$form->{script}?action=list_users&path=$form->{path}&root=$form->{root}&rpw=$form->{rpw}">
+<input type=hidden name=root value="$form->{root}">
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=rpw value=$form->{rpw}>
+
+<input type=submit class=submit name=action value="|.$locale->text('Save').qq|">
+$delete
+
+</form>
+
+</body>
+</html>
+|;
+
+}
+
+
+sub list_users {
+
+ $form->error("$memberfile : ".$locale->text('locked!')) if (-f "${memberfile}.LCK");
+
+ open(FH, "$memberfile") or $form->error("$memberfile : $!");
+
+ while (<FH>) {
+ chop;
+
+ if (/^\[.*\]/) {
+ $login = $_;
+ $login =~ s/(\[|\])//g;
+ }
+
+ if (/^(name=|company=|templates=|dbuser=|dbdriver=|dbname=|dbhost=)/) {
+ chop ($var = $&);
+ ($null, $member{$login}{$var}) = split /=/, $_, 2;
+ }
+ }
+
+ close(FH);
+
+# type=submit $locale->text('Pg Database Administration')
+# type=submit $locale->text('Oracle Database Administration')
+
+ foreach $item (User->dbdrivers) {
+ $dbdrivers .= qq|<input name=action type=submit class=submit value="|.$locale->text("$item Database Administration").qq|">|;
+ }
+
+
+ $column_header{login} = qq|<th>|.$locale->text('Login').qq|</th>|;
+ $column_header{name} = qq|<th>|.$locale->text('Name').qq|</th>|;
+ $column_header{company} = qq|<th>|.$locale->text('Company').qq|</th>|;
+ $column_header{dbdriver} = qq|<th>|.$locale->text('Driver').qq|</th>|;
+ $column_header{dbhost} = qq|<th>|.$locale->text('Host').qq|</th>|;
+ $column_header{dataset} = qq|<th>|.$locale->text('Dataset').qq|</th>|;
+ $column_header{templates} = qq|<th>|.$locale->text('Templates').qq|</th>|;
+
+ @column_index = qw(login name company dbdriver dbhost dataset templates);
+
+ $form->{title} = "SQL-Ledger ".$locale->text('Accounting')." ".$locale->text('Administration');
+
+ $form->header;
+
+ print qq|
+<body class=admin>
+
+<form method=post action=$form->{script}>
+
+<table width=100%>
+ <tr>
+ <tr class=listheading>
+ <th>$form->{title}</th>
+ </tr>
+ <tr size=5></tr>
+ <tr>
+ <td>
+ <table width=100%>
+ <tr class=listheading>|;
+
+ map { print "$column_header{$_}\n" } @column_index;
+
+ print qq|
+ </tr>
+|;
+
+foreach $key (sort keys %member) {
+ $href = "$script?action=edit&login=$key&path=$form->{path}&root=$form->{root}&rpw=$form->{rpw}";
+ $href =~ s/ /%20/g;
+
+ $member{$key}{templates} =~ s/^$templates\///;
+ $member{$key}{dbhost} = $locale->text('localhost') unless $member{$key}{dbhost};
+ $member{$key}{dbname} = $member{$key}{dbuser} if ($member{$key}{dbdriver} eq 'Oracle');
+
+ $column_data{login} = qq|<td><a href=$href>$key</a></td>|;
+ $column_data{name} = qq|<td>$member{$key}{name}</td>|;
+ $column_data{company} = qq|<td>$member{$key}{company}</td>|;
+ $column_data{dbdriver} = qq|<td>$member{$key}{dbdriver}</td>|;
+ $column_data{dbhost} = qq|<td>$member{$key}{dbhost}</td>|;
+ $column_data{dataset} = qq|<td>$member{$key}{dbname}</td>|;
+ $column_data{templates} = qq|<td>$member{$key}{templates}</td>|;
+
+ $i++; $i %= 2;
+ print qq|
+ <tr class=listrow$i>|;
+
+ map { print "$column_data{$_}\n" } @column_index;
+
+ print qq|
+ </tr>|;
+}
+
+
+print qq|
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td><hr size=3 noshade></td>
+ </tr>
+</table>
+
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=rpw value=$form->{rpw}>
+<input type=hidden name=root value="$form->{root}">
+
+<br><input type=submit class=submit name=action value="|.$locale->text('Add User').qq|">
+<input type=submit class=submit name=action value="|.$locale->text('Change Admin Password').qq|">
+
+$dbdrivers
+
+</form>
+
+|.$locale->text('Click on login name to edit!').qq|
+<br>
+|.$locale->text('To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.').qq|
+
+<p>
+
+<form method=post action=login.pl>
+
+<table border=0 width=100%>
+ <tr class=listheading>
+ <th>SQL-Ledger |.$locale->text('Accounting')." ".$locale->text('Login').qq|</th>
+ </tr>
+ <tr>
+ <td>
+ <table>
+ <tr>
+ <th align=right>|.$locale->text('Name').qq|</th>
+ <td><input class=login name=login></td>
+ <td>&nbsp;</td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Password').qq|</th>
+ <td><input class=login type=password name=password></td>
+ <td><input type=submit name=action value="|.$locale->text('Login').qq|"></td>
+ </tr>
+<input type=hidden name=path value=$form->{path}>
+ </table>
+ </td>
+ </tr>
+</table>
+
+</form>
+
+</body>
+</html>
+|;
+
+}
+
+
+
+
+sub form_header {
+
+ # if there is a login, get user
+ if ($form->{login}) {
+ # get user
+ $myconfig = new User "$memberfile", "$form->{login}";
+
+ $myconfig->{signature} =~ s/\\n/\r\n/g;
+ $myconfig->{address} =~ s/\\n/\r\n/g;
+
+ # strip basedir from templates directory
+ $myconfig->{templates} =~ s/^$templates\///;
+
+ $myconfig->{dbpasswd} = unpack 'u', $myconfig->{dbpasswd};
+ }
+
+
+ foreach $item (qw(mm-dd-yy mm/dd/yy dd-mm-yy dd/mm/yy dd.mm.yy yyyy-mm-dd)) {
+ $dateformat .= ($item eq $myconfig->{dateformat}) ? "<option selected>$item\n" : "<option>$item\n";
+ }
+
+ foreach $item (qw(1,000.00 1000.00 1.000,00 1000,00)) {
+ $numberformat .= ($item eq $myconfig->{numberformat}) ? "<option selected>$item\n" : "<option>$item\n";
+ }
+
+
+ %countrycodes = User->country_codes;
+ $countrycodes = "";
+ foreach $key (sort { $countrycodes{$a} cmp $countrycodes{$b} } keys %countrycodes) {
+ $countrycodes .= ($myconfig->{countrycode} eq $key) ? "<option selected value=$key>$countrycodes{$key}" : "<option value=$key>$countrycodes{$key}";
+ }
+ $countrycodes = qq|<option value="">American English\n$countrycodes|;
+
+ # is there a templates basedir
+ if (! -d "$templates") {
+ $form->error($locale->text('Directory').": $templates ".$locale->text('does not exist'));
+ }
+
+ opendir TEMPLATEDIR, "$templates/." or $form->error("$templates : $!");
+ @all = grep !/^\.\.?$/, readdir TEMPLATEDIR;
+ closedir TEMPLATEDIR;
+
+ @allhtml = sort grep /\.html/, @all;
+ @alldir = grep !/\.(html|tex)$/, @all;
+
+ @allhtml = reverse grep !/Default/, @allhtml;
+ push @allhtml, 'Default';
+ @allhtml = reverse @allhtml;
+
+ foreach $item (@alldir) {
+ if ($item eq $myconfig->{templates}) {
+ $usetemplates .= qq|<option selected>$item\n|;
+ } else {
+ $usetemplates .= qq|<option>$item\n|;
+ }
+ }
+
+ $lastitem = $allhtml[0];
+ $lastitem =~ s/-.*//g;
+ $mastertemplates = qq|<option>$lastitem\n|;
+ foreach $item (@allhtml) {
+ $item =~ s/-.*//g;
+
+ if ($item ne $lastitem) {
+ $mastertemplates .= qq|<option>$item\n|;
+ $lastitem = $item;
+ }
+ }
+
+
+ $form->header;
+
+ print qq|
+<body class=admin>
+
+<form method=post action=$form->{script}>
+
+<table width=100%>
+ <tr class=listheading><th colspan=2>$form->{title}</th></tr>
+ <tr size=5></tr>
+ <tr valign=top>
+ <td>
+ <table>
+ <tr>
+ <th align=right>|.$locale->text('Login').qq|</th>
+ <td><input name=login value="$myconfig->{login}"></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Password').qq|</th>
+ <td><input type=password name=password size=8 value=$myconfig->{password}></td>
+ <input type=hidden name=old_password value=$myconfig->{password}>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Name').qq|</th>
+ <td><input name=name size=15 value="$myconfig->{name}"></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('E-mail').qq|</th>
+ <td><input name=email size=30 value="$myconfig->{email}"></td>
+ </tr>
+ <tr valign=top>
+ <th align=right>|.$locale->text('Signature').qq|</th>
+ <td><textarea name=signature rows=3 cols=35>$myconfig->{signature}</textarea></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Phone').qq|</th>
+ <td><input name=tel size=14 value="$myconfig->{tel}"></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Fax').qq|</th>
+ <td><input name=fax size=14 value="$myconfig->{fax}"></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Company').qq|</th>
+ <td><input name=company size=35 value="$myconfig->{company}"></td>
+ </tr>
+ <tr valign=top>
+ <th align=right>|.$locale->text('Address').qq|</th>
+ <td><textarea name=address rows=4 cols=35>$myconfig->{address}</textarea></td>
+ </tr>
+ </table>
+ </td>
+ <td>
+ <table>
+ <tr>
+ <th align=right>|.$locale->text('Date Format').qq|</th>
+ <td><select name=dateformat>$dateformat</select></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Number Format').qq|</th>
+ <td><select name=numberformat>$numberformat</select></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Dropdown Limit').qq|</th>
+ <td><input name=vclimit value="$myconfig->{vclimit}"></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Language').qq|</th>
+ <td><select name=countrycode>$countrycodes</select></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Character Set').qq|</th>
+ <td><input name=charset value="$myconfig->{charset}"></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Stylesheet').qq|</th>
+ <td><input name=userstylesheet value="$myconfig->{stylesheet}"></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Printer').qq|</th>
+ <td><input name=printer size=20 value="$myconfig->{printer}"></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Ship via').qq|</th>
+ <td><input name=shippingpoint size=15 value="$myconfig->{shippingpoint}"></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Use Templates').qq|</th>
+ <td><select name=usetemplates>$usetemplates</select></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('New Templates').qq|</th>
+ <td><input name=newtemplates></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Setup Templates').qq|</th>
+ <td><select name=mastertemplates>$mastertemplates</select></td>
+ </tr>
+ <input type=hidden name=templates value=$myconfig->{templates}>
+ </table>
+ </td>
+ </tr>
+ <tr class=listheading>
+ <th colspan=2>|.$locale->text('Database').qq|</th>
+ </tr>|;
+
+ # list section for database drivers
+ foreach $item (User->dbdrivers) {
+
+ print qq|
+ <tr>
+ <td colspan=2>
+ <table>
+ <tr>|;
+
+ $checked = "";
+ if ($myconfig->{dbdriver} eq $item) {
+ map { $form->{"${item}_$_"} = $myconfig->{$_} } qw(dbhost dbport dbuser dbpasswd dbname sid);
+ $checked = "checked";
+ }
+
+ print qq|
+ <th align=right>|.$locale->text('Driver').qq|</th>
+ <td><input name=dbdriver type=radio class=radio value=$item $checked>&nbsp;$item</td>
+ <th align=right>|.$locale->text('Host').qq|</th>
+ <td><input name="${item}_dbhost" value=$form->{"${item}_dbhost"}></td>
+ </tr>
+ <tr>|;
+
+ if ($item eq 'Pg') {
+ print qq|
+ <th align=right>|.$locale->text('Dataset').qq|</th>
+ <td><input name=Pg_dbname size=10 value=$form->{Pg_dbname}></td>
+ <th align=right>|.$locale->text('Port').qq|</th>
+ <td><input name=Pg_dbport size=4 value=$form->{Pg_dbport}></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('User').qq|</th>
+ <td><input name="${item}_dbuser" size=10 value=$form->{"${item}_dbuser"}></td>
+ <th align=right>|.$locale->text('Password').qq|</th>
+ <td><input name="${item}_dbpasswd" type=password size=10 value=$form->{"${item}_dbpasswd"}></td>
+ </tr>|;
+
+ }
+
+ if ($item eq 'Oracle') {
+ print qq|
+ <th align=right>SID</th>
+ <td><input name=Oracle_sid value=$form->{Oracle_sid}></td>
+ <th align=right>|.$locale->text('Port').qq|</th>
+ <td><input name=Oracle_dbport size=4 value=$form->{Oracle_dbport}></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Dataset').qq|</th>
+ <td><input name="${item}_dbuser" size=10 value=$form->{"${item}_dbuser"}></td>
+ <th align=right>|.$locale->text('Password').qq|</th>
+ <td><input name="${item}_dbpasswd" type=password size=10 value=$form->{"${item}_dbpasswd"}></td>
+
+ </tr>|;
+ }
+
+
+ print qq|
+ <input type=hidden name=old_dbpasswd value=$myconfig->{dbpasswd}>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td colspan=2><hr size=2 noshade></td>
+ </tr>
+|;
+
+ }
+
+
+ # access control
+ open(FH, $menufile) or $form->error("$menufile : $!");
+ # scan for first menu level
+ @a = <FH>;
+ close(FH);
+
+ if (open(FH, "custom_$menufile")) {
+ push @a, <FH>;
+ }
+ close(FH);
+
+ foreach $item (@a) {
+ next unless $item =~ /\[/;
+ next if $item =~ /\#/;
+
+ $item =~ s/(\[|\])//g;
+ chop $item;
+
+ if ($item =~ /--/) {
+ ($level, $menuitem) = split /--/, $item, 2;
+ } else {
+ $level = $item;
+ $menuitem = $item;
+ push @acsorder, $item;
+ }
+
+ push @{ $acs{$level} }, $menuitem;
+
+ }
+
+ $admincheck = "checked" if $myconfig->{admin};
+
+ print qq|
+ <tr class=listheading>
+ <th colspan=2>|.$locale->text('Access Control').qq|</th>
+ </tr>
+ <tr>
+ <td><input name=admin type=checkbox class=checkbox value=1 $admincheck>&nbsp;<b>|.$locale->text('Administrator').qq|</b></td>
+ </tr>
+|;
+
+ foreach $item (split /;/, $myconfig->{acs}) {
+ ($key, $value) = split /--/, $item, 2;
+ $excl{$key}{$value} = 1;
+ }
+
+ foreach $key (@acsorder) {
+
+ $checked = "checked";
+ if ($form->{login}) {
+ $checked = ($excl{$key}{$key}) ? "" : "checked";
+ }
+
+ # can't have variable names with spaces
+ # the 1 is for apache 2
+ $item = $form->escape("${key}--$key", 1);
+
+ $acsheading = $key;
+ $acsheading =~ s/ /&nbsp;/g;
+
+ $acsheading = qq|
+ <th align=left><input name="$item" class=checkbox type=checkbox value=1 $checked>&nbsp;$acsheading</th>\n|;
+ $menuitems .= "$item;";
+ $acsdata = "
+ <td>";
+
+ foreach $item (@{ $acs{$key} }) {
+ next if ($key eq $item);
+
+ $checked = "checked";
+ if ($form->{login}) {
+ $checked = ($excl{$key}{$item}) ? "" : "checked";
+ }
+
+ $acsitem = $form->escape("${key}--$item", 1);
+
+ $acsdata .= qq|
+ <br><input name="$acsitem" class=checkbox type=checkbox value=1 $checked>&nbsp;$item|;
+ $menuitems .= "$acsitem;";
+ }
+
+ $acsdata .= "
+ </td>";
+
+ print qq|
+ <tr valign=top>$acsheading $acsdata
+ </tr>
+|;
+ }
+
+ print qq|<input type=hidden name=acs value="$menuitems">
+
+ <tr>
+ <td colspan=2><hr size=3 noshade></td>
+ </tr>
+ <tr>
+ <td>
+ </td>
+ </tr>
+</table>
+|;
+
+}
+
+
+sub save {
+
+ # no driver checked
+ $form->error($locale->text('Database Driver not checked!')) unless $form->{dbdriver};
+
+ # no spaces allowed in login name
+ ($form->{login}) = split / /, $form->{login};
+
+ # check for duplicates
+ if (!$form->{edit}) {
+ $temp = new User "$memberfile", "$form->{login}";
+
+ if ($temp->{login}) {
+ $form->error("$form->{login} ".$locale->text('is already a member!'));
+ }
+ }
+
+ # does stylesheet exist
+ if ($form->{userstylesheet}) {
+ $form->error($locale->text('Stylesheet').": css/$form->{userstylesheet} ".$locale->text('does not exist')) unless (-f "css/$form->{userstylesheet}");
+ }
+
+ # no spaces allowed in directories
+ ($form->{newtemplates}) = split / /, $form->{newtemplates};
+
+ if ($form->{newtemplates}) {
+ $form->{templates} = $form->{newtemplates};
+ } else {
+ $form->{templates} = ($form->{usetemplates}) ? $form->{usetemplates} : $form->{login};
+ }
+
+
+ # is there a basedir
+ if (! -d "$templates") {
+ $form->error($locale->text('Directory').": $templates ".$locale->text('does not exist'));
+ }
+
+ # add base directory to $form->{templates}
+ $form->{templates} = "$templates/$form->{templates}";
+
+
+ $myconfig = new User "$memberfile", "$form->{login}";
+
+ # redo acs variable and delete all the acs codes
+ @acs = split /;/, $form->{acs};
+
+ $form->{acs} = "";
+ foreach $item (@acs) {
+ $item = $form->escape($item, 1);
+
+ if (!$form->{$item}) {
+ $form->{acs} .= $form->unescape($form->unescape($item)).";";
+ }
+ delete $form->{$item};
+ }
+
+ # check which database was filled in
+ if ($form->{dbdriver} eq 'Oracle') {
+ $form->{sid} = $form->{Oracle_sid}, ;
+ $form->{dbhost} = $form->{Oracle_dbhost}, ;
+ $form->{dbport} = $form->{Oracle_dbport};
+ $form->{dbpasswd} = $form->{Oracle_dbpasswd};
+ $form->{dbuser} = $form->{Oracle_dbuser};
+ $form->{dbname} = $form->{Oracle_dbuser};
+
+ $form->isblank("dbhost", $locale->text('Hostname missing!'));
+ $form->isblank("dbport", $locale->text('Port missing!'));
+ $form->isblank("dbuser", $locale->text('Dataset missing!'));
+ }
+ if ($form->{dbdriver} eq 'Pg') {
+ $form->{dbhost} = $form->{Pg_dbhost};
+ $form->{dbport} = $form->{Pg_dbport};
+ $form->{dbpasswd} = $form->{Pg_dbpasswd};
+ $form->{dbuser} = $form->{Pg_dbuser};
+ $form->{dbname} = $form->{Pg_dbname};
+
+ $form->isblank("dbname", $locale->text('Dataset missing!'));
+ $form->isblank("dbuser", $locale->text('Database User missing!'));
+ }
+
+ # set admin
+ $form->{admin} = "" unless $form->{admin};
+
+ foreach $item (keys %{$form}) {
+ $myconfig->{$item} = $form->{$item};
+ }
+
+ delete $myconfig->{stylesheet};
+ if ($form->{userstylesheet}) {
+ $myconfig->{stylesheet} = $form->{userstylesheet};
+ }
+
+ $myconfig->save_member($memberfile, $userspath);
+
+ # create user template directory and copy master files
+ if (! -d "$form->{templates}") {
+ umask(002);
+
+ if (mkdir "$form->{templates}", oct("771")) {
+
+ umask(007);
+
+ # copy templates to the directory
+ opendir TEMPLATEDIR, "$templates/." or $form-error("$templates : $!");
+ @templates = grep /$form->{mastertemplates}.*?\.(html|tex)$/, readdir TEMPLATEDIR;
+ closedir TEMPLATEDIR;
+
+ foreach $file (@templates) {
+ open(TEMP, "$templates/$file") or $form->error("$templates/$file : $!");
+
+ $file =~ s/$form->{mastertemplates}-//;
+ open(NEW, ">$form->{templates}/$file") or $form->error("$form->{templates}/$file : $!");
+
+ while ($line = <TEMP>) {
+ print NEW $line;
+ }
+ close(TEMP);
+ close(NEW);
+ }
+ } else {
+ $form->error("$!: $form->{templates}");
+ }
+ }
+
+ $form->redirect($locale->text('User saved!'));
+
+}
+
+
+sub delete {
+
+ $form->{templates} = ($form->{templates}) ? "$templates/$form->{templates}" : "$templates/$form->{login}";
+
+ $form->error("$memberfile : ".$locale->text('locked!')) if (-f ${memberfile}.LCK);
+ open(FH, ">${memberfile}.LCK") or $form->error("${memberfile}.LCK : $!");
+ close(FH);
+
+ open(CONF, "+<$memberfile") or $form->error("$memberfile : $!");
+
+ @config = <CONF>;
+
+ seek(CONF, 0, 0);
+ truncate(CONF, 0);
+
+ while ($line = shift @config) {
+
+ if ($line =~ /^\[/) {
+ last if ($line =~ /\[$form->{login}\]/);
+ $login = &login_name($line);
+ }
+
+ if ($line =~ /^templates=/) {
+ $user{$login} = &get_value($line);
+ }
+
+ print CONF $line;
+ }
+
+ # remove everything up to next login or EOF
+ # and save template variable
+ while ($line = shift @config) {
+ if ($line =~ /^templates=/) {
+ $templatedir = &get_value($line);
+ }
+ last if ($line =~ /^\[/);
+ }
+
+ # this one is either the next login or EOF
+ print CONF $line;
+
+ $login = &login_name($line);
+
+
+ while ($line = shift @config) {
+ if ($line =~ /^\[/) {
+ $login = &login_name($line);
+ }
+
+ if ($line =~ /^templates=/) {
+ $user{$login} = &get_value($line);
+ }
+
+ print CONF $line;
+ }
+
+ close(CONF);
+ unlink "${memberfile}.LCK";
+
+ # scan %user for $templatedir
+ foreach $login (keys %user) {
+ last if ($found = ($templatedir eq $user{$login}));
+ }
+
+ # if found keep directory otherwise delete
+ if (!$found) {
+ # delete it if there is a template directory
+ $dir = "$form->{templates}";
+ if (-d "$dir") {
+ unlink <$dir/*.html>;
+ unlink <$dir/*.tex>;
+ rmdir "$dir";
+ }
+ }
+
+ # delete config file for user
+ unlink "$userspath/$form->{login}.conf";
+
+ $form->redirect($locale->text('User deleted!'));
+
+}
+
+
+sub login_name {
+ my $login = shift;
+
+ $login =~ s/\[\]//g;
+ return ($login) ? $login : undef;
+
+}
+
+
+
+sub get_value {
+ my $line = shift;
+
+ my ($null, $value) = split(/=/, $line, 2);
+
+ # remove comments
+ $value =~ s/\s#.*//g;
+
+ # remove any trailing whitespace
+ $value =~ s/^\s*(.*?)\s*$/$1/;
+
+ $value;
+}
+
+
+
+sub change_admin_password {
+
+ $form->{title} = qq|SQL-Ledger |.$locale->text('Accounting')." ".$locale->text('Administration')." / ".$locale->text('Change Admin Password');
+
+ $form->header;
+
+ print qq|
+<body class=admin>
+
+
+<h2>|.$locale->text('Change Admin Password').qq|</h2>
+
+<form method=post action=$form->{script}>
+
+<b>|.$locale->text('Password').qq|</b> <input type=password name=password size=8>
+
+<input type=hidden name=root value="$form->{root}">
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=rpw value=$form->{rpw}>
+
+<p>
+<input type=submit class=submit name=action value="|.$locale->text('Change Password').qq|">
+
+</form>
+
+</body>
+</html>
+|;
+
+}
+
+
+sub change_password {
+
+ $root->{password} = $form->{password};
+
+ $root->{'root login'} = 1;
+ $root->save_member($memberfile);
+
+ $form->{callback} = "$form->{script}?action=list_users&path=$form->{path}&root=$form->{root}&rpw=$root->{password}";
+
+ $form->redirect($locale->text('Password changed!'));
+
+}
+
+
+sub check_password {
+
+ $root = new User "$memberfile", $form->{root};
+
+ if ($root->{password}) {
+ if ($root->{password} ne $form->{rpw}) {
+ $form->error($locale->text('Incorrect Password!'));
+ }
+ }
+
+}
+
+
+sub pg_database_administration {
+
+ $form->{dbdriver} = 'Pg';
+ &dbselect_source;
+
+}
+
+
+sub oracle_database_administration {
+
+ $form->{dbdriver} = 'Oracle';
+ &dbselect_source;
+
+}
+
+
+sub dbdriver_defaults {
+
+ # load some defaults for the selected driver
+ %driverdefaults = ( 'Pg' => { dbport => '',
+ dbuser => 'sql-ledger',
+ dbdefault => 'template1',
+ dbhost => '',
+ connectstring => $locale->text('Connect to')
+ },
+ 'Oracle' => { dbport => '1521',
+ dbuser => 'oralin',
+ dbdefault => $sid,
+ dbhost => `hostname`,
+ connectstring => 'SID'
+ }
+ );
+
+ map { $form->{$_} = $driverdefaults{$form->{dbdriver}}{$_} } keys %{ $driverdefaults{Pg} };
+
+}
+
+
+sub dbselect_source {
+
+ &dbdriver_defaults;
+
+ $msg{Pg} = $locale->text('Leave host and port field empty unless you want to make a remote connection.');
+ $msg{Oracle} = $locale->text('You must enter a host and port for local and remote connections!');
+
+
+ $form->{title} = "SQL-Ledger ".$locale->text('Accounting')." / ".$locale->text('Database Administration');
+
+
+ $form->header;
+
+ print qq|
+<body class=admin>
+
+
+<center>
+<h2>$form->{title}</h2>
+
+<form method=post action=$form->{script}>
+
+<table>
+<tr><td>
+
+<table>
+
+ <tr class=listheading>
+ <th colspan=4>|.$locale->text('Database').qq|</th>
+ </tr>
+
+<input type=hidden name=dbdriver value=$form->{dbdriver}>
+
+ <tr><td>
+ <table>
+
+ <tr>
+
+ <th align=right>|.$locale->text('Host').qq|</th>
+ <td><input name=dbhost size=25 value=$form->{dbhost}></td>
+ <th align=right>|.$locale->text('Port').qq|</th>
+ <td><input name=dbport size=5 value=$form->{dbport}></td>
+
+ </tr>
+
+ <tr>
+
+ <th align=right>|.$locale->text('User').qq|</th>
+ <td><input name=dbuser size=10 value=$form->{dbuser}></td>
+ <th align=right>|.$locale->text('Password').qq|</th>
+ <td><input type=password name=dbpasswd size=10></td>
+
+ </tr>
+
+ <tr>
+
+ <th align=right>$form->{connectstring}</th>
+ <td colspan=3><input name=dbdefault size=10 value=$form->{dbdefault}></td>
+
+ </tr>
+
+</table>
+
+</td></tr>
+</table>
+
+<input name=callback type=hidden value="$form->{script}?action=list_users&path=$form->{path}&root=$form->{root}&rpw=$form->{rpw}">
+<input type=hidden name=root value="$form->{root}">
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=rpw value=$form->{rpw}>
+
+<hr size=3 noshade>
+<br>
+
+<input type=submit class=submit name=action value="|.$locale->text('Create Dataset').qq|">
+<input type=submit class=submit name=action value="|.$locale->text('Update Dataset').qq|">
+<input type=submit class=submit name=action value="|.$locale->text('Delete Dataset').qq|">
+
+</form>
+
+</td></tr>
+</table>
+
+<p>|.$locale->text('This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!')
+
+.qq|
+<br>$msg{$form->{dbdriver}}
+
+
+</body>
+</html>
+|;
+
+}
+
+
+sub continue {
+
+ &{ $form->{nextsub} };
+
+}
+
+
+sub update_dataset {
+
+ %needsupdate = User->dbneedsupdate(\%$form);
+
+ $form->{title} = "SQL-Ledger ".$locale->text('Accounting')." ".$locale->text('Database Administration')." / ".$locale->text('Update Dataset');
+
+ $form->header;
+
+ print qq|
+<body class=admin>
+
+
+<center>
+<h2>$form->{title}</h2>
+|;
+
+
+ foreach $key (sort keys %needsupdate) {
+ if ($needsupdate{$key} lt $form->{dbversion}) {
+ $upd .= qq|<br><input name="db$key" type=checkbox value=1 checked> $key\n|;
+ $form->{dbupdate} .= "db$key ";
+ }
+ }
+
+ chop $form->{dbupdate};
+
+
+ if ($form->{dbupdate}) {
+
+ print qq|
+<table>
+<form method=post action=$form->{script}>
+
+<input type=hidden name=dbdriver value=$form->{dbdriver}>
+<input type=hidden name=dbhost value=$form->{dbhost}>
+<input type=hidden name=dbport value=$form->{dbport}>
+<input type=hidden name=dbuser value=$form->{dbuser}>
+<input type=hidden name=dbpasswd value=$form->{dbpasswd}>
+<input type=hidden name=dbdefault value=$form->{dbdefault}>
+
+<tr class=listheading>
+ <th>|.$locale->text('The following Datasets need to be updated').qq|</th>
+</tr>
+<tr>
+<td>
+
+$upd
+
+</td></tr>
+<tr><td>
+
+<input name=dbupdate type=hidden value="$form->{dbupdate}">
+
+<input name=callback type=hidden value="$form->{script}?action=list_users&path=$form->{path}&root=$form->{root}&rpw=$form->{rpw}">
+
+<input type=hidden name=root value="$form->{root}">
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=rpw value=$form->{rpw}>
+
+<input type=hidden name=nextsub value=dbupdate>
+
+<input type=submit class=submit name=action value="|.$locale->text('Continue').qq|">
+
+</td></tr>
+</table>
+</form>
+|;
+
+ } else {
+
+ print $locale->text('All Datasets up to date!');
+
+ }
+
+ print qq|
+
+</body>
+</html>
+|;
+
+}
+
+
+sub dbupdate {
+
+ User->dbupdate(\%$form);
+
+ $form->redirect($locale->text('Dataset updated!'));
+
+}
+
+
+sub create_dataset {
+
+ foreach $item (sort User->dbsources(\%$form)) {
+ $dbsources .= "[$item] ";
+ }
+
+ opendir SQLDIR, "sql/." or $form-error($!);
+ foreach $item (sort grep /-chart\.sql/, readdir SQLDIR) {
+ next if ($item eq 'Default-chart.sql');
+ $item =~ s/-chart\.sql//;
+ push @charts, qq| <input name=chart class=radio type=radio value="$item">&nbsp;$item|;
+ }
+ closedir SQLDIR;
+
+ # add Default at beginning
+ @charts = (qq|<input name=chart class=radio type=radio value="Default" checked>&nbsp;Default|, @charts);
+
+ $selectencoding = qq|<option>
+ <option value=SQL_ASCII>ASCII
+ <option value=EUC_JP>Japanese Extended UNIX Code
+ <option value=EUC_CN>Chinese Extended UNIX Code
+ <option value=EUC_KR>Korean Extended UNIX Code
+ <option value=EUC_TW>Taiwan Extended UNIX Code
+ <option value=UNICODE>UTF-8 Unicode
+ <option value=MULE_INTERNAL>Mule internal type
+ <option value=LATIN1>ISO 8859-1
+ <option value=LATIN2>ISO 8859-2
+ <option value=LATIN3>ISO 8859-3
+ <option value=LATIN4>ISO 8859-4
+ <option value=LATIN5>ISO 8859-5
+ <option value=KOI8>KOI8-R
+ <option value=WIN>Windows CP1251
+ <option value=ALT>Windows CP866
+ |;
+
+ $form->{title} = "SQL-Ledger ".$locale->text('Accounting')." ".$locale->text('Database Administration')." / ".$locale->text('Create Dataset');
+
+ $form->header;
+
+ print qq|
+<body class=admin>
+
+
+<center>
+<h2>$form->{title}</h2>
+
+<form method=post action=$form->{script}>
+
+<table>
+ <tr class=listheading>
+ <th colspan=2>&nbsp;</th>
+ </tr>
+
+ <tr>
+
+ <th align=right nowrap>|.$locale->text('Existing Datasets').qq|</th>
+ <td>$dbsources</td>
+
+ </tr>
+
+ <tr>
+
+ <th align=right nowrap>|.$locale->text('Create Dataset').qq|</th>
+ <td><input name=db></td>
+
+ </tr>
+
+ <tr>
+
+ <th align=right nowrap>|.$locale->text('Multibyte Encoding').qq|</th>
+ <td><select name=encoding>$selectencoding</select></td>
+
+ </tr>
+
+ <tr>
+
+ <th align=right>|.$locale->text('Create Chart of Accounts').qq|</th>
+ <td>@charts</td>
+
+ </tr>
+
+ <tr><td colspan=2>
+<hr size=3 noshade>
+<br>
+<input type=hidden name=dbdriver value=$form->{dbdriver}>
+<input type=hidden name=dbuser value=$form->{dbuser}>
+<input type=hidden name=dbhost value=$form->{dbhost}>
+<input type=hidden name=dbport value=$form->{dbport}>
+<input type=hidden name=dbpasswd value=$form->{dbpasswd}>
+<input type=hidden name=dbdefault value=$form->{dbdefault}>
+
+<input name=callback type=hidden value="$form->{script}?action=list_users&path=$form->{path}&root=$form->{root}&rpw=$form->{rpw}">
+
+<input type=hidden name=root value="$form->{root}">
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=rpw value=$form->{rpw}>
+
+<input type=hidden name=nextsub value=dbcreate>
+
+<input type=submit class=submit name=action value="|.$locale->text('Continue').qq|">
+
+ </td></tr>
+</table>
+
+</form>
+
+
+</body>
+</html>
+|;
+
+}
+
+
+sub dbcreate {
+
+ $form->isblank("db", $locale->text('Dataset missing!'));
+
+ User->dbcreate(\%$form);
+
+ $form->{title} = "SQL-Ledger ".$locale->text('Accounting')." ".$locale->text('Database Administration')." / ".$locale->text('Create Dataset');
+
+ $form->header;
+
+ print qq|
+<body class=admin>
+
+
+<center>
+<h2>$form->{title}</h2>
+
+<form method=post action=$form->{script}>|
+
+.$locale->text('Dataset')." $form->{db} ".$locale->text('successfully created!')
+
+.qq|
+
+<input type=hidden name=root value="$form->{root}">
+<input type=hidden name=path value="$form->{path}">
+<input type=hidden name=rpw value="$form->{rpw}">
+
+<input type=hidden name=nextsub value=list_users>
+
+<p><input type=submit class=submit name=action value="|.$locale->text('Continue').qq|">
+</form>
+
+
+</body>
+</html>
+|;
+
+}
+
+
+sub delete_dataset {
+
+ if (@dbsources = User->dbsources_unused(\%$form, $memberfile)) {
+ foreach $item (sort @dbsources) {
+ $dbsources .= qq|<input name=db class=radio type=radio value=$item>&nbsp;$item\n<br>|;
+ }
+ } else {
+ $form->error($locale->text('Nothing to delete!'));
+ }
+
+ $form->{title} = "SQL-Ledger ".$locale->text('Accounting')." ".$locale->text('Database Administration')." / ".$locale->text('Delete Dataset');
+
+ $form->header;
+
+ print qq|
+<body class=admin>
+
+
+<center>
+<h2>$form->{title}</h2>
+
+<form method=post action=$form->{script}>
+
+<table>
+ <tr class=listheading>
+ <th>|.$locale->text('The following Datasets are not in use and can be deleted').qq|</th>
+ </tr>
+
+ <tr>
+ <td>
+ $dbsources
+ </td>
+ </tr>
+
+ <tr><td>
+
+<hr size=3 noshade>
+<br>
+<input type=hidden name=dbdriver value=$form->{dbdriver}>
+<input type=hidden name=dbuser value=$form->{dbuser}>
+<input type=hidden name=dbhost value=$form->{dbhost}>
+<input type=hidden name=dbport value=$form->{dbport}>
+<input type=hidden name=dbpasswd value=$form->{dbpasswd}>
+<input type=hidden name=dbdefault value=$form->{dbdefault}>
+
+<input name=callback type=hidden value="$form->{script}?action=list_users&path=$form->{path}&root=$form->{root}&rpw=$form->{rpw}">
+
+<input type=hidden name=root value="$form->{root}">
+<input type=hidden name=path value="$form->{path}">
+<input type=hidden name=rpw value="$form->{rpw}">
+
+<input type=hidden name=nextsub value=dbdelete>
+
+<input type=submit class=submit name=action value="|.$locale->text('Continue').qq|">
+
+ </td></tr>
+</table>
+
+</form>
+
+<p>|.$locale->text('Select a Dataset to delete and press "Continue"')
+
+.qq|
+
+
+</body>
+</html>
+|;
+
+}
+
+
+sub dbdelete {
+
+ if (!$form->{db}) {
+ $form->error($locale->text('No Dataset selected!'));
+ }
+
+ User->dbdelete(\%$form);
+
+ $form->{title} = "SQL-Ledger ".$locale->text('Accounting')." ".$locale->text('Database Administration')." / ".$locale->text('Delete Dataset');
+
+ $form->header;
+
+ print qq|
+<body class=admin>
+
+
+<center>
+<h2>$form->{title}</h2>
+
+<form method=post action=$form->{script}>
+
+$form->{db} |.$locale->text('successfully deleted!')
+
+.qq|
+
+<input type=hidden name=root value="$form->{root}">
+<input type=hidden name=path value="$form->{path}">
+<input type=hidden name=rpw value="$form->{rpw}">
+
+<input type=hidden name=nextsub value=list_users>
+
+<p><input type=submit class=submit name=action value="|.$locale->text('Continue').qq|">
+</form>
+
+
+</body>
+</html>
+|;
+
+}
+
diff --git a/sql-ledger/bin/mozilla/am.pl b/sql-ledger/bin/mozilla/am.pl
new file mode 100644
index 0000000..7e36cfd
--- /dev/null
+++ b/sql-ledger/bin/mozilla/am.pl
@@ -0,0 +1,1051 @@
+#=====================================================================
+# SQL-Ledger Accounting
+# Copyright (c) 1998-2002
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#======================================================================
+#
+# administration
+#
+#======================================================================
+
+
+use SL::AM;
+use SL::CA;
+use SL::Form;
+use SL::User;
+
+
+1;
+# end of main
+
+
+
+sub add {
+
+ $form->{title} = "Add";
+ $form->{charttype} = "A";
+
+ $form->{callback} = "$form->{script}?action=list&path=$form->{path}&login=$form->{login}&password=$form->{password}" unless $form->{callback};
+
+ &form_header;
+ &form_footer;
+
+}
+
+
+sub edit {
+ $form->{title} = "Edit";
+
+ # if it is a template
+ if ($form->{file}) {
+ $form->{type} = "template";
+ &edit_template;
+ exit;
+ }
+
+ AM->get_account(\%myconfig, \%$form);
+
+ foreach my $item (split(/:/, $form->{link})) {
+ $form->{$item} = "checked";
+ }
+
+ &form_header;
+ &form_footer;
+
+}
+
+
+sub form_header {
+
+ $form->{title} = $locale->text("$form->{title} Account");
+
+ $checked{$form->{charttype}} = "checked";
+ $checked{"$form->{category}_"} = "checked";
+ $checked{CT_tax} = ($form->{CT_tax}) ? "" : "checked";
+
+ $form->{description} =~ s/"/&quot;/g;
+
+# this is for our parser only!
+# type=submit $locale->text('Add Account')
+# type=submit $locale->text('Edit Account')
+
+ $form->header;
+
+ print qq|
+<body>
+
+<form method=post action=$form->{script}>
+
+<input type=hidden name=id value=$form->{id}>
+<input type=hidden name=type value=account>
+
+<input type=hidden name=inventory_accno_id value=$form->{inventory_accno_id}>
+<input type=hidden name=income_accno_id value=$form->{income_accno_id}>
+<input type=hidden name=expense_accno_id value=$form->{expense_accno_id}>
+<input type=hidden name=fxgain_accno_id values=$form->{fxgain_accno_id}>
+<input type=hidden name=fxloss_accno_id values=$form->{fxloss_accno_id}>
+
+<input type=hidden name=amount value=$form->{amount}>
+
+<table border=0 width=100%>
+ <tr>
+ <th class=listtop>$form->{title}</th>
+ </tr>
+ <tr height="5"></tr>
+ <tr valign=top>
+ <td>
+ <table>
+ <tr>
+ <th align=right>|.$locale->text('Account Number').qq|</th>
+ <td><input name=accno size=20 value=$form->{accno}></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Description').qq|</th>
+ <td><input name=description size=40 value="$form->{description}"></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Account Type').qq|</th>
+ <td>
+ <table>
+ <tr valign=top>
+ <td><input name=category type=radio class=radio value=A $checked{A_}>&nbsp;|.$locale->text('Asset').qq|\n<br>
+ <input name=category type=radio class=radio value=L $checked{L_}>&nbsp;|.$locale->text('Liability').qq|\n<br>
+ <input name=category type=radio class=radio value=Q $checked{Q_}>&nbsp;|.$locale->text('Equity').qq|\n<br>
+ <input name=category type=radio class=radio value=I $checked{I_}>&nbsp;|.$locale->text('Income').qq|\n<br>
+ <input name=category type=radio class=radio value=E $checked{E_}>&nbsp;|.$locale->text('Expense')
+ .qq|</td>
+ <td>
+ <input name=charttype type=radio class=radio value="H" $checked{H}>&nbsp;|.$locale->text('Heading').qq|<br>
+ <input name=charttype type=radio class=radio value="A" $checked{A}>&nbsp;|.$locale->text('Account')
+ .qq|</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+|;
+
+
+if ($form->{charttype} eq "A") {
+ print qq|
+ <tr>
+ <td colspan=2>
+ <table>
+ <tr>
+ <th align=left>|.$locale->text('Is this a summary account to record').qq|</th>
+ <td>
+ <input name=AR type=checkbox class=checkbox value=AR $form->{AR}>&nbsp;|.$locale->text('AR')
+ .qq|&nbsp;<input name=AP type=checkbox class=checkbox value=AP $form->{AP}>&nbsp;|.$locale->text('AP')
+ .qq|&nbsp;<input name=IC type=checkbox class=checkbox value=IC $form->{IC}>&nbsp;|.$locale->text('Inventory')
+ .qq|</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <th colspan=2>|.$locale->text('Include in drop-down menus').qq|</th>
+ </tr>
+ <tr valign=top>
+ <td colspan=2>
+ <table width=100%>
+ <tr>
+ <th align=left>|.$locale->text('Receivables').qq|</th>
+ <th align=left>|.$locale->text('Payables').qq|</th>
+ <th align=left>|.$locale->text('Parts Inventory').qq|</th>
+ <th align=left>|.$locale->text('Service Items').qq|</th>
+ </tr>
+ <tr>
+ <td>
+ <input name=AR_amount type=checkbox class=checkbox value=AR_amount $form->{AR_amount}>&nbsp;|.$locale->text('Income').qq|\n<br>
+ <input name=AR_paid type=checkbox class=checkbox value=AR_paid $form->{AR_paid}>&nbsp;|.$locale->text('Payment').qq|\n<br>
+ <input name=AR_tax type=checkbox class=checkbox value=AR_tax $form->{AR_tax}>&nbsp;|.$locale->text('Tax')
+ .qq|
+ </td>
+ <td>
+ <input name=AP_amount type=checkbox class=checkbox value=AP_amount $form->{AP_amount}>&nbsp;|.$locale->text('Expense/Asset').qq|\n<br>
+ <input name=AP_paid type=checkbox class=checkbox value=AP_paid $form->{AP_paid}>&nbsp;|.$locale->text('Payment').qq|\n<br>
+ <input name=AP_tax type=checkbox class=checkbox value=AP_tax $form->{AP_tax}>&nbsp;|.$locale->text('Tax')
+ .qq|
+ </td>
+ <td>
+ <input name=IC_sale type=checkbox class=checkbox value=IC_sale $form->{IC_sale}>&nbsp;|.$locale->text('Sales').qq|\n<br>
+ <input name=IC_cogs type=checkbox class=checkbox value=IC_cogs $form->{IC_cogs}>&nbsp;|.$locale->text('COGS').qq|\n<br>
+ <input name=IC_taxpart type=checkbox class=checkbox value=IC_taxpart $form->{IC_taxpart}>&nbsp;|.$locale->text('Tax')
+ .qq|
+ </td>
+ <td>
+ <input name=IC_income type=checkbox class=checkbox value=IC_income $form->{IC_income}>&nbsp;|.$locale->text('Income').qq|\n<br>
+ <input name=IC_expense type=checkbox class=checkbox value=IC_expense $form->{IC_expense}>&nbsp;|.$locale->text('Expense').qq|\n<br>
+ <input name=IC_taxservice type=checkbox class=checkbox value=IC_taxservice $form->{IC_taxservice}>&nbsp;|.$locale->text('Tax')
+ .qq|
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td colspan=2>
+ <table>
+ <tr>
+ <th align=left>|.$locale->text('Include this account on the customer/vendor forms to flag customer/vendor as taxable?').qq|</th>
+ <td>
+ <input name=CT_tax type=radio class=radio value=CT_tax $form->{CT_tax}>&nbsp;|.$locale->text('Yes').qq|&nbsp;
+ <input name=CT_tax type=radio class=radio value="" $checked{CT_tax}>&nbsp;|.$locale->text('No')
+ .qq|
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+|;
+}
+
+print qq|
+ <tr>
+ <th align=right>|.$locale->text('GIFI').qq|</th>
+ <td><input name=gifi_accno size=9 value=$form->{gifi_accno}></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td><hr size=3 noshade></td>
+ </tr>
+</table>
+|;
+
+}
+
+
+sub form_footer {
+
+ print qq|
+
+<input name=callback type=hidden value="$form->{callback}">
+
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=login value=$form->{login}>
+<input type=hidden name=password value=$form->{password}>
+
+<br>
+<input type=submit class=submit name=action value="|.$locale->text('Save').qq|">
+|;
+
+ if ($form->{id}) {
+ print qq|<input type=submit class=submit name=action value="|.$locale->text('Delete').qq|">|;
+ }
+
+ print qq|
+</form>
+
+</body>
+</html>
+|;
+
+}
+
+
+sub save { &{ "save_$form->{type}" } };
+
+sub save_account {
+
+ $form->isblank("accno", $locale->text('Account Number missing!'));
+ $form->isblank("category", $locale->text('Account Type missing!'));
+
+ $form->redirect($locale->text('Account saved!')) if (AM->save_account(\%myconfig, \%$form));
+ $form->error($locale->text('Cannot save account!'));
+
+}
+
+
+sub list {
+
+ CA->all_accounts(\%myconfig, \%$form);
+
+ $form->{title} = $locale->text('Chart of Accounts');
+
+ # construct callback
+ $callback = "$form->{script}?action=list&path=$form->{path}&login=$form->{login}&password=$form->{password}";
+
+ @column_index = qw(accno gifi_accno description debit credit link);
+
+ $column_header{accno} = qq|<th class=listheading>|.$locale->text('Account').qq|</a></th>|;
+ $column_header{gifi_accno} = qq|<th class=listheading>|.$locale->text('GIFI').qq|</a></th>|;
+ $column_header{description} = qq|<th class=listheading>|.$locale->text('Description').qq|</a></th>|;
+ $column_header{debit} = qq|<th class=listheading>|.$locale->text('Debit').qq|</a></th>|;
+ $column_header{credit} = qq|<th class=listheading>|.$locale->text('Credit').qq|</a></th>|;
+ $column_header{link} = qq|<th class=listheading>|.$locale->text('Link').qq|</a></th>|;
+
+
+ $form->header;
+ $colspan = $#column_index + 1;
+
+ print qq|
+<body>
+
+<table border=0 width=100%>
+ <tr><th class=listtop colspan=$colspan>$form->{title}</th></tr>
+ <tr height=5></tr>
+ <tr class=listheading>
+|;
+
+ map { print "$column_header{$_}\n" } @column_index;
+
+ print qq|
+</tr>
+|;
+
+ # escape callback
+ $callback = $form->escape($callback);
+
+ foreach $ca (@{ $form->{CA} }) {
+
+ $ca->{debit} = "&nbsp;";
+ $ca->{credit} = "&nbsp;";
+
+ # needed if we can delete an account
+ $amount = 0;
+
+ if ($ca->{amount} > 0) {
+ $amount = $ca->{amount};
+ $ca->{credit} = $form->format_amount(\%myconfig, $ca->{amount}, 2, "&nbsp;");
+ }
+ if ($ca->{amount} < 0) {
+ $amount = -$ca->{amount};
+ $ca->{debit} = $form->format_amount(\%myconfig, -$ca->{amount}, 2, "&nbsp;");
+ }
+
+ $ca->{link} =~ s/:/<br>/og;
+
+ if ($ca->{charttype} eq "H") {
+ print qq|<tr class=listheading>|;
+
+ $column_data{accno} = qq|<th><a class=listheading href=$form->{script}?action=edit&id=$ca->{id}&path=$form->{path}&login=$form->{login}&password=$form->{password}&callback=$callback>$ca->{accno}</a></th>|;
+ $column_data{gifi_accno} = qq|<th><a class=listheading href=$form->{script}?action=edit_gifi&accno=$ca->{gifi_accno}&path=$form->{path}&login=$form->{login}&password=$form->{password}&callback=$callback>$ca->{gifi_accno}</a>&nbsp;</th>|;
+ $column_data{description} = qq|<th class=listheading>$ca->{description}&nbsp;</th>|;
+ $column_data{debit} = qq|<th>&nbsp;</th>|;
+ $column_data{credit} = qq| <th>&nbsp;</th>|;
+ $column_data{link} = qq|<th>&nbsp;</th>|;
+
+ } else {
+ $i++; $i %= 2;
+ print qq|
+<tr valign=top class=listrow$i>|;
+ $column_data{accno} = qq|<td><a href=$form->{script}?action=edit&id=$ca->{id}&path=$form->{path}&login=$form->{login}&password=$form->{password}&callback=$callback&amount=$amount>$ca->{accno}</a></td>|;
+ $column_data{gifi_accno} = qq|<td><a href=$form->{script}?action=edit_gifi&accno=$ca->{gifi_accno}&path=$form->{path}&login=$form->{login}&password=$form->{password}&callback=$callback&amount=$amount>$ca->{gifi_accno}</a>&nbsp;</td>|;
+ $column_data{description} = qq|<td>$ca->{description}&nbsp;</td>|;
+ $column_data{debit} = qq|<td align=right>$ca->{debit}</td>|;
+ $column_data{credit} = qq|<td align=right>$ca->{credit}</td>|;
+ $column_data{link} = qq|<td>$ca->{link}&nbsp;</td>|;
+
+ }
+
+ map { print "$column_data{$_}\n" } @column_index;
+
+ print "</tr>\n";
+ }
+
+ print qq|
+ <tr><td colspan=$colspan><hr size=3 noshade></td></tr>
+</table>
+
+</body>
+</html>
+|;
+
+}
+
+
+sub delete { &{ "delete_$form->{type}" } };
+
+sub delete_account {
+
+ $form->{title} = $locale->text('Delete Account');
+
+ if ($form->{amount} != 0) {
+ $form->error($locale->text('Transactions exist; cannot delete account!'));
+ }
+
+ foreach $id (qw(inventory_accno_id income_accno_id expense_accno_id fxgain_accno_id fxloss_accno_id)) {
+ if ($form->{id} == $form->{$id}) {
+ $form->error($locale->text('Cannot delete default account!'));
+ }
+ }
+
+ $form->redirect($locale->text('Account deleted!')) if (AM->delete_account(\%myconfig, \%$form));
+ $form->error($locale->text('Cannot delete account!'));
+
+}
+
+
+sub list_gifi {
+
+ @{ $form->{fields} } = (accno, description);
+ $form->{table} = "gifi";
+ $form->{sortorder} = "accno";
+
+ AM->gifi_accounts(\%myconfig, \%$form);
+
+ $form->{title} = $locale->text('GIFI');
+
+ # construct callback
+ $callback = "$form->{script}?action=list_gifi&path=$form->{path}&login=$form->{login}&password=$form->{password}";
+
+ @column_index = qw(accno description);
+
+ $column_header{accno} = qq|<th class=listheading>|.$locale->text('GIFI').qq|</a></th>|;
+ $column_header{description} = qq|<th class=listheading>|.$locale->text('Description').qq|</a></th>|;
+
+
+ $form->header;
+ $colspan = $#column_index + 1;
+
+ print qq|
+<body>
+
+<table border=0 width=100%>
+ <tr><th class=listtop colspan=$colspan>$form->{title}</th></tr>
+ <tr height="5"></tr>
+ <tr class=listheading>
+|;
+
+ map { print "$column_header{$_}\n" } @column_index;
+
+ print qq|
+</tr>
+|;
+
+ # escape callback
+ $callback = $form->escape($callback);
+
+ foreach $ca (@{ $form->{ALL} }) {
+
+ $i++; $i %= 2;
+
+ print qq|
+<tr valign=top class=listrow$i>|;
+
+ $column_data{accno} = qq|<td><a href=$form->{script}?action=edit_gifi&coa=1&accno=$ca->{accno}&path=$form->{path}&login=$form->{login}&password=$form->{password}&callback=$callback>$ca->{accno}</td>|;
+ $column_data{description} = qq|<td>$ca->{description}&nbsp;</td>|;
+
+ map { print "$column_data{$_}\n" } @column_index;
+
+ print "</tr>\n";
+ }
+
+ print qq|
+ <tr>
+ <td colspan=$colspan><hr size=3 noshade></td>
+ </tr>
+</table>
+
+</body>
+</html>
+|;
+
+}
+
+
+sub add_gifi {
+ $form->{title} = "Add";
+
+ # construct callback
+ $form->{callback} = "$form->{script}?action=list_gifi&path=$form->{path}&login=$form->{login}&password=$form->{password}";
+
+ $form->{coa} = 1;
+
+ &gifi_header;
+ &gifi_footer;
+
+}
+
+
+sub edit_gifi {
+
+ $form->{title} = "Edit";
+
+ AM->get_gifi(\%myconfig, \%$form);
+
+ &gifi_header;
+ &gifi_footer;
+
+}
+
+
+sub gifi_header {
+
+ $form->{title} = $locale->text("$form->{title} GIFI");
+
+# $locale->text('Add GIFI')
+# $locale->text('Edit GIFI')
+
+ $form->{description} =~ s/"/&quot;/g;
+
+ $form->header;
+
+ print qq|
+<body>
+
+<form method=post action=$form->{script}>
+
+<input type=hidden name=id value=$form->{accno}>
+<input type=hidden name=type value=gifi>
+
+<table width=100%>
+ <tr>
+ <th class=listtop>$form->{title}</th>
+ </tr>
+ <tr height="5"></tr>
+ <tr>
+ <td>
+ <table>
+ <tr>
+ <th align=right>|.$locale->text('GIFI').qq|</th>
+ <td><input name=accno size=20 value=$form->{accno}></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Description').qq|</th>
+ <td><input name=description size=60 value="$form->{description}"></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td colspan=2><hr size=3 noshade></td>
+ </tr>
+</table>
+|;
+
+}
+
+
+sub gifi_footer {
+
+ print qq|
+
+<input name=callback type=hidden value="$form->{callback}">
+
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=login value=$form->{login}>
+<input type=hidden name=password value=$form->{password}>
+
+<br><input type=submit class=submit name=action value="|.$locale->text('Save').qq|">
+|;
+
+ if ($form->{coa}) {
+ print qq|
+<input type=submit class=submit name=action value="|.$locale->text('Copy to COA').qq|">
+|;
+
+ if ($form->{accno}) {
+ print qq|<input type=submit class=submit name=action value="|.$locale->text('Delete').qq|">|;
+ }
+ }
+
+ print qq|
+</form>
+
+</body>
+</html>
+|;
+
+}
+
+
+sub save_gifi {
+
+ $form->isblank("accno", $locale->text('GIFI missing!'));
+ AM->save_gifi(\%myconfig, \%$form);
+ $form->redirect($locale->text('GIFI saved!'));
+
+}
+
+
+sub copy_to_coa {
+
+ $form->isblank("accno", $locale->text('GIFI missing!'));
+
+ AM->save_gifi(\%myconfig, \%$form);
+
+ delete $form->{id};
+ $form->{gifi_accno} = $form->{accno};
+ $form->{title} = "Add";
+ $form->{charttype} = "A";
+
+ &form_header;
+ &form_footer;
+
+}
+
+
+sub delete_gifi {
+
+ AM->delete_gifi(\%myconfig, \%$form);
+ $form->redirect($locale->text('GIFI deleted!'));
+
+}
+
+
+sub display_stylesheet {
+
+ $form->{file} = "css/$myconfig{stylesheet}";
+ &display_form;
+
+}
+
+
+sub display_form {
+
+ $form->{file} =~ s/^(.:)*?\/|\.\.\///g;
+ $form->{file} =~ s/^\/*//g;
+ $form->{file} =~ s/$userspath//;
+
+ $form->error("$!: $form->{file}") unless -f $form->{file};
+
+ AM->load_template(\%$form);
+
+ $form->{title} = $form->{file};
+
+ # if it is anything but html
+ if ($form->{file} !~ /\.html$/) {
+ $form->{body} = "<pre>\n$form->{body}\n</pre>";
+ }
+
+ $form->header;
+
+ print qq|
+<body>
+
+$form->{body}
+
+<form method=post action=$form->{script}>
+
+<input name=file type=hidden value=$form->{file}>
+
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=login value=$form->{login}>
+<input type=hidden name=password value=$form->{password}>
+
+<input name=action type=submit class=submit value="|.$locale->text('Edit').qq|">
+</form>
+
+
+</body>
+</html>
+|;
+
+}
+
+
+sub edit_template {
+
+ AM->load_template(\%$form);
+
+ $form->{title} = $locale->text('Edit Template');
+ # convert &nbsp to &amp;nbsp;
+ $form->{body} =~ s/&nbsp;/&amp;nbsp;/gi;
+
+
+ $form->header;
+
+ print qq|
+<body>
+
+<form method=post action=$form->{script}>
+
+<input name=file type=hidden value=$form->{file}>
+<input name=type type=hidden value=template>
+
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=login value=$form->{login}>
+<input type=hidden name=password value=$form->{password}>
+
+<input name=callback type=hidden value="$form->{script}?action=display_form&file=$form->{file}&path=$form->{path}&login=$form->{login}&password=$form->{password}">
+
+<textarea name=body rows=25 cols=70>
+$form->{body}
+</textarea>
+
+<br>
+<input type=submit class=submit name=action value="|.$locale->text('Save').qq|">
+
+</form>
+
+
+</body>
+</html>
+|;
+
+}
+
+
+sub save_template {
+
+ AM->save_template(\%$form);
+ $form->redirect($locale->text('Template saved!'));
+
+}
+
+
+sub config {
+
+ # get defaults for account numbers and last numbers
+ AM->defaultaccounts(\%myconfig, \%$form);
+
+ foreach $item (qw(mm-dd-yy mm/dd/yy dd-mm-yy dd/mm/yy dd.mm.yy yyyy-mm-dd)) {
+ $dateformat .= ($item eq $myconfig{dateformat}) ? "<option selected>$item\n" : "<option>$item\n";
+ }
+
+ foreach $item (qw(1,000.00 1000.00 1.000,00 1000,00)) {
+ $numberformat .= ($item eq $myconfig{numberformat}) ? "<option selected>$item\n" : "<option>$item\n";
+ }
+
+ foreach $item (qw(name company address signature shippingpoint)) {
+ $myconfig{$item} =~ s/"/&quot;/g;
+ }
+
+ foreach $item (qw(address signature)) {
+ $myconfig{$item} =~ s/\\n/\r\n/g;
+ }
+
+ %countrycodes = User->country_codes;
+ $countrycodes = '';
+ foreach $key (sort { $countrycodes{$a} cmp $countrycodes{$b} } keys %countrycodes) {
+ $countrycodes .= ($myconfig{countrycode} eq $key) ? "<option selected value=$key>$countrycodes{$key}\n" : "<option value=$key>$countrycodes{$key}\n";
+ }
+ $countrycodes = "<option>American English\n$countrycodes";
+
+ foreach $key (keys %{ $form->{IC} }) {
+ foreach $accno (sort keys %{ $form->{IC}{$key} }) {
+ $myconfig{$key} .= ($form->{IC}{$key}{$accno}{id} == $form->{defaults}{$key}) ? "<option selected>$accno--$form->{IC}{$key}{$accno}{description}\n" : "<option>$accno--$form->{IC}{$key}{$accno}{description}\n";
+ }
+ }
+
+ $form->{title} = $locale->text('Edit Preferences for').qq| $form->{login}|;
+
+ $form->header;
+
+ print qq|
+<body>
+
+<form method=post action=$form->{script}>
+
+<input type=hidden name=old_password value=$myconfig{password}>
+<input type=hidden name=type value=preferences>
+
+<table width=100%>
+ <tr><th class=listtop>$form->{title}</th></tr>
+ <tr>
+ <td>
+ <table>
+ <tr>
+ <th align=right>|.$locale->text('Name').qq|</th>
+ <td><input name=name size=15 value="$myconfig{name}"></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Password').qq|</th>
+ <td><input type=password name=password size=10 value=$myconfig{password}></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('E-mail').qq|</th>
+ <td><input name=email size=30 value="$myconfig{email}"></td>
+ </tr>
+ <tr valign=top>
+ <th align=right>|.$locale->text('Signature').qq|</th>
+ <td><textarea name=signature rows=3 cols=50>$myconfig{signature}</textarea></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Phone').qq|</th>
+ <td><input name=tel size=14 value="$myconfig{tel}"></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Fax').qq|</th>
+ <td><input name=fax size=14 value="$myconfig{fax}"></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Company').qq|</th>
+ <td><input name=company size=30 value="$myconfig{company}"></td>
+ </tr>
+ <tr valign=top>
+ <th align=right>|.$locale->text('Address').qq|</th>
+ <td><textarea name=address rows=4 cols=50>$myconfig{address}</textarea></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Date Format').qq|</th>
+ <td><select name=dateformat>$dateformat</select></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Number Format').qq|</th>
+ <td><select name=numberformat>$numberformat</select></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Dropdown Limit').qq|</th>
+ <td><input name=vclimit size=10 value="$myconfig{vclimit}"></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Language').qq|</th>
+ <td><select name=countrycode>$countrycodes</select></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Character Set').qq|</th>
+ <td><input name=charset size=20 value="$myconfig{charset}"></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Stylesheet').qq|</th>
+ <td><input name=stylesheet size=20 value="$myconfig{stylesheet}"></td>
+ </tr>
+ <input name=printer type=hidden value="$myconfig{printer}">
+ <tr>
+ <th align=right>|.$locale->text('Ship via').qq|</th>
+ <td><input name=shippingpoint size=25 value="$myconfig{shippingpoint}"></td>
+ </tr>
+ <tr class=listheading>
+ <th colspan=2>&nbsp;</th>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Business Number').qq|</th>
+ <td><input name=businessnumber size=25 value="$myconfig{businessnumber}"></td>
+ </tr>
+ <tr>
+ <td colspan=2>
+ <table width=100%>
+ <tr>
+ <th align=right>|.$locale->text('Year End').qq| (mm/dd)</th>
+ <td><input name=yearend size=5 maxsize=5 value=$form->{defaults}{yearend}></td>
+ <th align=right>|.$locale->text('Weight Unit').qq|</th>
+ <td><input name=weightunit size=5 value="$form->{defaults}{weightunit}"></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr class=listheading>
+ <th class=listheading colspan=2>|.$locale->text('Last Numbers & Default Accounts').qq|</th>
+ </tr>
+ <tr>
+ <td colspan=2>
+ <table width=100%>
+ <tr>
+ <th width=1% align=right nowrap>|.$locale->text('Inventory Account').qq|</th>
+ <td><select name=inventory_accno>$myconfig{IC}</select></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Income Account').qq|</th>
+ <td><select name=income_accno>$myconfig{IC_income}</select></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Expense Account').qq|</th>
+ <td><select name=expense_accno>$myconfig{IC_expense}</select></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Foreign Exchange Gain').qq|</th>
+ <td><select name=fxgain_accno>$myconfig{FX_gain}</select></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Foreign Exchange Loss').qq|</th>
+ <td><select name=fxloss_accno>$myconfig{FX_loss}</select></td>
+ </tr>
+ <tr>
+ <td colspan=2>|.$locale->text('Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies').qq|<br><input name=curr size=40 value="$form->{defaults}{curr}"></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Last Invoice Number').qq|</th>
+ <td><input name=invnumber size=10 value=$form->{defaults}{invnumber}></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Last Sales Order Number').qq|</th>
+ <td><input name=sonumber size=10 value=$form->{defaults}{sonumber}></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Last Purchase Order Number').qq|</th>
+ <td><input name=ponumber size=10 value=$form->{defaults}{ponumber}></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr class=listheading>
+ <th class=listheading colspan=2>|.$locale->text('Tax Accounts').qq|</th>
+ </tr>
+ <tr>
+ <td colspan=2>
+ <table>
+ <tr>
+ <th>&nbsp;</th>
+ <th>|.$locale->text('Rate').qq| (%)</th>
+ <th>|.$locale->text('Number').qq|</th>
+ </tr>
+|;
+
+ foreach $accno (sort keys %{ $form->{taxrates} }) {
+ print qq|
+ <tr>
+ <th align=right>$form->{taxrates}{$accno}{description}</th>
+ <td><input name=$form->{taxrates}{$accno}{id} size=6 value=$form->{taxrates}{$accno}{rate}></td>
+ <td><input name="taxnumber_$form->{taxrates}{$accno}{id}" value="$form->{taxrates}{$accno}{taxnumber}"></td>
+ </tr>
+|;
+ $form->{taxaccounts} .= "$form->{taxrates}{$accno}{id} ";
+ }
+
+ chop $form->{taxaccounts};
+
+ print qq|
+<input name=taxaccounts type=hidden value="$form->{taxaccounts}">
+
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td><hr size=3 noshade></td>
+ </tr>
+</table>
+
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=login value=$form->{login}>
+<input type=hidden name=password value=$form->{password}>
+
+<br>
+<input type=submit class=submit name=action value="|.$locale->text('Save').qq|">
+</form>
+
+</body>
+</html>
+|;
+
+}
+
+
+sub save_preferences {
+
+ # does stylesheet exist
+ if ($form->{stylesheet}) {
+ $form->error($locale->text('Stylesheet').": css/$form->{stylesheet} ".$locale->text('does not exist')) unless (-f "css/$form->{stylesheet}");
+ }
+
+ $form->redirect($locale->text('Preferences saved!')) if (AM->save_preferences(\%myconfig, \%$form, $memberfile, $userspath));
+ $form->error($locale->text('Cannot save preferences!'));
+
+}
+
+
+sub backup {
+
+ if ($form->{media} eq 'email') {
+ $form->error($locale->text('No email address for')." $myconfig{name}") unless ($myconfig{email});
+
+ $form->{OUT} = "$sendmail";
+
+ }
+
+ AM->backup(\%myconfig, \%$form, $userspath);
+
+ if ($form->{media} eq 'email') {
+ $form->redirect($locale->text('Backup sent to').qq| $myconfig{email}|);
+ }
+
+}
+
+
+
+sub audit_control {
+
+ $form->{title} = $locale->text('Audit Control');
+
+ AM->closedto(\%myconfig, \%$form);
+
+ if ($form->{revtrans}) {
+ $checked{Y} = "checked";
+ } else {
+ $checked{N} = "checked";
+ }
+
+ $form->header;
+
+ print qq|
+<body>
+
+<form method=post action=$form->{script}>
+
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=login value=$form->{login}>
+<input type=hidden name=password value=$form->{password}>
+
+<table width=100%>
+ <tr><th class=listtop>$form->{title}</th></tr>
+ <tr height="5"></tr>
+ <tr>
+ <td>
+ <table>
+ <tr>
+ <td>|.$locale->text('Enforce transaction reversal for all dates').qq|</th>
+ <td><input name=revtrans class=radio type=radio value="1" $checked{Y}> |.$locale->text('Yes').qq| <input name=revtrans class=radio type=radio value="0" $checked{N}> |.$locale->text('No').qq|</td>
+ </tr>
+ <tr>
+ <td>|.$locale->text('Close Books up to').qq|</th>
+ <td><input name=closedto size=11 title="$myconfig{dateformat}" value=$form->{closedto}></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+
+<hr size=3 noshade>
+
+<br>
+<input type=hidden name=nextsub value=doclose>
+
+<input type=submit class=submit name=action value="|.$locale->text('Continue').qq|">
+
+</form>
+
+</body>
+</html>
+|;
+
+}
+
+
+sub doclose {
+
+ AM->closebooks(\%myconfig, \%$form);
+
+ if ($form->{revtrans}) {
+ $form->redirect($locale->text('Transaction reversal enforced for all dates'));
+ } else {
+ if ($form->{closedto}) {
+ $form->redirect($locale->text('Transaction reversal enforced up to')
+ ." ".$locale->date(\%myconfig, $form->{closedto}, 1));
+ } else {
+ $form->redirect($locale->text('Books are open'));
+ }
+ }
+
+}
+
+
+
+sub continue {
+
+ &{ $form->{nextsub} };
+
+}
+
+
diff --git a/sql-ledger/bin/mozilla/ap.pl b/sql-ledger/bin/mozilla/ap.pl
new file mode 100644
index 0000000..269f7cf
--- /dev/null
+++ b/sql-ledger/bin/mozilla/ap.pl
@@ -0,0 +1,1103 @@
+#=====================================================================
+# SQL-Ledger Accounting
+# Copyright (c) 2001
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#======================================================================
+#
+# Accounts Payables
+#
+#======================================================================
+
+
+use SL::AP;
+use SL::IR;
+use SL::PE;
+
+require "$form->{path}/arap.pl";
+
+1;
+# end of main
+
+
+# this is for our long dates
+# $locale->text('January')
+# $locale->text('February')
+# $locale->text('March')
+# $locale->text('April')
+# $locale->text('May ')
+# $locale->text('June')
+# $locale->text('July')
+# $locale->text('August')
+# $locale->text('September')
+# $locale->text('October')
+# $locale->text('November')
+# $locale->text('December')
+
+# this is for our short month
+# $locale->text('Jan')
+# $locale->text('Feb')
+# $locale->text('Mar')
+# $locale->text('Apr')
+# $locale->text('May')
+# $locale->text('Jun')
+# $locale->text('Jul')
+# $locale->text('Aug')
+# $locale->text('Sep')
+# $locale->text('Oct')
+# $locale->text('Nov')
+# $locale->text('Dec')
+
+
+sub add {
+
+ $form->{title} = "Add";
+
+ $form->{callback} = "$form->{script}?action=add&path=$form->{path}&login=$form->{login}&password=$form->{password}" unless $form->{callback};
+
+ &create_links;
+ &display_form;
+
+}
+
+
+sub edit {
+
+ $form->{title} = "Edit";
+
+ &create_links;
+ &display_form;
+
+}
+
+
+sub display_form {
+
+ &form_header;
+ &form_footer;
+
+}
+
+
+sub create_links {
+
+ $form->create_links("AP", \%myconfig, "vendor");
+
+ $taxincluded = $form->{taxincluded};
+ $duedate = $form->{duedate};
+
+ IR->get_vendor(\%myconfig, \%$form);
+
+ $form->{duedate} = $duedate;
+ $form->{oldvendor} = "$form->{vendor}--$form->{vendor_id}";
+
+ # build the popup menus
+
+ # currencies
+ @curr = split /:/, $form->{currencies};
+ chomp $curr[0];
+ $form->{defaultcurrency} = $curr[0];
+
+ map { $form->{selectcurrency} .= "<option>$_\n" } @curr;
+
+ # vendors
+ if (@{ $form->{all_vendor} }) {
+ $form->{vendor} = qq|$form->{vendor}--$form->{vendor_id}|;
+ map { $form->{selectvendor} .= "<option>$_->{name}--$_->{id}\n" } (@{ $form->{all_vendor} });
+ }
+
+
+ # forex
+ $form->{forex} = $form->{exchangerate};
+ $exchangerate = ($form->{exchangerate}) ? $form->{exchangerate} : 1;
+
+ foreach $key (keys %{ $form->{AP_links} }) {
+
+ foreach $ref (@{ $form->{AP_links}{$key} }) {
+ if ($key eq "AP_tax") {
+ $form->{"selectAP_tax_$ref->{accno}"} = "<option>$ref->{accno}--$ref->{description}\n";
+ next;
+ }
+ $form->{"select$key"} .= "<option>$ref->{accno}--$ref->{description}\n";
+ }
+
+ # if there is a value we have an old entry
+ for $i (1 .. scalar @{ $form->{acc_trans}{$key} }) {
+
+ if ($key eq "AP_paid") {
+ $form->{"AP_paid_$i"} = "$form->{acc_trans}{$key}->[$i-1]->{accno}--$form->{acc_trans}{$key}->[$i-1]->{description}";
+ $form->{"paid_$i"} = $form->{acc_trans}{$key}->[$i-1]->{amount};
+ $form->{"datepaid_$i"} = $form->{acc_trans}{$key}->[$i-1]->{transdate};
+ $form->{"source_$i"} = $form->{acc_trans}{$key}->[$i-1]->{source};
+
+ $form->{"forex_$i"} = $form->{"exchangerate_$i"} = $form->{acc_trans}{$key}->[$i-1]->{exchangerate};
+
+ $form->{paidaccounts}++;
+ } else {
+
+ $akey = $key;
+ $akey =~ s/AP_//;
+
+ if ($key eq "AP_tax") {
+ $form->{"${key}_$form->{acc_trans}{$key}->[$i-1]->{accno}"} = "$form->{acc_trans}{$key}->[$i-1]->{accno}--$form->{acc_trans}{$key}->[$i-1]->{description}";
+ $form->{"${akey}_$form->{acc_trans}{$key}->[$i-1]->{accno}"} = $form->round_amount($form->{acc_trans}{$key}->[$i-1]->{amount} / $exchangerate * -1, 2);
+ $totaltax += $form->{"${akey}_$form->{acc_trans}{$key}->[$i-1]->{accno}"};
+ } else {
+ $form->{"${akey}_$i"} = $form->round_amount($form->{acc_trans}{$key}->[$i-1]->{amount} / $exchangerate, 2);
+ if ($akey eq 'amount') {
+ $form->{"${akey}_$i"} *= -1;
+ $totalamount += $form->{"${akey}_$i"};
+ $form->{rowcount}++;
+
+ $form->{"oldprojectnumber_$i"} = $form->{"projectnumber_$i"} = "$form->{acc_trans}{$key}->[$i-1]->{projectnumber}";
+ $form->{"project_id_$i"} = "$form->{acc_trans}{$key}->[$i-1]->{project_id}";
+ }
+ $form->{"${key}_$i"} = "$form->{acc_trans}{$key}->[$i-1]->{accno}--$form->{acc_trans}{$key}->[$i-1]->{description}";
+ }
+ }
+ }
+ }
+
+ $form->{taxincluded} = $taxincluded if ($form->{id});
+ $form->{paidaccounts} = 1 if not defined $form->{paidaccounts};
+
+ if ($form->{taxincluded} && $totalamount) {
+ # add tax to amounts and invtotal
+ for $i (1 .. $form->{rowcount}) {
+ $taxamount = $totaltax * $form->{"amount_$i"} / $totalamount;
+ $tax = $form->round_amount($taxamount, 2);
+ $diff += ($taxamount - $tax);
+ $form->{"amount_$i"} += $tax;
+ }
+ $form->{amount_1} += $form->round_amount($diff, 2);
+ }
+
+ $form->{invtotal} = $totalamount + $totaltax;
+ $form->{rowcount}++ if $form->{id};
+
+ $form->{AP} = $form->{AP_1};
+
+ $form->{locked} = ($form->datetonum($form->{transdate}, \%myconfig) <= $form->datetonum($form->{closedto}, \%myconfig));
+
+}
+
+
+sub form_header {
+
+ $title = $form->{title};
+ $form->{title} = $locale->text("$title Accounts Payables Transaction");
+
+ $form->{taxincluded} = ($form->{taxincluded}) ? "checked" : "";
+
+# type=submit $locale->text('Add Accounts Payables Transaction')
+# type=submit $locale->text('Edit Accounts Payables Transaction')
+
+ # set option selected
+ foreach $item (qw(AP vendor currency)) {
+ $form->{"select$item"} =~ s/ selected//;
+ $form->{"select$item"} =~ s/option>\Q$form->{$item}\E/option selected>$form->{$item}/;
+ }
+
+
+ # format amounts
+ $form->{exchangerate} = $form->format_amount(\%myconfig, $form->{exchangerate});
+
+ $exchangerate = qq|
+<input type=hidden name=forex value=$form->{forex}>
+|;
+ if ($form->{currency} ne $form->{defaultcurrency}) {
+ if ($form->{forex}) {
+ $exchangerate .= qq|
+ <th align=right>|.$locale->text('Exchangerate').qq|</th>
+ <td><input type=hidden name=exchangerate value=$form->{exchangerate}>$form->{exchangerate}</td>
+|;
+ } else {
+ $exchangerate .= qq|
+ <th align=right>|.$locale->text('Exchangerate').qq|</th>
+ <td><input name=exchangerate size=10 value=$form->{exchangerate}></td>
+|;
+ }
+ }
+
+ $taxincluded = "";
+ if ($form->{taxaccounts}) {
+ $taxincluded = qq|
+ <tr>
+ <td align=right><input name=taxincluded class=checkbox type=checkbox value=1 $form->{taxincluded}></td>
+ <th align=left nowrap>|.$locale->text('Tax Included').qq|</th>
+ </tr>
+|;
+ }
+
+
+ if (($rows = $form->numtextrows($form->{notes}, 50)) < 2) {
+ $rows = 2;
+ }
+ $notes = qq|<textarea name=notes rows=$rows cols=50 wrap=soft>$form->{notes}</textarea>|;
+
+
+ $form->header;
+
+ $vendor = ($form->{selectvendor}) ? qq|<select name=vendor>$form->{selectvendor}</select>| : qq|<input name=vendor value="$form->{vendor}" size=35>|;
+
+ print qq|
+<body>
+
+<form method=post action=$form->{script}>
+
+<input type=hidden name=id value=$form->{id}>
+<input type=hidden name=sort value=$form->{sort}>
+<input type=hidden name=closedto value=$form->{closedto}>
+<input type=hidden name=locked value=$form->{locked}>
+<input type=hidden name=title value="$title">
+
+<table width=100%>
+ <tr class=listtop>
+ <th class=listtop>$form->{title}</th>
+ </tr>
+ <tr height="5"></tr>
+ <tr valign=top>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td>
+ <table>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Vendor').qq|</th>
+ <td colspan=3>$vendor</td>
+ <input type=hidden name=selectvendor value="$form->{selectvendor}">
+ <input type=hidden name=oldvendor value="$form->{oldvendor}">
+ <input type=hidden name=vendor_id value="$form->{vendor_id}">
+ <input type=hidden name=terms value=$form->{terms}>
+ </tr>
+ $taxincluded
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Currency').qq|</th>
+ <td><select name=currency>$form->{selectcurrency}</select></td>
+ <input type=hidden name=selectcurrency value="$form->{selectcurrency}">
+ <input type=hidden name=defaultcurrency value=$form->{defaultcurrency}>
+ <input type=hidden name=fxgain_accno value=$form->{fxgain_accno}>
+ <input type=hidden name=fxloss_accno value=$form->{fxloss_accno}>
+ $exchangerate
+ </tr>
+ </table>
+ </td>
+ <td align=right>
+ <table>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Invoice Number').qq|</th>
+ <td><input name=invnumber size=11 value="$form->{invnumber}"></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Order Number').qq|</th>
+ <td><input name=ordnumber size=11 value="$form->{ordnumber}"></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Invoice Date').qq|</th>
+ <td><input name=transdate size=11 title="$myconfig{'dateformat'}" value=$form->{transdate}></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Due Date').qq|</th>
+ <td><input name=duedate size=11 title="$myconfig{'dateformat'}" value=$form->{duedate}></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <input type=hidden name=selectAP_amount value="$form->{selectAP_amount}">
+ <input type=hidden name=rowcount value=$form->{rowcount}>
+ <tr>
+ <td>
+ <table width=100%>
+|;
+
+ $amount = $locale->text('Amount');
+ $project = $locale->text('Project');
+
+ for $i (1 .. $form->{rowcount}) {
+
+ $form->{"selectAP_amount"} =~ s/ selected//;
+ $form->{"selectAP_amount"} =~ s/option>\Q$form->{"AP_amount_$i"}\E/option selected>$form->{"AP_amount_$i"}/;
+
+ # format amounts
+ $form->{"amount_$i"} = $form->format_amount(\%myconfig, $form->{"amount_$i"}, 2);
+
+ print qq|
+ <tr>
+ <th align=right nowrap>$amount</th>
+ <td><input name="amount_$i" size=10 value=$form->{"amount_$i"}></td>
+ <th>$project</th>
+ <td><input name="projectnumber_$i" size=20 value="$form->{"projectnumber_$i"}">
+ <input type=hidden name="project_id_$i" value=$form->{"project_id_$i"}>
+ <input type=hidden name="oldprojectnumber_$i" value="$form->{"oldprojectnumber_$i"}"></td>
+ <td width=50%><select name="AP_amount_$i">$form->{selectAP_amount}</select></td>
+ </tr>
+|;
+ $amount = "";
+ $project = "";
+ }
+
+ $taxlabel = ($form->{taxincluded}) ? $locale->text('Tax Included') : $locale->text('Tax');
+
+ foreach $item (split / /, $form->{taxaccounts}) {
+
+ # format and reverse tax
+ $form->{"tax_$item"} = $form->format_amount(\%myconfig, $form->{"tax_$item"}, 2);
+
+ print qq|
+ <tr>
+ <th align=right nowrap>${taxlabel}</th>
+ <td><input name="tax_$item" size=10 value=$form->{"tax_$item"}></td>
+ <td colspan=2></td>
+ <td><select name=AP_tax_$item>$form->{"selectAP_tax_$item"}</select></td>
+ </tr>
+ <input type=hidden name="${item}_rate" value="$form->{"${item}_rate"}">
+ <input type=hidden name="${item}_description" value="$form->{"${item}_description"}">
+ <input type=hidden name="selectAP_tax_$item" value="$form->{"selectAP_tax_$item"}">
+|;
+ }
+
+ $form->{invtotal} = $form->format_amount(\%myconfig, $form->{invtotal}, 2);
+
+ print qq|
+ <tr>
+ <th align=right nowrap>|.$locale->text('Total').qq|</th>
+ <td>$form->{invtotal}</td>
+ <td colspan=2></td>
+ <td><select name=AP>$form->{selectAP}</select></td>
+ <input type=hidden name=selectAP value="$form->{selectAP}">
+ <input type=hidden name=taxaccounts value="$form->{taxaccounts}">
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Notes').qq|</th>
+ <td colspan=5>$notes</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <table width=100%>
+ <tr class=listheading>
+ <th class=listheading colspan=5>|.$locale->text('Payments').qq|</th>
+ </tr>
+|;
+
+
+ if ($form->{currency} eq $form->{defaultcurrency}) {
+ @column_index = qw(datepaid source paid AP_paid);
+ } else {
+ @column_index = qw(datepaid source paid exchangerate AP_paid);
+ }
+
+ $column_data{datepaid} = "<th>".$locale->text('Date')."</th>";
+ $column_data{paid} = "<th>".$locale->text('Amount')."</th>";
+ $column_data{exchangerate} = "<th>".$locale->text('Exch')."</th>";
+ $column_data{AP_paid} = "<th>".$locale->text('Account')."</th>";
+ $column_data{source} = "<th>".$locale->text('Source')."</th>";
+
+ print "
+ <tr>
+";
+ map { print "$column_data{$_}\n" } @column_index;
+ print "
+ </tr>
+";
+
+ $form->{paidaccounts}++ if ($form->{"paid_$form->{paidaccounts}"});
+ for $i (1 .. $form->{paidaccounts}) {
+ print "
+ <tr>
+";
+
+ $form->{"selectAP_paid_$i"} = $form->{selectAP_paid};
+ $form->{"selectAP_paid_$i"} =~ s/option>\Q$form->{"AP_paid_$i"}\E/option selected>$form->{"AP_paid_$i"}/;
+
+ # format amounts
+ $form->{"paid_$i"} = $form->format_amount(\%myconfig, $form->{"paid_$i"}, 2);
+ $form->{"exchangerate_$i"} = $form->format_amount(\%myconfig, $form->{"exchangerate_$i"});
+
+ $exchangerate = qq|&nbsp;|;
+ if ($form->{currency} ne $form->{defaultcurrency}) {
+ if ($form->{"forex_$i"}) {
+ $exchangerate = qq|<input type=hidden name="exchangerate_$i" value=$form->{"exchangerate_$i"}>$form->{"exchangerate_$i"}|;
+ } else {
+ $exchangerate = qq|<input name="exchangerate_$i" size=10 value=$form->{"exchangerate_$i"}>|;
+ }
+ }
+
+ $exchangerate .= qq|
+<input type=hidden name="forex_$i" value=$form->{"forex_$i"}>
+|;
+
+ $column_data{"paid_$i"} = qq|<td align=center><input name="paid_$i" size=10 value=$form->{"paid_$i"}></td>|;
+ $column_data{"AP_paid_$i"} = qq|<td align=center><select name="AP_paid_$i">$form->{"selectAP_paid_$i"}</select></td>|;
+ $column_data{"exchangerate_$i"} = qq|<td align=center>$exchangerate</td>|;
+ $column_data{"datepaid_$i"} = qq|<td align=center><input name="datepaid_$i" size=11 title="($myconfig{'dateformat'})" value=$form->{"datepaid_$i"}></td>|;
+ $column_data{"source_$i"} = qq|<td align=center><input name="source_$i" size=10 value="$form->{"source_$i"}"></td>|;
+
+ map { print qq|$column_data{"${_}_$i"}\n| } @column_index;
+
+ print "
+ </tr>
+";
+ }
+
+ print qq|
+ <input type=hidden name=paidaccounts value=$form->{paidaccounts}>
+ <input type=hidden name=selectAP_paid value="$form->{selectAP_paid}">
+
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td><hr size=3 noshade></td>
+ </tr>
+</table>
+|;
+
+}
+
+
+sub form_footer {
+
+ print qq|
+
+<input name=callback type=hidden value="$form->{callback}">
+
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=login value=$form->{login}>
+<input type=hidden name=password value=$form->{password}>
+
+<br>
+|;
+
+ $transdate = $form->datetonum($form->{transdate}, \%myconfig);
+ $closedto = $form->datetonum($form->{closedto}, \%myconfig);
+
+ if ($form->{id}) {
+ print qq|<input class=submit type=submit name=action value="|.$locale->text('Update').qq|">
+|;
+
+ if (!$form->{revtrans}) {
+ if (!$form->{locked}) {
+ print qq|
+ <input class=submit type=submit name=action value="|.$locale->text('Post').qq|">
+ <input class=submit type=submit name=action value="|.$locale->text('Delete').qq|">
+|;
+ }
+ }
+
+ if ($transdate > $closedto) {
+ print qq|
+<input class=submit type=submit name=action value="|.$locale->text('Post as new').qq|">
+|;
+ }
+
+ } else {
+ if ($transdate > $closedto) {
+ print qq|<input class=submit type=submit name=action value="|.$locale->text('Update').qq|">
+ <input class=submit type=submit name=action value="|.$locale->text('Post').qq|">|;
+ }
+ }
+
+ print "
+</form>
+
+</body>
+</html>
+";
+
+}
+
+
+sub update {
+ my $display = shift;
+
+ if ($display) {
+ goto TAXCALC;
+ }
+
+ $form->{invtotal} = 0;
+
+ $form->{exchangerate} = $form->parse_amount(\%myconfig, $form->{exchangerate});
+
+ @flds = qw(amount AP_amount projectnumber oldprojectnumber project_id);
+ $count = 0;
+ for $i (1 .. $form->{rowcount}) {
+ $form->{"amount_$i"} = $form->parse_amount(\%myconfig, $form->{"amount_$i"});
+ if ($form->{"amount_$i"}) {
+ push @a, {};
+ my $j = $#a;
+ map { $a[$j]->{$_} = $form->{"${_}_$i"} } @flds;
+ $count++;
+ }
+ }
+ $form->redo_rows(\@flds, \@a, $count, $form->{rowcount});
+ $form->{rowcount} = $count + 1;
+
+ map { $form->{invtotal} += $form->{"amount_$_"} } (1 .. $form->{rowcount});
+
+ $form->{exchangerate} = $exchangerate if ($form->{forex} = ($exchangerate = $form->check_exchangerate(\%myconfig, $form->{currency}, $form->{transdate}, 'sell')));
+
+ $form->{invdate} = $form->{transdate};
+ &check_name(vendor);
+
+ &check_project;
+
+
+TAXCALC:
+ # recalculate taxes
+ if ($form->{taxincluded}) {
+ $taxrate = 0;
+
+ map { $taxrate += $form->{"${_}_rate"} } split / /, $form->{taxaccounts};
+
+ foreach $item (split / /, $form->{taxaccounts}) {
+ $amount = ($form->{invtotal} * (1 - 1 / (1 + $taxrate)) * $form->{"${item}_rate"} / $taxrate) if $taxrate;
+ $form->{"tax_$item"} = $form->round_amount($amount, 2);
+ $taxdiff += ($amount - $form->{"tax_$item"});
+ if (abs $taxdiff >= 0.005) {
+ $form->{"tax_$item"} += $form->round_amount($taxdiff, 2);
+ $taxdiff = 0;
+ }
+ $form->{"selectAP_tax_$item"} = qq|<option>$item--$form->{"${item}_description"}|;
+ $totaltax += $form->{"tax_$item"};
+ }
+ } else {
+ foreach $item (split / /, $form->{taxaccounts}) {
+ $form->{"tax_$item"} = $form->round_amount($form->{invtotal} * $form->{"${item}_rate"}, 2);
+ $form->{"selectAP_tax_$item"} = qq|<option>$item--$form->{"${item}_description"}|;
+ $totaltax += $form->{"tax_$item"};
+ }
+ }
+
+ $form->{invtotal} = ($form->{taxincluded}) ? $form->{invtotal} : $form->{invtotal} + $totaltax;
+
+ for $i (1 .. $form->{paidaccounts}) {
+ if ($form->{"paid_$i"}) {
+ map { $form->{"${_}_$i"} = $form->parse_amount(\%myconfig, $form->{"${_}_$i"}) } qw(paid exchangerate);
+
+ $form->{"exchangerate_$i"} = $exchangerate if ($form->{"forex_$i"} = ($exchangerate = $form->check_exchangerate(\%myconfig, $form->{currency}, $form->{"datepaid_$i"}, 'sell')));
+ }
+ }
+
+ &display_form;
+
+}
+
+
+sub post {
+
+ # check if there is an invoice number, invoice and due date
+ $form->isblank("invnumber", $locale->text("Invoice Number missing!"));
+ $form->isblank("transdate", $locale->text("Invoice Date missing!"));
+ $form->isblank("duedate", $locale->text("Due Date missing!"));
+ $form->isblank("vendor", $locale->text('Vendor missing!'));
+
+
+ $closedto = $form->datetonum($form->{closedto}, \%myconfig);
+ $transdate = $form->datetonum($form->{transdate}, \%myconfig);
+
+ $form->error($locale->text('Cannot post transaction for a closed period!')) if ($transdate <= $closedto);
+
+ $form->isblank("exchangerate", $locale->text('Exchangerate missing!')) if ($form->{currency} ne $form->{defaultcurrency});
+
+ for $i (1 .. $form->{paidaccounts}) {
+ if ($form->{"paid_$i"}) {
+ $datepaid = $form->datetonum($form->{"datepaid_$i"}, \%myconfig);
+
+ $form->isblank("datepaid_$i", $locale->text('Payment date missing!'));
+
+ $form->error($locale->text('Cannot post payment for a closed period!')) if ($datepaid <= $closedto);
+
+ if ($form->{currency} ne $form->{defaultcurrency}) {
+ $form->{"exchangerate_$i"} = $form->{exchangerate} if ($transdate == $datepaid);
+ $form->isblank("exchangerate_$i", $locale->text('Exchangerate for payment missing!'));
+ }
+
+ }
+ }
+
+
+ # if old vendor ne vendor redo form
+ ($vendor) = split /--/, $form->{vendor};
+ if ($form->{oldvendor} ne "$vendor--$form->{vendor_id}") {
+ &update;
+ exit;
+ }
+
+ $form->{id} = 0 if $form->{postasnew};
+
+ $form->redirect($locale->text('Transaction posted!')) if (AP->post_transaction(\%myconfig, \%$form));
+ $form->error($locale->text('Cannot post transaction!'));
+
+}
+
+
+sub post_as_new {
+
+ $form->{postasnew} = 1;
+ &post;
+
+}
+
+
+sub delete {
+
+ $form->{title} = $locale->text('Confirm!');
+
+ $form->header;
+
+ print qq|
+<body>
+
+<form method=post action=$form->{script}>
+|;
+
+ foreach $key (keys %$form) {
+ print qq|<input type=hidden name=$key value="$form->{$key}">\n|;
+ }
+
+ print qq|
+<h2 class=confirm>$form->{title}</h2>
+
+<h4>|.$locale->text('Are you sure you want to delete Transaction').qq| $form->{invnumber}</h4>
+
+<input name=action class=submit type=submit value="|.$locale->text('Yes').qq|">
+</form>
+
+</body>
+</html>
+|;
+
+}
+
+
+
+sub yes {
+
+ $form->redirect($locale->text('Transaction deleted!')) if (AP->delete_transaction(\%myconfig, \%$form));
+ $form->error($locale->text('Cannot delete transaction!'));
+
+}
+
+
+sub search {
+
+ # setup vendor selection
+ $form->all_vc(\%myconfig, "vendor");
+
+ if (@{ $form->{all_vendor} }) {
+ map { $vendor .= "<option>$_->{name}--$_->{id}\n" } @{ $form->{all_vendor} };
+ $vendor = qq|<select name=vendor><option>\n$vendor\n</select>|;
+ } else {
+ $vendor = qq|<input name=vendor size=35>|;
+ }
+
+ $form->{title} = $locale->text('AP Transactions');
+
+ $form->header;
+
+ print qq|
+<body>
+
+<form method=post action=$form->{script}>
+
+<table width=100%>
+ <tr>
+ <th class=listtop>$form->{title}</th>
+ </tr>
+ <tr height="5"></tr>
+ <tr>
+ <td>
+ <table>
+ <tr>
+ <th align=right>|.$locale->text('Vendor').qq|</th>
+ <td colspan=3>$vendor</td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Invoice Number').qq|</th>
+ <td colspan=3><input name=invnumber size=20></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Order Number').qq|</th>
+ <td colspan=3><input name=ordnumber size=20></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Notes').qq|</th>
+ <td colspan=3><input name=notes size=40></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('From').qq|</th>
+ <td><input name=transdatefrom size=11 title="$myconfig{dateformat}"></td>
+ <th align=right>|.$locale->text('to').qq|</th>
+ <td><input name=transdateto size=11 title="$myconfig{dateformat}"></td>
+ </tr>
+ <input type=hidden name=sort value=transdate>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <table>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Include in Report').qq|</th>
+ <td>
+ <table width=100%>
+ <tr>
+ <td align=right><input name=open class=checkbox type=checkbox value=Y checked></td>
+ <td nowrap>|.$locale->text('Open').qq|</td>
+ <td align=right><input name=closed class=checkbox type=checkbox value=Y></td>
+ <td nowrap>|.$locale->text('Closed').qq|</td>
+ </tr>
+ <tr>
+ <td align=right><input name="l_id" class=checkbox type=checkbox value=Y></td>
+ <td nowrap>|.$locale->text('ID').qq|</td>
+ <td align=right><input name="l_invnumber" class=checkbox type=checkbox value=Y checked></td>
+ <td nowrap>|.$locale->text('Invoice Number').qq|</td>
+ <td align=right><input name="l_ordnumber" class=checkbox type=checkbox value=Y></td>
+ <td nowrap>|.$locale->text('Order Number').qq|</td>
+ </tr>
+ <tr>
+ <td align=right><input name="l_name" class=checkbox type=checkbox value=Y checked></td>
+ <td nowrap>|.$locale->text('Vendor').qq|</td>
+ <td align=right><input name="l_transdate" class=checkbox type=checkbox value=Y checked></td>
+ <td nowrap>|.$locale->text('Invoice Date').qq|</td>
+ <td align=right><input name="l_netamount" class=checkbox type=checkbox value=Y></td>
+ <td nowrap>|.$locale->text('Amount').qq|</td>
+ </tr>
+ <tr>
+ <td align=right><input name="l_tax" class=checkbox type=checkbox value=Y></td>
+ <td nowrap>|.$locale->text('Tax').qq|</td>
+ <td align=right><input name="l_amount" class=checkbox type=checkbox value=Y checked></td>
+ <td nowrap>|.$locale->text('Total').qq|</td>
+ <td align=right><input name="l_datepaid" class=checkbox type=checkbox value=Y></td>
+ <td nowrap>|.$locale->text('Date Paid').qq|</td>
+ </tr>
+ <tr>
+ <td align=right><input name="l_paid" class=checkbox type=checkbox value=Y checked></td>
+ <td nowrap>|.$locale->text('Paid').qq|</td>
+ <td align=right><input name="l_duedate" class=checkbox type=checkbox value=Y></td>
+ <td nowrap>|.$locale->text('Due Date').qq|</td>
+ <td align=right><input name="l_due" class=checkbox type=checkbox value=Y></td>
+ <td nowrap>|.$locale->text('Amount Due').qq|</td>
+ </tr>
+ <tr>
+ <td align=right><input name="l_notes" class=checkbox type=checkbox value=Y></td>
+ <td nowrap>|.$locale->text('Notes').qq|</td>
+ <td align=right><input name="l_employee" class=checkbox type=checkbox value=Y></td>
+ <td nowrap>|.$locale->text('Employee').qq|</td>
+ </tr>
+ <tr>
+ <td align=right><input name="l_subtotal" class=checkbox type=checkbox value=Y></td>
+ <td nowrap>|.$locale->text('Subtotal').qq|</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td><hr size=3 noshade></td>
+ </tr>
+</table>
+
+<br>
+<input type=hidden name=nextsub value=$form->{nextsub}>
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=login value=$form->{login}>
+<input type=hidden name=password value=$form->{password}>
+
+<input class=submit type=submit name=action value="|.$locale->text('Continue').qq|">
+</form>
+
+</body>
+</html>
+|;
+
+}
+
+
+sub ap_transactions {
+
+ $form->{vendor} = $form->unescape($form->{vendor});
+ ($form->{vendor}, $form->{vendor_id}) = split(/--/, $form->{vendor});
+
+ AP->ap_transactions(\%myconfig, \%$form);
+
+ $callback = "$form->{script}?action=ap_transactions&path=$form->{path}&login=$form->{login}&password=$form->{password}";
+ $href = $callback;
+
+
+ if ($form->{vendor}) {
+ $callback .= "&vendor=".$form->escape($form->{vendor});
+ $href .= "&vendor=".$form->escape($form->{vendor});
+ $option .= $locale->text('Vendor')." : $form->{vendor}";
+ }
+ if ($form->{invnumber}) {
+ $callback .= "&invnumber=$form->{invnumber}";
+ $href .= "&invnumber=".$form->escape($form->{invnumber});
+ $option .= "\n<br>" if ($option);
+ $option .= $locale->text('Invoice Number')." : $form->{invnumber}";
+ }
+ if ($form->{ordnumber}) {
+ $callback .= "&ordnumber=$form->{ordnumber}";
+ $href .= "&ordnumber=".$form->escape($form->{ordnumber});
+ $option .= "\n<br>" if ($option);
+ $option .= $locale->text('Order Number')." : $form->{ordnumber}";
+ }
+ if ($form->{notes}) {
+ $callback .= "&notes=$form->{notes}";
+ $href .= "&notes=".$form->escape($form->{notes});
+ $option .= "\n<br>" if $option;
+ $option .= $locale->text('Notes')." : $form->{notes}";
+ }
+
+ if ($form->{transdatefrom}) {
+ $callback .= "&transdatefrom=$form->{transdatefrom}";
+ $href .= "&transdatefrom=$form->{transdatefrom}";
+ $option .= "\n<br>" if ($option);
+ $option .= $locale->text('From')." ".$locale->date(\%myconfig, $form->{transdatefrom}, 1);
+ }
+ if ($form->{transdateto}) {
+ $callback .= "&transdateto=$form->{transdateto}";
+ $href .= "&transdateto=$form->{transdateto}";
+ $option .= "\n<br>" if ($option);
+ $option .= $locale->text('to')." ".$locale->date(\%myconfig, $form->{transdateto}, 1);
+ }
+ if ($form->{open}) {
+ $callback .= "&open=$form->{open}";
+ $href .= "&open=$form->{open}";
+ $option .= "\n<br>" if ($option);
+ $option .= $locale->text('Open');
+ }
+ if ($form->{closed}) {
+ $callback .= "&closed=$form->{closed}";
+ $href .= "&closed=$form->{closed}";
+ $option .= "\n<br>" if ($option);
+ $option .= $locale->text('Closed');
+ }
+
+ @columns = $form->sort_columns(qw(transdate id invnumber ordnumber name netamount tax amount paid datepaid due duedate notes employee));
+
+ foreach $item (@columns) {
+ if ($form->{"l_$item"} eq "Y") {
+ push @column_index, $item;
+
+ # add column to href and callback
+ $callback .= "&l_$item=Y";
+ $href .= "&l_$item=Y";
+ }
+ }
+
+ if ($form->{l_subtotal} eq 'Y') {
+ $callback .= "&l_subtotal=Y";
+ $href .= "&l_subtotal=Y";
+ }
+
+
+ $column_header{id} = qq|<th><a class=listheading href=$href&sort=id>|.$locale->text('ID').qq|</a></th>|;
+ $column_header{transdate} = qq|<th><a class=listheading href=$href&sort=transdate>|.$locale->text('Date').qq|</a></th>|;
+ $column_header{duedate} = qq|<th><a class=listheading href=$href&sort=duedate>|.$locale->text('Due Date').qq|</a></th>|;
+ $column_header{due} = qq|<th class=listheading>|.$locale->text('Amount Due').qq|</th>|;
+ $column_header{invnumber} = qq|<th><a class=listheading href=$href&sort=invnumber>|.$locale->text('Invoice').qq|</a></th>|;
+ $column_header{ordnumber} = qq|<th><a class=listheading href=$href&sort=ordnumber>|.$locale->text('Order').qq|</a></th>|;
+ $column_header{name} = qq|<th><a class=listheading href=$href&sort=name>|.$locale->text('Vendor').qq|</a></th>|;
+ $column_header{netamount} = qq|<th class=listheading>|.$locale->text('Amount').qq|</th>|;
+ $column_header{tax} = qq|<th class=listheading>|.$locale->text('Tax').qq|</th>|;
+ $column_header{amount} = qq|<th class=listheading>|.$locale->text('Total').qq|</th>|;
+ $column_header{paid} = qq|<th class=listheading>|.$locale->text('Paid').qq|</th>|;
+ $column_header{datepaid} = qq|<th><a class=listheading href=$href&sort=datepaid>|.$locale->text('Date Paid').qq|</a></th>|;
+ $column_header{notes} = qq|<th><a class=listheading>|.$locale->text('Notes').qq|</th>|;
+ $column_header{employee} = "<th><a class=listheading href=$href&sort=employee>".$locale->text('Employee')."</th>";
+
+
+ $form->{title} = $locale->text('AP Transactions');
+
+ $form->header;
+
+ print qq|
+<body>
+
+<table width=100%>
+ <tr>
+ <th class=listtop>$form->{title}</th>
+ </tr>
+ <tr height="5"></tr>
+ <tr>
+ <td>$option</td>
+ </tr>
+ <tr>
+ <td>
+ <table width=100%>
+ <tr class=listheading>
+|;
+
+ map { print "\n$column_header{$_}" } @column_index;
+
+ print qq|
+ </tr>
+|;
+
+ # add sort and escape callback
+ $form->{callback} = "$callback&sort=$form->{sort}";
+ $callback = $form->escape($form->{callback});
+
+ if (@{ $form->{AP} }) {
+ $sameitem = $form->{AP}->[0]->{$form->{sort}};
+ }
+
+ # sums and tax on reports by Antonio Gallardo
+ #
+ foreach $ap (@{ $form->{AP} }) {
+
+ if ($form->{l_subtotal} eq 'Y') {
+ if ($sameitem ne $ap->{$form->{sort}}) {
+ &ap_subtotal;
+ $sameitem = $ap->{$form->{sort}};
+ }
+ }
+
+ $column_data{netamount} = "<td align=right>".$form->format_amount(\%myconfig, $ap->{netamount}, 2, "&nbsp;")."</td>";
+ $column_data{tax} = "<td align=right>".$form->format_amount(\%myconfig, $ap->{amount} - $ap->{netamount}, 2, "&nbsp;") . "</td>";
+ $column_data{amount} = "<td align=right>".$form->format_amount(\%myconfig, $ap->{amount}, 2, "&nbsp;") . "</td>";
+ $column_data{paid} = "<td align=right>".$form->format_amount(\%myconfig, $ap->{paid}, 2, "&nbsp;")."</td>";
+ $column_data{due} = "<td align=right>".$form->format_amount(\%myconfig, $ap->{amount} - $ap->{paid}, 2, "&nbsp;")."</td>";
+
+ $totalnetamount += $ap->{netamount};
+ $totalamount += $ap->{amount};
+ $totalpaid += $ap->{paid};
+ $totaldue += ($ap->{amount} - $ap->{paid});
+
+ $subtotalnetamount += $ap->{netamount};
+ $subtotalamount += $ap->{amount};
+ $subtotalpaid += $ap->{paid};
+ $subtotaldue += ($ap->{amount} - $ap->{paid});
+
+ $column_data{transdate} = "<td>$ap->{transdate}&nbsp;</td>";
+ $column_data{duedate} = "<td>$ap->{duedate}&nbsp;</td>";
+ $column_data{datepaid} = "<td>$ap->{datepaid}&nbsp;</td>";
+
+ $module = ($ap->{invoice}) ? "ir.pl" : $form->{script};
+
+ $column_data{invnumber} = qq|<td><a href="$module?action=edit&path=$form->{path}&id=$ap->{id}&login=$form->{login}&password=$form->{password}&callback=$callback">$ap->{invnumber}</a></td>|;
+ $column_data{id} = "<td>$ap->{id}</td>";
+ $column_data{ordnumber} = "<td>$ap->{ordnumber}&nbsp;</td>";
+ $column_data{name} = "<td>$ap->{name}</td>";
+ $ap->{notes} =~ s/\r\n/<br>/g;
+ $column_data{notes} = "<td>$ap->{notes}&nbsp;</td>";
+ $column_data{employee} = "<td>$ap->{employee}&nbsp;</td>";
+
+ $i++;
+ $i %= 2;
+ print "
+ <tr class=listrow$i >
+";
+
+ map { print "\n$column_data{$_}" } @column_index;
+
+ print qq|
+ </tr>
+|;
+
+ }
+
+ if ($form->{l_subtotal} eq 'Y') {
+ &ap_subtotal;
+ }
+
+ # print totals
+ print qq|
+ <tr class=listtotal>
+|;
+
+ map { $column_data{$_} = "<td>&nbsp;</td>" } @column_index;
+
+ $column_data{netamount} = "<th class=listtotal align=right>".$form->format_amount(\%myconfig, $totalnetamount, 2, "&nbsp;")."</th>";
+ $column_data{tax} = "<th class=listtotal align=right>".$form->format_amount(\%myconfig, $totalamount - $totalnetamount, 2, "&nbsp;")."</th>";
+ $column_data{amount} = "<th class=listtotal align=right>".$form->format_amount(\%myconfig, $totalamount, 2, "&nbsp;")."</th>";
+ $column_data{paid} = "<th class=listtotal align=right>".$form->format_amount(\%myconfig, $totalpaid, 2, "&nbsp;")."</th>";
+ $column_data{due} = "<th class=listtotal align=right>".$form->format_amount(\%myconfig, $totaldue, 2, "&nbsp;")."</th>";
+
+ map { print "$column_data{$_}\n" } @column_index;
+
+ print qq|
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td><hr size=3 noshade></td>
+ </tr>
+</table>
+
+<br>
+<form method=post action=$form->{script}>
+
+<input name=callback type=hidden value="$form->{callback}">
+
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=login value=$form->{login}>
+<input type=hidden name=password value=$form->{password}>
+
+<input class=submit type=submit name=action value="|.$locale->text('AP Transaction').qq|">
+
+<input class=submit type=submit name=action value="|.$locale->text('Vendor Invoice').qq|">
+
+</form>
+
+</body>
+</html>
+|;
+
+}
+
+
+sub ap_subtotal {
+
+ map { $column_data{$_} = "<td>&nbsp;</td>" } @column_index;
+
+ $column_data{netamount} = "<th class=listsubtotal align=right>".$form->format_amount(\%myconfig, $subtotalnetamount, 2, "&nbsp;")."</th>";
+ $column_data{tax} = "<th class=listsubtotal align=right>".$form->format_amount(\%myconfig, $subtotalamount - $subtotalnetamount, 2, "&nbsp;")."</th>";
+ $column_data{amount} = "<th class=listsubtotal align=right>".$form->format_amount(\%myconfig, $subtotalamount, 2, "&nbsp;")."</th>";
+ $column_data{paid} = "<th class=listsubtotal align=right>".$form->format_amount(\%myconfig, $subtotalpaid, 2, "&nbsp;")."</th>";
+ $column_data{due} = "<th class=listsubtotal align=right>".$form->format_amount(\%myconfig, $subtotaldue, 2, "&nbsp;")."</th>";
+
+ $subtotalnetamount = 0;
+ $subtotalamount = 0;
+ $subtotalpaid = 0;
+ $subtotaldue = 0;
+
+ print "<tr class=listsubtotal>";
+
+ map { print "\n$column_data{$_}" } @column_index;
+
+ print qq|
+ </tr>
+|;
+
+}
+
+
+
diff --git a/sql-ledger/bin/mozilla/ar.pl b/sql-ledger/bin/mozilla/ar.pl
new file mode 100644
index 0000000..341c038
--- /dev/null
+++ b/sql-ledger/bin/mozilla/ar.pl
@@ -0,0 +1,1135 @@
+#=====================================================================
+# SQL-Ledger Accounting
+# Copyright (c) 2001
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#======================================================================
+#
+# Accounts Receivables
+#
+#======================================================================
+
+
+use SL::AR;
+use SL::IS;
+use SL::PE;
+
+require "$form->{path}/arap.pl";
+
+1;
+# end of main
+
+# this is for our long dates
+# $locale->text('January')
+# $locale->text('February')
+# $locale->text('March')
+# $locale->text('April')
+# $locale->text('May ')
+# $locale->text('June')
+# $locale->text('July')
+# $locale->text('August')
+# $locale->text('September')
+# $locale->text('October')
+# $locale->text('November')
+# $locale->text('December')
+
+# this is for our short month
+# $locale->text('Jan')
+# $locale->text('Feb')
+# $locale->text('Mar')
+# $locale->text('Apr')
+# $locale->text('May')
+# $locale->text('Jun')
+# $locale->text('Jul')
+# $locale->text('Aug')
+# $locale->text('Sep')
+# $locale->text('Oct')
+# $locale->text('Nov')
+# $locale->text('Dec')
+
+
+sub add {
+
+ $form->{title} = "Add";
+ $form->{callback} = "$form->{script}?action=add&path=$form->{path}&login=$form->{login}&password=$form->{password}" unless $form->{callback};
+
+ &create_links;
+ &display_form;
+
+}
+
+
+sub edit {
+
+ $form->{title} = "Edit";
+
+ &create_links;
+ &display_form;
+
+}
+
+
+sub display_form {
+
+ &form_header;
+ &form_footer;
+
+}
+
+
+sub create_links {
+
+ $form->create_links("AR", \%myconfig, "customer");
+ $duedate = $form->{duedate};
+
+ $taxincluded = $form->{taxincluded};
+
+ IS->get_customer(\%myconfig, \%$form);
+
+ $form->{duedate} = $duedate;
+ $form->{oldcustomer} = "$form->{customer}--$form->{customer_id}";
+
+ # currencies
+ @curr = split /:/, $form->{currencies};
+ chomp $curr[0];
+ $form->{defaultcurrency} = $curr[0];
+
+ map { $form->{selectcurrency} .= "<option>$_\n" } @curr;
+
+ # customers
+ if (@{ $form->{all_customer} }) {
+ $form->{customer} = "$form->{customer}--$form->{customer_id}";
+ map { $form->{selectcustomer} .= "<option>$_->{name}--$_->{id}\n" } (@{ $form->{all_customer} });
+ }
+
+ # forex
+ $form->{forex} = $form->{exchangerate};
+ $exchangerate = ($form->{exchangerate}) ? $form->{exchangerate} : 1;
+
+ foreach $key (keys %{ $form->{AR_links} }) {
+
+ foreach $ref (@{ $form->{AR_links}{$key} }) {
+ if ($key eq 'AR_tax') {
+ $form->{"selectAR_tax_$ref->{accno}"} = "<option>$ref->{accno}--$ref->{description}\n";
+ next;
+ }
+ $form->{"select$key"} .= "<option>$ref->{accno}--$ref->{description}\n";
+ }
+
+ # if there is a value we have an old entry
+ for $i (1 .. scalar @{ $form->{acc_trans}{$key} }) {
+ if ($key eq "AR_paid") {
+ $form->{"AR_paid_$i"} = "$form->{acc_trans}{$key}->[$i-1]->{accno}--$form->{acc_trans}{$key}->[$i-1]->{description}";
+ # reverse paid
+ $form->{"paid_$i"} = $form->{acc_trans}{$key}->[$i-1]->{amount} * -1;
+ $form->{"datepaid_$i"} = $form->{acc_trans}{$key}->[$i-1]->{transdate};
+ $form->{"source_$i"} = $form->{acc_trans}{$key}->[$i-1]->{source};
+
+ $form->{"forex_$i"} = $form->{"exchangerate_$i"} = $form->{acc_trans}{$key}->[$i-1]->{exchangerate};
+
+ $form->{paidaccounts}++;
+ } else {
+
+ $akey = $key;
+ $akey =~ s/AR_//;
+
+ if ($key eq "AR_tax") {
+
+ $form->{"${key}_$form->{acc_trans}{$key}->[$i-1]->{accno}"} = "$form->{acc_trans}{$key}->[$i-1]->{accno}--$form->{acc_trans}{$key}->[$i-1]->{description}";
+ $form->{"${akey}_$form->{acc_trans}{$key}->[$i-1]->{accno}"} = $form->round_amount($form->{acc_trans}{$key}->[$i-1]->{amount} / $exchangerate, 2);
+ $totaltax += $form->{"${akey}_$form->{acc_trans}{$key}->[$i-1]->{accno}"};
+ } else {
+ $form->{"${akey}_$i"} = $form->round_amount($form->{acc_trans}{$key}->[$i-1]->{amount} / $exchangerate, 2);
+ if ($akey eq 'amount') {
+ $form->{rowcount}++;
+ $totalamount += $form->{"${akey}_$i"};
+
+ $form->{"oldprojectnumber_$i"} = $form->{"projectnumber_$i"} = "$form->{acc_trans}{$key}->[$i-1]->{projectnumber}";
+ $form->{"project_id_$i"} = "$form->{acc_trans}{$key}->[$i-1]->{project_id}";
+ }
+ $form->{"${key}_$i"} = "$form->{acc_trans}{$key}->[$i-1]->{accno}--$form->{acc_trans}{$key}->[$i-1]->{description}";
+ }
+ }
+ }
+ }
+
+ $form->{taxincluded} = $taxincluded if ($form->{id});
+ $form->{paidaccounts} = 1 if not defined $form->{paidaccounts};
+
+ if ($form->{taxincluded} && $totalamount) {
+ # add tax to amounts and invtotal
+ for $i (1 .. $form->{rowcount}) {
+ $taxamount = $totaltax * $form->{"amount_$i"} / $totalamount;
+ $tax = $form->round_amount($taxamount, 2);
+ $diff += ($taxamount - $tax);
+ $form->{"amount_$i"} += $tax;
+ }
+ $form->{amount_1} += $form->round_amount($diff, 2);
+ }
+
+ $form->{invtotal} = $totalamount + $totaltax;
+ $form->{rowcount}++ if $form->{id};
+
+ $form->{AR} = $form->{AR_1};
+
+ $form->{locked} = ($form->datetonum($form->{transdate}, \%myconfig) <= $form->datetonum($form->{closedto}, \%myconfig));
+
+}
+
+
+sub form_header {
+
+ $title = $form->{title};
+ $form->{title} = $locale->text("$title Accounts Receivables Transaction");
+
+ $form->{taxincluded} = ($form->{taxincluded}) ? "checked" : "";
+
+# $locale->text('Add Accounts Receivables Transaction')
+# $locale->text('Edit Accounts Receivables Transaction')
+
+ # set option selected
+ foreach $item (qw(AR customer currency)) {
+ $form->{"select$item"} =~ s/ selected//;
+ $form->{"select$item"} =~ s/option>\Q$form->{$item}\E/option selected>$form->{$item}/;
+ }
+
+ # format amounts
+ $form->{exchangerate} = $form->format_amount(\%myconfig, $form->{exchangerate});
+
+ $form->{creditlimit} = $form->format_amount(\%myconfig, $form->{creditlimit}, 0, "0");
+ $form->{creditremaining} = $form->format_amount(\%myconfig, $form->{creditremaining}, 0, "0");
+
+ $exchangerate = qq|
+<input type=hidden name=forex value=$form->{forex}>
+|;
+ if ($form->{currency} ne $form->{defaultcurrency}) {
+ if ($form->{forex}) {
+ $exchangerate .= qq|
+ <th align=right>|.$locale->text('Exchangerate').qq|</th>
+ <td><input type=hidden name=exchangerate value=$form->{exchangerate}>$form->{exchangerate}</td>
+|;
+ } else {
+ $exchangerate .= qq|
+ <th align=right>|.$locale->text('Exchangerate').qq|</th>
+ <td><input name=exchangerate size=10 value=$form->{exchangerate}></td>
+|;
+ }
+ }
+
+ $taxincluded = "";
+ if ($form->{taxaccounts}) {
+ $taxincluded = qq|
+ <tr>
+ <td align=right><input name=taxincluded class=checkbox type=checkbox value=1 $form->{taxincluded}></td>
+ <th align=left nowrap>|.$locale->text('Tax Included').qq|</th>
+ </tr>
+|;
+ }
+
+
+ if (($rows = $form->numtextrows($form->{notes}, 50)) < 2) {
+ $rows = 2;
+ }
+ $notes = qq|<textarea name=notes rows=$rows cols=50 wrap=soft>$form->{notes}</textarea>|;
+
+
+ $form->header;
+
+ $n = ($form->{creditremaining} =~ /-/) ? "0" : "1";
+
+ $customer = ($form->{selectcustomer}) ? qq|<select name=customer>$form->{selectcustomer}</select>| : qq|<input name=customer value="$form->{customer}" size=35>|;
+
+ print qq|
+<body>
+
+<form method=post action=$form->{script}>
+
+<input type=hidden name=id value=$form->{id}>
+<input type=hidden name=sort value=$form->{sort}>
+<input type=hidden name=closedto value=$form->{closedto}>
+<input type=hidden name=locked value=$form->{locked}>
+<input type=hidden name=title value="$title">
+
+<table width=100%>
+ <tr>
+ <th class=listtop>$form->{title}</th>
+ </tr>
+ <tr height="5"></tr>
+ <tr valign=top>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td>
+ <table>
+ <tr>
+ <th align="right" nowrap>|.$locale->text('Customer').qq|</th>
+ <td colspan=3>$customer</td>
+ <input type=hidden name=selectcustomer value="$form->{selectcustomer}">
+ <input type=hidden name=oldcustomer value="$form->{oldcustomer}">
+ <input type=hidden name=customer_id value="$form->{customer_id}">
+ <input type=hidden name=terms value=$form->{terms}>
+ </tr>
+ <tr>
+ <td></td>
+ <td colspan=3>
+ <table width=100%>
+ <tr>
+ <th align=left nowrap>|.$locale->text('Credit Limit').qq|</th>
+ <td>$form->{creditlimit}</td>
+ <th align=left nowrap>|.$locale->text('Remaining').qq|</th>
+ <td class="plus$n">$form->{creditremaining}</td>
+ <input type=hidden name=creditlimit value=$form->{creditlimit}>
+ <input type=hidden name=creditremaining value=$form->{creditremaining}>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ $taxincluded
+ <tr>
+ <th align=right>|.$locale->text('Currency').qq|</th>
+ <td><select name=currency>$form->{selectcurrency}</select></td>
+ <input type=hidden name=selectcurrency value="$form->{selectcurrency}">
+ <input type=hidden name=defaultcurrency value=$form->{defaultcurrency}>
+ <input type=hidden name=fxgain_accno value=$form->{fxgain_accno}>
+ <input type=hidden name=fxloss_accno value=$form->{fxloss_accno}>
+ $exchangerate
+ </tr>
+ </table>
+ </td>
+ <td align=right>
+ <table>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Invoice Number').qq|</th>
+ <td><input name=invnumber size=11 value="$form->{invnumber}"></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Order Number').qq|</th>
+ <td><input name=ordnumber size=11 value="$form->{ordnumber}"></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Invoice Date').qq|</th>
+ <td><input name=transdate size=11 title="($myconfig{'dateformat'})" value=$form->{transdate}></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Due Date').qq|</th>
+ <td><input name=duedate size=11 title="$myconfig{'dateformat'}" value=$form->{duedate}></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <table width=100%>
+
+<input type=hidden name=selectAR_amount value="$form->{selectAR_amount}">
+<input type=hidden name=rowcount value=$form->{rowcount}>
+|;
+
+ $amount = $locale->text('Amount');
+ $project = $locale->text('Project');
+
+ for $i (1 .. $form->{rowcount}) {
+
+ $form->{"selectAR_amount"} =~ s/ selected//;
+ $form->{"selectAR_amount"} =~ s/option>\Q$form->{"AR_amount_$i"}\E/option selected>$form->{"AR_amount_$i"}/;
+
+ # format amounts
+ $form->{"amount_$i"} = $form->format_amount(\%myconfig, $form->{"amount_$i"}, 2);
+
+ print qq|
+ <tr>
+ <th align=right>$amount</th>
+ <td><input name="amount_$i" size=10 value=$form->{"amount_$i"}></td>
+ <th>$project</th>
+ <td><input name="projectnumber_$i" size=20 value="$form->{"projectnumber_$i"}">
+ <input type=hidden name="project_id_$i" value=$form->{"project_id_$i"}>
+ <input type=hidden name="oldprojectnumber_$i" value="$form->{"oldprojectnumber_$i"}"></td>
+ <td width=50%><select name="AR_amount_$i">$form->{"selectAR_amount"}</select></td>
+ </tr>
+|;
+ $amount = "";
+ $project = "";
+ }
+
+ $taxlabel = ($form->{taxincluded}) ? $locale->text('Tax Included') : $locale->text('Tax');
+
+ foreach $item (split / /, $form->{taxaccounts}) {
+
+ $form->{"tax_$item"} = $form->format_amount(\%myconfig, $form->{"tax_$item"}, 2);
+ print qq|
+ <tr>
+ <th align=right nowrap>$taxlabel</th>
+ <td><input name="tax_$item" size=10 value=$form->{"tax_$item"}></td>
+ <td colspan=2></td>
+ <td><select name="AR_tax_$item">$form->{"selectAR_tax_$item"}</select></td>
+ </tr>
+ <input type=hidden name="${item}_rate" value="$form->{"${item}_rate"}">
+ <input type=hidden name="${item}_description" value="$form->{"${item}_description"}">
+ <input type=hidden name="selectAR_tax_$item" value="$form->{"selectAR_tax_$item"}">
+|;
+
+ }
+
+ $form->{invtotal} = $form->format_amount(\%myconfig, $form->{invtotal}, 2);
+
+ print qq|
+ <tr>
+
+ <th align=right>|.$locale->text('Total').qq|</th>
+ <th align=left>$form->{invtotal}</th>
+
+ <input type=hidden name=oldinvtotal value=$form->{oldinvtotal}>
+ <input type=hidden name=oldtotalpaid value=$form->{oldtotalpaid}>
+
+ <input type=hidden name=taxaccounts value="$form->{taxaccounts}">
+
+ <td colspan=2></td>
+ <td><select name=AR>$form->{selectAR}</select></td>
+ <input type=hidden name=selectAR value="$form->{selectAR}">
+
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Notes').qq|</th>
+ <td colspan=4>$notes</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <table width=100%>
+ <tr>
+ <th class=listheading colspan=5>|.$locale->text('Payments').qq|</th>
+ </tr>
+|;
+
+
+ if ($form->{currency} eq $form->{defaultcurrency}) {
+ @column_index = qw(datepaid source paid AR_paid);
+ } else {
+ @column_index = qw(datepaid source paid exchangerate AR_paid);
+ }
+
+ $column_data{datepaid} = "<th>".$locale->text('Date')."</th>";
+ $column_data{paid} = "<th>".$locale->text('Amount')."</th>";
+ $column_data{exchangerate} = "<th>".$locale->text('Exch')."</th>";
+ $column_data{AR_paid} = "<th>".$locale->text('Account')."</th>";
+ $column_data{source} = "<th>".$locale->text('Source')."</th>";
+
+ print "
+ <tr>
+";
+ map { print "$column_data{$_}\n" } @column_index;
+ print "
+ </tr>
+";
+
+ $form->{paidaccounts}++ if ($form->{"paid_$form->{paidaccounts}"});
+ for $i (1 .. $form->{paidaccounts}) {
+ print "
+ <tr>
+";
+
+ $form->{"selectAR_paid_$i"} = $form->{selectAR_paid};
+ $form->{"selectAR_paid_$i"} =~ s/option>\Q$form->{"AR_paid_$i"}\E/option selected>$form->{"AR_paid_$i"}/;
+
+ # format amounts
+ $form->{"paid_$i"} = $form->format_amount(\%myconfig, $form->{"paid_$i"}, 2);
+ $form->{"exchangerate_$i"} = $form->format_amount(\%myconfig, $form->{"exchangerate_$i"});
+
+ $exchangerate = qq|&nbsp;|;
+ if ($form->{currency} ne $form->{defaultcurrency}) {
+ if ($form->{"forex_$i"}) {
+ $exchangerate = qq|<input type=hidden name="exchangerate_$i" value=$form->{"exchangerate_$i"}>$form->{"exchangerate_$i"}|;
+ } else {
+ $exchangerate = qq|<input name="exchangerate_$i" size=10 value=$form->{"exchangerate_$i"}>|;
+ }
+ }
+
+ $exchangerate .= qq|
+<input type=hidden name="forex_$i" value=$form->{"forex_$i"}>
+|;
+
+ $column_data{"paid_$i"} = qq|<td align=center><input name="paid_$i" size=10 value=$form->{"paid_$i"}></td>|;
+ $column_data{"AR_paid_$i"} = qq|<td align=center><select name="AR_paid_$i">$form->{"selectAR_paid_$i"}</select></td>|;
+ $column_data{"exchangerate_$i"} = qq|<td align=center>$exchangerate</td>|;
+ $column_data{"datepaid_$i"} = qq|<td align=center><input name="datepaid_$i" size=11 value=$form->{"datepaid_$i"}></td>|;
+ $column_data{"source_$i"} = qq|<td align=center><input name="source_$i" size=10 value="$form->{"source_$i"}"></td>|;
+
+ map { print qq|$column_data{"${_}_$i"}\n| } @column_index;
+
+ print "
+ </tr>
+";
+ }
+
+ print qq|
+<input type=hidden name=paidaccounts value=$form->{paidaccounts}>
+<input type=hidden name=selectAR_paid value="$form->{selectAR_paid}">
+
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td><hr size=3 noshade></td>
+ </tr>
+</table>
+|;
+
+}
+
+
+sub form_footer {
+
+ print qq|
+
+<input name=callback type=hidden value="$form->{callback}">
+
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=login value=$form->{login}>
+<input type=hidden name=password value=$form->{password}>
+
+<br>
+|;
+
+ $transdate = $form->datetonum($form->{transdate}, \%myconfig);
+ $closedto = $form->datetonum($form->{closedto}, \%myconfig);
+
+ if ($form->{id}) {
+
+ print qq|<input class=submit type=submit name=action value="|.$locale->text('Update').qq|">
+|;
+
+ if (!$form->{revtrans}) {
+ if (!$form->{locked}) {
+ print qq|
+ <input class=submit type=submit name=action value="|.$locale->text('Post').qq|">
+ <input class=submit type=submit name=action value="|.$locale->text('Delete').qq|">
+|;
+ }
+ }
+
+ if ($transdate > $closedto) {
+ print qq|
+<input class=submit type=submit name=action value="|.$locale->text('Post as new').qq|">
+|;
+ }
+
+ } else {
+ if ($transdate > $closedto) {
+ print qq|<input class=submit type=submit name=action value="|.$locale->text('Update').qq|">
+ <input class=submit type=submit name=action value="|.$locale->text('Post').qq|">|;
+ }
+ }
+
+ print "
+</form>
+
+</body>
+</html>
+";
+
+}
+
+
+sub update {
+ my $display = shift;
+
+ if ($display) {
+ goto TAXCALC;
+ }
+
+ $form->{invtotal} = 0;
+
+ map { $form->{$_} = $form->parse_amount(\%myconfig, $form->{$_}) } qw(exchangerate creditlimit creditremaining);
+
+ @flds = qw(amount AR_amount projectnumber oldprojectnumber project_id);
+ $count = 0;
+ @a = ();
+ for $i (1 .. $form->{rowcount}) {
+ $form->{"amount_$i"} = $form->parse_amount(\%myconfig, $form->{"amount_$i"});
+ if ($form->{"amount_$i"}) {
+ push @a, {};
+ $j = $#a;
+
+ map { $a[$j]->{$_} = $form->{"${_}_$i"} } @flds;
+ $count++;
+ }
+ }
+
+ $form->redo_rows(\@flds, \@a, $count, $form->{rowcount});
+ $form->{rowcount} = $count + 1;
+
+ map { $form->{invtotal} += $form->{"amount_$_"} } (1 .. $form->{rowcount});
+
+ $form->{exchangerate} = $exchangerate if ($form->{forex} = ($exchangerate = $form->check_exchangerate(\%myconfig, $form->{currency}, $form->{transdate}, 'buy')));
+
+
+ $form->{invdate} = $form->{transdate};
+ &check_name(customer);
+
+ &check_project;
+
+
+TAXCALC:
+ # recalculate taxes
+ if ($form->{taxincluded}) {
+ $taxrate = 0;
+
+ map { $taxrate += $form->{"${_}_rate"} } split / /, $form->{taxaccounts};
+
+ foreach $item (split / /, $form->{taxaccounts}) {
+ $amount = ($form->{invtotal} * (1 - 1 / (1 + $taxrate)) * $form->{"${item}_rate"} / $taxrate) if $taxrate;
+ $form->{"tax_$item"} = $form->round_amount($amount, 2);
+ $taxdiff += ($amount - $form->{"tax_$item"});
+ if (abs $taxdiff >= 0.005) {
+ $form->{"tax_$item"} += $form->round_amount($taxdiff, 2);
+ $taxdiff = 0;
+ }
+ $form->{"selectAR_tax_$item"} = qq|<option>$item--$form->{"${item}_description"}|;
+ $totaltax += $form->{"tax_$item"};
+ }
+ } else {
+ foreach $item (split / /, $form->{taxaccounts}) {
+ $form->{"tax_$item"} = $form->round_amount($form->{invtotal} * $form->{"${item}_rate"}, 2);
+ $form->{"selectAR_tax_$item"} = qq|<option>$item--$form->{"${item}_description"}|;
+ $totaltax += $form->{"tax_$item"};
+ }
+ }
+
+ $form->{invtotal} = ($form->{taxincluded}) ? $form->{invtotal} : $form->{invtotal} + $totaltax;
+
+ for $i (1 .. $form->{paidaccounts}) {
+ if ($form->{"paid_$i"}) {
+ map { $form->{"${_}_$i"} = $form->parse_amount(\%myconfig, $form->{"${_}_$i"}) } qw(paid exchangerate);
+
+ $totalpaid += $form->{"paid_$i"};
+
+ $form->{"exchangerate_$i"} = $exchangerate if ($form->{"forex_$i"} = ($exchangerate = $form->check_exchangerate(\%myconfig, $form->{currency}, $form->{"datepaid_$i"}, 'buy')));
+ }
+ }
+
+ $form->{creditremaining} -= ($form->{invtotal} - $totalpaid + $form->{oldtotalpaid} - $form->{oldinvtotal});
+ $form->{oldinvtotal} = $form->{invtotal};
+ $form->{oldtotalpaid} = $totalpaid;
+
+ &display_form;
+
+}
+
+
+sub post {
+
+ # check if there is an invoice number, invoice and due date
+ $form->isblank("invnumber", $locale->text('Invoice Number missing!'));
+ $form->isblank("transdate", $locale->text('Invoice Date missing!'));
+ $form->isblank("duedate", $locale->text('Due Date missing!'));
+ $form->isblank("customer", $locale->text('Customer missing!'));
+
+ $closedto = $form->datetonum($form->{closedto}, \%myconfig);
+ $transdate = $form->datetonum($form->{transdate}, \%myconfig);
+
+ $form->error($locale->text('Cannot post transaction for a closed period!')) if ($transdate <= $closedto);
+
+ $form->isblank("exchangerate", $locale->text('Exchangerate missing!')) if ($form->{currency} ne $form->{defaultcurrency});
+
+ for $i (1 .. $form->{paidaccounts}) {
+ if ($form->{"paid_$i"}) {
+ $datepaid = $form->datetonum($form->{"datepaid_$i"}, \%myconfig);
+
+ $form->isblank("datepaid_$i", $locale->text('Payment date missing!'));
+
+ $form->error($locale->text('Cannot post payment for a closed period!')) if ($datepaid <= $closedto);
+
+ if ($form->{currency} ne $form->{defaultcurrency}) {
+ $form->{"exchangerate_$i"} = $form->{exchangerate} if ($transdate == $datepaid);
+ $form->isblank("exchangerate_$i", $locale->text('Exchangerate for payment missing!'));
+ }
+ }
+ }
+
+ # if oldcustomer ne customer redo form
+ ($customer) = split /--/, $form->{customer};
+ if ($form->{oldcustomer} ne "$customer--$form->{customer_id}") {
+ &update;
+ exit;
+ }
+
+ $form->{id} = 0 if $form->{postasnew};
+
+ $form->redirect($locale->text('Transaction posted!')) if (AR->post_transaction(\%myconfig, \%$form));
+ $form->error($locale->text('Cannot post transaction!'));
+
+}
+
+
+sub post_as_new {
+
+ $form->{postasnew} = 1;
+ &post;
+
+}
+
+
+sub delete {
+
+ $form->{title} = $locale->text('Confirm!');
+
+ $form->header;
+
+ print qq|
+<body>
+
+<form method=post action=$form->{script}>
+|;
+
+ foreach $key (keys %$form) {
+ print qq|<input type=hidden name=$key value="$form->{$key}">\n|;
+ }
+
+ print qq|
+<h2 class=confirm>$form->{title}</h2>
+
+<h4>|.$locale->text('Are you sure you want to delete Transaction').qq| $form->{invnumber}</h4>
+
+<input name=action class=submit type=submit value="|.$locale->text('Yes').qq|">
+</form>
+
+</body>
+</html>
+|;
+
+}
+
+
+
+sub yes {
+
+ $form->redirect($locale->text('Transaction deleted!')) if (AR->delete_transaction(\%myconfig, \%$form));
+ $form->error($locale->text('Cannot delete transaction!'));
+
+}
+
+
+sub search {
+
+ # setup customer selection
+ $form->all_vc(\%myconfig, "customer");
+
+ if (@{ $form->{all_customer} }) {
+ map { $customer .= "<option>$_->{name}--$_->{id}\n" } @{ $form->{all_customer} };
+ $customer = qq|<select name=customer><option>\n$customer</select>|;
+ } else {
+ $customer = qq|<input name=customer size=35>|;
+ }
+
+ $form->{title} = $locale->text('AR Transactions');
+
+ $form->header;
+
+ print qq|
+<body>
+
+<form method=post action=$form->{script}>
+
+<table width=100%>
+ <tr><th class=listtop>$form->{title}</th></tr>
+ <tr height="5"></tr>
+ <tr>
+ <td>
+ <table>
+ <tr>
+ <th align=right>|.$locale->text('Customer').qq|</th>
+ <td colspan=3>$customer</td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Invoice Number').qq|</th>
+ <td colspan=3><input name=invnumber size=20></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Order Number').qq|</th>
+ <td colspan=3><input name=ordnumber size=20></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Notes').qq|</th>
+ <td colspan=3><input name=notes size=40></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('From').qq|</th>
+ <td><input name=transdatefrom size=11 title="$myconfig{dateformat}"></td>
+ <th align=right>|.$locale->text('to').qq|</th>
+ <td><input name=transdateto size=11 title="$myconfig{dateformat}"></td>
+ </tr>
+ <input type=hidden name=sort value=transdate>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <table>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Include in Report').qq|</th>
+ <td>
+ <table width=100%>
+ <tr>
+ <td align=right><input name=open class=checkbox type=checkbox value=Y checked></td>
+ <td nowrap>|.$locale->text('Open').qq|</td>
+ <td align=right><input name=closed class=checkbox type=checkbox value=Y></td>
+ <td nowrap>|.$locale->text('Closed').qq|</td>
+ </tr>
+ <tr>
+ <td align=right><input name="l_id" class=checkbox type=checkbox value=Y></td>
+ <td nowrap>|.$locale->text('ID').qq|</td>
+ <td align=right><input name="l_invnumber" class=checkbox type=checkbox value=Y checked></td>
+ <td nowrap>|.$locale->text('Invoice Number').qq|</td>
+ <td align=right><input name="l_ordnumber" class=checkbox type=checkbox value=Y></td>
+ <td nowrap>|.$locale->text('Order Number').qq|</td>
+ <td align=right><input name="l_transdate" class=checkbox type=checkbox value=Y checked></td>
+ <td nowrap>|.$locale->text('Invoice Date').qq|</td>
+ </tr>
+ <tr>
+ <td align=right><input name="l_name" class=checkbox type=checkbox value=Y checked></td>
+ <td nowrap>|.$locale->text('Customer').qq|</td>
+ <td align=right><input name="l_netamount" class=checkbox type=checkbox value=Y></td>
+ <td nowrap>|.$locale->text('Amount').qq|</td>
+ <td align=right><input name="l_tax" class=checkbox type=checkbox value=Y></td>
+ <td nowrap>|.$locale->text('Tax').qq|</td>
+ <td align=right><input name="l_amount" class=checkbox type=checkbox value=Y checked></td>
+ <td nowrap>|.$locale->text('Total').qq|</td>
+ </tr>
+ <tr>
+ <td align=right><input name="l_datepaid" class=checkbox type=checkbox value=Y></td>
+ <td nowrap>|.$locale->text('Date Paid').qq|</td>
+ <td align=right><input name="l_paid" class=checkbox type=checkbox value=Y checked></td>
+ <td nowrap>|.$locale->text('Paid').qq|</td>
+ <td align=right><input name="l_duedate" class=checkbox type=checkbox value=Y></td>
+ <td nowrap>|.$locale->text('Due Date').qq|</td>
+ <td align=right><input name="l_due" class=checkbox type=checkbox value=Y></td>
+ <td nowrap>|.$locale->text('Amount Due').qq|</td>
+ </tr>
+ <tr>
+ <td align=right><input name="l_notes" class=checkbox type=checkbox value=Y></td>
+ <td nowrap>|.$locale->text('Notes').qq|</td>
+ <td align=right><input name="l_employee" class=checkbox type=checkbox value=Y></td>
+ <td nowrap>|.$locale->text('Salesperson').qq|</td>
+ <td align=right><input name="l_shippingpoint" class=checkbox type=checkbox value=Y></td>
+ <td nowrap>|.$locale->text('Ship via').qq|</td>
+ </tr>
+ <tr>
+ <td align=right><input name="l_subtotal" class=checkbox type=checkbox value=Y></td>
+ <td nowrap>|.$locale->text('Subtotal').qq|</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td><hr size=3 noshade></td>
+ </tr>
+</table>
+
+<input type=hidden name=nextsub value=$form->{nextsub}>
+
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=login value=$form->{login}>
+<input type=hidden name=password value=$form->{password}>
+
+<br>
+<input class=submit type=submit name=action value="|.$locale->text('Continue').qq|">
+
+</form>
+
+</body>
+</html>
+|;
+
+}
+
+
+sub ar_transactions {
+
+ $form->{customer} = $form->unescape($form->{customer});
+ ($form->{customer}, $form->{customer_id}) = split(/--/, $form->{customer});
+
+ AR->ar_transactions(\%myconfig, \%$form);
+
+ $callback = "$form->{script}?action=ar_transactions&path=$form->{path}&login=$form->{login}&password=$form->{password}";
+ $href = $callback;
+
+ if ($form->{customer}) {
+ $callback .= "&customer=".$form->escape($form->{customer});
+ $href .= "&customer=".$form->escape($form->{customer});
+ $option = $locale->text('Customer')." : $form->{customer}";
+ }
+ if ($form->{invnumber}) {
+ $callback .= "&invnumber=$form->{invnumber}";
+ $href .= "&invnumber=".$form->escape($form->{invnumber});
+ $option .= "\n<br>" if ($option);
+ $option .= $locale->text('Invoice Number')." : $form->{invnumber}";
+ }
+ if ($form->{ordnumber}) {
+ $callback .= "&ordnumber=$form->{ordnumber}";
+ $href .= "&ordnumber=".$form->escape($form->{ordnumber});
+ $option .= "\n<br>" if ($option);
+ $option .= $locale->text('Order Number')." : $form->{ordnumber}";
+ }
+ if ($form->{notes}) {
+ $callback .= "&notes=$form->{notes}";
+ $href .= "&notes=".$form->escape($form->{notes});
+ $option .= "\n<br>" if $option;
+ $option .= $locale->text('Notes')." : $form->{notes}";
+ }
+
+ if ($form->{transdatefrom}) {
+ $callback .= "&transdatefrom=$form->{transdatefrom}";
+ $href .= "&transdatefrom=$form->{transdatefrom}";
+ $option .= "\n<br>" if ($option);
+ $option .= $locale->text('From')."&nbsp;".$locale->date(\%myconfig, $form->{transdatefrom}, 1);
+ }
+ if ($form->{transdateto}) {
+ $callback .= "&transdateto=$form->{transdateto}";
+ $href .= "&transdateto=$form->{transdateto}";
+ $option .= "\n<br>" if ($option);
+ $option .= $locale->text('to')."&nbsp;".$locale->date(\%myconfig, $form->{transdateto}, 1);
+ }
+ if ($form->{open}) {
+ $callback .= "&open=$form->{open}";
+ $href .= "&open=$form->{open}";
+ $option .= "\n<br>" if ($option);
+ $option .= $locale->text('Open');
+ }
+ if ($form->{closed}) {
+ $callback .= "&closed=$form->{closed}";
+ $href .= "&closed=$form->{closed}";
+ $option .= "\n<br>" if ($option);
+ $option .= $locale->text('Closed');
+ }
+
+ @columns = $form->sort_columns(qw(transdate id invnumber ordnumber name netamount tax amount paid datepaid due duedate notes employee shippingpoint));
+
+ foreach $item (@columns) {
+ if ($form->{"l_$item"} eq "Y") {
+ push @column_index, $item;
+
+ # add column to href and callback
+ $callback .= "&l_$item=Y";
+ $href .= "&l_$item=Y";
+ }
+ }
+
+ if ($form->{l_subtotal} eq 'Y') {
+ $callback .= "&l_subtotal=Y";
+ $href .= "&l_subtotal=Y";
+ }
+
+
+ $column_header{id} = "<th><a class=listheading href=$href&sort=id>".$locale->text('ID')."</a></th>";
+ $column_header{transdate} = "<th><a class=listheading href=$href&sort=transdate>".$locale->text('Date')."</a></th>";
+ $column_header{duedate} = "<th><a class=listheading href=$href&sort=duedate>".$locale->text('Due Date')."</a></th>";
+ $column_header{invnumber} = "<th><a class=listheading href=$href&sort=invnumber>".$locale->text('Invoice')."</a></th>";
+ $column_header{ordnumber} = "<th><a class=listheading href=$href&sort=ordnumber>".$locale->text('Order')."</a></th>";
+ $column_header{name} = "<th><a class=listheading href=$href&sort=name>".$locale->text('Customer')."</a></th>";
+ $column_header{netamount} = "<th class=listheading>" . $locale->text('Amount') . "</th>";
+ $column_header{tax} = "<th class=listheading>" . $locale->text('Tax') . "</th>";
+ $column_header{amount} = "<th class=listheading>" . $locale->text('Total') . "</th>";
+ $column_header{paid} = "<th class=listheading>" . $locale->text('Paid') . "</th>";
+ $column_header{datepaid} = "<th><a class=listheading href=$href&sort=datepaid>" . $locale->text('Date Paid') . "</a></th>";
+ $column_header{due} = "<th class=listheading>" . $locale->text('Amount Due') . "</th>";
+ $column_header{notes} = "<th class=listheading>".$locale->text('Notes')."</th>";
+ $column_header{employee} = "<th class=listheading><a class=listheading href=$href&sort=employee>".$locale->text('Salesperson')."</th>";
+
+ $column_header{shippingpoint} = "<th class=listheading><a class=listheading href=$href&sort=shippingpoint>" . $locale->text('Ship via') . "</a></th>";
+
+
+ $form->{title} = $locale->text('AR Transactions');
+
+ $form->header;
+
+ print qq|
+<body>
+
+<table width=100%>
+ <tr>
+ <th class=listtop>$form->{title}</th>
+ </tr>
+ <tr height="5"></tr>
+ <tr>
+ <td>$option</td>
+ </tr>
+ <tr>
+ <td>
+ <table width=100%>
+ <tr class=listheading>
+|;
+
+ map { print "\n$column_header{$_}" } @column_index;
+
+ print qq|
+ </tr>
+|;
+
+
+ # add sort and escape callback, this one we use for the add sub
+ $form->{callback} = $callback .= "&sort=$form->{sort}";
+
+ # escape callback for href
+ $callback = $form->escape($callback);
+
+ if (@{ $form->{AR} }) {
+ $sameitem = $form->{AR}->[0]->{$form->{sort}};
+ }
+
+ # sums and tax on reports by Antonio Gallardo
+ #
+ foreach $ar (@{ $form->{AR} }) {
+
+ if ($form->{l_subtotal} eq 'Y') {
+ if ($sameitem ne $ar->{$form->{sort}}) {
+ &ar_subtotal;
+ }
+ }
+
+ $column_data{netamount} = "<td align=right>".$form->format_amount(\%myconfig, $ar->{netamount}, 2, "&nbsp;")."</td>";
+ $column_data{tax} = "<td align=right>".$form->format_amount(\%myconfig, $ar->{amount} - $ar->{netamount}, 2, "&nbsp;")."</td>";
+ $column_data{amount} = "<td align=right>".$form->format_amount(\%myconfig, $ar->{amount}, 2, "&nbsp;")."</td>";
+ $column_data{paid} = "<td align=right>".$form->format_amount(\%myconfig, $ar->{paid}, 2, "&nbsp;")."</td>";
+ $column_data{due} = "<td align=right>".$form->format_amount(\%myconfig, $ar->{amount} - $ar->{paid}, 2, "&nbsp;")."</td>";
+
+ $subtotalnetamount += $ar->{netamount};
+ $subtotalamount += $ar->{amount};
+ $subtotalpaid += $ar->{paid};
+ $subtotaldue += $ar->{amount} - $ar->{paid};
+
+ $totalnetamount += $ar->{netamount};
+ $totalamount += $ar->{amount};
+ $totalpaid += $ar->{paid};
+ $totaldue += ($ar->{amount} - $ar->{paid});
+
+ $column_data{transdate} = "<td>$ar->{transdate}&nbsp;</td>";
+ $column_data{id} = "<td>$ar->{id}</td>";
+ $column_data{datepaid} = "<td>$ar->{datepaid}&nbsp;</td>";
+ $column_data{duedate} = "<td>$ar->{duedate}&nbsp;</td>";
+
+ $module = ($ar->{invoice}) ? "is.pl" : $form->{script};
+
+ $column_data{invnumber} = "<td><a href=$module?action=edit&id=$ar->{id}&path=$form->{path}&login=$form->{login}&password=$form->{password}&callback=$callback>$ar->{invnumber}</a></td>";
+ $column_data{ordnumber} = "<td>$ar->{ordnumber}&nbsp;</td>";
+ $column_data{name} = "<td>$ar->{name}</td>";
+ $ar->{notes} =~ s/\r\n/<br>/g;
+ $column_data{notes} = "<td>$ar->{notes}&nbsp;</td>";
+ $column_data{shippingpoint} = "<td>$ar->{shippingpoint}&nbsp;</td>";
+ $column_data{employee} = "<td>$ar->{employee}&nbsp;</td>";
+
+ $i++; $i %= 2;
+ print "
+ <tr class=listrow$i>
+";
+
+ map { print "\n$column_data{$_}" } @column_index;
+
+ print qq|
+ </tr>
+|;
+
+
+ }
+
+ if ($form->{l_subtotal} eq 'Y') {
+ &ar_subtotal;
+ }
+
+ # print totals
+ print qq|
+ <tr class=listtotal>
+|;
+
+ map { $column_data{$_} = "<td>&nbsp;</td>" } @column_index;
+
+ $column_data{netamount} = "<th class=listtotal align=right>".$form->format_amount(\%myconfig, $totalnetamount, 2, "&nbsp;")."</th>";
+ $column_data{tax} = "<th class=listtotal align=right>".$form->format_amount(\%myconfig, $totalamount - $totalnetamount, 2, "&nbsp;")."</th>";
+ $column_data{amount} = "<th class=listtotal align=right>".$form->format_amount(\%myconfig, $totalamount, 2, "&nbsp;")."</th>";
+ $column_data{paid} = "<th class=listtotal align=right>".$form->format_amount(\%myconfig, $totalpaid, 2, "&nbsp;")."</th>";
+ $column_data{due} = "<th class=listtotal align=right>".$form->format_amount(\%myconfig, $totaldue, 2, "&nbsp;")."</th>";
+
+ map { print "\n$column_data{$_}" } @column_index;
+
+ print qq|
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td><hr size=3 noshade></td>
+ </tr>
+</table>
+
+<br>
+<form method=post action=$form->{script}>
+
+<input name=callback type=hidden value="$form->{callback}">
+
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=login value=$form->{login}>
+<input type=hidden name=password value=$form->{password}>
+
+<input class=submit type=submit name=action value="|.$locale->text('AR Transaction').qq|">
+<input class=submit type=submit name=action value="|.$locale->text('Sales Invoice').qq|">
+
+</form>
+
+</body>
+</html>
+|;
+
+}
+
+
+sub ar_subtotal {
+
+ map { $column_data{$_} = "<td>&nbsp;</td>" } @column_index;
+
+ $column_data{tax} = "<th class=listsubtotal align=right>".$form->format_amount(\%myconfig, $subtotalamount - $subtotalnetamount, 2, "&nbsp;")."</th>";
+ $column_data{amount} = "<th class=listsubtotal align=right>".$form->format_amount(\%myconfig, $subtotalamount, 2, "&nbsp;")."</th>";
+ $column_data{paid} = "<th class=listsubtotal align=right>".$form->format_amount(\%myconfig, $subtotalpaid, 2, "&nbsp;")."</th>";
+ $column_data{due} = "<th class=listsubtotal align=right>".$form->format_amount(\%myconfig, $subtotaldue, 2, "&nbsp;")."</th>";
+
+ $subtotalnetamount = 0;
+ $subtotalamount = 0;
+ $subtotalpaid = 0;
+ $subtotaldue = 0;
+
+ $sameitem = $ar->{$form->{sort}};
+
+ print "<tr class=listsubtotal>";
+
+ map { print "\n$column_data{$_}" } @column_index;
+
+print "
+</tr>
+";
+
+}
+
+
+
diff --git a/sql-ledger/bin/mozilla/arap.pl b/sql-ledger/bin/mozilla/arap.pl
new file mode 100644
index 0000000..fecd926
--- /dev/null
+++ b/sql-ledger/bin/mozilla/arap.pl
@@ -0,0 +1,406 @@
+#=====================================================================
+# SQL-Ledger Accounting
+# Copyright (c) 2002
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#======================================================================
+#
+# common routines for gl, ar, ap, is, ir, oe
+#
+
+# any custom scripts for this one
+if (-f "$form->{path}/custom_arap.pl") {
+ eval { require "$form->{path}/custom_arap.pl"; };
+}
+if (-f "$form->{path}/$form->{login}_arap.pl") {
+ eval { require "$form->{path}/$form->{login}_arap.pl"; };
+}
+
+
+1;
+# end of main
+
+
+sub check_name {
+ my ($name) = @_;
+
+ my ($new_name, $new_id) = split /--/, $form->{$name};
+ my $i = 0;
+
+ # if we use a selection
+ if ($form->{"select$name"}) {
+ if ($form->{"old$name"} ne $form->{$name}) {
+ # this is needed for is, ir and oe
+ map { delete $form->{"${_}_rate"} } (split / /, $form->{taxaccounts});
+
+ # for credit calculations
+ $form->{oldinvtotal} = 0;
+ $form->{oldtotalpaid} = 0;
+
+ $form->{"${name}_id"} = $new_id;
+ $form->{"old$name"} = "$new_name--$new_id";
+
+ IS->get_customer(\%myconfig, \%$form) if ($name eq 'customer');
+ IR->get_vendor(\%myconfig, \%$form) if ($name eq 'vendor');
+
+ $i = 1;
+ }
+ } else {
+
+ # check name, combine name and id
+ if ($form->{"old$name"} ne qq|$form->{$name}--$form->{"${name}_id"}|) {
+ # this is needed for is, ir and oe
+ map { delete $form->{"${_}_rate"} } (split / /, $form->{taxaccounts});
+
+ # for credit calculations
+ $form->{oldinvtotal} = 0;
+ $form->{oldtotalpaid} = 0;
+
+ # return one name or a list of names in $form->{name_list}
+ if (($i = $form->get_name(\%myconfig, $name)) > 1) {
+ &select_name($name);
+ exit;
+ }
+
+ if ($i == 1) {
+ # we got one name
+ $form->{"${name}_id"} = $form->{name_list}[0]->{id};
+ $form->{$name} = $form->{name_list}[0]->{name};
+ $form->{"old$name"} = qq|$form->{$name}--$form->{"${name}_id"}|;
+
+ IS->get_customer(\%myconfig, \%$form) if ($name eq 'customer');
+ IR->get_vendor(\%myconfig, \%$form) if ($name eq 'vendor');
+
+ } else {
+ # name is not on file
+ $msg = ucfirst $name . " not on file!";
+ $form->error($locale->text($msg));
+ }
+ }
+ }
+
+ $i;
+
+}
+
+# $locale->text('Customer not on file!')
+# $locale->text('Vendor not on file!')
+
+
+
+sub select_name {
+ my ($table) = @_;
+
+ @column_index = qw(ndx name address);
+
+ $label = ucfirst $table;
+ $column_data{ndx} = qq|<th>&nbsp;</th>|;
+ $column_data{name} = qq|<th>|.$locale->text($label).qq|</th>|;
+ $column_data{address} = qq|<th>|.$locale->text('Address').qq|</th>|;
+
+ # list items with radio button on a form
+ $form->header;
+
+ $title = $locale->text('Select from one of the names below');
+
+ print qq|
+<body>
+
+<form method=post action=$form->{script}>
+
+<table width=100%>
+ <tr>
+ <th class=listtop>$title</th>
+ </tr>
+ <tr space=5></tr>
+ <tr>
+ <td>
+ <table width=100%>
+ <tr class=listheading>|;
+
+ map { print "\n$column_data{$_}" } @column_index;
+
+ print qq|
+ </tr>
+|;
+
+ my $i = 0;
+ foreach $ref (@{ $form->{name_list} }) {
+ $checked = ($i++) ? "" : "checked";
+
+ $ref->{name} =~ s/"/&quot;/g;
+
+ $column_data{ndx} = qq|<td><input name=ndx class=radio type=radio value=$i $checked></td>|;
+ $column_data{name} = qq|<td><input name="new_name_$i" type=hidden value="$ref->{name}">$ref->{name}</td>|;
+ $column_data{address} = qq|<td>$ref->{address}</td>|;
+
+ $j++; $j %= 2;
+ print qq|
+ <tr class=listrow$j>|;
+
+ map { print "\n$column_data{$_}" } @column_index;
+
+ print qq|
+ </tr>
+
+<input name="new_id_$i" type=hidden value=$ref->{id}>
+
+|;
+
+ }
+
+ print qq|
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td><hr size=3 noshade></td>
+ </tr>
+</table>
+
+<input name=lastndx type=hidden value=$i>
+
+|;
+
+ # delete action variable
+ delete $form->{action};
+ delete $form->{name_list};
+
+ # save all other form variables
+ foreach $key (keys %${form}) {
+ $form->{$key} =~ s/"/&quot;/g;
+ print qq|<input name=$key type=hidden value="$form->{$key}">\n|;
+ }
+
+ print qq|
+<input type=hidden name=nextsub value=name_selected>
+
+<input type=hidden name=vc value=$table>
+<br>
+<input class=submit type=submit name=action value="|.$locale->text('Continue').qq|">
+</form>
+
+</body>
+</html>
+|;
+
+}
+
+
+
+sub name_selected {
+
+ # replace the variable with the one checked
+
+ # index for new item
+ $i = $form->{ndx};
+
+ $form->{$form->{vc}} = $form->{"new_name_$i"};
+ $form->{"$form->{vc}_id"} = $form->{"new_id_$i"};
+ $form->{"old$form->{vc}"} = qq|$form->{$form->{vc}}--$form->{"$form->{vc}_id"}|;
+
+ # delete all the new_ variables
+ for $i (1 .. $form->{lastndx}) {
+ map { delete $form->{"new_${_}_$i"} } (id, name);
+ }
+
+ map { delete $form->{$_} } qw(ndx lastndx nextsub);
+
+ IS->get_customer(\%myconfig, \%$form) if ($form->{vc} eq 'customer');
+ IR->get_vendor(\%myconfig, \%$form) if ($form->{vc} eq 'vendor');
+
+ &update(1);
+
+}
+
+
+sub add_transaction {
+ my ($module) = @_;
+
+ delete $form->{script};
+ $form->{action} = "add";
+ $form->{type} = "invoice" if $module =~ /(is|ir)/;
+
+ $form->{callback} = $form->escape($form->{callback},1);
+ map { $argv .= "$_=$form->{$_}&" } keys %$form;
+
+ exec ("perl", "$module.pl", $argv);
+
+}
+
+
+
+sub check_project {
+
+ for $i (1 .. $form->{rowcount}) {
+ $form->{"project_id_$i"} = "" unless $form->{"projectnumber_$i"};
+ if ($form->{"projectnumber_$i"} ne $form->{"oldprojectnumber_$i"}) {
+ if ($form->{"projectnumber_$i"}) {
+ # get new project
+ $form->{projectnumber} = $form->{"projectnumber_$i"};
+ if (($rows = PE->projects(\%myconfig, $form)) > 1) {
+ # check form->{project_list} how many there are
+ $form->{rownumber} = $i;
+ &select_project;
+ exit;
+ }
+
+ if ($rows == 1) {
+ $form->{"project_id_$i"} = $form->{project_list}->[0]->{id};
+ $form->{"projectnumber_$i"} = $form->{project_list}->[0]->{projectnumber};
+ $form->{"oldprojectnumber_$i"} = $form->{project_list}->[0]->{projectnumber};
+ } else {
+ # not on file
+ $form->error($locale->text('Project not on file!'));
+ }
+ }
+ }
+ }
+
+}
+
+
+sub select_project {
+
+ @column_index = qw(ndx projectnumber description);
+
+ $column_data{ndx} = qq|<th>&nbsp;</th>|;
+ $column_data{projectnumber} = qq|<th>|.$locale->text('Number').qq|</th>|;
+ $column_data{description} = qq|<th>|.$locale->text('Description').qq|</th>|;
+
+ # list items with radio button on a form
+ $form->header;
+
+ $title = $locale->text('Select from one of the projects below');
+
+ print qq|
+<body>
+
+<form method=post action=$form->{script}>
+
+<input type=hidden name=rownumber value=$form->{rownumber}>
+
+<table width=100%>
+ <tr>
+ <th class=listtop>$title</th>
+ </tr>
+ <tr space=5></tr>
+ <tr>
+ <td>
+ <table width=100%>
+ <tr class=listheading>|;
+
+ map { print "\n$column_data{$_}" } @column_index;
+
+ print qq|
+ </tr>
+|;
+
+ my $i = 0;
+ foreach $ref (@{ $form->{project_list} }) {
+ $checked = ($i++) ? "" : "checked";
+
+ $ref->{name} =~ s/"/&quot;/g;
+
+ $column_data{ndx} = qq|<td><input name=ndx class=radio type=radio value=$i $checked></td>|;
+ $column_data{projectnumber} = qq|<td><input name="new_projectnumber_$i" type=hidden value="$ref->{projectnumber}">$ref->{projectnumber}</td>|;
+ $column_data{description} = qq|<td>$ref->{description}</td>|;
+
+ $j++; $j %= 2;
+ print qq|
+ <tr class=listrow$j>|;
+
+ map { print "\n$column_data{$_}" } @column_index;
+
+ print qq|
+ </tr>
+
+<input name="new_id_$i" type=hidden value=$ref->{id}>
+
+|;
+
+ }
+
+ print qq|
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td><hr size=3 noshade></td>
+ </tr>
+</table>
+
+<input name=lastndx type=hidden value=$i>
+
+|;
+
+ # delete action variable
+ delete $form->{action};
+ delete $form->{project_list};
+
+ # save all other form variables
+ foreach $key (keys %${form}) {
+ $form->{$key} =~ s/"/&quot;/g;
+ print qq|<input name=$key type=hidden value="$form->{$key}">\n|;
+ }
+
+ print qq|
+<input type=hidden name=nextsub value=project_selected>
+
+<br>
+<input class=submit type=submit name=action value="|.$locale->text('Continue').qq|">
+</form>
+
+</body>
+</html>
+|;
+
+}
+
+
+sub project_selected {
+
+ # replace the variable with the one checked
+
+ # index for new item
+ $i = $form->{ndx};
+
+ $form->{"projectnumber_$form->{rownumber}"} = $form->{"new_projectnumber_$i"};
+ $form->{"oldprojectnumber_$form->{rownumber}"} = $form->{"new_projectnumber_$i"};
+ $form->{"project_id_$form->{rownumber}"} = $form->{"new_id_$i"};
+
+ # delete all the new_ variables
+ for $i (1 .. $form->{lastndx}) {
+ map { delete $form->{"new_${_}_$i"} } qw(id projectnumber description);
+ }
+
+ map { delete $form->{$_} } qw(ndx lastndx nextsub);
+
+ &update;
+
+}
+
+
+sub continue { &{ $form->{nextsub} } };
+sub gl_transaction { &add };
+sub ar_transaction { &add_transaction(ar) };
+sub ap_transaction { &add_transaction(ap) };
+sub sales_invoice { &add_transaction(is) };
+sub vendor_invoice { &add_transaction(ir) };
+
diff --git a/sql-ledger/bin/mozilla/ca.pl b/sql-ledger/bin/mozilla/ca.pl
new file mode 100644
index 0000000..ed31005
--- /dev/null
+++ b/sql-ledger/bin/mozilla/ca.pl
@@ -0,0 +1,413 @@
+#=====================================================================
+# SQL-Ledger Accounting
+# Copyright (C) 2001
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#======================================================================
+#
+# module for Chart of Accounts, Income Statement and Balance Sheet
+# search and edit transactions posted by the GL, AR and AP
+#
+#======================================================================
+
+
+use SL::CA;
+
+1;
+# end of main
+
+# this is for our long dates
+# $locale->text('January')
+# $locale->text('February')
+# $locale->text('March')
+# $locale->text('April')
+# $locale->text('May ')
+# $locale->text('June')
+# $locale->text('July')
+# $locale->text('August')
+# $locale->text('September')
+# $locale->text('October')
+# $locale->text('November')
+# $locale->text('December')
+
+# this is for our short month
+# $locale->text('Jan')
+# $locale->text('Feb')
+# $locale->text('Mar')
+# $locale->text('Apr')
+# $locale->text('May')
+# $locale->text('Jun')
+# $locale->text('Jul')
+# $locale->text('Aug')
+# $locale->text('Sep')
+# $locale->text('Oct')
+# $locale->text('Nov')
+# $locale->text('Dec')
+
+
+sub chart_of_accounts {
+
+ CA->all_accounts(\%myconfig, \%$form);
+
+ @column_index = qw(accno gifi_accno description debit credit);
+
+ $column_header{accno} = qq|<th class=listheading>|.$locale->text('Account').qq|</th>\n|;
+ $column_header{gifi_accno} = qq|<th class=listheading>|.$locale->text('GIFI').qq|</th>\n|;
+ $column_header{description} = qq|<th class=listheading>|.$locale->text('Description').qq|</th>\n|;
+ $column_header{debit} = qq|<th class=listheading>|.$locale->text('Debit').qq|</th>\n|;
+ $column_header{credit} = qq|<th class=listheading>|.$locale->text('Credit').qq|</th>\n|;
+
+
+ $form->{title} = $locale->text('Chart of Accounts');
+
+ $colspan = $#column_index + 1;
+
+ $form->header;
+
+ print qq|
+<body>
+
+<table width=100%>
+ <tr><th class=listtop colspan=$colspan>$form->{title}</font></th></tr>
+ <tr height="5"></tr>
+ <tr class=listheading>|;
+
+ map { print $column_header{$_} } @column_index;
+
+ print qq|
+ </tr>
+|;
+
+
+ foreach $ca (@{ $form->{CA} }) {
+
+ $description = $form->escape($ca->{description});
+ $gifi_description = $form->escape($ca->{gifi_description});
+
+ $href = qq|$form->{script}?path=$form->{path}&action=list&accno=$ca->{accno}&login=$form->{login}&password=$form->{password}&description=$description&gifi_accno=$ca->{gifi_accno}&gifi_description=$gifi_description|;
+
+ if ($ca->{charttype} eq "H") {
+ print qq|<tr class=listheading>|;
+ map { $column_data{$_} = "<th class=listheading>$ca->{$_}</th>"; } qw(accno description);
+ $column_data{gifi_accno} = "<th class=listheading>$ca->{gifi_accno}&nbsp;</font></th>";
+ } else {
+ $i++; $i %= 2;
+ print qq|<tr class=listrow$i>|;
+ $column_data{accno} = "<td><a href=$href>$ca->{accno}</a></td>";
+ $column_data{gifi_accno} = "<td><a href=$href&accounttype=gifi>$ca->{gifi_accno}</a>&nbsp;</td>";
+ $column_data{description} = "<td>$ca->{description}</td>";
+ }
+
+ $column_data{debit} = "<td align=right>".$form->format_amount(\%myconfig, $ca->{debit}, 2, "&nbsp;")."</td>\n";
+ $column_data{credit} = "<td align=right>".$form->format_amount(\%myconfig, $ca->{credit}, 2, "&nbsp;")."</td>\n";
+
+ $totaldebit += $ca->{debit};
+ $totalcredit += $ca->{credit};
+
+ map { print $column_data{$_} } @column_index;
+
+ print qq|
+</tr>
+|;
+ }
+
+ map { $column_data{$_} = "<td>&nbsp;</td>"; } qw(accno gifi_accno description);
+
+ $column_data{debit} = "<th class=listtotal align=right>".$form->format_amount(\%myconfig, $totaldebit, 2, 0)."</font></th>";
+ $column_data{credit} = "<th class=listtotal align=right>".$form->format_amount(\%myconfig, $totalcredit, 2, 0)."</font></th>";
+
+ print "<tr class=listtotal>";
+
+ map { print $column_data{$_} } @column_index;
+
+ print qq|
+</tr>
+<tr>
+ <td colspan=$colspan><hr size=3 noshade></td>
+</tr>
+</table>
+
+</body>
+</html>
+|;
+
+}
+
+
+sub list {
+
+ $form->{title} = $locale->text('List Transactions');
+ if ($form->{accounttype} eq 'gifi') {
+ $form->{title} .= " - ".$locale->text('GIFI')." $form->{gifi_accno}";
+ } else {
+ $form->{title} .= " - ".$locale->text('Account')." $form->{accno}";
+ }
+
+ $form->header;
+
+ map { $form->{$_} =~ s/"/&quot;/g; } qw(description gifi_description);
+
+ print qq|
+<body>
+
+<form method=post action=$form->{script}>
+
+<input type=hidden name=accno value=$form->{accno}>
+<input type=hidden name=description value="$form->{description}">
+<input type=hidden name=sort value=transdate>
+
+<input type=hidden name=accounttype value=$form->{accounttype}>
+<input type=hidden name=gifi_accno value=$form->{gifi_accno}>
+<input type=hidden name=gifi_description value="$form->{gifi_description}">
+
+<table border=0 width=100%>
+ <tr><th class=listtop>$form->{title}</font></th></tr>
+ <tr height="5"></tr
+ <tr valign=top>
+ <td>
+ <table>
+ <tr>
+ <th align=right>|.$locale->text('From').qq|</th>
+ <td><input name=fromdate size=11 title="$myconfig{dateformat}"></td>
+ <th align=right>|.$locale->text('to').qq|</th>
+ <td><input name=todate size=11 title="$myconfig{dateformat}"></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Include in Report').qq|</th>
+ <td colspan=3>
+ <input name=l_subtotal class=checkbox type=checkbox value=Y>&nbsp;|.$locale->text('Subtotal').qq|</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr><td><hr size=3 noshade></td></tr>
+</table>
+
+<input type=hidden name=login value=$form->{login}>
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=password value=$form->{password}>
+
+<br><input class=submit type=submit name=action value="|.$locale->text('List Transactions').qq|">
+</form>
+
+</body>
+</html>
+|;
+
+}
+
+
+sub list_transactions {
+
+ CA->all_transactions(\%myconfig, \%$form);
+
+ $description = $form->escape($form->{description});
+ $gifi_description = $form->escape($form->{gifi_description});
+
+ # construct href
+ $href = "$form->{script}?path=$form->{path}&action=list_transactions&accno=$form->{accno}&login=$form->{login}&password=$form->{password}&fromdate=$form->{fromdate}&todate=$form->{todate}&description=$description&accounttype=$form->{accounttype}&gifi_accno=$form->{gifi_accno}&gifi_description=$gifi_description&l_heading=$form->{l_heading}&l_subtotal=$form->{l_subtotal}";
+
+ # construct callback
+ $callback = "rp.pl?path=$form->{path}&action=generate_trial_balance&login=$form->{login}&password=$form->{password}&fromdate=$form->{fromdate}&todate=$form->{todate}&l_heading=$form->{l_heading}&l_subtotal=$form->{l_subtotal}&accounttype=$form->{accounttype}";
+
+ # figure out which column comes first
+ $column_header{transdate} = qq|<th><a class=listheading href=$href&sort=transdate>|.$locale->text('Date').qq|</a></th>|;
+ $column_header{reference} = qq|<th><a class=listheading href=$href&sort=reference>|.$locale->text('Reference').qq|</a></th>|;
+ $column_header{description} = qq|<th><a class=listheading href=$href&sort=description>|.$locale->text('Description').qq|</a></th>|;
+ $column_header{debit} = qq|<th class=listheading>|.$locale->text('Debit').qq|</th>|;
+ $column_header{credit} = qq|<th class=listheading>|.$locale->text('Credit').qq|</th>|;
+ $column_header{balance} = qq|<th class=listheading>|.$locale->text('Balance').qq|</th>|;
+
+ @column_index = $form->sort_columns(qw(transdate reference description debit credit));
+
+ if ($form->{accounttype} eq 'gifi') {
+ map { $form->{$_} = $form->{"gifi_$_"} } qw(accno description);
+ }
+ if ($form->{accno}) {
+ push @column_index, "balance";
+ }
+
+ $form->{title} = ($form->{accounttype} eq 'gifi') ? $locale->text('GIFI') : $locale->text('Account');
+
+ $form->{title} .= " $form->{accno} - $form->{description}";
+
+
+ if ($form->{fromdate} || $form->{todate}) {
+ if ($form->{fromdate}) {
+ $fromdate = $locale->date(\%myconfig, $form->{fromdate}, 1);
+ }
+ if ($form->{todate}) {
+ $todate = $locale->date(\%myconfig, $form->{todate}, 1);
+ }
+
+ $form->{period} = "$fromdate - $todate";
+ } else {
+ $form->{period} = $locale->date(\%myconfig, $form->current_date(\%myconfig),1);
+ }
+
+
+ $form->header;
+
+ print qq|
+<body>
+
+<table width=100%>
+ <tr>
+ <th class=listtop>$form->{title}</font></th>
+ </tr>
+ <tr height="5"></tr>
+ <tr>
+ <td>$form->{period}</td>
+ </tr>
+ <tr>
+ <td>
+ <table width=100%>
+ <tr class=listheading>
+|;
+
+map { print "$column_header{$_}\n" } @column_index;
+
+print qq|
+ </tr>
+|;
+
+ # add sort to callback
+ $callback = $form->escape($callback . "&sort=$form->{sort}");
+
+ if (@{ $form->{CA} }) {
+ $sameitem = $form->{CA}->[0]->{$form->{sort}};
+ }
+
+ $ml = ($form->{category} =~ /(A|E)/) ? -1 : 1;
+ if ($form->{accno} && $form->{balance}) {
+
+ map { $column_data{$_} = "<td>&nbsp;</td>" } @column_index;
+
+ $column_data{balance} = "<td align=right>".$form->format_amount(\%myconfig, $form->{balance} * $ml, 2, 0)."</td>";
+
+ $i++; $i %= 2;
+ print qq|
+ <tr class=listrow$i>
+|;
+ map { print $column_data{$_} } @column_index;
+ print qq|
+ </tr>
+|;
+ }
+
+ foreach $ca (@{ $form->{CA} }) {
+
+ if ($form->{l_subtotal} eq 'Y') {
+ if ($sameitem ne $ca->{$form->{sort}}) {
+ &ca_subtotal;
+ }
+ }
+
+ # construct link to source
+ $href = "<a href=$ca->{module}.pl?path=$form->{path}&action=edit&id=$ca->{id}&login=$form->{login}&password=$form->{password}&callback=$callback>$ca->{reference}</a>";
+
+
+ $column_data{debit} = "<td align=right>".$form->format_amount(\%myconfig, $ca->{debit}, 2, "&nbsp;")."</td>";
+ $column_data{credit} = "<td align=right>".$form->format_amount(\%myconfig, $ca->{credit}, 2, "&nbsp;")."</td>";
+
+ $form->{balance} += $ca->{amount};
+ $column_data{balance} = "<td align=right>".$form->format_amount(\%myconfig, $form->{balance} * $ml, 2, 0)."</td>";
+
+ $subtotaldebit += $ca->{debit};
+ $subtotalcredit += $ca->{credit};
+
+ $totaldebit += $ca->{debit};
+ $totalcredit += $ca->{credit};
+
+ $column_data{transdate} = qq|<td>$ca->{transdate}</td>|;
+ $column_data{reference} = qq|<td>$href</td>|;
+ $column_data{description} = qq|<td>$ca->{description}</td>|;
+
+ $i++; $i %= 2;
+ print qq|
+ <tr class=listrow$i>
+|;
+
+ map { print $column_data{$_} } @column_index;
+
+ print qq|
+ </tr>
+|;
+
+ }
+
+
+ if ($form->{l_subtotal} eq 'Y') {
+ &ca_subtotal;
+ }
+
+
+ map { $column_data{$_} = "<td>&nbsp;</td>" } @column_index;
+
+ $column_data{debit} = "<th class=listtotal align=right>".$form->format_amount(\%myconfig, $totaldebit, 2, "&nbsp;")."</font></th>";
+ $column_data{credit} = "<th class=listtotal align=right>".$form->format_amount(\%myconfig, $totalcredit, 2, "&nbsp;")."</font></th>";
+ $column_data{balance} = "<th class=listtotal align=right>".$form->format_amount(\%myconfig, $form->{balance} * $ml, 2, 0)."</font></th>";
+
+ print qq|
+ <tr class=listtotal>
+|;
+
+ map { print $column_data{$_} } @column_index;
+
+ print qq|
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td><hr size=3 noshade></td>
+ </tr>
+</table>
+
+</body>
+</html>
+|;
+
+}
+
+
+sub ca_subtotal {
+
+ map { $column_data{$_} = "<td>&nbsp;</td>" } @column_index;
+
+ $column_data{debit} = "<th class=listsubtotal align=right>".$form->format_amount(\%myconfig, $subtotaldebit, 2, "&nbsp;") . "</font></th>";
+ $column_data{credit} = "<th class=listsubtotal align=right>".$form->format_amount(\%myconfig, $subtotalcredit, 2, "&nbsp;") . "</font></th>";
+
+ $subtotaldebit = 0;
+ $subtotalcredit = 0;
+
+ $sameitem = $ca->{$form->{sort}};
+
+ print qq|
+ <tr class=listsubtotal>
+|;
+
+ map { print "$column_data{$_}\n" } @column_index;
+
+ print qq|
+ </tr>
+|;
+
+}
+
diff --git a/sql-ledger/bin/mozilla/cp.pl b/sql-ledger/bin/mozilla/cp.pl
new file mode 100644
index 0000000..911b701
--- /dev/null
+++ b/sql-ledger/bin/mozilla/cp.pl
@@ -0,0 +1,528 @@
+#=====================================================================
+# SQL-Ledger Accounting
+# Copyright (c) 2002
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#======================================================================
+#
+# Payment module
+#
+#======================================================================
+
+
+use SL::CP;
+use SL::IS;
+use SL::IR;
+
+require "$form->{path}/arap.pl";
+
+1;
+# end of main
+
+
+sub payment {
+
+ # setup customer/vendor selection for open invoices
+ CP->get_openvc(\%myconfig, \%$form);
+
+ if ($form->{"all_$form->{vc}"}) {
+ map { $form->{"select$form->{vc}"} .= "<option>$_->{name}--$_->{id}\n" } @{ $form->{"all_$form->{vc}"} };
+ }
+
+ $form->{arap} = ($form->{vc} eq 'customer') ? "AR" : "AP";
+
+ CP->paymentaccounts(\%myconfig, \%$form);
+
+ map { $form->{selectaccount} .= "<option>$_->{accno}--$_->{description}\n" } @{ $form->{PR} };
+
+ # currencies
+ @curr = split /:/, $form->{currencies};
+ chomp $curr[0];
+ $form->{defaultcurrency} = $form->{currency} = $form->{oldcurrency} = $curr[0];
+
+ map { $form->{selectcurrency} .= "<option>$_\n" } @curr;
+
+ $form->{media} = "screen";
+
+ &form_header;
+ &list_invoices;
+ &form_footer;
+
+}
+
+
+
+sub form_header {
+
+ $vclabel = ucfirst $form->{vc};
+ $vclabel = $locale->text($vclabel);
+
+ if ($form->{vc} eq 'customer') {
+ $form->{title} = $locale->text('Receipt');
+ $rclabel = $locale->text('Reference');
+ $form->{type} = 'receipt';
+ } else {
+ $form->{title} = $locale->text('Payment');
+ $rclabel = $locale->text('Check');
+ $form->{type} = 'check';
+ }
+
+# $locale->text('Customer')
+# $locale->text('Vendor')
+
+ if ($form->{$form->{vc}} eq "") {
+ map { $form->{"addr$_"} = "" } (1 .. 4);
+ }
+
+ if ($form->{currency} ne $form->{defaultcurrency}) {
+ $form->{exchangerate} = $form->format_amount(\%myconfig, $form->{exchangerate});
+ if ($form->{forex}) {
+ $exchangerate = qq|
+ <tr>
+ <th align=right nowrap>|.$locale->text('Exchangerate').qq|</th>
+ <td colspan=3><input type=hidden name=exchangerate size=10 value=$form->{exchangerate}>$form->{exchangerate}</td>
+ </tr>
+|;
+ } else {
+ $exchangerate = qq|
+ <tr>
+ <th align=right nowrap>|.$locale->text('Exchangerate').qq|</th>
+ <td colspan=3><input name=exchangerate size=10 value=$form->{exchangerate}></td>
+ </tr>
+|;
+ }
+ }
+
+ foreach $item ($form->{vc}, account, currency) {
+ $form->{"select$item"} =~ s/ selected//;
+ $form->{"select$item"} =~ s/option>\Q$form->{$item}\E/option selected>$form->{$item}/;
+ }
+
+ $vc = ($form->{"select$form->{vc}"}) ? qq|<select name=$form->{vc}>$form->{"select$form->{vc}"}\n</select>| : qq|<input name=$form->{vc} size=35 value="$form->{$form->{vc}}">|;
+
+ $form->header;
+
+ print qq|
+<body>
+
+<form method=post action=$form->{script}>
+
+<input type=hidden name=defaultcurrency value=$form->{defaultcurrency}>
+<input type=hidden name=closedto value=$form->{closedto}>
+<input type=hidden name=vc value=$form->{vc}>
+<input type=hidden name=type value=$form->{type}>
+
+<table border=0 width=100%>
+ <tr>
+ <th class=listtop>$form->{title}</th>
+ </tr>
+ <tr height="5"></tr>
+ <tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td>
+ <table>
+ <tr>
+ <th align=right>$vclabel</th>
+ <td>$vc</td>
+ <input type=hidden name="select$form->{vc}" value="$form->{"select$form->{vc}"}">
+ <input type=hidden name="$form->{vc}_id" value=$form->{"$form->{vc}_id"}>
+ <input type=hidden name="old$form->{vc}" value="$form->{"old$form->{vc}"}">
+ </tr>
+ <tr valign=top>
+ <th align=right nowrap>|.$locale->text('Address').qq|</th>
+ <td>
+ <table>
+ <tr>
+ <td>$form->{addr1}</td>
+ </tr>
+ <tr>
+ <td>$form->{addr2}</td>
+ </tr>
+ <tr>
+ <td>$form->{addr3}</td>
+ </tr>
+ <tr>
+ <td>$form->{addr4}</td>
+ </tr>
+ </table>
+ </td>
+ <input type=hidden name=addr1 value="$form->{addr1}">
+ <input type=hidden name=addr2 value="$form->{addr2}">
+ <input type=hidden name=addr3 value="$form->{addr3}">
+ <input type=hidden name=addr4 value="$form->{addr4}">
+ </tr>
+ </table>
+ </td>
+ <td align=right>
+ <table>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Account').qq|</th>
+ <td colspan=3><select name=account>$form->{selectaccount}</select>
+ <input type=hidden name=selectaccount value="$form->{selectaccount}">
+ </td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Date').qq|</th>
+ <td><input name=datepaid value="$form->{datepaid}" title="$myconfig{dateformat}" size=11></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Currency').qq|</th>
+ <td><select name=currency>$form->{selectcurrency}</select></td>
+ <input type=hidden name=selectcurrency value="$form->{selectcurrency}">
+ <input type=hidden name=oldcurrency value=$form->{oldcurrency}>
+ </tr>
+ $exchangerate
+ <tr>
+ <th align=right nowrap>$rclabel</th>
+ <td colspan=3><input name=source value="$form->{source}" size=10></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Amount').qq|</th>
+ <td colspan=3><input name=amount size=10 value=|.$form->format_amount(\%myconfig, $form->{amount}, 2).qq|></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('From').qq|</th>
+ <td><input name=transdatefrom size=11 title="$myconfig{dateformat}" value=$form->{transdatefrom}></td>
+ <th align=right nowrap>|.$locale->text('to').qq|</th>
+ <td><input name=transdateto size=11 title="$myconfig{dateformat}" value=$form->{transdateto}></td>
+ <input type=hidden name=oldtransdatefrom value=$form->{oldtransdatefrom}>
+ <input type=hidden name=oldtransdateto value=$form->{oldtransdateto}>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+|;
+
+}
+
+
+sub list_invoices {
+
+ @column_index = qw(invnumber transdate amount due paid selectpaid);
+
+ $colspan = $#column_index + 1;
+
+ print qq|
+ <input type=hidden name=column_index value="id @column_index">
+ <tr>
+ <td>
+ <table width=100%>
+ <tr>
+ <th class=listheading colspan=$colspan>|.$locale->text('Invoices').qq|</th>
+ </tr>
+|;
+
+ $column_data{invnumber} = qq|<th nowrap>|.$locale->text('Invoice')."</th>";
+ $column_data{transdate} = qq|<th nowrap>|.$locale->text('Date')."</th>";
+ $column_data{amount} = qq|<th nowrap>|.$locale->text('Amount')."</th>";
+ $column_data{due} = qq|<th nowrap>|.$locale->text('Due')."</th>";
+ $column_data{paid} = qq|<th nowrap>|.$locale->text('Applied')."</th>";
+ $column_data{selectpaid} = qq|<th nowrap>|.$locale->text('Paid in full')."</th>";
+
+ print qq|
+ <tr>
+|;
+ map { print "$column_data{$_}\n" } @column_index;
+ print qq|
+ </tr>
+|;
+
+ for $i (1 .. $form->{rowcount}) {
+
+ $form->{"selectpaid_$i"} = "checked" if $form->{"selectpaid_$i"};
+ map { $form->{"${_}_$i"} = $form->parse_amount(\%myconfig, $form->{"${_}_$i"}) } qw(amount due paid);
+
+ $totalamount += $form->{"amount_$i"};
+ $totaldue += $form->{"due_$i"};
+ $totalpaid += $form->{"paid_$i"};
+
+ map { $form->{"${_}_$i"} = $form->format_amount(\%myconfig, $form->{"${_}_$i"}, 2) } qw(amount due paid);
+
+ $column_data{invnumber} = qq|<td>$form->{"invnumber_$i"}</td>
+ <input type=hidden name="invnumber_$i" value="$form->{"invnumber_$i"}">
+ <input type=hidden name="id_$i" value=$form->{"id_$i"}>|;
+ $column_data{transdate} = qq|<td width=15%>$form->{"transdate_$i"}</td>
+ <input type=hidden name="transdate_$i" value=$form->{"transdate_$i"}>|;
+ $column_data{amount} = qq|<td align=right width=15%>$form->{"amount_$i"}</td>
+ <input type=hidden name="amount_$i" value=$form->{"amount_$i"}>|;
+ $column_data{due} = qq|<td align=right width=15%>$form->{"due_$i"}</td>
+ <input type=hidden name="due_$i" value=$form->{"due_$i"}>|;
+
+ $column_data{paid} = qq|<td align=right width=15%>|;
+ if ($form->{"selectpaid_$i"}) {
+ $column_data{paid} .= qq|<input type=hidden name="paid_$i" value=$form->{"paid_$i"}>$form->{"paid_$i"}</td>|;
+ } else {
+ $column_data{paid} .= qq|<input name="paid_$i" size=10 value=$form->{"paid_$i"}></td>|;
+ }
+ $column_data{selectpaid} = qq|<td align=center width=10%><input name="selectpaid_$i" type=checkbox class=checkbox $form->{"selectpaid_$i"}></td>|;
+
+ $j++; $j %= 2;
+ print qq|
+ <tr class=listrow$j>
+|;
+ map { print "$column_data{$_}\n" } @column_index;
+ print qq|
+ </tr>
+|;
+ }
+
+ map { $column_data{$_} = "<td>&nbsp;</td>" } @column_index;
+
+ $column_data{amount} = qq|<th align=right>|.$form->format_amount(\%myconfig, $totalamount, 2, "&nbsp;").qq|</th>|;
+ $column_data{due} = qq|<th align=right>|.$form->format_amount(\%myconfig, $totaldue, 2, "&nbsp;").qq|</th>|;
+ $column_data{paid} = qq|<th align=right>|.$form->format_amount(\%myconfig, $totalpaid, 2, "&nbsp;").qq|</th>|;
+
+ print qq|
+ <tr class=listtotal>
+|;
+ map { print "$column_data{$_}\n" } @column_index;
+ print qq|
+ </tr>
+ </table>
+ </td>
+ </tr>
+|;
+
+}
+
+
+sub form_footer {
+
+ $form->{OP}{$form->{media}} = "checked";
+
+ print qq|
+ <tr>
+ <td><hr size=3 noshade></td>
+ </tr>
+</table>
+<input type=hidden name=rowcount value=$form->{rowcount}>
+
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=login value=$form->{login}>
+<input type=hidden name=password value=$form->{password}>
+
+<br>
+<input class=submit type=submit name=action value="|.$locale->text('Update').qq|">
+<input class=submit type=submit name=action value="|.$locale->text('Post').qq|">|;
+
+ if ($latex) {
+ print qq|
+<input class=submit type=submit name=action value="|.$locale->text('Print').qq|">
+<input class=radio type=radio name=media value=screen $form->{OP}{screen}> |.$locale->text('Screen');
+
+ if ($myconfig{printer}) {
+ print qq|
+<input class=radio type=radio name=media value=printer $form->{OP}{printer}> |.$locale->text('Printer');
+ }
+ }
+
+ print qq|
+
+</form>
+
+</body>
+</html>
+|;
+
+}
+
+
+sub update {
+ my ($new_name_selected) = @_;
+
+ # get customer and invoices
+ $updated = &check_name($form->{vc});
+
+ $updated = 1 if (($form->{oldtransdatefrom} ne $form->{transdatefrom}) || ($form->{oldtransdateto} ne $form->{transdateto}));
+ $form->{oldtransdatefrom} = $form->{transdatefrom};
+ $form->{oldtransdateto} = $form->{transdateto};
+
+ if ($new_name_selected || $updated) {
+ CP->get_openinvoices(\%myconfig, \%$form);
+ $updated = 1;
+ }
+
+ if ($form->{currency} ne $form->{oldcurrency}) {
+ $form->{oldcurrency} = $form->{currency};
+ if (!$updated) {
+ CP->get_openinvoices(\%myconfig, \%$form);
+ $updated = 1;
+ }
+ }
+
+ # check currency
+ $buysell = ($form->{vc} eq 'customer') ? "buy" : "sell";
+
+ $form->{exchangerate} = $exchangerate if ($form->{forex} = ($exchangerate = $form->check_exchangerate(\%myconfig, $form->{currency}, $form->{datepaid}, $buysell)));
+
+ $amount = $form->{amount} = $form->parse_amount(\%myconfig, $form->{amount});
+
+ if ($updated) {
+ $form->{rowcount} = 0;
+
+ $i = 0;
+ foreach $ref (@{ $form->{PR} }) {
+ $i++;
+ $form->{"id_$i"} = $ref->{id};
+ $form->{"invnumber_$i"} = $ref->{invnumber};
+ $form->{"transdate_$i"} = $ref->{transdate};
+ $ref->{exchangerate} = 1 unless $ref->{exchangerate};
+ $form->{"amount_$i"} = $ref->{amount} / $ref->{exchangerate};
+ $form->{"due_$i"} = $form->round_amount(($ref->{amount} - $ref->{paid}) / $ref->{exchangerate}, 2);
+ $amount = $form->round_amount($amount - $form->{"due_$i"}, 2);
+ $form->{"selectpaid_$i"} = 1 if $amount > 0;
+
+ map { $form->{"${_}_$i"} = $form->format_amount(\%myconfig, $form->{"${_}_$i"}, 2) } qw(amount due paid);
+
+ }
+ $form->{rowcount} = $i;
+ }
+
+ # recalculate
+ $amount = $form->{amount};
+ for $i (1 .. $form->{rowcount}) {
+
+ map { $form->{"${_}_$i"} = $form->parse_amount(\%myconfig, $form->{"${_}_$i"}) } qw(amount due paid);
+
+ if ($form->{"selectpaid_$i"}) {
+ $amount -= $form->{"due_$i"};
+
+ if ($amount < 0) {
+ $form->{"selectpaid_$i"} = 0;
+ } else {
+ $form->{"paid_$i"} = $form->{"due_$i"};
+ }
+ }
+
+ map { $form->{"${_}_$i"} = $form->format_amount(\%myconfig, $form->{"${_}_$i"}, 2) } qw(amount due paid);
+
+ }
+
+ &form_header;
+ &list_invoices;
+ &form_footer;
+
+}
+
+
+sub post {
+
+ &check_form;
+
+ $form->redirect($locale->text('Payment posted!')) if (CP->process_payment(\%myconfig, \%$form));
+ $form->error($locale->text('Cannot post payment!'));
+
+}
+
+
+sub print {
+
+ &check_form;
+
+ ($whole, $form->{decimal}) = split /\./, $form->{amount};
+
+ $form->{amount} = $form->format_amount(\%myconfig, $form->{amount}, 2);
+ $m = "*" x (24 - length $form->{amount});
+ $form->{amount} = $locale->text($form->{currency})."$m$form->{amount}";
+
+ $form->{decimal} .= "00";
+ $form->{decimal} = substr($form->{decimal}, 0, 2);
+
+ $check = new CP $myconfig{countrycode};
+ $check->init;
+ $form->{text_amount} = $check->num2text($whole);
+
+ &{ "$form->{vc}_details" };
+
+ $form->{format} = ($form->{media} eq 'screen') ? "pdf" : "postscript";
+ $form->{templates} = "$myconfig{templates}";
+ $form->{IN} = "$form->{type}.tex";
+ $form->{OUT} = "| $myconfig{printer}" if ($form->{media} eq 'printer');
+
+ $form->{company} = $myconfig{company};
+ $form->{address} = $myconfig{address};
+
+ @a = qw(name invnumber company address text_amount addr1 addr2 addr3 addr4);
+ $form->format_string(@a);
+
+ $form->parse_template(\%myconfig, $userspath);
+
+ $form->{callback} = "";
+
+ $label = uc $form->{type};
+
+# $locale->text('Check printed!')
+# $locale->text('Check printing failed!')
+# $locale->text('Receipt printed!')
+# $locale->text('Receipt printing failed!')
+
+ $form->redirect($locale->text("$label printed!"));
+ $form->error($locale->text("$label printing failed!"));
+
+}
+
+
+sub customer_details { IS->customer_details(\%myconfig, \%$form) };
+sub vendor_details { IR->vendor_details(\%myconfig, \%$form) };
+
+
+sub check_form {
+
+ # construct callback
+ $form->{callback} = "$form->{script}?action=payment&vc=$form->{vc}&path=$form->{path}&login=$form->{login}&password=$form->{password}";
+
+ $form->redirect unless $form->{rowcount};
+
+ if ($form->{currency} ne $form->{oldcurrency}) {
+ &update;
+ exit;
+ }
+
+ $form->error($locale->text('Date missing!')) unless $form->{datepaid};
+ $form->error($locale->text('Amount missing!')) unless $form->{amount};
+
+ $closedto = $form->datetonum($form->{closedto}, \%myconfig);
+ $datepaid = $form->datetonum($form->{datepaid}, \%myconfig);
+
+ $form->error($locale->text('Cannot process payment for a closed period!')) if ($datepaid <= $closedto);
+
+ $form->{amount} = $form->parse_amount(\%myconfig, $form->{amount});
+ for $i (1 .. $form->{rowcount}) {
+ $totalpaid += $form->parse_amount(\%myconfig, $form->{"paid_$i"});
+ if ($form->{"paid_$i"}) {
+ push(@{ $form->{paid} }, $form->{"paid_$i"});
+ push(@{ $form->{due} }, $form->{"due_$i"});
+ push(@{ $form->{invnumber} }, $form->{"invnumber_$i"});
+ push(@{ $form->{invdate} }, $form->{"transdate_$i"});
+ }
+ }
+
+ $totalpaid = $form->round_amount($totalpaid, 2);
+
+ $form->error($locale->text('Nothing applied!')) unless $totalpaid;
+ $form->error($locale->text('Amount does not equal applied!')) if ($form->{amount} != $totalpaid);
+
+}
+
+
diff --git a/sql-ledger/bin/mozilla/ct.pl b/sql-ledger/bin/mozilla/ct.pl
new file mode 100644
index 0000000..3dbb565
--- /dev/null
+++ b/sql-ledger/bin/mozilla/ct.pl
@@ -0,0 +1,631 @@
+#=====================================================================
+# SQL-Ledger Accounting
+# Copyright (c) 1998-2002
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+# Contributors: Reed White <alta@alta-research.com>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#======================================================================
+#
+# customer/vendor module
+#
+#======================================================================
+
+# $locale->text('Customers')
+# $locale->text('Vendors')
+
+use SL::CT;
+
+1;
+# end of main
+
+
+
+sub add {
+
+ $form->{title} = "Add";
+
+ $form->{callback} = "$form->{script}?action=add&db=$form->{db}&path=$form->{path}&login=$form->{login}&password=$form->{password}" unless $form->{callback};
+
+ CT->taxaccounts(\%myconfig, \%$form);
+
+ &form_header;
+ &form_footer;
+
+}
+
+
+sub search {
+
+ $label = ucfirst $form->{db};
+ $form->{title} = $locale->text($label."s");
+
+ $form->header;
+
+ print qq|
+<body>
+
+<form method=post action=$form->{script}>
+
+<input type=hidden name=db value=$form->{db}>
+
+<table width=100%>
+ <tr>
+ <th class=listtop>$form->{title}</th>
+ </tr>
+ <tr height="5"></tr>
+ <tr valign=top>
+ <td>
+ <table>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Number').qq|</th>
+ <td><input name=$form->{db}number size=35></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Name').qq|</th>
+ <td><input name=name size=35></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Contact').qq|</th>
+ <td><input name=contact size=35></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('E-mail').qq|</th>
+ <td><input name=email size=35></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><input name=status class=radio type=radio value=all checked>&nbsp;|.$locale->text('All').qq|
+ <input name=status class=radio type=radio value=orphaned>&nbsp;|.$locale->text('Orphaned').qq|</td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Include in Report').qq|</th>
+ <td>
+ <input name="l_$form->{db}number" type=checkbox class=checkbox value=Y>&nbsp;|.$locale->text('Number').qq|
+ <input name="l_name" type=checkbox class=checkbox value=Y checked>&nbsp;|.$locale->text('Name').qq|
+ <input name="l_address" type=checkbox class=checkbox value=Y>&nbsp;|.$locale->text('Address').qq|<br>
+ <input name="l_contact" type=checkbox class=checkbox value=Y checked>&nbsp;|.$locale->text('Contact').qq|
+ <input name="l_phone" type=checkbox class=checkbox value=Y checked>&nbsp;|.$locale->text('Phone').qq|
+ <input name="l_fax" type=checkbox class=checkbox value=Y>&nbsp;|.$locale->text('Fax').qq|
+ <input name="l_email" type=checkbox class=checkbox value=Y checked>&nbsp;|.$locale->text('E-mail').qq|
+ <input name="l_cc" type=checkbox class=checkbox value=Y>&nbsp;|.$locale->text('Cc').qq|
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td><hr size=3 noshade></td>
+ </tr>
+</table>
+
+<input type=hidden name=nextsub value=list_names>
+
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=login value=$form->{login}>
+<input type=hidden name=password value=$form->{password}>
+
+<br>
+<input type=submit class=submit name=action value="|.$locale->text('Continue').qq|">
+</form>
+
+</body>
+</html>
+|;
+}
+
+
+sub list_names {
+
+ CT->search(\%myconfig, \%$form);
+
+ $callback = "$form->{script}?action=list_names&db=$form->{db}&path=$form->{path}&login=$form->{login}&password=$form->{password}&status=$form->{status}";
+ $href = $callback;
+
+ @columns = $form->sort_columns(name, "$form->{db}number", address, contact, phone, fax, email, cc);
+
+ foreach $item (@columns) {
+ if ($form->{"l_$item"} eq "Y") {
+ push @column_index, $item;
+
+ # add column to href and callback
+ $callback .= "&l_$item=Y";
+ $href .= "&l_$item=Y";
+ }
+ }
+
+ if ($form->{status} eq 'all') {
+ $option = $locale->text('All');
+ }
+ if ($form->{status} eq 'orphaned') {
+ $option .= $locale->text('Orphaned');
+ }
+ if ($form->{name}) {
+ $callback .= "&name=$form->{name}";
+ $href .= "&name=".$form->escape($form->{name});
+ $option .= "\n<br>".$locale->text('Name')." : $form->{name}";
+ }
+ if ($form->{contact}) {
+ $callback .= "&contact=$form->{contact}";
+ $href .= "&contact=".$form->escape($form->{contact});
+ $option .= "\n<br>".$locale->text('Contact')." : $form->{contact}";
+ }
+ if ($form->{"$form->{db}number"}) {
+ $callback .= qq|&$form->{db}number=$form->{"$form->{db}number"}|;
+ $href .= "&$form->{db}number=".$form->escape($form->{"$form->{db}number"});
+ $option .= "\n<br>".$locale->text('Number').qq| : $form->{"$form->{db}number"}|;
+ }
+ if ($form->{email}) {
+ $callback .= "&email=$form->{email}";
+ $href .= "&email=".$form->escape($form->{email});
+ $option .= "\n<br>".$locale->text('E-mail')." : $form->{email}";
+ }
+
+ $form->{callback} = "$callback&sort=$form->{sort}";
+ $callback = $form->escape($form->{callback});
+
+ $column_header{"$form->{db}number"} = qq|<th><a class=listheading href=$href&sort=$form->{db}number>|.$locale->text('Number').qq|</a></th>|;
+ $column_header{name} = qq|<th><a class=listheading href=$href&sort=name>|.$locale->text('Name').qq|</a></th>|;
+ $column_header{address} = qq|<th><a class=listheading href=$href&sort=address>|.$locale->text('Address').qq|</a></th>|;
+ $column_header{contact} = qq|<th><a class=listheading href=$href&sort=contact>|.$locale->text('Contact').qq|</a></th>|;
+ $column_header{phone} = qq|<th><a class=listheading href=$href&sort=phone>|.$locale->text('Phone').qq|</a></th>|;
+ $column_header{fax} = qq|<th><a class=listheading href=$href&sort=fax>|.$locale->text('Fax').qq|</a></th>|;
+ $column_header{email} = qq|<th><a class=listheading href=$href&sort=email>|.$locale->text('E-mail').qq|</a></th>|;
+ $column_header{cc} = qq|<th><a class=listheading href=$href&sort=cc>|.$locale->text('Cc').qq|</a></th>|;
+
+ $label = ucfirst $form->{db}."s";
+ $form->{title} = $locale->text($label);
+
+ $form->header;
+
+ print qq|
+<body>
+
+<table width=100%>
+ <tr>
+ <th class=listtop>$form->{title}</th>
+ </tr>
+ <tr height="5"></tr>
+ <tr>
+ <td>$option</td>
+ </tr>
+ <tr>
+ <td>
+ <table width=100%>
+ <tr class=listheading>
+|;
+
+ map { print "$column_header{$_}\n" } @column_index;
+
+ print qq|
+ </tr>
+|;
+
+ foreach $ref (@{ $form->{CT} }) {
+
+ map { $column_data{$_} = "<td>$ref->{$_}&nbsp;</td>" } ("$form->{db}number", address, contact, phone, fax);
+
+ $column_data{name} = "<td><a href=$form->{script}?action=edit&id=$ref->{id}&db=$form->{db}&path=$form->{path}&login=$form->{login}&password=$form->{password}&status=$form->{status}&callback=$callback>$ref->{name}&nbsp;</td>";
+
+ $column_data{email} = ($ref->{email}) ? qq|<td><a href="mailto:$ref->{email}">$ref->{email}</a></td>| : "<td>&nbsp;</td>";
+ $column_data{cc} = ($ref->{cc}) ? qq|<td><a href="mailto:$ref->{cc}">$ref->{cc}</a></td>| : "<td>&nbsp;</td>";
+
+ $i++; $i %= 2;
+ print "
+ <tr class=listrow$i>
+";
+
+ map { print "$column_data{$_}\n" } @column_index;
+
+ print qq|
+ </tr>
+|;
+
+ }
+
+ print qq|
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td><hr size=3 noshade></td>
+ </tr>
+</table>
+
+<br>
+<form method=post action=$form->{script}>
+
+<input name=callback type=hidden value="$form->{callback}">
+<input name=db type=hidden value=$form->{db}>
+
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=login value=$form->{login}>
+<input type=hidden name=password value=$form->{password}>
+
+<input class=submit type=submit name=action value="|.$locale->text('Add').qq|">
+
+</form>
+
+</body>
+</html>
+|;
+
+}
+
+
+sub edit {
+
+# $locale->text('Edit Customer')
+# $locale->text('Edit Vendor')
+
+ CT->get_tuple(\%myconfig, \%$form);
+
+ # format " into &quot;
+ map { $form->{$_} =~ s/"/&quot;/g } keys %$form;
+
+ $form->{title} = "Edit";
+
+ # format discount
+ $form->{discount} *= 100;
+
+ &form_header;
+ &form_footer;
+
+}
+
+
+sub form_header {
+
+ foreach $item (split / /, $form->{taxaccounts}) {
+ if (($form->{tax}{$item}{taxable}) || !($form->{id})) {
+ $taxable .= qq| <input name="tax_$item" value=1 class=checkbox type=checkbox checked>&nbsp;<b>$form->{tax}{$item}{description}</b>|;
+ } else {
+ $taxable .= qq| <input name="tax_$item" value=1 class=checkbox type=checkbox>&nbsp;<b>$form->{tax}{$item}{description}</b>|;
+ }
+ }
+
+ $tax = qq|
+ <tr>
+ <td>
+ <table>
+ <tr>
+ <th align=right>|.$locale->text('Taxable').qq|</th>
+ <td>$taxable</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+|;
+
+ $form->{taxincluded} = ($form->{taxincluded}) ? "checked" : "";
+ $form->{creditlimit} = $form->format_amount(\%myconfig, $form->{creditlimit}, 0);
+
+ if ($myconfig{admin}) {
+ $bcc = qq|
+ <tr>
+ <th align=right nowrap>|.$locale->text('Bcc').qq|</th>
+ <td><input name=bcc size=35 value="$form->{bcc}"></td>
+ </tr>
+|;
+ }
+
+
+ $label = ucfirst $form->{db};
+ $form->{title} = $locale->text("$form->{title} $label");
+
+ if ($form->{db} eq 'customer') {
+ $creditlimit = qq|
+ <th align=right>|.$locale->text('Credit Limit').qq|</th>
+ <td><input name=creditlimit size=9 value="$form->{creditlimit}"></td>
+ <th align=right>|.$locale->text('Discount').qq|</th>
+ <td><input name=discount size=4 value="$form->{discount}"></td>
+ <th>%</th>
+|;
+ }
+
+ $form->header;
+
+ print qq|
+<body>
+
+<form method=post action=$form->{script}>
+
+<table width=100%>
+ <tr>
+ <th class=listtop>$form->{title}</th>
+ </tr>
+ <tr>
+ <td>
+ <table width=100%>
+ <tr class=listheading>
+ <th class=listheading colspan=2 width=50%">&nbsp;</th>
+ <th class=listheading width=50%">|.$locale->text('Ship to').qq|</th>
+ </tr>
+ <tr height="5"></tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Number').qq|</th>
+ <td><input name="$form->{db}number" size=35 maxsize=35 value="$form->{"$form->{db}number"}"></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Name').qq|</th>
+ <td><input name=name size=35 maxsize=35 value="$form->{name}"></td>
+ <td><input name=shiptoname size=35 maxsize=35 value="$form->{shiptoname}"></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Address').qq|</th>
+ <td><input name=addr1 size=35 maxsize=35 value="$form->{addr1}"></td>
+ <td><input name=shiptoaddr1 size=35 maxsize=35 value="$form->{shiptoaddr1}"></td>
+ </tr>
+ <tr>
+ <th></th>
+ <td><input name=addr2 size=35 maxsize=35 value="$form->{addr2}"></td>
+ <td><input name=shiptoaddr2 size=35 maxsize=35 value="$form->{shiptoaddr2}"></td>
+ </tr>
+ <tr>
+ <th></th>
+ <td><input name=addr3 size=35 maxsize=35 value="$form->{addr3}"></td>
+ <td><input name=shiptoaddr3 size=35 maxsize=35 value="$form->{shiptoaddr3}"></td>
+ </tr>
+ <tr>
+ <th></th>
+ <td><input name=addr4 size=35 maxsize=35 value="$form->{addr4}"></td>
+ <td><input name=shiptoaddr4 size=35 maxsize=35 value="$form->{shiptoaddr4}"></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Contact').qq|</th>
+ <td><input name=contact size=35 maxsize=35 value="$form->{contact}"></td>
+ <td><input name=shiptocontact size=35 maxsize=35 value="$form->{shiptocontact}"></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Phone').qq|</th>
+ <td><input name=phone size=20 maxsize=20 value="$form->{phone}"></td>
+ <td><input name=shiptophone size=20 maxsize=20 value="$form->{shiptophone}"></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Fax').qq|</th>
+ <td><input name=fax size=20 maxsize=20 value="$form->{fax}"></td>
+ <td><input name=shiptofax size=20 maxsize=20 value="$form->{shiptofax}"></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('E-mail').qq|</th>
+ <td><input name=email size=35 value="$form->{email}"></td>
+ <td><input name=shiptoemail size=35 value="$form->{shiptoemail}"></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Cc').qq|</th>
+ <td><input name=cc size=35 value="$form->{cc}"></td>
+ </tr>
+ $bcc
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <table width=100%>
+ <tr>
+ <th align=right>|.$locale->text('Terms: Net').qq|</th>
+ <td><input name=terms size=2 value="$form->{terms}"></td>
+ <th>|.$locale->text('days').qq|</th>
+ $creditlimit
+ <td><input name=taxincluded class=checkbox type=checkbox value=1 $form->{taxincluded}></td>
+ <th align=left>|.$locale->text('Tax Included').qq|</th>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ $tax
+ <tr>
+ <th align=left nowrap>|.$locale->text('Notes').qq|</th>
+ </tr>
+ <tr>
+ <td><textarea name=notes rows=3 cols=60 wrap=soft>$form->{notes}</textarea></td>
+ </tr>
+ <tr>
+ <td><hr size=3 noshade></td>
+ </tr>
+</table>
+|;
+
+}
+
+
+
+sub form_footer {
+
+ $label = ucfirst $form->{db};
+
+ print qq|
+<input name=id type=hidden value=$form->{id}>
+<input name=taxaccounts type=hidden value="$form->{taxaccounts}">
+
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=login value=$form->{login}>
+<input type=hidden name=password value=$form->{password}>
+
+<input type=hidden name=callback value="$form->{callback}">
+<input type=hidden name=db value=$form->{db}>
+
+<br>
+
+<input class=submit type=submit name=action value="|.$locale->text("Save").qq|">
+<input class=submit type=submit name=action value="|.$locale->text("Invoice").qq|">
+<input class=submit type=submit name=action value="|.$locale->text('Order').qq|">
+|;
+
+ if ($form->{id} && $form->{status} eq 'orphaned') {
+ print qq|<input class=submit type=submit name=action value="|.$locale->text('Delete').qq|">\n|;
+ }
+
+ print qq|
+
+ </form>
+
+</body>
+</html>
+|;
+
+}
+
+
+sub invoice { &{ "$form->{db}_invoice" } };
+
+sub customer_invoice {
+
+ $form->isblank("name", $locale->text("Name missing!"));
+ CT->save_customer(\%myconfig, \%$form);
+
+ delete $form->{script};
+
+ $form->{action} = "add";
+ $form->{callback} = $form->escape($form->{callback},1);
+
+ $form->{customer} = $form->{name};
+ $form->{customer_id} = $form->{id};
+ $form->{vc} = 'customer';
+
+ delete $form->{id};
+
+ map { $argv .= "$_=$form->{$_}&" } keys %$form;
+
+ exec ("perl", "is.pl", $argv);
+
+}
+
+
+sub vendor_invoice {
+
+ $form->isblank("name", $locale->text("Name missing!"));
+ CT->save_vendor(\%myconfig, \%$form);
+
+ delete $form->{script};
+
+ $form->{action} = "add";
+ $form->{callback} = $form->escape($form->{callback},1);
+
+ $form->{vendor} = $form->{name};
+ $form->{vendor_id} = $form->{id};
+ $form->{vc} = 'vendor';
+
+ delete $form->{id};
+
+ map { $argv .= "$_=$form->{$_}&" } keys %$form;
+
+ exec ("perl", "ir.pl", $argv);
+
+}
+
+
+sub order { &{ "$form->{db}_order" } };
+
+sub customer_order {
+
+ $form->isblank("name", $locale->text("Name missing!"));
+ CT->save_customer(\%myconfig, \%$form);
+
+ delete $form->{script};
+
+ $form->{action} = "add";
+ $form->{callback} = $form->escape($form->{callback},1);
+
+ $form->{customer} = $form->{name};
+ $form->{customer_id} = $form->{id};
+ $form->{vc} = 'customer';
+
+ $form->{type} = 'sales_order';
+
+ delete $form->{id};
+
+ map { $argv .= "$_=$form->{$_}&" } keys %$form;
+
+ exec ("perl", "oe.pl", $argv);
+
+}
+
+
+sub vendor_order {
+
+ $form->isblank("name", $locale->text("Name missing!"));
+ CT->save_vendor(\%myconfig, \%$form);
+
+ delete $form->{script};
+
+ $form->{action} = "add";
+ $form->{callback} = $form->escape($form->{callback},1);
+
+ $form->{vendor} = $form->{name};
+ $form->{vendor_id} = $form->{id};
+ $form->{vc} = 'vendor';
+
+ $form->{type} = 'purchase_order';
+
+ delete $form->{id};
+
+ map { $argv .= "$_=$form->{$_}&" } keys %$form;
+
+ exec ("perl", "oe.pl", $argv);
+
+}
+
+
+sub save { &{ "save_$form->{db}" } };
+
+sub save_customer {
+
+ $form->isblank("name", $locale->text("Name missing!"));
+ CT->save_customer(\%myconfig, \%$form);
+ $form->redirect($locale->text('Customer saved!'));
+
+}
+
+
+sub save_vendor {
+
+ $form->isblank("name", $locale->text("Name missing!"));
+ CT->save_vendor(\%myconfig, \%$form);
+ $form->redirect($locale->text('Vendor saved!'));
+
+}
+
+
+sub delete { &{ "delete_$form->{db}" } };
+
+sub delete_customer {
+
+ $rc = CT->delete_customer(\%myconfig, \%$form);
+
+ $form->error($locale->text('Transactions exist, cannot delete customer!')) if ($rc == -1);
+ $form->redirect($locale->text('Customer deleted!')) if $rc;
+ $form->error($locale->text('Cannot delete customer!'));
+
+}
+
+
+sub delete_vendor {
+
+ $rc = CT->delete_vendor(\%myconfig, \%$form);
+
+ $form->error($locale->text('Transactions exist, cannot delete vendor!')) if ($rc == -1);
+ $form->redirect($locale->text('Vendor deleted!')) if $rc;
+ $form->error($locale->text('Cannot delete vendor!'));
+
+}
+
+
+sub continue { &{ $form->{nextsub} } };
+
+
diff --git a/sql-ledger/bin/mozilla/gl.pl b/sql-ledger/bin/mozilla/gl.pl
new file mode 100644
index 0000000..0d2dd46
--- /dev/null
+++ b/sql-ledger/bin/mozilla/gl.pl
@@ -0,0 +1,806 @@
+#=====================================================================
+# SQL-Ledger Accounting
+# Copyright (c) 1998-2002
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#======================================================================
+#
+# Genereal Ledger
+#
+#======================================================================
+
+
+use SL::GL;
+use SL::PE;
+
+require "$form->{path}/arap.pl";
+
+1;
+# end of main
+
+
+# this is for our long dates
+# $locale->text('January')
+# $locale->text('February')
+# $locale->text('March')
+# $locale->text('April')
+# $locale->text('May ')
+# $locale->text('June')
+# $locale->text('July')
+# $locale->text('August')
+# $locale->text('September')
+# $locale->text('October')
+# $locale->text('November')
+# $locale->text('December')
+
+# this is for our short month
+# $locale->text('Jan')
+# $locale->text('Feb')
+# $locale->text('Mar')
+# $locale->text('Apr')
+# $locale->text('May')
+# $locale->text('Jun')
+# $locale->text('Jul')
+# $locale->text('Aug')
+# $locale->text('Sep')
+# $locale->text('Oct')
+# $locale->text('Nov')
+# $locale->text('Dec')
+
+
+sub add {
+
+ $form->{title} = "Add";
+
+ $form->{callback} = "$form->{script}?action=add&path=$form->{path}&login=$form->{login}&password=$form->{password}" unless $form->{callback};
+
+ # we use this only to set a default date
+ GL->transaction(\%myconfig, \%$form);
+
+ map { $chart .= "<option>$_->{accno}--$_->{description}" } @{ $form->{chart} };
+ $form->{chart} = $chart;
+
+ $form->{rowcount} = 4;
+ &display_form;
+
+}
+
+
+sub edit {
+
+ GL->transaction(\%myconfig, \%$form);
+
+ map { $chart .= "<option>$_->{accno}--$_->{description}" } @{ $form->{chart} };
+ $form->{chart} = $chart;
+
+ $form->{locked} = ($form->datetonum($form->{transdate}, \%myconfig) <= $form->datetonum($form->{closedto}, \%myconfig));
+
+ $form->{title} = "Edit";
+
+ &form_header;
+
+ $i = 1;
+ foreach $ref (@{ $form->{GL} }) {
+ $form->{"accno_$i"} = $ref->{accno};
+ $form->{"oldprojectnumber_$i"} = $form->{"projectnumber_$i"} = $ref->{projectnumber};
+ $form->{"project_id_$i"} = $ref->{project_id};
+
+ if ($ref->{amount} < 0) {
+ $form->{totaldebit} -= $ref->{amount};
+ $form->{"debit_$i"} = $form->format_amount(\%myconfig, $ref->{amount} * -1, 2);
+ } else {
+ $form->{totalcredit} += $ref->{amount};
+ $form->{"credit_$i"} = ($ref->{amount} > 0) ? $form->format_amount(\%myconfig, $ref->{amount}, 2) : "";
+ }
+
+ &form_row($i++);
+ }
+
+ &form_row($i);
+
+ &form_footer;
+
+}
+
+
+
+sub search {
+
+ $form->{title} = $locale->text('General Ledger')." ".$locale->text('Reports');
+
+ $form->header;
+
+ print qq|
+<body>
+
+<form method=post action=$form->{script}>
+
+<input type=hidden name=sort value=transdate>
+
+<table width=100%>
+ <tr>
+ <th class=listtop>$form->{title}</th>
+ </tr>
+ <tr height="5"></tr>
+ <tr>
+ <td>
+ <table>
+ <tr>
+ <th align=right>|.$locale->text('Reference').qq|</th>
+ <td><input name=reference size=20></td>
+ <th align=right>|.$locale->text('Source').qq|</th>
+ <td><input name=source size=20></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Description').qq|</th>
+ <td colspan=3><input name=description size=40></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Notes').qq|</th>
+ <td colspan=3><input name=notes size=40></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('From').qq|</th>
+ <td><input name=datefrom size=11 title="$myconfig{dateformat}"></td>
+ <th align=right>|.$locale->text('to').qq|</th>
+ <td><input name=dateto size=11 title="$myconfig{dateformat}"></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Include in Report').qq|</th>
+ <td colspan=3>
+ <table>
+ <tr>
+ <td>
+ <input name="category" class=radio type=radio value=X checked>&nbsp;|.$locale->text('All').qq|
+ <input name="category" class=radio type=radio value=A>&nbsp;|.$locale->text('Asset').qq|
+ <input name="category" class=radio type=radio value=L>&nbsp;|.$locale->text('Liability').qq|
+ <input name="category" class=radio type=radio value=Q>&nbsp;|.$locale->text('Equity').qq|
+ <input name="category" class=radio type=radio value=I>&nbsp;|.$locale->text('Income').qq|
+ <input name="category" class=radio type=radio value=E>&nbsp;|.$locale->text('Expense').qq|
+ </td>
+ </tr>
+ <tr>
+ <table>
+ <tr>
+ <td align=right><input name="l_id" class=checkbox type=checkbox value=Y></td>
+ <td>|.$locale->text('ID').qq|</td>
+ <td align=right><input name="l_transdate" class=checkbox type=checkbox value=Y checked></td>
+ <td>|.$locale->text('Date').qq|</td>
+ <td align=right><input name="l_reference" class=checkbox type=checkbox value=Y checked></td>
+ <td>|.$locale->text('Reference').qq|</td>
+ <td align=right><input name="l_description" class=checkbox type=checkbox value=Y checked></td>
+ <td>|.$locale->text('Description').qq|</td>
+ <td align=right><input name="l_notes" class=checkbox type=checkbox value=Y></td>
+ <td>|.$locale->text('Notes').qq|</td>
+ </tr>
+ <tr>
+ <td align=right><input name="l_debit" class=checkbox type=checkbox value=Y checked></td>
+ <td>|.$locale->text('Debit').qq|</td>
+ <td align=right><input name="l_credit" class=checkbox type=checkbox value=Y checked></td>
+ <td>|.$locale->text('Credit').qq|</td>
+ <td align=right><input name="l_source" class=checkbox type=checkbox value=Y checked></td>
+ <td>|.$locale->text('Source').qq|</td>
+ <td align=right><input name="l_accno" class=checkbox type=checkbox value=Y checked></td>
+ <td>|.$locale->text('Account').qq|</td>
+ <td align=right><input name="l_gifi_accno" class=checkbox type=checkbox value=Y></td>
+ <td>|.$locale->text('GIFI').qq|</td>
+ </tr>
+ <tr>
+ <td align=right><input name="l_subtotal" class=checkbox type=checkbox value=Y></td>
+ <td>|.$locale->text('Subtotal').qq|</td>
+ </tr>
+ </table>
+ </tr>
+ </table>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td><hr size=3 noshade></td>
+ </tr>
+</table>
+
+<input type=hidden name=nextsub value=generate_report>
+
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=login value=$form->{login}>
+<input type=hidden name=password value=$form->{password}>
+
+<br>
+<input class=submit type=submit name=action value="|.$locale->text('Continue').qq|">
+</form>
+
+</body>
+</html>
+|;
+}
+
+
+sub generate_report {
+
+ GL->all_transactions(\%myconfig, \%$form);
+
+ $callback = "$form->{script}?action=generate_report&path=$form->{path}&login=$form->{login}&password=$form->{password}";
+
+ %acctype = ( 'A' => $locale->text('Asset'),
+ 'L' => $locale->text('Liability'),
+ 'Q' => $locale->text('Equity'),
+ 'I' => $locale->text('Income'),
+ 'E' => $locale->text('Expense'),
+ );
+
+ $form->{title} = $locale->text('General Ledger');
+
+ $ml = ($form->{ml} =~ /(A|E)/) ? -1 : 1;
+
+ unless ($form->{category} eq 'X') {
+ $form->{title} .= " : ".$locale->text($acctype{$form->{category}});
+ }
+ if ($form->{accno}) {
+ $callback .= "&accno=$form->{accno}";
+ $option = $locale->text('Account')." : $form->{accno} $form->{account_description}";
+ }
+ if ($form->{gifi_accno}) {
+ $callback .= "&gifi_accno=$form->{gifi_accno}";
+ $option .= "\n<br>" if $option;
+ $option .= $locale->text('GIFI')." : $form->{gifi_accno} $form->{gifi_account_description}";
+ }
+ if ($form->{source}) {
+ $callback .= "&source=".$form->escape($form->{source});
+ $option .= "\n<br>" if $option;
+ $option .= $locale->text('Source')." : $form->{source}";
+ }
+ if ($form->{reference}) {
+ $callback .= "&reference=".$form->escape($form->{reference});
+ $option .= "\n<br>" if $option;
+ $option .= $locale->text('Reference')." : $form->{reference}";
+ }
+ if ($form->{description}) {
+ $callback .= "&description=".$form->escape($form->{description});
+ $option .= "\n<br>" if $option;
+ $option .= $locale->text('Description')." : $form->{description}";
+ }
+ if ($form->{notes}) {
+ $callback .= "&notes=".$form->escape($form->{notes});
+ $option .= "\n<br>" if $option;
+ $option .= $locale->text('Notes')." : $form->{notes}";
+ }
+
+ if ($form->{datefrom}) {
+ $callback .= "&datefrom=$form->{datefrom}";
+ $option .= "\n<br>" if $option;
+ $option .= $locale->text('From')." ".$locale->date(\%myconfig, $form->{datefrom}, 1);
+ }
+ if ($form->{dateto}) {
+ $callback .= "&dateto=$form->{dateto}";
+ if ($form->{datefrom}) {
+ $option .= " ";
+ } else {
+ $option .= "\n<br>" if $option;
+ }
+ $option .= $locale->text('to')." ".$locale->date(\%myconfig, $form->{dateto}, 1);
+ }
+
+
+ @columns = $form->sort_columns(qw(transdate id reference description notes source debit credit accno gifi_accno));
+
+ if ($form->{accno} || $form->{gifi_accno}) {
+ @columns = grep !/(accno|gifi_accno)/, @columns;
+ push @columns, "balance";
+ $form->{l_balance} = "Y";
+ }
+
+ $href = "$callback&sort=$form->{sort}"; # needed for accno
+
+ foreach $item (@columns) {
+ if ($form->{"l_$item"} eq "Y") {
+ push @column_index, $item;
+
+ # add column to href and callback
+ $callback .= "&l_$item=Y";
+ $href .= "&l_$item=Y";
+ }
+ }
+
+ if ($form->{l_subtotal} eq 'Y') {
+ $callback .= "&l_subtotal=Y";
+ $href .= "&l_subtotal=Y";
+ }
+
+ $callback .= "&category=$form->{category}";
+ $href .= "&category=$form->{category}";
+
+ $column_header{id} = "<th><a class=listheading href=$callback&sort=id>".$locale->text('ID')."</a></th>";
+ $column_header{transdate} = "<th><a class=listheading href=$callback&sort=transdate>".$locale->text('Date')."</a></th>";
+ $column_header{reference} = "<th><a class=listheading href=$callback&sort=reference>".$locale->text('Reference')."</a></th>";
+ $column_header{source} = "<th><a class=listheading href=$callback&sort=source>".$locale->text('Source')."</a></th>";
+ $column_header{description} = "<th><a class=listheading href=$callback&sort=description>".$locale->text('Description')."</a></th>";
+ $column_header{notes} = "<th class=listheading>".$locale->text('Notes')."</th>";
+ $column_header{debit} = "<th class=listheading>".$locale->text('Debit')."</th>";
+ $column_header{credit} = "<th class=listheading>".$locale->text('Credit')."</th>";
+ $column_header{accno} = "<th><a class=listheading href=$callback&sort=accno>".$locale->text('Account')."</a></th>";
+ $column_header{gifi_accno} = "<th><a class=listheading href=$callback&sort=gifi_accno>".$locale->text('GIFI')."</a></th>";
+ $column_header{balance} = "<th class=listheading>".$locale->text('Balance')."</th>";
+
+ $form->header;
+
+ print qq|
+<body>
+
+<table width=100%>
+ <tr>
+ <th class=listtop>$form->{title}</th>
+ </tr>
+ <tr height="5"></tr>
+ <tr>
+ <td>$option</td>
+ </tr>
+ <tr>
+ <td>
+ <table width=100%>
+ <tr class=listheading>
+|;
+
+map { print "$column_header{$_}\n" } @column_index;
+
+print "
+ </tr>
+";
+
+ # add sort to callback
+ $form->{callback} = "$callback&sort=$form->{sort}";
+ $callback = $form->escape($form->{callback});
+
+ # initial item for subtotals
+ if (@{ $form->{GL} }) {
+ $sameitem = $form->{GL}->[0]->{$form->{sort}};
+ }
+
+ if (($form->{accno} || $form->{gifi_accno}) && $form->{balance}) {
+
+ map { $column_data{$_} = "<td>&nbsp;</td>" } @column_index;
+ $column_data{balance} = "<td align=right>".$form->format_amount(\%myconfig, $form->{balance} * $ml, 2, 0)."</td>";
+
+ $i++; $i %= 2;
+ print qq|
+ <tr class=listrow$i>
+|;
+ map { print "$column_data{$_}\n" } @column_index;
+
+ print qq|
+ </tr>
+|;
+ }
+
+ foreach $ref (@{ $form->{GL} }) {
+
+ # if item ne sort print subtotal
+ if ($form->{l_subtotal} eq 'Y') {
+ if ($sameitem ne $ref->{$form->{sort}}) {
+ &gl_subtotal;
+ }
+ }
+
+ $form->{balance} += $ref->{amount};
+
+ $subtotaldebit += $ref->{debit};
+ $subtotalcredit += $ref->{credit};
+
+ $totaldebit += $ref->{debit};
+ $totalcredit += $ref->{credit};
+
+ $ref->{debit} = $form->format_amount(\%myconfig, $ref->{debit}, 2, "&nbsp;");
+ $ref->{credit} = $form->format_amount(\%myconfig, $ref->{credit}, 2, "&nbsp;");
+
+ $column_data{id} = "<td>$ref->{id}</td>";
+ $column_data{transdate} = "<td>$ref->{transdate}</td>";
+ $column_data{reference} = "<td><a href=$ref->{module}.pl?action=edit&id=$ref->{id}&path=$form->{path}&login=$form->{login}&password=$form->{password}&callback=$callback>$ref->{reference}</td>";
+ $column_data{description} = "<td>$ref->{description}&nbsp;</td>";
+ $column_data{source} = "<td>$ref->{source}&nbsp;</td>";
+ $column_data{notes} = "<td>$ref->{notes}&nbsp;</td>";
+ $column_data{debit} = "<td align=right>$ref->{debit}</td>";
+ $column_data{credit} = "<td align=right>$ref->{credit}</td>";
+ $column_data{accno} = "<td><a href=$href&accno=$ref->{accno}&callback=$callback>$ref->{accno}</a></td>";
+ $column_data{gifi_accno} = "<td><a href=$href&gifi_accno=$ref->{gifi_accno}&callback=$callback>$ref->{gifi_accno}</a>&nbsp;</td>";
+ $column_data{balance} = "<td align=right>".$form->format_amount(\%myconfig, $form->{balance} * $ml, 2, 0)."</td>";
+
+ $i++; $i %= 2;
+ print "
+ <tr class=listrow$i>";
+ map { print "$column_data{$_}\n" } @column_index;
+ print "</tr>";
+
+ }
+
+
+ &gl_subtotal if ($form->{l_subtotal} eq 'Y');
+
+
+ map { $column_data{$_} = "<td>&nbsp;</td>" } @column_index;
+
+ $column_data{debit} = "<th align=right>".$form->format_amount(\%myconfig, $totaldebit, 2, "&nbsp;")."</th>";
+ $column_data{credit} = "<th align=right>".$form->format_amount(\%myconfig, $totalcredit, 2, "&nbsp;")."</th>";
+ $column_data{balance} = "<th align=right>".$form->format_amount(\%myconfig, $form->{balance} * $ml, 2, 0)."</th>";
+
+ print qq|
+ <tr class=listtotal>
+|;
+
+ map { print "$column_data{$_}\n" } @column_index;
+
+ print qq|
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td><hr size=3 noshade></td>
+ </tr>
+</table>
+
+<br>
+
+<form method=post action=$form->{script}>
+
+<input name=callback type=hidden value="$form->{callback}">
+
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=login value=$form->{login}>
+<input type=hidden name=password value=$form->{password}>
+
+<input class=submit type=submit name=action value="|.$locale->text('GL Transaction').qq|">
+<input class=submit type=submit name=action value="|.$locale->text('AR Transaction').qq|">
+<input class=submit type=submit name=action value="|.$locale->text('AP Transaction').qq|">
+<input class=submit type=submit name=action value="|.$locale->text('Sales Invoice').qq|">
+<input class=submit type=submit name=action value="|.$locale->text('Vendor Invoice').qq|">
+
+</form>
+
+</body>
+</html>
+|;
+
+}
+
+
+sub gl_subtotal {
+
+ $subtotaldebit = $form->format_amount(\%myconfig, $subtotaldebit, 2, "&nbsp;");
+ $subtotalcredit = $form->format_amount(\%myconfig, $subtotalcredit, 2, "&nbsp;");
+
+ map { $column_data{$_} = "<td>&nbsp;</td>" } qw(transdate id reference source description accno);
+ $column_data{debit} = "<th class=listsubtotal align=right>$subtotaldebit</td>";
+ $column_data{credit} = "<th class=listsubtotal align=right>$subtotalcredit</td>";
+
+
+ print "<tr class=listsubtotal>";
+ map { print "$column_data{$_}\n" } @column_index;
+ print "</tr>";
+
+ $subtotaldebit = 0;
+ $subtotalcredit = 0;
+
+ $sameitem = $ref->{$form->{sort}};
+
+}
+
+
+sub update {
+
+ @a = ();
+ $count = 0;
+ @flds = (qw(accno debit credit projectnumber project_id));
+
+ for $i (1 .. $form->{rowcount}) {
+ unless (($form->{"debit_$i"} eq "") && ($form->{"credit_$i"} eq "")) {
+ # take accno apart
+ ($form->{"accno_$i"}) = split(/--/, $form->{"accno_$i"});
+
+ push @a, {};
+ $j = $#a;
+
+ map { $a[$j]->{$_} = $form->{"${_}_$i"} } @flds;
+ $count++;
+ }
+ }
+
+ for $i (1 .. $count) {
+ $j = $i - 1;
+ map { $form->{"${_}_$i"} = $a[$j]->{$_} } @flds;
+ }
+
+ for $i ($count + 1 .. $form->{rowcount}) {
+ map { delete $form->{"${_}_$i"} } @flds;
+ }
+
+ $form->{rowcount} = $count;
+
+ &check_project;
+
+ &display_form;
+
+}
+
+
+sub display_form {
+
+ &form_header;
+
+ $form->{rowcount}++;
+ $form->{totaldebit} = 0;
+ $form->{totalcredit} = 0;
+
+ for $i (1 .. $form->{rowcount}) {
+ $form->{totaldebit} += $form->parse_amount(\%myconfig, $form->{"debit_$i"});
+ $form->{totalcredit} += $form->parse_amount(\%myconfig, $form->{"credit_$i"});
+
+ &form_row($i);
+ }
+
+ &form_footer;
+
+}
+
+
+sub form_row {
+ my $i = shift;
+
+ my $chart = $form->{chart};
+ $chart =~ s/<option>$form->{"accno_$i"}/<option selected>$form->{"accno_$i"}/;
+
+ print qq|<tr>
+ <td><select name="accno_$i">$chart</select></td>
+ <td><input name="debit_$i" size=12 value=$form->{"debit_$i"}></td>
+ <td><input name="credit_$i" size=12 value=$form->{"credit_$i"}></td>
+ <td><input name="projectnumber_$i" size=12 value="$form->{"projectnumber_$i"}">
+ <input type=hidden name="project_id_$i" value=$form->{"project_id_$i"}>
+ <input type=hidden name="oldprojectnumber_$i" value="$form->{"oldprojectnumber_$i"}"></td>
+</tr>
+<input type=hidden name=rowcount value=$i>
+
+|;
+
+}
+
+
+sub form_header {
+
+ $title = $form->{title};
+ $form->{title} = $locale->text("$title General Ledger Transaction");
+
+# $locale->text('Add General Ledger Transaction')
+# $locale->text('Edit General Ledger Transaction')
+
+ map { $form->{$_} =~ s/"/&quot;/g } qw(reference description chart);
+
+ if (($rows = $form->numtextrows($form->{description}, 50)) > 1) {
+ $description = qq|<textarea name=description rows=$rows cols=50 wrap=soft>$form->{description}</textarea>|;
+ } else {
+ $description = qq|<input name=description size=50 value="$form->{description}">|;
+ }
+
+ if (($rows = $form->numtextrows($form->{notes}, 50)) > 1) {
+ $notes = qq|<textarea name=notes rows=$rows cols=50 wrap=soft>$form->{notes}</textarea>|;
+ } else {
+ $notes = qq|<input name=notes size=50 value="$form->{notes}">|;
+ }
+
+ $form->header;
+
+ print qq|
+<body>
+
+<form method=post action=$form->{script}>
+
+<input name=id type=hidden value=$form->{id}>
+
+<input name=chart type=hidden value="$form->{chart}">
+<input type=hidden name=closedto value=$form->{closedto}>
+<input type=hidden name=locked value=$form->{locked}>
+<input type=hidden name=title value="$title">
+
+<table width=100%>
+ <tr>
+ <th class=listtop>$form->{title}</th>
+ </tr>
+ <tr height="5"></tr>
+ <tr>
+ <td>
+ <table width=100%>
+ <tr>
+ <th align=right>|.$locale->text('Reference').qq|</th>
+ <td><input name=reference size=20 value="$form->{reference}"></td>
+ <td align=right>
+ <table>
+ <tr>
+ <th align=right>|.$locale->text('Date').qq|</th>
+ <td><input name=transdate size=11 title="$myconfig{dateformat}" value=$form->{transdate}></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Description').qq|</th>
+ <td colspan=2>$description</td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Notes').qq|</th>
+ <td colspan=2>$notes</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <table width=100%>
+ <tr class=listheading>
+ <th class=listheading>|.$locale->text('Account').qq|</th>
+ <th class=listheading>|.$locale->text('Debit').qq|</th>
+ <th class=listheading>|.$locale->text('Credit').qq|</th>
+ <th class=listheading>|.$locale->text('Project').qq|</th>
+ </tr>
+|;
+
+}
+
+
+sub form_footer {
+
+ ($dec) = ($form->{totaldebit} =~ /\.(\d+)/);
+ $dec = length $dec;
+ $decimalplaces = ($dec > 2) ? $dec : 2;
+
+ map { $form->{$_} = $form->format_amount(\%myconfig, $form->{$_}, $decimalplaces, "&nbsp;") } qw(totaldebit totalcredit);
+
+ print qq|
+ <tr class=listtotal>
+ <th>&nbsp;</th>
+ <th class=listtotal align=right>$form->{totaldebit}</th>
+ <th class=listtotal align=right>$form->{totalcredit}</th>
+ <th>&nbsp;</th>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td><hr size=3 noshade></td>
+ </tr>
+</table>
+
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=login value=$form->{login}>
+<input type=hidden name=password value=$form->{password}>
+
+<input name=callback type=hidden value="$form->{callback}">
+
+<br>
+|;
+
+ $transdate = $form->datetonum($form->{transdate}, \%myconfig);
+ $closedto = $form->datetonum($form->{closedto}, \%myconfig);
+
+ if ($form->{id}) {
+ print qq|<input class=submit type=submit name=action value="|.$locale->text('Update').qq|">
+|;
+
+ if (!$form->{revtrans}) {
+ if (!$form->{locked}) {
+ print qq|
+ <input class=submit type=submit name=action value="|.$locale->text('Post').qq|">
+ <input class=submit type=submit name=action value="|.$locale->text('Delete').qq|">
+|;
+ }
+ }
+
+ if ($transdate > $closedto) {
+ print qq|
+ <input class=submit type=submit name=action value="|.$locale->text('Post as new').qq|">
+|;
+ }
+
+ } else {
+ if ($transdate > $closedto) {
+ print qq|<input class=submit type=submit name=action value="|.$locale->text('Update').qq|">
+ <input class=submit type=submit name=action value="|.$locale->text('Post').qq|">|;
+ }
+ }
+
+ print "</form>
+
+</body>
+</html>
+";
+
+}
+
+
+sub delete {
+
+ $form->header;
+
+ print qq|
+<body>
+
+<form method=post action=$form->{script}>
+|;
+
+ map { $form->{$_} =~ s/"/&quot;/g } qw(reference description chart);
+
+ foreach $key (keys %$form) {
+ print qq|<input type=hidden name=$key value="$form->{$key}">\n|;
+ }
+
+ print qq|
+<h2 class=confirm>|.$locale->text('Confirm!').qq|</h2>
+
+<h4>|.$locale->text('Are you sure you want to delete Transaction').qq| $form->{reference}</h4>
+
+<input name=action class=submit type=submit value="|.$locale->text('Yes').qq|">
+</form>
+|;
+
+}
+
+
+sub yes {
+
+ $form->redirect($locale->text('Transaction deleted!')) if (GL->delete_transaction(\%myconfig, \%$form));
+ $form->error($locale->text('Cannot delete transaction!'));
+
+}
+
+
+sub post {
+
+ # check if there is something in reference and date
+ $form->isblank("reference", $locale->text('Reference missing!'));
+ $form->isblank("transdate", $locale->text('Transaction Date missing!'));
+
+ $transdate = $form->datetonum($form->{transdate}, \%myconfig);
+ $closedto = $form->datetonum($form->{closedto}, \%myconfig);
+
+ # check project
+ &check_project;
+
+ # this is just for the wise guys
+ $form->error($locale->text('Cannot post transaction for a closed period!')) if ($transdate <= $closedto);
+
+ if (($errno = GL->post_transaction(\%myconfig, \%$form)) <= -1) {
+ $errno *= -1;
+ $err[1] = $locale->text('Cannot have a value in both Debit and Credit!');
+ $err[2] = $locale->text('Debit and credit out of balance!');
+ $err[3] = $locale->text('Cannot post a transaction without a value!');
+
+ $form->error($err[$errno]);
+ }
+
+ $form->redirect($locale->text('Transaction posted!'));
+
+}
+
+
+sub post_as_new {
+
+ $form->{id} = 0;
+ &post;
+
+}
+
+
diff --git a/sql-ledger/bin/mozilla/ic.pl b/sql-ledger/bin/mozilla/ic.pl
new file mode 100644
index 0000000..797daee
--- /dev/null
+++ b/sql-ledger/bin/mozilla/ic.pl
@@ -0,0 +1,1638 @@
+#=====================================================================
+# SQL-Ledger, Accounting
+# Copyright (c) 2001
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#======================================================================
+#
+# Inventory Control module
+#
+#======================================================================
+
+
+use SL::IC;
+
+require "$form->{path}/io.pl";
+
+1;
+# end of main
+
+
+
+sub add {
+
+ $form->{title} = $locale->text('Add ' . ucfirst $form->{item});
+
+ $form->{callback} = "$form->{script}?action=add&item=$form->{item}&path=$form->{path}&login=$form->{login}&password=$form->{password}" unless $form->{callback};
+
+ $form->{unit} = ($form->{item} eq 'service') ? $locale->text('hr') : $locale->text('ea');
+
+ &link_part;
+
+ &display_form;
+
+}
+
+
+sub search {
+
+ $form->{title} = (ucfirst $form->{searchitems})."s";
+ $form->{title} = $locale->text($form->{title});
+
+# $locale->text('Parts')
+# $locale->text('Services')
+
+ unless ($form->{searchitems} eq 'service') {
+
+ $onhand = qq|
+ <input name=itemstatus class=radio type=radio value=onhand>&nbsp;|.$locale->text('On Hand').qq|
+ <input name=itemstatus class=radio type=radio value=short>&nbsp;|.$locale->text('Short').qq|
+|;
+
+ $makemodel = qq|
+ <tr>
+ <th width="1%" align=right nowrap>|.$locale->text('Make').qq|</th>
+ <td><input name=make size=20></td>
+ <th width="1%" align=right nowrap>|.$locale->text('Model').qq|</th>
+ <td><input name=model size=20></td>
+ </tr>
+|;
+ }
+
+ if ($form->{searchitems} eq 'assembly') {
+
+ $form->{title} = $locale->text('Assemblies');
+
+ $toplevel = qq|
+ <tr>
+ <td></td>
+ <td colspan=3>
+ <input name=none class=radio type=radio value=1 checked>&nbsp;|.$locale->text('Top Level').qq|
+ <input name=bom class=checkbox type=checkbox value=1>&nbsp;|.$locale->text('Individual Items').qq|
+ </td>
+ </tr>
+|;
+
+ $bought = qq|
+ <tr>
+ <td></td>
+ <td colspan=3>
+ <table>
+ <tr>
+ <td>
+ <table>
+ <tr>
+ <td><input name=sold class=checkbox type=checkbox value=1></td>
+ <td nowrap>|.$locale->text('Sold').qq|</td>
+ </tr>
+ <tr>
+ <td colspan=2><hr size=1 noshade></td>
+ </tr>
+ <tr>
+ <td><input name=ordered class=checkbox type=checkbox value=1></td>
+ <td nowrap>|.$locale->text('Ordered').qq|</td>
+ </tr>
+ </table>
+ </td>
+ <td width=5%>&nbsp;</td>
+ <th>|.$locale->text('From').qq|</th>
+ <td><input name=transdatefrom size=11 title="$myconfig{dateformat}"></td>
+ <th>|.$locale->text('to').qq|</th>
+ <td><input name=transdateto size=11 title="$myconfig{dateformat}"></td>
+
+ <td><input name=closed class=checkbox type=checkbox value=1>&nbsp;|.$locale->text('Closed').qq|</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+|;
+
+ } else {
+
+ $bought = qq|
+ <tr>
+ <td></td>
+ <td colspan=3>
+ <table>
+ <tr>
+ <td>
+ <table>
+ <tr>
+ <td><input name=bought class=checkbox type=checkbox value=1></td>
+ <td nowrap>|.$locale->text('Bought').qq|</td>
+ <td><input name=sold class=checkbox type=checkbox value=1></td>
+ <td nowrap>|.$locale->text('Sold').qq|</td>
+ </tr>
+ <tr>
+ <td colspan=4><hr size=1 noshade></td>
+ </tr>
+ <tr>
+ <td><input name=onorder class=checkbox type=checkbox value=1></td>
+ <td nowrap>|.$locale->text('On Order').qq|</td>
+ <td><input name=ordered class=checkbox type=checkbox value=1></td>
+ <td nowrap>|.$locale->text('Ordered').qq|</td>
+ </tr>
+ </table>
+ </td>
+ <td width=5%>&nbsp;</td>
+ <td>
+ <table>
+ <tr>
+ <th>|.$locale->text('From').qq|</th>
+ <td><input name=transdatefrom size=11 title="$myconfig{dateformat}"></td>
+ <th>|.$locale->text('to').qq|</th>
+ <td><input name=transdateto size=11 title="$myconfig{dateformat}"></td>
+
+ <td><input name=closed class=checkbox type=checkbox value=1>&nbsp;|.$locale->text('Closed').qq|</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+|;
+ }
+
+
+ $form->header;
+
+ print qq|
+<body>
+
+<form method=post action=$form->{script}>
+
+<input type=hidden name=searchitems value=$form->{searchitems}>
+<input type=hidden name=title value="$form->{title}">
+
+<table width="100%">
+ <tr><th class=listtop>$form->{title}</th></tr>
+ <tr height="5"></tr>
+ <tr valign=top>
+ <td>
+ <table>
+ <tr>
+ <th width=1% align=right nowrap>|.$locale->text('Number').qq|</th>
+ <td><input name=partnumber size=20></td>
+ <th align=right nowrap>|.$locale->text('Description').qq|</th>
+ <td><input name=description size=40></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Group').qq|</th>
+ <td><input name=partsgroup size=20></td>
+ </tr>
+ $makemodel
+ <tr>
+ <th align=right nowrap>|.$locale->text('Drawing').qq|</th>
+ <td><input name=drawing size=20></td>
+ <th align=right nowrap>|.$locale->text('Microfiche').qq|</th>
+ <td><input name=microfiche size=20></td>
+ </tr>
+ $toplevel
+ <tr>
+ <td></td>
+ <td colspan=3>
+ <input name=itemstatus class=radio type=radio value=active checked>&nbsp;|.$locale->text('Active').qq|
+ $onhand
+ <input name=itemstatus class=radio type=radio value=obsolete>&nbsp;|.$locale->text('Obsolete').qq|
+ <input name=itemstatus class=radio type=radio value=orphaned>&nbsp;|.$locale->text('Orphaned').qq|
+ </td>
+ </tr>
+ $bought
+ <tr>
+ <td></td>
+ <td colspan=3>
+ <hr size=1 noshade>
+ </td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Include in Report').qq|</th>
+ <td colspan=3>
+ <table>
+ <tr>
+ <td><input name=l_partnumber class=checkbox type=checkbox value=Y checked>&nbsp;|.$locale->text('Number').qq|</td>
+ <td><input name=l_description class=checkbox type=checkbox value=Y checked>&nbsp;|.$locale->text('Description').qq|</td>
+ <td><input name=l_unit class=checkbox type=checkbox value=Y checked>&nbsp;|.$locale->text('Unit of measure').qq|</td>
+ </tr>
+ <tr>
+ <td><input name=l_listprice class=checkbox type=checkbox value=Y>&nbsp;|.$locale->text('List Price').qq|</td>
+ <td><input name=l_sellprice class=checkbox type=checkbox value=Y checked>&nbsp;|.$locale->text('Sell Price').qq|</td>
+ <td><input name=l_lastcost class=checkbox type=checkbox value=Y>&nbsp;|.$locale->text('Last Cost').qq|</td>
+ <td><input name=l_linetotal class=checkbox type=checkbox value=Y checked>&nbsp;|.$locale->text('Line Total').qq|</td>
+ </tr>
+ <tr>
+ <td><input name=l_priceupdate class=checkbox type=checkbox value=Y>&nbsp;|.$locale->text('Updated').qq|</td>
+ <td><input name=l_bin class=checkbox type=checkbox value=Y>&nbsp;|.$locale->text('Bin').qq|</td>
+ <td><input name=l_rop class=checkbox type=checkbox value=Y>&nbsp;|.$locale->text('ROP').qq|</td>
+ <td><input name=l_weight class=checkbox type=checkbox value=Y>&nbsp;|.$locale->text('Weight').qq|</td>
+ </tr>
+ <tr>
+ <td><input name=l_image class=checkbox type=checkbox value=Y>&nbsp;|.$locale->text('Image').qq|</td>
+ <td><input name=l_drawing class=checkbox type=checkbox value=Y>&nbsp;|.$locale->text('Drawing').qq|</td>
+ <td><input name=l_microfiche class=checkbox type=checkbox value=Y>&nbsp;|.$locale->text('Microfiche').qq|</td>
+ <td><input name=l_partsgroup class=checkbox type=checkbox value=Y>&nbsp;|.$locale->text('Group').qq|</td>
+ </tr>
+ <tr>
+ <td><input name=l_subtotal class=checkbox type=checkbox value=Y>&nbsp;|.$locale->text('Subtotal').qq|</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr><td colspan=4><hr size=3 noshade></td></tr>
+</table>
+
+<input type=hidden name=nextsub value=generate_report>
+
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=login value=$form->{login}>
+<input type=hidden name=password value=$form->{password}>
+
+<br>
+<input class=submit type=submit name=action value="|.$locale->text('Continue').qq|">
+</form>
+
+</body>
+</html>
+|;
+
+}
+
+
+
+sub generate_report {
+
+ # setup $form->{sort}
+ unless ($form->{sort}) {
+ if ($form->{description} && !($form->{partnumber})) {
+ $form->{sort} = "description";
+ } else {
+ $form->{sort} = "partnumber";
+ }
+ }
+
+ $callback = "$form->{script}?action=generate_report&path=$form->{path}&login=$form->{login}&password=$form->{password}&searchitems=$form->{searchitems}&itemstatus=$form->{itemstatus}&bom=$form->{bom}&l_linetotal=$form->{l_linetotal}&title=".$form->escape($form->{title},1);
+
+ IC->all_parts(\%myconfig, \%$form);
+
+
+ if ($form->{itemstatus} eq 'active') {
+ $option .= $locale->text('Active')." : ";
+ }
+ if ($form->{itemstatus} eq 'obsolete') {
+ $option .= $locale->text('Obsolete')." : ";
+ }
+ if ($form->{itemstatus} eq 'orphaned') {
+ $option .= $locale->text('Orphaned')." : ";
+ }
+ if ($form->{itemstatus} eq 'onhand') {
+ $option .= $locale->text('On Hand')." : ";
+ $form->{l_onhand} = "Y";
+ }
+ if ($form->{itemstatus} eq 'short') {
+ $option .= $locale->text('Short')." : ";
+ $form->{l_onhand} = "Y";
+ }
+ if ($form->{onorder}) {
+ $form->{l_ordnumber} = "Y";
+ $callback .= "&onorder=$form->{onorder}";
+ $option .= $locale->text('On Order')." : ";
+ }
+ if ($form->{ordered}) {
+ $form->{l_ordnumber} = "Y";
+ $callback .= "&ordered=$form->{ordered}";
+ $option .= $locale->text('Ordered')." : ";
+ }
+ if ($form->{closed}) {
+ $callback .= "&closed=$form->{closed}";
+ $option .= $locale->text('Closed')." : ";
+ }
+ if ($form->{bought}) {
+ $form->{l_invnumber} = "Y";
+ $callback .= "&bought=$form->{bought}";
+ $option .= $locale->text('Bought')." : ";
+ }
+ if ($form->{sold}) {
+ $form->{l_invnumber} = "Y";
+ $callback .= "&sold=$form->{sold}";
+ $option .= $locale->text('Sold')." : ";
+ }
+ if ($form->{bought} || $form->{sold} || $form->{onorder} || $form->{ordered}) {
+
+ $form->{l_lastcost} = "";
+ if ($form->{transdatefrom}) {
+ $callback .= "&transdatefrom=$form->{transdatefrom}";
+ $option .= "\n<br>".$locale->text('From')."&nbsp;".$locale->date(\%myconfig, $form->{transdatefrom}, 1);
+ }
+ if ($form->{transdateto}) {
+ $callback .= "&transdateto=$form->{transdateto}";
+ $option .= "\n<br>".$locale->text('to')."&nbsp;".$locale->date(\%myconfig, $form->{transdateto}, 1);
+ }
+ }
+
+ $option .= "<br>";
+
+ if ($form->{partnumber}) {
+ $callback .= "&partnumber=$form->{partnumber}";
+ $option .= $locale->text('Number').qq| : $form->{partnumber}<br>|;
+ }
+ if ($form->{description}) {
+ $callback .= "&description=$form->{description}";
+ $option .= $locale->text('Description').qq| : $form->{description}<br>|;
+ }
+ if ($form->{make}) {
+ $callback .= "&make=$form->{make}";
+ $option .= $locale->text('Make').qq| : $form->{make}<br>|;
+ }
+ if ($form->{model}) {
+ $callback .= "&model=$form->{model}";
+ $option .= $locale->text('Model').qq| : $form->{model}<br>|;
+ }
+ if ($form->{drawing}) {
+ $callback .= "&drawing=$form->{drawing}";
+ $option .= $locale->text('Drawing').qq| : $form->{drawing}<br>|;
+ }
+ if ($form->{microfiche}) {
+ $callback .= "&microfiche=$form->{microfiche}";
+ $option .= $locale->text('Microfiche').qq| : $form->{microfiche}<br>|;
+ }
+ if ($form->{partsgroup}) {
+ $callback .= "&partsgroup=$form->{partsgroup}";
+ $option .= $locale->text('Group').qq| : $form->{partsgroup}<br>|;
+ }
+
+
+ @columns = $form->sort_columns(qw(partnumber description partsgroup bin onhand rop unit listprice linetotallistprice sellprice linetotalsellprice lastcost linetotallastcost priceupdate weight image drawing microfiche invnumber ordnumber));
+
+ if ($form->{l_linetotal}) {
+ $form->{l_onhand} = "Y";
+ $form->{l_linetotalsellprice} = "Y" if $form->{l_sellprice};
+ if ($form->{l_lastcost}) {
+ $form->{l_linetotallastcost} = "Y";
+ if (($form->{searchitems} eq 'assembly') && !$form->{bom}) {
+ $form->{l_linetotallastcost} = "";
+ }
+ }
+ $form->{l_linetotallistprice} = "Y" if $form->{l_listprice};
+ }
+
+ if ($form->{searchitems} eq 'service') {
+ # remove bin, weight and rop from list
+ map { $form->{"l_$_"} = "" } qw(bin weight rop);
+
+ $form->{l_onhand} = "";
+ # qty is irrelevant unless bought or sold
+ if ($form->{bought} || $form->{sold} || $form->{onorder} || $form->{ordered}) {
+ $form->{l_onhand} = "Y";
+ } else {
+ $form->{l_linetotalsellprice} = "";
+ $form->{l_linetotallastcost} = "";
+ }
+ }
+
+ $form->{l_lastcost} = "" if ($form->{searchitems} eq 'assembly' && !$form->{bom});
+
+ foreach $item (@columns) {
+ if ($form->{"l_$item"} eq "Y") {
+ push @column_index, $item;
+
+ # add column to callback
+ $callback .= "&l_$item=Y";
+ }
+ }
+
+ if ($form->{l_subtotal} eq 'Y') {
+ $callback .= "&l_subtotal=Y";
+ }
+
+ $column_header{partnumber} = qq|<th nowrap><a class=listheading href=$callback&sort=partnumber>|.$locale->text('Number').qq|</a></th>|;
+ $column_header{description} = qq|<th nowrap><a class=listheading href=$callback&sort=description>|.$locale->text('Description').qq|</a></th>|;
+ $column_header{partsgroup} = qq|<th nowrap><a class=listheading href=$callback&sort=partsgroup>|.$locale->text('Group').qq|</a></th>|;
+ $column_header{bin} = qq|<th><a class=listheading href=$callback&sort=bin>|.$locale->text('Bin').qq|</a></th>|;
+ $column_header{priceupdate} = qq|<th nowrap><a class=listheading href=$callback&sort=priceupdate>|.$locale->text('Updated').qq|</a></th>|;
+ $column_header{onhand} = qq|<th class=listheading nowrap>|.$locale->text('Qty').qq|</th>|;
+ $column_header{unit} = qq|<th class=listheading nowrap>|.$locale->text('Unit').qq|</th>|;
+ $column_header{listprice} = qq|<th class=listheading nowrap>|.$locale->text('List Price').qq|</th>|;
+ $column_header{lastcost} = qq|<th class=listheading nowrap>|.$locale->text('Last Cost').qq|</th>|;
+ $column_header{rop} = qq|<th class=listheading nowrap>|.$locale->text('ROP').qq|</th>|;
+ $column_header{weight} = qq|<th class=listheading nowrap>|.$locale->text('Weight').qq|</th>|;
+
+ $column_header{invnumber} = qq|<th nowrap><a class=listheading href=$callback&sort=invnumber>|.$locale->text('Invoice Number').qq|</a></th>|;
+ $column_header{ordnumber} = qq|<th nowrap><a class=listheading href=$callback&sort=ordnumber>|.$locale->text('Order Number').qq|</a></th>|;
+
+ $column_header{sellprice} = qq|<th class=listheading nowrap>|.$locale->text('Sell Price').qq|</th>|;
+ $column_header{linetotalsellprice} = qq|<th class=listheading nowrap>|.$locale->text('Extended').qq|</th>|;
+ $column_header{linetotallastcost} = qq|<th class=listheading nowrap>|.$locale->text('Extended').qq|</th>|;
+ $column_header{linetotallistprice} = qq|<th class=listheading nowrap>|.$locale->text('Extended').qq|</th>|;
+
+ $column_header{image} = qq|<th class=listheading nowrap>|.$locale->text('Image').qq|</a></th>|;
+ $column_header{drawing} = qq|<th nowrap><a class=listheading href=$callback&sort=drawing>|.$locale->text('Drawing').qq|</a></th>|;
+ $column_header{microfiche} = qq|<th nowrap><a class=listheading href=$callback&sort=microfiche>|.$locale->text('Microfiche').qq|</a></th>|;
+
+ $form->header;
+ $colspan = $#column_index + 1;
+
+ print qq|
+<body>
+
+<table width=100%>
+<tr><th class=listtop colspan=$colspan>$form->{title}</th></tr>
+<tr height="5"></tr>
+
+<tr><td colspan=$colspan>$option</td></tr>
+
+ <tr class=listheading>
+|;
+
+ map { print "\n$column_header{$_}" } @column_index;
+
+ print qq|
+ </tr>
+ |;
+
+
+ # add order to callback
+ $form->{callback} = $callback .= "&sort=$form->{sort}";
+
+ # escape callback for href
+ $callback = $form->escape($callback);
+
+ if (@{ $form->{parts} }) {
+ $sameitem = $form->{parts}->[0]->{$form->{sort}};
+ }
+
+ foreach $ref (@{ $form->{parts} }) {
+
+ if ($form->{l_subtotal} eq 'Y' && !$ref->{assemblyitem}) {
+ if ($sameitem ne $ref->{$form->{sort}}) {
+ &parts_subtotal;
+ $sameitem = $ref->{$form->{sort}};
+ }
+ }
+
+ $ref->{exchangerate} = 1 unless $ref->{exchangerate};
+ $ref->{sellprice} *= $ref->{exchangerate};
+ $ref->{listprice} *= $ref->{exchangerate};
+ $ref->{lastcost} *= $ref->{exchangerate};
+
+ $align = "left";
+ $onhand = $ref->{onhand};
+
+ if ($ref->{assemblyitem}) {
+ $align = "right";
+ $onhand = 0 if ($form->{sold});
+ }
+
+ $column_data{partnumber} = "<td align=$align><a href=$form->{script}?action=edit&id=$ref->{id}&path=$form->{path}&login=$form->{login}&password=$form->{password}&callback=$callback>$ref->{partnumber}&nbsp;</a></td>";
+ $column_data{description} = "<td>$ref->{description}&nbsp;</td>";
+ $column_data{partsgroup} = "<td>$ref->{partsgroup}&nbsp;</td>";
+
+ $column_data{onhand} = "<td align=right>".$form->format_amount(\%myconfig, $onhand, '', "&nbsp;")."</td>";
+ $column_data{sellprice} = "<td align=right>".$form->format_amount(\%myconfig, $ref->{sellprice}, 2, "&nbsp;") . "</td>";
+ $column_data{listprice} = "<td align=right>".$form->format_amount(\%myconfig, $ref->{listprice}, 2, "&nbsp;") . "</td>";
+ $column_data{lastcost} = "<td align=right>".$form->format_amount(\%myconfig, $ref->{lastcost}, 2, "&nbsp;") . "</td>";
+
+ $column_data{linetotalsellprice} = "<td align=right>".$form->format_amount(\%myconfig, $ref->{onhand} * $ref->{sellprice}, 2, "&nbsp;")."</td>";
+ $column_data{linetotallastcost} = "<td align=right>".$form->format_amount(\%myconfig, $ref->{onhand} * $ref->{lastcost}, 2, "&nbsp;")."</td>";
+ $column_data{linetotallistprice} = "<td align=right>".$form->format_amount(\%myconfig, $ref->{onhand} * $ref->{listprice}, 2, "&nbsp;")."</td>";
+
+ if (!$ref->{assemblyitem}) {
+ $totalsellprice += $onhand * $ref->{sellprice};
+ $totallastcost += $onhand * $ref->{lastcost};
+ $totallistprice += $onhand * $ref->{listprice};
+
+ $subtotalonhand += $onhand;
+ $subtotalsellprice += $onhand * $ref->{sellprice};
+ $subtotallastcost += $onhand * $ref->{lastcost};
+ $subtotallistprice += $onhand * $ref->{listprice};
+ }
+
+ $column_data{rop} = "<td align=right>".$form->format_amount(\%myconfig, $ref->{rop}, '', "&nbsp;")."</td>";
+ $column_data{weight} = "<td align=right>".$form->format_amount(\%myconfig, $ref->{weight}, '', "&nbsp;")."</td>";
+ $column_data{unit} = "<td>$ref->{unit}&nbsp;</td>";
+ $column_data{bin} = "<td>$ref->{bin}&nbsp;</td>";
+ $column_data{priceupdate} = "<td>$ref->{priceupdate}&nbsp;</td>";
+
+ $column_data{invnumber} = ($ref->{module} ne 'oe') ? "<td><a href=$ref->{module}.pl?action=edit&type=invoice&id=$ref->{trans_id}&path=$form->{path}&login=$form->{login}&password=$form->{password}&callback=$callback>$ref->{invnumber}&nbsp;</a></td>" : "<td>$ref->{invnumber}&nbsp;</td>";
+ $column_data{ordnumber} = ($ref->{module} eq 'oe') ? "<td><a href=$ref->{module}.pl?action=edit&type=$ref->{type}&id=$ref->{trans_id}&path=$form->{path}&login=$form->{login}&password=$form->{password}&callback=$callback>$ref->{ordnumber}&nbsp;</a></td>" : "<td>$ref->{ordnumber}&nbsp;</td>";
+
+ $column_data{image} = ($ref->{image}) ? "<td><a href=$ref->{image}><img src=$ref->{image} height=32 border=0></a></td>" : "<td>&nbsp;</td>";
+ $column_data{drawing} = ($ref->{drawing}) ? "<td><a href=$ref->{drawing}>$ref->{drawing}</a></td>" : "<td>&nbsp;</td>";
+ $column_data{microfiche} = ($ref->{microfiche}) ? "<td><a href=$ref->{microfiche}>$ref->{microfiche}</a></td>" : "<td>&nbsp;</td>";
+
+ $i++; $i %= 2;
+ print "<tr class=listrow$i>";
+
+ map { print "\n$column_data{$_}" } @column_index;
+
+ print qq|
+ </tr>
+|;
+
+ }
+
+
+ if ($form->{l_subtotal} eq 'Y') {
+ &parts_subtotal;
+ }
+
+ if ($form->{"l_linetotal"}) {
+ map { $column_data{$_} = "<td>&nbsp;</td>" } @column_index;
+ $column_data{linetotalsellprice} = "<th class=listtotal align=right>".$form->format_amount(\%myconfig, $totalsellprice, 2, "&nbsp;")."</th>";
+ $column_data{linetotallastcost} = "<th class=listtotal align=right>".$form->format_amount(\%myconfig, $totallastcost, 2, "&nbsp;")."</th>";
+ $column_data{linetotallistprice} = "<th class=listtotal align=right>".$form->format_amount(\%myconfig, $totallistprice, 2, "&nbsp;")."</th>";
+
+ print "<tr class=listtotal>";
+
+ map { print "\n$column_data{$_}" } @column_index;
+
+ print qq|</tr>
+ |;
+ }
+
+ print qq|
+ <tr><td colspan=$colspan><hr size=3 noshade></td></tr>
+</table>
+
+|;
+
+
+ print qq|
+
+<br>
+
+<form method=post action=$form->{script}>
+
+<input name=callback type=hidden value="$form->{callback}">
+
+<input type=hidden name=item value=$form->{searchitems}>
+
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=login value=$form->{login}>
+<input type=hidden name=password value=$form->{password}>
+
+<input class=submit type=submit name=action value="|.$locale->text('Add').qq|">
+
+</form>
+
+</body>
+</html>
+|;
+
+}
+
+
+
+sub parts_subtotal {
+
+ map { $column_data{$_} = "<td>&nbsp;</td>" } @column_index;
+ $subtotalonhand = 0 if ($form->{searchitems} eq 'assembly' && $form->{bom});
+
+ $column_data{onhand} = "<th class=listsubtotal align=right>".$form->format_amount(\%myconfig, $subtotalonhand, '', "&nbsp;")."</th>";
+ $column_data{sellprice} = "<th class=listsubtotal align=right>".$form->format_amount(\%myconfig, $subtotalsellprice, 2, "&nbsp;")."</th>";
+ $column_data{listprice} = "<th class=listsubtotal align=right>".$form->format_amount(\%myconfig, $subtotallistprice, 2, "&nbsp;")."</th>";
+ $column_data{lastcost} = "<th class=listsubtotal align=right>".$form->format_amount(\%myconfig, $subtotallastcost, 2, "&nbsp;")."</th>";
+
+ $subtotalonhand = 0;
+ $subtotalsellprice = 0;
+ $subtotallistprice = 0;
+ $subtotallastcost = 0;
+
+ print "<tr class=listsubtotal>";
+
+ map { print "\n$column_data{$_}" } @column_index;
+
+ print qq|
+ </tr>
+|;
+
+}
+
+
+
+sub edit {
+
+ IC->get_part(\%myconfig, \%$form);
+
+ $form->{title} = $locale->text('Edit '.ucfirst $form->{item});
+
+ &link_part;
+ &display_form;
+
+}
+
+
+
+sub link_part {
+
+ IC->create_links("IC", \%myconfig, \%$form);
+
+ # parts and assemblies have the same links
+ $item = $form->{item};
+ if ($form->{item} eq 'assembly') {
+ $item = 'part';
+ }
+
+ # build the popup menus
+ $form->{taxaccounts} = "";
+ foreach $key (keys %{ $form->{IC_links} }) {
+ foreach $ref (@{ $form->{IC_links}{$key} }) {
+ # if this is a tax field
+ if ($key =~ /IC_tax/) {
+ if ($key =~ /$item/) {
+ $form->{taxaccounts} .= "$ref->{accno} ";
+ $form->{"IC_tax_$ref->{accno}_description"} = "$ref->{accno}--$ref->{description}";
+
+ if ($form->{id}) {
+ if ($form->{amount}{$ref->{accno}}) {
+ $form->{"IC_tax_$ref->{accno}"} = "checked";
+ }
+ } else {
+ $form->{"IC_tax_$ref->{accno}"} = "checked";
+ }
+ }
+ } else {
+
+ $form->{"select$key"} .= "<option>$ref->{accno}--$ref->{description}\n";
+ if ($form->{amount}{$key} eq $ref->{accno}) {
+ $form->{$key} = "$ref->{accno}--$ref->{description}";
+ }
+
+ }
+ }
+ }
+ chop $form->{taxaccounts};
+
+ if (($form->{item} eq "part") || ($form->{item} eq "assembly")) {
+ $form->{selectIC_income} = $form->{selectIC_sale};
+ $form->{selectIC_expense} = $form->{selectIC_cogs};
+ $form->{IC_income} = $form->{IC_sale};
+ $form->{IC_expense} = $form->{IC_cogs};
+ }
+
+ delete $form->{IC_links};
+ delete $form->{amount};
+
+}
+
+
+
+sub form_header {
+
+ ($dec) = ($form->{sellprice} =~ /\.(\d+)/);
+ $dec = length $dec;
+ my $decimalplaces = ($dec > 2) ? $dec : 2;
+
+ map { $form->{$_} = $form->format_amount(\%myconfig, $form->{$_}, $decimalplaces)} qw(listprice sellprice);
+
+ ($dec) = ($form->{lastcost} =~ /\.(\d+)/);
+ $dec = length $dec;
+ my $decimalplaces = ($dec > 2) ? $dec : 2;
+
+ $form->{lastcost} = $form->format_amount(\%myconfig, $form->{lastcost}, $decimalplaces);
+
+ map { $form->{$_} = $form->format_amount(\%myconfig, $form->{$_}) } qw(weight rop stock);
+
+ foreach $item (qw(partnumber description unit notes)) {
+ $form->{$item} =~ s/"/&quot;/g;
+ }
+
+
+ if (($rows = $form->numtextrows($form->{notes}, 40)) < 2) {
+ $rows = 2;
+ }
+
+ $notes = qq|<textarea name=notes rows=$rows cols=40 wrap=soft>$form->{notes}</textarea>|;
+
+ if (($rows = $form->numtextrows($form->{description}, 40)) > 1) {
+ $description = qq|<textarea name="description" rows=$rows cols=40 wrap=soft>$form->{description}</textarea>|;
+ } else {
+ $description = qq|<input name=description size=40 value="$form->{description}">|;
+ }
+
+ foreach $item (split / /, $form->{taxaccounts}) {
+ $form->{"IC_tax_$item"} = ($form->{"IC_tax_$item"}) ? "checked" : "";
+ }
+
+
+ # set option
+ foreach $item (qw(IC IC_income IC_expense)) {
+ if ($form->{$item}) {
+ if ($form->{id} && $form->{orphaned}) {
+ $form->{"select$item"} =~ s/ selected//;
+ $form->{"select$item"} =~ s/option>\Q$form->{$item}\E/option selected>$form->{$item}/;
+
+ } else {
+ $form->{"select$item"} = qq|<option selected>$form->{$item}|;
+ }
+ }
+ }
+
+ # tax fields
+ foreach $item (split / /, $form->{taxaccounts}) {
+ $tax .= qq|
+ <input class=checkbox type=checkbox name="IC_tax_$item" value=1 $form->{"IC_tax_$item"}>&nbsp;<b>$form->{"IC_tax_${item}_description"}</b>
+ <br><input type=hidden name=IC_tax_${item}_description value="$form->{"IC_tax_${item}_description"}">
+|;
+ }
+
+ $form->{obsolete} = "checked" if $form->{obsolete};
+
+ $lastcost = qq|
+ <tr>
+ <th align="right" nowrap="true">|.$locale->text('Last Cost').qq|</th>
+ <td><input name=lastcost size=11 value=$form->{lastcost}></td>
+ </tr>
+|;
+
+ if ($form->{item} eq "part") {
+
+ $linkaccounts = qq|
+ <tr>
+ <th width="1%" align=right>|.$locale->text('Inventory').qq|</th>
+ <td><select name=IC>$form->{selectIC}</select></td>
+ <input name=selectIC type=hidden value="$form->{selectIC}">
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Sales').qq|</th>
+ <td><select name=IC_income>$form->{selectIC_income}</select></td>
+ <input name=selectIC_income type=hidden value="$form->{selectIC_income}">
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('COGS').qq|</th>
+ <td><select name=IC_expense>$form->{selectIC_expense}</select></td>
+ <input name=selectIC_expense type=hidden value="$form->{selectIC_expense}">
+ </tr>
+|;
+
+ if ($tax) {
+ $linkaccounts .= qq|
+ <tr>
+ <th align=right>|.$locale->text('Tax').qq|</th>
+ <td>$tax</td>
+ </tr>
+|;
+ }
+
+ $weight = qq|
+ <tr>
+ <th align="right" nowrap="true">|.$locale->text('Weight').qq|</th>
+ <td>
+ <table>
+ <tr>
+ <td>
+ <input name=weight size=10 value=$form->{weight}>
+ </td>
+ <th>
+ &nbsp;
+ $form->{weightunit}
+ <input type=hidden name=weightunit value=$form->{weightunit}>
+ </th>
+ </tr>
+ </table>
+ </td>
+ </tr>
+|;
+
+ }
+
+
+ if ($form->{item} eq "assembly") {
+
+ $lastcost = "";
+
+ $linkaccounts = qq|
+ <tr>
+ <th width="1%" align=right>|.$locale->text('Sales').qq|</th>
+ <td><select name=IC_income>$form->{selectIC_income}</select></td>
+ <input name=selectIC_income type=hidden value="$form->{selectIC_income}">
+ </tr>
+|;
+
+ if ($tax) {
+ $linkaccounts .= qq|
+ <tr>
+ <th align=right>|.$locale->text('Tax').qq|</th>
+ <td>$tax</td>
+ </tr>
+|;
+ }
+
+ $weight = qq|
+ <tr>
+ <th align="right" nowrap="true">|.$locale->text('Weight').qq|</th>
+ <td>
+ <table>
+ <tr>
+ <td>
+ &nbsp;$form->{weight}
+ <input type=hidden name=weight value=$form->{weight}>
+ </td>
+ <th>
+ &nbsp;
+ $form->{weightunit}
+ <input type=hidden name=weightunit value=$form->{weightunit}>
+ </th>
+ </tr>
+ </table>
+ </td>
+ </tr>
+|;
+
+
+ }
+
+
+ if ($form->{item} eq "service") {
+
+ $linkaccounts = qq|
+ <tr>
+ <th width="1%" align=right>|.$locale->text('Income').qq|</th>
+ <td><select name=IC_income>$form->{selectIC_income}</select></td>
+ <input name=selectIC_income type=hidden value="$form->{selectIC_income}">
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Expense').qq|</th>
+ <td><select name=IC_expense>$form->{selectIC_expense}</select></td>
+ <input name=selectIC_expense type=hidden value="$form->{selectIC_expense}">
+ </tr>
+|;
+
+ if ($tax) {
+ $linkaccounts .= qq|
+ <tr>
+ <th align=right>|.$locale->text('Tax').qq|</th>
+ <td>$tax</td>
+ </tr>
+|;
+ }
+
+ }
+
+
+ if ($form->{item} ne 'service') {
+ $color = ($form->{onhand} > 0) ? "green" : "red";
+ $rop = qq|
+ <tr>
+ <th align="right" nowrap>|.$locale->text('On Hand').qq|</th>
+ <th align=left nowrap>&nbsp;|.$form->format_amount(\%myconfig, $form->{onhand}).qq|</th>
+ </tr>
+|;
+
+ if ($form->{item} eq 'assembly') {
+ $rop .= qq|
+ <tr>
+ <th align="right" nowrap>|.$locale->text('Stock').qq|</th>
+ <td><input name=stock size=10 value=$form->{stock}></td>
+ </tr>
+|;
+ }
+
+ $rop .= qq|
+ <tr>
+ <th align="right" nowrap="true">|.$locale->text('ROP').qq|</th>
+ <td><input name=rop size=10 value=$form->{rop}></td>
+ </tr>
+|;
+
+ $bin = qq|
+ <tr>
+ <th align="right" nowrap="true">|.$locale->text('Bin').qq|</th>
+ <td><input name=bin size=10 value=$form->{bin}></td>
+ </tr>
+|;
+
+ $imagelinks = qq|
+ <tr>
+ <td>
+ <table>
+ <tr>
+ <th width=1% align=right nowrap>|.$locale->text('Image').qq|</th>
+ <td width=70%><input name=image size=40 value="$form->{image}"></td>
+
+ </tr>
+ <tr>
+ <th width=1% align=right nowrap>|.$locale->text('Drawing').qq|</th>
+ <td width=70%><input name=drawing size=40 value="$form->{drawing}"></td>
+ <th width=1% align=right nowrap>|.$locale->text('Microfiche').qq|</th>
+ <td width=30%><input name=microfiche size=20 value="$form->{microfiche}"></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+|;
+
+ }
+
+ if ($form->{id}) {
+ $obsolete = qq|
+ <tr>
+ <th align="right" nowrap="true">|.$locale->text('Obsolete').qq|</th>
+ <td><input name=obsolete type=checkbox class=checkbox value=1 $form->{obsolete}></td>
+ </tr>
+|;
+ }
+
+
+
+# type=submit $locale->text('Add Part')
+# type=submit $locale->text('Add Service')
+# type=submit $locale->text('Add Assembly')
+
+# type=submit $locale->text('Edit Part')
+# type=submit $locale->text('Edit Service')
+# type=submit $locale->text('Edit Assembly')
+
+
+ $form->header;
+
+ print qq|
+<body>
+
+<form method=post action=$form->{script}>
+
+<input name=id type=hidden value=$form->{id}>
+<input name=item type=hidden value=$form->{item}>
+<input name=title type=hidden value="$form->{title}">
+<input name=makemodel type=hidden value="$form->{makemodel}">
+<input name=alternate type=hidden value="$form->{alternate}">
+<input name=onhand type=hidden value=$form->{onhand}>
+<input name=orphaned type=hidden value=$form->{orphaned}>
+<input name=taxaccounts type=hidden value="$form->{taxaccounts}">
+<input name=rowcount type=hidden value=$form->{rowcount}>
+
+<table width="100%">
+ <tr><th class=listtop>$form->{title}</th></tr>
+ <tr height="5"></tr>
+ <tr>
+ <td>
+ <table width="100%">
+ <tr valign=top>
+ <th align=left>|.$locale->text('Number').qq|</th>
+ <th align=left>|.$locale->text('Description').qq|</th>
+ <th align=left>|.$locale->text('Group').qq|</th>
+ </tr>
+ <tr valign=top>
+ <td><input name=partnumber value="$form->{partnumber}" size=20></td>
+ <td>$description</td>
+ <td><input name=partsgroup size=20 value="$form->{partsgroup}"></td>
+ <input type=hidden name=oldpartsgroup value="$form->{oldpartsgroup}">
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <table width="100%" height="100%">
+ <tr valign=top>
+ <td width=70%>
+ <table width="100%" height="100%">
+ <tr class="listheading">
+ <th class="listheading" align="center" colspan=2>|.$locale->text('Link Accounts').qq|</th>
+ </tr>
+ $linkaccounts
+ <tr>
+ <th align="left">|.$locale->text('Notes').qq|</th>
+ </tr>
+ <tr>
+ <td colspan=2>
+ $notes
+ </td>
+ </tr>
+ </table>
+ </td>
+ <td width="30%">
+ <table width="100%">
+ <tr>
+ <th align="right" nowrap="true">|.$locale->text('Updated').qq|</th>
+ <td><input name=priceupdate size=11 title="$myconfig{dateformat}" value=$form->{priceupdate}></td>
+ </tr>
+ <tr>
+ <th align="right" nowrap="true">|.$locale->text('List Price').qq|</th>
+ <td><input name=listprice size=11 value=$form->{listprice}></td>
+ </tr>
+ <tr>
+ <th align="right" nowrap="true">|.$locale->text('Sell Price').qq|</th>
+ <td><input name=sellprice size=11 value=$form->{sellprice}></td>
+ </tr>
+ $lastcost
+ <tr>
+ <th align="right" nowrap="true">|.$locale->text('Unit').qq|</th>
+ <td><input name=unit size=5 maxsize=5 value="$form->{unit}"></td>
+ </tr>
+ $weight
+ $rop
+ $bin
+ $obsolete
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ $imagelinks
+|;
+}
+
+
+sub form_footer {
+
+ if ($form->{item} eq "assembly") {
+
+ print qq|
+ <tr>
+ <td>
+ <table width="100%">
+ <tr>
+ <th colspan=2 align=right>|.$locale->text('Total').qq|&nbsp;</th>
+ <th width="1%" align=right>|.$form->format_amount(\%myconfig, $form->{assemblytotal}, 2).qq|</th>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <input type=hidden name=assembly_rows value=$form->{assembly_rows}>
+|;
+ }
+
+ print qq|
+ <input type=hidden name=path value=$form->{path}>
+ <input type=hidden name=login value=$form->{login}>
+ <input type=hidden name=password value=$form->{password}>
+ <input type=hidden name=callback value="$form->{callback}">
+ <input type=hidden name=previous_form value="$form->{previous_form}">
+ <tr>
+ <td><hr size=3 noshade></td>
+ </tr>
+</table>
+
+<br>
+<input class=submit type=submit name=action value="|.$locale->text('Update').qq|">
+|;
+
+ if ($form->{item} ne "service") {
+ print qq|
+ <input type=hidden name=makemodel_rows value=$form->{makemodel_rows}>
+ |;
+ }
+
+ print qq|
+ <input class=submit type=submit name=action value="|.$locale->text('Save').qq|">|;
+
+ if ($form->{id}) {
+
+ if (! $form->{previous_form}) {
+ print qq|
+ <input class=submit type=submit name=action value="|.$locale->text('Save as new').qq|">|;
+ }
+
+ if ($form->{orphaned}) {
+ if (! $form->{previous_form}) {
+ print qq|
+ <input class=submit type=submit name=action value="|.$locale->text('Delete').qq|">|;
+ }
+ }
+
+ }
+
+ print qq|
+
+</form>
+
+</body>
+</html>
+|;
+
+}
+
+
+
+sub makemodel_row {
+ my ($numrows) = @_;
+
+ $form->{"make_$i"} =~ s/"/&quot;/g;
+ $form->{"model_$i"} =~ s/"/&quot;/g;
+
+ print qq|
+ <tr>
+ <td>
+ <table width=100%>
+ <tr>
+ <th class="listheading">|.$locale->text('Make').qq|</th>
+ <th class="listheading">|.$locale->text('Model').qq|</th>
+ </tr>
+|;
+
+ for $i (1 .. $numrows) {
+ print qq|
+ <tr>
+ <td width=50%><input name="make_$i" size=30 value="$form->{"make_$i"}"></td>
+ <td width=50%><input name="model_$i" size=30 value="$form->{"model_$i"}"></td>
+ </tr>
+|;
+ }
+
+ print qq|
+ </table>
+ </td>
+ </tr>
+|;
+
+}
+
+
+sub assembly_row {
+ my ($numrows) = @_;
+
+ @column_index = qw(runningnumber qty unit bom partnumber description partsgroup total);
+
+ if ($form->{previous_form}) {
+ $nochange = 1;
+ @column_index = qw(qty unit bom partnumber description partsgroup total);
+ } else {
+ # change callback
+ $form->{old_callback} = $form->{callback};
+ $callback = $form->{callback};
+ $form->{callback} = "$form->{script}?action=display_form";
+
+ # delete action
+ delete $form->{action};
+
+ $previous_form = "";
+ # save form variables in a previous_form variable
+ foreach $key (sort keys %$form) {
+ # escape ampersands
+ $form->{$key} =~ s/&/%26/g;
+ $previous_form .= qq|$key=$form->{$key}&|;
+ }
+ chop $previous_form;
+ $previous_form = $form->escape($form->escape($previous_form, 1));
+ $form->{callback} = $callback;
+
+ $form->{assemblytotal} = 0;
+ $form->{weight} = 0;
+
+ }
+
+ $column_header{runningnumber} = qq|<th nowrap width=5%>|.$locale->text('No.').qq|</th>|;
+ $column_header{qty} = qq|<th align=left nowrap width=10%>|.$locale->text('Qty').qq|</th>|;
+ $column_header{unit} = qq|<th align=left nowrap width=5%>|.$locale->text('Unit').qq|</th>|;
+ $column_header{partnumber} = qq|<th align=left nowrap width=20%>|.$locale->text('Number').qq|</th>|;
+ $column_header{description} = qq|<th nowrap width=50%>|.$locale->text('Description').qq|</th>|;
+ $column_header{total} = qq|<th align=right nowrap>|.$locale->text('Extended').qq|</th>|;
+ $column_header{bom} = qq|<th>|.$locale->text('BOM').qq|</th>|;
+ $column_header{partsgroup} = qq|<th>|.$locale->text('Group').qq|</th>|;
+
+ print qq|
+ <tr class=listheading>
+ <th class=listheading>|.$locale->text('Individual Items').qq|</th>
+ </tr>
+ <tr>
+ <td>
+ <table width=100%>
+ <tr>
+|;
+
+ map { print "\n$column_header{$_}" } @column_index;
+
+ print qq|
+ </tr>
+|;
+
+ for $i (1 .. $numrows) {
+ $form->{"partnumber_$i"} =~ s/"/&quot;/g;
+
+ $linetotal = $form->round_amount($form->{"sellprice_$i"} * $form->{"qty_$i"}, 2);
+ $form->{assemblytotal} += $linetotal;
+
+ $form->{"qty_$i"} = $form->format_amount(\%myconfig, $form->{"qty_$i"});
+
+ $linetotal = $form->format_amount(\%myconfig, $linetotal, 2);
+
+ if (($i >= 1) && ($i == $numrows)) {
+
+ if ($nochange) {
+ map { $column_data{$_} = qq|<td></td>| } qw(qty unit partnumber description bom partsgroup);
+ } else {
+
+ map { $column_data{$_} = qq|<td></td>| } qw(runningnumber unit bom);
+
+ $column_data{qty} = qq|<td><input name="qty_$i" size=5 value="$form->{"qty_$i"}"></td>|;
+ $column_data{partnumber} = qq|<td><input name="partnumber_$i" size=15 value="$form->{"partnumber_$i"}"></td>|;
+ $column_data{description} = qq|<td><input name="description_$i" size=40 value="$form->{"description_$i"}"></td>|;
+ $column_data{partsgroup} = qq|<td><input name="partsgroup_$i" size=10 value="$form->{"partsgroup_$i"}"></td>|;
+
+ }
+
+ } else {
+
+ if ($form->{previous_form}) {
+ $column_data{partnumber} = qq|<td><input type=hidden name="partnumber_$i" value="$form->{"partnumber_$i"}">$form->{"partnumber_$i"}</td>|;
+ $column_data{qty} = qq|<td align=right><input type=hidden name="qty_$i" value="$form->{"qty_$i"}">$form->{"qty_$i"}</td>|;
+
+ $column_data{bom} = qq|<td align=center><input type=hidden name="bom_$i" value=$form->{"bom_$i"}>|;
+ $column_data{bom} .= ($form->{"bom_$i"}) ? "x" : "&nbsp;";
+ $column_data{bom} .= qq|</td>|;
+
+ $column_data{partsgroup} = qq|<td><input type=hidden name="partsgroup_$i" value="$form->{"partsgroup_$i"}">$form->{"partsgroup_$i"}</td>|;
+
+ } else {
+ $href = qq|$form->{script}?action=edit&id=$form->{"id_$i"}&path=$form->{path}&login=$form->{login}&password=$form->{password}&rowcount=$i&previous_form=$previous_form|;
+ $column_data{partnumber} = qq|<td><input type=hidden name="partnumber_$i" value="$form->{"partnumber_$i"}"><a href=$href>$form->{"partnumber_$i"}</a></td>|;
+ $column_data{runningnumber} = qq|<td><input name="runningnumber_$i" size=3 value="$i"}"></td>|;
+ $column_data{qty} = qq|<td><input name="qty_$i" size=5 value="$form->{"qty_$i"}"></td>|;
+
+ $form->{"bom_$i"} = ($form->{"bom_$i"}) ? "checked" : "";
+ $column_data{bom} = qq|<td align=center><input name="bom_$i" type=checkbox class=checkbox value=1 $form->{"bom_$i"}></td>|;
+
+ $column_data{partsgroup} = qq|<td><input type=hidden name="partsgroup_$i" value="$form->{"partsgroup_$i"}">$form->{"partsgroup_$i"}</td>|;
+
+ }
+
+ $column_data{unit} = qq|<td><input type=hidden name="unit_$i" value="$form->{"unit_$i"}">$form->{"unit_$i"}</td>|;
+ $column_data{description} = qq|<td><input type=hidden name="description_$i" value="$form->{"description_$i"}">$form->{"description_$i"}</td>|;
+ }
+
+ $column_data{total} = qq|<td align=right>$linetotal</td>|;
+
+ print qq|
+ <tr>|;
+
+ map { print "\n$column_data{$_}" } @column_index;
+
+ print qq|
+ </tr>
+ <input type=hidden name="id_$i" value=$form->{"id_$i"}>
+ <input type=hidden name="sellprice_$i" value=$form->{"sellprice_$i"}>
+ <input type=hidden name="weight_$i" value=$form->{"weight_$i"}>
+|;
+ }
+
+ print qq|
+ </table>
+ </td>
+ </tr>
+|;
+
+}
+
+
+sub update {
+
+
+ if ($form->{item} eq "assembly") {
+
+ $i = $form->{assembly_rows};
+
+ # if last row is empty check the form otherwise retrieve item
+ if (($form->{"partnumber_$i"} eq "") && ($form->{"description_$i"} eq "") && ($form->{"partsgroup_$i"} eq "")) {
+
+ &check_form;
+
+ } else {
+
+ IC->assembly_item(\%myconfig, \%$form);
+
+ $rows = scalar @{ $form->{item_list} };
+
+ if ($rows) {
+ $form->{"qty_$i"} = 1 unless ($form->{"qty_$i"});
+
+ if ($rows > 1) {
+ $form->{makemodel_rows}--;
+ &select_item;
+ exit;
+ } else {
+ map { $form->{item_list}[$i]{$_} =~ s/"/&quot;/g } qw(partnumber description unit partsgroup);
+ map { $form->{"${_}_$i"} = $form->{item_list}[0]{$_} } keys %{ $form->{item_list}[0] };
+ $form->{"runningnumber_$i"} = $form->{assembly_rows};
+ $form->{assembly_rows}++;
+
+ &check_form;
+
+ }
+
+ } else {
+
+ $form->{rowcount} = $i;
+ $form->{assembly_rows}++;
+
+ &new_item;
+
+ }
+ }
+ }
+
+ if ($form->{item} eq "part") {
+ &check_form;
+ }
+
+ if ($form->{item} eq 'service') {
+ map { $form->{$_} = $form->parse_amount(\%myconfig, $form->{$_}) } qw(sellprice listprice);
+
+ &form_header;
+ &form_footer;
+ }
+
+}
+
+
+sub save {
+
+ # check if there is a part number
+ $form->isblank("partnumber", $locale->text(ucfirst $form->{item}." Number missing!"));
+
+ if ($form->{obsolete}) {
+ $form->error($locale->text("Inventory quantity must be zero before you can set this $form->{item} obsolete!")) if ($form->{onhand});
+ }
+
+# expand dynamic strings
+# $locale->text('Inventory quantity must be zero before you can set this part obsolete!')
+# $locale->text('Inventory quantity must be zero before you can set this assembly obsolete!')
+# $locale->text('Part Number missing!')
+# $locale->text('Service Number missing!')
+# $locale->text('Assembly Number missing!')
+
+ # save part
+ $rc = IC->save(\%myconfig, \%$form);
+
+ $parts_id = $form->{id};
+
+ # load previous variables
+ if ($form->{previous_form}) {
+ # save the new form variables before splitting previous_form
+ map { $newform{$_} = $form->{$_} } keys %$form;
+
+ $previous_form = $form->unescape($form->{previous_form});
+
+ # don't trample on previous variables
+ map { delete $form->{$_} } keys %newform;
+
+ # now take it apart and restore original values
+ foreach $item (split /&/, $previous_form) {
+ ($key, $value) = split /=/, $item, 2;
+ $value =~ s/%26/&/g;
+ $form->{$key} = $value;
+ }
+
+ if ($form->{item} eq 'assembly') {
+ # undo formatting
+ map { $form->{$_} = $form->parse_amount(\%myconfig, $form->{$_}) } qw(listprice sellprice weight);
+
+ $form->{assembly_rows}--;
+ $i = $newform{rowcount};
+ $form->{"qty_$i"} = 1 unless ($form->{"qty_$i"});
+
+ $form->{sellprice} -= $form->{"sellprice_$i"} * $form->{"qty_$i"};
+ $form->{weight} -= $form->{"weight_$i"} * $form->{"qty_$i"};
+
+ # change/add values for assembly item
+ map { $form->{"${_}_$i"} = $newform{$_} } qw(partnumber description bin unit weight listprice sellprice inventory_accno income_accno expense_accno partsgroup);
+
+ # undo string formatting
+ map { $form->{"${_}_$i"} =~ s/''/'/g } qw(partnumber description unit bin);
+
+ $form->{sellprice} += $form->round_amount($form->{"sellprice_$i"} * $form->{"qty_$i"}, 2);
+ $form->{weight} += $form->{"weight_$i"} * $form->{"qty_$i"};
+
+ } else {
+ # set values for last invoice/order item
+ $i = $form->{rowcount};
+ $form->{"qty_$i"} = 1 unless ($form->{"qty_$i"});
+
+ map { $form->{"${_}_$i"} = $newform{$_} } qw(partnumber description bin unit listprice inventory_accno income_accno expense_accno sellprice);
+ $form->{"sellprice_$i"} = $newform{lastcost} if ($form->{vendor_id});
+
+ if ($form->{exchangerate} != 0) {
+ $form->{"sellprice_$i"} /= $form->{exchangerate};
+ }
+
+ map { $form->{"taxaccounts_$i"} .= "$_ " if ($newform{"IC_tax_$_"}) } split / /, $newform{taxaccounts};
+ chop $form->{"taxaccounts_$i"};
+
+ # credit remaining calculation
+ $amount = $form->{"sellprice_$i"} * (1 - $form->{"discount_$i"} / 100) * $form->{"qty_$i"};
+ map { $form->{"${_}_base"} += $amount } (split / /, $form->{"taxaccounts_$i"});
+ map { $amount += ($form->{"${_}_base"} * $form->{"${_}_rate"}) } split / /, $form->{"taxaccounts_$i"} if !$form->{taxincluded};
+
+ $form->{creditremaining} -= $amount;
+
+ }
+
+ $form->{"id_$i"} = $parts_id;
+ delete $form->{action};
+
+ # restore original callback
+ $callback = $form->unescape($form->{callback});
+ $form->{callback} = $form->unescape($form->{old_callback});
+ delete $form->{old_callback};
+
+ $form->{makemodel_rows}--;
+
+ # put callback together
+ foreach $key (keys %$form) {
+ # do single escape for Apache 2.0
+ $value = $form->escape($form->{$key}, 1);
+ $callback .= qq|&$key=$value|;
+ }
+ $form->{callback} = $callback;
+ }
+
+ # redirect
+ $form->redirect;
+
+}
+
+
+sub save_as_new {
+
+ $form->{id} = 0;
+ &save;
+
+}
+
+
+sub delete {
+
+ $rc = IC->delete(\%myconfig, \%$form);
+
+ # redirect
+ $form->redirect($locale->text('Item deleted!')) if ($rc > 0);
+ $form->error($locale->text('Cannot delete item!'));
+
+}
+
+
+
+sub stock_assembly {
+
+ $form->{title} = $locale->text('Stock Assembly');
+
+ $form->header;
+
+ print qq|
+<body>
+
+<form method=post action=$form->{script}>
+
+<table width="100%">
+ <tr><th class=listtop>$form->{title}</th></tr>
+ <tr height="5"></tr>
+ <tr valign=top>
+ <td>
+ <table width="100%">
+ <tr>
+ <th width="1%" align="right" nowrap="true">|.$locale->text('Number').qq|</th>
+ <td width="40%"><input name=partnumber size=20></td>
+ <td>&nbsp;</td>
+ </tr>
+ <tr>
+ <th align="right" nowrap="true">|.$locale->text('Description').qq|</th>
+ <td colspan="2"><input name=description size=40></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr><td><hr size=3 noshade></td></tr>
+</table>
+
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=login value=$form->{login}>
+<input type=hidden name=password value=$form->{password}>
+
+<input type=hidden name=nextsub value=list_assemblies>
+
+<br>
+<input class=submit type=submit name=action value="|.$locale->text('Continue').qq|">
+</form>
+
+</body>
+</html>
+|;
+
+}
+
+
+
+
+sub list_assemblies {
+
+ IC->retrieve_assemblies(\%myconfig, \%$form);
+
+ $column_header{partnumber} = qq|<th class=listheading>|.$locale->text('Number').qq|</th>|;
+ $column_header{description} = qq|<th class=listheading>|.$locale->text('Description').qq|</th>|;
+ $column_header{bin} = qq|<th class=listheading>|.$locale->text('Bin').qq|</th>|;
+ $column_header{onhand} = qq|<th class=listheading>|.$locale->text('Qty').qq|</th>|;
+ $column_header{rop} = qq|<th class=listheading>|.$locale->text('ROP').qq|</th>|;
+ $column_header{stock} = qq|<th class=listheading>|.$locale->text('Add').qq|</th>|;
+
+ @column_index = (qw(partnumber description bin onhand rop stock));
+
+ $form->{title} = $locale->text('Stock Assembly');
+
+ $form->{callback} = "$form->{script}?action=stock_assembly&path=$form->{path}&login=$form->{login}&password=$form->{password}";
+
+ $form->header;
+
+ $colspan = $#column_index + 1;
+
+ print qq|
+<body>
+
+<form method=post action=$form->{script}>
+
+<table width=100%>
+ <tr><th class=listtop colspan=$colspan>$form->{title}</th></tr>
+ <tr size=5></tr>
+ <tr class=listheading>|;
+
+ map { print "\n$column_header{$_}" } @column_index;
+
+ print qq|
+ </tr>
+|;
+
+ $i = 1;
+ foreach $ref (@{ $form->{assembly_items} }) {
+
+ map { $ref->{$_} =~ s/"/&quot;/g } qw(partnumber description);
+
+ # figure out how many to stock
+ $form->{"qty_$i"} = $form->format_amount(\%myconfig, $ref->{rop} - $ref->{onhand});
+
+ $column_data{partnumber} = qq|<td width=20%>$ref->{partnumber}</td>|;
+ $column_data{description} = qq|<td width=50%>$ref->{description}&nbsp;</td>|;
+ $column_data{bin} = qq|<td>$ref->{bin}&nbsp;</td>|;
+ $column_data{onhand} = qq|<td align=right>|.$form->format_amount(\%myconfig, $ref->{onhand}, '', "&nbsp;").qq|</td>|;
+ $column_data{rop} = qq|<td align=right>|.$form->format_amount(\%myconfig, $ref->{rop}, '', "&nbsp;").qq|</td>|;
+ $column_data{stock} = qq|<td width=10%><input name="qty_$i" size=10 value=$form->{"qty_$i"}></td>|;
+
+ $j++; $j %= 2;
+ print qq|<tr class=listrow$j><input name="id_$i" type=hidden value=$ref->{id}>\n|;
+
+ map { print "\n$column_data{$_}" } @column_index;
+
+ print qq|
+ </tr>
+|;
+
+ $i++;
+
+ }
+
+ $i--;
+ print qq|
+ <tr>
+ <td colspan=6><hr size=3 noshade>
+ </tr>
+</table>
+<input name=rowcount type=hidden value="$i">
+
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=login value=$form->{login}>
+<input type=hidden name=password value=$form->{password}>
+
+<input name=callback type=hidden value="$form->{callback}">
+
+<input type=hidden name=nextsub value=restock_assemblies>
+
+<br>
+<input class=submit type=submit name=action value="|.$locale->text('Continue').qq|">
+
+</form>
+
+</body>
+</html>
+|;
+
+}
+
+
+sub restock_assemblies {
+
+ $form->redirect($locale->text('Assemblies restocked!')) if (IC->restock_assemblies(\%myconfig, \%$form));
+ $form->error($locale->text('Cannot stock assemblies!'));
+
+}
+
+
+sub continue { &{ $form->{nextsub} } };
+
+
diff --git a/sql-ledger/bin/mozilla/io.pl b/sql-ledger/bin/mozilla/io.pl
new file mode 100644
index 0000000..751d9a2
--- /dev/null
+++ b/sql-ledger/bin/mozilla/io.pl
@@ -0,0 +1,1149 @@
+######################################################################
+# SQL-Ledger, Accounting
+# Copyright (c) 1998-2002
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+#######################################################################
+#
+# common routines used in is, ir, oe
+#
+#######################################################################
+
+# any custom scripts for this one
+if (-f "$form->{path}/custom_io.pl") {
+ eval { require "$form->{path}/custom_io.pl"; };
+}
+if (-f "$form->{path}/$form->{login}_io.pl") {
+ eval { require "$form->{path}/$form->{login}_io.pl"; };
+}
+
+
+1;
+# end of main
+
+
+# this is for our long dates
+# $locale->text('January')
+# $locale->text('February')
+# $locale->text('March')
+# $locale->text('April')
+# $locale->text('May ')
+# $locale->text('June')
+# $locale->text('July')
+# $locale->text('August')
+# $locale->text('September')
+# $locale->text('October')
+# $locale->text('November')
+# $locale->text('December')
+
+# this is for our short month
+# $locale->text('Jan')
+# $locale->text('Feb')
+# $locale->text('Mar')
+# $locale->text('Apr')
+# $locale->text('May')
+# $locale->text('Jun')
+# $locale->text('Jul')
+# $locale->text('Aug')
+# $locale->text('Sep')
+# $locale->text('Oct')
+# $locale->text('Nov')
+# $locale->text('Dec')
+
+
+sub display_row {
+ my $numrows = shift;
+
+ @column_index = (partnumber, description, qty);
+
+ if ($form->{type} eq "sales_order") {
+ if ($form->{id}) {
+ push @column_index, "ship";
+ $column_data{ship} = qq|<th class=listheading align=left width="auto">|.$locale->text('Ship').qq|</th>|;
+ }
+ }
+ if ($form->{type} eq "purchase_order") {
+ if ($form->{id}) {
+ push @column_index, "ship";
+ $column_data{ship} = qq|<th class=listheading align=left width="auto">|.$locale->text('Recd').qq|</th>|;
+ }
+ }
+
+ push @column_index, qw(unit sellprice);
+
+ if ($form->{script} eq 'is.pl' || $form->{type} eq 'sales_order') {
+ push @column_index, qw(discount);
+ }
+
+ push @column_index, "linetotal";
+
+ my $colspan = $#column_index + 1;
+
+
+ $form->{invsubtotal} = 0;
+ map { $form->{"${_}_base"} = 0 } (split / /, $form->{taxaccounts});
+
+ $column_data{partnumber} = qq|<th class=listheading nowrap>|.$locale->text('Number').qq|</th>|;
+ $column_data{description} = qq|<th class=listheading nowrap>|.$locale->text('Description').qq|</th>|;
+ $column_data{qty} = qq|<th class=listheading nowrap>|.$locale->text('Qty').qq|</th>|;
+ $column_data{unit} = qq|<th class=listheading nowrap>|.$locale->text('Unit').qq|</th>|;
+ $column_data{sellprice} = qq|<th class=listheading nowrap>|.$locale->text('Price').qq|</th>|;
+ $column_data{discount} = qq|<th class=listheading>%</th>|;
+ $column_data{linetotal} = qq|<th class=listheading nowrap>|.$locale->text('Extended').qq|</th>|;
+ $column_data{bin} = qq|<th class=listheading nowrap>|.$locale->text('Bin').qq|</th>|;
+
+ print qq|
+ <tr>
+ <td>
+ <table width=100%>
+ <tr class=listheading>|;
+
+ map { print "\n$column_data{$_}" } @column_index;
+
+ print qq|
+ </tr>
+|;
+
+
+ $projectnumber = $locale->text('Project');
+ $runningnumber = $locale->text('No.');
+ $partsgroup = $locale->text('Group');
+
+ if ($form->{type} =~ /_order/) {
+ $reqdate = $locale->text('Required by');
+ $delvar = "reqdate";
+ } else {
+ $deliverydate = $locale->text('Delivery Date');
+ $delvar = "deliverydate";
+ }
+
+
+ for $i (1 .. $numrows) {
+ # undo formatting
+ map { $form->{"${_}_$i"} = $form->parse_amount(\%myconfig, $form->{"${_}_$i"}) } qw(qty ship discount sellprice);
+
+ ($dec) = ($form->{"sellprice_$i"} =~ /\.(\d+)/);
+ $dec = length $dec;
+ $decimalplaces = ($dec > 2) ? $dec : 2;
+
+ $discount = $form->round_amount($form->{"sellprice_$i"} * $form->{"discount_$i"}/100, $decimalplaces);
+ $linetotal = $form->round_amount($form->{"sellprice_$i"} - $discount, $decimalplaces);
+ $linetotal = $form->round_amount($linetotal * $form->{"qty_$i"}, 2);
+
+ # convert " to &quot;
+ map { $form->{"${_}_$i"} =~ s/"/&quot;/g } qw(partnumber description unit);
+
+ $column_data{partnumber} = qq|<td><input name="partnumber_$i" size=20 value="$form->{"partnumber_$i"}"></td>|;
+
+ if (($rows = $form->numtextrows($form->{"description_$i"}, 30, 6)) > 1) {
+ $column_data{description} = qq|<td><textarea name="description_$i" rows=$rows cols=30 wrap=soft>$form->{"description_$i"}</textarea></td>|;
+ } else {
+ $column_data{description} = qq|<td><input name="description_$i" size=30 value="$form->{"description_$i"}"></td>|;
+ }
+
+ $column_data{qty} = qq|<td align=right><input name="qty_$i" size=5 value=|.$form->format_amount(\%myconfig, $form->{"qty_$i"}).qq|></td>|;
+ $column_data{ship} = qq|<td align=right><input name="ship_$i" size=5 value=|.$form->format_amount(\%myconfig, $form->{"ship_$i"}).qq|></td>|;
+ $column_data{unit} = qq|<td><input name="unit_$i" size=5 maxsize=5 value="$form->{"unit_$i"}"></td>|;
+ $column_data{sellprice} = qq|<td align=right><input name="sellprice_$i" size=9 value=|.$form->format_amount(\%myconfig, $form->{"sellprice_$i"}, $decimalplaces).qq|></td>|;
+ $column_data{discount} = qq|<td align=right><input name="discount_$i" size=3 value=|.$form->format_amount(\%myconfig, $form->{"discount_$i"}).qq|></td>|;
+ $column_data{linetotal} = qq|<td align=right>|.$form->format_amount(\%myconfig, $linetotal, 2).qq|</td>|;
+ $column_data{bin} = qq|<td>$form->{"bin_$i"}</td>|;
+
+ print qq|
+ <tr valign=top>|;
+
+ map { print "\n$column_data{$_}" } @column_index;
+
+ print qq|
+ </tr>
+
+<input type=hidden name="id_$i" value=$form->{"id_$i"}>
+<input type=hidden name="inventory_accno_$i" value=$form->{"inventory_accno_$i"}>
+<input type=hidden name="bin_$i" value="$form->{"bin_$i"}">
+<input type=hidden name="income_accno_$i" value=$form->{"income_accno_$i"}>
+<input type=hidden name="expense_accno_$i" value=$form->{"expense_accno_$i"}>
+<input type=hidden name="listprice_$i" value="$form->{"listprice_$i"}">
+<input type=hidden name="assembly_$i" value="$form->{"assembly_$i"}">
+<input type=hidden name="taxaccounts_$i" value="$form->{"taxaccounts_$i"}">
+
+|;
+
+ # print second row
+ print qq|
+ <tr>
+ <td colspan=$colspan>
+ <table>
+ <tr>
+ <th>$runningnumber</th>
+ <td><input name="runningnumber_$i" size=3 value=$i></td>
+ <td width=20></td>
+ <th>$partsgroup</th>
+ <td><input name="partsgroup_$i" size=10 value="$form->{"partsgroup_$i"}">
+ <th>${$delvar}</th>
+ <td><input name="${delvar}_$i" size=11 title="$myconfig{dateformat}" value="$form->{"${delvar}_$i"}"></td>
+ <th>$projectnumber</th>
+ <td><input name="projectnumber_$i" size=10 value="$form->{"projectnumber_$i"}">
+ <input type=hidden name="oldprojectnumber_$i" value="$form->{"oldprojectnumber_$i"}">
+ <input type=hidden name="project_id_$i" value="$form->{"project_id_$i"}"></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td colspan=$colspan><hr size=1 noshade></td>
+ </tr>
+|;
+
+
+ map { $form->{"${_}_base"} += $linetotal } (split / /, $form->{"taxaccounts_$i"});
+
+ $form->{invsubtotal} += $linetotal;
+ }
+
+ print qq|
+ </table>
+ </td>
+ </tr>
+|;
+
+}
+
+
+sub select_item {
+
+ @column_index = qw(ndx partnumber description onhand sellprice);
+
+ $column_data{ndx} = qq|<th>&nbsp;</th>|;
+ $column_data{partnumber} = qq|<th class=listheading>|.$locale->text('Number').qq|</th>|;
+ $column_data{description} = qq|<th class=listheading>|.$locale->text('Description').qq|</th>|;
+ $column_data{sellprice} = qq|<th class=listheading>|.$locale->text('Price').qq|</th>|;
+ $column_data{onhand} = qq|<th class=listheading>|.$locale->text('Qty').qq|</th>|;
+
+
+ # list items with radio button on a form
+ $form->header;
+
+ $title = $locale->text('Select from one of the items below');
+ $colspan = $#column_index + 1;
+
+ print qq|
+<body>
+
+<form method=post action=$form->{script}>
+
+<table width=100%>
+ <tr>
+ <th class=listtop colspan=$colspan>$title</th>
+ </tr>
+ <tr height="5"></tr>
+ <tr class=listheading>|;
+
+ map { print "\n$column_data{$_}" } @column_index;
+
+ print qq|</tr>|;
+
+ my $i = 0;
+ foreach $ref (@{ $form->{item_list} }) {
+ $checked = ($i++) ? "" : "checked";
+
+ map { $ref->{$_} =~ s/"/&quot;/g } qw(partnumber description unit);
+
+ $column_data{ndx} = qq|<td><input name=ndx class=radio type=radio value=$i $checked></td>|;
+ $column_data{partnumber} = qq|<td><input name="new_partnumber_$i" type=hidden value="$ref->{partnumber}">$ref->{partnumber}</td>|;
+ $column_data{description} = qq|<td><input name="new_description_$i" type=hidden value="$ref->{description}">$ref->{description}</td>|;
+ $column_data{sellprice} = qq|<td align=right><input name="new_sellprice_$i" type=hidden value=$ref->{sellprice}>|.$form->format_amount(\%myconfig, $ref->{sellprice}, 2, "&nbsp;").qq|</td>|;
+ $column_data{onhand} = qq|<td align=right><input name="new_onhand_$i" type=hidden value=$ref->{onhand}>|.$form->format_amount(\%myconfig, $ref->{onhand}, '', "&nbsp;").qq|</td>|;
+
+ $j++; $j %= 2;
+ print qq|
+<tr class=listrow$j>|;
+
+ map { print "\n$column_data{$_}" } @column_index;
+
+ print qq|
+</tr>
+
+<input name="new_bin_$i" type=hidden value="$ref->{bin}">
+<input name="new_listprice_$i" type=hidden value=$ref->{listprice}>
+<input name="new_inventory_accno_$i" type=hidden value=$ref->{inventory_accno}>
+<input name="new_income_accno_$i" type=hidden value=$ref->{income_accno}>
+<input name="new_expense_accno_$i" type=hidden value=$ref->{expense_accno}>
+<input name="new_unit_$i" type=hidden value="$ref->{unit}">
+<input name="new_weight_$i" type=hidden value="$ref->{weight}">
+<input name="new_assembly_$i" type=hidden value="$ref->{assembly}">
+<input name="new_taxaccounts_$i" type=hidden value="$ref->{taxaccounts}">
+<input name="new_partsgroup_$i" type=hidden value="$ref->{partsgroup}">
+
+<input name="new_id_$i" type=hidden value=$ref->{id}>
+
+|;
+
+ }
+
+ print qq|
+<tr><td colspan=8><hr size=3 noshade></td></tr>
+</table>
+
+<input name=lastndx type=hidden value=$i>
+
+|;
+
+ # delete action variable
+ delete $form->{action};
+ delete $form->{item_list};
+
+ # save all other form variables
+ foreach $key (keys %${form}) {
+ $form->{$key} =~ s/"/&quot;/g;
+ print qq|<input name=$key type=hidden value="$form->{$key}">\n|;
+ }
+
+ print qq|
+<input type=hidden name=nextsub value=item_selected>
+
+<br>
+<input class=submit type=submit name=action value="|.$locale->text('Continue').qq|">
+</form>
+
+</body>
+</html>
+|;
+
+}
+
+
+
+sub item_selected {
+
+ # replace the last row with the checked row
+ $i = $form->{rowcount};
+ $i = $form->{assembly_rows} if ($form->{item} eq 'assembly');
+
+ # index for new item
+ $j = $form->{ndx};
+
+ # if there was a price entered, override it
+ $sellprice = $form->parse_amount(\%myconfig, $form->{"sellprice_$i"});
+
+ map { $form->{"${_}_$i"} = $form->{"new_${_}_$j"} } qw(id partnumber description sellprice listprice inventory_accno income_accno expense_accno bin unit weight assembly taxaccounts partsgroup);
+
+ ($dec) = ($form->{"sellprice_$i"} =~ /\.(\d+)/);
+ $dec = length $dec;
+ $decimalplaces = ($dec > 2) ? $dec : 2;
+
+ if ($sellprice) {
+ $form->{"sellprice_$i"} = $sellprice;
+ } else {
+ # if there is an exchange rate adjust sellprice
+ if (($form->{exchangerate} * 1) != 0) {
+ $form->{"sellprice_$i"} /= $form->{exchangerate};
+ $form->{"sellprice_$i"} = $form->round_amount($form->{"sellprice_$i"}, $decimalplaces);
+ }
+ }
+
+ map { $form->{$_} = $form->parse_amount(\%myconfig, $form->{$_}) } qw(sellprice weight);
+
+ $form->{sellprice} += ($form->{"sellprice_$i"} * $form->{"qty_$i"});
+ $form->{weight} += ($form->{"weight_$i"} * $form->{"qty_$i"});
+
+ $amount = $form->{"sellprice_$i"} * (1 - $form->{"discount_$i"} / 100) * $form->{"qty_$i"};
+ map { $form->{"${_}_base"} += $amount } (split / /, $form->{"taxaccounts_$i"});
+ map { $amount += ($form->{"${_}_base"} * $form->{"${_}_rate"}) } split / /, $form->{"taxaccounts_$i"} if !$form->{taxincluded};
+
+ $form->{creditremaining} -= $amount;
+
+ $form->{"runningnumber_$i"} = $i;
+
+ # delete all the new_ variables
+ for $i (1 .. $form->{lastndx}) {
+ map { delete $form->{"new_${_}_$i"} } qw(partnumber description sellprice bin listprice inventory_accno income_accno expense_accno unit assembly taxaccounts id);
+ }
+
+ map { delete $form->{$_} } qw(ndx lastndx nextsub);
+
+ if ($form->{item} eq 'assembly') {
+ map { $form->{"qty_$_"} = $form->parse_amount(\%myconfig, $form->{"qty_$_"}) } (1 .. $i);
+ } else {
+ # format amounts for invoice / order
+ map { $form->{"${_}_$i"} = $form->format_amount(\%myconfig, $form->{"${_}_$i"}, $decimalplaces) } qw(sellprice listprice);
+ }
+
+ &display_form;
+
+}
+
+
+sub new_item {
+
+ # change callback
+ $form->{old_callback} = $form->escape($form->{callback},1);
+ $form->{callback} = $form->escape("$form->{script}?action=display_form",1);
+
+ # delete action
+ delete $form->{action};
+
+ # save all other form variables in a previous_form variable
+ foreach $key (keys %$form) {
+ # escape ampersands
+ $form->{$key} =~ s/&/%26/g;
+ $previous_form .= qq|$key=$form->{$key}&|;
+ }
+ chop $previous_form;
+ $previous_form = $form->escape($previous_form, 1);
+
+ $i = $form->{rowcount};
+ map { $form->{"${_}_$i"} =~ s/"/&quot;/g } qw(partnumber description);
+
+ $form->header;
+
+ print qq|
+<body>
+
+<h4 class=error>|.$locale->text('Item not on file!').qq|
+
+<p>
+|.$locale->text('What type of item is this?').qq|</h4>
+
+<form method=post action=ic.pl>
+
+<p>
+
+ <input class=radio type=radio name=item value=part checked>&nbsp;|.$locale->text('Part')
+.qq|<br>
+ <input class=radio type=radio name=item value=service>&nbsp;|.$locale->text('Service')
+
+.qq|
+<input type=hidden name=previous_form value="$previous_form">
+<input type=hidden name=partnumber value="$form->{"partnumber_$i"}">
+<input type=hidden name=description value="$form->{"description_$i"}">
+<input type=hidden name=rowcount value=$form->{rowcount}>
+
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=login value=$form->{login}>
+<input type=hidden name=password value=$form->{password}>
+
+<input type=hidden name=nextsub value=add>
+
+<p>
+<input class=submit type=submit name=action value="|.$locale->text('Continue').qq|">
+</form>
+
+</body>
+</html>
+|;
+
+}
+
+
+
+sub display_form {
+
+ &form_header;
+
+ $numrows = ++$form->{rowcount};
+ $subroutine = "display_row";
+
+ if ($form->{item} eq 'part') {
+ $numrows = ++$form->{makemodel_rows};
+ $subroutine = "makemodel_row";
+ }
+ if ($form->{item} eq 'assembly') {
+ $numrows = ++$form->{makemodel_rows};
+ $subroutine = "makemodel_row";
+
+ # create makemodel rows
+ &{ $subroutine }($numrows);
+
+ $numrows = ++$form->{assembly_rows};
+ $subroutine = "assembly_row";
+ }
+ if ($form->{item} eq 'service') {
+ $numrows = 0;
+ }
+
+ # create rows
+ &{ $subroutine }($numrows) if $numrows;
+
+ &form_footer;
+
+}
+
+
+
+sub check_form {
+
+ my @a = ();
+ my $count = 0;
+ my @flds = (qw(id partnumber description qty sellprice unit discount inventory_accno income_accno expense_accno listprice taxaccounts bin assembly weight projectnumber project_id oldprojectnumber runningnumber partsgroup));
+
+ # remove any makes or model rows
+ if ($form->{item} eq 'part') {
+ map { $form->{$_} = $form->parse_amount(\%myconfig, $form->{$_}) } qw(listprice sellprice lastcost weight rop);
+
+ @flds = (make, model);
+ for my $i (1 .. ($form->{makemodel_rows})) {
+ if (($form->{"make_$i"} ne "") || ($form->{"model_$i"} ne "")) {
+ push @a, {};
+ my $j = $#a;
+
+ map { $a[$j]->{$_} = $form->{"${_}_$i"} } @flds;
+ $count++;
+ }
+ }
+
+ $form->redo_rows(\@flds, \@a, $count, $form->{makemodel_rows});
+ $form->{makemodel_rows} = $count;
+
+ } elsif ($form->{item} eq 'assembly') {
+
+ $form->{sellprice} = 0;
+ $form->{weight} = 0;
+ map { $form->{$_} = $form->parse_amount(\%myconfig, $form->{$_}) } qw(listprice rop);
+
+ @flds = qw(id qty unit bom partnumber description sellprice weight runningnumber partsgroup);
+
+ for my $i (1 .. ($form->{assembly_rows} - 1)) {
+ if ($form->{"qty_$i"}) {
+ push @a, {};
+ my $j = $#a;
+
+ $form->{"qty_$i"} = $form->parse_amount(\%myconfig, $form->{"qty_$i"});
+
+ map { $a[$j]->{$_} = $form->{"${_}_$i"} } @flds;
+
+ $form->{sellprice} += ($form->{"qty_$i"} * $form->{"sellprice_$i"});
+ $form->{weight} += ($form->{"qty_$i"} * $form->{"weight_$i"});
+ $count++;
+ }
+ }
+
+ $form->{sellprice} = $form->round_amount($form->{sellprice}, 2);
+
+ $form->redo_rows(\@flds, \@a, $count, $form->{assembly_rows});
+ $form->{assembly_rows} = $count;
+
+ $count = 0;
+ @flds = qw(make model);
+ @a = ();
+
+ for my $i (1 .. ($form->{makemodel_rows})) {
+ if (($form->{"make_$i"} ne "") || ($form->{"model_$i"} ne "")) {
+ push @a, {};
+ my $j = $#a;
+
+ map { $a[$j]->{$_} = $form->{"${_}_$i"} } @flds;
+ $count++;
+ }
+ }
+
+ $form->redo_rows(\@flds, \@a, $count, $form->{makemodel_rows});
+ $form->{makemodel_rows} = $count;
+
+ } else {
+
+ # this section applies to invoices and orders
+ # remove any empty numbers
+
+ if ($form->{rowcount}) {
+ for my $i (1 .. $form->{rowcount} - 1) {
+ if ($form->{"partnumber_$i"}) {
+ push @a, {};
+ my $j = $#a;
+
+ map { $a[$j]->{$_} = $form->{"${_}_$i"} } @flds;
+ $count++;
+ }
+ }
+
+ $form->redo_rows(\@flds, \@a, $count, $form->{rowcount});
+ $form->{rowcount} = $count;
+
+ $form->{creditremaining} -= &invoicetotal;
+
+ }
+ }
+
+ &display_form;
+
+}
+
+
+sub invoicetotal {
+
+ $form->{oldinvtotal} = 0;
+ # add all parts and deduct paid
+ map { $form->{"${_}_base"} = 0 } split / /, $form->{taxaccounts};
+
+ my ($amount, $sellprice, $discount, $qty);
+
+ for my $i (1 .. $form->{rowcount}) {
+ $sellprice = $form->parse_amount(\%myconfig, $form->{"sellprice_$i"});
+ $discount = $form->parse_amount(\%myconfig, $form->{"discount_$i"});
+ $qty = $form->parse_amount(\%myconfig, $form->{"qty_$i"});
+
+ $amount = $sellprice * (1 - $discount / 100) * $qty;
+ map { $form->{"${_}_base"} += $amount } (split / /, $form->{"taxaccounts_$i"});
+ $form->{oldinvtotal} += $amount;
+ }
+
+ map { $form->{oldinvtotal} += ($form->{"${_}_base"} * $form->{"${_}_rate"}) } split / /, $form->{taxaccounts} if !$form->{taxincluded};
+
+ $form->{oldtotalpaid} = 0;
+ for $i (1 .. $form->{paidaccounts}) {
+ $form->{oldtotalpaid} += $form->{"paid_$i"};
+ }
+
+ # return total
+ ($form->{oldinvtotal} - $form->{oldtotalpaid});
+
+}
+
+
+sub validate_items {
+
+ # check if items are valid
+ if ($form->{rowcount} == 1) {
+ &update;
+ exit;
+ }
+
+ for $i (1 .. $form->{rowcount} - 1) {
+ $form->isblank("partnumber_$i", $locale->text('Number missing in Row') . " $i");
+ }
+
+}
+
+
+sub order {
+
+ $form->{ordnumber} = $form->{invnumber};
+
+ $form->{id} = '';
+
+ if ($form->{script} eq 'ir.pl') {
+ $form->{title} = $locale->text('Add Purchase Order');
+ $form->{vc} = 'vendor';
+ $form->{type} = 'purchase_order';
+ $buysell = 'sell';
+ }
+ if ($form->{script} eq 'is.pl') {
+ $form->{title} = $locale->text('Add Sales Order');
+ $form->{vc} = 'customer';
+ $form->{type} = 'sales_order';
+ $buysell = 'buy';
+ }
+ $form->{script} = 'oe.pl';
+
+ $form->{shipto} = 1;
+
+ $form->{rowcount}--;
+
+ require "$form->{path}/$form->{script}";
+
+ map { $form->{"select$_"} = "" } ($form->{vc}, currency);
+
+ $currency = $form->{currency};
+
+ &order_links;
+
+ $form->{currency} = $currency;
+ $form->{exchangerate} = "";
+ $form->{forex} = "";
+ $form->{exchangerate} = $exchangerate if ($form->{forex} = ($exchangerate = $form->check_exchangerate(\%myconfig, $form->{currency}, $form->{orddate}, $buysell)));
+
+ &prepare_order;
+ &display_form;
+
+}
+
+
+sub e_mail {
+
+
+ if ($myconfig{admin}) {
+ $bcc = qq|
+ <th align=right nowrap=true>|.$locale->text('Bcc').qq|</th>
+ <td><input name=bcc size=30 value="$form->{bcc}"></td>
+|;
+ }
+
+ if ($form->{type} eq 'packing_list') {
+ $form->{email} = $form->{shiptoemail} if $form->{shiptoemail};
+ }
+
+ $name = $form->{$form->{vc}};
+ $name =~ s/--.*//g;
+ $title = $locale->text('E-mail')." $name";
+
+ $form->{oldmedia} = $form->{media};
+ $form->{media} = "email";
+
+ $form->header;
+
+ print qq|
+<body>
+
+<form method=post action=$form->{script}>
+
+<table width=100%>
+ <tr class=listtop>
+ <th class=listtop>$title</th>
+ </tr>
+ <tr height="5"></tr>
+ <tr>
+ <td>
+ <table width=100%>
+ <tr>
+ <th align=right nowrap>|.$locale->text('To').qq|</th>
+ <td><input name=email size=30 value="$form->{email}"></td>
+ <th align=right nowrap>|.$locale->text('Cc').qq|</th>
+ <td><input name=cc size=30 value="$form->{cc}"></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Subject').qq|</th>
+ <td><input name=subject size=30 value="$form->{subject}"></td>
+ $bcc
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <table width=100%>
+ <tr>
+ <th align=left nowrap>|.$locale->text('Message').qq|</th>
+ </tr>
+ <tr>
+ <td><textarea name=message rows=15 cols=60 wrap=soft>$form->{message}</textarea></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>
+|;
+
+ &print_options;
+
+ map { delete $form->{$_} } qw(action email cc bcc subject message type sendmode format);
+
+ # save all other variables
+ foreach $key (keys %$form) {
+ $form->{$key} =~ s/"/&quot;/g;
+ print qq|<input type=hidden name=$key value="$form->{$key}">\n|;
+ }
+
+ print qq|
+ </td>
+ </tr>
+ <tr>
+ <td><hr size=3 noshade></td>
+ </tr>
+</table>
+
+<input type=hidden name=nextsub value=send_email>
+
+<br>
+<input name=action class=submit type=submit value="|.$locale->text('Continue').qq|">
+</form>
+
+</body>
+</html>
+|;
+
+}
+
+
+sub send_email {
+
+ $old_form = new Form;
+ map { $old_form->{$_} = $form->{$_} } keys %$form;
+ $old_form->{media} = $form->{oldmedia};
+ &print_form($old_form);
+
+}
+
+
+
+sub print_options {
+
+ $form->{sendmode} = "attachment";
+ $form->{copies} = 3 unless $form->{copies};
+
+ $form->{PD}{$form->{type}} = "checked";
+ $form->{DF}{$form->{format}} = "checked";
+ $form->{OP}{$form->{media}} = "checked";
+ $form->{SM}{$form->{sendmode}} = "checked";
+
+ if ($form->{type} =~ /_order/) {
+ $order = qq|
+ <td align=right><input class=radio type=radio name=type value="$`_order" $form->{PD}{"$`_order"}></td><td>|.$locale->text('Order').qq|</td>
+|;
+ } else {
+ $invoice = qq|
+ <td align=right><input class=radio type=radio name=type value=invoice $form->{PD}{invoice}></td><td>|.$locale->text('Invoice').qq|</td>
+ <td align=right><input class=radio type=radio name=type value=packing_list $form->{PD}{packing_list}></td><td>|.$locale->text('Packing List').qq|</td>
+|;
+ }
+
+ if ($form->{media} eq 'email') {
+ $email = qq|
+ <td align=center><input class=radio type=radio name=sendmode value=attachment $form->{SM}{attachment}> |.$locale->text('Attachment')
+ .qq| <input class=radio type=radio name=sendmode value=inline $form->{SM}{inline}> |.$locale->text('In-line').qq|</td>
+|;
+ } else {
+ $screen = qq|
+ <td align=right><input class=radio type=radio name=media value=screen $form->{OP}{screen}></td>
+ <td>|.$locale->text('Screen').qq|</td>
+|;
+ }
+
+ print qq|
+<table width=100%>
+ <tr valign=top>
+ $invoice
+ $order
+ <td align=right><input class=radio type=radio name=format value=html $form->{DF}{html}></td>
+ <td>html</td>
+|;
+
+ if ($latex) {
+ print qq|
+ <td align=right><input class=radio type=radio name=format value=postscript $form->{DF}{postscript}></td>
+ <td>|.$locale->text('Postscript').qq|</td>
+ <td align=right><input class=radio type=radio name=format value=pdf $form->{DF}{pdf}></td>
+ <td>|.$locale->text('PDF').qq|</td>
+|;
+ }
+
+ print qq|
+ $screen
+|;
+
+ if ($screen) {
+ if ($myconfig{printer} && $latex) {
+ print qq|
+ <td align=right><input class=radio type=radio name=media value=printer $form->{OP}{printer}></td>
+ <td>|.$locale->text('Printer')
+ .qq| (|.$locale->text('Copies')
+ .qq| <input name=copies size=2 value=$form->{copies}>)</td>
+|;
+ }
+ }
+
+
+ $form->{groupitems} = "checked" if $form->{groupitems};
+
+ print qq|
+ $email
+ <td align=right><input name=groupitems type=checkbox class=checkbox $form->{groupitems}></td>
+ <td>|.$locale->text('Group Items').qq|</td>
+ </tr>
+</table>
+|;
+
+}
+
+
+sub print {
+
+ # if this goes to the printer pass through
+ if ($form->{media} eq 'printer') {
+ $form->error($locale->text('Select postscript or PDF!')) if ($form->{format} !~ /(postscript|pdf)/);
+
+ $old_form = new Form;
+ map { $old_form->{$_} = $form->{$_} } keys %$form;
+ }
+
+ &print_form($old_form);
+
+}
+
+
+sub print_form {
+ my $old_form = shift;
+
+ $inv = "inv";
+ $due = "due";
+
+ if ($form->{type} eq "invoice") {
+ $form->{label} = $locale->text('Invoice');
+ }
+ if ($form->{type} eq "packing_list") {
+ $form->{label} = $locale->text('Packing List');
+ }
+ if ($form->{type} eq 'sales_order') {
+ $inv = "ord";
+ $due = "req";
+ $form->{label} = $locale->text('Sales Order');
+ }
+ if ($form->{type} eq 'purchase_order') {
+ $inv = "ord";
+ $due = "req";
+ $form->{label} = $locale->text('Purchase Order');
+ }
+
+ $form->isblank("email", $locale->text('E-mail address missing!')) if ($form->{media} eq 'email');
+ $form->isblank("${inv}number", $locale->text($form->{label} .' Number missing!'));
+ $form->isblank("${inv}date", $locale->text($form->{label} .' Date missing!'));
+
+# $locale->text('Invoice Number missing!')
+# $locale->text('Invoice Date missing!')
+# $locale->text('Packing List Number missing!')
+# $locale->text('Packing List Date missing!')
+# $locale->text('Order Number missing!')
+# $locale->text('Order Date missing!')
+
+ &validate_items;
+
+ &{ "$form->{vc}_details" };
+
+ @a = ();
+ map { push @a, ("partnumber_$_", "description_$_") } (1 .. $form->{rowcount});
+ map { push @a, "${_}_description" } split / /, $form->{taxaccounts};
+ $form->format_string(@a);
+
+ # format payment dates
+ map { $form->{"datepaid_$_"} = $locale->date(\%myconfig, $form->{"datepaid_$_"}) } (1 .. $form->{paidaccounts});
+
+ # create the form variables for the invoice, packing list or order
+ if ($form->{type} =~ /order$/) {
+ OE->order_details(\%myconfig, \%$form);
+ } else {
+ IS->invoice_details(\%myconfig, \%$form);
+ }
+
+ $form->{"${inv}date"} = $locale->date(\%myconfig, $form->{"${inv}date"}, 1);
+ $form->{"${due}date"} = $locale->date(\%myconfig, $form->{"${due}date"}, 1);
+
+
+ @a = qw(name addr1 addr2 addr3 addr4);
+
+ $fillshipto = 1;
+ # if there is no shipto fill it in from billto
+ foreach $item (@a) {
+ if ($form->{"shipto$item"}) {
+ $fillshipto = 0;
+ last;
+ }
+ }
+
+ if ($fillshipto) {
+ if ($form->{type} eq 'purchase_order') {
+ $form->{shiptoname} = $myconfig{company};
+ $form->{shiptoaddr1} = $myconfig{address};
+ } else {
+ map { $form->{"shipto$_"} = $form->{$_} } @a;
+ }
+ }
+
+ $form->{notes} =~ s/^\s+//g;
+
+ # some of the stuff could have umlauts so we translate them
+ push @a, qw(shiptoname shiptoaddr1 shiptoaddr2 shiptoaddr3 shiptoaddr4 shippingpoint company address signature notes);
+
+ push @a, ("${inv}date", "${due}date");
+
+ $form->format_string(@a);
+
+
+ $form->{templates} = "$myconfig{templates}";
+ $form->{IN} = "$form->{type}.html";
+
+ if ($form->{format} eq 'postscript') {
+ $form->{postscript} = 1;
+ $form->{IN} =~ s/html$/tex/;
+ }
+ if ($form->{format} eq 'pdf') {
+ $form->{pdf} = 1;
+ $form->{IN} =~ s/html$/tex/;
+ }
+
+ $form->format_string(email, shiptoemail, cc, bcc) if $form->{format} =~ /(pdf|postscript)/;
+
+ if ($form->{media} eq 'printer') {
+ $form->{OUT} = "| $myconfig{printer}";
+ }
+
+ if ($form->{media} eq 'email') {
+ $form->{subject} = qq|$form->{label} $form->{"${inv}number"}| unless $form->{subject};
+
+ $form->{OUT} = "$sendmail";
+ }
+
+
+ $form->parse_template(\%myconfig, $userspath);
+
+ $form->{callback} = "";
+
+ # if we got back here restore the previous form
+ if ($form->{media} =~ /(printer|email)/) {
+ if ($old_form) {
+ # restore and display form
+ map { $form->{$_} = $old_form->{$_} } keys %$old_form;
+ $form->{rowcount}--;
+ map { $form->{$_} = $form->parse_amount(\%myconfig, $form->{$_}) } qw(exchangerate creditlimit creditremaining);
+
+ for $i (1 .. $form->{paidaccounts}) {
+ map { $form->{"${_}_$i"} = $form->parse_amount(\%myconfig, $form->{"${_}_$i"}) } qw(paid exchangerate);
+ }
+
+ &display_form;
+ exit;
+ }
+
+ $msg = ($form->{media} eq 'printer') ? $locale->text('sent to printer') : $locale->text('emailed to')." $form->{email}";
+ $form->redirect(qq|$form->{label} $form->{"${inv}number"} $msg|);
+ }
+
+}
+
+
+sub customer_details {
+
+ IS->customer_details(\%myconfig, \%$form);
+
+}
+
+
+sub vendor_details {
+
+ IR->vendor_details(\%myconfig, \%$form);
+
+}
+
+
+sub post_as_new {
+
+ $form->{postasnew} = 1;
+ &post;
+
+}
+
+
+sub ship_to {
+
+ $title = $form->{title};
+ $form->{title} = $locale->text('Ship to');
+
+ $form->{rowcount}--;
+
+ map { $form->{$_} = $form->parse_amount(\%myconfig, $form->{$_}) } qw(exchangerate creditlimit creditremaining);
+
+ # get details for name
+ &{ "$form->{vc}_details" };
+
+ $form->header;
+
+ print qq|
+<body>
+
+<form method=post action=$form->{script}>
+
+<table width=100%>
+ <tr>
+ <td>
+ <table>
+ <tr class=listheading>
+ <th class=listheading colspan=2 width=50%>|.$locale->text('To').qq|</th>
+ <th class=listheading width=50%>|.$locale->text('Ship to').qq|</th>
+ </tr>
+ <tr height="5"></tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Number').qq|</th>
+ <td>$form->{"$form->{vc}number"}</td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Name').qq|</th>
+ <td>$form->{name}</td>
+ <td><input name=shiptoname size=35 maxsize=35 value="$form->{shiptoname}"></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Address').qq|</th>
+ <td>$form->{addr1}</td>
+ <td><input name=shiptoaddr1 size=35 maxsize=35 value="$form->{shiptoaddr1}"></td>
+ </tr>
+ <tr>
+ <th></th>
+ <td>$form->{addr2}</td>
+ <td><input name=shiptoaddr2 size=35 maxsize=35 value="$form->{shiptoaddr2}"></td>
+ </tr>
+ <tr>
+ <th></th>
+ <td>$form->{addr3}</td>
+ <td><input name=shiptoaddr3 size=35 maxsize=35 value="$form->{shiptoaddr3}"></td>
+ </tr>
+ <tr>
+ <th></th>
+ <td>$form->{addr4}</td>
+ <td><input name=shiptoaddr4 size=35 maxsize=35 value="$form->{shiptoaddr4}"></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Contact').qq|</th>
+ <td>$form->{contact}</td>
+ <td><input name=shiptocontact size=35 maxsize=35 value="$form->{shiptocontact}"></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Phone').qq|</th>
+ <td>$form->{"$form->{vc}phone"}</td>
+ <td><input name=shiptophone size=20 maxsize=20 value="$form->{shiptophone}"></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Fax').qq|</th>
+ <td>$form->{"$form->{vc}fax"}</td>
+ <td><input name=shiptofax size=20 maxsize=20 value="$form->{shiptofax}"></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('E-mail').qq|</th>
+ <td>$form->{email}</td>
+ <td><input name=shiptoemail size=35 value="$form->{shiptoemail}"></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+|;
+
+ # delete shipto
+ map { delete $form->{$_} } qw(shiptoname shiptoaddr1 shiptoaddr2 shiptoaddr3 shiptoaddr4 shiptocontact shiptophone shiptofax shiptoemail);
+ $form->{title} = $title;
+
+ foreach $key (keys %$form) {
+ $form->{$key} =~ s/"/&quot;/g;
+ print qq|<input type=hidden name=$key value="$form->{$key}">\n|;
+ }
+
+ print qq|
+
+<input type=hidden name=nextsub value=display_form>
+
+<hr size=3 noshade>
+
+<br>
+<input class=submit type=submit name=action value="|.$locale->text('Continue').qq|">
+</form>
+
+</body>
+</html>
+|;
+
+}
+
+
diff --git a/sql-ledger/bin/mozilla/ir.pl b/sql-ledger/bin/mozilla/ir.pl
new file mode 100644
index 0000000..ec7d18c
--- /dev/null
+++ b/sql-ledger/bin/mozilla/ir.pl
@@ -0,0 +1,653 @@
+#=====================================================================
+# SQL-Ledger, Accounting
+# Copyright (c) 1998-2002
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#======================================================================
+#
+# Inventory received module
+#
+#======================================================================
+
+
+use SL::IR;
+use SL::PE;
+
+require "$form->{path}/io.pl";
+require "$form->{path}/arap.pl";
+
+1;
+# end of main
+
+
+
+sub add {
+
+ $form->{title} = $locale->text('Add Vendor Invoice');
+
+ &invoice_links;
+ &prepare_invoice;
+ &display_form;
+
+}
+
+
+sub edit {
+
+ $form->{title} = $locale->text('Edit Vendor Invoice');
+
+ &invoice_links;
+ &prepare_invoice;
+ &display_form;
+
+}
+
+
+sub invoice_links {
+
+ # create links
+ $form->create_links("AP", \%myconfig, "vendor");
+
+ IR->get_vendor(\%myconfig, \%$form);
+ IR->retrieve_invoice(\%myconfig, \%$form);
+
+ # currencies
+ @curr = split /:/, $form->{currencies};
+ chomp $curr[0];
+ $form->{defaultcurrency} = $curr[0];
+
+ map { $form->{selectcurrency} .= "<option>$_\n" } @curr;
+
+ $form->{oldvendor} = "$form->{vendor}--$form->{vendor_id}";
+
+ # vendors
+ if (@{ $form->{all_vendor} }) {
+ $form->{vendor} = "$form->{vendor}--$form->{vendor_id}";
+ map { $form->{selectvendor} .= "<option>$_->{name}--$_->{id}\n" } (@{ $form->{all_vendor} });
+ }
+
+
+ # forex
+ $form->{forex} = $form->{exchangerate};
+ $exchangerate = ($form->{exchangerate}) ? $form->{exchangerate} : 1;
+
+ foreach $key (keys %{ $form->{AP_links} }) {
+
+ foreach $ref (@{ $form->{AP_links}{$key} }) {
+ $form->{"select$key"} .= "<option>$ref->{accno}--$ref->{description}\n";
+ }
+
+ if ($key eq "AP_paid") {
+ for $i (1 .. scalar @{ $form->{acc_trans}{$key} }) {
+ $form->{"AP_paid_$i"} = "$form->{acc_trans}{$key}->[$i-1]->{accno}--$form->{acc_trans}{$key}->[$i-1]->{description}";
+ # reverse paid
+ $form->{"paid_$i"} = $form->{acc_trans}{$key}->[$i-1]->{amount};
+ $form->{"datepaid_$i"} = $form->{acc_trans}{$key}->[$i-1]->{transdate};
+ $form->{"forex_$i"} = $form->{"exchangerate_$i"} = $form->{acc_trans}{$key}->[$i-1]->{exchangerate};
+ $form->{"source_$i"} = $form->{acc_trans}{$key}->[$i-1]->{source};
+ $form->{paidaccounts} = $i;
+ }
+ } else {
+ $form->{$key} = "$form->{acc_trans}{$key}->[0]->{accno}--$form->{acc_trans}{$key}->[0]->{description}";
+ }
+ }
+
+ $form->{paidaccounts} = 1 unless (exists $form->{paidaccounts});
+
+ $form->{AP} = $form->{AP_1} unless $form->{id};
+
+ $form->{locked} = ($form->datetonum($form->{invdate}, \%myconfig) <= $form->datetonum($form->{closedto}, \%myconfig));
+
+}
+
+
+
+sub prepare_invoice {
+
+ if ($form->{id}) {
+
+ map { $form->{$_} =~ s/"/&quot;/g } qw(invnumber ordnumber);
+
+ foreach $ref (@{ $form->{invoice_details} }) {
+ $i++;
+ map { $form->{"${_}_$i"} = $ref->{$_} } keys %{ $ref };
+
+ ($dec) = ($form->{"sellprice_$i"} =~ /\.(\d+)/);
+ $dec = length $dec;
+ $decimalplaces = ($dec > 2) ? $dec : 2;
+
+ $form->{"sellprice_$i"} = $form->format_amount(\%myconfig, $form->{"sellprice_$i"}, $decimalplaces);
+ $form->{"qty_$i"} = $form->format_amount(\%myconfig, $form->{"qty_$i"});
+
+ $form->{rowcount} = $i;
+ }
+ }
+
+}
+
+
+
+sub form_header {
+
+ # set option selected
+ foreach $item (qw(AP vendor currency)) {
+ $form->{"select$item"} =~ s/ selected//;
+ $form->{"select$item"} =~ s/option>\Q$form->{$item}\E/option selected>$form->{$item}/;
+ }
+
+ $form->{exchangerate} = $form->format_amount(\%myconfig, $form->{exchangerate});
+
+ $exchangerate = "";
+ if ($form->{currency} ne $form->{defaultcurrency}) {
+ if ($form->{forex}) {
+ $exchangerate .= qq|
+ <th align=right nowrap>|.$locale->text('Exchangerate').qq|</th>
+ <td>$form->{exchangerate}<input type=hidden name=exchangerate value=$form->{exchangerate}></td>
+|;
+ } else {
+ $exchangerate .= qq|
+ <th align=right nowrap>|.$locale->text('Exchangerate').qq|</th>
+ <td><input name=exchangerate size=10 value=$form->{exchangerate}></td>
+|;
+ }
+ }
+ $exchangerate .= qq|
+<input type=hidden name=forex value=$form->{forex}>
+|;
+
+ $vendor = ($form->{selectvendor}) ? qq|<select name=vendor>$form->{selectvendor}</select>\n<input type=hidden name="selectvendor" value="$form->{selectvendor}">| : qq|<input name=vendor value="$form->{vendor}" size=35>|;
+
+
+ $form->header;
+
+ print qq|
+<body>
+
+<form method=post action=$form->{script}>
+
+<input type=hidden name=id value=$form->{id}>
+<input type=hidden name=title value="$form->{title}">
+<input type=hidden name=vc value="vendor">
+
+<input type=hidden name=closedto value=$form->{closedto}>
+<input type=hidden name=locked value=$form->{locked}>
+
+
+<table width=100%>
+ <tr class=listtop>
+ <th>$form->{title}</th>
+ </tr>
+ <tr height="5"></tr>
+ <tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td>
+ <table>
+ <tr>
+ <th align=right>|.$locale->text('Record in').qq|</th>
+ <td colspan=3><select name=AP>$form->{selectAP}</select></td>
+ <input type=hidden name=selectAP value="$form->{selectAP}">
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Vendor').qq|</th>
+ <td colspan=3>$vendor</td>
+
+ <input type=hidden name=vendor_id value=$form->{vendor_id}>
+ <input type=hidden name=oldvendor value="$form->{oldvendor}">
+
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Currency').qq|</th>
+ <td><select name=currency>$form->{selectcurrency}</select></td>
+ $exchangerate
+ </tr>
+ </table>
+ </td>
+ <td align=right>
+ <table>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Invoice Number').qq|</th>
+ <td><input name=invnumber size=11 value="$form->{invnumber}"></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Invoice Date').qq|</th>
+ <td><input name=invdate size=11 title="$myconfig{dateformat}" value=$form->{invdate}></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Due Date').qq|</th>
+ <td><input name=duedate size=11 title="$myconfig{dateformat}" value=$form->{duedate}></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Order Number').qq|</th>
+ <td><input name=ordnumber size=11 value="$form->{ordnumber}"></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+<input type=hidden name=selectcurrency value="$form->{selectcurrency}">
+<input type=hidden name=defaultcurrency value=$form->{defaultcurrency}>
+<input type=hidden name=fxgain_accno value=$form->{fxgain_accno}>
+<input type=hidden name=fxloss_accno value=$form->{fxloss_accno}>
+
+<input type=hidden name=taxpart value="$form->{taxpart}">
+<input type=hidden name=taxservice value="$form->{taxservice}">
+
+<input type=hidden name=taxaccounts value="$form->{taxaccounts}">
+|;
+
+ foreach $item (split / /, $form->{taxaccounts}) {
+ print qq|
+<input type=hidden name="${item}_rate" value=$form->{"${item}_rate"}>
+<input type=hidden name="${item}_description" value="$form->{"${item}_description"}">
+|;
+ }
+
+}
+
+
+
+sub form_footer {
+
+ $form->{invtotal} = $form->{invsubtotal};
+
+ if (($rows = $form->numtextrows($form->{notes}, 50, 8)) < 2) {
+ $rows = 2;
+ }
+ $notes = qq|<textarea name=notes rows=$rows cols=50 wrap=soft>$form->{notes}</textarea>|;
+
+
+ $form->{taxincluded} = ($form->{taxincluded}) ? "checked" : "";
+ if ($form->{taxaccounts}) {
+ $taxincluded = qq|
+ <input name=taxincluded class=checkbox type=checkbox value=1 $form->{taxincluded}> <b>|.$locale->text('Tax Included').qq|</b><br><br>
+|;
+ }
+
+ if (!$form->{taxincluded}) {
+
+ foreach $item (split / /, $form->{taxaccounts}) {
+ if ($form->{"${item}_base"}) {
+ $form->{invtotal} += $form->{"${item}_total"} = $form->round_amount($form->{"${item}_base"} * $form->{"${item}_rate"}, 2);
+ $form->{"${item}_total"} = $form->format_amount(\%myconfig, $form->{"${item}_total"}, 2);
+
+ $tax .= qq|
+ <tr>
+ <th align=right>$form->{"${item}_description"}</th>
+ <td align=right>$form->{"${item}_total"}</td>
+ </tr>
+|;
+ }
+ }
+
+ $form->{invsubtotal} = $form->format_amount(\%myconfig, $form->{invsubtotal}, 2, 0);
+
+ $subtotal = qq|
+ <tr>
+ <th align=right>|.$locale->text('Subtotal').qq|</th>
+ <td align=right>$form->{invsubtotal}</td>
+ </tr>
+|;
+
+ }
+
+
+ $form->{invtotal} = $form->format_amount(\%myconfig, $form->{invtotal}, 2, 0);
+
+ print qq|
+ <tr>
+ <td colspan=$colspan>
+ <table cellspacing="0">
+ <tr valign=bottom>
+ <td>
+ <table>
+ <tr>
+ <th align=left>|.$locale->text('Notes').qq|</th>
+ </tr>
+ <tr>
+ <td>$notes</td>
+ </tr>
+ </table>
+ </td>
+ <td colspan=2 align=right width=100%>
+ $taxincluded
+ <table width=100%>
+ $subtotal
+ $tax
+ <tr>
+ <th align=right>|.$locale->text('Total').qq|</th>
+ <td align=right>$form->{invtotal}</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td colspan=$colspan>
+ <table width=100%>
+ <tr>
+ <th colspan=5 class=listheading>|.$locale->text('Payments').qq|</th>
+ </tr>
+|;
+
+ if ($form->{currency} eq $form->{defaultcurrency}) {
+ @column_index = qw(datepaid source paid AP_paid);
+ } else {
+ @column_index = qw(datepaid source paid exchangerate AP_paid);
+ }
+
+ $column_data{datepaid} = "<th>".$locale->text('Date')."</th>";
+ $column_data{paid} = "<th>".$locale->text('Amount')."</th>";
+ $column_data{exchangerate} = "<th>".$locale->text('Exch')."</th>";
+ $column_data{AP_paid} = "<th>".$locale->text('Account')."</th>";
+ $column_data{source} = "<th>".$locale->text('Source')."</th>";
+
+ print qq|
+ <tr>
+|;
+ map { print "$column_data{$_}\n" } @column_index;
+ print qq|
+ </tr>
+|;
+
+ $form->{paidaccounts}++ if ($form->{"paid_$form->{paidaccounts}"});
+ for $i (1 .. $form->{paidaccounts}) {
+
+ print qq|
+ <tr>
+|;
+
+ $form->{"selectAP_paid_$i"} = $form->{selectAP_paid};
+ $form->{"selectAP_paid_$i"} =~ s/option>\Q$form->{"AP_paid_$i"}\E/option selected>$form->{"AP_paid_$i"}/;
+
+ # format amounts
+ $form->{"paid_$i"} = $form->format_amount(\%myconfig, $form->{"paid_$i"}, 2);
+ $form->{"exchangerate_$i"} = $form->format_amount(\%myconfig, $form->{"exchangerate_$i"});
+
+ $exchangerate = qq|&nbsp;|;
+ if ($form->{currency} ne $form->{defaultcurrency}) {
+ if ($form->{"forex_$i"}) {
+ $exchangerate = qq|<input type=hidden name="exchangerate_$i" value=$form->{"exchangerate_$i"}>$form->{"exchangerate_$i"}|;
+ } else {
+ $exchangerate = qq|<input name="exchangerate_$i" size=10 value=$form->{"exchangerate_$i"}>|;
+ }
+ }
+ $exchangerate .= qq|
+<input type=hidden name="forex_$i" value=$form->{"forex_$i"}>
+|;
+
+ $column_data{"paid_$i"} = qq|<td align=center><input name="paid_$i" size=11 value=$form->{"paid_$i"}></td>|;
+ $column_data{"exchangerate_$i"} = qq|<td align=center>$exchangerate</td>|;
+ $column_data{"AP_paid_$i"} = qq|<td align=center><select name="AP_paid_$i">$form->{"selectAP_paid_$i"}</select></td>|;
+ $column_data{"datepaid_$i"} = qq|<td align=center><input name="datepaid_$i" size=11 title="$myconfig{dateformat}" value=$form->{"datepaid_$i"}></td>|;
+ $column_data{"source_$i"} = qq|<td align=center><input name="source_$i" size=11 value=$form->{"source_$i"}></td>|;
+
+ map { print qq|$column_data{"${_}_$i"}\n| } @column_index;
+
+ print qq|
+ </tr>
+|;
+ }
+
+ print qq|
+ <input type=hidden name=paidaccounts value=$form->{paidaccounts}>
+ <input type=hidden name=selectAP_paid value="$form->{selectAP_paid}">
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td><hr size=3 noshade></td>
+ </tr>
+</table>
+<br>
+|;
+
+ $invdate = $form->datetonum($form->{invdate}, \%myconfig);
+ $closedto = $form->datetonum($form->{closedto}, \%myconfig);
+
+ if ($form->{id}) {
+ print qq|<input class=submit type=submit name=action value="|.$locale->text('Update').qq|">
+|;
+
+ if (!$form->{revtrans}) {
+ if (!$form->{locked}) {
+ print qq|
+ <input class=submit type=submit name=action value="|.$locale->text('Post').qq|">
+ <input class=submit type=submit name=action value="|.$locale->text('Delete').qq|">
+|;
+ }
+ }
+
+ if ($invdate > $closedto) {
+ print qq|
+ <input class=submit type=submit name=action value="|.$locale->text('Post as new').qq|">
+ <input class=submit type=submit name=action value="|.$locale->text('Order').qq|">
+|;
+ }
+
+ } else {
+ if ($invdate > $closedto) {
+ print qq|<input class=submit type=submit name=action value="|.$locale->text('Update').qq|">
+ <input class=submit type=submit name=action value="|.$locale->text('Post').qq|">|;
+ }
+ }
+
+print qq|
+
+<input type=hidden name=rowcount value=$form->{rowcount}>
+
+<input name=callback type=hidden value="$form->{callback}">
+
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=login value=$form->{login}>
+<input type=hidden name=password value=$form->{password}>
+
+</form>
+
+</body>
+</html>
+|;
+
+}
+
+
+
+sub update {
+
+ $form->{exchangerate} = $form->parse_amount(\%myconfig, $form->{exchangerate});
+
+ &check_name(vendor);
+
+ &check_project;
+
+ $form->{exchangerate} = $exchangerate if ($form->{forex} = ($exchangerate = $form->check_exchangerate(\%myconfig, $form->{currency}, $form->{invdate}, 'sell')));
+
+
+ for $i (1 .. $form->{paidaccounts}) {
+ if ($form->{"paid_$i"}) {
+ map { $form->{"${_}_$i"} = $form->parse_amount(\%myconfig, $form->{"${_}_$i"}) } qw(paid exchangerate);
+
+ $form->{"exchangerate_$i"} = $exchangerate if ($form->{"forex_$i"} = ($exchangerate = $form->check_exchangerate(\%myconfig, $form->{currency}, $form->{"datepaid_$i"}, 'sell')));
+ }
+ }
+
+ $i = $form->{rowcount};
+ $exchangerate = ($form->{exchangerate}) ? $form->{exchangerate} : 1;
+
+ if (($form->{"partnumber_$i"} eq "") && ($form->{"description_$i"} eq "") && ($form->{"partsgroup_$i"} eq "")) {
+
+ &check_form;
+
+ } else {
+
+ IR->retrieve_item(\%myconfig, \%$form);
+
+ my $rows = scalar @{ $form->{item_list} };
+
+ if ($rows) {
+ $form->{"qty_$i"} = 1 unless ($form->{"qty_$i"});
+
+ if ($rows > 1) {
+
+ &select_item;
+ exit;
+
+ } else {
+ # override sellprice if there is one entered
+ $sellprice = $form->parse_amount(\%myconfig, $form->{"sellprice_$i"});
+
+ map { $form->{item_list}[$i]{$_} =~ s/"/&quot;/g } qw(partnumber description unit);
+
+ map { $form->{"${_}_$i"} = $form->{item_list}[0]{$_} } keys %{ $form->{item_list}[0] };
+
+ $s = ($sellprice) ? $sellprice : $form->{"sellprice_$i"};
+
+ ($dec) = ($s =~ /\.(\d+)/);
+ $dec = length $dec;
+ $decimalplaces = ($dec > 2) ? $dec : 2;
+
+ if ($sellprice) {
+ $form->{"sellprice_$i"} = $sellprice;
+ } else {
+ # if there is an exchange rate adjust sellprice
+ $form->{"sellprice_$i"} /= $exchangerate;
+ }
+
+ $form->{"sellprice_$i"} = $form->format_amount(\%myconfig, $form->{"sellprice_$i"}, $decimalplaces);
+ $form->{"qty_$i"} = $form->format_amount(\%myconfig, $form->{"qty_$i"});
+ }
+
+ &display_form;
+
+ } else {
+ # ok, so this is a new part
+ # ask if it is a part or service item
+
+ if ($form->{"partsgroup_$i"} && ($form->{"partsnumber_$i"} eq "") && ($form->{"description_$i"} eq "")) {
+ $form->{rowcount}--;
+ $form->{"discount_$i"} = "";
+ &display_form;
+ } else {
+
+ $form->{"id_$i"} = 0;
+ $form->{"unit_$i"} = $locale->text('ea');
+
+ &new_item;
+
+ }
+ }
+ }
+}
+
+
+
+sub post {
+
+ $form->isblank("invnumber", $locale->text('Invoice Number missing!'));
+ $form->isblank("invdate", $locale->text('Invoice Date missing!'));
+ $form->isblank("vendor", $locale->text('Vendor missing!'));
+
+ # if the vendor changed get new values
+ if (&check_name(vendor)) {
+ &update;
+ exit;
+ }
+
+ &validate_items;
+
+ $closedto = $form->datetonum($form->{closedto}, \%myconfig);
+ $invdate = $form->datetonum($form->{invdate}, \%myconfig);
+
+ $form->error($locale->text('Cannot post invoice for a closed period!')) if ($invdate <= $closedto);
+
+ $form->isblank("exchangerate", $locale->text('Exchangerate missing!')) if ($form->{currency} ne $form->{defaultcurrency});
+
+ for $i (1 .. $form->{paidaccounts}) {
+ if ($form->{"paid_$i"}) {
+ $datepaid = $form->datetonum($form->{"datepaid_$i"}, \%myconfig);
+
+ $form->isblank("datepaid_$i", $locale->text('Payment date missing!'));
+
+ $form->error($locale->text('Cannot post payment for a closed period!')) if ($datepaid <= $closedto);
+
+ if ($form->{currency} ne $form->{defaultcurrency}) {
+ $form->{"exchangerate_$i"} = $form->{exchangerate} if ($invdate == $datepaid);
+ $form->isblank("exchangerate_$i", $locale->text('Exchangerate for payment missing!'));
+ }
+ }
+ }
+
+
+ ($form->{AP}) = split /--/, $form->{AP};
+ ($form->{AP_paid}) = split /--/, $form->{AP_paid};
+
+ $form->{id} = 0 if $form->{postasnew};
+
+ $form->redirect($locale->text('Invoice posted!')) if (IR->post_invoice(\%myconfig, \%$form));
+ $form->error($locale->text('Cannot post invoice!'));
+
+}
+
+
+
+sub delete {
+
+ $form->header;
+
+ print qq|
+<body>
+
+<form method=post action=$form->{script}>
+|;
+
+ # delete action variable
+ delete $form->{action};
+
+ foreach $key (keys %$form) {
+ $form->{$key} =~ s/"/&quot;/g;
+ print qq|<input type=hidden name=$key value="$form->{$key}">\n|;
+ }
+
+ print qq|
+<h2 class=confirm>|.$locale->text('Confirm!').qq|</h2>
+
+<h4>|.$locale->text('Are you sure you want to delete Invoice Number').qq| $form->{invnumber}</h4>
+<p>
+<input name=action class=submit type=submit value="|.$locale->text('Yes').qq|">
+</form>
+|;
+
+
+}
+
+
+
+sub yes {
+
+ $form->redirect($locale->text('Invoice deleted!')) if (IR->delete_invoice(\%myconfig, \%$form));
+ $form->error($locale->text('Cannot delete invoice!'));
+
+}
+
+
diff --git a/sql-ledger/bin/mozilla/is.pl b/sql-ledger/bin/mozilla/is.pl
new file mode 100644
index 0000000..cca5813
--- /dev/null
+++ b/sql-ledger/bin/mozilla/is.pl
@@ -0,0 +1,739 @@
+#=====================================================================
+# SQL-Ledger Accounting
+# Copyright (c) 1998-2002
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#======================================================================
+#
+# Inventory invoicing module
+#
+#======================================================================
+
+
+use SL::IS;
+use SL::PE;
+
+require "$form->{path}/io.pl";
+require "$form->{path}/arap.pl";
+
+
+1;
+# end of main
+
+
+
+sub add {
+
+ $form->{title} = $locale->text('Add Sales Invoice');
+
+ &invoice_links;
+ &prepare_invoice;
+ &display_form;
+
+}
+
+
+sub edit {
+
+ $form->{title} = $locale->text('Edit Sales Invoice');
+
+ &invoice_links;
+ &prepare_invoice;
+ &display_form;
+
+}
+
+
+sub invoice_links {
+
+ # create links
+ $form->create_links("AR", \%myconfig, "customer");
+
+ IS->get_customer(\%myconfig, \%$form);
+ IS->retrieve_invoice(\%myconfig, \%$form);
+
+ # currencies
+ @curr = split /:/, $form->{currencies};
+ chomp $curr[0];
+ $form->{defaultcurrency} = $curr[0];
+
+ map { $form->{selectcurrency} .= "<option>$_\n" } @curr;
+
+ $form->{oldcustomer} = "$form->{customer}--$form->{customer_id}";
+
+ if (@{ $form->{all_customer} }) {
+ $form->{customer} = qq|$form->{customer}--$form->{customer_id}|;
+ map { $form->{selectcustomer} .= "<option>$_->{name}--$_->{id}\n" } (@{ $form->{all_customer} });
+ }
+
+ # forex
+ $form->{forex} = $form->{exchangerate};
+ $exchangerate = ($form->{exchangerate}) ? $form->{exchangerate} : 1;
+
+ foreach $key (keys %{ $form->{AR_links} }) {
+
+ foreach $ref (@{ $form->{AR_links}{$key} }) {
+ $form->{"select$key"} .= "<option>$ref->{accno}--$ref->{description}\n";
+ }
+
+ if ($key eq "AR_paid") {
+ for $i (1 .. scalar @{ $form->{acc_trans}{$key} }) {
+ $form->{"AR_paid_$i"} = "$form->{acc_trans}{$key}->[$i-1]->{accno}--$form->{acc_trans}{$key}->[$i-1]->{description}";
+ # reverse paid
+ $form->{"paid_$i"} = $form->{acc_trans}{$key}->[$i-1]->{amount} * -1;
+ $form->{"datepaid_$i"} = $form->{acc_trans}{$key}->[$i-1]->{transdate};
+ $form->{"forex_$i"} = $form->{"exchangerate_$i"} = $form->{acc_trans}{$key}->[$i-1]->{exchangerate};
+ $form->{"source_$i"} = $form->{acc_trans}{$key}->[$i-1]->{source};
+ $form->{paidaccounts} = $i;
+ }
+ } else {
+ $form->{$key} = "$form->{acc_trans}{$key}->[0]->{accno}--$form->{acc_trans}{$key}->[0]->{description}";
+ }
+ }
+
+ $form->{paidaccounts} = 1 unless (exists $form->{paidaccounts});
+
+ $form->{AR} = $form->{AR_1} unless $form->{id};
+
+ $form->{locked} = ($form->datetonum($form->{invdate}, \%myconfig) <= $form->datetonum($form->{closedto}, \%myconfig));
+
+}
+
+
+sub prepare_invoice {
+
+ $form->{type} = "invoice";
+ $form->{format} = "html";
+ $form->{media} = "screen";
+
+ if ($form->{id}) {
+
+ map { $form->{$_} =~ s/"/&quot;/g } qw(invnumber ordnumber shippingpoint notes);
+
+ foreach $ref (@{ $form->{invoice_details} } ) {
+ $i++;
+ map { $form->{"${_}_$i"} = $ref->{$_} } keys %{ $ref };
+ $form->{"discount_$i"} = $form->format_amount(\%myconfig, $form->{"discount_$i"} * 100);
+
+ ($dec) = ($form->{"sellprice_$i"} =~ /\.(\d+)/);
+ $dec = length $dec;
+ $decimalplaces = ($dec > 2) ? $dec : 2;
+
+ $form->{"sellprice_$i"} = $form->format_amount(\%myconfig, $form->{"sellprice_$i"}, $decimalplaces);
+ $form->{"qty_$i"} = $form->format_amount(\%myconfig, $form->{"qty_$i"});
+
+ map { $form->{"${_}_$i"} =~ s/"/&quot;/g } qw(partnumber description unit);
+ $form->{rowcount} = $i;
+ }
+ }
+
+}
+
+
+
+sub form_header {
+
+
+ # set option selected
+ foreach $item (qw(AR customer currency)) {
+ $form->{"select$item"} =~ s/ selected//;
+ $form->{"select$item"} =~ s/option>\Q$form->{$item}\E/option selected>$form->{$item}/;
+ }
+
+ $form->{exchangerate} = $form->format_amount(\%myconfig, $form->{exchangerate});
+
+ $form->{creditlimit} = $form->format_amount(\%myconfig, $form->{creditlimit}, 0, "0");
+ $form->{creditremaining} = $form->format_amount(\%myconfig, $form->{creditremaining}, 0, "0");
+
+
+ $exchangerate = "";
+ if ($form->{currency} ne $form->{defaultcurrency}) {
+ if ($form->{forex}) {
+ $exchangerate .= qq|<th align=right>|.$locale->text('Exchangerate').qq|</th><td>$form->{exchangerate}<input type=hidden name=exchangerate value=$form->{exchangerate}></td>|;
+ } else {
+ $exchangerate .= qq|<th align=right>|.$locale->text('Exchangerate').qq|</th><td><input name=exchangerate size=10 value=$form->{exchangerate}></td>|;
+ }
+ }
+ $exchangerate .= qq|
+<input type=hidden name=forex value=$form->{forex}>
+|;
+
+ $customer = ($form->{selectcustomer}) ? qq|<select name=customer>$form->{selectcustomer}</select>\n<input type=hidden name="selectcustomer" value="$form->{selectcustomer}">| : qq|<input name=customer value="$form->{customer}" size=35>|;
+
+ $n = ($form->{creditremaining} =~ /-/) ? "0" : "1";
+
+
+ $form->header;
+
+ print qq|
+<body>
+
+<form method=post action=$form->{script}>
+
+<input type=hidden name=id value=$form->{id}>
+
+<input type=hidden name=type value=$form->{type}>
+<input type=hidden name=media value=$form->{media}>
+<input type=hidden name=format value=$form->{format}>
+
+<input type=hidden name=title value="$form->{title}">
+<input type=hidden name=vc value="customer">
+<input type=hidden name=employee value="$form->{employee}">
+
+<input type=hidden name=discount value=$form->{discount}>
+<input type=hidden name=creditlimit value=$form->{creditlimit}>
+<input type=hidden name=creditremaining value=$form->{creditremaining}>
+
+<input type=hidden name=closedto value=$form->{closedto}>
+<input type=hidden name=locked value=$form->{locked}>
+
+<table width=100%>
+ <tr class=listtop>
+ <th class=listtop>$form->{title}</font></th>
+ </tr>
+ <tr height="5"></tr>
+ <tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td>
+ <table>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Record in').qq|</th>
+ <td colspan=3><select name=AR>$form->{selectAR}</select></td>
+ <input type=hidden name=selectAR value="$form->{selectAR}">
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Customer').qq|</th>
+ <td colspan=3>$customer</td>
+ <input type=hidden name=customer_id value=$form->{customer_id}>
+ <input type=hidden name=oldcustomer value="$form->{oldcustomer}">
+ </tr>
+ <tr>
+ <td></td>
+ <td colspan=3>
+ <table width=100%>
+ <tr>
+ <th align=left nowrap>|.$locale->text('Credit Limit').qq|</th>
+ <td>$form->{creditlimit}</td>
+ <th align=left nowrap>|.$locale->text('Remaining').qq|</th>
+ <td class="plus$n">$form->{creditremaining}</font></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Currency').qq|</th>
+ <td><select name=currency>$form->{selectcurrency}</select></td>
+ <input type=hidden name=selectcurrency value="$form->{selectcurrency}">
+ <input type=hidden name=defaultcurrency value=$form->{defaultcurrency}>
+ <input type=hidden name=fxgain_accno value=$form->{fxgain_accno}>
+ <input type=hidden name=fxloss_accno value=$form->{fxloss_accno}>
+ $exchangerate
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Ship via').qq|</th>
+ <td colspan=3><input name=shippingpoint size=35 value="$form->{shippingpoint}"></td>
+ </tr>
+ </table>
+ </td>
+ <td align=right>
+ <table>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Invoice Number').qq|</th>
+ <td><input name=invnumber size=11 value="$form->{invnumber}"></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Invoice Date').qq|</th>
+ <td><input name=invdate size=11 title="$myconfig{dateformat}" value=$form->{invdate}></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Due Date').qq|</th>
+ <td><input name=duedate size=11 title="$myconfig{dateformat}" value=$form->{duedate}></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Order Number').qq|</th>
+ <td><input name=ordnumber size=11 value="$form->{ordnumber}"></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ </td>
+ </tr>
+<!-- shipto are in hidden variables -->
+
+<input type=hidden name=shiptoname value="$form->{shiptoname}">
+<input type=hidden name=shiptoaddr1 value="$form->{shiptoaddr1}">
+<input type=hidden name=shiptoaddr2 value="$form->{shiptoaddr2}">
+<input type=hidden name=shiptoaddr3 value="$form->{shiptoaddr3}">
+<input type=hidden name=shiptoaddr4 value="$form->{shiptoaddr4}">
+<input type=hidden name=shiptocontact value="$form->{shiptocontact}">
+<input type=hidden name=shiptophone value="$form->{shiptophone}">
+<input type=hidden name=shiptofax value="$form->{shiptofax}">
+<input type=hidden name=shiptoemail value="$form->{shiptoemail}">
+
+<!-- email variables -->
+<input type=hidden name=message value="$form->{message}">
+<input type=hidden name=email value="$form->{email}">
+<input type=hidden name=subject value="$form->{subject}">
+<input type=hidden name=cc value="$form->{cc}">
+<input type=hidden name=bcc value="$form->{bcc}">
+
+<input type=hidden name=taxaccounts value="$form->{taxaccounts}">
+|;
+
+ foreach $item (split / /, $form->{taxaccounts}) {
+ print qq|
+<input type=hidden name="${item}_rate" value="$form->{"${item}_rate"}">
+<input type=hidden name="${item}_description" value="$form->{"${item}_description"}">
+<input type=hidden name="${item}_taxnumber" value="$form->{"${item}_taxnumber"}">
+|;
+ }
+
+}
+
+
+
+sub form_footer {
+
+ $form->{invtotal} = $form->{invsubtotal};
+
+ if (($rows = $form->numtextrows($form->{notes}, 50, 8)) < 2) {
+ $rows = 2;
+ }
+ $notes = qq|<textarea name=notes rows=$rows cols=50 wrap=soft>$form->{notes}</textarea>|;
+
+
+ $form->{taxincluded} = ($form->{taxincluded}) ? "checked" : "";
+
+ if ($form->{taxaccounts}) {
+ $taxincluded = qq|
+ <input name=taxincluded class=checkbox type=checkbox value=1 $form->{taxincluded}> <b>|.$locale->text('Tax Included').qq|</b><br><br>
+|;
+ }
+
+ if (!$form->{taxincluded}) {
+
+ foreach $item (split / /, $form->{taxaccounts}) {
+ if ($form->{"${item}_base"}) {
+ $form->{"${item}_total"} = $form->round_amount($form->{"${item}_base"} * $form->{"${item}_rate"}, 2);
+ $form->{invtotal} += $form->{"${item}_total"};
+ $form->{"${item}_total"} = $form->format_amount(\%myconfig, $form->{"${item}_total"}, 2);
+
+ $tax .= qq|
+ <tr>
+ <th align=right>$form->{"${item}_description"}</th>
+ <td align=right>$form->{"${item}_total"}</td>
+ </tr>
+|;
+ }
+ }
+
+ $form->{invsubtotal} = $form->format_amount(\%myconfig, $form->{invsubtotal}, 2, 0);
+
+ $subtotal = qq|
+ <tr>
+ <th align=right>|.$locale->text('Subtotal').qq|</th>
+ <td align=right>$form->{invsubtotal}</td>
+ </tr>
+|;
+
+ }
+
+ $form->{oldinvtotal} = $form->{invtotal};
+ $form->{invtotal} = $form->format_amount(\%myconfig, $form->{invtotal}, 2, 0);
+
+ print qq|
+ <tr>
+ <td>
+ <table width=100%>
+ <tr valign=bottom>
+ <td>
+ <table>
+ <tr>
+ <th align=left>|.$locale->text('Notes').qq|</th>
+ </tr>
+ <tr>
+ <td>$notes</td>
+ </tr>
+ </table>
+ </td>
+ <td align=right width=100%>
+ $taxincluded
+ <table width=100%>
+ $subtotal
+ $tax
+ <tr>
+ <th align=right>|.$locale->text('Total').qq|</th>
+ <td align=right>$form->{invtotal}</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <table width=100%>
+ <tr class=listheading>
+ <th class=listheading colspan=5>|.$locale->text('Payments')
+ .qq|</font></th>
+ </tr>
+|;
+
+ if ($form->{currency} eq $form->{defaultcurrency}) {
+ @column_index = qw(datepaid source paid AR_paid);
+ } else {
+ @column_index = qw(datepaid source paid exchangerate AR_paid);
+ }
+
+ $column_data{datepaid} = "<th>".$locale->text('Date')."</th>";
+ $column_data{paid} = "<th>".$locale->text('Amount')."</th>";
+ $column_data{exchangerate} = "<th>".$locale->text('Exch')."</th>";
+ $column_data{AR_paid} = "<th>".$locale->text('Account')."</th>";
+ $column_data{source} = "<th>".$locale->text('Source')."</th>";
+
+ print "
+ <tr>
+";
+ map { print "$column_data{$_}\n" } @column_index;
+ print "
+ </tr>
+";
+
+ $form->{paidaccounts}++ if ($form->{"paid_$form->{paidaccounts}"});
+ for $i (1 .. $form->{paidaccounts}) {
+
+ print "
+ <tr>\n";
+
+ $form->{"selectAR_paid_$i"} = $form->{selectAR_paid};
+ $form->{"selectAR_paid_$i"} =~ s/option>\Q$form->{"AR_paid_$i"}\E/option selected>$form->{"AR_paid_$i"}/;
+
+ # format amounts
+ $totalpaid += $form->{"paid_$i"};
+ $form->{"paid_$i"} = $form->format_amount(\%myconfig, $form->{"paid_$i"}, 2);
+ $form->{"exchangerate_$i"} = $form->format_amount(\%myconfig, $form->{"exchangerate_$i"});
+
+ $exchangerate = qq|&nbsp;|;
+ if ($form->{currency} ne $form->{defaultcurrency}) {
+ if ($form->{"forex_$i"}) {
+ $exchangerate = qq|<input type=hidden name="exchangerate_$i" value=$form->{"exchangerate_$i"}>$form->{"exchangerate_$i"}|;
+ } else {
+ $exchangerate = qq|<input name="exchangerate_$i" size=10 value=$form->{"exchangerate_$i"}>|;
+ }
+ }
+
+ $exchangerate .= qq|
+<input type=hidden name="forex_$i" value=$form->{"forex_$i"}>
+|;
+
+ $column_data{"paid_$i"} = qq|<td align=center><input name="paid_$i" size=11 value=$form->{"paid_$i"}></td>|;
+ $column_data{"exchangerate_$i"} = qq|<td align=center>$exchangerate</td>|;
+ $column_data{"AR_paid_$i"} = qq|<td align=center><select name="AR_paid_$i">$form->{"selectAR_paid_$i"}</select></td>|;
+ $column_data{"datepaid_$i"} = qq|<td align=center><input name="datepaid_$i" size=11 title="$myconfig{dateformat}" value=$form->{"datepaid_$i"}></td>|;
+ $column_data{"source_$i"} = qq|<td align=center><input name="source_$i" size=11 value="$form->{"source_$i"}"></td>|;
+
+ map { print qq|$column_data{"${_}_$i"}\n| } @column_index;
+ print "
+ </tr>\n";
+ }
+
+ print qq|
+<input type=hidden name=paidaccounts value=$form->{paidaccounts}>
+<input type=hidden name=selectAR_paid value="$form->{selectAR_paid}">
+<input type=hidden name=oldinvtotal value=$form->{oldinvtotal}>
+<input type=hidden name=oldtotalpaid value=$totalpaid>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>
+|;
+
+ &print_options;
+
+ print qq|
+ </td>
+ </tr>
+ <tr>
+ <td><hr size=3 noshade></td>
+ </tr>
+</table>
+|;
+
+
+ $invdate = $form->datetonum($form->{invdate}, \%myconfig);
+ $closedto = $form->datetonum($form->{closedto}, \%myconfig);
+
+ if ($form->{id}) {
+ print qq|
+ <input class=submit type=submit name=action value="|.$locale->text('Update').qq|">
+ <input class=submit type=submit name=action value="|.$locale->text('Ship to').qq|">
+ <input class=submit type=submit name=action value="|.$locale->text('Print').qq|">
+ <input class=submit type=submit name=action value="|.$locale->text('E-mail').qq|">
+|;
+
+ if (!$form->{revtrans}) {
+ if (!$form->{locked}) {
+ print qq|
+ <input class=submit type=submit name=action value="|.$locale->text('Post').qq|">
+ <input class=submit type=submit name=action value="|.$locale->text('Delete').qq|">
+|;
+ }
+ }
+
+ if ($invdate > $closedto) {
+ print qq|
+ <input class=submit type=submit name=action value="|.$locale->text('Post as new').qq|">
+ <input class=submit type=submit name=action value="|.$locale->text('Order').qq|">
+|;
+ }
+
+ } else {
+ if ($invdate > $closedto) {
+ print qq|<input class=submit type=submit name=action value="|.$locale->text('Update').qq|">
+ <input class=submit type=submit name=action value="|.$locale->text('Ship to').qq|">
+ <input class=submit type=submit name=action value="|.$locale->text('Print').qq|">
+ <input class=submit type=submit name=action value="|.$locale->text('E-mail').qq|">
+ <input class=submit type=submit name=action value="|.$locale->text('Post').qq|">|;
+ }
+ }
+
+ print qq|
+
+<input type=hidden name=rowcount value=$form->{rowcount}>
+
+<input name=callback type=hidden value="$form->{callback}">
+
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=login value=$form->{login}>
+<input type=hidden name=password value=$form->{password}>
+
+</form>
+
+</body>
+</html>
+|;
+
+}
+
+
+sub update {
+
+ map { $form->{$_} = $form->parse_amount(\%myconfig, $form->{$_}) } qw(exchangerate creditlimit creditremaining);
+
+ &check_name(customer);
+
+ &check_project;
+
+ $form->{exchangerate} = $exchangerate if ($form->{forex} = ($exchangerate = $form->check_exchangerate(\%myconfig, $form->{currency}, $form->{invdate}, 'buy')));
+
+ for $i (1 .. $form->{paidaccounts}) {
+ if ($form->{"paid_$i"}) {
+ map { $form->{"${_}_$i"} = $form->parse_amount(\%myconfig, $form->{"${_}_$i"}) } qw(paid exchangerate);
+
+ $form->{"exchangerate_$i"} = $exchangerate if ($form->{"forex_$i"} = ($exchangerate = $form->check_exchangerate(\%myconfig, $form->{currency}, $form->{"datepaid_$i"}, 'buy')));
+ }
+ }
+
+ $i = $form->{rowcount};
+ $exchangerate = ($form->{exchangerate}) ? $form->{exchangerate} : 1;
+
+ # if last row empty, check the form otherwise retrieve new item
+ if (($form->{"partnumber_$i"} eq "") && ($form->{"description_$i"} eq "") && ($form->{"partsgroup_$i"} eq "")) {
+
+ $form->{creditremaining} += ($form->{oldinvtotal} - $form->{oldtotalpaid});
+ &check_form;
+
+ } else {
+
+ IS->retrieve_item(\%myconfig, \%$form);
+
+ $rows = scalar @{ $form->{item_list} };
+
+ $form->{"discount_$i"} = $form->format_amount(\%myconfig, $form->{discount} * 100);
+
+ if ($rows) {
+ $form->{"qty_$i"} = ($form->{"qty_$i"} * 1) ? $form->{"qty_$i"} : 1;
+
+ if ($rows > 1) {
+
+ &select_item;
+ exit;
+
+ } else {
+
+ $sellprice = $form->parse_amount(\%myconfig, $form->{"sellprice_$i"});
+
+ map { $form->{item_list}[$i]{$_} =~ s/"/&quot;/g } qw(partnumber description unit);
+ map { $form->{"${_}_$i"} = $form->{item_list}[0]{$_} } keys %{ $form->{item_list}[0] };
+
+ $s = ($sellprice) ? $sellprice : $form->{"sellprice_$i"};
+ ($dec) = ($s =~ /\.(\d+)/);
+ $dec = length $dec;
+ $decimalplaces = ($dec > 2) ? $dec : 2;
+
+ if ($sellprice) {
+ $form->{"sellprice_$i"} = $sellprice;
+ } else {
+ # if there is an exchange rate adjust sellprice
+ $form->{"sellprice_$i"} /= $exchangerate;
+ }
+
+ $form->{"listprice_$i"} /= $exchangerate;
+
+ $amount = $form->{"sellprice_$i"} * $form->{"qty_$i"} * (1 - $form->{"discount_$i"} / 100);
+ map { $form->{"${_}_base"} = 0 } (split / /, $form->{taxaccounts});
+ map { $form->{"${_}_base"} += $amount } (split / /, $form->{"taxaccounts_$i"});
+ map { $amount += ($form->{"${_}_base"} * $form->{"${_}_rate"}) } split / /, $form->{"taxaccounts_$i"} if !$form->{taxincluded};
+
+ $form->{creditremaining} -= $amount;
+
+
+ map { $form->{"${_}_$i"} = $form->format_amount(\%myconfig, $form->{"${_}_$i"}, $decimalplaces) } qw(sellprice listprice);
+
+ $form->{"qty_$i"} = $form->format_amount(\%myconfig, $form->{"qty_$i"});
+
+ }
+
+ &display_form;
+
+ } else {
+ # ok, so this is a new part
+ # ask if it is a part or service item
+
+ if ($form->{"partsgroup_$i"} && ($form->{"partsnumber_$i"} eq "") && ($form->{"description_$i"} eq "")) {
+ $form->{rowcount}--;
+ $form->{"discount_$i"} = "";
+ &display_form;
+ } else {
+
+ $form->{"id_$i"} = 0;
+ $form->{"unit_$i"} = $locale->text('ea');
+
+ &new_item;
+
+ }
+ }
+ }
+}
+
+
+
+sub post {
+
+ $form->isblank("invnumber", $locale->text('Invoice Number missing!'));
+ $form->isblank("invdate", $locale->text('Invoice Date missing!'));
+ $form->isblank("customer", $locale->text('Customer missing!'));
+
+ # if oldcustomer ne customer redo form
+ if (&check_name(customer)) {
+ &update;
+ exit;
+ }
+
+ &validate_items;
+
+ $closedto = $form->datetonum($form->{closedto}, \%myconfig);
+ $invdate = $form->datetonum($form->{invdate}, \%myconfig);
+
+ $form->error($locale->text('Cannot post invoice for a closed period!')) if ($invdate <= $closedto);
+
+ $form->isblank("exchangerate", $locale->text('Exchangerate missing!')) if ($form->{currency} ne $form->{defaultcurrency});
+
+ for $i (1 .. $form->{paidaccounts}) {
+ if ($form->{"paid_$i"}) {
+ $datepaid = $form->datetonum($form->{"datepaid_$i"}, \%myconfig);
+
+ $form->isblank("datepaid_$i", $locale->text('Payment date missing!'));
+
+ $form->error($locale->text('Cannot post payment for a closed period!')) if ($datepaid <= $closedto);
+
+ if ($form->{currency} ne $form->{defaultcurrency}) {
+ $form->{"exchangerate_$i"} = $form->{exchangerate} if ($invdate == $datepaid);
+ $form->isblank("exchangerate_$i", $locale->text('Exchangerate for payment missing!'));
+ }
+ }
+ }
+
+
+ ($form->{AR}) = split /--/, $form->{AR};
+ ($form->{AR_paid}) = split /--/, $form->{AR_paid};
+
+ $form->{label} = $locale->text('Invoice');
+
+ $form->{id} = 0 if $form->{postasnew};
+
+ $form->redirect($locale->text('Invoice posted!')) if (IS->post_invoice(\%myconfig, \%$form));
+ $form->error($locale->text('Cannot post invoice!'));
+
+}
+
+
+
+
+sub delete {
+
+ $form->header;
+
+ print qq|
+<body>
+
+<form method=post action=$form->{script}>
+|;
+
+ # delete action variable
+ delete $form->{action};
+
+ foreach $key (keys %$form) {
+ $form->{$key} =~ s/"/&quot;/g;
+ print qq|<input type=hidden name=$key value="$form->{$key}">\n|;
+ }
+
+ print qq|
+<h2 class=confirm>|.$locale->text('Confirm!').qq|</font></h2>
+
+<h4>|.$locale->text('Are you sure you want to delete Invoice Number').qq| $form->{invnumber}
+</h4>
+
+<p>
+<input name=action class=submit type=submit value="|.$locale->text('Yes').qq|">
+</form>
+|;
+
+
+}
+
+
+
+sub yes {
+
+ $form->redirect($locale->text('Invoice deleted!')) if (IS->delete_invoice(\%myconfig, \%$form));
+ $form->error($locale->text('Cannot delete invoice!'));
+
+}
+
+
diff --git a/sql-ledger/bin/mozilla/login.pl b/sql-ledger/bin/mozilla/login.pl
new file mode 100644
index 0000000..3c36564
--- /dev/null
+++ b/sql-ledger/bin/mozilla/login.pl
@@ -0,0 +1,217 @@
+######################################################################
+# SQL-Ledger Accounting
+# Copyright (c) 1998-2002
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#######################################################################
+
+
+use DBI;
+use SL::User;
+use SL::Form;
+
+
+$form = new Form;
+
+$locale = new Locale $language, "login";
+
+# customization
+if (-f "$form->{path}/custom_$form->{script}") {
+ eval { require "$form->{path}/custom_$form->{script}"; };
+ $form->error($@) if ($@);
+}
+
+# per login customization
+if (-f "$form->{path}/$form->{login}_$form->{script}") {
+ eval { require "$form->{path}/$form->{login}_$form->{script}"; };
+ $form->error($@) if ($@);
+}
+
+# window title bar, user info
+$form->{titlebar} = "SQL-Ledger ".$locale->text('Version'). " $form->{version}";
+
+if ($form->{action}) {
+ $form->{titlebar} .= " - $myconfig{name} - $myconfig{dbname}";
+ &{ $locale->findsub($form->{action}) };
+} else {
+ &login_screen;
+}
+
+
+1;
+
+
+sub login_screen {
+
+ if (-f "css/sql-ledger.css") {
+ $form->{stylesheet} = "sql-ledger.css";
+ }
+
+ $form->header;
+
+ print qq|
+<body class=login>
+
+<pre>
+
+</pre>
+
+<center>
+<table class=login border=3 cellpadding=20>
+ <tr>
+ <td class=login align=center><a href="http://www.sql-ledger.org" target=_top><img src=sql-ledger.png border=0></a>
+<h1 class=login align=center>|.$locale->text('Version').qq| $form->{version}
+</h1>
+
+<p>
+
+<form method=post action=$form->{script}>
+
+ <table width=100%>
+ <tr>
+ <td align=center>
+ <table>
+ <tr>
+ <th align=right>|.$locale->text('Name').qq|</th>
+ <td><input class=login name=login size=30></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Password').qq|</th>
+ <td><input class=login type=password name=password size=30></td>
+ </tr>
+ <input type=hidden name=path value=$form->{path}>
+ </table>
+
+ <br>
+ <input type=submit name=action value="|.$locale->text('Login').qq|">
+
+ </td>
+ </tr>
+ </table>
+
+</form>
+
+ </td>
+ </tr>
+</table>
+
+</body>
+</html>
+|;
+
+}
+
+
+sub login {
+
+ $form->error($locale->text('You did not enter a name!')) unless ($form->{login});
+
+ $user = new User $memberfile, $form->{login};
+
+ # if we get an error back, bale out
+ if (($errno = $user->login(\%$form, $userspath)) <= -1) {
+ $errno *= -1;
+ $err[1] = $locale->text('Incorrect Password!');
+ $err[2] = $locale->text('Incorrect Dataset version!');
+ $err[3] = qq|$form->{login} |.$locale->text('is not a member!');
+
+ $form->error($err[$errno]);
+ }
+
+ # made it this far, execute the menu
+ $argv = "login=$form->{login}&password=$form->{password}&path=$form->{path}&action=display";
+
+ exec ("perl", "menu.pl", $argv);
+
+}
+
+
+
+sub logout {
+
+ unlink "$userspath/$form->{login}.conf";
+
+ # remove the callback to display the message
+ $form->{callback} = "login.pl?path=$form->{path}&action=&login=";
+ $form->redirect($locale->text('You are logged out!'));
+
+}
+
+
+
+sub company_logo {
+
+ require "$userspath/$form->{login}.conf";
+ $locale = new Locale $myconfig{countrycode}, "login" unless ($language eq $myconfig{countrycode});
+
+ $myconfig{address} =~ s/\\n/<br>/g;
+ $myconfig{dbhost} = $locale->text('localhost') unless $myconfig{dbhost};
+
+ map { $form->{$_} = $myconfig{$_} } qw(charset stylesheet);
+
+ $form->{title} = $locale->text('About');
+
+
+ # create the logo screen
+ $form->header unless $form->{noheader};
+
+ print qq|
+<body>
+
+<pre>
+
+</pre>
+<center>
+<a href="http://www.sql-ledger.org" target=_top><img src=sql-ledger.png border=0></a>
+<h1 class=login>|.$locale->text('Version').qq| $form->{version}</h1>
+
+<p>
+|.$locale->text('Licensed to').qq|
+<p>
+<b>
+$myconfig{company}
+<br>$myconfig{address}
+</b>
+
+<p>
+<table>
+ <tr>
+ <th align=right>|.$locale->text('User').qq|</th>
+ <td>$myconfig{name}</td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Dataset').qq|</th>
+ <td>$myconfig{dbname}</td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Database Host').qq|</th>
+ <td>$myconfig{dbhost}</td>
+ </tr>
+</table>
+
+</center>
+
+</body>
+</html>
+|;
+
+}
+
+
+
diff --git a/sql-ledger/bin/mozilla/menu.pl b/sql-ledger/bin/mozilla/menu.pl
new file mode 100644
index 0000000..67c18bd
--- /dev/null
+++ b/sql-ledger/bin/mozilla/menu.pl
@@ -0,0 +1,160 @@
+######################################################################
+# SQL-Ledger Accounting
+# Copyright (c) 1998-2002
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+# Contributors: Christopher Browne
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#######################################################################
+#
+# two frame layout with refractured menu
+#
+# CHANGE LOG:
+# DS. 2002-03-25 Created
+#######################################################################
+
+$menufile = "menu.ini";
+use SL::Menu;
+
+
+1;
+# end of main
+
+
+sub display {
+
+ $framesize = ($ENV{HTTP_USER_AGENT} =~ /links/i) ? "240" : "135";
+
+ $form->header;
+
+ print qq|
+
+<FRAMESET COLS="$framesize,*" BORDER="1">
+
+ <FRAME NAME="acc_menu" SRC="$form->{script}?login=$form->{login}&password=$form->{password}&action=acc_menu&path=$form->{path}">
+ <FRAME NAME="main_window" SRC="login.pl?login=$form->{login}&password=$form->{password}&action=company_logo&path=$form->{path}">
+
+</FRAMESET>
+
+</BODY>
+</HTML>
+|;
+
+}
+
+
+
+sub acc_menu {
+
+ my $menu = new Menu "$menufile";
+ $menu = new Menu "custom_$menufile" if (-f "custom_$menufile");
+ $menu = new Menu "$form->{login}_$menufile" if (-f "$form->{login}_$menufile");
+
+ $form->{title} = $locale->text('Accounting Menu');
+
+ $form->header;
+
+ print qq|
+<body class=menu>
+
+|;
+
+ &section_menu($menu);
+
+ print qq|
+</body>
+</html>
+|;
+
+}
+
+
+sub section_menu {
+ my ($menu, $level) = @_;
+
+ # build tiered menus
+ my @menuorder = $menu->access_control(\%myconfig, $level);
+
+ while (@menuorder) {
+ $item = shift @menuorder;
+ $label = $item;
+ $label =~ s/$level--//g;
+
+ my $spacer = "&nbsp;" x (($item =~ s/--/--/g) * 2);
+
+ $label =~ s/.*--//g;
+ $label = $locale->text($label);
+ $label =~ s/ /&nbsp;/g;
+
+ $menu->{$item}{target} = "main_window" unless $menu->{$item}{target};
+
+ if ($menu->{$item}{submenu}) {
+ $menu->{$item}{$item} = !$form->{$item};
+
+ if ($form->{level} && $item =~ /^$form->{level}/) {
+
+ # expand menu
+ print qq|<br>\n$spacer|.$menu->menuitem(\%myconfig, \%$form, $item, $level).qq|$label</a>|;
+
+ # remove same level items
+ map { shift @menuorder } grep /^$item/, @menuorder;
+
+ &section_menu($menu, $item);
+
+ print qq|<br>\n|;
+
+ } else {
+
+ print qq|<br>\n$spacer|.$menu->menuitem(\%myconfig, \%$form, $item, $level).qq|$label&nbsp;...</a>|;
+
+ # remove same level items
+ map { shift @menuorder } grep /^$item/, @menuorder;
+
+ }
+
+
+ } else {
+
+ if ($menu->{$item}{module}) {
+ if ($form->{$item} && $form->{level} eq $item) {
+ $menu->{$item}{$item} = !$form->{$item};
+ print qq|<br>\n$spacer|.$menu->menuitem(\%myconfig, \%$form, $item, $level).qq|$label</a>|;
+
+ # remove same level items
+ map { shift @menuorder } grep /^$item/, @menuorder;
+
+ &section_menu($menu, $item);
+
+ } else {
+ print qq|<br>\n$spacer|.$menu->menuitem(\%myconfig, \%$form, $item, $level).qq|$label</a>|;
+ }
+
+ } else {
+
+ print qq|<br><b>$label</b>|;
+
+ &section_menu($menu, $item);
+
+ print qq|<br>\n|;
+
+ }
+ }
+ }
+}
+
+
diff --git a/sql-ledger/bin/mozilla/oe.pl b/sql-ledger/bin/mozilla/oe.pl
new file mode 100644
index 0000000..6a8326f
--- /dev/null
+++ b/sql-ledger/bin/mozilla/oe.pl
@@ -0,0 +1,1111 @@
+#=====================================================================
+# SQL-Ledger, Accounting
+# Copyright (c) 1998-2002
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#======================================================================
+#
+# Order entry module
+#
+#======================================================================
+
+
+use SL::OE;
+use SL::IR;
+use SL::IS;
+use SL::PE;
+
+require "$form->{path}/io.pl";
+require "$form->{path}/arap.pl";
+
+1;
+# end of main
+
+
+sub add {
+
+ if ($form->{type} eq 'purchase_order') {
+ $form->{title} = $locale->text('Add Purchase Order');
+ $form->{vc} = 'vendor';
+ }
+ if ($form->{type} eq 'sales_order') {
+ $form->{title} = $locale->text('Add Sales Order');
+ $form->{vc} = 'customer';
+ }
+
+ &order_links;
+ &prepare_order;
+ &display_form;
+
+}
+
+
+sub edit {
+
+ if ($form->{type} eq 'purchase_order') {
+ $form->{title} = $locale->text('Edit Purchase Order');
+ $form->{vc} = 'vendor';
+ }
+ if ($form->{type} eq 'sales_order') {
+ $form->{title} = $locale->text('Edit Sales Order');
+ $form->{vc} = 'customer';
+ }
+
+ &order_links;
+ &prepare_order;
+
+ &display_form;
+
+}
+
+
+sub order_links {
+
+ # get vendors / customers
+ $form->all_vc(\%myconfig, $form->{vc});
+
+ # retrieve order
+ OE->retrieve_order(\%myconfig, \%$form);
+
+ $taxincluded = $form->{taxincluded};
+ $form->{shipto} = 1 if $form->{id};
+
+ # get customer / vendor
+ if ($form->{type} eq 'purchase_order') {
+ IR->get_vendor(\%myconfig, \%$form);
+ }
+ if ($form->{type} eq 'sales_order') {
+ IS->get_customer(\%myconfig, \%$form);
+ }
+
+ ($form->{$form->{vc}}) = split /--/, $form->{$form->{vc}};
+ $form->{"old$form->{vc}"} = qq|$form->{$form->{vc}}--$form->{"$form->{vc}_id"}|;
+
+ # build the popup menus
+ if (@{ $form->{"all_$form->{vc}"} }) {
+ $form->{$form->{vc}} = qq|$form->{$form->{vc}}--$form->{"$form->{vc}_id"}|;
+ map { $form->{"select$form->{vc}"} .= "<option>$_->{name}--$_->{id}\n" } (@{ $form->{"all_$form->{vc}"} });
+ }
+
+ # currencies
+ @curr = split /:/, $form->{currencies};
+ chomp $curr[0];
+ $form->{defaultcurrency} = $curr[0];
+
+ map { $form->{selectcurrency} .= "<option>$_\n" } @curr;
+
+ $form->{taxincluded} = $taxincluded if ($form->{id});
+
+ # forex
+ $form->{forex} = $form->{exchangerate};
+
+}
+
+
+sub prepare_order {
+
+ $form->{format} = "html";
+ $form->{media} = "screen";
+
+ if ($form->{id}) {
+
+ map { $form->{$_} =~ s/"/&quot;/g } qw(invnumber shippingpoint notes shiptoname shiptoaddr1 shiptoaddr2 shiptoaddr3 shiptoaddr4 shiptocontact);
+
+ foreach $ref (@{ $form->{order_details} } ) {
+ $i++;
+ map { $form->{"${_}_$i"} = $ref->{$_} } keys %{ $ref };
+ $form->{"discount_$i"} = $form->format_amount(\%myconfig, $form->{"discount_$i"} * 100);
+
+ ($dec) = ($form->{"sellprice_$i"} =~ /\.(\d+)/);
+ $dec = length $dec;
+ $decimalplaces = ($dec > 2) ? $dec : 2;
+
+ $form->{"sellprice_$i"} = $form->format_amount(\%myconfig, $form->{"sellprice_$i"}, $decimalplaces);
+ $form->{"qty_$i"} = $form->format_amount(\%myconfig, $form->{"qty_$i"});
+
+ map { $form->{"${_}_$i"} =~ s/"/&quot;/g } qw(partnumber description unit);
+ $form->{rowcount} = $i;
+ }
+ }
+
+}
+
+
+sub form_header {
+
+ $checkedopen = ($form->{closed}) ? "" : "checked";
+ $checkedclosed = ($form->{closed}) ? "checked" : "";
+
+ if ($form->{id}) {
+ $openclosed = qq|
+ <tr>
+ <td colspan=2 align=center>
+ <table>
+ <tr>
+ <th nowrap><input name=closed type=radio class=radio value=0 $checkedopen> |.$locale->text('Open').qq|</th>
+ <th nowrap><input name=closed type=radio class=radio value=1 $checkedclosed> |.$locale->text('Closed').qq|</th>
+ </tr>
+ </table>
+ </td>
+ </tr>
+|;
+ }
+
+ # set option selected
+ foreach $item ($form->{vc}, currency) {
+ $form->{"select$item"} =~ s/ selected//;
+ $form->{"select$item"} =~ s/option>\Q$form->{$item}\E/option selected>$form->{$item}/;
+ }
+
+ $form->{exchangerate} = $form->format_amount(\%myconfig, $form->{exchangerate});
+
+ $form->{creditlimit} = $form->format_amount(\%myconfig, $form->{creditlimit}, 0, "0");
+ $form->{creditremaining} = $form->format_amount(\%myconfig, $form->{creditremaining}, 0, "0");
+
+ $exchangerate = qq|
+<input type=hidden name=forex value=$form->{forex}>
+|;
+
+ if ($form->{currency} ne $form->{defaultcurrency}) {
+ if ($form->{forex}) {
+ $exchangerate .= qq|<th align=right>|.$locale->text('Exchangerate').qq|</th><td>$form->{exchangerate}</td>
+ <input type=hidden name=exchangerate value=$form->{exchangerate}>
+|;
+ } else {
+ $exchangerate .= qq|<th align=right>|.$locale->text('Exchangerate').qq|</th><td><input name=exchangerate size=10 value=$form->{exchangerate}></td>|;
+ }
+ }
+
+
+ $vclabel = ucfirst $form->{vc};
+ $vclabel = $locale->text($vclabel);
+
+ if ($form->{type} eq 'sales_order') {
+
+ $n = ($form->{creditremaining} =~ /-/) ? "0" : "1";
+
+ $creditremaining = qq|
+ <tr>
+ <td></td>
+ <td colspan=3>
+ <table width=100%>
+ <tr>
+ <th align=left nowrap>|.$locale->text('Credit Limit').qq|</th>
+ <td>$form->{creditlimit}</td>
+ <th align=left nowrap>|.$locale->text('Remaining').qq|</th>
+ <td class="plus$n">$form->{creditremaining}</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+|;
+ }
+
+ $vc = ($form->{"select$form->{vc}"}) ? qq|<select name=$form->{vc}>$form->{"select$form->{vc}"}</select>\n<input type=hidden name="select$form->{vc}" value="$form->{"select$form->{vc}"}">| : qq|<input name=$form->{vc} value="$form->{$form->{vc}}" size=35>|;
+
+
+ $form->header;
+
+ print qq|
+<body>
+
+<form method=post action=$form->{script}>
+
+<input type=hidden name=id value=$form->{id}>
+
+<input type=hidden name=type value=$form->{type}>
+<input type=hidden name=media value=$form->{media}>
+<input type=hidden name=format value=$form->{format}>
+
+<input type=hidden name=vc value=$form->{vc}>
+<input type=hidden name=employee value="$form->{employee}">
+
+<input type=hidden name=title value="$form->{title}">
+
+<input type=hidden name=discount value=$form->{discount}>
+<input type=hidden name=creditlimit value=$form->{creditlimit}>
+<input type=hidden name=creditremaining value=$form->{creditremaining}>
+
+<table width=100%>
+ <tr>
+ <th class=listtop>$form->{title}</th>
+ </tr>
+ <tr height="5"></tr>
+ <tr>
+ <td>
+ <table width="100%">
+ <tr valign=top>
+ <td>
+ <table>
+ <tr>
+ <th align=right>$vclabel</th>
+ <td colspan=3>$vc</td>
+ <input type=hidden name=$form->{vc}_id value=$form->{"$form->{vc}_id"}>
+ <input type=hidden name="old$form->{vc}" value="$form->{"old$form->{vc}"}">
+ </tr>
+ $creditremaining
+ <tr>
+ <th align=right>|.$locale->text('Currency').qq|</th>
+ <td><select name=currency>$form->{selectcurrency}</select></td>
+ <input type=hidden name=selectcurrency value="$form->{selectcurrency}">
+ <input type=hidden name=defaultcurrency value=$form->{defaultcurrency}>
+ $exchangerate
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Ship via').qq|</th>
+ <td colspan=3><input name=shippingpoint size=35 value="$form->{shippingpoint}"></td>
+ </tr>
+ </table>
+ </td>
+ <td align=right>
+ <table width=100%>
+ $openclosed
+ <tr>
+ <th align=right nowrap>|.$locale->text('Order Number').qq|</th>
+ <td><input name=ordnumber size=11 value="$form->{ordnumber}"></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Order Date').qq|</th>
+ <td><input name=orddate size=11 title="$myconfig{dateformat}" value=$form->{orddate}></td>
+ </tr>
+ <tr>
+ <th align=right nowrap=true>|.$locale->text('Required by').qq|</th>
+ <td><input name=reqdate size=11 title="$myconfig{dateformat}" value=$form->{reqdate}></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Terms: Net').qq|</th>
+ <td nowrap=true><input name=terms size="3" maxlength="3" value=$form->{terms}> |.$locale->text('days').qq|</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+<!-- shipto are in hidden variables -->
+
+<input type=hidden name=shiptoname value="$form->{shiptoname}">
+<input type=hidden name=shiptoaddr1 value="$form->{shiptoaddr1}">
+<input type=hidden name=shiptoaddr2 value="$form->{shiptoaddr2}">
+<input type=hidden name=shiptoaddr3 value="$form->{shiptoaddr3}">
+<input type=hidden name=shiptoaddr4 value="$form->{shiptoaddr4}">
+<input type=hidden name=shiptocontact value="$form->{shiptocontact}">
+<input type=hidden name=shiptophone value="$form->{shiptophone}">
+<input type=hidden name=shiptofax value="$form->{shiptofax}">
+<input type=hidden name=shiptoemail value="$form->{shiptoemail}">
+
+<!-- email variables -->
+<input type=hidden name=message value="$form->{message}">
+<input type=hidden name=email value="$form->{email}">
+<input type=hidden name=subject value="$form->{subject}">
+<input type=hidden name=cc value="$form->{cc}">
+<input type=hidden name=bcc value="$form->{bcc}">
+
+<input type=hidden name=taxpart value="$form->{taxpart}">
+<input type=hidden name=taxservice value="$form->{taxservice}">
+
+<input type=hidden name=taxaccounts value="$form->{taxaccounts}">
+|;
+
+ foreach $item (split / /, $form->{taxaccounts}) {
+ print qq|
+<input type=hidden name="${item}_rate" value=$form->{"${item}_rate"}>
+<input type=hidden name="${item}_description" value="$form->{"${item}_description"}">
+|;
+ }
+
+}
+
+
+sub form_footer {
+
+ $form->{invtotal} = $form->{invsubtotal};
+
+ if (($rows = $form->numtextrows($form->{notes}, 50, 8)) < 2) {
+ $rows = 2;
+ }
+ $notes = qq|<textarea name=notes rows=$rows cols=50 wrap=soft>$form->{notes}</textarea>|;
+
+ $taxincluded = "";
+ $form->{taxincluded} = ($form->{taxincluded}) ? "checked" : "";
+ if ($form->{taxaccounts}) {
+ $taxincluded = qq|
+ <input name=taxincluded class=checkbox type=checkbox value=1 $form->{taxincluded}> <b>|.$locale->text('Tax Included').qq|</b><br><br>
+|;
+ }
+
+ if (!$form->{taxincluded}) {
+
+ foreach $item (split / /, $form->{taxaccounts}) {
+ if ($form->{"${item}_base"}) {
+ $form->{invtotal} += $form->{"${item}_total"} = $form->round_amount($form->{"${item}_base"} * $form->{"${item}_rate"}, 2);
+ $form->{"${item}_total"} = $form->format_amount(\%myconfig, $form->{"${item}_total"}, 2);
+
+ $tax .= qq|
+ <tr>
+ <th align=right>$form->{"${item}_description"}</th>
+ <td align=right>$form->{"${item}_total"}</td>
+ </tr>
+|;
+ }
+ }
+
+ $form->{invsubtotal} = $form->format_amount(\%myconfig, $form->{invsubtotal}, 2, 0);
+
+ $subtotal = qq|
+ <tr>
+ <th align=right>|.$locale->text('Subtotal').qq|</th>
+ <td align=right>$form->{invsubtotal}</td>
+ </tr>
+|;
+
+ }
+
+ $form->{oldinvtotal} = $form->{invtotal};
+ $form->{invtotal} = $form->format_amount(\%myconfig, $form->{invtotal}, 2, 0);
+
+ print qq|
+ <tr>
+ <td>
+ <table width=100%>
+ <tr valign=bottom>
+ <td>
+ <table>
+ <tr>
+ <th align=left>|.$locale->text('Notes').qq|</th>
+ </tr>
+ <tr>
+ <td>$notes</td>
+ </tr>
+ </table>
+ </td>
+ <td align=right width=100%>
+ $taxincluded
+ <table width=100%>
+ $subtotal
+ $tax
+ <tr>
+ <th align=right>|.$locale->text('Total').qq|</th>
+ <td align=right>$form->{invtotal}</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+<input type=hidden name=oldinvtotal value=$form->{oldinvtotal}>
+<input type=hidden name=oldtotalpaid value=$totalpaid>
+ <tr>
+ <td>
+|;
+
+ &print_options;
+
+ print qq|
+ </td>
+ </tr>
+ <tr>
+ <td><hr size=3 noshade></td>
+ </tr>
+</table>
+
+<br>
+<input class=submit type=submit name=action value="|.$locale->text('Update').qq|">
+<input class=submit type=submit name=action value="|.$locale->text('Ship to').qq|">
+<input class=submit type=submit name=action value="|.$locale->text('Print').qq|">
+<input class=submit type=submit name=action value="|.$locale->text('E-mail').qq|">
+<input class=submit type=submit name=action value="|.$locale->text('Save').qq|">
+|;
+
+ if ($form->{id}) {
+ print qq|
+<input class=submit type=submit name=action value="|.$locale->text('Save as new').qq|">
+<input class=submit type=submit name=action value="|.$locale->text('Delete').qq|">
+<input class=submit type=submit name=action value="|.$locale->text('Invoice').qq|">
+|;
+ }
+
+ print qq|
+
+<input type=hidden name=rowcount value=$form->{rowcount}>
+
+<input name=callback type=hidden value="$form->{callback}">
+
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=login value=$form->{login}>
+<input type=hidden name=password value=$form->{password}>
+
+</form>
+
+</body>
+</html>
+|;
+
+}
+
+
+sub update {
+
+ map { $form->{$_} = $form->parse_amount(\%myconfig, $form->{$_}) } qw(exchangerate creditlimit creditremaining);
+
+ &check_name($form->{vc});
+
+ &check_project;
+
+ $buysell = 'buy';
+ $buysell = 'sell' if ($form->{vc} eq 'vendor');
+ $form->{exchangerate} = $exchangerate if ($form->{forex} = ($exchangerate = $form->check_exchangerate(\%myconfig, $form->{currency}, $form->{orddate}, $buysell)));
+
+
+ my $i = $form->{rowcount};
+ $exchangerate = ($form->{exchangerate}) ? $form->{exchangerate} : 1;
+
+ if (($form->{"partnumber_$i"} eq "") && ($form->{"description_$i"} eq "") && ($form->{"partsgroup_$i"} eq "")) {
+
+ $form->{creditremaining} += ($form->{oldinvtotal} - $form->{oldtotalpaid});
+ &check_form;
+
+ } else {
+
+ if ($form->{type} eq 'purchase_order') {
+ IR->retrieve_item(\%myconfig, \%$form);
+ }
+ if ($form->{type} eq 'sales_order') {
+ IS->retrieve_item(\%myconfig, \%$form);
+ }
+
+ my $rows = scalar @{ $form->{item_list} };
+
+ $form->{"discount_$i"} = $form->format_amount(\%myconfig, $form->{discount} * 100);
+
+ if ($rows) {
+ $form->{"qty_$i"} = 1 unless ($form->{"qty_$i"});
+
+ if ($rows > 1) {
+
+ &select_item;
+ exit;
+
+ } else {
+
+ $sellprice = $form->parse_amount(\%myconfig, $form->{"sellprice_$i"});
+
+ map { $form->{item_list}[$i]{$_} =~ s/"/&quot;/g } qw(partnumber description unit);
+ map { $form->{"${_}_$i"} = $form->{item_list}[0]{$_} } keys %{ $form->{item_list}[0] };
+
+ $s = ($sellprice) ? $sellprice : $form->{"sellprice_$i"};
+
+ ($dec) = ($s =~ /\.(\d+)/);
+ $dec = length $dec;
+ $decimalplaces = ($dec > 2) ? $dec : 2;
+
+ if ($sellprice) {
+ $form->{"sellprice_$i"} = $sellprice;
+ } else {
+ # if there is an exchange rate adjust sellprice
+ $form->{"sellprice_$i"} /= $exchangerate;
+ }
+
+ $amount = $form->{"sellprice_$i"} * $form->{"qty_$i"} * (1 - $form->{"discount_$i"} / 100);
+ map { $form->{"${_}_base"} = 0 } (split / /, $form->{taxaccounts});
+ map { $form->{"${_}_base"} += $amount } (split / /, $form->{"taxaccounts_$i"});
+ map { $amount += ($form->{"${_}_base"} * $form->{"${_}_rate"}) } split / /, $form->{taxaccounts} if !$form->{taxincluded};
+
+ $form->{creditremaining} -= $amount;
+
+ $form->{"sellprice_$i"} = $form->format_amount(\%myconfig, $form->{"sellprice_$i"}, $decimalplaces);
+ $form->{"qty_$i"} = $form->format_amount(\%myconfig, $form->{"qty_$i"});
+ }
+
+ &display_form;
+
+ } else {
+ # ok, so this is a new part
+ # ask if it is a part or service item
+
+ if ($form->{"partsgroup_$i"} && ($form->{"partsnumber_$i"} eq "") && ($form->{"description_$i"} eq "")) {
+ $form->{rowcount}--;
+ $form->{"discount_$i"} = "";
+ &display_form;
+ } else {
+
+ $form->{"id_$i"} = 0;
+ $form->{"unit_$i"} = $locale->text('ea');
+
+ &new_item;
+
+ }
+ }
+ }
+}
+
+
+
+sub search {
+
+ if ($form->{type} eq 'purchase_order') {
+ $form->{title} = $locale->text('Purchase Orders');
+ $form->{vc} = 'vendor';
+ }
+ if ($form->{type} eq 'sales_order') {
+ $form->{title} = $locale->text('Sales Orders');
+ $form->{vc} = 'customer';
+ }
+
+ # setup vendor / customer selection
+ $form->all_vc(\%myconfig, "$form->{vc}");
+
+ map { $vc .= "<option>$_->{name}--$_->{id}\n" } @{ $form->{"all_$form->{vc}"} };
+
+ $vclabel = ucfirst $form->{vc};
+ $vclabel = $locale->text($vclabel);
+
+# $locale->text('Vendor')
+# $locale->text('Customer')
+
+ $vc = ($vc) ? qq|<select name=$form->{vc}><option>\n$vc</select>| : qq|<input name=$form->{vc} size=35>|;
+
+ $form->header;
+
+ print qq|
+<body>
+
+<form method=post action=$form->{script}>
+
+<table width=100%>
+ <tr>
+ <th class=listtop>$form->{title}</th>
+ </tr>
+ <tr height="5"></tr>
+ <tr>
+ <td>
+ <table>
+ <tr>
+ <th align=right>$vclabel</th>
+ <td colspan=3>$vc</td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Order Number').qq|</th>
+ <td colspan=3><input name=ordnumber size=20></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('From').qq|</th>
+ <td><input name=transdatefrom size=11 title="$myconfig{dateformat}"></td>
+ <th align=right>|.$locale->text('to').qq|</th>
+ <td><input name=transdateto size=11 title="$myconfig{dateformat}"></td>
+ </tr>
+ <input type=hidden name=sort value=transdate>
+ <tr>
+ <th align=right>|.$locale->text('Include in Report').qq|</th>
+ <td colspan=3>
+ <table>
+ <tr>
+ <td><input name="open" class=checkbox type=checkbox value=1 checked> |.$locale->text('Open').qq|</td>
+ <td><input name="closed" class=checkbox type=checkbox value=1 $form->{closed}> |.$locale->text('Closed').qq|</td>
+ </tr>
+ <tr>
+ <td><input name="l_id" class=checkbox type=checkbox value=Y> |.$locale->text('ID').qq|</td>
+ <td><input name="l_ordnumber" class=checkbox type=checkbox value=Y checked> |.$locale->text('Order Number').qq|</td>
+ <td><input name="l_transdate" class=checkbox type=checkbox value=Y checked> |.$locale->text('Order Date').qq|</td>
+ <td><input name="l_reqdate" class=checkbox type=checkbox value=Y checked> |.$locale->text('Required by').qq|</td>
+ </tr>
+ <tr>
+ <td><input name="l_name" class=checkbox type=checkbox value=Y checked> $vclabel</td>
+ <td><input name="l_netamount" class=checkbox type=checkbox value=Y> |.$locale->text('Amount').qq|</td>
+ <td><input name="l_tax" class=checkbox type=checkbox value=Y> |.$locale->text('Tax').qq|</td>
+ <td><input name="l_amount" class=checkbox type=checkbox value=Y checked> |.$locale->text('Total').qq|</td>
+ </tr>
+ <tr>
+ <td><input name="l_subtotal" class=checkbox type=checkbox value=Y> |.$locale->text('Subtotal').qq|</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr><td colspan=4><hr size=3 noshade></td></tr>
+</table>
+
+<br>
+<input type=hidden name=nextsub value=orders>
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=login value=$form->{login}>
+<input type=hidden name=password value=$form->{password}>
+<input type=hidden name=vc value=$form->{vc}>
+<input type=hidden name=type value=$form->{type}>
+
+<input class=submit type=submit name=action value="|.$locale->text('Continue').qq|">
+</form>
+
+</body>
+</html>
+|;
+
+}
+
+
+sub orders {
+
+ $name = $form->{$form->{vc}};
+
+ # split vendor / customer
+ ($form->{$form->{vc}}, $form->{"$form->{vc}_id"}) = split(/--/, $form->{$form->{vc}});
+
+ OE->transactions(\%myconfig, \%$form);
+
+ # construct href
+ $href = "$form->{script}?path=$form->{path}&action=orders&type=$form->{type}&vc=$form->{vc}&login=$form->{login}&password=$form->{password}&transdatefrom=$form->{transdatefrom}&transdateto=$form->{transdateto}&open=$form->{open}&closed=$form->{closed}&ordnumber=" . $form->escape($form->{ordnumber}) . "&$form->{vc}=" . $form->escape($form->{$form->{vc}});
+
+ # construct callback
+ $name =~ s/&/_/g;
+ $callback = "$form->{script}?path=$form->{path}&action=orders&type=$form->{type}&vc=$form->{vc}&login=$form->{login}&password=$form->{password}&transdatefrom=$form->{transdatefrom}&transdateto=$form->{transdateto}&open=$form->{open}&closed=$form->{closed}&ordnumber=$form->{ordnumber}&$form->{vc}=$name";
+
+ @columns = $form->sort_columns(qw(transdate reqdate id ordnumber name netamount tax amount curr open closed));
+
+ $form->{l_open} = $form->{l_closed} = "Y" if ($form->{open} && $form->{closed}) ;
+
+ foreach $item (@columns) {
+ if ($form->{"l_$item"} eq "Y") {
+ push @column_index, $item;
+
+ # add column to href and callback
+ $callback .= "&l_$item=Y";
+ $href .= "&l_$item=Y";
+ }
+ }
+
+ if ($form->{l_subtotal} eq 'Y') {
+ $callback .= "&l_subtotal=Y";
+ $href .= "&l_subtotal=Y";
+ }
+
+
+ if ($form->{vc} eq 'vendor') {
+ $form->{title} = $locale->text('Purchase Orders');
+ $name = $locale->text('Vendor');
+ }
+ if ($form->{vc} eq 'customer') {
+ $form->{title} = $locale->text('Sales Orders');
+ $name = $locale->text('Customer');
+ }
+
+ $column_header{id} = qq|<th><a class=listheading href=$href&sort=id>|.$locale->text('ID').qq|</a></th>|;
+ $column_header{transdate} = qq|<th><a class=listheading href=$href&sort=transdate>|.$locale->text('Date').qq|</a></th>|;
+ $column_header{reqdate} = qq|<th><a class=listheading href=$href&sort=reqdate>|.$locale->text('Required by').qq|</a></th>|;
+ $column_header{ordnumber} = qq|<th><a class=listheading href=$href&sort=ordnumber>|.$locale->text('Order').qq|</a></th>|;
+ $column_header{name} = qq|<th><a class=listheading href=$href&sort=name>$name</a></th>|;
+ $column_header{netamount} = qq|<th class=listheading>|.$locale->text('Amount').qq|</th>|;
+ $column_header{tax} = qq|<th class=listheading>|.$locale->text('Tax').qq|</th>|;
+ $column_header{amount} = qq|<th class=listheading>|.$locale->text('Total').qq|</th>|;
+ $column_header{curr} = qq|<th class=listheading>|.$locale->text('Curr').qq|</th>|;
+ $column_header{open} = qq|<th class=listheading>|.$locale->text('O').qq|</th>|;
+ $column_header{closed} = qq|<th class=listheading>|.$locale->text('C').qq|</th>|;
+
+ if ($form->{open}) {
+ $option = $locale->text('Open');
+ }
+ if ($form->{closed}) {
+ $option .= " : " if $form->{open};
+ $option .= $locale->text('Closed');
+ }
+ if ($form->{$form->{vc}}) {
+ $option .= "\n<br>";
+ $option .= ucfirst $form->{vc};
+ $option .= " : $form->{$form->{vc}}";
+ }
+ if ($form->{transdatefrom}) {
+ $option .= "\n<br>".$locale->text('From')." ".$locale->date(\%myconfig, $form->{transdatefrom}, 1);
+ }
+ if ($form->{transdateto}) {
+ $option .= "\n<br>".$locale->text('to')." ".$locale->date(\%myconfig, $form->{transdateto}, 1);
+ }
+
+ $form->header;
+
+ $colspan = $#column_index + 1;
+
+ print qq|
+<body>
+
+<table width=100%>
+ <tr><th class=listtop colspan=$colspan>$form->{title}</th></tr>
+ <tr height="5"></tr>
+ <tr>
+ <td colspan=$colspan>$option</td>
+ </tr>
+ <tr class=listheading>|;
+
+map { print "\n$column_header{$_}" } @column_index;
+
+print qq|
+ </tr>
+|;
+
+ # add sort and escape callback
+ $callback = $form->escape($callback . "&sort=$form->{sort}");
+
+ if (@{ $form->{OE} }) {
+ $sameitem = $form->{OE}->[0]->{$form->{sort}};
+ }
+
+ foreach $oe (@{ $form->{OE} }) {
+
+ if ($form->{l_subtotal} eq 'Y') {
+ if ($sameitem ne $oe->{$form->{sort}}) {
+ &subtotal;
+ $sameitem = $oe->{$form->{sort}};
+ }
+ }
+
+ map { $oe->{$_} *= $oe->{exchangerate} } (qw(netamount amount));
+
+ $column_data{netamount} = "<td align=right>".$form->format_amount(\%myconfig, $oe->{netamount}, 2, "&nbsp;")."</td>";
+ $column_data{tax} = "<td align=right>".$form->format_amount(\%myconfig, $oe->{amount} - $oe->{netamount}, 2, "&nbsp;")."</td>";
+ $column_data{amount} = "<td align=right>".$form->format_amount(\%myconfig, $oe->{amount}, 2, "&nbsp;")."</td>";
+
+ $totalnetamount += $oe->{netamount};
+ $totalamount += $oe->{amount};
+
+ $subtotalnetamount += $oe->{netamount};
+ $subtotalamount += $oe->{amount};
+
+ $column_data{id} = "<td>$oe->{id}</td>";
+ $column_data{transdate} = "<td>$oe->{transdate}&nbsp;</td>";
+ $column_data{reqdate} = "<td>$oe->{reqdate}&nbsp;</td>";
+
+ $column_data{ordnumber} = "<td><a href=oe.pl?path=$form->{path}&action=edit&type=$form->{type}&id=$oe->{id}&login=$form->{login}&password=$form->{password}&callback=$callback>$oe->{ordnumber}</a></td>";
+ $column_data{name} = "<td>$oe->{name}</td>";
+
+ if ($oe->{closed}) {
+ $column_data{closed} = "<td align=center>X</td>";
+ $column_data{open} = "<td>&nbsp;</td>";
+ } else {
+ $column_data{closed} = "<td>&nbsp;</td>";
+ $column_data{open} = "<td align=center>X</td>";
+ }
+
+ $i++; $i %= 2;
+ print "<tr class=listrow$i>";
+
+ map { print "\n$column_data{$_}" } @column_index;
+
+ print qq|
+ </tr>
+|;
+
+ }
+
+ if ($form->{l_subtotal} eq 'Y') {
+ &subtotal;
+ }
+
+ # print totals
+ print qq|<tr class=listtotal>|;
+
+ map { $column_data{$_} = "<td>&nbsp;</td>" } @column_index;
+
+ $column_data{netamount} = "<th class=listtotal align=right>".$form->format_amount(\%myconfig, $totalnetamount, 2, "&nbsp;")."</th>";
+ $column_data{tax} = "<th class=listtotal align=right>".$form->format_amount(\%myconfig, $totalamount - $totalnetamount, 2, "&nbsp;")."</th>";
+ $column_data{amount} = "<th class=listtotal align=right>".$form->format_amount(\%myconfig, $totalamount, 2, "&nbsp;")."</th>";
+
+ map { print "\n$column_data{$_}" } @column_index;
+
+ print qq|
+ </tr>
+ <tr><td colspan=8><hr size=3 noshade></td></tr>
+</table>
+
+<br>
+<form method=post action=$form->{script}>
+
+<input name=callback type=hidden value="$form->{callback}">
+
+<input type=hidden name=type value=$form->{type}>
+<input type=hidden name=vc value=$form->{vc}>
+
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=login value=$form->{login}>
+<input type=hidden name=password value=$form->{password}>
+
+<input class=submit type=submit name=action value=|.$locale->text('Add').qq|
+
+</form>
+
+</body>
+</html>
+|;
+
+}
+
+
+
+sub subtotal {
+
+ map { $column_data{$_} = "<td>&nbsp;</td>" } @column_index;
+
+ $column_data{netamount} = "<th class=listsubtotal align=right>".$form->format_amount(\%myconfig, $subtotalnetamount, 2, "&nbsp;")."</th>";
+ $column_data{tax} = "<td class=listsubtotal align=right>".$form->format_amount(\%myconfig, $subtotalamount - $subtotalnetamount, 2, "&nbsp;")."</th>";
+ $column_data{amount} = "<th class=listsubtotal align=right>".$form->format_amount(\%myconfig, $subtotalamount, 2, "&nbsp;")."</th>";
+
+ $subtotalnetamount = 0;
+ $subtotalamount = 0;
+
+ print "<tr class=listsubtotal>";
+
+ map { print "\n$column_data{$_}" } @column_index;
+
+ print qq|
+ </tr>
+|;
+
+}
+
+
+sub save {
+
+ $form->isblank("ordnumber", $locale->text('Order Number missing!'));
+ $form->isblank("orddate", $locale->text('Order Date missing!'));
+
+ $msg = ucfirst $form->{vc};
+ $form->isblank($form->{vc}, $locale->text($msg . " missing!"));
+
+# $locale->text('Customer missing!');
+# $locale->text('Vendor missing!');
+
+ $form->isblank("exchangerate", $locale->text('Exchangerate missing!')) if ($form->{currency} ne $form->{defaultcurrency});
+
+ &validate_items;
+
+ # if the name changed get new values
+ if (&check_name($form->{vc})) {
+ &update;
+ exit;
+ }
+
+
+ # this is for the notes section for the [email] Subject
+ $form->{label} = ($form->{type} eq 'sales_order') ? $locale->text('Sales Order') : $locale->text('Purchase Order');
+
+ $form->{id} = 0 if $form->{saveasnew};
+
+ $form->redirect($locale->text('Order saved!')) if (OE->save_order(\%myconfig, \%$form));
+ $form->error($locale->text('Cannot save order!'));
+
+}
+
+
+
+sub delete {
+
+ $form->header;
+
+ print qq|
+<body>
+
+<form method=post action=$form->{script}>
+|;
+
+ # delete action variable
+ delete $form->{action};
+
+ foreach $key (keys %$form) {
+ $form->{$key} =~ s/"/&quot;/g;
+ print qq|<input type=hidden name=$key value="$form->{$key}">\n|;
+ }
+
+ print qq|
+<h2 class=confirm>|.$locale->text('Confirm!').qq|</h2>
+
+<h4>|
+ .$locale->text('Are you sure you want to delete Order Number').qq| $form->{ordnumber}
+</h4>
+<p>
+<input name=action class=submit type=submit value="|.$locale->text('Yes').qq|">
+</form>
+
+</body>
+</html>
+|;
+
+
+}
+
+
+
+sub yes {
+
+ $form->redirect($locale->text('Order deleted!')) if (OE->delete_order(\%myconfig, \%$form));
+ $form->error($locale->text('Cannot delete order!'));
+
+}
+
+
+sub invoice {
+
+ $form->isblank("ordnumber", $locale->text('Order Number missing!'));
+ $form->isblank("orddate", $locale->text('Order Date missing!'));
+
+
+ # if the name changed get new values
+ if (&check_name($form->{vc})) {
+ &update;
+ exit;
+ }
+
+ $form->{closed} = 1;
+ OE->save_order(\%myconfig, \%$form);
+
+ $form->{orddate} = $form->{transdate} = $form->{invdate} = $form->current_date(\%myconfig);
+ $form->{duedate} = $form->current_date(\%myconfig, $form->{invdate}, $form->{terms} * 1);
+
+ $form->{id} = '';
+ $form->{closed} = 0;
+ $form->{rowcount}--;
+ $form->{shipto} = 1;
+
+ &create_backorder;
+
+ if ($form->{type} eq 'purchase_order') {
+ $form->{title} = $locale->text('Add Vendor Invoice');
+ $form->{script} = 'ir.pl';
+ $script = "ir";
+ $buysell = 'sell';
+ }
+ if ($form->{type} eq 'sales_order') {
+ $form->{title} = $locale->text('Add Sales Invoice');
+ $form->{script} = 'is.pl';
+ $script = "is";
+ $buysell = 'buy';
+ }
+
+
+ # bo creates the id, reset it
+ map { $form->{$_} = "" } qw(id subject message cc bcc);
+ $form->{$form->{vc}} =~ s/--.*//g;
+ $form->{type} = "invoice";
+
+ # locale messages
+ $locale = new Locale "$myconfig{countrycode}", "$script";
+
+ require "$form->{path}/$form->{script}";
+
+ map { $form->{"select$_"} = "" } ($form->{vc}, currency);
+
+ map { $form->{$_} = $form->parse_amount(\%myconfig, $form->{$_}) } qw(creditlimit creditremaining);
+
+ $currency = $form->{currency};
+ &invoice_links;
+
+ $form->{currency} = $currency;
+ $form->{exchangerate} = "";
+ $form->{forex} = "";
+ $form->{exchangerate} = $exchangerate if ($form->{forex} = ($exchangerate = $form->check_exchangerate(\%myconfig, $form->{currency}, $form->{invdate}, $buysell)));
+
+ $form->{creditremaining} -= ($form->{oldinvtotal} - $form->{ordtotal});
+
+ &prepare_invoice;
+
+ # format amounts
+ for $i (1 .. $form->{rowcount}) {
+ $form->{"discount_$i"} = $form->format_amount(\%myconfig, $form->{"discount_$i"});
+
+ ($dec) = ($form->{"sellprice_$i"} =~ /\.(\d+)/);
+ $dec = length $dec;
+ $decimalplaces = ($dec > 2) ? $dec : 2;
+
+ $form->{"sellprice_$i"} = $form->format_amount(\%myconfig, $form->{"sellprice_$i"}, $decimalplaces);
+ $form->{"qty_$i"} = $form->format_amount(\%myconfig, $form->{"qty_$i"});
+
+ map { $form->{"${_}_$i"} =~ s/"/&quot;/g } qw(partnumber description unit);
+ }
+
+ &display_form;
+
+}
+
+
+sub create_backorder {
+
+ # figure out if we need to create a backorder
+ # items aren't saved if qty != 0
+
+ for $i (1 .. $form->{rowcount}) {
+ $totalqty += $qty = $form->parse_amount($myconfig, $form->{"qty_$i"});
+ $totalship += $ship = $form->parse_amount($myconfig, $form->{"ship_$i"});
+
+ $form->{"qty_$i"} = $qty - $ship;
+ }
+
+ if ($totalship == 0) {
+ map { $form->{"ship_$_"} = $form->{"qty_$_"} } (1 .. $form->{rowcount});
+ $form->{ordtotal} = 0;
+ return;
+ }
+
+ if ($totalqty == $totalship) {
+ map { $form->{"qty_$_"} = $form->{"ship_$_"} } (1 .. $form->{rowcount});
+ $form->{ordtotal} = 0;
+ return;
+ }
+
+ @flds = (qw(partnumber description qty ship unit sellprice discount id inventory_accno bin income_accno expense_accno listprice assembly taxaccounts));
+
+ OE->save_order(\%myconfig, \%$form);
+
+ # rebuild rows for invoice
+ @a = ();
+ $count = 0;
+
+ for $i (1 .. $form->{rowcount}) {
+
+ # reformat values if there was a backorder quantity
+ if ($form->{"qty_$i"}) {
+ $form->{"discount_$i"} = $form->format_amount(\%myconfig, $form->{"discount_$i"});
+ $form->{"sellprice_$i"} = $form->format_amount(\%myconfig, $form->{"sellprice_$i"});
+ }
+
+ $form->{"qty_$i"} = $form->{"ship_$i"};
+
+ if ($form->{"qty_$i"}) {
+ push @a, {};
+ $j = $#a;
+ map { $a[$j]->{$_} = $form->{"${_}_$i"} } @flds;
+ $count++;
+ }
+ }
+
+ $form->redo_rows(\@flds, \@a, $count, $form->{rowcount});
+ $form->{rowcount} = $count;
+
+}
+
+
+
+sub save_as_new {
+
+ $form->{saveasnew} = 1;
+ $form->{closed} = 0;
+ &save;
+
+}
+
+
diff --git a/sql-ledger/bin/mozilla/pe.pl b/sql-ledger/bin/mozilla/pe.pl
new file mode 100644
index 0000000..d8706d4
--- /dev/null
+++ b/sql-ledger/bin/mozilla/pe.pl
@@ -0,0 +1,549 @@
+#=====================================================================
+# SQL-Ledger Accounting
+# Copyright (c) 1998-2002
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#======================================================================
+#
+# project administration
+# partsgroup administration
+#
+#======================================================================
+
+
+use SL::PE;
+
+1;
+# end of main
+
+
+
+sub add {
+
+ $form->{title} = "Add";
+
+ # construct callback
+ $form->{callback} = "$form->{script}?action=add&type=$form->{type}&path=$form->{path}&login=$form->{login}&password=$form->{password}" unless $form->{callback};
+
+ &{ "form_$form->{type}_header" };
+ &{ "form_$form->{type}_footer" };
+
+}
+
+
+sub edit {
+
+ $form->{title} = "Edit";
+
+ if ($form->{type} eq 'project') {
+ PE->get_project(\%myconfig, \%$form);
+ }
+ if ($form->{type} eq 'partsgroup') {
+ PE->get_partsgroup(\%myconfig, \%$form);
+ }
+
+ &{ "form_$form->{type}_header" };
+ &{ "form_$form->{type}_footer" };
+
+}
+
+
+sub search {
+
+ if ($form->{type} eq 'project') {
+ $report = "project_report";
+ $sort = 'projectnumber';
+ $form->{title} = $locale->text('Projects');
+
+ $number = qq|
+ <tr>
+ <th align=right width=1%>|.$locale->text('Number').qq|</th>
+ <td><input name=projectnumber size=20></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Description').qq|</th>
+ <td><input name=description size=60></td>
+ </tr>
+|;
+
+ }
+ if ($form->{type} eq 'partsgroup') {
+ $report = "partsgroup_report";
+ $sort = 'partsgroup';
+ $form->{title} = $locale->text('Groups');
+
+ $number = qq|
+ <tr>
+ <th align=right width=1%>|.$locale->text('Group').qq|</th>
+ <td><input name=partsgroup size=20></td>
+ </tr>
+|;
+
+ }
+
+ $form->header;
+
+ print qq|
+<body>
+
+<form method=post action=$form->{script}>
+
+<input type=hidden name=sort value=$sort>
+<input type=hidden name=type value=$form->{type}>
+
+<table width=100%>
+ <tr>
+ <th class=listtop>$form->{title}</th>
+ </tr>
+ <tr height="5"></tr>
+ <tr>
+ <td>
+ <table width=100%>
+ $number
+ <tr>
+ <td></td>
+ <td><input name=status class=radio type=radio value=all checked>&nbsp;|.$locale->text('All').qq|
+ <input name=status class=radio type=radio value=orphaned>&nbsp;|.$locale->text('Orphaned').qq|</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td><hr size=3 noshade></td>
+ </tr>
+</table>
+
+<input type=hidden name=nextsub value=$report>
+
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=login value=$form->{login}>
+<input type=hidden name=password value=$form->{password}>
+
+<br>
+<input class=submit type=submit name=action value="|.$locale->text('Continue').qq|">
+</form>
+
+</body>
+</html>
+|;
+
+}
+
+
+
+sub project_report {
+
+ map { $form->{$_} = $form->unescape($form->{$_}) } (projectnumber, description);
+ PE->projects(\%myconfig, \%$form);
+
+ $callback = "$form->{script}?action=project_report&type=$form->{type}&path=$form->{path}&login=$form->{login}&password=$form->{password}&status=$form->{status}";
+ $href = $callback;
+
+ if ($form->{status} eq 'all') {
+ $option = $locale->text('All');
+ }
+ if ($form->{status} eq 'orphaned') {
+ $option .= $locale->text('Orphaned');
+ }
+ if ($form->{projectnumber}) {
+ $href .= "&projectnumber=".$form->escape($form->{projectnumber});
+ $callback .= "&projectnumber=$form->{projectnumber}";
+ $option .= "\n<br>".$locale->text('Project')." : $form->{projectnumber}";
+ }
+ if ($form->{description}) {
+ $href .= "&description=".$form->escape($form->{description});
+ $callback .= "&description=$form->{description}";
+ $option .= "\n<br>".$locale->text('Description')." : $form->{description}";
+ }
+
+
+ @column_index = $form->sort_columns(qw(projectnumber description));
+
+ $column_header{projectnumber} = qq|<th><a class=listheading href=$href&sort=projectnumber>|.$locale->text('Number').qq|</a></th>|;
+ $column_header{description} = qq|<th><a class=listheading href=$href&sort=description>|.$locale->text('Description').qq|</a></th>|;
+
+ $form->{title} = $locale->text('Projects');
+
+ $form->header;
+
+ print qq|
+<body>
+
+<table width=100%>
+ <tr>
+ <th class=listtop>$form->{title}</th>
+ </tr>
+ <tr height="5"></tr>
+ <tr>
+ <td>$option</td>
+ </tr>
+ <tr>
+ <td>
+ <table width=100%>
+ <tr class=listheading>
+|;
+
+ map { print "$column_header{$_}\n" } @column_index;
+
+ print qq|
+ </tr>
+|;
+
+ # escape callback
+ $form->{callback} = $callback .= "&sort=$form->{sort}";
+
+ # escape callback for href
+ $callback = $form->escape($callback);
+
+ foreach $ref (@{ $form->{project_list} }) {
+
+ $i++; $i %= 2;
+
+ print qq|
+ <tr valign=top class=listrow$i>
+|;
+
+ $column_data{projectnumber} = qq|<td><a href=$form->{script}?action=edit&type=$form->{type}&status=$form->{status}&id=$ref->{id}&path=$form->{path}&login=$form->{login}&password=$form->{password}&callback=$callback>$ref->{projectnumber}</td>|;
+ $column_data{description} = qq|<td>$ref->{description}&nbsp;</td>|;
+
+ map { print "$column_data{$_}\n" } @column_index;
+
+ print "
+ </tr>
+";
+ }
+
+ print qq|
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td><hr size=3 noshade></td>
+ </tr>
+</table>
+
+<br>
+<form method=post action=$form->{script}>
+
+<input name=callback type=hidden value="$form->{callback}">
+
+<input type=hidden name=type value=$form->{type}>
+
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=login value=$form->{login}>
+<input type=hidden name=password value=$form->{password}>
+
+<input class=submit type=submit name=action value="|.$locale->text('Add').qq|">
+
+</body>
+</html>
+|;
+
+}
+
+
+sub form_project_header {
+
+ $form->{title} = $locale->text("$form->{title} Project");
+
+# $locale->text('Add Project')
+# $locale->text('Edit Project')
+
+ $form->{description} =~ s/"/&quot;/g;
+
+ if (($rows = $form->numtextrows($form->{description}, 60)) > 1) {
+ $description = qq|<textarea name="description" rows=$rows cols=60 style="width: 100%" wrap=soft>$form->{description}</textarea>|;
+ } else {
+ $description = qq|<input name=description size=60 value="$form->{description}">|;
+ }
+
+ $form->header;
+
+ print qq|
+<body>
+
+<form method=post action=$form->{script}>
+
+<input type=hidden name=id value=$form->{id}>
+<input type=hidden name=type value=project>
+
+<table width=100%>
+ <tr>
+ <th class=listtop>$form->{title}</th>
+ </tr>
+ <tr height="5"></tr>
+ <tr>
+ <td>
+ <table>
+ <tr>
+ <th align=right>|.$locale->text('Number').qq|</th>
+ <td><input name=projectnumber size=20 value="$form->{projectnumber}"></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Description').qq|</th>
+ <td>$description</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td colspan=2><hr size=3 noshade></td>
+ </tr>
+</table>
+|;
+
+}
+
+
+sub form_project_footer {
+
+ print qq|
+
+<input name=callback type=hidden value="$form->{callback}">
+
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=login value=$form->{login}>
+<input type=hidden name=password value=$form->{password}>
+
+<br><input type=submit class=submit name=action value="|.$locale->text('Save').qq|">
+|;
+
+ if ($form->{id} && $form->{orphaned}) {
+ print qq|
+<input type=submit class=submit name=action value="|.$locale->text('Delete').qq|">|;
+ }
+
+ print qq|
+</form>
+
+</body>
+</html>
+|;
+
+}
+
+
+sub save {
+
+ if ($form->{type} eq 'project') {
+ $form->isblank("projectnumber", $locale->text('Project Number missing!'));
+ PE->save_project(\%myconfig, \%$form);
+ $form->redirect($locale->text('Project saved!'));
+ }
+ if ($form->{type} eq 'partsgroup') {
+ $form->isblank("partsgroup", $locale->text('Group missing!'));
+ PE->save_partsgroup(\%myconfig, \%$form);
+ $form->redirect($locale->text('Group saved!'));
+ }
+
+}
+
+
+sub delete {
+
+ PE->delete_tuple(\%myconfig, \%$form);
+
+ if ($form->{type} eq 'project') {
+ $form->redirect($locale->text('Project deleted!'));
+ }
+ if ($form->{type} eq 'partsgroup') {
+ $form->redirect($locale->text('Group deleted!'));
+ }
+
+}
+
+
+sub continue { &{ $form->{nextsub} } };
+
+
+sub partsgroup_report {
+
+ map { $form->{$_} = $form->unescape($form->{$_}) } (partsgroup);
+ PE->partsgroups(\%myconfig, \%$form);
+
+ $callback = "$form->{script}?action=partsgroup_report&type=$form->{type}&path=$form->{path}&login=$form->{login}&password=$form->{password}&status=$form->{status}";
+
+ if ($form->{status} eq 'all') {
+ $option = $locale->text('All');
+ }
+ if ($form->{status} eq 'orphaned') {
+ $option .= $locale->text('Orphaned');
+ }
+ if ($form->{partsgroup}) {
+ $callback .= "&partsgroup=$form->{partsgroup}";
+ $option .= "\n<br>".$locale->text('Group')." : $form->{partsgroup}";
+ }
+
+
+ @column_index = (partsgroup);
+
+ $column_header{partsgroup} = qq|<th class=listheading width=90%>|.$locale->text('Group').qq|</th>|;
+
+ $form->{title} = $locale->text('Groups');
+
+ $form->header;
+
+ print qq|
+<body>
+
+<table width=100%>
+ <tr>
+ <th class=listtop>$form->{title}</th>
+ </tr>
+ <tr height="5"></tr>
+ <tr>
+ <td>$option</td>
+ </tr>
+ <tr>
+ <td>
+ <table width=100%>
+ <tr class=listheading>
+|;
+
+ map { print "$column_header{$_}\n" } @column_index;
+
+ print qq|
+ </tr>
+|;
+
+ # escape callback
+ $form->{callback} = $callback;
+
+ # escape callback for href
+ $callback = $form->escape($callback);
+
+ foreach $ref (@{ $form->{item_list} }) {
+
+ $i++; $i %= 2;
+
+ print qq|
+ <tr valign=top class=listrow$i>
+|;
+
+
+ $column_data{partsgroup} = qq|<td><a href=$form->{script}?action=edit&type=$form->{type}&status=$form->{status}&id=$ref->{id}&path=$form->{path}&login=$form->{login}&password=$form->{password}&callback=$callback>$ref->{partsgroup}</td>|;
+
+ map { print "$column_data{$_}\n" } @column_index;
+
+ print "
+ </tr>
+";
+ }
+
+ print qq|
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td><hr size=3 noshade></td>
+ </tr>
+</table>
+
+<br>
+<form method=post action=$form->{script}>
+
+<input name=callback type=hidden value="$form->{callback}">
+
+<input type=hidden name=type value=$form->{type}>
+
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=login value=$form->{login}>
+<input type=hidden name=password value=$form->{password}>
+
+<input class=submit type=submit name=action value="|.$locale->text('Add').qq|">
+
+</body>
+</html>
+|;
+
+}
+
+
+sub form_partsgroup_header {
+
+ $form->{title} = $locale->text("$form->{title} Group");
+
+# $locale->text('Add Group')
+# $locale->text('Edit Group')
+
+ $form->{partsgroup} =~ s/"/&quot;/g;
+
+
+ $form->header;
+
+ print qq|
+<body>
+
+<form method=post action=$form->{script}>
+
+<input type=hidden name=id value=$form->{id}>
+<input type=hidden name=type value=$form->{type}>
+
+<table width=100%>
+ <tr>
+ <th class=listtop>$form->{title}</th>
+ </tr>
+ <tr height="5"></tr>
+ <tr>
+ <td>
+ <table width=100%>
+ <tr>
+ <th align=right>|.$locale->text('Group').qq|</th>
+ <td><input name=partsgroup size=30 value="$form->{partsgroup}"></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td colspan=2><hr size=3 noshade></td>
+ </tr>
+</table>
+|;
+
+}
+
+
+sub form_partsgroup_footer {
+
+ print qq|
+
+<input name=callback type=hidden value="$form->{callback}">
+
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=login value=$form->{login}>
+<input type=hidden name=password value=$form->{password}>
+
+<br><input type=submit class=submit name=action value="|.$locale->text('Save').qq|">
+|;
+
+ if ($form->{id} && $form->{orphaned}) {
+ print qq|
+<input type=submit class=submit name=action value="|.$locale->text('Delete').qq|">|;
+ }
+
+ print qq|
+</form>
+
+</body>
+</html>
+|;
+
+}
+
+
diff --git a/sql-ledger/bin/mozilla/rc.pl b/sql-ledger/bin/mozilla/rc.pl
new file mode 100644
index 0000000..cf2bc23
--- /dev/null
+++ b/sql-ledger/bin/mozilla/rc.pl
@@ -0,0 +1,371 @@
+#=====================================================================
+# SQL-Ledger Accounting
+# Copyright (c) 2002
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#======================================================================
+#
+# Account reconciliation module
+#
+#======================================================================
+
+
+use SL::RC;
+
+
+1;
+# end of main
+
+
+sub reconciliation {
+
+ RC->paymentaccounts(\%myconfig, \%$form);
+
+ $selection = "";
+ map { $selection .= "<option>$_->{accno}--$_->{description}\n" } @{ $form->{PR} };
+
+ $form->{title} = $locale->text('Reconciliation');
+
+ $form->header;
+
+ print qq|
+<body>
+
+<form method=post action=$form->{script}>
+
+<table width=100%>
+ <tr>
+ <th class=listtop>$form->{title}</th>
+ </tr>
+ <tr height="5"></tr>
+ <tr>
+ <td>
+ <table>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Account').qq|</th>
+ <td colspan=3><select name=accno>$selection</select>
+ </td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('From').qq|</th>
+ <td><input name=fromdate size=11 title="$myconfig{dateformat}"></td>
+ <th align=right>|.$locale->text('to').qq|</th>
+ <td><input name=todate size=11 title="$myconfig{dateformat}"></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td><hr size=3 noshade></td>
+ </tr>
+</table>
+
+<br>
+<input type=hidden name=nextsub value=get_payments>
+
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=login value=$form->{login}>
+<input type=hidden name=password value=$form->{password}>
+
+<input type=submit class=submit name=action value="|.$locale->text('Continue').qq|">
+
+</form>
+
+</body>
+</html>
+|;
+
+}
+
+
+sub continue { &{ $form->{nextsub} } };
+
+
+sub get_payments {
+
+ ($form->{accno}, $form->{account}) = split /--/, $form->{accno};
+
+ RC->payment_transactions(\%myconfig, \%$form);
+
+ &display_form;
+
+}
+
+
+sub display_form {
+
+ @column_index = qw(cleared transdate source name credit debit balance);
+
+ $column_header{cleared} = "<th class=listheading>&nbsp;</th>";
+ $column_header{source} = "<th class=listheading>".$locale->text('Source')."</a></th>";
+ $column_header{name} = "<th class=listheading>".$locale->text('Description')."</a></th>";
+ $column_header{transdate} = "<th class=listheading>".$locale->text('Date')."</a></th>";
+
+ $column_header{debit} = "<th class=listheading>".$locale->text('Deposit')."</a></th>";
+ $column_header{credit} = "<th class=listheading>".$locale->text('Payment')."</a></th>";
+
+ $column_header{balance} = "<th class=listheading>".$locale->text('Balance')."</a></th>";
+
+ if ($form->{fromdate}) {
+ $option .= "\n<br>" if ($option);
+ $option .= $locale->text('From')."&nbsp;".$locale->date(\%myconfig, $form->{fromdate}, 1);
+ }
+ if ($form->{todate}) {
+ $option .= "\n<br>" if ($option);
+ $option .= $locale->text('to')."&nbsp;".$locale->date(\%myconfig, $form->{todate}, 1);
+ }
+
+ $form->{title} = "$form->{accno}--$form->{account}";
+
+ $form->header;
+
+ print qq|
+<body>
+
+<form method=post action=$form->{script}>
+
+<table width=100%>
+ <tr>
+ <th class=listtop>$form->{title}</th>
+ </tr>
+ <tr height="5"></tr>
+ <tr>
+ <td>$option</td>
+ </tr>
+ <tr>
+ <td>
+ <table width=100%>
+ <tr>
+|;
+
+ map { print "\n$column_header{$_}" } @column_index;
+
+ print qq|
+ </tr>
+|;
+
+ $form->{beginningbalance} *= -1;
+ $clearedbalance = $balance = $form->{beginningbalance};
+ $i = 0;
+ $id = 0;
+
+ map { $column_data{$_} = "<td>&nbsp;</td>" } qw(cleared transdate source name debit credit);
+ $column_data{balance} = "<td align=right>".$form->format_amount(\%myconfig, $balance, 2, 0)."</td>";
+ $j = 0;
+ print qq|
+ <tr class=listrow$j>
+|;
+
+ map { print "\n$column_data{$_}" } @column_index;
+
+ print qq|
+ </tr>
+|;
+
+
+ foreach $ref (@{ $form->{PR} }) {
+
+ $balance += $ref->{amount} * -1;
+ $cleared += $ref->{amount} * -1 if $ref->{cleared};
+
+ $column_data{name} = "<td>$ref->{name}&nbsp;</td>";
+ $column_data{source} = qq|<td>$ref->{source}&nbsp;</a>
+ </td>|;
+ $column_data{transdate} = "<td>$ref->{transdate}&nbsp;</td>";
+
+ $column_data{debit} = "<td>&nbsp;</td>";
+ $column_data{credit} = "<td>&nbsp;</td>";
+
+ if ($ref->{amount} < 0) {
+ $totaldebits += $ref->{amount} * -1;
+ $column_data{debit} = "<td align=right>".$form->format_amount(\%myconfig, $ref->{amount} * -1, 2, "&nbsp;")."</td>";
+ } else {
+ $totalcredits += $ref->{amount};
+ $column_data{credit} = "<td align=right>".$form->format_amount(\%myconfig, $ref->{amount}, 2, "&nbsp;")."</td>";
+ }
+
+ $column_data{balance} = "<td align=right>".$form->format_amount(\%myconfig, $balance, 2, 0)."</td>";
+
+ if ($ref->{fx_transaction}) {
+ $i++ unless $id == $ref->{id};
+ $fx_transaction = 1;
+ $fx += $ref->{amount} * -1;
+ $column_data{cleared} = qq|<td align=center>&nbsp;
+ <input type=hidden name="fxoid_$i" value=$ref->{oid}>
+ </td>|;
+ } else {
+ $i++ unless ($fx_transaction && $id == $ref->{id});
+ $fx_transaction = 0;
+ $column_data{cleared} = qq|<td>
+ <input name="cleared_$i" type=checkbox class=checkbox value=1 $ref->{cleared}>
+ <input type=hidden name="oid_$i" value=$ref->{oid}>
+ </td>|;
+ }
+ $id = $ref->{id};
+
+ $j++; $j %= 2;
+ print qq|
+ <tr class=listrow$j>
+|;
+
+ map { print "\n$column_data{$_}" } @column_index;
+
+ print qq|
+ </tr>
+|;
+
+ }
+
+ # print totals
+ map { $column_data{$_} = "<td>&nbsp;</td>" } @column_index;
+
+ $column_data{debit} = "<th class=listtotal align=right>".$form->format_amount(\%myconfig, $totaldebits, 2, "&nbsp;")."</th>";
+ $column_data{credit} = "<th class=listtotal align=right>".$form->format_amount(\%myconfig, $totalcredits, 2, "&nbsp;")."</th>";
+
+ print qq|
+ <tr class=listtotal>
+|;
+
+ map { print "\n$column_data{$_}" } @column_index;
+
+ $form->{statementbalance} = $form->parse_amount(\%myconfig, $form->{statementbalance});
+ $difference = $form->format_amount(\%myconfig, $form->{statementbalance} - $clearedbalance - $cleared, 2, 0);
+
+ $form->{statementbalance} = $form->format_amount(\%myconfig, $form->{statementbalance}, 2, 0);
+
+ $clearedbalance = $form->format_amount(\%myconfig, $clearedbalance, 2, 0);
+
+ if ($fx) {
+ $fx = $form->format_amount(\%myconfig, $fx, 2, 0);
+ $exchdiff = qq|
+ <th align=right nowrap>|.$locale->text('Exchangerate Difference').qq|</th>
+ <td width=10%></td>
+ <td align=right>$fx</td>
+|;
+ }
+
+ print qq|
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td>
+ <table>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Cleared Balance').qq|</th>
+ <td width=10%></td>
+ <td align=right>$clearedbalance</td>
+ </tr>
+ <tr>
+ $exchdiff
+ </tr>
+ </table>
+ </td>
+ <td align=right>
+ <table>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Statement Balance').qq|</th>
+ <td width=10%></td>
+ <td align=right><input name=statementbalance size=11 value=$form->{statementbalance}></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Difference').qq|</th>
+ <td width=10%></td>
+ <td align=right><input name=none size=11 value=$difference></td>
+ <input type=hidden name=difference value=$difference>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td><hr size=3 noshade></td>
+ </tr>
+</table>
+
+<input type=hidden name=rowcount value=$i>
+<input type=hidden name=accno value=$form->{accno}>
+<input type=hidden name=account value="$form->{account}">
+
+<input type=hidden name=fromdate value=$form->{fromdate}>
+<input type=hidden name=todate value=$form->{todate}>
+
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=login value=$form->{login}>
+<input type=hidden name=password value=$form->{password}>
+
+<br>
+<input type=submit class=submit name=action value="|.$locale->text('Update').qq|">
+<input type=submit class=submit name=action value="|.$locale->text('Select all').qq|">
+<input type=submit class=submit name=action value="|.$locale->text('Done').qq|">
+
+</form>
+
+</body>
+</html>
+|;
+
+}
+
+
+sub update {
+
+ RC->payment_transactions(\%myconfig, \%$form);
+
+ foreach $ref (@{ $form->{PR} }) {
+ if (!$ref->{fx_transaction}) {
+ $i++;
+ $ref->{cleared} = "checked" if $form->{"cleared_$i"};
+ }
+ }
+
+ &display_form;
+
+}
+
+
+sub select_all {
+
+ RC->payment_transactions(\%myconfig, \%$form);
+
+ map { $_->{cleared} = "checked" unless $_->{fx_transaction} } @{ $form->{PR} };
+
+ &display_form;
+
+}
+
+
+sub done {
+
+ $form->{callback} = "$form->{script}?path=$form->{path}&action=reconciliation&login=$form->{login}&password=$form->{password}";
+
+ $form->error($locale->text('Out of balance!')) if ($form->{difference} *= 1);
+
+ RC->reconcile(\%myconfig, \%$form);
+ $form->redirect;
+
+}
+
+
diff --git a/sql-ledger/bin/mozilla/rp.pl b/sql-ledger/bin/mozilla/rp.pl
new file mode 100644
index 0000000..41cff8c
--- /dev/null
+++ b/sql-ledger/bin/mozilla/rp.pl
@@ -0,0 +1,1730 @@
+#=====================================================================
+# SQL-Ledger Accounting
+# Copyright (c) 1998-2002
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+# Contributors: Antonio Gallardo <agssa@ibw.com.ni>
+# Benjamin Lee <benjaminlee@consultant.com>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#======================================================================
+#
+# module for preparing Income Statement and Balance Sheet
+#
+#======================================================================
+
+
+use SL::RP;
+
+1;
+# end of main
+
+# this is for our long dates
+# $locale->text('January')
+# $locale->text('February')
+# $locale->text('March')
+# $locale->text('April')
+# $locale->text('May ')
+# $locale->text('June')
+# $locale->text('July')
+# $locale->text('August')
+# $locale->text('September')
+# $locale->text('October')
+# $locale->text('November')
+# $locale->text('December')
+
+# this is for our short month
+# $locale->text('Jan')
+# $locale->text('Feb')
+# $locale->text('Mar')
+# $locale->text('Apr')
+# $locale->text('May')
+# $locale->text('Jun')
+# $locale->text('Jul')
+# $locale->text('Aug')
+# $locale->text('Sep')
+# $locale->text('Oct')
+# $locale->text('Nov')
+# $locale->text('Dec')
+
+# $locale->text('Balance Sheet')
+# $locale->text('Income Statement')
+# $locale->text('Trial Balance')
+# $locale->text('AR Aging')
+# $locale->text('AP Aging')
+# $locale->text('Tax collected')
+# $locale->text('Tax paid')
+# $locale->text('Receipts')
+# $locale->text('Payments')
+
+
+sub report {
+
+ %title = ( 'balance_sheet' => 'Balance Sheet',
+ 'income_statement' => 'Income Statement',
+ 'trial_balance' => 'Trial Balance',
+ 'ar_aging' => 'AR Aging',
+ 'ap_aging' => 'AP Aging',
+ 'tax_collected' => 'Tax collected',
+ 'tax_paid' => 'Tax paid',
+ 'receipts' => 'Receipts',
+ 'payments' => 'Payments',
+ );
+
+ $form->{title} = $locale->text($title{$form->{report}});
+
+ $form->header;
+
+ $gifi = qq|
+<tr>
+ <th align=right>|.$locale->text('Accounts').qq|</th>
+ <td><input name=accounttype class=radio type=radio value=standard checked> |.$locale->text('Standard').qq|
+
+ <input name=accounttype class=radio type=radio value=gifi> |.$locale->text('GIFI').qq|
+ </td>
+</tr>
+|;
+
+ print qq|
+<body>
+
+<form method=post action=$form->{script}>
+
+<input type=hidden name=title value="$form->{title}">
+
+<table width=100%>
+ <tr>
+ <th class=listtop>$form->{title}</th>
+ </tr>
+ <tr height="5"></tr>
+ <tr>
+ <td>
+ <table>
+|;
+
+ if ($form->{report} eq "income_statement") {
+ print qq|
+ <input type=hidden name=nextsub value=generate_income_statement>
+ <tr>
+ <th align=right>|.$locale->text('From').qq|</th>
+ <td><input name=fromdate size=11 title="$myconfig{dateformat}" value=$form->{fromdate}></td>
+ <th align=right>|.$locale->text('to').qq|</th>
+ <td><input name=todate size=11 title="$myconfig{dateformat}"></td>
+ </tr>
+ <tr>
+ <th colspan=4>|.$locale->text('Compare to').qq|</th>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('From').qq|</th>
+ <td><input name=comparefromdate size=11 title="$myconfig{dateformat}"></td>
+ <th align=right>|.$locale->text('to').qq|</th>
+ <td><input name=comparetodate size=11 title="$myconfig{dateformat}"></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Decimalplaces').qq|</th>
+ <td><input name=decimalplaces size=3 maxsize=1></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <table>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Include in Report').qq|</th>
+ <td colspan=3><input name=l_heading class=checkbox type=checkbox value=Y>&nbsp;|.$locale->text('Heading').qq|</td>
+ <td><input name=l_subtotal class=checkbox type=checkbox value=Y>&nbsp;|.$locale->text('Subtotal').qq|</td>
+ </tr>
+|;
+ }
+
+
+ if ($form->{report} eq "balance_sheet") {
+ print qq|
+ <input type=hidden name=nextsub value=generate_balance_sheet>
+ <tr>
+ <th align=right>|.$locale->text('as at').qq|</th>
+ <td><input name=asofdate size=11 title="$myconfig{dateformat}" value=$form->{asofdate}></td>
+ <th align=right nowrap>|.$locale->text('Compare to').qq|</th>
+ <td><input name=compareasofdate size=11 title="$myconfig{dateformat}"></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Decimalplaces').qq|</th>
+ <td><input name=decimalplaces size=3 maxsize=1></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <table>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Include in Report').qq|</th>
+ <td><input name=l_heading class=checkbox type=checkbox value=Y>&nbsp;|.$locale->text('Heading').qq|</td>
+ <td><input name=l_subtotal class=checkbox type=checkbox value=Y>&nbsp;|.$locale->text('Subtotal').qq|</td>
+ </tr>
+|;
+ }
+
+
+ if ($form->{report} eq "trial_balance") {
+ print qq|
+ <input type=hidden name=nextsub value=generate_trial_balance>
+ <tr>
+ <th align=right>|.$locale->text('From').qq|</th>
+ <td><input name=fromdate size=11 title="$myconfig{dateformat}" value=$form->{fromdate}></td>
+ <th align=right>|.$locale->text('to').qq|</th>
+ <td><input name=todate size=11 title="$myconfig{dateformat}"></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <table>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Include in Report').qq|</th>
+ <td><input name=l_heading class=checkbox type=checkbox value=Y>&nbsp;|.$locale->text('Heading').qq|
+ <input name=l_subtotal class=checkbox type=checkbox value=Y>&nbsp;|.$locale->text('Subtotal').qq|</td>
+ </tr>
+|;
+ }
+
+
+ if (($form->{report} eq "tax_paid") || ($form->{report} eq "tax_collected")) {
+ $gifi = "";
+
+ $form->{db} = ($form->{report} eq "tax_collected") ? "ar" : "ap";
+
+ RP->get_taxaccounts(\%myconfig, \%$form);
+
+ print qq|
+ <input type=hidden name=nextsub value=generate_tax_report>
+ <tr>
+ <th align=right>|.$locale->text('From').qq|</th>
+ <td><input name=fromdate size=11 title="$myconfig{dateformat}" value=$form->{fromdate}></td>
+ <th align=right>|.$locale->text('to').qq|</th>
+ <td><input name=todate size=11 title="$myconfig{dateformat}"></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Cash based').qq|</th>
+ <td><input name=cashbased class=checkbox type=checkbox value=Y></td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('Report for').qq|</th>
+ <td>
+|;
+
+ $checked = "checked";
+ foreach $item (@{ $form->{taxaccounts} }) {
+ ($accno, $description) = split /--/, $item;
+
+ print qq|<input name=accno class=radio type=radio value=$accno $checked>&nbsp;$description
+
+ <input name="${accno}_description" type=hidden value="$description">|;
+
+ $checked = "";
+ }
+
+ print qq|
+ <input type=hidden name=db value=$form->{db}>
+ <input type=hidden name=sort value=transdate>
+
+ </td>
+ </tr>
+|;
+
+
+ if (@{ $form->{gifi_taxaccounts} }) {
+ print qq|
+ <tr>
+ <th align=right>|.$locale->text('GIFI').qq|</th>
+ <td>
+|;
+
+ foreach $item (@{ $form->{gifi_taxaccounts} }) {
+ ($accno, $description) = split /--/, $item;
+
+ print qq|<input name=accno class=radio type=radio value="gifi_$accno" $checked>&nbsp;$description
+
+ <input name="gifi_${accno}_description" type=hidden value="$description">|;
+
+ }
+
+ print qq|
+ </td>
+ </tr>
+|;
+ }
+
+
+print qq|
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <table>
+ <tr>
+ <th align=right>|.$locale->text('Include in Report').qq|</th>
+ <td>
+ <table>
+ <tr>
+ <td><input name="l_id" class=checkbox type=checkbox value=Y></td>
+ <td>|.$locale->text('ID').qq|</td>
+ <td><input name="l_invnumber" class=checkbox type=checkbox value=Y checked></td>
+ <td>|.$locale->text('Invoice').qq|</td>
+ <td><input name="l_transdate" class=checkbox type=checkbox value=Y checked></td>
+ <td>|.$locale->text('Date').qq|</td>
+ </tr>
+ <tr>
+ <td><input name="l_name" class=checkbox type=checkbox value=Y checked></td>
+ <td>|;
+
+ if ($form->{db} eq 'ar') {
+ print $locale->text('Customer');
+ }
+ if ($form->{db} eq 'ap') {
+ print $locale->text('Vendor');
+ }
+
+ print qq|</td>
+ <td><input name="l_netamount" class=checkbox type=checkbox value=Y checked></td>
+ <td>|.$locale->text('Amount').qq|</td>
+ <td><input name="l_tax" class=checkbox type=checkbox value=Y checked></td>
+ <td>|.$locale->text('Tax').qq|</td>
+ <td><input name="l_amount" class=checkbox type=checkbox value=Y></td>
+ <td>|.$locale->text('Total').qq|</td>
+ </tr>
+ <tr>
+ <td><input name="l_subtotal" class=checkbox type=checkbox value=Y></td>
+ <td>|.$locale->text('Subtotal').qq|</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+|;
+
+ }
+
+
+ if (($form->{report} eq "ar_aging") || ($form->{report} eq "ap_aging")) {
+ $gifi = "";
+
+ if ($form->{report} eq 'ar_aging') {
+ $label = $locale->text('Customer');
+ $form->{vc} = 'customer';
+ } else {
+ $label = $locale->text('Vendor');
+ $form->{vc} = 'vendor';
+ }
+
+ $nextsub = "generate_$form->{report}";
+
+ # setup vc selection
+ $form->all_vc(\%myconfig, $form->{vc});
+
+ map { $vc .= "<option>$_->{name}--$_->{id}\n" } @{ $form->{"all_$form->{vc}"} };
+
+ $vc = ($vc) ? qq|<select name=$form->{vc}><option>\n$vc</select>| : qq|<input name=$form->{vc} size=35>|;
+
+ print qq|
+ <tr>
+ <th align=right>|.$locale->text($label).qq|</th>
+ <td>$vc</td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('to').qq|</th>
+ <td><input name=todate size=11 title="$myconfig{dateformat}"></td>
+ </tr>
+ <input type=hidden name=type value=statement>
+ <input type=hidden name=format value=html>
+ <input type=hidden name=media value=screen>
+
+ <input type=hidden name=nextsub value=$nextsub>
+ <input type=hidden name=action value=$nextsub>
+|;
+ }
+
+# above action can be removed if there is more than one input field
+
+
+ if (($form->{report} eq "receipts") || ($form->{report} eq "payments")) {
+ $gifi = "";
+
+ $form->{db} = ($form->{report} eq "receipts") ? "ar" : "ap";
+
+ RP->paymentaccounts(\%myconfig, \%$form);
+
+ $selection = "<option>\n";
+ foreach $ref (@{ $form->{PR} }) {
+ $paymentaccounts .= "$ref->{accno} ";
+ $selection .= "<option>$ref->{accno}--$ref->{description}\n";
+ }
+
+ chop $paymentaccounts;
+
+ print qq|
+ <input type=hidden name=nextsub value=list_payments>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Account').qq|</th>
+ <td colspan=3><select name=account>$selection</select>
+ <input type=hidden name=paymentaccounts value="$paymentaccounts">
+ </td>
+ </tr>
+ <tr>
+ <th align=right>|.$locale->text('From').qq|</th>
+ <td><input name=fromdate size=11 title="$myconfig{dateformat}" value=$form->{fromdate}></td>
+ <th align=right>|.$locale->text('to').qq|</th>
+ <td><input name=todate size=11 title="$myconfig{dateformat}"></td>
+ </tr>
+ <input type=hidden name=db value=$form->{db}>
+ <input type=hidden name=sort value=transdate>
+|;
+
+ }
+
+
+ print qq|
+
+$gifi
+
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td><hr size=3 noshade></td>
+ </tr>
+</table>
+
+<br>
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=login value=$form->{login}>
+<input type=hidden name=password value=$form->{password}>
+
+<input type=submit class=submit name=action value="|.$locale->text('Continue').qq|">
+
+</form>
+
+</body>
+</html>
+|;
+
+}
+
+
+sub continue { &{$form->{nextsub}} };
+
+
+sub generate_income_statement {
+
+ $form->{padding} = "&nbsp;&nbsp;";
+ $form->{bold} = "<b>";
+ $form->{endbold} = "</b>";
+ $form->{br} = "<br>";
+
+ RP->income_statement(\%myconfig, \%$form);
+
+
+ $form->{period} = $locale->date(\%myconfig, $form->current_date(\%myconfig), 1);
+ $form->{todate} = $form->current_date(\%myconfig) unless $form->{todate};
+
+ # if there are any dates construct a where
+ if ($form->{fromdate} || $form->{todate}) {
+
+ unless ($form->{todate}) {
+ $form->{todate} = $form->current_date(\%myconfig);
+ }
+
+ $longtodate = $locale->date(\%myconfig, $form->{todate}, 1);
+ $shorttodate = $locale->date(\%myconfig, $form->{todate});
+
+ $longfromdate = $locale->date(\%myconfig, $form->{fromdate}, 1);
+ $shortfromdate = $locale->date(\%myconfig, $form->{fromdate});
+
+ $form->{this_period} = "$shortfromdate<br>\n$shorttodate";
+ $form->{period} = $locale->text('for Period').qq|<br>\n$longfromdate |.$locale->text('to').qq| $longtodate|;
+ }
+
+ if ($form->{comparefromdate} || $form->{comparetodate}) {
+ $longcomparefromdate = $locale->date(\%myconfig, $form->{comparefromdate}, 1);
+ $shortcomparefromdate = $locale->date(\%myconfig, $form->{comparefromdate});
+
+ $longcomparetodate = $locale->date(\%myconfig, $form->{comparetodate}, 1);
+ $shortcomparetodate = $locale->date(\%myconfig, $form->{comparetodate});
+
+ $form->{last_period} = "$shortcomparefromdate<br>\n$shortcomparetodate";
+ $form->{period} .= "<br>\n$longcomparefromdate ".$locale->text('to').qq| $longcomparetodate|;
+ }
+
+
+ # setup variables for the form
+ @a = qw(company address businessnumber);
+ map { $form->{$_} = $myconfig{$_} } @a;
+ $form->{address} =~ s/\\n/<br>/g;
+
+ $form->{templates} = $myconfig{templates};
+
+ $form->{IN} = "income_statement.html";
+
+ $form->parse_template;
+
+}
+
+
+sub generate_balance_sheet {
+
+ $form->{padding} = "&nbsp;&nbsp;";
+ $form->{bold} = "<b>";
+ $form->{endbold} = "</b>";
+ $form->{br} = "<br>";
+
+ RP->balance_sheet(\%myconfig, \%$form);
+
+ $form->{asofdate} = $form->current_date(\%myconfig) unless $form->{asofdate};
+ $form->{period} = $locale->date(\%myconfig, $form->current_date(\%myconfig), 1);
+
+ # define Retained Earnings account
+ $padding = ($form->{l_heading}) ? $form->{padding} : "";
+ push(@{$form->{equity_account}}, $padding.$locale->text('Retained Earnings'));
+
+ $form->{this_period} = $locale->date(\%myconfig, $form->{asofdate});
+ $form->{last_period} = $locale->date(\%myconfig, $form->{compareasofdate});
+
+ $form->{IN} = "balance_sheet.html";
+
+ # setup company variables for the form
+ map { $form->{$_} = $myconfig{$_} } (qw(company address businessnumber nativecurr));
+ $form->{address} =~ s/\\n/<br>/g;
+
+ $form->{templates} = $myconfig{templates};
+
+ $form->parse_template;
+
+}
+
+
+# Antonio Gallardo
+#
+# D.S. Feb 16, 2001
+# included links to display transactions for period entered
+# added headers and subtotals
+#
+sub generate_trial_balance {
+
+ # get for each account initial balance, debits and credits
+ RP->trial_balance_details(\%myconfig, \%$form);
+
+ $form->{nextsub} = "generate_trial_balance";
+ $form->{title} = $locale->text('Trial Balance');
+ &list_accounts;
+
+}
+
+
+sub list_accounts {
+
+ $title = $form->escape($form->{title});
+
+ if ($form->{projectnumber}) {
+ $options .= $locale->text('Project Number')." : $form->{projectnumber}<br>";
+ $projectnumber = $form->escape($form->{projectnumber});
+ }
+
+ # if there are any dates
+ if ($form->{fromdate} || $form->{todate}) {
+ if ($form->{fromdate}) {
+ $fromdate = $locale->date(\%myconfig, $form->{fromdate}, 1);
+ }
+ if ($form->{todate}) {
+ $todate = $locale->date(\%myconfig, $form->{todate}, 1);
+ }
+
+ $form->{period} = "$fromdate - $todate";
+ } else {
+ $form->{period} = $locale->date(\%myconfig, $form->current_date(\%myconfig), 1);
+ }
+
+ $options .= $form->{period};
+
+ @column_index = qw(accno description begbalance debit credit endbalance);
+
+ $column_header{accno} = qq|<th class=listheading>|.$locale->text('Account').qq|</th>|;
+ $column_header{description} = qq|<th class=listheading>|.$locale->text('Description').qq|</th>|;
+ $column_header{debit} = qq|<th class=listheading>|.$locale->text('Debit').qq|</th>|;
+ $column_header{credit} = qq|<th class=listheading>|.$locale->text('Credit').qq|</th>|;
+ $column_header{begbalance} = qq|<th class=listheading>|.$locale->text('Balance').qq|</th>|;
+ $column_header{endbalance} = qq|<th class=listheading>|.$locale->text('Balance').qq|</th>|;
+
+
+ if ($form->{accounttype} eq 'gifi') {
+ $column_header{accno} = qq|<th class=listheading>|.$locale->text('GIFI').qq|</th>|;
+ }
+
+
+ $form->header;
+
+ print qq|
+<body>
+
+<table width=100%>
+ <tr>
+ <th class=listtop>$form->{title}</th>
+ </tr>
+ <tr height="5"></tr>
+ <tr>
+ <td>$options</td>
+ </tr>
+ <tr>
+ <td>
+ <table width=100%>
+ <tr>|;
+
+ map { print "$column_header{$_}\n" } @column_index;
+
+ print qq|
+ </tr>
+|;
+
+
+
+ # sort the whole thing by account numbers and display
+ foreach $ref (sort { $a->{accno} cmp $b->{accno} } @{ $form->{TB} }) {
+
+ $description = $form->escape($ref->{description});
+
+ $href = qq|ca.pl?path=$form->{path}&action=list_transactions&accounttype=$form->{accounttype}&login=$form->{login}&password=$form->{password}&fromdate=$form->{fromdate}&todate=$form->{todate}&sort=transdate&l_heading=$form->{l_heading}&l_subtotal=$form->{l_subtotal}&projectnumber=$projectnumber&project_id=$form->{project_id}&title=$title&nextsub=$form->{nextsub}|;
+
+ if ($form->{accounttype} eq 'gifi') {
+ $href .= "&gifi_accno=$ref->{accno}&gifi_description=$description";
+ $na = $locale->text('N/A');
+ map { $ref->{$_} = $na } qw(accno description) unless $ref->{accno};
+ } else {
+ $href .= "&accno=$ref->{accno}&description=$description";
+ }
+
+ $ml = ($ref->{category} =~ /(A|E)/) ? -1 : 1;
+
+ $debit = $form->format_amount(\%myconfig, $ref->{debit}, 2, "&nbsp;");
+ $credit = $form->format_amount(\%myconfig, $ref->{credit}, 2, "&nbsp;");
+ $begbalance = $form->format_amount(\%myconfig, $ref->{balance} * $ml, 2, "&nbsp;");
+ $endbalance = $form->format_amount(\%myconfig, ($ref->{balance} + $ref->{amount}) * $ml, 2, "&nbsp;");
+
+ next if ($ref->{debit} == 0 && $ref->{credit} == 0);
+
+ if ($ref->{charttype} eq "H" && $subtotal && $form->{l_subtotal}) {
+ map { $column_data{$_} = "<th>&nbsp;</th>" } qw(accno begbalance endbalance);
+
+ $subtotalbegbalance = $form->format_amount(\%myconfig, $subtotalbegbalance, 2, "&nbsp;");
+ $subtotalendbalance = $form->format_amount(\%myconfig, $subtotalendbalance, 2, "&nbsp;");
+ $subtotaldebit = $form->format_amount(\%myconfig, $subtotaldebit, 2, "&nbsp;");
+ $subtotalcredit = $form->format_amount(\%myconfig, $subtotalcredit, 2, "&nbsp;");
+ $column_data{description} = "<th>$subtotaldescription</th>";
+ $column_data{begbalance} = "<th align=right>$subtotalbegbalance</th>";
+ $column_data{endbalance} = "<th align=right>$subtotalendbalance</th>";
+ $column_data{debit} = "<th align=right>$subtotaldebit</th>";
+ $column_data{credit} = "<th align=right>$subtotalcredit</th>";
+
+ print qq|
+ <tr class=listsubtotal>
+|;
+ map { print "$column_data{$_}\n" } @column_index;
+
+ print qq|
+ </tr>
+|;
+ }
+
+ if ($ref->{charttype} eq "H") {
+ $subtotal = 1;
+ $subtotaldescription = $ref->{description};
+ $subtotaldebit = $ref->{debit};
+ $subtotalcredit = $ref->{credit};
+ $subtotalbegbalance = 0;
+ $subtotalendbalance = 0;
+
+ next unless $form->{l_heading};
+
+ map { $column_data{$_} = "<th>&nbsp;</th>" } qw(accno debit credit begbalance endbalance);
+ $column_data{description} = "<th class=listheading>$ref->{description}</th>";
+ }
+
+ if ($ref->{charttype} eq "A") {
+ $column_data{accno} = "<td><a href=$href>$ref->{accno}</a></td>";
+ $column_data{description} = "<td>$ref->{description}</td>";
+ $column_data{debit} = "<td align=right>$debit</td>";
+ $column_data{credit} = "<td align=right>$credit</td>";
+ $column_data{begbalance} = "<td align=right>$begbalance</td>";
+ $column_data{endbalance} = "<td align=right>$endbalance</td>";
+
+ $totaldebit += $ref->{debit};
+ $totalcredit += $ref->{credit};
+
+ $subtotalbegbalance += $ref->{balance} * $ml;
+ $subtotalendbalance += ($ref->{balance} + $ref->{amount}) * $ml;
+
+ }
+
+ if ($ref->{charttype} eq "H") {
+ print qq|
+ <tr class=listheading>
+|;
+ }
+ if ($ref->{charttype} eq "A") {
+ $i++; $i %= 2;
+ print qq|
+ <tr class=listrow$i>
+|;
+ }
+
+ map { print "$column_data{$_}\n" } @column_index;
+
+ print qq|
+ </tr>
+|;
+ }
+
+
+ # print last subtotal
+ if ($subtotal && $form->{l_subtotal}) {
+ map { $column_data{$_} = "<th>&nbsp;</th>" } qw(accno begbalance endbalance);
+ $subtotalbegbalance = $form->format_amount(\%myconfig, $subtotalbegbalance, 2, "&nbsp;");
+ $subtotalendbalance = $form->format_amount(\%myconfig, $subtotalendbalance, 2, "&nbsp;");
+ $subtotaldebit = $form->format_amount(\%myconfig, $subtotaldebit, 2, "&nbsp;");
+ $subtotalcredit = $form->format_amount(\%myconfig, $subtotalcredit, 2, "&nbsp;");
+ $column_data{description} = "<th>$subdescription</th>";
+ $column_data{begbalance} = "<th align=right>$subtotalbegbalance</th>";
+ $column_data{endbalance} = "<th align=right>$subtotalendbalance</th>";
+ $column_data{debit} = "<th align=right>$subtotaldebit</th>";
+ $column_data{credit} = "<th align=right>$subtotalcredit</th>";
+
+ print qq|
+ <tr class=listsubtotal>
+|;
+ map { print "$column_data{$_}\n" } @column_index;
+
+ print qq|
+ </tr>
+|;
+ }
+
+ $totaldebit = $form->format_amount(\%myconfig, $totaldebit, 2, "&nbsp;");
+ $totalcredit = $form->format_amount(\%myconfig, $totalcredit, 2, "&nbsp;");
+
+ map { $column_data{$_} = "<th>&nbsp;</th>" } qw(accno description begbalance endbalance);
+
+ $column_data{debit} = qq|<th align=right class=listtotal>$totaldebit</th>|;
+ $column_data{credit} = qq|<th align=right class=listtotal>$totalcredit</th>|;
+
+ print qq|
+ <tr class=listtotal>
+|;
+
+ map { print "$column_data{$_}\n" } @column_index;
+
+ print qq|
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td><hr size=3 noshade></td>
+ </tr>
+</table>
+
+</body>
+</html>
+|;
+
+}
+
+
+
+sub generate_ar_aging {
+
+ # split customer
+ ($form->{customer}) = split(/--/, $form->{customer});
+
+ $form->{ct} = "customer";
+ $form->{arap} = "ar";
+
+ $form->{callback} = qq|$form->{script}?path=$form->{path}&action=generate_ar_aging&login=$form->{login}&password=$form->{password}&todate=$form->{todate}&customer=|.$form->escape($form->{customer});
+
+ RP->aging(\%myconfig, \%$form);
+ &aging;
+
+}
+
+
+sub generate_ap_aging {
+
+ # split vendor
+ ($form->{vendor}) = split(/--/, $form->{vendor});
+
+ $form->{ct} = "vendor";
+ $form->{arap} = "ap";
+
+ $form->{callback} = qq|$form->{script}?path=$form->{path}&action=generate_ap_aging&login=$form->{login}&password=$form->{password}&todate=$form->{todate}&vendor=|.$form->escape($form->{vendor});
+
+ RP->aging(\%myconfig, \%$form);
+ &aging;
+
+}
+
+
+sub aging {
+
+
+ $form->header;
+
+ $column_header{statement} = qq|<th class=listheading>&nbsp;</th>|;
+ $column_header{ct} = qq|<th class=listheading>|.$locale->text(ucfirst $form->{ct}).qq|</th>|;
+ $column_header{invnumber} = qq|<th class=listheading>|.$locale->text('Invoice').qq|</th>|;
+ $column_header{transdate} = qq|<th class=listheading>|.$locale->text('Date').qq|</th>|;
+ $column_header{duedate} = qq|<th class=listheading>|.$locale->text('Due').qq|</th>|;
+ $column_header{c0} = qq|<th class=listheading>|.$locale->text('Current').qq|</th>|;
+ $column_header{c30} = qq|<th class=listheading>30</th>|;
+ $column_header{c60} = qq|<th class=listheading>60</th>|;
+ $column_header{c90} = qq|<th class=listheading>90</th>|;
+
+ @column_index = (qw(statement ct invnumber transdate duedate c0 c30 c60 c90));
+
+
+ if ($form->{arap} eq 'ar') {
+ if ($form->{customer}) {
+ $option .= "\n<br>" if $option;
+ $option .= $form->{customer};
+ }
+ }
+ if ($form->{arap} eq 'ap') {
+ shift @column_index;
+ if ($form->{vendor}) {
+ $option .= "\n<br>" if $option;
+ $option .= $form->{vendor};
+ }
+ }
+
+ $todate = $locale->date(\%myconfig, $form->{todate}, 1);
+ $option .= "\n<br>" if $option;
+ $option .= $locale->text('for Period')." ".$locale->text('to')." $todate";
+
+ print qq|
+<body>
+
+<form method=post action=$form->{script}>
+
+<table width=100%>
+ <tr>
+ <th class=listtop>$form->{title}</th>
+ </tr>
+ <tr height="5"></tr>
+ <tr>
+ <td>$option</td>
+ </tr>
+ <tr>
+ <td>
+ <table width=100%>
+ <tr class=listheading>
+|;
+
+ map { print "$column_header{$_}\n" } @column_index;
+
+ print qq|
+ </tr>
+|;
+
+
+ $ctid = 0;
+ $subtotal = 0;
+ $i = 0;
+
+ foreach $ref (@{ $form->{AG} }) {
+
+ if ($ctid != $ref->{ctid}) {
+
+ $i++;
+
+ if ($subtotal) {
+ $c0subtotal = $form->format_amount(\%myconfig, $c0subtotal, 2, "&nbsp");
+ $c30subtotal = $form->format_amount(\%myconfig, $c30subtotal, 2, "&nbsp");
+ $c60subtotal = $form->format_amount(\%myconfig, $c60subtotal, 2, "&nbsp");
+ $c90subtotal = $form->format_amount(\%myconfig, $c90subtotal, 2, "&nbsp");
+ }
+
+ $column_data{ct} = qq|<th>&nbsp;</th>|;
+ $column_data{invnumber} = qq|<th>&nbsp;</th>|;
+ $column_data{transdate} = qq|<th>&nbsp;</th>|;
+ $column_data{duedate} = qq|<th>&nbsp;</th>|;
+ $column_data{c0} = qq|<th class=listsubtotal align=right>$c0subtotal</th>|;
+ $column_data{c30} = qq|<th class=listsubtotal align=right>$c30subtotal</th>|;
+ $column_data{c60} = qq|<th class=listsubtotal align=right>$c60subtotal</th>|;
+ $column_data{c90} = qq|<th class=listsubtotal align=right>$c90subtotal</th>|;
+
+ if ($subtotal) {
+ # print subtotals
+ print qq|
+ <tr class=listsubtotal>
+|;
+
+ map { print "$column_data{$_}\n" } @column_index;
+
+ $column_data{statement} = qq|<td>&nbsp;</td>|;
+
+ print qq|
+ </tr>
+|;
+ }
+
+ $subtotal = 1;
+
+ $c0subtotal = 0;
+ $c30subtotal = 0;
+ $c60subtotal = 0;
+ $c90subtotal = 0;
+
+ $column_data{ct} = qq|<td>$ref->{name}</td>|;
+ $column_data{statement} = qq|<td><input name="statement_$i" type=checkbox class=checkbox value=1 $ref->{checked}>
+ <input type=hidden name="$form->{ct}_id_$i" value=$ref->{ctid}>
+ </td>|;
+ }
+
+ $c0subtotal += $ref->{c0};
+ $c30subtotal += $ref->{c30};
+ $c60subtotal += $ref->{c60};
+ $c90subtotal += $ref->{c90};
+
+ $c0total += $ref->{c0};
+ $c30total += $ref->{c30};
+ $c60total += $ref->{c60};
+ $c90total += $ref->{c90};
+
+ $ref->{c0} = $form->format_amount(\%myconfig, $ref->{c0}, 2, "&nbsp;");
+ $ref->{c30} = $form->format_amount(\%myconfig, $ref->{c30}, 2, "&nbsp;");
+ $ref->{c60} = $form->format_amount(\%myconfig, $ref->{c60}, 2, "&nbsp;");
+ $ref->{c90} = $form->format_amount(\%myconfig, $ref->{c90}, 2, "&nbsp;");
+
+ $href = qq|$ref->{module}.pl?path=$form->{path}&action=edit&id=$ref->{id}&login=$form->{login}&password=$form->{password}&callback=|.$form->escape($form->{callback});
+
+ $column_data{invnumber} = qq|<td><a href=$href>$ref->{invnumber}</a></td>|;
+ $column_data{transdate} = qq|<td>$ref->{transdate}</td>|;
+ $column_data{duedate} = qq|<td>$ref->{duedate}&nbsp;</td>|;
+ $column_data{c0} = qq|<td align=right>$ref->{c0}</td>|;
+ $column_data{c30} = qq|<td align=right>$ref->{c30}</td>|;
+ $column_data{c60} = qq|<td align=right>$ref->{c60}</td>|;
+ $column_data{c90} = qq|<td align=right>$ref->{c90}</td>|;
+
+ $j++; $j %= 2;
+ print qq|
+ <tr class=listrow$j>
+|;
+
+ map { print "$column_data{$_}\n" } @column_index;
+
+ print qq|
+ </tr>
+|;
+
+ $column_data{ct} = qq|<td>&nbsp;</td>|;
+ $column_data{statement} = qq|<td>&nbsp;</td>|;
+
+ $ctid = $ref->{ctid};
+
+ }
+
+ # print subtotals
+ $c0subtotal = $form->format_amount(\%myconfig, $c0subtotal, 2, "&nbsp;");
+ $c30subtotal = $form->format_amount(\%myconfig, $c30subtotal, 2, "&nbsp;");
+ $c60subtotal = $form->format_amount(\%myconfig, $c60subtotal, 2, "&nbsp;");
+ $c90subtotal = $form->format_amount(\%myconfig, $c90subtotal, 2, "&nbsp;");
+
+ print qq|
+ <tr class=listsubtotal>
+|;
+
+ map { $column_data{$_} = qq|<th>&nbsp;</th>| } @column_index;
+
+ $column_data{c0} = qq|<th class=listsubtotal align=right>$c0subtotal</th>|;
+ $column_data{c30} = qq|<th class=listsubtotal align=right>$c30subtotal</th>|;
+ $column_data{c60} = qq|<th class=listsubtotal align=right>$c60subtotal</th>|;
+ $column_data{c90} = qq|<th class=listsubtotal align=right>$c90subtotal</th>|;
+
+ map { print "$column_data{$_}\n" } @column_index;
+
+
+ print qq|
+ </tr>
+ <tr class=listtotal>
+|;
+
+ $c0total = $form->format_amount(\%myconfig, $c0total, 2, "&nbsp;");
+ $c30total = $form->format_amount(\%myconfig, $c30total, 2, "&nbsp;");
+ $c60total = $form->format_amount(\%myconfig, $c60total, 2, "&nbsp;");
+ $c90total = $form->format_amount(\%myconfig, $c90total, 2, "&nbsp;");
+
+ $column_data{c0} = qq|<th class=listtotal align=right>$c0total</th>|;
+ $column_data{c30} = qq|<th class=listtotal align=right>$c30total</th>|;
+ $column_data{c60} = qq|<th class=listtotal align=right>$c60total</th>|;
+ $column_data{c90} = qq|<th class=listtotal align=right>$c90total</th>|;
+
+
+ map { print "$column_data{$_}\n" } @column_index;
+
+
+ print qq|
+ <input type=hidden name=rowcount value=$i>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>
+|;
+
+ &print_options if ($form->{arap} eq 'ar');
+
+ print qq|
+ </td>
+ </tr>
+ <tr>
+ <td><hr size=3 noshade></td>
+ </tr>
+</table>
+|;
+
+ if ($form->{arap} eq 'ar') {
+ print qq|
+<input type=hidden name=todate value=$form->{todate}>
+
+<input type=hidden name=title value="$form->{title}">
+
+<input type=hidden name=arap value=$form->{arap}>
+<input type=hidden name=ct value=$form->{ct}>
+<input type=hidden name=$form->{ct} value="$form->{$form->{ct}}">
+
+<input type=hidden name=path value=$form->{path}>
+<input type=hidden name=login value=$form->{login}>
+<input type=hidden name=password value=$form->{password}>
+
+<br>
+<input class=submit type=submit name=action value="|.$locale->text('Select all').qq|">
+<input class=submit type=submit name=action value="|.$locale->text('Print').qq|">
+<input class=submit type=submit name=action value="|.$locale->text('E-mail').qq|">
+|;
+ }
+
+ print qq|
+</form>
+
+</body>
+</html>
+|;
+
+}
+
+
+sub select_all {
+
+ RP->aging(\%myconfig, \%$form);
+
+ map { $_->{checked} = "checked" } @{ $form->{AG} };
+
+ &aging;
+
+}
+
+
+sub print_options {
+
+ $form->{sendmode} = "attachment";
+ $form->{copies} = 2 unless $form->{copies};
+
+ $form->{PD}{$form->{type}} = "checked";
+ $form->{DF}{$form->{format}} = "checked";
+ $form->{OP}{$form->{media}} = "checked";
+ $form->{SM}{$form->{sendmode}} = "checked";
+
+
+ if ($form->{media} eq 'email') {
+ $email = qq|
+ <td><input class=radio type=radio name=sendmode value=attachment $form->{SM}{attachment}> |.$locale->text('Attachment')
+ .qq| <input class=radio type=radio name=sendmode value=inline $form->{SM}{inline}> |.$locale->text('In-line').qq|</td>
+|;
+ } else {
+ $screen = qq|
+ <td><input class=radio type=radio name=media value=screen $form->{OP}{screen}></td>
+ <td>|.$locale->text('Screen').qq|</td>
+|;
+ }
+
+ print qq|
+<table width=100%>
+ <tr valign=top>
+ <td><input class=radio type=radio name=type value=statement $form->{PD}{statement}></td><td>|.$locale->text('Statement').qq|</td>
+ <td><input class=radio type=radio name=format value=html $form->{DF}{html}></td>
+ <td>html</td>
+|;
+
+ if ($latex) {
+ print qq|
+ <td><input class=radio type=radio name=format value=postscript $form->{DF}{postscript}></td>
+ <td>|.$locale->text('Postscript').qq|</td>
+ <td><input class=radio type=radio name=format value=pdf $form->{DF}{pdf}></td>
+ <td>|.$locale->text('PDF').qq|</td>
+|;
+ }
+
+ print qq|
+ $screen
+|;
+
+ if ($screen) {
+ if ($myconfig{printer} && $latex) {
+ print qq|
+ <td><input class=radio type=radio name=media value=printer $form->{OP}{printer}></td>
+ <td>|.$locale->text('Printer')
+ .qq| (|.$locale->text('Copies')
+ .qq| <input name=copies size=2 value=$form->{copies}>)</td>
+|;
+ }
+ }
+
+ print qq|
+ $email
+ </tr>
+</table>
+|;
+
+}
+
+
+sub e_mail {
+
+ # get name and email addresses
+ for $i (1 .. $form->{rowcount}) {
+ if ($form->{"statement_$i"}) {
+ $form->{"$form->{ct}_id"} = $form->{"$form->{ct}_id_$i"};
+ RP->get_customer(\%myconfig, \%$form);
+ $selected = 1;
+ last;
+ }
+ }
+
+ $form->error($locale->text('Nothing selected!')) unless $selected;
+
+ if ($myconfig{admin}) {
+ $bcc = qq|
+ <th align=right nowrap=true>|.$locale->text('Bcc').qq|</th>
+ <td><input name=bcc size=30 value="$form->{bcc}"></td>
+|;
+ }
+
+ $title = $locale->text('E-mail Statement to')." $form->{$form->{ct}}";
+
+ $form->{media} = "email";
+
+ $form->header;
+
+ print qq|
+<body>
+
+<form method=post action=$form->{script}>
+
+<table width=100%>
+ <tr class=listtop>
+ <th class=listtop>$title</th>
+ </tr>
+ <tr height="5"></tr>
+ <tr>
+ <td>
+ <table width=100%>
+ <tr>
+ <th align=right nowrap>|.$locale->text('E-mail').qq|</th>
+ <td><input name=email size=30 value="$form->{email}"></td>
+ <th align=right nowrap>|.$locale->text('Cc').qq|</th>
+ <td><input name=cc size=30 value="$form->{cc}"></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|.$locale->text('Subject').qq|</th>
+ <td><input name=subject size=30 value="$form->{subject}"></td>
+ $bcc
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <table width=100%>
+ <tr>
+ <th align=left nowrap>|.$locale->text('Message').qq|</th>
+ </tr>
+ <tr>
+ <td><textarea name=message rows=15 cols=60 wrap=soft>$form->{message}</textarea></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>
+|;
+
+ &print_options;
+
+ map { delete $form->{$_} } qw(action email cc bcc subject message type sendmode format);
+
+ # save all other variables
+ foreach $key (keys %$form) {
+ $form->{$key} =~ s/"/&quot;/g;
+ print qq|<input type=hidden name=$key value="$form->{$key}">\n|;
+ }
+
+ print qq|
+ </td>
+ </tr>
+ <tr>
+ <td><hr size=3 noshade></td>
+ </tr>
+</table>
+
+<input type=hidden name=nextsub value=send_email>
+
+<br>
+<input name=action class=submit type=submit value="|.$locale->text('Continue').qq|">
+</form>
+
+</body>
+</html>
+|;
+
+}
+
+
+sub send_email {
+
+ $form->{OUT} = "$sendmail";
+
+ $form->{subject} = $locale->text('Statement').qq| - $form->{todate}| unless $form->{subject};
+
+ RP->aging(\%myconfig, \%$form);
+
+ $form->{"statement_1"} = 1;
+
+ &print_form;
+
+ $form->redirect($locale->text('Statement sent to')." $form->{$form->{ct}}");
+
+}
+
+
+
+sub print {
+
+ if ($form->{media} eq 'printer') {
+ $form->error($locale->text('Select postscript or PDF!')) if ($form->{format} !~ /(postscript|pdf)/);
+ }
+
+ for $i (1 .. $form->{rowcount}) {
+ if ($form->{"statement_$i"}) {
+ $form->{"$form->{ct}_id"} = $form->{"$form->{ct}_id_$i"};
+ $selected = 1;
+ last;
+ }
+ }
+
+ $form->error($locale->text('Nothing selected!')) unless $selected;
+
+
+ if ($form->{media} eq 'printer') {
+ $form->{OUT} = "| $myconfig{printer}";
+ $form->{"$form->{ct}_id"} = "";
+ } else {
+ $form->{"statement_1"} = 1;
+ }
+
+ RP->aging(\%myconfig, \%$form);
+
+ &print_form;
+
+ $form->redirect($locale->text('Statements sent to printer!')) if ($form->{media} eq 'printer');
+
+}
+
+
+sub print_form {
+
+ $form->{statementdate} = $locale->date(\%myconfig, $form->{todate}, 1);
+
+ $form->{templates} = "$myconfig{templates}";
+
+ # setup variables for the form
+ @a = qw(company address businessnumber tel fax);
+ map { $form->{$_} = $myconfig{$_} } @a;
+ $form->format_string(@a);
+
+ $form->{IN} = "$form->{type}.html";
+
+ if ($form->{format} eq 'postscript') {
+ $form->{postscript} = 1;
+ $form->{IN} =~ s/html$/tex/;
+ }
+ if ($form->{format} eq 'pdf') {
+ $form->{pdf} = 1;
+ $form->{IN} =~ s/html$/tex/;
+ }
+
+ $i = 0;
+ while (@{ $form->{AG} }) {
+
+ $ref = shift @{ $form->{AG} };
+
+ if ($ctid != $ref->{ctid}) {
+
+ $ctid = $ref->{ctid};
+ $i++;
+
+ if ($form->{"statement_$i"}) {
+
+ @a = (name, addr1, addr2, addr3, addr4, contact, "$form->{ct}phone", "$form->{ct}fax");
+ map { $form->{$_} = $ref->{$_} } @a;
+ $form->format_string(@a);
+
+ $form->{$form->{ct}} = $form->{name};
+ $form->{"$form->{ct}_id"} = $ref->{ctid};
+
+ map { $form->{$_} = () } qw(invnumber invdate duedate);
+ $form->{total} = 0;
+ foreach $item (qw(c0 c30 c60 c90)) {
+ $form->{$item} = ();
+ $form->{"${item}total"} = 0;
+ }
+
+ &statement_details($ref);
+
+ while ($ref) {
+
+ if (scalar (@{ $form->{AG} }) > 0) {
+ # one or more left to go
+ if ($ctid == $form->{AG}->[0]->{ctid}) {
+ $ref = shift @{ $form->{AG} };
+ &statement_details($ref);
+ # any more?
+ $ref = scalar (@{ $form->{AG} });
+ } else {
+ $ref = 0;
+ }
+ } else {
+ # set initial ref to 0
+ $ref = 0;
+ }
+
+ }
+
+ map { $form->{"${_}total"} = $form->format_amount(\%myconfig, $form->{"${_}total"}, 2) } (c0, c30, c60, c90, "");
+
+ $form->parse_template(\%myconfig, $userspath);
+
+ }
+ }
+ }
+
+}
+
+
+sub statement_details {
+ my ($ref) = @_;
+
+ push @{ $form->{invnumber} }, $ref->{invnumber};
+ push @{ $form->{invdate} }, $ref->{transdate};
+ push @{ $form->{duedate} }, $ref->{duedate};
+
+ foreach $item (qw(c0 c30 c60 c90)) {
+ $ref->{$item} = $form->round_amount($ref->{$item} / $ref->{exchangerate}, 2);
+ $form->{"${item}total"} += $ref->{$item};
+ $form->{total} += $ref->{$item};
+ push @{ $form->{$item} }, $form->format_amount(\%myconfig, $ref->{$item}, 2);
+ }
+
+}
+
+
+sub generate_tax_report {
+
+ RP->tax_report(\%myconfig, \%$form);
+
+ $descvar = "$form->{accno}_description";
+ $description = $form->escape($form->{$descvar});
+
+ # construct href
+ $href = "$form->{script}?path=$form->{path}&action=generate_tax_report&login=$form->{login}&password=$form->{password}&fromdate=$form->{fromdate}&todate=$form->{todate}&db=$form->{db}&accno=$form->{accno}&$descvar=$description";
+
+ # construct callback
+ $callback = $href;
+
+
+ @columns = $form->sort_columns(qw(id transdate invnumber name netamount tax amount));
+
+ foreach $item (@columns) {
+ if ($form->{"l_$item"} eq "Y") {
+ push @column_index, $item;
+
+ # add column to href and callback
+ $callback .= "&l_$item=Y";
+ $href .= "&l_$item=Y";
+ }
+ }
+
+ if ($form->{l_subtotal} eq 'Y') {
+ $callback .= "&l_subtotal=Y";
+ $href .= "&l_subtotal=Y";
+ }
+
+
+ # if there are any dates
+ if ($form->{fromdate} || $form->{todate}) {
+ if ($form->{fromdate}) {
+ $fromdate = $locale->date(\%myconfig, $form->{fromdate}, 1);
+ }
+ if ($form->{todate}) {
+ $todate = $locale->date(\%myconfig, $form->{todate}, 1);
+ }
+
+ $form->{period} = "$fromdate - $todate";
+ } else {
+ $form->{period} = $locale->date(\%myconfig, $form->current_date(\%myconfig), 1);
+ }
+
+ $form->{title} = $locale->text('GIFI')." - " if ($form->{accno} =~ /^gifi_/);
+ $form->{title} = qq|$form->{"$form->{accno}_description"} |;
+ if ($form->{db} eq 'ar') {
+ $form->{title} .= $locale->text('collected on sales');
+ $name = $locale->text('Customer');
+ $invoice = 'is.pl';
+ $arap = 'ar.pl';
+ }
+ if ($form->{db} eq 'ap') {
+ $form->{title} .= $locale->text('paid on purchases');
+ $name = $locale->text('Vendor');
+ $invoice = 'ir.pl';
+ $arap = 'ap.pl';
+ }
+
+
+ $column_header{id} = qq|<th><a class=listheading href=$href&sort=id>|.$locale->text('ID').qq|</th>|;
+ $column_header{invnumber} = qq|<th><a class=listheading href=$href&sort=invnumber>|.$locale->text('Invoice').qq|</th>|;
+ $column_header{transdate} = qq|<th><a class=listheading href=$href&sort=transdate>|.$locale->text('Date').qq|</th>|;
+ $column_header{netamount} = qq|<th class=listheading>|.$locale->text('Amount').qq|</th>|;
+ $column_header{tax} = qq|<th class=listheading>|.$locale->text('Tax').qq|</th>|;
+ $column_header{amount} = qq|<th class=listheading>|.$locale->text('Total').qq|</th>|;
+
+ $column_header{name} = qq|<th><a class=listheading href=$href&sort=name>$name</th>|;
+
+
+ $form->header;
+
+ print qq|
+<body>
+
+<table width=100%>
+ <tr>
+ <th class=listtop colspan=$colspan>$form->{title}</th>
+ </tr>
+ <tr height="5"></tr>
+ <tr>
+ <td>$form->{period}</td>
+ </tr>
+ <tr>
+ <td>
+ <table width=100%>
+ <tr class=listheading>
+|;
+
+ map { print "$column_header{$_}\n" } @column_index;
+
+ print qq|
+ </tr>
+|;
+
+ # add sort and escape callback
+ $callback = $form->escape($callback . "&sort=$form->{sort}");
+
+ if (@{ $form->{TR} }) {
+ $sameitem = $form->{TR}->[0]->{$form->{sort}};
+ }
+
+ foreach $ref (@{ $form->{TR} }) {
+
+ $module = ($ref->{invoice}) ? $invoice : $arap;
+
+ if ($form->{l_subtotal} eq 'Y') {
+ if ($sameitem ne $ref->{$form->{sort}}) {
+ &tax_subtotal;
+ $sameitem = $ref->{$form->{sort}};
+ }
+ }
+
+ $totalnetamount += $ref->{netamount};
+ $totaltax += $ref->{tax};
+ $ref->{amount} = $ref->{netamount} + $ref->{tax};
+
+ $subtotalnetamount += $ref->{netamount};
+ $subtotaltax += $ref->{tax};
+
+ map { $ref->{$_} = $form->format_amount(\%myconfig, $ref->{$_}, 2, "&nbsp;"); } qw(netamount tax amount);
+
+ $column_data{id} = qq|<td>$ref->{id}</td>|;
+ $column_data{invnumber} = qq|<td><a href=$module?path=$form->{path}&action=edit&id=$ref->{id}&login=$form->{login}&password=$form->{password}&callback=$callback>$ref->{invnumber}</a></td>|;
+ $column_data{transdate} = qq|<td>$ref->{transdate}</td>|;
+ $column_data{name} = qq|<td>$ref->{name}&nbsp;</td>|;
+
+ map { $column_data{$_} = qq|<td align=right>$ref->{$_}</td>| } qw(netamount tax amount);
+
+ $i++; $i %= 2;
+ print qq|
+ <tr class=listrow$i>
+|;
+
+ map { print "$column_data{$_}\n" } @column_index;
+
+ print qq|
+ </tr>
+|;
+
+ }
+
+ if ($form->{l_subtotal} eq 'Y') {
+ &tax_subtotal;
+ }
+
+
+ map { $column_data{$_} = qq|<th>&nbsp;</th>| } @column_index;
+
+ print qq|
+ </tr>
+ <tr class=listtotal>
+|;
+
+ $total = $form->format_amount(\%myconfig, $totalnetamount + $totaltax, 2, "&nbsp;");
+ $totalnetamount = $form->format_amount(\%myconfig, $totalnetamount, 2, "&nbsp;");
+ $totaltax = $form->format_amount(\%myconfig, $totaltax, 2, "&nbsp;");
+
+ $column_data{netamount} = qq|<th class=listtotal align=right>$totalnetamount</th>|;
+ $column_data{tax} = qq|<th class=listtotal align=right>$totaltax</th>|;
+ $column_data{amount} = qq|<th class=listtotal align=right>$total</th>|;
+
+ map { print "$column_data{$_}\n" } @column_index;
+
+
+ print qq|
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td><hr size=3 noshade></td>
+ </tr>
+</table>
+
+</body>
+</html>
+|;
+
+}
+
+
+sub tax_subtotal {
+
+ map { $column_data{$_} = "<td>&nbsp;</td>" } @column_index;
+
+ $subtotalnetamount = $form->format_amount(\%myconfig, $subtotalnetamount, 2, "&nbsp;");
+ $subtotaltax = $form->format_amount(\%myconfig, $subtotaltax, 2, "&nbsp;");
+ $subtotal = $form->format_amount(\%myconfig, $subtotalnetamount + $subtotaltax, 2, "&nbsp;");
+
+ $column_data{netamount} = "<th class=listsubtotal align=right>$subtotalnetamount</th>";
+ $column_data{tax} = "<th class=listsubtotal align=right>$subtotaltax</th>";
+ $column_data{amount} = "<th class=listsubtotal align=right>$subtotal</th>";
+
+ $subtotalnetamount = 0;
+ $subtotaltax = 0;
+
+ print qq|
+ <tr class=listsubtotal>
+|;
+ map { print "\n$column_data{$_}" } @column_index;
+
+ print qq|
+ </tr>
+|;
+
+}
+
+
+
+sub list_payments {
+
+ if ($form->{account}) {
+ ($form->{paymentaccounts}) = split /--/, $form->{account};
+ }
+
+ RP->payments(\%myconfig, \%$form);
+
+ @columns = $form->sort_columns(qw(transdate invnumber name paid source));
+
+ # construct href
+ $href = "$form->{script}?path=$form->{path}&action=list_payments&login=$form->{login}&password=$form->{password}&fromdate=$form->{fromdate}&todate=$form->{todate}&db=$form->{db}&title=".$form->escape($form->{title})."&account=".$form->escape($form->{account});
+
+ $form->{paymentaccounts} =~ s/ /%20/g;
+ $href .= "&paymentaccounts=$form->{paymentaccounts}";
+
+
+ # construct callback
+ $form->{callback} = "$href&sort=$form->{sort}";
+ $callback = $form->escape($form->{callback});
+
+
+ $column_header{name} = "<th><a class=listheading href=$href&sort=name>".$locale->text('Description')."</a></th>";
+ $column_header{invnumber} = "<th><a class=listheading href=$href&sort=invnumber>".$locale->text('Invoice')."</a></th>";
+ $column_header{transdate} = "<th><a class=listheading href=$href&sort=transdate>".$locale->text('Date')."</a></th>";
+ $column_header{paid} = "<th class=listheading>".$locale->text('Amount')."</a></th>";
+ $column_header{source} = "<th><a class=listheading href=$href&sort=source>".$locale->text('Source')."</a></th>";
+
+
+ if ($form->{fromdate}) {
+ $option .= "\n<br>" if ($option);
+ $option .= $locale->text('From')."&nbsp;".$locale->date(\%myconfig, $form->{fromdate}, 1);
+ }
+ if ($form->{todate}) {
+ $option .= "\n<br>" if ($option);
+ $option .= $locale->text('to')."&nbsp;".$locale->date(\%myconfig, $form->{todate}, 1);
+ }
+
+ @column_index = @columns;
+ $colspan = $#column_index + 1;
+
+ $form->header;
+
+ print qq|
+<body>
+
+<table width=100%>
+ <tr>
+ <th class=listtop>$form->{title}</th>
+ </tr>
+ <tr height="5"></tr>
+ <tr>
+ <td>$option</td>
+ </tr>
+ <tr>
+ <td>
+ <table width=100%>
+ <tr class=listheading>
+|;
+
+ map { print "\n$column_header{$_}" } @column_index;
+
+ print qq|
+ </tr>
+|;
+
+
+ foreach $ref (sort { $a->{accno} cmp $b->{accno} } @{ $form->{PR} }) {
+
+ print qq|
+ <tr>
+ <th colspan=$colspan align=left>$ref->{accno}--$ref->{description}</th>
+ </tr>
+|;
+
+ foreach $payment (@{ $form->{$ref->{id}} }) {
+
+ $module = $payment->{module};
+ $module = 'is' if ($payment->{invoice} && $payment->{module} eq 'ar');
+ $module = 'ir' if ($payment->{invoice} && $payment->{module} eq 'ap');
+
+ $href = qq|${module}.pl?path=$form->{path}&action=edit&id=$payment->{id}&login=$form->{login}&password=$form->{password}&callback=$callback|;
+
+
+ $column_data{name} = "<td>$payment->{name}&nbsp;</td>";
+ $column_data{invnumber} = qq|<td><a href=$href>$payment->{invnumber}</a></td>|;
+ $column_data{transdate} = "<td>$payment->{transdate}&nbsp;</td>";
+ $column_data{paid} = "<td align=right>".$form->format_amount(\%myconfig, $payment->{paid}, 2, "&nbsp;")."</td>";
+ $column_data{source} = "<td>$payment->{source}&nbsp;</td>";
+
+ $subtotalpaid += $payment->{paid};
+ $totalpaid += $payment->{paid};
+
+ $i++; $i %= 2;
+ print qq|
+ <tr class=listrow$i>
+|;
+
+ map { print "\n$column_data{$_}" } @column_index;
+
+ print qq|
+ </tr>
+|;
+
+ }
+
+ # print subtotals
+ map { $column_data{$_} = "<td>&nbsp;</td>" } @column_index;
+
+ $column_data{paid} = "<th class=listsubtotal align=right>".$form->format_amount(\%myconfig, $subtotalpaid, 2, "&nbsp;")."</th>";
+
+ print qq|
+ <tr class=listsubtotal>
+|;
+
+ map { print "\n$column_data{$_}" } @column_index;
+
+ print qq|
+ </tr>
+|;
+
+ $subtotalpaid = 0;
+
+ }
+
+
+ # print total
+ map { $column_data{$_} = "<td>&nbsp;</td>" } @column_index;
+
+ $column_data{paid} = "<th class=listtotal align=right>".$form->format_amount(\%myconfig, $totalpaid, 2, "&nbsp;")."</th>";
+
+ print qq|
+ <tr class=listtotal>
+|;
+
+ map { print "\n$column_data{$_}" } @column_index;
+
+ print qq|
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td><hr size=3 noshade></td>
+ </tr>
+</table>
+
+</body>
+</html>
+|;
+
+}
+
+
+
diff --git a/sql-ledger/css/sql-ledger.css b/sql-ledger/css/sql-ledger.css
new file mode 100644
index 0000000..20a59cf
--- /dev/null
+++ b/sql-ledger/css/sql-ledger.css
@@ -0,0 +1,113 @@
+/* stylesheet for sql-ledger */
+
+/* general stuff */
+A:link { color: #a0522d; text-decoration: none; }
+A:visited { color: #a0522d; text-decoration: none; }
+A:active { color: #a0522d; text-decoration: underline; }
+A:hover { color: white;
+ background-color: rgb(187,187,187);
+ text-decoration: none;
+}
+
+body {
+ font-family: Verdana, Arial, Helvetica;
+ font-size: 10pt;
+ background-color: white;
+ color: black
+}
+
+td {
+ font-family: Verdana, Arial, Helvetica;
+ font-size: 10pt;
+}
+
+/* login and admin */
+.login {
+ font-family: Verdana, Arial, Helvetica;
+}
+body.login {
+ background: #5a7d9b;
+ color: black;
+}
+h1.login {
+ font-size: 18pt;
+}
+table.login {
+ background-color: #FBFFE7;
+ padding: 20px;
+}
+td.login {
+ text-align: center;
+}
+th.login {
+ text-align: right;
+}
+
+body.admin {
+ background-color: #FBFFE7;
+ color: black;
+}
+
+body.menu {
+ background-color: #FBFFE7;
+ font-family: Verdana, Arial, Helvetica;
+ font-size: 10pt;
+ color: black;
+}
+
+
+.listtop { font-size: 10pt; background-color: black; color: white; }
+.listheading { font-size: 10pt; background-color: #336666; color: white; }
+A.listheading:link, A.listheading:active, A.listheading:visited {
+ color: white;
+ text-decoration: none; }
+.listrow1 { background-color: #e6e6fa; color: black; vertical-align: top; }
+.listrow0 { background-color: #ffe4e1; color: black; vertical-align: top; }
+.listsubtotal { font-size: 10pt; background-color: #5a7d9b; color: white; }
+.listtotal { font-size: 10pt; background-color: black; color: white; }
+
+.submit {
+ font-size: 12pt
+ font-family: Verdana, Arial, Helvetica;
+ color: #000080;
+}
+.checkbox, .radio {
+ font-family: Verdana, Arial, Helvetica;
+ color: #778899;
+}
+
+.plus0 { /* font color for negative numbers */
+ color: red;
+}
+
+.plus1 {
+ color: green;
+}
+
+h2.confirm {
+ color: blue;
+ font-size: 14pt;
+}
+
+h2.error {
+ color: red;
+ font-size: 14pt;
+}
+
+
+/* media stuff */
+
+@media screen {
+ .noscreen { /* items with this class won't display */
+ display: none;
+ }
+}
+
+@media print {
+ .noprint { /* items with this class won't print */
+ display: none;
+ }
+}
+
+
+
diff --git a/sql-ledger/doc/COPYING b/sql-ledger/doc/COPYING
new file mode 100644
index 0000000..083bb41
--- /dev/null
+++ b/sql-ledger/doc/COPYING
@@ -0,0 +1,355 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+<HEAD>
+<TITLE>GNU General Public License</TITLE>
+</HEAD>
+
+<BODY BGCOLOR=ffffff>
+
+
+<pre>
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+ 675 Mass Ave, Cambridge, MA 02139, USA
+
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.) You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+ Appendix: How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ &lt;one line to give the program's name and a brief idea of what it does.&gt;
+ Copyright (C) 19yy &lt;name of author&gt;
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) 19yy name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+ &lt;signature of Ty Coon&gt;, 1 April 1989
+ Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs. If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library. If this is what you want to do, use the GNU Library General
+Public License instead of this License.
+
+
+</BODY>
+</HTML>
+
diff --git a/sql-ledger/doc/README b/sql-ledger/doc/README
new file mode 100644
index 0000000..7585f53
--- /dev/null
+++ b/sql-ledger/doc/README
@@ -0,0 +1,287 @@
+ SQL-Ledger Accounting
+ Version 2.0
+
+
+DESCRIPTION:
+------------
+SQL-Ledger is a double-entry accounting program written
+in perl. It has been tested with PostgreSQL, Oracle,
+Apache, Netscape, Mozilla, Galeon, Explorer, Links, Lynx,
+Konqueror, Voyager, W3M and Opera clients on Linux, FreeBSD,
+Solaris, Windows and Mac computers.
+
+Data is stored in a SQL server, either locally or remote,
+the display is through a text or GUI web browser. The system
+is linked by a chart of accounts. All transactions for AR,
+AP and GL are stored in a transaction table. Hyper-links
+from the chart of accounts let you view transactions posted
+through AR, AP and GL.
+
+Configuration files let you specify to which SQL server
+to connect to, personal preferences such as company name,
+language, number and date format, etc.
+
+The admin script can be used to create, edit or delete users
+and to create and delete datasets and to setup the Chart
+of Accounts and templates needed for the system.
+It can be used for PostgreSQL and Oracle. If you want to
+use another SQL server the tables and chart of accounts
+must be created by hand.
+
+You can have a group of users using the same dataset and
+templates for generating Invoices, Income Statements and
+Balance Sheets or a different set altogether.
+
+Templates are supplied in html and tex format to generate
+most of the forms. Forms can be printed to screen, sent
+to a printer or to a mailer agent. To use the tex forms
+latex must be installed. Most systems have a latex binary
+installed by default. Latex is also available for Windows
+and the Mac so we stay compatible across all major platforms.
+
+
+COPYRIGHT:
+----------
+You may distribute under the terms of the GNU License.
+
+
+LATEST VERSION:
+---------------
+available from http://www.sql-ledger.org
+
+
+PLATFORMS:
+----------
+Non specific, see requirements.
+
+
+REQUIREMENTS:
+-------------
+1 - Perl, 5+
+2 - http server (Apache, NCSA, httpi, ...)
+3 - SQL Server with transaction support (PostgreSQL 7.0+, Oracle)
+4 - DBD (DBD-Pg, DBD-Oracle)
+5 - DBI
+6 - LaTeX (optional)
+
+
+FOREIGN LANGUAGE SUPPORT:
+-------------------------
+All the required files are in locale/country_code
+The main files are 'all' and 'missing'. You can enter
+translated strings in either file. When you are done
+run locales.pl from the command line to rebuild the
+required files.
+
+Some of the translation files are not 100% complete.
+If strings are missing, English is used instead.
+
+
+INSTALLATION:
+-------------
+unpack the tar.gz file in /usr/local
+
+ tar xzvf sql-ledger-x.x.x.tar.gz
+
+you should now have everything in /usr/local/sql-ledger
+
+copy sql-ledger.conf.default to sql-ledger.conf
+
+edit sql-ledger.conf
+
+create a file sql-ledger-httpd.conf in the same location
+where your httpd.conf is and copy the next section into the file
+
+ Alias /sql-ledger/ /usr/local/sql-ledger/
+ <Directory /usr/local/sql-ledger>
+ AddHandler cgi-script .pl
+ Options ExecCGI Includes FollowSymlinks
+ </Directory>
+
+ <Directory /usr/local/sql-ledger/users>
+ Order Deny,Allow
+ Deny from All
+ </Directory>
+
+edit httpd.conf and add
+
+ # SQL-Ledger
+ Include <ServerRoot>/sql-ledger-httpd.conf
+
+Note: Replace <ServerRoot> with the server's root directory!
+
+restart your web server.
+
+
+Note: /usr/local/sql-ledger is only a suggested
+path, you can install in any directory.
+
+
+INSTALLATION WITH setup.pl:
+---------------------------
+Make a directory
+
+ mkdir /usr/local/sql-ledger
+
+Copy setup.pl to /usr/local/sql-ledger
+
+run setup.pl as root and follow the prompts.
+
+Go to the next step, "PREPARE YOUR SQL SERVER".
+
+
+SET PERMISSION:
+---------------
+change directory to /usr/local/sql-ledger
+
+# chown nobody:nobody users templates
+
+replace nobody:nobody with the web server
+user of your system. Some systems use
+apache:apache, www, www-data, ...
+
+
+PREPARE YOUR SQL SERVER:
+------------------------
+
+ PostgreSQL:
+ -----------
+ add one database user with create database privileges
+ to manage the datasets and tables for SQL-Ledger
+
+ # su postgres
+ $ createuser -d sql-ledger
+
+ if you use passwords to access postgres set the user up with a password
+ $ createuser -d -P sql-ledger
+
+ Answer no to the following question.
+ Shall the new user be allowed to create more new users? (y/n) n
+
+ You can add more database users to keep datasets
+ separated. Each dataset belongs to one company.
+
+
+ ORACLE:
+ -------
+ add one user and one tablespace
+ all datasets share the same tablespace
+
+
+SETUP A DATABASE AND THE TABLES:
+--------------------------------
+Load your web browser and connect to
+http://localhost/sql-ledger/admin.pl
+
+Tables are created with the "Database
+Administration" function.
+
+Select the "Database Administration" link,
+enter a host, port and user you created in the
+previous step.
+
+The "Create Dataset" link queries the server
+for existing datasets and displays them in a
+column. Then you enter a name for the new
+dataset and select one of the Chart of Accounts
+and click on Continue.
+Your new dataset and the tables will be created
+and the selected Chart of Accounts loaded. The
+owner of the tables is the user you entered in
+the previous screen.
+
+NOTE: Be patient, some of the charts are really
+big and take some time to create.
+
+The "Delete Dataset" link queries the server
+for datasets which are in use by SQL-Ledger
+and are not used by any members. This may
+take a while to figure out. "Be patient".
+If there are any datasets not in use, you get
+a screen with the datasets listed where you
+can select the one you want to delete.
+
+NOTE: you cannot manage any other datasets
+from this interface, only the datasets used
+by SQL-Ledger.
+
+
+SETUP A USER:
+-------------
+Load your web browser and connect to
+http://localhost/sql-ledger/admin.pl
+
+Click on "Add User". In the Database
+section select the driver and enter
+the user you used to create the dataset.
+
+
+LOAD THE ACCOUNTING PROGRAM:
+----------------------------
+Load your web browser and connect to
+http://localhost/sql-ledger/login.pl
+
+
+UPGRADING TO A NEWER VERSION:
+-----------------------------
+1. unpack the new version over top
+2. check the doc directory for specific notes
+3. load admin.pl
+ click on "Database Administration"
+ enter the dba in the "Connect to" field
+ click on "Update Dataset"
+ select the datasets and click "Continue"
+
+
+UPGRADING WITH setup.pl:
+------------------------
+run setup.pl from the command line and follow
+the prompts.
+
+
+INSTALLATION CHECKLIST:
+-----------------------
+1. untar SL somewhere
+2. change permissions for the users and templates directory
+3. edit httpd.conf
+4. edit sql-ledger.conf
+5. a) add the database user sql-ledger in PostgreSQL
+ b) add a tablespace and the database user sql-ledger in Oracle
+6. load admin.pl
+7. create datasets for the companies
+8. add users
+
+ In the Database section enter
+
+ a) PostgreSQL
+
+ Host: for local connections leave empty
+ Dataset: the dataset created in step 7
+ Port: for local connections leave empty
+ User: sql-ledger
+ Password: password for sql-ledger
+
+ b) Oracle
+
+ SID: system ID
+ Port: the port Oracle is listening on
+ Dataset: the dataset created in step 7
+ Password: password for connection
+
+
+IF SOMETHING DOESN'T WORK:
+--------------------------
+There is a FAQ online which addresses various questions.
+see http://www.sql-ledger.org/misc/faq.html
+
+There are also several mailing lists at
+http://www.sql-ledger.org/misc/mailinglist.html
+where you can go for help.
+
+If you require support you can order online at
+http://www.sql-ledger.com/misc/support.html
+
+
+=====================================================================
+December 4, 2002
+
diff --git a/sql-ledger/doc/UPGRADE-1.6-1.8 b/sql-ledger/doc/UPGRADE-1.6-1.8
new file mode 100644
index 0000000..b5631b2
--- /dev/null
+++ b/sql-ledger/doc/UPGRADE-1.6-1.8
@@ -0,0 +1,61 @@
+Upgrading from version 1.6 to 1.8
+
+1. make a backup copy of your databases and SQL-Ledger, just in case!
+ $ cd /usr/local/www/sql-ledger
+ $ pg_dump database > db.out
+ $ tar cvf ~/sql-ledger.tar .
+
+2. install SQL-Ledger over top of your old installation
+ $ cd /usr/local/www
+ $ tar zxvf sql-ledger-1.8.0.tar.gz
+
+3. change the tables to the new layout
+ $ cd sql-ledger/sql
+ $ psql database < upgrade-1.6-1.8.sql
+
+4. copy the new master templates to your template directory
+ $ cd ../templates
+
+ $ cp Default-email_purchase_order.html your_template_dir/email_purchase_order.html
+ $ cp Default-purchase_order.html your_template_dir/purchase_order.html
+ $ cp Default-email_sales_order.html your_template_dir/email_sales_order.html
+ $ cp Default-sales_order.html your_template_dir/sales_order.html
+
+5. Two new accounts were hopefully added to your chart of accounts
+ One account for Foreign Exchange Gains and one for
+ Foreign Exchange Losses
+ edit and change to suit your COA. You can safely change
+ the account number too.
+
+6. Edit your preferences
+
+ In field 'Stylesheet' enter -> sql-ledger.css
+ Stylesheet is in the css directory
+
+ Add your foreign currencies in the Currencies field
+ The first currency in the list is your default
+ i.e CDN:USD:EUR:YEN
+ If you used a nativecurr than it should be listed in the
+ new currencies field.
+
+7. <%nativecurr%> has changed to <%currency%>
+ edit all your templates and change nativecurr to currency
+
+8. I also added four more variables which can be used in your templates.
+ <%contact%>, <%shiptocontact%>, <%shiptophone%>, <%shiptofax%>
+
+9. Nameing convention for templates has changed from an
+ underscore to a minus sign. If you designed your own
+ master templates rename the templates from
+ industry_invoice.html to industry-invoice.html,
+ industry_packing_list.html to industry-packing_list.html, etc.
+ The minus sign is used to separate the name and list them in
+ the setup screen.
+
+ This change only applies to the master templates in the
+ templates root directory NOT the individual templates which
+ are used by users.
+
+It looks more than it really is. Steps 1 to 4 are important,
+the rest is for fine tuning and info.
+
diff --git a/sql-ledger/doc/UPGRADE-1.8-1.8.3 b/sql-ledger/doc/UPGRADE-1.8-1.8.3
new file mode 100644
index 0000000..babed37
--- /dev/null
+++ b/sql-ledger/doc/UPGRADE-1.8-1.8.3
@@ -0,0 +1,23 @@
+Upgrading from version 1.8.(0-2) to 1.8.3
+
+1. install SQL-Ledger over top of your old installation
+ $ cd /usr/local
+ $ tar zxvf sql-ledger-1.8.3.tar.gz
+
+2. copy sql-ledger.conf.default to sql-ledger.conf
+ $ cp sql-ledger.conf.default sql-ledger.conf
+
+ if you modified sql-ledger.conf merge the changes from the
+ .default file rather than copying over top.
+
+3. copy the new master templates to your template directory
+ $ cd ../templates
+
+ $ cp Default-invoice.tex your_template_dir/invoice.tex
+ $ cp Default-packing_list.tex your_template_dir/packing_list.tex
+ $ cp Default-purchase_order.tex your_template_dir/purchase_order.tex
+ $ cp Default-sales_order.tex your_template_dir/sales_order.tex
+
+4. edit sql-ledger.conf
+ instructions are in the file
+
diff --git a/sql-ledger/doc/UPGRADE-1.8.3-1.8.4 b/sql-ledger/doc/UPGRADE-1.8.3-1.8.4
new file mode 100644
index 0000000..c3ecdf5
--- /dev/null
+++ b/sql-ledger/doc/UPGRADE-1.8.3-1.8.4
@@ -0,0 +1,10 @@
+Upgrading from version 1.8.3 to 1.8.4
+
+1. install SQL-Ledger over top of your old installation
+ $ cd /usr/local
+ $ tar zxvf sql-ledger-1.8.4.tar.gz
+
+2. update the tables with the admin script
+
+ You will not be able to log in until you upgraded the tables.
+
diff --git a/sql-ledger/doc/UPGRADE-1.8.4-1.8.5 b/sql-ledger/doc/UPGRADE-1.8.4-1.8.5
new file mode 100644
index 0000000..e8c32e1
--- /dev/null
+++ b/sql-ledger/doc/UPGRADE-1.8.4-1.8.5
@@ -0,0 +1,18 @@
+Upgrading from version 1.8.4 to 1.8.5
+
+1. install SQL-Ledger over top of your old installation
+ $ cd /usr/local
+ $ tar zxvf sql-ledger-1.8.5.tar.gz
+
+2. update the tables with the admin script
+
+ You will not be able to log in until you upgraded the tables.
+
+
+There are two new variables (<%customernumber%> and <%vendornumber%>)
+which can be used in the forms. These may be used instead of the
+internally generated customer_id and vendor_id.
+
+Typically these numbers are used to retrieve a customer, vendor
+by some ID. In most counter operations the phone number is used.
+
diff --git a/sql-ledger/doc/UPGRADE-1.8.5-1.8.7 b/sql-ledger/doc/UPGRADE-1.8.5-1.8.7
new file mode 100644
index 0000000..992238c
--- /dev/null
+++ b/sql-ledger/doc/UPGRADE-1.8.5-1.8.7
@@ -0,0 +1,6 @@
+Upgrading from version 1.8.5 to 1.8.7
+
+1. install SQL-Ledger over top of your old installation
+ $ cd /usr/local
+ $ tar zxvf sql-ledger-1.8.7.tar.gz
+
diff --git a/sql-ledger/doc/UPGRADE-1.8.7-2.0.0 b/sql-ledger/doc/UPGRADE-1.8.7-2.0.0
new file mode 100644
index 0000000..e16ba75
--- /dev/null
+++ b/sql-ledger/doc/UPGRADE-1.8.7-2.0.0
@@ -0,0 +1,20 @@
+Upgrading to Version 2.0.0
+
+1. install SQL-Ledger over top of your old installation
+ $ cd /usr/local
+ $ tar zxvf sql-ledger-2.0.0.tar.gz
+
+2. load admin.pl and update the tables
+
+ You will not be able to log in until the tables are up to date.
+
+3. copy the new templates to your personal template directory
+
+ $ cd templates
+ $ cp Default-check.tex dir/check.tex
+ $ cp Default-receipt.tex dir/receipt.tex
+ $ cp Default-statement.html dir/statement.html
+ $ cp Default-statement.tex dir/statement.tex
+
+ replace 'dir' with your directory name
+
diff --git a/sql-ledger/doc/UPGRADE-2.0-2.0.8 b/sql-ledger/doc/UPGRADE-2.0-2.0.8
new file mode 100644
index 0000000..6ddff62
--- /dev/null
+++ b/sql-ledger/doc/UPGRADE-2.0-2.0.8
@@ -0,0 +1,8 @@
+Upgrading from version 2.0.[0-7] to 2.0.8
+
+1. install SQL-Ledger over top of your old installation
+ $ cd /usr/local
+ $ tar zxvf sql-ledger-2.0.8.tar.gz
+
+2. update your datasets with the admin script
+
diff --git a/sql-ledger/doc/copyright b/sql-ledger/doc/copyright
new file mode 100644
index 0000000..d493a3d
--- /dev/null
+++ b/sql-ledger/doc/copyright
@@ -0,0 +1,23 @@
+######################################################################
+# SQL-Ledger Accounting
+# Copyright (c) 2003, Dieter Simader
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+#######################################################################
+
diff --git a/sql-ledger/doc/faq.html b/sql-ledger/doc/faq.html
new file mode 100644
index 0000000..0f6f237
--- /dev/null
+++ b/sql-ledger/doc/faq.html
@@ -0,0 +1,747 @@
+<ul>
+<p><li><h4>Sub-menus and Apache 2.0</h4>
+Some versions of Apache 2.0 (2.0.44+) don't expand sub-menus and generate
+a 500 error at various points. This stems from workaround developed for
+earlier versions of Apache 2.0. It looks like this workaround must now be
+disabled. If you get an error or the sub-menus don't expand edit
+SL/Form.pm and comment lines 80-82.
+<pre>
+ # for Apache 2 we escape strings twice
+# if (($ENV{SERVER_SOFTWARE} =~ /Apache\/2/) && !$beenthere) {
+# $str = $self->escape($str, 1);
+# }
+</pre>
+
+
+<p><li><h4>About installation</h4>
+The easiest is to use the setup.pl script as root.
+You don't need to know very much about your system, just login as root,
+run 'perl setup.pl' and follow the prompts.
+<p>setup.pl does not check for missing software packages and it is your
+responsibility to make sure you have the required pieces
+installed either from source or from a package supplied with your distro.
+
+<p>Requirements are clearly indicated in the README file and on the
+download page.
+
+
+<p><li><h4>IDENT Authentication failed for user "postgres"</h4>
+
+This error has everything to do with the way the distros set up
+access rights for postgres. They are way too restrictive and leave you
+wondering what to do next.
+
+<p>Do yourself a favour and change authentication in pg_hba.conf to
+
+<pre>
+local all trust</pre>
+
+<p>until you have figured what all this stuff in pg_hba.conf does.
+
+<p><b>NOBODY</b>, I repeat, <b>NOBODY</b>, from the Internet will be able to
+connect to postgres. You can't even connect from the inside LAN, the only
+one who is allowed to connect are clients originating from localhost.
+
+<p>Read a bit about the different authentication settings and change
+them as you see fit.
+It is all described in detail in pg_hba.conf
+
+<p>If you can't find the file, there is a wonderful utility called find.
+Use it.
+<pre>
+# find /usr/local -type f -name 'pg_hba.conf'
+</pre>
+
+
+<p><li><h4>DBD-Pg for Mandrake 9.0</h4>
+Mandrake did not package a compiled DBD-Pg package again, so install DBD-Pg
+from the source package.
+Install perl-DBD-Pg-1.01-4mdk.i586.rpm from the 'contrib' area.
+(Mandrake / 9.0 / contrib / RPMS)
+
+<p><li><h4>LaTeX error</h4>
+If for some reason LaTeX produces an error message check for strange
+characters in your account description and parts description
+and use \usepackage[latin1]{inputenc} in the preamble.
+
+
+<p><li><h4>LaTeX templates</h4>
+If you don't want to edit tex code by hand,
+you could use Lyx, Abiword, or any WYSIWYG editor capable of exporting
+latex code.
+To do that you must change the tokens for parameters <% and %> to something
+like << and >>. % is the comment character in tex. There is also a
+pagebreak block which must be commented out.
+When you are done with the changes
+replace << and >> with <% and %> and uncomment the pagebreak block.
+
+<p>LaTeX is difficult but it also offers a much superior interface to produce
+professionally looking forms in postscript and PDF format.
+Unfortunately with power comes some pain too.
+
+
+<p><li><h4>W3M</h4>
+pass terminal=mozilla when you start w3m
+<pre>$ w3m -F http://localhost/sql-ledger/login.pl?terminal=mozilla</pre>
+
+To use without frames
+<pre>$ w3m http://localhost/sql-ledger/login.pl?terminal=lynx</pre>
+
+<p><li><h4>PDF option disappeared</h4>
+Edit sql-ledger.conf and set $latex = 1;
+<br>sql-ledger.conf is perl code, check if it compiles, if it does not
+the internal defaults are used which set $latex to 0, hence no PDF option.
+
+<p><li><h4>SQL-Ledger on Mac Os X 10.1.5</h4>
+Jaume Teixi put together
+<a href=http://www.rocacorbit.com/techdocs/sql_ledger_os_x.html>
+installation instructions</a> to run SL on a Mac.
+<br>The instructions are for 1.8.5 however they still apply to any of the
+newer versions.
+
+<p><li><h4>Installation on Windows (WIN32)</h4>
+<ul>
+<li>install Apache, perl,
+<a href=http://techdocs.postgresql.org/guides/InstallingOnWindows>Postgres</a>
+or Oracle, DBI and the appropriate DBD
+module
+<br>if you can't compile DBD-Pg here is a precompiled
+<a href=http://www.edmund-mergl.de/export/>DBD-Pg module</a>
+<li>download the latest version of <a href=/cgi-bin/nav.pl?page=source/index.html&title=Download>SQL-Ledger</a>
+<li>extract the files to c:\apache\sql-ledger
+<li>download
+<a href=../source/sql-ledger-windows.tar.gz>sql-ledger-windows.tar.gz</a>
+and extract the files to c:\apache\sql-ledger
+ <br>the shebang line is changed to c:\perl\bin\perl and the symlinks
+ are regular files
+<br>answer with 'Yes' to overwrite existing files.
+<li>edit c:\apache\conf\httpd.conf and add
+<pre>
+Alias /sql-ledger/ "C:/apache/sql-ledger/"
+&lt;Directory "c:/apache/sql-ledger"&gt;
+ AllowOverride All
+ AddHandler cgi-script .pl
+ Options +ExecCGI
+ Order Allow,Deny
+ Allow from All
+&lt;/Directory&gt;
+
+&lt;Directory "c:/apache/sql-ledger/users"&gt;
+ Order Deny,Allow
+ Deny from All
+&lt;/Directory&gt;
+</pre>
+
+<li>start Apache
+<li>start Postgres|Oracle
+<li>connect to http://localhost/sql-ledger/admin.pl and setup users
+and datasets
+<li>connect to http://localhost/sql-ledger/login.pl and login
+
+</ul>
+
+<p><li><h4>Installation on Windows /w cygwin</h4>
+<ul>
+<li>install <a href=http://sources.redhat.com/cygwin/>cygwin</a>
+Apache, perl, postgres, gcc and lynx
+<li>install <a href=http://search.cpan.org/search?module=DBI>DBI</a>
+<li>tar zxvf DBI-1.30.tar.gz
+<li>cd DBI-1.30
+<li>perl Makefile.PL
+<li>make install
+<li>install <a href=http://search.cpan.org/search?dist=DBD-Pg>DBD-Pg</a>
+<li>tar -zxvf DBD-Pg-1.13.tar.gz
+<li>export POSTGRES_INCLUDE=/usr/include/postgresql
+<li>export POSTGRES_LIB=/usr/lib/postgresql
+<li>cd DBD-Pg-1.13
+<li>perl Makefile.PL
+<li>make install
+<li>edit /etc/apache/httpd.conf and add
+<pre>
+AddHandler cgi-script .pl
+Alias /sql-ledger/ /var/www/sql-ledger/
+&lt;Directory /var/www/sql-ledger&gt;
+ Options +ExecCGI
+&lt;/Directory&gt;
+
+&lt;Directory /var/www/sql-ledger/users&gt;
+ Order Deny,Allow
+ Deny from All
+&lt/Directory&gt;
+</pre>
+<li>install SQL-Ledger
+<li>cd /var/www
+<li>mkdir sql-ledger
+<li>download <a href=/cgi-bin/download.pl?setup.pl>setup.pl</a> and save the file
+in /var/www/sql-ledger
+<li>cd /var/www/sql-ledger
+<li>perl setup.pl
+</ul>
+
+<p><li><h4>What do I enter for the language</h4>
+If you use English, nothing, if you want to use a foreign language for
+the login screen and admin stuff enter the language code. All the
+language specific files are in the locale directory. The long form for
+the language is in the LANGUAGE file.
+
+<p><li><h4>Mandrake 9.0 permission denied error</h4>
+Mandrake says to add this to your commonhttpd.conf
+<pre>
+&lt;Directory /usr/local/sql-ledger&gt;
+ AllowOverride All
+ Options -MultiViews -Indexes -FollowSymLinks
+ Order allow,deny
+ Allow from all
+&lt;/Directory&gt;
+
+The way apache starts is it:
+Blocks all access to the physical file system /
+Opens access to the physical file system /var/www/html
+Opens access to the physical file system /var/www/perl
+Opens access to the physical file system /var/www/cgi-bin
+Opens access to the physical file system /var/www/protected-cgi-bin
+Opens access to the physical file system /home/*/public_html
+Opens access to the physical file system /home/*/public_html/cgi-bin
+Opens access to the physical file system /var/www/icons
+Opens access to the physical file system /usr/share/doc
+
+Since you're trying to access files outside of those allowed paths, you
+have to specifically allow it. It's done this way because of some past
+exploits with the pathnames. Rather than trust that there will never be
+another bug within apache that will let you get somewhere you don't
+want, you set it up securely out of the box so that apache won't let
+itself go somewhere that you don't want it to.
+</pre>
+
+
+<p><li><h4>Incorrect Dataset version</h4>
+The dataset you are trying to use is not compatible with the version.
+When you upgrade datasets use the same database user in the "User"
+field as the one listed in the Database section for the user.
+
+
+<p><li><h4>Mandrake 8.2</h4>
+Mandrake did not include the package "perl-DBD-Pg-1.01-1mdk.i586.rpm"
+You can install the package from Mandrake 8.1
+
+
+<p><li><h4>printing to a printer</h4>
+Setup a printer in the "Printer" field in the users preferences.
+i.e lpr -Plaser
+and set $latex = 1 in sql-ledger.conf
+LaTeX must be installed for this to work.
+
+<p>To send the document to the printer check the "Postscript" or "PDF" format,
+enter the number of copies and click on the "Print" button.
+
+<p>The printer field is available only when you edit the user's
+preferences with admin.pl.
+
+<p>Note: html format is for screen preview. Use your browser's
+print function.
+
+
+<p><li><h4>beginning balances</h4>
+Add a GL Journal entry and enter the beginning balance for your accounts.
+Use your balance sheet. If you also want to add open invoices, add the invoices
+and make the appropriate adjustments. Your balance sheet includes these
+amounts!
+
+
+<p><li><h4>cost for parts and service</h4>
+the cost will be updated when you purchase goods and services. You can
+enter the cost manually. This is so you can have a cost on file without
+making a purchase.
+
+
+<p><li><h4>establish a beginning inventory</h4>
+add the parts with a purchase invoice. Use the <b>real cost</b> for the items
+not zero. If you use zero cost then the cost of goods will be zero when you
+sell the item.
+
+
+<p><li><h4>Assemblies</h4>
+Assemblies are manufactured goods assembled from parts, services and
+assemblies. Because you do not buy assemblies you 'stock assemblies' by
+adding assembled units to your inventory. The quantity for individual parts
+is reduced and the quantity for the assembly increased. To disassemble an
+assembly you simply return the parts to inventory by entering a negative
+quantity for the number of assemblies to stock.
+
+
+<p><li><h4>customizing SQL-Ledger</h4>
+The <a href=/cgi-bin/nav.pl?page=feature/api.html&title=Application%20Interface>application interface</a>
+consists of a global and private interface.
+
+
+<p><li><h4>DBD-Pg not installed</h4>
+
+Most modern distributions now package DBD-Pg. If it is
+not packaged follow this recipe to get it working.
+
+<ul>
+ <li>check if you have the header files for PostgreSQL
+ <br>$ find / -name 'libpq-fe.h'
+ <br>if nothing shows up install the development package for PostgreSQL
+ <li>download and untar DBD-Pg
+ <li>set the environment variables POSTGRES_LIB and POSTGRES_INCLUDE
+ <li>cd to DBD-Pg directory
+ <br>as ordinary user
+ <br>$ perl Makefile.PL
+ <br>$ make
+ <br>$ make test
+ <br>if all went well su to root
+ <br># make install
+ <li>remove DBD-Pg
+</ul>
+
+
+<p><li><h4>SuSE 8.1 installation</h4>
+<ol>
+<li>Install the following using YaST2:
+
+<p>- perl-DBD-Pg
+<br>- postgresql
+<br>- postgresql-contrib
+<br>- postgresql-devl
+<br>- postgresql-docs
+<br>- postgresql-libs
+<br>- postgresql-perl
+<br>- postgresql-server
+<br>- postgresql-test
+
+<p><li>Setup directories and paths for PostgreSQL:
+
+<p>> sux - (change to root)
+
+<p>- If not done by the installation, setup disk directory for your db:
+<br># mkdir /var/lib/pgsql/data
+<br># chown postgres /var/lib/pgsql/data
+
+<p><li>Initialize the database, and start it, as below:
+<p>Note that there are man pages for initdb and pg_ctl.
+
+<p># touch /var/log/pgsql
+<br># chown postgres:postgres /var/log/pgsql
+<br># sux postgres
+
+<p>- Initialize postgres:
+<br>> /usr/bin/initdb -D /var/lib/pgsql/data
+<br>(creating ... Success...)
+
+<p>- Start the postgres daemon:
+<br>> /usr/bin/pg_ctl -D /var/lib/pgsql/data -l /var/log/pgsql start (start db)
+<br>(postmaster successfully started)
+
+<p><li>Quick-test the server (still as user postgres):
+
+<p>- > psql -d template1
+<br>(Welcome ... \q to exit psql)
+<br>\q
+
+<p>- Try setting up another db user:
+
+<p>> createuser &lt;db-user&gt; (&lt;db-user&gt; should match an existing Linux user)
+<br>Shall the new user be allowed to create databases? (y/n) y
+<br>Shall the new user be allowed to create more new users? (y/n) n
+
+<p>Unless a problem with DBD::Pg (perl interface), postgres is ready to go.
+
+<p><li>If a previous sql-ledger database needs to be installed,
+<br>do the following as postgres user. Steps for dumping the old db,
+ and building the new follow:
+
+<p>> sux postgres
+<br>> psql template1
+<br>=# CREATE DATABASE my_database; (create your database)
+<br>=# \q
+<br>> cd /var/lib/pgsql/backups (assuming your backups are here)
+<br>The next command should have been performed earlier from the
+ previous installed version of postgres and your database:
+<br>> pg_dump -d my_database.sql.bak (from previous ver postgres)
+<br>> cp my_database.sql.bak my_database.sql
+<br>- Use vi to change all occurrances of 'current_date' to current_date
+ in file my_database.sql .
+<br>The vi command for this is :g/'current_date'/s//current_date/g
+<br>> psql my_database < my_database.sql > my_database.log
+<br>- Check my_database.log for errors.
+
+<p><li>Download setup.pl and run it as root while on line to the internet:
+
+<p># mkdir /usr/local/sql-ledger
+<br># cd /usr/local/sql-ledger
+<br># ./setup.pl
+<br>- Enter i
+<br>- Enter httpd owner and group if different than displayed default.
+<br>(Download occurs and status is displayed...)
+
+<p><li>Setup the new sql-ledger with database.
+
+<p>- Surf to http://my_computer/sql-ledger/admin.pl
+<br>- Click enter (no password needed).
+<br>->Database Administration
+<br>- Leave fields Host and Port enpty for local installations.
+<br> - Enter your database name in the "Connect to" field.
+<br> - Enter the database user you setup (postgres, sql-ledger, etc.)
+<br> - Enter a password, only if a password is assigned to the database.
+<br> - To update an existing sql-ledger database: ->Update Database
+<br> Should see: The following Datasets need to be updated.
+<br> ->Continue
+<br> Do more admin. You will need to setup at least one login.
+<br> To exit: ->Database Admin
+
+<p><li>See if it works:
+
+<p> - Surf to http://my_computer/sql-ledger/login.pl
+<br> - Enter the login name you just created. Main menu screen should appear.
+</ol>
+
+
+
+<p><li><h4>Redhat Installation</h4>
+
+<ul>
+<li>Install apache1.3.12-25.i386.rpm
+<li>Install perl5.6.0-9.i386.rpm
+<li>Install postgresql-7.0.2-17.i386.rpm
+<li>Install postgresql-server-7.0.2-17.i386.rpm
+<li>Install postgresql-devel-7.0.2-17.i386.rpm (POSTGRES_INCLUDE)
+<li>tar xvzf DBI-1.14.tar.gz
+<li>cd DBI-1.14
+<li>perl Makefile.PL
+<li>make
+<li>make install
+<li>cd ..
+<li>tar xvzf DBD-Pg-0.95
+<li>cd DBD-Pg-0.95
+<li>export POSTGRES_LIB=/usr/lib/pgsql
+<li>export POSTGRES_INCLUDE=/usr/include/pgsql
+<li>perl Makefile.PL
+<li>make
+<li>make install
+<li>install SQL-Ledger
+</ul>
+
+<p>Some of the applications have newer versions however the installation
+instructions remain the same. Just substitute the old version with a newer
+version.
+
+
+<p><li><h4>Debian Installation</h4>
+
+<ul>
+<li>unpack into /usr/local/www/sql-ledger
+<li>install postgresql (Dselect)
+<li>install apache (Dselect)
+<li>install libdbi-perl (Dselect)
+<li>install libdbd-pg-perl (Dselect)
+<li>install libpgperl (Dselect)
+<li>modify /etc/postgresql/postgresql.conf
+ <br>TCPIP_SOCKET = 1
+<li>create a user for managing SQL-Ledger databases
+<br>from root
+<br>su postgres
+<br>$ createuser -d sql-ledger
+<br>if you use passwords to access postgres set the user up with a password
+<br>$ createuser -d -P sql-ledger
+<li>change /etc/apache/httpd.conf and add
+<pre>
+AddHandler cgi-script .pl
+Alias /sql-ledger/ /usr/local/www/sql-ledger/
+&lt;Directory /usr/local/www/sql-ledger&gt;
+ Options +ExecCGI
+&lt;/Directory&gt;
+
+&lt;Directory /usr/local/www/sql-ledger/users&gt;
+ Order Deny,Allow
+ Deny from All
+&lt;/Directory&gt;
+</pre>
+<li>restart apache
+<li>change fileownership of users and templates to www-data
+ <br>chown www-data: users templates
+<li>From browser enter http://localhost/sql-ledger/admin.pl
+<li>Login as the postgres user (account manager) you have created (above)
+<br>Create a DB
+<br>Create users
+
+<li>then enter http://localhost/sql-ledger/login.pl
+<br>Login as one of the users you have just created
+
+</ul>
+
+<p>
+The long version was provided by Gordon Haverland.
+<p>
+<ul>
+<li>You need to unpack the SQL-Ledger package (compressed tar archive)
+ someplace. Unpacking it in<pre>
+ /usr/local/www/sql-ledger.</pre>
+ Remember where you have unpacked it.
+<li>SQL-Ledger requires that the PostgreSQL database be installed.
+This is a very full-featured database, and has many associated
+packages. SQL-Ledger requires version 7.0 or better. The name
+of the basic package on Debian is postgresql. To find if you
+already have postgresql installed, and if so what version, the
+following command should work:<pre>
+ dpkg -l | grep -i 'ii postgresql '</pre>
+ A typical response would be:<pre>
+ ii postgresql 7.1.3-5 Object....[stuff deleted]</pre>
+ Indicating, that version 7.1.3 is installed (the -5 is a
+ Debian patch level). You can use dselect or apt-get to install
+ postgresql if you need to. You can visit the Debian maintainer's
+ page for much more information on related packages at<pre>
+ http://people.debian.org/~elphick/postgresql/</pre>
+ Older versions of Debian's PostgreSQL installation use a file
+ called postmaster.init, while newer versions use a file called
+ postmaster.conf, either residing in /etc/postgresql.
+<li>SQL-Ledger requires a HTTP server (or daemon) which is capable of
+ handling CGI scripts. Apache is the one which is recommended,
+ version 1.3 or better. Debian calls the base package apache.
+ Debian has two alternative versions of Apache, one with mod-perl
+ (apache-perl) support compiled in, and the other with SSL
+ (secure sockets layer - apache-ssl) support. SQL-Ledger doesn't
+ require mod-perl or SSL support, but works with either if
+ you need it installed for other functions you have. Older versions
+ of Debian Apache installations, spread the configuration of the
+ server across 3 files (srm.conf, access.conf and httpd.conf).
+ Newer versions have consolidated all of this to httpd.conf.
+<li>SQL-Ledger uses the Data Base Interface perl module for communication
+ with PostgreSQL. The CPAN (Comprehensive Perl Archive Network)
+ name for this module is DBI. Debian calls this module
+ libdbi-perl. You should probably deselect (or apt-get) the
+ Debian version of this module to minimize upgrading headaches in
+ the future.
+<li>DBI requires the use of an implementation specific Data Base
+ Driver. In our case, we need the PostgreSQL specific one.
+ CPAN calls this module DBD::PG, Debian calls it libdbd-pg-perl.
+ You should use dselect (or apt-get) to install it.
+<li>One more layer of Perl - PostgreSQL support is needed. Debian
+ calls this last package libpgperl. Use dselect or apt-get to
+ install it. (You should be able to install all 5 packages at
+ one time.)
+<li>We need to allow your PostgreSQL database to accept queries
+ in a network manner. To do this, we need to change the value
+ of the TCPIP_SOCKET to 1. In newer
+ PostgreSQL installs, this variable will be someplace in
+ /etc/postgresql/postgreslq.conf (older installs will be
+ postmaster.init, same directory. Note: you shouldn't have
+ both files there.) Start up your favorite text editor, find
+ the line with that variable on it, change the "no" to a "yes",
+ and make sure the line isn't commented out (a "#" in front
+ of it on the same line).
+<li>PostgreSQL has a set of users and passwords independent of
+ normal user logins. We need to set up a PostgreSQL user
+ to "own" the SQL-Ledger data (choose a name that makes sense
+ to you, it shouldn't be "root" or "postgres"). The (PostgreSQL)
+ program for doing this is called "createuser". To make this
+ SQL-Ledger owner user, we first need to "become" the PostgreSQL
+ superuser (on Debian, this is "postgres"), and then we will
+ run the createuser program. So, once we are logged in as root:
+<pre>
+ # su postgres
+ $ createuser -d sql-ledger
+ ...
+ $ exit
+ #
+</pre>
+ As shown above, we then typed "exit" after createuser was done,
+ to stop being the "postgres" user. The "-d" switch (you called
+ also use "--createdb") specifies that this user can create
+ databases.
+<li>We need to adjust the configuration of the HTTP server Apache
+ next. Older Apache installations (srm.conf, access.conf and
+ httpd.conf) need changes in srm.conf and httpd.conf. Newer
+ installations just need to edit /etc/apache/httpd.conf. First,
+ we need to instruct the server that files that end in ".pl"
+ are to be treated as "cgi-script"s (srm.conf if separate).<pre>
+ AddHandler cgi-script .pl</pre>
+ Second, we need to map our SQL-Ledger installation to be easy
+ for users to find it (in srm.conf if separate).<pre>
+ Alias /sql-ledger/ /usr/local/www/sql-ledger/</pre>
+ The "/" at the end of sql-ledger in both strings is important!
+ Next, we need to allow the server to execute files from those
+ directories, include things and follow links. This information
+ is in httpd.conf (old or new installations).<pre>
+ &lt;Directory /usr/local/www/sql-ledger&gt;
+ Options ExecCGI Includes FollowSymLinks
+ &lt;/Directory&gt;</pre>
+ If we decided to put SQL-Ledger somewhere other than
+ /usr/local/www/sql-ledger, we would use different paths above.
+<li>All the files in the "users" and "templates" subdirectories
+ of /usr/local/www/sql-ledger need to be owned by "www-data".<pre>
+ # cd /usr/local/www/sql-ledger
+ # chown www-data:www-data users templates users/members</pre>
+ You may get an "error" about users/members not existing. It
+ is safe to ignore this error.
+<li>Restart the apache server.<pre>
+ /etc/init.d/apache restart</pre>
+<li>From a browser, visit the URL<pre>
+ http://localhost/sql-ledger/admin.pl</pre>
+<li>Login as the PostgreSQL user responsible for the SQL-Ledger
+ database you set up. Create a database and create
+ at least one user. (It's not a good idea to access your
+ SQL-Ledger data as the "owner" of the data on a regular basis.)
+<li>Visit<pre>
+ http://localhost/sql-ledger/login.pl</pre>
+ and login as the user you created</pre>
+
+</ul>
+
+
+<p><li><h4>login.pl has compilation error</h4>
+
+This could be because of a missing configuration file in the users directory
+
+<p>check the permission for the users directory. The directory must be
+set writeable for the webserver. If your webserver runs under nobody.nogroup
+set it to
+<pre>
+drwxrwx--x 2 johndoe nogroup 1024 May 26 16:49 users
+
+or
+
+drwx--x--x 2 nobody nogroup 1024 May 26 16:49 users
+</pre>
+
+
+<p><li><h4>script not executing, shows in browser instead</h4>
+
+Add
+
+<pre>
+ AddHandler cgi-script .pl
+</pre>
+
+in your httpd.conf file.
+
+
+<p><li><h4>unknown terminal!</h4>
+the frontend script couldn't figure out which browser you are using
+<p>include the terminal variable on the URL
+<pre>
+ http://localhost/sql-ledger/login.pl?terminal=lynx</pre>
+<p>Valid terminal variables are lynx and mozilla
+
+
+<p><li><h4>permission denied at filesystem level</h4>
+
+Check if your web server has write permission to write to the following
+files and directories:
+<pre>
+ users/
+ templates/
+ users/members
+
+ # chown nobody:nogroup users templates users/members
+</pre>
+
+
+<p><li><h4>permission denied to access tables</h4>
+The user you entered in the "Database section" must be a valid
+database user who has the rights to access the tables.
+
+<p>If the tables are owned by 'john' and you enter 'mary' as the dba
+you might run into this problem if mary doesn't have the rights to
+access tables owned by john.
+
+
+<p><li><h4>html and graphics files don't show up on screen</h4>
+
+Enable Includes and FollowSymlinks Options in your httpd.conf file
+<pre> &lt;Directory /usr/local/sql-ledger&gt;
+ Options ExecCGI Includes FollowSymlinks
+ &lt;/Directory&gt;
+</pre>
+
+
+<p><li><h4>Can I use mySQL</h4>
+
+No. mySQL lacks certain features required by SQL-Ledger.
+
+
+<p><li><h4>switch display to a foreign language</h4>
+
+Load your preferences and select the language.
+<br>Language selection is in accordance to
+<a href=http://www.unece.org/cefact/locode/service/main.htm>
+ISO 3166-1</a> standards.
+
+
+<p><li><h4>Text shows in English when I use a foreign language</h4>
+
+This is because the corresponding hash entry is missing.
+Add the missing text in the locale/cc/all or locale/cc/missing
+file and run 'perl locales.pl' to rebuild the individual files.
+
+<br>cc refers to the country code.
+
+
+<p><li><h4>switch to a foreign language for the login and admin screen</h4>
+
+Edit sql-ledger.conf and enter the code for the variable
+$language. If your language specific files are in 'locales/cc', enter 'cc'
+
+
+</ul>
+
+<p>
+<hr>
+<a name=security>
+<h1>SQL-Ledger security</h1>
+</a>
+
+<ul>
+<li>The security features built into SQL-Ledger provide encrypted passwords
+and access control which makes it fairly safe out of the box to run even in
+front of a firewall.
+Some precautions which are out of our control must be taken though.
+It matters where you install SL and how you configure your web and SQL server.
+
+<pre>
+ Typical setups:
+
+ /usr/local/vh/www <- DocumentRoot for virtual host
+ /usr/local/vh/sql-ledger <- Alias for sql-ledger
+ /usr/local/vh/users <- users directory out of reach
+
+<hr width=60% align=left>
+ /usr/local/vh/www <- DocumentRoot for virtual host
+ /usr/local/vh/www/sql-ledger <- Alias for sql-ledger
+ /usr/local/vh/www/sql-ledger/users <- users configuration files and tmp space
+
+ &lt;Directory /usr/local/vh/www/sql-ledger/users&gt; <- disable webserver access
+ Order Deny,Allow for users directory
+ Deny from All
+ &lt;/Directory&gt;
+
+</pre>
+
+The location for the users directory can be specified in sql-ledger.conf
+
+<p><li>Set permission for the users and templates directory to 711
+(most restrictive)
+
+<p><li>If you do not want anyone to change the templates with the built-in
+editor set the files in templates/directory/ to read only or disable
+the menu item to edit the templates.
+
+<p><li>For PostgreSQL you can set who has access to the server in the file
+pg_hba.conf
+<br>Authentication crypt does not work because not all SQL servers
+accept encrypted passwords.
+
+<p><li>in addition you can secure the tables from unauthorized access by
+setting up a different database user and GRANT rights. For instance,
+users without DELETE rights will still be able to use the program, change
+customers or vendors but will not be able to delete transactions.
+To lock all the tables GRANT SELECT rights only.
+
+<p><li>Other security options include a secure shell, your webserver's
+authentication system, SSL, encrypted tunnels, ...
+
+</ul>
+
+</BODY>
+</HTML>
+
diff --git a/sql-ledger/favicon.ico b/sql-ledger/favicon.ico
new file mode 100644
index 0000000..43578f4
--- /dev/null
+++ b/sql-ledger/favicon.ico
Binary files differ
diff --git a/sql-ledger/locale/br/COPYING b/sql-ledger/locale/br/COPYING
new file mode 100644
index 0000000..133af7d
--- /dev/null
+++ b/sql-ledger/locale/br/COPYING
@@ -0,0 +1,24 @@
+######################################################################
+# SQL-Ledger Accounting
+# Copyright (c) 2002
+#
+# Brazilian texts:
+#
+# Author: Andre Felipe Machado <andremachado@techforce.com.br>
+# Miguel Koren O'Brien de Lacy <miguelk@konsultex.com.br>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+#######################################################################
+
diff --git a/sql-ledger/locale/br/LANGUAGE b/sql-ledger/locale/br/LANGUAGE
new file mode 100644
index 0000000..d45d52d
--- /dev/null
+++ b/sql-ledger/locale/br/LANGUAGE
@@ -0,0 +1 @@
+Brazilian Portuguese
diff --git a/sql-ledger/locale/br/admin b/sql-ledger/locale/br/admin
new file mode 100644
index 0000000..c5cd2e1
--- /dev/null
+++ b/sql-ledger/locale/br/admin
@@ -0,0 +1,122 @@
+$self{texts} = {
+ 'Access Control' => 'Controle de Acesso',
+ 'Accounting' => 'Contabilidade',
+ 'Add User' => 'Adicionar Usuário',
+ 'Address' => 'Endereço',
+ 'Administration' => 'Administração',
+ 'Administrator' => 'Administrador',
+ 'All Datasets up to date!' => 'Todos grupos de dados atualizados!',
+ 'Change Admin Password' => 'Trocar senha de administração',
+ 'Change Password' => 'Trocar senha',
+ 'Character Set' => 'Conjunto de caracteres',
+ 'Click on login name to edit!' => 'Clique no nome de acesso para editar',
+ 'Company' => 'Companhia',
+ 'Connect to' => 'Conectar a',
+ 'Continue' => 'Continuar',
+ 'Create Chart of Accounts' => 'Criar Carta de Contas',
+ 'Create Dataset' => 'Criar conjunto de dados',
+ 'DBI not installed!' => 'Driver de Interface de Banco de dados NÃO INSTALADO!',
+ 'Database' => 'Banco de Dados',
+ 'Database Administration' => 'Administração da Base de Dados',
+ 'Database Driver not checked!' => 'Driver do banco de dados não selecionado!',
+ 'Database User missing!' => 'Usuário da base de dados faltando!',
+ 'Dataset' => 'Conjunto de dados',
+ 'Dataset missing!' => 'Conjunto de dados faltando!',
+ 'Dataset updated!' => 'Conjunto de dados atualizado',
+ 'Date Format' => 'Formato de Data',
+ 'Delete' => 'Apagar',
+ 'Delete Dataset' => 'Apagar conjunto de dados',
+ 'Directory' => 'Diretório',
+ 'Driver' => 'Driver',
+ 'Dropdown Limit' => 'Limite de dropdown',
+ 'E-mail' => 'E-Mail',
+ 'Edit User' => 'Editar Usuário',
+ 'Existing Datasets' => 'Conjunto de dados existentes',
+ 'Fax' => 'Fax',
+ 'Host' => 'Servidor',
+ 'Hostname missing!' => 'Nome do servidor faltando!',
+ 'Incorrect Password!' => 'Senha incorreta!',
+ 'Language' => 'Idioma',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Deixe os campos de servidor e porta vazios a menos que você queira fazer uma conexão remota',
+ 'Login' => 'Acessar/login',
+ 'Name' => 'Nome',
+ 'New Templates' => 'Novos Modelos',
+ 'No Database Drivers available!' => 'Nenhum driver de banco de dados disponível!',
+ 'No Dataset selected!' => 'Nenhum conjunto de dados selecionado!',
+ 'Nothing to delete!' => 'Nada para apagar!',
+ 'Number Format' => 'Formato de números',
+ 'Oracle Database Administration' => 'Administração da Base de Dados Oracle',
+ 'Password' => 'Senha',
+ 'Password changed!' => 'Senha trocada!',
+ 'Pg Database Administration' => 'Administração da Base de Dados PostgreSQL',
+ 'Phone' => 'Tel.',
+ 'Port' => 'Porta',
+ 'Port missing!' => 'Porta faltando!',
+ 'Printer' => 'Impressora',
+ 'Save' => 'Salvar',
+ 'Select a Dataset to delete and press "Continue"' => 'Selecione um conjunto de dados para APAGAR e pressione Continue',
+ 'Setup Templates' => 'Modelos de Configuração',
+ 'Ship via' => 'Transportar via',
+ 'Signature' => 'Assinatura',
+ 'Stylesheet' => 'Folha de estilos',
+ 'Templates' => 'Modelos',
+ 'The following Datasets are not in use and can be deleted' => 'Os seguintes conjuntos de dados NÃO estão em uso e PODEM ser apagados',
+ 'The following Datasets need to be updated' => 'Os seguintes grupos de dados precisam ser atualizados',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'Esta é uma verificação preliminar por fontes existentes. Nada será criado ou apagado neste estágio!',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'Para adicionar um usuário a um grupo edite um nome, troque o nome de acesso/login e salve. Um novo usuário com as mesmas variáveis será então salvo sob o novo nome de acesso/login.',
+ 'Update Dataset' => 'Atualizar grupo de dados',
+ 'Use Templates' => 'Use Modelos',
+ 'User' => 'Usuário',
+ 'User deleted!' => 'Usuário apagado!',
+ 'User saved!' => 'Usuário salvo',
+ 'Version' => 'Versão',
+ 'You must enter a host and port for local and remote connections!' => 'Você precisa entrar um servidor e uma porta para conexões locais e remotas!',
+ 'does not exist' => 'Não existe',
+ 'is already a member!' => 'já é um membro!',
+ 'localhost' => 'localhost /servidor local',
+ 'successfully created!' => 'Criado com sucesso!',
+ 'successfully deleted!' => 'Apagado com sucesso!',
+ 'website' => 'website',
+};
+
+$self{subs} = {
+ 'add_user' => 'add_user',
+ 'adminlogin' => 'adminlogin',
+ 'change_admin_password' => 'change_admin_password',
+ 'change_password' => 'change_password',
+ 'check_password' => 'check_password',
+ 'continue' => 'continue',
+ 'create_dataset' => 'create_dataset',
+ 'dbcreate' => 'dbcreate',
+ 'dbdelete' => 'dbdelete',
+ 'dbdriver_defaults' => 'dbdriver_defaults',
+ 'dbselect_source' => 'dbselect_source',
+ 'dbupdate' => 'dbupdate',
+ 'delete' => 'delete',
+ 'delete_dataset' => 'delete_dataset',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'get_value' => 'get_value',
+ 'list_users' => 'list_users',
+ 'login' => 'login',
+ 'login_name' => 'login_name',
+ 'oracle_database_administration' => 'oracle_database_administration',
+ 'pg_database_administration' => 'pg_database_administration',
+ 'save' => 'save',
+ 'update_dataset' => 'update_dataset',
+ 'adicionar_usuário' => 'add_user',
+ 'trocar_senha_de_administração' => 'change_admin_password',
+ 'trocar_senha' => 'change_password',
+ 'continuar' => 'continue',
+ 'criar_conjunto_de_dados' => 'create_dataset',
+ 'apagar' => 'delete',
+ 'apagar_conjunto_de_dados' => 'delete_dataset',
+ 'acessar/login' => 'login',
+ 'administração_da_base_de_dados_oracle' => 'oracle_database_administration',
+ 'administração_da_base_de_dados_postgresql' => 'pg_database_administration',
+ 'salvar' => 'save',
+ 'atualizar_grupo_de_dados' => 'update_dataset',
+};
+
+1;
diff --git a/sql-ledger/locale/br/all b/sql-ledger/locale/br/all
new file mode 100644
index 0000000..b656204
--- /dev/null
+++ b/sql-ledger/locale/br/all
@@ -0,0 +1,487 @@
+# These are all the texts to build the translations files.
+# The file has the form of 'english text' => 'foreign text',
+# you can add the translation in this file or in the 'missing' file
+# run locales.pl from this directory to rebuild the translation files
+
+$self{texts} = {
+ 'AP' => 'Contas a Pagar',
+ 'AP Aging' => 'Contas a Pagar Vencidas',
+ 'AP Transaction' => 'Transação - Contas a Pagar',
+ 'AP Transactions' => 'Transações - Contas a Pagar',
+ 'AR' => 'Contas a Receber',
+ 'AR Aging' => 'Contas a Receber Vencidas',
+ 'AR Transaction' => 'Transação - Contas a Receber',
+ 'AR Transactions' => 'Transações - Contas a Receber',
+ 'About' => 'Sobre',
+ 'Access Control' => 'Controle de Acesso',
+ 'Account' => 'Conta',
+ 'Account Number' => 'Número da Conta',
+ 'Account Number missing!' => 'Número da Conta não encontrado!',
+ 'Account Type' => 'Tipo de Conta',
+ 'Account Type missing!' => 'Tipo de Conta não encontrado!',
+ 'Account deleted!' => 'Conta apagada!',
+ 'Account saved!' => 'Conta salva!',
+ 'Accounting' => 'Contabilidade',
+ 'Accounting Menu' => 'Menu de Contabilidade',
+ 'Accounts' => 'Contas',
+ 'Active' => 'Ativa',
+ 'Add' => 'Adicionar',
+ 'Add Account' => 'Adicionar Conta',
+ 'Add Accounts Payables Transaction' => 'Adicionar Transação de contas pagáveis',
+ 'Add Accounts Receivables Transaction' => 'Adicionar Transação de contas recebíveis',
+ 'Add Assembly' => 'Adicionar Conjunto',
+ 'Add Customer' => 'Adicionar Cliente',
+ 'Add GIFI' => 'Adicionar CFOP',
+ 'Add General Ledger Transaction' => 'Adicionar Transação Livro Razão',
+ 'Add Part' => 'Adicionar Parte',
+ 'Add Project' => 'Adicionar projeto',
+ 'Add Purchase Invoice' => 'Adicionar Fatura de Compra',
+ 'Add Purchase Order' => 'Adicionar Pedido de Compra',
+ 'Add Sales Invoice' => 'Adicionar Fatura de Venda',
+ 'Add Sales Order' => 'Adicionar Pedido de Venda',
+ 'Add Service' => 'Adicionar Serviço',
+ 'Add Transaction' => 'Adicionar Transação',
+ 'Add User' => 'Adicionar Usuário',
+ 'Add Vendor' => 'Adicionar Distribuidor',
+ 'Address' => 'Endereço',
+ 'Administration' => 'Administração',
+ 'Administrator' => 'Administrador',
+ 'All' => 'Todas',
+ 'All Datasets up to date!' => 'Todos grupos de dados atualizados!',
+ 'Amount' => 'Total',
+ 'Amount Due' => 'Total Devido',
+ 'Amount does not equal applied!' => 'Total não é igual ao aplicado!',
+ 'Amount missing!' => 'Total faltando!',
+ 'Applied' => 'Aplicado',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Are you sure you want to delete Invoice Number' => 'Tem certeza que quer APAGAR a Fatura Número',
+ 'Are you sure you want to delete Order Number' => 'Tem certeza que quer APAGAR tal número de Pedido?',
+ 'Are you sure you want to delete Transaction' => 'Tem certeza que quer APAGAR a Transação',
+ 'Assemblies' => 'Conjuntos',
+ 'Assemblies restocked!' => 'Conjuntos re estocados',
+ 'Assembly Number missing!' => 'Número de conjunto faltando!',
+ 'Asset' => 'Ativo',
+ 'Attachment' => 'Anexo',
+ 'Audit Control' => 'Controle de Auditoria',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'BOM' => 'Lista de Material',
+ 'Backup' => 'Cópia de reserva',
+ 'Backup sent to' => 'Cópia reserva enviada para',
+ 'Balance' => 'Balanço',
+ 'Balance Sheet' => 'Folha de Balanço',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Caixa/bandeja',
+ 'Books are open' => 'Livros estão abertos',
+ 'Bought' => 'Comprado',
+ 'Business Number' => 'Número de negócio',
+ 'C' => 'F',
+ 'COGS' => 'Custo de Vendas',
+ 'Cannot delete account!' => 'Não pode apagar conta!',
+ 'Cannot delete customer!' => 'Não pode apagar cliente!',
+ 'Cannot delete default account!' => 'Não pode apagar conta padrão!',
+ 'Cannot delete invoice!' => 'Não pode apagar fatura!',
+ 'Cannot delete item already invoiced!' => 'Não posso apagar item já faturado!',
+ 'Cannot delete item on order!' => 'Não pode apagar item no pedido',
+ 'Cannot delete item which is part of an assembly!' => 'Não posso apagar item que é parte de um conjunto',
+ 'Cannot delete item!' => 'Não pode apagar item!',
+ 'Cannot delete order!' => 'Não pode apagar pedido!',
+ 'Cannot delete transaction!' => 'Não pode apagar transação!',
+ 'Cannot delete vendor!' => 'Não pode apagar fornecedor!',
+ 'Cannot have a value in both Debit and Credit!' => 'Não pode ter um valor em ambos Débito e Crédito!',
+ 'Cannot post a transaction without a value!' => '',
+ 'Cannot post invoice for a closed period!' => 'Não pode lançar fatura em período fechado!',
+ 'Cannot post invoice!' => 'Não pode lançar fatura!',
+ 'Cannot post payment for a closed period!' => 'Não pode lançar pagamento em período fechado!',
+ 'Cannot post payment!' => 'Não pode lançar pagamento!',
+ 'Cannot post transaction for a closed period!' => 'Não pode lançar transação para um período já encerrado!',
+ 'Cannot post transaction!' => 'Não pode lançar transação',
+ 'Cannot process payment for a closed period!' => 'Não pode processar pagamento para um pedíodo já encerrado!',
+ 'Cannot save account!' => 'Não pode salvar conta!',
+ 'Cannot save order!' => 'Não pode salvar pedido!',
+ 'Cannot save preferences!' => 'Não pode salvar preferências!',
+ 'Cannot stock assemblies!' => 'Não pode estocar conjuntos!',
+ 'Cash' => 'Caixa',
+ 'Cash based' => 'Baseado no Caixa',
+ 'Cc' => 'Cc',
+ 'Change Admin Password' => 'Trocar senha de administração',
+ 'Change Password' => 'Trocar senha',
+ 'Character Set' => 'Conjunto de caracteres',
+ 'Chart of Accounts' => 'Código de Contas',
+ 'Check' => 'Cheque',
+ 'Check printed!' => 'Cheque impresso',
+ 'Check printing failed!' => 'Impressão de cheque falhou!',
+ 'Cleared Balance' => 'Balanço limpo',
+ 'Click on login name to edit!' => 'Clique no nome de acesso para editar',
+ 'Close Books up to' => 'Encerrar livros até',
+ 'Closed' => 'Fechado',
+ 'Company' => 'Companhia',
+ 'Compare to' => 'Comparar a',
+ 'Confirm!' => 'Confirmar!',
+ 'Connect to' => 'Conectar a',
+ 'Contact' => 'Contato',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Cópias',
+ 'Copy to COA' => 'Copiar para Plano de Contas',
+ 'Create Chart of Accounts' => 'Criar Carta de Contas',
+ 'Create Dataset' => 'Criar conjunto de dados',
+ 'Credit' => 'Crédito',
+ 'Credit Limit' => 'Limite de Crédito',
+ 'Curr' => 'Moeda',
+ 'Currency' => 'Moeda',
+ 'Current' => '',
+ 'Customer' => 'Cliente',
+ 'Customer deleted!' => 'Cliente apagado!',
+ 'Customer missing!' => 'Cliente faltando!',
+ 'Customer not on file!' => 'Cliente não está no arquivo!',
+ 'Customer saved!' => 'Cliente salvo',
+ 'Customers' => 'Clientes',
+ 'DBI not installed!' => 'Driver de Interface de Banco de dados NÃO INSTALADO!',
+ 'Database' => 'Banco de Dados',
+ 'Database Administration' => 'Administração da Base de Dados',
+ 'Database Driver not checked!' => 'Driver do banco de dados não selecionado!',
+ 'Database Host' => 'Servidor de Base de Dados',
+ 'Database User missing!' => 'Usuário da base de dados faltando!',
+ 'Dataset' => 'Conjunto de dados',
+ 'Dataset missing!' => 'Conjunto de dados faltando!',
+ 'Dataset updated!' => 'Conjunto de dados atualizado',
+ 'Date' => 'Data',
+ 'Date Due' => 'Data de Vencimento',
+ 'Date Format' => 'Formato de Data',
+ 'Date Paid' => 'Data de pagamento',
+ 'Date missing!' => 'Data faltando!',
+ 'Debit' => 'Débito',
+ 'Debit and credit out of balance!' => 'Débito e crédito fora de balanço!',
+ 'Dec' => 'Dez',
+ 'December' => 'Dezembro',
+ 'Decimalplaces' => 'Casas decimais',
+ 'Delete' => 'Apagar',
+ 'Delete Account' => 'Apagar Conta',
+ 'Delete Dataset' => 'Apagar conjunto de dados',
+ 'Delivery Date' => 'Data de entrega',
+ 'Deposit' => 'Depósito',
+ 'Description' => 'Descrição',
+ 'Difference' => 'Diferença',
+ 'Directory' => 'Diretório',
+ 'Discount' => 'Desconto',
+ 'Done' => 'Feito',
+ 'Drawing' => 'Desenho',
+ 'Driver' => 'Driver',
+ 'Dropdown Limit' => 'Limite de dropdown',
+ 'Due' => 'Saldo',
+ 'Due Date' => 'Data de Vencimento',
+ 'Due Date missing!' => 'Data de Vencimento faltando!',
+ 'E-mail' => 'E-Mail',
+ 'E-mail Statement to' => 'Declaração enviada por email para',
+ 'E-mail address missing!' => 'Endereço de E-mail faltando!',
+ 'Edit' => 'Editar',
+ 'Edit Account' => 'Editar Conta',
+ 'Edit Accounts Payables Transaction' => 'Editar Transação - Contas a Pagar',
+ 'Edit Accounts Receivables Transaction' => 'Editar Transação - Contas a Receber',
+ 'Edit Assembly' => 'Editar Conjunto',
+ 'Edit GIFI' => 'Editar CFOP',
+ 'Edit General Ledger Transaction' => 'Editar Transação Livro Razão',
+ 'Edit Part' => 'Editar Parte',
+ 'Edit Preferences for' => 'Editar Preferências para',
+ 'Edit Project' => 'Editar Projeto',
+ 'Edit Purchase Invoice' => 'Editar Fatura de Compra',
+ 'Edit Purchase Order' => 'Editar Pedido de Compra',
+ 'Edit Sales Invoice' => 'Editar Fatura de Venda',
+ 'Edit Sales Order' => 'Editar Pedido de Venda',
+ 'Edit Service' => 'Editar Serviço',
+ 'Edit Template' => 'Editar Modelo',
+ 'Edit User' => 'Editar Usuário',
+ 'Employee' => 'Empregado',
+ 'Enforce transaction reversal for all dates' => 'Forçar execução de reversão de transação para todas as datas',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Entre com até 3 letras separadas por dois pontos (i.e CAD:USD:EUR) para sua moeda local e estrangeira',
+ 'Equity' => 'Capital',
+ 'Exch' => 'Câmbio',
+ 'Exchangerate' => 'Taxa de câmbio',
+ 'Exchangerate Difference' => 'Diferença da Taxa de Câmbio',
+ 'Exchangerate for payment missing!' => 'Falta a taxa de câmbio para o pagamento!',
+ 'Exchangerate missing!' => 'Falta a taxa de câmbio!',
+ 'Existing Datasets' => 'Conjunto de dados existentes',
+ 'Expense' => 'Despesa',
+ 'Expense Account' => 'Conta de Despesas',
+ 'Expense/Asset' => 'Despesa/Ativo',
+ 'Extended' => 'Extendida',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Fev',
+ 'February' => 'Fevereiro',
+ 'Foreign Exchange Gain' => 'Ganho com câmbio estrangeiro',
+ 'Foreign Exchange Loss' => 'Perda com câmbio estrangeiro',
+ 'From' => 'De',
+ 'GIFI' => 'CFOP - Código Fiscal da Operação',
+ 'GIFI deleted!' => 'CFOP apagado!',
+ 'GIFI missing!' => 'CFOP faltando!',
+ 'GIFI saved!' => 'CFOP salvo!',
+ 'GL Transaction' => 'Transação do Livro Razão',
+ 'General Ledger' => 'Livro Razão',
+ 'Goods & Services' => 'Produtos e Serviços',
+ 'HTML Templates' => 'Modelos HTML',
+ 'Heading' => 'Cabeçalho',
+ 'Host' => 'Servidor',
+ 'Hostname missing!' => 'Nome do servidor faltando!',
+ 'ID' => 'ID',
+ 'Image' => 'Imagem',
+ 'In-line' => 'em linha',
+ 'Include in Report' => 'Incluir no Relatório',
+ 'Include in drop-down menus' => 'Incluir nos menus drop-down (tipo cortina)',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Incluir esta conta nos formulários de cliente/fornecedor para marcar cliente/fornecedor como sujeito a impostos.',
+ 'Income' => 'Receita',
+ 'Income Account' => 'Conta de Receitas',
+ 'Income Statement' => 'Estado de Receitas',
+ 'Incorrect Dataset version!' => 'Versão incorreta de grupos de dados!',
+ 'Incorrect Password!' => 'Senha incorreta!',
+ 'Individual Items' => 'Ítens individuais',
+ 'Inventory' => 'Estoque',
+ 'Inventory Account' => 'Conta de Estoque',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'Quantidade em estoque TEM de ser zero ANTES que você possa tornar este conjunto obsoleto!',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'Quantidade em estoque TEM de ser zero ANTES que você possa tornar esta parte/peça obsoleta!',
+ 'Inventory quantity must be zero!' => 'Quantidade em estoque TEM de ser zero!',
+ 'Invoice' => 'Fatura',
+ 'Invoice Date' => 'Data de Fatura',
+ 'Invoice Date missing!' => 'Data de Factura não encontrada!',
+ 'Invoice Number' => 'Número de Fatura',
+ 'Invoice Number missing!' => 'Número de Fatura não encontrado!',
+ 'Invoice deleted!' => 'Fatura apagada!',
+ 'Invoice posted!' => 'Fatura lançada!',
+ 'Invoices' => 'Faturas',
+ 'Is this a summary account to record' => 'Esta é uma conta sumária a registrar?',
+ 'Item deleted!' => 'Item apagado!',
+ 'Item not on file!' => 'Item não está no arquivo!',
+ 'Jan' => 'Jan',
+ 'January' => 'Janeiro',
+ 'Jul' => 'Jul',
+ 'July' => 'Julho',
+ 'Jun' => 'Jun',
+ 'June' => 'Junho',
+ 'LaTeX Templates' => 'Modelos LaTeX',
+ 'Language' => 'Idioma',
+ 'Last Cost' => 'Último Custo',
+ 'Last Invoice Number' => 'Último Número de Fatura',
+ 'Last Numbers & Default Accounts' => 'Últimos números e Contas Padrão',
+ 'Last Purchase Order Number' => 'Último Número de Pedido de Compra',
+ 'Last Sales Order Number' => 'Último número de pedido de vendas',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Deixe os campos de servidor e porta vazios a menos que você queira fazer uma conexão remota',
+ 'Liability' => 'Passivo',
+ 'Licensed to' => 'Licenciado a',
+ 'Line Total' => 'Total da linha',
+ 'Link' => 'Ligar',
+ 'Link Accounts' => 'Ligar Contas',
+ 'List Accounts' => 'Listar Contas',
+ 'List GIFI' => 'Listar CFOP',
+ 'List Price' => 'Preço de lista',
+ 'List Transactions' => 'Listar Transações',
+ 'Login' => 'Acessar/login',
+ 'Logout' => 'Logout (sair)',
+ 'Make' => 'Marca',
+ 'Mar' => 'Mar',
+ 'March' => 'Março',
+ 'May' => 'Mai',
+ 'May ' => 'Maio',
+ 'Message' => 'Mensagem',
+ 'Microfiche' => 'Microficha',
+ 'Model' => 'Modelo',
+ 'N/A' => 'N/D',
+ 'Name' => 'Nome',
+ 'Name missing!' => 'Nome faltando!',
+ 'New Templates' => 'Novos Modelos',
+ 'No' => 'Não',
+ 'No Database Drivers available!' => 'Nenhum driver de banco de dados disponível!',
+ 'No Dataset selected!' => 'Nenhum conjunto de dados selecionado!',
+ 'No email address for' => 'Sem endereço de email para',
+ 'No.' => '',
+ 'Notes' => 'Notas',
+ 'Nothing applied!' => 'Nada foi aplicado!',
+ 'Nothing selected!' => 'Nada foi selecionado!',
+ 'Nothing to delete!' => 'Nada para apagar!',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembro',
+ 'Number' => 'Número',
+ 'Number Format' => 'Formato de números',
+ 'Number missing in Row' => 'Número faltando na linha',
+ 'O' => 'A',
+ 'Obsolete' => 'Obsoleto',
+ 'Oct' => 'Out',
+ 'October' => 'Outubro',
+ 'On Hand' => 'Em Mãos',
+ 'On Order' => 'Em pedido',
+ 'Open' => 'Abrir',
+ 'Oracle Database Administration' => 'Administração da Base de Dados Oracle',
+ 'Order' => 'Pedido',
+ 'Order Date' => 'Data de Pedido',
+ 'Order Date missing!' => 'Data de Pedido Faltando',
+ 'Order Entry' => 'Entrada de Pedido',
+ 'Order Number' => 'Pedido Número',
+ 'Order Number missing!' => 'Número de pedido faltando!',
+ 'Order deleted!' => 'Pedido apagado!',
+ 'Order saved!' => 'Pedido salvo!',
+ 'Ordered' => 'Pedido feito',
+ 'Orphaned' => 'Ficaram órfãs',
+ 'Out of balance!' => 'Fora de balanço!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Lista de Empacotamento',
+ 'Packing List Date missing!' => 'Data da lista de empacotamento faltando!',
+ 'Packing List Number missing!' => 'Número da lista de empacotamento faltando!',
+ 'Paid' => 'Total Efetuado',
+ 'Paid in full' => '',
+ 'Part' => 'Parte',
+ 'Part Number missing!' => 'Número da parte não encontrado!',
+ 'Parts' => 'Partes',
+ 'Parts Inventory' => 'Estoque de Partes',
+ 'Password' => 'Senha',
+ 'Password changed!' => 'Senha trocada!',
+ 'Payables' => 'A Pagar',
+ 'Payment' => 'Pagamento',
+ 'Payment date missing!' => 'Data de pagamento faltando!',
+ 'Payment posted!' => 'Pagamento Lançado',
+ 'Payments' => 'Pagamentos',
+ 'Pg Database Administration' => 'Administração da Base de Dados PostgreSQL',
+ 'Phone' => 'Tel.',
+ 'Port' => 'Porta',
+ 'Port missing!' => 'Porta faltando!',
+ 'Post' => 'Lançar',
+ 'Post as new' => 'Lançar como novo',
+ 'Postscript' => 'Postscript',
+ 'Preferences' => 'Preferências',
+ 'Preferences saved!' => 'Preferências Salvas!',
+ 'Price' => 'Preço',
+ 'Print' => 'Imprimir',
+ 'Printer' => 'Impressora',
+ 'Project' => 'Projeto',
+ 'Project Number missing!' => 'Número do Projeto faltando!',
+ 'Project deleted!' => 'Projeto apagado!',
+ 'Project not on file!' => 'Projeto não está no arquivo!',
+ 'Project saved!' => 'Projeto salvo!',
+ 'Projects' => 'Projetos',
+ 'Purchase Invoice' => 'Fatura de compra',
+ 'Purchase Order' => 'Ordem de Compra',
+ 'Purchase Orders' => 'Ordens de Compra',
+ 'Qty' => 'Qtde',
+ 'ROP' => 'Nível mínimo de estoque',
+ 'Rate' => 'Taxa',
+ 'Recd' => 'Recebidos',
+ 'Receipt' => 'Recibo',
+ 'Receipts' => 'Recibos',
+ 'Receivables' => 'A Receber',
+ 'Reconciliation' => 'Reconciliação',
+ 'Record in' => 'Registrar em',
+ 'Reference' => 'Referência',
+ 'Reference missing!' => 'Referência faltando!',
+ 'Remaining' => 'Restante',
+ 'Report for' => 'Relatório para',
+ 'Reports' => 'Relatórios',
+ 'Required by' => 'Requerido por',
+ 'Retained Earnings' => 'Lucros Retidos',
+ 'Sales' => 'Vendas',
+ 'Sales Invoice' => 'Fatura de Venda',
+ 'Sales Order' => 'Pedido de Venda',
+ 'Sales Orders' => 'Pedidos de Venda',
+ 'Save' => 'Salvar',
+ 'Save as new' => 'Salvar como novo',
+ 'Save to File' => 'Salvar para Arquivo',
+ 'Screen' => 'Tela',
+ 'Select a Dataset to delete and press "Continue"' => 'Selecione um conjunto de dados para APAGAR e pressione Continue',
+ 'Select all' => 'Selecionar todos',
+ 'Select from one of the items below' => 'Selecione um dos ítens abaixo',
+ 'Select from one of the names below' => 'Selecione um dos nomes abaixo',
+ 'Select from one of the projects below' => 'Selecione um dos projetos abaixo',
+ 'Select postscript or PDF!' => 'Selecionar Postscript ou PDF',
+ 'Sell Price' => 'Preço de Venda',
+ 'Send by E-Mail' => 'Enviar por E-mail',
+ 'Sep' => 'Set',
+ 'September' => 'Setembro',
+ 'Service' => 'Serviço',
+ 'Service Items' => 'Ítens de Serviço',
+ 'Service Number missing!' => 'Número do serviço não encontrado!',
+ 'Services' => 'Serviços',
+ 'Setup Templates' => 'Modelos de Configuração',
+ 'Ship' => 'Transportar',
+ 'Ship to' => 'Transportar para',
+ 'Ship via' => 'Transportar via',
+ 'Short' => 'Curto',
+ 'Signature' => 'Assinatura',
+ 'Sold' => 'Vendido',
+ 'Source' => 'Fonte',
+ 'Standard' => 'Padrão',
+ 'Statement' => 'Declaração',
+ 'Statement Balance' => 'Declaração de Balanço',
+ 'Statement sent to' => 'Declaração enviada para',
+ 'Statements sent to printer!' => 'Declaração enviada para impressora!',
+ 'Stock Assembly' => 'Conjunto normal de estoque',
+ 'Stylesheet' => 'Folha de estilos',
+ 'Subject' => 'Assunto',
+ 'Subtotal' => 'Sub-total',
+ 'System' => 'Sistema',
+ 'Tax' => 'Imposto',
+ 'Tax Accounts' => 'Contas de Impostos',
+ 'Tax Included' => 'Impostos incluídos',
+ 'Tax collected' => 'Imposto recolhido',
+ 'Tax paid' => 'Imposto pago',
+ 'Taxable' => 'Sujeito a impostos',
+ 'Template saved!' => 'Modelo salvo!',
+ 'Templates' => 'Modelos',
+ 'Terms: Net' => 'Crédito Líquido',
+ 'The following Datasets are not in use and can be deleted' => 'Os seguintes conjuntos de dados NÃO estão em uso e PODEM ser apagados',
+ 'The following Datasets need to be updated' => 'Os seguintes grupos de dados precisam ser atualizados',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'Esta é uma verificação preliminar por fontes existentes. Nada será criado ou apagado neste estágio!',
+ 'To' => 'Até',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'Para adicionar um usuário a um grupo edite um nome, troque o nome de acesso/login e salve. Um novo usuário com as mesmas variáveis será então salvo sob o novo nome de acesso/login.',
+ 'Top Level' => 'Nível superior',
+ 'Total' => 'Total',
+ 'Transaction Date missing!' => 'Data de transação faltando!',
+ 'Transaction deleted!' => 'Transação apagada!',
+ 'Transaction posted!' => 'Transação lançada',
+ 'Transaction reversal enforced for all dates' => 'Reversão de transação forçada para todas as datas.',
+ 'Transaction reversal enforced up to' => 'Reversão de transação forçada até ',
+ 'Transactions' => 'Tansações',
+ 'Transactions exist, cannot delete customer!' => 'Existem transações, não pode apagar o cliente!',
+ 'Transactions exist, cannot delete vendor!' => 'Existem transações, não pode apagar fornecedor!',
+ 'Transactions exist; cannot delete account!' => 'Existem transações, não pode apagar conta!',
+ 'Trial Balance' => 'Balanço Preliminar',
+ 'Unit' => 'Unidade',
+ 'Unit of measure' => 'Unidade de medida',
+ 'Update' => 'Atualizar',
+ 'Update Dataset' => 'Atualizar grupo de dados',
+ 'Updated' => 'Atualizado',
+ 'Use Templates' => 'Use Modelos',
+ 'User' => 'Usuário',
+ 'User deleted!' => 'Usuário apagado!',
+ 'User saved!' => 'Usuário salvo',
+ 'Vendor' => 'Distribuidor',
+ 'Vendor deleted!' => 'Distribuidor apagado!',
+ 'Vendor missing!' => 'Distribuidor faltando!',
+ 'Vendor not on file!' => 'Distribuidor não está no arquivo!',
+ 'Vendor saved!' => 'Distribuidor salvo!',
+ 'Vendors' => 'Distribuidores',
+ 'Version' => 'Versão',
+ 'Weight' => 'Peso',
+ 'Weight Unit' => 'Unidade de Peso',
+ 'What type of item is this?' => 'Que tipo de Item é este?',
+ 'Year End' => 'Fim de ano',
+ 'Yes' => 'Sim',
+ 'You are logged out!' => 'Você saiu do sistema!',
+ 'You did not enter a name!' => 'Você não entrou com um nome',
+ 'You must enter a host and port for local and remote connections!' => 'Você precisa entrar um servidor e uma porta para conexões locais e remotas!',
+ 'as at' => 'como em',
+ 'collected on sales' => 'recolhido sobre vendas',
+ 'days' => 'Dias',
+ 'does not exist' => 'Não existe',
+ 'ea' => 'cada',
+ 'emailed to' => 'enviado por email para',
+ 'for Period' => 'pelo período',
+ 'hr' => 'h',
+ 'is already a member!' => 'já é um membro!',
+ 'is not a member!' => 'não é um membro!',
+ 'localhost' => 'localhost /servidor local',
+ 'paid on purchases' => 'pago em aquisições',
+ 'sent to printer' => 'enviado para impressora',
+ 'successfully created!' => 'Criado com sucesso!',
+ 'successfully deleted!' => 'Apagado com sucesso!',
+ 'to' => 'para',
+ 'website' => 'website',
+};
+
+1;
diff --git a/sql-ledger/locale/br/am b/sql-ledger/locale/br/am
new file mode 100644
index 0000000..eafe19d
--- /dev/null
+++ b/sql-ledger/locale/br/am
@@ -0,0 +1,139 @@
+$self{texts} = {
+ 'AP' => 'Contas a Pagar',
+ 'AR' => 'Contas a Receber',
+ 'Account' => 'Conta',
+ 'Account Number' => 'Número da Conta',
+ 'Account Number missing!' => 'Número da Conta não encontrado!',
+ 'Account Type' => 'Tipo de Conta',
+ 'Account Type missing!' => 'Tipo de Conta não encontrado!',
+ 'Account deleted!' => 'Conta apagada!',
+ 'Account saved!' => 'Conta salva!',
+ 'Add Account' => 'Adicionar Conta',
+ 'Add GIFI' => 'Adicionar CFOP',
+ 'Address' => 'Endereço',
+ 'Asset' => 'Ativo',
+ 'Audit Control' => 'Controle de Auditoria',
+ 'Backup sent to' => 'Cópia reserva enviada para',
+ 'Books are open' => 'Livros estão abertos',
+ 'Business Number' => 'Número de negócio',
+ 'COGS' => 'Custo de Vendas',
+ 'Cannot delete account!' => 'Não pode apagar conta!',
+ 'Cannot delete default account!' => 'Não pode apagar conta padrão!',
+ 'Cannot save account!' => 'Não pode salvar conta!',
+ 'Cannot save preferences!' => 'Não pode salvar preferências!',
+ 'Character Set' => 'Conjunto de caracteres',
+ 'Chart of Accounts' => 'Código de Contas',
+ 'Close Books up to' => 'Encerrar livros até',
+ 'Company' => 'Companhia',
+ 'Continue' => 'Continuar',
+ 'Copy to COA' => 'Copiar para Plano de Contas',
+ 'Credit' => 'Crédito',
+ 'Date Format' => 'Formato de Data',
+ 'Debit' => 'Débito',
+ 'Delete' => 'Apagar',
+ 'Delete Account' => 'Apagar Conta',
+ 'Description' => 'Descrição',
+ 'Dropdown Limit' => 'Limite de dropdown',
+ 'E-mail' => 'E-Mail',
+ 'Edit' => 'Editar',
+ 'Edit Account' => 'Editar Conta',
+ 'Edit GIFI' => 'Editar CFOP',
+ 'Edit Preferences for' => 'Editar Preferências para',
+ 'Edit Template' => 'Editar Modelo',
+ 'Enforce transaction reversal for all dates' => 'Forçar execução de reversão de transação para todas as datas',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Entre com até 3 letras separadas por dois pontos (i.e CAD:USD:EUR) para sua moeda local e estrangeira',
+ 'Equity' => 'Capital',
+ 'Expense' => 'Despesa',
+ 'Expense Account' => 'Conta de Despesas',
+ 'Expense/Asset' => 'Despesa/Ativo',
+ 'Fax' => 'Fax',
+ 'Foreign Exchange Gain' => 'Ganho com câmbio estrangeiro',
+ 'Foreign Exchange Loss' => 'Perda com câmbio estrangeiro',
+ 'GIFI' => 'CFOP - Código Fiscal da Operação',
+ 'GIFI deleted!' => 'CFOP apagado!',
+ 'GIFI missing!' => 'CFOP faltando!',
+ 'GIFI saved!' => 'CFOP salvo!',
+ 'Heading' => 'Cabeçalho',
+ 'Include in drop-down menus' => 'Incluir nos menus drop-down (tipo cortina)',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Incluir esta conta nos formulários de cliente/fornecedor para marcar cliente/fornecedor como sujeito a impostos.',
+ 'Income' => 'Receita',
+ 'Income Account' => 'Conta de Receitas',
+ 'Inventory' => 'Estoque',
+ 'Inventory Account' => 'Conta de Estoque',
+ 'Is this a summary account to record' => 'Esta é uma conta sumária a registrar?',
+ 'Language' => 'Idioma',
+ 'Last Invoice Number' => 'Último Número de Fatura',
+ 'Last Numbers & Default Accounts' => 'Últimos números e Contas Padrão',
+ 'Last Purchase Order Number' => 'Último Número de Pedido de Compra',
+ 'Last Sales Order Number' => 'Último número de pedido de vendas',
+ 'Liability' => 'Passivo',
+ 'Link' => 'Ligar',
+ 'Name' => 'Nome',
+ 'No' => 'Não',
+ 'No email address for' => 'Sem endereço de email para',
+ 'Number' => 'Número',
+ 'Number Format' => 'Formato de números',
+ 'Parts Inventory' => 'Estoque de Partes',
+ 'Password' => 'Senha',
+ 'Payables' => 'A Pagar',
+ 'Payment' => 'Pagamento',
+ 'Phone' => 'Tel.',
+ 'Preferences saved!' => 'Preferências Salvas!',
+ 'Rate' => 'Taxa',
+ 'Receivables' => 'A Receber',
+ 'Sales' => 'Vendas',
+ 'Save' => 'Salvar',
+ 'Service Items' => 'Ítens de Serviço',
+ 'Ship via' => 'Transportar via',
+ 'Signature' => 'Assinatura',
+ 'Stylesheet' => 'Folha de estilos',
+ 'Tax' => 'Imposto',
+ 'Tax Accounts' => 'Contas de Impostos',
+ 'Template saved!' => 'Modelo salvo!',
+ 'Transaction reversal enforced for all dates' => 'Reversão de transação forçada para todas as datas.',
+ 'Transaction reversal enforced up to' => 'Reversão de transação forçada até ',
+ 'Transactions exist; cannot delete account!' => 'Existem transações, não pode apagar conta!',
+ 'Weight Unit' => 'Unidade de Peso',
+ 'Year End' => 'Fim de ano',
+ 'Yes' => 'Sim',
+ 'does not exist' => 'Não existe',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_gifi' => 'add_gifi',
+ 'audit_control' => 'audit_control',
+ 'backup' => 'backup',
+ 'config' => 'config',
+ 'continue' => 'continue',
+ 'copy_to_coa' => 'copy_to_coa',
+ 'delete' => 'delete',
+ 'delete_account' => 'delete_account',
+ 'delete_gifi' => 'delete_gifi',
+ 'display_form' => 'display_form',
+ 'display_stylesheet' => 'display_stylesheet',
+ 'doclose' => 'doclose',
+ 'edit' => 'edit',
+ 'edit_gifi' => 'edit_gifi',
+ 'edit_template' => 'edit_template',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gifi_footer' => 'gifi_footer',
+ 'gifi_header' => 'gifi_header',
+ 'list' => 'list',
+ 'list_gifi' => 'list_gifi',
+ 'save' => 'save',
+ 'save_account' => 'save_account',
+ 'save_gifi' => 'save_gifi',
+ 'save_preferences' => 'save_preferences',
+ 'save_template' => 'save_template',
+ 'adicionar_conta' => 'add_account',
+ 'continuar' => 'continue',
+ 'copiar_para_plano_de_contas' => 'copy_to_coa',
+ 'apagar' => 'delete',
+ 'editar' => 'edit',
+ 'editar_conta' => 'edit_account',
+ 'salvar' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/br/ap b/sql-ledger/locale/br/ap
new file mode 100644
index 0000000..dce6c51
--- /dev/null
+++ b/sql-ledger/locale/br/ap
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AP Transaction' => 'Transação - Contas a Pagar',
+ 'AP Transactions' => 'Transações - Contas a Pagar',
+ 'Account' => 'Conta',
+ 'Add Accounts Payables Transaction' => 'Adicionar Transação de contas pagáveis',
+ 'Address' => 'Endereço',
+ 'Amount' => 'Total',
+ 'Amount Due' => 'Total Devido',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Are you sure you want to delete Transaction' => 'Tem certeza que quer APAGAR a Transação',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Cannot delete transaction!' => 'Não pode apagar transação!',
+ 'Cannot post payment for a closed period!' => 'Não pode lançar pagamento em período fechado!',
+ 'Cannot post transaction for a closed period!' => 'Não pode lançar transação para um período já encerrado!',
+ 'Cannot post transaction!' => 'Não pode lançar transação',
+ 'Closed' => 'Fechado',
+ 'Confirm!' => 'Confirmar!',
+ 'Continue' => 'Continuar',
+ 'Currency' => 'Moeda',
+ 'Customer not on file!' => 'Cliente não está no arquivo!',
+ 'Date' => 'Data',
+ 'Date Paid' => 'Data de pagamento',
+ 'Dec' => 'Dez',
+ 'December' => 'Dezembro',
+ 'Delete' => 'Apagar',
+ 'Description' => 'Descrição',
+ 'Due Date' => 'Data de Vencimento',
+ 'Due Date missing!' => 'Data de Vencimento faltando!',
+ 'Edit Accounts Payables Transaction' => 'Editar Transação - Contas a Pagar',
+ 'Employee' => 'Empregado',
+ 'Exch' => 'Câmbio',
+ 'Exchangerate' => 'Taxa de câmbio',
+ 'Exchangerate for payment missing!' => 'Falta a taxa de câmbio para o pagamento!',
+ 'Exchangerate missing!' => 'Falta a taxa de câmbio!',
+ 'Feb' => 'Fev',
+ 'February' => 'Fevereiro',
+ 'From' => 'De',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Incluir no Relatório',
+ 'Invoice' => 'Fatura',
+ 'Invoice Date' => 'Data de Fatura',
+ 'Invoice Date missing!' => 'Data de Factura não encontrada!',
+ 'Invoice Number' => 'Número de Fatura',
+ 'Invoice Number missing!' => 'Número de Fatura não encontrado!',
+ 'Jan' => 'Jan',
+ 'January' => 'Janeiro',
+ 'Jul' => 'Jul',
+ 'July' => 'Julho',
+ 'Jun' => 'Jun',
+ 'June' => 'Junho',
+ 'Mar' => 'Mar',
+ 'March' => 'Março',
+ 'May' => 'Mai',
+ 'May ' => 'Maio',
+ 'Notes' => 'Notas',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembro',
+ 'Number' => 'Número',
+ 'Oct' => 'Out',
+ 'October' => 'Outubro',
+ 'Open' => 'Abrir',
+ 'Order' => 'Pedido',
+ 'Order Number' => 'Pedido Número',
+ 'Paid' => 'Total Efetuado',
+ 'Payment date missing!' => 'Data de pagamento faltando!',
+ 'Payments' => 'Pagamentos',
+ 'Post' => 'Lançar',
+ 'Post as new' => 'Lançar como novo',
+ 'Project' => 'Projeto',
+ 'Project not on file!' => 'Projeto não está no arquivo!',
+ 'Purchase Invoice' => 'Fatura de compra',
+ 'Select from one of the names below' => 'Selecione um dos nomes abaixo',
+ 'Select from one of the projects below' => 'Selecione um dos projetos abaixo',
+ 'Sep' => 'Set',
+ 'September' => 'Setembro',
+ 'Source' => 'Fonte',
+ 'Subtotal' => 'Sub-total',
+ 'Tax' => 'Imposto',
+ 'Tax Included' => 'Impostos incluídos',
+ 'To' => 'Até',
+ 'Total' => 'Total',
+ 'Transaction deleted!' => 'Transação apagada!',
+ 'Transaction posted!' => 'Transação lançada',
+ 'Update' => 'Atualizar',
+ 'Vendor' => 'Distribuidor',
+ 'Vendor missing!' => 'Distribuidor faltando!',
+ 'Vendor not on file!' => 'Distribuidor não está no arquivo!',
+ 'Yes' => 'Sim',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_subtotal' => 'ap_subtotal',
+ 'ap_transaction' => 'ap_transaction',
+ 'ap_transactions' => 'ap_transactions',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'transação___contas_a_pagar' => 'ap_transaction',
+ 'adicionar_transação_de_contas_pagáveis' => 'add_accounts_payables_transaction',
+ 'continuar' => 'continue',
+ 'apagar' => 'delete',
+ 'editar_transação___contas_a_pagar' => 'edit_accounts_payables_transaction',
+ 'lançar' => 'post',
+ 'lançar_como_novo' => 'post_as_new',
+ 'fatura_de_compra' => 'purchase_invoice',
+ 'atualizar' => 'update',
+ 'sim' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/br/ar b/sql-ledger/locale/br/ar
new file mode 100644
index 0000000..95efd92
--- /dev/null
+++ b/sql-ledger/locale/br/ar
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AR Transaction' => 'Transação - Contas a Receber',
+ 'AR Transactions' => 'Transações - Contas a Receber',
+ 'Account' => 'Conta',
+ 'Add Accounts Receivables Transaction' => 'Adicionar Transação de contas recebíveis',
+ 'Address' => 'Endereço',
+ 'Amount' => 'Total',
+ 'Amount Due' => 'Total Devido',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Are you sure you want to delete Transaction' => 'Tem certeza que quer APAGAR a Transação',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Cannot delete transaction!' => 'Não pode apagar transação!',
+ 'Cannot post payment for a closed period!' => 'Não pode lançar pagamento em período fechado!',
+ 'Cannot post transaction for a closed period!' => 'Não pode lançar transação para um período já encerrado!',
+ 'Cannot post transaction!' => 'Não pode lançar transação',
+ 'Closed' => 'Fechado',
+ 'Confirm!' => 'Confirmar!',
+ 'Continue' => 'Continuar',
+ 'Credit Limit' => 'Limite de Crédito',
+ 'Currency' => 'Moeda',
+ 'Customer' => 'Cliente',
+ 'Customer missing!' => 'Cliente faltando!',
+ 'Customer not on file!' => 'Cliente não está no arquivo!',
+ 'Date' => 'Data',
+ 'Date Paid' => 'Data de pagamento',
+ 'Dec' => 'Dez',
+ 'December' => 'Dezembro',
+ 'Delete' => 'Apagar',
+ 'Description' => 'Descrição',
+ 'Due Date' => 'Data de Vencimento',
+ 'Due Date missing!' => 'Data de Vencimento faltando!',
+ 'Edit Accounts Receivables Transaction' => 'Editar Transação - Contas a Receber',
+ 'Employee' => 'Empregado',
+ 'Exch' => 'Câmbio',
+ 'Exchangerate' => 'Taxa de câmbio',
+ 'Exchangerate for payment missing!' => 'Falta a taxa de câmbio para o pagamento!',
+ 'Exchangerate missing!' => 'Falta a taxa de câmbio!',
+ 'Feb' => 'Fev',
+ 'February' => 'Fevereiro',
+ 'From' => 'De',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Incluir no Relatório',
+ 'Invoice' => 'Fatura',
+ 'Invoice Date' => 'Data de Fatura',
+ 'Invoice Date missing!' => 'Data de Factura não encontrada!',
+ 'Invoice Number' => 'Número de Fatura',
+ 'Invoice Number missing!' => 'Número de Fatura não encontrado!',
+ 'Jan' => 'Jan',
+ 'January' => 'Janeiro',
+ 'Jul' => 'Jul',
+ 'July' => 'Julho',
+ 'Jun' => 'Jun',
+ 'June' => 'Junho',
+ 'Mar' => 'Mar',
+ 'March' => 'Março',
+ 'May' => 'Mai',
+ 'May ' => 'Maio',
+ 'Notes' => 'Notas',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembro',
+ 'Number' => 'Número',
+ 'Oct' => 'Out',
+ 'October' => 'Outubro',
+ 'Open' => 'Abrir',
+ 'Order' => 'Pedido',
+ 'Order Number' => 'Pedido Número',
+ 'Paid' => 'Total Efetuado',
+ 'Payment date missing!' => 'Data de pagamento faltando!',
+ 'Payments' => 'Pagamentos',
+ 'Post' => 'Lançar',
+ 'Post as new' => 'Lançar como novo',
+ 'Project' => 'Projeto',
+ 'Project not on file!' => 'Projeto não está no arquivo!',
+ 'Remaining' => 'Restante',
+ 'Sales Invoice' => 'Fatura de Venda',
+ 'Select from one of the names below' => 'Selecione um dos nomes abaixo',
+ 'Select from one of the projects below' => 'Selecione um dos projetos abaixo',
+ 'Sep' => 'Set',
+ 'September' => 'Setembro',
+ 'Source' => 'Fonte',
+ 'Subtotal' => 'Sub-total',
+ 'Tax' => 'Imposto',
+ 'Tax Included' => 'Impostos incluídos',
+ 'To' => 'Até',
+ 'Total' => 'Total',
+ 'Transaction deleted!' => 'Transação apagada!',
+ 'Transaction posted!' => 'Transação lançada',
+ 'Update' => 'Atualizar',
+ 'Vendor not on file!' => 'Distribuidor não está no arquivo!',
+ 'Yes' => 'Sim',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_subtotal' => 'ar_subtotal',
+ 'ar_transaction' => 'ar_transaction',
+ 'ar_transactions' => 'ar_transactions',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'transação___contas_a_receber' => 'ar_transaction',
+ 'continuar' => 'continue',
+ 'apagar' => 'delete',
+ 'lançar' => 'post',
+ 'lançar_como_novo' => 'post_as_new',
+ 'fatura_de_venda' => 'sales_invoice',
+ 'atualizar' => 'update',
+ 'sim' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/br/arap b/sql-ledger/locale/br/arap
new file mode 100644
index 0000000..4565db6
--- /dev/null
+++ b/sql-ledger/locale/br/arap
@@ -0,0 +1,30 @@
+$self{texts} = {
+ 'Address' => 'Endereço',
+ 'Continue' => 'Continuar',
+ 'Customer not on file!' => 'Cliente não está no arquivo!',
+ 'Description' => 'Descrição',
+ 'Number' => 'Número',
+ 'Project not on file!' => 'Projeto não está no arquivo!',
+ 'Select from one of the names below' => 'Selecione um dos nomes abaixo',
+ 'Select from one of the projects below' => 'Selecione um dos projetos abaixo',
+ 'Vendor not on file!' => 'Distribuidor não está no arquivo!',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'continuar' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/br/ca b/sql-ledger/locale/br/ca
new file mode 100644
index 0000000..1f7cbc4
--- /dev/null
+++ b/sql-ledger/locale/br/ca
@@ -0,0 +1,50 @@
+$self{texts} = {
+ 'Account' => 'Conta',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Balance' => 'Balanço',
+ 'Chart of Accounts' => 'Código de Contas',
+ 'Credit' => 'Crédito',
+ 'Date' => 'Data',
+ 'Debit' => 'Débito',
+ 'Dec' => 'Dez',
+ 'December' => 'Dezembro',
+ 'Description' => 'Descrição',
+ 'Feb' => 'Fev',
+ 'February' => 'Fevereiro',
+ 'From' => 'De',
+ 'GIFI' => 'CFOP - Código Fiscal da Operação',
+ 'Include in Report' => 'Incluir no Relatório',
+ 'Jan' => 'Jan',
+ 'January' => 'Janeiro',
+ 'Jul' => 'Jul',
+ 'July' => 'Julho',
+ 'Jun' => 'Jun',
+ 'June' => 'Junho',
+ 'List Transactions' => 'Listar Transações',
+ 'Mar' => 'Mar',
+ 'March' => 'Março',
+ 'May' => 'Mai',
+ 'May ' => 'Maio',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembro',
+ 'Oct' => 'Out',
+ 'October' => 'Outubro',
+ 'Reference' => 'Referência',
+ 'Sep' => 'Set',
+ 'September' => 'Setembro',
+ 'Subtotal' => 'Sub-total',
+ 'To' => 'Até',
+};
+
+$self{subs} = {
+ 'ca_subtotal' => 'ca_subtotal',
+ 'chart_of_accounts' => 'chart_of_accounts',
+ 'list' => 'list',
+ 'list_transactions' => 'list_transactions',
+ 'listar_transações' => 'list_transactions',
+};
+
+1;
diff --git a/sql-ledger/locale/br/cp b/sql-ledger/locale/br/cp
new file mode 100644
index 0000000..471654b
--- /dev/null
+++ b/sql-ledger/locale/br/cp
@@ -0,0 +1,75 @@
+$self{texts} = {
+ 'Account' => 'Conta',
+ 'Address' => 'Endereço',
+ 'Amount' => 'Total',
+ 'Amount does not equal applied!' => 'Total não é igual ao aplicado!',
+ 'Amount missing!' => 'Total faltando!',
+ 'Applied' => 'Aplicado',
+ 'Cannot post payment!' => 'Não pode lançar pagamento!',
+ 'Cannot process payment for a closed period!' => 'Não pode processar pagamento para um pedíodo já encerrado!',
+ 'Check' => 'Cheque',
+ 'Check printed!' => 'Cheque impresso',
+ 'Check printing failed!' => 'Impressão de cheque falhou!',
+ 'Continue' => 'Continuar',
+ 'Currency' => 'Moeda',
+ 'Customer' => 'Cliente',
+ 'Customer not on file!' => 'Cliente não está no arquivo!',
+ 'Date' => 'Data',
+ 'Date missing!' => 'Data faltando!',
+ 'Description' => 'Descrição',
+ 'Due' => 'Saldo',
+ 'Exchangerate' => 'Taxa de câmbio',
+ 'From' => 'De',
+ 'Invoice' => 'Fatura',
+ 'Invoices' => 'Faturas',
+ 'Nothing applied!' => 'Nada foi aplicado!',
+ 'Number' => 'Número',
+ 'Paid in full' => 'Paid in full',
+ 'Payment' => 'Pagamento',
+ 'Payment posted!' => 'Pagamento Lançado',
+ 'Post' => 'Lançar',
+ 'Print' => 'Imprimir',
+ 'Printer' => 'Impressora',
+ 'Project not on file!' => 'Projeto não está no arquivo!',
+ 'Receipt' => 'Recibo',
+ 'Reference' => 'Referência',
+ 'Screen' => 'Tela',
+ 'Select from one of the names below' => 'Selecione um dos nomes abaixo',
+ 'Select from one of the projects below' => 'Selecione um dos projetos abaixo',
+ 'To' => 'Até',
+ 'Update' => 'Atualizar',
+ 'Vendor' => 'Distribuidor',
+ 'Vendor not on file!' => 'Distribuidor não está no arquivo!',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'list_invoices' => 'list_invoices',
+ 'name_selected' => 'name_selected',
+ 'payment' => 'payment',
+ 'post' => 'post',
+ 'print' => 'print',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'vendor_details' => 'vendor_details',
+ 'continuar' => 'continue',
+ 'lançar' => 'post',
+ 'imprimir' => 'print',
+ 'atualizar' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/br/ct b/sql-ledger/locale/br/ct
new file mode 100644
index 0000000..bfc96e5
--- /dev/null
+++ b/sql-ledger/locale/br/ct
@@ -0,0 +1,69 @@
+$self{texts} = {
+ 'Add' => 'Adicionar',
+ 'Address' => 'Endereço',
+ 'All' => 'Todas',
+ 'Bcc' => 'Bcc',
+ 'Cannot delete customer!' => 'Não pode apagar cliente!',
+ 'Cannot delete vendor!' => 'Não pode apagar fornecedor!',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Contato',
+ 'Continue' => 'Continuar',
+ 'Credit Limit' => 'Limite de Crédito',
+ 'Customer deleted!' => 'Cliente apagado!',
+ 'Customer saved!' => 'Cliente salvo',
+ 'Customers' => 'Clientes',
+ 'Delete' => 'Apagar',
+ 'Discount' => 'Desconto',
+ 'E-mail' => 'E-Mail',
+ 'Fax' => 'Fax',
+ 'Include in Report' => 'Incluir no Relatório',
+ 'Invoice' => 'Fatura',
+ 'Name' => 'Nome',
+ 'Name missing!' => 'Nome faltando!',
+ 'Notes' => 'Notas',
+ 'Number' => 'Número',
+ 'Order' => 'Pedido',
+ 'Orphaned' => 'Ficaram órfãs',
+ 'Phone' => 'Tel.',
+ 'Save' => 'Salvar',
+ 'Ship to' => 'Transportar para',
+ 'Tax Included' => 'Impostos incluídos',
+ 'Taxable' => 'Sujeito a impostos',
+ 'Terms: Net' => 'Crédito Líquido',
+ 'Transactions exist, cannot delete customer!' => 'Existem transações, não pode apagar o cliente!',
+ 'Transactions exist, cannot delete vendor!' => 'Existem transações, não pode apagar fornecedor!',
+ 'Vendor deleted!' => 'Distribuidor apagado!',
+ 'Vendor saved!' => 'Distribuidor salvo!',
+ 'Vendors' => 'Distribuidores',
+ 'days' => 'Dias',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'customer_invoice' => 'customer_invoice',
+ 'customer_order' => 'customer_order',
+ 'delete' => 'delete',
+ 'delete_customer' => 'delete_customer',
+ 'delete_vendor' => 'delete_vendor',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'invoice' => 'invoice',
+ 'list_names' => 'list_names',
+ 'order' => 'order',
+ 'save' => 'save',
+ 'save_customer' => 'save_customer',
+ 'save_vendor' => 'save_vendor',
+ 'search' => 'search',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'vendor_order' => 'vendor_order',
+ 'adicionar' => 'add',
+ 'continuar' => 'continue',
+ 'apagar' => 'delete',
+ 'fatura' => 'invoice',
+ 'pedido' => 'order',
+ 'salvar' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/br/gl b/sql-ledger/locale/br/gl
new file mode 100644
index 0000000..928761c
--- /dev/null
+++ b/sql-ledger/locale/br/gl
@@ -0,0 +1,124 @@
+$self{texts} = {
+ 'AP Transaction' => 'Transação - Contas a Pagar',
+ 'AR Transaction' => 'Transação - Contas a Receber',
+ 'Account' => 'Conta',
+ 'Add General Ledger Transaction' => 'Adicionar Transação Livro Razão',
+ 'Address' => 'Endereço',
+ 'All' => 'Todas',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Are you sure you want to delete Transaction' => 'Tem certeza que quer APAGAR a Transação',
+ 'Asset' => 'Ativo',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Balance' => 'Balanço',
+ 'Cannot delete transaction!' => 'Não pode apagar transação!',
+ 'Cannot have a value in both Debit and Credit!' => 'Não pode ter um valor em ambos Débito e Crédito!',
+ 'Cannot post a transaction without a value!' => 'Cannot post a transaction without a value!',
+ 'Cannot post transaction for a closed period!' => 'Não pode lançar transação para um período já encerrado!',
+ 'Confirm!' => 'Confirmar!',
+ 'Continue' => 'Continuar',
+ 'Credit' => 'Crédito',
+ 'Customer not on file!' => 'Cliente não está no arquivo!',
+ 'Date' => 'Data',
+ 'Debit' => 'Débito',
+ 'Debit and credit out of balance!' => 'Débito e crédito fora de balanço!',
+ 'Dec' => 'Dez',
+ 'December' => 'Dezembro',
+ 'Delete' => 'Apagar',
+ 'Description' => 'Descrição',
+ 'Edit General Ledger Transaction' => 'Editar Transação Livro Razão',
+ 'Equity' => 'Capital',
+ 'Expense' => 'Despesa',
+ 'Feb' => 'Fev',
+ 'February' => 'Fevereiro',
+ 'From' => 'De',
+ 'GIFI' => 'CFOP - Código Fiscal da Operação',
+ 'GL Transaction' => 'Transação do Livro Razão',
+ 'General Ledger' => 'Livro Razão',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Incluir no Relatório',
+ 'Income' => 'Receita',
+ 'Jan' => 'Jan',
+ 'January' => 'Janeiro',
+ 'Jul' => 'Jul',
+ 'July' => 'Julho',
+ 'Jun' => 'Jun',
+ 'June' => 'Junho',
+ 'Liability' => 'Passivo',
+ 'Mar' => 'Mar',
+ 'March' => 'Março',
+ 'May' => 'Mai',
+ 'May ' => 'Maio',
+ 'Notes' => 'Notas',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembro',
+ 'Number' => 'Número',
+ 'Oct' => 'Out',
+ 'October' => 'Outubro',
+ 'Post' => 'Lançar',
+ 'Post as new' => 'Lançar como novo',
+ 'Project' => 'Projeto',
+ 'Project not on file!' => 'Projeto não está no arquivo!',
+ 'Purchase Invoice' => 'Fatura de compra',
+ 'Reference' => 'Referência',
+ 'Reference missing!' => 'Referência faltando!',
+ 'Reports' => 'Relatórios',
+ 'Sales Invoice' => 'Fatura de Venda',
+ 'Select from one of the names below' => 'Selecione um dos nomes abaixo',
+ 'Select from one of the projects below' => 'Selecione um dos projetos abaixo',
+ 'Sep' => 'Set',
+ 'September' => 'Setembro',
+ 'Source' => 'Fonte',
+ 'Subtotal' => 'Sub-total',
+ 'To' => 'Até',
+ 'Transaction Date missing!' => 'Data de transação faltando!',
+ 'Transaction deleted!' => 'Transação apagada!',
+ 'Transaction posted!' => 'Transação lançada',
+ 'Update' => 'Atualizar',
+ 'Vendor not on file!' => 'Distribuidor não está no arquivo!',
+ 'Yes' => 'Sim',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'form_row' => 'form_row',
+ 'generate_report' => 'generate_report',
+ 'gl_subtotal' => 'gl_subtotal',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'transação___contas_a_pagar' => 'ap_transaction',
+ 'transação___contas_a_receber' => 'ar_transaction',
+ 'continuar' => 'continue',
+ 'apagar' => 'delete',
+ 'transação_do_livro_razão' => 'gl_transaction',
+ 'lançar' => 'post',
+ 'lançar_como_novo' => 'post_as_new',
+ 'fatura_de_compra' => 'purchase_invoice',
+ 'fatura_de_venda' => 'sales_invoice',
+ 'atualizar' => 'update',
+ 'sim' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/br/ic b/sql-ledger/locale/br/ic
new file mode 100644
index 0000000..c28c265
--- /dev/null
+++ b/sql-ledger/locale/br/ic
@@ -0,0 +1,205 @@
+$self{texts} = {
+ 'Active' => 'Ativa',
+ 'Add' => 'Adicionar',
+ 'Add Assembly' => 'Adicionar Conjunto',
+ 'Add Part' => 'Adicionar Parte',
+ 'Add Purchase Order' => 'Adicionar Pedido de Compra',
+ 'Add Sales Order' => 'Adicionar Pedido de Venda',
+ 'Add Service' => 'Adicionar Serviço',
+ 'Address' => 'Endereço',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Assemblies' => 'Conjuntos',
+ 'Assemblies restocked!' => 'Conjuntos re estocados',
+ 'Assembly Number missing!' => 'Número de conjunto faltando!',
+ 'Attachment' => 'Anexo',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'BOM' => 'Lista de Material',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Caixa/bandeja',
+ 'Bought' => 'Comprado',
+ 'COGS' => 'Custo de Vendas',
+ 'Cannot delete item already invoiced!' => 'Não posso apagar item já faturado!',
+ 'Cannot delete item on order!' => 'Não pode apagar item no pedido',
+ 'Cannot delete item which is part of an assembly!' => 'Não posso apagar item que é parte de um conjunto',
+ 'Cannot delete item!' => 'Não pode apagar item!',
+ 'Cannot stock assemblies!' => 'Não pode estocar conjuntos!',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Contato',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Cópias',
+ 'Dec' => 'Dez',
+ 'December' => 'Dezembro',
+ 'Delete' => 'Apagar',
+ 'Delivery Date' => 'Data de entrega',
+ 'Description' => 'Descrição',
+ 'Drawing' => 'Desenho',
+ 'E-mail' => 'E-Mail',
+ 'E-mail address missing!' => 'Endereço de E-mail faltando!',
+ 'Edit Assembly' => 'Editar Conjunto',
+ 'Edit Part' => 'Editar Parte',
+ 'Edit Service' => 'Editar Serviço',
+ 'Expense' => 'Despesa',
+ 'Extended' => 'Extendida',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Fev',
+ 'February' => 'Fevereiro',
+ 'From' => 'De',
+ 'Image' => 'Imagem',
+ 'In-line' => 'em linha',
+ 'Include in Report' => 'Incluir no Relatório',
+ 'Income' => 'Receita',
+ 'Individual Items' => 'Ítens individuais',
+ 'Inventory' => 'Estoque',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'Quantidade em estoque TEM de ser zero ANTES que você possa tornar este conjunto obsoleto!',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'Quantidade em estoque TEM de ser zero ANTES que você possa tornar esta parte/peça obsoleta!',
+ 'Inventory quantity must be zero!' => 'Quantidade em estoque TEM de ser zero!',
+ 'Invoice' => 'Fatura',
+ 'Invoice Date missing!' => 'Data de Factura não encontrada!',
+ 'Invoice Number' => 'Número de Fatura',
+ 'Invoice Number missing!' => 'Número de Fatura não encontrado!',
+ 'Item deleted!' => 'Item apagado!',
+ 'Item not on file!' => 'Item não está no arquivo!',
+ 'Jan' => 'Jan',
+ 'January' => 'Janeiro',
+ 'Jul' => 'Jul',
+ 'July' => 'Julho',
+ 'Jun' => 'Jun',
+ 'June' => 'Junho',
+ 'Last Cost' => 'Último Custo',
+ 'Line Total' => 'Total da linha',
+ 'Link Accounts' => 'Ligar Contas',
+ 'List Price' => 'Preço de lista',
+ 'Make' => 'Marca',
+ 'Mar' => 'Mar',
+ 'March' => 'Março',
+ 'May' => 'Mai',
+ 'May ' => 'Maio',
+ 'Message' => 'Mensagem',
+ 'Microfiche' => 'Microficha',
+ 'Model' => 'Modelo',
+ 'Name' => 'Nome',
+ 'No.' => 'No.',
+ 'Notes' => 'Notas',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembro',
+ 'Number' => 'Número',
+ 'Number missing in Row' => 'Número faltando na linha',
+ 'Obsolete' => 'Obsoleto',
+ 'Oct' => 'Out',
+ 'October' => 'Outubro',
+ 'On Hand' => 'Em Mãos',
+ 'On Order' => 'Em pedido',
+ 'Order' => 'Pedido',
+ 'Order Date missing!' => 'Data de Pedido Faltando',
+ 'Order Number' => 'Pedido Número',
+ 'Order Number missing!' => 'Número de pedido faltando!',
+ 'Ordered' => 'Pedido feito',
+ 'Orphaned' => 'Ficaram órfãs',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Lista de Empacotamento',
+ 'Packing List Date missing!' => 'Data da lista de empacotamento faltando!',
+ 'Packing List Number missing!' => 'Número da lista de empacotamento faltando!',
+ 'Part' => 'Parte',
+ 'Part Number missing!' => 'Número da parte não encontrado!',
+ 'Parts' => 'Partes',
+ 'Phone' => 'Tel.',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Preço',
+ 'Printer' => 'Impressora',
+ 'Project' => 'Projeto',
+ 'Purchase Order' => 'Ordem de Compra',
+ 'Qty' => 'Qtde',
+ 'ROP' => 'Nível mínimo de estoque',
+ 'Recd' => 'Recebidos',
+ 'Required by' => 'Requerido por',
+ 'Sales' => 'Vendas',
+ 'Sales Order' => 'Pedido de Venda',
+ 'Save' => 'Salvar',
+ 'Screen' => 'Tela',
+ 'Select from one of the items below' => 'Selecione um dos ítens abaixo',
+ 'Select postscript or PDF!' => 'Selecionar Postscript ou PDF',
+ 'Sell Price' => 'Preço de Venda',
+ 'Sep' => 'Set',
+ 'September' => 'Setembro',
+ 'Service' => 'Serviço',
+ 'Service Number missing!' => 'Número do serviço não encontrado!',
+ 'Services' => 'Serviços',
+ 'Ship' => 'Transportar',
+ 'Ship to' => 'Transportar para',
+ 'Short' => 'Curto',
+ 'Sold' => 'Vendido',
+ 'Stock Assembly' => 'Conjunto normal de estoque',
+ 'Subject' => 'Assunto',
+ 'Subtotal' => 'Sub-total',
+ 'Tax' => 'Imposto',
+ 'To' => 'Até',
+ 'Top Level' => 'Nível superior',
+ 'Total' => 'Total',
+ 'Unit' => 'Unidade',
+ 'Unit of measure' => 'Unidade de medida',
+ 'Update' => 'Atualizar',
+ 'Updated' => 'Atualizado',
+ 'Weight' => 'Peso',
+ 'What type of item is this?' => 'Que tipo de Item é este?',
+ 'ea' => 'cada',
+ 'emailed to' => 'enviado por email para',
+ 'hr' => 'h',
+ 'sent to printer' => 'enviado para impressora',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'assembly_row' => 'assembly_row',
+ 'check_form' => 'check_form',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'delete_assembly' => 'delete_assembly',
+ 'delete_item' => 'delete_item',
+ 'delete_part' => 'delete_part',
+ 'delete_service' => 'delete_service',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'link_part' => 'link_part',
+ 'list_assemblies' => 'list_assemblies',
+ 'makemodel_row' => 'makemodel_row',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'parts_subtotal' => 'parts_subtotal',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'restock_assemblies' => 'restock_assemblies',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'stock_assembly' => 'stock_assembly',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'adicionar' => 'add',
+ 'adicionar_conjunto' => 'add_assembly',
+ 'adicionar_parte' => 'add_part',
+ 'adicionar_serviço' => 'add_service',
+ 'continuar' => 'continue',
+ 'apagar' => 'delete',
+ 'editar_conjunto' => 'edit_assembly',
+ 'editar_parte' => 'edit_part',
+ 'editar_serviço' => 'edit_service',
+ 'salvar' => 'save',
+ 'atualizar' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/br/io b/sql-ledger/locale/br/io
new file mode 100644
index 0000000..8d07ecf
--- /dev/null
+++ b/sql-ledger/locale/br/io
@@ -0,0 +1,106 @@
+$self{texts} = {
+ 'Add Purchase Order' => 'Adicionar Pedido de Compra',
+ 'Add Sales Order' => 'Adicionar Pedido de Venda',
+ 'Address' => 'Endereço',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Attachment' => 'Anexo',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Caixa/bandeja',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Contato',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Cópias',
+ 'Dec' => 'Dez',
+ 'December' => 'Dezembro',
+ 'Delivery Date' => 'Data de entrega',
+ 'Description' => 'Descrição',
+ 'E-mail' => 'E-Mail',
+ 'E-mail address missing!' => 'Endereço de E-mail faltando!',
+ 'Extended' => 'Extendida',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Fev',
+ 'February' => 'Fevereiro',
+ 'In-line' => 'em linha',
+ 'Invoice' => 'Fatura',
+ 'Invoice Date missing!' => 'Data de Factura não encontrada!',
+ 'Invoice Number missing!' => 'Número de Fatura não encontrado!',
+ 'Item not on file!' => 'Item não está no arquivo!',
+ 'Jan' => 'Jan',
+ 'January' => 'Janeiro',
+ 'Jul' => 'Jul',
+ 'July' => 'Julho',
+ 'Jun' => 'Jun',
+ 'June' => 'Junho',
+ 'Mar' => 'Mar',
+ 'March' => 'Março',
+ 'May' => 'Mai',
+ 'May ' => 'Maio',
+ 'Message' => 'Mensagem',
+ 'Name' => 'Nome',
+ 'No.' => 'No.',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembro',
+ 'Number' => 'Número',
+ 'Number missing in Row' => 'Número faltando na linha',
+ 'Oct' => 'Out',
+ 'October' => 'Outubro',
+ 'Order' => 'Pedido',
+ 'Order Date missing!' => 'Data de Pedido Faltando',
+ 'Order Number missing!' => 'Número de pedido faltando!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Lista de Empacotamento',
+ 'Packing List Date missing!' => 'Data da lista de empacotamento faltando!',
+ 'Packing List Number missing!' => 'Número da lista de empacotamento faltando!',
+ 'Part' => 'Parte',
+ 'Phone' => 'Tel.',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Preço',
+ 'Printer' => 'Impressora',
+ 'Project' => 'Projeto',
+ 'Purchase Order' => 'Ordem de Compra',
+ 'Qty' => 'Qtde',
+ 'Recd' => 'Recebidos',
+ 'Required by' => 'Requerido por',
+ 'Sales Order' => 'Pedido de Venda',
+ 'Screen' => 'Tela',
+ 'Select from one of the items below' => 'Selecione um dos ítens abaixo',
+ 'Select postscript or PDF!' => 'Selecionar Postscript ou PDF',
+ 'Sep' => 'Set',
+ 'September' => 'Setembro',
+ 'Service' => 'Serviço',
+ 'Ship' => 'Transportar',
+ 'Ship to' => 'Transportar para',
+ 'Subject' => 'Assunto',
+ 'To' => 'Até',
+ 'Unit' => 'Unidade',
+ 'What type of item is this?' => 'Que tipo de Item é este?',
+ 'emailed to' => 'enviado por email para',
+ 'sent to printer' => 'enviado para impressora',
+};
+
+$self{subs} = {
+ 'check_form' => 'check_form',
+ 'customer_details' => 'customer_details',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'continuar' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/br/ir b/sql-ledger/locale/br/ir
new file mode 100644
index 0000000..67bc4d4
--- /dev/null
+++ b/sql-ledger/locale/br/ir
@@ -0,0 +1,178 @@
+$self{texts} = {
+ 'Account' => 'Conta',
+ 'Add Purchase Invoice' => 'Adicionar Fatura de Compra',
+ 'Add Purchase Order' => 'Adicionar Pedido de Compra',
+ 'Add Sales Order' => 'Adicionar Pedido de Venda',
+ 'Address' => 'Endereço',
+ 'Amount' => 'Total',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Are you sure you want to delete Invoice Number' => 'Tem certeza que quer APAGAR a Fatura Número',
+ 'Attachment' => 'Anexo',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Caixa/bandeja',
+ 'Cannot delete invoice!' => 'Não pode apagar fatura!',
+ 'Cannot post invoice for a closed period!' => 'Não pode lançar fatura em período fechado!',
+ 'Cannot post invoice!' => 'Não pode lançar fatura!',
+ 'Cannot post payment for a closed period!' => 'Não pode lançar pagamento em período fechado!',
+ 'Cc' => 'Cc',
+ 'Confirm!' => 'Confirmar!',
+ 'Contact' => 'Contato',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Cópias',
+ 'Currency' => 'Moeda',
+ 'Customer not on file!' => 'Cliente não está no arquivo!',
+ 'Date' => 'Data',
+ 'Date Due' => 'Data de Vencimento',
+ 'Dec' => 'Dez',
+ 'December' => 'Dezembro',
+ 'Delete' => 'Apagar',
+ 'Delivery Date' => 'Data de entrega',
+ 'Description' => 'Descrição',
+ 'E-mail' => 'E-Mail',
+ 'E-mail address missing!' => 'Endereço de E-mail faltando!',
+ 'Edit Purchase Invoice' => 'Editar Fatura de Compra',
+ 'Exch' => 'Câmbio',
+ 'Exchangerate' => 'Taxa de câmbio',
+ 'Exchangerate for payment missing!' => 'Falta a taxa de câmbio para o pagamento!',
+ 'Exchangerate missing!' => 'Falta a taxa de câmbio!',
+ 'Extended' => 'Extendida',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Fev',
+ 'February' => 'Fevereiro',
+ 'In-line' => 'em linha',
+ 'Invoice' => 'Fatura',
+ 'Invoice Date' => 'Data de Fatura',
+ 'Invoice Date missing!' => 'Data de Factura não encontrada!',
+ 'Invoice Number' => 'Número de Fatura',
+ 'Invoice Number missing!' => 'Número de Fatura não encontrado!',
+ 'Invoice deleted!' => 'Fatura apagada!',
+ 'Invoice posted!' => 'Fatura lançada!',
+ 'Item not on file!' => 'Item não está no arquivo!',
+ 'Jan' => 'Jan',
+ 'January' => 'Janeiro',
+ 'Jul' => 'Jul',
+ 'July' => 'Julho',
+ 'Jun' => 'Jun',
+ 'June' => 'Junho',
+ 'Mar' => 'Mar',
+ 'March' => 'Março',
+ 'May' => 'Mai',
+ 'May ' => 'Maio',
+ 'Message' => 'Mensagem',
+ 'Name' => 'Nome',
+ 'No.' => 'No.',
+ 'Notes' => 'Notas',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembro',
+ 'Number' => 'Número',
+ 'Number missing in Row' => 'Número faltando na linha',
+ 'Oct' => 'Out',
+ 'October' => 'Outubro',
+ 'Order' => 'Pedido',
+ 'Order Date missing!' => 'Data de Pedido Faltando',
+ 'Order Number' => 'Pedido Número',
+ 'Order Number missing!' => 'Número de pedido faltando!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Lista de Empacotamento',
+ 'Packing List Date missing!' => 'Data da lista de empacotamento faltando!',
+ 'Packing List Number missing!' => 'Número da lista de empacotamento faltando!',
+ 'Part' => 'Parte',
+ 'Payment date missing!' => 'Data de pagamento faltando!',
+ 'Payments' => 'Pagamentos',
+ 'Phone' => 'Tel.',
+ 'Post' => 'Lançar',
+ 'Post as new' => 'Lançar como novo',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Preço',
+ 'Printer' => 'Impressora',
+ 'Project' => 'Projeto',
+ 'Project not on file!' => 'Projeto não está no arquivo!',
+ 'Purchase Order' => 'Ordem de Compra',
+ 'Qty' => 'Qtde',
+ 'Recd' => 'Recebidos',
+ 'Record in' => 'Registrar em',
+ 'Required by' => 'Requerido por',
+ 'Sales Order' => 'Pedido de Venda',
+ 'Screen' => 'Tela',
+ 'Select from one of the items below' => 'Selecione um dos ítens abaixo',
+ 'Select from one of the names below' => 'Selecione um dos nomes abaixo',
+ 'Select from one of the projects below' => 'Selecione um dos projetos abaixo',
+ 'Select postscript or PDF!' => 'Selecionar Postscript ou PDF',
+ 'Sep' => 'Set',
+ 'September' => 'Setembro',
+ 'Service' => 'Serviço',
+ 'Ship' => 'Transportar',
+ 'Ship to' => 'Transportar para',
+ 'Source' => 'Fonte',
+ 'Subject' => 'Assunto',
+ 'Subtotal' => 'Sub-total',
+ 'Tax Included' => 'Impostos incluídos',
+ 'To' => 'Até',
+ 'Total' => 'Total',
+ 'Unit' => 'Unidade',
+ 'Update' => 'Atualizar',
+ 'Vendor' => 'Distribuidor',
+ 'Vendor missing!' => 'Distribuidor faltando!',
+ 'Vendor not on file!' => 'Distribuidor não está no arquivo!',
+ 'What type of item is this?' => 'Que tipo de Item é este?',
+ 'Yes' => 'Sim',
+ 'ea' => 'cada',
+ 'emailed to' => 'enviado por email para',
+ 'sent to printer' => 'enviado para impressora',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'continuar' => 'continue',
+ 'apagar' => 'delete',
+ 'pedido' => 'order',
+ 'lançar' => 'post',
+ 'lançar_como_novo' => 'post_as_new',
+ 'atualizar' => 'update',
+ 'sim' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/br/is b/sql-ledger/locale/br/is
new file mode 100644
index 0000000..7d11365
--- /dev/null
+++ b/sql-ledger/locale/br/is
@@ -0,0 +1,185 @@
+$self{texts} = {
+ 'Account' => 'Conta',
+ 'Add Purchase Order' => 'Adicionar Pedido de Compra',
+ 'Add Sales Invoice' => 'Adicionar Fatura de Venda',
+ 'Add Sales Order' => 'Adicionar Pedido de Venda',
+ 'Address' => 'Endereço',
+ 'Amount' => 'Total',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Are you sure you want to delete Invoice Number' => 'Tem certeza que quer APAGAR a Fatura Número',
+ 'Attachment' => 'Anexo',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Caixa/bandeja',
+ 'Cannot delete invoice!' => 'Não pode apagar fatura!',
+ 'Cannot post invoice for a closed period!' => 'Não pode lançar fatura em período fechado!',
+ 'Cannot post invoice!' => 'Não pode lançar fatura!',
+ 'Cannot post payment for a closed period!' => 'Não pode lançar pagamento em período fechado!',
+ 'Cc' => 'Cc',
+ 'Confirm!' => 'Confirmar!',
+ 'Contact' => 'Contato',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Cópias',
+ 'Credit Limit' => 'Limite de Crédito',
+ 'Currency' => 'Moeda',
+ 'Customer' => 'Cliente',
+ 'Customer missing!' => 'Cliente faltando!',
+ 'Customer not on file!' => 'Cliente não está no arquivo!',
+ 'Date' => 'Data',
+ 'Date Due' => 'Data de Vencimento',
+ 'Dec' => 'Dez',
+ 'December' => 'Dezembro',
+ 'Delete' => 'Apagar',
+ 'Delivery Date' => 'Data de entrega',
+ 'Description' => 'Descrição',
+ 'E-mail' => 'E-Mail',
+ 'E-mail address missing!' => 'Endereço de E-mail faltando!',
+ 'Edit Sales Invoice' => 'Editar Fatura de Venda',
+ 'Exch' => 'Câmbio',
+ 'Exchangerate' => 'Taxa de câmbio',
+ 'Exchangerate for payment missing!' => 'Falta a taxa de câmbio para o pagamento!',
+ 'Exchangerate missing!' => 'Falta a taxa de câmbio!',
+ 'Extended' => 'Extendida',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Fev',
+ 'February' => 'Fevereiro',
+ 'In-line' => 'em linha',
+ 'Invoice' => 'Fatura',
+ 'Invoice Date' => 'Data de Fatura',
+ 'Invoice Date missing!' => 'Data de Factura não encontrada!',
+ 'Invoice Number' => 'Número de Fatura',
+ 'Invoice Number missing!' => 'Número de Fatura não encontrado!',
+ 'Invoice deleted!' => 'Fatura apagada!',
+ 'Invoice posted!' => 'Fatura lançada!',
+ 'Item not on file!' => 'Item não está no arquivo!',
+ 'Jan' => 'Jan',
+ 'January' => 'Janeiro',
+ 'Jul' => 'Jul',
+ 'July' => 'Julho',
+ 'Jun' => 'Jun',
+ 'June' => 'Junho',
+ 'Mar' => 'Mar',
+ 'March' => 'Março',
+ 'May' => 'Mai',
+ 'May ' => 'Maio',
+ 'Message' => 'Mensagem',
+ 'Name' => 'Nome',
+ 'No.' => 'No.',
+ 'Notes' => 'Notas',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembro',
+ 'Number' => 'Número',
+ 'Number missing in Row' => 'Número faltando na linha',
+ 'Oct' => 'Out',
+ 'October' => 'Outubro',
+ 'Order' => 'Pedido',
+ 'Order Date missing!' => 'Data de Pedido Faltando',
+ 'Order Number' => 'Pedido Número',
+ 'Order Number missing!' => 'Número de pedido faltando!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Lista de Empacotamento',
+ 'Packing List Date missing!' => 'Data da lista de empacotamento faltando!',
+ 'Packing List Number missing!' => 'Número da lista de empacotamento faltando!',
+ 'Part' => 'Parte',
+ 'Payment date missing!' => 'Data de pagamento faltando!',
+ 'Payments' => 'Pagamentos',
+ 'Phone' => 'Tel.',
+ 'Post' => 'Lançar',
+ 'Post as new' => 'Lançar como novo',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Preço',
+ 'Print' => 'Imprimir',
+ 'Printer' => 'Impressora',
+ 'Project' => 'Projeto',
+ 'Project not on file!' => 'Projeto não está no arquivo!',
+ 'Purchase Order' => 'Ordem de Compra',
+ 'Qty' => 'Qtde',
+ 'Recd' => 'Recebidos',
+ 'Record in' => 'Registrar em',
+ 'Remaining' => 'Restante',
+ 'Required by' => 'Requerido por',
+ 'Sales Order' => 'Pedido de Venda',
+ 'Screen' => 'Tela',
+ 'Select from one of the items below' => 'Selecione um dos ítens abaixo',
+ 'Select from one of the names below' => 'Selecione um dos nomes abaixo',
+ 'Select from one of the projects below' => 'Selecione um dos projetos abaixo',
+ 'Select postscript or PDF!' => 'Selecionar Postscript ou PDF',
+ 'Sep' => 'Set',
+ 'September' => 'Setembro',
+ 'Service' => 'Serviço',
+ 'Ship' => 'Transportar',
+ 'Ship to' => 'Transportar para',
+ 'Ship via' => 'Transportar via',
+ 'Source' => 'Fonte',
+ 'Subject' => 'Assunto',
+ 'Subtotal' => 'Sub-total',
+ 'Tax Included' => 'Impostos incluídos',
+ 'To' => 'Até',
+ 'Total' => 'Total',
+ 'Unit' => 'Unidade',
+ 'Update' => 'Atualizar',
+ 'Vendor not on file!' => 'Distribuidor não está no arquivo!',
+ 'What type of item is this?' => 'Que tipo de Item é este?',
+ 'Yes' => 'Sim',
+ 'ea' => 'cada',
+ 'emailed to' => 'enviado por email para',
+ 'sent to printer' => 'enviado para impressora',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'continuar' => 'continue',
+ 'apagar' => 'delete',
+ 'e_mail' => 'e_mail',
+ 'pedido' => 'order',
+ 'lançar' => 'post',
+ 'lançar_como_novo' => 'post_as_new',
+ 'imprimir' => 'print',
+ 'transportar_para' => 'ship_to',
+ 'atualizar' => 'update',
+ 'sim' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/br/login b/sql-ledger/locale/br/login
new file mode 100644
index 0000000..ff7494c
--- /dev/null
+++ b/sql-ledger/locale/br/login
@@ -0,0 +1,28 @@
+$self{texts} = {
+ 'About' => 'Sobre',
+ 'Accounting' => 'Contabilidade',
+ 'Database Host' => 'Servidor de Base de Dados',
+ 'Dataset' => 'Conjunto de dados',
+ 'Incorrect Dataset version!' => 'Versão incorreta de grupos de dados!',
+ 'Incorrect Password!' => 'Senha incorreta!',
+ 'Licensed to' => 'Licenciado a',
+ 'Login' => 'Acessar/login',
+ 'Name' => 'Nome',
+ 'Password' => 'Senha',
+ 'User' => 'Usuário',
+ 'Version' => 'Versão',
+ 'You are logged out!' => 'Você saiu do sistema!',
+ 'You did not enter a name!' => 'Você não entrou com um nome',
+ 'is not a member!' => 'não é um membro!',
+ 'localhost' => 'localhost /servidor local',
+};
+
+$self{subs} = {
+ 'company_logo' => 'company_logo',
+ 'login' => 'login',
+ 'login_screen' => 'login_screen',
+ 'logout' => 'logout',
+ 'acessar/login' => 'login',
+};
+
+1;
diff --git a/sql-ledger/locale/br/menu b/sql-ledger/locale/br/menu
new file mode 100644
index 0000000..1ad51b6
--- /dev/null
+++ b/sql-ledger/locale/br/menu
@@ -0,0 +1,72 @@
+$self{texts} = {
+ 'AP' => 'Contas a Pagar',
+ 'AP Aging' => 'Contas a Pagar Vencidas',
+ 'AR' => 'Contas a Receber',
+ 'AR Aging' => 'Contas a Receber Vencidas',
+ 'Accounting Menu' => 'Menu de Contabilidade',
+ 'Add Account' => 'Adicionar Conta',
+ 'Add Assembly' => 'Adicionar Conjunto',
+ 'Add Customer' => 'Adicionar Cliente',
+ 'Add GIFI' => 'Adicionar CFOP',
+ 'Add Part' => 'Adicionar Parte',
+ 'Add Project' => 'Adicionar projeto',
+ 'Add Service' => 'Adicionar Serviço',
+ 'Add Transaction' => 'Adicionar Transação',
+ 'Add Vendor' => 'Adicionar Distribuidor',
+ 'Assemblies' => 'Conjuntos',
+ 'Audit Control' => 'Controle de Auditoria',
+ 'Backup' => 'Cópia de reserva',
+ 'Balance Sheet' => 'Folha de Balanço',
+ 'Cash' => 'Caixa',
+ 'Chart of Accounts' => 'Código de Contas',
+ 'Check' => 'Cheque',
+ 'Customers' => 'Clientes',
+ 'General Ledger' => 'Livro Razão',
+ 'Goods & Services' => 'Produtos e Serviços',
+ 'HTML Templates' => 'Modelos HTML',
+ 'Income Statement' => 'Estado de Receitas',
+ 'Invoice' => 'Fatura',
+ 'LaTeX Templates' => 'Modelos LaTeX',
+ 'List Accounts' => 'Listar Contas',
+ 'List GIFI' => 'Listar CFOP',
+ 'Logout' => 'Logout (sair)',
+ 'Order Entry' => 'Entrada de Pedido',
+ 'Packing List' => 'Lista de Empacotamento',
+ 'Parts' => 'Partes',
+ 'Payment' => 'Pagamento',
+ 'Payments' => 'Pagamentos',
+ 'Preferences' => 'Preferências',
+ 'Projects' => 'Projetos',
+ 'Purchase Invoice' => 'Fatura de compra',
+ 'Purchase Order' => 'Ordem de Compra',
+ 'Purchase Orders' => 'Ordens de Compra',
+ 'Receipt' => 'Recibo',
+ 'Receipts' => 'Recibos',
+ 'Reconciliation' => 'Reconciliação',
+ 'Reports' => 'Relatórios',
+ 'Sales Invoice' => 'Fatura de Venda',
+ 'Sales Order' => 'Pedido de Venda',
+ 'Sales Orders' => 'Pedidos de Venda',
+ 'Save to File' => 'Salvar para Arquivo',
+ 'Send by E-Mail' => 'Enviar por E-mail',
+ 'Services' => 'Serviços',
+ 'Statement' => 'Declaração',
+ 'Stock Assembly' => 'Conjunto normal de estoque',
+ 'Stylesheet' => 'Folha de estilos',
+ 'System' => 'Sistema',
+ 'Tax collected' => 'Imposto recolhido',
+ 'Tax paid' => 'Imposto pago',
+ 'Transactions' => 'Tansações',
+ 'Trial Balance' => 'Balanço Preliminar',
+ 'Vendors' => 'Distribuidores',
+ 'Version' => 'Versão',
+ 'localhost' => 'localhost /servidor local',
+};
+
+$self{subs} = {
+ 'acc_menu' => 'acc_menu',
+ 'display' => 'display',
+ 'section_menu' => 'section_menu',
+};
+
+1;
diff --git a/sql-ledger/locale/br/oe b/sql-ledger/locale/br/oe
new file mode 100644
index 0000000..d984270
--- /dev/null
+++ b/sql-ledger/locale/br/oe
@@ -0,0 +1,199 @@
+$self{texts} = {
+ 'Add' => 'Adicionar',
+ 'Add Purchase Invoice' => 'Adicionar Fatura de Compra',
+ 'Add Purchase Order' => 'Adicionar Pedido de Compra',
+ 'Add Sales Invoice' => 'Adicionar Fatura de Venda',
+ 'Add Sales Order' => 'Adicionar Pedido de Venda',
+ 'Address' => 'Endereço',
+ 'Amount' => 'Total',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Are you sure you want to delete Order Number' => 'Tem certeza que quer APAGAR tal número de Pedido?',
+ 'Attachment' => 'Anexo',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Caixa/bandeja',
+ 'C' => 'F',
+ 'Cannot delete order!' => 'Não pode apagar pedido!',
+ 'Cannot save order!' => 'Não pode salvar pedido!',
+ 'Cc' => 'Cc',
+ 'Closed' => 'Fechado',
+ 'Confirm!' => 'Confirmar!',
+ 'Contact' => 'Contato',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Cópias',
+ 'Credit Limit' => 'Limite de Crédito',
+ 'Curr' => 'Moeda',
+ 'Currency' => 'Moeda',
+ 'Customer' => 'Cliente',
+ 'Customer missing!' => 'Cliente faltando!',
+ 'Customer not on file!' => 'Cliente não está no arquivo!',
+ 'Date' => 'Data',
+ 'Dec' => 'Dez',
+ 'December' => 'Dezembro',
+ 'Delete' => 'Apagar',
+ 'Delivery Date' => 'Data de entrega',
+ 'Description' => 'Descrição',
+ 'E-mail' => 'E-Mail',
+ 'E-mail address missing!' => 'Endereço de E-mail faltando!',
+ 'Edit Purchase Order' => 'Editar Pedido de Compra',
+ 'Edit Sales Order' => 'Editar Pedido de Venda',
+ 'Exchangerate' => 'Taxa de câmbio',
+ 'Exchangerate missing!' => 'Falta a taxa de câmbio!',
+ 'Extended' => 'Extendida',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Fev',
+ 'February' => 'Fevereiro',
+ 'From' => 'De',
+ 'ID' => 'ID',
+ 'In-line' => 'em linha',
+ 'Include in Report' => 'Incluir no Relatório',
+ 'Invoice' => 'Fatura',
+ 'Invoice Date missing!' => 'Data de Factura não encontrada!',
+ 'Invoice Number missing!' => 'Número de Fatura não encontrado!',
+ 'Item not on file!' => 'Item não está no arquivo!',
+ 'Jan' => 'Jan',
+ 'January' => 'Janeiro',
+ 'Jul' => 'Jul',
+ 'July' => 'Julho',
+ 'Jun' => 'Jun',
+ 'June' => 'Junho',
+ 'Mar' => 'Mar',
+ 'March' => 'Março',
+ 'May' => 'Mai',
+ 'May ' => 'Maio',
+ 'Message' => 'Mensagem',
+ 'Name' => 'Nome',
+ 'No.' => 'No.',
+ 'Notes' => 'Notas',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembro',
+ 'Number' => 'Número',
+ 'Number missing in Row' => 'Número faltando na linha',
+ 'O' => 'A',
+ 'Oct' => 'Out',
+ 'October' => 'Outubro',
+ 'Open' => 'Abrir',
+ 'Order' => 'Pedido',
+ 'Order Date' => 'Data de Pedido',
+ 'Order Date missing!' => 'Data de Pedido Faltando',
+ 'Order Number' => 'Pedido Número',
+ 'Order Number missing!' => 'Número de pedido faltando!',
+ 'Order deleted!' => 'Pedido apagado!',
+ 'Order saved!' => 'Pedido salvo!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Lista de Empacotamento',
+ 'Packing List Date missing!' => 'Data da lista de empacotamento faltando!',
+ 'Packing List Number missing!' => 'Número da lista de empacotamento faltando!',
+ 'Part' => 'Parte',
+ 'Phone' => 'Tel.',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Preço',
+ 'Print' => 'Imprimir',
+ 'Printer' => 'Impressora',
+ 'Project' => 'Projeto',
+ 'Project not on file!' => 'Projeto não está no arquivo!',
+ 'Purchase Order' => 'Ordem de Compra',
+ 'Purchase Orders' => 'Ordens de Compra',
+ 'Qty' => 'Qtde',
+ 'Recd' => 'Recebidos',
+ 'Remaining' => 'Restante',
+ 'Required by' => 'Requerido por',
+ 'Sales Order' => 'Pedido de Venda',
+ 'Sales Orders' => 'Pedidos de Venda',
+ 'Save' => 'Salvar',
+ 'Save as new' => 'Salvar como novo',
+ 'Screen' => 'Tela',
+ 'Select from one of the items below' => 'Selecione um dos ítens abaixo',
+ 'Select from one of the names below' => 'Selecione um dos nomes abaixo',
+ 'Select from one of the projects below' => 'Selecione um dos projetos abaixo',
+ 'Select postscript or PDF!' => 'Selecionar Postscript ou PDF',
+ 'Sep' => 'Set',
+ 'September' => 'Setembro',
+ 'Service' => 'Serviço',
+ 'Ship' => 'Transportar',
+ 'Ship to' => 'Transportar para',
+ 'Ship via' => 'Transportar via',
+ 'Subject' => 'Assunto',
+ 'Subtotal' => 'Sub-total',
+ 'Tax' => 'Imposto',
+ 'Tax Included' => 'Impostos incluídos',
+ 'Terms: Net' => 'Crédito Líquido',
+ 'To' => 'Até',
+ 'Total' => 'Total',
+ 'Unit' => 'Unidade',
+ 'Update' => 'Atualizar',
+ 'Vendor' => 'Distribuidor',
+ 'Vendor missing!' => 'Distribuidor faltando!',
+ 'Vendor not on file!' => 'Distribuidor não está no arquivo!',
+ 'What type of item is this?' => 'Que tipo de Item é este?',
+ 'Yes' => 'Sim',
+ 'days' => 'Dias',
+ 'ea' => 'cada',
+ 'emailed to' => 'enviado por email para',
+ 'sent to printer' => 'enviado para impressora',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_backorder' => 'create_backorder',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice' => 'invoice',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'order_links' => 'order_links',
+ 'orders' => 'orders',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_order' => 'prepare_order',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'save' => 'save',
+ 'save_as_new' => 'save_as_new',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'subtotal' => 'subtotal',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'adicionar' => 'add',
+ 'continuar' => 'continue',
+ 'apagar' => 'delete',
+ 'e_mail' => 'e_mail',
+ 'fatura' => 'invoice',
+ 'imprimir' => 'print',
+ 'salvar' => 'save',
+ 'salvar_como_novo' => 'save_as_new',
+ 'transportar_para' => 'ship_to',
+ 'atualizar' => 'update',
+ 'sim' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/br/pe b/sql-ledger/locale/br/pe
new file mode 100644
index 0000000..1441b36
--- /dev/null
+++ b/sql-ledger/locale/br/pe
@@ -0,0 +1,35 @@
+$self{texts} = {
+ 'Add' => 'Adicionar',
+ 'Add Project' => 'Adicionar projeto',
+ 'All' => 'Todas',
+ 'Continue' => 'Continuar',
+ 'Delete' => 'Apagar',
+ 'Description' => 'Descrição',
+ 'Edit Project' => 'Editar Projeto',
+ 'Number' => 'Número',
+ 'Orphaned' => 'Ficaram órfãs',
+ 'Project' => 'Projeto',
+ 'Project Number missing!' => 'Número do Projeto faltando!',
+ 'Project deleted!' => 'Projeto apagado!',
+ 'Project saved!' => 'Projeto salvo!',
+ 'Projects' => 'Projetos',
+ 'Save' => 'Salvar',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'adicionar' => 'add',
+ 'continuar' => 'continue',
+ 'apagar' => 'delete',
+ 'salvar' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/br/rc b/sql-ledger/locale/br/rc
new file mode 100644
index 0000000..7fd872b
--- /dev/null
+++ b/sql-ledger/locale/br/rc
@@ -0,0 +1,37 @@
+$self{texts} = {
+ 'Account' => 'Conta',
+ 'Balance' => 'Balanço',
+ 'Cleared Balance' => 'Balanço limpo',
+ 'Continue' => 'Continuar',
+ 'Date' => 'Data',
+ 'Deposit' => 'Depósito',
+ 'Description' => 'Descrição',
+ 'Difference' => 'Diferença',
+ 'Done' => 'Feito',
+ 'Exchangerate Difference' => 'Diferença da Taxa de Câmbio',
+ 'From' => 'De',
+ 'Out of balance!' => 'Fora de balanço!',
+ 'Payment' => 'Pagamento',
+ 'Reconciliation' => 'Reconciliação',
+ 'Select all' => 'Selecionar todos',
+ 'Source' => 'Fonte',
+ 'Statement Balance' => 'Declaração de Balanço',
+ 'To' => 'Até',
+ 'Update' => 'Atualizar',
+};
+
+$self{subs} = {
+ 'continue' => 'continue',
+ 'display_form' => 'display_form',
+ 'done' => 'done',
+ 'get_payments' => 'get_payments',
+ 'reconciliation' => 'reconciliation',
+ 'select_all' => 'select_all',
+ 'update' => 'update',
+ 'continuar' => 'continue',
+ 'feito' => 'done',
+ 'selecionar_todos' => 'select_all',
+ 'atualizar' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/br/rp b/sql-ledger/locale/br/rp
new file mode 100644
index 0000000..f441153
--- /dev/null
+++ b/sql-ledger/locale/br/rp
@@ -0,0 +1,117 @@
+$self{texts} = {
+ 'AP Aging' => 'Contas a Pagar Vencidas',
+ 'AR Aging' => 'Contas a Receber Vencidas',
+ 'Account' => 'Conta',
+ 'Accounts' => 'Contas',
+ 'Amount' => 'Total',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Attachment' => 'Anexo',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Balance Sheet' => 'Folha de Balanço',
+ 'Bcc' => 'Bcc',
+ 'Cash based' => 'Baseado no Caixa',
+ 'Cc' => 'Cc',
+ 'Compare to' => 'Comparar a',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Cópias',
+ 'Credit' => 'Crédito',
+ 'Current' => 'Current',
+ 'Customer' => 'Cliente',
+ 'Date' => 'Data',
+ 'Debit' => 'Débito',
+ 'Dec' => 'Dez',
+ 'December' => 'Dezembro',
+ 'Decimalplaces' => 'Casas decimais',
+ 'Description' => 'Descrição',
+ 'Due' => 'Saldo',
+ 'E-mail' => 'E-Mail',
+ 'E-mail Statement to' => 'Declaração enviada por email para',
+ 'Feb' => 'Fev',
+ 'February' => 'Fevereiro',
+ 'From' => 'De',
+ 'GIFI' => 'CFOP - Código Fiscal da Operação',
+ 'Heading' => 'Cabeçalho',
+ 'ID' => 'ID',
+ 'In-line' => 'em linha',
+ 'Include in Report' => 'Incluir no Relatório',
+ 'Income Statement' => 'Estado de Receitas',
+ 'Invoice' => 'Fatura',
+ 'Jan' => 'Jan',
+ 'January' => 'Janeiro',
+ 'Jul' => 'Jul',
+ 'July' => 'Julho',
+ 'Jun' => 'Jun',
+ 'June' => 'Junho',
+ 'Mar' => 'Mar',
+ 'March' => 'Março',
+ 'May' => 'Mai',
+ 'May ' => 'Maio',
+ 'Message' => 'Mensagem',
+ 'N/A' => 'N/D',
+ 'Nothing selected!' => 'Nada foi selecionado!',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembro',
+ 'Oct' => 'Out',
+ 'October' => 'Outubro',
+ 'PDF' => 'PDF',
+ 'Payments' => 'Pagamentos',
+ 'Postscript' => 'Postscript',
+ 'Print' => 'Imprimir',
+ 'Printer' => 'Impressora',
+ 'Receipts' => 'Recibos',
+ 'Report for' => 'Relatório para',
+ 'Retained Earnings' => 'Lucros Retidos',
+ 'Screen' => 'Tela',
+ 'Select all' => 'Selecionar todos',
+ 'Select postscript or PDF!' => 'Selecionar Postscript ou PDF',
+ 'Sep' => 'Set',
+ 'September' => 'Setembro',
+ 'Source' => 'Fonte',
+ 'Standard' => 'Padrão',
+ 'Statement' => 'Declaração',
+ 'Statement sent to' => 'Declaração enviada para',
+ 'Statements sent to printer!' => 'Declaração enviada para impressora!',
+ 'Subject' => 'Assunto',
+ 'Subtotal' => 'Sub-total',
+ 'Tax' => 'Imposto',
+ 'Tax collected' => 'Imposto recolhido',
+ 'Tax paid' => 'Imposto pago',
+ 'To' => 'Até',
+ 'Total' => 'Total',
+ 'Trial Balance' => 'Balanço Preliminar',
+ 'Vendor' => 'Distribuidor',
+ 'as at' => 'como em',
+ 'collected on sales' => 'recolhido sobre vendas',
+ 'for Period' => 'pelo período',
+ 'paid on purchases' => 'pago em aquisições',
+ 'to' => 'para',
+};
+
+$self{subs} = {
+ 'aging' => 'aging',
+ 'continue' => 'continue',
+ 'e_mail' => 'e_mail',
+ 'generate_ap_aging' => 'generate_ap_aging',
+ 'generate_ar_aging' => 'generate_ar_aging',
+ 'generate_balance_sheet' => 'generate_balance_sheet',
+ 'generate_income_statement' => 'generate_income_statement',
+ 'generate_tax_report' => 'generate_tax_report',
+ 'generate_trial_balance' => 'generate_trial_balance',
+ 'list_payments' => 'list_payments',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'report' => 'report',
+ 'select_all' => 'select_all',
+ 'send_email' => 'send_email',
+ 'statement_details' => 'statement_details',
+ 'tax_subtotal' => 'tax_subtotal',
+ 'continuar' => 'continue',
+ 'e_mail' => 'e_mail',
+ 'imprimir' => 'print',
+ 'selecionar_todos' => 'select_all',
+};
+
+1;
diff --git a/sql-ledger/locale/cn/COPYING b/sql-ledger/locale/cn/COPYING
new file mode 100644
index 0000000..784c015
--- /dev/null
+++ b/sql-ledger/locale/cn/COPYING
@@ -0,0 +1,24 @@
+######################################################################
+# SQL-Ledger Accounting
+# Copyright (c) 2001
+#
+# Simplified Chinese texts:
+#
+# Author: Chien Hsin Chang <werther@elixus.org>
+# Autrijus Tang <autrijus@autrijus.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+#######################################################################
+
diff --git a/sql-ledger/locale/cn/LANGUAGE b/sql-ledger/locale/cn/LANGUAGE
new file mode 100644
index 0000000..42c3708
--- /dev/null
+++ b/sql-ledger/locale/cn/LANGUAGE
@@ -0,0 +1 @@
+Simplified Chinese
diff --git a/sql-ledger/locale/cn/admin b/sql-ledger/locale/cn/admin
new file mode 100644
index 0000000..c867787
--- /dev/null
+++ b/sql-ledger/locale/cn/admin
@@ -0,0 +1,124 @@
+$self{texts} = {
+ 'Access Control' => '?¨ÏÞ¿ØÖ?',
+ 'Accounting' => '»á¼Æ',
+ 'Add User' => 'ÐÂÔöʹÓÃÕß',
+ 'Address' => 'µØÖ·',
+ 'Administration' => 'ϵͳ¹ÜÀí',
+ 'Administrator' => 'ϵͳ¹ÜÀíÔ±',
+ 'All Datasets up to date!' => 'ËùÓÐ×ÊÁϽÔÒѸüÐÂ!',
+ 'Change Admin Password' => '¸ü¸Ä¹ÜÀíÔ±ÃÜÂë',
+ 'Change Password' => '¸ü¸ÄÃÜÂë',
+ 'Character Set' => '×ÖÔª¼¯',
+ 'Click on login name to edit!' => 'Çë°´µÇ?ëÃ?³ÆÒÔ½øÐÐÐÞ¸Ä!',
+ 'Company' => '¹«Ë¾Ãû³Æ',
+ 'Connect to' => 'Á¬½áµ½',
+ 'Continue' => '¼ÌÐø',
+ 'Create Chart of Accounts' => '½¨Á¢ÕÊ»§Í¼±í',
+ 'Create Dataset' => '½¨Á¢×ÊÁϼ¯',
+ 'DBI not installed!' => 'δ°²×° DBI Ä£×é!',
+ 'Database' => '×ÊÁÏ¿â',
+ 'Database Administration' => '×ÊÁÏ¿â¹ÜÀí',
+ 'Database Driver not checked!' => 'δѡ¶¨×ÊÁÏ¿â??¶¯³Ìʽ!',
+ 'Database User missing!' => 'δָÃ÷×ÊÁÏ¿âʹÓÃÕß!',
+ 'Dataset' => '×ÊÁϼ¯',
+ 'Dataset missing!' => 'δָÃ÷×ÊÁϼ¯!',
+ 'Dataset updated!' => '²¹³ä×îÐÂ×ÊÁϼ¯!',
+ 'Date Format' => 'ÈÕÆÚ¸ñʽ',
+ 'Delete' => 'ɾ³ý',
+ 'Delete Dataset' => 'ɾ³ý×ÊÁϼ¯',
+ 'Directory' => 'Ŀ¼',
+ 'Driver' => '??¶¯³Ìʽ',
+ 'Dropdown Limit' => 'ÏÞÖÆ×ÊÁÏÏÔʾ¹¦ÄÜ',
+ 'E-mail' => 'µç×ÓÓʼþ',
+ 'Edit User' => '±à¼­Ê¹ÓÃÕß',
+ 'Existing Datasets' => '¼ÈÓеÄ×ÊÁϼ¯',
+ 'Fax' => '´«Õæ',
+ 'Host' => 'Ö÷»ú',
+ 'Hostname missing!' => 'δָÃ÷Ö÷»úÃû³Æ!',
+ 'Incorrect Password!' => 'ÃÜÂë´íÎó!',
+ 'Language' => 'Óïϵ',
+ 'Leave host and port field empty unless you want to make a remote connection.' => '³ý·ÇÄúÏëÒª½øÐÐÔ¶¶ËÁ¬Ïß, ·ñÔòÇ뽫Ö÷»ú¼°²ººÅÁô°×.',
+ 'Login' => 'µÇ??',
+ 'Multibyte Encoding' => 'Multibyte Encoding',
+ 'Name' => 'Ãû³Æ',
+ 'New Templates' => 'ÐÂÔöÄ£°æ',
+ 'No Database Drivers available!' => 'ûÓпÉÓõÄ??¶¯³Ìʽ!',
+ 'No Dataset selected!' => 'δѡ¶¨×ÊÁϼ¯!',
+ 'Nothing to delete!' => 'ûÓпÉɾ³ýµÄÏîÄ¿',
+ 'Number Format' => 'Êý×Ö¸ñʽ',
+ 'Oracle Database Administration' => 'Oracle ×ÊÁÏ¿â¹ÜÀí',
+ 'Password' => 'ÃÜÂë',
+ 'Password changed!' => 'ÃÜÂëÒѾ­¸ü¸Ä',
+ 'Pg Database Administration' => 'Pg ×ÊÁÏ¿â¹ÜÀí',
+ 'Phone' => 'µç»°ºÅÂë',
+ 'Port' => '²ººÅ',
+ 'Port missing!' => 'δָÃ÷²ººÅ!',
+ 'Printer' => 'Ó¡±í»ú',
+ 'Save' => '´¢´æ',
+ 'Select a Dataset to delete and press "Continue"' => 'ÇëÑ¡ÔñÓûɾ³ýµÄ×ÊÁϼ¯, ÔÙ°´ "¼ÌÐø"',
+ 'Setup Templates' => 'É趨ģ°æ',
+ 'Ship via' => 'º½ÔË·½·¨',
+ 'Signature' => 'Ç©Ãû',
+ 'Stylesheet' => 'Ñùʽ±í',
+ 'Templates' => 'Ä£°æ',
+ 'The following Datasets are not in use and can be deleted' => 'ÏÂÁÐ×ÊÁϼ¯²¢Î´Ê¹ÓÃ, ¿ÉÒÔɾ³ý',
+ 'The following Datasets need to be updated' => 'ÏÂÁÐ×ÊÁϼ¯ÐèÒª¸üÐÂ',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'ÕâÊǶԼȴæ×ÊÁÏÀ´Ô´µÄ³õ²½¼ì²é. Ôڴ˽׶Î, ²»»áɾ³ý»òÐÂÔö?κÎ×ÊÁ?!',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => '?ôÒªÐÂÔöȺ×éÄÚµÄʹÓÃÕ?, Çë±à¼­Ãû³Æ, ¸ü¸ÄµÇ?ëÃ?, ?»ºó´¢´?. ÕâÑùÒ»À´, ÐÂʹÓÃÕ߻ᱣÁôÏàͬµÄ±äÊý, ²¢ÒÔеĵÇ?ëÃ?´æ??.',
+ 'Update Dataset' => '¸üÐÂ×ÊÁϼ¯',
+ 'Use Templates' => 'ʹÓÃÄ£°æ',
+ 'User' => 'ʹÓÃÕß',
+ 'User deleted!' => 'ʹÓÃÕßÒÔ±»É¾³ý!',
+ 'User saved!' => 'ʹÓÃÕßÒÔ±»´¢´æ!',
+ 'Version' => '°æ±¾',
+ 'You must enter a host and port for local and remote connections!' => 'Äú±ØÐè¼ü?ëÖ÷»?¼°²ººÅ, ÒÔ½øÐб¾»ú»òÔ¶¶ËÁ¬Ïß!',
+ 'does not exist' => '²»´æÔÚ',
+ 'is already a member!' => 'ÒѾ­ÊdzÉÔ±ÁË!',
+ 'localhost' => 'localhost',
+ 'locked!' => 'locked!',
+ 'successfully created!' => '³É¹¦½¨Á¢!',
+ 'successfully deleted!' => '³É¹¦É¾³ý!',
+ 'website' => 'ÍøÕ¾',
+};
+
+$self{subs} = {
+ 'add_user' => 'add_user',
+ 'adminlogin' => 'adminlogin',
+ 'change_admin_password' => 'change_admin_password',
+ 'change_password' => 'change_password',
+ 'check_password' => 'check_password',
+ 'continue' => 'continue',
+ 'create_dataset' => 'create_dataset',
+ 'dbcreate' => 'dbcreate',
+ 'dbdelete' => 'dbdelete',
+ 'dbdriver_defaults' => 'dbdriver_defaults',
+ 'dbselect_source' => 'dbselect_source',
+ 'dbupdate' => 'dbupdate',
+ 'delete' => 'delete',
+ 'delete_dataset' => 'delete_dataset',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'get_value' => 'get_value',
+ 'list_users' => 'list_users',
+ 'login' => 'login',
+ 'login_name' => 'login_name',
+ 'oracle_database_administration' => 'oracle_database_administration',
+ 'pg_database_administration' => 'pg_database_administration',
+ 'save' => 'save',
+ 'update_dataset' => 'update_dataset',
+ 'ÐÂÔöʹÓÃÕß' => 'add_user',
+ '¸ü¸Ä¹ÜÀíÔ±ÃÜÂë' => 'change_admin_password',
+ '¸ü¸ÄÃÜÂë' => 'change_password',
+ '¼ÌÐø' => 'continue',
+ '½¨Á¢×ÊÁϼ¯' => 'create_dataset',
+ 'ɾ³ý' => 'delete',
+ 'ɾ³ý×ÊÁϼ¯' => 'delete_dataset',
+ 'µÇ??' => 'login',
+ 'oracle_×ÊÁÏ¿â¹ÜÀí' => 'oracle_database_administration',
+ 'pg_×ÊÁÏ¿â¹ÜÀí' => 'pg_database_administration',
+ '´¢´æ' => 'save',
+ '¸üÐÂ×ÊÁϼ¯' => 'update_dataset',
+};
+
+1;
diff --git a/sql-ledger/locale/cn/all b/sql-ledger/locale/cn/all
new file mode 100644
index 0000000..6b01f15
--- /dev/null
+++ b/sql-ledger/locale/cn/all
@@ -0,0 +1,495 @@
+# These are all the texts to build the translations files.
+# The file has the form of 'english text' => 'foreign text',
+# you can add the translation in this file or in the 'missing' file
+# run locales.pl from this directory to rebuild the translation files
+
+$self{texts} = {
+ 'AP' => 'Ó¦¸¶ÕÊ¿î',
+ 'AP Aging' => 'Ó¦¸¶ÕÊÁä·ÖÎö',
+ 'AP Transaction' => 'Ó¦¸¶ÕÊÄ¿',
+ 'AP Transactions' => 'Ó¦¸¶ÕÊÄ¿',
+ 'AR' => 'Ó¦ÊÕÕÊ¿î',
+ 'AR Aging' => 'Ó¦ÊÕÕÊÁä·ÖÎö',
+ 'AR Transaction' => 'Ó¦ÊÕÕÊÄ¿',
+ 'AR Transactions' => 'Ó¦ÊÕÕÊÄ¿',
+ 'About' => '¹Øì¶',
+ 'Access Control' => '?¨ÏÞ¿ØÖ?',
+ 'Account' => '¿ÆÄ¿',
+ 'Account Number' => '¿ÆÄ¿±àºÅ',
+ 'Account Number missing!' => '©Ìî¿ÆÄ¿±àºÅ!',
+ 'Account Type' => '¿ÆÄ¿Àà±ð',
+ 'Account Type missing!' => '©Ìî¿ÆÄ¿Àà±ð!',
+ 'Account deleted!' => '¿ÆÄ¿ÒÔ±»É¾³ý!',
+ 'Account saved!' => '¿ÆÄ¿ÒÔ±»´¢´æ!',
+ 'Accounting' => '»á¼Æ',
+ 'Accounting Menu' => '»á¼ÆÑ¡µ¥',
+ 'Accounts' => 'ÕÊ»§',
+ 'Active' => '»îÔ¾',
+ 'Add' => 'ÐÂÔö',
+ 'Add Account' => 'ÐÂÔö¿ÆÄ¿',
+ 'Add Accounts Payables Transaction' => 'ÐÂÔöÓ¦¸¶ÕÊÄ¿',
+ 'Add Accounts Receivables Transaction' => 'ÐÂÔöÓ¦ÊÕÕÊÄ¿',
+ 'Add Assembly' => 'ÐÂÔöÉÌÆ·',
+ 'Add Customer' => 'ÐÂÔö¿Í»§',
+ 'Add GIFI' => 'ÐÂÔö GIFI',
+ 'Add General Ledger Transaction' => 'ÐÂÔö×ÜÕÊ',
+ 'Add Part' => 'ÐÂÔöÔ­ÁÏ',
+ 'Add Project' => 'ÐÂÔö¹¤³Ì',
+ 'Add Purchase Invoice' => 'ÐÂÔö²É¹º·¢Æ±',
+ 'Add Purchase Order' => 'ÐÂÔö²É¹ºµ¥',
+ 'Add Sales Invoice' => 'ÐÂÔöÏú»õ·¢Æ±',
+ 'Add Sales Order' => 'ÐÂÔöÏú»õµ¥',
+ 'Add Service' => 'ÐÂÔö·þÎñ',
+ 'Add Transaction' => 'ÐÂÔöÕÊÄ¿',
+ 'Add User' => 'ÐÂÔöʹÓÃÕß',
+ 'Add Vendor' => 'ÐÂÔö³§ÉÌ',
+ 'Address' => 'µØÖ·',
+ 'Administration' => 'ϵͳ¹ÜÀí',
+ 'Administrator' => 'ϵͳ¹ÜÀíÔ±',
+ 'All' => 'È«²¿',
+ 'All Datasets up to date!' => 'ËùÓÐ×ÊÁϽÔÒѸüÐÂ!',
+ 'Amount' => '×ܼÆ',
+ 'Amount Due' => 'µ½ÆÚµÄ×ܼÆ',
+ 'Amount does not equal applied!' => '×ܶÏàµÈ!',
+ 'Amount missing!' => 'δָÃ÷×ܶî!',
+ 'Applied' => 'Ö§¸¶',
+ 'Apr' => 'ËÄÔÂ',
+ 'April' => 'ËÄÔÂ',
+ 'Are you sure you want to delete Invoice Number' => 'ÄúÈ·¶¨ÒªÉ¾³ý·¢Æ±±àºÅ',
+ 'Are you sure you want to delete Order Number' => 'ÄúÊÇ·ñ?·¶¨ÒªÉ¾³?¶©µ¥',
+ 'Are you sure you want to delete Transaction' => 'ÄúÈ·¶¨ÒªÉ¾³ýÕÊÄ¿',
+ 'Assemblies' => 'ÉÌÆ·',
+ 'Assemblies restocked!' => '×°ÅäÖØнø»õ!',
+ 'Assembly Number missing!' => '²éÎÞ´ËÉÌÆ·!',
+ 'Asset' => '×ʲú',
+ 'Attachment' => '¸½µµ',
+ 'Audit Control' => '»üºË¿ØÖÆ',
+ 'Aug' => '°ËÔÂ',
+ 'August' => '°ËÔÂ',
+ 'BOM' => '²ÄÁÏÕʵ¥',
+ 'Backup' => '±¸·Ý',
+ 'Backup sent to' => '±¸·Ý¼ÄË͵½',
+ 'Balance' => '²î¶î',
+ 'Balance Sheet' => '×ʲú¸ºÕ®±í',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Ïä',
+ 'Books are open' => 'Õʲ¾ÒÑ¿ªÆô',
+ 'Bought' => 'ÒѹºÂò',
+ 'Business Number' => 'ͳһ±àºÅ',
+ 'C' => 'C',
+ 'COGS' => '»õÏú³É±¾',
+ 'Cannot delete account!' => 'ÎÞ·¨É¾³ý¿ÆÄ¿!',
+ 'Cannot delete customer!' => '²»ÄÜɾ³ý¿Í»§!',
+ 'Cannot delete default account!' => 'ÎÞ·¨É¾³ýÔ¤ÉèÕʺÅ',
+ 'Cannot delete invoice!' => 'ÎÞ·¨É¾³ý·¢Æ±!',
+ 'Cannot delete item already invoiced!' => 'ÎÞ·¨É¾³ý±¾Ïî',
+ 'Cannot delete item on order!' => 'ÎÞ·¨É¾³ýµ¥ÉϵÄÏîÄ¿!',
+ 'Cannot delete item which is part of an assembly!' => 'ÎÞ·¨É¾³ýÓÃì¶ÉÌÆ·ÖеÄÔ­ÁÏ',
+ 'Cannot delete item!' => 'ÎÞ·¨É¾³ýÏîÄ¿!',
+ 'Cannot delete order!' => 'ÎÞ·¨É¾³ý¶©µ¥!',
+ 'Cannot delete transaction!' => 'ÎÞ·¨É¾³ýÕÊÄ¿!',
+ 'Cannot delete vendor!' => '²»ÄÜɾ³ý³§ÉÌ!',
+ 'Cannot have a value in both Debit and Credit!' => '²»µÃͬʱÌîÈëÊýֵ춽跽Óë´û·½À¸Î»',
+ 'Cannot post a transaction without a value!' => 'ÎÞ·¨È·ÈÏû¼Û¸ñÕÊÄ¿!',
+ 'Cannot post invoice for a closed period!' => 'ÎÞ·¨ÔÚÒѹرյÄʱ¶ÎÄÚÈ·ÈÏ·¢Æ±?ë½»Ò!',
+ 'Cannot post invoice!' => 'ÎÞ·¨È·ÈÏ·¢Æ±!',
+ 'Cannot post payment for a closed period!' => 'ÎÞ·¨ÔÚÒѹرյÄʱ¶ÎÄÚ¼Ó?ë½»Ò?!',
+ 'Cannot post payment!' => 'ÎÞ·¨´¦Àí¸¶¿î!',
+ 'Cannot post transaction for a closed period!' => 'ÎÞ·¨ÔÚÒѹرյÄʱ¶ÎÄÚ¼Ó?ë½»Ò?!',
+ 'Cannot post transaction!' => 'ÎÞ·¨È·ÈÏÕÊÄ¿!',
+ 'Cannot process payment for a closed period!' => 'ÒѹرյÄʱ¶ÎÄÚ´¦Àí¸¶¿î!',
+ 'Cannot save account!' => 'ÎÞ·¨´¢´æ¿ÆÄ¿!',
+ 'Cannot save order!' => 'ÎÞ·¨´¢´æÇåµ¥!',
+ 'Cannot save preferences!' => 'ÎÞ·¨´¢´æÉ趨!',
+ 'Cannot stock assemblies!' => 'ÎÞ·¨É¾³ý×°ÅäÉÌÆ·!',
+ 'Cash' => 'ÏÖ½ð',
+ 'Cash based' => 'ÏÖ½ð½»Ò×',
+ 'Cc' => 'Cc',
+ 'Change Admin Password' => '¸ü¸Ä¹ÜÀíÔ±ÃÜÂë',
+ 'Change Password' => '¸ü¸ÄÃÜÂë',
+ 'Character Set' => '×ÖÔª¼¯',
+ 'Chart of Accounts' => '»á¼Æ¿ÆÄ¿±í',
+ 'Check' => '֧Ʊ',
+ 'Check printed!' => 'ӡˢ֧Ʊ!',
+ 'Check printing failed!' => 'ÎÞ·¨Ó¡Ë¢Ö§Æ±!',
+ 'Cleared Balance' => 'Ö§¸¶²î¶î×ÜÊý',
+ 'Click on login name to edit!' => 'Çë°´µÇ?ëÃ?³ÆÒÔ½øÐÐÐÞ¸Ä!',
+ 'Close Books up to' => '¹Ø±Õµ½´ËΪֹµÄÕʲ¾',
+ 'Closed' => 'ÒѹرÕ',
+ 'Company' => '¹«Ë¾Ãû³Æ',
+ 'Compare to' => '¶ÔÕÕ',
+ 'Confirm!' => 'ÈëÕʳɹ¦!',
+ 'Connect to' => 'Á¬½áµ½',
+ 'Contact' => 'Á¬ÂçÈË',
+ 'Continue' => '¼ÌÐø',
+ 'Copies' => '¿½±´',
+ 'Copy to COA' => '¸´ÖƵ½ COA',
+ 'Create Chart of Accounts' => '½¨Á¢ÕÊ»§Í¼±í',
+ 'Create Dataset' => '½¨Á¢×ÊÁϼ¯',
+ 'Credit' => '´û·½',
+ 'Credit Limit' => 'ÐÅÓöî¶È',
+ 'Curr' => 'Ä¿Ç°',
+ 'Currency' => '±Ò±ð',
+ 'Current' => 'ÏÖÔÚ',
+ 'Customer' => '¿Í»§',
+ 'Customer deleted!' => '¿Í»§¼Ç¼ɾ³ý!',
+ 'Customer missing!' => 'δָÃ÷¿Í»§!',
+ 'Customer not on file!' => '¿Í»§¼Ç¼ûÔÚµµ°¸!',
+ 'Customer saved!' => '¿Í»§¼Ç¼±£´æ!',
+ 'Customers' => '¿Í»§',
+ 'DBI not installed!' => 'δ°²×° DBI Ä£×é!',
+ 'Database' => '×ÊÁÏ¿â',
+ 'Database Administration' => '×ÊÁÏ¿â¹ÜÀí',
+ 'Database Driver not checked!' => 'δѡ¶¨×ÊÁÏ¿â??¶¯³Ìʽ!',
+ 'Database Host' => '×ÊÁÏ¿âÖ÷»ú',
+ 'Database User missing!' => 'δָÃ÷×ÊÁÏ¿âʹÓÃÕß!',
+ 'Dataset' => '×ÊÁϼ¯',
+ 'Dataset missing!' => 'δָÃ÷×ÊÁϼ¯!',
+ 'Dataset updated!' => '²¹³ä×îÐÂ×ÊÁϼ¯!',
+ 'Date' => 'ÈÕÆÚ',
+ 'Date Due' => 'Ó¦¸¶ÈÕÆÚ',
+ 'Date Format' => 'ÈÕÆÚ¸ñʽ',
+ 'Date Paid' => '¸¶¿îÈÕÆÚ',
+ 'Date missing!' => 'δָÃ÷ÈÕÆÚ',
+ 'Debit' => '½è·½',
+ 'Debit and credit out of balance!' => '½è´û²»Æ½ºâ!',
+ 'Dec' => 'Ê®¶þÔÂ',
+ 'December' => 'Ê®¶þÔÂ',
+ 'Decimalplaces' => 'СÊýµÄÊýÄ¿',
+ 'Delete' => 'ɾ³ý',
+ 'Delete Account' => 'ɾ³ý¿ÆÄ¿',
+ 'Delete Dataset' => 'ɾ³ý×ÊÁϼ¯',
+ 'Delivery Date' => 'µÝËÍÈÕÆÚ',
+ 'Department' => '',
+ 'Deposit' => '´¢´æ',
+ 'Description' => '˵Ã÷',
+ 'Difference' => '²îÒì',
+ 'Directory' => 'Ŀ¼',
+ 'Discount' => 'ÕÛ¿Û',
+ 'Done' => 'Íê³É',
+ 'Drawing' => 'ͼ',
+ 'Driver' => '??¶¯³Ìʽ',
+ 'Dropdown Limit' => 'ÏÞÖÆ×ÊÁÏÏÔʾ¹¦ÄÜ',
+ 'Due' => 'µ½ÆÚ',
+ 'Due Date' => 'µ½ÆÚÈÕ',
+ 'Due Date missing!' => '©Ìîµ½ÆÚÈÕ!',
+ 'E-mail' => 'µç×ÓÓʼþ',
+ 'E-mail Statement to' => 'µç×ÓÓʼþÕÊÄ¿³ÂÊöµ½',
+ 'E-mail address missing!' => '©Ìîµç×ÓÓʼþλַ!',
+ 'Edit' => '±à¼­',
+ 'Edit Account' => '±à¼­¿ÆÄ¿',
+ 'Edit Accounts Payables Transaction' => '¸ü»»Ó¦¸¶ÕÊ¿îÕÊÄ¿',
+ 'Edit Accounts Receivables Transaction' => '¸ü»»Ó¦ÊÕÕÊ¿îÕÊÄ¿',
+ 'Edit Assembly' => '±à¼­ÉÌÆ·',
+ 'Edit Customer' => '±à¼­¿Í»§',
+ 'Edit GIFI' => '±à¼­ GIFI',
+ 'Edit General Ledger Transaction' => '±à¼­×ÜÕÊ',
+ 'Edit Part' => '±à¼­Ô­ÁÏ',
+ 'Edit Preferences for' => 'É趨ʹÓÃÕß',
+ 'Edit Project' => '¸ü¸Ä¹¤³Ì',
+ 'Edit Purchase Invoice' => '±à¼­²É¹º·¢Æ±',
+ 'Edit Purchase Order' => '±à¼­²É¹ºµ¥',
+ 'Edit Sales Invoice' => '±à¼­Ïú»õ·¢Æ±',
+ 'Edit Sales Order' => '±à¼­Ïú»õµ¥',
+ 'Edit Service' => '±à¼­·þÎñ',
+ 'Edit Template' => '±à¼­Ä£°æ',
+ 'Edit User' => '±à¼­Ê¹ÓÃÕß',
+ 'Edit Vendor' => '±à¼­³§ÉÌ',
+ 'Employee' => 'Ö°Ô±',
+ 'Enforce transaction reversal for all dates' => 'Ç¿ÖÆËùÓÐ?ÕÆڵĽ»Ò׻ظ?',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Çë¼ü?ëÒÔðºÅ·Ö¸ôµÄÓ?ÎÄ×Öĸ, ÿÏî²»³¬¹ý??¸ö×Ö (?? CAD:USD:EUR), ×÷ΪÄúµÄ±¾¹ú¼°Íâ¹ú»õ±Ò',
+ 'Equity' => '¹ÉȨ',
+ 'Exch' => '»ãÂÊ',
+ 'Exchangerate' => '»ãÂÊ',
+ 'Exchangerate Difference' => '»ãÂʲîÒì',
+ 'Exchangerate for payment missing!' => 'δָÃ÷¸¶¿î»ãÂÊ!',
+ 'Exchangerate missing!' => 'δָÃ÷»ãÂÊ!',
+ 'Existing Datasets' => '¼ÈÓеÄ×ÊÁϼ¯',
+ 'Expense' => '·ÑÓÃ',
+ 'Expense Account' => '·ÑÓÿÆÄ¿',
+ 'Expense/Asset' => '·ÑÓÃ/×ʲú',
+ 'Extended' => '¼ÆËãÁÐ',
+ 'Fax' => '´«Õæ',
+ 'Feb' => '¶þÔÂ',
+ 'February' => '¶þÔÂ',
+ 'Foreign Exchange Gain' => 'Íâ»ãÊÕÒæ',
+ 'Foreign Exchange Loss' => 'Íâ»ãËðʧ',
+ 'From' => '´Ó',
+ 'GIFI' => 'GIFI',
+ 'GIFI deleted!' => 'GIFI ¼Ç¼ɾ³ý',
+ 'GIFI missing!' => 'δָÃ÷ GIFI!',
+ 'GIFI saved!' => 'GIFI ¼Ç¼±£´æ',
+ 'GL Transaction' => '×ÜÕÊ',
+ 'General Ledger' => '×ÜÕÊ',
+ 'Goods & Services' => '',
+ 'HTML Templates' => 'HTML ±íµ¥',
+ 'Heading' => '±íÍ·',
+ 'Host' => 'Ö÷»ú',
+ 'Hostname missing!' => 'δָÃ÷Ö÷»úÃû³Æ!',
+ 'ID' => '񅧏',
+ 'Image' => 'ͼÏó',
+ 'In-line' => 'ÐÐÄÚ',
+ 'Include in Report' => 'Ò»²¢ÏÔʾ',
+ 'Include in drop-down menus' => '°üº¬ÔÚÏÂÀ­Ê½Ñ¡µ¥ÖÐ',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Òª½«Õâ¸ö¿Í»§/³§É̼ÓÈëÓ¦¼ÓË°Çåµ¥?',
+ 'Income' => 'ÊÕÒæ',
+ 'Income Account' => 'ËðÒæ¿ÆÄ¿',
+ 'Income Statement' => 'ËðÒæ±í',
+ 'Incorrect Dataset version!' => '×ÊÁϼ¯°æ±¾´íÎó!',
+ 'Incorrect Password!' => 'ÃÜÂë´íÎó!',
+ 'Individual Items' => '×é³ÉÏîÄ¿',
+ 'Inventory' => '¿â´æ',
+ 'Inventory Account' => '´æ»õ¿ÆÄ¿',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'ÔÚÍ£ÓôËÏî×éºÏƷ֮ǰ, ´æ»õÊýÁ¿±ØÐèΪÁã!',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'Í£ÓôËÏîÁã¼þ֮ǰ, ´æ»õÊýÁ¿±ØÐèΪÁã!',
+ 'Inventory quantity must be zero!' => '´æ»õÊýÁ¿±ØÐèΪÁã!',
+ 'Invoice' => '·¢Æ±',
+ 'Invoice Date' => '·¢Æ±ÈÕÆÚ',
+ 'Invoice Date missing!' => '·¢Æ±ÈÕÆÚ´íÎó!',
+ 'Invoice Number' => '·¢Æ±±àºÅ',
+ 'Invoice Number missing!' => '·¢Æ±±àºÅ´íÎó!',
+ 'Invoice deleted!' => '·¢Æ±É¾³ý!',
+ 'Invoice posted!' => '·¢Æ±È·ÈÏ!',
+ 'Invoices' => '·¢Æ±',
+ 'Is this a summary account to record' => '´ËΪ×ܽá¿ÆÄ¿Âð?',
+ 'Item deleted!' => 'ÏîĿɾ³ý!',
+ 'Item not on file!' => '²éÎÞ´ËÏîÄ¿',
+ 'Jan' => 'Ò»ÔÂ',
+ 'January' => 'Ò»ÔÂ',
+ 'Jul' => 'ÆßÔÂ',
+ 'July' => 'ÆßÔÂ',
+ 'Jun' => 'ÁùÔÂ',
+ 'June' => 'ÁùÔÂ',
+ 'LaTeX Templates' => 'LaTex Ä£°æ',
+ 'Language' => 'Óïϵ',
+ 'Last Cost' => 'ÉÏÒ»±Ê³É±¾',
+ 'Last Invoice Number' => 'ÉÏÒ»±Ê·¢Æ±±àºÅ',
+ 'Last Numbers & Default Accounts' => 'ÉÏÒ»±Ê±àºÅ¼°Ô¤Éè¿ÆÄ¿',
+ 'Last Purchase Order Number' => 'Ç°´Î²É¹ºµ¥ºÅ',
+ 'Last Sales Order Number' => 'Ç°´ÎÏú',
+ 'Leave host and port field empty unless you want to make a remote connection.' => '³ý·ÇÄúÏëÒª½øÐÐÔ¶¶ËÁ¬Ïß, ·ñÔòÇ뽫Ö÷»ú¼°²ººÅÁô°×.',
+ 'Liability' => '¸ºÕ®',
+ 'Licensed to' => 'ÊÚȨÓè',
+ 'Line Total' => '×ÜÁÐÊý',
+ 'Link' => 'Á¬½á',
+ 'Link Accounts' => 'Á¬½á¿ÆÄ¿',
+ 'List Accounts' => 'ÁгöÕʺÅ',
+ 'List GIFI' => 'Áгö GIFI',
+ 'List Price' => '',
+ 'List Transactions' => 'ÁгöÕÊÄ¿',
+ 'Login' => 'µÇ??',
+ 'Logout' => 'µÇ³ö',
+ 'Make' => 'ÖÆÔì',
+ 'Mar' => 'ÈýÔÂ',
+ 'March' => 'ÈýÔÂ',
+ 'May' => 'ÎåÔÂ',
+ 'May ' => 'ÎåÔÂ',
+ 'Message' => 'ѶϢ',
+ 'Microfiche' => 'Ëõ΢½ºÆ¬',
+ 'Model' => 'ÐͺÅ',
+ 'Multibyte Encoding' => '',
+ 'N/A' => '²»ÊÊÓÃ',
+ 'Name' => 'Ãû³Æ',
+ 'Name missing!' => 'ȱÉÙÃû³Æ!',
+ 'New Templates' => 'ÐÂÔöÄ£°æ',
+ 'No' => '·ñ',
+ 'No Database Drivers available!' => 'ûÓпÉÓõÄ??¶¯³Ìʽ!',
+ 'No Dataset selected!' => 'δѡ¶¨×ÊÁϼ¯!',
+ 'No email address for' => 'δָÃ÷µç×ÓÓʼþλÖÃ',
+ 'No.' => '񅧏',
+ 'Notes' => '±¸×¢',
+ 'Nothing applied!' => 'δָÃ÷Ö§¸¶×ܶî!',
+ 'Nothing selected!' => 'δѡ¶¨×Ê!',
+ 'Nothing to delete!' => 'ûÓпÉɾ³ýµÄÏîÄ¿',
+ 'Nov' => 'ʮһÔÂ',
+ 'November' => 'ʮһÔÂ',
+ 'Number' => '񅧏',
+ 'Number Format' => 'Êý×Ö¸ñʽ',
+ 'Number missing in Row' => 'δָÃ÷ºÅÂë',
+ 'O' => 'O',
+ 'Obsolete' => 'Í£ÓÃ',
+ 'Oct' => 'Ê®ÔÂ',
+ 'October' => 'Ê®ÔÂ',
+ 'On Hand' => '´æÁ¿',
+ 'On Order' => 'ÒÑϵ¥¶©¹º',
+ 'Open' => '¿ªÆô',
+ 'Oracle Database Administration' => 'Oracle ×ÊÁÏ¿â¹ÜÀí',
+ 'Order' => '¶©µ¥',
+ 'Order Date' => '쵴?ͮ?',
+ 'Order Date missing!' => 'δָÃ÷ϵ¥?ÕÆ?!',
+ 'Order Entry' => 'ϵ¥ÏîÄ¿',
+ 'Order Number' => '¶©µ¥±àºÅ',
+ 'Order Number missing!' => 'δָÃ÷¶©µ¥±àºÅ!',
+ 'Order deleted!' => 'ɾ³ý¶©µ¥!',
+ 'Order saved!' => '´¢´æ¶©µ¥!',
+ 'Ordered' => 'ÒÑ϶©¹º',
+ 'Orphaned' => 'ÎÞÖ÷',
+ 'Out of balance!' => '³öÓÚ²î¶î!',
+ 'PDF' => 'PDF',
+ 'Packing List' => '³ö»õµ¥',
+ 'Packing List Date missing!' => 'δָÃ÷°ü×°Çåµ¥?ÕÆ?!',
+ 'Packing List Number missing!' => 'δָÃ÷°ü×°Çåµ¥±àºÅ!',
+ 'Paid' => 'ÒѸ¶',
+ 'Paid in full' => 'Ö§¸¶È«²¿×ܶî',
+ 'Part' => 'Ô­ÁÏ',
+ 'Part Number missing!' => '©ÌîÔ­ÁϱàºÅ!',
+ 'Parts' => 'Ô­ÁÏ',
+ 'Parts Inventory' => '¿â´æÔ­ÁÏ',
+ 'Password' => 'ÃÜÂë',
+ 'Password changed!' => 'ÃÜÂëÒѾ­¸ü¸Ä',
+ 'Payables' => 'Ó¦¸¶¿ÆÄ¿',
+ 'Payment' => '¸¶¿î·½Ê½',
+ 'Payment date missing!' => 'δָÃ÷¸¶¿î?ÕÆ?!',
+ 'Payment posted!' => '',
+ 'Payments' => '¸¶¿î',
+ 'Pg Database Administration' => 'Pg ×ÊÁÏ¿â¹ÜÀí',
+ 'Phone' => 'µç»°ºÅÂë',
+ 'Port' => '²ººÅ',
+ 'Port missing!' => 'δָÃ÷²ººÅ!',
+ 'Post' => 'È·ÈÏ',
+ 'Post as new' => 'È·ÈϳÉΪÐÂÕÊÄ¿',
+ 'Postscript' => 'Postscript',
+ 'Preferences' => '¸öÈËÉ趨',
+ 'Preferences saved!' => '¸öÈËÉ趨ÒÑ´¢´æ!',
+ 'Price' => '¼Û¸ñ',
+ 'Print' => 'Ó¡Ë¢',
+ 'Printer' => 'Ó¡±í»ú',
+ 'Project' => '¹¤³Ì',
+ 'Project Number' => '',
+ 'Project Number missing!' => 'δָÃ÷¹¤³ÌºÅÂë!',
+ 'Project deleted!' => '¹¤³ÌÒÔ±»É¾³ý!',
+ 'Project not on file!' => 'È·ÈϳÉΪÐÂÕÊÄ¿',
+ 'Project saved!' => '¹¤³ÌÒÔ±»´¢´æ!',
+ 'Projects' => '¹¤³Ì',
+ 'Purchase Invoice' => '²É¹º·¢Æ±',
+ 'Purchase Order' => '²É¹ºµ¥',
+ 'Purchase Orders' => '²É¹ºµ¥',
+ 'Qty' => 'ÊýÁ¿',
+ 'ROP' => 'ÔÙ¶©µã',
+ 'Rate' => 'Ë°ÂÊ',
+ 'Recd' => 'Recd',
+ 'Receipt' => 'ÊÕ¾Ý',
+ 'Receipt printed!' => '',
+ 'Receipt printing failed!' => '',
+ 'Receipts' => 'ÊÕ¾Ý',
+ 'Receivables' => 'Ó¦ÊÕ¿ÆÄ¿',
+ 'Reconciliation' => 'µ÷Í£',
+ 'Record in' => '¼Ç¼ì¶',
+ 'Reference' => '²Î¿¼ºÅÂë',
+ 'Reference missing!' => 'δָÃ÷²Î¿¼ºÅÂë!',
+ 'Remaining' => 'ÉÐâÅ',
+ 'Report for' => '±¨±íÀ´Ô´',
+ 'Reports' => '±¨±í',
+ 'Required by' => '×ÓÏîÄ¿',
+ 'Retained Earnings' => '±£ÁôÓ¯âÅ',
+ 'Sales' => 'ÒµÎñ',
+ 'Sales Invoice' => 'Ïú»õ·¢Æ±',
+ 'Sales Order' => 'Ïú»õµ¥',
+ 'Sales Orders' => 'Ïú»õµ¥',
+ 'Save' => '´¢´æ',
+ 'Save as new' => '´¢´æ',
+ 'Save to File' => '´¢´æÖÁµµ°¸',
+ 'Screen' => 'Ó©Ä»',
+ 'Select a Dataset to delete and press "Continue"' => 'ÇëÑ¡ÔñÓûɾ³ýµÄ×ÊÁϼ¯, ÔÙ°´ "¼ÌÐø"',
+ 'Select all' => 'Ñ¡ÔñÈ«²¿',
+ 'Select from one of the items below' => 'ì¶ÏÂÁÐÏîÄ¿ÖÐÑ¡ÔñÒ»Ïî',
+ 'Select from one of the names below' => 'ì¶ÏÂÁÐÃû×ÖÖÐÑ¡ÔñÒ»Ïî',
+ 'Select from one of the projects below' => 'ì¶ÏÂÁй¤³ÌÖÐÑ¡ÔñÒ»Ïî',
+ 'Select postscript or PDF!' => 'Ñ¡Ôñ postscript »ò PDF!',
+ 'Sell Price' => 'ÊÛ¼Û',
+ 'Send by E-Mail' => 'ÒÔµç×ÓÓʼþ¼ÄËÍ',
+ 'Sep' => '¾ÅÔÂ',
+ 'September' => '¾ÅÔÂ',
+ 'Service' => '·þÎñ',
+ 'Service Items' => '·þÎñÏîÄ¿',
+ 'Service Number missing!' => '©Ìî·þÎñ±àºÅ!',
+ 'Services' => '·þÎñ',
+ 'Setup Templates' => 'É趨ģ°æ',
+ 'Ship' => 'º½ÔË',
+ 'Ship to' => 'ÏúÊÛ´ú±í',
+ 'Ship via' => 'º½ÔË·½·¨',
+ 'Short' => '¶Ì',
+ 'Signature' => 'Ç©Ãû',
+ 'Sold' => 'ÒÑÂô³ö',
+ 'Source' => 'À´Ô´',
+ 'Standard' => '±ê×¼',
+ 'Statement' => 'ÕÊÄ¿³ÂÊö',
+ 'Statement Balance' => 'ÕÊÄ¿³ÂÊö²î¶î',
+ 'Statement sent to' => 'ÕÊÄ¿³ÂÊöË͵½',
+ 'Statements sent to printer!' => 'ÕÊÄ¿³ÂÊöË͵½Ó¡±í»ú!',
+ 'Stock Assembly' => 'Å̵ã',
+ 'Stylesheet' => 'Ñùʽ±í',
+ 'Subject' => '±êÌâ',
+ 'Subtotal' => 'С¼Æ',
+ 'System' => 'ϵͳ',
+ 'Tax' => 'Ë°½ð',
+ 'Tax Accounts' => 'Ë°½ð¿ÆÄ¿',
+ 'Tax Included' => '²»ÊÕ·þÎñ·Ñ',
+ 'Tax collected' => 'ÊÕµ½µÄË°',
+ 'Tax paid' => 'Ö§¸¶µÄË°',
+ 'Taxable' => 'Ӧ˰',
+ 'Template saved!' => 'Ä£°æÒÑ´¢´æ',
+ 'Templates' => 'Ä£°æ',
+ 'Terms: Net' => 'ƱÆÚ¾»¼Æ',
+ 'The following Datasets are not in use and can be deleted' => 'ÏÂÁÐ×ÊÁϼ¯²¢Î´Ê¹ÓÃ, ¿ÉÒÔɾ³ý',
+ 'The following Datasets need to be updated' => 'ÏÂÁÐ×ÊÁϼ¯ÐèÒª¸üÐÂ',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'ÕâÊǶԼȴæ×ÊÁÏÀ´Ô´µÄ³õ²½¼ì²é. Ôڴ˽׶Î, ²»»áɾ³ý»òÐÂÔö?κÎ×ÊÁ?!',
+ 'To' => 'ÖÁ',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => '?ôÒªÐÂÔöȺ×éÄÚµÄʹÓÃÕ?, Çë±à¼­Ãû³Æ, ¸ü¸ÄµÇ?ëÃ?, ?»ºó´¢´?. ÕâÑùÒ»À´, ÐÂʹÓÃÕ߻ᱣÁôÏàͬµÄ±äÊý, ²¢ÒÔеĵÇ?ëÃ?´æ??.',
+ 'Top Level' => '×î¸ßµÈ¼¶',
+ 'Total' => '×ܼÆ',
+ 'Transaction Date missing!' => '©ÌîÕÊÄ¿ÈÕÆÚ!',
+ 'Transaction deleted!' => 'ÕÊĿɾ³ý!',
+ 'Transaction posted!' => 'ÕÊÄ¿È·ÈÏ!',
+ 'Transaction reversal enforced for all dates' => 'Ç¿Öƻظ´ËùÓÐ?ÕÆڵĽ»Ò?',
+ 'Transaction reversal enforced up to' => 'Ç¿Öƻظ´½»Ò×Ö±µ½',
+ 'Transactions' => 'ÕÊÄ¿',
+ 'Transactions exist, cannot delete customer!' => '´Ë¿Í»§ÒÑÓÐÕÊÄ¿, ²»ÄÜɾ³ý!',
+ 'Transactions exist, cannot delete vendor!' => '´Ë³§ÉÌÒÑÓÐÕÊÄ¿, ²»ÄÜɾ³ý!',
+ 'Transactions exist; cannot delete account!' => 'ÉÐÓн»Ò×´æÔÚ; ÎÞ·¨É¾³ýÕÊ»§!',
+ 'Trial Balance' => 'ÊÔËã±í',
+ 'Unit' => 'µ¥Î»',
+ 'Unit of measure' => '¶ÈÁ¿µ¥Î»',
+ 'Update' => '¸üÐÂ',
+ 'Update Dataset' => '¸üÐÂ×ÊÁϼ¯',
+ 'Updated' => 'ÒѸüÐÂ',
+ 'Use Templates' => 'ʹÓÃÄ£°æ',
+ 'User' => 'ʹÓÃÕß',
+ 'User deleted!' => 'ʹÓÃÕßÒÔ±»É¾³ý!',
+ 'User saved!' => 'ʹÓÃÕßÒÔ±»´¢´æ!',
+ 'Vendor' => '³§ÉÌ',
+ 'Vendor deleted!' => '³§ÉÌɾ³ý!',
+ 'Vendor missing!' => 'δָÃ÷³§ÉÌ!',
+ 'Vendor not on file!' => '´Ë³§ÉÌδÔÚµµ°¸!',
+ 'Vendor saved!' => '³§É̱£´æ!',
+ 'Vendors' => '³§ÉÌ',
+ 'Version' => '°æ±¾',
+ 'Weight' => 'ÖØÁ¿',
+ 'Weight Unit' => 'ÖØÁ¿µ¥Î»',
+ 'What type of item is this?' => '´ËÏîÄ¿µÄÐÍ̬?',
+ 'Year End' => '»á¼ÆÄê¶È',
+ 'Yes' => 'ÊÇ',
+ 'You are logged out!' => 'ÄãÒԵdzö!',
+ 'You did not enter a name!' => 'Äú²¢Î´¼ü?ëÃ?³Æ!',
+ 'You must enter a host and port for local and remote connections!' => 'Äú±ØÐè¼ü?ëÖ÷»?¼°²ººÅ, ÒÔ½øÐб¾»ú»òÔ¶¶ËÁ¬Ïß!',
+ 'as at' => '¸ù¾Ý',
+ 'collected on sales' => 'ÔÚÏú»õʱ½áÇå',
+ 'days' => 'ÈÕ',
+ 'does not exist' => '²»´æÔÚ',
+ 'ea' => '',
+ 'emailed to' => 'ÒѼÄÖÁ',
+ 'for Period' => 'ÆÚ¼ä',
+ 'hr' => 'hr',
+ 'is already a member!' => 'ÒѾ­ÊdzÉÔ±ÁË!',
+ 'is not a member!' => '²¢²»ÊdzÉÔ±!',
+ 'localhost' => 'localhost',
+ 'locked!' => '',
+ 'paid on purchases' => 'ÔڲɹºÊ±½áÇå',
+ 'sent to printer' => 'ËÍÖÁÓ¡±í»ú',
+ 'successfully created!' => '³É¹¦½¨Á¢!',
+ 'successfully deleted!' => '³É¹¦É¾³ý!',
+ 'to' => 'ÖÁ',
+ 'website' => 'ÍøÕ¾',
+};
+
+1;
diff --git a/sql-ledger/locale/cn/am b/sql-ledger/locale/cn/am
new file mode 100644
index 0000000..610d7dd
--- /dev/null
+++ b/sql-ledger/locale/cn/am
@@ -0,0 +1,139 @@
+$self{texts} = {
+ 'AP' => 'Ó¦¸¶ÕÊ¿î',
+ 'AR' => 'Ó¦ÊÕÕÊ¿î',
+ 'Account' => '¿ÆÄ¿',
+ 'Account Number' => '¿ÆÄ¿±àºÅ',
+ 'Account Number missing!' => '©Ìî¿ÆÄ¿±àºÅ!',
+ 'Account Type' => '¿ÆÄ¿Àà±ð',
+ 'Account Type missing!' => '©Ìî¿ÆÄ¿Àà±ð!',
+ 'Account deleted!' => '¿ÆÄ¿ÒÔ±»É¾³ý!',
+ 'Account saved!' => '¿ÆÄ¿ÒÔ±»´¢´æ!',
+ 'Add Account' => 'ÐÂÔö¿ÆÄ¿',
+ 'Add GIFI' => 'ÐÂÔö GIFI',
+ 'Address' => 'µØÖ·',
+ 'Asset' => '×ʲú',
+ 'Audit Control' => '»üºË¿ØÖÆ',
+ 'Backup sent to' => '±¸·Ý¼ÄË͵½',
+ 'Books are open' => 'Õʲ¾ÒÑ¿ªÆô',
+ 'Business Number' => 'ͳһ±àºÅ',
+ 'COGS' => '»õÏú³É±¾',
+ 'Cannot delete account!' => 'ÎÞ·¨É¾³ý¿ÆÄ¿!',
+ 'Cannot delete default account!' => 'ÎÞ·¨É¾³ýÔ¤ÉèÕʺÅ',
+ 'Cannot save account!' => 'ÎÞ·¨´¢´æ¿ÆÄ¿!',
+ 'Cannot save preferences!' => 'ÎÞ·¨´¢´æÉ趨!',
+ 'Character Set' => '×ÖÔª¼¯',
+ 'Chart of Accounts' => '»á¼Æ¿ÆÄ¿±í',
+ 'Close Books up to' => '¹Ø±Õµ½´ËΪֹµÄÕʲ¾',
+ 'Company' => '¹«Ë¾Ãû³Æ',
+ 'Continue' => '¼ÌÐø',
+ 'Copy to COA' => '¸´ÖƵ½ COA',
+ 'Credit' => '´û·½',
+ 'Date Format' => 'ÈÕÆÚ¸ñʽ',
+ 'Debit' => '½è·½',
+ 'Delete' => 'ɾ³ý',
+ 'Delete Account' => 'ɾ³ý¿ÆÄ¿',
+ 'Description' => '˵Ã÷',
+ 'Dropdown Limit' => 'ÏÞÖÆ×ÊÁÏÏÔʾ¹¦ÄÜ',
+ 'E-mail' => 'µç×ÓÓʼþ',
+ 'Edit' => '±à¼­',
+ 'Edit Account' => '±à¼­¿ÆÄ¿',
+ 'Edit GIFI' => '±à¼­ GIFI',
+ 'Edit Preferences for' => 'É趨ʹÓÃÕß',
+ 'Edit Template' => '±à¼­Ä£°æ',
+ 'Enforce transaction reversal for all dates' => 'Ç¿ÖÆËùÓÐ?ÕÆڵĽ»Ò׻ظ?',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Çë¼ü?ëÒÔðºÅ·Ö¸ôµÄÓ?ÎÄ×Öĸ, ÿÏî²»³¬¹ý??¸ö×Ö (?? CAD:USD:EUR), ×÷ΪÄúµÄ±¾¹ú¼°Íâ¹ú»õ±Ò',
+ 'Equity' => '¹ÉȨ',
+ 'Expense' => '·ÑÓÃ',
+ 'Expense Account' => '·ÑÓÿÆÄ¿',
+ 'Expense/Asset' => '·ÑÓÃ/×ʲú',
+ 'Fax' => '´«Õæ',
+ 'Foreign Exchange Gain' => 'Íâ»ãÊÕÒæ',
+ 'Foreign Exchange Loss' => 'Íâ»ãËðʧ',
+ 'GIFI' => 'GIFI',
+ 'GIFI deleted!' => 'GIFI ¼Ç¼ɾ³ý',
+ 'GIFI missing!' => 'δָÃ÷ GIFI!',
+ 'GIFI saved!' => 'GIFI ¼Ç¼±£´æ',
+ 'Heading' => '±íÍ·',
+ 'Include in drop-down menus' => '°üº¬ÔÚÏÂÀ­Ê½Ñ¡µ¥ÖÐ',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Òª½«Õâ¸ö¿Í»§/³§É̼ÓÈëÓ¦¼ÓË°Çåµ¥?',
+ 'Income' => 'ÊÕÒæ',
+ 'Income Account' => 'ËðÒæ¿ÆÄ¿',
+ 'Inventory' => '¿â´æ',
+ 'Inventory Account' => '´æ»õ¿ÆÄ¿',
+ 'Is this a summary account to record' => '´ËΪ×ܽá¿ÆÄ¿Âð?',
+ 'Language' => 'Óïϵ',
+ 'Last Invoice Number' => 'ÉÏÒ»±Ê·¢Æ±±àºÅ',
+ 'Last Numbers & Default Accounts' => 'ÉÏÒ»±Ê±àºÅ¼°Ô¤Éè¿ÆÄ¿',
+ 'Last Purchase Order Number' => 'Ç°´Î²É¹ºµ¥ºÅ',
+ 'Last Sales Order Number' => 'Ç°´ÎÏú',
+ 'Liability' => '¸ºÕ®',
+ 'Link' => 'Á¬½á',
+ 'Name' => 'Ãû³Æ',
+ 'No' => '·ñ',
+ 'No email address for' => 'δָÃ÷µç×ÓÓʼþλÖÃ',
+ 'Number' => '񅧏',
+ 'Number Format' => 'Êý×Ö¸ñʽ',
+ 'Parts Inventory' => '¿â´æÔ­ÁÏ',
+ 'Password' => 'ÃÜÂë',
+ 'Payables' => 'Ó¦¸¶¿ÆÄ¿',
+ 'Payment' => '¸¶¿î·½Ê½',
+ 'Phone' => 'µç»°ºÅÂë',
+ 'Preferences saved!' => '¸öÈËÉ趨ÒÑ´¢´æ!',
+ 'Rate' => 'Ë°ÂÊ',
+ 'Receivables' => 'Ó¦ÊÕ¿ÆÄ¿',
+ 'Sales' => 'ÒµÎñ',
+ 'Save' => '´¢´æ',
+ 'Service Items' => '·þÎñÏîÄ¿',
+ 'Ship via' => 'º½ÔË·½·¨',
+ 'Signature' => 'Ç©Ãû',
+ 'Stylesheet' => 'Ñùʽ±í',
+ 'Tax' => 'Ë°½ð',
+ 'Tax Accounts' => 'Ë°½ð¿ÆÄ¿',
+ 'Template saved!' => 'Ä£°æÒÑ´¢´æ',
+ 'Transaction reversal enforced for all dates' => 'Ç¿Öƻظ´ËùÓÐ?ÕÆڵĽ»Ò?',
+ 'Transaction reversal enforced up to' => 'Ç¿Öƻظ´½»Ò×Ö±µ½',
+ 'Transactions exist; cannot delete account!' => 'ÉÐÓн»Ò×´æÔÚ; ÎÞ·¨É¾³ýÕÊ»§!',
+ 'Weight Unit' => 'ÖØÁ¿µ¥Î»',
+ 'Year End' => '»á¼ÆÄê¶È',
+ 'Yes' => 'ÊÇ',
+ 'does not exist' => '²»´æÔÚ',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_gifi' => 'add_gifi',
+ 'audit_control' => 'audit_control',
+ 'backup' => 'backup',
+ 'config' => 'config',
+ 'continue' => 'continue',
+ 'copy_to_coa' => 'copy_to_coa',
+ 'delete' => 'delete',
+ 'delete_account' => 'delete_account',
+ 'delete_gifi' => 'delete_gifi',
+ 'display_form' => 'display_form',
+ 'display_stylesheet' => 'display_stylesheet',
+ 'doclose' => 'doclose',
+ 'edit' => 'edit',
+ 'edit_gifi' => 'edit_gifi',
+ 'edit_template' => 'edit_template',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gifi_footer' => 'gifi_footer',
+ 'gifi_header' => 'gifi_header',
+ 'list' => 'list',
+ 'list_gifi' => 'list_gifi',
+ 'save' => 'save',
+ 'save_account' => 'save_account',
+ 'save_gifi' => 'save_gifi',
+ 'save_preferences' => 'save_preferences',
+ 'save_template' => 'save_template',
+ 'ÐÂÔö¿ÆÄ¿' => 'add_account',
+ '¼ÌÐø' => 'continue',
+ '¸´ÖƵ½_coa' => 'copy_to_coa',
+ 'ɾ³ý' => 'delete',
+ '±à¼­' => 'edit',
+ '±à¼­¿ÆÄ¿' => 'edit_account',
+ '´¢´æ' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/cn/ap b/sql-ledger/locale/cn/ap
new file mode 100644
index 0000000..03dc72c
--- /dev/null
+++ b/sql-ledger/locale/cn/ap
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AP Transaction' => 'Ó¦¸¶ÕÊÄ¿',
+ 'AP Transactions' => 'Ó¦¸¶ÕÊÄ¿',
+ 'Account' => '¿ÆÄ¿',
+ 'Add Accounts Payables Transaction' => 'ÐÂÔöÓ¦¸¶ÕÊÄ¿',
+ 'Address' => 'µØÖ·',
+ 'Amount' => '×ܼÆ',
+ 'Amount Due' => 'µ½ÆÚµÄ×ܼÆ',
+ 'Apr' => 'ËÄÔÂ',
+ 'April' => 'ËÄÔÂ',
+ 'Are you sure you want to delete Transaction' => 'ÄúÈ·¶¨ÒªÉ¾³ýÕÊÄ¿',
+ 'Aug' => '°ËÔÂ',
+ 'August' => '°ËÔÂ',
+ 'Cannot delete transaction!' => 'ÎÞ·¨É¾³ýÕÊÄ¿!',
+ 'Cannot post payment for a closed period!' => 'ÎÞ·¨ÔÚÒѹرյÄʱ¶ÎÄÚ¼Ó?ë½»Ò?!',
+ 'Cannot post transaction for a closed period!' => 'ÎÞ·¨ÔÚÒѹرյÄʱ¶ÎÄÚ¼Ó?ë½»Ò?!',
+ 'Cannot post transaction!' => 'ÎÞ·¨È·ÈÏÕÊÄ¿!',
+ 'Closed' => 'ÒѹرÕ',
+ 'Confirm!' => 'ÈëÕʳɹ¦!',
+ 'Continue' => '¼ÌÐø',
+ 'Currency' => '±Ò±ð',
+ 'Customer not on file!' => '¿Í»§¼Ç¼ûÔÚµµ°¸!',
+ 'Date' => 'ÈÕÆÚ',
+ 'Date Paid' => '¸¶¿îÈÕÆÚ',
+ 'Dec' => 'Ê®¶þÔÂ',
+ 'December' => 'Ê®¶þÔÂ',
+ 'Delete' => 'ɾ³ý',
+ 'Description' => '˵Ã÷',
+ 'Due Date' => 'µ½ÆÚÈÕ',
+ 'Due Date missing!' => '©Ìîµ½ÆÚÈÕ!',
+ 'Edit Accounts Payables Transaction' => '¸ü»»Ó¦¸¶ÕÊ¿îÕÊÄ¿',
+ 'Employee' => 'Ö°Ô±',
+ 'Exch' => '»ãÂÊ',
+ 'Exchangerate' => '»ãÂÊ',
+ 'Exchangerate for payment missing!' => 'δָÃ÷¸¶¿î»ãÂÊ!',
+ 'Exchangerate missing!' => 'δָÃ÷»ãÂÊ!',
+ 'Feb' => '¶þÔÂ',
+ 'February' => '¶þÔÂ',
+ 'From' => '´Ó',
+ 'ID' => '񅧏',
+ 'Include in Report' => 'Ò»²¢ÏÔʾ',
+ 'Invoice' => '·¢Æ±',
+ 'Invoice Date' => '·¢Æ±ÈÕÆÚ',
+ 'Invoice Date missing!' => '·¢Æ±ÈÕÆÚ´íÎó!',
+ 'Invoice Number' => '·¢Æ±±àºÅ',
+ 'Invoice Number missing!' => '·¢Æ±±àºÅ´íÎó!',
+ 'Jan' => 'Ò»ÔÂ',
+ 'January' => 'Ò»ÔÂ',
+ 'Jul' => 'ÆßÔÂ',
+ 'July' => 'ÆßÔÂ',
+ 'Jun' => 'ÁùÔÂ',
+ 'June' => 'ÁùÔÂ',
+ 'Mar' => 'ÈýÔÂ',
+ 'March' => 'ÈýÔÂ',
+ 'May' => 'ÎåÔÂ',
+ 'May ' => 'ÎåÔÂ',
+ 'Notes' => '±¸×¢',
+ 'Nov' => 'ʮһÔÂ',
+ 'November' => 'ʮһÔÂ',
+ 'Number' => '񅧏',
+ 'Oct' => 'Ê®ÔÂ',
+ 'October' => 'Ê®ÔÂ',
+ 'Open' => '¿ªÆô',
+ 'Order' => '¶©µ¥',
+ 'Order Number' => '¶©µ¥±àºÅ',
+ 'Paid' => 'ÒѸ¶',
+ 'Payment date missing!' => 'δָÃ÷¸¶¿î?ÕÆ?!',
+ 'Payments' => '¸¶¿î',
+ 'Post' => 'È·ÈÏ',
+ 'Post as new' => 'È·ÈϳÉΪÐÂÕÊÄ¿',
+ 'Project' => '¹¤³Ì',
+ 'Project not on file!' => 'È·ÈϳÉΪÐÂÕÊÄ¿',
+ 'Purchase Invoice' => '²É¹º·¢Æ±',
+ 'Select from one of the names below' => 'ì¶ÏÂÁÐÃû×ÖÖÐÑ¡ÔñÒ»Ïî',
+ 'Select from one of the projects below' => 'ì¶ÏÂÁй¤³ÌÖÐÑ¡ÔñÒ»Ïî',
+ 'Sep' => '¾ÅÔÂ',
+ 'September' => '¾ÅÔÂ',
+ 'Source' => 'À´Ô´',
+ 'Subtotal' => 'С¼Æ',
+ 'Tax' => 'Ë°½ð',
+ 'Tax Included' => '²»ÊÕ·þÎñ·Ñ',
+ 'Total' => '×ܼÆ',
+ 'Transaction deleted!' => 'ÕÊĿɾ³ý!',
+ 'Transaction posted!' => 'ÕÊÄ¿È·ÈÏ!',
+ 'Update' => '¸üÐÂ',
+ 'Vendor' => '³§ÉÌ',
+ 'Vendor missing!' => 'δָÃ÷³§ÉÌ!',
+ 'Vendor not on file!' => '´Ë³§ÉÌδÔÚµµ°¸!',
+ 'Yes' => 'ÊÇ',
+ 'to' => 'ÖÁ',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_subtotal' => 'ap_subtotal',
+ 'ap_transaction' => 'ap_transaction',
+ 'ap_transactions' => 'ap_transactions',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'Ó¦¸¶ÕÊÄ¿' => 'ap_transaction',
+ 'ÐÂÔöÓ¦¸¶ÕÊÄ¿' => 'add_accounts_payables_transaction',
+ '¼ÌÐø' => 'continue',
+ 'ɾ³ý' => 'delete',
+ '¸ü»»Ó¦¸¶ÕÊ¿îÕÊÄ¿' => 'edit_accounts_payables_transaction',
+ 'È·ÈÏ' => 'post',
+ 'È·ÈϳÉΪÐÂÕÊÄ¿' => 'post_as_new',
+ '²É¹º·¢Æ±' => 'purchase_invoice',
+ '¸üÐÂ' => 'update',
+ 'ÊÇ' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/cn/ar b/sql-ledger/locale/cn/ar
new file mode 100644
index 0000000..f6fb3ff
--- /dev/null
+++ b/sql-ledger/locale/cn/ar
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AR Transaction' => 'Ó¦ÊÕÕÊÄ¿',
+ 'AR Transactions' => 'Ó¦ÊÕÕÊÄ¿',
+ 'Account' => '¿ÆÄ¿',
+ 'Add Accounts Receivables Transaction' => 'ÐÂÔöÓ¦ÊÕÕÊÄ¿',
+ 'Address' => 'µØÖ·',
+ 'Amount' => '×ܼÆ',
+ 'Amount Due' => 'µ½ÆÚµÄ×ܼÆ',
+ 'Apr' => 'ËÄÔÂ',
+ 'April' => 'ËÄÔÂ',
+ 'Are you sure you want to delete Transaction' => 'ÄúÈ·¶¨ÒªÉ¾³ýÕÊÄ¿',
+ 'Aug' => '°ËÔÂ',
+ 'August' => '°ËÔÂ',
+ 'Cannot delete transaction!' => 'ÎÞ·¨É¾³ýÕÊÄ¿!',
+ 'Cannot post payment for a closed period!' => 'ÎÞ·¨ÔÚÒѹرյÄʱ¶ÎÄÚ¼Ó?ë½»Ò?!',
+ 'Cannot post transaction for a closed period!' => 'ÎÞ·¨ÔÚÒѹرյÄʱ¶ÎÄÚ¼Ó?ë½»Ò?!',
+ 'Cannot post transaction!' => 'ÎÞ·¨È·ÈÏÕÊÄ¿!',
+ 'Closed' => 'ÒѹرÕ',
+ 'Confirm!' => 'ÈëÕʳɹ¦!',
+ 'Continue' => '¼ÌÐø',
+ 'Credit Limit' => 'ÐÅÓöî¶È',
+ 'Currency' => '±Ò±ð',
+ 'Customer' => '¿Í»§',
+ 'Customer missing!' => 'δָÃ÷¿Í»§!',
+ 'Customer not on file!' => '¿Í»§¼Ç¼ûÔÚµµ°¸!',
+ 'Date' => 'ÈÕÆÚ',
+ 'Date Paid' => '¸¶¿îÈÕÆÚ',
+ 'Dec' => 'Ê®¶þÔÂ',
+ 'December' => 'Ê®¶þÔÂ',
+ 'Delete' => 'ɾ³ý',
+ 'Description' => '˵Ã÷',
+ 'Due Date' => 'µ½ÆÚÈÕ',
+ 'Due Date missing!' => '©Ìîµ½ÆÚÈÕ!',
+ 'Edit Accounts Receivables Transaction' => '¸ü»»Ó¦ÊÕÕÊ¿îÕÊÄ¿',
+ 'Employee' => 'Ö°Ô±',
+ 'Exch' => '»ãÂÊ',
+ 'Exchangerate' => '»ãÂÊ',
+ 'Exchangerate for payment missing!' => 'δָÃ÷¸¶¿î»ãÂÊ!',
+ 'Exchangerate missing!' => 'δָÃ÷»ãÂÊ!',
+ 'Feb' => '¶þÔÂ',
+ 'February' => '¶þÔÂ',
+ 'From' => '´Ó',
+ 'ID' => '񅧏',
+ 'Include in Report' => 'Ò»²¢ÏÔʾ',
+ 'Invoice' => '·¢Æ±',
+ 'Invoice Date' => '·¢Æ±ÈÕÆÚ',
+ 'Invoice Date missing!' => '·¢Æ±ÈÕÆÚ´íÎó!',
+ 'Invoice Number' => '·¢Æ±±àºÅ',
+ 'Invoice Number missing!' => '·¢Æ±±àºÅ´íÎó!',
+ 'Jan' => 'Ò»ÔÂ',
+ 'January' => 'Ò»ÔÂ',
+ 'Jul' => 'ÆßÔÂ',
+ 'July' => 'ÆßÔÂ',
+ 'Jun' => 'ÁùÔÂ',
+ 'June' => 'ÁùÔÂ',
+ 'Mar' => 'ÈýÔÂ',
+ 'March' => 'ÈýÔÂ',
+ 'May' => 'ÎåÔÂ',
+ 'May ' => 'ÎåÔÂ',
+ 'Notes' => '±¸×¢',
+ 'Nov' => 'ʮһÔÂ',
+ 'November' => 'ʮһÔÂ',
+ 'Number' => '񅧏',
+ 'Oct' => 'Ê®ÔÂ',
+ 'October' => 'Ê®ÔÂ',
+ 'Open' => '¿ªÆô',
+ 'Order' => '¶©µ¥',
+ 'Order Number' => '¶©µ¥±àºÅ',
+ 'Paid' => 'ÒѸ¶',
+ 'Payment date missing!' => 'δָÃ÷¸¶¿î?ÕÆ?!',
+ 'Payments' => '¸¶¿î',
+ 'Post' => 'È·ÈÏ',
+ 'Post as new' => 'È·ÈϳÉΪÐÂÕÊÄ¿',
+ 'Project' => '¹¤³Ì',
+ 'Project not on file!' => 'È·ÈϳÉΪÐÂÕÊÄ¿',
+ 'Remaining' => 'ÉÐâÅ',
+ 'Sales Invoice' => 'Ïú»õ·¢Æ±',
+ 'Select from one of the names below' => 'ì¶ÏÂÁÐÃû×ÖÖÐÑ¡ÔñÒ»Ïî',
+ 'Select from one of the projects below' => 'ì¶ÏÂÁй¤³ÌÖÐÑ¡ÔñÒ»Ïî',
+ 'Sep' => '¾ÅÔÂ',
+ 'September' => '¾ÅÔÂ',
+ 'Source' => 'À´Ô´',
+ 'Subtotal' => 'С¼Æ',
+ 'Tax' => 'Ë°½ð',
+ 'Tax Included' => '²»ÊÕ·þÎñ·Ñ',
+ 'Total' => '×ܼÆ',
+ 'Transaction deleted!' => 'ÕÊĿɾ³ý!',
+ 'Transaction posted!' => 'ÕÊÄ¿È·ÈÏ!',
+ 'Update' => '¸üÐÂ',
+ 'Vendor not on file!' => '´Ë³§ÉÌδÔÚµµ°¸!',
+ 'Yes' => 'ÊÇ',
+ 'to' => 'ÖÁ',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_subtotal' => 'ar_subtotal',
+ 'ar_transaction' => 'ar_transaction',
+ 'ar_transactions' => 'ar_transactions',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'Ó¦ÊÕÕÊÄ¿' => 'ar_transaction',
+ '¼ÌÐø' => 'continue',
+ 'ɾ³ý' => 'delete',
+ 'È·ÈÏ' => 'post',
+ 'È·ÈϳÉΪÐÂÕÊÄ¿' => 'post_as_new',
+ 'Ïú»õ·¢Æ±' => 'sales_invoice',
+ '¸üÐÂ' => 'update',
+ 'ÊÇ' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/cn/arap b/sql-ledger/locale/cn/arap
new file mode 100644
index 0000000..a6a3975
--- /dev/null
+++ b/sql-ledger/locale/cn/arap
@@ -0,0 +1,30 @@
+$self{texts} = {
+ 'Address' => 'µØÖ·',
+ 'Continue' => '¼ÌÐø',
+ 'Customer not on file!' => '¿Í»§¼Ç¼ûÔÚµµ°¸!',
+ 'Description' => '˵Ã÷',
+ 'Number' => '񅧏',
+ 'Project not on file!' => 'È·ÈϳÉΪÐÂÕÊÄ¿',
+ 'Select from one of the names below' => 'ì¶ÏÂÁÐÃû×ÖÖÐÑ¡ÔñÒ»Ïî',
+ 'Select from one of the projects below' => 'ì¶ÏÂÁй¤³ÌÖÐÑ¡ÔñÒ»Ïî',
+ 'Vendor not on file!' => '´Ë³§ÉÌδÔÚµµ°¸!',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ '¼ÌÐø' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/cn/ca b/sql-ledger/locale/cn/ca
new file mode 100644
index 0000000..91587fb
--- /dev/null
+++ b/sql-ledger/locale/cn/ca
@@ -0,0 +1,50 @@
+$self{texts} = {
+ 'Account' => '¿ÆÄ¿',
+ 'Apr' => 'ËÄÔÂ',
+ 'April' => 'ËÄÔÂ',
+ 'Aug' => '°ËÔÂ',
+ 'August' => '°ËÔÂ',
+ 'Balance' => '²î¶î',
+ 'Chart of Accounts' => '»á¼Æ¿ÆÄ¿±í',
+ 'Credit' => '´û·½',
+ 'Date' => 'ÈÕÆÚ',
+ 'Debit' => '½è·½',
+ 'Dec' => 'Ê®¶þÔÂ',
+ 'December' => 'Ê®¶þÔÂ',
+ 'Description' => '˵Ã÷',
+ 'Feb' => '¶þÔÂ',
+ 'February' => '¶þÔÂ',
+ 'From' => '´Ó',
+ 'GIFI' => 'GIFI',
+ 'Include in Report' => 'Ò»²¢ÏÔʾ',
+ 'Jan' => 'Ò»ÔÂ',
+ 'January' => 'Ò»ÔÂ',
+ 'Jul' => 'ÆßÔÂ',
+ 'July' => 'ÆßÔÂ',
+ 'Jun' => 'ÁùÔÂ',
+ 'June' => 'ÁùÔÂ',
+ 'List Transactions' => 'ÁгöÕÊÄ¿',
+ 'Mar' => 'ÈýÔÂ',
+ 'March' => 'ÈýÔÂ',
+ 'May' => 'ÎåÔÂ',
+ 'May ' => 'ÎåÔÂ',
+ 'Nov' => 'ʮһÔÂ',
+ 'November' => 'ʮһÔÂ',
+ 'Oct' => 'Ê®ÔÂ',
+ 'October' => 'Ê®ÔÂ',
+ 'Reference' => '²Î¿¼ºÅÂë',
+ 'Sep' => '¾ÅÔÂ',
+ 'September' => '¾ÅÔÂ',
+ 'Subtotal' => 'С¼Æ',
+ 'to' => 'ÖÁ',
+};
+
+$self{subs} = {
+ 'ca_subtotal' => 'ca_subtotal',
+ 'chart_of_accounts' => 'chart_of_accounts',
+ 'list' => 'list',
+ 'list_transactions' => 'list_transactions',
+ 'ÁгöÕÊÄ¿' => 'list_transactions',
+};
+
+1;
diff --git a/sql-ledger/locale/cn/cp b/sql-ledger/locale/cn/cp
new file mode 100644
index 0000000..fb357dc
--- /dev/null
+++ b/sql-ledger/locale/cn/cp
@@ -0,0 +1,77 @@
+$self{texts} = {
+ 'Account' => '¿ÆÄ¿',
+ 'Address' => 'µØÖ·',
+ 'Amount' => '×ܼÆ',
+ 'Amount does not equal applied!' => '×ܶÏàµÈ!',
+ 'Amount missing!' => 'δָÃ÷×ܶî!',
+ 'Applied' => 'Ö§¸¶',
+ 'Cannot post payment!' => 'ÎÞ·¨´¦Àí¸¶¿î!',
+ 'Cannot process payment for a closed period!' => 'ÒѹرյÄʱ¶ÎÄÚ´¦Àí¸¶¿î!',
+ 'Check' => '֧Ʊ',
+ 'Check printed!' => 'ӡˢ֧Ʊ!',
+ 'Check printing failed!' => 'ÎÞ·¨Ó¡Ë¢Ö§Æ±!',
+ 'Continue' => '¼ÌÐø',
+ 'Currency' => '±Ò±ð',
+ 'Customer' => '¿Í»§',
+ 'Customer not on file!' => '¿Í»§¼Ç¼ûÔÚµµ°¸!',
+ 'Date' => 'ÈÕÆÚ',
+ 'Date missing!' => 'δָÃ÷ÈÕÆÚ',
+ 'Description' => '˵Ã÷',
+ 'Due' => 'µ½ÆÚ',
+ 'Exchangerate' => '»ãÂÊ',
+ 'From' => '´Ó',
+ 'Invoice' => '·¢Æ±',
+ 'Invoices' => '·¢Æ±',
+ 'Nothing applied!' => 'δָÃ÷Ö§¸¶×ܶî!',
+ 'Number' => '񅧏',
+ 'Paid in full' => 'Ö§¸¶È«²¿×ܶî',
+ 'Payment' => '¸¶¿î·½Ê½',
+ 'Payment posted!' => 'Payment posted!',
+ 'Post' => 'È·ÈÏ',
+ 'Print' => 'Ó¡Ë¢',
+ 'Printer' => 'Ó¡±í»ú',
+ 'Project not on file!' => 'È·ÈϳÉΪÐÂÕÊÄ¿',
+ 'Receipt' => 'ÊÕ¾Ý',
+ 'Receipt printed!' => 'Receipt printed!',
+ 'Receipt printing failed!' => 'Receipt printing failed!',
+ 'Reference' => '²Î¿¼ºÅÂë',
+ 'Screen' => 'Ó©Ä»',
+ 'Select from one of the names below' => 'ì¶ÏÂÁÐÃû×ÖÖÐÑ¡ÔñÒ»Ïî',
+ 'Select from one of the projects below' => 'ì¶ÏÂÁй¤³ÌÖÐÑ¡ÔñÒ»Ïî',
+ 'Update' => '¸üÐÂ',
+ 'Vendor' => '³§ÉÌ',
+ 'Vendor not on file!' => '´Ë³§ÉÌδÔÚµµ°¸!',
+ 'to' => 'ÖÁ',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'list_invoices' => 'list_invoices',
+ 'name_selected' => 'name_selected',
+ 'payment' => 'payment',
+ 'post' => 'post',
+ 'print' => 'print',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'vendor_details' => 'vendor_details',
+ '¼ÌÐø' => 'continue',
+ 'È·ÈÏ' => 'post',
+ 'Ó¡Ë¢' => 'print',
+ '¸üÐÂ' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/cn/ct b/sql-ledger/locale/cn/ct
new file mode 100644
index 0000000..7793fea
--- /dev/null
+++ b/sql-ledger/locale/cn/ct
@@ -0,0 +1,71 @@
+$self{texts} = {
+ 'Add' => 'ÐÂÔö',
+ 'Address' => 'µØÖ·',
+ 'All' => 'È«²¿',
+ 'Bcc' => 'Bcc',
+ 'Cannot delete customer!' => '²»ÄÜɾ³ý¿Í»§!',
+ 'Cannot delete vendor!' => '²»ÄÜɾ³ý³§ÉÌ!',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Á¬ÂçÈË',
+ 'Continue' => '¼ÌÐø',
+ 'Credit Limit' => 'ÐÅÓöî¶È',
+ 'Customer deleted!' => '¿Í»§¼Ç¼ɾ³ý!',
+ 'Customer saved!' => '¿Í»§¼Ç¼±£´æ!',
+ 'Customers' => '¿Í»§',
+ 'Delete' => 'ɾ³ý',
+ 'Discount' => 'ÕÛ¿Û',
+ 'E-mail' => 'µç×ÓÓʼþ',
+ 'Edit Customer' => '±à¼­¿Í»§',
+ 'Edit Vendor' => '±à¼­³§ÉÌ',
+ 'Fax' => '´«Õæ',
+ 'Include in Report' => 'Ò»²¢ÏÔʾ',
+ 'Invoice' => '·¢Æ±',
+ 'Name' => 'Ãû³Æ',
+ 'Name missing!' => 'ȱÉÙÃû³Æ!',
+ 'Notes' => '±¸×¢',
+ 'Number' => '񅧏',
+ 'Order' => '¶©µ¥',
+ 'Orphaned' => 'ÎÞÖ÷',
+ 'Phone' => 'µç»°ºÅÂë',
+ 'Save' => '´¢´æ',
+ 'Ship to' => 'ÏúÊÛ´ú±í',
+ 'Tax Included' => '²»ÊÕ·þÎñ·Ñ',
+ 'Taxable' => 'Ӧ˰',
+ 'Terms: Net' => 'ƱÆÚ¾»¼Æ',
+ 'Transactions exist, cannot delete customer!' => '´Ë¿Í»§ÒÑÓÐÕÊÄ¿, ²»ÄÜɾ³ý!',
+ 'Transactions exist, cannot delete vendor!' => '´Ë³§ÉÌÒÑÓÐÕÊÄ¿, ²»ÄÜɾ³ý!',
+ 'Vendor deleted!' => '³§ÉÌɾ³ý!',
+ 'Vendor saved!' => '³§É̱£´æ!',
+ 'Vendors' => '³§ÉÌ',
+ 'days' => 'ÈÕ',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'customer_invoice' => 'customer_invoice',
+ 'customer_order' => 'customer_order',
+ 'delete' => 'delete',
+ 'delete_customer' => 'delete_customer',
+ 'delete_vendor' => 'delete_vendor',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'invoice' => 'invoice',
+ 'list_names' => 'list_names',
+ 'order' => 'order',
+ 'save' => 'save',
+ 'save_customer' => 'save_customer',
+ 'save_vendor' => 'save_vendor',
+ 'search' => 'search',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'vendor_order' => 'vendor_order',
+ 'ÐÂÔö' => 'add',
+ '¼ÌÐø' => 'continue',
+ 'ɾ³ý' => 'delete',
+ '·¢Æ±' => 'invoice',
+ '¶©µ¥' => 'order',
+ '´¢´æ' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/cn/gl b/sql-ledger/locale/cn/gl
new file mode 100644
index 0000000..df81370
--- /dev/null
+++ b/sql-ledger/locale/cn/gl
@@ -0,0 +1,124 @@
+$self{texts} = {
+ 'AP Transaction' => 'Ó¦¸¶ÕÊÄ¿',
+ 'AR Transaction' => 'Ó¦ÊÕÕÊÄ¿',
+ 'Account' => '¿ÆÄ¿',
+ 'Add General Ledger Transaction' => 'ÐÂÔö×ÜÕÊ',
+ 'Address' => 'µØÖ·',
+ 'All' => 'È«²¿',
+ 'Apr' => 'ËÄÔÂ',
+ 'April' => 'ËÄÔÂ',
+ 'Are you sure you want to delete Transaction' => 'ÄúÈ·¶¨ÒªÉ¾³ýÕÊÄ¿',
+ 'Asset' => '×ʲú',
+ 'Aug' => '°ËÔÂ',
+ 'August' => '°ËÔÂ',
+ 'Balance' => '²î¶î',
+ 'Cannot delete transaction!' => 'ÎÞ·¨É¾³ýÕÊÄ¿!',
+ 'Cannot have a value in both Debit and Credit!' => '²»µÃͬʱÌîÈëÊýֵ춽跽Óë´û·½À¸Î»',
+ 'Cannot post a transaction without a value!' => 'ÎÞ·¨È·ÈÏû¼Û¸ñÕÊÄ¿!',
+ 'Cannot post transaction for a closed period!' => 'ÎÞ·¨ÔÚÒѹرյÄʱ¶ÎÄÚ¼Ó?ë½»Ò?!',
+ 'Confirm!' => 'ÈëÕʳɹ¦!',
+ 'Continue' => '¼ÌÐø',
+ 'Credit' => '´û·½',
+ 'Customer not on file!' => '¿Í»§¼Ç¼ûÔÚµµ°¸!',
+ 'Date' => 'ÈÕÆÚ',
+ 'Debit' => '½è·½',
+ 'Debit and credit out of balance!' => '½è´û²»Æ½ºâ!',
+ 'Dec' => 'Ê®¶þÔÂ',
+ 'December' => 'Ê®¶þÔÂ',
+ 'Delete' => 'ɾ³ý',
+ 'Description' => '˵Ã÷',
+ 'Edit General Ledger Transaction' => '±à¼­×ÜÕÊ',
+ 'Equity' => '¹ÉȨ',
+ 'Expense' => '·ÑÓÃ',
+ 'Feb' => '¶þÔÂ',
+ 'February' => '¶þÔÂ',
+ 'From' => '´Ó',
+ 'GIFI' => 'GIFI',
+ 'GL Transaction' => '×ÜÕÊ',
+ 'General Ledger' => '×ÜÕÊ',
+ 'ID' => '񅧏',
+ 'Include in Report' => 'Ò»²¢ÏÔʾ',
+ 'Income' => 'ÊÕÒæ',
+ 'Jan' => 'Ò»ÔÂ',
+ 'January' => 'Ò»ÔÂ',
+ 'Jul' => 'ÆßÔÂ',
+ 'July' => 'ÆßÔÂ',
+ 'Jun' => 'ÁùÔÂ',
+ 'June' => 'ÁùÔÂ',
+ 'Liability' => '¸ºÕ®',
+ 'Mar' => 'ÈýÔÂ',
+ 'March' => 'ÈýÔÂ',
+ 'May' => 'ÎåÔÂ',
+ 'May ' => 'ÎåÔÂ',
+ 'Notes' => '±¸×¢',
+ 'Nov' => 'ʮһÔÂ',
+ 'November' => 'ʮһÔÂ',
+ 'Number' => '񅧏',
+ 'Oct' => 'Ê®ÔÂ',
+ 'October' => 'Ê®ÔÂ',
+ 'Post' => 'È·ÈÏ',
+ 'Post as new' => 'È·ÈϳÉΪÐÂÕÊÄ¿',
+ 'Project' => '¹¤³Ì',
+ 'Project not on file!' => 'È·ÈϳÉΪÐÂÕÊÄ¿',
+ 'Purchase Invoice' => '²É¹º·¢Æ±',
+ 'Reference' => '²Î¿¼ºÅÂë',
+ 'Reference missing!' => 'δָÃ÷²Î¿¼ºÅÂë!',
+ 'Reports' => '±¨±í',
+ 'Sales Invoice' => 'Ïú»õ·¢Æ±',
+ 'Select from one of the names below' => 'ì¶ÏÂÁÐÃû×ÖÖÐÑ¡ÔñÒ»Ïî',
+ 'Select from one of the projects below' => 'ì¶ÏÂÁй¤³ÌÖÐÑ¡ÔñÒ»Ïî',
+ 'Sep' => '¾ÅÔÂ',
+ 'September' => '¾ÅÔÂ',
+ 'Source' => 'À´Ô´',
+ 'Subtotal' => 'С¼Æ',
+ 'Transaction Date missing!' => '©ÌîÕÊÄ¿ÈÕÆÚ!',
+ 'Transaction deleted!' => 'ÕÊĿɾ³ý!',
+ 'Transaction posted!' => 'ÕÊÄ¿È·ÈÏ!',
+ 'Update' => '¸üÐÂ',
+ 'Vendor not on file!' => '´Ë³§ÉÌδÔÚµµ°¸!',
+ 'Yes' => 'ÊÇ',
+ 'to' => 'ÖÁ',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'form_row' => 'form_row',
+ 'generate_report' => 'generate_report',
+ 'gl_subtotal' => 'gl_subtotal',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'Ó¦¸¶ÕÊÄ¿' => 'ap_transaction',
+ 'Ó¦ÊÕÕÊÄ¿' => 'ar_transaction',
+ '¼ÌÐø' => 'continue',
+ 'ɾ³ý' => 'delete',
+ '×ÜÕÊ' => 'gl_transaction',
+ 'È·ÈÏ' => 'post',
+ 'È·ÈϳÉΪÐÂÕÊÄ¿' => 'post_as_new',
+ '²É¹º·¢Æ±' => 'purchase_invoice',
+ 'Ïú»õ·¢Æ±' => 'sales_invoice',
+ '¸üÐÂ' => 'update',
+ 'ÊÇ' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/cn/ic b/sql-ledger/locale/cn/ic
new file mode 100644
index 0000000..e9bc870
--- /dev/null
+++ b/sql-ledger/locale/cn/ic
@@ -0,0 +1,206 @@
+$self{texts} = {
+ 'Active' => '»îÔ¾',
+ 'Add' => 'ÐÂÔö',
+ 'Add Assembly' => 'ÐÂÔöÉÌÆ·',
+ 'Add Part' => 'ÐÂÔöÔ­ÁÏ',
+ 'Add Purchase Order' => 'ÐÂÔö²É¹ºµ¥',
+ 'Add Sales Order' => 'ÐÂÔöÏú»õµ¥',
+ 'Add Service' => 'ÐÂÔö·þÎñ',
+ 'Address' => 'µØÖ·',
+ 'Apr' => 'ËÄÔÂ',
+ 'April' => 'ËÄÔÂ',
+ 'Assemblies' => 'ÉÌÆ·',
+ 'Assemblies restocked!' => '×°ÅäÖØнø»õ!',
+ 'Assembly Number missing!' => '²éÎÞ´ËÉÌÆ·!',
+ 'Attachment' => '¸½µµ',
+ 'Aug' => '°ËÔÂ',
+ 'August' => '°ËÔÂ',
+ 'BOM' => '²ÄÁÏÕʵ¥',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Ïä',
+ 'Bought' => 'ÒѹºÂò',
+ 'COGS' => '»õÏú³É±¾',
+ 'Cannot delete item already invoiced!' => 'ÎÞ·¨É¾³ý±¾Ïî',
+ 'Cannot delete item on order!' => 'ÎÞ·¨É¾³ýµ¥ÉϵÄÏîÄ¿!',
+ 'Cannot delete item which is part of an assembly!' => 'ÎÞ·¨É¾³ýÓÃì¶ÉÌÆ·ÖеÄÔ­ÁÏ',
+ 'Cannot delete item!' => 'ÎÞ·¨É¾³ýÏîÄ¿!',
+ 'Cannot stock assemblies!' => 'ÎÞ·¨É¾³ý×°ÅäÉÌÆ·!',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Á¬ÂçÈË',
+ 'Continue' => '¼ÌÐø',
+ 'Copies' => '¿½±´',
+ 'Dec' => 'Ê®¶þÔÂ',
+ 'December' => 'Ê®¶þÔÂ',
+ 'Delete' => 'ɾ³ý',
+ 'Delivery Date' => 'µÝËÍÈÕÆÚ',
+ 'Description' => '˵Ã÷',
+ 'Drawing' => 'ͼ',
+ 'E-mail' => 'µç×ÓÓʼþ',
+ 'E-mail address missing!' => '©Ìîµç×ÓÓʼþλַ!',
+ 'Edit Assembly' => '±à¼­ÉÌÆ·',
+ 'Edit Part' => '±à¼­Ô­ÁÏ',
+ 'Edit Service' => '±à¼­·þÎñ',
+ 'Expense' => '·ÑÓÃ',
+ 'Extended' => '¼ÆËãÁÐ',
+ 'Fax' => '´«Õæ',
+ 'Feb' => '¶þÔÂ',
+ 'February' => '¶þÔÂ',
+ 'From' => '´Ó',
+ 'Image' => 'ͼÏó',
+ 'In-line' => 'ÐÐÄÚ',
+ 'Include in Report' => 'Ò»²¢ÏÔʾ',
+ 'Income' => 'ÊÕÒæ',
+ 'Individual Items' => '×é³ÉÏîÄ¿',
+ 'Inventory' => '¿â´æ',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'ÔÚÍ£ÓôËÏî×éºÏƷ֮ǰ, ´æ»õÊýÁ¿±ØÐèΪÁã!',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'Í£ÓôËÏîÁã¼þ֮ǰ, ´æ»õÊýÁ¿±ØÐèΪÁã!',
+ 'Inventory quantity must be zero!' => '´æ»õÊýÁ¿±ØÐèΪÁã!',
+ 'Invoice' => '·¢Æ±',
+ 'Invoice Date missing!' => '·¢Æ±ÈÕÆÚ´íÎó!',
+ 'Invoice Number' => '·¢Æ±±àºÅ',
+ 'Invoice Number missing!' => '·¢Æ±±àºÅ´íÎó!',
+ 'Item deleted!' => 'ÏîĿɾ³ý!',
+ 'Item not on file!' => '²éÎÞ´ËÏîÄ¿',
+ 'Jan' => 'Ò»ÔÂ',
+ 'January' => 'Ò»ÔÂ',
+ 'Jul' => 'ÆßÔÂ',
+ 'July' => 'ÆßÔÂ',
+ 'Jun' => 'ÁùÔÂ',
+ 'June' => 'ÁùÔÂ',
+ 'Last Cost' => 'ÉÏÒ»±Ê³É±¾',
+ 'Line Total' => '×ÜÁÐÊý',
+ 'Link Accounts' => 'Á¬½á¿ÆÄ¿',
+ 'List Price' => 'List Price',
+ 'Make' => 'ÖÆÔì',
+ 'Mar' => 'ÈýÔÂ',
+ 'March' => 'ÈýÔÂ',
+ 'May' => 'ÎåÔÂ',
+ 'May ' => 'ÎåÔÂ',
+ 'Message' => 'ѶϢ',
+ 'Microfiche' => 'Ëõ΢½ºÆ¬',
+ 'Model' => 'ÐͺÅ',
+ 'Name' => 'Ãû³Æ',
+ 'No.' => '񅧏',
+ 'Notes' => '±¸×¢',
+ 'Nov' => 'ʮһÔÂ',
+ 'November' => 'ʮһÔÂ',
+ 'Number' => '񅧏',
+ 'Number missing in Row' => 'δָÃ÷ºÅÂë',
+ 'Obsolete' => 'Í£ÓÃ',
+ 'Oct' => 'Ê®ÔÂ',
+ 'October' => 'Ê®ÔÂ',
+ 'On Hand' => '´æÁ¿',
+ 'On Order' => 'ÒÑϵ¥¶©¹º',
+ 'Order' => '¶©µ¥',
+ 'Order Date missing!' => 'δָÃ÷ϵ¥?ÕÆ?!',
+ 'Order Number' => '¶©µ¥±àºÅ',
+ 'Order Number missing!' => 'δָÃ÷¶©µ¥±àºÅ!',
+ 'Ordered' => 'ÒÑ϶©¹º',
+ 'Orphaned' => 'ÎÞÖ÷',
+ 'PDF' => 'PDF',
+ 'Packing List' => '³ö»õµ¥',
+ 'Packing List Date missing!' => 'δָÃ÷°ü×°Çåµ¥?ÕÆ?!',
+ 'Packing List Number missing!' => 'δָÃ÷°ü×°Çåµ¥±àºÅ!',
+ 'Part' => 'Ô­ÁÏ',
+ 'Part Number missing!' => '©ÌîÔ­ÁϱàºÅ!',
+ 'Parts' => 'Ô­ÁÏ',
+ 'Phone' => 'µç»°ºÅÂë',
+ 'Postscript' => 'Postscript',
+ 'Price' => '¼Û¸ñ',
+ 'Printer' => 'Ó¡±í»ú',
+ 'Project' => '¹¤³Ì',
+ 'Purchase Order' => '²É¹ºµ¥',
+ 'Qty' => 'ÊýÁ¿',
+ 'ROP' => 'ÔÙ¶©µã',
+ 'Recd' => 'Recd',
+ 'Required by' => '×ÓÏîÄ¿',
+ 'Sales' => 'ÒµÎñ',
+ 'Sales Order' => 'Ïú»õµ¥',
+ 'Save' => '´¢´æ',
+ 'Screen' => 'Ó©Ä»',
+ 'Select from one of the items below' => 'ì¶ÏÂÁÐÏîÄ¿ÖÐÑ¡ÔñÒ»Ïî',
+ 'Select postscript or PDF!' => 'Ñ¡Ôñ postscript »ò PDF!',
+ 'Sell Price' => 'ÊÛ¼Û',
+ 'Sep' => '¾ÅÔÂ',
+ 'September' => '¾ÅÔÂ',
+ 'Service' => '·þÎñ',
+ 'Service Number missing!' => '©Ìî·þÎñ±àºÅ!',
+ 'Services' => '·þÎñ',
+ 'Ship' => 'º½ÔË',
+ 'Ship to' => 'ÏúÊÛ´ú±í',
+ 'Short' => '¶Ì',
+ 'Sold' => 'ÒÑÂô³ö',
+ 'Stock Assembly' => 'Å̵ã',
+ 'Subject' => '±êÌâ',
+ 'Subtotal' => 'С¼Æ',
+ 'Tax' => 'Ë°½ð',
+ 'To' => 'ÖÁ',
+ 'Top Level' => '×î¸ßµÈ¼¶',
+ 'Total' => '×ܼÆ',
+ 'Unit' => 'µ¥Î»',
+ 'Unit of measure' => '¶ÈÁ¿µ¥Î»',
+ 'Update' => '¸üÐÂ',
+ 'Updated' => 'ÒѸüÐÂ',
+ 'Weight' => 'ÖØÁ¿',
+ 'What type of item is this?' => '´ËÏîÄ¿µÄÐÍ̬?',
+ 'ea' => 'ea',
+ 'emailed to' => 'ÒѼÄÖÁ',
+ 'hr' => 'hr',
+ 'sent to printer' => 'ËÍÖÁÓ¡±í»ú',
+ 'to' => 'ÖÁ',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'assembly_row' => 'assembly_row',
+ 'check_form' => 'check_form',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'delete_assembly' => 'delete_assembly',
+ 'delete_item' => 'delete_item',
+ 'delete_part' => 'delete_part',
+ 'delete_service' => 'delete_service',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'link_part' => 'link_part',
+ 'list_assemblies' => 'list_assemblies',
+ 'makemodel_row' => 'makemodel_row',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'parts_subtotal' => 'parts_subtotal',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'restock_assemblies' => 'restock_assemblies',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'stock_assembly' => 'stock_assembly',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'ÐÂÔö' => 'add',
+ 'ÐÂÔöÉÌÆ·' => 'add_assembly',
+ 'ÐÂÔöÔ­ÁÏ' => 'add_part',
+ 'ÐÂÔö·þÎñ' => 'add_service',
+ '¼ÌÐø' => 'continue',
+ 'ɾ³ý' => 'delete',
+ '±à¼­ÉÌÆ·' => 'edit_assembly',
+ '±à¼­Ô­ÁÏ' => 'edit_part',
+ '±à¼­·þÎñ' => 'edit_service',
+ '´¢´æ' => 'save',
+ '¸üÐÂ' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/cn/io b/sql-ledger/locale/cn/io
new file mode 100644
index 0000000..fb68738
--- /dev/null
+++ b/sql-ledger/locale/cn/io
@@ -0,0 +1,106 @@
+$self{texts} = {
+ 'Add Purchase Order' => 'ÐÂÔö²É¹ºµ¥',
+ 'Add Sales Order' => 'ÐÂÔöÏú»õµ¥',
+ 'Address' => 'µØÖ·',
+ 'Apr' => 'ËÄÔÂ',
+ 'April' => 'ËÄÔÂ',
+ 'Attachment' => '¸½µµ',
+ 'Aug' => '°ËÔÂ',
+ 'August' => '°ËÔÂ',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Ïä',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Á¬ÂçÈË',
+ 'Continue' => '¼ÌÐø',
+ 'Copies' => '¿½±´',
+ 'Dec' => 'Ê®¶þÔÂ',
+ 'December' => 'Ê®¶þÔÂ',
+ 'Delivery Date' => 'µÝËÍÈÕÆÚ',
+ 'Description' => '˵Ã÷',
+ 'E-mail' => 'µç×ÓÓʼþ',
+ 'E-mail address missing!' => '©Ìîµç×ÓÓʼþλַ!',
+ 'Extended' => '¼ÆËãÁÐ',
+ 'Fax' => '´«Õæ',
+ 'Feb' => '¶þÔÂ',
+ 'February' => '¶þÔÂ',
+ 'In-line' => 'ÐÐÄÚ',
+ 'Invoice' => '·¢Æ±',
+ 'Invoice Date missing!' => '·¢Æ±ÈÕÆÚ´íÎó!',
+ 'Invoice Number missing!' => '·¢Æ±±àºÅ´íÎó!',
+ 'Item not on file!' => '²éÎÞ´ËÏîÄ¿',
+ 'Jan' => 'Ò»ÔÂ',
+ 'January' => 'Ò»ÔÂ',
+ 'Jul' => 'ÆßÔÂ',
+ 'July' => 'ÆßÔÂ',
+ 'Jun' => 'ÁùÔÂ',
+ 'June' => 'ÁùÔÂ',
+ 'Mar' => 'ÈýÔÂ',
+ 'March' => 'ÈýÔÂ',
+ 'May' => 'ÎåÔÂ',
+ 'May ' => 'ÎåÔÂ',
+ 'Message' => 'ѶϢ',
+ 'Name' => 'Ãû³Æ',
+ 'No.' => '񅧏',
+ 'Nov' => 'ʮһÔÂ',
+ 'November' => 'ʮһÔÂ',
+ 'Number' => '񅧏',
+ 'Number missing in Row' => 'δָÃ÷ºÅÂë',
+ 'Oct' => 'Ê®ÔÂ',
+ 'October' => 'Ê®ÔÂ',
+ 'Order' => '¶©µ¥',
+ 'Order Date missing!' => 'δָÃ÷ϵ¥?ÕÆ?!',
+ 'Order Number missing!' => 'δָÃ÷¶©µ¥±àºÅ!',
+ 'PDF' => 'PDF',
+ 'Packing List' => '³ö»õµ¥',
+ 'Packing List Date missing!' => 'δָÃ÷°ü×°Çåµ¥?ÕÆ?!',
+ 'Packing List Number missing!' => 'δָÃ÷°ü×°Çåµ¥±àºÅ!',
+ 'Part' => 'Ô­ÁÏ',
+ 'Phone' => 'µç»°ºÅÂë',
+ 'Postscript' => 'Postscript',
+ 'Price' => '¼Û¸ñ',
+ 'Printer' => 'Ó¡±í»ú',
+ 'Project' => '¹¤³Ì',
+ 'Purchase Order' => '²É¹ºµ¥',
+ 'Qty' => 'ÊýÁ¿',
+ 'Recd' => 'Recd',
+ 'Required by' => '×ÓÏîÄ¿',
+ 'Sales Order' => 'Ïú»õµ¥',
+ 'Screen' => 'Ó©Ä»',
+ 'Select from one of the items below' => 'ì¶ÏÂÁÐÏîÄ¿ÖÐÑ¡ÔñÒ»Ïî',
+ 'Select postscript or PDF!' => 'Ñ¡Ôñ postscript »ò PDF!',
+ 'Sep' => '¾ÅÔÂ',
+ 'September' => '¾ÅÔÂ',
+ 'Service' => '·þÎñ',
+ 'Ship' => 'º½ÔË',
+ 'Ship to' => 'ÏúÊÛ´ú±í',
+ 'Subject' => '±êÌâ',
+ 'To' => 'ÖÁ',
+ 'Unit' => 'µ¥Î»',
+ 'What type of item is this?' => '´ËÏîÄ¿µÄÐÍ̬?',
+ 'emailed to' => 'ÒѼÄÖÁ',
+ 'sent to printer' => 'ËÍÖÁÓ¡±í»ú',
+};
+
+$self{subs} = {
+ 'check_form' => 'check_form',
+ 'customer_details' => 'customer_details',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ '¼ÌÐø' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/cn/ir b/sql-ledger/locale/cn/ir
new file mode 100644
index 0000000..321d812
--- /dev/null
+++ b/sql-ledger/locale/cn/ir
@@ -0,0 +1,178 @@
+$self{texts} = {
+ 'Account' => '¿ÆÄ¿',
+ 'Add Purchase Invoice' => 'ÐÂÔö²É¹º·¢Æ±',
+ 'Add Purchase Order' => 'ÐÂÔö²É¹ºµ¥',
+ 'Add Sales Order' => 'ÐÂÔöÏú»õµ¥',
+ 'Address' => 'µØÖ·',
+ 'Amount' => '×ܼÆ',
+ 'Apr' => 'ËÄÔÂ',
+ 'April' => 'ËÄÔÂ',
+ 'Are you sure you want to delete Invoice Number' => 'ÄúÈ·¶¨ÒªÉ¾³ý·¢Æ±±àºÅ',
+ 'Attachment' => '¸½µµ',
+ 'Aug' => '°ËÔÂ',
+ 'August' => '°ËÔÂ',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Ïä',
+ 'Cannot delete invoice!' => 'ÎÞ·¨É¾³ý·¢Æ±!',
+ 'Cannot post invoice for a closed period!' => 'ÎÞ·¨ÔÚÒѹرյÄʱ¶ÎÄÚÈ·ÈÏ·¢Æ±?ë½»Ò!',
+ 'Cannot post invoice!' => 'ÎÞ·¨È·ÈÏ·¢Æ±!',
+ 'Cannot post payment for a closed period!' => 'ÎÞ·¨ÔÚÒѹرյÄʱ¶ÎÄÚ¼Ó?ë½»Ò?!',
+ 'Cc' => 'Cc',
+ 'Confirm!' => 'ÈëÕʳɹ¦!',
+ 'Contact' => 'Á¬ÂçÈË',
+ 'Continue' => '¼ÌÐø',
+ 'Copies' => '¿½±´',
+ 'Currency' => '±Ò±ð',
+ 'Customer not on file!' => '¿Í»§¼Ç¼ûÔÚµµ°¸!',
+ 'Date' => 'ÈÕÆÚ',
+ 'Date Due' => 'Ó¦¸¶ÈÕÆÚ',
+ 'Dec' => 'Ê®¶þÔÂ',
+ 'December' => 'Ê®¶þÔÂ',
+ 'Delete' => 'ɾ³ý',
+ 'Delivery Date' => 'µÝËÍÈÕÆÚ',
+ 'Description' => '˵Ã÷',
+ 'E-mail' => 'µç×ÓÓʼþ',
+ 'E-mail address missing!' => '©Ìîµç×ÓÓʼþλַ!',
+ 'Edit Purchase Invoice' => '±à¼­²É¹º·¢Æ±',
+ 'Exch' => '»ãÂÊ',
+ 'Exchangerate' => '»ãÂÊ',
+ 'Exchangerate for payment missing!' => 'δָÃ÷¸¶¿î»ãÂÊ!',
+ 'Exchangerate missing!' => 'δָÃ÷»ãÂÊ!',
+ 'Extended' => '¼ÆËãÁÐ',
+ 'Fax' => '´«Õæ',
+ 'Feb' => '¶þÔÂ',
+ 'February' => '¶þÔÂ',
+ 'In-line' => 'ÐÐÄÚ',
+ 'Invoice' => '·¢Æ±',
+ 'Invoice Date' => '·¢Æ±ÈÕÆÚ',
+ 'Invoice Date missing!' => '·¢Æ±ÈÕÆÚ´íÎó!',
+ 'Invoice Number' => '·¢Æ±±àºÅ',
+ 'Invoice Number missing!' => '·¢Æ±±àºÅ´íÎó!',
+ 'Invoice deleted!' => '·¢Æ±É¾³ý!',
+ 'Invoice posted!' => '·¢Æ±È·ÈÏ!',
+ 'Item not on file!' => '²éÎÞ´ËÏîÄ¿',
+ 'Jan' => 'Ò»ÔÂ',
+ 'January' => 'Ò»ÔÂ',
+ 'Jul' => 'ÆßÔÂ',
+ 'July' => 'ÆßÔÂ',
+ 'Jun' => 'ÁùÔÂ',
+ 'June' => 'ÁùÔÂ',
+ 'Mar' => 'ÈýÔÂ',
+ 'March' => 'ÈýÔÂ',
+ 'May' => 'ÎåÔÂ',
+ 'May ' => 'ÎåÔÂ',
+ 'Message' => 'ѶϢ',
+ 'Name' => 'Ãû³Æ',
+ 'No.' => '񅧏',
+ 'Notes' => '±¸×¢',
+ 'Nov' => 'ʮһÔÂ',
+ 'November' => 'ʮһÔÂ',
+ 'Number' => '񅧏',
+ 'Number missing in Row' => 'δָÃ÷ºÅÂë',
+ 'Oct' => 'Ê®ÔÂ',
+ 'October' => 'Ê®ÔÂ',
+ 'Order' => '¶©µ¥',
+ 'Order Date missing!' => 'δָÃ÷ϵ¥?ÕÆ?!',
+ 'Order Number' => '¶©µ¥±àºÅ',
+ 'Order Number missing!' => 'δָÃ÷¶©µ¥±àºÅ!',
+ 'PDF' => 'PDF',
+ 'Packing List' => '³ö»õµ¥',
+ 'Packing List Date missing!' => 'δָÃ÷°ü×°Çåµ¥?ÕÆ?!',
+ 'Packing List Number missing!' => 'δָÃ÷°ü×°Çåµ¥±àºÅ!',
+ 'Part' => 'Ô­ÁÏ',
+ 'Payment date missing!' => 'δָÃ÷¸¶¿î?ÕÆ?!',
+ 'Payments' => '¸¶¿î',
+ 'Phone' => 'µç»°ºÅÂë',
+ 'Post' => 'È·ÈÏ',
+ 'Post as new' => 'È·ÈϳÉΪÐÂÕÊÄ¿',
+ 'Postscript' => 'Postscript',
+ 'Price' => '¼Û¸ñ',
+ 'Printer' => 'Ó¡±í»ú',
+ 'Project' => '¹¤³Ì',
+ 'Project not on file!' => 'È·ÈϳÉΪÐÂÕÊÄ¿',
+ 'Purchase Order' => '²É¹ºµ¥',
+ 'Qty' => 'ÊýÁ¿',
+ 'Recd' => 'Recd',
+ 'Record in' => '¼Ç¼ì¶',
+ 'Required by' => '×ÓÏîÄ¿',
+ 'Sales Order' => 'Ïú»õµ¥',
+ 'Screen' => 'Ó©Ä»',
+ 'Select from one of the items below' => 'ì¶ÏÂÁÐÏîÄ¿ÖÐÑ¡ÔñÒ»Ïî',
+ 'Select from one of the names below' => 'ì¶ÏÂÁÐÃû×ÖÖÐÑ¡ÔñÒ»Ïî',
+ 'Select from one of the projects below' => 'ì¶ÏÂÁй¤³ÌÖÐÑ¡ÔñÒ»Ïî',
+ 'Select postscript or PDF!' => 'Ñ¡Ôñ postscript »ò PDF!',
+ 'Sep' => '¾ÅÔÂ',
+ 'September' => '¾ÅÔÂ',
+ 'Service' => '·þÎñ',
+ 'Ship' => 'º½ÔË',
+ 'Ship to' => 'ÏúÊÛ´ú±í',
+ 'Source' => 'À´Ô´',
+ 'Subject' => '±êÌâ',
+ 'Subtotal' => 'С¼Æ',
+ 'Tax Included' => '²»ÊÕ·þÎñ·Ñ',
+ 'To' => 'ÖÁ',
+ 'Total' => '×ܼÆ',
+ 'Unit' => 'µ¥Î»',
+ 'Update' => '¸üÐÂ',
+ 'Vendor' => '³§ÉÌ',
+ 'Vendor missing!' => 'δָÃ÷³§ÉÌ!',
+ 'Vendor not on file!' => '´Ë³§ÉÌδÔÚµµ°¸!',
+ 'What type of item is this?' => '´ËÏîÄ¿µÄÐÍ̬?',
+ 'Yes' => 'ÊÇ',
+ 'ea' => 'ea',
+ 'emailed to' => 'ÒѼÄÖÁ',
+ 'sent to printer' => 'ËÍÖÁÓ¡±í»ú',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ '¼ÌÐø' => 'continue',
+ 'ɾ³ý' => 'delete',
+ '¶©µ¥' => 'order',
+ 'È·ÈÏ' => 'post',
+ 'È·ÈϳÉΪÐÂÕÊÄ¿' => 'post_as_new',
+ '¸üÐÂ' => 'update',
+ 'ÊÇ' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/cn/is b/sql-ledger/locale/cn/is
new file mode 100644
index 0000000..d55c467
--- /dev/null
+++ b/sql-ledger/locale/cn/is
@@ -0,0 +1,185 @@
+$self{texts} = {
+ 'Account' => '¿ÆÄ¿',
+ 'Add Purchase Order' => 'ÐÂÔö²É¹ºµ¥',
+ 'Add Sales Invoice' => 'ÐÂÔöÏú»õ·¢Æ±',
+ 'Add Sales Order' => 'ÐÂÔöÏú»õµ¥',
+ 'Address' => 'µØÖ·',
+ 'Amount' => '×ܼÆ',
+ 'Apr' => 'ËÄÔÂ',
+ 'April' => 'ËÄÔÂ',
+ 'Are you sure you want to delete Invoice Number' => 'ÄúÈ·¶¨ÒªÉ¾³ý·¢Æ±±àºÅ',
+ 'Attachment' => '¸½µµ',
+ 'Aug' => '°ËÔÂ',
+ 'August' => '°ËÔÂ',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Ïä',
+ 'Cannot delete invoice!' => 'ÎÞ·¨É¾³ý·¢Æ±!',
+ 'Cannot post invoice for a closed period!' => 'ÎÞ·¨ÔÚÒѹرյÄʱ¶ÎÄÚÈ·ÈÏ·¢Æ±?ë½»Ò!',
+ 'Cannot post invoice!' => 'ÎÞ·¨È·ÈÏ·¢Æ±!',
+ 'Cannot post payment for a closed period!' => 'ÎÞ·¨ÔÚÒѹرյÄʱ¶ÎÄÚ¼Ó?ë½»Ò?!',
+ 'Cc' => 'Cc',
+ 'Confirm!' => 'ÈëÕʳɹ¦!',
+ 'Contact' => 'Á¬ÂçÈË',
+ 'Continue' => '¼ÌÐø',
+ 'Copies' => '¿½±´',
+ 'Credit Limit' => 'ÐÅÓöî¶È',
+ 'Currency' => '±Ò±ð',
+ 'Customer' => '¿Í»§',
+ 'Customer missing!' => 'δָÃ÷¿Í»§!',
+ 'Customer not on file!' => '¿Í»§¼Ç¼ûÔÚµµ°¸!',
+ 'Date' => 'ÈÕÆÚ',
+ 'Date Due' => 'Ó¦¸¶ÈÕÆÚ',
+ 'Dec' => 'Ê®¶þÔÂ',
+ 'December' => 'Ê®¶þÔÂ',
+ 'Delete' => 'ɾ³ý',
+ 'Delivery Date' => 'µÝËÍÈÕÆÚ',
+ 'Description' => '˵Ã÷',
+ 'E-mail' => 'µç×ÓÓʼþ',
+ 'E-mail address missing!' => '©Ìîµç×ÓÓʼþλַ!',
+ 'Edit Sales Invoice' => '±à¼­Ïú»õ·¢Æ±',
+ 'Exch' => '»ãÂÊ',
+ 'Exchangerate' => '»ãÂÊ',
+ 'Exchangerate for payment missing!' => 'δָÃ÷¸¶¿î»ãÂÊ!',
+ 'Exchangerate missing!' => 'δָÃ÷»ãÂÊ!',
+ 'Extended' => '¼ÆËãÁÐ',
+ 'Fax' => '´«Õæ',
+ 'Feb' => '¶þÔÂ',
+ 'February' => '¶þÔÂ',
+ 'In-line' => 'ÐÐÄÚ',
+ 'Invoice' => '·¢Æ±',
+ 'Invoice Date' => '·¢Æ±ÈÕÆÚ',
+ 'Invoice Date missing!' => '·¢Æ±ÈÕÆÚ´íÎó!',
+ 'Invoice Number' => '·¢Æ±±àºÅ',
+ 'Invoice Number missing!' => '·¢Æ±±àºÅ´íÎó!',
+ 'Invoice deleted!' => '·¢Æ±É¾³ý!',
+ 'Invoice posted!' => '·¢Æ±È·ÈÏ!',
+ 'Item not on file!' => '²éÎÞ´ËÏîÄ¿',
+ 'Jan' => 'Ò»ÔÂ',
+ 'January' => 'Ò»ÔÂ',
+ 'Jul' => 'ÆßÔÂ',
+ 'July' => 'ÆßÔÂ',
+ 'Jun' => 'ÁùÔÂ',
+ 'June' => 'ÁùÔÂ',
+ 'Mar' => 'ÈýÔÂ',
+ 'March' => 'ÈýÔÂ',
+ 'May' => 'ÎåÔÂ',
+ 'May ' => 'ÎåÔÂ',
+ 'Message' => 'ѶϢ',
+ 'Name' => 'Ãû³Æ',
+ 'No.' => '񅧏',
+ 'Notes' => '±¸×¢',
+ 'Nov' => 'ʮһÔÂ',
+ 'November' => 'ʮһÔÂ',
+ 'Number' => '񅧏',
+ 'Number missing in Row' => 'δָÃ÷ºÅÂë',
+ 'Oct' => 'Ê®ÔÂ',
+ 'October' => 'Ê®ÔÂ',
+ 'Order' => '¶©µ¥',
+ 'Order Date missing!' => 'δָÃ÷ϵ¥?ÕÆ?!',
+ 'Order Number' => '¶©µ¥±àºÅ',
+ 'Order Number missing!' => 'δָÃ÷¶©µ¥±àºÅ!',
+ 'PDF' => 'PDF',
+ 'Packing List' => '³ö»õµ¥',
+ 'Packing List Date missing!' => 'δָÃ÷°ü×°Çåµ¥?ÕÆ?!',
+ 'Packing List Number missing!' => 'δָÃ÷°ü×°Çåµ¥±àºÅ!',
+ 'Part' => 'Ô­ÁÏ',
+ 'Payment date missing!' => 'δָÃ÷¸¶¿î?ÕÆ?!',
+ 'Payments' => '¸¶¿î',
+ 'Phone' => 'µç»°ºÅÂë',
+ 'Post' => 'È·ÈÏ',
+ 'Post as new' => 'È·ÈϳÉΪÐÂÕÊÄ¿',
+ 'Postscript' => 'Postscript',
+ 'Price' => '¼Û¸ñ',
+ 'Print' => 'Ó¡Ë¢',
+ 'Printer' => 'Ó¡±í»ú',
+ 'Project' => '¹¤³Ì',
+ 'Project not on file!' => 'È·ÈϳÉΪÐÂÕÊÄ¿',
+ 'Purchase Order' => '²É¹ºµ¥',
+ 'Qty' => 'ÊýÁ¿',
+ 'Recd' => 'Recd',
+ 'Record in' => '¼Ç¼ì¶',
+ 'Remaining' => 'ÉÐâÅ',
+ 'Required by' => '×ÓÏîÄ¿',
+ 'Sales Order' => 'Ïú»õµ¥',
+ 'Screen' => 'Ó©Ä»',
+ 'Select from one of the items below' => 'ì¶ÏÂÁÐÏîÄ¿ÖÐÑ¡ÔñÒ»Ïî',
+ 'Select from one of the names below' => 'ì¶ÏÂÁÐÃû×ÖÖÐÑ¡ÔñÒ»Ïî',
+ 'Select from one of the projects below' => 'ì¶ÏÂÁй¤³ÌÖÐÑ¡ÔñÒ»Ïî',
+ 'Select postscript or PDF!' => 'Ñ¡Ôñ postscript »ò PDF!',
+ 'Sep' => '¾ÅÔÂ',
+ 'September' => '¾ÅÔÂ',
+ 'Service' => '·þÎñ',
+ 'Ship' => 'º½ÔË',
+ 'Ship to' => 'ÏúÊÛ´ú±í',
+ 'Ship via' => 'º½ÔË·½·¨',
+ 'Source' => 'À´Ô´',
+ 'Subject' => '±êÌâ',
+ 'Subtotal' => 'С¼Æ',
+ 'Tax Included' => '²»ÊÕ·þÎñ·Ñ',
+ 'To' => 'ÖÁ',
+ 'Total' => '×ܼÆ',
+ 'Unit' => 'µ¥Î»',
+ 'Update' => '¸üÐÂ',
+ 'Vendor not on file!' => '´Ë³§ÉÌδÔÚµµ°¸!',
+ 'What type of item is this?' => '´ËÏîÄ¿µÄÐÍ̬?',
+ 'Yes' => 'ÊÇ',
+ 'ea' => 'ea',
+ 'emailed to' => 'ÒѼÄÖÁ',
+ 'sent to printer' => 'ËÍÖÁÓ¡±í»ú',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ '¼ÌÐø' => 'continue',
+ 'ɾ³ý' => 'delete',
+ 'µç×ÓÓʼþ' => 'e_mail',
+ '¶©µ¥' => 'order',
+ 'È·ÈÏ' => 'post',
+ 'È·ÈϳÉΪÐÂÕÊÄ¿' => 'post_as_new',
+ 'Ó¡Ë¢' => 'print',
+ 'ÏúÊÛ´ú±í' => 'ship_to',
+ '¸üÐÂ' => 'update',
+ 'ÊÇ' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/cn/login b/sql-ledger/locale/cn/login
new file mode 100644
index 0000000..e22cfe3
--- /dev/null
+++ b/sql-ledger/locale/cn/login
@@ -0,0 +1,27 @@
+$self{texts} = {
+ 'About' => '¹Øì¶',
+ 'Database Host' => '×ÊÁÏ¿âÖ÷»ú',
+ 'Dataset' => '×ÊÁϼ¯',
+ 'Incorrect Dataset version!' => '×ÊÁϼ¯°æ±¾´íÎó!',
+ 'Incorrect Password!' => 'ÃÜÂë´íÎó!',
+ 'Licensed to' => 'ÊÚȨÓè',
+ 'Login' => 'µÇ??',
+ 'Name' => 'Ãû³Æ',
+ 'Password' => 'ÃÜÂë',
+ 'User' => 'ʹÓÃÕß',
+ 'Version' => '°æ±¾',
+ 'You are logged out!' => 'ÄãÒԵdzö!',
+ 'You did not enter a name!' => 'Äú²¢Î´¼ü?ëÃ?³Æ!',
+ 'is not a member!' => '²¢²»ÊdzÉÔ±!',
+ 'localhost' => 'localhost',
+};
+
+$self{subs} = {
+ 'company_logo' => 'company_logo',
+ 'login' => 'login',
+ 'login_screen' => 'login_screen',
+ 'logout' => 'logout',
+ 'µÇ??' => 'login',
+};
+
+1;
diff --git a/sql-ledger/locale/cn/menu b/sql-ledger/locale/cn/menu
new file mode 100644
index 0000000..c1d4657
--- /dev/null
+++ b/sql-ledger/locale/cn/menu
@@ -0,0 +1,71 @@
+$self{texts} = {
+ 'AP' => 'Ó¦¸¶ÕÊ¿î',
+ 'AP Aging' => 'Ó¦¸¶ÕÊÁä·ÖÎö',
+ 'AR' => 'Ó¦ÊÕÕÊ¿î',
+ 'AR Aging' => 'Ó¦ÊÕÕÊÁä·ÖÎö',
+ 'Accounting Menu' => '»á¼ÆÑ¡µ¥',
+ 'Add Account' => 'ÐÂÔö¿ÆÄ¿',
+ 'Add Assembly' => 'ÐÂÔöÉÌÆ·',
+ 'Add Customer' => 'ÐÂÔö¿Í»§',
+ 'Add GIFI' => 'ÐÂÔö GIFI',
+ 'Add Part' => 'ÐÂÔöÔ­ÁÏ',
+ 'Add Project' => 'ÐÂÔö¹¤³Ì',
+ 'Add Service' => 'ÐÂÔö·þÎñ',
+ 'Add Transaction' => 'ÐÂÔöÕÊÄ¿',
+ 'Add Vendor' => 'ÐÂÔö³§ÉÌ',
+ 'Assemblies' => 'ÉÌÆ·',
+ 'Audit Control' => '»üºË¿ØÖÆ',
+ 'Backup' => '±¸·Ý',
+ 'Balance Sheet' => '×ʲú¸ºÕ®±í',
+ 'Cash' => 'ÏÖ½ð',
+ 'Chart of Accounts' => '»á¼Æ¿ÆÄ¿±í',
+ 'Check' => '֧Ʊ',
+ 'Customers' => '¿Í»§',
+ 'General Ledger' => '×ÜÕÊ',
+ 'Goods & Services' => 'Goods & Services',
+ 'HTML Templates' => 'HTML ±íµ¥',
+ 'Income Statement' => 'ËðÒæ±í',
+ 'Invoice' => '·¢Æ±',
+ 'LaTeX Templates' => 'LaTex Ä£°æ',
+ 'List Accounts' => 'ÁгöÕʺÅ',
+ 'List GIFI' => 'Áгö GIFI',
+ 'Logout' => 'µÇ³ö',
+ 'Order Entry' => 'ϵ¥ÏîÄ¿',
+ 'Packing List' => '³ö»õµ¥',
+ 'Parts' => 'Ô­ÁÏ',
+ 'Payment' => '¸¶¿î·½Ê½',
+ 'Payments' => '¸¶¿î',
+ 'Preferences' => '¸öÈËÉ趨',
+ 'Projects' => '¹¤³Ì',
+ 'Purchase Invoice' => '²É¹º·¢Æ±',
+ 'Purchase Order' => '²É¹ºµ¥',
+ 'Purchase Orders' => '²É¹ºµ¥',
+ 'Receipt' => 'ÊÕ¾Ý',
+ 'Receipts' => 'ÊÕ¾Ý',
+ 'Reconciliation' => 'µ÷Í£',
+ 'Reports' => '±¨±í',
+ 'Sales Invoice' => 'Ïú»õ·¢Æ±',
+ 'Sales Order' => 'Ïú»õµ¥',
+ 'Sales Orders' => 'Ïú»õµ¥',
+ 'Save to File' => '´¢´æÖÁµµ°¸',
+ 'Send by E-Mail' => 'ÒÔµç×ÓÓʼþ¼ÄËÍ',
+ 'Services' => '·þÎñ',
+ 'Statement' => 'ÕÊÄ¿³ÂÊö',
+ 'Stock Assembly' => 'Å̵ã',
+ 'Stylesheet' => 'Ñùʽ±í',
+ 'System' => 'ϵͳ',
+ 'Tax collected' => 'ÊÕµ½µÄË°',
+ 'Tax paid' => 'Ö§¸¶µÄË°',
+ 'Transactions' => 'ÕÊÄ¿',
+ 'Trial Balance' => 'ÊÔËã±í',
+ 'Vendors' => '³§ÉÌ',
+ 'Version' => '°æ±¾',
+};
+
+$self{subs} = {
+ 'acc_menu' => 'acc_menu',
+ 'display' => 'display',
+ 'section_menu' => 'section_menu',
+};
+
+1;
diff --git a/sql-ledger/locale/cn/oe b/sql-ledger/locale/cn/oe
new file mode 100644
index 0000000..5054b9b
--- /dev/null
+++ b/sql-ledger/locale/cn/oe
@@ -0,0 +1,200 @@
+$self{texts} = {
+ 'Add' => 'ÐÂÔö',
+ 'Add Purchase Invoice' => 'ÐÂÔö²É¹º·¢Æ±',
+ 'Add Purchase Order' => 'ÐÂÔö²É¹ºµ¥',
+ 'Add Sales Invoice' => 'ÐÂÔöÏú»õ·¢Æ±',
+ 'Add Sales Order' => 'ÐÂÔöÏú»õµ¥',
+ 'Address' => 'µØÖ·',
+ 'Amount' => '×ܼÆ',
+ 'Apr' => 'ËÄÔÂ',
+ 'April' => 'ËÄÔÂ',
+ 'Are you sure you want to delete Order Number' => 'ÄúÊÇ·ñ?·¶¨ÒªÉ¾³?¶©µ¥',
+ 'Attachment' => '¸½µµ',
+ 'Aug' => '°ËÔÂ',
+ 'August' => '°ËÔÂ',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Ïä',
+ 'C' => 'C',
+ 'Cannot delete order!' => 'ÎÞ·¨É¾³ý¶©µ¥!',
+ 'Cannot save order!' => 'ÎÞ·¨´¢´æÇåµ¥!',
+ 'Cc' => 'Cc',
+ 'Closed' => 'ÒѹرÕ',
+ 'Confirm!' => 'ÈëÕʳɹ¦!',
+ 'Contact' => 'Á¬ÂçÈË',
+ 'Continue' => '¼ÌÐø',
+ 'Copies' => '¿½±´',
+ 'Credit Limit' => 'ÐÅÓöî¶È',
+ 'Curr' => 'Ä¿Ç°',
+ 'Currency' => '±Ò±ð',
+ 'Customer' => '¿Í»§',
+ 'Customer missing!' => 'δָÃ÷¿Í»§!',
+ 'Customer not on file!' => '¿Í»§¼Ç¼ûÔÚµµ°¸!',
+ 'Date' => 'ÈÕÆÚ',
+ 'Dec' => 'Ê®¶þÔÂ',
+ 'December' => 'Ê®¶þÔÂ',
+ 'Delete' => 'ɾ³ý',
+ 'Delivery Date' => 'µÝËÍÈÕÆÚ',
+ 'Description' => '˵Ã÷',
+ 'E-mail' => 'µç×ÓÓʼþ',
+ 'E-mail address missing!' => '©Ìîµç×ÓÓʼþλַ!',
+ 'Edit Purchase Order' => '±à¼­²É¹ºµ¥',
+ 'Edit Sales Order' => '±à¼­Ïú»õµ¥',
+ 'Exchangerate' => '»ãÂÊ',
+ 'Exchangerate missing!' => 'δָÃ÷»ãÂÊ!',
+ 'Extended' => '¼ÆËãÁÐ',
+ 'Fax' => '´«Õæ',
+ 'Feb' => '¶þÔÂ',
+ 'February' => '¶þÔÂ',
+ 'From' => '´Ó',
+ 'ID' => '񅧏',
+ 'In-line' => 'ÐÐÄÚ',
+ 'Include in Report' => 'Ò»²¢ÏÔʾ',
+ 'Invoice' => '·¢Æ±',
+ 'Invoice Date missing!' => '·¢Æ±ÈÕÆÚ´íÎó!',
+ 'Invoice Number missing!' => '·¢Æ±±àºÅ´íÎó!',
+ 'Item not on file!' => '²éÎÞ´ËÏîÄ¿',
+ 'Jan' => 'Ò»ÔÂ',
+ 'January' => 'Ò»ÔÂ',
+ 'Jul' => 'ÆßÔÂ',
+ 'July' => 'ÆßÔÂ',
+ 'Jun' => 'ÁùÔÂ',
+ 'June' => 'ÁùÔÂ',
+ 'Mar' => 'ÈýÔÂ',
+ 'March' => 'ÈýÔÂ',
+ 'May' => 'ÎåÔÂ',
+ 'May ' => 'ÎåÔÂ',
+ 'Message' => 'ѶϢ',
+ 'Name' => 'Ãû³Æ',
+ 'No.' => '񅧏',
+ 'Notes' => '±¸×¢',
+ 'Nov' => 'ʮһÔÂ',
+ 'November' => 'ʮһÔÂ',
+ 'Number' => '񅧏',
+ 'Number missing in Row' => 'δָÃ÷ºÅÂë',
+ 'O' => 'O',
+ 'Oct' => 'Ê®ÔÂ',
+ 'October' => 'Ê®ÔÂ',
+ 'Open' => '¿ªÆô',
+ 'Order' => '¶©µ¥',
+ 'Order Date' => '쵴?ͮ?',
+ 'Order Date missing!' => 'δָÃ÷ϵ¥?ÕÆ?!',
+ 'Order Number' => '¶©µ¥±àºÅ',
+ 'Order Number missing!' => 'δָÃ÷¶©µ¥±àºÅ!',
+ 'Order deleted!' => 'ɾ³ý¶©µ¥!',
+ 'Order saved!' => '´¢´æ¶©µ¥!',
+ 'PDF' => 'PDF',
+ 'Packing List' => '³ö»õµ¥',
+ 'Packing List Date missing!' => 'δָÃ÷°ü×°Çåµ¥?ÕÆ?!',
+ 'Packing List Number missing!' => 'δָÃ÷°ü×°Çåµ¥±àºÅ!',
+ 'Part' => 'Ô­ÁÏ',
+ 'Phone' => 'µç»°ºÅÂë',
+ 'Postscript' => 'Postscript',
+ 'Price' => '¼Û¸ñ',
+ 'Print' => 'Ó¡Ë¢',
+ 'Printer' => 'Ó¡±í»ú',
+ 'Project' => '¹¤³Ì',
+ 'Project not on file!' => 'È·ÈϳÉΪÐÂÕÊÄ¿',
+ 'Purchase Order' => '²É¹ºµ¥',
+ 'Purchase Orders' => '²É¹ºµ¥',
+ 'Qty' => 'ÊýÁ¿',
+ 'Recd' => 'Recd',
+ 'Remaining' => 'ÉÐâÅ',
+ 'Required by' => '×ÓÏîÄ¿',
+ 'Sales Order' => 'Ïú»õµ¥',
+ 'Sales Orders' => 'Ïú»õµ¥',
+ 'Save' => '´¢´æ',
+ 'Save as new' => '´¢´æ',
+ 'Screen' => 'Ó©Ä»',
+ 'Select from one of the items below' => 'ì¶ÏÂÁÐÏîÄ¿ÖÐÑ¡ÔñÒ»Ïî',
+ 'Select from one of the names below' => 'ì¶ÏÂÁÐÃû×ÖÖÐÑ¡ÔñÒ»Ïî',
+ 'Select from one of the projects below' => 'ì¶ÏÂÁй¤³ÌÖÐÑ¡ÔñÒ»Ïî',
+ 'Select postscript or PDF!' => 'Ñ¡Ôñ postscript »ò PDF!',
+ 'Sep' => '¾ÅÔÂ',
+ 'September' => '¾ÅÔÂ',
+ 'Service' => '·þÎñ',
+ 'Ship' => 'º½ÔË',
+ 'Ship to' => 'ÏúÊÛ´ú±í',
+ 'Ship via' => 'º½ÔË·½·¨',
+ 'Subject' => '±êÌâ',
+ 'Subtotal' => 'С¼Æ',
+ 'Tax' => 'Ë°½ð',
+ 'Tax Included' => '²»ÊÕ·þÎñ·Ñ',
+ 'Terms: Net' => 'ƱÆÚ¾»¼Æ',
+ 'To' => 'ÖÁ',
+ 'Total' => '×ܼÆ',
+ 'Unit' => 'µ¥Î»',
+ 'Update' => '¸üÐÂ',
+ 'Vendor' => '³§ÉÌ',
+ 'Vendor missing!' => 'δָÃ÷³§ÉÌ!',
+ 'Vendor not on file!' => '´Ë³§ÉÌδÔÚµµ°¸!',
+ 'What type of item is this?' => '´ËÏîÄ¿µÄÐÍ̬?',
+ 'Yes' => 'ÊÇ',
+ 'days' => 'ÈÕ',
+ 'ea' => 'ea',
+ 'emailed to' => 'ÒѼÄÖÁ',
+ 'sent to printer' => 'ËÍÖÁÓ¡±í»ú',
+ 'to' => 'ÖÁ',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_backorder' => 'create_backorder',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice' => 'invoice',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'order_links' => 'order_links',
+ 'orders' => 'orders',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_order' => 'prepare_order',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'save' => 'save',
+ 'save_as_new' => 'save_as_new',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'subtotal' => 'subtotal',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'ÐÂÔö' => 'add',
+ '¼ÌÐø' => 'continue',
+ 'ɾ³ý' => 'delete',
+ 'µç×ÓÓʼþ' => 'e_mail',
+ '·¢Æ±' => 'invoice',
+ 'Ó¡Ë¢' => 'print',
+ '´¢´æ' => 'save',
+ '´¢´æ' => 'save_as_new',
+ 'ÏúÊÛ´ú±í' => 'ship_to',
+ '¸üÐÂ' => 'update',
+ 'ÊÇ' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/cn/pe b/sql-ledger/locale/cn/pe
new file mode 100644
index 0000000..35372d3
--- /dev/null
+++ b/sql-ledger/locale/cn/pe
@@ -0,0 +1,35 @@
+$self{texts} = {
+ 'Add' => 'ÐÂÔö',
+ 'Add Project' => 'ÐÂÔö¹¤³Ì',
+ 'All' => 'È«²¿',
+ 'Continue' => '¼ÌÐø',
+ 'Delete' => 'ɾ³ý',
+ 'Description' => '˵Ã÷',
+ 'Edit Project' => '¸ü¸Ä¹¤³Ì',
+ 'Number' => '񅧏',
+ 'Orphaned' => 'ÎÞÖ÷',
+ 'Project' => '¹¤³Ì',
+ 'Project Number missing!' => 'δָÃ÷¹¤³ÌºÅÂë!',
+ 'Project deleted!' => '¹¤³ÌÒÔ±»É¾³ý!',
+ 'Project saved!' => '¹¤³ÌÒÔ±»´¢´æ!',
+ 'Projects' => '¹¤³Ì',
+ 'Save' => '´¢´æ',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'ÐÂÔö' => 'add',
+ '¼ÌÐø' => 'continue',
+ 'ɾ³ý' => 'delete',
+ '´¢´æ' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/cn/rc b/sql-ledger/locale/cn/rc
new file mode 100644
index 0000000..31f35f2
--- /dev/null
+++ b/sql-ledger/locale/cn/rc
@@ -0,0 +1,37 @@
+$self{texts} = {
+ 'Account' => '¿ÆÄ¿',
+ 'Balance' => '²î¶î',
+ 'Cleared Balance' => 'Ö§¸¶²î¶î×ÜÊý',
+ 'Continue' => '¼ÌÐø',
+ 'Date' => 'ÈÕÆÚ',
+ 'Deposit' => '´¢´æ',
+ 'Description' => '˵Ã÷',
+ 'Difference' => '²îÒì',
+ 'Done' => 'Íê³É',
+ 'Exchangerate Difference' => '»ãÂʲîÒì',
+ 'From' => '´Ó',
+ 'Out of balance!' => '³öÓÚ²î¶î!',
+ 'Payment' => '¸¶¿î·½Ê½',
+ 'Reconciliation' => 'µ÷Í£',
+ 'Select all' => 'Ñ¡ÔñÈ«²¿',
+ 'Source' => 'À´Ô´',
+ 'Statement Balance' => 'ÕÊÄ¿³ÂÊö²î¶î',
+ 'Update' => '¸üÐÂ',
+ 'to' => 'ÖÁ',
+};
+
+$self{subs} = {
+ 'continue' => 'continue',
+ 'display_form' => 'display_form',
+ 'done' => 'done',
+ 'get_payments' => 'get_payments',
+ 'reconciliation' => 'reconciliation',
+ 'select_all' => 'select_all',
+ 'update' => 'update',
+ '¼ÌÐø' => 'continue',
+ 'Íê³É' => 'done',
+ 'Ñ¡ÔñÈ«²¿' => 'select_all',
+ '¸üÐÂ' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/cn/rp b/sql-ledger/locale/cn/rp
new file mode 100644
index 0000000..6d80cf8
--- /dev/null
+++ b/sql-ledger/locale/cn/rp
@@ -0,0 +1,120 @@
+$self{texts} = {
+ 'AP Aging' => 'Ó¦¸¶ÕÊÁä·ÖÎö',
+ 'AR Aging' => 'Ó¦ÊÕÕÊÁä·ÖÎö',
+ 'Account' => '¿ÆÄ¿',
+ 'Accounts' => 'ÕÊ»§',
+ 'Amount' => '×ܼÆ',
+ 'Apr' => 'ËÄÔÂ',
+ 'April' => 'ËÄÔÂ',
+ 'Attachment' => '¸½µµ',
+ 'Aug' => '°ËÔÂ',
+ 'August' => '°ËÔÂ',
+ 'Balance' => '²î¶î',
+ 'Balance Sheet' => '×ʲú¸ºÕ®±í',
+ 'Bcc' => 'Bcc',
+ 'Cash based' => 'ÏÖ½ð½»Ò×',
+ 'Cc' => 'Cc',
+ 'Compare to' => '¶ÔÕÕ',
+ 'Continue' => '¼ÌÐø',
+ 'Copies' => '¿½±´',
+ 'Credit' => '´û·½',
+ 'Current' => 'ÏÖÔÚ',
+ 'Customer' => '¿Í»§',
+ 'Date' => 'ÈÕÆÚ',
+ 'Debit' => '½è·½',
+ 'Dec' => 'Ê®¶þÔÂ',
+ 'December' => 'Ê®¶þÔÂ',
+ 'Decimalplaces' => 'СÊýµÄÊýÄ¿',
+ 'Department' => 'Department',
+ 'Description' => '˵Ã÷',
+ 'Due' => 'µ½ÆÚ',
+ 'E-mail' => 'µç×ÓÓʼþ',
+ 'E-mail Statement to' => 'µç×ÓÓʼþÕÊÄ¿³ÂÊöµ½',
+ 'Feb' => '¶þÔÂ',
+ 'February' => '¶þÔÂ',
+ 'From' => '´Ó',
+ 'GIFI' => 'GIFI',
+ 'Heading' => '±íÍ·',
+ 'ID' => '񅧏',
+ 'In-line' => 'ÐÐÄÚ',
+ 'Include in Report' => 'Ò»²¢ÏÔʾ',
+ 'Income Statement' => 'ËðÒæ±í',
+ 'Invoice' => '·¢Æ±',
+ 'Jan' => 'Ò»ÔÂ',
+ 'January' => 'Ò»ÔÂ',
+ 'Jul' => 'ÆßÔÂ',
+ 'July' => 'ÆßÔÂ',
+ 'Jun' => 'ÁùÔÂ',
+ 'June' => 'ÁùÔÂ',
+ 'Mar' => 'ÈýÔÂ',
+ 'March' => 'ÈýÔÂ',
+ 'May' => 'ÎåÔÂ',
+ 'May ' => 'ÎåÔÂ',
+ 'Message' => 'ѶϢ',
+ 'N/A' => '²»ÊÊÓÃ',
+ 'Nothing selected!' => 'δѡ¶¨×Ê!',
+ 'Nov' => 'ʮһÔÂ',
+ 'November' => 'ʮһÔÂ',
+ 'Oct' => 'Ê®ÔÂ',
+ 'October' => 'Ê®ÔÂ',
+ 'PDF' => 'PDF',
+ 'Payments' => '¸¶¿î',
+ 'Postscript' => 'Postscript',
+ 'Print' => 'Ó¡Ë¢',
+ 'Printer' => 'Ó¡±í»ú',
+ 'Project Number' => 'Project Number',
+ 'Receipts' => 'ÊÕ¾Ý',
+ 'Report for' => '±¨±íÀ´Ô´',
+ 'Retained Earnings' => '±£ÁôÓ¯âÅ',
+ 'Screen' => 'Ó©Ä»',
+ 'Select all' => 'Ñ¡ÔñÈ«²¿',
+ 'Select postscript or PDF!' => 'Ñ¡Ôñ postscript »ò PDF!',
+ 'Sep' => '¾ÅÔÂ',
+ 'September' => '¾ÅÔÂ',
+ 'Source' => 'À´Ô´',
+ 'Standard' => '±ê×¼',
+ 'Statement' => 'ÕÊÄ¿³ÂÊö',
+ 'Statement sent to' => 'ÕÊÄ¿³ÂÊöË͵½',
+ 'Statements sent to printer!' => 'ÕÊÄ¿³ÂÊöË͵½Ó¡±í»ú!',
+ 'Subject' => '±êÌâ',
+ 'Subtotal' => 'С¼Æ',
+ 'Tax' => 'Ë°½ð',
+ 'Tax collected' => 'ÊÕµ½µÄË°',
+ 'Tax paid' => 'Ö§¸¶µÄË°',
+ 'Total' => '×ܼÆ',
+ 'Trial Balance' => 'ÊÔËã±í',
+ 'Vendor' => '³§ÉÌ',
+ 'as at' => '¸ù¾Ý',
+ 'collected on sales' => 'ÔÚÏú»õʱ½áÇå',
+ 'for Period' => 'ÆÚ¼ä',
+ 'paid on purchases' => 'ÔڲɹºÊ±½áÇå',
+ 'to' => 'ÖÁ',
+};
+
+$self{subs} = {
+ 'aging' => 'aging',
+ 'continue' => 'continue',
+ 'e_mail' => 'e_mail',
+ 'generate_ap_aging' => 'generate_ap_aging',
+ 'generate_ar_aging' => 'generate_ar_aging',
+ 'generate_balance_sheet' => 'generate_balance_sheet',
+ 'generate_income_statement' => 'generate_income_statement',
+ 'generate_tax_report' => 'generate_tax_report',
+ 'generate_trial_balance' => 'generate_trial_balance',
+ 'list_accounts' => 'list_accounts',
+ 'list_payments' => 'list_payments',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'report' => 'report',
+ 'select_all' => 'select_all',
+ 'send_email' => 'send_email',
+ 'statement_details' => 'statement_details',
+ 'tax_subtotal' => 'tax_subtotal',
+ '¼ÌÐø' => 'continue',
+ 'µç×ÓÓʼþ' => 'e_mail',
+ 'Ó¡Ë¢' => 'print',
+ 'Ñ¡ÔñÈ«²¿' => 'select_all',
+};
+
+1;
diff --git a/sql-ledger/locale/ct/COPYING b/sql-ledger/locale/ct/COPYING
new file mode 100644
index 0000000..fbb7b61
--- /dev/null
+++ b/sql-ledger/locale/ct/COPYING
@@ -0,0 +1,21 @@
+######################################################################
+# SQL-Ledger Accounting
+# Copyright (C) 2002
+#
+# Catalan Translation:
+#
+# Author: Jaume Teixi <teixi@rocacorbit.com>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+######################################################################
diff --git a/sql-ledger/locale/ct/LANGUAGE b/sql-ledger/locale/ct/LANGUAGE
new file mode 100644
index 0000000..f37af43
--- /dev/null
+++ b/sql-ledger/locale/ct/LANGUAGE
@@ -0,0 +1 @@
+Catalan
diff --git a/sql-ledger/locale/ct/admin b/sql-ledger/locale/ct/admin
new file mode 100644
index 0000000..a394d28
--- /dev/null
+++ b/sql-ledger/locale/ct/admin
@@ -0,0 +1,122 @@
+$self{texts} = {
+ 'Access Control' => 'Control d\'Accés',
+ 'Accounting' => 'Comptabilitat',
+ 'Add User' => 'Afegir Usuari',
+ 'Address' => 'Adreça',
+ 'Administration' => 'Administració',
+ 'Administrator' => 'Administrator',
+ 'All Datasets up to date!' => 'Totes les Base de Dades Actualitzades!',
+ 'Change Admin Password' => 'Canviar la contrasenya de l\'administrador',
+ 'Change Password' => 'Canviar contrasenya',
+ 'Character Set' => 'Canviar Tipus Caràcters',
+ 'Click on login name to edit!' => 'Clicar en el nom d\'accés per editar',
+ 'Company' => 'Empresa',
+ 'Connect to' => 'Connectar a',
+ 'Continue' => 'Continuar',
+ 'Create Chart of Accounts' => 'Crear la Taula de Comptes',
+ 'Create Dataset' => 'Crear el Conjunt de Dades',
+ 'DBI not installed!' => 'DBI no instal.lat',
+ 'Database' => 'Base de Dades',
+ 'Database Administration' => 'Administrar Base de Dades',
+ 'Database Driver not checked!' => 'Mòdul de la Base de Dades no comprovat!',
+ 'Database User missing!' => 'Falta el usuari de la Base de Dades!',
+ 'Dataset' => 'Conjunt de Dades',
+ 'Dataset missing!' => 'Falta el Conjunt de Dades',
+ 'Dataset updated!' => 'Dataset updated!',
+ 'Date Format' => 'Format Data',
+ 'Delete' => 'Esborrar',
+ 'Delete Dataset' => 'Esborrar Conjunt de Dades',
+ 'Directory' => 'Directori',
+ 'Driver' => 'Mòdul',
+ 'Dropdown Limit' => 'Dropdown Limit',
+ 'E-mail' => 'Email',
+ 'Edit User' => 'Editar Usuari',
+ 'Existing Datasets' => 'Conjunt de Dades Existents',
+ 'Fax' => 'Fax',
+ 'Host' => 'Servidor',
+ 'Hostname missing!' => 'Falta el Nom del Servidor!',
+ 'Incorrect Password!' => 'Contrasenya no Vàlida!',
+ 'Language' => 'Idioma',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Deixar en blanc el servidor i el port excepte per fer una connexió remota',
+ 'Login' => 'Entrar',
+ 'Name' => 'Nom',
+ 'New Templates' => 'Noves Plantilles',
+ 'No Database Drivers available!' => 'Cap Mòdul de Base de Dades disponible!',
+ 'No Dataset selected!' => 'No hi ha cap Conjunt de Dades seleccionat!',
+ 'Nothing to delete!' => 'No hi ha res per esborrar!',
+ 'Number Format' => 'Format Número',
+ 'Oracle Database Administration' => 'Administració Base de Dades Oracle',
+ 'Password' => 'Contrasenya',
+ 'Password changed!' => 'Password changed!',
+ 'Pg Database Administration' => 'Administració Base de Dades PostgreSQL',
+ 'Phone' => 'Tel',
+ 'Port' => 'Port',
+ 'Port missing!' => 'Falta Port!',
+ 'Printer' => 'Impressora',
+ 'Save' => 'Guardar',
+ 'Select a Dataset to delete and press "Continue"' => 'Seleccionar Conjunt de Dades a esborrar i prèmer "Continuar"',
+ 'Setup Templates' => 'Configurar Plantilles',
+ 'Ship via' => 'Ship via',
+ 'Signature' => 'Signatura',
+ 'Stylesheet' => 'Fulla Estils',
+ 'Templates' => 'Plantilles',
+ 'The following Datasets are not in use and can be deleted' => 'Els següents conjunt de dades no s\'usen i poden esborrar-se',
+ 'The following Datasets need to be updated' => 'Cal actualitzar els següents conjunt de dades',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'Comprovació preliminar de les fonts existents. No es crearà ni s\'esborrra res en aquest punt!',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'Per afegir un usuari a un grup, editar el nom, canviar el nom d\'accés i guardar. Un nou usuari amb les mateixes variables es guardarà amb el nou nom d\«accés',
+ 'Update Dataset' => 'Actualitzar Conjut de Dades',
+ 'Use Templates' => 'Emprar Plantilles',
+ 'User' => 'Usuari',
+ 'User deleted!' => 'User deleted!',
+ 'User saved!' => 'User saved!',
+ 'Version' => 'Versió',
+ 'You must enter a host and port for local and remote connections!' => 'Heu d\'entrar el servidor i el port per les connexions locals i remotes!',
+ 'does not exist' => 'no existeix',
+ 'is already a member!' => 'ja és membre!',
+ 'localhost' => 'màquina local',
+ 'successfully created!' => 'creat correctament!',
+ 'successfully deleted!' => 'esborrat correctament!',
+ 'website' => 'web',
+};
+
+$self{subs} = {
+ 'add_user' => 'add_user',
+ 'adminlogin' => 'adminlogin',
+ 'change_admin_password' => 'change_admin_password',
+ 'change_password' => 'change_password',
+ 'check_password' => 'check_password',
+ 'continue' => 'continue',
+ 'create_dataset' => 'create_dataset',
+ 'dbcreate' => 'dbcreate',
+ 'dbdelete' => 'dbdelete',
+ 'dbdriver_defaults' => 'dbdriver_defaults',
+ 'dbselect_source' => 'dbselect_source',
+ 'dbupdate' => 'dbupdate',
+ 'delete' => 'delete',
+ 'delete_dataset' => 'delete_dataset',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'get_value' => 'get_value',
+ 'list_users' => 'list_users',
+ 'login' => 'login',
+ 'login_name' => 'login_name',
+ 'oracle_database_administration' => 'oracle_database_administration',
+ 'pg_database_administration' => 'pg_database_administration',
+ 'save' => 'save',
+ 'update_dataset' => 'update_dataset',
+ 'afegir_usuari' => 'add_user',
+ 'canviar_la_contrasenya_de_l\'administrador' => 'change_admin_password',
+ 'canviar_contrasenya' => 'change_password',
+ 'continuar' => 'continue',
+ 'crear_el_conjunt_de_dades' => 'create_dataset',
+ 'esborrar' => 'delete',
+ 'esborrar_conjunt_de_dades' => 'delete_dataset',
+ 'entrar' => 'login',
+ 'administració_base_de_dades_oracle' => 'oracle_database_administration',
+ 'administració_base_de_dades_postgresql' => 'pg_database_administration',
+ 'guardar' => 'save',
+ 'actualitzar_conjut_de_dades' => 'update_dataset',
+};
+
+1;
diff --git a/sql-ledger/locale/ct/all b/sql-ledger/locale/ct/all
new file mode 100644
index 0000000..c2c9327
--- /dev/null
+++ b/sql-ledger/locale/ct/all
@@ -0,0 +1,487 @@
+# These are all the texts to build the translations files.
+# The file has the form of 'english text' => 'foreign text',
+# you can add the translation in this file or in the 'missing' file
+# run locales.pl from this directory to rebuild the translation files
+
+$self{texts} = {
+ 'AP' => 'Despeses',
+ 'AP Aging' => 'Diari de Despeses',
+ 'AP Transaction' => '',
+ 'AP Transactions' => 'Transaccions de Despeses',
+ 'AR' => 'Ingressos',
+ 'AR Aging' => 'Diari d\'Ingressos',
+ 'AR Transaction' => '',
+ 'AR Transactions' => 'Transaccions d\'Ingressos',
+ 'About' => 'Referent',
+ 'Access Control' => 'Control d\'Accés',
+ 'Account' => 'Compta',
+ 'Account Number' => 'Num. Compta',
+ 'Account Number missing!' => 'Falta el Num. Compta!',
+ 'Account Type' => 'Tipus de Compta',
+ 'Account Type missing!' => 'Falta el Tipus de Compta!',
+ 'Account deleted!' => '',
+ 'Account saved!' => '',
+ 'Accounting' => 'Comptabilitat',
+ 'Accounting Menu' => 'Menú Comptable',
+ 'Accounts' => '',
+ 'Active' => '',
+ 'Add' => 'Afegir',
+ 'Add Account' => 'Afegir Compta',
+ 'Add Accounts Payables Transaction' => '',
+ 'Add Accounts Receivables Transaction' => '',
+ 'Add Assembly' => 'Afegir Compost',
+ 'Add Customer' => 'Afegir Client',
+ 'Add GIFI' => '',
+ 'Add General Ledger Transaction' => 'Afegir Transacció Llibre Major',
+ 'Add Part' => 'Afegir Article',
+ 'Add Project' => '',
+ 'Add Purchase Invoice' => '',
+ 'Add Purchase Order' => 'Afegir Ordre Compra',
+ 'Add Sales Invoice' => '',
+ 'Add Sales Order' => 'Afegir Pressupost',
+ 'Add Service' => 'Afegir Servei',
+ 'Add Transaction' => 'Afegir Transacció',
+ 'Add User' => 'Afegir Usuari',
+ 'Add Vendor' => 'Afegir Proveïdor',
+ 'Address' => 'Adreça',
+ 'Administration' => 'Administració',
+ 'Administrator' => '',
+ 'All' => 'Tots',
+ 'All Datasets up to date!' => 'Totes les Base de Dades Actualitzades!',
+ 'Amount' => 'Total',
+ 'Amount Due' => '',
+ 'Amount does not equal applied!' => '',
+ 'Amount missing!' => '',
+ 'Applied' => '',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Are you sure you want to delete Invoice Number' => 'Segur que voleu esborrar la Fra. Num.',
+ 'Are you sure you want to delete Order Number' => 'Segur que voleu esborrar l\'Ordre',
+ 'Are you sure you want to delete Transaction' => 'Segur que voleu esborrar la Transacció',
+ 'Assemblies' => 'Compostos',
+ 'Assemblies restocked!' => '',
+ 'Assembly Number missing!' => 'Falta el Num. del Compost',
+ 'Asset' => 'Activat',
+ 'Attachment' => 'Adjunt',
+ 'Audit Control' => 'Control Auditoria',
+ 'Aug' => 'Ago',
+ 'August' => 'Agost',
+ 'BOM' => '',
+ 'Backup' => 'Còpia de Seguretat',
+ 'Backup sent to' => 'Còpia de Seguretat enviada a',
+ 'Balance' => '',
+ 'Balance Sheet' => 'Fulla de Balanç',
+ 'Bcc' => '',
+ 'Bin' => 'Bin',
+ 'Books are open' => 'Els Llibres estan Oberts',
+ 'Bought' => 'Comprat',
+ 'Business Number' => 'Núm. Negoci',
+ 'C' => '',
+ 'COGS' => 'Cost de Preu',
+ 'Cannot delete account!' => '',
+ 'Cannot delete customer!' => '',
+ 'Cannot delete default account!' => 'No es pot esborrar la compta per defecte!',
+ 'Cannot delete invoice!' => '',
+ 'Cannot delete item already invoiced!' => 'No es pot esborrar un element facturat!',
+ 'Cannot delete item on order!' => 'No es pot esborrar un element pressupostat!',
+ 'Cannot delete item which is part of an assembly!' => 'No es pot eliminar un element que és part d\'un compost',
+ 'Cannot delete item!' => '',
+ 'Cannot delete order!' => '',
+ 'Cannot delete transaction!' => '',
+ 'Cannot delete vendor!' => '',
+ 'Cannot have a value in both Debit and Credit!' => 'No es pot tenir un valor simultàniament a Dèbit i a Crèdit',
+ 'Cannot post a transaction without a value!' => '',
+ 'Cannot post invoice for a closed period!' => '',
+ 'Cannot post invoice!' => '',
+ 'Cannot post payment for a closed period!' => '',
+ 'Cannot post payment!' => '',
+ 'Cannot post transaction for a closed period!' => 'No es pot registrar una transacció per un període tancat',
+ 'Cannot post transaction!' => '',
+ 'Cannot process payment for a closed period!' => '',
+ 'Cannot save account!' => '',
+ 'Cannot save order!' => '',
+ 'Cannot save preferences!' => '',
+ 'Cannot stock assemblies!' => '',
+ 'Cash' => '',
+ 'Cash based' => '',
+ 'Cc' => '',
+ 'Change Admin Password' => 'Canviar la contrasenya de l\'administrador',
+ 'Change Password' => 'Canviar contrasenya',
+ 'Character Set' => 'Canviar Tipus Caràcters',
+ 'Chart of Accounts' => 'Taula de Comptes',
+ 'Check' => '',
+ 'Check printed!' => '',
+ 'Check printing failed!' => '',
+ 'Cleared Balance' => '',
+ 'Click on login name to edit!' => 'Clicar en el nom d\'accés per editar',
+ 'Close Books up to' => 'Tancar els llibres fins',
+ 'Closed' => 'Tancat',
+ 'Company' => 'Empresa',
+ 'Compare to' => 'Comparar amb',
+ 'Confirm!' => 'Confirmar!',
+ 'Connect to' => 'Connectar a',
+ 'Contact' => 'Contacte',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Còpies',
+ 'Copy to COA' => '',
+ 'Create Chart of Accounts' => 'Crear la Taula de Comptes',
+ 'Create Dataset' => 'Crear el Conjunt de Dades',
+ 'Credit' => 'Crèdit',
+ 'Credit Limit' => 'Límit de Crèdit',
+ 'Curr' => '',
+ 'Currency' => 'Moneda',
+ 'Current' => '',
+ 'Customer' => 'Client',
+ 'Customer deleted!' => '',
+ 'Customer missing!' => '',
+ 'Customer not on file!' => '',
+ 'Customer saved!' => '',
+ 'Customers' => '',
+ 'DBI not installed!' => 'DBI no instal.lat',
+ 'Database' => 'Base de Dades',
+ 'Database Administration' => 'Administrar Base de Dades',
+ 'Database Driver not checked!' => 'Mòdul de la Base de Dades no comprovat!',
+ 'Database Host' => 'Servidor Base de Dades',
+ 'Database User missing!' => 'Falta el usuari de la Base de Dades!',
+ 'Dataset' => 'Conjunt de Dades',
+ 'Dataset missing!' => 'Falta el Conjunt de Dades',
+ 'Dataset updated!' => '',
+ 'Date' => 'Data',
+ 'Date Due' => 'Data Venciment',
+ 'Date Format' => 'Format Data',
+ 'Date Paid' => 'Data Pagament',
+ 'Date missing!' => '',
+ 'Debit' => 'Dèbit',
+ 'Debit and credit out of balance!' => 'Dèbit i Crèdit fora de balanç!',
+ 'Dec' => 'Des',
+ 'December' => 'Desembre',
+ 'Decimalplaces' => '',
+ 'Delete' => 'Esborrar',
+ 'Delete Account' => 'Esborrar Compta',
+ 'Delete Dataset' => 'Esborrar Conjunt de Dades',
+ 'Delivery Date' => '',
+ 'Deposit' => '',
+ 'Description' => 'Descripció',
+ 'Difference' => '',
+ 'Directory' => 'Directori',
+ 'Discount' => 'Descompte',
+ 'Done' => '',
+ 'Drawing' => '',
+ 'Driver' => 'Mòdul',
+ 'Dropdown Limit' => '',
+ 'Due' => 'Venciment',
+ 'Due Date' => 'Data Venciment',
+ 'Due Date missing!' => 'Falta la Data Venciment!',
+ 'E-mail' => 'Email',
+ 'E-mail Statement to' => '',
+ 'E-mail address missing!' => 'Falta Email!',
+ 'Edit' => '',
+ 'Edit Account' => 'Editar Compta',
+ 'Edit Accounts Payables Transaction' => '',
+ 'Edit Accounts Receivables Transaction' => '',
+ 'Edit Assembly' => 'Editar Compost',
+ 'Edit GIFI' => '',
+ 'Edit General Ledger Transaction' => 'Editar Transacció del LLibre Major',
+ 'Edit Part' => 'Editar Article',
+ 'Edit Preferences for' => 'Editar Preferències per',
+ 'Edit Project' => '',
+ 'Edit Purchase Invoice' => '',
+ 'Edit Purchase Order' => 'Editar Ordre Compra',
+ 'Edit Sales Invoice' => '',
+ 'Edit Sales Order' => 'Editar Pressupost',
+ 'Edit Service' => 'Editar Servei',
+ 'Edit Template' => 'Editar Plantilla',
+ 'Edit User' => 'Editar Usuari',
+ 'Employee' => '',
+ 'Enforce transaction reversal for all dates' => 'Forçar l\'anul.lació de transaccions per totes les dates',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Entrar fins a 3 caràcters separats per dos punts (p.e. EUR:USD:CAD) per les monedes nacionals i estrangeres',
+ 'Equity' => 'Balanç',
+ 'Exch' => 'Canvi',
+ 'Exchangerate' => 'Taxa de Canvi',
+ 'Exchangerate Difference' => '',
+ 'Exchangerate for payment missing!' => '',
+ 'Exchangerate missing!' => '',
+ 'Existing Datasets' => 'Conjunt de Dades Existents',
+ 'Expense' => 'Despeses',
+ 'Expense Account' => 'Compta Despeses',
+ 'Expense/Asset' => 'Despesa/Activa',
+ 'Extended' => '',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrer',
+ 'Foreign Exchange Gain' => 'Guany en Bescanvi Moneda',
+ 'Foreign Exchange Loss' => 'Pèrdua en Bescanvi Moneda',
+ 'From' => 'De',
+ 'GIFI' => '',
+ 'GIFI deleted!' => '',
+ 'GIFI missing!' => '',
+ 'GIFI saved!' => '',
+ 'GL Transaction' => '',
+ 'General Ledger' => 'Llibre Major',
+ 'Goods & Services' => 'Bèns i Serveis',
+ 'HTML Templates' => 'Plantilles HTML',
+ 'Heading' => 'Capçalera',
+ 'Host' => 'Servidor',
+ 'Hostname missing!' => 'Falta el Nom del Servidor!',
+ 'ID' => 'ID',
+ 'Image' => '',
+ 'In-line' => 'Afegit',
+ 'Include in Report' => 'Incloure en l\'Informe',
+ 'Include in drop-down menus' => 'Incloure en Menús Desplegables',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Incloure aquesta compta en els formularis client/proveïdor per marcar els impostos aplicables client/proveïdor?',
+ 'Income' => 'Ingressos',
+ 'Income Account' => 'Compta Ingressos',
+ 'Income Statement' => 'Balanç Situació',
+ 'Incorrect Dataset version!' => 'Versió Incorrecta del Conjunt de Dades!',
+ 'Incorrect Password!' => 'Contrasenya no Vàlida!',
+ 'Individual Items' => 'Elements Individuals',
+ 'Inventory' => 'Inventari',
+ 'Inventory Account' => 'Compta Inventari',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'La quantitat en l\'inventari ha de ser zero abans de marcar-lo com obsolet',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'La quantitat en l\'inventari ha de ser zero abans de marcar-lo com obsolet',
+ 'Inventory quantity must be zero!' => 'La quantitat en l\'inventari ha de ser zero',
+ 'Invoice' => 'Factura',
+ 'Invoice Date' => 'Data Fra.',
+ 'Invoice Date missing!' => 'Falta Data Fra.!',
+ 'Invoice Number' => 'Núm Fra.',
+ 'Invoice Number missing!' => 'Falta Núm Fra.!',
+ 'Invoice deleted!' => '',
+ 'Invoice posted!' => '',
+ 'Invoices' => '',
+ 'Is this a summary account to record' => 'És una compta resum a registrar?',
+ 'Item deleted!' => '',
+ 'Item not on file!' => 'No es troba cap arxiu amb aquest element!',
+ 'Jan' => 'Gen',
+ 'January' => 'Gener',
+ 'Jul' => 'Jul',
+ 'July' => 'Juliol',
+ 'Jun' => 'Jun',
+ 'June' => 'Juny',
+ 'LaTeX Templates' => 'Plantilles LaTeX',
+ 'Language' => 'Idioma',
+ 'Last Cost' => 'Darrer Cost',
+ 'Last Invoice Number' => 'Darrer Núm Fra.',
+ 'Last Numbers & Default Accounts' => 'Darrers Núms & Comptes per Defecte',
+ 'Last Purchase Order Number' => 'Darrera Ordre de Compra',
+ 'Last Sales Order Number' => '',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Deixar en blanc el servidor i el port excepte per fer una connexió remota',
+ 'Liability' => 'Passiu',
+ 'Licensed to' => 'Adaptat per',
+ 'Line Total' => 'Total Línia',
+ 'Link' => 'Enllaç',
+ 'Link Accounts' => 'Enllaçar Comptes',
+ 'List Accounts' => 'Llistar Comptes',
+ 'List GIFI' => '',
+ 'List Price' => 'Llistar Preu',
+ 'List Transactions' => 'Llistar Transaccions',
+ 'Login' => 'Entrar',
+ 'Logout' => 'Desconnectar',
+ 'Make' => 'Fer',
+ 'Mar' => 'Mar',
+ 'March' => 'Març',
+ 'May' => 'Mai',
+ 'May ' => 'Maig',
+ 'Message' => '',
+ 'Microfiche' => '',
+ 'Model' => 'Model',
+ 'N/A' => '',
+ 'Name' => 'Nom',
+ 'Name missing!' => '',
+ 'New Templates' => 'Noves Plantilles',
+ 'No' => 'No',
+ 'No Database Drivers available!' => 'Cap Mòdul de Base de Dades disponible!',
+ 'No Dataset selected!' => 'No hi ha cap Conjunt de Dades seleccionat!',
+ 'No email address for' => 'Falta adreça email de',
+ 'No.' => '',
+ 'Notes' => 'Notes',
+ 'Nothing applied!' => '',
+ 'Nothing selected!' => '',
+ 'Nothing to delete!' => 'No hi ha res per esborrar!',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembre',
+ 'Number' => 'Número',
+ 'Number Format' => 'Format Número',
+ 'Number missing in Row' => 'Falta en número en la fila',
+ 'O' => '',
+ 'Obsolete' => 'Obsolet',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'On Hand' => 'Disponible',
+ 'On Order' => '',
+ 'Open' => 'Obert',
+ 'Oracle Database Administration' => 'Administració Base de Dades Oracle',
+ 'Order' => 'Ordre',
+ 'Order Date' => 'Data Ordre',
+ 'Order Date missing!' => 'Falta Data Ordre!',
+ 'Order Entry' => 'Pressupostos i Comandes',
+ 'Order Number' => 'Número Ordre',
+ 'Order Number missing!' => 'Falta Número Ordre!',
+ 'Order deleted!' => '',
+ 'Order saved!' => '',
+ 'Ordered' => '',
+ 'Orphaned' => 'Orfe',
+ 'Out of balance!' => '',
+ 'PDF' => '',
+ 'Packing List' => 'Albarà',
+ 'Packing List Date missing!' => 'Falta Data Albarà!',
+ 'Packing List Number missing!' => 'Falta Número Albarà!',
+ 'Paid' => 'Pagat',
+ 'Paid in full' => '',
+ 'Part' => 'Article',
+ 'Part Number missing!' => 'Falta Número Article!',
+ 'Parts' => 'Articles',
+ 'Parts Inventory' => 'Inventari Articles',
+ 'Password' => 'Contrasenya',
+ 'Password changed!' => '',
+ 'Payables' => 'Pagables',
+ 'Payment' => 'Pagament',
+ 'Payment date missing!' => 'Falta Data Pagament!',
+ 'Payment posted!' => '',
+ 'Payments' => 'Pagaments',
+ 'Pg Database Administration' => 'Administració Base de Dades PostgreSQL',
+ 'Phone' => 'Tel',
+ 'Port' => 'Port',
+ 'Port missing!' => 'Falta Port!',
+ 'Post' => '',
+ 'Post as new' => '',
+ 'Postscript' => '',
+ 'Preferences' => 'Preferències',
+ 'Preferences saved!' => 'Preferències Guardades!',
+ 'Price' => 'Preu',
+ 'Print' => '',
+ 'Printer' => 'Impressora',
+ 'Project' => '',
+ 'Project Number missing!' => '',
+ 'Project deleted!' => '',
+ 'Project not on file!' => '',
+ 'Project saved!' => '',
+ 'Projects' => '',
+ 'Purchase Invoice' => '',
+ 'Purchase Order' => 'Ordre de Compra',
+ 'Purchase Orders' => 'Ordres de Compra',
+ 'Qty' => 'Quantitat',
+ 'ROP' => 'ROP',
+ 'Rate' => 'Tarifa',
+ 'Recd' => '',
+ 'Receipt' => '',
+ 'Receipts' => '',
+ 'Receivables' => 'Cobraments',
+ 'Reconciliation' => '',
+ 'Record in' => 'Registar en',
+ 'Reference' => '',
+ 'Reference missing!' => '',
+ 'Remaining' => 'Remanent',
+ 'Report for' => 'Registrar per',
+ 'Reports' => 'Informes',
+ 'Required by' => 'Soliciat per',
+ 'Retained Earnings' => 'Guanys Retinguts',
+ 'Sales' => 'Vendes',
+ 'Sales Invoice' => '',
+ 'Sales Order' => 'Pressupost',
+ 'Sales Orders' => 'Pressupostos',
+ 'Save' => 'Guardar',
+ 'Save as new' => '',
+ 'Save to File' => 'Guardar a Fitxer',
+ 'Screen' => 'Pantalla',
+ 'Select a Dataset to delete and press "Continue"' => 'Seleccionar Conjunt de Dades a esborrar i prèmer "Continuar"',
+ 'Select all' => '',
+ 'Select from one of the items below' => 'Seleccionar d\'un dels elements de sota',
+ 'Select from one of the names below' => '',
+ 'Select from one of the projects below' => '',
+ 'Select postscript or PDF!' => '',
+ 'Sell Price' => 'Preu Venta',
+ 'Send by E-Mail' => 'Enviar per Email',
+ 'Sep' => 'Set',
+ 'September' => 'Setembre',
+ 'Service' => 'Servei',
+ 'Service Items' => 'Elements Servei',
+ 'Service Number missing!' => 'Falta Nombre Servei!',
+ 'Services' => 'Serveis',
+ 'Setup Templates' => 'Configurar Plantilles',
+ 'Ship' => '',
+ 'Ship to' => '',
+ 'Ship via' => '',
+ 'Short' => 'Curt',
+ 'Signature' => 'Signatura',
+ 'Sold' => 'Venut',
+ 'Source' => 'Font',
+ 'Standard' => '',
+ 'Statement' => '',
+ 'Statement Balance' => '',
+ 'Statement sent to' => '',
+ 'Statements sent to printer!' => '',
+ 'Stock Assembly' => 'Inventari Compost',
+ 'Stylesheet' => 'Fulla Estils',
+ 'Subject' => '',
+ 'Subtotal' => 'Subtotal',
+ 'System' => 'Sistema',
+ 'Tax' => 'Impost',
+ 'Tax Accounts' => 'Comptes Impostos',
+ 'Tax Included' => 'Impostos Inclosos',
+ 'Tax collected' => '',
+ 'Tax paid' => '',
+ 'Taxable' => 'Imponible',
+ 'Template saved!' => '',
+ 'Templates' => 'Plantilles',
+ 'Terms: Net' => 'Terms:Net',
+ 'The following Datasets are not in use and can be deleted' => 'Els següents conjunt de dades no s\'usen i poden esborrar-se',
+ 'The following Datasets need to be updated' => 'Cal actualitzar els següents conjunt de dades',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'Comprovació preliminar de les fonts existents. No es crearà ni s\'esborrra res en aquest punt!',
+ 'To' => 'Fins',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'Per afegir un usuari a un grup, editar el nom, canviar el nom d\'accés i guardar. Un nou usuari amb les mateixes variables es guardarà amb el nou nom d\«accés',
+ 'Top Level' => '',
+ 'Total' => 'Total',
+ 'Transaction Date missing!' => 'Falta Data Transacció!',
+ 'Transaction deleted!' => '',
+ 'Transaction posted!' => '',
+ 'Transaction reversal enforced for all dates' => 'Anul.lació transaccions forçada per totes les dates',
+ 'Transaction reversal enforced up to' => 'Anul.lació transaccions forçada a',
+ 'Transactions' => 'Transaccions',
+ 'Transactions exist, cannot delete customer!' => 'Hi han transaccions, no esborrar el client!',
+ 'Transactions exist, cannot delete vendor!' => 'Hi han transaccions, no esborrar el proveïdor',
+ 'Transactions exist; cannot delete account!' => 'Hi han transaccions, no esborrar compta',
+ 'Trial Balance' => 'Balanç de Comprovació',
+ 'Unit' => 'Unitat',
+ 'Unit of measure' => 'Unitat de Mesura',
+ 'Update' => '',
+ 'Update Dataset' => 'Actualitzar Conjut de Dades',
+ 'Updated' => '',
+ 'Use Templates' => 'Emprar Plantilles',
+ 'User' => 'Usuari',
+ 'User deleted!' => '',
+ 'User saved!' => '',
+ 'Vendor' => 'Proveïdor',
+ 'Vendor deleted!' => '',
+ 'Vendor missing!' => '',
+ 'Vendor not on file!' => '',
+ 'Vendor saved!' => '',
+ 'Vendors' => '',
+ 'Version' => 'Versió',
+ 'Weight' => 'Pes',
+ 'Weight Unit' => 'Unitat Pes',
+ 'What type of item is this?' => 'Quin tipus d\'element és?',
+ 'Year End' => 'Fí Any',
+ 'Yes' => 'Sí',
+ 'You are logged out!' => '',
+ 'You did not enter a name!' => 'No heu entrat cap nom!',
+ 'You must enter a host and port for local and remote connections!' => 'Heu d\'entrar el servidor i el port per les connexions locals i remotes!',
+ 'as at' => '',
+ 'collected on sales' => 'recollit en vendes',
+ 'days' => 'dies',
+ 'does not exist' => 'no existeix',
+ 'ea' => 'unit.',
+ 'emailed to' => 'emailejat a',
+ 'for Period' => 'pel període',
+ 'hr' => 'hr',
+ 'is already a member!' => 'ja és membre!',
+ 'is not a member!' => 'no és membre!',
+ 'localhost' => 'màquina local',
+ 'paid on purchases' => 'pagat al comprat',
+ 'sent to printer' => 'enviat a impressora',
+ 'successfully created!' => 'creat correctament!',
+ 'successfully deleted!' => 'esborrat correctament!',
+ 'to' => '',
+ 'website' => 'web',
+};
+
+1;
diff --git a/sql-ledger/locale/ct/am b/sql-ledger/locale/ct/am
new file mode 100644
index 0000000..6dc7a2c
--- /dev/null
+++ b/sql-ledger/locale/ct/am
@@ -0,0 +1,139 @@
+$self{texts} = {
+ 'AP' => 'Despeses',
+ 'AR' => 'Ingressos',
+ 'Account' => 'Compta',
+ 'Account Number' => 'Num. Compta',
+ 'Account Number missing!' => 'Falta el Num. Compta!',
+ 'Account Type' => 'Tipus de Compta',
+ 'Account Type missing!' => 'Falta el Tipus de Compta!',
+ 'Account deleted!' => 'Account deleted!',
+ 'Account saved!' => 'Account saved!',
+ 'Add Account' => 'Afegir Compta',
+ 'Add GIFI' => 'Add GIFI',
+ 'Address' => 'Adreça',
+ 'Asset' => 'Activat',
+ 'Audit Control' => 'Control Auditoria',
+ 'Backup sent to' => 'Còpia de Seguretat enviada a',
+ 'Books are open' => 'Els Llibres estan Oberts',
+ 'Business Number' => 'Núm. Negoci',
+ 'COGS' => 'Cost de Preu',
+ 'Cannot delete account!' => 'Cannot delete account!',
+ 'Cannot delete default account!' => 'No es pot esborrar la compta per defecte!',
+ 'Cannot save account!' => 'Cannot save account!',
+ 'Cannot save preferences!' => 'Cannot save preferences!',
+ 'Character Set' => 'Canviar Tipus Caràcters',
+ 'Chart of Accounts' => 'Taula de Comptes',
+ 'Close Books up to' => 'Tancar els llibres fins',
+ 'Company' => 'Empresa',
+ 'Continue' => 'Continuar',
+ 'Copy to COA' => 'Copy to COA',
+ 'Credit' => 'Crèdit',
+ 'Date Format' => 'Format Data',
+ 'Debit' => 'Dèbit',
+ 'Delete' => 'Esborrar',
+ 'Delete Account' => 'Esborrar Compta',
+ 'Description' => 'Descripció',
+ 'Dropdown Limit' => 'Dropdown Limit',
+ 'E-mail' => 'Email',
+ 'Edit' => 'Edit',
+ 'Edit Account' => 'Editar Compta',
+ 'Edit GIFI' => 'Edit GIFI',
+ 'Edit Preferences for' => 'Editar Preferències per',
+ 'Edit Template' => 'Editar Plantilla',
+ 'Enforce transaction reversal for all dates' => 'Forçar l\'anul.lació de transaccions per totes les dates',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Entrar fins a 3 caràcters separats per dos punts (p.e. EUR:USD:CAD) per les monedes nacionals i estrangeres',
+ 'Equity' => 'Balanç',
+ 'Expense' => 'Despeses',
+ 'Expense Account' => 'Compta Despeses',
+ 'Expense/Asset' => 'Despesa/Activa',
+ 'Fax' => 'Fax',
+ 'Foreign Exchange Gain' => 'Guany en Bescanvi Moneda',
+ 'Foreign Exchange Loss' => 'Pèrdua en Bescanvi Moneda',
+ 'GIFI' => 'GIFI',
+ 'GIFI deleted!' => 'GIFI deleted!',
+ 'GIFI missing!' => 'GIFI missing!',
+ 'GIFI saved!' => 'GIFI saved!',
+ 'Heading' => 'Capçalera',
+ 'Include in drop-down menus' => 'Incloure en Menús Desplegables',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Incloure aquesta compta en els formularis client/proveïdor per marcar els impostos aplicables client/proveïdor?',
+ 'Income' => 'Ingressos',
+ 'Income Account' => 'Compta Ingressos',
+ 'Inventory' => 'Inventari',
+ 'Inventory Account' => 'Compta Inventari',
+ 'Is this a summary account to record' => 'És una compta resum a registrar?',
+ 'Language' => 'Idioma',
+ 'Last Invoice Number' => 'Darrer Núm Fra.',
+ 'Last Numbers & Default Accounts' => 'Darrers Núms & Comptes per Defecte',
+ 'Last Purchase Order Number' => 'Darrera Ordre de Compra',
+ 'Last Sales Order Number' => 'Last Sales Order Number',
+ 'Liability' => 'Passiu',
+ 'Link' => 'Enllaç',
+ 'Name' => 'Nom',
+ 'No' => 'No',
+ 'No email address for' => 'Falta adreça email de',
+ 'Number' => 'Número',
+ 'Number Format' => 'Format Número',
+ 'Parts Inventory' => 'Inventari Articles',
+ 'Password' => 'Contrasenya',
+ 'Payables' => 'Pagables',
+ 'Payment' => 'Pagament',
+ 'Phone' => 'Tel',
+ 'Preferences saved!' => 'Preferències Guardades!',
+ 'Rate' => 'Tarifa',
+ 'Receivables' => 'Cobraments',
+ 'Sales' => 'Vendes',
+ 'Save' => 'Guardar',
+ 'Service Items' => 'Elements Servei',
+ 'Ship via' => 'Ship via',
+ 'Signature' => 'Signatura',
+ 'Stylesheet' => 'Fulla Estils',
+ 'Tax' => 'Impost',
+ 'Tax Accounts' => 'Comptes Impostos',
+ 'Template saved!' => 'Template saved!',
+ 'Transaction reversal enforced for all dates' => 'Anul.lació transaccions forçada per totes les dates',
+ 'Transaction reversal enforced up to' => 'Anul.lació transaccions forçada a',
+ 'Transactions exist; cannot delete account!' => 'Hi han transaccions, no esborrar compta',
+ 'Weight Unit' => 'Unitat Pes',
+ 'Year End' => 'Fí Any',
+ 'Yes' => 'Sí',
+ 'does not exist' => 'no existeix',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_gifi' => 'add_gifi',
+ 'audit_control' => 'audit_control',
+ 'backup' => 'backup',
+ 'config' => 'config',
+ 'continue' => 'continue',
+ 'copy_to_coa' => 'copy_to_coa',
+ 'delete' => 'delete',
+ 'delete_account' => 'delete_account',
+ 'delete_gifi' => 'delete_gifi',
+ 'display_form' => 'display_form',
+ 'display_stylesheet' => 'display_stylesheet',
+ 'doclose' => 'doclose',
+ 'edit' => 'edit',
+ 'edit_gifi' => 'edit_gifi',
+ 'edit_template' => 'edit_template',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gifi_footer' => 'gifi_footer',
+ 'gifi_header' => 'gifi_header',
+ 'list' => 'list',
+ 'list_gifi' => 'list_gifi',
+ 'save' => 'save',
+ 'save_account' => 'save_account',
+ 'save_gifi' => 'save_gifi',
+ 'save_preferences' => 'save_preferences',
+ 'save_template' => 'save_template',
+ 'afegir_compta' => 'add_account',
+ 'continuar' => 'continue',
+ 'copy_to_coa' => 'copy_to_coa',
+ 'esborrar' => 'delete',
+ 'edit' => 'edit',
+ 'editar_compta' => 'edit_account',
+ 'guardar' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/ct/ap b/sql-ledger/locale/ct/ap
new file mode 100644
index 0000000..7520fd0
--- /dev/null
+++ b/sql-ledger/locale/ct/ap
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AP Transaction' => 'AP Transaction',
+ 'AP Transactions' => 'Transaccions de Despeses',
+ 'Account' => 'Compta',
+ 'Add Accounts Payables Transaction' => 'Add Accounts Payables Transaction',
+ 'Address' => 'Adreça',
+ 'Amount' => 'Total',
+ 'Amount Due' => 'Amount Due',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Are you sure you want to delete Transaction' => 'Segur que voleu esborrar la Transacció',
+ 'Aug' => 'Ago',
+ 'August' => 'Agost',
+ 'Cannot delete transaction!' => 'Cannot delete transaction!',
+ 'Cannot post payment for a closed period!' => 'Cannot post payment for a closed period!',
+ 'Cannot post transaction for a closed period!' => 'No es pot registrar una transacció per un període tancat',
+ 'Cannot post transaction!' => 'Cannot post transaction!',
+ 'Closed' => 'Tancat',
+ 'Confirm!' => 'Confirmar!',
+ 'Continue' => 'Continuar',
+ 'Currency' => 'Moneda',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'Data',
+ 'Date Paid' => 'Data Pagament',
+ 'Dec' => 'Des',
+ 'December' => 'Desembre',
+ 'Delete' => 'Esborrar',
+ 'Description' => 'Descripció',
+ 'Due Date' => 'Data Venciment',
+ 'Due Date missing!' => 'Falta la Data Venciment!',
+ 'Edit Accounts Payables Transaction' => 'Edit Accounts Payables Transaction',
+ 'Employee' => 'Employee',
+ 'Exch' => 'Canvi',
+ 'Exchangerate' => 'Taxa de Canvi',
+ 'Exchangerate for payment missing!' => 'Exchangerate for payment missing!',
+ 'Exchangerate missing!' => 'Exchangerate missing!',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrer',
+ 'From' => 'De',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Incloure en l\'Informe',
+ 'Invoice' => 'Factura',
+ 'Invoice Date' => 'Data Fra.',
+ 'Invoice Date missing!' => 'Falta Data Fra.!',
+ 'Invoice Number' => 'Núm Fra.',
+ 'Invoice Number missing!' => 'Falta Núm Fra.!',
+ 'Jan' => 'Gen',
+ 'January' => 'Gener',
+ 'Jul' => 'Jul',
+ 'July' => 'Juliol',
+ 'Jun' => 'Jun',
+ 'June' => 'Juny',
+ 'Mar' => 'Mar',
+ 'March' => 'Març',
+ 'May' => 'Mai',
+ 'May ' => 'Maig',
+ 'Notes' => 'Notes',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembre',
+ 'Number' => 'Número',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'Open' => 'Obert',
+ 'Order' => 'Ordre',
+ 'Order Number' => 'Número Ordre',
+ 'Paid' => 'Pagat',
+ 'Payment date missing!' => 'Falta Data Pagament!',
+ 'Payments' => 'Pagaments',
+ 'Post' => 'Post',
+ 'Post as new' => 'Post as new',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Purchase Invoice' => 'Purchase Invoice',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Sep' => 'Set',
+ 'September' => 'Setembre',
+ 'Source' => 'Font',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'Impost',
+ 'Tax Included' => 'Impostos Inclosos',
+ 'To' => 'Fins',
+ 'Total' => 'Total',
+ 'Transaction deleted!' => 'Transaction deleted!',
+ 'Transaction posted!' => 'Transaction posted!',
+ 'Update' => 'Update',
+ 'Vendor' => 'Proveïdor',
+ 'Vendor missing!' => 'Vendor missing!',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'Yes' => 'Sí',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_subtotal' => 'ap_subtotal',
+ 'ap_transaction' => 'ap_transaction',
+ 'ap_transactions' => 'ap_transactions',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'ap_transaction' => 'ap_transaction',
+ 'add_accounts_payables_transaction' => 'add_accounts_payables_transaction',
+ 'continuar' => 'continue',
+ 'esborrar' => 'delete',
+ 'edit_accounts_payables_transaction' => 'edit_accounts_payables_transaction',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'update' => 'update',
+ 'sí' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/ct/ar b/sql-ledger/locale/ct/ar
new file mode 100644
index 0000000..90a111d
--- /dev/null
+++ b/sql-ledger/locale/ct/ar
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AR Transaction' => 'AR Transaction',
+ 'AR Transactions' => 'Transaccions d\'Ingressos',
+ 'Account' => 'Compta',
+ 'Add Accounts Receivables Transaction' => 'Add Accounts Receivables Transaction',
+ 'Address' => 'Adreça',
+ 'Amount' => 'Total',
+ 'Amount Due' => 'Amount Due',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Are you sure you want to delete Transaction' => 'Segur que voleu esborrar la Transacció',
+ 'Aug' => 'Ago',
+ 'August' => 'Agost',
+ 'Cannot delete transaction!' => 'Cannot delete transaction!',
+ 'Cannot post payment for a closed period!' => 'Cannot post payment for a closed period!',
+ 'Cannot post transaction for a closed period!' => 'No es pot registrar una transacció per un període tancat',
+ 'Cannot post transaction!' => 'Cannot post transaction!',
+ 'Closed' => 'Tancat',
+ 'Confirm!' => 'Confirmar!',
+ 'Continue' => 'Continuar',
+ 'Credit Limit' => 'Límit de Crèdit',
+ 'Currency' => 'Moneda',
+ 'Customer' => 'Client',
+ 'Customer missing!' => 'Customer missing!',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'Data',
+ 'Date Paid' => 'Data Pagament',
+ 'Dec' => 'Des',
+ 'December' => 'Desembre',
+ 'Delete' => 'Esborrar',
+ 'Description' => 'Descripció',
+ 'Due Date' => 'Data Venciment',
+ 'Due Date missing!' => 'Falta la Data Venciment!',
+ 'Edit Accounts Receivables Transaction' => 'Edit Accounts Receivables Transaction',
+ 'Employee' => 'Employee',
+ 'Exch' => 'Canvi',
+ 'Exchangerate' => 'Taxa de Canvi',
+ 'Exchangerate for payment missing!' => 'Exchangerate for payment missing!',
+ 'Exchangerate missing!' => 'Exchangerate missing!',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrer',
+ 'From' => 'De',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Incloure en l\'Informe',
+ 'Invoice' => 'Factura',
+ 'Invoice Date' => 'Data Fra.',
+ 'Invoice Date missing!' => 'Falta Data Fra.!',
+ 'Invoice Number' => 'Núm Fra.',
+ 'Invoice Number missing!' => 'Falta Núm Fra.!',
+ 'Jan' => 'Gen',
+ 'January' => 'Gener',
+ 'Jul' => 'Jul',
+ 'July' => 'Juliol',
+ 'Jun' => 'Jun',
+ 'June' => 'Juny',
+ 'Mar' => 'Mar',
+ 'March' => 'Març',
+ 'May' => 'Mai',
+ 'May ' => 'Maig',
+ 'Notes' => 'Notes',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembre',
+ 'Number' => 'Número',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'Open' => 'Obert',
+ 'Order' => 'Ordre',
+ 'Order Number' => 'Número Ordre',
+ 'Paid' => 'Pagat',
+ 'Payment date missing!' => 'Falta Data Pagament!',
+ 'Payments' => 'Pagaments',
+ 'Post' => 'Post',
+ 'Post as new' => 'Post as new',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Remaining' => 'Remanent',
+ 'Sales Invoice' => 'Sales Invoice',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Sep' => 'Set',
+ 'September' => 'Setembre',
+ 'Source' => 'Font',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'Impost',
+ 'Tax Included' => 'Impostos Inclosos',
+ 'To' => 'Fins',
+ 'Total' => 'Total',
+ 'Transaction deleted!' => 'Transaction deleted!',
+ 'Transaction posted!' => 'Transaction posted!',
+ 'Update' => 'Update',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'Yes' => 'Sí',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_subtotal' => 'ar_subtotal',
+ 'ar_transaction' => 'ar_transaction',
+ 'ar_transactions' => 'ar_transactions',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'ar_transaction' => 'ar_transaction',
+ 'continuar' => 'continue',
+ 'esborrar' => 'delete',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'sales_invoice' => 'sales_invoice',
+ 'update' => 'update',
+ 'sí' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/ct/arap b/sql-ledger/locale/ct/arap
new file mode 100644
index 0000000..688a019
--- /dev/null
+++ b/sql-ledger/locale/ct/arap
@@ -0,0 +1,30 @@
+$self{texts} = {
+ 'Address' => 'Adreça',
+ 'Continue' => 'Continuar',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Description' => 'Descripció',
+ 'Number' => 'Número',
+ 'Project not on file!' => 'Project not on file!',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Vendor not on file!' => 'Vendor not on file!',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'continuar' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/ct/ca b/sql-ledger/locale/ct/ca
new file mode 100644
index 0000000..89a4023
--- /dev/null
+++ b/sql-ledger/locale/ct/ca
@@ -0,0 +1,50 @@
+$self{texts} = {
+ 'Account' => 'Compta',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Aug' => 'Ago',
+ 'August' => 'Agost',
+ 'Balance' => 'Balance',
+ 'Chart of Accounts' => 'Taula de Comptes',
+ 'Credit' => 'Crèdit',
+ 'Date' => 'Data',
+ 'Debit' => 'Dèbit',
+ 'Dec' => 'Des',
+ 'December' => 'Desembre',
+ 'Description' => 'Descripció',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrer',
+ 'From' => 'De',
+ 'GIFI' => 'GIFI',
+ 'Include in Report' => 'Incloure en l\'Informe',
+ 'Jan' => 'Gen',
+ 'January' => 'Gener',
+ 'Jul' => 'Jul',
+ 'July' => 'Juliol',
+ 'Jun' => 'Jun',
+ 'June' => 'Juny',
+ 'List Transactions' => 'Llistar Transaccions',
+ 'Mar' => 'Mar',
+ 'March' => 'Març',
+ 'May' => 'Mai',
+ 'May ' => 'Maig',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembre',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'Reference' => 'Reference',
+ 'Sep' => 'Set',
+ 'September' => 'Setembre',
+ 'Subtotal' => 'Subtotal',
+ 'To' => 'Fins',
+};
+
+$self{subs} = {
+ 'ca_subtotal' => 'ca_subtotal',
+ 'chart_of_accounts' => 'chart_of_accounts',
+ 'list' => 'list',
+ 'list_transactions' => 'list_transactions',
+ 'llistar_transaccions' => 'list_transactions',
+};
+
+1;
diff --git a/sql-ledger/locale/ct/cp b/sql-ledger/locale/ct/cp
new file mode 100644
index 0000000..4bb685f
--- /dev/null
+++ b/sql-ledger/locale/ct/cp
@@ -0,0 +1,75 @@
+$self{texts} = {
+ 'Account' => 'Compta',
+ 'Address' => 'Adreça',
+ 'Amount' => 'Total',
+ 'Amount does not equal applied!' => 'Amount does not equal applied!',
+ 'Amount missing!' => 'Amount missing!',
+ 'Applied' => 'Applied',
+ 'Cannot post payment!' => 'Cannot post payment!',
+ 'Cannot process payment for a closed period!' => 'Cannot process payment for a closed period!',
+ 'Check' => 'Check',
+ 'Check printed!' => 'Check printed!',
+ 'Check printing failed!' => 'Check printing failed!',
+ 'Continue' => 'Continuar',
+ 'Currency' => 'Moneda',
+ 'Customer' => 'Client',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'Data',
+ 'Date missing!' => 'Date missing!',
+ 'Description' => 'Descripció',
+ 'Due' => 'Venciment',
+ 'Exchangerate' => 'Taxa de Canvi',
+ 'From' => 'De',
+ 'Invoice' => 'Factura',
+ 'Invoices' => 'Invoices',
+ 'Nothing applied!' => 'Nothing applied!',
+ 'Number' => 'Número',
+ 'Paid in full' => 'Paid in full',
+ 'Payment' => 'Pagament',
+ 'Payment posted!' => 'Payment posted!',
+ 'Post' => 'Post',
+ 'Print' => 'Print',
+ 'Printer' => 'Impressora',
+ 'Project not on file!' => 'Project not on file!',
+ 'Receipt' => 'Receipt',
+ 'Reference' => 'Reference',
+ 'Screen' => 'Pantalla',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'To' => 'Fins',
+ 'Update' => 'Update',
+ 'Vendor' => 'Proveïdor',
+ 'Vendor not on file!' => 'Vendor not on file!',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'list_invoices' => 'list_invoices',
+ 'name_selected' => 'name_selected',
+ 'payment' => 'payment',
+ 'post' => 'post',
+ 'print' => 'print',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'vendor_details' => 'vendor_details',
+ 'continuar' => 'continue',
+ 'post' => 'post',
+ 'print' => 'print',
+ 'update' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/ct/ct b/sql-ledger/locale/ct/ct
new file mode 100644
index 0000000..d88db2a
--- /dev/null
+++ b/sql-ledger/locale/ct/ct
@@ -0,0 +1,69 @@
+$self{texts} = {
+ 'Add' => 'Afegir',
+ 'Address' => 'Adreça',
+ 'All' => 'Tots',
+ 'Bcc' => 'Bcc',
+ 'Cannot delete customer!' => 'Cannot delete customer!',
+ 'Cannot delete vendor!' => 'Cannot delete vendor!',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Contacte',
+ 'Continue' => 'Continuar',
+ 'Credit Limit' => 'Límit de Crèdit',
+ 'Customer deleted!' => 'Customer deleted!',
+ 'Customer saved!' => 'Customer saved!',
+ 'Customers' => 'Customers',
+ 'Delete' => 'Esborrar',
+ 'Discount' => 'Descompte',
+ 'E-mail' => 'Email',
+ 'Fax' => 'Fax',
+ 'Include in Report' => 'Incloure en l\'Informe',
+ 'Invoice' => 'Factura',
+ 'Name' => 'Nom',
+ 'Name missing!' => 'Name missing!',
+ 'Notes' => 'Notes',
+ 'Number' => 'Número',
+ 'Order' => 'Ordre',
+ 'Orphaned' => 'Orfe',
+ 'Phone' => 'Tel',
+ 'Save' => 'Guardar',
+ 'Ship to' => 'Ship to',
+ 'Tax Included' => 'Impostos Inclosos',
+ 'Taxable' => 'Imponible',
+ 'Terms: Net' => 'Terms:Net',
+ 'Transactions exist, cannot delete customer!' => 'Hi han transaccions, no esborrar el client!',
+ 'Transactions exist, cannot delete vendor!' => 'Hi han transaccions, no esborrar el proveïdor',
+ 'Vendor deleted!' => 'Vendor deleted!',
+ 'Vendor saved!' => 'Vendor saved!',
+ 'Vendors' => 'Vendors',
+ 'days' => 'dies',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'customer_invoice' => 'customer_invoice',
+ 'customer_order' => 'customer_order',
+ 'delete' => 'delete',
+ 'delete_customer' => 'delete_customer',
+ 'delete_vendor' => 'delete_vendor',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'invoice' => 'invoice',
+ 'list_names' => 'list_names',
+ 'order' => 'order',
+ 'save' => 'save',
+ 'save_customer' => 'save_customer',
+ 'save_vendor' => 'save_vendor',
+ 'search' => 'search',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'vendor_order' => 'vendor_order',
+ 'afegir' => 'add',
+ 'continuar' => 'continue',
+ 'esborrar' => 'delete',
+ 'factura' => 'invoice',
+ 'ordre' => 'order',
+ 'guardar' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/ct/gl b/sql-ledger/locale/ct/gl
new file mode 100644
index 0000000..7e25978
--- /dev/null
+++ b/sql-ledger/locale/ct/gl
@@ -0,0 +1,124 @@
+$self{texts} = {
+ 'AP Transaction' => 'AP Transaction',
+ 'AR Transaction' => 'AR Transaction',
+ 'Account' => 'Compta',
+ 'Add General Ledger Transaction' => 'Afegir Transacció Llibre Major',
+ 'Address' => 'Adreça',
+ 'All' => 'Tots',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Are you sure you want to delete Transaction' => 'Segur que voleu esborrar la Transacció',
+ 'Asset' => 'Activat',
+ 'Aug' => 'Ago',
+ 'August' => 'Agost',
+ 'Balance' => 'Balance',
+ 'Cannot delete transaction!' => 'Cannot delete transaction!',
+ 'Cannot have a value in both Debit and Credit!' => 'No es pot tenir un valor simultàniament a Dèbit i a Crèdit',
+ 'Cannot post a transaction without a value!' => 'Cannot post a transaction without a value!',
+ 'Cannot post transaction for a closed period!' => 'No es pot registrar una transacció per un període tancat',
+ 'Confirm!' => 'Confirmar!',
+ 'Continue' => 'Continuar',
+ 'Credit' => 'Crèdit',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'Data',
+ 'Debit' => 'Dèbit',
+ 'Debit and credit out of balance!' => 'Dèbit i Crèdit fora de balanç!',
+ 'Dec' => 'Des',
+ 'December' => 'Desembre',
+ 'Delete' => 'Esborrar',
+ 'Description' => 'Descripció',
+ 'Edit General Ledger Transaction' => 'Editar Transacció del LLibre Major',
+ 'Equity' => 'Balanç',
+ 'Expense' => 'Despeses',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrer',
+ 'From' => 'De',
+ 'GIFI' => 'GIFI',
+ 'GL Transaction' => 'GL Transaction',
+ 'General Ledger' => 'Llibre Major',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Incloure en l\'Informe',
+ 'Income' => 'Ingressos',
+ 'Jan' => 'Gen',
+ 'January' => 'Gener',
+ 'Jul' => 'Jul',
+ 'July' => 'Juliol',
+ 'Jun' => 'Jun',
+ 'June' => 'Juny',
+ 'Liability' => 'Passiu',
+ 'Mar' => 'Mar',
+ 'March' => 'Març',
+ 'May' => 'Mai',
+ 'May ' => 'Maig',
+ 'Notes' => 'Notes',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembre',
+ 'Number' => 'Número',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'Post' => 'Post',
+ 'Post as new' => 'Post as new',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Purchase Invoice' => 'Purchase Invoice',
+ 'Reference' => 'Reference',
+ 'Reference missing!' => 'Reference missing!',
+ 'Reports' => 'Informes',
+ 'Sales Invoice' => 'Sales Invoice',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Sep' => 'Set',
+ 'September' => 'Setembre',
+ 'Source' => 'Font',
+ 'Subtotal' => 'Subtotal',
+ 'To' => 'Fins',
+ 'Transaction Date missing!' => 'Falta Data Transacció!',
+ 'Transaction deleted!' => 'Transaction deleted!',
+ 'Transaction posted!' => 'Transaction posted!',
+ 'Update' => 'Update',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'Yes' => 'Sí',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'form_row' => 'form_row',
+ 'generate_report' => 'generate_report',
+ 'gl_subtotal' => 'gl_subtotal',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'continuar' => 'continue',
+ 'esborrar' => 'delete',
+ 'gl_transaction' => 'gl_transaction',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'update' => 'update',
+ 'sí' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/ct/ic b/sql-ledger/locale/ct/ic
new file mode 100644
index 0000000..66c84d7
--- /dev/null
+++ b/sql-ledger/locale/ct/ic
@@ -0,0 +1,205 @@
+$self{texts} = {
+ 'Active' => 'Active',
+ 'Add' => 'Afegir',
+ 'Add Assembly' => 'Afegir Compost',
+ 'Add Part' => 'Afegir Article',
+ 'Add Purchase Order' => 'Afegir Ordre Compra',
+ 'Add Sales Order' => 'Afegir Pressupost',
+ 'Add Service' => 'Afegir Servei',
+ 'Address' => 'Adreça',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Assemblies' => 'Compostos',
+ 'Assemblies restocked!' => 'Assemblies restocked!',
+ 'Assembly Number missing!' => 'Falta el Num. del Compost',
+ 'Attachment' => 'Adjunt',
+ 'Aug' => 'Ago',
+ 'August' => 'Agost',
+ 'BOM' => 'BOM',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Bin',
+ 'Bought' => 'Comprat',
+ 'COGS' => 'Cost de Preu',
+ 'Cannot delete item already invoiced!' => 'No es pot esborrar un element facturat!',
+ 'Cannot delete item on order!' => 'No es pot esborrar un element pressupostat!',
+ 'Cannot delete item which is part of an assembly!' => 'No es pot eliminar un element que és part d\'un compost',
+ 'Cannot delete item!' => 'Cannot delete item!',
+ 'Cannot stock assemblies!' => 'Cannot stock assemblies!',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Contacte',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Còpies',
+ 'Dec' => 'Des',
+ 'December' => 'Desembre',
+ 'Delete' => 'Esborrar',
+ 'Delivery Date' => 'Delivery Date',
+ 'Description' => 'Descripció',
+ 'Drawing' => 'Drawing',
+ 'E-mail' => 'Email',
+ 'E-mail address missing!' => 'Falta Email!',
+ 'Edit Assembly' => 'Editar Compost',
+ 'Edit Part' => 'Editar Article',
+ 'Edit Service' => 'Editar Servei',
+ 'Expense' => 'Despeses',
+ 'Extended' => 'Extended',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrer',
+ 'From' => 'De',
+ 'Image' => 'Image',
+ 'In-line' => 'Afegit',
+ 'Include in Report' => 'Incloure en l\'Informe',
+ 'Income' => 'Ingressos',
+ 'Individual Items' => 'Elements Individuals',
+ 'Inventory' => 'Inventari',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'La quantitat en l\'inventari ha de ser zero abans de marcar-lo com obsolet',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'La quantitat en l\'inventari ha de ser zero abans de marcar-lo com obsolet',
+ 'Inventory quantity must be zero!' => 'La quantitat en l\'inventari ha de ser zero',
+ 'Invoice' => 'Factura',
+ 'Invoice Date missing!' => 'Falta Data Fra.!',
+ 'Invoice Number' => 'Núm Fra.',
+ 'Invoice Number missing!' => 'Falta Núm Fra.!',
+ 'Item deleted!' => 'Item deleted!',
+ 'Item not on file!' => 'No es troba cap arxiu amb aquest element!',
+ 'Jan' => 'Gen',
+ 'January' => 'Gener',
+ 'Jul' => 'Jul',
+ 'July' => 'Juliol',
+ 'Jun' => 'Jun',
+ 'June' => 'Juny',
+ 'Last Cost' => 'Darrer Cost',
+ 'Line Total' => 'Total Línia',
+ 'Link Accounts' => 'Enllaçar Comptes',
+ 'List Price' => 'Llistar Preu',
+ 'Make' => 'Fer',
+ 'Mar' => 'Mar',
+ 'March' => 'Març',
+ 'May' => 'Mai',
+ 'May ' => 'Maig',
+ 'Message' => 'Message',
+ 'Microfiche' => 'Microfiche',
+ 'Model' => 'Model',
+ 'Name' => 'Nom',
+ 'No.' => 'No.',
+ 'Notes' => 'Notes',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembre',
+ 'Number' => 'Número',
+ 'Number missing in Row' => 'Falta en número en la fila',
+ 'Obsolete' => 'Obsolet',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'On Hand' => 'Disponible',
+ 'On Order' => 'On Order',
+ 'Order' => 'Ordre',
+ 'Order Date missing!' => 'Falta Data Ordre!',
+ 'Order Number' => 'Número Ordre',
+ 'Order Number missing!' => 'Falta Número Ordre!',
+ 'Ordered' => 'Ordered',
+ 'Orphaned' => 'Orfe',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Albarà',
+ 'Packing List Date missing!' => 'Falta Data Albarà!',
+ 'Packing List Number missing!' => 'Falta Número Albarà!',
+ 'Part' => 'Article',
+ 'Part Number missing!' => 'Falta Número Article!',
+ 'Parts' => 'Articles',
+ 'Phone' => 'Tel',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Preu',
+ 'Printer' => 'Impressora',
+ 'Project' => 'Project',
+ 'Purchase Order' => 'Ordre de Compra',
+ 'Qty' => 'Quantitat',
+ 'ROP' => 'ROP',
+ 'Recd' => 'Recd',
+ 'Required by' => 'Soliciat per',
+ 'Sales' => 'Vendes',
+ 'Sales Order' => 'Pressupost',
+ 'Save' => 'Guardar',
+ 'Screen' => 'Pantalla',
+ 'Select from one of the items below' => 'Seleccionar d\'un dels elements de sota',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sell Price' => 'Preu Venta',
+ 'Sep' => 'Set',
+ 'September' => 'Setembre',
+ 'Service' => 'Servei',
+ 'Service Number missing!' => 'Falta Nombre Servei!',
+ 'Services' => 'Serveis',
+ 'Ship' => 'Ship',
+ 'Ship to' => 'Ship to',
+ 'Short' => 'Curt',
+ 'Sold' => 'Venut',
+ 'Stock Assembly' => 'Inventari Compost',
+ 'Subject' => 'Subject',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'Impost',
+ 'To' => 'Fins',
+ 'Top Level' => 'Top Level',
+ 'Total' => 'Total',
+ 'Unit' => 'Unitat',
+ 'Unit of measure' => 'Unitat de Mesura',
+ 'Update' => 'Update',
+ 'Updated' => 'Updated',
+ 'Weight' => 'Pes',
+ 'What type of item is this?' => 'Quin tipus d\'element és?',
+ 'ea' => 'unit.',
+ 'emailed to' => 'emailejat a',
+ 'hr' => 'hr',
+ 'sent to printer' => 'enviat a impressora',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'assembly_row' => 'assembly_row',
+ 'check_form' => 'check_form',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'delete_assembly' => 'delete_assembly',
+ 'delete_item' => 'delete_item',
+ 'delete_part' => 'delete_part',
+ 'delete_service' => 'delete_service',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'link_part' => 'link_part',
+ 'list_assemblies' => 'list_assemblies',
+ 'makemodel_row' => 'makemodel_row',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'parts_subtotal' => 'parts_subtotal',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'restock_assemblies' => 'restock_assemblies',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'stock_assembly' => 'stock_assembly',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'afegir' => 'add',
+ 'afegir_compost' => 'add_assembly',
+ 'afegir_article' => 'add_part',
+ 'afegir_servei' => 'add_service',
+ 'continuar' => 'continue',
+ 'esborrar' => 'delete',
+ 'editar_compost' => 'edit_assembly',
+ 'editar_article' => 'edit_part',
+ 'editar_servei' => 'edit_service',
+ 'guardar' => 'save',
+ 'update' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/ct/io b/sql-ledger/locale/ct/io
new file mode 100644
index 0000000..b48c79b
--- /dev/null
+++ b/sql-ledger/locale/ct/io
@@ -0,0 +1,106 @@
+$self{texts} = {
+ 'Add Purchase Order' => 'Afegir Ordre Compra',
+ 'Add Sales Order' => 'Afegir Pressupost',
+ 'Address' => 'Adreça',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Attachment' => 'Adjunt',
+ 'Aug' => 'Ago',
+ 'August' => 'Agost',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Bin',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Contacte',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Còpies',
+ 'Dec' => 'Des',
+ 'December' => 'Desembre',
+ 'Delivery Date' => 'Delivery Date',
+ 'Description' => 'Descripció',
+ 'E-mail' => 'Email',
+ 'E-mail address missing!' => 'Falta Email!',
+ 'Extended' => 'Extended',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrer',
+ 'In-line' => 'Afegit',
+ 'Invoice' => 'Factura',
+ 'Invoice Date missing!' => 'Falta Data Fra.!',
+ 'Invoice Number missing!' => 'Falta Núm Fra.!',
+ 'Item not on file!' => 'No es troba cap arxiu amb aquest element!',
+ 'Jan' => 'Gen',
+ 'January' => 'Gener',
+ 'Jul' => 'Jul',
+ 'July' => 'Juliol',
+ 'Jun' => 'Jun',
+ 'June' => 'Juny',
+ 'Mar' => 'Mar',
+ 'March' => 'Març',
+ 'May' => 'Mai',
+ 'May ' => 'Maig',
+ 'Message' => 'Message',
+ 'Name' => 'Nom',
+ 'No.' => 'No.',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembre',
+ 'Number' => 'Número',
+ 'Number missing in Row' => 'Falta en número en la fila',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'Order' => 'Ordre',
+ 'Order Date missing!' => 'Falta Data Ordre!',
+ 'Order Number missing!' => 'Falta Número Ordre!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Albarà',
+ 'Packing List Date missing!' => 'Falta Data Albarà!',
+ 'Packing List Number missing!' => 'Falta Número Albarà!',
+ 'Part' => 'Article',
+ 'Phone' => 'Tel',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Preu',
+ 'Printer' => 'Impressora',
+ 'Project' => 'Project',
+ 'Purchase Order' => 'Ordre de Compra',
+ 'Qty' => 'Quantitat',
+ 'Recd' => 'Recd',
+ 'Required by' => 'Soliciat per',
+ 'Sales Order' => 'Pressupost',
+ 'Screen' => 'Pantalla',
+ 'Select from one of the items below' => 'Seleccionar d\'un dels elements de sota',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sep' => 'Set',
+ 'September' => 'Setembre',
+ 'Service' => 'Servei',
+ 'Ship' => 'Ship',
+ 'Ship to' => 'Ship to',
+ 'Subject' => 'Subject',
+ 'To' => 'Fins',
+ 'Unit' => 'Unitat',
+ 'What type of item is this?' => 'Quin tipus d\'element és?',
+ 'emailed to' => 'emailejat a',
+ 'sent to printer' => 'enviat a impressora',
+};
+
+$self{subs} = {
+ 'check_form' => 'check_form',
+ 'customer_details' => 'customer_details',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'continuar' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/ct/ir b/sql-ledger/locale/ct/ir
new file mode 100644
index 0000000..c6a42bc
--- /dev/null
+++ b/sql-ledger/locale/ct/ir
@@ -0,0 +1,178 @@
+$self{texts} = {
+ 'Account' => 'Compta',
+ 'Add Purchase Invoice' => 'Add Purchase Invoice',
+ 'Add Purchase Order' => 'Afegir Ordre Compra',
+ 'Add Sales Order' => 'Afegir Pressupost',
+ 'Address' => 'Adreça',
+ 'Amount' => 'Total',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Are you sure you want to delete Invoice Number' => 'Segur que voleu esborrar la Fra. Num.',
+ 'Attachment' => 'Adjunt',
+ 'Aug' => 'Ago',
+ 'August' => 'Agost',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Bin',
+ 'Cannot delete invoice!' => 'Cannot delete invoice!',
+ 'Cannot post invoice for a closed period!' => 'Cannot post invoice for a closed period!',
+ 'Cannot post invoice!' => 'Cannot post invoice!',
+ 'Cannot post payment for a closed period!' => 'Cannot post payment for a closed period!',
+ 'Cc' => 'Cc',
+ 'Confirm!' => 'Confirmar!',
+ 'Contact' => 'Contacte',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Còpies',
+ 'Currency' => 'Moneda',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'Data',
+ 'Date Due' => 'Data Venciment',
+ 'Dec' => 'Des',
+ 'December' => 'Desembre',
+ 'Delete' => 'Esborrar',
+ 'Delivery Date' => 'Delivery Date',
+ 'Description' => 'Descripció',
+ 'E-mail' => 'Email',
+ 'E-mail address missing!' => 'Falta Email!',
+ 'Edit Purchase Invoice' => 'Edit Purchase Invoice',
+ 'Exch' => 'Canvi',
+ 'Exchangerate' => 'Taxa de Canvi',
+ 'Exchangerate for payment missing!' => 'Exchangerate for payment missing!',
+ 'Exchangerate missing!' => 'Exchangerate missing!',
+ 'Extended' => 'Extended',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrer',
+ 'In-line' => 'Afegit',
+ 'Invoice' => 'Factura',
+ 'Invoice Date' => 'Data Fra.',
+ 'Invoice Date missing!' => 'Falta Data Fra.!',
+ 'Invoice Number' => 'Núm Fra.',
+ 'Invoice Number missing!' => 'Falta Núm Fra.!',
+ 'Invoice deleted!' => 'Invoice deleted!',
+ 'Invoice posted!' => 'Invoice posted!',
+ 'Item not on file!' => 'No es troba cap arxiu amb aquest element!',
+ 'Jan' => 'Gen',
+ 'January' => 'Gener',
+ 'Jul' => 'Jul',
+ 'July' => 'Juliol',
+ 'Jun' => 'Jun',
+ 'June' => 'Juny',
+ 'Mar' => 'Mar',
+ 'March' => 'Març',
+ 'May' => 'Mai',
+ 'May ' => 'Maig',
+ 'Message' => 'Message',
+ 'Name' => 'Nom',
+ 'No.' => 'No.',
+ 'Notes' => 'Notes',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembre',
+ 'Number' => 'Número',
+ 'Number missing in Row' => 'Falta en número en la fila',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'Order' => 'Ordre',
+ 'Order Date missing!' => 'Falta Data Ordre!',
+ 'Order Number' => 'Número Ordre',
+ 'Order Number missing!' => 'Falta Número Ordre!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Albarà',
+ 'Packing List Date missing!' => 'Falta Data Albarà!',
+ 'Packing List Number missing!' => 'Falta Número Albarà!',
+ 'Part' => 'Article',
+ 'Payment date missing!' => 'Falta Data Pagament!',
+ 'Payments' => 'Pagaments',
+ 'Phone' => 'Tel',
+ 'Post' => 'Post',
+ 'Post as new' => 'Post as new',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Preu',
+ 'Printer' => 'Impressora',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Purchase Order' => 'Ordre de Compra',
+ 'Qty' => 'Quantitat',
+ 'Recd' => 'Recd',
+ 'Record in' => 'Registar en',
+ 'Required by' => 'Soliciat per',
+ 'Sales Order' => 'Pressupost',
+ 'Screen' => 'Pantalla',
+ 'Select from one of the items below' => 'Seleccionar d\'un dels elements de sota',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sep' => 'Set',
+ 'September' => 'Setembre',
+ 'Service' => 'Servei',
+ 'Ship' => 'Ship',
+ 'Ship to' => 'Ship to',
+ 'Source' => 'Font',
+ 'Subject' => 'Subject',
+ 'Subtotal' => 'Subtotal',
+ 'Tax Included' => 'Impostos Inclosos',
+ 'To' => 'Fins',
+ 'Total' => 'Total',
+ 'Unit' => 'Unitat',
+ 'Update' => 'Update',
+ 'Vendor' => 'Proveïdor',
+ 'Vendor missing!' => 'Vendor missing!',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'What type of item is this?' => 'Quin tipus d\'element és?',
+ 'Yes' => 'Sí',
+ 'ea' => 'unit.',
+ 'emailed to' => 'emailejat a',
+ 'sent to printer' => 'enviat a impressora',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'continuar' => 'continue',
+ 'esborrar' => 'delete',
+ 'ordre' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'update' => 'update',
+ 'sí' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/ct/is b/sql-ledger/locale/ct/is
new file mode 100644
index 0000000..7afaebb
--- /dev/null
+++ b/sql-ledger/locale/ct/is
@@ -0,0 +1,185 @@
+$self{texts} = {
+ 'Account' => 'Compta',
+ 'Add Purchase Order' => 'Afegir Ordre Compra',
+ 'Add Sales Invoice' => 'Add Sales Invoice',
+ 'Add Sales Order' => 'Afegir Pressupost',
+ 'Address' => 'Adreça',
+ 'Amount' => 'Total',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Are you sure you want to delete Invoice Number' => 'Segur que voleu esborrar la Fra. Num.',
+ 'Attachment' => 'Adjunt',
+ 'Aug' => 'Ago',
+ 'August' => 'Agost',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Bin',
+ 'Cannot delete invoice!' => 'Cannot delete invoice!',
+ 'Cannot post invoice for a closed period!' => 'Cannot post invoice for a closed period!',
+ 'Cannot post invoice!' => 'Cannot post invoice!',
+ 'Cannot post payment for a closed period!' => 'Cannot post payment for a closed period!',
+ 'Cc' => 'Cc',
+ 'Confirm!' => 'Confirmar!',
+ 'Contact' => 'Contacte',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Còpies',
+ 'Credit Limit' => 'Límit de Crèdit',
+ 'Currency' => 'Moneda',
+ 'Customer' => 'Client',
+ 'Customer missing!' => 'Customer missing!',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'Data',
+ 'Date Due' => 'Data Venciment',
+ 'Dec' => 'Des',
+ 'December' => 'Desembre',
+ 'Delete' => 'Esborrar',
+ 'Delivery Date' => 'Delivery Date',
+ 'Description' => 'Descripció',
+ 'E-mail' => 'Email',
+ 'E-mail address missing!' => 'Falta Email!',
+ 'Edit Sales Invoice' => 'Edit Sales Invoice',
+ 'Exch' => 'Canvi',
+ 'Exchangerate' => 'Taxa de Canvi',
+ 'Exchangerate for payment missing!' => 'Exchangerate for payment missing!',
+ 'Exchangerate missing!' => 'Exchangerate missing!',
+ 'Extended' => 'Extended',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrer',
+ 'In-line' => 'Afegit',
+ 'Invoice' => 'Factura',
+ 'Invoice Date' => 'Data Fra.',
+ 'Invoice Date missing!' => 'Falta Data Fra.!',
+ 'Invoice Number' => 'Núm Fra.',
+ 'Invoice Number missing!' => 'Falta Núm Fra.!',
+ 'Invoice deleted!' => 'Invoice deleted!',
+ 'Invoice posted!' => 'Invoice posted!',
+ 'Item not on file!' => 'No es troba cap arxiu amb aquest element!',
+ 'Jan' => 'Gen',
+ 'January' => 'Gener',
+ 'Jul' => 'Jul',
+ 'July' => 'Juliol',
+ 'Jun' => 'Jun',
+ 'June' => 'Juny',
+ 'Mar' => 'Mar',
+ 'March' => 'Març',
+ 'May' => 'Mai',
+ 'May ' => 'Maig',
+ 'Message' => 'Message',
+ 'Name' => 'Nom',
+ 'No.' => 'No.',
+ 'Notes' => 'Notes',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembre',
+ 'Number' => 'Número',
+ 'Number missing in Row' => 'Falta en número en la fila',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'Order' => 'Ordre',
+ 'Order Date missing!' => 'Falta Data Ordre!',
+ 'Order Number' => 'Número Ordre',
+ 'Order Number missing!' => 'Falta Número Ordre!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Albarà',
+ 'Packing List Date missing!' => 'Falta Data Albarà!',
+ 'Packing List Number missing!' => 'Falta Número Albarà!',
+ 'Part' => 'Article',
+ 'Payment date missing!' => 'Falta Data Pagament!',
+ 'Payments' => 'Pagaments',
+ 'Phone' => 'Tel',
+ 'Post' => 'Post',
+ 'Post as new' => 'Post as new',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Preu',
+ 'Print' => 'Print',
+ 'Printer' => 'Impressora',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Purchase Order' => 'Ordre de Compra',
+ 'Qty' => 'Quantitat',
+ 'Recd' => 'Recd',
+ 'Record in' => 'Registar en',
+ 'Remaining' => 'Remanent',
+ 'Required by' => 'Soliciat per',
+ 'Sales Order' => 'Pressupost',
+ 'Screen' => 'Pantalla',
+ 'Select from one of the items below' => 'Seleccionar d\'un dels elements de sota',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sep' => 'Set',
+ 'September' => 'Setembre',
+ 'Service' => 'Servei',
+ 'Ship' => 'Ship',
+ 'Ship to' => 'Ship to',
+ 'Ship via' => 'Ship via',
+ 'Source' => 'Font',
+ 'Subject' => 'Subject',
+ 'Subtotal' => 'Subtotal',
+ 'Tax Included' => 'Impostos Inclosos',
+ 'To' => 'Fins',
+ 'Total' => 'Total',
+ 'Unit' => 'Unitat',
+ 'Update' => 'Update',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'What type of item is this?' => 'Quin tipus d\'element és?',
+ 'Yes' => 'Sí',
+ 'ea' => 'unit.',
+ 'emailed to' => 'emailejat a',
+ 'sent to printer' => 'enviat a impressora',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'continuar' => 'continue',
+ 'esborrar' => 'delete',
+ 'email' => 'e_mail',
+ 'ordre' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'sí' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/ct/login b/sql-ledger/locale/ct/login
new file mode 100644
index 0000000..09baae0
--- /dev/null
+++ b/sql-ledger/locale/ct/login
@@ -0,0 +1,28 @@
+$self{texts} = {
+ 'About' => 'Referent',
+ 'Accounting' => 'Comptabilitat',
+ 'Database Host' => 'Servidor Base de Dades',
+ 'Dataset' => 'Conjunt de Dades',
+ 'Incorrect Dataset version!' => 'Versió Incorrecta del Conjunt de Dades!',
+ 'Incorrect Password!' => 'Contrasenya no Vàlida!',
+ 'Licensed to' => 'Adaptat per',
+ 'Login' => 'Entrar',
+ 'Name' => 'Nom',
+ 'Password' => 'Contrasenya',
+ 'User' => 'Usuari',
+ 'Version' => 'Versió',
+ 'You are logged out!' => 'You are logged out!',
+ 'You did not enter a name!' => 'No heu entrat cap nom!',
+ 'is not a member!' => 'no és membre!',
+ 'localhost' => 'màquina local',
+};
+
+$self{subs} = {
+ 'company_logo' => 'company_logo',
+ 'login' => 'login',
+ 'login_screen' => 'login_screen',
+ 'logout' => 'logout',
+ 'entrar' => 'login',
+};
+
+1;
diff --git a/sql-ledger/locale/ct/menu b/sql-ledger/locale/ct/menu
new file mode 100644
index 0000000..4defaf1
--- /dev/null
+++ b/sql-ledger/locale/ct/menu
@@ -0,0 +1,72 @@
+$self{texts} = {
+ 'AP' => 'Despeses',
+ 'AP Aging' => 'Diari de Despeses',
+ 'AR' => 'Ingressos',
+ 'AR Aging' => 'Diari d\'Ingressos',
+ 'Accounting Menu' => 'Menú Comptable',
+ 'Add Account' => 'Afegir Compta',
+ 'Add Assembly' => 'Afegir Compost',
+ 'Add Customer' => 'Afegir Client',
+ 'Add GIFI' => 'Add GIFI',
+ 'Add Part' => 'Afegir Article',
+ 'Add Project' => 'Add Project',
+ 'Add Service' => 'Afegir Servei',
+ 'Add Transaction' => 'Afegir Transacció',
+ 'Add Vendor' => 'Afegir Proveïdor',
+ 'Assemblies' => 'Compostos',
+ 'Audit Control' => 'Control Auditoria',
+ 'Backup' => 'Còpia de Seguretat',
+ 'Balance Sheet' => 'Fulla de Balanç',
+ 'Cash' => 'Cash',
+ 'Chart of Accounts' => 'Taula de Comptes',
+ 'Check' => 'Check',
+ 'Customers' => 'Customers',
+ 'General Ledger' => 'Llibre Major',
+ 'Goods & Services' => 'Bèns i Serveis',
+ 'HTML Templates' => 'Plantilles HTML',
+ 'Income Statement' => 'Balanç Situació',
+ 'Invoice' => 'Factura',
+ 'LaTeX Templates' => 'Plantilles LaTeX',
+ 'List Accounts' => 'Llistar Comptes',
+ 'List GIFI' => 'List GIFI',
+ 'Logout' => 'Desconnectar',
+ 'Order Entry' => 'Pressupostos i Comandes',
+ 'Packing List' => 'Albarà',
+ 'Parts' => 'Articles',
+ 'Payment' => 'Pagament',
+ 'Payments' => 'Pagaments',
+ 'Preferences' => 'Preferències',
+ 'Projects' => 'Projects',
+ 'Purchase Invoice' => 'Purchase Invoice',
+ 'Purchase Order' => 'Ordre de Compra',
+ 'Purchase Orders' => 'Ordres de Compra',
+ 'Receipt' => 'Receipt',
+ 'Receipts' => 'Receipts',
+ 'Reconciliation' => 'Reconciliation',
+ 'Reports' => 'Informes',
+ 'Sales Invoice' => 'Sales Invoice',
+ 'Sales Order' => 'Pressupost',
+ 'Sales Orders' => 'Pressupostos',
+ 'Save to File' => 'Guardar a Fitxer',
+ 'Send by E-Mail' => 'Enviar per Email',
+ 'Services' => 'Serveis',
+ 'Statement' => 'Statement',
+ 'Stock Assembly' => 'Inventari Compost',
+ 'Stylesheet' => 'Fulla Estils',
+ 'System' => 'Sistema',
+ 'Tax collected' => 'Tax collected',
+ 'Tax paid' => 'Tax paid',
+ 'Transactions' => 'Transaccions',
+ 'Trial Balance' => 'Balanç de Comprovació',
+ 'Vendors' => 'Vendors',
+ 'Version' => 'Versió',
+ 'localhost' => 'màquina local',
+};
+
+$self{subs} = {
+ 'acc_menu' => 'acc_menu',
+ 'display' => 'display',
+ 'section_menu' => 'section_menu',
+};
+
+1;
diff --git a/sql-ledger/locale/ct/oe b/sql-ledger/locale/ct/oe
new file mode 100644
index 0000000..951fd1b
--- /dev/null
+++ b/sql-ledger/locale/ct/oe
@@ -0,0 +1,199 @@
+$self{texts} = {
+ 'Add' => 'Afegir',
+ 'Add Purchase Invoice' => 'Add Purchase Invoice',
+ 'Add Purchase Order' => 'Afegir Ordre Compra',
+ 'Add Sales Invoice' => 'Add Sales Invoice',
+ 'Add Sales Order' => 'Afegir Pressupost',
+ 'Address' => 'Adreça',
+ 'Amount' => 'Total',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Are you sure you want to delete Order Number' => 'Segur que voleu esborrar l\'Ordre',
+ 'Attachment' => 'Adjunt',
+ 'Aug' => 'Ago',
+ 'August' => 'Agost',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Bin',
+ 'C' => 'C',
+ 'Cannot delete order!' => 'Cannot delete order!',
+ 'Cannot save order!' => 'Cannot save order!',
+ 'Cc' => 'Cc',
+ 'Closed' => 'Tancat',
+ 'Confirm!' => 'Confirmar!',
+ 'Contact' => 'Contacte',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Còpies',
+ 'Credit Limit' => 'Límit de Crèdit',
+ 'Curr' => 'Curr',
+ 'Currency' => 'Moneda',
+ 'Customer' => 'Client',
+ 'Customer missing!' => 'Customer missing!',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'Data',
+ 'Dec' => 'Des',
+ 'December' => 'Desembre',
+ 'Delete' => 'Esborrar',
+ 'Delivery Date' => 'Delivery Date',
+ 'Description' => 'Descripció',
+ 'E-mail' => 'Email',
+ 'E-mail address missing!' => 'Falta Email!',
+ 'Edit Purchase Order' => 'Editar Ordre Compra',
+ 'Edit Sales Order' => 'Editar Pressupost',
+ 'Exchangerate' => 'Taxa de Canvi',
+ 'Exchangerate missing!' => 'Exchangerate missing!',
+ 'Extended' => 'Extended',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrer',
+ 'From' => 'De',
+ 'ID' => 'ID',
+ 'In-line' => 'Afegit',
+ 'Include in Report' => 'Incloure en l\'Informe',
+ 'Invoice' => 'Factura',
+ 'Invoice Date missing!' => 'Falta Data Fra.!',
+ 'Invoice Number missing!' => 'Falta Núm Fra.!',
+ 'Item not on file!' => 'No es troba cap arxiu amb aquest element!',
+ 'Jan' => 'Gen',
+ 'January' => 'Gener',
+ 'Jul' => 'Jul',
+ 'July' => 'Juliol',
+ 'Jun' => 'Jun',
+ 'June' => 'Juny',
+ 'Mar' => 'Mar',
+ 'March' => 'Març',
+ 'May' => 'Mai',
+ 'May ' => 'Maig',
+ 'Message' => 'Message',
+ 'Name' => 'Nom',
+ 'No.' => 'No.',
+ 'Notes' => 'Notes',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembre',
+ 'Number' => 'Número',
+ 'Number missing in Row' => 'Falta en número en la fila',
+ 'O' => 'O',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'Open' => 'Obert',
+ 'Order' => 'Ordre',
+ 'Order Date' => 'Data Ordre',
+ 'Order Date missing!' => 'Falta Data Ordre!',
+ 'Order Number' => 'Número Ordre',
+ 'Order Number missing!' => 'Falta Número Ordre!',
+ 'Order deleted!' => 'Order deleted!',
+ 'Order saved!' => 'Order saved!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Albarà',
+ 'Packing List Date missing!' => 'Falta Data Albarà!',
+ 'Packing List Number missing!' => 'Falta Número Albarà!',
+ 'Part' => 'Article',
+ 'Phone' => 'Tel',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Preu',
+ 'Print' => 'Print',
+ 'Printer' => 'Impressora',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Purchase Order' => 'Ordre de Compra',
+ 'Purchase Orders' => 'Ordres de Compra',
+ 'Qty' => 'Quantitat',
+ 'Recd' => 'Recd',
+ 'Remaining' => 'Remanent',
+ 'Required by' => 'Soliciat per',
+ 'Sales Order' => 'Pressupost',
+ 'Sales Orders' => 'Pressupostos',
+ 'Save' => 'Guardar',
+ 'Save as new' => 'Save as new',
+ 'Screen' => 'Pantalla',
+ 'Select from one of the items below' => 'Seleccionar d\'un dels elements de sota',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sep' => 'Set',
+ 'September' => 'Setembre',
+ 'Service' => 'Servei',
+ 'Ship' => 'Ship',
+ 'Ship to' => 'Ship to',
+ 'Ship via' => 'Ship via',
+ 'Subject' => 'Subject',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'Impost',
+ 'Tax Included' => 'Impostos Inclosos',
+ 'Terms: Net' => 'Terms:Net',
+ 'To' => 'Fins',
+ 'Total' => 'Total',
+ 'Unit' => 'Unitat',
+ 'Update' => 'Update',
+ 'Vendor' => 'Proveïdor',
+ 'Vendor missing!' => 'Vendor missing!',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'What type of item is this?' => 'Quin tipus d\'element és?',
+ 'Yes' => 'Sí',
+ 'days' => 'dies',
+ 'ea' => 'unit.',
+ 'emailed to' => 'emailejat a',
+ 'sent to printer' => 'enviat a impressora',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_backorder' => 'create_backorder',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice' => 'invoice',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'order_links' => 'order_links',
+ 'orders' => 'orders',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_order' => 'prepare_order',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'save' => 'save',
+ 'save_as_new' => 'save_as_new',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'subtotal' => 'subtotal',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'afegir' => 'add',
+ 'continuar' => 'continue',
+ 'esborrar' => 'delete',
+ 'email' => 'e_mail',
+ 'factura' => 'invoice',
+ 'print' => 'print',
+ 'guardar' => 'save',
+ 'save_as_new' => 'save_as_new',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'sí' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/ct/pe b/sql-ledger/locale/ct/pe
new file mode 100644
index 0000000..01856d5
--- /dev/null
+++ b/sql-ledger/locale/ct/pe
@@ -0,0 +1,35 @@
+$self{texts} = {
+ 'Add' => 'Afegir',
+ 'Add Project' => 'Add Project',
+ 'All' => 'Tots',
+ 'Continue' => 'Continuar',
+ 'Delete' => 'Esborrar',
+ 'Description' => 'Descripció',
+ 'Edit Project' => 'Edit Project',
+ 'Number' => 'Número',
+ 'Orphaned' => 'Orfe',
+ 'Project' => 'Project',
+ 'Project Number missing!' => 'Project Number missing!',
+ 'Project deleted!' => 'Project deleted!',
+ 'Project saved!' => 'Project saved!',
+ 'Projects' => 'Projects',
+ 'Save' => 'Guardar',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'afegir' => 'add',
+ 'continuar' => 'continue',
+ 'esborrar' => 'delete',
+ 'guardar' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/ct/rc b/sql-ledger/locale/ct/rc
new file mode 100644
index 0000000..8b6112c
--- /dev/null
+++ b/sql-ledger/locale/ct/rc
@@ -0,0 +1,37 @@
+$self{texts} = {
+ 'Account' => 'Compta',
+ 'Balance' => 'Balance',
+ 'Cleared Balance' => 'Cleared Balance',
+ 'Continue' => 'Continuar',
+ 'Date' => 'Data',
+ 'Deposit' => 'Deposit',
+ 'Description' => 'Descripció',
+ 'Difference' => 'Difference',
+ 'Done' => 'Done',
+ 'Exchangerate Difference' => 'Exchangerate Difference',
+ 'From' => 'De',
+ 'Out of balance!' => 'Out of balance!',
+ 'Payment' => 'Pagament',
+ 'Reconciliation' => 'Reconciliation',
+ 'Select all' => 'Select all',
+ 'Source' => 'Font',
+ 'Statement Balance' => 'Statement Balance',
+ 'To' => 'Fins',
+ 'Update' => 'Update',
+};
+
+$self{subs} = {
+ 'continue' => 'continue',
+ 'display_form' => 'display_form',
+ 'done' => 'done',
+ 'get_payments' => 'get_payments',
+ 'reconciliation' => 'reconciliation',
+ 'select_all' => 'select_all',
+ 'update' => 'update',
+ 'continuar' => 'continue',
+ 'done' => 'done',
+ 'select_all' => 'select_all',
+ 'update' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/ct/rp b/sql-ledger/locale/ct/rp
new file mode 100644
index 0000000..75eff42
--- /dev/null
+++ b/sql-ledger/locale/ct/rp
@@ -0,0 +1,117 @@
+$self{texts} = {
+ 'AP Aging' => 'Diari de Despeses',
+ 'AR Aging' => 'Diari d\'Ingressos',
+ 'Account' => 'Compta',
+ 'Accounts' => 'Accounts',
+ 'Amount' => 'Total',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Attachment' => 'Adjunt',
+ 'Aug' => 'Ago',
+ 'August' => 'Agost',
+ 'Balance Sheet' => 'Fulla de Balanç',
+ 'Bcc' => 'Bcc',
+ 'Cash based' => 'Cash based',
+ 'Cc' => 'Cc',
+ 'Compare to' => 'Comparar amb',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Còpies',
+ 'Credit' => 'Crèdit',
+ 'Current' => 'Current',
+ 'Customer' => 'Client',
+ 'Date' => 'Data',
+ 'Debit' => 'Dèbit',
+ 'Dec' => 'Des',
+ 'December' => 'Desembre',
+ 'Decimalplaces' => 'Decimalplaces',
+ 'Description' => 'Descripció',
+ 'Due' => 'Venciment',
+ 'E-mail' => 'Email',
+ 'E-mail Statement to' => 'E-mail Statement to',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrer',
+ 'From' => 'De',
+ 'GIFI' => 'GIFI',
+ 'Heading' => 'Capçalera',
+ 'ID' => 'ID',
+ 'In-line' => 'Afegit',
+ 'Include in Report' => 'Incloure en l\'Informe',
+ 'Income Statement' => 'Balanç Situació',
+ 'Invoice' => 'Factura',
+ 'Jan' => 'Gen',
+ 'January' => 'Gener',
+ 'Jul' => 'Jul',
+ 'July' => 'Juliol',
+ 'Jun' => 'Jun',
+ 'June' => 'Juny',
+ 'Mar' => 'Mar',
+ 'March' => 'Març',
+ 'May' => 'Mai',
+ 'May ' => 'Maig',
+ 'Message' => 'Message',
+ 'N/A' => 'N/A',
+ 'Nothing selected!' => 'Nothing selected!',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembre',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'PDF' => 'PDF',
+ 'Payments' => 'Pagaments',
+ 'Postscript' => 'Postscript',
+ 'Print' => 'Print',
+ 'Printer' => 'Impressora',
+ 'Receipts' => 'Receipts',
+ 'Report for' => 'Registrar per',
+ 'Retained Earnings' => 'Guanys Retinguts',
+ 'Screen' => 'Pantalla',
+ 'Select all' => 'Select all',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sep' => 'Set',
+ 'September' => 'Setembre',
+ 'Source' => 'Font',
+ 'Standard' => 'Standard',
+ 'Statement' => 'Statement',
+ 'Statement sent to' => 'Statement sent to',
+ 'Statements sent to printer!' => 'Statements sent to printer!',
+ 'Subject' => 'Subject',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'Impost',
+ 'Tax collected' => 'Tax collected',
+ 'Tax paid' => 'Tax paid',
+ 'To' => 'Fins',
+ 'Total' => 'Total',
+ 'Trial Balance' => 'Balanç de Comprovació',
+ 'Vendor' => 'Proveïdor',
+ 'as at' => 'as at',
+ 'collected on sales' => 'recollit en vendes',
+ 'for Period' => 'pel període',
+ 'paid on purchases' => 'pagat al comprat',
+ 'to' => 'to',
+};
+
+$self{subs} = {
+ 'aging' => 'aging',
+ 'continue' => 'continue',
+ 'e_mail' => 'e_mail',
+ 'generate_ap_aging' => 'generate_ap_aging',
+ 'generate_ar_aging' => 'generate_ar_aging',
+ 'generate_balance_sheet' => 'generate_balance_sheet',
+ 'generate_income_statement' => 'generate_income_statement',
+ 'generate_tax_report' => 'generate_tax_report',
+ 'generate_trial_balance' => 'generate_trial_balance',
+ 'list_payments' => 'list_payments',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'report' => 'report',
+ 'select_all' => 'select_all',
+ 'send_email' => 'send_email',
+ 'statement_details' => 'statement_details',
+ 'tax_subtotal' => 'tax_subtotal',
+ 'continuar' => 'continue',
+ 'email' => 'e_mail',
+ 'print' => 'print',
+ 'select_all' => 'select_all',
+};
+
+1;
diff --git a/sql-ledger/locale/cz/COPYING b/sql-ledger/locale/cz/COPYING
new file mode 100644
index 0000000..64c58a2
--- /dev/null
+++ b/sql-ledger/locale/cz/COPYING
@@ -0,0 +1,23 @@
+######################################################################
+# SQL-Ledger Accounting
+# Copyright (c) 2001
+#
+# Czech texts:
+#
+# Author: Tomas Fencl <tomas.fencl@centrum.cz>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+#######################################################################
+
diff --git a/sql-ledger/locale/cz/LANGUAGE b/sql-ledger/locale/cz/LANGUAGE
new file mode 100644
index 0000000..618b7f5
--- /dev/null
+++ b/sql-ledger/locale/cz/LANGUAGE
@@ -0,0 +1 @@
+Czech
diff --git a/sql-ledger/locale/cz/admin b/sql-ledger/locale/cz/admin
new file mode 100644
index 0000000..4a238b5
--- /dev/null
+++ b/sql-ledger/locale/cz/admin
@@ -0,0 +1,122 @@
+$self{texts} = {
+ 'Access Control' => 'Pøístupová práva',
+ 'Accounting' => 'Úèetnictví',
+ 'Add User' => 'Nový u¾ivatel',
+ 'Address' => 'Adresa',
+ 'Administration' => 'Administrace',
+ 'Administrator' => 'Administrator',
+ 'All Datasets up to date!' => 'V¹echna data jsou aktualizována',
+ 'Change Admin Password' => 'Zmìnit heslo administrátora',
+ 'Change Password' => 'Zmìnit heslo',
+ 'Character Set' => 'Znaková sada',
+ 'Click on login name to edit!' => 'Pro úpravy kliknìte na jméno u¾ivatele',
+ 'Company' => 'Firma',
+ 'Connect to' => 'Pøipojit k serveru',
+ 'Continue' => 'Pokraèování',
+ 'Create Chart of Accounts' => 'Vytvoøit úètový rozvrh',
+ 'Create Dataset' => 'Vytvoøit dataset',
+ 'DBI not installed!' => 'DBI není nainstalováno',
+ 'Database' => 'Databáze',
+ 'Database Administration' => 'Správa databáze',
+ 'Database Driver not checked!' => 'Nepodaøilo se zkontrolovat ovladaè databáze',
+ 'Database User missing!' => 'Chybí jméno pro pøihlá¹ení k databázi!',
+ 'Dataset' => 'Dataset',
+ 'Dataset missing!' => 'Není zadán dataset',
+ 'Dataset updated!' => 'Dataset updated!',
+ 'Date Format' => 'Formát data',
+ 'Delete' => 'Vymazat',
+ 'Delete Dataset' => 'Zru¹it dataset',
+ 'Directory' => 'Adresáø',
+ 'Driver' => 'Øidiè',
+ 'Dropdown Limit' => 'Dropdown Limit',
+ 'E-mail' => 'E-mail',
+ 'Edit User' => 'Upravit u¾ivatele',
+ 'Existing Datasets' => 'Datasety',
+ 'Fax' => 'Fax',
+ 'Host' => 'Server',
+ 'Hostname missing!' => 'Chybí jméno serveru!',
+ 'Incorrect Password!' => 'Nesprávné heslo!',
+ 'Language' => 'Jazyk',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Pro lokální databázi, nezadávejte adresu serveru a port.',
+ 'Login' => 'U¾ivatelské jméno',
+ 'Name' => 'Jméno',
+ 'New Templates' => 'Nové ¹ablony',
+ 'No Database Drivers available!' => 'Není instalován ¾ádný ovladaè databáze!',
+ 'No Dataset selected!' => 'Není zvolen ¾ádný dataset!',
+ 'Nothing to delete!' => 'Nejsou polo¾ky k vymazání!',
+ 'Number Format' => 'Èíselný formát',
+ 'Oracle Database Administration' => 'Oracle Správa databáze',
+ 'Password' => 'Heslo',
+ 'Password changed!' => 'Password changed!',
+ 'Pg Database Administration' => 'Pg Správa databáze',
+ 'Phone' => 'Telefon',
+ 'Port' => 'Port',
+ 'Port missing!' => 'Chybí èíslo portu!',
+ 'Printer' => 'Tiskárna',
+ 'Save' => 'Ulo¾it',
+ 'Select a Dataset to delete and press "Continue"' => 'Zvolte dataset, který chcete vymazat a stisknìte "Pokraèovat"',
+ 'Setup Templates' => 'Nastavení ¹ablon',
+ 'Ship via' => 'Ship via',
+ 'Signature' => 'Podpis',
+ 'Stylesheet' => 'Stylesheet',
+ 'Templates' => '©ablony',
+ 'The following Datasets are not in use and can be deleted' => 'Uvedené datasety nejsou vyu¾ívány a mohou být vymazány',
+ 'The following Datasets need to be updated' => 'Následující data musí být aktualizována',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'Toto je pøedbì¾ná kontrola existence zdrojových dokumentù. V této fázi nebude databáze aktualizována.',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'Pro pøidání u¾ivatele do skupiny otevøete existujícího u¾ivatele a ulo¾te jej s jiným u¾ivatelským jménem. Nový u¾ivatel bude vytvoøen s toto¾ným nastavením v¹ech promìnných.',
+ 'Update Dataset' => 'Aktualizovat data',
+ 'Use Templates' => 'Vyu¾ít ¹ablony',
+ 'User' => 'U¾ivatel',
+ 'User deleted!' => 'User deleted!',
+ 'User saved!' => 'User saved!',
+ 'Version' => 'Verze',
+ 'You must enter a host and port for local and remote connections!' => 'Pro lokální i vzdálené pøipojení je nutné zadat adresu serveru a port!',
+ 'does not exist' => 'neexistuje',
+ 'is already a member!' => 'ji¾ existuje!',
+ 'localhost' => 'lokální server',
+ 'successfully created!' => 'úspì¹nì vytvoøen!',
+ 'successfully deleted!' => 'úspì¹nì smazán!',
+ 'website' => 'www adresa',
+};
+
+$self{subs} = {
+ 'add_user' => 'add_user',
+ 'adminlogin' => 'adminlogin',
+ 'change_admin_password' => 'change_admin_password',
+ 'change_password' => 'change_password',
+ 'check_password' => 'check_password',
+ 'continue' => 'continue',
+ 'create_dataset' => 'create_dataset',
+ 'dbcreate' => 'dbcreate',
+ 'dbdelete' => 'dbdelete',
+ 'dbdriver_defaults' => 'dbdriver_defaults',
+ 'dbselect_source' => 'dbselect_source',
+ 'dbupdate' => 'dbupdate',
+ 'delete' => 'delete',
+ 'delete_dataset' => 'delete_dataset',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'get_value' => 'get_value',
+ 'list_users' => 'list_users',
+ 'login' => 'login',
+ 'login_name' => 'login_name',
+ 'oracle_database_administration' => 'oracle_database_administration',
+ 'pg_database_administration' => 'pg_database_administration',
+ 'save' => 'save',
+ 'update_dataset' => 'update_dataset',
+ 'nový_u¾ivatel' => 'add_user',
+ 'zmìnit_heslo_administrátora' => 'change_admin_password',
+ 'zmìnit_heslo' => 'change_password',
+ 'pokraèování' => 'continue',
+ 'vytvoøit_dataset' => 'create_dataset',
+ 'vymazat' => 'delete',
+ 'zru¹it_dataset' => 'delete_dataset',
+ 'u¾ivatelské_jméno' => 'login',
+ 'oracle_správa_databáze' => 'oracle_database_administration',
+ 'pg_správa_databáze' => 'pg_database_administration',
+ 'ulo¾it' => 'save',
+ 'aktualizovat_data' => 'update_dataset',
+};
+
+1;
diff --git a/sql-ledger/locale/cz/all b/sql-ledger/locale/cz/all
new file mode 100644
index 0000000..71704c1
--- /dev/null
+++ b/sql-ledger/locale/cz/all
@@ -0,0 +1,487 @@
+# These are all the texts to build the translations files.
+# The file has the form of 'english text' => 'foreign text',
+# you can add the translation in this file or in the 'missing' file
+# run locales.pl from this directory to rebuild the translation files
+
+$self{texts} = {
+ 'AP' => 'Závazky',
+ 'AP Aging' => 'Analýza splatnosti',
+ 'AP Transaction' => '',
+ 'AP Transactions' => 'Faktury pøijaté',
+ 'AR' => 'Pohledávky',
+ 'AR Aging' => 'Analýza splatnosti',
+ 'AR Transaction' => '',
+ 'AR Transactions' => 'Faktury vydané',
+ 'About' => 'O programu',
+ 'Access Control' => 'Pøístupová práva',
+ 'Account' => 'Úèet',
+ 'Account Number' => 'Èíslo úètu',
+ 'Account Number missing!' => 'Chybí èíslo úètu!',
+ 'Account Type' => 'Typ úètu',
+ 'Account Type missing!' => 'Chybí typ úètu!',
+ 'Account deleted!' => '',
+ 'Account saved!' => '',
+ 'Accounting' => 'Úèetnictví',
+ 'Accounting Menu' => 'Menu úèetnictví',
+ 'Accounts' => 'Úèty',
+ 'Active' => '',
+ 'Add' => 'Pøidat',
+ 'Add Account' => 'Zalo¾it úèet',
+ 'Add Accounts Payables Transaction' => '',
+ 'Add Accounts Receivables Transaction' => '',
+ 'Add Assembly' => 'Nový výrobek',
+ 'Add Customer' => 'Nový zákazník',
+ 'Add GIFI' => 'Doplnit úètovací øetìzec',
+ 'Add General Ledger Transaction' => 'Nový zápis do hlavní knihy',
+ 'Add Part' => 'Pøíjem zbo¾í',
+ 'Add Project' => '',
+ 'Add Purchase Invoice' => '',
+ 'Add Purchase Order' => 'Nová objednávka (nákup)',
+ 'Add Sales Invoice' => '',
+ 'Add Sales Order' => 'Nová objednávka (pøíjem)',
+ 'Add Service' => 'Nový druh slu¾by',
+ 'Add Transaction' => 'Nová transakce',
+ 'Add User' => 'Nový u¾ivatel',
+ 'Add Vendor' => 'Nový dodavatel',
+ 'Address' => 'Adresa',
+ 'Administration' => 'Administrace',
+ 'Administrator' => '',
+ 'All' => 'V¹e',
+ 'All Datasets up to date!' => 'V¹echna data jsou aktualizována',
+ 'Amount' => 'Èástka',
+ 'Amount Due' => '',
+ 'Amount does not equal applied!' => '',
+ 'Amount missing!' => '',
+ 'Applied' => '',
+ 'Apr' => 'Dub',
+ 'April' => 'Duben',
+ 'Are you sure you want to delete Invoice Number' => 'Opravdu chcete vymazat fakturu èíslo',
+ 'Are you sure you want to delete Order Number' => 'Opravdu chcete vymazat objednávku èíslo',
+ 'Are you sure you want to delete Transaction' => 'Opravdu chcete vymazat transakci?',
+ 'Assemblies' => 'Výrobky',
+ 'Assemblies restocked!' => '',
+ 'Assembly Number missing!' => 'Chybí èíslo výrobku',
+ 'Asset' => 'Aktiva',
+ 'Attachment' => 'Pøílohy',
+ 'Audit Control' => 'Kontrola pøístupù',
+ 'Aug' => 'Srp',
+ 'August' => 'Srpen',
+ 'BOM' => '',
+ 'Backup' => 'Záloha',
+ 'Backup sent to' => 'Záloha odeslána na adresu',
+ 'Balance' => '',
+ 'Balance Sheet' => 'Rozvaha',
+ 'Bcc' => '',
+ 'Bin' => 'Paleta',
+ 'Books are open' => '¡Uèetní knihy jsou otevøeny',
+ 'Bought' => 'Nakoupeno',
+ 'Business Number' => 'IÈO',
+ 'C' => '',
+ 'COGS' => 'Náklady na prodané zbo¾í',
+ 'Cannot delete account!' => '',
+ 'Cannot delete customer!' => '',
+ 'Cannot delete default account!' => 'Úèet je nastaven jako defaultní, nelze jej proto vymamazat!',
+ 'Cannot delete invoice!' => '',
+ 'Cannot delete item already invoiced!' => 'Ji¾ fakturované polo¾ky nelze vymazat!',
+ 'Cannot delete item on order!' => 'Polo¾ku objednávky nelze vymazat!',
+ 'Cannot delete item which is part of an assembly!' => 'Nelze vymazat polo¾ku, která je souèástí výrobku!',
+ 'Cannot delete item!' => '',
+ 'Cannot delete order!' => '',
+ 'Cannot delete transaction!' => '',
+ 'Cannot delete vendor!' => '',
+ 'Cannot have a value in both Debit and Credit!' => 'Nelze úètovat souèasnì Má dáti i Dal!',
+ 'Cannot post a transaction without a value!' => '',
+ 'Cannot post invoice for a closed period!' => '',
+ 'Cannot post invoice!' => '',
+ 'Cannot post payment for a closed period!' => '',
+ 'Cannot post payment!' => '',
+ 'Cannot post transaction for a closed period!' => 'Do uzavøeného období nelze úètovat!',
+ 'Cannot post transaction!' => '',
+ 'Cannot process payment for a closed period!' => '',
+ 'Cannot save account!' => '',
+ 'Cannot save order!' => '',
+ 'Cannot save preferences!' => '',
+ 'Cannot stock assemblies!' => '',
+ 'Cash' => '',
+ 'Cash based' => '',
+ 'Cc' => '',
+ 'Change Admin Password' => 'Zmìnit heslo administrátora',
+ 'Change Password' => 'Zmìnit heslo',
+ 'Character Set' => 'Znaková sada',
+ 'Chart of Accounts' => 'Úètový rozvrh',
+ 'Check' => '',
+ 'Check printed!' => '',
+ 'Check printing failed!' => '',
+ 'Cleared Balance' => '',
+ 'Click on login name to edit!' => 'Pro úpravy kliknìte na jméno u¾ivatele',
+ 'Close Books up to' => 'Uzavøít úèetní knihy do',
+ 'Closed' => 'Zaplaceno',
+ 'Company' => 'Firma',
+ 'Compare to' => 'Porovnáno k',
+ 'Confirm!' => 'Podtvrïte!',
+ 'Connect to' => 'Pøipojit k serveru',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Pokraèování',
+ 'Copies' => 'Kopie',
+ 'Copy to COA' => 'Zkopírovat do úètového rozvrhu',
+ 'Create Chart of Accounts' => 'Vytvoøit úètový rozvrh',
+ 'Create Dataset' => 'Vytvoøit dataset',
+ 'Credit' => 'Dal',
+ 'Credit Limit' => 'Úvìrový limit',
+ 'Curr' => 'Mìna',
+ 'Currency' => 'Mìna',
+ 'Current' => '',
+ 'Customer' => 'Odbìratel',
+ 'Customer deleted!' => '',
+ 'Customer missing!' => '',
+ 'Customer not on file!' => '',
+ 'Customer saved!' => '',
+ 'Customers' => '',
+ 'DBI not installed!' => 'DBI není nainstalováno',
+ 'Database' => 'Databáze',
+ 'Database Administration' => 'Správa databáze',
+ 'Database Driver not checked!' => 'Nepodaøilo se zkontrolovat ovladaè databáze',
+ 'Database Host' => 'Databázový server',
+ 'Database User missing!' => 'Chybí jméno pro pøihlá¹ení k databázi!',
+ 'Dataset' => 'Dataset',
+ 'Dataset missing!' => 'Není zadán dataset',
+ 'Dataset updated!' => '',
+ 'Date' => 'Datum',
+ 'Date Due' => 'Datum splatnosti',
+ 'Date Format' => 'Formát data',
+ 'Date Paid' => 'Zaplaceno',
+ 'Date missing!' => '',
+ 'Debit' => 'Má dáti',
+ 'Debit and credit out of balance!' => 'Má dáti a Dal se nerovnají.',
+ 'Dec' => 'Pro',
+ 'December' => 'Prosinec',
+ 'Decimalplaces' => '',
+ 'Delete' => 'Vymazat',
+ 'Delete Account' => 'Vymazat úèet',
+ 'Delete Dataset' => 'Zru¹it dataset',
+ 'Delivery Date' => '',
+ 'Deposit' => '',
+ 'Description' => 'Popis',
+ 'Difference' => '',
+ 'Directory' => 'Adresáø',
+ 'Discount' => 'Sleva',
+ 'Done' => '',
+ 'Drawing' => '',
+ 'Driver' => 'Øidiè',
+ 'Dropdown Limit' => '',
+ 'Due' => 'Splatno',
+ 'Due Date' => 'Datum splatnosti',
+ 'Due Date missing!' => 'Chybí datum splatnosti!',
+ 'E-mail' => 'E-mail',
+ 'E-mail Statement to' => '',
+ 'E-mail address missing!' => 'Chybí E-mailová adresa!',
+ 'Edit' => '',
+ 'Edit Account' => 'Upravit úèet',
+ 'Edit Accounts Payables Transaction' => '',
+ 'Edit Accounts Receivables Transaction' => '',
+ 'Edit Assembly' => 'Upravit výrobek',
+ 'Edit GIFI' => 'Upravit úètovací øetìzec',
+ 'Edit General Ledger Transaction' => 'Opravit záznam v hlavní knize',
+ 'Edit Part' => 'Upravit zbo¾í',
+ 'Edit Preferences for' => 'Nastavení pro',
+ 'Edit Project' => '',
+ 'Edit Purchase Invoice' => '',
+ 'Edit Purchase Order' => 'Upravit vystavenou objednávku',
+ 'Edit Sales Invoice' => '',
+ 'Edit Sales Order' => 'Upravit pøijatou objednávku',
+ 'Edit Service' => 'Upravit slu¾bu',
+ 'Edit Template' => 'Upravit ¹ablonu',
+ 'Edit User' => 'Upravit u¾ivatele',
+ 'Employee' => '',
+ 'Enforce transaction reversal for all dates' => 'Zakázat editaci v¹ech úèetních polo¾ek',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Vlo¾te zkratky mìn (max. 3 znaky) oddìlené dvojteèkou pro domácí i cizí mìny (napø. CZK:USD:EUR)',
+ 'Equity' => 'Vlastní jmìní',
+ 'Exch' => 'Kurz',
+ 'Exchangerate' => 'Mìnový kurz',
+ 'Exchangerate Difference' => '',
+ 'Exchangerate for payment missing!' => '',
+ 'Exchangerate missing!' => '',
+ 'Existing Datasets' => 'Datasety',
+ 'Expense' => 'Náklady',
+ 'Expense Account' => 'Nákladový úèet',
+ 'Expense/Asset' => 'Náklad',
+ 'Extended' => '',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Úno',
+ 'February' => 'Únor',
+ 'Foreign Exchange Gain' => 'Kurzový zisk',
+ 'Foreign Exchange Loss' => 'Kurzová ztráta',
+ 'From' => 'z',
+ 'GIFI' => 'Úètovací øetìzec',
+ 'GIFI deleted!' => '',
+ 'GIFI missing!' => 'Chybí úètovací øetìzec!',
+ 'GIFI saved!' => '',
+ 'GL Transaction' => '',
+ 'General Ledger' => 'Hlavní kniha',
+ 'Goods & Services' => 'Zbo¾í a slu¾by',
+ 'HTML Templates' => 'HTML ¹ablony',
+ 'Heading' => 'Nadpis',
+ 'Host' => 'Server',
+ 'Hostname missing!' => 'Chybí jméno serveru!',
+ 'ID' => 'ID',
+ 'Image' => '',
+ 'In-line' => 'Vlo¾ené',
+ 'Include in Report' => 'Zahrnovat v sestavì',
+ 'Include in drop-down menus' => 'Ukazovat v drop-down menu',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Zahrnovat tento úèet ve formuláøích odbìratelù/dodavatelù, aby bylo mo¾né oznaèit je za zdanitelné?',
+ 'Income' => 'Výnosy',
+ 'Income Account' => 'Výnosový úèet',
+ 'Income Statement' => 'Výsledovka',
+ 'Incorrect Dataset version!' => '©patná verze dat!',
+ 'Incorrect Password!' => 'Nesprávné heslo!',
+ 'Individual Items' => 'Komponenty výrobku',
+ 'Inventory' => 'Zásoby',
+ 'Inventory Account' => 'Úèet zásob',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'Pøed vyøazením výrobu, musí být stav na skladì nulový!',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'Pøed vyøazením zbo¾í musí být mno¾ství na skladì nulové',
+ 'Inventory quantity must be zero!' => 'Stav skladu musí být nulový!',
+ 'Invoice' => 'Faktura',
+ 'Invoice Date' => 'Datum vystavení',
+ 'Invoice Date missing!' => 'Chybí datum vystavení!',
+ 'Invoice Number' => 'Èíslo faktury',
+ 'Invoice Number missing!' => 'Chybí èíslo faktury!',
+ 'Invoice deleted!' => '',
+ 'Invoice posted!' => '',
+ 'Invoices' => '',
+ 'Is this a summary account to record' => 'Øídící úèet pro',
+ 'Item deleted!' => '',
+ 'Item not on file!' => 'Tato polo¾ka není v databázi!',
+ 'Jan' => 'Led',
+ 'January' => 'Leden',
+ 'Jul' => 'Èec',
+ 'July' => 'Èervenec',
+ 'Jun' => 'Èer',
+ 'June' => 'Èerven',
+ 'LaTeX Templates' => 'LaTeX ¹ablony',
+ 'Language' => 'Jazyk',
+ 'Last Cost' => 'Poslední cena',
+ 'Last Invoice Number' => 'Èíslo poslední faktury',
+ 'Last Numbers & Default Accounts' => 'Poslední èísla a standardní èísla úètù',
+ 'Last Purchase Order Number' => 'Èíslo poslední objednávky',
+ 'Last Sales Order Number' => 'Èíslo poslední objednávky',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Pro lokální databázi, nezadávejte adresu serveru a port.',
+ 'Liability' => 'Závazek',
+ 'Licensed to' => 'Licencováno pro',
+ 'Line Total' => 'Øádek celkem',
+ 'Link' => 'Vazby',
+ 'Link Accounts' => 'Vazby mezi úèty',
+ 'List Accounts' => 'Seznam úètù',
+ 'List GIFI' => 'Vypsat úètovací øetìzce',
+ 'List Price' => 'Výrobní cena',
+ 'List Transactions' => 'Vypsat transakce',
+ 'Login' => 'U¾ivatelské jméno',
+ 'Logout' => 'Odhlásit',
+ 'Make' => 'Výrobce',
+ 'Mar' => 'Bøe',
+ 'March' => 'Bøezen',
+ 'May' => 'Kvìten',
+ 'May ' => 'Kvì',
+ 'Message' => 'Zpráva',
+ 'Microfiche' => '',
+ 'Model' => 'Model',
+ 'N/A' => '---',
+ 'Name' => 'Jméno',
+ 'Name missing!' => '',
+ 'New Templates' => 'Nové ¹ablony',
+ 'No' => 'Ne',
+ 'No Database Drivers available!' => 'Není instalován ¾ádný ovladaè databáze!',
+ 'No Dataset selected!' => 'Není zvolen ¾ádný dataset!',
+ 'No email address for' => 'Chybí emailová adresy pro',
+ 'No.' => '',
+ 'Notes' => 'Poznámky',
+ 'Nothing applied!' => '',
+ 'Nothing selected!' => '',
+ 'Nothing to delete!' => 'Nejsou polo¾ky k vymazání!',
+ 'Nov' => 'Lis',
+ 'November' => 'Listopad',
+ 'Number' => 'Èíslo',
+ 'Number Format' => 'Èíselný formát',
+ 'Number missing in Row' => 'Chybìjící èíslo na øádku',
+ 'O' => '',
+ 'Obsolete' => 'Vyøazené',
+ 'Oct' => 'Øíj',
+ 'October' => 'Øíjen',
+ 'On Hand' => 'K dispozici',
+ 'On Order' => '',
+ 'Open' => 'Otevøené',
+ 'Oracle Database Administration' => 'Oracle Správa databáze',
+ 'Order' => 'Objednávka',
+ 'Order Date' => 'Datum objednávky',
+ 'Order Date missing!' => 'Chybí datum objednávky!',
+ 'Order Entry' => 'Zadání objednávky',
+ 'Order Number' => 'Objednávka èíslo',
+ 'Order Number missing!' => 'Chybí èíslo objednávky!',
+ 'Order deleted!' => '',
+ 'Order saved!' => '',
+ 'Ordered' => '',
+ 'Orphaned' => 'Neprodejné',
+ 'Out of balance!' => '',
+ 'PDF' => '',
+ 'Packing List' => 'Dodací list',
+ 'Packing List Date missing!' => 'Chybí datum dodacího listu',
+ 'Packing List Number missing!' => 'Chybí èíslo dodacího listu',
+ 'Paid' => 'Zaplaceno',
+ 'Paid in full' => '',
+ 'Part' => 'Zbo¾í',
+ 'Part Number missing!' => 'Chybí èíslo zbo¾í!',
+ 'Parts' => 'Díly',
+ 'Parts Inventory' => 'Zbo¾í',
+ 'Password' => 'Heslo',
+ 'Password changed!' => '',
+ 'Payables' => 'Závazky',
+ 'Payment' => 'Platba',
+ 'Payment date missing!' => 'Chybí datum platby!',
+ 'Payment posted!' => '',
+ 'Payments' => 'Platby',
+ 'Pg Database Administration' => 'Pg Správa databáze',
+ 'Phone' => 'Telefon',
+ 'Port' => 'Port',
+ 'Port missing!' => 'Chybí èíslo portu!',
+ 'Post' => '',
+ 'Post as new' => '',
+ 'Postscript' => '',
+ 'Preferences' => 'Nastavení',
+ 'Preferences saved!' => 'Nastavení bylo ulo¾eno!',
+ 'Price' => 'Cena',
+ 'Print' => '',
+ 'Printer' => 'Tiskárna',
+ 'Project' => '',
+ 'Project Number missing!' => '',
+ 'Project deleted!' => '',
+ 'Project not on file!' => '',
+ 'Project saved!' => '',
+ 'Projects' => '',
+ 'Purchase Invoice' => '',
+ 'Purchase Order' => 'Vystavená objednávka',
+ 'Purchase Orders' => 'Vystavené objednávky',
+ 'Qty' => 'Mno¾ství',
+ 'ROP' => 'ROP',
+ 'Rate' => 'Sazba',
+ 'Recd' => '',
+ 'Receipt' => '',
+ 'Receipts' => '',
+ 'Receivables' => 'Pohledávky',
+ 'Reconciliation' => '',
+ 'Record in' => 'Zaúètovat do',
+ 'Reference' => '',
+ 'Reference missing!' => '',
+ 'Remaining' => 'Zbývá',
+ 'Report for' => 'Výkaz za',
+ 'Reports' => 'Sestavy',
+ 'Required by' => 'Po¾adováno do',
+ 'Retained Earnings' => 'Nerozdìlený zisk',
+ 'Sales' => 'Pøíjmy z prodeje',
+ 'Sales Invoice' => '',
+ 'Sales Order' => 'Pøijatá objednávka',
+ 'Sales Orders' => 'Pøijaté objednávky',
+ 'Save' => 'Ulo¾it',
+ 'Save as new' => '',
+ 'Save to File' => 'Ulo¾it do souboru',
+ 'Screen' => 'Na obrazovku',
+ 'Select a Dataset to delete and press "Continue"' => 'Zvolte dataset, který chcete vymazat a stisknìte "Pokraèovat"',
+ 'Select all' => '',
+ 'Select from one of the items below' => 'Zvolte z ní¾e uvedených polo¾ek',
+ 'Select from one of the names below' => '',
+ 'Select from one of the projects below' => '',
+ 'Select postscript or PDF!' => '',
+ 'Sell Price' => 'Prodejní cena',
+ 'Send by E-Mail' => 'Poslat e-mailem',
+ 'Sep' => 'Záø',
+ 'September' => 'Záøí',
+ 'Service' => 'Slu¾ba',
+ 'Service Items' => 'Polo¾ky slu¾eb',
+ 'Service Number missing!' => 'Chybí èíslo slu¾by!',
+ 'Services' => 'Slu¾by',
+ 'Setup Templates' => 'Nastavení ¹ablon',
+ 'Ship' => '',
+ 'Ship to' => '',
+ 'Ship via' => '',
+ 'Short' => 'Krátký výpis',
+ 'Signature' => 'Podpis',
+ 'Sold' => 'Prodané',
+ 'Source' => 'Zdroj',
+ 'Standard' => 'Standardní',
+ 'Statement' => '',
+ 'Statement Balance' => '',
+ 'Statement sent to' => '',
+ 'Statements sent to printer!' => '',
+ 'Stock Assembly' => 'Výrobky',
+ 'Stylesheet' => 'Stylesheet',
+ 'Subject' => 'Pøedmìt',
+ 'Subtotal' => 'Mezisouèet',
+ 'System' => 'Systém',
+ 'Tax' => 'Daò',
+ 'Tax Accounts' => 'Daòové úèty',
+ 'Tax Included' => 'Cena vèetnì danì',
+ 'Tax collected' => '',
+ 'Tax paid' => '',
+ 'Taxable' => 'Zdanitelné',
+ 'Template saved!' => '',
+ 'Templates' => '©ablony',
+ 'Terms: Net' => 'Netto',
+ 'The following Datasets are not in use and can be deleted' => 'Uvedené datasety nejsou vyu¾ívány a mohou být vymazány',
+ 'The following Datasets need to be updated' => 'Následující data musí být aktualizována',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'Toto je pøedbì¾ná kontrola existence zdrojových dokumentù. V této fázi nebude databáze aktualizována.',
+ 'To' => 'do',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'Pro pøidání u¾ivatele do skupiny otevøete existujícího u¾ivatele a ulo¾te jej s jiným u¾ivatelským jménem. Nový u¾ivatel bude vytvoøen s toto¾ným nastavením v¹ech promìnných.',
+ 'Top Level' => '',
+ 'Total' => 'Celkem',
+ 'Transaction Date missing!' => 'Chybí datum!',
+ 'Transaction deleted!' => '',
+ 'Transaction posted!' => '',
+ 'Transaction reversal enforced for all dates' => 'Editace v¹ech polo¾ek zakázána (je nutné provést storno a nové zadání)',
+ 'Transaction reversal enforced up to' => 'Editace polo¾ek zakázána do',
+ 'Transactions' => 'Polo¾ky',
+ 'Transactions exist, cannot delete customer!' => 'Odbìratele nelze vymazat, proto¾e k nìmu existují transakce!',
+ 'Transactions exist, cannot delete vendor!' => 'Dodavatele nelze vymazat, proto¾e k nìmu existují transakce!',
+ 'Transactions exist; cannot delete account!' => 'Úèet nelze vymazat, proto¾e na nìm je úètováno!',
+ 'Trial Balance' => 'Obratová pøedvaha',
+ 'Unit' => 'Jednotka',
+ 'Unit of measure' => 'Mìrná jednotka',
+ 'Update' => '',
+ 'Update Dataset' => 'Aktualizovat data',
+ 'Updated' => '',
+ 'Use Templates' => 'Vyu¾ít ¹ablony',
+ 'User' => 'U¾ivatel',
+ 'User deleted!' => '',
+ 'User saved!' => '',
+ 'Vendor' => 'Dodavatel',
+ 'Vendor deleted!' => '',
+ 'Vendor missing!' => '',
+ 'Vendor not on file!' => '',
+ 'Vendor saved!' => '',
+ 'Vendors' => '',
+ 'Version' => 'Verze',
+ 'Weight' => 'Váha',
+ 'Weight Unit' => 'Jednotka váhy',
+ 'What type of item is this?' => 'O jaký typ polo¾ky se jedná?',
+ 'Year End' => 'Konec roku',
+ 'Yes' => 'Ano',
+ 'You are logged out!' => '',
+ 'You did not enter a name!' => 'Nezadal jste jméno!',
+ 'You must enter a host and port for local and remote connections!' => 'Pro lokální i vzdálené pøipojení je nutné zadat adresu serveru a port!',
+ 'as at' => '',
+ 'collected on sales' => 'vybráno na výstupu',
+ 'days' => 'dní',
+ 'does not exist' => 'neexistuje',
+ 'ea' => 'm.j.',
+ 'emailed to' => 'odesláno na adresu',
+ 'for Period' => 'za období',
+ 'hr' => 'hod',
+ 'is already a member!' => 'ji¾ existuje!',
+ 'is not a member!' => 'není platným u¾ivatelem',
+ 'localhost' => 'lokální server',
+ 'paid on purchases' => 'zaplaceno na vstupu',
+ 'sent to printer' => 'vyti¹tìno',
+ 'successfully created!' => 'úspì¹nì vytvoøen!',
+ 'successfully deleted!' => 'úspì¹nì smazán!',
+ 'to' => '',
+ 'website' => 'www adresa',
+};
+
+1;
diff --git a/sql-ledger/locale/cz/am b/sql-ledger/locale/cz/am
new file mode 100644
index 0000000..caee54c
--- /dev/null
+++ b/sql-ledger/locale/cz/am
@@ -0,0 +1,139 @@
+$self{texts} = {
+ 'AP' => 'Závazky',
+ 'AR' => 'Pohledávky',
+ 'Account' => 'Úèet',
+ 'Account Number' => 'Èíslo úètu',
+ 'Account Number missing!' => 'Chybí èíslo úètu!',
+ 'Account Type' => 'Typ úètu',
+ 'Account Type missing!' => 'Chybí typ úètu!',
+ 'Account deleted!' => 'Account deleted!',
+ 'Account saved!' => 'Account saved!',
+ 'Add Account' => 'Zalo¾it úèet',
+ 'Add GIFI' => 'Doplnit úètovací øetìzec',
+ 'Address' => 'Adresa',
+ 'Asset' => 'Aktiva',
+ 'Audit Control' => 'Kontrola pøístupù',
+ 'Backup sent to' => 'Záloha odeslána na adresu',
+ 'Books are open' => '¡Uèetní knihy jsou otevøeny',
+ 'Business Number' => 'IÈO',
+ 'COGS' => 'Náklady na prodané zbo¾í',
+ 'Cannot delete account!' => 'Cannot delete account!',
+ 'Cannot delete default account!' => 'Úèet je nastaven jako defaultní, nelze jej proto vymamazat!',
+ 'Cannot save account!' => 'Cannot save account!',
+ 'Cannot save preferences!' => 'Cannot save preferences!',
+ 'Character Set' => 'Znaková sada',
+ 'Chart of Accounts' => 'Úètový rozvrh',
+ 'Close Books up to' => 'Uzavøít úèetní knihy do',
+ 'Company' => 'Firma',
+ 'Continue' => 'Pokraèování',
+ 'Copy to COA' => 'Zkopírovat do úètového rozvrhu',
+ 'Credit' => 'Dal',
+ 'Date Format' => 'Formát data',
+ 'Debit' => 'Má dáti',
+ 'Delete' => 'Vymazat',
+ 'Delete Account' => 'Vymazat úèet',
+ 'Description' => 'Popis',
+ 'Dropdown Limit' => 'Dropdown Limit',
+ 'E-mail' => 'E-mail',
+ 'Edit' => 'Edit',
+ 'Edit Account' => 'Upravit úèet',
+ 'Edit GIFI' => 'Upravit úètovací øetìzec',
+ 'Edit Preferences for' => 'Nastavení pro',
+ 'Edit Template' => 'Upravit ¹ablonu',
+ 'Enforce transaction reversal for all dates' => 'Zakázat editaci v¹ech úèetních polo¾ek',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Vlo¾te zkratky mìn (max. 3 znaky) oddìlené dvojteèkou pro domácí i cizí mìny (napø. CZK:USD:EUR)',
+ 'Equity' => 'Vlastní jmìní',
+ 'Expense' => 'Náklady',
+ 'Expense Account' => 'Nákladový úèet',
+ 'Expense/Asset' => 'Náklad',
+ 'Fax' => 'Fax',
+ 'Foreign Exchange Gain' => 'Kurzový zisk',
+ 'Foreign Exchange Loss' => 'Kurzová ztráta',
+ 'GIFI' => 'Úètovací øetìzec',
+ 'GIFI deleted!' => 'GIFI deleted!',
+ 'GIFI missing!' => 'Chybí úètovací øetìzec!',
+ 'GIFI saved!' => 'GIFI saved!',
+ 'Heading' => 'Nadpis',
+ 'Include in drop-down menus' => 'Ukazovat v drop-down menu',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Zahrnovat tento úèet ve formuláøích odbìratelù/dodavatelù, aby bylo mo¾né oznaèit je za zdanitelné?',
+ 'Income' => 'Výnosy',
+ 'Income Account' => 'Výnosový úèet',
+ 'Inventory' => 'Zásoby',
+ 'Inventory Account' => 'Úèet zásob',
+ 'Is this a summary account to record' => 'Øídící úèet pro',
+ 'Language' => 'Jazyk',
+ 'Last Invoice Number' => 'Èíslo poslední faktury',
+ 'Last Numbers & Default Accounts' => 'Poslední èísla a standardní èísla úètù',
+ 'Last Purchase Order Number' => 'Èíslo poslední objednávky',
+ 'Last Sales Order Number' => 'Èíslo poslední objednávky',
+ 'Liability' => 'Závazek',
+ 'Link' => 'Vazby',
+ 'Name' => 'Jméno',
+ 'No' => 'Ne',
+ 'No email address for' => 'Chybí emailová adresy pro',
+ 'Number' => 'Èíslo',
+ 'Number Format' => 'Èíselný formát',
+ 'Parts Inventory' => 'Zbo¾í',
+ 'Password' => 'Heslo',
+ 'Payables' => 'Závazky',
+ 'Payment' => 'Platba',
+ 'Phone' => 'Telefon',
+ 'Preferences saved!' => 'Nastavení bylo ulo¾eno!',
+ 'Rate' => 'Sazba',
+ 'Receivables' => 'Pohledávky',
+ 'Sales' => 'Pøíjmy z prodeje',
+ 'Save' => 'Ulo¾it',
+ 'Service Items' => 'Polo¾ky slu¾eb',
+ 'Ship via' => 'Ship via',
+ 'Signature' => 'Podpis',
+ 'Stylesheet' => 'Stylesheet',
+ 'Tax' => 'Daò',
+ 'Tax Accounts' => 'Daòové úèty',
+ 'Template saved!' => 'Template saved!',
+ 'Transaction reversal enforced for all dates' => 'Editace v¹ech polo¾ek zakázána (je nutné provést storno a nové zadání)',
+ 'Transaction reversal enforced up to' => 'Editace polo¾ek zakázána do',
+ 'Transactions exist; cannot delete account!' => 'Úèet nelze vymazat, proto¾e na nìm je úètováno!',
+ 'Weight Unit' => 'Jednotka váhy',
+ 'Year End' => 'Konec roku',
+ 'Yes' => 'Ano',
+ 'does not exist' => 'neexistuje',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_gifi' => 'add_gifi',
+ 'audit_control' => 'audit_control',
+ 'backup' => 'backup',
+ 'config' => 'config',
+ 'continue' => 'continue',
+ 'copy_to_coa' => 'copy_to_coa',
+ 'delete' => 'delete',
+ 'delete_account' => 'delete_account',
+ 'delete_gifi' => 'delete_gifi',
+ 'display_form' => 'display_form',
+ 'display_stylesheet' => 'display_stylesheet',
+ 'doclose' => 'doclose',
+ 'edit' => 'edit',
+ 'edit_gifi' => 'edit_gifi',
+ 'edit_template' => 'edit_template',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gifi_footer' => 'gifi_footer',
+ 'gifi_header' => 'gifi_header',
+ 'list' => 'list',
+ 'list_gifi' => 'list_gifi',
+ 'save' => 'save',
+ 'save_account' => 'save_account',
+ 'save_gifi' => 'save_gifi',
+ 'save_preferences' => 'save_preferences',
+ 'save_template' => 'save_template',
+ 'zalo¾it_úèet' => 'add_account',
+ 'pokraèování' => 'continue',
+ 'zkopírovat_do_úètového_rozvrhu' => 'copy_to_coa',
+ 'vymazat' => 'delete',
+ 'edit' => 'edit',
+ 'upravit_úèet' => 'edit_account',
+ 'ulo¾it' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/cz/ap b/sql-ledger/locale/cz/ap
new file mode 100644
index 0000000..609bcbb
--- /dev/null
+++ b/sql-ledger/locale/cz/ap
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AP Transaction' => 'AP Transaction',
+ 'AP Transactions' => 'Faktury pøijaté',
+ 'Account' => 'Úèet',
+ 'Add Accounts Payables Transaction' => 'Add Accounts Payables Transaction',
+ 'Address' => 'Adresa',
+ 'Amount' => 'Èástka',
+ 'Amount Due' => 'Amount Due',
+ 'Apr' => 'Dub',
+ 'April' => 'Duben',
+ 'Are you sure you want to delete Transaction' => 'Opravdu chcete vymazat transakci?',
+ 'Aug' => 'Srp',
+ 'August' => 'Srpen',
+ 'Cannot delete transaction!' => 'Cannot delete transaction!',
+ 'Cannot post payment for a closed period!' => 'Cannot post payment for a closed period!',
+ 'Cannot post transaction for a closed period!' => 'Do uzavøeného období nelze úètovat!',
+ 'Cannot post transaction!' => 'Cannot post transaction!',
+ 'Closed' => 'Zaplaceno',
+ 'Confirm!' => 'Podtvrïte!',
+ 'Continue' => 'Pokraèování',
+ 'Currency' => 'Mìna',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'Datum',
+ 'Date Paid' => 'Zaplaceno',
+ 'Dec' => 'Pro',
+ 'December' => 'Prosinec',
+ 'Delete' => 'Vymazat',
+ 'Description' => 'Popis',
+ 'Due Date' => 'Datum splatnosti',
+ 'Due Date missing!' => 'Chybí datum splatnosti!',
+ 'Edit Accounts Payables Transaction' => 'Edit Accounts Payables Transaction',
+ 'Employee' => 'Employee',
+ 'Exch' => 'Kurz',
+ 'Exchangerate' => 'Mìnový kurz',
+ 'Exchangerate for payment missing!' => 'Exchangerate for payment missing!',
+ 'Exchangerate missing!' => 'Exchangerate missing!',
+ 'Feb' => 'Úno',
+ 'February' => 'Únor',
+ 'From' => 'z',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Zahrnovat v sestavì',
+ 'Invoice' => 'Faktura',
+ 'Invoice Date' => 'Datum vystavení',
+ 'Invoice Date missing!' => 'Chybí datum vystavení!',
+ 'Invoice Number' => 'Èíslo faktury',
+ 'Invoice Number missing!' => 'Chybí èíslo faktury!',
+ 'Jan' => 'Led',
+ 'January' => 'Leden',
+ 'Jul' => 'Èec',
+ 'July' => 'Èervenec',
+ 'Jun' => 'Èer',
+ 'June' => 'Èerven',
+ 'Mar' => 'Bøe',
+ 'March' => 'Bøezen',
+ 'May' => 'Kvìten',
+ 'May ' => 'Kvì',
+ 'Notes' => 'Poznámky',
+ 'Nov' => 'Lis',
+ 'November' => 'Listopad',
+ 'Number' => 'Èíslo',
+ 'Oct' => 'Øíj',
+ 'October' => 'Øíjen',
+ 'Open' => 'Otevøené',
+ 'Order' => 'Objednávka',
+ 'Order Number' => 'Objednávka èíslo',
+ 'Paid' => 'Zaplaceno',
+ 'Payment date missing!' => 'Chybí datum platby!',
+ 'Payments' => 'Platby',
+ 'Post' => 'Post',
+ 'Post as new' => 'Post as new',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Purchase Invoice' => 'Purchase Invoice',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Sep' => 'Záø',
+ 'September' => 'Záøí',
+ 'Source' => 'Zdroj',
+ 'Subtotal' => 'Mezisouèet',
+ 'Tax' => 'Daò',
+ 'Tax Included' => 'Cena vèetnì danì',
+ 'To' => 'do',
+ 'Total' => 'Celkem',
+ 'Transaction deleted!' => 'Transaction deleted!',
+ 'Transaction posted!' => 'Transaction posted!',
+ 'Update' => 'Update',
+ 'Vendor' => 'Dodavatel',
+ 'Vendor missing!' => 'Vendor missing!',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'Yes' => 'Ano',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_subtotal' => 'ap_subtotal',
+ 'ap_transaction' => 'ap_transaction',
+ 'ap_transactions' => 'ap_transactions',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'ap_transaction' => 'ap_transaction',
+ 'add_accounts_payables_transaction' => 'add_accounts_payables_transaction',
+ 'pokraèování' => 'continue',
+ 'vymazat' => 'delete',
+ 'edit_accounts_payables_transaction' => 'edit_accounts_payables_transaction',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'update' => 'update',
+ 'ano' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/cz/ar b/sql-ledger/locale/cz/ar
new file mode 100644
index 0000000..512634f
--- /dev/null
+++ b/sql-ledger/locale/cz/ar
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AR Transaction' => 'AR Transaction',
+ 'AR Transactions' => 'Faktury vydané',
+ 'Account' => 'Úèet',
+ 'Add Accounts Receivables Transaction' => 'Add Accounts Receivables Transaction',
+ 'Address' => 'Adresa',
+ 'Amount' => 'Èástka',
+ 'Amount Due' => 'Amount Due',
+ 'Apr' => 'Dub',
+ 'April' => 'Duben',
+ 'Are you sure you want to delete Transaction' => 'Opravdu chcete vymazat transakci?',
+ 'Aug' => 'Srp',
+ 'August' => 'Srpen',
+ 'Cannot delete transaction!' => 'Cannot delete transaction!',
+ 'Cannot post payment for a closed period!' => 'Cannot post payment for a closed period!',
+ 'Cannot post transaction for a closed period!' => 'Do uzavøeného období nelze úètovat!',
+ 'Cannot post transaction!' => 'Cannot post transaction!',
+ 'Closed' => 'Zaplaceno',
+ 'Confirm!' => 'Podtvrïte!',
+ 'Continue' => 'Pokraèování',
+ 'Credit Limit' => 'Úvìrový limit',
+ 'Currency' => 'Mìna',
+ 'Customer' => 'Odbìratel',
+ 'Customer missing!' => 'Customer missing!',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'Datum',
+ 'Date Paid' => 'Zaplaceno',
+ 'Dec' => 'Pro',
+ 'December' => 'Prosinec',
+ 'Delete' => 'Vymazat',
+ 'Description' => 'Popis',
+ 'Due Date' => 'Datum splatnosti',
+ 'Due Date missing!' => 'Chybí datum splatnosti!',
+ 'Edit Accounts Receivables Transaction' => 'Edit Accounts Receivables Transaction',
+ 'Employee' => 'Employee',
+ 'Exch' => 'Kurz',
+ 'Exchangerate' => 'Mìnový kurz',
+ 'Exchangerate for payment missing!' => 'Exchangerate for payment missing!',
+ 'Exchangerate missing!' => 'Exchangerate missing!',
+ 'Feb' => 'Úno',
+ 'February' => 'Únor',
+ 'From' => 'z',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Zahrnovat v sestavì',
+ 'Invoice' => 'Faktura',
+ 'Invoice Date' => 'Datum vystavení',
+ 'Invoice Date missing!' => 'Chybí datum vystavení!',
+ 'Invoice Number' => 'Èíslo faktury',
+ 'Invoice Number missing!' => 'Chybí èíslo faktury!',
+ 'Jan' => 'Led',
+ 'January' => 'Leden',
+ 'Jul' => 'Èec',
+ 'July' => 'Èervenec',
+ 'Jun' => 'Èer',
+ 'June' => 'Èerven',
+ 'Mar' => 'Bøe',
+ 'March' => 'Bøezen',
+ 'May' => 'Kvìten',
+ 'May ' => 'Kvì',
+ 'Notes' => 'Poznámky',
+ 'Nov' => 'Lis',
+ 'November' => 'Listopad',
+ 'Number' => 'Èíslo',
+ 'Oct' => 'Øíj',
+ 'October' => 'Øíjen',
+ 'Open' => 'Otevøené',
+ 'Order' => 'Objednávka',
+ 'Order Number' => 'Objednávka èíslo',
+ 'Paid' => 'Zaplaceno',
+ 'Payment date missing!' => 'Chybí datum platby!',
+ 'Payments' => 'Platby',
+ 'Post' => 'Post',
+ 'Post as new' => 'Post as new',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Remaining' => 'Zbývá',
+ 'Sales Invoice' => 'Sales Invoice',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Sep' => 'Záø',
+ 'September' => 'Záøí',
+ 'Source' => 'Zdroj',
+ 'Subtotal' => 'Mezisouèet',
+ 'Tax' => 'Daò',
+ 'Tax Included' => 'Cena vèetnì danì',
+ 'To' => 'do',
+ 'Total' => 'Celkem',
+ 'Transaction deleted!' => 'Transaction deleted!',
+ 'Transaction posted!' => 'Transaction posted!',
+ 'Update' => 'Update',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'Yes' => 'Ano',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_subtotal' => 'ar_subtotal',
+ 'ar_transaction' => 'ar_transaction',
+ 'ar_transactions' => 'ar_transactions',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'ar_transaction' => 'ar_transaction',
+ 'pokraèování' => 'continue',
+ 'vymazat' => 'delete',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'sales_invoice' => 'sales_invoice',
+ 'update' => 'update',
+ 'ano' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/cz/arap b/sql-ledger/locale/cz/arap
new file mode 100644
index 0000000..3db4284
--- /dev/null
+++ b/sql-ledger/locale/cz/arap
@@ -0,0 +1,30 @@
+$self{texts} = {
+ 'Address' => 'Adresa',
+ 'Continue' => 'Pokraèování',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Description' => 'Popis',
+ 'Number' => 'Èíslo',
+ 'Project not on file!' => 'Project not on file!',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Vendor not on file!' => 'Vendor not on file!',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'pokraèování' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/cz/ca b/sql-ledger/locale/cz/ca
new file mode 100644
index 0000000..cd48d2f
--- /dev/null
+++ b/sql-ledger/locale/cz/ca
@@ -0,0 +1,50 @@
+$self{texts} = {
+ 'Account' => 'Úèet',
+ 'Apr' => 'Dub',
+ 'April' => 'Duben',
+ 'Aug' => 'Srp',
+ 'August' => 'Srpen',
+ 'Balance' => 'Balance',
+ 'Chart of Accounts' => 'Úètový rozvrh',
+ 'Credit' => 'Dal',
+ 'Date' => 'Datum',
+ 'Debit' => 'Má dáti',
+ 'Dec' => 'Pro',
+ 'December' => 'Prosinec',
+ 'Description' => 'Popis',
+ 'Feb' => 'Úno',
+ 'February' => 'Únor',
+ 'From' => 'z',
+ 'GIFI' => 'Úètovací øetìzec',
+ 'Include in Report' => 'Zahrnovat v sestavì',
+ 'Jan' => 'Led',
+ 'January' => 'Leden',
+ 'Jul' => 'Èec',
+ 'July' => 'Èervenec',
+ 'Jun' => 'Èer',
+ 'June' => 'Èerven',
+ 'List Transactions' => 'Vypsat transakce',
+ 'Mar' => 'Bøe',
+ 'March' => 'Bøezen',
+ 'May' => 'Kvìten',
+ 'May ' => 'Kvì',
+ 'Nov' => 'Lis',
+ 'November' => 'Listopad',
+ 'Oct' => 'Øíj',
+ 'October' => 'Øíjen',
+ 'Reference' => 'Reference',
+ 'Sep' => 'Záø',
+ 'September' => 'Záøí',
+ 'Subtotal' => 'Mezisouèet',
+ 'To' => 'do',
+};
+
+$self{subs} = {
+ 'ca_subtotal' => 'ca_subtotal',
+ 'chart_of_accounts' => 'chart_of_accounts',
+ 'list' => 'list',
+ 'list_transactions' => 'list_transactions',
+ 'vypsat_transakce' => 'list_transactions',
+};
+
+1;
diff --git a/sql-ledger/locale/cz/cp b/sql-ledger/locale/cz/cp
new file mode 100644
index 0000000..f85ed50
--- /dev/null
+++ b/sql-ledger/locale/cz/cp
@@ -0,0 +1,75 @@
+$self{texts} = {
+ 'Account' => 'Úèet',
+ 'Address' => 'Adresa',
+ 'Amount' => 'Èástka',
+ 'Amount does not equal applied!' => 'Amount does not equal applied!',
+ 'Amount missing!' => 'Amount missing!',
+ 'Applied' => 'Applied',
+ 'Cannot post payment!' => 'Cannot post payment!',
+ 'Cannot process payment for a closed period!' => 'Cannot process payment for a closed period!',
+ 'Check' => 'Check',
+ 'Check printed!' => 'Check printed!',
+ 'Check printing failed!' => 'Check printing failed!',
+ 'Continue' => 'Pokraèování',
+ 'Currency' => 'Mìna',
+ 'Customer' => 'Odbìratel',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'Datum',
+ 'Date missing!' => 'Date missing!',
+ 'Description' => 'Popis',
+ 'Due' => 'Splatno',
+ 'Exchangerate' => 'Mìnový kurz',
+ 'From' => 'z',
+ 'Invoice' => 'Faktura',
+ 'Invoices' => 'Invoices',
+ 'Nothing applied!' => 'Nothing applied!',
+ 'Number' => 'Èíslo',
+ 'Paid in full' => 'Paid in full',
+ 'Payment' => 'Platba',
+ 'Payment posted!' => 'Payment posted!',
+ 'Post' => 'Post',
+ 'Print' => 'Print',
+ 'Printer' => 'Tiskárna',
+ 'Project not on file!' => 'Project not on file!',
+ 'Receipt' => 'Receipt',
+ 'Reference' => 'Reference',
+ 'Screen' => 'Na obrazovku',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'To' => 'do',
+ 'Update' => 'Update',
+ 'Vendor' => 'Dodavatel',
+ 'Vendor not on file!' => 'Vendor not on file!',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'list_invoices' => 'list_invoices',
+ 'name_selected' => 'name_selected',
+ 'payment' => 'payment',
+ 'post' => 'post',
+ 'print' => 'print',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'vendor_details' => 'vendor_details',
+ 'pokraèování' => 'continue',
+ 'post' => 'post',
+ 'print' => 'print',
+ 'update' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/cz/ct b/sql-ledger/locale/cz/ct
new file mode 100644
index 0000000..7c2863d
--- /dev/null
+++ b/sql-ledger/locale/cz/ct
@@ -0,0 +1,69 @@
+$self{texts} = {
+ 'Add' => 'Pøidat',
+ 'Address' => 'Adresa',
+ 'All' => 'V¹e',
+ 'Bcc' => 'Bcc',
+ 'Cannot delete customer!' => 'Cannot delete customer!',
+ 'Cannot delete vendor!' => 'Cannot delete vendor!',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Pokraèování',
+ 'Credit Limit' => 'Úvìrový limit',
+ 'Customer deleted!' => 'Customer deleted!',
+ 'Customer saved!' => 'Customer saved!',
+ 'Customers' => 'Customers',
+ 'Delete' => 'Vymazat',
+ 'Discount' => 'Sleva',
+ 'E-mail' => 'E-mail',
+ 'Fax' => 'Fax',
+ 'Include in Report' => 'Zahrnovat v sestavì',
+ 'Invoice' => 'Faktura',
+ 'Name' => 'Jméno',
+ 'Name missing!' => 'Name missing!',
+ 'Notes' => 'Poznámky',
+ 'Number' => 'Èíslo',
+ 'Order' => 'Objednávka',
+ 'Orphaned' => 'Neprodejné',
+ 'Phone' => 'Telefon',
+ 'Save' => 'Ulo¾it',
+ 'Ship to' => 'Ship to',
+ 'Tax Included' => 'Cena vèetnì danì',
+ 'Taxable' => 'Zdanitelné',
+ 'Terms: Net' => 'Netto',
+ 'Transactions exist, cannot delete customer!' => 'Odbìratele nelze vymazat, proto¾e k nìmu existují transakce!',
+ 'Transactions exist, cannot delete vendor!' => 'Dodavatele nelze vymazat, proto¾e k nìmu existují transakce!',
+ 'Vendor deleted!' => 'Vendor deleted!',
+ 'Vendor saved!' => 'Vendor saved!',
+ 'Vendors' => 'Vendors',
+ 'days' => 'dní',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'customer_invoice' => 'customer_invoice',
+ 'customer_order' => 'customer_order',
+ 'delete' => 'delete',
+ 'delete_customer' => 'delete_customer',
+ 'delete_vendor' => 'delete_vendor',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'invoice' => 'invoice',
+ 'list_names' => 'list_names',
+ 'order' => 'order',
+ 'save' => 'save',
+ 'save_customer' => 'save_customer',
+ 'save_vendor' => 'save_vendor',
+ 'search' => 'search',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'vendor_order' => 'vendor_order',
+ 'pøidat' => 'add',
+ 'pokraèování' => 'continue',
+ 'vymazat' => 'delete',
+ 'faktura' => 'invoice',
+ 'objednávka' => 'order',
+ 'ulo¾it' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/cz/gl b/sql-ledger/locale/cz/gl
new file mode 100644
index 0000000..1928de8
--- /dev/null
+++ b/sql-ledger/locale/cz/gl
@@ -0,0 +1,124 @@
+$self{texts} = {
+ 'AP Transaction' => 'AP Transaction',
+ 'AR Transaction' => 'AR Transaction',
+ 'Account' => 'Úèet',
+ 'Add General Ledger Transaction' => 'Nový zápis do hlavní knihy',
+ 'Address' => 'Adresa',
+ 'All' => 'V¹e',
+ 'Apr' => 'Dub',
+ 'April' => 'Duben',
+ 'Are you sure you want to delete Transaction' => 'Opravdu chcete vymazat transakci?',
+ 'Asset' => 'Aktiva',
+ 'Aug' => 'Srp',
+ 'August' => 'Srpen',
+ 'Balance' => 'Balance',
+ 'Cannot delete transaction!' => 'Cannot delete transaction!',
+ 'Cannot have a value in both Debit and Credit!' => 'Nelze úètovat souèasnì Má dáti i Dal!',
+ 'Cannot post a transaction without a value!' => 'Cannot post a transaction without a value!',
+ 'Cannot post transaction for a closed period!' => 'Do uzavøeného období nelze úètovat!',
+ 'Confirm!' => 'Podtvrïte!',
+ 'Continue' => 'Pokraèování',
+ 'Credit' => 'Dal',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'Datum',
+ 'Debit' => 'Má dáti',
+ 'Debit and credit out of balance!' => 'Má dáti a Dal se nerovnají.',
+ 'Dec' => 'Pro',
+ 'December' => 'Prosinec',
+ 'Delete' => 'Vymazat',
+ 'Description' => 'Popis',
+ 'Edit General Ledger Transaction' => 'Opravit záznam v hlavní knize',
+ 'Equity' => 'Vlastní jmìní',
+ 'Expense' => 'Náklady',
+ 'Feb' => 'Úno',
+ 'February' => 'Únor',
+ 'From' => 'z',
+ 'GIFI' => 'Úètovací øetìzec',
+ 'GL Transaction' => 'GL Transaction',
+ 'General Ledger' => 'Hlavní kniha',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Zahrnovat v sestavì',
+ 'Income' => 'Výnosy',
+ 'Jan' => 'Led',
+ 'January' => 'Leden',
+ 'Jul' => 'Èec',
+ 'July' => 'Èervenec',
+ 'Jun' => 'Èer',
+ 'June' => 'Èerven',
+ 'Liability' => 'Závazek',
+ 'Mar' => 'Bøe',
+ 'March' => 'Bøezen',
+ 'May' => 'Kvìten',
+ 'May ' => 'Kvì',
+ 'Notes' => 'Poznámky',
+ 'Nov' => 'Lis',
+ 'November' => 'Listopad',
+ 'Number' => 'Èíslo',
+ 'Oct' => 'Øíj',
+ 'October' => 'Øíjen',
+ 'Post' => 'Post',
+ 'Post as new' => 'Post as new',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Purchase Invoice' => 'Purchase Invoice',
+ 'Reference' => 'Reference',
+ 'Reference missing!' => 'Reference missing!',
+ 'Reports' => 'Sestavy',
+ 'Sales Invoice' => 'Sales Invoice',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Sep' => 'Záø',
+ 'September' => 'Záøí',
+ 'Source' => 'Zdroj',
+ 'Subtotal' => 'Mezisouèet',
+ 'To' => 'do',
+ 'Transaction Date missing!' => 'Chybí datum!',
+ 'Transaction deleted!' => 'Transaction deleted!',
+ 'Transaction posted!' => 'Transaction posted!',
+ 'Update' => 'Update',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'Yes' => 'Ano',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'form_row' => 'form_row',
+ 'generate_report' => 'generate_report',
+ 'gl_subtotal' => 'gl_subtotal',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'pokraèování' => 'continue',
+ 'vymazat' => 'delete',
+ 'gl_transaction' => 'gl_transaction',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'update' => 'update',
+ 'ano' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/cz/ic b/sql-ledger/locale/cz/ic
new file mode 100644
index 0000000..effb534
--- /dev/null
+++ b/sql-ledger/locale/cz/ic
@@ -0,0 +1,205 @@
+$self{texts} = {
+ 'Active' => 'Active',
+ 'Add' => 'Pøidat',
+ 'Add Assembly' => 'Nový výrobek',
+ 'Add Part' => 'Pøíjem zbo¾í',
+ 'Add Purchase Order' => 'Nová objednávka (nákup)',
+ 'Add Sales Order' => 'Nová objednávka (pøíjem)',
+ 'Add Service' => 'Nový druh slu¾by',
+ 'Address' => 'Adresa',
+ 'Apr' => 'Dub',
+ 'April' => 'Duben',
+ 'Assemblies' => 'Výrobky',
+ 'Assemblies restocked!' => 'Assemblies restocked!',
+ 'Assembly Number missing!' => 'Chybí èíslo výrobku',
+ 'Attachment' => 'Pøílohy',
+ 'Aug' => 'Srp',
+ 'August' => 'Srpen',
+ 'BOM' => 'BOM',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Paleta',
+ 'Bought' => 'Nakoupeno',
+ 'COGS' => 'Náklady na prodané zbo¾í',
+ 'Cannot delete item already invoiced!' => 'Ji¾ fakturované polo¾ky nelze vymazat!',
+ 'Cannot delete item on order!' => 'Polo¾ku objednávky nelze vymazat!',
+ 'Cannot delete item which is part of an assembly!' => 'Nelze vymazat polo¾ku, která je souèástí výrobku!',
+ 'Cannot delete item!' => 'Cannot delete item!',
+ 'Cannot stock assemblies!' => 'Cannot stock assemblies!',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Pokraèování',
+ 'Copies' => 'Kopie',
+ 'Dec' => 'Pro',
+ 'December' => 'Prosinec',
+ 'Delete' => 'Vymazat',
+ 'Delivery Date' => 'Delivery Date',
+ 'Description' => 'Popis',
+ 'Drawing' => 'Drawing',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'Chybí E-mailová adresa!',
+ 'Edit Assembly' => 'Upravit výrobek',
+ 'Edit Part' => 'Upravit zbo¾í',
+ 'Edit Service' => 'Upravit slu¾bu',
+ 'Expense' => 'Náklady',
+ 'Extended' => 'Extended',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Úno',
+ 'February' => 'Únor',
+ 'From' => 'z',
+ 'Image' => 'Image',
+ 'In-line' => 'Vlo¾ené',
+ 'Include in Report' => 'Zahrnovat v sestavì',
+ 'Income' => 'Výnosy',
+ 'Individual Items' => 'Komponenty výrobku',
+ 'Inventory' => 'Zásoby',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'Pøed vyøazením výrobu, musí být stav na skladì nulový!',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'Pøed vyøazením zbo¾í musí být mno¾ství na skladì nulové',
+ 'Inventory quantity must be zero!' => 'Stav skladu musí být nulový!',
+ 'Invoice' => 'Faktura',
+ 'Invoice Date missing!' => 'Chybí datum vystavení!',
+ 'Invoice Number' => 'Èíslo faktury',
+ 'Invoice Number missing!' => 'Chybí èíslo faktury!',
+ 'Item deleted!' => 'Item deleted!',
+ 'Item not on file!' => 'Tato polo¾ka není v databázi!',
+ 'Jan' => 'Led',
+ 'January' => 'Leden',
+ 'Jul' => 'Èec',
+ 'July' => 'Èervenec',
+ 'Jun' => 'Èer',
+ 'June' => 'Èerven',
+ 'Last Cost' => 'Poslední cena',
+ 'Line Total' => 'Øádek celkem',
+ 'Link Accounts' => 'Vazby mezi úèty',
+ 'List Price' => 'Výrobní cena',
+ 'Make' => 'Výrobce',
+ 'Mar' => 'Bøe',
+ 'March' => 'Bøezen',
+ 'May' => 'Kvìten',
+ 'May ' => 'Kvì',
+ 'Message' => 'Zpráva',
+ 'Microfiche' => 'Microfiche',
+ 'Model' => 'Model',
+ 'Name' => 'Jméno',
+ 'No.' => 'No.',
+ 'Notes' => 'Poznámky',
+ 'Nov' => 'Lis',
+ 'November' => 'Listopad',
+ 'Number' => 'Èíslo',
+ 'Number missing in Row' => 'Chybìjící èíslo na øádku',
+ 'Obsolete' => 'Vyøazené',
+ 'Oct' => 'Øíj',
+ 'October' => 'Øíjen',
+ 'On Hand' => 'K dispozici',
+ 'On Order' => 'On Order',
+ 'Order' => 'Objednávka',
+ 'Order Date missing!' => 'Chybí datum objednávky!',
+ 'Order Number' => 'Objednávka èíslo',
+ 'Order Number missing!' => 'Chybí èíslo objednávky!',
+ 'Ordered' => 'Ordered',
+ 'Orphaned' => 'Neprodejné',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Dodací list',
+ 'Packing List Date missing!' => 'Chybí datum dodacího listu',
+ 'Packing List Number missing!' => 'Chybí èíslo dodacího listu',
+ 'Part' => 'Zbo¾í',
+ 'Part Number missing!' => 'Chybí èíslo zbo¾í!',
+ 'Parts' => 'Díly',
+ 'Phone' => 'Telefon',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Cena',
+ 'Printer' => 'Tiskárna',
+ 'Project' => 'Project',
+ 'Purchase Order' => 'Vystavená objednávka',
+ 'Qty' => 'Mno¾ství',
+ 'ROP' => 'ROP',
+ 'Recd' => 'Recd',
+ 'Required by' => 'Po¾adováno do',
+ 'Sales' => 'Pøíjmy z prodeje',
+ 'Sales Order' => 'Pøijatá objednávka',
+ 'Save' => 'Ulo¾it',
+ 'Screen' => 'Na obrazovku',
+ 'Select from one of the items below' => 'Zvolte z ní¾e uvedených polo¾ek',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sell Price' => 'Prodejní cena',
+ 'Sep' => 'Záø',
+ 'September' => 'Záøí',
+ 'Service' => 'Slu¾ba',
+ 'Service Number missing!' => 'Chybí èíslo slu¾by!',
+ 'Services' => 'Slu¾by',
+ 'Ship' => 'Ship',
+ 'Ship to' => 'Ship to',
+ 'Short' => 'Krátký výpis',
+ 'Sold' => 'Prodané',
+ 'Stock Assembly' => 'Výrobky',
+ 'Subject' => 'Pøedmìt',
+ 'Subtotal' => 'Mezisouèet',
+ 'Tax' => 'Daò',
+ 'To' => 'do',
+ 'Top Level' => 'Top Level',
+ 'Total' => 'Celkem',
+ 'Unit' => 'Jednotka',
+ 'Unit of measure' => 'Mìrná jednotka',
+ 'Update' => 'Update',
+ 'Updated' => 'Updated',
+ 'Weight' => 'Váha',
+ 'What type of item is this?' => 'O jaký typ polo¾ky se jedná?',
+ 'ea' => 'm.j.',
+ 'emailed to' => 'odesláno na adresu',
+ 'hr' => 'hod',
+ 'sent to printer' => 'vyti¹tìno',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'assembly_row' => 'assembly_row',
+ 'check_form' => 'check_form',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'delete_assembly' => 'delete_assembly',
+ 'delete_item' => 'delete_item',
+ 'delete_part' => 'delete_part',
+ 'delete_service' => 'delete_service',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'link_part' => 'link_part',
+ 'list_assemblies' => 'list_assemblies',
+ 'makemodel_row' => 'makemodel_row',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'parts_subtotal' => 'parts_subtotal',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'restock_assemblies' => 'restock_assemblies',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'stock_assembly' => 'stock_assembly',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'pøidat' => 'add',
+ 'nový_výrobek' => 'add_assembly',
+ 'pøíjem_zbo¾í' => 'add_part',
+ 'nový_druh_slu¾by' => 'add_service',
+ 'pokraèování' => 'continue',
+ 'vymazat' => 'delete',
+ 'upravit_výrobek' => 'edit_assembly',
+ 'upravit_zbo¾í' => 'edit_part',
+ 'upravit_slu¾bu' => 'edit_service',
+ 'ulo¾it' => 'save',
+ 'update' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/cz/io b/sql-ledger/locale/cz/io
new file mode 100644
index 0000000..9fa6c63
--- /dev/null
+++ b/sql-ledger/locale/cz/io
@@ -0,0 +1,106 @@
+$self{texts} = {
+ 'Add Purchase Order' => 'Nová objednávka (nákup)',
+ 'Add Sales Order' => 'Nová objednávka (pøíjem)',
+ 'Address' => 'Adresa',
+ 'Apr' => 'Dub',
+ 'April' => 'Duben',
+ 'Attachment' => 'Pøílohy',
+ 'Aug' => 'Srp',
+ 'August' => 'Srpen',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Paleta',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Pokraèování',
+ 'Copies' => 'Kopie',
+ 'Dec' => 'Pro',
+ 'December' => 'Prosinec',
+ 'Delivery Date' => 'Delivery Date',
+ 'Description' => 'Popis',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'Chybí E-mailová adresa!',
+ 'Extended' => 'Extended',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Úno',
+ 'February' => 'Únor',
+ 'In-line' => 'Vlo¾ené',
+ 'Invoice' => 'Faktura',
+ 'Invoice Date missing!' => 'Chybí datum vystavení!',
+ 'Invoice Number missing!' => 'Chybí èíslo faktury!',
+ 'Item not on file!' => 'Tato polo¾ka není v databázi!',
+ 'Jan' => 'Led',
+ 'January' => 'Leden',
+ 'Jul' => 'Èec',
+ 'July' => 'Èervenec',
+ 'Jun' => 'Èer',
+ 'June' => 'Èerven',
+ 'Mar' => 'Bøe',
+ 'March' => 'Bøezen',
+ 'May' => 'Kvìten',
+ 'May ' => 'Kvì',
+ 'Message' => 'Zpráva',
+ 'Name' => 'Jméno',
+ 'No.' => 'No.',
+ 'Nov' => 'Lis',
+ 'November' => 'Listopad',
+ 'Number' => 'Èíslo',
+ 'Number missing in Row' => 'Chybìjící èíslo na øádku',
+ 'Oct' => 'Øíj',
+ 'October' => 'Øíjen',
+ 'Order' => 'Objednávka',
+ 'Order Date missing!' => 'Chybí datum objednávky!',
+ 'Order Number missing!' => 'Chybí èíslo objednávky!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Dodací list',
+ 'Packing List Date missing!' => 'Chybí datum dodacího listu',
+ 'Packing List Number missing!' => 'Chybí èíslo dodacího listu',
+ 'Part' => 'Zbo¾í',
+ 'Phone' => 'Telefon',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Cena',
+ 'Printer' => 'Tiskárna',
+ 'Project' => 'Project',
+ 'Purchase Order' => 'Vystavená objednávka',
+ 'Qty' => 'Mno¾ství',
+ 'Recd' => 'Recd',
+ 'Required by' => 'Po¾adováno do',
+ 'Sales Order' => 'Pøijatá objednávka',
+ 'Screen' => 'Na obrazovku',
+ 'Select from one of the items below' => 'Zvolte z ní¾e uvedených polo¾ek',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sep' => 'Záø',
+ 'September' => 'Záøí',
+ 'Service' => 'Slu¾ba',
+ 'Ship' => 'Ship',
+ 'Ship to' => 'Ship to',
+ 'Subject' => 'Pøedmìt',
+ 'To' => 'do',
+ 'Unit' => 'Jednotka',
+ 'What type of item is this?' => 'O jaký typ polo¾ky se jedná?',
+ 'emailed to' => 'odesláno na adresu',
+ 'sent to printer' => 'vyti¹tìno',
+};
+
+$self{subs} = {
+ 'check_form' => 'check_form',
+ 'customer_details' => 'customer_details',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'pokraèování' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/cz/ir b/sql-ledger/locale/cz/ir
new file mode 100644
index 0000000..5e36073
--- /dev/null
+++ b/sql-ledger/locale/cz/ir
@@ -0,0 +1,178 @@
+$self{texts} = {
+ 'Account' => 'Úèet',
+ 'Add Purchase Invoice' => 'Add Purchase Invoice',
+ 'Add Purchase Order' => 'Nová objednávka (nákup)',
+ 'Add Sales Order' => 'Nová objednávka (pøíjem)',
+ 'Address' => 'Adresa',
+ 'Amount' => 'Èástka',
+ 'Apr' => 'Dub',
+ 'April' => 'Duben',
+ 'Are you sure you want to delete Invoice Number' => 'Opravdu chcete vymazat fakturu èíslo',
+ 'Attachment' => 'Pøílohy',
+ 'Aug' => 'Srp',
+ 'August' => 'Srpen',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Paleta',
+ 'Cannot delete invoice!' => 'Cannot delete invoice!',
+ 'Cannot post invoice for a closed period!' => 'Cannot post invoice for a closed period!',
+ 'Cannot post invoice!' => 'Cannot post invoice!',
+ 'Cannot post payment for a closed period!' => 'Cannot post payment for a closed period!',
+ 'Cc' => 'Cc',
+ 'Confirm!' => 'Podtvrïte!',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Pokraèování',
+ 'Copies' => 'Kopie',
+ 'Currency' => 'Mìna',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'Datum',
+ 'Date Due' => 'Datum splatnosti',
+ 'Dec' => 'Pro',
+ 'December' => 'Prosinec',
+ 'Delete' => 'Vymazat',
+ 'Delivery Date' => 'Delivery Date',
+ 'Description' => 'Popis',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'Chybí E-mailová adresa!',
+ 'Edit Purchase Invoice' => 'Edit Purchase Invoice',
+ 'Exch' => 'Kurz',
+ 'Exchangerate' => 'Mìnový kurz',
+ 'Exchangerate for payment missing!' => 'Exchangerate for payment missing!',
+ 'Exchangerate missing!' => 'Exchangerate missing!',
+ 'Extended' => 'Extended',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Úno',
+ 'February' => 'Únor',
+ 'In-line' => 'Vlo¾ené',
+ 'Invoice' => 'Faktura',
+ 'Invoice Date' => 'Datum vystavení',
+ 'Invoice Date missing!' => 'Chybí datum vystavení!',
+ 'Invoice Number' => 'Èíslo faktury',
+ 'Invoice Number missing!' => 'Chybí èíslo faktury!',
+ 'Invoice deleted!' => 'Invoice deleted!',
+ 'Invoice posted!' => 'Invoice posted!',
+ 'Item not on file!' => 'Tato polo¾ka není v databázi!',
+ 'Jan' => 'Led',
+ 'January' => 'Leden',
+ 'Jul' => 'Èec',
+ 'July' => 'Èervenec',
+ 'Jun' => 'Èer',
+ 'June' => 'Èerven',
+ 'Mar' => 'Bøe',
+ 'March' => 'Bøezen',
+ 'May' => 'Kvìten',
+ 'May ' => 'Kvì',
+ 'Message' => 'Zpráva',
+ 'Name' => 'Jméno',
+ 'No.' => 'No.',
+ 'Notes' => 'Poznámky',
+ 'Nov' => 'Lis',
+ 'November' => 'Listopad',
+ 'Number' => 'Èíslo',
+ 'Number missing in Row' => 'Chybìjící èíslo na øádku',
+ 'Oct' => 'Øíj',
+ 'October' => 'Øíjen',
+ 'Order' => 'Objednávka',
+ 'Order Date missing!' => 'Chybí datum objednávky!',
+ 'Order Number' => 'Objednávka èíslo',
+ 'Order Number missing!' => 'Chybí èíslo objednávky!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Dodací list',
+ 'Packing List Date missing!' => 'Chybí datum dodacího listu',
+ 'Packing List Number missing!' => 'Chybí èíslo dodacího listu',
+ 'Part' => 'Zbo¾í',
+ 'Payment date missing!' => 'Chybí datum platby!',
+ 'Payments' => 'Platby',
+ 'Phone' => 'Telefon',
+ 'Post' => 'Post',
+ 'Post as new' => 'Post as new',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Cena',
+ 'Printer' => 'Tiskárna',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Purchase Order' => 'Vystavená objednávka',
+ 'Qty' => 'Mno¾ství',
+ 'Recd' => 'Recd',
+ 'Record in' => 'Zaúètovat do',
+ 'Required by' => 'Po¾adováno do',
+ 'Sales Order' => 'Pøijatá objednávka',
+ 'Screen' => 'Na obrazovku',
+ 'Select from one of the items below' => 'Zvolte z ní¾e uvedených polo¾ek',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sep' => 'Záø',
+ 'September' => 'Záøí',
+ 'Service' => 'Slu¾ba',
+ 'Ship' => 'Ship',
+ 'Ship to' => 'Ship to',
+ 'Source' => 'Zdroj',
+ 'Subject' => 'Pøedmìt',
+ 'Subtotal' => 'Mezisouèet',
+ 'Tax Included' => 'Cena vèetnì danì',
+ 'To' => 'do',
+ 'Total' => 'Celkem',
+ 'Unit' => 'Jednotka',
+ 'Update' => 'Update',
+ 'Vendor' => 'Dodavatel',
+ 'Vendor missing!' => 'Vendor missing!',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'What type of item is this?' => 'O jaký typ polo¾ky se jedná?',
+ 'Yes' => 'Ano',
+ 'ea' => 'm.j.',
+ 'emailed to' => 'odesláno na adresu',
+ 'sent to printer' => 'vyti¹tìno',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'pokraèování' => 'continue',
+ 'vymazat' => 'delete',
+ 'objednávka' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'update' => 'update',
+ 'ano' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/cz/is b/sql-ledger/locale/cz/is
new file mode 100644
index 0000000..845b381
--- /dev/null
+++ b/sql-ledger/locale/cz/is
@@ -0,0 +1,185 @@
+$self{texts} = {
+ 'Account' => 'Úèet',
+ 'Add Purchase Order' => 'Nová objednávka (nákup)',
+ 'Add Sales Invoice' => 'Add Sales Invoice',
+ 'Add Sales Order' => 'Nová objednávka (pøíjem)',
+ 'Address' => 'Adresa',
+ 'Amount' => 'Èástka',
+ 'Apr' => 'Dub',
+ 'April' => 'Duben',
+ 'Are you sure you want to delete Invoice Number' => 'Opravdu chcete vymazat fakturu èíslo',
+ 'Attachment' => 'Pøílohy',
+ 'Aug' => 'Srp',
+ 'August' => 'Srpen',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Paleta',
+ 'Cannot delete invoice!' => 'Cannot delete invoice!',
+ 'Cannot post invoice for a closed period!' => 'Cannot post invoice for a closed period!',
+ 'Cannot post invoice!' => 'Cannot post invoice!',
+ 'Cannot post payment for a closed period!' => 'Cannot post payment for a closed period!',
+ 'Cc' => 'Cc',
+ 'Confirm!' => 'Podtvrïte!',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Pokraèování',
+ 'Copies' => 'Kopie',
+ 'Credit Limit' => 'Úvìrový limit',
+ 'Currency' => 'Mìna',
+ 'Customer' => 'Odbìratel',
+ 'Customer missing!' => 'Customer missing!',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'Datum',
+ 'Date Due' => 'Datum splatnosti',
+ 'Dec' => 'Pro',
+ 'December' => 'Prosinec',
+ 'Delete' => 'Vymazat',
+ 'Delivery Date' => 'Delivery Date',
+ 'Description' => 'Popis',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'Chybí E-mailová adresa!',
+ 'Edit Sales Invoice' => 'Edit Sales Invoice',
+ 'Exch' => 'Kurz',
+ 'Exchangerate' => 'Mìnový kurz',
+ 'Exchangerate for payment missing!' => 'Exchangerate for payment missing!',
+ 'Exchangerate missing!' => 'Exchangerate missing!',
+ 'Extended' => 'Extended',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Úno',
+ 'February' => 'Únor',
+ 'In-line' => 'Vlo¾ené',
+ 'Invoice' => 'Faktura',
+ 'Invoice Date' => 'Datum vystavení',
+ 'Invoice Date missing!' => 'Chybí datum vystavení!',
+ 'Invoice Number' => 'Èíslo faktury',
+ 'Invoice Number missing!' => 'Chybí èíslo faktury!',
+ 'Invoice deleted!' => 'Invoice deleted!',
+ 'Invoice posted!' => 'Invoice posted!',
+ 'Item not on file!' => 'Tato polo¾ka není v databázi!',
+ 'Jan' => 'Led',
+ 'January' => 'Leden',
+ 'Jul' => 'Èec',
+ 'July' => 'Èervenec',
+ 'Jun' => 'Èer',
+ 'June' => 'Èerven',
+ 'Mar' => 'Bøe',
+ 'March' => 'Bøezen',
+ 'May' => 'Kvìten',
+ 'May ' => 'Kvì',
+ 'Message' => 'Zpráva',
+ 'Name' => 'Jméno',
+ 'No.' => 'No.',
+ 'Notes' => 'Poznámky',
+ 'Nov' => 'Lis',
+ 'November' => 'Listopad',
+ 'Number' => 'Èíslo',
+ 'Number missing in Row' => 'Chybìjící èíslo na øádku',
+ 'Oct' => 'Øíj',
+ 'October' => 'Øíjen',
+ 'Order' => 'Objednávka',
+ 'Order Date missing!' => 'Chybí datum objednávky!',
+ 'Order Number' => 'Objednávka èíslo',
+ 'Order Number missing!' => 'Chybí èíslo objednávky!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Dodací list',
+ 'Packing List Date missing!' => 'Chybí datum dodacího listu',
+ 'Packing List Number missing!' => 'Chybí èíslo dodacího listu',
+ 'Part' => 'Zbo¾í',
+ 'Payment date missing!' => 'Chybí datum platby!',
+ 'Payments' => 'Platby',
+ 'Phone' => 'Telefon',
+ 'Post' => 'Post',
+ 'Post as new' => 'Post as new',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Cena',
+ 'Print' => 'Print',
+ 'Printer' => 'Tiskárna',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Purchase Order' => 'Vystavená objednávka',
+ 'Qty' => 'Mno¾ství',
+ 'Recd' => 'Recd',
+ 'Record in' => 'Zaúètovat do',
+ 'Remaining' => 'Zbývá',
+ 'Required by' => 'Po¾adováno do',
+ 'Sales Order' => 'Pøijatá objednávka',
+ 'Screen' => 'Na obrazovku',
+ 'Select from one of the items below' => 'Zvolte z ní¾e uvedených polo¾ek',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sep' => 'Záø',
+ 'September' => 'Záøí',
+ 'Service' => 'Slu¾ba',
+ 'Ship' => 'Ship',
+ 'Ship to' => 'Ship to',
+ 'Ship via' => 'Ship via',
+ 'Source' => 'Zdroj',
+ 'Subject' => 'Pøedmìt',
+ 'Subtotal' => 'Mezisouèet',
+ 'Tax Included' => 'Cena vèetnì danì',
+ 'To' => 'do',
+ 'Total' => 'Celkem',
+ 'Unit' => 'Jednotka',
+ 'Update' => 'Update',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'What type of item is this?' => 'O jaký typ polo¾ky se jedná?',
+ 'Yes' => 'Ano',
+ 'ea' => 'm.j.',
+ 'emailed to' => 'odesláno na adresu',
+ 'sent to printer' => 'vyti¹tìno',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'pokraèování' => 'continue',
+ 'vymazat' => 'delete',
+ 'e_mail' => 'e_mail',
+ 'objednávka' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'ano' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/cz/login b/sql-ledger/locale/cz/login
new file mode 100644
index 0000000..c0d9264
--- /dev/null
+++ b/sql-ledger/locale/cz/login
@@ -0,0 +1,28 @@
+$self{texts} = {
+ 'About' => 'O programu',
+ 'Accounting' => 'Úèetnictví',
+ 'Database Host' => 'Databázový server',
+ 'Dataset' => 'Dataset',
+ 'Incorrect Dataset version!' => '©patná verze dat!',
+ 'Incorrect Password!' => 'Nesprávné heslo!',
+ 'Licensed to' => 'Licencováno pro',
+ 'Login' => 'U¾ivatelské jméno',
+ 'Name' => 'Jméno',
+ 'Password' => 'Heslo',
+ 'User' => 'U¾ivatel',
+ 'Version' => 'Verze',
+ 'You are logged out!' => 'You are logged out!',
+ 'You did not enter a name!' => 'Nezadal jste jméno!',
+ 'is not a member!' => 'není platným u¾ivatelem',
+ 'localhost' => 'lokální server',
+};
+
+$self{subs} = {
+ 'company_logo' => 'company_logo',
+ 'login' => 'login',
+ 'login_screen' => 'login_screen',
+ 'logout' => 'logout',
+ 'u¾ivatelské_jméno' => 'login',
+};
+
+1;
diff --git a/sql-ledger/locale/cz/menu b/sql-ledger/locale/cz/menu
new file mode 100644
index 0000000..bb77601
--- /dev/null
+++ b/sql-ledger/locale/cz/menu
@@ -0,0 +1,72 @@
+$self{texts} = {
+ 'AP' => 'Závazky',
+ 'AP Aging' => 'Analýza splatnosti',
+ 'AR' => 'Pohledávky',
+ 'AR Aging' => 'Analýza splatnosti',
+ 'Accounting Menu' => 'Menu úèetnictví',
+ 'Add Account' => 'Zalo¾it úèet',
+ 'Add Assembly' => 'Nový výrobek',
+ 'Add Customer' => 'Nový zákazník',
+ 'Add GIFI' => 'Doplnit úètovací øetìzec',
+ 'Add Part' => 'Pøíjem zbo¾í',
+ 'Add Project' => 'Add Project',
+ 'Add Service' => 'Nový druh slu¾by',
+ 'Add Transaction' => 'Nová transakce',
+ 'Add Vendor' => 'Nový dodavatel',
+ 'Assemblies' => 'Výrobky',
+ 'Audit Control' => 'Kontrola pøístupù',
+ 'Backup' => 'Záloha',
+ 'Balance Sheet' => 'Rozvaha',
+ 'Cash' => 'Cash',
+ 'Chart of Accounts' => 'Úètový rozvrh',
+ 'Check' => 'Check',
+ 'Customers' => 'Customers',
+ 'General Ledger' => 'Hlavní kniha',
+ 'Goods & Services' => 'Zbo¾í a slu¾by',
+ 'HTML Templates' => 'HTML ¹ablony',
+ 'Income Statement' => 'Výsledovka',
+ 'Invoice' => 'Faktura',
+ 'LaTeX Templates' => 'LaTeX ¹ablony',
+ 'List Accounts' => 'Seznam úètù',
+ 'List GIFI' => 'Vypsat úètovací øetìzce',
+ 'Logout' => 'Odhlásit',
+ 'Order Entry' => 'Zadání objednávky',
+ 'Packing List' => 'Dodací list',
+ 'Parts' => 'Díly',
+ 'Payment' => 'Platba',
+ 'Payments' => 'Platby',
+ 'Preferences' => 'Nastavení',
+ 'Projects' => 'Projects',
+ 'Purchase Invoice' => 'Purchase Invoice',
+ 'Purchase Order' => 'Vystavená objednávka',
+ 'Purchase Orders' => 'Vystavené objednávky',
+ 'Receipt' => 'Receipt',
+ 'Receipts' => 'Receipts',
+ 'Reconciliation' => 'Reconciliation',
+ 'Reports' => 'Sestavy',
+ 'Sales Invoice' => 'Sales Invoice',
+ 'Sales Order' => 'Pøijatá objednávka',
+ 'Sales Orders' => 'Pøijaté objednávky',
+ 'Save to File' => 'Ulo¾it do souboru',
+ 'Send by E-Mail' => 'Poslat e-mailem',
+ 'Services' => 'Slu¾by',
+ 'Statement' => 'Statement',
+ 'Stock Assembly' => 'Výrobky',
+ 'Stylesheet' => 'Stylesheet',
+ 'System' => 'Systém',
+ 'Tax collected' => 'Tax collected',
+ 'Tax paid' => 'Tax paid',
+ 'Transactions' => 'Polo¾ky',
+ 'Trial Balance' => 'Obratová pøedvaha',
+ 'Vendors' => 'Vendors',
+ 'Version' => 'Verze',
+ 'localhost' => 'lokální server',
+};
+
+$self{subs} = {
+ 'acc_menu' => 'acc_menu',
+ 'display' => 'display',
+ 'section_menu' => 'section_menu',
+};
+
+1;
diff --git a/sql-ledger/locale/cz/oe b/sql-ledger/locale/cz/oe
new file mode 100644
index 0000000..609a9f1
--- /dev/null
+++ b/sql-ledger/locale/cz/oe
@@ -0,0 +1,199 @@
+$self{texts} = {
+ 'Add' => 'Pøidat',
+ 'Add Purchase Invoice' => 'Add Purchase Invoice',
+ 'Add Purchase Order' => 'Nová objednávka (nákup)',
+ 'Add Sales Invoice' => 'Add Sales Invoice',
+ 'Add Sales Order' => 'Nová objednávka (pøíjem)',
+ 'Address' => 'Adresa',
+ 'Amount' => 'Èástka',
+ 'Apr' => 'Dub',
+ 'April' => 'Duben',
+ 'Are you sure you want to delete Order Number' => 'Opravdu chcete vymazat objednávku èíslo',
+ 'Attachment' => 'Pøílohy',
+ 'Aug' => 'Srp',
+ 'August' => 'Srpen',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Paleta',
+ 'C' => 'C',
+ 'Cannot delete order!' => 'Cannot delete order!',
+ 'Cannot save order!' => 'Cannot save order!',
+ 'Cc' => 'Cc',
+ 'Closed' => 'Zaplaceno',
+ 'Confirm!' => 'Podtvrïte!',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Pokraèování',
+ 'Copies' => 'Kopie',
+ 'Credit Limit' => 'Úvìrový limit',
+ 'Curr' => 'Mìna',
+ 'Currency' => 'Mìna',
+ 'Customer' => 'Odbìratel',
+ 'Customer missing!' => 'Customer missing!',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'Datum',
+ 'Dec' => 'Pro',
+ 'December' => 'Prosinec',
+ 'Delete' => 'Vymazat',
+ 'Delivery Date' => 'Delivery Date',
+ 'Description' => 'Popis',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'Chybí E-mailová adresa!',
+ 'Edit Purchase Order' => 'Upravit vystavenou objednávku',
+ 'Edit Sales Order' => 'Upravit pøijatou objednávku',
+ 'Exchangerate' => 'Mìnový kurz',
+ 'Exchangerate missing!' => 'Exchangerate missing!',
+ 'Extended' => 'Extended',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Úno',
+ 'February' => 'Únor',
+ 'From' => 'z',
+ 'ID' => 'ID',
+ 'In-line' => 'Vlo¾ené',
+ 'Include in Report' => 'Zahrnovat v sestavì',
+ 'Invoice' => 'Faktura',
+ 'Invoice Date missing!' => 'Chybí datum vystavení!',
+ 'Invoice Number missing!' => 'Chybí èíslo faktury!',
+ 'Item not on file!' => 'Tato polo¾ka není v databázi!',
+ 'Jan' => 'Led',
+ 'January' => 'Leden',
+ 'Jul' => 'Èec',
+ 'July' => 'Èervenec',
+ 'Jun' => 'Èer',
+ 'June' => 'Èerven',
+ 'Mar' => 'Bøe',
+ 'March' => 'Bøezen',
+ 'May' => 'Kvìten',
+ 'May ' => 'Kvì',
+ 'Message' => 'Zpráva',
+ 'Name' => 'Jméno',
+ 'No.' => 'No.',
+ 'Notes' => 'Poznámky',
+ 'Nov' => 'Lis',
+ 'November' => 'Listopad',
+ 'Number' => 'Èíslo',
+ 'Number missing in Row' => 'Chybìjící èíslo na øádku',
+ 'O' => 'O',
+ 'Oct' => 'Øíj',
+ 'October' => 'Øíjen',
+ 'Open' => 'Otevøené',
+ 'Order' => 'Objednávka',
+ 'Order Date' => 'Datum objednávky',
+ 'Order Date missing!' => 'Chybí datum objednávky!',
+ 'Order Number' => 'Objednávka èíslo',
+ 'Order Number missing!' => 'Chybí èíslo objednávky!',
+ 'Order deleted!' => 'Order deleted!',
+ 'Order saved!' => 'Order saved!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Dodací list',
+ 'Packing List Date missing!' => 'Chybí datum dodacího listu',
+ 'Packing List Number missing!' => 'Chybí èíslo dodacího listu',
+ 'Part' => 'Zbo¾í',
+ 'Phone' => 'Telefon',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Cena',
+ 'Print' => 'Print',
+ 'Printer' => 'Tiskárna',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Purchase Order' => 'Vystavená objednávka',
+ 'Purchase Orders' => 'Vystavené objednávky',
+ 'Qty' => 'Mno¾ství',
+ 'Recd' => 'Recd',
+ 'Remaining' => 'Zbývá',
+ 'Required by' => 'Po¾adováno do',
+ 'Sales Order' => 'Pøijatá objednávka',
+ 'Sales Orders' => 'Pøijaté objednávky',
+ 'Save' => 'Ulo¾it',
+ 'Save as new' => 'Save as new',
+ 'Screen' => 'Na obrazovku',
+ 'Select from one of the items below' => 'Zvolte z ní¾e uvedených polo¾ek',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sep' => 'Záø',
+ 'September' => 'Záøí',
+ 'Service' => 'Slu¾ba',
+ 'Ship' => 'Ship',
+ 'Ship to' => 'Ship to',
+ 'Ship via' => 'Ship via',
+ 'Subject' => 'Pøedmìt',
+ 'Subtotal' => 'Mezisouèet',
+ 'Tax' => 'Daò',
+ 'Tax Included' => 'Cena vèetnì danì',
+ 'Terms: Net' => 'Netto',
+ 'To' => 'do',
+ 'Total' => 'Celkem',
+ 'Unit' => 'Jednotka',
+ 'Update' => 'Update',
+ 'Vendor' => 'Dodavatel',
+ 'Vendor missing!' => 'Vendor missing!',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'What type of item is this?' => 'O jaký typ polo¾ky se jedná?',
+ 'Yes' => 'Ano',
+ 'days' => 'dní',
+ 'ea' => 'm.j.',
+ 'emailed to' => 'odesláno na adresu',
+ 'sent to printer' => 'vyti¹tìno',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_backorder' => 'create_backorder',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice' => 'invoice',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'order_links' => 'order_links',
+ 'orders' => 'orders',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_order' => 'prepare_order',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'save' => 'save',
+ 'save_as_new' => 'save_as_new',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'subtotal' => 'subtotal',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'pøidat' => 'add',
+ 'pokraèování' => 'continue',
+ 'vymazat' => 'delete',
+ 'e_mail' => 'e_mail',
+ 'faktura' => 'invoice',
+ 'print' => 'print',
+ 'ulo¾it' => 'save',
+ 'save_as_new' => 'save_as_new',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'ano' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/cz/pe b/sql-ledger/locale/cz/pe
new file mode 100644
index 0000000..de5aad3
--- /dev/null
+++ b/sql-ledger/locale/cz/pe
@@ -0,0 +1,35 @@
+$self{texts} = {
+ 'Add' => 'Pøidat',
+ 'Add Project' => 'Add Project',
+ 'All' => 'V¹e',
+ 'Continue' => 'Pokraèování',
+ 'Delete' => 'Vymazat',
+ 'Description' => 'Popis',
+ 'Edit Project' => 'Edit Project',
+ 'Number' => 'Èíslo',
+ 'Orphaned' => 'Neprodejné',
+ 'Project' => 'Project',
+ 'Project Number missing!' => 'Project Number missing!',
+ 'Project deleted!' => 'Project deleted!',
+ 'Project saved!' => 'Project saved!',
+ 'Projects' => 'Projects',
+ 'Save' => 'Ulo¾it',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'pøidat' => 'add',
+ 'pokraèování' => 'continue',
+ 'vymazat' => 'delete',
+ 'ulo¾it' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/cz/rc b/sql-ledger/locale/cz/rc
new file mode 100644
index 0000000..38999ec
--- /dev/null
+++ b/sql-ledger/locale/cz/rc
@@ -0,0 +1,37 @@
+$self{texts} = {
+ 'Account' => 'Úèet',
+ 'Balance' => 'Balance',
+ 'Cleared Balance' => 'Cleared Balance',
+ 'Continue' => 'Pokraèování',
+ 'Date' => 'Datum',
+ 'Deposit' => 'Deposit',
+ 'Description' => 'Popis',
+ 'Difference' => 'Difference',
+ 'Done' => 'Done',
+ 'Exchangerate Difference' => 'Exchangerate Difference',
+ 'From' => 'z',
+ 'Out of balance!' => 'Out of balance!',
+ 'Payment' => 'Platba',
+ 'Reconciliation' => 'Reconciliation',
+ 'Select all' => 'Select all',
+ 'Source' => 'Zdroj',
+ 'Statement Balance' => 'Statement Balance',
+ 'To' => 'do',
+ 'Update' => 'Update',
+};
+
+$self{subs} = {
+ 'continue' => 'continue',
+ 'display_form' => 'display_form',
+ 'done' => 'done',
+ 'get_payments' => 'get_payments',
+ 'reconciliation' => 'reconciliation',
+ 'select_all' => 'select_all',
+ 'update' => 'update',
+ 'pokraèování' => 'continue',
+ 'done' => 'done',
+ 'select_all' => 'select_all',
+ 'update' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/cz/rp b/sql-ledger/locale/cz/rp
new file mode 100644
index 0000000..0896ce4
--- /dev/null
+++ b/sql-ledger/locale/cz/rp
@@ -0,0 +1,117 @@
+$self{texts} = {
+ 'AP Aging' => 'Analýza splatnosti',
+ 'AR Aging' => 'Analýza splatnosti',
+ 'Account' => 'Úèet',
+ 'Accounts' => 'Úèty',
+ 'Amount' => 'Èástka',
+ 'Apr' => 'Dub',
+ 'April' => 'Duben',
+ 'Attachment' => 'Pøílohy',
+ 'Aug' => 'Srp',
+ 'August' => 'Srpen',
+ 'Balance Sheet' => 'Rozvaha',
+ 'Bcc' => 'Bcc',
+ 'Cash based' => 'Cash based',
+ 'Cc' => 'Cc',
+ 'Compare to' => 'Porovnáno k',
+ 'Continue' => 'Pokraèování',
+ 'Copies' => 'Kopie',
+ 'Credit' => 'Dal',
+ 'Current' => 'Current',
+ 'Customer' => 'Odbìratel',
+ 'Date' => 'Datum',
+ 'Debit' => 'Má dáti',
+ 'Dec' => 'Pro',
+ 'December' => 'Prosinec',
+ 'Decimalplaces' => 'Decimalplaces',
+ 'Description' => 'Popis',
+ 'Due' => 'Splatno',
+ 'E-mail' => 'E-mail',
+ 'E-mail Statement to' => 'E-mail Statement to',
+ 'Feb' => 'Úno',
+ 'February' => 'Únor',
+ 'From' => 'z',
+ 'GIFI' => 'Úètovací øetìzec',
+ 'Heading' => 'Nadpis',
+ 'ID' => 'ID',
+ 'In-line' => 'Vlo¾ené',
+ 'Include in Report' => 'Zahrnovat v sestavì',
+ 'Income Statement' => 'Výsledovka',
+ 'Invoice' => 'Faktura',
+ 'Jan' => 'Led',
+ 'January' => 'Leden',
+ 'Jul' => 'Èec',
+ 'July' => 'Èervenec',
+ 'Jun' => 'Èer',
+ 'June' => 'Èerven',
+ 'Mar' => 'Bøe',
+ 'March' => 'Bøezen',
+ 'May' => 'Kvìten',
+ 'May ' => 'Kvì',
+ 'Message' => 'Zpráva',
+ 'N/A' => '---',
+ 'Nothing selected!' => 'Nothing selected!',
+ 'Nov' => 'Lis',
+ 'November' => 'Listopad',
+ 'Oct' => 'Øíj',
+ 'October' => 'Øíjen',
+ 'PDF' => 'PDF',
+ 'Payments' => 'Platby',
+ 'Postscript' => 'Postscript',
+ 'Print' => 'Print',
+ 'Printer' => 'Tiskárna',
+ 'Receipts' => 'Receipts',
+ 'Report for' => 'Výkaz za',
+ 'Retained Earnings' => 'Nerozdìlený zisk',
+ 'Screen' => 'Na obrazovku',
+ 'Select all' => 'Select all',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sep' => 'Záø',
+ 'September' => 'Záøí',
+ 'Source' => 'Zdroj',
+ 'Standard' => 'Standardní',
+ 'Statement' => 'Statement',
+ 'Statement sent to' => 'Statement sent to',
+ 'Statements sent to printer!' => 'Statements sent to printer!',
+ 'Subject' => 'Pøedmìt',
+ 'Subtotal' => 'Mezisouèet',
+ 'Tax' => 'Daò',
+ 'Tax collected' => 'Tax collected',
+ 'Tax paid' => 'Tax paid',
+ 'To' => 'do',
+ 'Total' => 'Celkem',
+ 'Trial Balance' => 'Obratová pøedvaha',
+ 'Vendor' => 'Dodavatel',
+ 'as at' => 'as at',
+ 'collected on sales' => 'vybráno na výstupu',
+ 'for Period' => 'za období',
+ 'paid on purchases' => 'zaplaceno na vstupu',
+ 'to' => 'to',
+};
+
+$self{subs} = {
+ 'aging' => 'aging',
+ 'continue' => 'continue',
+ 'e_mail' => 'e_mail',
+ 'generate_ap_aging' => 'generate_ap_aging',
+ 'generate_ar_aging' => 'generate_ar_aging',
+ 'generate_balance_sheet' => 'generate_balance_sheet',
+ 'generate_income_statement' => 'generate_income_statement',
+ 'generate_tax_report' => 'generate_tax_report',
+ 'generate_trial_balance' => 'generate_trial_balance',
+ 'list_payments' => 'list_payments',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'report' => 'report',
+ 'select_all' => 'select_all',
+ 'send_email' => 'send_email',
+ 'statement_details' => 'statement_details',
+ 'tax_subtotal' => 'tax_subtotal',
+ 'pokraèování' => 'continue',
+ 'e_mail' => 'e_mail',
+ 'print' => 'print',
+ 'select_all' => 'select_all',
+};
+
+1;
diff --git a/sql-ledger/locale/de/COPYING b/sql-ledger/locale/de/COPYING
new file mode 100644
index 0000000..b12eb1b
--- /dev/null
+++ b/sql-ledger/locale/de/COPYING
@@ -0,0 +1,22 @@
+######################################################################
+# SQL-Ledger Accounting
+# Copyright (C) 2002
+#
+# German texts:
+#
+# Author: Thomas Bayen <tbayen@bayen.de>
+# Gunter Ohrner <G.Ohrner@post.rwth-aachen.de>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+######################################################################
diff --git a/sql-ledger/locale/de/LANGUAGE b/sql-ledger/locale/de/LANGUAGE
new file mode 100644
index 0000000..fc0b977
--- /dev/null
+++ b/sql-ledger/locale/de/LANGUAGE
@@ -0,0 +1 @@
+German
diff --git a/sql-ledger/locale/de/Num2text b/sql-ledger/locale/de/Num2text
new file mode 100644
index 0000000..be84a3c
--- /dev/null
+++ b/sql-ledger/locale/de/Num2text
@@ -0,0 +1,185 @@
+#=====================================================================
+# SQL-Ledger Accounting
+# Copyright (C) 2002
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+# Contributors:
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#======================================================================
+#
+# this is a variation of the Lingua package
+# written for check and receipt printing
+# it returns a properly formatted text string
+# for a number up to 10**12
+
+sub init {
+ my $self = shift;
+
+ %{ $self->{numbername} } =
+ (0 => 'Null',
+ 1 => 'ein',
+ 2 => 'zwei',
+ 3 => 'drei',
+ 4 => 'vier',
+ 5 => 'fünf',
+ 6 => 'sechs',
+ 7 => 'sieben',
+ 8 => 'acht',
+ 9 => 'neun',
+ 10 => 'zehn',
+ 11 => 'elf',
+ 12 => 'zwölf',
+ 13 => 'dreizehn',
+ 14 => 'vierzehn',
+ 15 => 'fünfzehn',
+ 16 => 'sechzehn',
+ 17 => 'siebzehn',
+ 18 => 'achtzehn',
+ 19 => 'neunzehn',
+ 20 => 'zwanzig',
+ 30 => 'dreissig',
+ 40 => 'vierzig',
+ 50 => 'fünfzig',
+ 60 => 'sechzig',
+ 70 => 'siebzig',
+ 80 => 'achtzig',
+ 90 => 'neunzig',
+ 10**2 => 'hundert',
+ 10**3 => 'tausend',
+ 10**6 => 'million',
+ 10**9 => 'milliarde',
+ 10**12 => 'billion'
+ );
+
+}
+
+
+sub num2text {
+ my ($self, $amount) = @_;
+
+ return $self->{numbername}{0} unless $amount;
+
+ my @textnumber = ();
+
+ # split amount into chunks of 3
+ my @num = reverse split //, $amount;
+ my @numblock = ();
+ my ($i, $appendn);
+ my @a = ();
+
+ while (@num) {
+ @a = ();
+ for (1 .. 3) {
+ push @a, shift @num;
+ }
+ push @numblock, join / /, reverse @a;
+ }
+
+ my $belowhundred = !$#numblock;
+
+ while (@numblock) {
+
+ $i = $#numblock;
+ @num = split //, $numblock[$i];
+ $appendn = "";
+
+ $numblock[$i] *= 1;
+
+ if ($numblock[$i] == 0) {
+ pop @numblock;
+ next;
+ }
+
+ if ($numblock[$i] > 99) {
+ # the one from hundreds
+ push @textnumber, $self->{numbername}{$num[0]};
+
+ # add hundred designation
+ push @textnumber, $self->{numbername}{10**2};
+
+ # reduce numblock
+ $numblock[$i] -= $num[0] * 100;
+ }
+
+ $appendn = 'en' if ($i == 2);
+ $appendn = 'n' if ($i > 2);
+
+ if ($numblock[$i] > 9) {
+ # tens
+ push @textnumber, $self->format_ten($numblock[$i], $belowhundred);
+ } elsif ($numblock[$i] > 1) {
+ # ones
+ push @textnumber, $self->{numbername}{$numblock[$i]};
+ } elsif ($numblock[$i] == 1) {
+ if ($i == 0) {
+ push @textnumber, $self->{numbername}{$numblock[$i]}.'s';
+ } else {
+ if ($i >= 2) {
+ push @textnumber, $self->{numbername}{$numblock[$i]}.'e';
+ } else {
+ push @textnumber, $self->{numbername}{$numblock[$i]};
+ }
+ }
+ $appendn = "";
+ }
+
+ # add thousand, million
+ if ($i) {
+ $amount = 10**($i * 3);
+ push @textnumber, $self->{numbername}{$amount}.$appendn;
+ }
+
+ pop @numblock;
+
+ }
+
+ join '', @textnumber;
+
+}
+
+
+sub format_ten {
+ my ($self, $amount, $belowhundred) = @_;
+
+ my $textnumber = "";
+ my @num = split //, $amount;
+
+ if ($amount > 20) {
+ if ($num[1] == 0) {
+ $textnumber = $self->{numbername}{$amount};
+ } else {
+ if ($belowhundred) {
+ $amount = $num[0] * 10;
+ $textnumber = $self->{numbername}{$num[1]}.'und'.$self->{numbername}{$amount};
+ } else {
+ $amount = $num[0] * 10;
+ $textnumber = $self->{numbername}{$amount}.$self->{numbername}{$num[1]};
+ $textnumber .= 's' if ($num[1] == 1);
+ }
+ }
+ } else {
+ $textnumber = $self->{numbername}{$amount};
+ }
+
+ $textnumber;
+
+}
+
+
+1;
+
diff --git a/sql-ledger/locale/de/admin b/sql-ledger/locale/de/admin
new file mode 100644
index 0000000..f41796d
--- /dev/null
+++ b/sql-ledger/locale/de/admin
@@ -0,0 +1,124 @@
+$self{texts} = {
+ 'Access Control' => 'Zugriffkontrolle',
+ 'Accounting' => 'Buchhaltung',
+ 'Add User' => 'Benutzer anlegen',
+ 'Address' => 'Adresse',
+ 'Administration' => 'Administration',
+ 'Administrator' => 'Verwalter',
+ 'All Datasets up to date!' => 'Alle Datenbanken sind auf aktuellem Stand.',
+ 'Change Admin Password' => 'Administratorpasswort ändern',
+ 'Change Password' => 'Passwort ändern',
+ 'Character Set' => 'Zeichensatz',
+ 'Click on login name to edit!' => 'Zum Bearbeiten den Zugriffs-Namen anklicken!',
+ 'Company' => 'Firma',
+ 'Connect to' => 'Als Vorlage verwenden',
+ 'Continue' => 'Weiter',
+ 'Create Chart of Accounts' => 'Kontenplan anlegen',
+ 'Create Dataset' => 'Datenbank anlegen',
+ 'DBI not installed!' => 'DBI ist nicht installiert!',
+ 'Database' => 'Datenbank',
+ 'Database Administration' => 'Datenbank Administration',
+ 'Database Driver not checked!' => 'Kein Datenbank-Treiber ausgewählt!',
+ 'Database User missing!' => 'Datenbank Benutzer fehlt!',
+ 'Dataset' => 'Datenbank',
+ 'Dataset missing!' => 'Datenbank fehlt!',
+ 'Dataset updated!' => 'Datenbank erneuert!',
+ 'Date Format' => 'Datumsformat',
+ 'Delete' => 'Löschen',
+ 'Delete Dataset' => 'Datenbank löschen',
+ 'Directory' => 'Verzeichnis',
+ 'Driver' => 'Treiber',
+ 'Dropdown Limit' => 'Auswahllistenbegrenzung',
+ 'E-mail' => 'eMail',
+ 'Edit User' => 'Benutzerdaten bearbeiten',
+ 'Existing Datasets' => 'Existierende Datenbanken',
+ 'Fax' => 'Fax',
+ 'Host' => 'Datenbank-Rechner',
+ 'Hostname missing!' => 'Rechnername fehlt!',
+ 'Incorrect Password!' => 'Ungültiges Passwort!',
+ 'Language' => 'Sprache',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Für lokale Verbindungen "Rechner" und "Port" freilassen.',
+ 'Login' => 'Anmelden',
+ 'Multibyte Encoding' => 'Muiltibyte Encoding',
+ 'Name' => 'Name',
+ 'New Templates' => 'Neue Vorlagen',
+ 'No Database Drivers available!' => 'Kein Datenbank-Treiber verfügbar!',
+ 'No Dataset selected!' => 'Keine Datenbank ausgewählt!',
+ 'Nothing to delete!' => 'Es konnte nichts gelöscht werden!',
+ 'Number Format' => 'Zahlenformat',
+ 'Oracle Database Administration' => 'Oracle Datenbank Administration',
+ 'Password' => 'Passwort',
+ 'Password changed!' => 'Passwort geändert!',
+ 'Pg Database Administration' => 'Pg Datenbank Administration',
+ 'Phone' => 'Tel.',
+ 'Port' => 'Port',
+ 'Port missing!' => 'Portangabe fehlt!',
+ 'Printer' => 'Drucker',
+ 'Save' => 'Speichern',
+ 'Select a Dataset to delete and press "Continue"' => 'Wählen Sie eine Datenbank und klicken Sie auf "Weiter"',
+ 'Setup Templates' => 'Vorlagen auswählen',
+ 'Ship via' => 'Transportmittel',
+ 'Signature' => 'Unterschrift',
+ 'Stylesheet' => 'Stilvorlage',
+ 'Templates' => 'Vorlagen',
+ 'The following Datasets are not in use and can be deleted' => 'Die folgenden Datenbanken sind nicht in Verwendung und können gelöscht werden',
+ 'The following Datasets need to be updated' => 'Folgende Datenbanken müssen aktualisiert werden',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'In diesem Schritt werden bestehende Datenbanken gesucht. Es werden noch keine Änderungen vorgenommen!',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'Um einer Gruppe einen neuen Benutzer hinzuzufügen, ändern und speichern Sie am einfachsten einen bestehenden Zugriffsnamen. Unter dem neuen Namen wird dann ein Benutzer mit denselben Einstellungen angelegt.',
+ 'Update Dataset' => 'Datenbank aktualisieren',
+ 'Use Templates' => 'Benutze Vorlagen',
+ 'User' => 'Benutzer',
+ 'User deleted!' => 'Benutzer gelöscht!',
+ 'User saved!' => 'Benutzer gespeichert!',
+ 'Version' => 'Version',
+ 'You must enter a host and port for local and remote connections!' => '"Rechner" und "Port" müssen für lokale und externe Verbindungen eingetragen werden!',
+ 'does not exist' => 'existiert nicht',
+ 'is already a member!' => 'ist bereits ein Mitglied!',
+ 'localhost' => 'lokaler Rechner',
+ 'locked!' => 'gesperrt!',
+ 'successfully created!' => 'wurde erfolgreich erstellt',
+ 'successfully deleted!' => 'wurde erfolgreich gelöscht',
+ 'website' => 'Website',
+};
+
+$self{subs} = {
+ 'add_user' => 'add_user',
+ 'adminlogin' => 'adminlogin',
+ 'change_admin_password' => 'change_admin_password',
+ 'change_password' => 'change_password',
+ 'check_password' => 'check_password',
+ 'continue' => 'continue',
+ 'create_dataset' => 'create_dataset',
+ 'dbcreate' => 'dbcreate',
+ 'dbdelete' => 'dbdelete',
+ 'dbdriver_defaults' => 'dbdriver_defaults',
+ 'dbselect_source' => 'dbselect_source',
+ 'dbupdate' => 'dbupdate',
+ 'delete' => 'delete',
+ 'delete_dataset' => 'delete_dataset',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'get_value' => 'get_value',
+ 'list_users' => 'list_users',
+ 'login' => 'login',
+ 'login_name' => 'login_name',
+ 'oracle_database_administration' => 'oracle_database_administration',
+ 'pg_database_administration' => 'pg_database_administration',
+ 'save' => 'save',
+ 'update_dataset' => 'update_dataset',
+ 'benutzer_anlegen' => 'add_user',
+ 'administratorpasswort_ändern' => 'change_admin_password',
+ 'passwort_ändern' => 'change_password',
+ 'weiter' => 'continue',
+ 'datenbank_anlegen' => 'create_dataset',
+ 'löschen' => 'delete',
+ 'datenbank_löschen' => 'delete_dataset',
+ 'anmelden' => 'login',
+ 'oracle_datenbank_administration' => 'oracle_database_administration',
+ 'pg_datenbank_administration' => 'pg_database_administration',
+ 'speichern' => 'save',
+ 'datenbank_aktualisieren' => 'update_dataset',
+};
+
+1;
diff --git a/sql-ledger/locale/de/all b/sql-ledger/locale/de/all
new file mode 100644
index 0000000..7e1d9b4
--- /dev/null
+++ b/sql-ledger/locale/de/all
@@ -0,0 +1,499 @@
+# These are all the texts to build the translations files.
+# The file has the form of 'english text' => 'foreign text',
+# you can add the translation in this file or in the 'missing' file
+# run locales.pl from this directory to rebuild the translation files
+
+$self{texts} = {
+ 'AP' => 'Verbindlichkeiten',
+ 'AP Aging' => 'Offene Verbindl.',
+ 'AP Transaction' => 'Eingangsbuchung',
+ 'AP Transactions' => 'Eingangsbuchungen',
+ 'AR' => 'Forderungen',
+ 'AR Aging' => 'Offene Forderungen',
+ 'AR Transaction' => 'Ausgangsbuchung',
+ 'AR Transactions' => 'Ausgangsbuchungen',
+ 'About' => 'Über',
+ 'Access Control' => 'Zugriffkontrolle',
+ 'Account' => 'Konto',
+ 'Account Number' => 'Kontonummer',
+ 'Account Number missing!' => 'Kontonummer fehlt!',
+ 'Account Type' => 'Kontoart',
+ 'Account Type missing!' => 'Kontoart fehlt!',
+ 'Account deleted!' => 'Konto gelöscht!',
+ 'Account saved!' => 'Konto gespeichert!',
+ 'Accounting' => 'Buchhaltung',
+ 'Accounting Menu' => 'Kontoverwaltung',
+ 'Accounts' => 'Konten',
+ 'Active' => 'Aktiv',
+ 'Add' => 'Hinzufügen',
+ 'Add Account' => 'Konto anlegen',
+ 'Add Accounts Payables Transaction' => 'Eingangsbuchung anlegen',
+ 'Add Accounts Receivables Transaction' => 'Ausgangsbuchung anlegen',
+ 'Add Assembly' => 'Erzeugnis anlegen',
+ 'Add Customer' => 'Kunde anlegen',
+ 'Add GIFI' => 'GIFI anlegen',
+ 'Add General Ledger Transaction' => 'Hinzufügen einer Buchung zum Hauptbuch',
+ 'Add Group' => 'Gruppe anlegen',
+ 'Add Part' => 'Ware anlegen',
+ 'Add Project' => 'Projekt anlegen',
+ 'Add Purchase Order' => 'Einkaufsbeleg anlegen',
+ 'Add Sales Invoice' => 'Ausgangsrechnung anlegen',
+ 'Add Sales Order' => 'Verkaufsbeleg anlegen',
+ 'Add Service' => 'Dienstleistung anlegen',
+ 'Add Transaction' => 'Buchung anlegen',
+ 'Add User' => 'Benutzer anlegen',
+ 'Add Vendor' => 'Lieferant anlegen',
+ 'Add Vendor Invoice' => 'Einkaufsrechnung anlegen',
+ 'Address' => 'Adresse',
+ 'Administration' => 'Administration',
+ 'Administrator' => 'Verwalter',
+ 'All' => 'Alle',
+ 'All Datasets up to date!' => 'Alle Datenbanken sind auf aktuellem Stand.',
+ 'Amount' => 'Betrag',
+ 'Amount Due' => 'Betrag fällig',
+ 'Amount does not equal applied!' => 'Betrag stimmt nicht überein!',
+ 'Amount missing!' => 'Betrag fehlt!',
+ 'Applied' => 'Ausgewählt',
+ 'Apr' => 'Apr',
+ 'April' => 'April',
+ 'Are you sure you want to delete Invoice Number' => 'Soll die Rechnung mit folgender Nummer wirklich gelöscht werden:',
+ 'Are you sure you want to delete Order Number' => 'Soll die Bestellung mit folgender Nummer wirklich gelöscht werden:',
+ 'Are you sure you want to delete Transaction' => 'Buchung wirklich löschen?',
+ 'Assemblies' => 'Erzeugnisse',
+ 'Assemblies restocked!' => 'Erzeugnisse sind im Lager!',
+ 'Assembly Number missing!' => 'Erzeugnisnummer fehlt!',
+ 'Asset' => 'Aktiva/Mittelverwendung',
+ 'Attachment' => 'als Anhang',
+ 'Audit Control' => 'Bücherkontrolle',
+ 'Aug' => 'Aug',
+ 'August' => 'August',
+ 'BOM' => 'Stückliste',
+ 'Backup' => 'Sicherung',
+ 'Backup sent to' => 'Eine Sicherungskopie wurde gesandt an',
+ 'Balance' => 'Bilanz',
+ 'Balance Sheet' => 'Bilanz',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Stellage',
+ 'Books are open' => 'Die Bücher sind geöffnet.',
+ 'Bought' => 'Gekauft',
+ 'Business Number' => 'Firmennummer',
+ 'C' => 'G',
+ 'COGS' => 'Umsatzkosten',
+ 'Cannot delete account!' => 'Konto kann nicht gelöscht werden!',
+ 'Cannot delete customer!' => 'Kunde kann nicht gelöscht werden!',
+ 'Cannot delete default account!' => 'Das Standard-Konto kann nicht gelöscht werden!',
+ 'Cannot delete invoice!' => 'Rechnung kann nicht gelöscht werden!',
+ 'Cannot delete item!' => 'Artikel kann nicht gelöscht werden!',
+ 'Cannot delete order!' => 'Bestellung kann nicht gelöscht werden!',
+ 'Cannot delete transaction!' => 'Buchung kann nicht gelöscht werden!',
+ 'Cannot delete vendor!' => 'Lieferant kann nicht gelöscht werden!',
+ 'Cannot have a value in both Debit and Credit!' => 'Es kann nicht gleichzeitig Soll und Haben gebucht werden!',
+ 'Cannot post a transaction without a value!' => 'Eine Buchung ohne Betrag kann nicht verbucht werden!',
+ 'Cannot post invoice for a closed period!' => 'Das Rechnungsdatum fällt in einen abgeschlossen Zeitraum!',
+ 'Cannot post invoice!' => 'Rechnung kann nicht gebucht werden!',
+ 'Cannot post payment for a closed period!' => 'Es können keine Zahlungen für abgeschlossene Bücher gebucht werden!',
+ 'Cannot post payment!' => 'Zahlung kann nicht gebucht werden!',
+ 'Cannot post transaction for a closed period!' => 'Für einen bereits abgeschlossenen Zeitraum kann keine Buchung angelegt werden!',
+ 'Cannot post transaction!' => 'Rechnung kann nicht gebucht werden!',
+ 'Cannot process payment for a closed period!' => 'Es kann keine Zahlung in einem abgeschlossenen Zeitraum verbucht werden!',
+ 'Cannot save account!' => 'Konto kann nicht gespeichert werden!',
+ 'Cannot save order!' => 'Bestellung kann nicht gespeichert werden!',
+ 'Cannot save preferences!' => 'Benutzereinstellungen können nicht gespeichert werden!',
+ 'Cannot stock assemblies!' => 'Erzeugnisse können nicht ins Lager!',
+ 'Cash' => 'Kasse',
+ 'Cash based' => 'basierend auf Barzahlung',
+ 'Cc' => 'Cc',
+ 'Change Admin Password' => 'Administratorpasswort ändern',
+ 'Change Password' => 'Passwort ändern',
+ 'Character Set' => 'Zeichensatz',
+ 'Chart of Accounts' => 'Kontenübersicht',
+ 'Check' => 'Scheck',
+ 'Check printed!' => 'Scheck ist gedruckt!',
+ 'Check printing failed!' => 'Scheck drucken ist fehlgeschlagen!',
+ 'Cleared Balance' => 'Abgeschlossen',
+ 'Click on login name to edit!' => 'Zum Bearbeiten den Zugriffs-Namen anklicken!',
+ 'Close Books up to' => 'Die Bücher abschließen bis zum',
+ 'Closed' => 'Geschlossen',
+ 'Company' => 'Firma',
+ 'Compare to' => 'Gegenüberstellen zu',
+ 'Confirm!' => 'Bestätigen Sie!',
+ 'Connect to' => 'Als Vorlage verwenden',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Weiter',
+ 'Copies' => 'Kopien',
+ 'Copy to COA' => 'In Kontenplan kopieren',
+ 'Create Chart of Accounts' => 'Kontenplan anlegen',
+ 'Create Dataset' => 'Datenbank anlegen',
+ 'Credit' => 'Haben',
+ 'Credit Limit' => 'Kreditlimit',
+ 'Curr' => 'Währung',
+ 'Currency' => 'Währung',
+ 'Current' => 'Betrag',
+ 'Customer' => 'Kunde',
+ 'Customer deleted!' => 'Kunde gelöscht!',
+ 'Customer missing!' => 'Kundenname fehlt!',
+ 'Customer not on file!' => 'Kunde ist nicht in der Datenbank!',
+ 'Customer saved!' => 'Kunde gespeichert!',
+ 'Customers' => 'Kunden',
+ 'DBI not installed!' => 'DBI ist nicht installiert!',
+ 'Database' => 'Datenbank',
+ 'Database Administration' => 'Datenbank Administration',
+ 'Database Driver not checked!' => 'Kein Datenbank-Treiber ausgewählt!',
+ 'Database Host' => 'Datenbank-Rechner',
+ 'Database User missing!' => 'Datenbank Benutzer fehlt!',
+ 'Dataset' => 'Datenbank',
+ 'Dataset missing!' => 'Datenbank fehlt!',
+ 'Dataset updated!' => 'Datenbank erneuert!',
+ 'Date' => 'Datum',
+ 'Date Format' => 'Datumsformat',
+ 'Date Paid' => 'Zahlungsdatum',
+ 'Date missing!' => 'Datum fehlt!',
+ 'Debit' => 'Soll',
+ 'Debit and credit out of balance!' => 'Soll und Haben müssen gleich sein.',
+ 'Dec' => 'Dez',
+ 'December' => 'Dezember',
+ 'Decimalplaces' => 'Dezimalstellen',
+ 'Delete' => 'Löschen',
+ 'Delete Account' => 'Konto löschen',
+ 'Delete Dataset' => 'Datenbank löschen',
+ 'Delivery Date' => 'Lieferung',
+ 'Deposit' => 'Gutschrift',
+ 'Description' => 'Beschreibung',
+ 'Difference' => 'Differenz',
+ 'Directory' => 'Verzeichnis',
+ 'Discount' => 'Rabatt',
+ 'Done' => 'Fertig',
+ 'Drawing' => 'Zeichnung',
+ 'Driver' => 'Treiber',
+ 'Dropdown Limit' => 'Auswahllistenbegrenzung',
+ 'Due' => 'Fällig',
+ 'Due Date' => 'Fälligkeitsdatum',
+ 'Due Date missing!' => 'Fälligkeitsdatum fehlt!',
+ 'E-mail' => 'eMail',
+ 'E-mail Statement to' => 'eMail Fälligkeitsabrechnung an',
+ 'E-mail address missing!' => 'eMail-Adresse fehlt!',
+ 'Edit' => 'Bearbeiten',
+ 'Edit Account' => 'Kontodaten bearbeiten',
+ 'Edit Accounts Payables Transaction' => 'Einkaufsbuchung bearbeiten',
+ 'Edit Accounts Receivables Transaction' => 'Ausgangsbuchung bearbeiten',
+ 'Edit Assembly' => 'Erzeugnis bearbeiten',
+ 'Edit Customer' => 'Kunde editieren',
+ 'Edit GIFI' => 'GIFI editieren',
+ 'Edit General Ledger Transaction' => 'Buchung im Hauptbuch bearbeiten',
+ 'Edit Group' => 'Gruppe editieren',
+ 'Edit Part' => 'Ware bearbeiten',
+ 'Edit Preferences for' => 'Benutzereinstellungen für',
+ 'Edit Project' => 'Projekt bearbeiten',
+ 'Edit Purchase Order' => 'Einkaufsbeleg bearbeiten',
+ 'Edit Sales Invoice' => 'Ausgangsrechnung bearbeiten',
+ 'Edit Sales Order' => 'Verkaufsbeleg bearbeiten',
+ 'Edit Service' => 'Dienstleistung bearbeiten',
+ 'Edit Template' => 'Vorlage bearbeiten',
+ 'Edit User' => 'Benutzerdaten bearbeiten',
+ 'Edit Vendor' => 'Lieferant editieren',
+ 'Edit Vendor Invoice' => 'Einkaufsrechnung bearbeiten',
+ 'Employee' => 'Bearbeiter',
+ 'Enforce transaction reversal for all dates' => 'Kontraeintragungen für jeden Zeitraum aktualisieren',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Durch Doppelpunkte getrennte Währungskürzel mit maximal 3 Buchstaben aufführen; Ihre eigene Landeswährung zuerst (z.B. EUR:USD:CAD)',
+ 'Equity' => 'Passiva/Eigenkapital',
+ 'Exch' => 'Wkurs.',
+ 'Exchangerate' => 'Wechselkurs',
+ 'Exchangerate Difference' => 'Wechselkursunterschied',
+ 'Exchangerate for payment missing!' => 'Es fehlt der Wechselkurs für die Bezahlung!',
+ 'Exchangerate missing!' => 'Es fehlt der Wechselkurs!',
+ 'Existing Datasets' => 'Existierende Datenbanken',
+ 'Expense' => 'Aufwand',
+ 'Expense Account' => 'Aufwandskonto',
+ 'Expense/Asset' => 'Aufwand/Anlagen',
+ 'Extended' => 'Total',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Februar',
+ 'Foreign Exchange Gain' => 'Wechselkurserträge',
+ 'Foreign Exchange Loss' => 'Wechselkursaufwendungen',
+ 'From' => 'Von',
+ 'GIFI' => 'GIFI',
+ 'GIFI deleted!' => 'GIFI gelöscht!',
+ 'GIFI missing!' => 'GIFI fehlt!',
+ 'GIFI saved!' => 'GIFI gespeichert!',
+ 'GL Transaction' => 'Hauptbucheintragung',
+ 'General Ledger' => 'Hauptbuch',
+ 'Goods & Services' => 'Waren und Dienstleistungen',
+ 'Group' => 'Gruppe',
+ 'Group Items' => 'Waren gruppieren',
+ 'Group deleted!' => 'Gruppe gelöscht!',
+ 'Group missing!' => 'Gruppe fehlt!',
+ 'Group saved!' => 'Gruppe gespeichert!',
+ 'Groups' => 'Gruppen',
+ 'HTML Templates' => 'HTML Vorlagen',
+ 'Heading' => 'Überschrift',
+ 'Host' => 'Datenbank-Rechner',
+ 'Hostname missing!' => 'Rechnername fehlt!',
+ 'ID' => 'Nr.',
+ 'Image' => 'Grafik',
+ 'In-line' => 'im Textkörper (Inline)',
+ 'Include in Report' => 'In Bericht aufnehmen',
+ 'Include in drop-down menus' => 'In Aufklapp-Menü aufnehmen',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Soll dieses Konto auf dem Kunden- und Lieferantenformular angezeigt werden, um den Kunden/Lieferanten als steuerpflichtig zu markieren?',
+ 'Income' => 'Einkommen',
+ 'Income Account' => 'Einkommenkonto',
+ 'Income Statement' => 'G & V',
+ 'Incorrect Dataset version!' => 'Datenbankversion stimmt nicht überein!',
+ 'Incorrect Password!' => 'Ungültiges Passwort!',
+ 'Individual Items' => 'Einzelteile',
+ 'Inventory' => 'Inventar',
+ 'Inventory Account' => 'Warenbestand',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'Bevor dieses Erzeugnis als ungültig markiert werden kann, muß das Inventar auf Null sein!',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'Bevor diese Ware als ungültig markiert werden kann, muß das Inventar Null sein!',
+ 'Invoice' => 'Rechnung',
+ 'Invoice Date' => 'Rechnungsdatum',
+ 'Invoice Date missing!' => 'Rechnungsdatum fehlt!',
+ 'Invoice Number' => 'Rechnungsnummer',
+ 'Invoice Number missing!' => 'Rechnungsnummer fehlt!',
+ 'Invoice deleted!' => 'Rechnung gelöscht!',
+ 'Invoice posted!' => 'Rechnung verbucht!',
+ 'Invoices' => 'Rechnungen',
+ 'Is this a summary account to record' => 'Summenkonto für',
+ 'Item deleted!' => 'Artikel gelöscht!',
+ 'Item not on file!' => 'Dieser Artikel ist nicht in der Datenbank!',
+ 'Jan' => 'Jan',
+ 'January' => 'Januar',
+ 'Jul' => 'Jul',
+ 'July' => 'Juli',
+ 'Jun' => 'Jun',
+ 'June' => 'Juni',
+ 'LaTeX Templates' => 'LaTeX Vorlagen',
+ 'Language' => 'Sprache',
+ 'Last Cost' => 'Letzte Kosten',
+ 'Last Invoice Number' => 'Letzte Rechnungsnummer',
+ 'Last Numbers & Default Accounts' => 'Laufende Zähler und Standardkonten',
+ 'Last Purchase Order Number' => 'Letzte Enkaufsbelegnummer',
+ 'Last Sales Order Number' => 'Letzte Verkaufsbelegnummer',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Für lokale Verbindungen "Rechner" und "Port" freilassen.',
+ 'Liability' => 'Passiva/Mittelherkunft',
+ 'Licensed to' => 'Lizensiert für',
+ 'Line Total' => 'Zeilensumme',
+ 'Link' => 'Verknüpfungen',
+ 'Link Accounts' => 'Konten verknüpfen',
+ 'List Accounts' => 'Kontenliste',
+ 'List GIFI' => 'GIFI aufzeigen',
+ 'List Price' => 'Listenpreis',
+ 'List Transactions' => 'Buchungsliste',
+ 'Login' => 'Anmelden',
+ 'Logout' => 'Abmelden',
+ 'Make' => 'Hersteller',
+ 'Mar' => 'Mär',
+ 'March' => 'März',
+ 'May' => 'Mai',
+ 'May ' => 'Mai',
+ 'Message' => 'Nachricht',
+ 'Microfiche' => 'Mikrofilm',
+ 'Model' => 'Modell',
+ 'Multibyte Encoding' => 'Muiltibyte Encoding',
+ 'N/A' => 'N.Z.',
+ 'Name' => 'Name',
+ 'Name missing!' => 'Name fehlt!',
+ 'New Templates' => 'Neue Vorlagen',
+ 'No' => 'Nein',
+ 'No Database Drivers available!' => 'Kein Datenbank-Treiber verfügbar!',
+ 'No Dataset selected!' => 'Keine Datenbank ausgewählt!',
+ 'No email address for' => 'Keine eMail-Addresse für',
+ 'No.' => 'Nr.',
+ 'Notes' => 'Bemerkungen',
+ 'Nothing applied!' => 'Sie haben nichts ausgewählt',
+ 'Nothing selected!' => 'Es wurde nichts ausgewählt!',
+ 'Nothing to delete!' => 'Es konnte nichts gelöscht werden!',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Nummer',
+ 'Number Format' => 'Zahlenformat',
+ 'Number missing in Row' => 'Nummer fehlt in Zeile',
+ 'O' => 'O',
+ 'Obsolete' => 'Ungültig',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktober',
+ 'On Hand' => 'auf Lager',
+ 'On Order' => 'auf Bestellung',
+ 'Open' => 'Offen',
+ 'Oracle Database Administration' => 'Oracle Datenbank Administration',
+ 'Order' => 'Auftrag',
+ 'Order Date' => 'Auftragsdatum',
+ 'Order Date missing!' => 'Auftragsdatum fehlt!',
+ 'Order Entry' => 'Aufträge',
+ 'Order Number' => 'Auftragsnummer',
+ 'Order Number missing!' => 'Auftragsnummer fehlt!',
+ 'Order deleted!' => 'Auftrag gelöscht!',
+ 'Order saved!' => 'Auftrag gespeichert!',
+ 'Ordered' => 'Vom Kunde bestellt',
+ 'Orphaned' => 'nie benutzt',
+ 'Out of balance!' => 'Summen stimmen nicht überein!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Verpackungsliste',
+ 'Packing List Date missing!' => 'Datum für Verpackungsliste fehlt!',
+ 'Packing List Number missing!' => 'Verpackungslistennummer fehlt!',
+ 'Paid' => 'Bezahlt',
+ 'Paid in full' => 'Voll bezahlt',
+ 'Part' => 'Ware',
+ 'Part Number missing!' => 'Warennummer fehlt!',
+ 'Parts' => 'Waren',
+ 'Parts Inventory' => 'Warenliste',
+ 'Password' => 'Passwort',
+ 'Password changed!' => 'Passwort geändert!',
+ 'Payables' => 'Verbindlichkeiten',
+ 'Payment' => 'Zahlung',
+ 'Payment date missing!' => 'Tag der Zahlung fehlt!',
+ 'Payment posted!' => 'Zahlung gebucht!',
+ 'Payments' => 'Zahlungen',
+ 'Pg Database Administration' => 'Pg Datenbank Administration',
+ 'Phone' => 'Tel.',
+ 'Port' => 'Port',
+ 'Port missing!' => 'Portangabe fehlt!',
+ 'Post' => 'Buchen',
+ 'Post as new' => 'Neu buchen',
+ 'Postscript' => 'Postscript',
+ 'Preferences' => 'Benutzereinstellungen',
+ 'Preferences saved!' => 'Einstellungen gespeichert!',
+ 'Price' => 'Preis',
+ 'Print' => 'Drucken',
+ 'Printer' => 'Drucker',
+ 'Project' => 'Projekt',
+ 'Project Number' => 'Projektnummer',
+ 'Project Number missing!' => 'Projektnummer fehlt!',
+ 'Project deleted!' => 'Projekt gelöscht!',
+ 'Project not on file!' => 'Dieses Projekt ist nicht in der Datenbank!',
+ 'Project saved!' => 'Projekt gespeichert!',
+ 'Projects' => 'Projekte',
+ 'Purchase Order' => 'Einkaufsbeleg',
+ 'Purchase Orders' => 'Einkaufsbelege',
+ 'Qty' => 'Anz',
+ 'ROP' => 'UAB',
+ 'Rate' => 'Rate',
+ 'Recd' => 'Erh',
+ 'Receipt' => 'Quittung',
+ 'Receipt printed!' => 'Quittung gedruckt!',
+ 'Receipt printing failed!' => 'Quittung konnte nicht gedruckt werden!',
+ 'Receipts' => 'Quittungen',
+ 'Receivables' => 'Forderungen',
+ 'Reconciliation' => 'Abgleichung',
+ 'Record in' => 'Buchen auf',
+ 'Reference' => 'Referenz',
+ 'Reference missing!' => 'Referenz fehlt!',
+ 'Remaining' => 'Rest',
+ 'Report for' => 'Bericht für',
+ 'Reports' => 'Berichte',
+ 'Required by' => 'Erforderlich am',
+ 'Retained Earnings' => 'Verbliebenes Einkommen',
+ 'Sales' => 'Warenverkauf',
+ 'Sales Invoice' => 'Ausgangsrechnung',
+ 'Sales Order' => 'Verkaufsbeleg',
+ 'Sales Orders' => 'Verkaufsbelege',
+ 'Salesperson' => 'Verkaufsperson',
+ 'Save' => 'Speichern',
+ 'Save as new' => 'als neu speichern',
+ 'Save to File' => 'Auf Festplatte speichern',
+ 'Screen' => 'Bildschirm',
+ 'Select a Dataset to delete and press "Continue"' => 'Wählen Sie eine Datenbank und klicken Sie auf "Weiter"',
+ 'Select all' => 'Alle auswählen',
+ 'Select from one of the items below' => 'Wählen Sie einen der untenstehenden Einträge',
+ 'Select from one of the names below' => 'Wählen Sie einen der untenstehenden Namen',
+ 'Select from one of the projects below' => 'Wählen Sie eines der untenstehenden Projekte',
+ 'Select postscript or PDF!' => 'Postscript oder PDF auswählen!',
+ 'Sell Price' => 'Verkaufspreis',
+ 'Send by E-Mail' => 'Per eMail schicken',
+ 'Sep' => 'Sep',
+ 'September' => 'September',
+ 'Service' => 'Dienstleistung',
+ 'Service Items' => 'Dienstleistungen',
+ 'Service Number missing!' => 'Dienstleistungsnummer fehlt!',
+ 'Services' => 'Leistungen',
+ 'Setup Templates' => 'Vorlagen auswählen',
+ 'Ship' => 'Versand',
+ 'Ship to' => 'Verschicken an',
+ 'Ship via' => 'Transportmittel',
+ 'Short' => 'Kurz',
+ 'Signature' => 'Unterschrift',
+ 'Sold' => 'Verkauft',
+ 'Source' => 'Beleg',
+ 'Standard' => 'Standard',
+ 'Statement' => 'Sammelrechnung',
+ 'Statement Balance' => 'Sammelrechnungsbilanz',
+ 'Statement sent to' => 'Sammelrechnung verschickt an',
+ 'Statements sent to printer!' => 'Sammelrechnungen an Drucker geschickt!',
+ 'Stock' => 'einlagern',
+ 'Stock Assembly' => 'Erzeugnis einlagern',
+ 'Stylesheet' => 'Stilvorlage',
+ 'Subject' => 'Betreff',
+ 'Subtotal' => 'Zwischensumme',
+ 'System' => 'System',
+ 'Tax' => 'Steuer',
+ 'Tax Accounts' => 'Steuerkonto',
+ 'Tax Included' => 'Steuer im Preis inbegriffen',
+ 'Tax collected' => 'vereinnahmte Steuer',
+ 'Tax paid' => 'Vorsteuer',
+ 'Taxable' => 'Steuerpflichtig',
+ 'Template saved!' => 'Schablone gespeichert!',
+ 'Templates' => 'Vorlagen',
+ 'Terms: Net' => 'Zahlungsziel',
+ 'The following Datasets are not in use and can be deleted' => 'Die folgenden Datenbanken sind nicht in Verwendung und können gelöscht werden',
+ 'The following Datasets need to be updated' => 'Folgende Datenbanken müssen aktualisiert werden',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'In diesem Schritt werden bestehende Datenbanken gesucht. Es werden noch keine Änderungen vorgenommen!',
+ 'To' => 'An',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'Um einer Gruppe einen neuen Benutzer hinzuzufügen, ändern und speichern Sie am einfachsten einen bestehenden Zugriffsnamen. Unter dem neuen Namen wird dann ein Benutzer mit denselben Einstellungen angelegt.',
+ 'Top Level' => 'Hauptbeschreibung',
+ 'Total' => 'Summe',
+ 'Transaction Date missing!' => 'Buchungsdatum fehlt!',
+ 'Transaction deleted!' => 'Buchung gelöscht!',
+ 'Transaction posted!' => 'Buchung verbucht!',
+ 'Transaction reversal enforced for all dates' => 'Fehleintragungen müssen für jeden Zeitraum mit einer Kontraeintragung ausgebessert werden',
+ 'Transaction reversal enforced up to' => 'Fehleintragungen können bis zu dem angenebenen Zeitraum nur mit einer Kontraeintragung ausgebessert werden',
+ 'Transactions' => 'Buchungen',
+ 'Transactions exist, cannot delete customer!' => 'Der Kunde kann nicht gelöscht werden, da Buchungen vorhanden sind!',
+ 'Transactions exist, cannot delete vendor!' => 'Der Lieferant kann nicht gelöscht werden, da Buchungen vorhanden sind!',
+ 'Transactions exist; cannot delete account!' => 'Das Konto kann nicht gelöscht werden, da es Buchungen enthält!',
+ 'Trial Balance' => 'Vergleichsbilanz',
+ 'Unit' => 'Einh',
+ 'Unit of measure' => 'Maßeinheit',
+ 'Update' => 'Erneuern',
+ 'Update Dataset' => 'Datenbank aktualisieren',
+ 'Updated' => 'Erneuert am',
+ 'Use Templates' => 'Benutze Vorlagen',
+ 'User' => 'Benutzer',
+ 'User deleted!' => 'Benutzer gelöscht!',
+ 'User saved!' => 'Benutzer gespeichert!',
+ 'Vendor' => 'Lieferant',
+ 'Vendor Invoice' => 'Einkaufsrechnung',
+ 'Vendor deleted!' => 'Lieferant gelöscht!',
+ 'Vendor missing!' => 'Lieferant fehlt!',
+ 'Vendor not on file!' => 'Lieferant ist nicht in der Datenbank!',
+ 'Vendor saved!' => 'Lieferant gespeichert!',
+ 'Vendors' => 'Lieferanten',
+ 'Version' => 'Version',
+ 'Weight' => 'Gewicht',
+ 'Weight Unit' => 'Gewichtseinh.',
+ 'What type of item is this?' => 'Was ist dieser Artikel?',
+ 'Year End' => 'Jahresende',
+ 'Yes' => 'Ja',
+ 'You are logged out!' => 'Auf wiedersehen!',
+ 'You did not enter a name!' => 'Sie haben keinen Namen eingegeben!',
+ 'You must enter a host and port for local and remote connections!' => '"Rechner" und "Port" müssen für lokale und externe Verbindungen eingetragen werden!',
+ 'as at' => 'zum Stand',
+ 'collected on sales' => 'erhalten durch Verkäufe',
+ 'days' => 'Tage',
+ 'does not exist' => 'existiert nicht',
+ 'ea' => 'pro',
+ 'emailed to' => 'gemailt an',
+ 'for Period' => 'für den Zeitraum',
+ 'hr' => 'Std',
+ 'is already a member!' => 'ist bereits ein Mitglied!',
+ 'is not a member!' => 'ist kein Mitglied!',
+ 'localhost' => 'lokaler Rechner',
+ 'locked!' => 'gesperrt!',
+ 'paid on purchases' => 'gezahlt durch Einkäufe',
+ 'sent to printer' => 'an Drucker geschickt',
+ 'successfully created!' => 'wurde erfolgreich erstellt',
+ 'successfully deleted!' => 'wurde erfolgreich gelöscht',
+ 'to' => 'bis',
+ 'website' => 'Website',
+};
+
+1;
diff --git a/sql-ledger/locale/de/am b/sql-ledger/locale/de/am
new file mode 100644
index 0000000..9b93287
--- /dev/null
+++ b/sql-ledger/locale/de/am
@@ -0,0 +1,139 @@
+$self{texts} = {
+ 'AP' => 'Verbindlichkeiten',
+ 'AR' => 'Forderungen',
+ 'Account' => 'Konto',
+ 'Account Number' => 'Kontonummer',
+ 'Account Number missing!' => 'Kontonummer fehlt!',
+ 'Account Type' => 'Kontoart',
+ 'Account Type missing!' => 'Kontoart fehlt!',
+ 'Account deleted!' => 'Konto gelöscht!',
+ 'Account saved!' => 'Konto gespeichert!',
+ 'Add Account' => 'Konto anlegen',
+ 'Add GIFI' => 'GIFI anlegen',
+ 'Address' => 'Adresse',
+ 'Asset' => 'Aktiva/Mittelverwendung',
+ 'Audit Control' => 'Bücherkontrolle',
+ 'Backup sent to' => 'Eine Sicherungskopie wurde gesandt an',
+ 'Books are open' => 'Die Bücher sind geöffnet.',
+ 'Business Number' => 'Firmennummer',
+ 'COGS' => 'Umsatzkosten',
+ 'Cannot delete account!' => 'Konto kann nicht gelöscht werden!',
+ 'Cannot delete default account!' => 'Das Standard-Konto kann nicht gelöscht werden!',
+ 'Cannot save account!' => 'Konto kann nicht gespeichert werden!',
+ 'Cannot save preferences!' => 'Benutzereinstellungen können nicht gespeichert werden!',
+ 'Character Set' => 'Zeichensatz',
+ 'Chart of Accounts' => 'Kontenübersicht',
+ 'Close Books up to' => 'Die Bücher abschließen bis zum',
+ 'Company' => 'Firma',
+ 'Continue' => 'Weiter',
+ 'Copy to COA' => 'In Kontenplan kopieren',
+ 'Credit' => 'Haben',
+ 'Date Format' => 'Datumsformat',
+ 'Debit' => 'Soll',
+ 'Delete' => 'Löschen',
+ 'Delete Account' => 'Konto löschen',
+ 'Description' => 'Beschreibung',
+ 'Dropdown Limit' => 'Auswahllistenbegrenzung',
+ 'E-mail' => 'eMail',
+ 'Edit' => 'Bearbeiten',
+ 'Edit Account' => 'Kontodaten bearbeiten',
+ 'Edit GIFI' => 'GIFI editieren',
+ 'Edit Preferences for' => 'Benutzereinstellungen für',
+ 'Edit Template' => 'Vorlage bearbeiten',
+ 'Enforce transaction reversal for all dates' => 'Kontraeintragungen für jeden Zeitraum aktualisieren',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Durch Doppelpunkte getrennte Währungskürzel mit maximal 3 Buchstaben aufführen; Ihre eigene Landeswährung zuerst (z.B. EUR:USD:CAD)',
+ 'Equity' => 'Passiva/Eigenkapital',
+ 'Expense' => 'Aufwand',
+ 'Expense Account' => 'Aufwandskonto',
+ 'Expense/Asset' => 'Aufwand/Anlagen',
+ 'Fax' => 'Fax',
+ 'Foreign Exchange Gain' => 'Wechselkurserträge',
+ 'Foreign Exchange Loss' => 'Wechselkursaufwendungen',
+ 'GIFI' => 'GIFI',
+ 'GIFI deleted!' => 'GIFI gelöscht!',
+ 'GIFI missing!' => 'GIFI fehlt!',
+ 'GIFI saved!' => 'GIFI gespeichert!',
+ 'Heading' => 'Überschrift',
+ 'Include in drop-down menus' => 'In Aufklapp-Menü aufnehmen',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Soll dieses Konto auf dem Kunden- und Lieferantenformular angezeigt werden, um den Kunden/Lieferanten als steuerpflichtig zu markieren?',
+ 'Income' => 'Einkommen',
+ 'Income Account' => 'Einkommenkonto',
+ 'Inventory' => 'Inventar',
+ 'Inventory Account' => 'Warenbestand',
+ 'Is this a summary account to record' => 'Summenkonto für',
+ 'Language' => 'Sprache',
+ 'Last Invoice Number' => 'Letzte Rechnungsnummer',
+ 'Last Numbers & Default Accounts' => 'Laufende Zähler und Standardkonten',
+ 'Last Purchase Order Number' => 'Letzte Enkaufsbelegnummer',
+ 'Last Sales Order Number' => 'Letzte Verkaufsbelegnummer',
+ 'Liability' => 'Passiva/Mittelherkunft',
+ 'Link' => 'Verknüpfungen',
+ 'Name' => 'Name',
+ 'No' => 'Nein',
+ 'No email address for' => 'Keine eMail-Addresse für',
+ 'Number' => 'Nummer',
+ 'Number Format' => 'Zahlenformat',
+ 'Parts Inventory' => 'Warenliste',
+ 'Password' => 'Passwort',
+ 'Payables' => 'Verbindlichkeiten',
+ 'Payment' => 'Zahlung',
+ 'Phone' => 'Tel.',
+ 'Preferences saved!' => 'Einstellungen gespeichert!',
+ 'Rate' => 'Rate',
+ 'Receivables' => 'Forderungen',
+ 'Sales' => 'Warenverkauf',
+ 'Save' => 'Speichern',
+ 'Service Items' => 'Dienstleistungen',
+ 'Ship via' => 'Transportmittel',
+ 'Signature' => 'Unterschrift',
+ 'Stylesheet' => 'Stilvorlage',
+ 'Tax' => 'Steuer',
+ 'Tax Accounts' => 'Steuerkonto',
+ 'Template saved!' => 'Schablone gespeichert!',
+ 'Transaction reversal enforced for all dates' => 'Fehleintragungen müssen für jeden Zeitraum mit einer Kontraeintragung ausgebessert werden',
+ 'Transaction reversal enforced up to' => 'Fehleintragungen können bis zu dem angenebenen Zeitraum nur mit einer Kontraeintragung ausgebessert werden',
+ 'Transactions exist; cannot delete account!' => 'Das Konto kann nicht gelöscht werden, da es Buchungen enthält!',
+ 'Weight Unit' => 'Gewichtseinh.',
+ 'Year End' => 'Jahresende',
+ 'Yes' => 'Ja',
+ 'does not exist' => 'existiert nicht',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_gifi' => 'add_gifi',
+ 'audit_control' => 'audit_control',
+ 'backup' => 'backup',
+ 'config' => 'config',
+ 'continue' => 'continue',
+ 'copy_to_coa' => 'copy_to_coa',
+ 'delete' => 'delete',
+ 'delete_account' => 'delete_account',
+ 'delete_gifi' => 'delete_gifi',
+ 'display_form' => 'display_form',
+ 'display_stylesheet' => 'display_stylesheet',
+ 'doclose' => 'doclose',
+ 'edit' => 'edit',
+ 'edit_gifi' => 'edit_gifi',
+ 'edit_template' => 'edit_template',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gifi_footer' => 'gifi_footer',
+ 'gifi_header' => 'gifi_header',
+ 'list' => 'list',
+ 'list_gifi' => 'list_gifi',
+ 'save' => 'save',
+ 'save_account' => 'save_account',
+ 'save_gifi' => 'save_gifi',
+ 'save_preferences' => 'save_preferences',
+ 'save_template' => 'save_template',
+ 'konto_anlegen' => 'add_account',
+ 'weiter' => 'continue',
+ 'in_kontenplan_kopieren' => 'copy_to_coa',
+ 'löschen' => 'delete',
+ 'bearbeiten' => 'edit',
+ 'kontodaten_bearbeiten' => 'edit_account',
+ 'speichern' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/de/ap b/sql-ledger/locale/de/ap
new file mode 100644
index 0000000..59a6d47
--- /dev/null
+++ b/sql-ledger/locale/de/ap
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AP Transaction' => 'Eingangsbuchung',
+ 'AP Transactions' => 'Eingangsbuchungen',
+ 'Account' => 'Konto',
+ 'Add Accounts Payables Transaction' => 'Eingangsbuchung anlegen',
+ 'Address' => 'Adresse',
+ 'Amount' => 'Betrag',
+ 'Amount Due' => 'Betrag fällig',
+ 'Apr' => 'Apr',
+ 'April' => 'April',
+ 'Are you sure you want to delete Transaction' => 'Buchung wirklich löschen?',
+ 'Aug' => 'Aug',
+ 'August' => 'August',
+ 'Cannot delete transaction!' => 'Buchung kann nicht gelöscht werden!',
+ 'Cannot post payment for a closed period!' => 'Es können keine Zahlungen für abgeschlossene Bücher gebucht werden!',
+ 'Cannot post transaction for a closed period!' => 'Für einen bereits abgeschlossenen Zeitraum kann keine Buchung angelegt werden!',
+ 'Cannot post transaction!' => 'Rechnung kann nicht gebucht werden!',
+ 'Closed' => 'Geschlossen',
+ 'Confirm!' => 'Bestätigen Sie!',
+ 'Continue' => 'Weiter',
+ 'Currency' => 'Währung',
+ 'Customer not on file!' => 'Kunde ist nicht in der Datenbank!',
+ 'Date' => 'Datum',
+ 'Date Paid' => 'Zahlungsdatum',
+ 'Dec' => 'Dez',
+ 'December' => 'Dezember',
+ 'Delete' => 'Löschen',
+ 'Description' => 'Beschreibung',
+ 'Due Date' => 'Fälligkeitsdatum',
+ 'Due Date missing!' => 'Fälligkeitsdatum fehlt!',
+ 'Edit Accounts Payables Transaction' => 'Einkaufsbuchung bearbeiten',
+ 'Employee' => 'Bearbeiter',
+ 'Exch' => 'Wkurs.',
+ 'Exchangerate' => 'Wechselkurs',
+ 'Exchangerate for payment missing!' => 'Es fehlt der Wechselkurs für die Bezahlung!',
+ 'Exchangerate missing!' => 'Es fehlt der Wechselkurs!',
+ 'Feb' => 'Feb',
+ 'February' => 'Februar',
+ 'From' => 'Von',
+ 'ID' => 'Nr.',
+ 'Include in Report' => 'In Bericht aufnehmen',
+ 'Invoice' => 'Rechnung',
+ 'Invoice Date' => 'Rechnungsdatum',
+ 'Invoice Date missing!' => 'Rechnungsdatum fehlt!',
+ 'Invoice Number' => 'Rechnungsnummer',
+ 'Invoice Number missing!' => 'Rechnungsnummer fehlt!',
+ 'Jan' => 'Jan',
+ 'January' => 'Januar',
+ 'Jul' => 'Jul',
+ 'July' => 'Juli',
+ 'Jun' => 'Jun',
+ 'June' => 'Juni',
+ 'Mar' => 'Mär',
+ 'March' => 'März',
+ 'May' => 'Mai',
+ 'May ' => 'Mai',
+ 'Notes' => 'Bemerkungen',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Nummer',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktober',
+ 'Open' => 'Offen',
+ 'Order' => 'Auftrag',
+ 'Order Number' => 'Auftragsnummer',
+ 'Paid' => 'Bezahlt',
+ 'Payment date missing!' => 'Tag der Zahlung fehlt!',
+ 'Payments' => 'Zahlungen',
+ 'Post' => 'Buchen',
+ 'Post as new' => 'Neu buchen',
+ 'Project' => 'Projekt',
+ 'Project not on file!' => 'Dieses Projekt ist nicht in der Datenbank!',
+ 'Select from one of the names below' => 'Wählen Sie einen der untenstehenden Namen',
+ 'Select from one of the projects below' => 'Wählen Sie eines der untenstehenden Projekte',
+ 'Sep' => 'Sep',
+ 'September' => 'September',
+ 'Source' => 'Beleg',
+ 'Subtotal' => 'Zwischensumme',
+ 'Tax' => 'Steuer',
+ 'Tax Included' => 'Steuer im Preis inbegriffen',
+ 'Total' => 'Summe',
+ 'Transaction deleted!' => 'Buchung gelöscht!',
+ 'Transaction posted!' => 'Buchung verbucht!',
+ 'Update' => 'Erneuern',
+ 'Vendor' => 'Lieferant',
+ 'Vendor Invoice' => 'Einkaufsrechnung',
+ 'Vendor missing!' => 'Lieferant fehlt!',
+ 'Vendor not on file!' => 'Lieferant ist nicht in der Datenbank!',
+ 'Yes' => 'Ja',
+ 'to' => 'bis',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_subtotal' => 'ap_subtotal',
+ 'ap_transaction' => 'ap_transaction',
+ 'ap_transactions' => 'ap_transactions',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'yes' => 'yes',
+ 'eingangsbuchung' => 'ap_transaction',
+ 'eingangsbuchung_anlegen' => 'add_accounts_payables_transaction',
+ 'weiter' => 'continue',
+ 'löschen' => 'delete',
+ 'einkaufsbuchung_bearbeiten' => 'edit_accounts_payables_transaction',
+ 'buchen' => 'post',
+ 'neu_buchen' => 'post_as_new',
+ 'erneuern' => 'update',
+ 'einkaufsrechnung' => 'vendor_invoice',
+ 'ja' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/de/ar b/sql-ledger/locale/de/ar
new file mode 100644
index 0000000..741bc92
--- /dev/null
+++ b/sql-ledger/locale/de/ar
@@ -0,0 +1,134 @@
+$self{texts} = {
+ 'AR Transaction' => 'Ausgangsbuchung',
+ 'AR Transactions' => 'Ausgangsbuchungen',
+ 'Account' => 'Konto',
+ 'Add Accounts Receivables Transaction' => 'Ausgangsbuchung anlegen',
+ 'Address' => 'Adresse',
+ 'Amount' => 'Betrag',
+ 'Amount Due' => 'Betrag fällig',
+ 'Apr' => 'Apr',
+ 'April' => 'April',
+ 'Are you sure you want to delete Transaction' => 'Buchung wirklich löschen?',
+ 'Aug' => 'Aug',
+ 'August' => 'August',
+ 'Cannot delete transaction!' => 'Buchung kann nicht gelöscht werden!',
+ 'Cannot post payment for a closed period!' => 'Es können keine Zahlungen für abgeschlossene Bücher gebucht werden!',
+ 'Cannot post transaction for a closed period!' => 'Für einen bereits abgeschlossenen Zeitraum kann keine Buchung angelegt werden!',
+ 'Cannot post transaction!' => 'Rechnung kann nicht gebucht werden!',
+ 'Closed' => 'Geschlossen',
+ 'Confirm!' => 'Bestätigen Sie!',
+ 'Continue' => 'Weiter',
+ 'Credit Limit' => 'Kreditlimit',
+ 'Currency' => 'Währung',
+ 'Customer' => 'Kunde',
+ 'Customer missing!' => 'Kundenname fehlt!',
+ 'Customer not on file!' => 'Kunde ist nicht in der Datenbank!',
+ 'Date' => 'Datum',
+ 'Date Paid' => 'Zahlungsdatum',
+ 'Dec' => 'Dez',
+ 'December' => 'Dezember',
+ 'Delete' => 'Löschen',
+ 'Description' => 'Beschreibung',
+ 'Due Date' => 'Fälligkeitsdatum',
+ 'Due Date missing!' => 'Fälligkeitsdatum fehlt!',
+ 'Edit Accounts Receivables Transaction' => 'Ausgangsbuchung bearbeiten',
+ 'Exch' => 'Wkurs.',
+ 'Exchangerate' => 'Wechselkurs',
+ 'Exchangerate for payment missing!' => 'Es fehlt der Wechselkurs für die Bezahlung!',
+ 'Exchangerate missing!' => 'Es fehlt der Wechselkurs!',
+ 'Feb' => 'Feb',
+ 'February' => 'Februar',
+ 'From' => 'Von',
+ 'ID' => 'Nr.',
+ 'Include in Report' => 'In Bericht aufnehmen',
+ 'Invoice' => 'Rechnung',
+ 'Invoice Date' => 'Rechnungsdatum',
+ 'Invoice Date missing!' => 'Rechnungsdatum fehlt!',
+ 'Invoice Number' => 'Rechnungsnummer',
+ 'Invoice Number missing!' => 'Rechnungsnummer fehlt!',
+ 'Jan' => 'Jan',
+ 'January' => 'Januar',
+ 'Jul' => 'Jul',
+ 'July' => 'Juli',
+ 'Jun' => 'Jun',
+ 'June' => 'Juni',
+ 'Mar' => 'Mär',
+ 'March' => 'März',
+ 'May' => 'Mai',
+ 'May ' => 'Mai',
+ 'Notes' => 'Bemerkungen',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Nummer',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktober',
+ 'Open' => 'Offen',
+ 'Order' => 'Auftrag',
+ 'Order Number' => 'Auftragsnummer',
+ 'Paid' => 'Bezahlt',
+ 'Payment date missing!' => 'Tag der Zahlung fehlt!',
+ 'Payments' => 'Zahlungen',
+ 'Post' => 'Buchen',
+ 'Post as new' => 'Neu buchen',
+ 'Project' => 'Projekt',
+ 'Project not on file!' => 'Dieses Projekt ist nicht in der Datenbank!',
+ 'Remaining' => 'Rest',
+ 'Sales Invoice' => 'Ausgangsrechnung',
+ 'Salesperson' => 'Verkaufsperson',
+ 'Select from one of the names below' => 'Wählen Sie einen der untenstehenden Namen',
+ 'Select from one of the projects below' => 'Wählen Sie eines der untenstehenden Projekte',
+ 'Sep' => 'Sep',
+ 'September' => 'September',
+ 'Ship via' => 'Transportmittel',
+ 'Source' => 'Beleg',
+ 'Subtotal' => 'Zwischensumme',
+ 'Tax' => 'Steuer',
+ 'Tax Included' => 'Steuer im Preis inbegriffen',
+ 'Total' => 'Summe',
+ 'Transaction deleted!' => 'Buchung gelöscht!',
+ 'Transaction posted!' => 'Buchung verbucht!',
+ 'Update' => 'Erneuern',
+ 'Vendor not on file!' => 'Lieferant ist nicht in der Datenbank!',
+ 'Yes' => 'Ja',
+ 'to' => 'bis',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_subtotal' => 'ar_subtotal',
+ 'ar_transaction' => 'ar_transaction',
+ 'ar_transactions' => 'ar_transactions',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'yes' => 'yes',
+ 'ausgangsbuchung' => 'ar_transaction',
+ 'weiter' => 'continue',
+ 'löschen' => 'delete',
+ 'buchen' => 'post',
+ 'neu_buchen' => 'post_as_new',
+ 'ausgangsrechnung' => 'sales_invoice',
+ 'erneuern' => 'update',
+ 'ja' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/de/arap b/sql-ledger/locale/de/arap
new file mode 100644
index 0000000..7070ce1
--- /dev/null
+++ b/sql-ledger/locale/de/arap
@@ -0,0 +1,30 @@
+$self{texts} = {
+ 'Address' => 'Adresse',
+ 'Continue' => 'Weiter',
+ 'Customer not on file!' => 'Kunde ist nicht in der Datenbank!',
+ 'Description' => 'Beschreibung',
+ 'Number' => 'Nummer',
+ 'Project not on file!' => 'Dieses Projekt ist nicht in der Datenbank!',
+ 'Select from one of the names below' => 'Wählen Sie einen der untenstehenden Namen',
+ 'Select from one of the projects below' => 'Wählen Sie eines der untenstehenden Projekte',
+ 'Vendor not on file!' => 'Lieferant ist nicht in der Datenbank!',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'project_selected' => 'project_selected',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'weiter' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/de/ca b/sql-ledger/locale/de/ca
new file mode 100644
index 0000000..d140801
--- /dev/null
+++ b/sql-ledger/locale/de/ca
@@ -0,0 +1,50 @@
+$self{texts} = {
+ 'Account' => 'Konto',
+ 'Apr' => 'Apr',
+ 'April' => 'April',
+ 'Aug' => 'Aug',
+ 'August' => 'August',
+ 'Balance' => 'Bilanz',
+ 'Chart of Accounts' => 'Kontenübersicht',
+ 'Credit' => 'Haben',
+ 'Date' => 'Datum',
+ 'Debit' => 'Soll',
+ 'Dec' => 'Dez',
+ 'December' => 'Dezember',
+ 'Description' => 'Beschreibung',
+ 'Feb' => 'Feb',
+ 'February' => 'Februar',
+ 'From' => 'Von',
+ 'GIFI' => 'GIFI',
+ 'Include in Report' => 'In Bericht aufnehmen',
+ 'Jan' => 'Jan',
+ 'January' => 'Januar',
+ 'Jul' => 'Jul',
+ 'July' => 'Juli',
+ 'Jun' => 'Jun',
+ 'June' => 'Juni',
+ 'List Transactions' => 'Buchungsliste',
+ 'Mar' => 'Mär',
+ 'March' => 'März',
+ 'May' => 'Mai',
+ 'May ' => 'Mai',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktober',
+ 'Reference' => 'Referenz',
+ 'Sep' => 'Sep',
+ 'September' => 'September',
+ 'Subtotal' => 'Zwischensumme',
+ 'to' => 'bis',
+};
+
+$self{subs} = {
+ 'ca_subtotal' => 'ca_subtotal',
+ 'chart_of_accounts' => 'chart_of_accounts',
+ 'list' => 'list',
+ 'list_transactions' => 'list_transactions',
+ 'buchungsliste' => 'list_transactions',
+};
+
+1;
diff --git a/sql-ledger/locale/de/cp b/sql-ledger/locale/de/cp
new file mode 100644
index 0000000..125874e
--- /dev/null
+++ b/sql-ledger/locale/de/cp
@@ -0,0 +1,77 @@
+$self{texts} = {
+ 'Account' => 'Konto',
+ 'Address' => 'Adresse',
+ 'Amount' => 'Betrag',
+ 'Amount does not equal applied!' => 'Betrag stimmt nicht überein!',
+ 'Amount missing!' => 'Betrag fehlt!',
+ 'Applied' => 'Ausgewählt',
+ 'Cannot post payment!' => 'Zahlung kann nicht gebucht werden!',
+ 'Cannot process payment for a closed period!' => 'Es kann keine Zahlung in einem abgeschlossenen Zeitraum verbucht werden!',
+ 'Check' => 'Scheck',
+ 'Check printed!' => 'Scheck ist gedruckt!',
+ 'Check printing failed!' => 'Scheck drucken ist fehlgeschlagen!',
+ 'Continue' => 'Weiter',
+ 'Currency' => 'Währung',
+ 'Customer' => 'Kunde',
+ 'Customer not on file!' => 'Kunde ist nicht in der Datenbank!',
+ 'Date' => 'Datum',
+ 'Date missing!' => 'Datum fehlt!',
+ 'Description' => 'Beschreibung',
+ 'Due' => 'Fällig',
+ 'Exchangerate' => 'Wechselkurs',
+ 'From' => 'Von',
+ 'Invoice' => 'Rechnung',
+ 'Invoices' => 'Rechnungen',
+ 'Nothing applied!' => 'Sie haben nichts ausgewählt',
+ 'Number' => 'Nummer',
+ 'Paid in full' => 'Voll bezahlt',
+ 'Payment' => 'Zahlung',
+ 'Payment posted!' => 'Zahlung gebucht!',
+ 'Post' => 'Buchen',
+ 'Print' => 'Drucken',
+ 'Printer' => 'Drucker',
+ 'Project not on file!' => 'Dieses Projekt ist nicht in der Datenbank!',
+ 'Receipt' => 'Quittung',
+ 'Receipt printed!' => 'Quittung gedruckt!',
+ 'Receipt printing failed!' => 'Quittung konnte nicht gedruckt werden!',
+ 'Reference' => 'Referenz',
+ 'Screen' => 'Bildschirm',
+ 'Select from one of the names below' => 'Wählen Sie einen der untenstehenden Namen',
+ 'Select from one of the projects below' => 'Wählen Sie eines der untenstehenden Projekte',
+ 'Update' => 'Erneuern',
+ 'Vendor' => 'Lieferant',
+ 'Vendor not on file!' => 'Lieferant ist nicht in der Datenbank!',
+ 'to' => 'bis',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'list_invoices' => 'list_invoices',
+ 'name_selected' => 'name_selected',
+ 'payment' => 'payment',
+ 'post' => 'post',
+ 'print' => 'print',
+ 'project_selected' => 'project_selected',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'vendor_details' => 'vendor_details',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'weiter' => 'continue',
+ 'buchen' => 'post',
+ 'drucken' => 'print',
+ 'erneuern' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/de/ct b/sql-ledger/locale/de/ct
new file mode 100644
index 0000000..07d2607
--- /dev/null
+++ b/sql-ledger/locale/de/ct
@@ -0,0 +1,71 @@
+$self{texts} = {
+ 'Add' => 'Hinzufügen',
+ 'Address' => 'Adresse',
+ 'All' => 'Alle',
+ 'Bcc' => 'Bcc',
+ 'Cannot delete customer!' => 'Kunde kann nicht gelöscht werden!',
+ 'Cannot delete vendor!' => 'Lieferant kann nicht gelöscht werden!',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Weiter',
+ 'Credit Limit' => 'Kreditlimit',
+ 'Customer deleted!' => 'Kunde gelöscht!',
+ 'Customer saved!' => 'Kunde gespeichert!',
+ 'Customers' => 'Kunden',
+ 'Delete' => 'Löschen',
+ 'Discount' => 'Rabatt',
+ 'E-mail' => 'eMail',
+ 'Edit Customer' => 'Kunde editieren',
+ 'Edit Vendor' => 'Lieferant editieren',
+ 'Fax' => 'Fax',
+ 'Include in Report' => 'In Bericht aufnehmen',
+ 'Invoice' => 'Rechnung',
+ 'Name' => 'Name',
+ 'Name missing!' => 'Name fehlt!',
+ 'Notes' => 'Bemerkungen',
+ 'Number' => 'Nummer',
+ 'Order' => 'Auftrag',
+ 'Orphaned' => 'nie benutzt',
+ 'Phone' => 'Tel.',
+ 'Save' => 'Speichern',
+ 'Ship to' => 'Verschicken an',
+ 'Tax Included' => 'Steuer im Preis inbegriffen',
+ 'Taxable' => 'Steuerpflichtig',
+ 'Terms: Net' => 'Zahlungsziel',
+ 'Transactions exist, cannot delete customer!' => 'Der Kunde kann nicht gelöscht werden, da Buchungen vorhanden sind!',
+ 'Transactions exist, cannot delete vendor!' => 'Der Lieferant kann nicht gelöscht werden, da Buchungen vorhanden sind!',
+ 'Vendor deleted!' => 'Lieferant gelöscht!',
+ 'Vendor saved!' => 'Lieferant gespeichert!',
+ 'Vendors' => 'Lieferanten',
+ 'days' => 'Tage',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'customer_invoice' => 'customer_invoice',
+ 'customer_order' => 'customer_order',
+ 'delete' => 'delete',
+ 'delete_customer' => 'delete_customer',
+ 'delete_vendor' => 'delete_vendor',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'invoice' => 'invoice',
+ 'list_names' => 'list_names',
+ 'order' => 'order',
+ 'save' => 'save',
+ 'save_customer' => 'save_customer',
+ 'save_vendor' => 'save_vendor',
+ 'search' => 'search',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'vendor_order' => 'vendor_order',
+ 'hinzufügen' => 'add',
+ 'weiter' => 'continue',
+ 'löschen' => 'delete',
+ 'rechnung' => 'invoice',
+ 'auftrag' => 'order',
+ 'speichern' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/de/gl b/sql-ledger/locale/de/gl
new file mode 100644
index 0000000..7163493
--- /dev/null
+++ b/sql-ledger/locale/de/gl
@@ -0,0 +1,124 @@
+$self{texts} = {
+ 'AP Transaction' => 'Eingangsbuchung',
+ 'AR Transaction' => 'Ausgangsbuchung',
+ 'Account' => 'Konto',
+ 'Add General Ledger Transaction' => 'Hinzufügen einer Buchung zum Hauptbuch',
+ 'Address' => 'Adresse',
+ 'All' => 'Alle',
+ 'Apr' => 'Apr',
+ 'April' => 'April',
+ 'Are you sure you want to delete Transaction' => 'Buchung wirklich löschen?',
+ 'Asset' => 'Aktiva/Mittelverwendung',
+ 'Aug' => 'Aug',
+ 'August' => 'August',
+ 'Balance' => 'Bilanz',
+ 'Cannot delete transaction!' => 'Buchung kann nicht gelöscht werden!',
+ 'Cannot have a value in both Debit and Credit!' => 'Es kann nicht gleichzeitig Soll und Haben gebucht werden!',
+ 'Cannot post a transaction without a value!' => 'Eine Buchung ohne Betrag kann nicht verbucht werden!',
+ 'Cannot post transaction for a closed period!' => 'Für einen bereits abgeschlossenen Zeitraum kann keine Buchung angelegt werden!',
+ 'Confirm!' => 'Bestätigen Sie!',
+ 'Continue' => 'Weiter',
+ 'Credit' => 'Haben',
+ 'Customer not on file!' => 'Kunde ist nicht in der Datenbank!',
+ 'Date' => 'Datum',
+ 'Debit' => 'Soll',
+ 'Debit and credit out of balance!' => 'Soll und Haben müssen gleich sein.',
+ 'Dec' => 'Dez',
+ 'December' => 'Dezember',
+ 'Delete' => 'Löschen',
+ 'Description' => 'Beschreibung',
+ 'Edit General Ledger Transaction' => 'Buchung im Hauptbuch bearbeiten',
+ 'Equity' => 'Passiva/Eigenkapital',
+ 'Expense' => 'Aufwand',
+ 'Feb' => 'Feb',
+ 'February' => 'Februar',
+ 'From' => 'Von',
+ 'GIFI' => 'GIFI',
+ 'GL Transaction' => 'Hauptbucheintragung',
+ 'General Ledger' => 'Hauptbuch',
+ 'ID' => 'Nr.',
+ 'Include in Report' => 'In Bericht aufnehmen',
+ 'Income' => 'Einkommen',
+ 'Jan' => 'Jan',
+ 'January' => 'Januar',
+ 'Jul' => 'Jul',
+ 'July' => 'Juli',
+ 'Jun' => 'Jun',
+ 'June' => 'Juni',
+ 'Liability' => 'Passiva/Mittelherkunft',
+ 'Mar' => 'Mär',
+ 'March' => 'März',
+ 'May' => 'Mai',
+ 'May ' => 'Mai',
+ 'Notes' => 'Bemerkungen',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Nummer',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktober',
+ 'Post' => 'Buchen',
+ 'Post as new' => 'Neu buchen',
+ 'Project' => 'Projekt',
+ 'Project not on file!' => 'Dieses Projekt ist nicht in der Datenbank!',
+ 'Reference' => 'Referenz',
+ 'Reference missing!' => 'Referenz fehlt!',
+ 'Reports' => 'Berichte',
+ 'Sales Invoice' => 'Ausgangsrechnung',
+ 'Select from one of the names below' => 'Wählen Sie einen der untenstehenden Namen',
+ 'Select from one of the projects below' => 'Wählen Sie eines der untenstehenden Projekte',
+ 'Sep' => 'Sep',
+ 'September' => 'September',
+ 'Source' => 'Beleg',
+ 'Subtotal' => 'Zwischensumme',
+ 'Transaction Date missing!' => 'Buchungsdatum fehlt!',
+ 'Transaction deleted!' => 'Buchung gelöscht!',
+ 'Transaction posted!' => 'Buchung verbucht!',
+ 'Update' => 'Erneuern',
+ 'Vendor Invoice' => 'Einkaufsrechnung',
+ 'Vendor not on file!' => 'Lieferant ist nicht in der Datenbank!',
+ 'Yes' => 'Ja',
+ 'to' => 'bis',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'form_row' => 'form_row',
+ 'generate_report' => 'generate_report',
+ 'gl_subtotal' => 'gl_subtotal',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'yes' => 'yes',
+ 'eingangsbuchung' => 'ap_transaction',
+ 'ausgangsbuchung' => 'ar_transaction',
+ 'weiter' => 'continue',
+ 'löschen' => 'delete',
+ 'hauptbucheintragung' => 'gl_transaction',
+ 'buchen' => 'post',
+ 'neu_buchen' => 'post_as_new',
+ 'ausgangsrechnung' => 'sales_invoice',
+ 'erneuern' => 'update',
+ 'einkaufsrechnung' => 'vendor_invoice',
+ 'ja' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/de/ic b/sql-ledger/locale/de/ic
new file mode 100644
index 0000000..6fa30d1
--- /dev/null
+++ b/sql-ledger/locale/de/ic
@@ -0,0 +1,205 @@
+$self{texts} = {
+ 'Active' => 'Aktiv',
+ 'Add' => 'Hinzufügen',
+ 'Add Assembly' => 'Erzeugnis anlegen',
+ 'Add Part' => 'Ware anlegen',
+ 'Add Purchase Order' => 'Einkaufsbeleg anlegen',
+ 'Add Sales Order' => 'Verkaufsbeleg anlegen',
+ 'Add Service' => 'Dienstleistung anlegen',
+ 'Address' => 'Adresse',
+ 'Apr' => 'Apr',
+ 'April' => 'April',
+ 'Assemblies' => 'Erzeugnisse',
+ 'Assemblies restocked!' => 'Erzeugnisse sind im Lager!',
+ 'Assembly Number missing!' => 'Erzeugnisnummer fehlt!',
+ 'Attachment' => 'als Anhang',
+ 'Aug' => 'Aug',
+ 'August' => 'August',
+ 'BOM' => 'Stückliste',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Stellage',
+ 'Bought' => 'Gekauft',
+ 'COGS' => 'Umsatzkosten',
+ 'Cannot delete item!' => 'Artikel kann nicht gelöscht werden!',
+ 'Cannot stock assemblies!' => 'Erzeugnisse können nicht ins Lager!',
+ 'Cc' => 'Cc',
+ 'Closed' => 'Geschlossen',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Weiter',
+ 'Copies' => 'Kopien',
+ 'Dec' => 'Dez',
+ 'December' => 'Dezember',
+ 'Delete' => 'Löschen',
+ 'Delivery Date' => 'Lieferung',
+ 'Description' => 'Beschreibung',
+ 'Drawing' => 'Zeichnung',
+ 'E-mail' => 'eMail',
+ 'E-mail address missing!' => 'eMail-Adresse fehlt!',
+ 'Edit Assembly' => 'Erzeugnis bearbeiten',
+ 'Edit Part' => 'Ware bearbeiten',
+ 'Edit Service' => 'Dienstleistung bearbeiten',
+ 'Expense' => 'Aufwand',
+ 'Extended' => 'Total',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Februar',
+ 'From' => 'Von',
+ 'Group' => 'Gruppe',
+ 'Group Items' => 'Waren gruppieren',
+ 'Image' => 'Grafik',
+ 'In-line' => 'im Textkörper (Inline)',
+ 'Include in Report' => 'In Bericht aufnehmen',
+ 'Income' => 'Einkommen',
+ 'Individual Items' => 'Einzelteile',
+ 'Inventory' => 'Inventar',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'Bevor dieses Erzeugnis als ungültig markiert werden kann, muß das Inventar auf Null sein!',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'Bevor diese Ware als ungültig markiert werden kann, muß das Inventar Null sein!',
+ 'Invoice' => 'Rechnung',
+ 'Invoice Date missing!' => 'Rechnungsdatum fehlt!',
+ 'Invoice Number' => 'Rechnungsnummer',
+ 'Invoice Number missing!' => 'Rechnungsnummer fehlt!',
+ 'Item deleted!' => 'Artikel gelöscht!',
+ 'Item not on file!' => 'Dieser Artikel ist nicht in der Datenbank!',
+ 'Jan' => 'Jan',
+ 'January' => 'Januar',
+ 'Jul' => 'Jul',
+ 'July' => 'Juli',
+ 'Jun' => 'Jun',
+ 'June' => 'Juni',
+ 'Last Cost' => 'Letzte Kosten',
+ 'Line Total' => 'Zeilensumme',
+ 'Link Accounts' => 'Konten verknüpfen',
+ 'List Price' => 'Listenpreis',
+ 'Make' => 'Hersteller',
+ 'Mar' => 'Mär',
+ 'March' => 'März',
+ 'May' => 'Mai',
+ 'May ' => 'Mai',
+ 'Message' => 'Nachricht',
+ 'Microfiche' => 'Mikrofilm',
+ 'Model' => 'Modell',
+ 'Name' => 'Name',
+ 'No.' => 'Nr.',
+ 'Notes' => 'Bemerkungen',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Nummer',
+ 'Number missing in Row' => 'Nummer fehlt in Zeile',
+ 'Obsolete' => 'Ungültig',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktober',
+ 'On Hand' => 'auf Lager',
+ 'On Order' => 'auf Bestellung',
+ 'Order' => 'Auftrag',
+ 'Order Date missing!' => 'Auftragsdatum fehlt!',
+ 'Order Number' => 'Auftragsnummer',
+ 'Order Number missing!' => 'Auftragsnummer fehlt!',
+ 'Ordered' => 'Vom Kunde bestellt',
+ 'Orphaned' => 'nie benutzt',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Verpackungsliste',
+ 'Packing List Date missing!' => 'Datum für Verpackungsliste fehlt!',
+ 'Packing List Number missing!' => 'Verpackungslistennummer fehlt!',
+ 'Part' => 'Ware',
+ 'Part Number missing!' => 'Warennummer fehlt!',
+ 'Parts' => 'Waren',
+ 'Phone' => 'Tel.',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Preis',
+ 'Printer' => 'Drucker',
+ 'Project' => 'Projekt',
+ 'Purchase Order' => 'Einkaufsbeleg',
+ 'Qty' => 'Anz',
+ 'ROP' => 'UAB',
+ 'Recd' => 'Erh',
+ 'Required by' => 'Erforderlich am',
+ 'Sales' => 'Warenverkauf',
+ 'Sales Order' => 'Verkaufsbeleg',
+ 'Save' => 'Speichern',
+ 'Save as new' => 'als neu speichern',
+ 'Screen' => 'Bildschirm',
+ 'Select from one of the items below' => 'Wählen Sie einen der untenstehenden Einträge',
+ 'Select postscript or PDF!' => 'Postscript oder PDF auswählen!',
+ 'Sell Price' => 'Verkaufspreis',
+ 'Sep' => 'Sep',
+ 'September' => 'September',
+ 'Service' => 'Dienstleistung',
+ 'Service Number missing!' => 'Dienstleistungsnummer fehlt!',
+ 'Services' => 'Leistungen',
+ 'Ship' => 'Versand',
+ 'Ship to' => 'Verschicken an',
+ 'Short' => 'Kurz',
+ 'Sold' => 'Verkauft',
+ 'Stock' => 'einlagern',
+ 'Stock Assembly' => 'Erzeugnis einlagern',
+ 'Subject' => 'Betreff',
+ 'Subtotal' => 'Zwischensumme',
+ 'Tax' => 'Steuer',
+ 'To' => 'An',
+ 'Top Level' => 'Hauptbeschreibung',
+ 'Total' => 'Summe',
+ 'Unit' => 'Einh',
+ 'Unit of measure' => 'Maßeinheit',
+ 'Update' => 'Erneuern',
+ 'Updated' => 'Erneuert am',
+ 'Weight' => 'Gewicht',
+ 'What type of item is this?' => 'Was ist dieser Artikel?',
+ 'ea' => 'pro',
+ 'emailed to' => 'gemailt an',
+ 'hr' => 'Std',
+ 'sent to printer' => 'an Drucker geschickt',
+ 'to' => 'bis',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'assembly_row' => 'assembly_row',
+ 'check_form' => 'check_form',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'link_part' => 'link_part',
+ 'list_assemblies' => 'list_assemblies',
+ 'makemodel_row' => 'makemodel_row',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'parts_subtotal' => 'parts_subtotal',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'restock_assemblies' => 'restock_assemblies',
+ 'save' => 'save',
+ 'save_as_new' => 'save_as_new',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'stock_assembly' => 'stock_assembly',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'hinzufügen' => 'add',
+ 'erzeugnis_anlegen' => 'add_assembly',
+ 'ware_anlegen' => 'add_part',
+ 'dienstleistung_anlegen' => 'add_service',
+ 'weiter' => 'continue',
+ 'löschen' => 'delete',
+ 'erzeugnis_bearbeiten' => 'edit_assembly',
+ 'ware_bearbeiten' => 'edit_part',
+ 'dienstleistung_bearbeiten' => 'edit_service',
+ 'speichern' => 'save',
+ 'als_neu_speichern' => 'save_as_new',
+ 'erneuern' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/de/io b/sql-ledger/locale/de/io
new file mode 100644
index 0000000..3e94eb8
--- /dev/null
+++ b/sql-ledger/locale/de/io
@@ -0,0 +1,108 @@
+$self{texts} = {
+ 'Add Purchase Order' => 'Einkaufsbeleg anlegen',
+ 'Add Sales Order' => 'Verkaufsbeleg anlegen',
+ 'Address' => 'Adresse',
+ 'Apr' => 'Apr',
+ 'April' => 'April',
+ 'Attachment' => 'als Anhang',
+ 'Aug' => 'Aug',
+ 'August' => 'August',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Stellage',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Weiter',
+ 'Copies' => 'Kopien',
+ 'Dec' => 'Dez',
+ 'December' => 'Dezember',
+ 'Delivery Date' => 'Lieferung',
+ 'Description' => 'Beschreibung',
+ 'E-mail' => 'eMail',
+ 'E-mail address missing!' => 'eMail-Adresse fehlt!',
+ 'Extended' => 'Total',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Februar',
+ 'Group' => 'Gruppe',
+ 'Group Items' => 'Waren gruppieren',
+ 'In-line' => 'im Textkörper (Inline)',
+ 'Invoice' => 'Rechnung',
+ 'Invoice Date missing!' => 'Rechnungsdatum fehlt!',
+ 'Invoice Number missing!' => 'Rechnungsnummer fehlt!',
+ 'Item not on file!' => 'Dieser Artikel ist nicht in der Datenbank!',
+ 'Jan' => 'Jan',
+ 'January' => 'Januar',
+ 'Jul' => 'Jul',
+ 'July' => 'Juli',
+ 'Jun' => 'Jun',
+ 'June' => 'Juni',
+ 'Mar' => 'Mär',
+ 'March' => 'März',
+ 'May' => 'Mai',
+ 'May ' => 'Mai',
+ 'Message' => 'Nachricht',
+ 'Name' => 'Name',
+ 'No.' => 'Nr.',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Nummer',
+ 'Number missing in Row' => 'Nummer fehlt in Zeile',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktober',
+ 'Order' => 'Auftrag',
+ 'Order Date missing!' => 'Auftragsdatum fehlt!',
+ 'Order Number missing!' => 'Auftragsnummer fehlt!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Verpackungsliste',
+ 'Packing List Date missing!' => 'Datum für Verpackungsliste fehlt!',
+ 'Packing List Number missing!' => 'Verpackungslistennummer fehlt!',
+ 'Part' => 'Ware',
+ 'Phone' => 'Tel.',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Preis',
+ 'Printer' => 'Drucker',
+ 'Project' => 'Projekt',
+ 'Purchase Order' => 'Einkaufsbeleg',
+ 'Qty' => 'Anz',
+ 'Recd' => 'Erh',
+ 'Required by' => 'Erforderlich am',
+ 'Sales Order' => 'Verkaufsbeleg',
+ 'Screen' => 'Bildschirm',
+ 'Select from one of the items below' => 'Wählen Sie einen der untenstehenden Einträge',
+ 'Select postscript or PDF!' => 'Postscript oder PDF auswählen!',
+ 'Sep' => 'Sep',
+ 'September' => 'September',
+ 'Service' => 'Dienstleistung',
+ 'Ship' => 'Versand',
+ 'Ship to' => 'Verschicken an',
+ 'Subject' => 'Betreff',
+ 'To' => 'An',
+ 'Unit' => 'Einh',
+ 'What type of item is this?' => 'Was ist dieser Artikel?',
+ 'emailed to' => 'gemailt an',
+ 'sent to printer' => 'an Drucker geschickt',
+};
+
+$self{subs} = {
+ 'check_form' => 'check_form',
+ 'customer_details' => 'customer_details',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'weiter' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/de/ir b/sql-ledger/locale/de/ir
new file mode 100644
index 0000000..7b60e47
--- /dev/null
+++ b/sql-ledger/locale/de/ir
@@ -0,0 +1,180 @@
+$self{texts} = {
+ 'Account' => 'Konto',
+ 'Add Purchase Order' => 'Einkaufsbeleg anlegen',
+ 'Add Sales Order' => 'Verkaufsbeleg anlegen',
+ 'Add Vendor Invoice' => 'Einkaufsrechnung anlegen',
+ 'Address' => 'Adresse',
+ 'Amount' => 'Betrag',
+ 'Apr' => 'Apr',
+ 'April' => 'April',
+ 'Are you sure you want to delete Invoice Number' => 'Soll die Rechnung mit folgender Nummer wirklich gelöscht werden:',
+ 'Attachment' => 'als Anhang',
+ 'Aug' => 'Aug',
+ 'August' => 'August',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Stellage',
+ 'Cannot delete invoice!' => 'Rechnung kann nicht gelöscht werden!',
+ 'Cannot post invoice for a closed period!' => 'Das Rechnungsdatum fällt in einen abgeschlossen Zeitraum!',
+ 'Cannot post invoice!' => 'Rechnung kann nicht gebucht werden!',
+ 'Cannot post payment for a closed period!' => 'Es können keine Zahlungen für abgeschlossene Bücher gebucht werden!',
+ 'Cc' => 'Cc',
+ 'Confirm!' => 'Bestätigen Sie!',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Weiter',
+ 'Copies' => 'Kopien',
+ 'Currency' => 'Währung',
+ 'Customer not on file!' => 'Kunde ist nicht in der Datenbank!',
+ 'Date' => 'Datum',
+ 'Dec' => 'Dez',
+ 'December' => 'Dezember',
+ 'Delete' => 'Löschen',
+ 'Delivery Date' => 'Lieferung',
+ 'Description' => 'Beschreibung',
+ 'Due Date' => 'Fälligkeitsdatum',
+ 'E-mail' => 'eMail',
+ 'E-mail address missing!' => 'eMail-Adresse fehlt!',
+ 'Edit Vendor Invoice' => 'Einkaufsrechnung bearbeiten',
+ 'Exch' => 'Wkurs.',
+ 'Exchangerate' => 'Wechselkurs',
+ 'Exchangerate for payment missing!' => 'Es fehlt der Wechselkurs für die Bezahlung!',
+ 'Exchangerate missing!' => 'Es fehlt der Wechselkurs!',
+ 'Extended' => 'Total',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Februar',
+ 'Group' => 'Gruppe',
+ 'Group Items' => 'Waren gruppieren',
+ 'In-line' => 'im Textkörper (Inline)',
+ 'Invoice' => 'Rechnung',
+ 'Invoice Date' => 'Rechnungsdatum',
+ 'Invoice Date missing!' => 'Rechnungsdatum fehlt!',
+ 'Invoice Number' => 'Rechnungsnummer',
+ 'Invoice Number missing!' => 'Rechnungsnummer fehlt!',
+ 'Invoice deleted!' => 'Rechnung gelöscht!',
+ 'Invoice posted!' => 'Rechnung verbucht!',
+ 'Item not on file!' => 'Dieser Artikel ist nicht in der Datenbank!',
+ 'Jan' => 'Jan',
+ 'January' => 'Januar',
+ 'Jul' => 'Jul',
+ 'July' => 'Juli',
+ 'Jun' => 'Jun',
+ 'June' => 'Juni',
+ 'Mar' => 'Mär',
+ 'March' => 'März',
+ 'May' => 'Mai',
+ 'May ' => 'Mai',
+ 'Message' => 'Nachricht',
+ 'Name' => 'Name',
+ 'No.' => 'Nr.',
+ 'Notes' => 'Bemerkungen',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Nummer',
+ 'Number missing in Row' => 'Nummer fehlt in Zeile',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktober',
+ 'Order' => 'Auftrag',
+ 'Order Date missing!' => 'Auftragsdatum fehlt!',
+ 'Order Number' => 'Auftragsnummer',
+ 'Order Number missing!' => 'Auftragsnummer fehlt!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Verpackungsliste',
+ 'Packing List Date missing!' => 'Datum für Verpackungsliste fehlt!',
+ 'Packing List Number missing!' => 'Verpackungslistennummer fehlt!',
+ 'Part' => 'Ware',
+ 'Payment date missing!' => 'Tag der Zahlung fehlt!',
+ 'Payments' => 'Zahlungen',
+ 'Phone' => 'Tel.',
+ 'Post' => 'Buchen',
+ 'Post as new' => 'Neu buchen',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Preis',
+ 'Printer' => 'Drucker',
+ 'Project' => 'Projekt',
+ 'Project not on file!' => 'Dieses Projekt ist nicht in der Datenbank!',
+ 'Purchase Order' => 'Einkaufsbeleg',
+ 'Qty' => 'Anz',
+ 'Recd' => 'Erh',
+ 'Record in' => 'Buchen auf',
+ 'Required by' => 'Erforderlich am',
+ 'Sales Order' => 'Verkaufsbeleg',
+ 'Screen' => 'Bildschirm',
+ 'Select from one of the items below' => 'Wählen Sie einen der untenstehenden Einträge',
+ 'Select from one of the names below' => 'Wählen Sie einen der untenstehenden Namen',
+ 'Select from one of the projects below' => 'Wählen Sie eines der untenstehenden Projekte',
+ 'Select postscript or PDF!' => 'Postscript oder PDF auswählen!',
+ 'Sep' => 'Sep',
+ 'September' => 'September',
+ 'Service' => 'Dienstleistung',
+ 'Ship' => 'Versand',
+ 'Ship to' => 'Verschicken an',
+ 'Source' => 'Beleg',
+ 'Subject' => 'Betreff',
+ 'Subtotal' => 'Zwischensumme',
+ 'Tax Included' => 'Steuer im Preis inbegriffen',
+ 'To' => 'An',
+ 'Total' => 'Summe',
+ 'Unit' => 'Einh',
+ 'Update' => 'Erneuern',
+ 'Vendor' => 'Lieferant',
+ 'Vendor missing!' => 'Lieferant fehlt!',
+ 'Vendor not on file!' => 'Lieferant ist nicht in der Datenbank!',
+ 'What type of item is this?' => 'Was ist dieser Artikel?',
+ 'Yes' => 'Ja',
+ 'ea' => 'pro',
+ 'emailed to' => 'gemailt an',
+ 'sent to printer' => 'an Drucker geschickt',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'yes' => 'yes',
+ 'weiter' => 'continue',
+ 'löschen' => 'delete',
+ 'auftrag' => 'order',
+ 'buchen' => 'post',
+ 'neu_buchen' => 'post_as_new',
+ 'erneuern' => 'update',
+ 'ja' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/de/is b/sql-ledger/locale/de/is
new file mode 100644
index 0000000..f5edab6
--- /dev/null
+++ b/sql-ledger/locale/de/is
@@ -0,0 +1,187 @@
+$self{texts} = {
+ 'Account' => 'Konto',
+ 'Add Purchase Order' => 'Einkaufsbeleg anlegen',
+ 'Add Sales Invoice' => 'Ausgangsrechnung anlegen',
+ 'Add Sales Order' => 'Verkaufsbeleg anlegen',
+ 'Address' => 'Adresse',
+ 'Amount' => 'Betrag',
+ 'Apr' => 'Apr',
+ 'April' => 'April',
+ 'Are you sure you want to delete Invoice Number' => 'Soll die Rechnung mit folgender Nummer wirklich gelöscht werden:',
+ 'Attachment' => 'als Anhang',
+ 'Aug' => 'Aug',
+ 'August' => 'August',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Stellage',
+ 'Cannot delete invoice!' => 'Rechnung kann nicht gelöscht werden!',
+ 'Cannot post invoice for a closed period!' => 'Das Rechnungsdatum fällt in einen abgeschlossen Zeitraum!',
+ 'Cannot post invoice!' => 'Rechnung kann nicht gebucht werden!',
+ 'Cannot post payment for a closed period!' => 'Es können keine Zahlungen für abgeschlossene Bücher gebucht werden!',
+ 'Cc' => 'Cc',
+ 'Confirm!' => 'Bestätigen Sie!',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Weiter',
+ 'Copies' => 'Kopien',
+ 'Credit Limit' => 'Kreditlimit',
+ 'Currency' => 'Währung',
+ 'Customer' => 'Kunde',
+ 'Customer missing!' => 'Kundenname fehlt!',
+ 'Customer not on file!' => 'Kunde ist nicht in der Datenbank!',
+ 'Date' => 'Datum',
+ 'Dec' => 'Dez',
+ 'December' => 'Dezember',
+ 'Delete' => 'Löschen',
+ 'Delivery Date' => 'Lieferung',
+ 'Description' => 'Beschreibung',
+ 'Due Date' => 'Fälligkeitsdatum',
+ 'E-mail' => 'eMail',
+ 'E-mail address missing!' => 'eMail-Adresse fehlt!',
+ 'Edit Sales Invoice' => 'Ausgangsrechnung bearbeiten',
+ 'Exch' => 'Wkurs.',
+ 'Exchangerate' => 'Wechselkurs',
+ 'Exchangerate for payment missing!' => 'Es fehlt der Wechselkurs für die Bezahlung!',
+ 'Exchangerate missing!' => 'Es fehlt der Wechselkurs!',
+ 'Extended' => 'Total',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Februar',
+ 'Group' => 'Gruppe',
+ 'Group Items' => 'Waren gruppieren',
+ 'In-line' => 'im Textkörper (Inline)',
+ 'Invoice' => 'Rechnung',
+ 'Invoice Date' => 'Rechnungsdatum',
+ 'Invoice Date missing!' => 'Rechnungsdatum fehlt!',
+ 'Invoice Number' => 'Rechnungsnummer',
+ 'Invoice Number missing!' => 'Rechnungsnummer fehlt!',
+ 'Invoice deleted!' => 'Rechnung gelöscht!',
+ 'Invoice posted!' => 'Rechnung verbucht!',
+ 'Item not on file!' => 'Dieser Artikel ist nicht in der Datenbank!',
+ 'Jan' => 'Jan',
+ 'January' => 'Januar',
+ 'Jul' => 'Jul',
+ 'July' => 'Juli',
+ 'Jun' => 'Jun',
+ 'June' => 'Juni',
+ 'Mar' => 'Mär',
+ 'March' => 'März',
+ 'May' => 'Mai',
+ 'May ' => 'Mai',
+ 'Message' => 'Nachricht',
+ 'Name' => 'Name',
+ 'No.' => 'Nr.',
+ 'Notes' => 'Bemerkungen',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Nummer',
+ 'Number missing in Row' => 'Nummer fehlt in Zeile',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktober',
+ 'Order' => 'Auftrag',
+ 'Order Date missing!' => 'Auftragsdatum fehlt!',
+ 'Order Number' => 'Auftragsnummer',
+ 'Order Number missing!' => 'Auftragsnummer fehlt!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Verpackungsliste',
+ 'Packing List Date missing!' => 'Datum für Verpackungsliste fehlt!',
+ 'Packing List Number missing!' => 'Verpackungslistennummer fehlt!',
+ 'Part' => 'Ware',
+ 'Payment date missing!' => 'Tag der Zahlung fehlt!',
+ 'Payments' => 'Zahlungen',
+ 'Phone' => 'Tel.',
+ 'Post' => 'Buchen',
+ 'Post as new' => 'Neu buchen',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Preis',
+ 'Print' => 'Drucken',
+ 'Printer' => 'Drucker',
+ 'Project' => 'Projekt',
+ 'Project not on file!' => 'Dieses Projekt ist nicht in der Datenbank!',
+ 'Purchase Order' => 'Einkaufsbeleg',
+ 'Qty' => 'Anz',
+ 'Recd' => 'Erh',
+ 'Record in' => 'Buchen auf',
+ 'Remaining' => 'Rest',
+ 'Required by' => 'Erforderlich am',
+ 'Sales Order' => 'Verkaufsbeleg',
+ 'Screen' => 'Bildschirm',
+ 'Select from one of the items below' => 'Wählen Sie einen der untenstehenden Einträge',
+ 'Select from one of the names below' => 'Wählen Sie einen der untenstehenden Namen',
+ 'Select from one of the projects below' => 'Wählen Sie eines der untenstehenden Projekte',
+ 'Select postscript or PDF!' => 'Postscript oder PDF auswählen!',
+ 'Sep' => 'Sep',
+ 'September' => 'September',
+ 'Service' => 'Dienstleistung',
+ 'Ship' => 'Versand',
+ 'Ship to' => 'Verschicken an',
+ 'Ship via' => 'Transportmittel',
+ 'Source' => 'Beleg',
+ 'Subject' => 'Betreff',
+ 'Subtotal' => 'Zwischensumme',
+ 'Tax Included' => 'Steuer im Preis inbegriffen',
+ 'To' => 'An',
+ 'Total' => 'Summe',
+ 'Unit' => 'Einh',
+ 'Update' => 'Erneuern',
+ 'Vendor not on file!' => 'Lieferant ist nicht in der Datenbank!',
+ 'What type of item is this?' => 'Was ist dieser Artikel?',
+ 'Yes' => 'Ja',
+ 'ea' => 'pro',
+ 'emailed to' => 'gemailt an',
+ 'sent to printer' => 'an Drucker geschickt',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'yes' => 'yes',
+ 'weiter' => 'continue',
+ 'löschen' => 'delete',
+ 'email' => 'e_mail',
+ 'auftrag' => 'order',
+ 'buchen' => 'post',
+ 'neu_buchen' => 'post_as_new',
+ 'drucken' => 'print',
+ 'verschicken_an' => 'ship_to',
+ 'erneuern' => 'update',
+ 'ja' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/de/locales.pl b/sql-ledger/locale/de/locales.pl
new file mode 100755
index 0000000..a358a90
--- /dev/null
+++ b/sql-ledger/locale/de/locales.pl
@@ -0,0 +1,303 @@
+#!/usr/bin/perl
+
+# -n do not include custom_ scripts
+
+use FileHandle;
+
+
+$basedir = "../..";
+$bindir = "$basedir/bin/mozilla";
+$menufile = "menu.ini";
+
+foreach $item (@ARGV) {
+ $item =~ s/-//g;
+ $arg{$item} = 1;
+}
+
+opendir DIR, "$bindir" or die "$!";
+@progfiles = grep { /\.pl/; !/(_|^\.)/ } readdir DIR;
+seekdir DIR, 0;
+@customfiles = grep /_/, readdir DIR;
+closedir DIR;
+
+# put customized files into @customfiles
+@customfiles = () if ($arg{n});
+
+if ($arg{n}) {
+ @menufiles = ($menufile);
+} else {
+ opendir DIR, "$basedir" or die "$!";
+ @menufiles = grep { /.*?_$menufile$/ } readdir DIR;
+ closedir DIR;
+ unshift @menufiles, $menufile;
+}
+
+
+# slurp the translations in
+if (-f 'all') {
+ require "all";
+}
+
+
+foreach $file (@progfiles) {
+
+ %locale = ();
+ %submit = ();
+ %subrt = ();
+
+ &scanfile("$bindir/$file");
+
+ # scan custom_{module}.pl or {login}_{module}.pl files
+ foreach $customfile (@customfiles) {
+ if ($customfile =~ /_$file/) {
+ if (-f "$bindir/$customfile") {
+ &scanfile("$bindir/$customfile");
+ }
+ }
+ }
+
+ # if this is the menu.pl file
+ if ($file eq 'menu.pl') {
+ foreach $item (@menufiles) {
+ &scanmenu("$basedir/$item");
+ }
+ }
+
+ $file =~ s/\.pl//;
+
+
+ eval { require 'missing'; };
+ unlink 'missing';
+
+ foreach $text (keys %$missing) {
+ if ($locale{$text}) {
+ unless ($self{texts}{$text}) {
+ $self{texts}{$text} = $missing->{$text};
+ }
+ }
+ }
+
+
+ open FH, ">$file" or die "$! : $file";
+
+ print FH q|$self{texts} = {
+|;
+
+ foreach $key (sort keys %locale) {
+ if ($self{texts}{$key}) {
+ $text = $self{texts}{$key};
+ } else {
+ $text = $key;
+ }
+ $text =~ s/'/\\'/g;
+ $text =~ s/\\$/\\\\/;
+
+ $keytext = $key;
+ $keytext =~ s/'/\\'/g;
+ $keytext =~ s/\\$/\\\\/;
+
+ print FH qq| '$keytext'|.(' ' x (27-length($keytext))).qq| => '$text',\n|;
+ }
+
+ print FH q|};
+
+$self{subs} = {
+|;
+
+ foreach $key (sort keys %subrt) {
+ $text = $key;
+ $text =~ s/'/\\'/g;
+ $text =~ s/\\$/\\\\/;
+ print FH qq| '$text'|.(' ' x (27-length($text))).qq| => '$text',\n|;
+ }
+
+ foreach $key (sort keys %submit) {
+ $text = ($self{texts}{$key}) ? $self{texts}{$key} : $key;
+ $text =~ s/'/\\'/g;
+ $text =~ s/\\$/\\\\/;
+
+ $english_sub = $key;
+ $english_sub =~ s/'/\\'/g;
+ $english_sub =~ s/\\$/\\\\/;
+ $english_sub = lc $key;
+
+ $translated_sub = lc $text;
+ $english_sub =~ s/( |-|,)/_/g;
+ $translated_sub =~ s/( |-|,)/_/g;
+ print FH qq| '$translated_sub'|.(' ' x (27-length($translated_sub))).qq| => '$english_sub',\n|;
+ }
+
+ print FH q|};
+
+1;
+|;
+
+ close FH;
+}
+
+
+# now print out all
+
+open FH, ">all" or die "$! : all";
+
+print FH q|# These are all the texts to build the translations files.
+# The file has the form of 'english text' => 'foreign text',
+# you can add the translation in this file or in the 'missing' file
+# run locales.pl from this directory to rebuild the translation files
+
+$self{texts} = {
+|;
+
+
+foreach $key (sort keys %alllocales) {
+ $text = $self{texts}{$key};
+
+ $count++;
+
+ $text =~ s/'/\\'/g;
+ $text =~ s/\\$/\\\\/;
+ $key =~ s/'/\\'/g;
+ $key =~ s/\\$/\\\\/;
+
+ unless ($text) {
+ $notext++;
+ push @missing, $key;
+ }
+
+ print FH qq| '$key'|.(' ' x (27-length($key))).qq| => '$text',\n|;
+
+}
+
+print FH q|};
+
+1;
+|;
+
+close FH;
+
+
+if (@missing) {
+ open FH, ">missing" or die "$! : missing";
+
+ print FH q|# add the missing texts and run locales.pl to rebuild
+
+$missing = {
+|;
+
+ foreach $text (@missing) {
+ print FH qq| '$text'|.(' ' x (27-length($text))).qq| => '',\n|;
+ }
+
+ print FH q|};
+
+1;
+|;
+
+ close FH;
+
+}
+
+open(FH, "LANGUAGE");
+@language = <FH>;
+close(FH);
+$trlanguage = $language[0];
+chomp $trlanguage;
+
+$per = sprintf("%.1f", ($count - $notext) / $count * 100);
+print "\n$trlanguage - ${per}%\n";
+
+exit;
+# eom
+
+
+sub scanfile {
+ my $file = shift;
+
+ return unless (-f "$file");
+
+ my $fh = new FileHandle;
+ open $fh, "$file" or die "$! : $file";
+
+ while (<$fh>) {
+ # is this another file
+ if (/require\s+\W.*\.pl/) {
+ my $newfile = $&;
+ $newfile =~ s/require\s+\W//;
+ $newfile =~ s/\$form->{path}\///;
+ &scanfile("$bindir/$newfile");
+ }
+
+ # is this a sub ?
+ if (/^sub /) {
+ ($null, $subrt) = split / +/;
+ $subrt{$subrt} = 1;
+ next;
+ }
+
+ my $rc = 1;
+
+ while ($rc) {
+ if (/Locale/) {
+ unless (/^use /) {
+ my ($null, $country) = split /,/;
+ $country =~ s/^ +["']//;
+ $country =~ s/["'].*//;
+ }
+ }
+
+ if (/\$locale->text.*?\W\)/) {
+ my $string = $&;
+ $string =~ s/\$locale->text\(\s*['"(q|qq)]['\/\\\|~]*//;
+ $string =~ s/\W\)+.*$//;
+
+ # if there is no $ in the string record it
+ unless ($string =~ /\$\D.*/) {
+ # this guarantees one instance of string
+ $locale{$string} = 1;
+
+ # this one is for all the locales
+ $alllocales{$string} = 1;
+
+ # is it a submit button before $locale->
+ if (/type=submit/) {
+ $submit{$string} = 1;
+ }
+ }
+ }
+
+ # exit loop if there are no more locales on this line
+ ($rc) = ($' =~ /\$locale->text/);
+ # strip text
+ s/^.*?\$locale->text.*?\)//;
+ }
+ }
+
+ close($fh);
+
+}
+
+
+sub scanmenu {
+ my $file = shift;
+
+ my $fh = new FileHandle;
+ open $fh, "$file" or die "$! : $file";
+
+ my @a = grep /^\[/, <$fh>;
+ close($fh);
+
+ # strip []
+ grep { s/(\[|\])//g } @a;
+
+ foreach my $item (@a) {
+ @b = split /--/, $item;
+ foreach $string (@b) {
+ chomp $string;
+ $locale{$string} = 1;
+ $alllocales{$string} = 1;
+ }
+ }
+
+}
+
+
diff --git a/sql-ledger/locale/de/login b/sql-ledger/locale/de/login
new file mode 100644
index 0000000..c90df6f
--- /dev/null
+++ b/sql-ledger/locale/de/login
@@ -0,0 +1,27 @@
+$self{texts} = {
+ 'About' => 'Über',
+ 'Database Host' => 'Datenbank-Rechner',
+ 'Dataset' => 'Datenbank',
+ 'Incorrect Dataset version!' => 'Datenbankversion stimmt nicht überein!',
+ 'Incorrect Password!' => 'Ungültiges Passwort!',
+ 'Licensed to' => 'Lizensiert für',
+ 'Login' => 'Anmelden',
+ 'Name' => 'Name',
+ 'Password' => 'Passwort',
+ 'User' => 'Benutzer',
+ 'Version' => 'Version',
+ 'You are logged out!' => 'Auf wiedersehen!',
+ 'You did not enter a name!' => 'Sie haben keinen Namen eingegeben!',
+ 'is not a member!' => 'ist kein Mitglied!',
+ 'localhost' => 'lokaler Rechner',
+};
+
+$self{subs} = {
+ 'company_logo' => 'company_logo',
+ 'login' => 'login',
+ 'login_screen' => 'login_screen',
+ 'logout' => 'logout',
+ 'anmelden' => 'login',
+};
+
+1;
diff --git a/sql-ledger/locale/de/menu b/sql-ledger/locale/de/menu
new file mode 100644
index 0000000..c61e760
--- /dev/null
+++ b/sql-ledger/locale/de/menu
@@ -0,0 +1,73 @@
+$self{texts} = {
+ 'AP' => 'Verbindlichkeiten',
+ 'AP Aging' => 'Offene Verbindl.',
+ 'AR' => 'Forderungen',
+ 'AR Aging' => 'Offene Forderungen',
+ 'Accounting Menu' => 'Kontoverwaltung',
+ 'Add Account' => 'Konto anlegen',
+ 'Add Assembly' => 'Erzeugnis anlegen',
+ 'Add Customer' => 'Kunde anlegen',
+ 'Add GIFI' => 'GIFI anlegen',
+ 'Add Group' => 'Gruppe anlegen',
+ 'Add Part' => 'Ware anlegen',
+ 'Add Project' => 'Projekt anlegen',
+ 'Add Service' => 'Dienstleistung anlegen',
+ 'Add Transaction' => 'Buchung anlegen',
+ 'Add Vendor' => 'Lieferant anlegen',
+ 'Assemblies' => 'Erzeugnisse',
+ 'Audit Control' => 'Bücherkontrolle',
+ 'Backup' => 'Sicherung',
+ 'Balance Sheet' => 'Bilanz',
+ 'Cash' => 'Kasse',
+ 'Chart of Accounts' => 'Kontenübersicht',
+ 'Check' => 'Scheck',
+ 'Customers' => 'Kunden',
+ 'General Ledger' => 'Hauptbuch',
+ 'Goods & Services' => 'Waren und Dienstleistungen',
+ 'Groups' => 'Gruppen',
+ 'HTML Templates' => 'HTML Vorlagen',
+ 'Income Statement' => 'G & V',
+ 'Invoice' => 'Rechnung',
+ 'LaTeX Templates' => 'LaTeX Vorlagen',
+ 'List Accounts' => 'Kontenliste',
+ 'List GIFI' => 'GIFI aufzeigen',
+ 'Logout' => 'Abmelden',
+ 'Order Entry' => 'Aufträge',
+ 'Packing List' => 'Verpackungsliste',
+ 'Parts' => 'Waren',
+ 'Payment' => 'Zahlung',
+ 'Payments' => 'Zahlungen',
+ 'Preferences' => 'Benutzereinstellungen',
+ 'Projects' => 'Projekte',
+ 'Purchase Order' => 'Einkaufsbeleg',
+ 'Purchase Orders' => 'Einkaufsbelege',
+ 'Receipt' => 'Quittung',
+ 'Receipts' => 'Quittungen',
+ 'Reconciliation' => 'Abgleichung',
+ 'Reports' => 'Berichte',
+ 'Sales Invoice' => 'Ausgangsrechnung',
+ 'Sales Order' => 'Verkaufsbeleg',
+ 'Sales Orders' => 'Verkaufsbelege',
+ 'Save to File' => 'Auf Festplatte speichern',
+ 'Send by E-Mail' => 'Per eMail schicken',
+ 'Services' => 'Leistungen',
+ 'Statement' => 'Sammelrechnung',
+ 'Stock Assembly' => 'Erzeugnis einlagern',
+ 'Stylesheet' => 'Stilvorlage',
+ 'System' => 'System',
+ 'Tax collected' => 'vereinnahmte Steuer',
+ 'Tax paid' => 'Vorsteuer',
+ 'Transactions' => 'Buchungen',
+ 'Trial Balance' => 'Vergleichsbilanz',
+ 'Vendor Invoice' => 'Einkaufsrechnung',
+ 'Vendors' => 'Lieferanten',
+ 'Version' => 'Version',
+};
+
+$self{subs} = {
+ 'acc_menu' => 'acc_menu',
+ 'display' => 'display',
+ 'section_menu' => 'section_menu',
+};
+
+1;
diff --git a/sql-ledger/locale/de/oe b/sql-ledger/locale/de/oe
new file mode 100644
index 0000000..abf31ba
--- /dev/null
+++ b/sql-ledger/locale/de/oe
@@ -0,0 +1,202 @@
+$self{texts} = {
+ 'Add' => 'Hinzufügen',
+ 'Add Purchase Order' => 'Einkaufsbeleg anlegen',
+ 'Add Sales Invoice' => 'Ausgangsrechnung anlegen',
+ 'Add Sales Order' => 'Verkaufsbeleg anlegen',
+ 'Add Vendor Invoice' => 'Einkaufsrechnung anlegen',
+ 'Address' => 'Adresse',
+ 'Amount' => 'Betrag',
+ 'Apr' => 'Apr',
+ 'April' => 'April',
+ 'Are you sure you want to delete Order Number' => 'Soll die Bestellung mit folgender Nummer wirklich gelöscht werden:',
+ 'Attachment' => 'als Anhang',
+ 'Aug' => 'Aug',
+ 'August' => 'August',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Stellage',
+ 'C' => 'G',
+ 'Cannot delete order!' => 'Bestellung kann nicht gelöscht werden!',
+ 'Cannot save order!' => 'Bestellung kann nicht gespeichert werden!',
+ 'Cc' => 'Cc',
+ 'Closed' => 'Geschlossen',
+ 'Confirm!' => 'Bestätigen Sie!',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Weiter',
+ 'Copies' => 'Kopien',
+ 'Credit Limit' => 'Kreditlimit',
+ 'Curr' => 'Währung',
+ 'Currency' => 'Währung',
+ 'Customer' => 'Kunde',
+ 'Customer missing!' => 'Kundenname fehlt!',
+ 'Customer not on file!' => 'Kunde ist nicht in der Datenbank!',
+ 'Date' => 'Datum',
+ 'Dec' => 'Dez',
+ 'December' => 'Dezember',
+ 'Delete' => 'Löschen',
+ 'Delivery Date' => 'Lieferung',
+ 'Description' => 'Beschreibung',
+ 'E-mail' => 'eMail',
+ 'E-mail address missing!' => 'eMail-Adresse fehlt!',
+ 'Edit Purchase Order' => 'Einkaufsbeleg bearbeiten',
+ 'Edit Sales Order' => 'Verkaufsbeleg bearbeiten',
+ 'Exchangerate' => 'Wechselkurs',
+ 'Exchangerate missing!' => 'Es fehlt der Wechselkurs!',
+ 'Extended' => 'Total',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Februar',
+ 'From' => 'Von',
+ 'Group' => 'Gruppe',
+ 'Group Items' => 'Waren gruppieren',
+ 'ID' => 'Nr.',
+ 'In-line' => 'im Textkörper (Inline)',
+ 'Include in Report' => 'In Bericht aufnehmen',
+ 'Invoice' => 'Rechnung',
+ 'Invoice Date missing!' => 'Rechnungsdatum fehlt!',
+ 'Invoice Number missing!' => 'Rechnungsnummer fehlt!',
+ 'Item not on file!' => 'Dieser Artikel ist nicht in der Datenbank!',
+ 'Jan' => 'Jan',
+ 'January' => 'Januar',
+ 'Jul' => 'Jul',
+ 'July' => 'Juli',
+ 'Jun' => 'Jun',
+ 'June' => 'Juni',
+ 'Mar' => 'Mär',
+ 'March' => 'März',
+ 'May' => 'Mai',
+ 'May ' => 'Mai',
+ 'Message' => 'Nachricht',
+ 'Name' => 'Name',
+ 'No.' => 'Nr.',
+ 'Notes' => 'Bemerkungen',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Nummer',
+ 'Number missing in Row' => 'Nummer fehlt in Zeile',
+ 'O' => 'O',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktober',
+ 'Open' => 'Offen',
+ 'Order' => 'Auftrag',
+ 'Order Date' => 'Auftragsdatum',
+ 'Order Date missing!' => 'Auftragsdatum fehlt!',
+ 'Order Number' => 'Auftragsnummer',
+ 'Order Number missing!' => 'Auftragsnummer fehlt!',
+ 'Order deleted!' => 'Auftrag gelöscht!',
+ 'Order saved!' => 'Auftrag gespeichert!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Verpackungsliste',
+ 'Packing List Date missing!' => 'Datum für Verpackungsliste fehlt!',
+ 'Packing List Number missing!' => 'Verpackungslistennummer fehlt!',
+ 'Part' => 'Ware',
+ 'Phone' => 'Tel.',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Preis',
+ 'Print' => 'Drucken',
+ 'Printer' => 'Drucker',
+ 'Project' => 'Projekt',
+ 'Project not on file!' => 'Dieses Projekt ist nicht in der Datenbank!',
+ 'Purchase Order' => 'Einkaufsbeleg',
+ 'Purchase Orders' => 'Einkaufsbelege',
+ 'Qty' => 'Anz',
+ 'Recd' => 'Erh',
+ 'Remaining' => 'Rest',
+ 'Required by' => 'Erforderlich am',
+ 'Sales Order' => 'Verkaufsbeleg',
+ 'Sales Orders' => 'Verkaufsbelege',
+ 'Save' => 'Speichern',
+ 'Save as new' => 'als neu speichern',
+ 'Screen' => 'Bildschirm',
+ 'Select from one of the items below' => 'Wählen Sie einen der untenstehenden Einträge',
+ 'Select from one of the names below' => 'Wählen Sie einen der untenstehenden Namen',
+ 'Select from one of the projects below' => 'Wählen Sie eines der untenstehenden Projekte',
+ 'Select postscript or PDF!' => 'Postscript oder PDF auswählen!',
+ 'Sep' => 'Sep',
+ 'September' => 'September',
+ 'Service' => 'Dienstleistung',
+ 'Ship' => 'Versand',
+ 'Ship to' => 'Verschicken an',
+ 'Ship via' => 'Transportmittel',
+ 'Subject' => 'Betreff',
+ 'Subtotal' => 'Zwischensumme',
+ 'Tax' => 'Steuer',
+ 'Tax Included' => 'Steuer im Preis inbegriffen',
+ 'Terms: Net' => 'Zahlungsziel',
+ 'To' => 'An',
+ 'Total' => 'Summe',
+ 'Unit' => 'Einh',
+ 'Update' => 'Erneuern',
+ 'Vendor' => 'Lieferant',
+ 'Vendor missing!' => 'Lieferant fehlt!',
+ 'Vendor not on file!' => 'Lieferant ist nicht in der Datenbank!',
+ 'What type of item is this?' => 'Was ist dieser Artikel?',
+ 'Yes' => 'Ja',
+ 'days' => 'Tage',
+ 'ea' => 'pro',
+ 'emailed to' => 'gemailt an',
+ 'sent to printer' => 'an Drucker geschickt',
+ 'to' => 'bis',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_backorder' => 'create_backorder',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice' => 'invoice',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'order_links' => 'order_links',
+ 'orders' => 'orders',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_order' => 'prepare_order',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'sales_invoice' => 'sales_invoice',
+ 'save' => 'save',
+ 'save_as_new' => 'save_as_new',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'subtotal' => 'subtotal',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'yes' => 'yes',
+ 'hinzufügen' => 'add',
+ 'weiter' => 'continue',
+ 'löschen' => 'delete',
+ 'email' => 'e_mail',
+ 'rechnung' => 'invoice',
+ 'drucken' => 'print',
+ 'speichern' => 'save',
+ 'als_neu_speichern' => 'save_as_new',
+ 'verschicken_an' => 'ship_to',
+ 'erneuern' => 'update',
+ 'ja' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/de/pe b/sql-ledger/locale/de/pe
new file mode 100644
index 0000000..d3618cc
--- /dev/null
+++ b/sql-ledger/locale/de/pe
@@ -0,0 +1,45 @@
+$self{texts} = {
+ 'Add' => 'Hinzufügen',
+ 'Add Group' => 'Gruppe anlegen',
+ 'Add Project' => 'Projekt anlegen',
+ 'All' => 'Alle',
+ 'Continue' => 'Weiter',
+ 'Delete' => 'Löschen',
+ 'Description' => 'Beschreibung',
+ 'Edit Group' => 'Gruppe editieren',
+ 'Edit Project' => 'Projekt bearbeiten',
+ 'Group' => 'Gruppe',
+ 'Group deleted!' => 'Gruppe gelöscht!',
+ 'Group missing!' => 'Gruppe fehlt!',
+ 'Group saved!' => 'Gruppe gespeichert!',
+ 'Groups' => 'Gruppen',
+ 'Number' => 'Nummer',
+ 'Orphaned' => 'nie benutzt',
+ 'Project' => 'Projekt',
+ 'Project Number missing!' => 'Projektnummer fehlt!',
+ 'Project deleted!' => 'Projekt gelöscht!',
+ 'Project saved!' => 'Projekt gespeichert!',
+ 'Projects' => 'Projekte',
+ 'Save' => 'Speichern',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'edit' => 'edit',
+ 'form_partsgroup_footer' => 'form_partsgroup_footer',
+ 'form_partsgroup_header' => 'form_partsgroup_header',
+ 'form_project_footer' => 'form_project_footer',
+ 'form_project_header' => 'form_project_header',
+ 'partsgroup_report' => 'partsgroup_report',
+ 'project_report' => 'project_report',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'hinzufügen' => 'add',
+ 'weiter' => 'continue',
+ 'löschen' => 'delete',
+ 'speichern' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/de/rc b/sql-ledger/locale/de/rc
new file mode 100644
index 0000000..47f5f6e
--- /dev/null
+++ b/sql-ledger/locale/de/rc
@@ -0,0 +1,37 @@
+$self{texts} = {
+ 'Account' => 'Konto',
+ 'Balance' => 'Bilanz',
+ 'Cleared Balance' => 'Abgeschlossen',
+ 'Continue' => 'Weiter',
+ 'Date' => 'Datum',
+ 'Deposit' => 'Gutschrift',
+ 'Description' => 'Beschreibung',
+ 'Difference' => 'Differenz',
+ 'Done' => 'Fertig',
+ 'Exchangerate Difference' => 'Wechselkursunterschied',
+ 'From' => 'Von',
+ 'Out of balance!' => 'Summen stimmen nicht überein!',
+ 'Payment' => 'Zahlung',
+ 'Reconciliation' => 'Abgleichung',
+ 'Select all' => 'Alle auswählen',
+ 'Source' => 'Beleg',
+ 'Statement Balance' => 'Sammelrechnungsbilanz',
+ 'Update' => 'Erneuern',
+ 'to' => 'bis',
+};
+
+$self{subs} = {
+ 'continue' => 'continue',
+ 'display_form' => 'display_form',
+ 'done' => 'done',
+ 'get_payments' => 'get_payments',
+ 'reconciliation' => 'reconciliation',
+ 'select_all' => 'select_all',
+ 'update' => 'update',
+ 'weiter' => 'continue',
+ 'fertig' => 'done',
+ 'alle_auswählen' => 'select_all',
+ 'erneuern' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/de/rp b/sql-ledger/locale/de/rp
new file mode 100644
index 0000000..f1ffdf4
--- /dev/null
+++ b/sql-ledger/locale/de/rp
@@ -0,0 +1,119 @@
+$self{texts} = {
+ 'AP Aging' => 'Offene Verbindl.',
+ 'AR Aging' => 'Offene Forderungen',
+ 'Account' => 'Konto',
+ 'Accounts' => 'Konten',
+ 'Amount' => 'Betrag',
+ 'Apr' => 'Apr',
+ 'April' => 'April',
+ 'Attachment' => 'als Anhang',
+ 'Aug' => 'Aug',
+ 'August' => 'August',
+ 'Balance' => 'Bilanz',
+ 'Balance Sheet' => 'Bilanz',
+ 'Bcc' => 'Bcc',
+ 'Cash based' => 'basierend auf Barzahlung',
+ 'Cc' => 'Cc',
+ 'Compare to' => 'Gegenüberstellen zu',
+ 'Continue' => 'Weiter',
+ 'Copies' => 'Kopien',
+ 'Credit' => 'Haben',
+ 'Current' => 'Betrag',
+ 'Customer' => 'Kunde',
+ 'Date' => 'Datum',
+ 'Debit' => 'Soll',
+ 'Dec' => 'Dez',
+ 'December' => 'Dezember',
+ 'Decimalplaces' => 'Dezimalstellen',
+ 'Description' => 'Beschreibung',
+ 'Due' => 'Fällig',
+ 'E-mail' => 'eMail',
+ 'E-mail Statement to' => 'eMail Fälligkeitsabrechnung an',
+ 'Feb' => 'Feb',
+ 'February' => 'Februar',
+ 'From' => 'Von',
+ 'GIFI' => 'GIFI',
+ 'Heading' => 'Überschrift',
+ 'ID' => 'Nr.',
+ 'In-line' => 'im Textkörper (Inline)',
+ 'Include in Report' => 'In Bericht aufnehmen',
+ 'Income Statement' => 'G & V',
+ 'Invoice' => 'Rechnung',
+ 'Jan' => 'Jan',
+ 'January' => 'Januar',
+ 'Jul' => 'Jul',
+ 'July' => 'Juli',
+ 'Jun' => 'Jun',
+ 'June' => 'Juni',
+ 'Mar' => 'Mär',
+ 'March' => 'März',
+ 'May' => 'Mai',
+ 'May ' => 'Mai',
+ 'Message' => 'Nachricht',
+ 'N/A' => 'N.Z.',
+ 'Nothing selected!' => 'Es wurde nichts ausgewählt!',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktober',
+ 'PDF' => 'PDF',
+ 'Payments' => 'Zahlungen',
+ 'Postscript' => 'Postscript',
+ 'Print' => 'Drucken',
+ 'Printer' => 'Drucker',
+ 'Project Number' => 'Projektnummer',
+ 'Receipts' => 'Quittungen',
+ 'Report for' => 'Bericht für',
+ 'Retained Earnings' => 'Verbliebenes Einkommen',
+ 'Screen' => 'Bildschirm',
+ 'Select all' => 'Alle auswählen',
+ 'Select postscript or PDF!' => 'Postscript oder PDF auswählen!',
+ 'Sep' => 'Sep',
+ 'September' => 'September',
+ 'Source' => 'Beleg',
+ 'Standard' => 'Standard',
+ 'Statement' => 'Sammelrechnung',
+ 'Statement sent to' => 'Sammelrechnung verschickt an',
+ 'Statements sent to printer!' => 'Sammelrechnungen an Drucker geschickt!',
+ 'Subject' => 'Betreff',
+ 'Subtotal' => 'Zwischensumme',
+ 'Tax' => 'Steuer',
+ 'Tax collected' => 'vereinnahmte Steuer',
+ 'Tax paid' => 'Vorsteuer',
+ 'Total' => 'Summe',
+ 'Trial Balance' => 'Vergleichsbilanz',
+ 'Vendor' => 'Lieferant',
+ 'as at' => 'zum Stand',
+ 'collected on sales' => 'erhalten durch Verkäufe',
+ 'for Period' => 'für den Zeitraum',
+ 'paid on purchases' => 'gezahlt durch Einkäufe',
+ 'to' => 'bis',
+};
+
+$self{subs} = {
+ 'aging' => 'aging',
+ 'continue' => 'continue',
+ 'e_mail' => 'e_mail',
+ 'generate_ap_aging' => 'generate_ap_aging',
+ 'generate_ar_aging' => 'generate_ar_aging',
+ 'generate_balance_sheet' => 'generate_balance_sheet',
+ 'generate_income_statement' => 'generate_income_statement',
+ 'generate_tax_report' => 'generate_tax_report',
+ 'generate_trial_balance' => 'generate_trial_balance',
+ 'list_accounts' => 'list_accounts',
+ 'list_payments' => 'list_payments',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'report' => 'report',
+ 'select_all' => 'select_all',
+ 'send_email' => 'send_email',
+ 'statement_details' => 'statement_details',
+ 'tax_subtotal' => 'tax_subtotal',
+ 'weiter' => 'continue',
+ 'email' => 'e_mail',
+ 'drucken' => 'print',
+ 'alle_auswählen' => 'select_all',
+};
+
+1;
diff --git a/sql-ledger/locale/dk/COPYING b/sql-ledger/locale/dk/COPYING
new file mode 100644
index 0000000..e010710
--- /dev/null
+++ b/sql-ledger/locale/dk/COPYING
@@ -0,0 +1,24 @@
+######################################################################
+# SQL-Ledger Accounting
+# Copyright (c) 2001
+#
+# Danish texts:
+#
+# Author: Keld Jørn Simonsen <keld@dkuug.dk>
+# Jonas Smedegaard <jonas@jones.dk>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+#######################################################################
+
diff --git a/sql-ledger/locale/dk/LANGUAGE b/sql-ledger/locale/dk/LANGUAGE
new file mode 100644
index 0000000..bd082a2
--- /dev/null
+++ b/sql-ledger/locale/dk/LANGUAGE
@@ -0,0 +1 @@
+Danish
diff --git a/sql-ledger/locale/dk/admin b/sql-ledger/locale/dk/admin
new file mode 100644
index 0000000..e74af7d
--- /dev/null
+++ b/sql-ledger/locale/dk/admin
@@ -0,0 +1,122 @@
+$self{texts} = {
+ 'Access Control' => 'Adgangskontrol',
+ 'Accounting' => 'Bogføring',
+ 'Add User' => 'Ny bruger',
+ 'Address' => 'Adresse',
+ 'Administration' => 'Administration',
+ 'Administrator' => 'Administrator',
+ 'All Datasets up to date!' => 'Alle datasæt opdaterede',
+ 'Change Admin Password' => 'Ændr adgangskode for administrator',
+ 'Change Password' => 'Ændr adgangskode',
+ 'Character Set' => 'Tegnsæt',
+ 'Click on login name to edit!' => 'Klik på brugernavn for at redigere',
+ 'Company' => 'Firma',
+ 'Connect to' => 'Forbind til',
+ 'Continue' => 'Fortsæt',
+ 'Create Chart of Accounts' => 'Opret kontoplan',
+ 'Create Dataset' => 'Opret datasæt',
+ 'DBI not installed!' => 'DBI ikke installeret',
+ 'Database' => 'Database',
+ 'Database Administration' => 'Administration af database',
+ 'Database Driver not checked!' => 'Databasedriver ikke kontrolleret',
+ 'Database User missing!' => 'Bruger af database mangler!',
+ 'Dataset' => 'Datasæt',
+ 'Dataset missing!' => 'Datasæt mangler!',
+ 'Dataset updated!' => 'Datasæt opdateret!',
+ 'Date Format' => 'Datoformat',
+ 'Delete' => 'Fjern',
+ 'Delete Dataset' => 'Fjern datasæt',
+ 'Directory' => 'Katalog',
+ 'Driver' => 'Driver',
+ 'Dropdown Limit' => 'Grænse for nedtræk',
+ 'E-mail' => 'E-post',
+ 'Edit User' => 'Redigér bruger',
+ 'Existing Datasets' => 'Eksisterende datasæt',
+ 'Fax' => 'Fax',
+ 'Host' => 'Vært',
+ 'Hostname missing!' => 'Værtsnavn mangler',
+ 'Incorrect Password!' => 'Forkert adgangskode',
+ 'Language' => 'Sprog',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Lad felterne "vært" og "port" være tomme medmindre du vil etablere en ekstern forbindelse.',
+ 'Login' => 'Log på',
+ 'Name' => 'Navn',
+ 'New Templates' => 'Nye skabeloner',
+ 'No Database Drivers available!' => 'Ingen databasedrivere tilgængelige',
+ 'No Dataset selected!' => 'Intet datasæt valgt',
+ 'Nothing to delete!' => 'Intet at slette!',
+ 'Number Format' => 'Numerisk format',
+ 'Oracle Database Administration' => 'Oracle Administration af database',
+ 'Password' => 'Adgangskode',
+ 'Password changed!' => 'Adgangskode ændret',
+ 'Pg Database Administration' => 'Pg Administration af database',
+ 'Phone' => 'Tel.',
+ 'Port' => 'Port',
+ 'Port missing!' => 'Port mangler',
+ 'Printer' => 'Printer',
+ 'Save' => 'Gem',
+ 'Select a Dataset to delete and press "Continue"' => 'Vælg et datasæt og tryk "Fortsæt"',
+ 'Setup Templates' => 'Skabeloner for opsætning',
+ 'Ship via' => 'Send via',
+ 'Signature' => 'Underskrift',
+ 'Stylesheet' => 'Stilark',
+ 'Templates' => 'Skabeloner',
+ 'The following Datasets are not in use and can be deleted' => 'De følgende datasæt er ikke i brug og kan slettes',
+ 'The following Datasets need to be updated' => 'De følgende datasæt skal opdateres',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'Dette er en indledende kontrol af eksisterende kilder. Ingenting vil blive oprettet eller slettet på dette trin',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'Skift brugernavnet for en eksisterende bruger og gem for at tilføje en ny bruger til en gruppe. Den nye bruger vil så bive gemt med de samme indstillinger under det nye brugernavn.',
+ 'Update Dataset' => 'Opdatér datasæt',
+ 'Use Templates' => 'Brug skabeloner',
+ 'User' => 'Bruger',
+ 'User deleted!' => 'Bruger slettet!',
+ 'User saved!' => 'Bruger gemt!',
+ 'Version' => 'Version',
+ 'You must enter a host and port for local and remote connections!' => 'Du skal angive en vært og en port for lokale og eksterne forbindelser!',
+ 'does not exist' => 'eksisterer ikke',
+ 'is already a member!' => 'er allerede et medlem',
+ 'localhost' => 'lokalt',
+ 'successfully created!' => 'oprettet!',
+ 'successfully deleted!' => 'slettet!',
+ 'website' => 'på Internet',
+};
+
+$self{subs} = {
+ 'add_user' => 'add_user',
+ 'adminlogin' => 'adminlogin',
+ 'change_admin_password' => 'change_admin_password',
+ 'change_password' => 'change_password',
+ 'check_password' => 'check_password',
+ 'continue' => 'continue',
+ 'create_dataset' => 'create_dataset',
+ 'dbcreate' => 'dbcreate',
+ 'dbdelete' => 'dbdelete',
+ 'dbdriver_defaults' => 'dbdriver_defaults',
+ 'dbselect_source' => 'dbselect_source',
+ 'dbupdate' => 'dbupdate',
+ 'delete' => 'delete',
+ 'delete_dataset' => 'delete_dataset',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'get_value' => 'get_value',
+ 'list_users' => 'list_users',
+ 'login' => 'login',
+ 'login_name' => 'login_name',
+ 'oracle_database_administration' => 'oracle_database_administration',
+ 'pg_database_administration' => 'pg_database_administration',
+ 'save' => 'save',
+ 'update_dataset' => 'update_dataset',
+ 'ny_bruger' => 'add_user',
+ 'Ændr_adgangskode_for_administrator' => 'change_admin_password',
+ 'Ændr_adgangskode' => 'change_password',
+ 'fortsæt' => 'continue',
+ 'opret_datasæt' => 'create_dataset',
+ 'fjern' => 'delete',
+ 'fjern_datasæt' => 'delete_dataset',
+ 'log_på' => 'login',
+ 'oracle_administration_af_database' => 'oracle_database_administration',
+ 'pg_administration_af_database' => 'pg_database_administration',
+ 'gem' => 'save',
+ 'opdatér_datasæt' => 'update_dataset',
+};
+
+1;
diff --git a/sql-ledger/locale/dk/all b/sql-ledger/locale/dk/all
new file mode 100644
index 0000000..e57ed1f
--- /dev/null
+++ b/sql-ledger/locale/dk/all
@@ -0,0 +1,487 @@
+# These are all the texts to build the translations files.
+# The file has the form of 'english text' => 'foreign text',
+# you can add the translation in this file or in the 'missing' file
+# run locales.pl from this directory to rebuild the translation files
+
+$self{texts} = {
+ 'AP' => 'Kreditorer',
+ 'AP Aging' => 'Aldersfordeling',
+ 'AP Transaction' => 'Leverandørfaktura',
+ 'AP Transactions' => 'Leverandørfakturaer',
+ 'AR' => 'Debitorer',
+ 'AR Aging' => 'Aldersfordeling',
+ 'AR Transaction' => 'Debitorpostering',
+ 'AR Transactions' => 'Debitorposteringer',
+ 'About' => 'Om',
+ 'Access Control' => 'Adgangskontrol',
+ 'Account' => 'Konto',
+ 'Account Number' => 'Kontonummer',
+ 'Account Number missing!' => 'Kontonummer mangler!',
+ 'Account Type' => 'Kontotype',
+ 'Account Type missing!' => 'Kontotype mangler!',
+ 'Account deleted!' => 'Konto slettet!',
+ 'Account saved!' => 'Konto gemt!',
+ 'Accounting' => 'Bogføring',
+ 'Accounting Menu' => 'Konto-menu',
+ 'Accounts' => 'Konti',
+ 'Active' => 'Aktiv',
+ 'Add' => 'Tilføj',
+ 'Add Account' => 'Ny konto',
+ 'Add Accounts Payables Transaction' => 'Ny leverandørpostering',
+ 'Add Accounts Receivables Transaction' => 'Ny debitorpostering',
+ 'Add Assembly' => 'Ny sammensætning',
+ 'Add Customer' => 'Ny kunde',
+ 'Add GIFI' => 'Ny GIFI',
+ 'Add General Ledger Transaction' => 'Ny postering i hovedbog',
+ 'Add Part' => 'Ny vare',
+ 'Add Project' => 'Nyt projekt',
+ 'Add Purchase Invoice' => 'Ny indkøbsfaktura',
+ 'Add Purchase Order' => 'Ny indkøbsordre',
+ 'Add Sales Invoice' => 'Ny salgsfaktura',
+ 'Add Sales Order' => 'Ny salgsordre',
+ 'Add Service' => 'Ny tjeneste',
+ 'Add Transaction' => 'Ny postering',
+ 'Add User' => 'Ny bruger',
+ 'Add Vendor' => 'Ny leverandør',
+ 'Address' => 'Adresse',
+ 'Administration' => 'Administration',
+ 'Administrator' => 'Administrator',
+ 'All' => 'Alt',
+ 'All Datasets up to date!' => 'Alle datasæt opdaterede',
+ 'Amount' => 'Beløb',
+ 'Amount Due' => 'Forfaldent',
+ 'Amount does not equal applied!' => 'Beløb er ikke det samme som brugt!',
+ 'Amount missing!' => 'Konto mangler!',
+ 'Applied' => 'Udført',
+ 'Apr' => 'apr',
+ 'April' => 'april',
+ 'Are you sure you want to delete Invoice Number' => 'Er du sikker på du vil fjerne fakturanummer',
+ 'Are you sure you want to delete Order Number' => 'Er du sikker på at du vil fjerne ordrenummer',
+ 'Are you sure you want to delete Transaction' => 'Er du sikker på du vil fjerne postering',
+ 'Assemblies' => 'Sammensætninger',
+ 'Assemblies restocked!' => 'Sammensætninger genlagret',
+ 'Assembly Number missing!' => 'Sammensætningsnummer mangler',
+ 'Asset' => 'Aktiv',
+ 'Attachment' => 'Bilag',
+ 'Audit Control' => 'Revisionskontrol',
+ 'Aug' => 'aug',
+ 'August' => 'august',
+ 'BOM' => 'BOM',
+ 'Backup' => 'Sikkerheskopi',
+ 'Backup sent to' => 'Sikkerhedskopier sendt til',
+ 'Balance' => 'Balance',
+ 'Balance Sheet' => 'Status',
+ 'Bcc' => 'Blind kopi',
+ 'Bin' => 'Varelager',
+ 'Books are open' => 'Bogføringen er åben for rettelser',
+ 'Bought' => 'Købt',
+ 'Business Number' => 'CVR-nummer',
+ 'C' => 'C',
+ 'COGS' => 'Indkøb',
+ 'Cannot delete account!' => 'Kan ikke slette konto!',
+ 'Cannot delete customer!' => 'Kan ikke slette kunde!',
+ 'Cannot delete default account!' => 'Kan ikke slette standardkonto!',
+ 'Cannot delete invoice!' => 'Kan ikke slette faktura!',
+ 'Cannot delete item already invoiced!' => 'Kan ikke slette allerede faktureret enkeltdel!',
+ 'Cannot delete item on order!' => 'Kan ikke slette bestilt enkeltdel!',
+ 'Cannot delete item which is part of an assembly!' => 'kan ikke slette en enhed som er en del af en sammensætning!',
+ 'Cannot delete item!' => 'Kan ikke slette enhed!',
+ 'Cannot delete order!' => 'Kan ikke slette ordre!',
+ 'Cannot delete transaction!' => 'Kan ikke slette postering!',
+ 'Cannot delete vendor!' => 'Kan ikke slette leverandør!',
+ 'Cannot have a value in both Debit and Credit!' => 'Kan ikke have en værdi i både debet og kredit!',
+ 'Cannot post a transaction without a value!' => '',
+ 'Cannot post invoice for a closed period!' => 'Kan ikke bogføre faktura for en afsluttet periode!',
+ 'Cannot post invoice!' => 'Kan ikke bogføre faktura!',
+ 'Cannot post payment for a closed period!' => 'Kan ikke bogføre betaling for en afsluttet periode',
+ 'Cannot post payment!' => 'Kan ikke bogføre betaling',
+ 'Cannot post transaction for a closed period!' => 'Kan ikke bogføre postering for en afsluttet periode!',
+ 'Cannot post transaction!' => 'Kan ikke bogføre postering!',
+ 'Cannot process payment for a closed period!' => 'Kan ikke behandle betaling for en afsluttet periode!',
+ 'Cannot save account!' => 'Kan ikke gemme konto!',
+ 'Cannot save order!' => 'Kan ikke gemme ordre!',
+ 'Cannot save preferences!' => 'Kan ikke gemme præferencer!',
+ 'Cannot stock assemblies!' => 'Kan ikke genbesætte sammensætninger',
+ 'Cash' => 'Kontanter',
+ 'Cash based' => 'Kontantbaseret',
+ 'Cc' => 'Kopi',
+ 'Change Admin Password' => 'Ændr adgangskode for administrator',
+ 'Change Password' => 'Ændr adgangskode',
+ 'Character Set' => 'Tegnsæt',
+ 'Chart of Accounts' => 'Kontoplan',
+ 'Check' => 'Check',
+ 'Check printed!' => 'Check udskrevet',
+ 'Check printing failed!' => 'Udskrivning af check mislykkedes',
+ 'Cleared Balance' => 'Udjævnede balance',
+ 'Click on login name to edit!' => 'Klik på brugernavn for at redigere',
+ 'Close Books up to' => 'Afslut bogføring op til',
+ 'Closed' => 'Afsluttet',
+ 'Company' => 'Firma',
+ 'Compare to' => 'Sammenlign med',
+ 'Confirm!' => 'Bekræft!',
+ 'Connect to' => 'Forbind til',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Fortsæt',
+ 'Copies' => 'Kopier',
+ 'Copy to COA' => 'Kopiér til COA',
+ 'Create Chart of Accounts' => 'Opret kontoplan',
+ 'Create Dataset' => 'Opret datasæt',
+ 'Credit' => 'Kredit',
+ 'Credit Limit' => 'Kreditgrænse',
+ 'Curr' => 'Val',
+ 'Currency' => 'Valuta',
+ 'Current' => '',
+ 'Customer' => 'Kunde',
+ 'Customer deleted!' => 'Kunde slettet!',
+ 'Customer missing!' => 'Kunde mangler!',
+ 'Customer not on file!' => 'Kunde ikke i databasen!',
+ 'Customer saved!' => 'Kunde gemt!',
+ 'Customers' => 'Kunder',
+ 'DBI not installed!' => 'DBI ikke installeret',
+ 'Database' => 'Database',
+ 'Database Administration' => 'Administration af database',
+ 'Database Driver not checked!' => 'Databasedriver ikke kontrolleret',
+ 'Database Host' => 'Database-vært',
+ 'Database User missing!' => 'Bruger af database mangler!',
+ 'Dataset' => 'Datasæt',
+ 'Dataset missing!' => 'Datasæt mangler!',
+ 'Dataset updated!' => 'Datasæt opdateret!',
+ 'Date' => 'Dato',
+ 'Date Due' => 'Forfaldsdato',
+ 'Date Format' => 'Datoformat',
+ 'Date Paid' => 'Betalingsdato',
+ 'Date missing!' => 'Dato mangler!',
+ 'Debit' => 'Debet',
+ 'Debit and credit out of balance!' => 'Debet og kredit skal være det samme!',
+ 'Dec' => 'dec',
+ 'December' => 'december',
+ 'Decimalplaces' => 'Decimalpladser',
+ 'Delete' => 'Fjern',
+ 'Delete Account' => 'Fjern konto',
+ 'Delete Dataset' => 'Fjern datasæt',
+ 'Delivery Date' => 'Leveringsdato',
+ 'Deposit' => 'Depositum',
+ 'Description' => 'Beskrivelse',
+ 'Difference' => 'Difference',
+ 'Directory' => 'Katalog',
+ 'Discount' => 'Rabat',
+ 'Done' => 'Færdig',
+ 'Drawing' => 'Træk',
+ 'Driver' => 'Driver',
+ 'Dropdown Limit' => 'Grænse for nedtræk',
+ 'Due' => 'Forfald',
+ 'Due Date' => 'Forfaldsdato',
+ 'Due Date missing!' => 'Forfaldsdato mangler!',
+ 'E-mail' => 'E-post',
+ 'E-mail Statement to' => 'Send opgørelse til',
+ 'E-mail address missing!' => 'E-post-adresse mangler!',
+ 'Edit' => 'Redigér',
+ 'Edit Account' => 'Redigér konto',
+ 'Edit Accounts Payables Transaction' => 'Redigér leverandørpostering',
+ 'Edit Accounts Receivables Transaction' => 'Redigér debitorpostering',
+ 'Edit Assembly' => 'Redigér sammensætning',
+ 'Edit GIFI' => 'Redigér GIFI',
+ 'Edit General Ledger Transaction' => 'Redigér en postering i hovedbog',
+ 'Edit Part' => 'Redigér vare',
+ 'Edit Preferences for' => 'Redigér opsætning for',
+ 'Edit Project' => 'Redigér præferencer for',
+ 'Edit Purchase Invoice' => 'Redigér projekt',
+ 'Edit Purchase Order' => 'Redigér indkøbsordre',
+ 'Edit Sales Invoice' => 'Redigér salgsfaktura',
+ 'Edit Sales Order' => 'Redigér salgsordre',
+ 'Edit Service' => 'Redigér tjeneste',
+ 'Edit Template' => 'Redigér skabelon',
+ 'Edit User' => 'Redigér bruger',
+ 'Employee' => 'Ansat',
+ 'Enforce transaction reversal for all dates' => 'Gennemtving explicitte rettelser af posteringer for alle datoer',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Angiv op til 3 bogstaver adskilt med kolon (fx DKK:EUR:USD) for dine indenlandske og udenlandske valutaer',
+ 'Equity' => 'Egenkapital',
+ 'Exch' => 'Vxl',
+ 'Exchangerate' => 'Vekselkurs',
+ 'Exchangerate Difference' => 'Difference for vekselkurs',
+ 'Exchangerate for payment missing!' => 'Valutakurs for betaling mangler!',
+ 'Exchangerate missing!' => 'Vekselkurs mangler!',
+ 'Existing Datasets' => 'Eksisterende datasæt',
+ 'Expense' => 'Udgift',
+ 'Expense Account' => 'Udgiftskonto',
+ 'Expense/Asset' => 'Udgift/Aktiv',
+ 'Extended' => 'Udvidet',
+ 'Fax' => 'Fax',
+ 'Feb' => 'feb',
+ 'February' => 'februar',
+ 'Foreign Exchange Gain' => 'Gevinst på valutahandel',
+ 'Foreign Exchange Loss' => 'Tab på valutahandel',
+ 'From' => 'Fra',
+ 'GIFI' => 'GIFI',
+ 'GIFI deleted!' => 'GIFI slettet!',
+ 'GIFI missing!' => 'GIFI mangler!',
+ 'GIFI saved!' => 'GIFI gemt!',
+ 'GL Transaction' => 'Postering i hovedbog',
+ 'General Ledger' => 'Hovedbog',
+ 'Goods & Services' => 'Varer og tjenester',
+ 'HTML Templates' => 'HTML-skabeloner',
+ 'Heading' => 'Overskrift',
+ 'Host' => 'Vært',
+ 'Hostname missing!' => 'Værtsnavn mangler',
+ 'ID' => 'ID',
+ 'Image' => 'Billede',
+ 'In-line' => 'Indlejret',
+ 'Include in Report' => 'Inkludér i rapport',
+ 'Include in drop-down menus' => 'Inkludér i rullegardin-menuer',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Skal denne konto kunne vælges som afgifts- eller momskonto ved oprettelsen af kunder/leverandører?',
+ 'Income' => 'Indtægt',
+ 'Income Account' => 'Indtægtskonto',
+ 'Income Statement' => 'Driftsregnskab',
+ 'Incorrect Dataset version!' => 'Forkert version af datasæt!',
+ 'Incorrect Password!' => 'Forkert adgangskode',
+ 'Individual Items' => 'Individuelle enheder',
+ 'Inventory' => 'Artikler',
+ 'Inventory Account' => 'Lagerkonto',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'Lagerbeholdning skal være nul for at du kan forælde denne sammensætning',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'Lagerbeholdning skal være nul for at du kan forælde denne enhed',
+ 'Inventory quantity must be zero!' => 'Lagerbeholdning skal være nul',
+ 'Invoice' => 'Faktura',
+ 'Invoice Date' => 'Fakturadato',
+ 'Invoice Date missing!' => 'Fakturadato mangler!',
+ 'Invoice Number' => 'Fakturanummer',
+ 'Invoice Number missing!' => 'Fakturanummer mangler!',
+ 'Invoice deleted!' => 'Faktura slettet!',
+ 'Invoice posted!' => 'Faktura bogført!',
+ 'Invoices' => 'Fakturaer',
+ 'Is this a summary account to record' => 'Samlekonto for',
+ 'Item deleted!' => 'Enkeltdel slettet!',
+ 'Item not on file!' => 'Enkeltdel er ikke i databasen!',
+ 'Jan' => 'jan',
+ 'January' => 'januar',
+ 'Jul' => 'jul',
+ 'July' => 'juli',
+ 'Jun' => 'jun',
+ 'June' => 'juni',
+ 'LaTeX Templates' => 'LaTeX-skabeloner',
+ 'Language' => 'Sprog',
+ 'Last Cost' => 'Seneste pris',
+ 'Last Invoice Number' => 'Seneste fakturanummer',
+ 'Last Numbers & Default Accounts' => 'Løbenumre og standardkonti',
+ 'Last Purchase Order Number' => 'Seneste nummer på indkøbsordre',
+ 'Last Sales Order Number' => 'Seneste salgsordrenummer',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Lad felterne "vært" og "port" være tomme medmindre du vil etablere en ekstern forbindelse.',
+ 'Liability' => 'Passiv',
+ 'Licensed to' => 'Udført for',
+ 'Line Total' => 'Antal linjer',
+ 'Link' => 'Referencer',
+ 'Link Accounts' => 'Forbind konti',
+ 'List Accounts' => 'List konti',
+ 'List GIFI' => 'List GIFI',
+ 'List Price' => 'Listepris',
+ 'List Transactions' => 'Vis bogføringer',
+ 'Login' => 'Log på',
+ 'Logout' => 'Log af',
+ 'Make' => 'Fabrikat',
+ 'Mar' => 'mar',
+ 'March' => 'marts',
+ 'May' => 'maj',
+ 'May ' => 'maj ',
+ 'Message' => 'Besked',
+ 'Microfiche' => 'Mikrofilm',
+ 'Model' => 'Model',
+ 'N/A' => 'I/T',
+ 'Name' => 'Navn',
+ 'Name missing!' => 'Navn mangler!',
+ 'New Templates' => 'Nye skabeloner',
+ 'No' => 'Nej',
+ 'No Database Drivers available!' => 'Ingen databasedrivere tilgængelige',
+ 'No Dataset selected!' => 'Intet datasæt valgt',
+ 'No email address for' => 'Ingen epostadresse for',
+ 'No.' => '',
+ 'Notes' => 'Bemærkninger',
+ 'Nothing applied!' => 'Ingenting udført!',
+ 'Nothing selected!' => 'Ingenting valgt!',
+ 'Nothing to delete!' => 'Intet at slette!',
+ 'Nov' => 'nov',
+ 'November' => 'november',
+ 'Number' => 'Nummer',
+ 'Number Format' => 'Numerisk format',
+ 'Number missing in Row' => 'Tal mangler i række',
+ 'O' => 'O',
+ 'Obsolete' => 'Forældet',
+ 'Oct' => 'okt',
+ 'October' => 'oktober',
+ 'On Hand' => 'På lager',
+ 'On Order' => 'I ordre',
+ 'Open' => 'Åbn',
+ 'Oracle Database Administration' => 'Oracle Administration af database',
+ 'Order' => 'Ordre',
+ 'Order Date' => 'Ordredato',
+ 'Order Date missing!' => 'Ordredato mangler',
+ 'Order Entry' => 'Ordreindgang',
+ 'Order Number' => 'Ordrenummer',
+ 'Order Number missing!' => 'Ordrenummer mangler',
+ 'Order deleted!' => 'Ordre slettet',
+ 'Order saved!' => 'Ordre gemt',
+ 'Ordered' => 'bestilt',
+ 'Orphaned' => 'Fritstående',
+ 'Out of balance!' => 'Ikke i balance!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Følgeseddel',
+ 'Packing List Date missing!' => 'Dato for pakkeliste mangler!',
+ 'Packing List Number missing!' => 'Nummer for pakkeliste mangler!',
+ 'Paid' => 'Betalt',
+ 'Paid in full' => '',
+ 'Part' => 'Vare',
+ 'Part Number missing!' => 'Varenummer mangler!',
+ 'Parts' => 'Dele',
+ 'Parts Inventory' => 'Vareliste',
+ 'Password' => 'Adgangskode',
+ 'Password changed!' => 'Adgangskode ændret',
+ 'Payables' => 'Udeståender',
+ 'Payment' => 'Betaling',
+ 'Payment date missing!' => 'Betalingsdato mangler!',
+ 'Payment posted!' => 'Betaling bogført!',
+ 'Payments' => 'Betalinger',
+ 'Pg Database Administration' => 'Pg Administration af database',
+ 'Phone' => 'Tel.',
+ 'Port' => 'Port',
+ 'Port missing!' => 'Port mangler',
+ 'Post' => 'Bogfør',
+ 'Post as new' => 'Bogfør som ny',
+ 'Postscript' => 'Postscript',
+ 'Preferences' => 'Præferencer',
+ 'Preferences saved!' => 'Indstillinger gemt!',
+ 'Price' => 'Pris',
+ 'Print' => 'Udskriv',
+ 'Printer' => 'Printer',
+ 'Project' => 'Projekt',
+ 'Project Number missing!' => 'Projektnummer mangler!',
+ 'Project deleted!' => 'Projekt slettet!',
+ 'Project not on file!' => 'Projekt ikke i databasen!',
+ 'Project saved!' => 'Projekt gemt!',
+ 'Projects' => 'Projekter',
+ 'Purchase Invoice' => 'Indkøbsfaktura',
+ 'Purchase Order' => 'Indkøbsordre',
+ 'Purchase Orders' => 'Indkøbsordrer',
+ 'Qty' => 'Antal',
+ 'ROP' => 'Genbestil ved',
+ 'Rate' => 'Rate',
+ 'Recd' => 'Modtaget',
+ 'Receipt' => 'Kvittering',
+ 'Receipts' => 'Kvitteringer',
+ 'Receivables' => 'Indbetalinger',
+ 'Reconciliation' => 'Afstemning',
+ 'Record in' => 'Bogfør på',
+ 'Reference' => 'Reference',
+ 'Reference missing!' => 'Reference mangler',
+ 'Remaining' => 'Resterer',
+ 'Report for' => 'Rapport for',
+ 'Reports' => 'Rapporter',
+ 'Required by' => 'Bestilt af',
+ 'Retained Earnings' => 'Realiseret overskud',
+ 'Sales' => 'Salg',
+ 'Sales Invoice' => 'Salgsfaktura',
+ 'Sales Order' => 'Salgsordre',
+ 'Sales Orders' => 'Salgsordrer',
+ 'Save' => 'Gem',
+ 'Save as new' => 'Gem som ny',
+ 'Save to File' => 'Gem i fil',
+ 'Screen' => 'Skærm',
+ 'Select a Dataset to delete and press "Continue"' => 'Vælg et datasæt og tryk "Fortsæt"',
+ 'Select all' => 'Vælg alt',
+ 'Select from one of the items below' => 'Vælg fra en af tingene nedenfor, og tryk "Fortsæt"',
+ 'Select from one of the names below' => 'Vælg en af navnene nedenfor',
+ 'Select from one of the projects below' => 'Vælg et af projekterne nedenfor',
+ 'Select postscript or PDF!' => 'Vælg postscript eller PDF',
+ 'Sell Price' => 'Salgspris',
+ 'Send by E-Mail' => 'Sendt med epost',
+ 'Sep' => 'sep',
+ 'September' => 'september',
+ 'Service' => 'Tjeneste',
+ 'Service Items' => 'Tjenester',
+ 'Service Number missing!' => 'Tjenestenummer mangler!',
+ 'Services' => 'Tjenester',
+ 'Setup Templates' => 'Skabeloner for opsætning',
+ 'Ship' => 'Send',
+ 'Ship to' => 'Send til',
+ 'Ship via' => 'Send via',
+ 'Short' => 'Kort',
+ 'Signature' => 'Underskrift',
+ 'Sold' => 'Solgt',
+ 'Source' => 'Bilag',
+ 'Standard' => 'Standard',
+ 'Statement' => 'Opgørelse',
+ 'Statement Balance' => 'Balanceopgørelse',
+ 'Statement sent to' => 'Opgørelse sendt til',
+ 'Statements sent to printer!' => 'Opgørelser sendt til printer',
+ 'Stock Assembly' => 'Lagr sammensætning',
+ 'Stylesheet' => 'Stilark',
+ 'Subject' => 'Emne',
+ 'Subtotal' => 'Subtotal',
+ 'System' => 'System',
+ 'Tax' => 'Afgift/Moms',
+ 'Tax Accounts' => 'Afgift/Momskonti',
+ 'Tax Included' => 'Inkl. afgifter og moms',
+ 'Tax collected' => 'Skat opkrævet',
+ 'Tax paid' => 'Skat betalt',
+ 'Taxable' => 'Afgifts/momspligtig',
+ 'Template saved!' => 'Skabelon gemt!',
+ 'Templates' => 'Skabeloner',
+ 'Terms: Net' => 'Netto',
+ 'The following Datasets are not in use and can be deleted' => 'De følgende datasæt er ikke i brug og kan slettes',
+ 'The following Datasets need to be updated' => 'De følgende datasæt skal opdateres',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'Dette er en indledende kontrol af eksisterende kilder. Ingenting vil blive oprettet eller slettet på dette trin',
+ 'To' => 'til',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'Skift brugernavnet for en eksisterende bruger og gem for at tilføje en ny bruger til en gruppe. Den nye bruger vil så bive gemt med de samme indstillinger under det nye brugernavn.',
+ 'Top Level' => 'Topniveau',
+ 'Total' => 'I alt',
+ 'Transaction Date missing!' => 'Dato mangler!',
+ 'Transaction deleted!' => 'Postering slettet!',
+ 'Transaction posted!' => 'Postering bogført!',
+ 'Transaction reversal enforced for all dates' => 'Rettelser af posteringer skal altid bogføres explicit',
+ 'Transaction reversal enforced up to' => 'Rettelser af posteringer skal bogføres explicit indtil',
+ 'Transactions' => 'Posteringer',
+ 'Transactions exist, cannot delete customer!' => 'Kunde kan ikke fjernes da der er posteringer!',
+ 'Transactions exist, cannot delete vendor!' => 'Leverandør kan ikke fjernes da der er posteringer!',
+ 'Transactions exist; cannot delete account!' => 'Konto kan ikke fjernes da der er posteringer!',
+ 'Trial Balance' => 'Foreløbig status',
+ 'Unit' => 'Enhed',
+ 'Unit of measure' => 'Måleenhed',
+ 'Update' => 'Opdatér',
+ 'Update Dataset' => 'Opdatér datasæt',
+ 'Updated' => 'Opdateret',
+ 'Use Templates' => 'Brug skabeloner',
+ 'User' => 'Bruger',
+ 'User deleted!' => 'Bruger slettet!',
+ 'User saved!' => 'Bruger gemt!',
+ 'Vendor' => 'Leverandør',
+ 'Vendor deleted!' => 'Leverandør slettet!',
+ 'Vendor missing!' => 'Leverandør mangler!',
+ 'Vendor not on file!' => 'Leverandør ikke i databasen!',
+ 'Vendor saved!' => 'Leverandør gemt!',
+ 'Vendors' => 'Leverandører',
+ 'Version' => 'Version',
+ 'Weight' => 'Vægt',
+ 'Weight Unit' => 'Vægtenhed',
+ 'What type of item is this?' => 'Hvilken type ting er dette?',
+ 'Year End' => 'Årsafslutning',
+ 'Yes' => 'Ja',
+ 'You are logged out!' => 'Du er logget ud',
+ 'You did not enter a name!' => 'Du angav ikke et navn',
+ 'You must enter a host and port for local and remote connections!' => 'Du skal angive en vært og en port for lokale og eksterne forbindelser!',
+ 'as at' => 'som ved',
+ 'collected on sales' => 'indsamlet ved salg',
+ 'days' => 'dage',
+ 'does not exist' => 'eksisterer ikke',
+ 'ea' => 'stk',
+ 'emailed to' => 'sendt via e-post til',
+ 'for Period' => 'for perioden',
+ 'hr' => 'time',
+ 'is already a member!' => 'er allerede et medlem',
+ 'is not a member!' => 'er ikke et medlem!',
+ 'localhost' => 'lokalt',
+ 'paid on purchases' => 'betalt ved indkøb',
+ 'sent to printer' => 'sendt til printer',
+ 'successfully created!' => 'oprettet!',
+ 'successfully deleted!' => 'slettet!',
+ 'to' => 'til',
+ 'website' => 'på Internet',
+};
+
+1;
diff --git a/sql-ledger/locale/dk/am b/sql-ledger/locale/dk/am
new file mode 100644
index 0000000..7546a0d
--- /dev/null
+++ b/sql-ledger/locale/dk/am
@@ -0,0 +1,139 @@
+$self{texts} = {
+ 'AP' => 'Kreditorer',
+ 'AR' => 'Debitorer',
+ 'Account' => 'Konto',
+ 'Account Number' => 'Kontonummer',
+ 'Account Number missing!' => 'Kontonummer mangler!',
+ 'Account Type' => 'Kontotype',
+ 'Account Type missing!' => 'Kontotype mangler!',
+ 'Account deleted!' => 'Konto slettet!',
+ 'Account saved!' => 'Konto gemt!',
+ 'Add Account' => 'Ny konto',
+ 'Add GIFI' => 'Ny GIFI',
+ 'Address' => 'Adresse',
+ 'Asset' => 'Aktiv',
+ 'Audit Control' => 'Revisionskontrol',
+ 'Backup sent to' => 'Sikkerhedskopier sendt til',
+ 'Books are open' => 'Bogføringen er åben for rettelser',
+ 'Business Number' => 'CVR-nummer',
+ 'COGS' => 'Indkøb',
+ 'Cannot delete account!' => 'Kan ikke slette konto!',
+ 'Cannot delete default account!' => 'Kan ikke slette standardkonto!',
+ 'Cannot save account!' => 'Kan ikke gemme konto!',
+ 'Cannot save preferences!' => 'Kan ikke gemme præferencer!',
+ 'Character Set' => 'Tegnsæt',
+ 'Chart of Accounts' => 'Kontoplan',
+ 'Close Books up to' => 'Afslut bogføring op til',
+ 'Company' => 'Firma',
+ 'Continue' => 'Fortsæt',
+ 'Copy to COA' => 'Kopiér til COA',
+ 'Credit' => 'Kredit',
+ 'Date Format' => 'Datoformat',
+ 'Debit' => 'Debet',
+ 'Delete' => 'Fjern',
+ 'Delete Account' => 'Fjern konto',
+ 'Description' => 'Beskrivelse',
+ 'Dropdown Limit' => 'Grænse for nedtræk',
+ 'E-mail' => 'E-post',
+ 'Edit' => 'Redigér',
+ 'Edit Account' => 'Redigér konto',
+ 'Edit GIFI' => 'Redigér GIFI',
+ 'Edit Preferences for' => 'Redigér opsætning for',
+ 'Edit Template' => 'Redigér skabelon',
+ 'Enforce transaction reversal for all dates' => 'Gennemtving explicitte rettelser af posteringer for alle datoer',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Angiv op til 3 bogstaver adskilt med kolon (fx DKK:EUR:USD) for dine indenlandske og udenlandske valutaer',
+ 'Equity' => 'Egenkapital',
+ 'Expense' => 'Udgift',
+ 'Expense Account' => 'Udgiftskonto',
+ 'Expense/Asset' => 'Udgift/Aktiv',
+ 'Fax' => 'Fax',
+ 'Foreign Exchange Gain' => 'Gevinst på valutahandel',
+ 'Foreign Exchange Loss' => 'Tab på valutahandel',
+ 'GIFI' => 'GIFI',
+ 'GIFI deleted!' => 'GIFI slettet!',
+ 'GIFI missing!' => 'GIFI mangler!',
+ 'GIFI saved!' => 'GIFI gemt!',
+ 'Heading' => 'Overskrift',
+ 'Include in drop-down menus' => 'Inkludér i rullegardin-menuer',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Skal denne konto kunne vælges som afgifts- eller momskonto ved oprettelsen af kunder/leverandører?',
+ 'Income' => 'Indtægt',
+ 'Income Account' => 'Indtægtskonto',
+ 'Inventory' => 'Artikler',
+ 'Inventory Account' => 'Lagerkonto',
+ 'Is this a summary account to record' => 'Samlekonto for',
+ 'Language' => 'Sprog',
+ 'Last Invoice Number' => 'Seneste fakturanummer',
+ 'Last Numbers & Default Accounts' => 'Løbenumre og standardkonti',
+ 'Last Purchase Order Number' => 'Seneste nummer på indkøbsordre',
+ 'Last Sales Order Number' => 'Seneste salgsordrenummer',
+ 'Liability' => 'Passiv',
+ 'Link' => 'Referencer',
+ 'Name' => 'Navn',
+ 'No' => 'Nej',
+ 'No email address for' => 'Ingen epostadresse for',
+ 'Number' => 'Nummer',
+ 'Number Format' => 'Numerisk format',
+ 'Parts Inventory' => 'Vareliste',
+ 'Password' => 'Adgangskode',
+ 'Payables' => 'Udeståender',
+ 'Payment' => 'Betaling',
+ 'Phone' => 'Tel.',
+ 'Preferences saved!' => 'Indstillinger gemt!',
+ 'Rate' => 'Rate',
+ 'Receivables' => 'Indbetalinger',
+ 'Sales' => 'Salg',
+ 'Save' => 'Gem',
+ 'Service Items' => 'Tjenester',
+ 'Ship via' => 'Send via',
+ 'Signature' => 'Underskrift',
+ 'Stylesheet' => 'Stilark',
+ 'Tax' => 'Afgift/Moms',
+ 'Tax Accounts' => 'Afgift/Momskonti',
+ 'Template saved!' => 'Skabelon gemt!',
+ 'Transaction reversal enforced for all dates' => 'Rettelser af posteringer skal altid bogføres explicit',
+ 'Transaction reversal enforced up to' => 'Rettelser af posteringer skal bogføres explicit indtil',
+ 'Transactions exist; cannot delete account!' => 'Konto kan ikke fjernes da der er posteringer!',
+ 'Weight Unit' => 'Vægtenhed',
+ 'Year End' => 'Årsafslutning',
+ 'Yes' => 'Ja',
+ 'does not exist' => 'eksisterer ikke',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_gifi' => 'add_gifi',
+ 'audit_control' => 'audit_control',
+ 'backup' => 'backup',
+ 'config' => 'config',
+ 'continue' => 'continue',
+ 'copy_to_coa' => 'copy_to_coa',
+ 'delete' => 'delete',
+ 'delete_account' => 'delete_account',
+ 'delete_gifi' => 'delete_gifi',
+ 'display_form' => 'display_form',
+ 'display_stylesheet' => 'display_stylesheet',
+ 'doclose' => 'doclose',
+ 'edit' => 'edit',
+ 'edit_gifi' => 'edit_gifi',
+ 'edit_template' => 'edit_template',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gifi_footer' => 'gifi_footer',
+ 'gifi_header' => 'gifi_header',
+ 'list' => 'list',
+ 'list_gifi' => 'list_gifi',
+ 'save' => 'save',
+ 'save_account' => 'save_account',
+ 'save_gifi' => 'save_gifi',
+ 'save_preferences' => 'save_preferences',
+ 'save_template' => 'save_template',
+ 'ny_konto' => 'add_account',
+ 'fortsæt' => 'continue',
+ 'kopiér_til_coa' => 'copy_to_coa',
+ 'fjern' => 'delete',
+ 'redigér' => 'edit',
+ 'redigér_konto' => 'edit_account',
+ 'gem' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/dk/ap b/sql-ledger/locale/dk/ap
new file mode 100644
index 0000000..424926d
--- /dev/null
+++ b/sql-ledger/locale/dk/ap
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AP Transaction' => 'Leverandørfaktura',
+ 'AP Transactions' => 'Leverandørfakturaer',
+ 'Account' => 'Konto',
+ 'Add Accounts Payables Transaction' => 'Ny leverandørpostering',
+ 'Address' => 'Adresse',
+ 'Amount' => 'Beløb',
+ 'Amount Due' => 'Forfaldent',
+ 'Apr' => 'apr',
+ 'April' => 'april',
+ 'Are you sure you want to delete Transaction' => 'Er du sikker på du vil fjerne postering',
+ 'Aug' => 'aug',
+ 'August' => 'august',
+ 'Cannot delete transaction!' => 'Kan ikke slette postering!',
+ 'Cannot post payment for a closed period!' => 'Kan ikke bogføre betaling for en afsluttet periode',
+ 'Cannot post transaction for a closed period!' => 'Kan ikke bogføre postering for en afsluttet periode!',
+ 'Cannot post transaction!' => 'Kan ikke bogføre postering!',
+ 'Closed' => 'Afsluttet',
+ 'Confirm!' => 'Bekræft!',
+ 'Continue' => 'Fortsæt',
+ 'Currency' => 'Valuta',
+ 'Customer not on file!' => 'Kunde ikke i databasen!',
+ 'Date' => 'Dato',
+ 'Date Paid' => 'Betalingsdato',
+ 'Dec' => 'dec',
+ 'December' => 'december',
+ 'Delete' => 'Fjern',
+ 'Description' => 'Beskrivelse',
+ 'Due Date' => 'Forfaldsdato',
+ 'Due Date missing!' => 'Forfaldsdato mangler!',
+ 'Edit Accounts Payables Transaction' => 'Redigér leverandørpostering',
+ 'Employee' => 'Ansat',
+ 'Exch' => 'Vxl',
+ 'Exchangerate' => 'Vekselkurs',
+ 'Exchangerate for payment missing!' => 'Valutakurs for betaling mangler!',
+ 'Exchangerate missing!' => 'Vekselkurs mangler!',
+ 'Feb' => 'feb',
+ 'February' => 'februar',
+ 'From' => 'Fra',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Inkludér i rapport',
+ 'Invoice' => 'Faktura',
+ 'Invoice Date' => 'Fakturadato',
+ 'Invoice Date missing!' => 'Fakturadato mangler!',
+ 'Invoice Number' => 'Fakturanummer',
+ 'Invoice Number missing!' => 'Fakturanummer mangler!',
+ 'Jan' => 'jan',
+ 'January' => 'januar',
+ 'Jul' => 'jul',
+ 'July' => 'juli',
+ 'Jun' => 'jun',
+ 'June' => 'juni',
+ 'Mar' => 'mar',
+ 'March' => 'marts',
+ 'May' => 'maj',
+ 'May ' => 'maj ',
+ 'Notes' => 'Bemærkninger',
+ 'Nov' => 'nov',
+ 'November' => 'november',
+ 'Number' => 'Nummer',
+ 'Oct' => 'okt',
+ 'October' => 'oktober',
+ 'Open' => 'Åbn',
+ 'Order' => 'Ordre',
+ 'Order Number' => 'Ordrenummer',
+ 'Paid' => 'Betalt',
+ 'Payment date missing!' => 'Betalingsdato mangler!',
+ 'Payments' => 'Betalinger',
+ 'Post' => 'Bogfør',
+ 'Post as new' => 'Bogfør som ny',
+ 'Project' => 'Projekt',
+ 'Project not on file!' => 'Projekt ikke i databasen!',
+ 'Purchase Invoice' => 'Indkøbsfaktura',
+ 'Select from one of the names below' => 'Vælg en af navnene nedenfor',
+ 'Select from one of the projects below' => 'Vælg et af projekterne nedenfor',
+ 'Sep' => 'sep',
+ 'September' => 'september',
+ 'Source' => 'Bilag',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'Afgift/Moms',
+ 'Tax Included' => 'Inkl. afgifter og moms',
+ 'To' => 'til',
+ 'Total' => 'I alt',
+ 'Transaction deleted!' => 'Postering slettet!',
+ 'Transaction posted!' => 'Postering bogført!',
+ 'Update' => 'Opdatér',
+ 'Vendor' => 'Leverandør',
+ 'Vendor missing!' => 'Leverandør mangler!',
+ 'Vendor not on file!' => 'Leverandør ikke i databasen!',
+ 'Yes' => 'Ja',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_subtotal' => 'ap_subtotal',
+ 'ap_transaction' => 'ap_transaction',
+ 'ap_transactions' => 'ap_transactions',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'leverandørfaktura' => 'ap_transaction',
+ 'ny_leverandørpostering' => 'add_accounts_payables_transaction',
+ 'fortsæt' => 'continue',
+ 'fjern' => 'delete',
+ 'redigér_leverandørpostering' => 'edit_accounts_payables_transaction',
+ 'bogfør' => 'post',
+ 'bogfør_som_ny' => 'post_as_new',
+ 'indkøbsfaktura' => 'purchase_invoice',
+ 'opdatér' => 'update',
+ 'ja' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/dk/ar b/sql-ledger/locale/dk/ar
new file mode 100644
index 0000000..9f778b0
--- /dev/null
+++ b/sql-ledger/locale/dk/ar
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AR Transaction' => 'Debitorpostering',
+ 'AR Transactions' => 'Debitorposteringer',
+ 'Account' => 'Konto',
+ 'Add Accounts Receivables Transaction' => 'Ny debitorpostering',
+ 'Address' => 'Adresse',
+ 'Amount' => 'Beløb',
+ 'Amount Due' => 'Forfaldent',
+ 'Apr' => 'apr',
+ 'April' => 'april',
+ 'Are you sure you want to delete Transaction' => 'Er du sikker på du vil fjerne postering',
+ 'Aug' => 'aug',
+ 'August' => 'august',
+ 'Cannot delete transaction!' => 'Kan ikke slette postering!',
+ 'Cannot post payment for a closed period!' => 'Kan ikke bogføre betaling for en afsluttet periode',
+ 'Cannot post transaction for a closed period!' => 'Kan ikke bogføre postering for en afsluttet periode!',
+ 'Cannot post transaction!' => 'Kan ikke bogføre postering!',
+ 'Closed' => 'Afsluttet',
+ 'Confirm!' => 'Bekræft!',
+ 'Continue' => 'Fortsæt',
+ 'Credit Limit' => 'Kreditgrænse',
+ 'Currency' => 'Valuta',
+ 'Customer' => 'Kunde',
+ 'Customer missing!' => 'Kunde mangler!',
+ 'Customer not on file!' => 'Kunde ikke i databasen!',
+ 'Date' => 'Dato',
+ 'Date Paid' => 'Betalingsdato',
+ 'Dec' => 'dec',
+ 'December' => 'december',
+ 'Delete' => 'Fjern',
+ 'Description' => 'Beskrivelse',
+ 'Due Date' => 'Forfaldsdato',
+ 'Due Date missing!' => 'Forfaldsdato mangler!',
+ 'Edit Accounts Receivables Transaction' => 'Redigér debitorpostering',
+ 'Employee' => 'Ansat',
+ 'Exch' => 'Vxl',
+ 'Exchangerate' => 'Vekselkurs',
+ 'Exchangerate for payment missing!' => 'Valutakurs for betaling mangler!',
+ 'Exchangerate missing!' => 'Vekselkurs mangler!',
+ 'Feb' => 'feb',
+ 'February' => 'februar',
+ 'From' => 'Fra',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Inkludér i rapport',
+ 'Invoice' => 'Faktura',
+ 'Invoice Date' => 'Fakturadato',
+ 'Invoice Date missing!' => 'Fakturadato mangler!',
+ 'Invoice Number' => 'Fakturanummer',
+ 'Invoice Number missing!' => 'Fakturanummer mangler!',
+ 'Jan' => 'jan',
+ 'January' => 'januar',
+ 'Jul' => 'jul',
+ 'July' => 'juli',
+ 'Jun' => 'jun',
+ 'June' => 'juni',
+ 'Mar' => 'mar',
+ 'March' => 'marts',
+ 'May' => 'maj',
+ 'May ' => 'maj ',
+ 'Notes' => 'Bemærkninger',
+ 'Nov' => 'nov',
+ 'November' => 'november',
+ 'Number' => 'Nummer',
+ 'Oct' => 'okt',
+ 'October' => 'oktober',
+ 'Open' => 'Åbn',
+ 'Order' => 'Ordre',
+ 'Order Number' => 'Ordrenummer',
+ 'Paid' => 'Betalt',
+ 'Payment date missing!' => 'Betalingsdato mangler!',
+ 'Payments' => 'Betalinger',
+ 'Post' => 'Bogfør',
+ 'Post as new' => 'Bogfør som ny',
+ 'Project' => 'Projekt',
+ 'Project not on file!' => 'Projekt ikke i databasen!',
+ 'Remaining' => 'Resterer',
+ 'Sales Invoice' => 'Salgsfaktura',
+ 'Select from one of the names below' => 'Vælg en af navnene nedenfor',
+ 'Select from one of the projects below' => 'Vælg et af projekterne nedenfor',
+ 'Sep' => 'sep',
+ 'September' => 'september',
+ 'Source' => 'Bilag',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'Afgift/Moms',
+ 'Tax Included' => 'Inkl. afgifter og moms',
+ 'To' => 'til',
+ 'Total' => 'I alt',
+ 'Transaction deleted!' => 'Postering slettet!',
+ 'Transaction posted!' => 'Postering bogført!',
+ 'Update' => 'Opdatér',
+ 'Vendor not on file!' => 'Leverandør ikke i databasen!',
+ 'Yes' => 'Ja',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_subtotal' => 'ar_subtotal',
+ 'ar_transaction' => 'ar_transaction',
+ 'ar_transactions' => 'ar_transactions',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'debitorpostering' => 'ar_transaction',
+ 'fortsæt' => 'continue',
+ 'fjern' => 'delete',
+ 'bogfør' => 'post',
+ 'bogfør_som_ny' => 'post_as_new',
+ 'salgsfaktura' => 'sales_invoice',
+ 'opdatér' => 'update',
+ 'ja' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/dk/arap b/sql-ledger/locale/dk/arap
new file mode 100644
index 0000000..af22061
--- /dev/null
+++ b/sql-ledger/locale/dk/arap
@@ -0,0 +1,30 @@
+$self{texts} = {
+ 'Address' => 'Adresse',
+ 'Continue' => 'Fortsæt',
+ 'Customer not on file!' => 'Kunde ikke i databasen!',
+ 'Description' => 'Beskrivelse',
+ 'Number' => 'Nummer',
+ 'Project not on file!' => 'Projekt ikke i databasen!',
+ 'Select from one of the names below' => 'Vælg en af navnene nedenfor',
+ 'Select from one of the projects below' => 'Vælg et af projekterne nedenfor',
+ 'Vendor not on file!' => 'Leverandør ikke i databasen!',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'fortsæt' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/dk/ca b/sql-ledger/locale/dk/ca
new file mode 100644
index 0000000..302aeea
--- /dev/null
+++ b/sql-ledger/locale/dk/ca
@@ -0,0 +1,50 @@
+$self{texts} = {
+ 'Account' => 'Konto',
+ 'Apr' => 'apr',
+ 'April' => 'april',
+ 'Aug' => 'aug',
+ 'August' => 'august',
+ 'Balance' => 'Balance',
+ 'Chart of Accounts' => 'Kontoplan',
+ 'Credit' => 'Kredit',
+ 'Date' => 'Dato',
+ 'Debit' => 'Debet',
+ 'Dec' => 'dec',
+ 'December' => 'december',
+ 'Description' => 'Beskrivelse',
+ 'Feb' => 'feb',
+ 'February' => 'februar',
+ 'From' => 'Fra',
+ 'GIFI' => 'GIFI',
+ 'Include in Report' => 'Inkludér i rapport',
+ 'Jan' => 'jan',
+ 'January' => 'januar',
+ 'Jul' => 'jul',
+ 'July' => 'juli',
+ 'Jun' => 'jun',
+ 'June' => 'juni',
+ 'List Transactions' => 'Vis bogføringer',
+ 'Mar' => 'mar',
+ 'March' => 'marts',
+ 'May' => 'maj',
+ 'May ' => 'maj ',
+ 'Nov' => 'nov',
+ 'November' => 'november',
+ 'Oct' => 'okt',
+ 'October' => 'oktober',
+ 'Reference' => 'Reference',
+ 'Sep' => 'sep',
+ 'September' => 'september',
+ 'Subtotal' => 'Subtotal',
+ 'To' => 'til',
+};
+
+$self{subs} = {
+ 'ca_subtotal' => 'ca_subtotal',
+ 'chart_of_accounts' => 'chart_of_accounts',
+ 'list' => 'list',
+ 'list_transactions' => 'list_transactions',
+ 'vis_bogføringer' => 'list_transactions',
+};
+
+1;
diff --git a/sql-ledger/locale/dk/cp b/sql-ledger/locale/dk/cp
new file mode 100644
index 0000000..79d0579
--- /dev/null
+++ b/sql-ledger/locale/dk/cp
@@ -0,0 +1,75 @@
+$self{texts} = {
+ 'Account' => 'Konto',
+ 'Address' => 'Adresse',
+ 'Amount' => 'Beløb',
+ 'Amount does not equal applied!' => 'Beløb er ikke det samme som brugt!',
+ 'Amount missing!' => 'Konto mangler!',
+ 'Applied' => 'Udført',
+ 'Cannot post payment!' => 'Kan ikke bogføre betaling',
+ 'Cannot process payment for a closed period!' => 'Kan ikke behandle betaling for en afsluttet periode!',
+ 'Check' => 'Check',
+ 'Check printed!' => 'Check udskrevet',
+ 'Check printing failed!' => 'Udskrivning af check mislykkedes',
+ 'Continue' => 'Fortsæt',
+ 'Currency' => 'Valuta',
+ 'Customer' => 'Kunde',
+ 'Customer not on file!' => 'Kunde ikke i databasen!',
+ 'Date' => 'Dato',
+ 'Date missing!' => 'Dato mangler!',
+ 'Description' => 'Beskrivelse',
+ 'Due' => 'Forfald',
+ 'Exchangerate' => 'Vekselkurs',
+ 'From' => 'Fra',
+ 'Invoice' => 'Faktura',
+ 'Invoices' => 'Fakturaer',
+ 'Nothing applied!' => 'Ingenting udført!',
+ 'Number' => 'Nummer',
+ 'Paid in full' => 'Paid in full',
+ 'Payment' => 'Betaling',
+ 'Payment posted!' => 'Betaling bogført!',
+ 'Post' => 'Bogfør',
+ 'Print' => 'Udskriv',
+ 'Printer' => 'Printer',
+ 'Project not on file!' => 'Projekt ikke i databasen!',
+ 'Receipt' => 'Kvittering',
+ 'Reference' => 'Reference',
+ 'Screen' => 'Skærm',
+ 'Select from one of the names below' => 'Vælg en af navnene nedenfor',
+ 'Select from one of the projects below' => 'Vælg et af projekterne nedenfor',
+ 'To' => 'til',
+ 'Update' => 'Opdatér',
+ 'Vendor' => 'Leverandør',
+ 'Vendor not on file!' => 'Leverandør ikke i databasen!',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'list_invoices' => 'list_invoices',
+ 'name_selected' => 'name_selected',
+ 'payment' => 'payment',
+ 'post' => 'post',
+ 'print' => 'print',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'vendor_details' => 'vendor_details',
+ 'fortsæt' => 'continue',
+ 'bogfør' => 'post',
+ 'udskriv' => 'print',
+ 'opdatér' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/dk/ct b/sql-ledger/locale/dk/ct
new file mode 100644
index 0000000..2b8f91b
--- /dev/null
+++ b/sql-ledger/locale/dk/ct
@@ -0,0 +1,69 @@
+$self{texts} = {
+ 'Add' => 'Tilføj',
+ 'Address' => 'Adresse',
+ 'All' => 'Alt',
+ 'Bcc' => 'Blind kopi',
+ 'Cannot delete customer!' => 'Kan ikke slette kunde!',
+ 'Cannot delete vendor!' => 'Kan ikke slette leverandør!',
+ 'Cc' => 'Kopi',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Fortsæt',
+ 'Credit Limit' => 'Kreditgrænse',
+ 'Customer deleted!' => 'Kunde slettet!',
+ 'Customer saved!' => 'Kunde gemt!',
+ 'Customers' => 'Kunder',
+ 'Delete' => 'Fjern',
+ 'Discount' => 'Rabat',
+ 'E-mail' => 'E-post',
+ 'Fax' => 'Fax',
+ 'Include in Report' => 'Inkludér i rapport',
+ 'Invoice' => 'Faktura',
+ 'Name' => 'Navn',
+ 'Name missing!' => 'Navn mangler!',
+ 'Notes' => 'Bemærkninger',
+ 'Number' => 'Nummer',
+ 'Order' => 'Ordre',
+ 'Orphaned' => 'Fritstående',
+ 'Phone' => 'Tel.',
+ 'Save' => 'Gem',
+ 'Ship to' => 'Send til',
+ 'Tax Included' => 'Inkl. afgifter og moms',
+ 'Taxable' => 'Afgifts/momspligtig',
+ 'Terms: Net' => 'Netto',
+ 'Transactions exist, cannot delete customer!' => 'Kunde kan ikke fjernes da der er posteringer!',
+ 'Transactions exist, cannot delete vendor!' => 'Leverandør kan ikke fjernes da der er posteringer!',
+ 'Vendor deleted!' => 'Leverandør slettet!',
+ 'Vendor saved!' => 'Leverandør gemt!',
+ 'Vendors' => 'Leverandører',
+ 'days' => 'dage',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'customer_invoice' => 'customer_invoice',
+ 'customer_order' => 'customer_order',
+ 'delete' => 'delete',
+ 'delete_customer' => 'delete_customer',
+ 'delete_vendor' => 'delete_vendor',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'invoice' => 'invoice',
+ 'list_names' => 'list_names',
+ 'order' => 'order',
+ 'save' => 'save',
+ 'save_customer' => 'save_customer',
+ 'save_vendor' => 'save_vendor',
+ 'search' => 'search',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'vendor_order' => 'vendor_order',
+ 'tilføj' => 'add',
+ 'fortsæt' => 'continue',
+ 'fjern' => 'delete',
+ 'faktura' => 'invoice',
+ 'ordre' => 'order',
+ 'gem' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/dk/gl b/sql-ledger/locale/dk/gl
new file mode 100644
index 0000000..3693fa2
--- /dev/null
+++ b/sql-ledger/locale/dk/gl
@@ -0,0 +1,124 @@
+$self{texts} = {
+ 'AP Transaction' => 'Leverandørfaktura',
+ 'AR Transaction' => 'Debitorpostering',
+ 'Account' => 'Konto',
+ 'Add General Ledger Transaction' => 'Ny postering i hovedbog',
+ 'Address' => 'Adresse',
+ 'All' => 'Alt',
+ 'Apr' => 'apr',
+ 'April' => 'april',
+ 'Are you sure you want to delete Transaction' => 'Er du sikker på du vil fjerne postering',
+ 'Asset' => 'Aktiv',
+ 'Aug' => 'aug',
+ 'August' => 'august',
+ 'Balance' => 'Balance',
+ 'Cannot delete transaction!' => 'Kan ikke slette postering!',
+ 'Cannot have a value in both Debit and Credit!' => 'Kan ikke have en værdi i både debet og kredit!',
+ 'Cannot post a transaction without a value!' => 'Cannot post a transaction without a value!',
+ 'Cannot post transaction for a closed period!' => 'Kan ikke bogføre postering for en afsluttet periode!',
+ 'Confirm!' => 'Bekræft!',
+ 'Continue' => 'Fortsæt',
+ 'Credit' => 'Kredit',
+ 'Customer not on file!' => 'Kunde ikke i databasen!',
+ 'Date' => 'Dato',
+ 'Debit' => 'Debet',
+ 'Debit and credit out of balance!' => 'Debet og kredit skal være det samme!',
+ 'Dec' => 'dec',
+ 'December' => 'december',
+ 'Delete' => 'Fjern',
+ 'Description' => 'Beskrivelse',
+ 'Edit General Ledger Transaction' => 'Redigér en postering i hovedbog',
+ 'Equity' => 'Egenkapital',
+ 'Expense' => 'Udgift',
+ 'Feb' => 'feb',
+ 'February' => 'februar',
+ 'From' => 'Fra',
+ 'GIFI' => 'GIFI',
+ 'GL Transaction' => 'Postering i hovedbog',
+ 'General Ledger' => 'Hovedbog',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Inkludér i rapport',
+ 'Income' => 'Indtægt',
+ 'Jan' => 'jan',
+ 'January' => 'januar',
+ 'Jul' => 'jul',
+ 'July' => 'juli',
+ 'Jun' => 'jun',
+ 'June' => 'juni',
+ 'Liability' => 'Passiv',
+ 'Mar' => 'mar',
+ 'March' => 'marts',
+ 'May' => 'maj',
+ 'May ' => 'maj ',
+ 'Notes' => 'Bemærkninger',
+ 'Nov' => 'nov',
+ 'November' => 'november',
+ 'Number' => 'Nummer',
+ 'Oct' => 'okt',
+ 'October' => 'oktober',
+ 'Post' => 'Bogfør',
+ 'Post as new' => 'Bogfør som ny',
+ 'Project' => 'Projekt',
+ 'Project not on file!' => 'Projekt ikke i databasen!',
+ 'Purchase Invoice' => 'Indkøbsfaktura',
+ 'Reference' => 'Reference',
+ 'Reference missing!' => 'Reference mangler',
+ 'Reports' => 'Rapporter',
+ 'Sales Invoice' => 'Salgsfaktura',
+ 'Select from one of the names below' => 'Vælg en af navnene nedenfor',
+ 'Select from one of the projects below' => 'Vælg et af projekterne nedenfor',
+ 'Sep' => 'sep',
+ 'September' => 'september',
+ 'Source' => 'Bilag',
+ 'Subtotal' => 'Subtotal',
+ 'To' => 'til',
+ 'Transaction Date missing!' => 'Dato mangler!',
+ 'Transaction deleted!' => 'Postering slettet!',
+ 'Transaction posted!' => 'Postering bogført!',
+ 'Update' => 'Opdatér',
+ 'Vendor not on file!' => 'Leverandør ikke i databasen!',
+ 'Yes' => 'Ja',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'form_row' => 'form_row',
+ 'generate_report' => 'generate_report',
+ 'gl_subtotal' => 'gl_subtotal',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'leverandørfaktura' => 'ap_transaction',
+ 'debitorpostering' => 'ar_transaction',
+ 'fortsæt' => 'continue',
+ 'fjern' => 'delete',
+ 'postering_i_hovedbog' => 'gl_transaction',
+ 'bogfør' => 'post',
+ 'bogfør_som_ny' => 'post_as_new',
+ 'indkøbsfaktura' => 'purchase_invoice',
+ 'salgsfaktura' => 'sales_invoice',
+ 'opdatér' => 'update',
+ 'ja' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/dk/ic b/sql-ledger/locale/dk/ic
new file mode 100644
index 0000000..38e0d70
--- /dev/null
+++ b/sql-ledger/locale/dk/ic
@@ -0,0 +1,205 @@
+$self{texts} = {
+ 'Active' => 'Aktiv',
+ 'Add' => 'Tilføj',
+ 'Add Assembly' => 'Ny sammensætning',
+ 'Add Part' => 'Ny vare',
+ 'Add Purchase Order' => 'Ny indkøbsordre',
+ 'Add Sales Order' => 'Ny salgsordre',
+ 'Add Service' => 'Ny tjeneste',
+ 'Address' => 'Adresse',
+ 'Apr' => 'apr',
+ 'April' => 'april',
+ 'Assemblies' => 'Sammensætninger',
+ 'Assemblies restocked!' => 'Sammensætninger genlagret',
+ 'Assembly Number missing!' => 'Sammensætningsnummer mangler',
+ 'Attachment' => 'Bilag',
+ 'Aug' => 'aug',
+ 'August' => 'august',
+ 'BOM' => 'BOM',
+ 'Bcc' => 'Blind kopi',
+ 'Bin' => 'Varelager',
+ 'Bought' => 'Købt',
+ 'COGS' => 'Indkøb',
+ 'Cannot delete item already invoiced!' => 'Kan ikke slette allerede faktureret enkeltdel!',
+ 'Cannot delete item on order!' => 'Kan ikke slette bestilt enkeltdel!',
+ 'Cannot delete item which is part of an assembly!' => 'kan ikke slette en enhed som er en del af en sammensætning!',
+ 'Cannot delete item!' => 'Kan ikke slette enhed!',
+ 'Cannot stock assemblies!' => 'Kan ikke genbesætte sammensætninger',
+ 'Cc' => 'Kopi',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Fortsæt',
+ 'Copies' => 'Kopier',
+ 'Dec' => 'dec',
+ 'December' => 'december',
+ 'Delete' => 'Fjern',
+ 'Delivery Date' => 'Leveringsdato',
+ 'Description' => 'Beskrivelse',
+ 'Drawing' => 'Træk',
+ 'E-mail' => 'E-post',
+ 'E-mail address missing!' => 'E-post-adresse mangler!',
+ 'Edit Assembly' => 'Redigér sammensætning',
+ 'Edit Part' => 'Redigér vare',
+ 'Edit Service' => 'Redigér tjeneste',
+ 'Expense' => 'Udgift',
+ 'Extended' => 'Udvidet',
+ 'Fax' => 'Fax',
+ 'Feb' => 'feb',
+ 'February' => 'februar',
+ 'From' => 'Fra',
+ 'Image' => 'Billede',
+ 'In-line' => 'Indlejret',
+ 'Include in Report' => 'Inkludér i rapport',
+ 'Income' => 'Indtægt',
+ 'Individual Items' => 'Individuelle enheder',
+ 'Inventory' => 'Artikler',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'Lagerbeholdning skal være nul for at du kan forælde denne sammensætning',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'Lagerbeholdning skal være nul for at du kan forælde denne enhed',
+ 'Inventory quantity must be zero!' => 'Lagerbeholdning skal være nul',
+ 'Invoice' => 'Faktura',
+ 'Invoice Date missing!' => 'Fakturadato mangler!',
+ 'Invoice Number' => 'Fakturanummer',
+ 'Invoice Number missing!' => 'Fakturanummer mangler!',
+ 'Item deleted!' => 'Enkeltdel slettet!',
+ 'Item not on file!' => 'Enkeltdel er ikke i databasen!',
+ 'Jan' => 'jan',
+ 'January' => 'januar',
+ 'Jul' => 'jul',
+ 'July' => 'juli',
+ 'Jun' => 'jun',
+ 'June' => 'juni',
+ 'Last Cost' => 'Seneste pris',
+ 'Line Total' => 'Antal linjer',
+ 'Link Accounts' => 'Forbind konti',
+ 'List Price' => 'Listepris',
+ 'Make' => 'Fabrikat',
+ 'Mar' => 'mar',
+ 'March' => 'marts',
+ 'May' => 'maj',
+ 'May ' => 'maj ',
+ 'Message' => 'Besked',
+ 'Microfiche' => 'Mikrofilm',
+ 'Model' => 'Model',
+ 'Name' => 'Navn',
+ 'No.' => 'No.',
+ 'Notes' => 'Bemærkninger',
+ 'Nov' => 'nov',
+ 'November' => 'november',
+ 'Number' => 'Nummer',
+ 'Number missing in Row' => 'Tal mangler i række',
+ 'Obsolete' => 'Forældet',
+ 'Oct' => 'okt',
+ 'October' => 'oktober',
+ 'On Hand' => 'På lager',
+ 'On Order' => 'I ordre',
+ 'Order' => 'Ordre',
+ 'Order Date missing!' => 'Ordredato mangler',
+ 'Order Number' => 'Ordrenummer',
+ 'Order Number missing!' => 'Ordrenummer mangler',
+ 'Ordered' => 'bestilt',
+ 'Orphaned' => 'Fritstående',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Følgeseddel',
+ 'Packing List Date missing!' => 'Dato for pakkeliste mangler!',
+ 'Packing List Number missing!' => 'Nummer for pakkeliste mangler!',
+ 'Part' => 'Vare',
+ 'Part Number missing!' => 'Varenummer mangler!',
+ 'Parts' => 'Dele',
+ 'Phone' => 'Tel.',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Pris',
+ 'Printer' => 'Printer',
+ 'Project' => 'Projekt',
+ 'Purchase Order' => 'Indkøbsordre',
+ 'Qty' => 'Antal',
+ 'ROP' => 'Genbestil ved',
+ 'Recd' => 'Modtaget',
+ 'Required by' => 'Bestilt af',
+ 'Sales' => 'Salg',
+ 'Sales Order' => 'Salgsordre',
+ 'Save' => 'Gem',
+ 'Screen' => 'Skærm',
+ 'Select from one of the items below' => 'Vælg fra en af tingene nedenfor, og tryk "Fortsæt"',
+ 'Select postscript or PDF!' => 'Vælg postscript eller PDF',
+ 'Sell Price' => 'Salgspris',
+ 'Sep' => 'sep',
+ 'September' => 'september',
+ 'Service' => 'Tjeneste',
+ 'Service Number missing!' => 'Tjenestenummer mangler!',
+ 'Services' => 'Tjenester',
+ 'Ship' => 'Send',
+ 'Ship to' => 'Send til',
+ 'Short' => 'Kort',
+ 'Sold' => 'Solgt',
+ 'Stock Assembly' => 'Lagr sammensætning',
+ 'Subject' => 'Emne',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'Afgift/Moms',
+ 'To' => 'til',
+ 'Top Level' => 'Topniveau',
+ 'Total' => 'I alt',
+ 'Unit' => 'Enhed',
+ 'Unit of measure' => 'Måleenhed',
+ 'Update' => 'Opdatér',
+ 'Updated' => 'Opdateret',
+ 'Weight' => 'Vægt',
+ 'What type of item is this?' => 'Hvilken type ting er dette?',
+ 'ea' => 'stk',
+ 'emailed to' => 'sendt via e-post til',
+ 'hr' => 'time',
+ 'sent to printer' => 'sendt til printer',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'assembly_row' => 'assembly_row',
+ 'check_form' => 'check_form',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'delete_assembly' => 'delete_assembly',
+ 'delete_item' => 'delete_item',
+ 'delete_part' => 'delete_part',
+ 'delete_service' => 'delete_service',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'link_part' => 'link_part',
+ 'list_assemblies' => 'list_assemblies',
+ 'makemodel_row' => 'makemodel_row',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'parts_subtotal' => 'parts_subtotal',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'restock_assemblies' => 'restock_assemblies',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'stock_assembly' => 'stock_assembly',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'tilføj' => 'add',
+ 'ny_sammensætning' => 'add_assembly',
+ 'ny_vare' => 'add_part',
+ 'ny_tjeneste' => 'add_service',
+ 'fortsæt' => 'continue',
+ 'fjern' => 'delete',
+ 'redigér_sammensætning' => 'edit_assembly',
+ 'redigér_vare' => 'edit_part',
+ 'redigér_tjeneste' => 'edit_service',
+ 'gem' => 'save',
+ 'opdatér' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/dk/io b/sql-ledger/locale/dk/io
new file mode 100644
index 0000000..117e8d2
--- /dev/null
+++ b/sql-ledger/locale/dk/io
@@ -0,0 +1,106 @@
+$self{texts} = {
+ 'Add Purchase Order' => 'Ny indkøbsordre',
+ 'Add Sales Order' => 'Ny salgsordre',
+ 'Address' => 'Adresse',
+ 'Apr' => 'apr',
+ 'April' => 'april',
+ 'Attachment' => 'Bilag',
+ 'Aug' => 'aug',
+ 'August' => 'august',
+ 'Bcc' => 'Blind kopi',
+ 'Bin' => 'Varelager',
+ 'Cc' => 'Kopi',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Fortsæt',
+ 'Copies' => 'Kopier',
+ 'Dec' => 'dec',
+ 'December' => 'december',
+ 'Delivery Date' => 'Leveringsdato',
+ 'Description' => 'Beskrivelse',
+ 'E-mail' => 'E-post',
+ 'E-mail address missing!' => 'E-post-adresse mangler!',
+ 'Extended' => 'Udvidet',
+ 'Fax' => 'Fax',
+ 'Feb' => 'feb',
+ 'February' => 'februar',
+ 'In-line' => 'Indlejret',
+ 'Invoice' => 'Faktura',
+ 'Invoice Date missing!' => 'Fakturadato mangler!',
+ 'Invoice Number missing!' => 'Fakturanummer mangler!',
+ 'Item not on file!' => 'Enkeltdel er ikke i databasen!',
+ 'Jan' => 'jan',
+ 'January' => 'januar',
+ 'Jul' => 'jul',
+ 'July' => 'juli',
+ 'Jun' => 'jun',
+ 'June' => 'juni',
+ 'Mar' => 'mar',
+ 'March' => 'marts',
+ 'May' => 'maj',
+ 'May ' => 'maj ',
+ 'Message' => 'Besked',
+ 'Name' => 'Navn',
+ 'No.' => 'No.',
+ 'Nov' => 'nov',
+ 'November' => 'november',
+ 'Number' => 'Nummer',
+ 'Number missing in Row' => 'Tal mangler i række',
+ 'Oct' => 'okt',
+ 'October' => 'oktober',
+ 'Order' => 'Ordre',
+ 'Order Date missing!' => 'Ordredato mangler',
+ 'Order Number missing!' => 'Ordrenummer mangler',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Følgeseddel',
+ 'Packing List Date missing!' => 'Dato for pakkeliste mangler!',
+ 'Packing List Number missing!' => 'Nummer for pakkeliste mangler!',
+ 'Part' => 'Vare',
+ 'Phone' => 'Tel.',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Pris',
+ 'Printer' => 'Printer',
+ 'Project' => 'Projekt',
+ 'Purchase Order' => 'Indkøbsordre',
+ 'Qty' => 'Antal',
+ 'Recd' => 'Modtaget',
+ 'Required by' => 'Bestilt af',
+ 'Sales Order' => 'Salgsordre',
+ 'Screen' => 'Skærm',
+ 'Select from one of the items below' => 'Vælg fra en af tingene nedenfor, og tryk "Fortsæt"',
+ 'Select postscript or PDF!' => 'Vælg postscript eller PDF',
+ 'Sep' => 'sep',
+ 'September' => 'september',
+ 'Service' => 'Tjeneste',
+ 'Ship' => 'Send',
+ 'Ship to' => 'Send til',
+ 'Subject' => 'Emne',
+ 'To' => 'til',
+ 'Unit' => 'Enhed',
+ 'What type of item is this?' => 'Hvilken type ting er dette?',
+ 'emailed to' => 'sendt via e-post til',
+ 'sent to printer' => 'sendt til printer',
+};
+
+$self{subs} = {
+ 'check_form' => 'check_form',
+ 'customer_details' => 'customer_details',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'fortsæt' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/dk/ir b/sql-ledger/locale/dk/ir
new file mode 100644
index 0000000..cf77f62
--- /dev/null
+++ b/sql-ledger/locale/dk/ir
@@ -0,0 +1,178 @@
+$self{texts} = {
+ 'Account' => 'Konto',
+ 'Add Purchase Invoice' => 'Ny indkøbsfaktura',
+ 'Add Purchase Order' => 'Ny indkøbsordre',
+ 'Add Sales Order' => 'Ny salgsordre',
+ 'Address' => 'Adresse',
+ 'Amount' => 'Beløb',
+ 'Apr' => 'apr',
+ 'April' => 'april',
+ 'Are you sure you want to delete Invoice Number' => 'Er du sikker på du vil fjerne fakturanummer',
+ 'Attachment' => 'Bilag',
+ 'Aug' => 'aug',
+ 'August' => 'august',
+ 'Bcc' => 'Blind kopi',
+ 'Bin' => 'Varelager',
+ 'Cannot delete invoice!' => 'Kan ikke slette faktura!',
+ 'Cannot post invoice for a closed period!' => 'Kan ikke bogføre faktura for en afsluttet periode!',
+ 'Cannot post invoice!' => 'Kan ikke bogføre faktura!',
+ 'Cannot post payment for a closed period!' => 'Kan ikke bogføre betaling for en afsluttet periode',
+ 'Cc' => 'Kopi',
+ 'Confirm!' => 'Bekræft!',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Fortsæt',
+ 'Copies' => 'Kopier',
+ 'Currency' => 'Valuta',
+ 'Customer not on file!' => 'Kunde ikke i databasen!',
+ 'Date' => 'Dato',
+ 'Date Due' => 'Forfaldsdato',
+ 'Dec' => 'dec',
+ 'December' => 'december',
+ 'Delete' => 'Fjern',
+ 'Delivery Date' => 'Leveringsdato',
+ 'Description' => 'Beskrivelse',
+ 'E-mail' => 'E-post',
+ 'E-mail address missing!' => 'E-post-adresse mangler!',
+ 'Edit Purchase Invoice' => 'Redigér projekt',
+ 'Exch' => 'Vxl',
+ 'Exchangerate' => 'Vekselkurs',
+ 'Exchangerate for payment missing!' => 'Valutakurs for betaling mangler!',
+ 'Exchangerate missing!' => 'Vekselkurs mangler!',
+ 'Extended' => 'Udvidet',
+ 'Fax' => 'Fax',
+ 'Feb' => 'feb',
+ 'February' => 'februar',
+ 'In-line' => 'Indlejret',
+ 'Invoice' => 'Faktura',
+ 'Invoice Date' => 'Fakturadato',
+ 'Invoice Date missing!' => 'Fakturadato mangler!',
+ 'Invoice Number' => 'Fakturanummer',
+ 'Invoice Number missing!' => 'Fakturanummer mangler!',
+ 'Invoice deleted!' => 'Faktura slettet!',
+ 'Invoice posted!' => 'Faktura bogført!',
+ 'Item not on file!' => 'Enkeltdel er ikke i databasen!',
+ 'Jan' => 'jan',
+ 'January' => 'januar',
+ 'Jul' => 'jul',
+ 'July' => 'juli',
+ 'Jun' => 'jun',
+ 'June' => 'juni',
+ 'Mar' => 'mar',
+ 'March' => 'marts',
+ 'May' => 'maj',
+ 'May ' => 'maj ',
+ 'Message' => 'Besked',
+ 'Name' => 'Navn',
+ 'No.' => 'No.',
+ 'Notes' => 'Bemærkninger',
+ 'Nov' => 'nov',
+ 'November' => 'november',
+ 'Number' => 'Nummer',
+ 'Number missing in Row' => 'Tal mangler i række',
+ 'Oct' => 'okt',
+ 'October' => 'oktober',
+ 'Order' => 'Ordre',
+ 'Order Date missing!' => 'Ordredato mangler',
+ 'Order Number' => 'Ordrenummer',
+ 'Order Number missing!' => 'Ordrenummer mangler',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Følgeseddel',
+ 'Packing List Date missing!' => 'Dato for pakkeliste mangler!',
+ 'Packing List Number missing!' => 'Nummer for pakkeliste mangler!',
+ 'Part' => 'Vare',
+ 'Payment date missing!' => 'Betalingsdato mangler!',
+ 'Payments' => 'Betalinger',
+ 'Phone' => 'Tel.',
+ 'Post' => 'Bogfør',
+ 'Post as new' => 'Bogfør som ny',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Pris',
+ 'Printer' => 'Printer',
+ 'Project' => 'Projekt',
+ 'Project not on file!' => 'Projekt ikke i databasen!',
+ 'Purchase Order' => 'Indkøbsordre',
+ 'Qty' => 'Antal',
+ 'Recd' => 'Modtaget',
+ 'Record in' => 'Bogfør på',
+ 'Required by' => 'Bestilt af',
+ 'Sales Order' => 'Salgsordre',
+ 'Screen' => 'Skærm',
+ 'Select from one of the items below' => 'Vælg fra en af tingene nedenfor, og tryk "Fortsæt"',
+ 'Select from one of the names below' => 'Vælg en af navnene nedenfor',
+ 'Select from one of the projects below' => 'Vælg et af projekterne nedenfor',
+ 'Select postscript or PDF!' => 'Vælg postscript eller PDF',
+ 'Sep' => 'sep',
+ 'September' => 'september',
+ 'Service' => 'Tjeneste',
+ 'Ship' => 'Send',
+ 'Ship to' => 'Send til',
+ 'Source' => 'Bilag',
+ 'Subject' => 'Emne',
+ 'Subtotal' => 'Subtotal',
+ 'Tax Included' => 'Inkl. afgifter og moms',
+ 'To' => 'til',
+ 'Total' => 'I alt',
+ 'Unit' => 'Enhed',
+ 'Update' => 'Opdatér',
+ 'Vendor' => 'Leverandør',
+ 'Vendor missing!' => 'Leverandør mangler!',
+ 'Vendor not on file!' => 'Leverandør ikke i databasen!',
+ 'What type of item is this?' => 'Hvilken type ting er dette?',
+ 'Yes' => 'Ja',
+ 'ea' => 'stk',
+ 'emailed to' => 'sendt via e-post til',
+ 'sent to printer' => 'sendt til printer',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'fortsæt' => 'continue',
+ 'fjern' => 'delete',
+ 'ordre' => 'order',
+ 'bogfør' => 'post',
+ 'bogfør_som_ny' => 'post_as_new',
+ 'opdatér' => 'update',
+ 'ja' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/dk/is b/sql-ledger/locale/dk/is
new file mode 100644
index 0000000..5697185
--- /dev/null
+++ b/sql-ledger/locale/dk/is
@@ -0,0 +1,185 @@
+$self{texts} = {
+ 'Account' => 'Konto',
+ 'Add Purchase Order' => 'Ny indkøbsordre',
+ 'Add Sales Invoice' => 'Ny salgsfaktura',
+ 'Add Sales Order' => 'Ny salgsordre',
+ 'Address' => 'Adresse',
+ 'Amount' => 'Beløb',
+ 'Apr' => 'apr',
+ 'April' => 'april',
+ 'Are you sure you want to delete Invoice Number' => 'Er du sikker på du vil fjerne fakturanummer',
+ 'Attachment' => 'Bilag',
+ 'Aug' => 'aug',
+ 'August' => 'august',
+ 'Bcc' => 'Blind kopi',
+ 'Bin' => 'Varelager',
+ 'Cannot delete invoice!' => 'Kan ikke slette faktura!',
+ 'Cannot post invoice for a closed period!' => 'Kan ikke bogføre faktura for en afsluttet periode!',
+ 'Cannot post invoice!' => 'Kan ikke bogføre faktura!',
+ 'Cannot post payment for a closed period!' => 'Kan ikke bogføre betaling for en afsluttet periode',
+ 'Cc' => 'Kopi',
+ 'Confirm!' => 'Bekræft!',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Fortsæt',
+ 'Copies' => 'Kopier',
+ 'Credit Limit' => 'Kreditgrænse',
+ 'Currency' => 'Valuta',
+ 'Customer' => 'Kunde',
+ 'Customer missing!' => 'Kunde mangler!',
+ 'Customer not on file!' => 'Kunde ikke i databasen!',
+ 'Date' => 'Dato',
+ 'Date Due' => 'Forfaldsdato',
+ 'Dec' => 'dec',
+ 'December' => 'december',
+ 'Delete' => 'Fjern',
+ 'Delivery Date' => 'Leveringsdato',
+ 'Description' => 'Beskrivelse',
+ 'E-mail' => 'E-post',
+ 'E-mail address missing!' => 'E-post-adresse mangler!',
+ 'Edit Sales Invoice' => 'Redigér salgsfaktura',
+ 'Exch' => 'Vxl',
+ 'Exchangerate' => 'Vekselkurs',
+ 'Exchangerate for payment missing!' => 'Valutakurs for betaling mangler!',
+ 'Exchangerate missing!' => 'Vekselkurs mangler!',
+ 'Extended' => 'Udvidet',
+ 'Fax' => 'Fax',
+ 'Feb' => 'feb',
+ 'February' => 'februar',
+ 'In-line' => 'Indlejret',
+ 'Invoice' => 'Faktura',
+ 'Invoice Date' => 'Fakturadato',
+ 'Invoice Date missing!' => 'Fakturadato mangler!',
+ 'Invoice Number' => 'Fakturanummer',
+ 'Invoice Number missing!' => 'Fakturanummer mangler!',
+ 'Invoice deleted!' => 'Faktura slettet!',
+ 'Invoice posted!' => 'Faktura bogført!',
+ 'Item not on file!' => 'Enkeltdel er ikke i databasen!',
+ 'Jan' => 'jan',
+ 'January' => 'januar',
+ 'Jul' => 'jul',
+ 'July' => 'juli',
+ 'Jun' => 'jun',
+ 'June' => 'juni',
+ 'Mar' => 'mar',
+ 'March' => 'marts',
+ 'May' => 'maj',
+ 'May ' => 'maj ',
+ 'Message' => 'Besked',
+ 'Name' => 'Navn',
+ 'No.' => 'No.',
+ 'Notes' => 'Bemærkninger',
+ 'Nov' => 'nov',
+ 'November' => 'november',
+ 'Number' => 'Nummer',
+ 'Number missing in Row' => 'Tal mangler i række',
+ 'Oct' => 'okt',
+ 'October' => 'oktober',
+ 'Order' => 'Ordre',
+ 'Order Date missing!' => 'Ordredato mangler',
+ 'Order Number' => 'Ordrenummer',
+ 'Order Number missing!' => 'Ordrenummer mangler',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Følgeseddel',
+ 'Packing List Date missing!' => 'Dato for pakkeliste mangler!',
+ 'Packing List Number missing!' => 'Nummer for pakkeliste mangler!',
+ 'Part' => 'Vare',
+ 'Payment date missing!' => 'Betalingsdato mangler!',
+ 'Payments' => 'Betalinger',
+ 'Phone' => 'Tel.',
+ 'Post' => 'Bogfør',
+ 'Post as new' => 'Bogfør som ny',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Pris',
+ 'Print' => 'Udskriv',
+ 'Printer' => 'Printer',
+ 'Project' => 'Projekt',
+ 'Project not on file!' => 'Projekt ikke i databasen!',
+ 'Purchase Order' => 'Indkøbsordre',
+ 'Qty' => 'Antal',
+ 'Recd' => 'Modtaget',
+ 'Record in' => 'Bogfør på',
+ 'Remaining' => 'Resterer',
+ 'Required by' => 'Bestilt af',
+ 'Sales Order' => 'Salgsordre',
+ 'Screen' => 'Skærm',
+ 'Select from one of the items below' => 'Vælg fra en af tingene nedenfor, og tryk "Fortsæt"',
+ 'Select from one of the names below' => 'Vælg en af navnene nedenfor',
+ 'Select from one of the projects below' => 'Vælg et af projekterne nedenfor',
+ 'Select postscript or PDF!' => 'Vælg postscript eller PDF',
+ 'Sep' => 'sep',
+ 'September' => 'september',
+ 'Service' => 'Tjeneste',
+ 'Ship' => 'Send',
+ 'Ship to' => 'Send til',
+ 'Ship via' => 'Send via',
+ 'Source' => 'Bilag',
+ 'Subject' => 'Emne',
+ 'Subtotal' => 'Subtotal',
+ 'Tax Included' => 'Inkl. afgifter og moms',
+ 'To' => 'til',
+ 'Total' => 'I alt',
+ 'Unit' => 'Enhed',
+ 'Update' => 'Opdatér',
+ 'Vendor not on file!' => 'Leverandør ikke i databasen!',
+ 'What type of item is this?' => 'Hvilken type ting er dette?',
+ 'Yes' => 'Ja',
+ 'ea' => 'stk',
+ 'emailed to' => 'sendt via e-post til',
+ 'sent to printer' => 'sendt til printer',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'fortsæt' => 'continue',
+ 'fjern' => 'delete',
+ 'e_post' => 'e_mail',
+ 'ordre' => 'order',
+ 'bogfør' => 'post',
+ 'bogfør_som_ny' => 'post_as_new',
+ 'udskriv' => 'print',
+ 'send_til' => 'ship_to',
+ 'opdatér' => 'update',
+ 'ja' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/dk/login b/sql-ledger/locale/dk/login
new file mode 100644
index 0000000..19adf11
--- /dev/null
+++ b/sql-ledger/locale/dk/login
@@ -0,0 +1,28 @@
+$self{texts} = {
+ 'About' => 'Om',
+ 'Accounting' => 'Bogføring',
+ 'Database Host' => 'Database-vært',
+ 'Dataset' => 'Datasæt',
+ 'Incorrect Dataset version!' => 'Forkert version af datasæt!',
+ 'Incorrect Password!' => 'Forkert adgangskode',
+ 'Licensed to' => 'Udført for',
+ 'Login' => 'Log på',
+ 'Name' => 'Navn',
+ 'Password' => 'Adgangskode',
+ 'User' => 'Bruger',
+ 'Version' => 'Version',
+ 'You are logged out!' => 'Du er logget ud',
+ 'You did not enter a name!' => 'Du angav ikke et navn',
+ 'is not a member!' => 'er ikke et medlem!',
+ 'localhost' => 'lokalt',
+};
+
+$self{subs} = {
+ 'company_logo' => 'company_logo',
+ 'login' => 'login',
+ 'login_screen' => 'login_screen',
+ 'logout' => 'logout',
+ 'log_på' => 'login',
+};
+
+1;
diff --git a/sql-ledger/locale/dk/menu b/sql-ledger/locale/dk/menu
new file mode 100644
index 0000000..b4649c6
--- /dev/null
+++ b/sql-ledger/locale/dk/menu
@@ -0,0 +1,72 @@
+$self{texts} = {
+ 'AP' => 'Kreditorer',
+ 'AP Aging' => 'Aldersfordeling',
+ 'AR' => 'Debitorer',
+ 'AR Aging' => 'Aldersfordeling',
+ 'Accounting Menu' => 'Konto-menu',
+ 'Add Account' => 'Ny konto',
+ 'Add Assembly' => 'Ny sammensætning',
+ 'Add Customer' => 'Ny kunde',
+ 'Add GIFI' => 'Ny GIFI',
+ 'Add Part' => 'Ny vare',
+ 'Add Project' => 'Nyt projekt',
+ 'Add Service' => 'Ny tjeneste',
+ 'Add Transaction' => 'Ny postering',
+ 'Add Vendor' => 'Ny leverandør',
+ 'Assemblies' => 'Sammensætninger',
+ 'Audit Control' => 'Revisionskontrol',
+ 'Backup' => 'Sikkerheskopi',
+ 'Balance Sheet' => 'Status',
+ 'Cash' => 'Kontanter',
+ 'Chart of Accounts' => 'Kontoplan',
+ 'Check' => 'Check',
+ 'Customers' => 'Kunder',
+ 'General Ledger' => 'Hovedbog',
+ 'Goods & Services' => 'Varer og tjenester',
+ 'HTML Templates' => 'HTML-skabeloner',
+ 'Income Statement' => 'Driftsregnskab',
+ 'Invoice' => 'Faktura',
+ 'LaTeX Templates' => 'LaTeX-skabeloner',
+ 'List Accounts' => 'List konti',
+ 'List GIFI' => 'List GIFI',
+ 'Logout' => 'Log af',
+ 'Order Entry' => 'Ordreindgang',
+ 'Packing List' => 'Følgeseddel',
+ 'Parts' => 'Dele',
+ 'Payment' => 'Betaling',
+ 'Payments' => 'Betalinger',
+ 'Preferences' => 'Præferencer',
+ 'Projects' => 'Projekter',
+ 'Purchase Invoice' => 'Indkøbsfaktura',
+ 'Purchase Order' => 'Indkøbsordre',
+ 'Purchase Orders' => 'Indkøbsordrer',
+ 'Receipt' => 'Kvittering',
+ 'Receipts' => 'Kvitteringer',
+ 'Reconciliation' => 'Afstemning',
+ 'Reports' => 'Rapporter',
+ 'Sales Invoice' => 'Salgsfaktura',
+ 'Sales Order' => 'Salgsordre',
+ 'Sales Orders' => 'Salgsordrer',
+ 'Save to File' => 'Gem i fil',
+ 'Send by E-Mail' => 'Sendt med epost',
+ 'Services' => 'Tjenester',
+ 'Statement' => 'Opgørelse',
+ 'Stock Assembly' => 'Lagr sammensætning',
+ 'Stylesheet' => 'Stilark',
+ 'System' => 'System',
+ 'Tax collected' => 'Skat opkrævet',
+ 'Tax paid' => 'Skat betalt',
+ 'Transactions' => 'Posteringer',
+ 'Trial Balance' => 'Foreløbig status',
+ 'Vendors' => 'Leverandører',
+ 'Version' => 'Version',
+ 'localhost' => 'lokalt',
+};
+
+$self{subs} = {
+ 'acc_menu' => 'acc_menu',
+ 'display' => 'display',
+ 'section_menu' => 'section_menu',
+};
+
+1;
diff --git a/sql-ledger/locale/dk/oe b/sql-ledger/locale/dk/oe
new file mode 100644
index 0000000..1b58c08
--- /dev/null
+++ b/sql-ledger/locale/dk/oe
@@ -0,0 +1,199 @@
+$self{texts} = {
+ 'Add' => 'Tilføj',
+ 'Add Purchase Invoice' => 'Ny indkøbsfaktura',
+ 'Add Purchase Order' => 'Ny indkøbsordre',
+ 'Add Sales Invoice' => 'Ny salgsfaktura',
+ 'Add Sales Order' => 'Ny salgsordre',
+ 'Address' => 'Adresse',
+ 'Amount' => 'Beløb',
+ 'Apr' => 'apr',
+ 'April' => 'april',
+ 'Are you sure you want to delete Order Number' => 'Er du sikker på at du vil fjerne ordrenummer',
+ 'Attachment' => 'Bilag',
+ 'Aug' => 'aug',
+ 'August' => 'august',
+ 'Bcc' => 'Blind kopi',
+ 'Bin' => 'Varelager',
+ 'C' => 'C',
+ 'Cannot delete order!' => 'Kan ikke slette ordre!',
+ 'Cannot save order!' => 'Kan ikke gemme ordre!',
+ 'Cc' => 'Kopi',
+ 'Closed' => 'Afsluttet',
+ 'Confirm!' => 'Bekræft!',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Fortsæt',
+ 'Copies' => 'Kopier',
+ 'Credit Limit' => 'Kreditgrænse',
+ 'Curr' => 'Val',
+ 'Currency' => 'Valuta',
+ 'Customer' => 'Kunde',
+ 'Customer missing!' => 'Kunde mangler!',
+ 'Customer not on file!' => 'Kunde ikke i databasen!',
+ 'Date' => 'Dato',
+ 'Dec' => 'dec',
+ 'December' => 'december',
+ 'Delete' => 'Fjern',
+ 'Delivery Date' => 'Leveringsdato',
+ 'Description' => 'Beskrivelse',
+ 'E-mail' => 'E-post',
+ 'E-mail address missing!' => 'E-post-adresse mangler!',
+ 'Edit Purchase Order' => 'Redigér indkøbsordre',
+ 'Edit Sales Order' => 'Redigér salgsordre',
+ 'Exchangerate' => 'Vekselkurs',
+ 'Exchangerate missing!' => 'Vekselkurs mangler!',
+ 'Extended' => 'Udvidet',
+ 'Fax' => 'Fax',
+ 'Feb' => 'feb',
+ 'February' => 'februar',
+ 'From' => 'Fra',
+ 'ID' => 'ID',
+ 'In-line' => 'Indlejret',
+ 'Include in Report' => 'Inkludér i rapport',
+ 'Invoice' => 'Faktura',
+ 'Invoice Date missing!' => 'Fakturadato mangler!',
+ 'Invoice Number missing!' => 'Fakturanummer mangler!',
+ 'Item not on file!' => 'Enkeltdel er ikke i databasen!',
+ 'Jan' => 'jan',
+ 'January' => 'januar',
+ 'Jul' => 'jul',
+ 'July' => 'juli',
+ 'Jun' => 'jun',
+ 'June' => 'juni',
+ 'Mar' => 'mar',
+ 'March' => 'marts',
+ 'May' => 'maj',
+ 'May ' => 'maj ',
+ 'Message' => 'Besked',
+ 'Name' => 'Navn',
+ 'No.' => 'No.',
+ 'Notes' => 'Bemærkninger',
+ 'Nov' => 'nov',
+ 'November' => 'november',
+ 'Number' => 'Nummer',
+ 'Number missing in Row' => 'Tal mangler i række',
+ 'O' => 'O',
+ 'Oct' => 'okt',
+ 'October' => 'oktober',
+ 'Open' => 'Åbn',
+ 'Order' => 'Ordre',
+ 'Order Date' => 'Ordredato',
+ 'Order Date missing!' => 'Ordredato mangler',
+ 'Order Number' => 'Ordrenummer',
+ 'Order Number missing!' => 'Ordrenummer mangler',
+ 'Order deleted!' => 'Ordre slettet',
+ 'Order saved!' => 'Ordre gemt',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Følgeseddel',
+ 'Packing List Date missing!' => 'Dato for pakkeliste mangler!',
+ 'Packing List Number missing!' => 'Nummer for pakkeliste mangler!',
+ 'Part' => 'Vare',
+ 'Phone' => 'Tel.',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Pris',
+ 'Print' => 'Udskriv',
+ 'Printer' => 'Printer',
+ 'Project' => 'Projekt',
+ 'Project not on file!' => 'Projekt ikke i databasen!',
+ 'Purchase Order' => 'Indkøbsordre',
+ 'Purchase Orders' => 'Indkøbsordrer',
+ 'Qty' => 'Antal',
+ 'Recd' => 'Modtaget',
+ 'Remaining' => 'Resterer',
+ 'Required by' => 'Bestilt af',
+ 'Sales Order' => 'Salgsordre',
+ 'Sales Orders' => 'Salgsordrer',
+ 'Save' => 'Gem',
+ 'Save as new' => 'Gem som ny',
+ 'Screen' => 'Skærm',
+ 'Select from one of the items below' => 'Vælg fra en af tingene nedenfor, og tryk "Fortsæt"',
+ 'Select from one of the names below' => 'Vælg en af navnene nedenfor',
+ 'Select from one of the projects below' => 'Vælg et af projekterne nedenfor',
+ 'Select postscript or PDF!' => 'Vælg postscript eller PDF',
+ 'Sep' => 'sep',
+ 'September' => 'september',
+ 'Service' => 'Tjeneste',
+ 'Ship' => 'Send',
+ 'Ship to' => 'Send til',
+ 'Ship via' => 'Send via',
+ 'Subject' => 'Emne',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'Afgift/Moms',
+ 'Tax Included' => 'Inkl. afgifter og moms',
+ 'Terms: Net' => 'Netto',
+ 'To' => 'til',
+ 'Total' => 'I alt',
+ 'Unit' => 'Enhed',
+ 'Update' => 'Opdatér',
+ 'Vendor' => 'Leverandør',
+ 'Vendor missing!' => 'Leverandør mangler!',
+ 'Vendor not on file!' => 'Leverandør ikke i databasen!',
+ 'What type of item is this?' => 'Hvilken type ting er dette?',
+ 'Yes' => 'Ja',
+ 'days' => 'dage',
+ 'ea' => 'stk',
+ 'emailed to' => 'sendt via e-post til',
+ 'sent to printer' => 'sendt til printer',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_backorder' => 'create_backorder',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice' => 'invoice',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'order_links' => 'order_links',
+ 'orders' => 'orders',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_order' => 'prepare_order',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'save' => 'save',
+ 'save_as_new' => 'save_as_new',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'subtotal' => 'subtotal',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'tilføj' => 'add',
+ 'fortsæt' => 'continue',
+ 'fjern' => 'delete',
+ 'e_post' => 'e_mail',
+ 'faktura' => 'invoice',
+ 'udskriv' => 'print',
+ 'gem' => 'save',
+ 'gem_som_ny' => 'save_as_new',
+ 'send_til' => 'ship_to',
+ 'opdatér' => 'update',
+ 'ja' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/dk/pe b/sql-ledger/locale/dk/pe
new file mode 100644
index 0000000..66c62ee
--- /dev/null
+++ b/sql-ledger/locale/dk/pe
@@ -0,0 +1,35 @@
+$self{texts} = {
+ 'Add' => 'Tilføj',
+ 'Add Project' => 'Nyt projekt',
+ 'All' => 'Alt',
+ 'Continue' => 'Fortsæt',
+ 'Delete' => 'Fjern',
+ 'Description' => 'Beskrivelse',
+ 'Edit Project' => 'Redigér præferencer for',
+ 'Number' => 'Nummer',
+ 'Orphaned' => 'Fritstående',
+ 'Project' => 'Projekt',
+ 'Project Number missing!' => 'Projektnummer mangler!',
+ 'Project deleted!' => 'Projekt slettet!',
+ 'Project saved!' => 'Projekt gemt!',
+ 'Projects' => 'Projekter',
+ 'Save' => 'Gem',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'tilføj' => 'add',
+ 'fortsæt' => 'continue',
+ 'fjern' => 'delete',
+ 'gem' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/dk/rc b/sql-ledger/locale/dk/rc
new file mode 100644
index 0000000..ea645b9
--- /dev/null
+++ b/sql-ledger/locale/dk/rc
@@ -0,0 +1,37 @@
+$self{texts} = {
+ 'Account' => 'Konto',
+ 'Balance' => 'Balance',
+ 'Cleared Balance' => 'Udjævnede balance',
+ 'Continue' => 'Fortsæt',
+ 'Date' => 'Dato',
+ 'Deposit' => 'Depositum',
+ 'Description' => 'Beskrivelse',
+ 'Difference' => 'Difference',
+ 'Done' => 'Færdig',
+ 'Exchangerate Difference' => 'Difference for vekselkurs',
+ 'From' => 'Fra',
+ 'Out of balance!' => 'Ikke i balance!',
+ 'Payment' => 'Betaling',
+ 'Reconciliation' => 'Afstemning',
+ 'Select all' => 'Vælg alt',
+ 'Source' => 'Bilag',
+ 'Statement Balance' => 'Balanceopgørelse',
+ 'To' => 'til',
+ 'Update' => 'Opdatér',
+};
+
+$self{subs} = {
+ 'continue' => 'continue',
+ 'display_form' => 'display_form',
+ 'done' => 'done',
+ 'get_payments' => 'get_payments',
+ 'reconciliation' => 'reconciliation',
+ 'select_all' => 'select_all',
+ 'update' => 'update',
+ 'fortsæt' => 'continue',
+ 'færdig' => 'done',
+ 'vælg_alt' => 'select_all',
+ 'opdatér' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/dk/rp b/sql-ledger/locale/dk/rp
new file mode 100644
index 0000000..607d80c
--- /dev/null
+++ b/sql-ledger/locale/dk/rp
@@ -0,0 +1,117 @@
+$self{texts} = {
+ 'AP Aging' => 'Aldersfordeling',
+ 'AR Aging' => 'Aldersfordeling',
+ 'Account' => 'Konto',
+ 'Accounts' => 'Konti',
+ 'Amount' => 'Beløb',
+ 'Apr' => 'apr',
+ 'April' => 'april',
+ 'Attachment' => 'Bilag',
+ 'Aug' => 'aug',
+ 'August' => 'august',
+ 'Balance Sheet' => 'Status',
+ 'Bcc' => 'Blind kopi',
+ 'Cash based' => 'Kontantbaseret',
+ 'Cc' => 'Kopi',
+ 'Compare to' => 'Sammenlign med',
+ 'Continue' => 'Fortsæt',
+ 'Copies' => 'Kopier',
+ 'Credit' => 'Kredit',
+ 'Current' => 'Current',
+ 'Customer' => 'Kunde',
+ 'Date' => 'Dato',
+ 'Debit' => 'Debet',
+ 'Dec' => 'dec',
+ 'December' => 'december',
+ 'Decimalplaces' => 'Decimalpladser',
+ 'Description' => 'Beskrivelse',
+ 'Due' => 'Forfald',
+ 'E-mail' => 'E-post',
+ 'E-mail Statement to' => 'Send opgørelse til',
+ 'Feb' => 'feb',
+ 'February' => 'februar',
+ 'From' => 'Fra',
+ 'GIFI' => 'GIFI',
+ 'Heading' => 'Overskrift',
+ 'ID' => 'ID',
+ 'In-line' => 'Indlejret',
+ 'Include in Report' => 'Inkludér i rapport',
+ 'Income Statement' => 'Driftsregnskab',
+ 'Invoice' => 'Faktura',
+ 'Jan' => 'jan',
+ 'January' => 'januar',
+ 'Jul' => 'jul',
+ 'July' => 'juli',
+ 'Jun' => 'jun',
+ 'June' => 'juni',
+ 'Mar' => 'mar',
+ 'March' => 'marts',
+ 'May' => 'maj',
+ 'May ' => 'maj ',
+ 'Message' => 'Besked',
+ 'N/A' => 'I/T',
+ 'Nothing selected!' => 'Ingenting valgt!',
+ 'Nov' => 'nov',
+ 'November' => 'november',
+ 'Oct' => 'okt',
+ 'October' => 'oktober',
+ 'PDF' => 'PDF',
+ 'Payments' => 'Betalinger',
+ 'Postscript' => 'Postscript',
+ 'Print' => 'Udskriv',
+ 'Printer' => 'Printer',
+ 'Receipts' => 'Kvitteringer',
+ 'Report for' => 'Rapport for',
+ 'Retained Earnings' => 'Realiseret overskud',
+ 'Screen' => 'Skærm',
+ 'Select all' => 'Vælg alt',
+ 'Select postscript or PDF!' => 'Vælg postscript eller PDF',
+ 'Sep' => 'sep',
+ 'September' => 'september',
+ 'Source' => 'Bilag',
+ 'Standard' => 'Standard',
+ 'Statement' => 'Opgørelse',
+ 'Statement sent to' => 'Opgørelse sendt til',
+ 'Statements sent to printer!' => 'Opgørelser sendt til printer',
+ 'Subject' => 'Emne',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'Afgift/Moms',
+ 'Tax collected' => 'Skat opkrævet',
+ 'Tax paid' => 'Skat betalt',
+ 'To' => 'til',
+ 'Total' => 'I alt',
+ 'Trial Balance' => 'Foreløbig status',
+ 'Vendor' => 'Leverandør',
+ 'as at' => 'som ved',
+ 'collected on sales' => 'indsamlet ved salg',
+ 'for Period' => 'for perioden',
+ 'paid on purchases' => 'betalt ved indkøb',
+ 'to' => 'til',
+};
+
+$self{subs} = {
+ 'aging' => 'aging',
+ 'continue' => 'continue',
+ 'e_mail' => 'e_mail',
+ 'generate_ap_aging' => 'generate_ap_aging',
+ 'generate_ar_aging' => 'generate_ar_aging',
+ 'generate_balance_sheet' => 'generate_balance_sheet',
+ 'generate_income_statement' => 'generate_income_statement',
+ 'generate_tax_report' => 'generate_tax_report',
+ 'generate_trial_balance' => 'generate_trial_balance',
+ 'list_payments' => 'list_payments',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'report' => 'report',
+ 'select_all' => 'select_all',
+ 'send_email' => 'send_email',
+ 'statement_details' => 'statement_details',
+ 'tax_subtotal' => 'tax_subtotal',
+ 'fortsæt' => 'continue',
+ 'e_post' => 'e_mail',
+ 'udskriv' => 'print',
+ 'vælg_alt' => 'select_all',
+};
+
+1;
diff --git a/sql-ledger/locale/ee/COPYING b/sql-ledger/locale/ee/COPYING
new file mode 100644
index 0000000..fe5ef7d
--- /dev/null
+++ b/sql-ledger/locale/ee/COPYING
@@ -0,0 +1,25 @@
+######################################################################
+# SQL-Ledger Accounting
+# Copyright (c) 2001
+#
+# Estonian texts:
+#
+# Author: Martin Lillepuu <martin@lillepuu.com>
+# Lauri Jesmin <jesmin@ut.ee>
+# Tanel Kurvits <rauge@hot.ee>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+#######################################################################
+
diff --git a/sql-ledger/locale/ee/LANGUAGE b/sql-ledger/locale/ee/LANGUAGE
new file mode 100644
index 0000000..5d88c2d
--- /dev/null
+++ b/sql-ledger/locale/ee/LANGUAGE
@@ -0,0 +1 @@
+Estonian
diff --git a/sql-ledger/locale/ee/admin b/sql-ledger/locale/ee/admin
new file mode 100644
index 0000000..00c683e
--- /dev/null
+++ b/sql-ledger/locale/ee/admin
@@ -0,0 +1,124 @@
+$self{texts} = {
+ 'Access Control' => 'Ligipääsukontroll',
+ 'Accounting' => 'Raamatupidamine',
+ 'Add User' => 'Lisa kasutaja',
+ 'Address' => 'Aadress',
+ 'Administration' => 'Administreerimine',
+ 'Administrator' => 'Administraator',
+ 'All Datasets up to date!' => 'Kõik andmebaasid on uuendatud',
+ 'Change Admin Password' => 'Muuda admini parool',
+ 'Change Password' => 'Muuda parool',
+ 'Character Set' => 'Kooditabel',
+ 'Click on login name to edit!' => 'Redigeerimiseks kliki kasutajanimel',
+ 'Company' => 'Ettevõte',
+ 'Connect to' => 'Ühenda',
+ 'Continue' => 'Edasi',
+ 'Create Chart of Accounts' => 'Uus kontoplaan',
+ 'Create Dataset' => 'Uus andmebaas',
+ 'DBI not installed!' => 'DBI on installeerimata',
+ 'Database' => 'Andmebaas',
+ 'Database Administration' => 'Andmebaasi administreerimine',
+ 'Database Driver not checked!' => 'Andmebaasi draiver valimata!',
+ 'Database User missing!' => 'Andmebaasi kasutaja puudub',
+ 'Dataset' => 'Andmebaas',
+ 'Dataset missing!' => 'Andmebaas puudub!',
+ 'Dataset updated!' => 'Andmebaas uuendatud!',
+ 'Date Format' => 'Kuupäeva formaat',
+ 'Delete' => 'Kustuta',
+ 'Delete Dataset' => 'Kustuta andmebaas',
+ 'Directory' => 'Kataloog',
+ 'Driver' => 'Draiver',
+ 'Dropdown Limit' => 'Rippmenüü piirang',
+ 'E-mail' => 'E-mail',
+ 'Edit User' => 'Kasutajaandmete muutmine',
+ 'Existing Datasets' => 'Olemasolevad andmebaasid',
+ 'Fax' => 'Faks',
+ 'Host' => 'Server',
+ 'Hostname missing!' => 'Serveri nimi puudub!',
+ 'Incorrect Password!' => 'Vale parool!',
+ 'Language' => 'Keel',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Jäta serveri ja pordi väljad tühjaks kui sa ei soovi kaugühendust luua',
+ 'Login' => 'Login',
+ 'Multibyte Encoding' => 'Mitmebaidine kodeering',
+ 'Name' => 'Nimi',
+ 'New Templates' => 'Uued dokumendipõhjad',
+ 'No Database Drivers available!' => 'Ühtegi andmebaasidraiverit ei leitud!',
+ 'No Dataset selected!' => 'Andmebaas valimata!',
+ 'Nothing to delete!' => 'Midagi ei ole kustutada',
+ 'Number Format' => 'Numbri formaat',
+ 'Oracle Database Administration' => 'Oracle andmebaasi administreerimine',
+ 'Password' => 'Parool',
+ 'Password changed!' => 'Parool muudetud',
+ 'Pg Database Administration' => 'Pg andmebaasi administreerimine',
+ 'Phone' => 'Telefon',
+ 'Port' => 'Port',
+ 'Port missing!' => 'Port puudub',
+ 'Printer' => 'Printer',
+ 'Save' => 'Salvesta',
+ 'Select a Dataset to delete and press "Continue"' => 'Vali andmebaas ja vajuta "Jätka"',
+ 'Setup Templates' => 'Dokumendipõhjade seadistamine',
+ 'Ship via' => 'Tarneviis',
+ 'Signature' => 'Signatuur',
+ 'Stylesheet' => 'Laaditabel',
+ 'Templates' => 'Dokumendipõhjad',
+ 'The following Datasets are not in use and can be deleted' => 'Järgnevad andmebaasid ei ole kasutusel ning võib kustutada',
+ 'The following Datasets need to be updated' => 'Järgmised andmebaasid vajavad uuendamist',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'Olemasolevate allikate eelkontroll. Praeguses staadiumis ei toimu andmete lisamist ega kustutamist.',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'Kasutaja gruppi lisamiseks redigeeri nime, muuda kasutajanimi ja salvesta. Luuakse samade parameetritega uus kasutaja',
+ 'Update Dataset' => 'Uuenda andmebaas',
+ 'Use Templates' => 'Kasuta dokumendipõhja',
+ 'User' => 'Kasutaja',
+ 'User deleted!' => 'Kasutaja kustutatud!',
+ 'User saved!' => 'Kasutaja salvestatud!',
+ 'Version' => 'Versioon',
+ 'You must enter a host and port for local and remote connections!' => 'Ühenduse loomiseks palun sisesta serveri nimi ja port',
+ 'does not exist' => 'ei eksisteeri',
+ 'is already a member!' => 'on juba kasutaja!',
+ 'localhost' => 'localhost',
+ 'locked!' => 'lukustatud!',
+ 'successfully created!' => 'loodud!',
+ 'successfully deleted!' => 'kustutatud!',
+ 'website' => 'kodulehekülg',
+};
+
+$self{subs} = {
+ 'add_user' => 'add_user',
+ 'adminlogin' => 'adminlogin',
+ 'change_admin_password' => 'change_admin_password',
+ 'change_password' => 'change_password',
+ 'check_password' => 'check_password',
+ 'continue' => 'continue',
+ 'create_dataset' => 'create_dataset',
+ 'dbcreate' => 'dbcreate',
+ 'dbdelete' => 'dbdelete',
+ 'dbdriver_defaults' => 'dbdriver_defaults',
+ 'dbselect_source' => 'dbselect_source',
+ 'dbupdate' => 'dbupdate',
+ 'delete' => 'delete',
+ 'delete_dataset' => 'delete_dataset',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'get_value' => 'get_value',
+ 'list_users' => 'list_users',
+ 'login' => 'login',
+ 'login_name' => 'login_name',
+ 'oracle_database_administration' => 'oracle_database_administration',
+ 'pg_database_administration' => 'pg_database_administration',
+ 'save' => 'save',
+ 'update_dataset' => 'update_dataset',
+ 'lisa_kasutaja' => 'add_user',
+ 'muuda_admini_parool' => 'change_admin_password',
+ 'muuda_parool' => 'change_password',
+ 'edasi' => 'continue',
+ 'uus_andmebaas' => 'create_dataset',
+ 'kustuta' => 'delete',
+ 'kustuta_andmebaas' => 'delete_dataset',
+ 'login' => 'login',
+ 'oracle_andmebaasi_administreerimine' => 'oracle_database_administration',
+ 'pg_andmebaasi_administreerimine' => 'pg_database_administration',
+ 'salvesta' => 'save',
+ 'uuenda_andmebaas' => 'update_dataset',
+};
+
+1;
diff --git a/sql-ledger/locale/ee/all b/sql-ledger/locale/ee/all
new file mode 100644
index 0000000..122f34a
--- /dev/null
+++ b/sql-ledger/locale/ee/all
@@ -0,0 +1,497 @@
+# These are all the texts to build the translations files.
+# The file has the form of 'english text' => 'foreign text',
+# you can add the translation in this file or in the 'missing' file
+# run locales.pl from this directory to rebuild the translation files
+
+$self{texts} = {
+ 'AP' => 'Kohustused',
+ 'AP Aging' => 'Võlad',
+ 'AP Transaction' => 'Kohustuste kanne',
+ 'AP Transactions' => 'Kohustuste kanded',
+ 'AR' => 'Nõuded',
+ 'AR Aging' => 'Võlglased',
+ 'AR Transaction' => 'Nõuete kanne',
+ 'AR Transactions' => 'Nõuete kanded',
+ 'About' => 'Programmi Info',
+ 'Access Control' => 'Ligipääsukontroll',
+ 'Account' => 'Konto',
+ 'Account Number' => 'Konto number',
+ 'Account Number missing!' => 'Konto number puudub',
+ 'Account Type' => 'Konto tüüp',
+ 'Account Type missing!' => 'Konto tüüp puudub!',
+ 'Account deleted!' => 'Konto kustutatud!',
+ 'Account saved!' => 'Konto salvestatud',
+ 'Accounting' => 'Raamatupidamine',
+ 'Accounting Menu' => 'Raamatupidamise Menüü',
+ 'Accounts' => 'Kontod',
+ 'Active' => 'Aktiva',
+ 'Add' => 'Lisa',
+ 'Add Account' => 'Lisa konto',
+ 'Add Accounts Payables Transaction' => 'Lisa kohustuste kanne',
+ 'Add Accounts Receivables Transaction' => 'Lisa nõuete kanne',
+ 'Add Assembly' => 'Lisa komplekt',
+ 'Add Customer' => 'Lisa klient',
+ 'Add GIFI' => 'Lisa GIFI',
+ 'Add General Ledger Transaction' => 'Lisa pearaamatu kanne',
+ 'Add Part' => 'Lisa toode',
+ 'Add Project' => 'Lisa Projekt',
+ 'Add Purchase Order' => 'Lisa ostutellimus',
+ 'Add Sales Invoice' => 'Lisa Müügiarve',
+ 'Add Sales Order' => 'Lisa müügitellimus',
+ 'Add Service' => 'Lisa teenus',
+ 'Add Transaction' => 'Lisa kanne',
+ 'Add User' => 'Lisa kasutaja',
+ 'Add Vendor' => 'Lisa hankija',
+ 'Add Vendor Invoice' => '',
+ 'Address' => 'Aadress',
+ 'Administration' => 'Administreerimine',
+ 'Administrator' => 'Administraator',
+ 'All' => 'Kõik',
+ 'All Datasets up to date!' => 'Kõik andmebaasid on uuendatud',
+ 'Amount' => 'Summa',
+ 'Amount Due' => 'Tasumata',
+ 'Amount does not equal applied!' => 'Amount does not equal applied!',
+ 'Amount missing!' => 'Summa puudub!',
+ 'Applied' => 'Makstud',
+ 'Apr' => 'Apr',
+ 'April' => 'Aprill',
+ 'Are you sure you want to delete Invoice Number' => 'Kas oled kindel, et soovid kustutada arve',
+ 'Are you sure you want to delete Order Number' => 'Kas oled kindel, et soovid kustutada tellimuse',
+ 'Are you sure you want to delete Transaction' => 'Kas oled kindel, et soovid kustutada kande',
+ 'Assemblies' => 'Komplektid',
+ 'Assemblies restocked!' => 'Komplektid lattu tagastatud!',
+ 'Assembly Number missing!' => 'Komplekti number puudub!',
+ 'Asset' => 'Vara',
+ 'Attachment' => 'Kaasatud fail',
+ 'Audit Control' => 'Audit',
+ 'Aug' => 'Aug',
+ 'August' => 'August',
+ 'BOM' => 'Materjalide nimekiri',
+ 'Backup' => 'Varukoopia',
+ 'Backup sent to' => 'Varukoopia saadetakse',
+ 'Balance' => 'Bilanss',
+ 'Balance Sheet' => 'Bilansitabel',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Kast',
+ 'Books are open' => 'Kanded on avatud',
+ 'Bought' => 'Ostetud',
+ 'Business Number' => 'Ettevõtte kood',
+ 'C' => 'C',
+ 'COGS' => 'COGS',
+ 'Cannot delete account!' => 'Kontot ei saa kustutada!',
+ 'Cannot delete customer!' => 'Kienti ei saa kustutada!',
+ 'Cannot delete default account!' => 'Vaikimisi kontot ei saa kustutada!',
+ 'Cannot delete invoice!' => 'Arvet ei saa kustutada',
+ 'Cannot delete item already invoiced!' => 'Esitatud arvega toodet ei saa kustutada!',
+ 'Cannot delete item on order!' => 'Tellimusega seotud artiklit ei saa kustutada!',
+ 'Cannot delete item which is part of an assembly!' => 'Komplekti kuuluvat toodet ei saa kustutada!',
+ 'Cannot delete item!' => 'Toodet ei saa kustutada!',
+ 'Cannot delete order!' => 'Tellimust ei saa kustutada!',
+ 'Cannot delete transaction!' => 'Kannet ei saa kustutada!',
+ 'Cannot delete vendor!' => 'Tarnijat ei saa kustutada!',
+ 'Cannot have a value in both Debit and Credit!' => 'Deebet ja Kreedit väljad ei tohi olla samaaegselt täidetud!',
+ 'Cannot post a transaction without a value!' => 'Tühja väärtusega kannet pole võimalik salvestada!',
+ 'Cannot post invoice for a closed period!' => 'Arvet ei saa salvestada suletud perioodile!',
+ 'Cannot post invoice!' => 'Arvet ei saa saata!',
+ 'Cannot post payment for a closed period!' => 'Makset ei saa salvestada suletud perioodile',
+ 'Cannot post payment!' => 'Makset ei saa salvestada!',
+ 'Cannot post transaction for a closed period!' => 'Kannet ei saa salvestada suletud perioodile',
+ 'Cannot post transaction!' => 'Kannet ei saa salvestada!',
+ 'Cannot process payment for a closed period!' => 'Suletud perioodi makset ei saa töödelda!',
+ 'Cannot save account!' => 'Kontot ei saa salvestada',
+ 'Cannot save order!' => 'Arvet ei saa salvestada',
+ 'Cannot save preferences!' => 'Maaranguid ei saa salvestada',
+ 'Cannot stock assemblies!' => 'Komplekte ei saa lattu võtta',
+ 'Cash' => 'Kassa',
+ 'Cash based' => 'Kassapõhine',
+ 'Cc' => 'Cc',
+ 'Change Admin Password' => 'Muuda admini parool',
+ 'Change Password' => 'Muuda parool',
+ 'Character Set' => 'Kooditabel',
+ 'Chart of Accounts' => 'Kontoplaan',
+ 'Check' => 'T?ekk',
+ 'Check printed!' => 'T?ekk on türkitud',
+ 'Check printing failed!' => 'T?eki trükkimine ebaõnnestus',
+ 'Cleared Balance' => 'Puhastatud bilanss',
+ 'Click on login name to edit!' => 'Redigeerimiseks kliki kasutajanimel',
+ 'Close Books up to' => 'Sulge kanded kuni',
+ 'Closed' => 'Suletud',
+ 'Company' => 'Ettevõte',
+ 'Compare to' => 'Võrdlus perioodiga',
+ 'Confirm!' => 'Kinnita!',
+ 'Connect to' => 'Ühenda',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Edasi',
+ 'Copies' => 'koopiat',
+ 'Copy to COA' => 'Kopeeri kontoplaani',
+ 'Create Chart of Accounts' => 'Uus kontoplaan',
+ 'Create Dataset' => 'Uus andmebaas',
+ 'Credit' => 'Kreedit',
+ 'Credit Limit' => 'Krediidilimiit',
+ 'Curr' => 'Val.',
+ 'Currency' => 'Valuuta',
+ 'Current' => 'Praegune',
+ 'Customer' => 'Klient',
+ 'Customer deleted!' => 'Klient on kustutatud!',
+ 'Customer missing!' => 'Klienti pole määratud!',
+ 'Customer not on file!' => 'Klienti pole failis!',
+ 'Customer saved!' => 'Klient salvestatud',
+ 'Customers' => 'Kliendid',
+ 'DBI not installed!' => 'DBI on installeerimata',
+ 'Database' => 'Andmebaas',
+ 'Database Administration' => 'Andmebaasi administreerimine',
+ 'Database Driver not checked!' => 'Andmebaasi draiver valimata!',
+ 'Database Host' => 'Andmebaasiserver',
+ 'Database User missing!' => 'Andmebaasi kasutaja puudub',
+ 'Dataset' => 'Andmebaas',
+ 'Dataset missing!' => 'Andmebaas puudub!',
+ 'Dataset updated!' => 'Andmebaas uuendatud!',
+ 'Date' => 'Kuupäev',
+ 'Date Format' => 'Kuupäeva formaat',
+ 'Date Paid' => 'Maksekuupäev',
+ 'Date missing!' => 'Kuupäev puudub!',
+ 'Debit' => 'Deebet',
+ 'Debit and credit out of balance!' => 'Deebet ja Kreedit tasakaalust väljas!',
+ 'Dec' => 'Dets',
+ 'December' => 'Detsember',
+ 'Decimalplaces' => 'Komakohti',
+ 'Delete' => 'Kustuta',
+ 'Delete Account' => 'Kustuta konto',
+ 'Delete Dataset' => 'Kustuta andmebaas',
+ 'Delivery Date' => 'Tarne kuupäev',
+ 'Department' => 'Osakond',
+ 'Deposit' => 'Tarnimata',
+ 'Description' => 'Selgitus',
+ 'Difference' => 'Vahe',
+ 'Directory' => 'Kataloog',
+ 'Discount' => 'Allahindlus',
+ 'Done' => 'Teostatud',
+ 'Drawing' => 'Pildid',
+ 'Driver' => 'Draiver',
+ 'Dropdown Limit' => 'Rippmenüü piirang',
+ 'Due' => 'Tasuda',
+ 'Due Date' => 'Maksetähtaeg',
+ 'Due Date missing!' => 'Maksetähtaeg puudub',
+ 'E-mail' => 'E-mail',
+ 'E-mail Statement to' => 'E-mail teatis',
+ 'E-mail address missing!' => 'E-maili aadress puudub',
+ 'Edit' => 'Muudatused',
+ 'Edit Account' => 'Konto muudatused',
+ 'Edit Accounts Payables Transaction' => 'Muuda nõuete kannet',
+ 'Edit Accounts Receivables Transaction' => 'Muuda kohustuste kannet',
+ 'Edit Assembly' => 'Muuda Komplekti',
+ 'Edit Customer' => 'Muuda Kliendi andmeid',
+ 'Edit GIFI' => 'Muuda GIFI',
+ 'Edit General Ledger Transaction' => 'Pearaamatu kande redigeerimine',
+ 'Edit Part' => 'Toote redigeerimine',
+ 'Edit Preferences for' => 'Määrangute muutmine: ',
+ 'Edit Project' => 'Muuda Projekti',
+ 'Edit Purchase Order' => 'Ostutellimuse muutmine',
+ 'Edit Sales Invoice' => 'Müügiarve muutmine',
+ 'Edit Sales Order' => 'Müügitellimuse muutmine',
+ 'Edit Service' => 'Teenuse muutmine',
+ 'Edit Template' => 'Dokumendipõhja muutmine',
+ 'Edit User' => 'Kasutajaandmete muutmine',
+ 'Edit Vendor' => 'Muuda Tarnija andmeid',
+ 'Edit Vendor Invoice' => '',
+ 'Employee' => 'Töötaja',
+ 'Enforce transaction reversal for all dates' => 'Muuda kannete pööramine kõikide kuupäevade ulatuses kohustuslikuks',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Sisesta kohalikud- ja välisvaluutad (kuni 3 tähemärki, koolonitega eraltatud, nt. CAD:USD:EUR)',
+ 'Equity' => 'Omakapital',
+ 'Exch' => 'Kurss',
+ 'Exchangerate' => 'Valuutakurss',
+ 'Exchangerate Difference' => 'Valuutakursi muutus',
+ 'Exchangerate for payment missing!' => 'Maksel ei ole valuutakurssi!',
+ 'Exchangerate missing!' => 'Valuutakurssi ei ole',
+ 'Existing Datasets' => 'Olemasolevad andmebaasid',
+ 'Expense' => 'Kulu',
+ 'Expense Account' => 'Kulukonto',
+ 'Expense/Asset' => 'Kulu/Vara',
+ 'Extended' => 'Summa',
+ 'Fax' => 'Faks',
+ 'Feb' => 'Veebr',
+ 'February' => 'Veebruar',
+ 'Foreign Exchange Gain' => 'Valuutakursside vahe kasum',
+ 'Foreign Exchange Loss' => 'Valuutakursside vahe kahjum',
+ 'From' => 'Alates',
+ 'GIFI' => 'GIFI',
+ 'GIFI deleted!' => 'GIFI kustutatud',
+ 'GIFI missing!' => 'GIFI puudub',
+ 'GIFI saved!' => 'GIFI salvestatud',
+ 'GL Transaction' => 'Pearaamatu kanne',
+ 'General Ledger' => 'Pearaamat',
+ 'Goods & Services' => 'Tooted ja teenused',
+ 'Group' => '',
+ 'Group Items' => '',
+ 'HTML Templates' => 'HTML dokumendipõhjad',
+ 'Heading' => 'Päis',
+ 'Host' => 'Server',
+ 'Hostname missing!' => 'Serveri nimi puudub!',
+ 'ID' => 'ID',
+ 'Image' => 'Pilt',
+ 'In-line' => 'Dokumendisisene',
+ 'Include in Report' => 'Kaasa aruandesse',
+ 'Include in drop-down menus' => 'Kaasa valikmenüüdes',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Kaasa antud konto klient/tarnija vormides, et märkida klient/tarnija maksustatavaks',
+ 'Income' => 'Tulu',
+ 'Income Account' => 'Tulukonto',
+ 'Income Statement' => 'Kasumiaruanne',
+ 'Incorrect Dataset version!' => 'Vale andmebaasi versioon',
+ 'Incorrect Password!' => 'Vale parool!',
+ 'Individual Items' => 'Komponendid',
+ 'Inventory' => 'Ladu',
+ 'Inventory Account' => 'Laokonto',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'Enne komplekti aegunuks märkimist peab laoseis null olema!',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'Enne toote aegunuks märkimist peab laoseis null olema!',
+ 'Inventory quantity must be zero!' => 'Laoseis peab null olema!',
+ 'Invoice' => 'Arve',
+ 'Invoice Date' => 'Arve kuupäev',
+ 'Invoice Date missing!' => 'Arve kuupäev puudub!',
+ 'Invoice Number' => 'Arve number',
+ 'Invoice Number missing!' => 'Arve number puudub!',
+ 'Invoice deleted!' => 'Arve kustutatud!',
+ 'Invoice posted!' => 'Arve salvestatud!',
+ 'Invoices' => 'Arved',
+ 'Is this a summary account to record' => 'Kirje summaarne konto',
+ 'Item deleted!' => 'Toode kustutatud!',
+ 'Item not on file!' => 'Toode puudub andmebaasist!',
+ 'Jan' => 'Jaan',
+ 'January' => 'Jaanuar',
+ 'Jul' => 'Juul',
+ 'July' => 'Juuli',
+ 'Jun' => 'Juun',
+ 'June' => 'Juuni',
+ 'LaTeX Templates' => 'LaTeX dokumendipõhjad',
+ 'Language' => 'Keel',
+ 'Last Cost' => 'Viimane ostuhind',
+ 'Last Invoice Number' => 'Viimane arve number',
+ 'Last Numbers & Default Accounts' => 'Viimased numbrid ja vaikimisi kontod',
+ 'Last Purchase Order Number' => 'Viimane ostutellimuse number',
+ 'Last Sales Order Number' => 'Viimane müügitellimuse number',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Jäta serveri ja pordi väljad tühjaks kui sa ei soovi kaugühendust luua',
+ 'Liability' => 'Kohustus',
+ 'Licensed to' => 'Kasutaja andmed:',
+ 'Line Total' => 'Rea summa',
+ 'Link' => 'Seosed',
+ 'Link Accounts' => 'Seosta kontod',
+ 'List Accounts' => 'Kontode nimekiri',
+ 'List GIFI' => 'GIFI nimekiri',
+ 'List Price' => 'Hinnakirja hind',
+ 'List Transactions' => 'Kannete sirvimine',
+ 'Login' => 'Login',
+ 'Logout' => 'Logi välja',
+ 'Make' => 'Tootja',
+ 'Mar' => 'Mär',
+ 'March' => 'Märts',
+ 'May' => 'Mai',
+ 'May ' => 'Mai ',
+ 'Message' => 'Teade',
+ 'Microfiche' => 'Mikrofilm',
+ 'Model' => 'Mudel',
+ 'Multibyte Encoding' => 'Mitmebaidine kodeering',
+ 'N/A' => 'Puudub',
+ 'Name' => 'Nimi',
+ 'Name missing!' => 'Nimi puudub!',
+ 'New Templates' => 'Uued dokumendipõhjad',
+ 'No' => 'Ei',
+ 'No Database Drivers available!' => 'Ühtegi andmebaasidraiverit ei leitud!',
+ 'No Dataset selected!' => 'Andmebaas valimata!',
+ 'No email address for' => 'E-maili aadress puudub',
+ 'No.' => 'Nr.',
+ 'Notes' => 'Märkused',
+ 'Nothing applied!' => 'Midagi ei muudetud',
+ 'Nothing selected!' => 'Midagi ei ole valitud',
+ 'Nothing to delete!' => 'Midagi ei ole kustutada',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Kood',
+ 'Number Format' => 'Numbri formaat',
+ 'Number missing in Row' => 'Antud real puudub kood',
+ 'O' => 'O',
+ 'Obsolete' => 'Aegunud',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktoober',
+ 'On Hand' => 'Laos',
+ 'On Order' => 'Tellimisel',
+ 'Open' => 'Avatud',
+ 'Oracle Database Administration' => 'Oracle andmebaasi administreerimine',
+ 'Order' => 'Tellimus',
+ 'Order Date' => 'Tellimuse kuupäev',
+ 'Order Date missing!' => 'Tellimuse kuupäev puudub',
+ 'Order Entry' => 'Tellimuse sisestamine',
+ 'Order Number' => 'Tellimuse number',
+ 'Order Number missing!' => 'Tellimuse number puudub',
+ 'Order deleted!' => 'Tellimus kustutatud',
+ 'Order saved!' => 'Tellimus salvestatud',
+ 'Ordered' => 'Tellitud',
+ 'Orphaned' => 'Seosteta',
+ 'Out of balance!' => 'Bilanss ei klapi!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Saateleht',
+ 'Packing List Date missing!' => 'Saatelehe kuupäev puudub',
+ 'Packing List Number missing!' => 'Saatelehe number puudub',
+ 'Paid' => 'Makstud',
+ 'Paid in full' => 'Täielikult tasutud',
+ 'Part' => 'Toode',
+ 'Part Number missing!' => 'Toote kood puudub',
+ 'Parts' => 'Tooted',
+ 'Parts Inventory' => 'Tooted',
+ 'Password' => 'Parool',
+ 'Password changed!' => 'Parool muudetud',
+ 'Payables' => 'Kohustused',
+ 'Payment' => 'Maksed',
+ 'Payment date missing!' => 'Maksekuupäev puudub',
+ 'Payment posted!' => 'Makse salvestatud',
+ 'Payments' => 'Maksed',
+ 'Pg Database Administration' => 'Pg andmebaasi administreerimine',
+ 'Phone' => 'Telefon',
+ 'Port' => 'Port',
+ 'Port missing!' => 'Port puudub',
+ 'Post' => 'Salvesta',
+ 'Post as new' => 'Salvesta uuena',
+ 'Postscript' => 'Postscript',
+ 'Preferences' => 'Määrangud',
+ 'Preferences saved!' => 'Määrangud salvestatud',
+ 'Price' => 'Hind',
+ 'Print' => 'Trüki',
+ 'Printer' => 'Printer',
+ 'Project' => 'Projekt',
+ 'Project Number' => 'Projekti number',
+ 'Project Number missing!' => 'Projekti number puudub',
+ 'Project deleted!' => 'Projekt kustutatud',
+ 'Project not on file!' => 'Projekti pole failis',
+ 'Project saved!' => 'Projekt salvestatud',
+ 'Projects' => 'Projektid',
+ 'Purchase Order' => 'Ostutellimus',
+ 'Purchase Orders' => 'Ostutellimused',
+ 'Qty' => 'Kogus',
+ 'ROP' => 'TM',
+ 'Rate' => 'Määr',
+ 'Recd' => 'Saabunud',
+ 'Receipt' => 'Laekumised',
+ 'Receipt printed!' => 'Tshekk trükitud',
+ 'Receipt printing failed!' => 'Tsheki trükkkimine ebaõnnestus',
+ 'Receipts' => 'Laekumised',
+ 'Receivables' => 'Nõuded',
+ 'Reconciliation' => 'Tasaarveldused',
+ 'Record in' => 'Sihtkonto',
+ 'Reference' => 'Viide',
+ 'Reference missing!' => 'Viide puudub!',
+ 'Remaining' => 'Kasutamata',
+ 'Report for' => 'Aruanne',
+ 'Reports' => 'Aruanded',
+ 'Required by' => 'Tarneaeg',
+ 'Retained Earnings' => 'Jaotamata kasum',
+ 'Sales' => 'Müük',
+ 'Sales Invoice' => 'Müügiarve',
+ 'Sales Order' => 'Müügitellimus',
+ 'Sales Orders' => 'Müügitellimused',
+ 'Salesperson' => '',
+ 'Save' => 'Salvesta',
+ 'Save as new' => 'Salvesta uuena',
+ 'Save to File' => 'Salvesta faili',
+ 'Screen' => 'Ekraan',
+ 'Select a Dataset to delete and press "Continue"' => 'Vali andmebaas ja vajuta "Jätka"',
+ 'Select all' => 'Vali kõik',
+ 'Select from one of the items below' => 'Vali üks alltoodud toodetest',
+ 'Select from one of the names below' => 'Vali üks alltoodud nimedest',
+ 'Select from one of the projects below' => 'Vali üks alltoodud projektidest',
+ 'Select postscript or PDF!' => 'Vali kas postscript või PDF',
+ 'Sell Price' => 'Müügihind',
+ 'Send by E-Mail' => 'Saada e-postiga',
+ 'Sep' => 'Sept',
+ 'September' => 'September',
+ 'Service' => 'Teenus',
+ 'Service Items' => 'Teenused',
+ 'Service Number missing!' => 'teenuse kood puudub!',
+ 'Services' => 'Teenused',
+ 'Setup Templates' => 'Dokumendipõhjade seadistamine',
+ 'Ship' => 'Tarnimine',
+ 'Ship to' => 'Tarneaadress',
+ 'Ship via' => 'Tarneviis',
+ 'Short' => 'Lühike',
+ 'Signature' => 'Signatuur',
+ 'Sold' => 'Müüdud',
+ 'Source' => 'Allikas',
+ 'Standard' => 'Standard',
+ 'Statement' => 'Aruanne',
+ 'Statement Balance' => 'Bilansiaruanne',
+ 'Statement sent to' => 'Saata aruanne aadressil',
+ 'Statements sent to printer!' => 'Saata aruanne printerile',
+ 'Stock Assembly' => 'Komplekti lattu võtmine',
+ 'Stylesheet' => 'Laaditabel',
+ 'Subject' => 'Pealkiri',
+ 'Subtotal' => 'Vahesumma',
+ 'System' => 'Süsteem',
+ 'Tax' => 'Maks',
+ 'Tax Accounts' => 'Maksukontod',
+ 'Tax Included' => 'Koos maksuga',
+ 'Tax collected' => 'Kogutud maksud',
+ 'Tax paid' => 'Makstud makse',
+ 'Taxable' => 'Maksustatav',
+ 'Template saved!' => 'Dokumendipõhjad salvestatud!',
+ 'Templates' => 'Dokumendipõhjad',
+ 'Terms: Net' => 'Maksetingimus',
+ 'The following Datasets are not in use and can be deleted' => 'Järgnevad andmebaasid ei ole kasutusel ning võib kustutada',
+ 'The following Datasets need to be updated' => 'Järgmised andmebaasid vajavad uuendamist',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'Olemasolevate allikate eelkontroll. Praeguses staadiumis ei toimu andmete lisamist ega kustutamist.',
+ 'To' => 'Kuhu',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'Kasutaja gruppi lisamiseks redigeeri nime, muuda kasutajanimi ja salvesta. Luuakse samade parameetritega uus kasutaja',
+ 'Top Level' => 'Ülemine tase',
+ 'Total' => 'Kokku',
+ 'Transaction Date missing!' => 'Kande kuupäev puudub!',
+ 'Transaction deleted!' => 'Kanne kustutatud!',
+ 'Transaction posted!' => 'Kanne tud!',
+ 'Transaction reversal enforced for all dates' => 'Kannete pööramine on kohustuslik kõikide kuupäevade ulatuses',
+ 'Transaction reversal enforced up to' => 'Kannete pööramine on kohustuslik kuni',
+ 'Transactions' => 'Kanded',
+ 'Transactions exist, cannot delete customer!' => 'Kanded aktiivsed, klienti ei saa kustutada!',
+ 'Transactions exist, cannot delete vendor!' => 'Kanded aktiivsed, hankijat ei saa kustutada!',
+ 'Transactions exist; cannot delete account!' => 'Kanded aktiivsed; kontot ei saa kustutada!',
+ 'Trial Balance' => 'Proovibilanss',
+ 'Unit' => 'Ühik',
+ 'Unit of measure' => 'Mõõtühik',
+ 'Update' => 'Uuenda',
+ 'Update Dataset' => 'Uuenda andmebaas',
+ 'Updated' => 'Uuendatud',
+ 'Use Templates' => 'Kasuta dokumendipõhja',
+ 'User' => 'Kasutaja',
+ 'User deleted!' => 'Kasutaja kustutatud!',
+ 'User saved!' => 'Kasutaja salvestatud!',
+ 'Vendor' => 'Hankija',
+ 'Vendor Invoice' => '',
+ 'Vendor deleted!' => 'Hankija kustutatud!',
+ 'Vendor missing!' => 'Hankija puudub!',
+ 'Vendor not on file!' => 'Hankijat pole failis!',
+ 'Vendor saved!' => 'Hankija salvestatud!',
+ 'Vendors' => 'Hankijad',
+ 'Version' => 'Versioon',
+ 'Weight' => 'Kaal',
+ 'Weight Unit' => 'Kaaluühik',
+ 'What type of item is this?' => 'Mis tüüpi tootega on tegemist?',
+ 'Year End' => 'Aasta lõpp',
+ 'Yes' => 'Jah',
+ 'You are logged out!' => 'Oled välja loginud!',
+ 'You did not enter a name!' => 'Nimi sisestamata!',
+ 'You must enter a host and port for local and remote connections!' => 'Ühenduse loomiseks palun sisesta serveri nimi ja port',
+ 'as at' => 'Seisuga',
+ 'collected on sales' => 'kogutud müügilt',
+ 'days' => 'päeva',
+ 'does not exist' => 'ei eksisteeri',
+ 'ea' => 'tk',
+ 'emailed to' => 'salvestatud aadressile',
+ 'for Period' => 'Periood',
+ 'hr' => 't',
+ 'is already a member!' => 'on juba kasutaja!',
+ 'is not a member!' => 'ei ole kasutaja!',
+ 'localhost' => 'localhost',
+ 'locked!' => 'lukustatud!',
+ 'paid on purchases' => 'makstud ostudelt',
+ 'sent to printer' => 'printerile saadetud',
+ 'successfully created!' => 'loodud!',
+ 'successfully deleted!' => 'kustutatud!',
+ 'to' => 'kuni',
+ 'website' => 'kodulehekülg',
+};
+
+1;
diff --git a/sql-ledger/locale/ee/am b/sql-ledger/locale/ee/am
new file mode 100644
index 0000000..ebf0bf1
--- /dev/null
+++ b/sql-ledger/locale/ee/am
@@ -0,0 +1,139 @@
+$self{texts} = {
+ 'AP' => 'Kohustused',
+ 'AR' => 'Nõuded',
+ 'Account' => 'Konto',
+ 'Account Number' => 'Konto number',
+ 'Account Number missing!' => 'Konto number puudub',
+ 'Account Type' => 'Konto tüüp',
+ 'Account Type missing!' => 'Konto tüüp puudub!',
+ 'Account deleted!' => 'Konto kustutatud!',
+ 'Account saved!' => 'Konto salvestatud',
+ 'Add Account' => 'Lisa konto',
+ 'Add GIFI' => 'Lisa GIFI',
+ 'Address' => 'Aadress',
+ 'Asset' => 'Vara',
+ 'Audit Control' => 'Audit',
+ 'Backup sent to' => 'Varukoopia saadetakse',
+ 'Books are open' => 'Kanded on avatud',
+ 'Business Number' => 'Ettevõtte kood',
+ 'COGS' => 'COGS',
+ 'Cannot delete account!' => 'Kontot ei saa kustutada!',
+ 'Cannot delete default account!' => 'Vaikimisi kontot ei saa kustutada!',
+ 'Cannot save account!' => 'Kontot ei saa salvestada',
+ 'Cannot save preferences!' => 'Maaranguid ei saa salvestada',
+ 'Character Set' => 'Kooditabel',
+ 'Chart of Accounts' => 'Kontoplaan',
+ 'Close Books up to' => 'Sulge kanded kuni',
+ 'Company' => 'Ettevõte',
+ 'Continue' => 'Edasi',
+ 'Copy to COA' => 'Kopeeri kontoplaani',
+ 'Credit' => 'Kreedit',
+ 'Date Format' => 'Kuupäeva formaat',
+ 'Debit' => 'Deebet',
+ 'Delete' => 'Kustuta',
+ 'Delete Account' => 'Kustuta konto',
+ 'Description' => 'Selgitus',
+ 'Dropdown Limit' => 'Rippmenüü piirang',
+ 'E-mail' => 'E-mail',
+ 'Edit' => 'Muudatused',
+ 'Edit Account' => 'Konto muudatused',
+ 'Edit GIFI' => 'Muuda GIFI',
+ 'Edit Preferences for' => 'Määrangute muutmine: ',
+ 'Edit Template' => 'Dokumendipõhja muutmine',
+ 'Enforce transaction reversal for all dates' => 'Muuda kannete pööramine kõikide kuupäevade ulatuses kohustuslikuks',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Sisesta kohalikud- ja välisvaluutad (kuni 3 tähemärki, koolonitega eraltatud, nt. CAD:USD:EUR)',
+ 'Equity' => 'Omakapital',
+ 'Expense' => 'Kulu',
+ 'Expense Account' => 'Kulukonto',
+ 'Expense/Asset' => 'Kulu/Vara',
+ 'Fax' => 'Faks',
+ 'Foreign Exchange Gain' => 'Valuutakursside vahe kasum',
+ 'Foreign Exchange Loss' => 'Valuutakursside vahe kahjum',
+ 'GIFI' => 'GIFI',
+ 'GIFI deleted!' => 'GIFI kustutatud',
+ 'GIFI missing!' => 'GIFI puudub',
+ 'GIFI saved!' => 'GIFI salvestatud',
+ 'Heading' => 'Päis',
+ 'Include in drop-down menus' => 'Kaasa valikmenüüdes',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Kaasa antud konto klient/tarnija vormides, et märkida klient/tarnija maksustatavaks',
+ 'Income' => 'Tulu',
+ 'Income Account' => 'Tulukonto',
+ 'Inventory' => 'Ladu',
+ 'Inventory Account' => 'Laokonto',
+ 'Is this a summary account to record' => 'Kirje summaarne konto',
+ 'Language' => 'Keel',
+ 'Last Invoice Number' => 'Viimane arve number',
+ 'Last Numbers & Default Accounts' => 'Viimased numbrid ja vaikimisi kontod',
+ 'Last Purchase Order Number' => 'Viimane ostutellimuse number',
+ 'Last Sales Order Number' => 'Viimane müügitellimuse number',
+ 'Liability' => 'Kohustus',
+ 'Link' => 'Seosed',
+ 'Name' => 'Nimi',
+ 'No' => 'Ei',
+ 'No email address for' => 'E-maili aadress puudub',
+ 'Number' => 'Kood',
+ 'Number Format' => 'Numbri formaat',
+ 'Parts Inventory' => 'Tooted',
+ 'Password' => 'Parool',
+ 'Payables' => 'Kohustused',
+ 'Payment' => 'Maksed',
+ 'Phone' => 'Telefon',
+ 'Preferences saved!' => 'Määrangud salvestatud',
+ 'Rate' => 'Määr',
+ 'Receivables' => 'Nõuded',
+ 'Sales' => 'Müük',
+ 'Save' => 'Salvesta',
+ 'Service Items' => 'Teenused',
+ 'Ship via' => 'Tarneviis',
+ 'Signature' => 'Signatuur',
+ 'Stylesheet' => 'Laaditabel',
+ 'Tax' => 'Maks',
+ 'Tax Accounts' => 'Maksukontod',
+ 'Template saved!' => 'Dokumendipõhjad salvestatud!',
+ 'Transaction reversal enforced for all dates' => 'Kannete pööramine on kohustuslik kõikide kuupäevade ulatuses',
+ 'Transaction reversal enforced up to' => 'Kannete pööramine on kohustuslik kuni',
+ 'Transactions exist; cannot delete account!' => 'Kanded aktiivsed; kontot ei saa kustutada!',
+ 'Weight Unit' => 'Kaaluühik',
+ 'Year End' => 'Aasta lõpp',
+ 'Yes' => 'Jah',
+ 'does not exist' => 'ei eksisteeri',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_gifi' => 'add_gifi',
+ 'audit_control' => 'audit_control',
+ 'backup' => 'backup',
+ 'config' => 'config',
+ 'continue' => 'continue',
+ 'copy_to_coa' => 'copy_to_coa',
+ 'delete' => 'delete',
+ 'delete_account' => 'delete_account',
+ 'delete_gifi' => 'delete_gifi',
+ 'display_form' => 'display_form',
+ 'display_stylesheet' => 'display_stylesheet',
+ 'doclose' => 'doclose',
+ 'edit' => 'edit',
+ 'edit_gifi' => 'edit_gifi',
+ 'edit_template' => 'edit_template',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gifi_footer' => 'gifi_footer',
+ 'gifi_header' => 'gifi_header',
+ 'list' => 'list',
+ 'list_gifi' => 'list_gifi',
+ 'save' => 'save',
+ 'save_account' => 'save_account',
+ 'save_gifi' => 'save_gifi',
+ 'save_preferences' => 'save_preferences',
+ 'save_template' => 'save_template',
+ 'lisa_konto' => 'add_account',
+ 'edasi' => 'continue',
+ 'kopeeri_kontoplaani' => 'copy_to_coa',
+ 'kustuta' => 'delete',
+ 'muudatused' => 'edit',
+ 'konto_muudatused' => 'edit_account',
+ 'salvesta' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/ee/ap b/sql-ledger/locale/ee/ap
new file mode 100644
index 0000000..f2b3052
--- /dev/null
+++ b/sql-ledger/locale/ee/ap
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AP Transaction' => 'Kohustuste kanne',
+ 'AP Transactions' => 'Kohustuste kanded',
+ 'Account' => 'Konto',
+ 'Add Accounts Payables Transaction' => 'Lisa kohustuste kanne',
+ 'Address' => 'Aadress',
+ 'Amount' => 'Summa',
+ 'Amount Due' => 'Tasumata',
+ 'Apr' => 'Apr',
+ 'April' => 'Aprill',
+ 'Are you sure you want to delete Transaction' => 'Kas oled kindel, et soovid kustutada kande',
+ 'Aug' => 'Aug',
+ 'August' => 'August',
+ 'Cannot delete transaction!' => 'Kannet ei saa kustutada!',
+ 'Cannot post payment for a closed period!' => 'Makset ei saa salvestada suletud perioodile',
+ 'Cannot post transaction for a closed period!' => 'Kannet ei saa salvestada suletud perioodile',
+ 'Cannot post transaction!' => 'Kannet ei saa salvestada!',
+ 'Closed' => 'Suletud',
+ 'Confirm!' => 'Kinnita!',
+ 'Continue' => 'Edasi',
+ 'Currency' => 'Valuuta',
+ 'Customer not on file!' => 'Klienti pole failis!',
+ 'Date' => 'Kuupäev',
+ 'Date Paid' => 'Maksekuupäev',
+ 'Dec' => 'Dets',
+ 'December' => 'Detsember',
+ 'Delete' => 'Kustuta',
+ 'Description' => 'Selgitus',
+ 'Due Date' => 'Maksetähtaeg',
+ 'Due Date missing!' => 'Maksetähtaeg puudub',
+ 'Edit Accounts Payables Transaction' => 'Muuda nõuete kannet',
+ 'Employee' => 'Töötaja',
+ 'Exch' => 'Kurss',
+ 'Exchangerate' => 'Valuutakurss',
+ 'Exchangerate for payment missing!' => 'Maksel ei ole valuutakurssi!',
+ 'Exchangerate missing!' => 'Valuutakurssi ei ole',
+ 'Feb' => 'Veebr',
+ 'February' => 'Veebruar',
+ 'From' => 'Alates',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Kaasa aruandesse',
+ 'Invoice' => 'Arve',
+ 'Invoice Date' => 'Arve kuupäev',
+ 'Invoice Date missing!' => 'Arve kuupäev puudub!',
+ 'Invoice Number' => 'Arve number',
+ 'Invoice Number missing!' => 'Arve number puudub!',
+ 'Jan' => 'Jaan',
+ 'January' => 'Jaanuar',
+ 'Jul' => 'Juul',
+ 'July' => 'Juuli',
+ 'Jun' => 'Juun',
+ 'June' => 'Juuni',
+ 'Mar' => 'Mär',
+ 'March' => 'Märts',
+ 'May' => 'Mai',
+ 'May ' => 'Mai ',
+ 'Notes' => 'Märkused',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Kood',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktoober',
+ 'Open' => 'Avatud',
+ 'Order' => 'Tellimus',
+ 'Order Number' => 'Tellimuse number',
+ 'Paid' => 'Makstud',
+ 'Payment date missing!' => 'Maksekuupäev puudub',
+ 'Payments' => 'Maksed',
+ 'Post' => 'Salvesta',
+ 'Post as new' => 'Salvesta uuena',
+ 'Project' => 'Projekt',
+ 'Project not on file!' => 'Projekti pole failis',
+ 'Select from one of the names below' => 'Vali üks alltoodud nimedest',
+ 'Select from one of the projects below' => 'Vali üks alltoodud projektidest',
+ 'Sep' => 'Sept',
+ 'September' => 'September',
+ 'Source' => 'Allikas',
+ 'Subtotal' => 'Vahesumma',
+ 'Tax' => 'Maks',
+ 'Tax Included' => 'Koos maksuga',
+ 'Total' => 'Kokku',
+ 'Transaction deleted!' => 'Kanne kustutatud!',
+ 'Transaction posted!' => 'Kanne tud!',
+ 'Update' => 'Uuenda',
+ 'Vendor' => 'Hankija',
+ 'Vendor Invoice' => 'Vendor Invoice',
+ 'Vendor missing!' => 'Hankija puudub!',
+ 'Vendor not on file!' => 'Hankijat pole failis!',
+ 'Yes' => 'Jah',
+ 'to' => 'kuni',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_subtotal' => 'ap_subtotal',
+ 'ap_transaction' => 'ap_transaction',
+ 'ap_transactions' => 'ap_transactions',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'yes' => 'yes',
+ 'kohustuste_kanne' => 'ap_transaction',
+ 'lisa_kohustuste_kanne' => 'add_accounts_payables_transaction',
+ 'edasi' => 'continue',
+ 'kustuta' => 'delete',
+ 'muuda_nõuete_kannet' => 'edit_accounts_payables_transaction',
+ 'salvesta' => 'post',
+ 'salvesta_uuena' => 'post_as_new',
+ 'uuenda' => 'update',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'jah' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/ee/ar b/sql-ledger/locale/ee/ar
new file mode 100644
index 0000000..e940d94
--- /dev/null
+++ b/sql-ledger/locale/ee/ar
@@ -0,0 +1,134 @@
+$self{texts} = {
+ 'AR Transaction' => 'Nõuete kanne',
+ 'AR Transactions' => 'Nõuete kanded',
+ 'Account' => 'Konto',
+ 'Add Accounts Receivables Transaction' => 'Lisa nõuete kanne',
+ 'Address' => 'Aadress',
+ 'Amount' => 'Summa',
+ 'Amount Due' => 'Tasumata',
+ 'Apr' => 'Apr',
+ 'April' => 'Aprill',
+ 'Are you sure you want to delete Transaction' => 'Kas oled kindel, et soovid kustutada kande',
+ 'Aug' => 'Aug',
+ 'August' => 'August',
+ 'Cannot delete transaction!' => 'Kannet ei saa kustutada!',
+ 'Cannot post payment for a closed period!' => 'Makset ei saa salvestada suletud perioodile',
+ 'Cannot post transaction for a closed period!' => 'Kannet ei saa salvestada suletud perioodile',
+ 'Cannot post transaction!' => 'Kannet ei saa salvestada!',
+ 'Closed' => 'Suletud',
+ 'Confirm!' => 'Kinnita!',
+ 'Continue' => 'Edasi',
+ 'Credit Limit' => 'Krediidilimiit',
+ 'Currency' => 'Valuuta',
+ 'Customer' => 'Klient',
+ 'Customer missing!' => 'Klienti pole määratud!',
+ 'Customer not on file!' => 'Klienti pole failis!',
+ 'Date' => 'Kuupäev',
+ 'Date Paid' => 'Maksekuupäev',
+ 'Dec' => 'Dets',
+ 'December' => 'Detsember',
+ 'Delete' => 'Kustuta',
+ 'Description' => 'Selgitus',
+ 'Due Date' => 'Maksetähtaeg',
+ 'Due Date missing!' => 'Maksetähtaeg puudub',
+ 'Edit Accounts Receivables Transaction' => 'Muuda kohustuste kannet',
+ 'Exch' => 'Kurss',
+ 'Exchangerate' => 'Valuutakurss',
+ 'Exchangerate for payment missing!' => 'Maksel ei ole valuutakurssi!',
+ 'Exchangerate missing!' => 'Valuutakurssi ei ole',
+ 'Feb' => 'Veebr',
+ 'February' => 'Veebruar',
+ 'From' => 'Alates',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Kaasa aruandesse',
+ 'Invoice' => 'Arve',
+ 'Invoice Date' => 'Arve kuupäev',
+ 'Invoice Date missing!' => 'Arve kuupäev puudub!',
+ 'Invoice Number' => 'Arve number',
+ 'Invoice Number missing!' => 'Arve number puudub!',
+ 'Jan' => 'Jaan',
+ 'January' => 'Jaanuar',
+ 'Jul' => 'Juul',
+ 'July' => 'Juuli',
+ 'Jun' => 'Juun',
+ 'June' => 'Juuni',
+ 'Mar' => 'Mär',
+ 'March' => 'Märts',
+ 'May' => 'Mai',
+ 'May ' => 'Mai ',
+ 'Notes' => 'Märkused',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Kood',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktoober',
+ 'Open' => 'Avatud',
+ 'Order' => 'Tellimus',
+ 'Order Number' => 'Tellimuse number',
+ 'Paid' => 'Makstud',
+ 'Payment date missing!' => 'Maksekuupäev puudub',
+ 'Payments' => 'Maksed',
+ 'Post' => 'Salvesta',
+ 'Post as new' => 'Salvesta uuena',
+ 'Project' => 'Projekt',
+ 'Project not on file!' => 'Projekti pole failis',
+ 'Remaining' => 'Kasutamata',
+ 'Sales Invoice' => 'Müügiarve',
+ 'Salesperson' => 'Salesperson',
+ 'Select from one of the names below' => 'Vali üks alltoodud nimedest',
+ 'Select from one of the projects below' => 'Vali üks alltoodud projektidest',
+ 'Sep' => 'Sept',
+ 'September' => 'September',
+ 'Ship via' => 'Tarneviis',
+ 'Source' => 'Allikas',
+ 'Subtotal' => 'Vahesumma',
+ 'Tax' => 'Maks',
+ 'Tax Included' => 'Koos maksuga',
+ 'Total' => 'Kokku',
+ 'Transaction deleted!' => 'Kanne kustutatud!',
+ 'Transaction posted!' => 'Kanne tud!',
+ 'Update' => 'Uuenda',
+ 'Vendor not on file!' => 'Hankijat pole failis!',
+ 'Yes' => 'Jah',
+ 'to' => 'kuni',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_subtotal' => 'ar_subtotal',
+ 'ar_transaction' => 'ar_transaction',
+ 'ar_transactions' => 'ar_transactions',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'yes' => 'yes',
+ 'nõuete_kanne' => 'ar_transaction',
+ 'edasi' => 'continue',
+ 'kustuta' => 'delete',
+ 'salvesta' => 'post',
+ 'salvesta_uuena' => 'post_as_new',
+ 'müügiarve' => 'sales_invoice',
+ 'uuenda' => 'update',
+ 'jah' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/ee/arap b/sql-ledger/locale/ee/arap
new file mode 100644
index 0000000..061f6d3
--- /dev/null
+++ b/sql-ledger/locale/ee/arap
@@ -0,0 +1,30 @@
+$self{texts} = {
+ 'Address' => 'Aadress',
+ 'Continue' => 'Edasi',
+ 'Customer not on file!' => 'Klienti pole failis!',
+ 'Description' => 'Selgitus',
+ 'Number' => 'Kood',
+ 'Project not on file!' => 'Projekti pole failis',
+ 'Select from one of the names below' => 'Vali üks alltoodud nimedest',
+ 'Select from one of the projects below' => 'Vali üks alltoodud projektidest',
+ 'Vendor not on file!' => 'Hankijat pole failis!',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'project_selected' => 'project_selected',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'edasi' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/ee/ca b/sql-ledger/locale/ee/ca
new file mode 100644
index 0000000..4695ea4
--- /dev/null
+++ b/sql-ledger/locale/ee/ca
@@ -0,0 +1,50 @@
+$self{texts} = {
+ 'Account' => 'Konto',
+ 'Apr' => 'Apr',
+ 'April' => 'Aprill',
+ 'Aug' => 'Aug',
+ 'August' => 'August',
+ 'Balance' => 'Bilanss',
+ 'Chart of Accounts' => 'Kontoplaan',
+ 'Credit' => 'Kreedit',
+ 'Date' => 'Kuupäev',
+ 'Debit' => 'Deebet',
+ 'Dec' => 'Dets',
+ 'December' => 'Detsember',
+ 'Description' => 'Selgitus',
+ 'Feb' => 'Veebr',
+ 'February' => 'Veebruar',
+ 'From' => 'Alates',
+ 'GIFI' => 'GIFI',
+ 'Include in Report' => 'Kaasa aruandesse',
+ 'Jan' => 'Jaan',
+ 'January' => 'Jaanuar',
+ 'Jul' => 'Juul',
+ 'July' => 'Juuli',
+ 'Jun' => 'Juun',
+ 'June' => 'Juuni',
+ 'List Transactions' => 'Kannete sirvimine',
+ 'Mar' => 'Mär',
+ 'March' => 'Märts',
+ 'May' => 'Mai',
+ 'May ' => 'Mai ',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktoober',
+ 'Reference' => 'Viide',
+ 'Sep' => 'Sept',
+ 'September' => 'September',
+ 'Subtotal' => 'Vahesumma',
+ 'to' => 'kuni',
+};
+
+$self{subs} = {
+ 'ca_subtotal' => 'ca_subtotal',
+ 'chart_of_accounts' => 'chart_of_accounts',
+ 'list' => 'list',
+ 'list_transactions' => 'list_transactions',
+ 'kannete_sirvimine' => 'list_transactions',
+};
+
+1;
diff --git a/sql-ledger/locale/ee/cp b/sql-ledger/locale/ee/cp
new file mode 100644
index 0000000..c1353d5
--- /dev/null
+++ b/sql-ledger/locale/ee/cp
@@ -0,0 +1,77 @@
+$self{texts} = {
+ 'Account' => 'Konto',
+ 'Address' => 'Aadress',
+ 'Amount' => 'Summa',
+ 'Amount does not equal applied!' => 'Amount does not equal applied!',
+ 'Amount missing!' => 'Summa puudub!',
+ 'Applied' => 'Makstud',
+ 'Cannot post payment!' => 'Makset ei saa salvestada!',
+ 'Cannot process payment for a closed period!' => 'Suletud perioodi makset ei saa töödelda!',
+ 'Check' => 'T?ekk',
+ 'Check printed!' => 'T?ekk on türkitud',
+ 'Check printing failed!' => 'T?eki trükkimine ebaõnnestus',
+ 'Continue' => 'Edasi',
+ 'Currency' => 'Valuuta',
+ 'Customer' => 'Klient',
+ 'Customer not on file!' => 'Klienti pole failis!',
+ 'Date' => 'Kuupäev',
+ 'Date missing!' => 'Kuupäev puudub!',
+ 'Description' => 'Selgitus',
+ 'Due' => 'Tasuda',
+ 'Exchangerate' => 'Valuutakurss',
+ 'From' => 'Alates',
+ 'Invoice' => 'Arve',
+ 'Invoices' => 'Arved',
+ 'Nothing applied!' => 'Midagi ei muudetud',
+ 'Number' => 'Kood',
+ 'Paid in full' => 'Täielikult tasutud',
+ 'Payment' => 'Maksed',
+ 'Payment posted!' => 'Makse salvestatud',
+ 'Post' => 'Salvesta',
+ 'Print' => 'Trüki',
+ 'Printer' => 'Printer',
+ 'Project not on file!' => 'Projekti pole failis',
+ 'Receipt' => 'Laekumised',
+ 'Receipt printed!' => 'Tshekk trükitud',
+ 'Receipt printing failed!' => 'Tsheki trükkkimine ebaõnnestus',
+ 'Reference' => 'Viide',
+ 'Screen' => 'Ekraan',
+ 'Select from one of the names below' => 'Vali üks alltoodud nimedest',
+ 'Select from one of the projects below' => 'Vali üks alltoodud projektidest',
+ 'Update' => 'Uuenda',
+ 'Vendor' => 'Hankija',
+ 'Vendor not on file!' => 'Hankijat pole failis!',
+ 'to' => 'kuni',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'list_invoices' => 'list_invoices',
+ 'name_selected' => 'name_selected',
+ 'payment' => 'payment',
+ 'post' => 'post',
+ 'print' => 'print',
+ 'project_selected' => 'project_selected',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'vendor_details' => 'vendor_details',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'edasi' => 'continue',
+ 'salvesta' => 'post',
+ 'trüki' => 'print',
+ 'uuenda' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/ee/ct b/sql-ledger/locale/ee/ct
new file mode 100644
index 0000000..4d167b2
--- /dev/null
+++ b/sql-ledger/locale/ee/ct
@@ -0,0 +1,71 @@
+$self{texts} = {
+ 'Add' => 'Lisa',
+ 'Address' => 'Aadress',
+ 'All' => 'Kõik',
+ 'Bcc' => 'Bcc',
+ 'Cannot delete customer!' => 'Kienti ei saa kustutada!',
+ 'Cannot delete vendor!' => 'Tarnijat ei saa kustutada!',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Edasi',
+ 'Credit Limit' => 'Krediidilimiit',
+ 'Customer deleted!' => 'Klient on kustutatud!',
+ 'Customer saved!' => 'Klient salvestatud',
+ 'Customers' => 'Kliendid',
+ 'Delete' => 'Kustuta',
+ 'Discount' => 'Allahindlus',
+ 'E-mail' => 'E-mail',
+ 'Edit Customer' => 'Muuda Kliendi andmeid',
+ 'Edit Vendor' => 'Muuda Tarnija andmeid',
+ 'Fax' => 'Faks',
+ 'Include in Report' => 'Kaasa aruandesse',
+ 'Invoice' => 'Arve',
+ 'Name' => 'Nimi',
+ 'Name missing!' => 'Nimi puudub!',
+ 'Notes' => 'Märkused',
+ 'Number' => 'Kood',
+ 'Order' => 'Tellimus',
+ 'Orphaned' => 'Seosteta',
+ 'Phone' => 'Telefon',
+ 'Save' => 'Salvesta',
+ 'Ship to' => 'Tarneaadress',
+ 'Tax Included' => 'Koos maksuga',
+ 'Taxable' => 'Maksustatav',
+ 'Terms: Net' => 'Maksetingimus',
+ 'Transactions exist, cannot delete customer!' => 'Kanded aktiivsed, klienti ei saa kustutada!',
+ 'Transactions exist, cannot delete vendor!' => 'Kanded aktiivsed, hankijat ei saa kustutada!',
+ 'Vendor deleted!' => 'Hankija kustutatud!',
+ 'Vendor saved!' => 'Hankija salvestatud!',
+ 'Vendors' => 'Hankijad',
+ 'days' => 'päeva',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'customer_invoice' => 'customer_invoice',
+ 'customer_order' => 'customer_order',
+ 'delete' => 'delete',
+ 'delete_customer' => 'delete_customer',
+ 'delete_vendor' => 'delete_vendor',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'invoice' => 'invoice',
+ 'list_names' => 'list_names',
+ 'order' => 'order',
+ 'save' => 'save',
+ 'save_customer' => 'save_customer',
+ 'save_vendor' => 'save_vendor',
+ 'search' => 'search',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'vendor_order' => 'vendor_order',
+ 'lisa' => 'add',
+ 'edasi' => 'continue',
+ 'kustuta' => 'delete',
+ 'arve' => 'invoice',
+ 'tellimus' => 'order',
+ 'salvesta' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/ee/gl b/sql-ledger/locale/ee/gl
new file mode 100644
index 0000000..dd25e8f
--- /dev/null
+++ b/sql-ledger/locale/ee/gl
@@ -0,0 +1,124 @@
+$self{texts} = {
+ 'AP Transaction' => 'Kohustuste kanne',
+ 'AR Transaction' => 'Nõuete kanne',
+ 'Account' => 'Konto',
+ 'Add General Ledger Transaction' => 'Lisa pearaamatu kanne',
+ 'Address' => 'Aadress',
+ 'All' => 'Kõik',
+ 'Apr' => 'Apr',
+ 'April' => 'Aprill',
+ 'Are you sure you want to delete Transaction' => 'Kas oled kindel, et soovid kustutada kande',
+ 'Asset' => 'Vara',
+ 'Aug' => 'Aug',
+ 'August' => 'August',
+ 'Balance' => 'Bilanss',
+ 'Cannot delete transaction!' => 'Kannet ei saa kustutada!',
+ 'Cannot have a value in both Debit and Credit!' => 'Deebet ja Kreedit väljad ei tohi olla samaaegselt täidetud!',
+ 'Cannot post a transaction without a value!' => 'Tühja väärtusega kannet pole võimalik salvestada!',
+ 'Cannot post transaction for a closed period!' => 'Kannet ei saa salvestada suletud perioodile',
+ 'Confirm!' => 'Kinnita!',
+ 'Continue' => 'Edasi',
+ 'Credit' => 'Kreedit',
+ 'Customer not on file!' => 'Klienti pole failis!',
+ 'Date' => 'Kuupäev',
+ 'Debit' => 'Deebet',
+ 'Debit and credit out of balance!' => 'Deebet ja Kreedit tasakaalust väljas!',
+ 'Dec' => 'Dets',
+ 'December' => 'Detsember',
+ 'Delete' => 'Kustuta',
+ 'Description' => 'Selgitus',
+ 'Edit General Ledger Transaction' => 'Pearaamatu kande redigeerimine',
+ 'Equity' => 'Omakapital',
+ 'Expense' => 'Kulu',
+ 'Feb' => 'Veebr',
+ 'February' => 'Veebruar',
+ 'From' => 'Alates',
+ 'GIFI' => 'GIFI',
+ 'GL Transaction' => 'Pearaamatu kanne',
+ 'General Ledger' => 'Pearaamat',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Kaasa aruandesse',
+ 'Income' => 'Tulu',
+ 'Jan' => 'Jaan',
+ 'January' => 'Jaanuar',
+ 'Jul' => 'Juul',
+ 'July' => 'Juuli',
+ 'Jun' => 'Juun',
+ 'June' => 'Juuni',
+ 'Liability' => 'Kohustus',
+ 'Mar' => 'Mär',
+ 'March' => 'Märts',
+ 'May' => 'Mai',
+ 'May ' => 'Mai ',
+ 'Notes' => 'Märkused',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Kood',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktoober',
+ 'Post' => 'Salvesta',
+ 'Post as new' => 'Salvesta uuena',
+ 'Project' => 'Projekt',
+ 'Project not on file!' => 'Projekti pole failis',
+ 'Reference' => 'Viide',
+ 'Reference missing!' => 'Viide puudub!',
+ 'Reports' => 'Aruanded',
+ 'Sales Invoice' => 'Müügiarve',
+ 'Select from one of the names below' => 'Vali üks alltoodud nimedest',
+ 'Select from one of the projects below' => 'Vali üks alltoodud projektidest',
+ 'Sep' => 'Sept',
+ 'September' => 'September',
+ 'Source' => 'Allikas',
+ 'Subtotal' => 'Vahesumma',
+ 'Transaction Date missing!' => 'Kande kuupäev puudub!',
+ 'Transaction deleted!' => 'Kanne kustutatud!',
+ 'Transaction posted!' => 'Kanne tud!',
+ 'Update' => 'Uuenda',
+ 'Vendor Invoice' => 'Vendor Invoice',
+ 'Vendor not on file!' => 'Hankijat pole failis!',
+ 'Yes' => 'Jah',
+ 'to' => 'kuni',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'form_row' => 'form_row',
+ 'generate_report' => 'generate_report',
+ 'gl_subtotal' => 'gl_subtotal',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'yes' => 'yes',
+ 'kohustuste_kanne' => 'ap_transaction',
+ 'nõuete_kanne' => 'ar_transaction',
+ 'edasi' => 'continue',
+ 'kustuta' => 'delete',
+ 'pearaamatu_kanne' => 'gl_transaction',
+ 'salvesta' => 'post',
+ 'salvesta_uuena' => 'post_as_new',
+ 'müügiarve' => 'sales_invoice',
+ 'uuenda' => 'update',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'jah' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/ee/ic b/sql-ledger/locale/ee/ic
new file mode 100644
index 0000000..7e86e29
--- /dev/null
+++ b/sql-ledger/locale/ee/ic
@@ -0,0 +1,208 @@
+$self{texts} = {
+ 'Active' => 'Aktiva',
+ 'Add' => 'Lisa',
+ 'Add Assembly' => 'Lisa komplekt',
+ 'Add Part' => 'Lisa toode',
+ 'Add Purchase Order' => 'Lisa ostutellimus',
+ 'Add Sales Order' => 'Lisa müügitellimus',
+ 'Add Service' => 'Lisa teenus',
+ 'Address' => 'Aadress',
+ 'Apr' => 'Apr',
+ 'April' => 'Aprill',
+ 'Assemblies' => 'Komplektid',
+ 'Assemblies restocked!' => 'Komplektid lattu tagastatud!',
+ 'Assembly Number missing!' => 'Komplekti number puudub!',
+ 'Attachment' => 'Kaasatud fail',
+ 'Aug' => 'Aug',
+ 'August' => 'August',
+ 'BOM' => 'Materjalide nimekiri',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Kast',
+ 'Bought' => 'Ostetud',
+ 'COGS' => 'COGS',
+ 'Cannot delete item already invoiced!' => 'Esitatud arvega toodet ei saa kustutada!',
+ 'Cannot delete item on order!' => 'Tellimusega seotud artiklit ei saa kustutada!',
+ 'Cannot delete item which is part of an assembly!' => 'Komplekti kuuluvat toodet ei saa kustutada!',
+ 'Cannot delete item!' => 'Toodet ei saa kustutada!',
+ 'Cannot stock assemblies!' => 'Komplekte ei saa lattu võtta',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Edasi',
+ 'Copies' => 'koopiat',
+ 'Dec' => 'Dets',
+ 'December' => 'Detsember',
+ 'Delete' => 'Kustuta',
+ 'Delivery Date' => 'Tarne kuupäev',
+ 'Description' => 'Selgitus',
+ 'Drawing' => 'Pildid',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'E-maili aadress puudub',
+ 'Edit Assembly' => 'Muuda Komplekti',
+ 'Edit Part' => 'Toote redigeerimine',
+ 'Edit Service' => 'Teenuse muutmine',
+ 'Expense' => 'Kulu',
+ 'Extended' => 'Summa',
+ 'Fax' => 'Faks',
+ 'Feb' => 'Veebr',
+ 'February' => 'Veebruar',
+ 'From' => 'Alates',
+ 'Group' => 'Group',
+ 'Group Items' => 'Group Items',
+ 'Image' => 'Pilt',
+ 'In-line' => 'Dokumendisisene',
+ 'Include in Report' => 'Kaasa aruandesse',
+ 'Income' => 'Tulu',
+ 'Individual Items' => 'Komponendid',
+ 'Inventory' => 'Ladu',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'Enne komplekti aegunuks märkimist peab laoseis null olema!',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'Enne toote aegunuks märkimist peab laoseis null olema!',
+ 'Inventory quantity must be zero!' => 'Laoseis peab null olema!',
+ 'Invoice' => 'Arve',
+ 'Invoice Date missing!' => 'Arve kuupäev puudub!',
+ 'Invoice Number' => 'Arve number',
+ 'Invoice Number missing!' => 'Arve number puudub!',
+ 'Item deleted!' => 'Toode kustutatud!',
+ 'Item not on file!' => 'Toode puudub andmebaasist!',
+ 'Jan' => 'Jaan',
+ 'January' => 'Jaanuar',
+ 'Jul' => 'Juul',
+ 'July' => 'Juuli',
+ 'Jun' => 'Juun',
+ 'June' => 'Juuni',
+ 'Last Cost' => 'Viimane ostuhind',
+ 'Line Total' => 'Rea summa',
+ 'Link Accounts' => 'Seosta kontod',
+ 'List Price' => 'Hinnakirja hind',
+ 'Make' => 'Tootja',
+ 'Mar' => 'Mär',
+ 'March' => 'Märts',
+ 'May' => 'Mai',
+ 'May ' => 'Mai ',
+ 'Message' => 'Teade',
+ 'Microfiche' => 'Mikrofilm',
+ 'Model' => 'Mudel',
+ 'Name' => 'Nimi',
+ 'No.' => 'Nr.',
+ 'Notes' => 'Märkused',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Kood',
+ 'Number missing in Row' => 'Antud real puudub kood',
+ 'Obsolete' => 'Aegunud',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktoober',
+ 'On Hand' => 'Laos',
+ 'On Order' => 'Tellimisel',
+ 'Order' => 'Tellimus',
+ 'Order Date missing!' => 'Tellimuse kuupäev puudub',
+ 'Order Number' => 'Tellimuse number',
+ 'Order Number missing!' => 'Tellimuse number puudub',
+ 'Ordered' => 'Tellitud',
+ 'Orphaned' => 'Seosteta',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Saateleht',
+ 'Packing List Date missing!' => 'Saatelehe kuupäev puudub',
+ 'Packing List Number missing!' => 'Saatelehe number puudub',
+ 'Part' => 'Toode',
+ 'Part Number missing!' => 'Toote kood puudub',
+ 'Parts' => 'Tooted',
+ 'Phone' => 'Telefon',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Hind',
+ 'Printer' => 'Printer',
+ 'Project' => 'Projekt',
+ 'Purchase Order' => 'Ostutellimus',
+ 'Qty' => 'Kogus',
+ 'ROP' => 'TM',
+ 'Recd' => 'Saabunud',
+ 'Required by' => 'Tarneaeg',
+ 'Sales' => 'Müük',
+ 'Sales Order' => 'Müügitellimus',
+ 'Save' => 'Salvesta',
+ 'Screen' => 'Ekraan',
+ 'Select from one of the items below' => 'Vali üks alltoodud toodetest',
+ 'Select postscript or PDF!' => 'Vali kas postscript või PDF',
+ 'Sell Price' => 'Müügihind',
+ 'Sep' => 'Sept',
+ 'September' => 'September',
+ 'Service' => 'Teenus',
+ 'Service Number missing!' => 'teenuse kood puudub!',
+ 'Services' => 'Teenused',
+ 'Ship' => 'Tarnimine',
+ 'Ship to' => 'Tarneaadress',
+ 'Short' => 'Lühike',
+ 'Sold' => 'Müüdud',
+ 'Stock Assembly' => 'Komplekti lattu võtmine',
+ 'Subject' => 'Pealkiri',
+ 'Subtotal' => 'Vahesumma',
+ 'Tax' => 'Maks',
+ 'To' => 'Kuhu',
+ 'Top Level' => 'Ülemine tase',
+ 'Total' => 'Kokku',
+ 'Unit' => 'Ühik',
+ 'Unit of measure' => 'Mõõtühik',
+ 'Update' => 'Uuenda',
+ 'Updated' => 'Uuendatud',
+ 'Weight' => 'Kaal',
+ 'What type of item is this?' => 'Mis tüüpi tootega on tegemist?',
+ 'ea' => 'tk',
+ 'emailed to' => 'salvestatud aadressile',
+ 'hr' => 't',
+ 'sent to printer' => 'printerile saadetud',
+ 'to' => 'kuni',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'assembly_row' => 'assembly_row',
+ 'check_form' => 'check_form',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'delete_assembly' => 'delete_assembly',
+ 'delete_item' => 'delete_item',
+ 'delete_part' => 'delete_part',
+ 'delete_service' => 'delete_service',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'link_part' => 'link_part',
+ 'list_assemblies' => 'list_assemblies',
+ 'makemodel_row' => 'makemodel_row',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'parts_subtotal' => 'parts_subtotal',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'restock_assemblies' => 'restock_assemblies',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'stock_assembly' => 'stock_assembly',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'lisa' => 'add',
+ 'lisa_komplekt' => 'add_assembly',
+ 'lisa_toode' => 'add_part',
+ 'lisa_teenus' => 'add_service',
+ 'edasi' => 'continue',
+ 'kustuta' => 'delete',
+ 'muuda_komplekti' => 'edit_assembly',
+ 'toote_redigeerimine' => 'edit_part',
+ 'teenuse_muutmine' => 'edit_service',
+ 'salvesta' => 'save',
+ 'uuenda' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/ee/io b/sql-ledger/locale/ee/io
new file mode 100644
index 0000000..ccf21af
--- /dev/null
+++ b/sql-ledger/locale/ee/io
@@ -0,0 +1,108 @@
+$self{texts} = {
+ 'Add Purchase Order' => 'Lisa ostutellimus',
+ 'Add Sales Order' => 'Lisa müügitellimus',
+ 'Address' => 'Aadress',
+ 'Apr' => 'Apr',
+ 'April' => 'Aprill',
+ 'Attachment' => 'Kaasatud fail',
+ 'Aug' => 'Aug',
+ 'August' => 'August',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Kast',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Edasi',
+ 'Copies' => 'koopiat',
+ 'Dec' => 'Dets',
+ 'December' => 'Detsember',
+ 'Delivery Date' => 'Tarne kuupäev',
+ 'Description' => 'Selgitus',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'E-maili aadress puudub',
+ 'Extended' => 'Summa',
+ 'Fax' => 'Faks',
+ 'Feb' => 'Veebr',
+ 'February' => 'Veebruar',
+ 'Group' => 'Group',
+ 'Group Items' => 'Group Items',
+ 'In-line' => 'Dokumendisisene',
+ 'Invoice' => 'Arve',
+ 'Invoice Date missing!' => 'Arve kuupäev puudub!',
+ 'Invoice Number missing!' => 'Arve number puudub!',
+ 'Item not on file!' => 'Toode puudub andmebaasist!',
+ 'Jan' => 'Jaan',
+ 'January' => 'Jaanuar',
+ 'Jul' => 'Juul',
+ 'July' => 'Juuli',
+ 'Jun' => 'Juun',
+ 'June' => 'Juuni',
+ 'Mar' => 'Mär',
+ 'March' => 'Märts',
+ 'May' => 'Mai',
+ 'May ' => 'Mai ',
+ 'Message' => 'Teade',
+ 'Name' => 'Nimi',
+ 'No.' => 'Nr.',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Kood',
+ 'Number missing in Row' => 'Antud real puudub kood',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktoober',
+ 'Order' => 'Tellimus',
+ 'Order Date missing!' => 'Tellimuse kuupäev puudub',
+ 'Order Number missing!' => 'Tellimuse number puudub',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Saateleht',
+ 'Packing List Date missing!' => 'Saatelehe kuupäev puudub',
+ 'Packing List Number missing!' => 'Saatelehe number puudub',
+ 'Part' => 'Toode',
+ 'Phone' => 'Telefon',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Hind',
+ 'Printer' => 'Printer',
+ 'Project' => 'Projekt',
+ 'Purchase Order' => 'Ostutellimus',
+ 'Qty' => 'Kogus',
+ 'Recd' => 'Saabunud',
+ 'Required by' => 'Tarneaeg',
+ 'Sales Order' => 'Müügitellimus',
+ 'Screen' => 'Ekraan',
+ 'Select from one of the items below' => 'Vali üks alltoodud toodetest',
+ 'Select postscript or PDF!' => 'Vali kas postscript või PDF',
+ 'Sep' => 'Sept',
+ 'September' => 'September',
+ 'Service' => 'Teenus',
+ 'Ship' => 'Tarnimine',
+ 'Ship to' => 'Tarneaadress',
+ 'Subject' => 'Pealkiri',
+ 'To' => 'Kuhu',
+ 'Unit' => 'Ühik',
+ 'What type of item is this?' => 'Mis tüüpi tootega on tegemist?',
+ 'emailed to' => 'salvestatud aadressile',
+ 'sent to printer' => 'printerile saadetud',
+};
+
+$self{subs} = {
+ 'check_form' => 'check_form',
+ 'customer_details' => 'customer_details',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'edasi' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/ee/ir b/sql-ledger/locale/ee/ir
new file mode 100644
index 0000000..0606a42
--- /dev/null
+++ b/sql-ledger/locale/ee/ir
@@ -0,0 +1,180 @@
+$self{texts} = {
+ 'Account' => 'Konto',
+ 'Add Purchase Order' => 'Lisa ostutellimus',
+ 'Add Sales Order' => 'Lisa müügitellimus',
+ 'Add Vendor Invoice' => 'Add Vendor Invoice',
+ 'Address' => 'Aadress',
+ 'Amount' => 'Summa',
+ 'Apr' => 'Apr',
+ 'April' => 'Aprill',
+ 'Are you sure you want to delete Invoice Number' => 'Kas oled kindel, et soovid kustutada arve',
+ 'Attachment' => 'Kaasatud fail',
+ 'Aug' => 'Aug',
+ 'August' => 'August',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Kast',
+ 'Cannot delete invoice!' => 'Arvet ei saa kustutada',
+ 'Cannot post invoice for a closed period!' => 'Arvet ei saa salvestada suletud perioodile!',
+ 'Cannot post invoice!' => 'Arvet ei saa saata!',
+ 'Cannot post payment for a closed period!' => 'Makset ei saa salvestada suletud perioodile',
+ 'Cc' => 'Cc',
+ 'Confirm!' => 'Kinnita!',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Edasi',
+ 'Copies' => 'koopiat',
+ 'Currency' => 'Valuuta',
+ 'Customer not on file!' => 'Klienti pole failis!',
+ 'Date' => 'Kuupäev',
+ 'Dec' => 'Dets',
+ 'December' => 'Detsember',
+ 'Delete' => 'Kustuta',
+ 'Delivery Date' => 'Tarne kuupäev',
+ 'Description' => 'Selgitus',
+ 'Due Date' => 'Maksetähtaeg',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'E-maili aadress puudub',
+ 'Edit Vendor Invoice' => 'Edit Vendor Invoice',
+ 'Exch' => 'Kurss',
+ 'Exchangerate' => 'Valuutakurss',
+ 'Exchangerate for payment missing!' => 'Maksel ei ole valuutakurssi!',
+ 'Exchangerate missing!' => 'Valuutakurssi ei ole',
+ 'Extended' => 'Summa',
+ 'Fax' => 'Faks',
+ 'Feb' => 'Veebr',
+ 'February' => 'Veebruar',
+ 'Group' => 'Group',
+ 'Group Items' => 'Group Items',
+ 'In-line' => 'Dokumendisisene',
+ 'Invoice' => 'Arve',
+ 'Invoice Date' => 'Arve kuupäev',
+ 'Invoice Date missing!' => 'Arve kuupäev puudub!',
+ 'Invoice Number' => 'Arve number',
+ 'Invoice Number missing!' => 'Arve number puudub!',
+ 'Invoice deleted!' => 'Arve kustutatud!',
+ 'Invoice posted!' => 'Arve salvestatud!',
+ 'Item not on file!' => 'Toode puudub andmebaasist!',
+ 'Jan' => 'Jaan',
+ 'January' => 'Jaanuar',
+ 'Jul' => 'Juul',
+ 'July' => 'Juuli',
+ 'Jun' => 'Juun',
+ 'June' => 'Juuni',
+ 'Mar' => 'Mär',
+ 'March' => 'Märts',
+ 'May' => 'Mai',
+ 'May ' => 'Mai ',
+ 'Message' => 'Teade',
+ 'Name' => 'Nimi',
+ 'No.' => 'Nr.',
+ 'Notes' => 'Märkused',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Kood',
+ 'Number missing in Row' => 'Antud real puudub kood',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktoober',
+ 'Order' => 'Tellimus',
+ 'Order Date missing!' => 'Tellimuse kuupäev puudub',
+ 'Order Number' => 'Tellimuse number',
+ 'Order Number missing!' => 'Tellimuse number puudub',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Saateleht',
+ 'Packing List Date missing!' => 'Saatelehe kuupäev puudub',
+ 'Packing List Number missing!' => 'Saatelehe number puudub',
+ 'Part' => 'Toode',
+ 'Payment date missing!' => 'Maksekuupäev puudub',
+ 'Payments' => 'Maksed',
+ 'Phone' => 'Telefon',
+ 'Post' => 'Salvesta',
+ 'Post as new' => 'Salvesta uuena',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Hind',
+ 'Printer' => 'Printer',
+ 'Project' => 'Projekt',
+ 'Project not on file!' => 'Projekti pole failis',
+ 'Purchase Order' => 'Ostutellimus',
+ 'Qty' => 'Kogus',
+ 'Recd' => 'Saabunud',
+ 'Record in' => 'Sihtkonto',
+ 'Required by' => 'Tarneaeg',
+ 'Sales Order' => 'Müügitellimus',
+ 'Screen' => 'Ekraan',
+ 'Select from one of the items below' => 'Vali üks alltoodud toodetest',
+ 'Select from one of the names below' => 'Vali üks alltoodud nimedest',
+ 'Select from one of the projects below' => 'Vali üks alltoodud projektidest',
+ 'Select postscript or PDF!' => 'Vali kas postscript või PDF',
+ 'Sep' => 'Sept',
+ 'September' => 'September',
+ 'Service' => 'Teenus',
+ 'Ship' => 'Tarnimine',
+ 'Ship to' => 'Tarneaadress',
+ 'Source' => 'Allikas',
+ 'Subject' => 'Pealkiri',
+ 'Subtotal' => 'Vahesumma',
+ 'Tax Included' => 'Koos maksuga',
+ 'To' => 'Kuhu',
+ 'Total' => 'Kokku',
+ 'Unit' => 'Ühik',
+ 'Update' => 'Uuenda',
+ 'Vendor' => 'Hankija',
+ 'Vendor missing!' => 'Hankija puudub!',
+ 'Vendor not on file!' => 'Hankijat pole failis!',
+ 'What type of item is this?' => 'Mis tüüpi tootega on tegemist?',
+ 'Yes' => 'Jah',
+ 'ea' => 'tk',
+ 'emailed to' => 'salvestatud aadressile',
+ 'sent to printer' => 'printerile saadetud',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'yes' => 'yes',
+ 'edasi' => 'continue',
+ 'kustuta' => 'delete',
+ 'tellimus' => 'order',
+ 'salvesta' => 'post',
+ 'salvesta_uuena' => 'post_as_new',
+ 'uuenda' => 'update',
+ 'jah' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/ee/is b/sql-ledger/locale/ee/is
new file mode 100644
index 0000000..c380e76
--- /dev/null
+++ b/sql-ledger/locale/ee/is
@@ -0,0 +1,187 @@
+$self{texts} = {
+ 'Account' => 'Konto',
+ 'Add Purchase Order' => 'Lisa ostutellimus',
+ 'Add Sales Invoice' => 'Lisa Müügiarve',
+ 'Add Sales Order' => 'Lisa müügitellimus',
+ 'Address' => 'Aadress',
+ 'Amount' => 'Summa',
+ 'Apr' => 'Apr',
+ 'April' => 'Aprill',
+ 'Are you sure you want to delete Invoice Number' => 'Kas oled kindel, et soovid kustutada arve',
+ 'Attachment' => 'Kaasatud fail',
+ 'Aug' => 'Aug',
+ 'August' => 'August',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Kast',
+ 'Cannot delete invoice!' => 'Arvet ei saa kustutada',
+ 'Cannot post invoice for a closed period!' => 'Arvet ei saa salvestada suletud perioodile!',
+ 'Cannot post invoice!' => 'Arvet ei saa saata!',
+ 'Cannot post payment for a closed period!' => 'Makset ei saa salvestada suletud perioodile',
+ 'Cc' => 'Cc',
+ 'Confirm!' => 'Kinnita!',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Edasi',
+ 'Copies' => 'koopiat',
+ 'Credit Limit' => 'Krediidilimiit',
+ 'Currency' => 'Valuuta',
+ 'Customer' => 'Klient',
+ 'Customer missing!' => 'Klienti pole määratud!',
+ 'Customer not on file!' => 'Klienti pole failis!',
+ 'Date' => 'Kuupäev',
+ 'Dec' => 'Dets',
+ 'December' => 'Detsember',
+ 'Delete' => 'Kustuta',
+ 'Delivery Date' => 'Tarne kuupäev',
+ 'Description' => 'Selgitus',
+ 'Due Date' => 'Maksetähtaeg',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'E-maili aadress puudub',
+ 'Edit Sales Invoice' => 'Müügiarve muutmine',
+ 'Exch' => 'Kurss',
+ 'Exchangerate' => 'Valuutakurss',
+ 'Exchangerate for payment missing!' => 'Maksel ei ole valuutakurssi!',
+ 'Exchangerate missing!' => 'Valuutakurssi ei ole',
+ 'Extended' => 'Summa',
+ 'Fax' => 'Faks',
+ 'Feb' => 'Veebr',
+ 'February' => 'Veebruar',
+ 'Group' => 'Group',
+ 'Group Items' => 'Group Items',
+ 'In-line' => 'Dokumendisisene',
+ 'Invoice' => 'Arve',
+ 'Invoice Date' => 'Arve kuupäev',
+ 'Invoice Date missing!' => 'Arve kuupäev puudub!',
+ 'Invoice Number' => 'Arve number',
+ 'Invoice Number missing!' => 'Arve number puudub!',
+ 'Invoice deleted!' => 'Arve kustutatud!',
+ 'Invoice posted!' => 'Arve salvestatud!',
+ 'Item not on file!' => 'Toode puudub andmebaasist!',
+ 'Jan' => 'Jaan',
+ 'January' => 'Jaanuar',
+ 'Jul' => 'Juul',
+ 'July' => 'Juuli',
+ 'Jun' => 'Juun',
+ 'June' => 'Juuni',
+ 'Mar' => 'Mär',
+ 'March' => 'Märts',
+ 'May' => 'Mai',
+ 'May ' => 'Mai ',
+ 'Message' => 'Teade',
+ 'Name' => 'Nimi',
+ 'No.' => 'Nr.',
+ 'Notes' => 'Märkused',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Kood',
+ 'Number missing in Row' => 'Antud real puudub kood',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktoober',
+ 'Order' => 'Tellimus',
+ 'Order Date missing!' => 'Tellimuse kuupäev puudub',
+ 'Order Number' => 'Tellimuse number',
+ 'Order Number missing!' => 'Tellimuse number puudub',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Saateleht',
+ 'Packing List Date missing!' => 'Saatelehe kuupäev puudub',
+ 'Packing List Number missing!' => 'Saatelehe number puudub',
+ 'Part' => 'Toode',
+ 'Payment date missing!' => 'Maksekuupäev puudub',
+ 'Payments' => 'Maksed',
+ 'Phone' => 'Telefon',
+ 'Post' => 'Salvesta',
+ 'Post as new' => 'Salvesta uuena',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Hind',
+ 'Print' => 'Trüki',
+ 'Printer' => 'Printer',
+ 'Project' => 'Projekt',
+ 'Project not on file!' => 'Projekti pole failis',
+ 'Purchase Order' => 'Ostutellimus',
+ 'Qty' => 'Kogus',
+ 'Recd' => 'Saabunud',
+ 'Record in' => 'Sihtkonto',
+ 'Remaining' => 'Kasutamata',
+ 'Required by' => 'Tarneaeg',
+ 'Sales Order' => 'Müügitellimus',
+ 'Screen' => 'Ekraan',
+ 'Select from one of the items below' => 'Vali üks alltoodud toodetest',
+ 'Select from one of the names below' => 'Vali üks alltoodud nimedest',
+ 'Select from one of the projects below' => 'Vali üks alltoodud projektidest',
+ 'Select postscript or PDF!' => 'Vali kas postscript või PDF',
+ 'Sep' => 'Sept',
+ 'September' => 'September',
+ 'Service' => 'Teenus',
+ 'Ship' => 'Tarnimine',
+ 'Ship to' => 'Tarneaadress',
+ 'Ship via' => 'Tarneviis',
+ 'Source' => 'Allikas',
+ 'Subject' => 'Pealkiri',
+ 'Subtotal' => 'Vahesumma',
+ 'Tax Included' => 'Koos maksuga',
+ 'To' => 'Kuhu',
+ 'Total' => 'Kokku',
+ 'Unit' => 'Ühik',
+ 'Update' => 'Uuenda',
+ 'Vendor not on file!' => 'Hankijat pole failis!',
+ 'What type of item is this?' => 'Mis tüüpi tootega on tegemist?',
+ 'Yes' => 'Jah',
+ 'ea' => 'tk',
+ 'emailed to' => 'salvestatud aadressile',
+ 'sent to printer' => 'printerile saadetud',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'yes' => 'yes',
+ 'edasi' => 'continue',
+ 'kustuta' => 'delete',
+ 'e_mail' => 'e_mail',
+ 'tellimus' => 'order',
+ 'salvesta' => 'post',
+ 'salvesta_uuena' => 'post_as_new',
+ 'trüki' => 'print',
+ 'tarneaadress' => 'ship_to',
+ 'uuenda' => 'update',
+ 'jah' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/ee/login b/sql-ledger/locale/ee/login
new file mode 100644
index 0000000..18cb05b
--- /dev/null
+++ b/sql-ledger/locale/ee/login
@@ -0,0 +1,27 @@
+$self{texts} = {
+ 'About' => 'Programmi Info',
+ 'Database Host' => 'Andmebaasiserver',
+ 'Dataset' => 'Andmebaas',
+ 'Incorrect Dataset version!' => 'Vale andmebaasi versioon',
+ 'Incorrect Password!' => 'Vale parool!',
+ 'Licensed to' => 'Kasutaja andmed:',
+ 'Login' => 'Login',
+ 'Name' => 'Nimi',
+ 'Password' => 'Parool',
+ 'User' => 'Kasutaja',
+ 'Version' => 'Versioon',
+ 'You are logged out!' => 'Oled välja loginud!',
+ 'You did not enter a name!' => 'Nimi sisestamata!',
+ 'is not a member!' => 'ei ole kasutaja!',
+ 'localhost' => 'localhost',
+};
+
+$self{subs} = {
+ 'company_logo' => 'company_logo',
+ 'login' => 'login',
+ 'login_screen' => 'login_screen',
+ 'logout' => 'logout',
+ 'login' => 'login',
+};
+
+1;
diff --git a/sql-ledger/locale/ee/menu b/sql-ledger/locale/ee/menu
new file mode 100644
index 0000000..7d77737
--- /dev/null
+++ b/sql-ledger/locale/ee/menu
@@ -0,0 +1,71 @@
+$self{texts} = {
+ 'AP' => 'Kohustused',
+ 'AP Aging' => 'Võlad',
+ 'AR' => 'Nõuded',
+ 'AR Aging' => 'Võlglased',
+ 'Accounting Menu' => 'Raamatupidamise Menüü',
+ 'Add Account' => 'Lisa konto',
+ 'Add Assembly' => 'Lisa komplekt',
+ 'Add Customer' => 'Lisa klient',
+ 'Add GIFI' => 'Lisa GIFI',
+ 'Add Part' => 'Lisa toode',
+ 'Add Project' => 'Lisa Projekt',
+ 'Add Service' => 'Lisa teenus',
+ 'Add Transaction' => 'Lisa kanne',
+ 'Add Vendor' => 'Lisa hankija',
+ 'Assemblies' => 'Komplektid',
+ 'Audit Control' => 'Audit',
+ 'Backup' => 'Varukoopia',
+ 'Balance Sheet' => 'Bilansitabel',
+ 'Cash' => 'Kassa',
+ 'Chart of Accounts' => 'Kontoplaan',
+ 'Check' => 'T?ekk',
+ 'Customers' => 'Kliendid',
+ 'General Ledger' => 'Pearaamat',
+ 'Goods & Services' => 'Tooted ja teenused',
+ 'HTML Templates' => 'HTML dokumendipõhjad',
+ 'Income Statement' => 'Kasumiaruanne',
+ 'Invoice' => 'Arve',
+ 'LaTeX Templates' => 'LaTeX dokumendipõhjad',
+ 'List Accounts' => 'Kontode nimekiri',
+ 'List GIFI' => 'GIFI nimekiri',
+ 'Logout' => 'Logi välja',
+ 'Order Entry' => 'Tellimuse sisestamine',
+ 'Packing List' => 'Saateleht',
+ 'Parts' => 'Tooted',
+ 'Payment' => 'Maksed',
+ 'Payments' => 'Maksed',
+ 'Preferences' => 'Määrangud',
+ 'Projects' => 'Projektid',
+ 'Purchase Order' => 'Ostutellimus',
+ 'Purchase Orders' => 'Ostutellimused',
+ 'Receipt' => 'Laekumised',
+ 'Receipts' => 'Laekumised',
+ 'Reconciliation' => 'Tasaarveldused',
+ 'Reports' => 'Aruanded',
+ 'Sales Invoice' => 'Müügiarve',
+ 'Sales Order' => 'Müügitellimus',
+ 'Sales Orders' => 'Müügitellimused',
+ 'Save to File' => 'Salvesta faili',
+ 'Send by E-Mail' => 'Saada e-postiga',
+ 'Services' => 'Teenused',
+ 'Statement' => 'Aruanne',
+ 'Stock Assembly' => 'Komplekti lattu võtmine',
+ 'Stylesheet' => 'Laaditabel',
+ 'System' => 'Süsteem',
+ 'Tax collected' => 'Kogutud maksud',
+ 'Tax paid' => 'Makstud makse',
+ 'Transactions' => 'Kanded',
+ 'Trial Balance' => 'Proovibilanss',
+ 'Vendor Invoice' => 'Vendor Invoice',
+ 'Vendors' => 'Hankijad',
+ 'Version' => 'Versioon',
+};
+
+$self{subs} = {
+ 'acc_menu' => 'acc_menu',
+ 'display' => 'display',
+ 'section_menu' => 'section_menu',
+};
+
+1;
diff --git a/sql-ledger/locale/ee/oe b/sql-ledger/locale/ee/oe
new file mode 100644
index 0000000..dd5a09b
--- /dev/null
+++ b/sql-ledger/locale/ee/oe
@@ -0,0 +1,202 @@
+$self{texts} = {
+ 'Add' => 'Lisa',
+ 'Add Purchase Order' => 'Lisa ostutellimus',
+ 'Add Sales Invoice' => 'Lisa Müügiarve',
+ 'Add Sales Order' => 'Lisa müügitellimus',
+ 'Add Vendor Invoice' => 'Add Vendor Invoice',
+ 'Address' => 'Aadress',
+ 'Amount' => 'Summa',
+ 'Apr' => 'Apr',
+ 'April' => 'Aprill',
+ 'Are you sure you want to delete Order Number' => 'Kas oled kindel, et soovid kustutada tellimuse',
+ 'Attachment' => 'Kaasatud fail',
+ 'Aug' => 'Aug',
+ 'August' => 'August',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Kast',
+ 'C' => 'C',
+ 'Cannot delete order!' => 'Tellimust ei saa kustutada!',
+ 'Cannot save order!' => 'Arvet ei saa salvestada',
+ 'Cc' => 'Cc',
+ 'Closed' => 'Suletud',
+ 'Confirm!' => 'Kinnita!',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Edasi',
+ 'Copies' => 'koopiat',
+ 'Credit Limit' => 'Krediidilimiit',
+ 'Curr' => 'Val.',
+ 'Currency' => 'Valuuta',
+ 'Customer' => 'Klient',
+ 'Customer missing!' => 'Klienti pole määratud!',
+ 'Customer not on file!' => 'Klienti pole failis!',
+ 'Date' => 'Kuupäev',
+ 'Dec' => 'Dets',
+ 'December' => 'Detsember',
+ 'Delete' => 'Kustuta',
+ 'Delivery Date' => 'Tarne kuupäev',
+ 'Description' => 'Selgitus',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'E-maili aadress puudub',
+ 'Edit Purchase Order' => 'Ostutellimuse muutmine',
+ 'Edit Sales Order' => 'Müügitellimuse muutmine',
+ 'Exchangerate' => 'Valuutakurss',
+ 'Exchangerate missing!' => 'Valuutakurssi ei ole',
+ 'Extended' => 'Summa',
+ 'Fax' => 'Faks',
+ 'Feb' => 'Veebr',
+ 'February' => 'Veebruar',
+ 'From' => 'Alates',
+ 'Group' => 'Group',
+ 'Group Items' => 'Group Items',
+ 'ID' => 'ID',
+ 'In-line' => 'Dokumendisisene',
+ 'Include in Report' => 'Kaasa aruandesse',
+ 'Invoice' => 'Arve',
+ 'Invoice Date missing!' => 'Arve kuupäev puudub!',
+ 'Invoice Number missing!' => 'Arve number puudub!',
+ 'Item not on file!' => 'Toode puudub andmebaasist!',
+ 'Jan' => 'Jaan',
+ 'January' => 'Jaanuar',
+ 'Jul' => 'Juul',
+ 'July' => 'Juuli',
+ 'Jun' => 'Juun',
+ 'June' => 'Juuni',
+ 'Mar' => 'Mär',
+ 'March' => 'Märts',
+ 'May' => 'Mai',
+ 'May ' => 'Mai ',
+ 'Message' => 'Teade',
+ 'Name' => 'Nimi',
+ 'No.' => 'Nr.',
+ 'Notes' => 'Märkused',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Kood',
+ 'Number missing in Row' => 'Antud real puudub kood',
+ 'O' => 'O',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktoober',
+ 'Open' => 'Avatud',
+ 'Order' => 'Tellimus',
+ 'Order Date' => 'Tellimuse kuupäev',
+ 'Order Date missing!' => 'Tellimuse kuupäev puudub',
+ 'Order Number' => 'Tellimuse number',
+ 'Order Number missing!' => 'Tellimuse number puudub',
+ 'Order deleted!' => 'Tellimus kustutatud',
+ 'Order saved!' => 'Tellimus salvestatud',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Saateleht',
+ 'Packing List Date missing!' => 'Saatelehe kuupäev puudub',
+ 'Packing List Number missing!' => 'Saatelehe number puudub',
+ 'Part' => 'Toode',
+ 'Phone' => 'Telefon',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Hind',
+ 'Print' => 'Trüki',
+ 'Printer' => 'Printer',
+ 'Project' => 'Projekt',
+ 'Project not on file!' => 'Projekti pole failis',
+ 'Purchase Order' => 'Ostutellimus',
+ 'Purchase Orders' => 'Ostutellimused',
+ 'Qty' => 'Kogus',
+ 'Recd' => 'Saabunud',
+ 'Remaining' => 'Kasutamata',
+ 'Required by' => 'Tarneaeg',
+ 'Sales Order' => 'Müügitellimus',
+ 'Sales Orders' => 'Müügitellimused',
+ 'Save' => 'Salvesta',
+ 'Save as new' => 'Salvesta uuena',
+ 'Screen' => 'Ekraan',
+ 'Select from one of the items below' => 'Vali üks alltoodud toodetest',
+ 'Select from one of the names below' => 'Vali üks alltoodud nimedest',
+ 'Select from one of the projects below' => 'Vali üks alltoodud projektidest',
+ 'Select postscript or PDF!' => 'Vali kas postscript või PDF',
+ 'Sep' => 'Sept',
+ 'September' => 'September',
+ 'Service' => 'Teenus',
+ 'Ship' => 'Tarnimine',
+ 'Ship to' => 'Tarneaadress',
+ 'Ship via' => 'Tarneviis',
+ 'Subject' => 'Pealkiri',
+ 'Subtotal' => 'Vahesumma',
+ 'Tax' => 'Maks',
+ 'Tax Included' => 'Koos maksuga',
+ 'Terms: Net' => 'Maksetingimus',
+ 'To' => 'Kuhu',
+ 'Total' => 'Kokku',
+ 'Unit' => 'Ühik',
+ 'Update' => 'Uuenda',
+ 'Vendor' => 'Hankija',
+ 'Vendor missing!' => 'Hankija puudub!',
+ 'Vendor not on file!' => 'Hankijat pole failis!',
+ 'What type of item is this?' => 'Mis tüüpi tootega on tegemist?',
+ 'Yes' => 'Jah',
+ 'days' => 'päeva',
+ 'ea' => 'tk',
+ 'emailed to' => 'salvestatud aadressile',
+ 'sent to printer' => 'printerile saadetud',
+ 'to' => 'kuni',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_backorder' => 'create_backorder',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice' => 'invoice',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'order_links' => 'order_links',
+ 'orders' => 'orders',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_order' => 'prepare_order',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'sales_invoice' => 'sales_invoice',
+ 'save' => 'save',
+ 'save_as_new' => 'save_as_new',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'subtotal' => 'subtotal',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'yes' => 'yes',
+ 'lisa' => 'add',
+ 'edasi' => 'continue',
+ 'kustuta' => 'delete',
+ 'e_mail' => 'e_mail',
+ 'arve' => 'invoice',
+ 'trüki' => 'print',
+ 'salvesta' => 'save',
+ 'salvesta_uuena' => 'save_as_new',
+ 'tarneaadress' => 'ship_to',
+ 'uuenda' => 'update',
+ 'jah' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/ee/pe b/sql-ledger/locale/ee/pe
new file mode 100644
index 0000000..7ce3815
--- /dev/null
+++ b/sql-ledger/locale/ee/pe
@@ -0,0 +1,35 @@
+$self{texts} = {
+ 'Add' => 'Lisa',
+ 'Add Project' => 'Lisa Projekt',
+ 'All' => 'Kõik',
+ 'Continue' => 'Edasi',
+ 'Delete' => 'Kustuta',
+ 'Description' => 'Selgitus',
+ 'Edit Project' => 'Muuda Projekti',
+ 'Number' => 'Kood',
+ 'Orphaned' => 'Seosteta',
+ 'Project' => 'Projekt',
+ 'Project Number missing!' => 'Projekti number puudub',
+ 'Project deleted!' => 'Projekt kustutatud',
+ 'Project saved!' => 'Projekt salvestatud',
+ 'Projects' => 'Projektid',
+ 'Save' => 'Salvesta',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'lisa' => 'add',
+ 'edasi' => 'continue',
+ 'kustuta' => 'delete',
+ 'salvesta' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/ee/rc b/sql-ledger/locale/ee/rc
new file mode 100644
index 0000000..af52fde
--- /dev/null
+++ b/sql-ledger/locale/ee/rc
@@ -0,0 +1,37 @@
+$self{texts} = {
+ 'Account' => 'Konto',
+ 'Balance' => 'Bilanss',
+ 'Cleared Balance' => 'Puhastatud bilanss',
+ 'Continue' => 'Edasi',
+ 'Date' => 'Kuupäev',
+ 'Deposit' => 'Tarnimata',
+ 'Description' => 'Selgitus',
+ 'Difference' => 'Vahe',
+ 'Done' => 'Teostatud',
+ 'Exchangerate Difference' => 'Valuutakursi muutus',
+ 'From' => 'Alates',
+ 'Out of balance!' => 'Bilanss ei klapi!',
+ 'Payment' => 'Maksed',
+ 'Reconciliation' => 'Tasaarveldused',
+ 'Select all' => 'Vali kõik',
+ 'Source' => 'Allikas',
+ 'Statement Balance' => 'Bilansiaruanne',
+ 'Update' => 'Uuenda',
+ 'to' => 'kuni',
+};
+
+$self{subs} = {
+ 'continue' => 'continue',
+ 'display_form' => 'display_form',
+ 'done' => 'done',
+ 'get_payments' => 'get_payments',
+ 'reconciliation' => 'reconciliation',
+ 'select_all' => 'select_all',
+ 'update' => 'update',
+ 'edasi' => 'continue',
+ 'teostatud' => 'done',
+ 'vali_kõik' => 'select_all',
+ 'uuenda' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/ee/rp b/sql-ledger/locale/ee/rp
new file mode 100644
index 0000000..9d0e6bc
--- /dev/null
+++ b/sql-ledger/locale/ee/rp
@@ -0,0 +1,120 @@
+$self{texts} = {
+ 'AP Aging' => 'Võlad',
+ 'AR Aging' => 'Võlglased',
+ 'Account' => 'Konto',
+ 'Accounts' => 'Kontod',
+ 'Amount' => 'Summa',
+ 'Apr' => 'Apr',
+ 'April' => 'Aprill',
+ 'Attachment' => 'Kaasatud fail',
+ 'Aug' => 'Aug',
+ 'August' => 'August',
+ 'Balance' => 'Bilanss',
+ 'Balance Sheet' => 'Bilansitabel',
+ 'Bcc' => 'Bcc',
+ 'Cash based' => 'Kassapõhine',
+ 'Cc' => 'Cc',
+ 'Compare to' => 'Võrdlus perioodiga',
+ 'Continue' => 'Edasi',
+ 'Copies' => 'koopiat',
+ 'Credit' => 'Kreedit',
+ 'Current' => 'Praegune',
+ 'Customer' => 'Klient',
+ 'Date' => 'Kuupäev',
+ 'Debit' => 'Deebet',
+ 'Dec' => 'Dets',
+ 'December' => 'Detsember',
+ 'Decimalplaces' => 'Komakohti',
+ 'Department' => 'Osakond',
+ 'Description' => 'Selgitus',
+ 'Due' => 'Tasuda',
+ 'E-mail' => 'E-mail',
+ 'E-mail Statement to' => 'E-mail teatis',
+ 'Feb' => 'Veebr',
+ 'February' => 'Veebruar',
+ 'From' => 'Alates',
+ 'GIFI' => 'GIFI',
+ 'Heading' => 'Päis',
+ 'ID' => 'ID',
+ 'In-line' => 'Dokumendisisene',
+ 'Include in Report' => 'Kaasa aruandesse',
+ 'Income Statement' => 'Kasumiaruanne',
+ 'Invoice' => 'Arve',
+ 'Jan' => 'Jaan',
+ 'January' => 'Jaanuar',
+ 'Jul' => 'Juul',
+ 'July' => 'Juuli',
+ 'Jun' => 'Juun',
+ 'June' => 'Juuni',
+ 'Mar' => 'Mär',
+ 'March' => 'Märts',
+ 'May' => 'Mai',
+ 'May ' => 'Mai ',
+ 'Message' => 'Teade',
+ 'N/A' => 'Puudub',
+ 'Nothing selected!' => 'Midagi ei ole valitud',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktoober',
+ 'PDF' => 'PDF',
+ 'Payments' => 'Maksed',
+ 'Postscript' => 'Postscript',
+ 'Print' => 'Trüki',
+ 'Printer' => 'Printer',
+ 'Project Number' => 'Projekti number',
+ 'Receipts' => 'Laekumised',
+ 'Report for' => 'Aruanne',
+ 'Retained Earnings' => 'Jaotamata kasum',
+ 'Screen' => 'Ekraan',
+ 'Select all' => 'Vali kõik',
+ 'Select postscript or PDF!' => 'Vali kas postscript või PDF',
+ 'Sep' => 'Sept',
+ 'September' => 'September',
+ 'Source' => 'Allikas',
+ 'Standard' => 'Standard',
+ 'Statement' => 'Aruanne',
+ 'Statement sent to' => 'Saata aruanne aadressil',
+ 'Statements sent to printer!' => 'Saata aruanne printerile',
+ 'Subject' => 'Pealkiri',
+ 'Subtotal' => 'Vahesumma',
+ 'Tax' => 'Maks',
+ 'Tax collected' => 'Kogutud maksud',
+ 'Tax paid' => 'Makstud makse',
+ 'Total' => 'Kokku',
+ 'Trial Balance' => 'Proovibilanss',
+ 'Vendor' => 'Hankija',
+ 'as at' => 'Seisuga',
+ 'collected on sales' => 'kogutud müügilt',
+ 'for Period' => 'Periood',
+ 'paid on purchases' => 'makstud ostudelt',
+ 'to' => 'kuni',
+};
+
+$self{subs} = {
+ 'aging' => 'aging',
+ 'continue' => 'continue',
+ 'e_mail' => 'e_mail',
+ 'generate_ap_aging' => 'generate_ap_aging',
+ 'generate_ar_aging' => 'generate_ar_aging',
+ 'generate_balance_sheet' => 'generate_balance_sheet',
+ 'generate_income_statement' => 'generate_income_statement',
+ 'generate_tax_report' => 'generate_tax_report',
+ 'generate_trial_balance' => 'generate_trial_balance',
+ 'list_accounts' => 'list_accounts',
+ 'list_payments' => 'list_payments',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'report' => 'report',
+ 'select_all' => 'select_all',
+ 'send_email' => 'send_email',
+ 'statement_details' => 'statement_details',
+ 'tax_subtotal' => 'tax_subtotal',
+ 'edasi' => 'continue',
+ 'e_mail' => 'e_mail',
+ 'trüki' => 'print',
+ 'vali_kõik' => 'select_all',
+};
+
+1;
diff --git a/sql-ledger/locale/en_GB/COPYING b/sql-ledger/locale/en_GB/COPYING
new file mode 100644
index 0000000..ceaa769
--- /dev/null
+++ b/sql-ledger/locale/en_GB/COPYING
@@ -0,0 +1,23 @@
+######################################################################
+# SQL-Ledger Accounting
+# Copyright (c) 2003
+#
+# British English texts:
+#
+# Author:
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+#######################################################################
+
diff --git a/sql-ledger/locale/en_GB/LANGUAGE b/sql-ledger/locale/en_GB/LANGUAGE
new file mode 100644
index 0000000..bed69f7
--- /dev/null
+++ b/sql-ledger/locale/en_GB/LANGUAGE
@@ -0,0 +1 @@
+British English
diff --git a/sql-ledger/locale/en_GB/admin b/sql-ledger/locale/en_GB/admin
new file mode 100644
index 0000000..580d1c6
--- /dev/null
+++ b/sql-ledger/locale/en_GB/admin
@@ -0,0 +1,124 @@
+$self{texts} = {
+ 'Access Control' => 'Access Control',
+ 'Accounting' => 'Accounting',
+ 'Add User' => 'Add User',
+ 'Address' => 'Address',
+ 'Administration' => 'Administration',
+ 'Administrator' => 'Administrator',
+ 'All Datasets up to date!' => 'All Datasets up to date!',
+ 'Change Admin Password' => 'Change Admin Password',
+ 'Change Password' => 'Change Password',
+ 'Character Set' => 'Character Set',
+ 'Click on login name to edit!' => 'Click on login name to edit!',
+ 'Company' => 'Company',
+ 'Connect to' => 'Connect to',
+ 'Continue' => 'Continue',
+ 'Create Chart of Accounts' => 'Create Chart of Accounts',
+ 'Create Dataset' => 'Create Dataset',
+ 'DBI not installed!' => 'DBI not installed!',
+ 'Database' => 'Database',
+ 'Database Administration' => 'Database Administration',
+ 'Database Driver not checked!' => 'Database Driver not checked!',
+ 'Database User missing!' => 'Database User missing!',
+ 'Dataset' => 'Dataset',
+ 'Dataset missing!' => 'Dataset missing!',
+ 'Dataset updated!' => 'Dataset updated!',
+ 'Date Format' => 'Date Format',
+ 'Delete' => 'Delete',
+ 'Delete Dataset' => 'Delete Dataset',
+ 'Directory' => 'Directory',
+ 'Driver' => 'Driver',
+ 'Dropdown Limit' => 'Dropdown Limit',
+ 'E-mail' => 'E-mail',
+ 'Edit User' => 'Edit User',
+ 'Existing Datasets' => 'Existing Datasets',
+ 'Fax' => 'Fax',
+ 'Host' => 'Host',
+ 'Hostname missing!' => 'Hostname missing!',
+ 'Incorrect Password!' => 'Incorrect Password!',
+ 'Language' => 'Language',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Leave host and port field empty unless you want to make a remote connection.',
+ 'Login' => 'Login',
+ 'Multibyte Encoding' => 'Multibyte Encoding',
+ 'Name' => 'Name',
+ 'New Templates' => 'New Templates',
+ 'No Database Drivers available!' => 'No Database Drivers available!',
+ 'No Dataset selected!' => 'No Dataset selected!',
+ 'Nothing to delete!' => 'Nothing to delete!',
+ 'Number Format' => 'Number Format',
+ 'Oracle Database Administration' => 'Oracle Database Administration',
+ 'Password' => 'Password',
+ 'Password changed!' => 'Password changed!',
+ 'Pg Database Administration' => 'Pg Database Administration',
+ 'Phone' => 'Phone',
+ 'Port' => 'Port',
+ 'Port missing!' => 'Port missing!',
+ 'Printer' => 'Printer',
+ 'Save' => 'Save',
+ 'Select a Dataset to delete and press "Continue"' => 'Select a Dataset to delete and press "Continue"',
+ 'Setup Templates' => 'Setup Templates',
+ 'Ship via' => 'Ship via',
+ 'Signature' => 'Signature',
+ 'Stylesheet' => 'Stylesheet',
+ 'Templates' => 'Templates',
+ 'The following Datasets are not in use and can be deleted' => 'The following Datasets are not in use and can be deleted',
+ 'The following Datasets need to be updated' => 'The following Datasets need to be updated',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.',
+ 'Update Dataset' => 'Update Dataset',
+ 'Use Templates' => 'Use Templates',
+ 'User' => 'User',
+ 'User deleted!' => 'User deleted!',
+ 'User saved!' => 'User saved!',
+ 'Version' => 'Version',
+ 'You must enter a host and port for local and remote connections!' => 'You must enter a host and port for local and remote connections!',
+ 'does not exist' => 'does not exist',
+ 'is already a member!' => 'is already a member!',
+ 'localhost' => 'localhost',
+ 'locked!' => 'locked!',
+ 'successfully created!' => 'successfully created!',
+ 'successfully deleted!' => 'successfully deleted!',
+ 'website' => 'website',
+};
+
+$self{subs} = {
+ 'add_user' => 'add_user',
+ 'adminlogin' => 'adminlogin',
+ 'change_admin_password' => 'change_admin_password',
+ 'change_password' => 'change_password',
+ 'check_password' => 'check_password',
+ 'continue' => 'continue',
+ 'create_dataset' => 'create_dataset',
+ 'dbcreate' => 'dbcreate',
+ 'dbdelete' => 'dbdelete',
+ 'dbdriver_defaults' => 'dbdriver_defaults',
+ 'dbselect_source' => 'dbselect_source',
+ 'dbupdate' => 'dbupdate',
+ 'delete' => 'delete',
+ 'delete_dataset' => 'delete_dataset',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'get_value' => 'get_value',
+ 'list_users' => 'list_users',
+ 'login' => 'login',
+ 'login_name' => 'login_name',
+ 'oracle_database_administration' => 'oracle_database_administration',
+ 'pg_database_administration' => 'pg_database_administration',
+ 'save' => 'save',
+ 'update_dataset' => 'update_dataset',
+ 'add_user' => 'add_user',
+ 'change_admin_password' => 'change_admin_password',
+ 'change_password' => 'change_password',
+ 'continue' => 'continue',
+ 'create_dataset' => 'create_dataset',
+ 'delete' => 'delete',
+ 'delete_dataset' => 'delete_dataset',
+ 'login' => 'login',
+ 'oracle_database_administration' => 'oracle_database_administration',
+ 'pg_database_administration' => 'pg_database_administration',
+ 'save' => 'save',
+ 'update_dataset' => 'update_dataset',
+};
+
+1;
diff --git a/sql-ledger/locale/en_GB/all b/sql-ledger/locale/en_GB/all
new file mode 100644
index 0000000..e45542a
--- /dev/null
+++ b/sql-ledger/locale/en_GB/all
@@ -0,0 +1,499 @@
+# These are all the texts to build the translations files.
+# The file has the form of 'english text' => 'foreign text',
+# you can add the translation in this file or in the 'missing' file
+# run locales.pl from this directory to rebuild the translation files
+
+$self{texts} = {
+ 'AP' => 'Purchases',
+ 'AP Aging' => 'Creditor Aging',
+ 'AP Transaction' => 'Purchase Transaction',
+ 'AP Transactions' => 'Purchase Transactions',
+ 'AR' => 'Sales',
+ 'AR Aging' => 'Debtor Aging',
+ 'AR Transaction' => 'Sales Transaction',
+ 'AR Transactions' => 'Sales Transactions',
+ 'About' => '',
+ 'Access Control' => '',
+ 'Account' => '',
+ 'Account Number' => '',
+ 'Account Number missing!' => '',
+ 'Account Type' => '',
+ 'Account Type missing!' => '',
+ 'Account deleted!' => '',
+ 'Account saved!' => '',
+ 'Accounting' => '',
+ 'Accounting Menu' => '',
+ 'Accounts' => '',
+ 'Active' => '',
+ 'Add' => '',
+ 'Add Account' => '',
+ 'Add Accounts Payables Transaction' => 'Add Purchase Transaction',
+ 'Add Accounts Receivables Transaction' => 'Add Sales Transaction',
+ 'Add Assembly' => '',
+ 'Add Customer' => '',
+ 'Add GIFI' => '',
+ 'Add General Ledger Transaction' => '',
+ 'Add Group' => '',
+ 'Add Part' => '',
+ 'Add Project' => '',
+ 'Add Purchase Order' => '',
+ 'Add Sales Invoice' => '',
+ 'Add Sales Order' => '',
+ 'Add Service' => '',
+ 'Add Transaction' => '',
+ 'Add User' => '',
+ 'Add Vendor' => '',
+ 'Add Vendor Invoice' => '',
+ 'Address' => '',
+ 'Administration' => '',
+ 'Administrator' => '',
+ 'All' => '',
+ 'All Datasets up to date!' => '',
+ 'Amount' => '',
+ 'Amount Due' => '',
+ 'Amount does not equal applied!' => '',
+ 'Amount missing!' => '',
+ 'Applied' => '',
+ 'Apr' => '',
+ 'April' => '',
+ 'Are you sure you want to delete Invoice Number' => '',
+ 'Are you sure you want to delete Order Number' => '',
+ 'Are you sure you want to delete Transaction' => '',
+ 'Assemblies' => '',
+ 'Assemblies restocked!' => '',
+ 'Assembly Number missing!' => '',
+ 'Asset' => '',
+ 'Attachment' => '',
+ 'Audit Control' => '',
+ 'Aug' => '',
+ 'August' => '',
+ 'BOM' => '',
+ 'Backup' => '',
+ 'Backup sent to' => '',
+ 'Balance' => '',
+ 'Balance Sheet' => '',
+ 'Bcc' => '',
+ 'Bin' => '',
+ 'Books are open' => '',
+ 'Bought' => '',
+ 'Business Number' => '',
+ 'C' => '',
+ 'COGS' => '',
+ 'Cannot delete account!' => '',
+ 'Cannot delete customer!' => '',
+ 'Cannot delete default account!' => '',
+ 'Cannot delete invoice!' => '',
+ 'Cannot delete item!' => '',
+ 'Cannot delete order!' => '',
+ 'Cannot delete transaction!' => '',
+ 'Cannot delete vendor!' => '',
+ 'Cannot have a value in both Debit and Credit!' => '',
+ 'Cannot post a transaction without a value!' => '',
+ 'Cannot post invoice for a closed period!' => '',
+ 'Cannot post invoice!' => '',
+ 'Cannot post payment for a closed period!' => '',
+ 'Cannot post payment!' => '',
+ 'Cannot post transaction for a closed period!' => '',
+ 'Cannot post transaction!' => '',
+ 'Cannot process payment for a closed period!' => '',
+ 'Cannot save account!' => '',
+ 'Cannot save order!' => '',
+ 'Cannot save preferences!' => '',
+ 'Cannot stock assemblies!' => '',
+ 'Cash' => '',
+ 'Cash based' => '',
+ 'Cc' => '',
+ 'Change Admin Password' => '',
+ 'Change Password' => '',
+ 'Character Set' => '',
+ 'Chart of Accounts' => '',
+ 'Check' => 'Cheque',
+ 'Check printed!' => '',
+ 'Check printing failed!' => '',
+ 'Cleared Balance' => '',
+ 'Click on login name to edit!' => '',
+ 'Close Books up to' => '',
+ 'Closed' => '',
+ 'Company' => '',
+ 'Compare to' => '',
+ 'Confirm!' => '',
+ 'Connect to' => '',
+ 'Contact' => '',
+ 'Continue' => '',
+ 'Copies' => '',
+ 'Copy to COA' => '',
+ 'Create Chart of Accounts' => '',
+ 'Create Dataset' => '',
+ 'Credit' => '',
+ 'Credit Limit' => '',
+ 'Curr' => '',
+ 'Currency' => '',
+ 'Current' => '',
+ 'Customer' => '',
+ 'Customer deleted!' => '',
+ 'Customer missing!' => '',
+ 'Customer not on file!' => '',
+ 'Customer saved!' => '',
+ 'Customers' => '',
+ 'DBI not installed!' => '',
+ 'Database' => '',
+ 'Database Administration' => '',
+ 'Database Driver not checked!' => '',
+ 'Database Host' => '',
+ 'Database User missing!' => '',
+ 'Dataset' => '',
+ 'Dataset missing!' => '',
+ 'Dataset updated!' => '',
+ 'Date' => '',
+ 'Date Format' => '',
+ 'Date Paid' => '',
+ 'Date missing!' => '',
+ 'Debit' => '',
+ 'Debit and credit out of balance!' => '',
+ 'Dec' => '',
+ 'December' => '',
+ 'Decimalplaces' => '',
+ 'Delete' => '',
+ 'Delete Account' => '',
+ 'Delete Dataset' => '',
+ 'Delivery Date' => '',
+ 'Deposit' => '',
+ 'Description' => '',
+ 'Difference' => '',
+ 'Directory' => '',
+ 'Discount' => '',
+ 'Done' => '',
+ 'Drawing' => '',
+ 'Driver' => '',
+ 'Dropdown Limit' => '',
+ 'Due' => '',
+ 'Due Date' => '',
+ 'Due Date missing!' => '',
+ 'E-mail' => '',
+ 'E-mail Statement to' => '',
+ 'E-mail address missing!' => '',
+ 'Edit' => '',
+ 'Edit Account' => '',
+ 'Edit Accounts Payables Transaction' => 'Edit Creditor Transaction',
+ 'Edit Accounts Receivables Transaction' => 'Edit Debtor Transaction',
+ 'Edit Assembly' => '',
+ 'Edit Customer' => '',
+ 'Edit GIFI' => '',
+ 'Edit General Ledger Transaction' => '',
+ 'Edit Group' => '',
+ 'Edit Part' => '',
+ 'Edit Preferences for' => '',
+ 'Edit Project' => '',
+ 'Edit Purchase Order' => '',
+ 'Edit Sales Invoice' => '',
+ 'Edit Sales Order' => '',
+ 'Edit Service' => '',
+ 'Edit Template' => '',
+ 'Edit User' => '',
+ 'Edit Vendor' => '',
+ 'Edit Vendor Invoice' => '',
+ 'Employee' => '',
+ 'Enforce transaction reversal for all dates' => '',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => '',
+ 'Equity' => '',
+ 'Exch' => '',
+ 'Exchangerate' => '',
+ 'Exchangerate Difference' => '',
+ 'Exchangerate for payment missing!' => '',
+ 'Exchangerate missing!' => '',
+ 'Existing Datasets' => '',
+ 'Expense' => '',
+ 'Expense Account' => '',
+ 'Expense/Asset' => '',
+ 'Extended' => '',
+ 'Fax' => '',
+ 'Feb' => '',
+ 'February' => '',
+ 'Foreign Exchange Gain' => '',
+ 'Foreign Exchange Loss' => '',
+ 'From' => '',
+ 'GIFI' => '',
+ 'GIFI deleted!' => '',
+ 'GIFI missing!' => '',
+ 'GIFI saved!' => '',
+ 'GL Transaction' => '',
+ 'General Ledger' => '',
+ 'Goods & Services' => '',
+ 'Group' => '',
+ 'Group Items' => '',
+ 'Group deleted!' => '',
+ 'Group missing!' => '',
+ 'Group saved!' => '',
+ 'Groups' => '',
+ 'HTML Templates' => '',
+ 'Heading' => '',
+ 'Host' => '',
+ 'Hostname missing!' => '',
+ 'ID' => '',
+ 'Image' => '',
+ 'In-line' => '',
+ 'Include in Report' => '',
+ 'Include in drop-down menus' => '',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Include this account on debtor/creditor forms to set debtor/creditor taxable?',
+ 'Income' => 'Revenue',
+ 'Income Account' => 'Revenue Account',
+ 'Income Statement' => '',
+ 'Incorrect Dataset version!' => '',
+ 'Incorrect Password!' => '',
+ 'Individual Items' => '',
+ 'Inventory' => '',
+ 'Inventory Account' => '',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => '',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => '',
+ 'Invoice' => '',
+ 'Invoice Date' => '',
+ 'Invoice Date missing!' => '',
+ 'Invoice Number' => '',
+ 'Invoice Number missing!' => '',
+ 'Invoice deleted!' => '',
+ 'Invoice posted!' => '',
+ 'Invoices' => '',
+ 'Is this a summary account to record' => '',
+ 'Item deleted!' => '',
+ 'Item not on file!' => '',
+ 'Jan' => '',
+ 'January' => '',
+ 'Jul' => '',
+ 'July' => '',
+ 'Jun' => '',
+ 'June' => '',
+ 'LaTeX Templates' => '',
+ 'Language' => '',
+ 'Last Cost' => '',
+ 'Last Invoice Number' => '',
+ 'Last Numbers & Default Accounts' => '',
+ 'Last Purchase Order Number' => '',
+ 'Last Sales Order Number' => '',
+ 'Leave host and port field empty unless you want to make a remote connection.' => '',
+ 'Liability' => '',
+ 'Licensed to' => '',
+ 'Line Total' => '',
+ 'Link' => '',
+ 'Link Accounts' => '',
+ 'List Accounts' => '',
+ 'List GIFI' => '',
+ 'List Price' => '',
+ 'List Transactions' => '',
+ 'Login' => '',
+ 'Logout' => '',
+ 'Make' => '',
+ 'Mar' => '',
+ 'March' => '',
+ 'May' => '',
+ 'May ' => '',
+ 'Message' => '',
+ 'Microfiche' => '',
+ 'Model' => '',
+ 'Multibyte Encoding' => '',
+ 'N/A' => '',
+ 'Name' => '',
+ 'Name missing!' => '',
+ 'New Templates' => '',
+ 'No' => '',
+ 'No Database Drivers available!' => '',
+ 'No Dataset selected!' => '',
+ 'No email address for' => '',
+ 'No.' => '',
+ 'Notes' => '',
+ 'Nothing applied!' => '',
+ 'Nothing selected!' => '',
+ 'Nothing to delete!' => '',
+ 'Nov' => '',
+ 'November' => '',
+ 'Number' => '',
+ 'Number Format' => '',
+ 'Number missing in Row' => '',
+ 'O' => '',
+ 'Obsolete' => '',
+ 'Oct' => '',
+ 'October' => '',
+ 'On Hand' => '',
+ 'On Order' => '',
+ 'Open' => '',
+ 'Oracle Database Administration' => '',
+ 'Order' => '',
+ 'Order Date' => '',
+ 'Order Date missing!' => '',
+ 'Order Entry' => '',
+ 'Order Number' => '',
+ 'Order Number missing!' => '',
+ 'Order deleted!' => '',
+ 'Order saved!' => '',
+ 'Ordered' => '',
+ 'Orphaned' => '',
+ 'Out of balance!' => '',
+ 'PDF' => '',
+ 'Packing List' => '',
+ 'Packing List Date missing!' => '',
+ 'Packing List Number missing!' => '',
+ 'Paid' => '',
+ 'Paid in full' => '',
+ 'Part' => '',
+ 'Part Number missing!' => '',
+ 'Parts' => '',
+ 'Parts Inventory' => '',
+ 'Password' => '',
+ 'Password changed!' => '',
+ 'Payables' => '',
+ 'Payment' => '',
+ 'Payment date missing!' => '',
+ 'Payment posted!' => '',
+ 'Payments' => '',
+ 'Pg Database Administration' => '',
+ 'Phone' => '',
+ 'Port' => '',
+ 'Port missing!' => '',
+ 'Post' => '',
+ 'Post as new' => '',
+ 'Postscript' => '',
+ 'Preferences' => '',
+ 'Preferences saved!' => '',
+ 'Price' => '',
+ 'Print' => '',
+ 'Printer' => '',
+ 'Project' => '',
+ 'Project Number' => '',
+ 'Project Number missing!' => '',
+ 'Project deleted!' => '',
+ 'Project not on file!' => '',
+ 'Project saved!' => '',
+ 'Projects' => '',
+ 'Purchase Order' => '',
+ 'Purchase Orders' => '',
+ 'Qty' => '',
+ 'ROP' => '',
+ 'Rate' => '',
+ 'Recd' => '',
+ 'Receipt' => '',
+ 'Receipt printed!' => '',
+ 'Receipt printing failed!' => '',
+ 'Receipts' => '',
+ 'Receivables' => '',
+ 'Reconciliation' => '',
+ 'Record in' => '',
+ 'Reference' => '',
+ 'Reference missing!' => '',
+ 'Remaining' => '',
+ 'Report for' => '',
+ 'Reports' => '',
+ 'Required by' => '',
+ 'Retained Earnings' => '',
+ 'Sales' => '',
+ 'Sales Invoice' => '',
+ 'Sales Order' => '',
+ 'Sales Orders' => '',
+ 'Salesperson' => '',
+ 'Save' => '',
+ 'Save as new' => '',
+ 'Save to File' => '',
+ 'Screen' => '',
+ 'Select a Dataset to delete and press "Continue"' => '',
+ 'Select all' => '',
+ 'Select from one of the items below' => '',
+ 'Select from one of the names below' => '',
+ 'Select from one of the projects below' => '',
+ 'Select postscript or PDF!' => '',
+ 'Sell Price' => '',
+ 'Send by E-Mail' => '',
+ 'Sep' => '',
+ 'September' => '',
+ 'Service' => '',
+ 'Service Items' => '',
+ 'Service Number missing!' => '',
+ 'Services' => '',
+ 'Setup Templates' => '',
+ 'Ship' => '',
+ 'Ship to' => '',
+ 'Ship via' => '',
+ 'Short' => '',
+ 'Signature' => '',
+ 'Sold' => '',
+ 'Source' => '',
+ 'Standard' => '',
+ 'Statement' => '',
+ 'Statement Balance' => '',
+ 'Statement sent to' => '',
+ 'Statements sent to printer!' => '',
+ 'Stock' => '',
+ 'Stock Assembly' => '',
+ 'Stylesheet' => '',
+ 'Subject' => '',
+ 'Subtotal' => '',
+ 'System' => '',
+ 'Tax' => '',
+ 'Tax Accounts' => '',
+ 'Tax Included' => '',
+ 'Tax collected' => '',
+ 'Tax paid' => '',
+ 'Taxable' => '',
+ 'Template saved!' => '',
+ 'Templates' => '',
+ 'Terms: Net' => '',
+ 'The following Datasets are not in use and can be deleted' => '',
+ 'The following Datasets need to be updated' => '',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => '',
+ 'To' => '',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => '',
+ 'Top Level' => '',
+ 'Total' => '',
+ 'Transaction Date missing!' => '',
+ 'Transaction deleted!' => '',
+ 'Transaction posted!' => '',
+ 'Transaction reversal enforced for all dates' => '',
+ 'Transaction reversal enforced up to' => '',
+ 'Transactions' => '',
+ 'Transactions exist, cannot delete customer!' => '',
+ 'Transactions exist, cannot delete vendor!' => '',
+ 'Transactions exist; cannot delete account!' => '',
+ 'Trial Balance' => '',
+ 'Unit' => '',
+ 'Unit of measure' => '',
+ 'Update' => '',
+ 'Update Dataset' => '',
+ 'Updated' => '',
+ 'Use Templates' => '',
+ 'User' => '',
+ 'User deleted!' => '',
+ 'User saved!' => '',
+ 'Vendor' => '',
+ 'Vendor Invoice' => '',
+ 'Vendor deleted!' => '',
+ 'Vendor missing!' => '',
+ 'Vendor not on file!' => '',
+ 'Vendor saved!' => '',
+ 'Vendors' => '',
+ 'Version' => '',
+ 'Weight' => '',
+ 'Weight Unit' => '',
+ 'What type of item is this?' => '',
+ 'Year End' => '',
+ 'Yes' => '',
+ 'You are logged out!' => '',
+ 'You did not enter a name!' => '',
+ 'You must enter a host and port for local and remote connections!' => '',
+ 'as at' => '',
+ 'collected on sales' => '',
+ 'days' => '',
+ 'does not exist' => '',
+ 'ea' => '',
+ 'emailed to' => '',
+ 'for Period' => '',
+ 'hr' => '',
+ 'is already a member!' => '',
+ 'is not a member!' => '',
+ 'localhost' => '',
+ 'locked!' => '',
+ 'paid on purchases' => '',
+ 'sent to printer' => '',
+ 'successfully created!' => '',
+ 'successfully deleted!' => '',
+ 'to' => '',
+ 'website' => '',
+};
+
+1;
diff --git a/sql-ledger/locale/en_GB/am b/sql-ledger/locale/en_GB/am
new file mode 100644
index 0000000..6e322ca
--- /dev/null
+++ b/sql-ledger/locale/en_GB/am
@@ -0,0 +1,139 @@
+$self{texts} = {
+ 'AP' => 'Purchases',
+ 'AR' => 'Sales',
+ 'Account' => 'Account',
+ 'Account Number' => 'Account Number',
+ 'Account Number missing!' => 'Account Number missing!',
+ 'Account Type' => 'Account Type',
+ 'Account Type missing!' => 'Account Type missing!',
+ 'Account deleted!' => 'Account deleted!',
+ 'Account saved!' => 'Account saved!',
+ 'Add Account' => 'Add Account',
+ 'Add GIFI' => 'Add GIFI',
+ 'Address' => 'Address',
+ 'Asset' => 'Asset',
+ 'Audit Control' => 'Audit Control',
+ 'Backup sent to' => 'Backup sent to',
+ 'Books are open' => 'Books are open',
+ 'Business Number' => 'Business Number',
+ 'COGS' => 'COGS',
+ 'Cannot delete account!' => 'Cannot delete account!',
+ 'Cannot delete default account!' => 'Cannot delete default account!',
+ 'Cannot save account!' => 'Cannot save account!',
+ 'Cannot save preferences!' => 'Cannot save preferences!',
+ 'Character Set' => 'Character Set',
+ 'Chart of Accounts' => 'Chart of Accounts',
+ 'Close Books up to' => 'Close Books up to',
+ 'Company' => 'Company',
+ 'Continue' => 'Continue',
+ 'Copy to COA' => 'Copy to COA',
+ 'Credit' => 'Credit',
+ 'Date Format' => 'Date Format',
+ 'Debit' => 'Debit',
+ 'Delete' => 'Delete',
+ 'Delete Account' => 'Delete Account',
+ 'Description' => 'Description',
+ 'Dropdown Limit' => 'Dropdown Limit',
+ 'E-mail' => 'E-mail',
+ 'Edit' => 'Edit',
+ 'Edit Account' => 'Edit Account',
+ 'Edit GIFI' => 'Edit GIFI',
+ 'Edit Preferences for' => 'Edit Preferences for',
+ 'Edit Template' => 'Edit Template',
+ 'Enforce transaction reversal for all dates' => 'Enforce transaction reversal for all dates',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies',
+ 'Equity' => 'Equity',
+ 'Expense' => 'Expense',
+ 'Expense Account' => 'Expense Account',
+ 'Expense/Asset' => 'Expense/Asset',
+ 'Fax' => 'Fax',
+ 'Foreign Exchange Gain' => 'Foreign Exchange Gain',
+ 'Foreign Exchange Loss' => 'Foreign Exchange Loss',
+ 'GIFI' => 'GIFI',
+ 'GIFI deleted!' => 'GIFI deleted!',
+ 'GIFI missing!' => 'GIFI missing!',
+ 'GIFI saved!' => 'GIFI saved!',
+ 'Heading' => 'Heading',
+ 'Include in drop-down menus' => 'Include in drop-down menus',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Include this account on debtor/creditor forms to set debtor/creditor taxable?',
+ 'Income' => 'Revenue',
+ 'Income Account' => 'Revenue Account',
+ 'Inventory' => 'Inventory',
+ 'Inventory Account' => 'Inventory Account',
+ 'Is this a summary account to record' => 'Is this a summary account to record',
+ 'Language' => 'Language',
+ 'Last Invoice Number' => 'Last Invoice Number',
+ 'Last Numbers & Default Accounts' => 'Last Numbers & Default Accounts',
+ 'Last Purchase Order Number' => 'Last Purchase Order Number',
+ 'Last Sales Order Number' => 'Last Sales Order Number',
+ 'Liability' => 'Liability',
+ 'Link' => 'Link',
+ 'Name' => 'Name',
+ 'No' => 'No',
+ 'No email address for' => 'No email address for',
+ 'Number' => 'Number',
+ 'Number Format' => 'Number Format',
+ 'Parts Inventory' => 'Parts Inventory',
+ 'Password' => 'Password',
+ 'Payables' => 'Payables',
+ 'Payment' => 'Payment',
+ 'Phone' => 'Phone',
+ 'Preferences saved!' => 'Preferences saved!',
+ 'Rate' => 'Rate',
+ 'Receivables' => 'Receivables',
+ 'Sales' => 'Sales',
+ 'Save' => 'Save',
+ 'Service Items' => 'Service Items',
+ 'Ship via' => 'Ship via',
+ 'Signature' => 'Signature',
+ 'Stylesheet' => 'Stylesheet',
+ 'Tax' => 'Tax',
+ 'Tax Accounts' => 'Tax Accounts',
+ 'Template saved!' => 'Template saved!',
+ 'Transaction reversal enforced for all dates' => 'Transaction reversal enforced for all dates',
+ 'Transaction reversal enforced up to' => 'Transaction reversal enforced up to',
+ 'Transactions exist; cannot delete account!' => 'Transactions exist; cannot delete account!',
+ 'Weight Unit' => 'Weight Unit',
+ 'Year End' => 'Year End',
+ 'Yes' => 'Yes',
+ 'does not exist' => 'does not exist',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_gifi' => 'add_gifi',
+ 'audit_control' => 'audit_control',
+ 'backup' => 'backup',
+ 'config' => 'config',
+ 'continue' => 'continue',
+ 'copy_to_coa' => 'copy_to_coa',
+ 'delete' => 'delete',
+ 'delete_account' => 'delete_account',
+ 'delete_gifi' => 'delete_gifi',
+ 'display_form' => 'display_form',
+ 'display_stylesheet' => 'display_stylesheet',
+ 'doclose' => 'doclose',
+ 'edit' => 'edit',
+ 'edit_gifi' => 'edit_gifi',
+ 'edit_template' => 'edit_template',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gifi_footer' => 'gifi_footer',
+ 'gifi_header' => 'gifi_header',
+ 'list' => 'list',
+ 'list_gifi' => 'list_gifi',
+ 'save' => 'save',
+ 'save_account' => 'save_account',
+ 'save_gifi' => 'save_gifi',
+ 'save_preferences' => 'save_preferences',
+ 'save_template' => 'save_template',
+ 'add_account' => 'add_account',
+ 'continue' => 'continue',
+ 'copy_to_coa' => 'copy_to_coa',
+ 'delete' => 'delete',
+ 'edit' => 'edit',
+ 'edit_account' => 'edit_account',
+ 'save' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/en_GB/ap b/sql-ledger/locale/en_GB/ap
new file mode 100644
index 0000000..4cad878
--- /dev/null
+++ b/sql-ledger/locale/en_GB/ap
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AP Transaction' => 'Purchase Transaction',
+ 'AP Transactions' => 'Purchase Transactions',
+ 'Account' => 'Account',
+ 'Add Accounts Payables Transaction' => 'Add Purchase Transaction',
+ 'Address' => 'Address',
+ 'Amount' => 'Amount',
+ 'Amount Due' => 'Amount Due',
+ 'Apr' => 'Apr',
+ 'April' => 'April',
+ 'Are you sure you want to delete Transaction' => 'Are you sure you want to delete Transaction',
+ 'Aug' => 'Aug',
+ 'August' => 'August',
+ 'Cannot delete transaction!' => 'Cannot delete transaction!',
+ 'Cannot post payment for a closed period!' => 'Cannot post payment for a closed period!',
+ 'Cannot post transaction for a closed period!' => 'Cannot post transaction for a closed period!',
+ 'Cannot post transaction!' => 'Cannot post transaction!',
+ 'Closed' => 'Closed',
+ 'Confirm!' => 'Confirm!',
+ 'Continue' => 'Continue',
+ 'Currency' => 'Currency',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'Date',
+ 'Date Paid' => 'Date Paid',
+ 'Dec' => 'Dec',
+ 'December' => 'December',
+ 'Delete' => 'Delete',
+ 'Description' => 'Description',
+ 'Due Date' => 'Due Date',
+ 'Due Date missing!' => 'Due Date missing!',
+ 'Edit Accounts Payables Transaction' => 'Edit Creditor Transaction',
+ 'Employee' => 'Employee',
+ 'Exch' => 'Exch',
+ 'Exchangerate' => 'Exchangerate',
+ 'Exchangerate for payment missing!' => 'Exchangerate for payment missing!',
+ 'Exchangerate missing!' => 'Exchangerate missing!',
+ 'Feb' => 'Feb',
+ 'February' => 'February',
+ 'From' => 'From',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Include in Report',
+ 'Invoice' => 'Invoice',
+ 'Invoice Date' => 'Invoice Date',
+ 'Invoice Date missing!' => 'Invoice Date missing!',
+ 'Invoice Number' => 'Invoice Number',
+ 'Invoice Number missing!' => 'Invoice Number missing!',
+ 'Jan' => 'Jan',
+ 'January' => 'January',
+ 'Jul' => 'Jul',
+ 'July' => 'July',
+ 'Jun' => 'Jun',
+ 'June' => 'June',
+ 'Mar' => 'Mar',
+ 'March' => 'March',
+ 'May' => 'May',
+ 'May ' => 'May ',
+ 'Notes' => 'Notes',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Number',
+ 'Oct' => 'Oct',
+ 'October' => 'October',
+ 'Open' => 'Open',
+ 'Order' => 'Order',
+ 'Order Number' => 'Order Number',
+ 'Paid' => 'Paid',
+ 'Payment date missing!' => 'Payment date missing!',
+ 'Payments' => 'Payments',
+ 'Post' => 'Post',
+ 'Post as new' => 'Post as new',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Sep' => 'Sep',
+ 'September' => 'September',
+ 'Source' => 'Source',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'Tax',
+ 'Tax Included' => 'Tax Included',
+ 'Total' => 'Total',
+ 'Transaction deleted!' => 'Transaction deleted!',
+ 'Transaction posted!' => 'Transaction posted!',
+ 'Update' => 'Update',
+ 'Vendor' => 'Vendor',
+ 'Vendor Invoice' => 'Vendor Invoice',
+ 'Vendor missing!' => 'Vendor missing!',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'Yes' => 'Yes',
+ 'to' => 'to',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_subtotal' => 'ap_subtotal',
+ 'ap_transaction' => 'ap_transaction',
+ 'ap_transactions' => 'ap_transactions',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'yes' => 'yes',
+ 'purchase_transaction' => 'ap_transaction',
+ 'add_purchase_transaction' => 'add_accounts_payables_transaction',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'edit_creditor_transaction' => 'edit_accounts_payables_transaction',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'update' => 'update',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'yes' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/en_GB/ar b/sql-ledger/locale/en_GB/ar
new file mode 100644
index 0000000..926d80a
--- /dev/null
+++ b/sql-ledger/locale/en_GB/ar
@@ -0,0 +1,134 @@
+$self{texts} = {
+ 'AR Transaction' => 'Sales Transaction',
+ 'AR Transactions' => 'Sales Transactions',
+ 'Account' => 'Account',
+ 'Add Accounts Receivables Transaction' => 'Add Sales Transaction',
+ 'Address' => 'Address',
+ 'Amount' => 'Amount',
+ 'Amount Due' => 'Amount Due',
+ 'Apr' => 'Apr',
+ 'April' => 'April',
+ 'Are you sure you want to delete Transaction' => 'Are you sure you want to delete Transaction',
+ 'Aug' => 'Aug',
+ 'August' => 'August',
+ 'Cannot delete transaction!' => 'Cannot delete transaction!',
+ 'Cannot post payment for a closed period!' => 'Cannot post payment for a closed period!',
+ 'Cannot post transaction for a closed period!' => 'Cannot post transaction for a closed period!',
+ 'Cannot post transaction!' => 'Cannot post transaction!',
+ 'Closed' => 'Closed',
+ 'Confirm!' => 'Confirm!',
+ 'Continue' => 'Continue',
+ 'Credit Limit' => 'Credit Limit',
+ 'Currency' => 'Currency',
+ 'Customer' => 'Customer',
+ 'Customer missing!' => 'Customer missing!',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'Date',
+ 'Date Paid' => 'Date Paid',
+ 'Dec' => 'Dec',
+ 'December' => 'December',
+ 'Delete' => 'Delete',
+ 'Description' => 'Description',
+ 'Due Date' => 'Due Date',
+ 'Due Date missing!' => 'Due Date missing!',
+ 'Edit Accounts Receivables Transaction' => 'Edit Debtor Transaction',
+ 'Exch' => 'Exch',
+ 'Exchangerate' => 'Exchangerate',
+ 'Exchangerate for payment missing!' => 'Exchangerate for payment missing!',
+ 'Exchangerate missing!' => 'Exchangerate missing!',
+ 'Feb' => 'Feb',
+ 'February' => 'February',
+ 'From' => 'From',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Include in Report',
+ 'Invoice' => 'Invoice',
+ 'Invoice Date' => 'Invoice Date',
+ 'Invoice Date missing!' => 'Invoice Date missing!',
+ 'Invoice Number' => 'Invoice Number',
+ 'Invoice Number missing!' => 'Invoice Number missing!',
+ 'Jan' => 'Jan',
+ 'January' => 'January',
+ 'Jul' => 'Jul',
+ 'July' => 'July',
+ 'Jun' => 'Jun',
+ 'June' => 'June',
+ 'Mar' => 'Mar',
+ 'March' => 'March',
+ 'May' => 'May',
+ 'May ' => 'May ',
+ 'Notes' => 'Notes',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Number',
+ 'Oct' => 'Oct',
+ 'October' => 'October',
+ 'Open' => 'Open',
+ 'Order' => 'Order',
+ 'Order Number' => 'Order Number',
+ 'Paid' => 'Paid',
+ 'Payment date missing!' => 'Payment date missing!',
+ 'Payments' => 'Payments',
+ 'Post' => 'Post',
+ 'Post as new' => 'Post as new',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Remaining' => 'Remaining',
+ 'Sales Invoice' => 'Sales Invoice',
+ 'Salesperson' => 'Salesperson',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Sep' => 'Sep',
+ 'September' => 'September',
+ 'Ship via' => 'Ship via',
+ 'Source' => 'Source',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'Tax',
+ 'Tax Included' => 'Tax Included',
+ 'Total' => 'Total',
+ 'Transaction deleted!' => 'Transaction deleted!',
+ 'Transaction posted!' => 'Transaction posted!',
+ 'Update' => 'Update',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'Yes' => 'Yes',
+ 'to' => 'to',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_subtotal' => 'ar_subtotal',
+ 'ar_transaction' => 'ar_transaction',
+ 'ar_transactions' => 'ar_transactions',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'yes' => 'yes',
+ 'sales_transaction' => 'ar_transaction',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'sales_invoice' => 'sales_invoice',
+ 'update' => 'update',
+ 'yes' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/en_GB/arap b/sql-ledger/locale/en_GB/arap
new file mode 100644
index 0000000..fe711dd
--- /dev/null
+++ b/sql-ledger/locale/en_GB/arap
@@ -0,0 +1,30 @@
+$self{texts} = {
+ 'Address' => 'Address',
+ 'Continue' => 'Continue',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Description' => 'Description',
+ 'Number' => 'Number',
+ 'Project not on file!' => 'Project not on file!',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Vendor not on file!' => 'Vendor not on file!',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'project_selected' => 'project_selected',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'continue' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/en_GB/bp b/sql-ledger/locale/en_GB/bp
new file mode 100644
index 0000000..fa9e347
--- /dev/null
+++ b/sql-ledger/locale/en_GB/bp
@@ -0,0 +1,54 @@
+$self{texts} = {
+ 'Account' => 'Account',
+ 'Are you sure you want to remove the marked entries from the queue?' => 'Are you sure you want to remove the marked entries from the queue?',
+ 'Cannot remove files!' => 'Cannot remove files!',
+ 'Checks' => 'Cheques',
+ 'Confirm!' => 'Confirm!',
+ 'Continue' => 'Continue',
+ 'Customer' => 'Debtor',
+ 'Date' => 'Date',
+ 'From' => 'From',
+ 'Invoice' => 'Invoice',
+ 'Invoice Number' => 'Invoice Number',
+ 'Marked entries printed!' => 'Marked entries printed!',
+ 'Order' => 'Order',
+ 'Order Number' => 'Order Number',
+ 'Packing Lists' => 'Packing Lists',
+ 'Print' => 'Print',
+ 'Printing ... ' => 'Printing ... ',
+ 'Purchase Orders' => 'Purchase Orders',
+ 'Quotation' => 'Quotation',
+ 'Quotation Number' => 'Quotation Number',
+ 'Quotations' => 'Quotations',
+ 'RFQs' => 'RFQs',
+ 'Receipts' => 'Receipts',
+ 'Reference' => 'Reference',
+ 'Remove' => 'Remove',
+ 'Removed spoolfiles!' => 'Removed spoolfiles!',
+ 'Removing marked entries from queue ...' => 'Removing marked entries from queue ...',
+ 'Sales Invoices' => 'Sales Invoices',
+ 'Sales Orders' => 'Sales Orders',
+ 'Select all' => 'Select all',
+ 'Spoolfile' => 'Spoolfile',
+ 'To' => 'To',
+ 'Vendor' => 'Creditor',
+ 'Yes' => 'Yes',
+ 'done' => 'done',
+};
+
+$self{subs} = {
+ 'continue' => 'continue',
+ 'list_spool' => 'list_spool',
+ 'print' => 'print',
+ 'remove' => 'remove',
+ 'search' => 'search',
+ 'select_all' => 'select_all',
+ 'yes' => 'yes',
+ 'continue' => 'continue',
+ 'print' => 'print',
+ 'remove' => 'remove',
+ 'select_all' => 'select_all',
+ 'yes' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/en_GB/ca b/sql-ledger/locale/en_GB/ca
new file mode 100644
index 0000000..ed5ddc2
--- /dev/null
+++ b/sql-ledger/locale/en_GB/ca
@@ -0,0 +1,50 @@
+$self{texts} = {
+ 'Account' => 'Account',
+ 'Apr' => 'Apr',
+ 'April' => 'April',
+ 'Aug' => 'Aug',
+ 'August' => 'August',
+ 'Balance' => 'Balance',
+ 'Chart of Accounts' => 'Chart of Accounts',
+ 'Credit' => 'Credit',
+ 'Date' => 'Date',
+ 'Debit' => 'Debit',
+ 'Dec' => 'Dec',
+ 'December' => 'December',
+ 'Description' => 'Description',
+ 'Feb' => 'Feb',
+ 'February' => 'February',
+ 'From' => 'From',
+ 'GIFI' => 'GIFI',
+ 'Include in Report' => 'Include in Report',
+ 'Jan' => 'Jan',
+ 'January' => 'January',
+ 'Jul' => 'Jul',
+ 'July' => 'July',
+ 'Jun' => 'Jun',
+ 'June' => 'June',
+ 'List Transactions' => 'List Transactions',
+ 'Mar' => 'Mar',
+ 'March' => 'March',
+ 'May' => 'May',
+ 'May ' => 'May ',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Oct' => 'Oct',
+ 'October' => 'October',
+ 'Reference' => 'Reference',
+ 'Sep' => 'Sep',
+ 'September' => 'September',
+ 'Subtotal' => 'Subtotal',
+ 'to' => 'to',
+};
+
+$self{subs} = {
+ 'ca_subtotal' => 'ca_subtotal',
+ 'chart_of_accounts' => 'chart_of_accounts',
+ 'list' => 'list',
+ 'list_transactions' => 'list_transactions',
+ 'list_transactions' => 'list_transactions',
+};
+
+1;
diff --git a/sql-ledger/locale/en_GB/cp b/sql-ledger/locale/en_GB/cp
new file mode 100644
index 0000000..fd0ade6
--- /dev/null
+++ b/sql-ledger/locale/en_GB/cp
@@ -0,0 +1,77 @@
+$self{texts} = {
+ 'Account' => 'Account',
+ 'Address' => 'Address',
+ 'Amount' => 'Amount',
+ 'Amount does not equal applied!' => 'Amount does not equal applied!',
+ 'Amount missing!' => 'Amount missing!',
+ 'Applied' => 'Applied',
+ 'Cannot post payment!' => 'Cannot post payment!',
+ 'Cannot process payment for a closed period!' => 'Cannot process payment for a closed period!',
+ 'Check' => 'Cheque',
+ 'Check printed!' => 'Check printed!',
+ 'Check printing failed!' => 'Check printing failed!',
+ 'Continue' => 'Continue',
+ 'Currency' => 'Currency',
+ 'Customer' => 'Customer',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'Date',
+ 'Date missing!' => 'Date missing!',
+ 'Description' => 'Description',
+ 'Due' => 'Due',
+ 'Exchangerate' => 'Exchangerate',
+ 'From' => 'From',
+ 'Invoice' => 'Invoice',
+ 'Invoices' => 'Invoices',
+ 'Nothing applied!' => 'Nothing applied!',
+ 'Number' => 'Number',
+ 'Paid in full' => 'Paid in full',
+ 'Payment' => 'Payment',
+ 'Payment posted!' => 'Payment posted!',
+ 'Post' => 'Post',
+ 'Print' => 'Print',
+ 'Printer' => 'Printer',
+ 'Project not on file!' => 'Project not on file!',
+ 'Receipt' => 'Receipt',
+ 'Receipt printed!' => 'Receipt printed!',
+ 'Receipt printing failed!' => 'Receipt printing failed!',
+ 'Reference' => 'Reference',
+ 'Screen' => 'Screen',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Update' => 'Update',
+ 'Vendor' => 'Vendor',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'to' => 'to',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'list_invoices' => 'list_invoices',
+ 'name_selected' => 'name_selected',
+ 'payment' => 'payment',
+ 'post' => 'post',
+ 'print' => 'print',
+ 'project_selected' => 'project_selected',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'vendor_details' => 'vendor_details',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'continue' => 'continue',
+ 'post' => 'post',
+ 'print' => 'print',
+ 'update' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/en_GB/ct b/sql-ledger/locale/en_GB/ct
new file mode 100644
index 0000000..3daa8f4
--- /dev/null
+++ b/sql-ledger/locale/en_GB/ct
@@ -0,0 +1,71 @@
+$self{texts} = {
+ 'Add' => 'Add',
+ 'Address' => 'Address',
+ 'All' => 'All',
+ 'Bcc' => 'Bcc',
+ 'Cannot delete customer!' => 'Cannot delete customer!',
+ 'Cannot delete vendor!' => 'Cannot delete vendor!',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Contact',
+ 'Continue' => 'Continue',
+ 'Credit Limit' => 'Credit Limit',
+ 'Customer deleted!' => 'Customer deleted!',
+ 'Customer saved!' => 'Customer saved!',
+ 'Customers' => 'Customers',
+ 'Delete' => 'Delete',
+ 'Discount' => 'Discount',
+ 'E-mail' => 'E-mail',
+ 'Edit Customer' => 'Edit Customer',
+ 'Edit Vendor' => 'Edit Vendor',
+ 'Fax' => 'Fax',
+ 'Include in Report' => 'Include in Report',
+ 'Invoice' => 'Invoice',
+ 'Name' => 'Name',
+ 'Name missing!' => 'Name missing!',
+ 'Notes' => 'Notes',
+ 'Number' => 'Number',
+ 'Order' => 'Order',
+ 'Orphaned' => 'Orphaned',
+ 'Phone' => 'Phone',
+ 'Save' => 'Save',
+ 'Ship to' => 'Ship to',
+ 'Tax Included' => 'Tax Included',
+ 'Taxable' => 'Taxable',
+ 'Terms: Net' => 'Terms: Net',
+ 'Transactions exist, cannot delete customer!' => 'Transactions exist, cannot delete customer!',
+ 'Transactions exist, cannot delete vendor!' => 'Transactions exist, cannot delete vendor!',
+ 'Vendor deleted!' => 'Vendor deleted!',
+ 'Vendor saved!' => 'Vendor saved!',
+ 'Vendors' => 'Vendors',
+ 'days' => 'days',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'customer_invoice' => 'customer_invoice',
+ 'customer_order' => 'customer_order',
+ 'delete' => 'delete',
+ 'delete_customer' => 'delete_customer',
+ 'delete_vendor' => 'delete_vendor',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'invoice' => 'invoice',
+ 'list_names' => 'list_names',
+ 'order' => 'order',
+ 'save' => 'save',
+ 'save_customer' => 'save_customer',
+ 'save_vendor' => 'save_vendor',
+ 'search' => 'search',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'vendor_order' => 'vendor_order',
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'invoice' => 'invoice',
+ 'order' => 'order',
+ 'save' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/en_GB/gl b/sql-ledger/locale/en_GB/gl
new file mode 100644
index 0000000..dae8e86
--- /dev/null
+++ b/sql-ledger/locale/en_GB/gl
@@ -0,0 +1,124 @@
+$self{texts} = {
+ 'AP Transaction' => 'Purchase Transaction',
+ 'AR Transaction' => 'Sales Transaction',
+ 'Account' => 'Account',
+ 'Add General Ledger Transaction' => 'Add General Ledger Transaction',
+ 'Address' => 'Address',
+ 'All' => 'All',
+ 'Apr' => 'Apr',
+ 'April' => 'April',
+ 'Are you sure you want to delete Transaction' => 'Are you sure you want to delete Transaction',
+ 'Asset' => 'Asset',
+ 'Aug' => 'Aug',
+ 'August' => 'August',
+ 'Balance' => 'Balance',
+ 'Cannot delete transaction!' => 'Cannot delete transaction!',
+ 'Cannot have a value in both Debit and Credit!' => 'Cannot have a value in both Debit and Credit!',
+ 'Cannot post a transaction without a value!' => 'Cannot post a transaction without a value!',
+ 'Cannot post transaction for a closed period!' => 'Cannot post transaction for a closed period!',
+ 'Confirm!' => 'Confirm!',
+ 'Continue' => 'Continue',
+ 'Credit' => 'Credit',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'Date',
+ 'Debit' => 'Debit',
+ 'Debit and credit out of balance!' => 'Debit and credit out of balance!',
+ 'Dec' => 'Dec',
+ 'December' => 'December',
+ 'Delete' => 'Delete',
+ 'Description' => 'Description',
+ 'Edit General Ledger Transaction' => 'Edit General Ledger Transaction',
+ 'Equity' => 'Equity',
+ 'Expense' => 'Expense',
+ 'Feb' => 'Feb',
+ 'February' => 'February',
+ 'From' => 'From',
+ 'GIFI' => 'GIFI',
+ 'GL Transaction' => 'GL Transaction',
+ 'General Ledger' => 'General Ledger',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Include in Report',
+ 'Income' => 'Revenue',
+ 'Jan' => 'Jan',
+ 'January' => 'January',
+ 'Jul' => 'Jul',
+ 'July' => 'July',
+ 'Jun' => 'Jun',
+ 'June' => 'June',
+ 'Liability' => 'Liability',
+ 'Mar' => 'Mar',
+ 'March' => 'March',
+ 'May' => 'May',
+ 'May ' => 'May ',
+ 'Notes' => 'Notes',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Number',
+ 'Oct' => 'Oct',
+ 'October' => 'October',
+ 'Post' => 'Post',
+ 'Post as new' => 'Post as new',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Reference' => 'Reference',
+ 'Reference missing!' => 'Reference missing!',
+ 'Reports' => 'Reports',
+ 'Sales Invoice' => 'Sales Invoice',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Sep' => 'Sep',
+ 'September' => 'September',
+ 'Source' => 'Source',
+ 'Subtotal' => 'Subtotal',
+ 'Transaction Date missing!' => 'Transaction Date missing!',
+ 'Transaction deleted!' => 'Transaction deleted!',
+ 'Transaction posted!' => 'Transaction posted!',
+ 'Update' => 'Update',
+ 'Vendor Invoice' => 'Vendor Invoice',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'Yes' => 'Yes',
+ 'to' => 'to',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'form_row' => 'form_row',
+ 'generate_report' => 'generate_report',
+ 'gl_subtotal' => 'gl_subtotal',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'yes' => 'yes',
+ 'purchase_transaction' => 'ap_transaction',
+ 'sales_transaction' => 'ar_transaction',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'gl_transaction' => 'gl_transaction',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'sales_invoice' => 'sales_invoice',
+ 'update' => 'update',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'yes' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/en_GB/ic b/sql-ledger/locale/en_GB/ic
new file mode 100644
index 0000000..2e61619
--- /dev/null
+++ b/sql-ledger/locale/en_GB/ic
@@ -0,0 +1,205 @@
+$self{texts} = {
+ 'Active' => 'Active',
+ 'Add' => 'Add',
+ 'Add Assembly' => 'Add Assembly',
+ 'Add Part' => 'Add Part',
+ 'Add Purchase Order' => 'Add Purchase Order',
+ 'Add Sales Order' => 'Add Sales Order',
+ 'Add Service' => 'Add Service',
+ 'Address' => 'Address',
+ 'Apr' => 'Apr',
+ 'April' => 'April',
+ 'Assemblies' => 'Assemblies',
+ 'Assemblies restocked!' => 'Assemblies restocked!',
+ 'Assembly Number missing!' => 'Assembly Number missing!',
+ 'Attachment' => 'Attachment',
+ 'Aug' => 'Aug',
+ 'August' => 'August',
+ 'BOM' => 'BOM',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Bin',
+ 'Bought' => 'Bought',
+ 'COGS' => 'COGS',
+ 'Cannot delete item!' => 'Cannot delete item!',
+ 'Cannot stock assemblies!' => 'Cannot stock assemblies!',
+ 'Cc' => 'Cc',
+ 'Closed' => 'Closed',
+ 'Contact' => 'Contact',
+ 'Continue' => 'Continue',
+ 'Copies' => 'Copies',
+ 'Dec' => 'Dec',
+ 'December' => 'December',
+ 'Delete' => 'Delete',
+ 'Delivery Date' => 'Delivery Date',
+ 'Description' => 'Description',
+ 'Drawing' => 'Drawing',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'E-mail address missing!',
+ 'Edit Assembly' => 'Edit Assembly',
+ 'Edit Part' => 'Edit Part',
+ 'Edit Service' => 'Edit Service',
+ 'Expense' => 'Expense',
+ 'Extended' => 'Extended',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'February',
+ 'From' => 'From',
+ 'Group' => 'Group',
+ 'Group Items' => 'Group Items',
+ 'Image' => 'Image',
+ 'In-line' => 'In-line',
+ 'Include in Report' => 'Include in Report',
+ 'Income' => 'Revenue',
+ 'Individual Items' => 'Individual Items',
+ 'Inventory' => 'Inventory',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'Inventory quantity must be zero before you can set this assembly obsolete!',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'Inventory quantity must be zero before you can set this part obsolete!',
+ 'Invoice' => 'Invoice',
+ 'Invoice Date missing!' => 'Invoice Date missing!',
+ 'Invoice Number' => 'Invoice Number',
+ 'Invoice Number missing!' => 'Invoice Number missing!',
+ 'Item deleted!' => 'Item deleted!',
+ 'Item not on file!' => 'Item not on file!',
+ 'Jan' => 'Jan',
+ 'January' => 'January',
+ 'Jul' => 'Jul',
+ 'July' => 'July',
+ 'Jun' => 'Jun',
+ 'June' => 'June',
+ 'Last Cost' => 'Last Cost',
+ 'Line Total' => 'Line Total',
+ 'Link Accounts' => 'Link Accounts',
+ 'List Price' => 'List Price',
+ 'Make' => 'Make',
+ 'Mar' => 'Mar',
+ 'March' => 'March',
+ 'May' => 'May',
+ 'May ' => 'May ',
+ 'Message' => 'Message',
+ 'Microfiche' => 'Microfiche',
+ 'Model' => 'Model',
+ 'Name' => 'Name',
+ 'No.' => 'No.',
+ 'Notes' => 'Notes',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Number',
+ 'Number missing in Row' => 'Number missing in Row',
+ 'Obsolete' => 'Obsolete',
+ 'Oct' => 'Oct',
+ 'October' => 'October',
+ 'On Hand' => 'On Hand',
+ 'On Order' => 'On Order',
+ 'Order' => 'Order',
+ 'Order Date missing!' => 'Order Date missing!',
+ 'Order Number' => 'Order Number',
+ 'Order Number missing!' => 'Order Number missing!',
+ 'Ordered' => 'Ordered',
+ 'Orphaned' => 'Orphaned',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Packing List',
+ 'Packing List Date missing!' => 'Packing List Date missing!',
+ 'Packing List Number missing!' => 'Packing List Number missing!',
+ 'Part' => 'Part',
+ 'Part Number missing!' => 'Part Number missing!',
+ 'Parts' => 'Parts',
+ 'Phone' => 'Phone',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Price',
+ 'Printer' => 'Printer',
+ 'Project' => 'Project',
+ 'Purchase Order' => 'Purchase Order',
+ 'Qty' => 'Qty',
+ 'ROP' => 'ROP',
+ 'Recd' => 'Recd',
+ 'Required by' => 'Required by',
+ 'Sales' => 'Sales',
+ 'Sales Order' => 'Sales Order',
+ 'Save' => 'Save',
+ 'Save as new' => 'Save as new',
+ 'Screen' => 'Screen',
+ 'Select from one of the items below' => 'Select from one of the items below',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sell Price' => 'Sell Price',
+ 'Sep' => 'Sep',
+ 'September' => 'September',
+ 'Service' => 'Service',
+ 'Service Number missing!' => 'Service Number missing!',
+ 'Services' => 'Services',
+ 'Ship' => 'Ship',
+ 'Ship to' => 'Ship to',
+ 'Short' => 'Short',
+ 'Sold' => 'Sold',
+ 'Stock' => 'Stock',
+ 'Stock Assembly' => 'Stock Assembly',
+ 'Subject' => 'Subject',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'Tax',
+ 'To' => 'To',
+ 'Top Level' => 'Top Level',
+ 'Total' => 'Total',
+ 'Unit' => 'Unit',
+ 'Unit of measure' => 'Unit of measure',
+ 'Update' => 'Update',
+ 'Updated' => 'Updated',
+ 'Weight' => 'Weight',
+ 'What type of item is this?' => 'What type of item is this?',
+ 'ea' => 'ea',
+ 'emailed to' => 'emailed to',
+ 'hr' => 'hr',
+ 'sent to printer' => 'sent to printer',
+ 'to' => 'to',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'assembly_row' => 'assembly_row',
+ 'check_form' => 'check_form',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'link_part' => 'link_part',
+ 'list_assemblies' => 'list_assemblies',
+ 'makemodel_row' => 'makemodel_row',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'parts_subtotal' => 'parts_subtotal',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'restock_assemblies' => 'restock_assemblies',
+ 'save' => 'save',
+ 'save_as_new' => 'save_as_new',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'stock_assembly' => 'stock_assembly',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'add' => 'add',
+ 'add_assembly' => 'add_assembly',
+ 'add_part' => 'add_part',
+ 'add_service' => 'add_service',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'edit_assembly' => 'edit_assembly',
+ 'edit_part' => 'edit_part',
+ 'edit_service' => 'edit_service',
+ 'save' => 'save',
+ 'save_as_new' => 'save_as_new',
+ 'update' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/en_GB/io b/sql-ledger/locale/en_GB/io
new file mode 100644
index 0000000..1deb6dc
--- /dev/null
+++ b/sql-ledger/locale/en_GB/io
@@ -0,0 +1,108 @@
+$self{texts} = {
+ 'Add Purchase Order' => 'Add Purchase Order',
+ 'Add Sales Order' => 'Add Sales Order',
+ 'Address' => 'Address',
+ 'Apr' => 'Apr',
+ 'April' => 'April',
+ 'Attachment' => 'Attachment',
+ 'Aug' => 'Aug',
+ 'August' => 'August',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Bin',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Contact',
+ 'Continue' => 'Continue',
+ 'Copies' => 'Copies',
+ 'Dec' => 'Dec',
+ 'December' => 'December',
+ 'Delivery Date' => 'Delivery Date',
+ 'Description' => 'Description',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'E-mail address missing!',
+ 'Extended' => 'Extended',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'February',
+ 'Group' => 'Group',
+ 'Group Items' => 'Group Items',
+ 'In-line' => 'In-line',
+ 'Invoice' => 'Invoice',
+ 'Invoice Date missing!' => 'Invoice Date missing!',
+ 'Invoice Number missing!' => 'Invoice Number missing!',
+ 'Item not on file!' => 'Item not on file!',
+ 'Jan' => 'Jan',
+ 'January' => 'January',
+ 'Jul' => 'Jul',
+ 'July' => 'July',
+ 'Jun' => 'Jun',
+ 'June' => 'June',
+ 'Mar' => 'Mar',
+ 'March' => 'March',
+ 'May' => 'May',
+ 'May ' => 'May ',
+ 'Message' => 'Message',
+ 'Name' => 'Name',
+ 'No.' => 'No.',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Number',
+ 'Number missing in Row' => 'Number missing in Row',
+ 'Oct' => 'Oct',
+ 'October' => 'October',
+ 'Order' => 'Order',
+ 'Order Date missing!' => 'Order Date missing!',
+ 'Order Number missing!' => 'Order Number missing!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Packing List',
+ 'Packing List Date missing!' => 'Packing List Date missing!',
+ 'Packing List Number missing!' => 'Packing List Number missing!',
+ 'Part' => 'Part',
+ 'Phone' => 'Phone',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Price',
+ 'Printer' => 'Printer',
+ 'Project' => 'Project',
+ 'Purchase Order' => 'Purchase Order',
+ 'Qty' => 'Qty',
+ 'Recd' => 'Recd',
+ 'Required by' => 'Required by',
+ 'Sales Order' => 'Sales Order',
+ 'Screen' => 'Screen',
+ 'Select from one of the items below' => 'Select from one of the items below',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sep' => 'Sep',
+ 'September' => 'September',
+ 'Service' => 'Service',
+ 'Ship' => 'Ship',
+ 'Ship to' => 'Ship to',
+ 'Subject' => 'Subject',
+ 'To' => 'To',
+ 'Unit' => 'Unit',
+ 'What type of item is this?' => 'What type of item is this?',
+ 'emailed to' => 'emailed to',
+ 'sent to printer' => 'sent to printer',
+};
+
+$self{subs} = {
+ 'check_form' => 'check_form',
+ 'customer_details' => 'customer_details',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'continue' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/en_GB/ir b/sql-ledger/locale/en_GB/ir
new file mode 100644
index 0000000..a87c72a
--- /dev/null
+++ b/sql-ledger/locale/en_GB/ir
@@ -0,0 +1,180 @@
+$self{texts} = {
+ 'Account' => 'Account',
+ 'Add Purchase Order' => 'Add Purchase Order',
+ 'Add Sales Order' => 'Add Sales Order',
+ 'Add Vendor Invoice' => 'Add Vendor Invoice',
+ 'Address' => 'Address',
+ 'Amount' => 'Amount',
+ 'Apr' => 'Apr',
+ 'April' => 'April',
+ 'Are you sure you want to delete Invoice Number' => 'Are you sure you want to delete Invoice Number',
+ 'Attachment' => 'Attachment',
+ 'Aug' => 'Aug',
+ 'August' => 'August',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Bin',
+ 'Cannot delete invoice!' => 'Cannot delete invoice!',
+ 'Cannot post invoice for a closed period!' => 'Cannot post invoice for a closed period!',
+ 'Cannot post invoice!' => 'Cannot post invoice!',
+ 'Cannot post payment for a closed period!' => 'Cannot post payment for a closed period!',
+ 'Cc' => 'Cc',
+ 'Confirm!' => 'Confirm!',
+ 'Contact' => 'Contact',
+ 'Continue' => 'Continue',
+ 'Copies' => 'Copies',
+ 'Currency' => 'Currency',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'Date',
+ 'Dec' => 'Dec',
+ 'December' => 'December',
+ 'Delete' => 'Delete',
+ 'Delivery Date' => 'Delivery Date',
+ 'Description' => 'Description',
+ 'Due Date' => 'Due Date',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'E-mail address missing!',
+ 'Edit Vendor Invoice' => 'Edit Vendor Invoice',
+ 'Exch' => 'Exch',
+ 'Exchangerate' => 'Exchangerate',
+ 'Exchangerate for payment missing!' => 'Exchangerate for payment missing!',
+ 'Exchangerate missing!' => 'Exchangerate missing!',
+ 'Extended' => 'Extended',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'February',
+ 'Group' => 'Group',
+ 'Group Items' => 'Group Items',
+ 'In-line' => 'In-line',
+ 'Invoice' => 'Invoice',
+ 'Invoice Date' => 'Invoice Date',
+ 'Invoice Date missing!' => 'Invoice Date missing!',
+ 'Invoice Number' => 'Invoice Number',
+ 'Invoice Number missing!' => 'Invoice Number missing!',
+ 'Invoice deleted!' => 'Invoice deleted!',
+ 'Invoice posted!' => 'Invoice posted!',
+ 'Item not on file!' => 'Item not on file!',
+ 'Jan' => 'Jan',
+ 'January' => 'January',
+ 'Jul' => 'Jul',
+ 'July' => 'July',
+ 'Jun' => 'Jun',
+ 'June' => 'June',
+ 'Mar' => 'Mar',
+ 'March' => 'March',
+ 'May' => 'May',
+ 'May ' => 'May ',
+ 'Message' => 'Message',
+ 'Name' => 'Name',
+ 'No.' => 'No.',
+ 'Notes' => 'Notes',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Number',
+ 'Number missing in Row' => 'Number missing in Row',
+ 'Oct' => 'Oct',
+ 'October' => 'October',
+ 'Order' => 'Order',
+ 'Order Date missing!' => 'Order Date missing!',
+ 'Order Number' => 'Order Number',
+ 'Order Number missing!' => 'Order Number missing!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Packing List',
+ 'Packing List Date missing!' => 'Packing List Date missing!',
+ 'Packing List Number missing!' => 'Packing List Number missing!',
+ 'Part' => 'Part',
+ 'Payment date missing!' => 'Payment date missing!',
+ 'Payments' => 'Payments',
+ 'Phone' => 'Phone',
+ 'Post' => 'Post',
+ 'Post as new' => 'Post as new',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Price',
+ 'Printer' => 'Printer',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Purchase Order' => 'Purchase Order',
+ 'Qty' => 'Qty',
+ 'Recd' => 'Recd',
+ 'Record in' => 'Record in',
+ 'Required by' => 'Required by',
+ 'Sales Order' => 'Sales Order',
+ 'Screen' => 'Screen',
+ 'Select from one of the items below' => 'Select from one of the items below',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sep' => 'Sep',
+ 'September' => 'September',
+ 'Service' => 'Service',
+ 'Ship' => 'Ship',
+ 'Ship to' => 'Ship to',
+ 'Source' => 'Source',
+ 'Subject' => 'Subject',
+ 'Subtotal' => 'Subtotal',
+ 'Tax Included' => 'Tax Included',
+ 'To' => 'To',
+ 'Total' => 'Total',
+ 'Unit' => 'Unit',
+ 'Update' => 'Update',
+ 'Vendor' => 'Vendor',
+ 'Vendor missing!' => 'Vendor missing!',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'What type of item is this?' => 'What type of item is this?',
+ 'Yes' => 'Yes',
+ 'ea' => 'ea',
+ 'emailed to' => 'emailed to',
+ 'sent to printer' => 'sent to printer',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'yes' => 'yes',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'update' => 'update',
+ 'yes' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/en_GB/is b/sql-ledger/locale/en_GB/is
new file mode 100644
index 0000000..bbfa3f0
--- /dev/null
+++ b/sql-ledger/locale/en_GB/is
@@ -0,0 +1,187 @@
+$self{texts} = {
+ 'Account' => 'Account',
+ 'Add Purchase Order' => 'Add Purchase Order',
+ 'Add Sales Invoice' => 'Add Sales Invoice',
+ 'Add Sales Order' => 'Add Sales Order',
+ 'Address' => 'Address',
+ 'Amount' => 'Amount',
+ 'Apr' => 'Apr',
+ 'April' => 'April',
+ 'Are you sure you want to delete Invoice Number' => 'Are you sure you want to delete Invoice Number',
+ 'Attachment' => 'Attachment',
+ 'Aug' => 'Aug',
+ 'August' => 'August',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Bin',
+ 'Cannot delete invoice!' => 'Cannot delete invoice!',
+ 'Cannot post invoice for a closed period!' => 'Cannot post invoice for a closed period!',
+ 'Cannot post invoice!' => 'Cannot post invoice!',
+ 'Cannot post payment for a closed period!' => 'Cannot post payment for a closed period!',
+ 'Cc' => 'Cc',
+ 'Confirm!' => 'Confirm!',
+ 'Contact' => 'Contact',
+ 'Continue' => 'Continue',
+ 'Copies' => 'Copies',
+ 'Credit Limit' => 'Credit Limit',
+ 'Currency' => 'Currency',
+ 'Customer' => 'Customer',
+ 'Customer missing!' => 'Customer missing!',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'Date',
+ 'Dec' => 'Dec',
+ 'December' => 'December',
+ 'Delete' => 'Delete',
+ 'Delivery Date' => 'Delivery Date',
+ 'Description' => 'Description',
+ 'Due Date' => 'Due Date',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'E-mail address missing!',
+ 'Edit Sales Invoice' => 'Edit Sales Invoice',
+ 'Exch' => 'Exch',
+ 'Exchangerate' => 'Exchangerate',
+ 'Exchangerate for payment missing!' => 'Exchangerate for payment missing!',
+ 'Exchangerate missing!' => 'Exchangerate missing!',
+ 'Extended' => 'Extended',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'February',
+ 'Group' => 'Group',
+ 'Group Items' => 'Group Items',
+ 'In-line' => 'In-line',
+ 'Invoice' => 'Invoice',
+ 'Invoice Date' => 'Invoice Date',
+ 'Invoice Date missing!' => 'Invoice Date missing!',
+ 'Invoice Number' => 'Invoice Number',
+ 'Invoice Number missing!' => 'Invoice Number missing!',
+ 'Invoice deleted!' => 'Invoice deleted!',
+ 'Invoice posted!' => 'Invoice posted!',
+ 'Item not on file!' => 'Item not on file!',
+ 'Jan' => 'Jan',
+ 'January' => 'January',
+ 'Jul' => 'Jul',
+ 'July' => 'July',
+ 'Jun' => 'Jun',
+ 'June' => 'June',
+ 'Mar' => 'Mar',
+ 'March' => 'March',
+ 'May' => 'May',
+ 'May ' => 'May ',
+ 'Message' => 'Message',
+ 'Name' => 'Name',
+ 'No.' => 'No.',
+ 'Notes' => 'Notes',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Number',
+ 'Number missing in Row' => 'Number missing in Row',
+ 'Oct' => 'Oct',
+ 'October' => 'October',
+ 'Order' => 'Order',
+ 'Order Date missing!' => 'Order Date missing!',
+ 'Order Number' => 'Order Number',
+ 'Order Number missing!' => 'Order Number missing!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Packing List',
+ 'Packing List Date missing!' => 'Packing List Date missing!',
+ 'Packing List Number missing!' => 'Packing List Number missing!',
+ 'Part' => 'Part',
+ 'Payment date missing!' => 'Payment date missing!',
+ 'Payments' => 'Payments',
+ 'Phone' => 'Phone',
+ 'Post' => 'Post',
+ 'Post as new' => 'Post as new',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Price',
+ 'Print' => 'Print',
+ 'Printer' => 'Printer',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Purchase Order' => 'Purchase Order',
+ 'Qty' => 'Qty',
+ 'Recd' => 'Recd',
+ 'Record in' => 'Record in',
+ 'Remaining' => 'Remaining',
+ 'Required by' => 'Required by',
+ 'Sales Order' => 'Sales Order',
+ 'Screen' => 'Screen',
+ 'Select from one of the items below' => 'Select from one of the items below',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sep' => 'Sep',
+ 'September' => 'September',
+ 'Service' => 'Service',
+ 'Ship' => 'Ship',
+ 'Ship to' => 'Ship to',
+ 'Ship via' => 'Ship via',
+ 'Source' => 'Source',
+ 'Subject' => 'Subject',
+ 'Subtotal' => 'Subtotal',
+ 'Tax Included' => 'Tax Included',
+ 'To' => 'To',
+ 'Total' => 'Total',
+ 'Unit' => 'Unit',
+ 'Update' => 'Update',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'What type of item is this?' => 'What type of item is this?',
+ 'Yes' => 'Yes',
+ 'ea' => 'ea',
+ 'emailed to' => 'emailed to',
+ 'sent to printer' => 'sent to printer',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'yes' => 'yes',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'e_mail' => 'e_mail',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'yes' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/en_GB/login b/sql-ledger/locale/en_GB/login
new file mode 100644
index 0000000..262a18c
--- /dev/null
+++ b/sql-ledger/locale/en_GB/login
@@ -0,0 +1,27 @@
+$self{texts} = {
+ 'About' => 'About',
+ 'Database Host' => 'Database Host',
+ 'Dataset' => 'Dataset',
+ 'Incorrect Dataset version!' => 'Incorrect Dataset version!',
+ 'Incorrect Password!' => 'Incorrect Password!',
+ 'Licensed to' => 'Licensed to',
+ 'Login' => 'Login',
+ 'Name' => 'Name',
+ 'Password' => 'Password',
+ 'User' => 'User',
+ 'Version' => 'Version',
+ 'You are logged out!' => 'You are logged out!',
+ 'You did not enter a name!' => 'You did not enter a name!',
+ 'is not a member!' => 'is not a member!',
+ 'localhost' => 'localhost',
+};
+
+$self{subs} = {
+ 'company_logo' => 'company_logo',
+ 'login' => 'login',
+ 'login_screen' => 'login_screen',
+ 'logout' => 'logout',
+ 'login' => 'login',
+};
+
+1;
diff --git a/sql-ledger/locale/en_GB/menu b/sql-ledger/locale/en_GB/menu
new file mode 100644
index 0000000..4e47815
--- /dev/null
+++ b/sql-ledger/locale/en_GB/menu
@@ -0,0 +1,73 @@
+$self{texts} = {
+ 'AP' => 'Purchases',
+ 'AP Aging' => 'Creditor Aging',
+ 'AR' => 'Sales',
+ 'AR Aging' => 'Debtor Aging',
+ 'Accounting Menu' => 'Accounting Menu',
+ 'Add Account' => 'Add Account',
+ 'Add Assembly' => 'Add Assembly',
+ 'Add Customer' => 'Add Customer',
+ 'Add GIFI' => 'Add GIFI',
+ 'Add Group' => 'Add Group',
+ 'Add Part' => 'Add Part',
+ 'Add Project' => 'Add Project',
+ 'Add Service' => 'Add Service',
+ 'Add Transaction' => 'Add Transaction',
+ 'Add Vendor' => 'Add Vendor',
+ 'Assemblies' => 'Assemblies',
+ 'Audit Control' => 'Audit Control',
+ 'Backup' => 'Backup',
+ 'Balance Sheet' => 'Balance Sheet',
+ 'Cash' => 'Cash',
+ 'Chart of Accounts' => 'Chart of Accounts',
+ 'Check' => 'Cheque',
+ 'Customers' => 'Customers',
+ 'General Ledger' => 'General Ledger',
+ 'Goods & Services' => 'Goods & Services',
+ 'Groups' => 'Groups',
+ 'HTML Templates' => 'HTML Templates',
+ 'Income Statement' => 'Income Statement',
+ 'Invoice' => 'Invoice',
+ 'LaTeX Templates' => 'LaTeX Templates',
+ 'List Accounts' => 'List Accounts',
+ 'List GIFI' => 'List GIFI',
+ 'Logout' => 'Logout',
+ 'Order Entry' => 'Order Entry',
+ 'Packing List' => 'Packing List',
+ 'Parts' => 'Parts',
+ 'Payment' => 'Payment',
+ 'Payments' => 'Payments',
+ 'Preferences' => 'Preferences',
+ 'Projects' => 'Projects',
+ 'Purchase Order' => 'Purchase Order',
+ 'Purchase Orders' => 'Purchase Orders',
+ 'Receipt' => 'Receipt',
+ 'Receipts' => 'Receipts',
+ 'Reconciliation' => 'Reconciliation',
+ 'Reports' => 'Reports',
+ 'Sales Invoice' => 'Sales Invoice',
+ 'Sales Order' => 'Sales Order',
+ 'Sales Orders' => 'Sales Orders',
+ 'Save to File' => 'Save to File',
+ 'Send by E-Mail' => 'Send by E-Mail',
+ 'Services' => 'Services',
+ 'Statement' => 'Statement',
+ 'Stock Assembly' => 'Stock Assembly',
+ 'Stylesheet' => 'Stylesheet',
+ 'System' => 'System',
+ 'Tax collected' => 'Tax collected',
+ 'Tax paid' => 'Tax paid',
+ 'Transactions' => 'Transactions',
+ 'Trial Balance' => 'Trial Balance',
+ 'Vendor Invoice' => 'Vendor Invoice',
+ 'Vendors' => 'Vendors',
+ 'Version' => 'Version',
+};
+
+$self{subs} = {
+ 'acc_menu' => 'acc_menu',
+ 'display' => 'display',
+ 'section_menu' => 'section_menu',
+};
+
+1;
diff --git a/sql-ledger/locale/en_GB/oe b/sql-ledger/locale/en_GB/oe
new file mode 100644
index 0000000..2dfbb47
--- /dev/null
+++ b/sql-ledger/locale/en_GB/oe
@@ -0,0 +1,202 @@
+$self{texts} = {
+ 'Add' => 'Add',
+ 'Add Purchase Order' => 'Add Purchase Order',
+ 'Add Sales Invoice' => 'Add Sales Invoice',
+ 'Add Sales Order' => 'Add Sales Order',
+ 'Add Vendor Invoice' => 'Add Vendor Invoice',
+ 'Address' => 'Address',
+ 'Amount' => 'Amount',
+ 'Apr' => 'Apr',
+ 'April' => 'April',
+ 'Are you sure you want to delete Order Number' => 'Are you sure you want to delete Order Number',
+ 'Attachment' => 'Attachment',
+ 'Aug' => 'Aug',
+ 'August' => 'August',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Bin',
+ 'C' => 'C',
+ 'Cannot delete order!' => 'Cannot delete order!',
+ 'Cannot save order!' => 'Cannot save order!',
+ 'Cc' => 'Cc',
+ 'Closed' => 'Closed',
+ 'Confirm!' => 'Confirm!',
+ 'Contact' => 'Contact',
+ 'Continue' => 'Continue',
+ 'Copies' => 'Copies',
+ 'Credit Limit' => 'Credit Limit',
+ 'Curr' => 'Curr',
+ 'Currency' => 'Currency',
+ 'Customer' => 'Customer',
+ 'Customer missing!' => 'Customer missing!',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'Date',
+ 'Dec' => 'Dec',
+ 'December' => 'December',
+ 'Delete' => 'Delete',
+ 'Delivery Date' => 'Delivery Date',
+ 'Description' => 'Description',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'E-mail address missing!',
+ 'Edit Purchase Order' => 'Edit Purchase Order',
+ 'Edit Sales Order' => 'Edit Sales Order',
+ 'Exchangerate' => 'Exchangerate',
+ 'Exchangerate missing!' => 'Exchangerate missing!',
+ 'Extended' => 'Extended',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'February',
+ 'From' => 'From',
+ 'Group' => 'Group',
+ 'Group Items' => 'Group Items',
+ 'ID' => 'ID',
+ 'In-line' => 'In-line',
+ 'Include in Report' => 'Include in Report',
+ 'Invoice' => 'Invoice',
+ 'Invoice Date missing!' => 'Invoice Date missing!',
+ 'Invoice Number missing!' => 'Invoice Number missing!',
+ 'Item not on file!' => 'Item not on file!',
+ 'Jan' => 'Jan',
+ 'January' => 'January',
+ 'Jul' => 'Jul',
+ 'July' => 'July',
+ 'Jun' => 'Jun',
+ 'June' => 'June',
+ 'Mar' => 'Mar',
+ 'March' => 'March',
+ 'May' => 'May',
+ 'May ' => 'May ',
+ 'Message' => 'Message',
+ 'Name' => 'Name',
+ 'No.' => 'No.',
+ 'Notes' => 'Notes',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Number',
+ 'Number missing in Row' => 'Number missing in Row',
+ 'O' => 'O',
+ 'Oct' => 'Oct',
+ 'October' => 'October',
+ 'Open' => 'Open',
+ 'Order' => 'Order',
+ 'Order Date' => 'Order Date',
+ 'Order Date missing!' => 'Order Date missing!',
+ 'Order Number' => 'Order Number',
+ 'Order Number missing!' => 'Order Number missing!',
+ 'Order deleted!' => 'Order deleted!',
+ 'Order saved!' => 'Order saved!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Packing List',
+ 'Packing List Date missing!' => 'Packing List Date missing!',
+ 'Packing List Number missing!' => 'Packing List Number missing!',
+ 'Part' => 'Part',
+ 'Phone' => 'Phone',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Price',
+ 'Print' => 'Print',
+ 'Printer' => 'Printer',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Purchase Order' => 'Purchase Order',
+ 'Purchase Orders' => 'Purchase Orders',
+ 'Qty' => 'Qty',
+ 'Recd' => 'Recd',
+ 'Remaining' => 'Remaining',
+ 'Required by' => 'Required by',
+ 'Sales Order' => 'Sales Order',
+ 'Sales Orders' => 'Sales Orders',
+ 'Save' => 'Save',
+ 'Save as new' => 'Save as new',
+ 'Screen' => 'Screen',
+ 'Select from one of the items below' => 'Select from one of the items below',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sep' => 'Sep',
+ 'September' => 'September',
+ 'Service' => 'Service',
+ 'Ship' => 'Ship',
+ 'Ship to' => 'Ship to',
+ 'Ship via' => 'Ship via',
+ 'Subject' => 'Subject',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'Tax',
+ 'Tax Included' => 'Tax Included',
+ 'Terms: Net' => 'Terms: Net',
+ 'To' => 'To',
+ 'Total' => 'Total',
+ 'Unit' => 'Unit',
+ 'Update' => 'Update',
+ 'Vendor' => 'Vendor',
+ 'Vendor missing!' => 'Vendor missing!',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'What type of item is this?' => 'What type of item is this?',
+ 'Yes' => 'Yes',
+ 'days' => 'days',
+ 'ea' => 'ea',
+ 'emailed to' => 'emailed to',
+ 'sent to printer' => 'sent to printer',
+ 'to' => 'to',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_backorder' => 'create_backorder',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice' => 'invoice',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'order_links' => 'order_links',
+ 'orders' => 'orders',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_order' => 'prepare_order',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'sales_invoice' => 'sales_invoice',
+ 'save' => 'save',
+ 'save_as_new' => 'save_as_new',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'subtotal' => 'subtotal',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'yes' => 'yes',
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'e_mail' => 'e_mail',
+ 'invoice' => 'invoice',
+ 'print' => 'print',
+ 'save' => 'save',
+ 'save_as_new' => 'save_as_new',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'yes' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/en_GB/pe b/sql-ledger/locale/en_GB/pe
new file mode 100644
index 0000000..58cd57a
--- /dev/null
+++ b/sql-ledger/locale/en_GB/pe
@@ -0,0 +1,45 @@
+$self{texts} = {
+ 'Add' => 'Add',
+ 'Add Group' => 'Add Group',
+ 'Add Project' => 'Add Project',
+ 'All' => 'All',
+ 'Continue' => 'Continue',
+ 'Delete' => 'Delete',
+ 'Description' => 'Description',
+ 'Edit Group' => 'Edit Group',
+ 'Edit Project' => 'Edit Project',
+ 'Group' => 'Group',
+ 'Group deleted!' => 'Group deleted!',
+ 'Group missing!' => 'Group missing!',
+ 'Group saved!' => 'Group saved!',
+ 'Groups' => 'Groups',
+ 'Number' => 'Number',
+ 'Orphaned' => 'Orphaned',
+ 'Project' => 'Project',
+ 'Project Number missing!' => 'Project Number missing!',
+ 'Project deleted!' => 'Project deleted!',
+ 'Project saved!' => 'Project saved!',
+ 'Projects' => 'Projects',
+ 'Save' => 'Save',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'edit' => 'edit',
+ 'form_partsgroup_footer' => 'form_partsgroup_footer',
+ 'form_partsgroup_header' => 'form_partsgroup_header',
+ 'form_project_footer' => 'form_project_footer',
+ 'form_project_header' => 'form_project_header',
+ 'partsgroup_report' => 'partsgroup_report',
+ 'project_report' => 'project_report',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'save' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/en_GB/rc b/sql-ledger/locale/en_GB/rc
new file mode 100644
index 0000000..952c378
--- /dev/null
+++ b/sql-ledger/locale/en_GB/rc
@@ -0,0 +1,37 @@
+$self{texts} = {
+ 'Account' => 'Account',
+ 'Balance' => 'Balance',
+ 'Cleared Balance' => 'Cleared Balance',
+ 'Continue' => 'Continue',
+ 'Date' => 'Date',
+ 'Deposit' => 'Deposit',
+ 'Description' => 'Description',
+ 'Difference' => 'Difference',
+ 'Done' => 'Done',
+ 'Exchangerate Difference' => 'Exchangerate Difference',
+ 'From' => 'From',
+ 'Out of balance!' => 'Out of balance!',
+ 'Payment' => 'Payment',
+ 'Reconciliation' => 'Reconciliation',
+ 'Select all' => 'Select all',
+ 'Source' => 'Source',
+ 'Statement Balance' => 'Statement Balance',
+ 'Update' => 'Update',
+ 'to' => 'to',
+};
+
+$self{subs} = {
+ 'continue' => 'continue',
+ 'display_form' => 'display_form',
+ 'done' => 'done',
+ 'get_payments' => 'get_payments',
+ 'reconciliation' => 'reconciliation',
+ 'select_all' => 'select_all',
+ 'update' => 'update',
+ 'continue' => 'continue',
+ 'done' => 'done',
+ 'select_all' => 'select_all',
+ 'update' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/en_GB/rp b/sql-ledger/locale/en_GB/rp
new file mode 100644
index 0000000..a66828e
--- /dev/null
+++ b/sql-ledger/locale/en_GB/rp
@@ -0,0 +1,119 @@
+$self{texts} = {
+ 'AP Aging' => 'Creditor Aging',
+ 'AR Aging' => 'Debtor Aging',
+ 'Account' => 'Account',
+ 'Accounts' => 'Accounts',
+ 'Amount' => 'Amount',
+ 'Apr' => 'Apr',
+ 'April' => 'April',
+ 'Attachment' => 'Attachment',
+ 'Aug' => 'Aug',
+ 'August' => 'August',
+ 'Balance' => 'Balance',
+ 'Balance Sheet' => 'Balance Sheet',
+ 'Bcc' => 'Bcc',
+ 'Cash based' => 'Cash based',
+ 'Cc' => 'Cc',
+ 'Compare to' => 'Compare to',
+ 'Continue' => 'Continue',
+ 'Copies' => 'Copies',
+ 'Credit' => 'Credit',
+ 'Current' => 'Current',
+ 'Customer' => 'Customer',
+ 'Date' => 'Date',
+ 'Debit' => 'Debit',
+ 'Dec' => 'Dec',
+ 'December' => 'December',
+ 'Decimalplaces' => 'Decimalplaces',
+ 'Description' => 'Description',
+ 'Due' => 'Due',
+ 'E-mail' => 'E-mail',
+ 'E-mail Statement to' => 'E-mail Statement to',
+ 'Feb' => 'Feb',
+ 'February' => 'February',
+ 'From' => 'From',
+ 'GIFI' => 'GIFI',
+ 'Heading' => 'Heading',
+ 'ID' => 'ID',
+ 'In-line' => 'In-line',
+ 'Include in Report' => 'Include in Report',
+ 'Income Statement' => 'Income Statement',
+ 'Invoice' => 'Invoice',
+ 'Jan' => 'Jan',
+ 'January' => 'January',
+ 'Jul' => 'Jul',
+ 'July' => 'July',
+ 'Jun' => 'Jun',
+ 'June' => 'June',
+ 'Mar' => 'Mar',
+ 'March' => 'March',
+ 'May' => 'May',
+ 'May ' => 'May ',
+ 'Message' => 'Message',
+ 'N/A' => 'N/A',
+ 'Nothing selected!' => 'Nothing selected!',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Oct' => 'Oct',
+ 'October' => 'October',
+ 'PDF' => 'PDF',
+ 'Payments' => 'Payments',
+ 'Postscript' => 'Postscript',
+ 'Print' => 'Print',
+ 'Printer' => 'Printer',
+ 'Project Number' => 'Project Number',
+ 'Receipts' => 'Receipts',
+ 'Report for' => 'Report for',
+ 'Retained Earnings' => 'Retained Earnings',
+ 'Screen' => 'Screen',
+ 'Select all' => 'Select all',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sep' => 'Sep',
+ 'September' => 'September',
+ 'Source' => 'Source',
+ 'Standard' => 'Standard',
+ 'Statement' => 'Statement',
+ 'Statement sent to' => 'Statement sent to',
+ 'Statements sent to printer!' => 'Statements sent to printer!',
+ 'Subject' => 'Subject',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'Tax',
+ 'Tax collected' => 'Tax collected',
+ 'Tax paid' => 'Tax paid',
+ 'Total' => 'Total',
+ 'Trial Balance' => 'Trial Balance',
+ 'Vendor' => 'Vendor',
+ 'as at' => 'as at',
+ 'collected on sales' => 'collected on sales',
+ 'for Period' => 'for Period',
+ 'paid on purchases' => 'paid on purchases',
+ 'to' => 'to',
+};
+
+$self{subs} = {
+ 'aging' => 'aging',
+ 'continue' => 'continue',
+ 'e_mail' => 'e_mail',
+ 'generate_ap_aging' => 'generate_ap_aging',
+ 'generate_ar_aging' => 'generate_ar_aging',
+ 'generate_balance_sheet' => 'generate_balance_sheet',
+ 'generate_income_statement' => 'generate_income_statement',
+ 'generate_tax_report' => 'generate_tax_report',
+ 'generate_trial_balance' => 'generate_trial_balance',
+ 'list_accounts' => 'list_accounts',
+ 'list_payments' => 'list_payments',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'report' => 'report',
+ 'select_all' => 'select_all',
+ 'send_email' => 'send_email',
+ 'statement_details' => 'statement_details',
+ 'tax_subtotal' => 'tax_subtotal',
+ 'continue' => 'continue',
+ 'e_mail' => 'e_mail',
+ 'print' => 'print',
+ 'select_all' => 'select_all',
+};
+
+1;
diff --git a/sql-ledger/locale/es/COPYING b/sql-ledger/locale/es/COPYING
new file mode 100644
index 0000000..bf7ca4b
--- /dev/null
+++ b/sql-ledger/locale/es/COPYING
@@ -0,0 +1,26 @@
+######################################################################
+# SQL-Ledger Accounting
+# Copyright (c) 2002
+#
+# Spanish texts:
+#
+# Author: Maria Gabriela Fong <mgfong@maga.tzo.org>
+# John Stoddart <jstypo@imagencolor.com.ve>
+# Federico Montesino Pouzols <fedemp@arrok.com>
+# Tomás Pereira <topec@percar.com>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+#######################################################################
+
diff --git a/sql-ledger/locale/es/LANGUAGE b/sql-ledger/locale/es/LANGUAGE
new file mode 100644
index 0000000..c1a0de2
--- /dev/null
+++ b/sql-ledger/locale/es/LANGUAGE
@@ -0,0 +1 @@
+Spanish
diff --git a/sql-ledger/locale/es/Num2text b/sql-ledger/locale/es/Num2text
new file mode 100644
index 0000000..a5424ff
--- /dev/null
+++ b/sql-ledger/locale/es/Num2text
@@ -0,0 +1,195 @@
+#=====================================================================
+# SQL-Ledger Accounting
+# Copyright (C) 2002
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+# Contributors:
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#======================================================================
+
+
+sub init {
+ my $self = shift;
+
+ %{ $self->{numbername} } =
+ (0 => 'cero',
+ 1 => 'un',
+ '1o' => 'uno',
+ 2 => 'dos',
+ 3 => 'tres',
+ 4 => 'cuatro',
+ 5 => 'cinco',
+ 6 => 'seis',
+ 7 => 'siete',
+ 8 => 'ocho',
+ 9 => 'nueve',
+ 10 => 'diez',
+ 11 => 'once',
+ 12 => 'doce',
+ 13 => 'trece',
+ 14 => 'catorce',
+ 15 => 'quince',
+ 16 => 'dieciséis',
+ 17 => 'diecisiete',
+ 18 => 'dieciocho',
+ 19 => 'diecinueve',
+ 20 => 'veinte',
+ 21 => 'veintiún',
+ '21o' => 'veintiuno',
+ 22 => 'veintidós',
+ 23 => 'veintitrés',
+ 24 => 'veinticuatro',
+ 25 => 'veinticinco',
+ 26 => 'veintiséis',
+ 27 => 'veintisiete',
+ 28 => 'veintiocho',
+ 29 => 'veintinueve',
+ 30 => 'treinta',
+ 40 => 'cuarenta',
+ 50 => 'cincuenta',
+ 60 => 'sesenta',
+ 70 => 'setenta',
+ 80 => 'ochenta',
+ 90 => 'noventa',
+ 10**2 => 'ciento',
+ 10**3 => 'mil',
+ 10**6 => 'millón',
+ 10**9 => 'millardo',
+ 10**12 => 'billón',
+ );
+
+}
+
+
+sub num2text {
+ my ($self, $amount) = @_;
+
+ return $self->{numbername}{0} unless $amount;
+
+ my @textnumber = ();
+
+ # split amount into chunks of 3
+ my @num = reverse split //, $amount;
+ my @numblock = ();
+ my $stripun = 0;
+ my @a = ();
+ my $i;
+
+ while (@num) {
+ @a = ();
+ for (1 .. 3) {
+ push @a, shift @num;
+ }
+ push @numblock, join / /, reverse @a;
+ }
+
+ # special case for 1000
+ if ($numblock[1] eq '1' && $numblock[0] gt '000') {
+ # remove first array element from textnumber
+ $stripun = 1;
+ }
+
+ while (@numblock) {
+
+ $i = $#numblock;
+ @num = split //, $numblock[$i];
+
+ $numblock[$i] *= 1;
+
+ if ($numblock[$i] == 0) {
+ pop @numblock;
+ next;
+ }
+
+ if ($numblock[$i] > 99) {
+ if ($num[0] == 1) {
+ push @textnumber, $self->{numbername}{10**2};
+ } else {
+ # the one from hundreds, append cientos
+ push @textnumber, $self->{numbername}{$num[0]}.$self->{numbername}{10**2}.'s';
+ }
+
+ # reduce numblock
+ $numblock[$i] -= $num[0] * 100;
+ }
+
+ if ($numblock[$i] > 9) {
+ # tens
+ push @textnumber, $self->format_ten($numblock[$i], $i);
+ } elsif ($numblock[$i] > 0) {
+ # ones
+ $num = $numblock[$i];
+ $num .= 'o' if ($num == 1 && $i == 0);
+ push @textnumber, $self->{numbername}{$num};
+ }
+
+ # add thousand, million
+ if ($i) {
+ $num = 10**($i * 3);
+ if ($numblock[$i] > 1) {
+ if ($i == 2 || $i == 4) {
+ $a = $self->{numbername}{$num}."es";
+ $a =~ s/ó/o/;
+ push @textnumber, $a;
+ } else {
+ if ($i == 1) {
+ push @textnumber, $self->{numbername}{$num};
+ } else {
+ push @textnumber, $self->{numbername}{$num}.'s';
+ }
+ }
+ } else {
+ push @textnumber, $self->{numbername}{$num};
+ }
+ }
+
+ pop @numblock;
+
+ }
+
+ shift @textnumber if $stripun;
+
+ join ' ', @textnumber;
+
+}
+
+
+sub format_ten {
+ my ($self, $amount, $i) = @_;
+
+ my $textnumber = "";
+ my @num = split //, $amount;
+
+ if ($amount > 30) {
+ $textnumber = $self->{numbername}{$num[0]*10};
+ $amount = $num[1];
+ } else {
+ $amount .= 'o' if ($num[1] == 1 && $i == 0);
+ $textnumber = $self->{numbername}{$amount};
+ $amount = 0;
+ }
+
+ $textnumber .= " y ".$self->{numbername}{$amount} if $amount;
+
+ $textnumber;
+
+}
+
+
+1;
+
diff --git a/sql-ledger/locale/es/admin b/sql-ledger/locale/es/admin
new file mode 100644
index 0000000..a78f755
--- /dev/null
+++ b/sql-ledger/locale/es/admin
@@ -0,0 +1,124 @@
+$self{texts} = {
+ 'Access Control' => 'Control de Acceso',
+ 'Accounting' => 'Contabilidad',
+ 'Add User' => 'Añadir usuario',
+ 'Address' => 'Dirección',
+ 'Administration' => 'Administración',
+ 'Administrator' => 'Administrador',
+ 'All Datasets up to date!' => 'Todas las bases de datos están actualizadas',
+ 'Change Admin Password' => 'Cambiar la contraseña del administrador',
+ 'Change Password' => 'Cambiar contraseña',
+ 'Character Set' => 'Conjunto de caracteres',
+ 'Click on login name to edit!' => 'Haga clic en el nombre de usuario por
+editar',
+ 'Company' => 'Compañía',
+ 'Connect to' => 'Conectar a',
+ 'Continue' => 'Continuar',
+ 'Create Chart of Accounts' => 'Crear catálogo de cuentas',
+ 'Create Dataset' => 'Crear base de datos',
+ 'DBI not installed!' => 'No se ha instalado DBI',
+ 'Database' => 'Base de datos',
+ 'Database Administration' => 'Administración de las bases de datos',
+ 'Database Driver not checked!' => 'No se ha podido verificar el gestor de la base de datos',
+ 'Database User missing!' => 'No se ha definido el usuario de la base de datos',
+ 'Dataset' => 'Base de datos',
+ 'Dataset missing!' => 'No se ha definido la base de datos',
+ 'Dataset updated!' => 'Base de datos actualizada',
+ 'Date Format' => 'Formato de fecha',
+ 'Delete' => 'Borrar',
+ 'Delete Dataset' => 'Borrar base de datos',
+ 'Directory' => 'Directorio',
+ 'Driver' => 'Gestor',
+ 'Dropdown Limit' => 'Límite de efectivo',
+ 'E-mail' => 'Correo electrónico',
+ 'Edit User' => 'Editar usuario',
+ 'Existing Datasets' => 'Bases de datos existentes',
+ 'Fax' => 'Fax',
+ 'File locked!' => 'File locked!',
+ 'Host' => 'Máquina servidor de base de datos',
+ 'Hostname missing!' => 'No se ha definido la máquina servidor de base de datos',
+ 'Incorrect Password!' => 'Contraseña incorrecta',
+ 'Language' => 'Lenguaje',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Deje los campos de máquina servidor de base de datos y puerto vacíos al menos que quiera hacer una conexión remota',
+ 'Login' => 'Entrar',
+ 'Name' => 'Nombre',
+ 'New Templates' => 'Nuevas plantillas',
+ 'No Database Drivers available!' => 'No hay ningún gestor de base de datos disponible',
+ 'No Dataset selected!' => 'No se ha seleccionado ninguna base de datos',
+ 'Nothing to delete!' => '¡No hay nada para borrar!',
+ 'Number Format' => 'Formato de número',
+ 'Oracle Database Administration' => 'Administración de la base de datos Oracle',
+ 'Password' => 'Contraseña',
+ 'Password changed!' => '¡Contraseña cambiada!',
+ 'Pg Database Administration' => 'Administración de la base de datos PostgreSQL',
+ 'Phone' => 'Teléfono',
+ 'Port' => 'Puerto',
+ 'Port missing!' => 'No se ha definido el puerto',
+ 'Printer' => 'Impresora',
+ 'Save' => 'Guardar',
+ 'Select a Dataset to delete and press "Continue"' => 'Seleccione una base de datos para borrar y presione "Continuar"',
+ 'Setup Templates' => 'Configurar plantillas',
+ 'Ship via' => 'Envio por',
+ 'Signature' => 'Firma',
+ 'Stylesheet' => 'Hoja de estilo',
+ 'Templates' => 'Plantillas',
+ 'The following Datasets are not in use and can be deleted' => 'Las siguientes bases de datos no están en uso y se pueden borrar',
+ 'The following Datasets need to be updated' => 'Es necesario actualizar las siguientes bases de datos',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'Esta es una verificacion preliminar de fuentes existentes. No se creará ni borrará nada durante esta etapa',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'Para añadir un usuario a un grupo, edite un nombre, cambie el nombre de usuario (login) y guarde los cambios. Un nuevo usuario, con las mismas propiedades se guardará bajo el nuevo nombre de usuario (login).',
+ 'Update Dataset' => 'Actualizar base de datos',
+ 'Use Templates' => 'Plantillas de usuarios',
+ 'User' => 'Usuario',
+ 'User deleted!' => '¡Usuario borrado!',
+ 'User saved!' => '¡Usuario guardado!',
+ 'Version' => 'Versión',
+ 'You must enter a host and port for local and remote connections!' => 'Debe introducir una máquina servidor de bases de datos y un puerto para conexiones locales y remotas',
+ 'does not exist' => 'no existe',
+ 'is already a member!' => 'ya es actualmente un miembro',
+ 'localhost' => 'máquina local',
+ 'successfully created!' => 'creado satisfactoriamente',
+ 'successfully deleted!' => 'borrado satisfactoriamente',
+ 'website' => 'sitio web',
+};
+
+$self{subs} = {
+ 'add_user' => 'add_user',
+ 'adminlogin' => 'adminlogin',
+ 'change_admin_password' => 'change_admin_password',
+ 'change_password' => 'change_password',
+ 'check_password' => 'check_password',
+ 'continue' => 'continue',
+ 'create_dataset' => 'create_dataset',
+ 'dbcreate' => 'dbcreate',
+ 'dbdelete' => 'dbdelete',
+ 'dbdriver_defaults' => 'dbdriver_defaults',
+ 'dbselect_source' => 'dbselect_source',
+ 'dbupdate' => 'dbupdate',
+ 'delete' => 'delete',
+ 'delete_dataset' => 'delete_dataset',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'get_value' => 'get_value',
+ 'list_users' => 'list_users',
+ 'login' => 'login',
+ 'login_name' => 'login_name',
+ 'oracle_database_administration' => 'oracle_database_administration',
+ 'pg_database_administration' => 'pg_database_administration',
+ 'save' => 'save',
+ 'update_dataset' => 'update_dataset',
+ 'añadir_usuario' => 'add_user',
+ 'cambiar_la_contraseña_del_administrador' => 'change_admin_password',
+ 'cambiar_contraseña' => 'change_password',
+ 'continuar' => 'continue',
+ 'crear_base_de_datos' => 'create_dataset',
+ 'borrar' => 'delete',
+ 'borrar_base_de_datos' => 'delete_dataset',
+ 'entrar' => 'login',
+ 'administración_de_la_base_de_datos_oracle' => 'oracle_database_administration',
+ 'administración_de_la_base_de_datos_postgresql' => 'pg_database_administration',
+ 'guardar' => 'save',
+ 'actualizar_base_de_datos' => 'update_dataset',
+};
+
+1;
diff --git a/sql-ledger/locale/es/all b/sql-ledger/locale/es/all
new file mode 100644
index 0000000..5e33b01
--- /dev/null
+++ b/sql-ledger/locale/es/all
@@ -0,0 +1,490 @@
+# These are all the texts to build the translations files.
+# The file has the form of 'english text' => 'foreign text',
+# you can add the translation in this file or in the 'missing' file
+# run locales.pl from this directory to rebuild the translation files
+
+$self{texts} = {
+ 'AP' => 'Cartera de pagos',
+ 'AP Aging' => 'Diario resumido de pagos',
+ 'AP Transaction' => 'Gestión se pago',
+ 'AP Transactions' => 'Gestiones de pagos',
+ 'AR' => 'Cartera de cobros',
+ 'AR Aging' => 'Diario resumido de cobros ',
+ 'AR Transaction' => 'Gestión de cobro',
+ 'AR Transactions' => 'Gestiones de cobros',
+ 'About' => 'Acerca de',
+ 'Access Control' => 'Control de Acceso',
+ 'Account' => 'Cuenta',
+ 'Account Number' => 'Número de cuenta',
+ 'Account Number missing!' => 'No se ha definido el número de la cuenta',
+ 'Account Type' => 'Categoría de cuenta',
+ 'Account Type missing!' => 'No se ha definido el tipo de la cuenta',
+ 'Account deleted!' => '¡Cuenta borraba!',
+ 'Account saved!' => '¡Cuenta guardada!',
+ 'Accounting' => 'Contabilidad',
+ 'Accounting Menu' => 'Menú general',
+ 'Accounts' => 'Cuentas',
+ 'Active' => 'Activo',
+ 'Add' => 'Añadir',
+ 'Add Account' => 'Añadir cuenta',
+ 'Add Accounts Payables Transaction' => 'Añadir cuenta de transacciones a pagar',
+ 'Add Accounts Receivables Transaction' => 'Añadir cuenta de transacciones a cobrar',
+ 'Add Assembly' => 'Añadir compuesto',
+ 'Add Customer' => 'Añadir cliente',
+ 'Add GIFI' => 'Añadir código GIFI',
+ 'Add General Ledger Transaction' => 'Añadir transacción al libro mayor general',
+ 'Add Part' => 'Añadir artículo',
+ 'Add Project' => 'Añadir proyecto',
+ 'Add Purchase Invoice' => 'Añadir factura de compra',
+ 'Add Purchase Order' => 'Añadir pedido',
+ 'Add Sales Invoice' => 'Añadir factura',
+ 'Add Sales Order' => 'Añadir presupuesto',
+ 'Add Service' => 'Añadir servicio',
+ 'Add Transaction' => 'Añadir',
+ 'Add User' => 'Añadir usuario',
+ 'Add Vendor' => 'Añadir proveedor',
+ 'Address' => 'Dirección',
+ 'Administration' => 'Administración',
+ 'Administrator' => 'Administrador',
+ 'All' => 'Todos',
+ 'All Datasets up to date!' => 'Todas las bases de datos están actualizadas',
+ 'Amount' => 'Total',
+ 'Amount Due' => 'Cantidad adeudada',
+ 'Amount does not equal applied!' => '¡La cantidad no es igual a lo aplicado!',
+ 'Amount missing!' => '¡Falta la cantidad!',
+ 'Applied' => 'Aplicado',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Are you sure you want to delete Invoice Number' => '¿Esta seguro de que desea borrar la factura número',
+ 'Are you sure you want to delete Order Number' => '¿Esta seguro de que desea
+borrar la orden número?',
+ 'Are you sure you want to delete Transaction' => '¿Está seguro de que desea borrar la transacción?',
+ 'Assemblies' => 'Compuestos',
+ 'Assemblies restocked!' => '¡Compuestos actualizados en almacen!',
+ 'Assembly Number missing!' => 'No se ha definido el número de compuesto',
+ 'Asset' => 'Activo',
+ 'Attachment' => 'Adjunto',
+ 'Audit Control' => 'Control de auditoría',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'BOM' => 'Listado de piezas',
+ 'Backup' => 'Copia de seguridad de los datos',
+ 'Backup sent to' => 'Copia de seguridad enviada a',
+ 'Balance' => 'Balance',
+ 'Balance Sheet' => 'Hoja de balance',
+ 'Bcc' => '',
+ 'Bin' => 'Bin',
+ 'Books are open' => 'Los libros están abiertos',
+ 'Bought' => 'Comprado',
+ 'Business Number' => 'Numero de negocio',
+ 'C' => '',
+ 'COGS' => 'Costo de los artículos',
+ 'Cannot delete account!' => '¡No se puede borrar la cuenta!',
+ 'Cannot delete customer!' => '¡No se puede borrar el cliente!',
+ 'Cannot delete default account!' => 'No se puede borrar la cuenta por omisión',
+ 'Cannot delete invoice!' => '¡No se puede borrar la factura!',
+ 'Cannot delete item already invoiced!' => 'No se puede borrar un artículo ya facturado',
+ 'Cannot delete item on order!' => 'No se puede eliminar un elemento presente en una orden',
+ 'Cannot delete item which is part of an assembly!' => 'No puede eliminar un artículo que es parte de un compuesto',
+ 'Cannot delete item!' => '¡No se puede borrar el artículo!',
+ 'Cannot delete order!' => '¡No se puede borrar el pedido!',
+ 'Cannot delete transaction!' => '¡No se puede borrar la transacción!',
+ 'Cannot delete vendor!' => '¡No se puede borrar el vendedor!',
+ 'Cannot have a value in both Debit and Credit!' => 'No puede tener un valor en débito y crédito simultáneamente!',
+ 'Cannot post a transaction without a value!' => '¡No se puede registrar una transacción sin valor!',
+ 'Cannot post invoice for a closed period!' => '¡No se puede registrar una factura en un periodo ya cerrado!',
+ 'Cannot post invoice!' => '¡No se puede registrar la factura!',
+ 'Cannot post payment for a closed period!' => '¡No se puede registrar un pago en un periodo ya cerrado!',
+ 'Cannot post payment!' => '¡No se puede registrar el pago!',
+ 'Cannot post transaction for a closed period!' => '¡No se puede registrar una transacción para un periodo cerrado',
+ 'Cannot post transaction!' => '¡No se puede registrar la transacción',
+ 'Cannot process payment for a closed period!' => '¡No se puede procesar un pago de un periodo ya cerrado!',
+ 'Cannot save account!' => '¡No se puede guardar la cuenta!',
+ 'Cannot save order!' => '¡No se puede guardar el pedido!',
+ 'Cannot save preferences!' => '¡No se puede guardar las preferencias!',
+ 'Cannot stock assemblies!' => '¡No se pueden almacenar los compuestos!',
+ 'Cash' => 'Efectivo',
+ 'Cash based' => 'Efectivo inicial',
+ 'Cc' => '',
+ 'Change Admin Password' => 'Cambiar la contraseña del administrador',
+ 'Change Password' => 'Cambiar contraseña',
+ 'Character Set' => 'Conjunto de caracteres',
+ 'Chart of Accounts' => 'Cuadro de cuentas',
+ 'Check' => 'Cheque',
+ 'Check printed!' => '¡Cheque impreso!',
+ 'Check printing failed!' => '¡Fallo al imprimir el cheque!',
+ 'Cleared Balance' => 'Balance cerrado',
+ 'Click on login name to edit!' => 'Haga clic en el nombre de usuario por
+editar',
+ 'Close Books up to' => 'Cerrar los libros hasta',
+ 'Closed' => 'Cerrado',
+ 'Company' => 'Compañía',
+ 'Compare to' => 'Comparar con',
+ 'Confirm!' => 'Confirmar',
+ 'Connect to' => 'Conectar a',
+ 'Contact' => 'Contacto',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Copias',
+ 'Copy to COA' => 'Copiar al catálogo de cuentas',
+ 'Create Chart of Accounts' => 'Crear catálogo de cuentas',
+ 'Create Dataset' => 'Crear base de datos',
+ 'Credit' => 'Crédito',
+ 'Credit Limit' => 'Limite de credito',
+ 'Curr' => 'Mon.',
+ 'Currency' => 'Moneda',
+ 'Current' => 'Actual',
+ 'Customer' => 'Cliente',
+ 'Customer deleted!' => '¡Cliente borrado!',
+ 'Customer missing!' => '¡Falta el cliente!',
+ 'Customer not on file!' => '¡El cliente no existe!',
+ 'Customer saved!' => '¡Cliente guardado!',
+ 'Customers' => 'Clientes',
+ 'DBI not installed!' => 'No se ha instalado DBI',
+ 'Database' => 'Base de datos',
+ 'Database Administration' => 'Administración de las bases de datos',
+ 'Database Driver not checked!' => 'No se ha podido verificar el gestor de la base de datos',
+ 'Database Host' => 'Máquina servidor de base de datos',
+ 'Database User missing!' => 'No se ha definido el usuario de la base de datos',
+ 'Dataset' => 'Base de datos',
+ 'Dataset missing!' => 'No se ha definido la base de datos',
+ 'Dataset updated!' => 'Base de datos actualizada',
+ 'Date' => 'Fecha',
+ 'Date Due' => 'Fecha de vencimiento',
+ 'Date Format' => 'Formato de fecha',
+ 'Date Paid' => 'Fecha de pago',
+ 'Date missing!' => '¡Falta la fecha!',
+ 'Debit' => 'Débito',
+ 'Debit and credit out of balance!' => 'Los débitos y créditos están fuera de balance',
+ 'Dec' => 'Dic',
+ 'December' => 'Diciembre',
+ 'Decimalplaces' => 'Lugar de los decimales',
+ 'Delete' => 'Borrar',
+ 'Delete Account' => 'Borrar cuenta',
+ 'Delete Dataset' => 'Borrar base de datos',
+ 'Delivery Date' => 'Fecha de entrega',
+ 'Deposit' => 'Depósito',
+ 'Description' => 'Descripción',
+ 'Difference' => 'Diferencia',
+ 'Directory' => 'Directorio',
+ 'Discount' => 'Descuento',
+ 'Done' => 'Hecho',
+ 'Drawing' => 'Reintegro',
+ 'Driver' => 'Gestor',
+ 'Dropdown Limit' => 'Límite de efectivo',
+ 'Due' => 'Vence',
+ 'Due Date' => 'Fecha de vencimiento',
+ 'Due Date missing!' => 'Falta la fecha de vencimiento',
+ 'E-mail' => 'Correo electrónico',
+ 'E-mail Statement to' => 'Enviar comprobante por correo electrónico a',
+ 'E-mail address missing!' => 'No se ha definido el correo electrónico',
+ 'Edit' => 'Editar',
+ 'Edit Account' => 'Editar cuenta',
+ 'Edit Accounts Payables Transaction' => 'Editar las cuentas de las transacciones a pagar',
+ 'Edit Accounts Receivables Transaction' => 'Editar las cuentas de las transacciones a cobrar',
+ 'Edit Assembly' => 'Editar compuesto',
+ 'Edit GIFI' => 'Editar GIFI',
+ 'Edit General Ledger Transaction' => 'Editar transacción del libro mayor general',
+ 'Edit Part' => 'Editar compuesto',
+ 'Edit Preferences for' => 'Editar preferencias de',
+ 'Edit Project' => 'Editar proyecto',
+ 'Edit Purchase Invoice' => 'Editar factura de compra',
+ 'Edit Purchase Order' => 'Editar pedido',
+ 'Edit Sales Invoice' => 'Edirar factura de venta',
+ 'Edit Sales Order' => 'Editar presupuesto',
+ 'Edit Service' => 'Editar servicio',
+ 'Edit Template' => 'Editar plantilla',
+ 'Edit User' => 'Editar usuario',
+ 'Employee' => 'Colaborador/Empleado',
+ 'Enforce transaction reversal for all dates' => 'Forzar la anulación de las transacciones para todas las fechas',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Introduzca hasta 3 letras separadas por dos puntos (p.e. CAD:USD:EUR) para las monedas locales y las extranjeras',
+ 'Equity' => 'Balance',
+ 'Exch' => 'Cambio',
+ 'Exchangerate' => 'Tasa de cambio',
+ 'Exchangerate Difference' => 'Diferencia en la tasa cambio a moneda extranjera',
+ 'Exchangerate for payment missing!' => '¡Falta la tasa de cambio para el pago!',
+ 'Exchangerate missing!' => '¡Falta la tasa de cambio!',
+ 'Existing Datasets' => 'Bases de datos existentes',
+ 'Expense' => 'Gastos',
+ 'Expense Account' => 'Cuenta de gastos',
+ 'Expense/Asset' => 'Gastos/Activo',
+ 'Extended' => 'Extendido',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrero',
+ 'File locked!' => '',
+ 'Foreign Exchange Gain' => 'Ganancia en moneda extranjera',
+ 'Foreign Exchange Loss' => 'Pérdida en moneda extranjera',
+ 'From' => 'Desde',
+ 'GIFI' => 'Código GIFI',
+ 'GIFI deleted!' => '¡Borrado el código GIFI!',
+ 'GIFI missing!' => 'No se ha definido el código GIFI',
+ 'GIFI saved!' => '¡Guardado el código GIFI!',
+ 'GL Transaction' => 'Transacción en el libro mayor',
+ 'General Ledger' => 'Libro mayor general',
+ 'Goods & Services' => 'Bienes y servicios',
+ 'HTML Templates' => 'Plantillas HTML',
+ 'Heading' => 'Encabezado',
+ 'Host' => 'Máquina servidor de base de datos',
+ 'Hostname missing!' => 'No se ha definido la máquina servidor de base de datos',
+ 'ID' => 'ID',
+ 'Image' => 'Imagen',
+ 'In-line' => 'Incrustado',
+ 'Include in Report' => 'Incluir en informe',
+ 'Include in drop-down menus' => 'Incluir en menúes desplegables:',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Mostrar esta cuenta en los formularios de cliente/proveedor para seleccionar si hay que aplicar impuestos al cliente/proveedor?',
+ 'Income' => 'Ingresos',
+ 'Income Account' => 'Cuenta de ingresos',
+ 'Income Statement' => 'Balance de situación',
+ 'Incorrect Dataset version!' => 'Versión de base de datos incorrecta',
+ 'Incorrect Password!' => 'Contraseña incorrecta',
+ 'Individual Items' => 'Artículos individuales',
+ 'Inventory' => 'Inventario',
+ 'Inventory Account' => 'Cuenta de inventario',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'La cantidad en inventario debe ser cero antes de cambiar este compuesto a obsoleto',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'La cantidad en inventario debe ser cero antes de cambiar este artículo a obsoleto',
+ 'Inventory quantity must be zero!' => 'La cantidad en inventario debe ser cero',
+ 'Invoice' => 'Factura',
+ 'Invoice Date' => 'Fecha de factura',
+ 'Invoice Date missing!' => 'No se ha definido la fecha de la factura',
+ 'Invoice Number' => 'Número de factura',
+ 'Invoice Number missing!' => 'No se ha definido el número de la factura',
+ 'Invoice deleted!' => '¡Factura borrada!',
+ 'Invoice posted!' => '¡Factura registrada!',
+ 'Invoices' => 'Facturas',
+ 'Is this a summary account to record' => '¿Es esta una cuenta de resumen a registrar?',
+ 'Item deleted!' => '¡Concepto borrado!',
+ 'Item not on file!' => 'El concepto no se encuentra en ningún archivo',
+ 'Jan' => 'Ene',
+ 'January' => 'Enero',
+ 'Jul' => 'Jul',
+ 'July' => 'Julio',
+ 'Jun' => 'Jun',
+ 'June' => 'Junio',
+ 'LaTeX Templates' => 'Plantillas LaTeX',
+ 'Language' => 'Lenguaje',
+ 'Last Cost' => 'Ultimo costo',
+ 'Last Invoice Number' => 'Último número de factura',
+ 'Last Numbers & Default Accounts' => 'Últimos números y cuentas por omisión',
+ 'Last Purchase Order Number' => 'Último pedido',
+ 'Last Sales Order Number' => 'Número del último presupuesto',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Deje los campos de máquina servidor de base de datos y puerto vacíos al menos que quiera hacer una conexión remota',
+ 'Liability' => 'Pasivo',
+ 'Licensed to' => 'Adaptado para',
+ 'Line Total' => 'Total de la línea',
+ 'Link' => 'Enlaces',
+ 'Link Accounts' => 'Enlazar cuentas',
+ 'List Accounts' => 'Listar cuentas',
+ 'List GIFI' => 'Listar código GIFI',
+ 'List Price' => 'Precio de lista',
+ 'List Transactions' => 'Listar transacciones',
+ 'Login' => 'Entrar',
+ 'Logout' => 'Salir',
+ 'Make' => 'Marca',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'May',
+ 'May ' => 'Mayo',
+ 'Message' => 'Mensaje',
+ 'Microfiche' => 'Microficha',
+ 'Model' => 'Modelo',
+ 'N/A' => 'Sin respuesta',
+ 'Name' => 'Nombre',
+ 'Name missing!' => '¡Falta el nombre!',
+ 'New Templates' => 'Nuevas plantillas',
+ 'No' => 'No',
+ 'No Database Drivers available!' => 'No hay ningún gestor de base de datos disponible',
+ 'No Dataset selected!' => 'No se ha seleccionado ninguna base de datos',
+ 'No email address for' => 'Falta la dirección de correo electrónico de',
+ 'No.' => '',
+ 'Notes' => 'Notas',
+ 'Nothing applied!' => '¡No es aplicable a nada!',
+ 'Nothing selected!' => '¡No es seleccionado nada!',
+ 'Nothing to delete!' => '¡No hay nada para borrar!',
+ 'Nov' => 'Nov',
+ 'November' => 'Noviembre',
+ 'Number' => 'Número',
+ 'Number Format' => 'Formato de número',
+ 'Number missing in Row' => 'No se ha definido el número en la fila',
+ 'O' => '',
+ 'Obsolete' => 'Obsoleto',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'On Hand' => 'Disponible',
+ 'On Order' => 'En pedido',
+ 'Open' => 'Abierto',
+ 'Oracle Database Administration' => 'Administración de la base de datos Oracle',
+ 'Order' => 'Orden',
+ 'Order Date' => 'Fecha de elaboración',
+ 'Order Date missing!' => 'No se ha definido la fecha de la elaboración',
+ 'Order Entry' => 'Presupuestos y pedidos',
+ 'Order Number' => 'Número de orden',
+ 'Order Number missing!' => 'No se ha definido el número de la orden',
+ 'Order deleted!' => '¡Orden borrada!',
+ 'Order saved!' => '¡Orden guardada!',
+ 'Ordered' => 'Pedido realizado',
+ 'Orphaned' => 'Huérfano',
+ 'Out of balance!' => '¡Fuera de balance!',
+ 'PDF' => '',
+ 'Packing List' => 'Albarán',
+ 'Packing List Date missing!' => 'No se ha definido la fecha del albarán',
+ 'Packing List Number missing!' => 'No se ha definido el número del albarán',
+ 'Paid' => 'Pagado',
+ 'Paid in full' => 'Pago al completo',
+ 'Part' => 'Artículo',
+ 'Part Number missing!' => 'No se ha definido el número del artículo',
+ 'Parts' => 'Artículos',
+ 'Parts Inventory' => 'Inventario de artículos',
+ 'Password' => 'Contraseña',
+ 'Password changed!' => '¡Contraseña cambiada!',
+ 'Payables' => 'Pagos',
+ 'Payment' => 'Pago',
+ 'Payment date missing!' => 'No se encuentra la fecha de pago',
+ 'Payment posted!' => '¡Pago registrado!',
+ 'Payments' => 'Vencimientos impagados',
+ 'Pg Database Administration' => 'Administración de la base de datos PostgreSQL',
+ 'Phone' => 'Teléfono',
+ 'Port' => 'Puerto',
+ 'Port missing!' => 'No se ha definido el puerto',
+ 'Post' => 'Registrar',
+ 'Post as new' => 'Registrar como nuevo',
+ 'Postscript' => '',
+ 'Preferences' => 'Preferencias',
+ 'Preferences saved!' => 'Preferencias guardadas',
+ 'Price' => 'Precio',
+ 'Print' => 'Imprimir',
+ 'Printer' => 'Impresora',
+ 'Project' => 'Proyecto',
+ 'Project Number missing!' => '¡Falta el número de proyecto!',
+ 'Project deleted!' => '¡Proyecto borrado!',
+ 'Project not on file!' => '¡No se encuentra el proyecto en la base de datos!',
+ 'Project saved!' => '¡Proyecto guardado ',
+ 'Projects' => 'Proyectos',
+ 'Purchase Invoice' => 'Factura de compras',
+ 'Purchase Order' => 'Pedido',
+ 'Purchase Orders' => 'Pedidos',
+ 'Qty' => 'Cantidad',
+ 'ROP' => 'Tope de envio',
+ 'Rate' => 'Tarifa',
+ 'Recd' => 'Cobrado',
+ 'Receipt' => 'Recibo',
+ 'Receipts' => 'Recibos',
+ 'Receivables' => 'Cobros',
+ 'Reconciliation' => 'Reconciliación',
+ 'Record in' => 'Registrar en',
+ 'Reference' => 'Referencia',
+ 'Reference missing!' => '¡Falta la referencia!',
+ 'Remaining' => 'Resto',
+ 'Report for' => 'Informe para',
+ 'Reports' => 'Informes',
+ 'Required by' => 'Aceptado el',
+ 'Retained Earnings' => 'Ganacias retenidas',
+ 'Sales' => 'Ventas',
+ 'Sales Invoice' => 'Facturas de ventas',
+ 'Sales Order' => 'Presupuesto',
+ 'Sales Orders' => 'Presupuestos',
+ 'Save' => 'Guardar',
+ 'Save as new' => 'Guardar como nuevo',
+ 'Save to File' => 'Guardar en un archivo',
+ 'Screen' => 'Pantalla',
+ 'Select a Dataset to delete and press "Continue"' => 'Seleccione una base de datos para borrar y presione "Continuar"',
+ 'Select all' => 'Guardar todo',
+ 'Select from one of the items below' => 'Seleccione uno de los artículos siguientes',
+ 'Select from one of the names below' => 'Seleccione uno de los nombres de la lista',
+ 'Select from one of the projects below' => 'Seleccione uno de los proyectos de la lista',
+ 'Select postscript or PDF!' => '¡Seleccione postscript o PDF',
+ 'Sell Price' => 'Precio de venta',
+ 'Send by E-Mail' => 'Enviar por correo electrónico',
+ 'Sep' => 'Sep',
+ 'September' => 'Septiembre',
+ 'Service' => 'Servicio',
+ 'Service Items' => 'Servicios',
+ 'Service Number missing!' => 'No se ha definido el número de servicio',
+ 'Services' => 'Servicios',
+ 'Setup Templates' => 'Configurar plantillas',
+ 'Ship' => 'Envio',
+ 'Ship to' => 'Destino',
+ 'Ship via' => 'Envio por',
+ 'Short' => 'Corto',
+ 'Signature' => 'Firma',
+ 'Sold' => 'Vendido',
+ 'Source' => 'Fuente',
+ 'Standard' => 'Estándard',
+ 'Statement' => 'Estado de cuenta',
+ 'Statement Balance' => 'Balance de cuenta',
+ 'Statement sent to' => 'Estado de cuenta enviado a',
+ 'Statements sent to printer!' => '¡Estado de cuenta enviado a la impresora!',
+ 'Stock Assembly' => 'Inventariar compuesto',
+ 'Stylesheet' => 'Hoja de estilo',
+ 'Subject' => 'Asunto',
+ 'Subtotal' => 'Subtotal',
+ 'System' => 'Sistema',
+ 'Tax' => 'Impuesto',
+ 'Tax Accounts' => 'Cuentas de impuestos',
+ 'Tax Included' => 'Impuestos incluidos en el precio',
+ 'Tax collected' => 'Impuestos cobrados',
+ 'Tax paid' => 'Impuestos pagados',
+ 'Taxable' => 'Impuestos gravables',
+ 'Template saved!' => '¡Plantilla guardada!',
+ 'Templates' => 'Plantillas',
+ 'Terms: Net' => 'Crédito',
+ 'The following Datasets are not in use and can be deleted' => 'Las siguientes bases de datos no están en uso y se pueden borrar',
+ 'The following Datasets need to be updated' => 'Es necesario actualizar las siguientes bases de datos',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'Esta es una verificacion preliminar de fuentes existentes. No se creará ni borrará nada durante esta etapa',
+ 'To' => 'Hasta ',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'Para añadir un usuario a un grupo, edite un nombre, cambie el nombre de usuario (login) y guarde los cambios. Un nuevo usuario, con las mismas propiedades se guardará bajo el nuevo nombre de usuario (login).',
+ 'Top Level' => '',
+ 'Total' => 'Total',
+ 'Transaction Date missing!' => 'No se ha definido la fecha de la transacción',
+ 'Transaction deleted!' => '¡Transacción borrada!',
+ 'Transaction posted!' => '¡Transacción registrada!',
+ 'Transaction reversal enforced for all dates' => 'Se ha forzado la anulación de las transacciones para todas las fechas',
+ 'Transaction reversal enforced up to' => 'Se ha forzado la anulación de las transacciones hasta',
+ 'Transactions' => 'Impagados',
+ 'Transactions exist, cannot delete customer!' => 'Existen transacciones para este cliente, por tanto, no puede borrarlo',
+ 'Transactions exist, cannot delete vendor!' => 'Existen transacciones para este proveedor, por tanto, no puede borrarlo',
+ 'Transactions exist; cannot delete account!' => 'Las transacciones existen, no puede suprimir la cuenta!',
+ 'Trial Balance' => 'Balance de comprobación',
+ 'Unit' => 'Unidad',
+ 'Unit of measure' => 'Unidad de medida',
+ 'Update' => 'Actualizar',
+ 'Update Dataset' => 'Actualizar base de datos',
+ 'Updated' => '¡Actualizado!',
+ 'Use Templates' => 'Plantillas de usuarios',
+ 'User' => 'Usuario',
+ 'User deleted!' => '¡Usuario borrado!',
+ 'User saved!' => '¡Usuario guardado!',
+ 'Vendor' => 'Proveedor',
+ 'Vendor deleted!' => '¡Proveedor borrado!',
+ 'Vendor missing!' => '¡Falta el proveedor!',
+ 'Vendor not on file!' => '¡No se encuentra el proveedor en la base de datos!',
+ 'Vendor saved!' => '¡Proveedor guardado!',
+ 'Vendors' => 'Proveedores',
+ 'Version' => 'Versión',
+ 'Weight' => 'Peso',
+ 'Weight Unit' => 'Unidad de peso',
+ 'What type of item is this?' => '¿De qué tipo es este concepto?',
+ 'Year End' => 'Fin del año fiscal',
+ 'Yes' => 'Si',
+ 'You are logged out!' => '¡Ya está desconectado del sistema!',
+ 'You did not enter a name!' => 'No ha introducido el nombre',
+ 'You must enter a host and port for local and remote connections!' => 'Debe introducir una máquina servidor de bases de datos y un puerto para conexiones locales y remotas',
+ 'as at' => 'al',
+ 'collected on sales' => 'ingresado en ventas',
+ 'days' => 'días',
+ 'does not exist' => 'no existe',
+ 'ea' => 'unid.',
+ 'emailed to' => 'enviado por correo electrónico a',
+ 'for Period' => 'para el periodo',
+ 'hr' => 'hr',
+ 'is already a member!' => 'ya es actualmente un miembro',
+ 'is not a member!' => 'no es miembro',
+ 'localhost' => 'máquina local',
+ 'paid on purchases' => 'pagado en compras',
+ 'sent to printer' => 'enviado a la impresora',
+ 'successfully created!' => 'creado satisfactoriamente',
+ 'successfully deleted!' => 'borrado satisfactoriamente',
+ 'to' => 'a',
+ 'website' => 'sitio web',
+};
+
+1;
diff --git a/sql-ledger/locale/es/am b/sql-ledger/locale/es/am
new file mode 100644
index 0000000..a19042d
--- /dev/null
+++ b/sql-ledger/locale/es/am
@@ -0,0 +1,139 @@
+$self{texts} = {
+ 'AP' => 'Cartera de pagos',
+ 'AR' => 'Cartera de cobros',
+ 'Account' => 'Cuenta',
+ 'Account Number' => 'Número de cuenta',
+ 'Account Number missing!' => 'No se ha definido el número de la cuenta',
+ 'Account Type' => 'Categoría de cuenta',
+ 'Account Type missing!' => 'No se ha definido el tipo de la cuenta',
+ 'Account deleted!' => '¡Cuenta borraba!',
+ 'Account saved!' => '¡Cuenta guardada!',
+ 'Add Account' => 'Añadir cuenta',
+ 'Add GIFI' => 'Añadir código GIFI',
+ 'Address' => 'Dirección',
+ 'Asset' => 'Activo',
+ 'Audit Control' => 'Control de auditoría',
+ 'Backup sent to' => 'Copia de seguridad enviada a',
+ 'Books are open' => 'Los libros están abiertos',
+ 'Business Number' => 'Numero de negocio',
+ 'COGS' => 'Costo de los artículos',
+ 'Cannot delete account!' => '¡No se puede borrar la cuenta!',
+ 'Cannot delete default account!' => 'No se puede borrar la cuenta por omisión',
+ 'Cannot save account!' => '¡No se puede guardar la cuenta!',
+ 'Cannot save preferences!' => '¡No se puede guardar las preferencias!',
+ 'Character Set' => 'Conjunto de caracteres',
+ 'Chart of Accounts' => 'Cuadro de cuentas',
+ 'Close Books up to' => 'Cerrar los libros hasta',
+ 'Company' => 'Compañía',
+ 'Continue' => 'Continuar',
+ 'Copy to COA' => 'Copiar al catálogo de cuentas',
+ 'Credit' => 'Crédito',
+ 'Date Format' => 'Formato de fecha',
+ 'Debit' => 'Débito',
+ 'Delete' => 'Borrar',
+ 'Delete Account' => 'Borrar cuenta',
+ 'Description' => 'Descripción',
+ 'Dropdown Limit' => 'Límite de efectivo',
+ 'E-mail' => 'Correo electrónico',
+ 'Edit' => 'Editar',
+ 'Edit Account' => 'Editar cuenta',
+ 'Edit GIFI' => 'Editar GIFI',
+ 'Edit Preferences for' => 'Editar preferencias de',
+ 'Edit Template' => 'Editar plantilla',
+ 'Enforce transaction reversal for all dates' => 'Forzar la anulación de las transacciones para todas las fechas',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Introduzca hasta 3 letras separadas por dos puntos (p.e. CAD:USD:EUR) para las monedas locales y las extranjeras',
+ 'Equity' => 'Balance',
+ 'Expense' => 'Gastos',
+ 'Expense Account' => 'Cuenta de gastos',
+ 'Expense/Asset' => 'Gastos/Activo',
+ 'Fax' => 'Fax',
+ 'Foreign Exchange Gain' => 'Ganancia en moneda extranjera',
+ 'Foreign Exchange Loss' => 'Pérdida en moneda extranjera',
+ 'GIFI' => 'Código GIFI',
+ 'GIFI deleted!' => '¡Borrado el código GIFI!',
+ 'GIFI missing!' => 'No se ha definido el código GIFI',
+ 'GIFI saved!' => '¡Guardado el código GIFI!',
+ 'Heading' => 'Encabezado',
+ 'Include in drop-down menus' => 'Incluir en menúes desplegables:',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Mostrar esta cuenta en los formularios de cliente/proveedor para seleccionar si hay que aplicar impuestos al cliente/proveedor?',
+ 'Income' => 'Ingresos',
+ 'Income Account' => 'Cuenta de ingresos',
+ 'Inventory' => 'Inventario',
+ 'Inventory Account' => 'Cuenta de inventario',
+ 'Is this a summary account to record' => '¿Es esta una cuenta de resumen a registrar?',
+ 'Language' => 'Lenguaje',
+ 'Last Invoice Number' => 'Último número de factura',
+ 'Last Numbers & Default Accounts' => 'Últimos números y cuentas por omisión',
+ 'Last Purchase Order Number' => 'Último pedido',
+ 'Last Sales Order Number' => 'Número del último presupuesto',
+ 'Liability' => 'Pasivo',
+ 'Link' => 'Enlaces',
+ 'Name' => 'Nombre',
+ 'No' => 'No',
+ 'No email address for' => 'Falta la dirección de correo electrónico de',
+ 'Number' => 'Número',
+ 'Number Format' => 'Formato de número',
+ 'Parts Inventory' => 'Inventario de artículos',
+ 'Password' => 'Contraseña',
+ 'Payables' => 'Pagos',
+ 'Payment' => 'Pago',
+ 'Phone' => 'Teléfono',
+ 'Preferences saved!' => 'Preferencias guardadas',
+ 'Rate' => 'Tarifa',
+ 'Receivables' => 'Cobros',
+ 'Sales' => 'Ventas',
+ 'Save' => 'Guardar',
+ 'Service Items' => 'Servicios',
+ 'Ship via' => 'Envio por',
+ 'Signature' => 'Firma',
+ 'Stylesheet' => 'Hoja de estilo',
+ 'Tax' => 'Impuesto',
+ 'Tax Accounts' => 'Cuentas de impuestos',
+ 'Template saved!' => '¡Plantilla guardada!',
+ 'Transaction reversal enforced for all dates' => 'Se ha forzado la anulación de las transacciones para todas las fechas',
+ 'Transaction reversal enforced up to' => 'Se ha forzado la anulación de las transacciones hasta',
+ 'Transactions exist; cannot delete account!' => 'Las transacciones existen, no puede suprimir la cuenta!',
+ 'Weight Unit' => 'Unidad de peso',
+ 'Year End' => 'Fin del año fiscal',
+ 'Yes' => 'Si',
+ 'does not exist' => 'no existe',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_gifi' => 'add_gifi',
+ 'audit_control' => 'audit_control',
+ 'backup' => 'backup',
+ 'config' => 'config',
+ 'continue' => 'continue',
+ 'copy_to_coa' => 'copy_to_coa',
+ 'delete' => 'delete',
+ 'delete_account' => 'delete_account',
+ 'delete_gifi' => 'delete_gifi',
+ 'display_form' => 'display_form',
+ 'display_stylesheet' => 'display_stylesheet',
+ 'doclose' => 'doclose',
+ 'edit' => 'edit',
+ 'edit_gifi' => 'edit_gifi',
+ 'edit_template' => 'edit_template',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gifi_footer' => 'gifi_footer',
+ 'gifi_header' => 'gifi_header',
+ 'list' => 'list',
+ 'list_gifi' => 'list_gifi',
+ 'save' => 'save',
+ 'save_account' => 'save_account',
+ 'save_gifi' => 'save_gifi',
+ 'save_preferences' => 'save_preferences',
+ 'save_template' => 'save_template',
+ 'añadir_cuenta' => 'add_account',
+ 'continuar' => 'continue',
+ 'copiar_al_catálogo_de_cuentas' => 'copy_to_coa',
+ 'borrar' => 'delete',
+ 'editar' => 'edit',
+ 'editar_cuenta' => 'edit_account',
+ 'guardar' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/es/ap b/sql-ledger/locale/es/ap
new file mode 100644
index 0000000..1a8f37c
--- /dev/null
+++ b/sql-ledger/locale/es/ap
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AP Transaction' => 'Gestión se pago',
+ 'AP Transactions' => 'Gestiones de pagos',
+ 'Account' => 'Cuenta',
+ 'Add Accounts Payables Transaction' => 'Añadir cuenta de transacciones a pagar',
+ 'Address' => 'Dirección',
+ 'Amount' => 'Total',
+ 'Amount Due' => 'Cantidad adeudada',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Are you sure you want to delete Transaction' => '¿Está seguro de que desea borrar la transacción?',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Cannot delete transaction!' => '¡No se puede borrar la transacción!',
+ 'Cannot post payment for a closed period!' => '¡No se puede registrar un pago en un periodo ya cerrado!',
+ 'Cannot post transaction for a closed period!' => '¡No se puede registrar una transacción para un periodo cerrado',
+ 'Cannot post transaction!' => '¡No se puede registrar la transacción',
+ 'Closed' => 'Cerrado',
+ 'Confirm!' => 'Confirmar',
+ 'Continue' => 'Continuar',
+ 'Currency' => 'Moneda',
+ 'Customer not on file!' => '¡El cliente no existe!',
+ 'Date' => 'Fecha',
+ 'Date Paid' => 'Fecha de pago',
+ 'Dec' => 'Dic',
+ 'December' => 'Diciembre',
+ 'Delete' => 'Borrar',
+ 'Description' => 'Descripción',
+ 'Due Date' => 'Fecha de vencimiento',
+ 'Due Date missing!' => 'Falta la fecha de vencimiento',
+ 'Edit Accounts Payables Transaction' => 'Editar las cuentas de las transacciones a pagar',
+ 'Employee' => 'Colaborador/Empleado',
+ 'Exch' => 'Cambio',
+ 'Exchangerate' => 'Tasa de cambio',
+ 'Exchangerate for payment missing!' => '¡Falta la tasa de cambio para el pago!',
+ 'Exchangerate missing!' => '¡Falta la tasa de cambio!',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrero',
+ 'From' => 'Desde',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Incluir en informe',
+ 'Invoice' => 'Factura',
+ 'Invoice Date' => 'Fecha de factura',
+ 'Invoice Date missing!' => 'No se ha definido la fecha de la factura',
+ 'Invoice Number' => 'Número de factura',
+ 'Invoice Number missing!' => 'No se ha definido el número de la factura',
+ 'Jan' => 'Ene',
+ 'January' => 'Enero',
+ 'Jul' => 'Jul',
+ 'July' => 'Julio',
+ 'Jun' => 'Jun',
+ 'June' => 'Junio',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'May',
+ 'May ' => 'Mayo',
+ 'Notes' => 'Notas',
+ 'Nov' => 'Nov',
+ 'November' => 'Noviembre',
+ 'Number' => 'Número',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'Open' => 'Abierto',
+ 'Order' => 'Orden',
+ 'Order Number' => 'Número de orden',
+ 'Paid' => 'Pagado',
+ 'Payment date missing!' => 'No se encuentra la fecha de pago',
+ 'Payments' => 'Vencimientos impagados',
+ 'Post' => 'Registrar',
+ 'Post as new' => 'Registrar como nuevo',
+ 'Project' => 'Proyecto',
+ 'Project not on file!' => '¡No se encuentra el proyecto en la base de datos!',
+ 'Purchase Invoice' => 'Factura de compras',
+ 'Select from one of the names below' => 'Seleccione uno de los nombres de la lista',
+ 'Select from one of the projects below' => 'Seleccione uno de los proyectos de la lista',
+ 'Sep' => 'Sep',
+ 'September' => 'Septiembre',
+ 'Source' => 'Fuente',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'Impuesto',
+ 'Tax Included' => 'Impuestos incluidos en el precio',
+ 'To' => 'Hasta ',
+ 'Total' => 'Total',
+ 'Transaction deleted!' => '¡Transacción borrada!',
+ 'Transaction posted!' => '¡Transacción registrada!',
+ 'Update' => 'Actualizar',
+ 'Vendor' => 'Proveedor',
+ 'Vendor missing!' => '¡Falta el proveedor!',
+ 'Vendor not on file!' => '¡No se encuentra el proveedor en la base de datos!',
+ 'Yes' => 'Si',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_subtotal' => 'ap_subtotal',
+ 'ap_transaction' => 'ap_transaction',
+ 'ap_transactions' => 'ap_transactions',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'gestión_se_pago' => 'ap_transaction',
+ 'añadir_cuenta_de_transacciones_a_pagar' => 'add_accounts_payables_transaction',
+ 'continuar' => 'continue',
+ 'borrar' => 'delete',
+ 'editar_las_cuentas_de_las_transacciones_a_pagar' => 'edit_accounts_payables_transaction',
+ 'registrar' => 'post',
+ 'registrar_como_nuevo' => 'post_as_new',
+ 'factura_de_compras' => 'purchase_invoice',
+ 'actualizar' => 'update',
+ 'si' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/es/ar b/sql-ledger/locale/es/ar
new file mode 100644
index 0000000..e24b004
--- /dev/null
+++ b/sql-ledger/locale/es/ar
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AR Transaction' => 'Gestión de cobro',
+ 'AR Transactions' => 'Gestiones de cobros',
+ 'Account' => 'Cuenta',
+ 'Add Accounts Receivables Transaction' => 'Añadir cuenta de transacciones a cobrar',
+ 'Address' => 'Dirección',
+ 'Amount' => 'Total',
+ 'Amount Due' => 'Cantidad adeudada',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Are you sure you want to delete Transaction' => '¿Está seguro de que desea borrar la transacción?',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Cannot delete transaction!' => '¡No se puede borrar la transacción!',
+ 'Cannot post payment for a closed period!' => '¡No se puede registrar un pago en un periodo ya cerrado!',
+ 'Cannot post transaction for a closed period!' => '¡No se puede registrar una transacción para un periodo cerrado',
+ 'Cannot post transaction!' => '¡No se puede registrar la transacción',
+ 'Closed' => 'Cerrado',
+ 'Confirm!' => 'Confirmar',
+ 'Continue' => 'Continuar',
+ 'Credit Limit' => 'Limite de credito',
+ 'Currency' => 'Moneda',
+ 'Customer' => 'Cliente',
+ 'Customer missing!' => '¡Falta el cliente!',
+ 'Customer not on file!' => '¡El cliente no existe!',
+ 'Date' => 'Fecha',
+ 'Date Paid' => 'Fecha de pago',
+ 'Dec' => 'Dic',
+ 'December' => 'Diciembre',
+ 'Delete' => 'Borrar',
+ 'Description' => 'Descripción',
+ 'Due Date' => 'Fecha de vencimiento',
+ 'Due Date missing!' => 'Falta la fecha de vencimiento',
+ 'Edit Accounts Receivables Transaction' => 'Editar las cuentas de las transacciones a cobrar',
+ 'Employee' => 'Colaborador/Empleado',
+ 'Exch' => 'Cambio',
+ 'Exchangerate' => 'Tasa de cambio',
+ 'Exchangerate for payment missing!' => '¡Falta la tasa de cambio para el pago!',
+ 'Exchangerate missing!' => '¡Falta la tasa de cambio!',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrero',
+ 'From' => 'Desde',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Incluir en informe',
+ 'Invoice' => 'Factura',
+ 'Invoice Date' => 'Fecha de factura',
+ 'Invoice Date missing!' => 'No se ha definido la fecha de la factura',
+ 'Invoice Number' => 'Número de factura',
+ 'Invoice Number missing!' => 'No se ha definido el número de la factura',
+ 'Jan' => 'Ene',
+ 'January' => 'Enero',
+ 'Jul' => 'Jul',
+ 'July' => 'Julio',
+ 'Jun' => 'Jun',
+ 'June' => 'Junio',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'May',
+ 'May ' => 'Mayo',
+ 'Notes' => 'Notas',
+ 'Nov' => 'Nov',
+ 'November' => 'Noviembre',
+ 'Number' => 'Número',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'Open' => 'Abierto',
+ 'Order' => 'Orden',
+ 'Order Number' => 'Número de orden',
+ 'Paid' => 'Pagado',
+ 'Payment date missing!' => 'No se encuentra la fecha de pago',
+ 'Payments' => 'Vencimientos impagados',
+ 'Post' => 'Registrar',
+ 'Post as new' => 'Registrar como nuevo',
+ 'Project' => 'Proyecto',
+ 'Project not on file!' => '¡No se encuentra el proyecto en la base de datos!',
+ 'Remaining' => 'Resto',
+ 'Sales Invoice' => 'Facturas de ventas',
+ 'Select from one of the names below' => 'Seleccione uno de los nombres de la lista',
+ 'Select from one of the projects below' => 'Seleccione uno de los proyectos de la lista',
+ 'Sep' => 'Sep',
+ 'September' => 'Septiembre',
+ 'Source' => 'Fuente',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'Impuesto',
+ 'Tax Included' => 'Impuestos incluidos en el precio',
+ 'To' => 'Hasta ',
+ 'Total' => 'Total',
+ 'Transaction deleted!' => '¡Transacción borrada!',
+ 'Transaction posted!' => '¡Transacción registrada!',
+ 'Update' => 'Actualizar',
+ 'Vendor not on file!' => '¡No se encuentra el proveedor en la base de datos!',
+ 'Yes' => 'Si',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_subtotal' => 'ar_subtotal',
+ 'ar_transaction' => 'ar_transaction',
+ 'ar_transactions' => 'ar_transactions',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'gestión_de_cobro' => 'ar_transaction',
+ 'continuar' => 'continue',
+ 'borrar' => 'delete',
+ 'registrar' => 'post',
+ 'registrar_como_nuevo' => 'post_as_new',
+ 'facturas_de_ventas' => 'sales_invoice',
+ 'actualizar' => 'update',
+ 'si' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/es/arap b/sql-ledger/locale/es/arap
new file mode 100644
index 0000000..be33676
--- /dev/null
+++ b/sql-ledger/locale/es/arap
@@ -0,0 +1,30 @@
+$self{texts} = {
+ 'Address' => 'Dirección',
+ 'Continue' => 'Continuar',
+ 'Customer not on file!' => '¡El cliente no existe!',
+ 'Description' => 'Descripción',
+ 'Number' => 'Número',
+ 'Project not on file!' => '¡No se encuentra el proyecto en la base de datos!',
+ 'Select from one of the names below' => 'Seleccione uno de los nombres de la lista',
+ 'Select from one of the projects below' => 'Seleccione uno de los proyectos de la lista',
+ 'Vendor not on file!' => '¡No se encuentra el proveedor en la base de datos!',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'continuar' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/es/ca b/sql-ledger/locale/es/ca
new file mode 100644
index 0000000..536d00a
--- /dev/null
+++ b/sql-ledger/locale/es/ca
@@ -0,0 +1,50 @@
+$self{texts} = {
+ 'Account' => 'Cuenta',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Balance' => 'Balance',
+ 'Chart of Accounts' => 'Cuadro de cuentas',
+ 'Credit' => 'Crédito',
+ 'Date' => 'Fecha',
+ 'Debit' => 'Débito',
+ 'Dec' => 'Dic',
+ 'December' => 'Diciembre',
+ 'Description' => 'Descripción',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrero',
+ 'From' => 'Desde',
+ 'GIFI' => 'Código GIFI',
+ 'Include in Report' => 'Incluir en informe',
+ 'Jan' => 'Ene',
+ 'January' => 'Enero',
+ 'Jul' => 'Jul',
+ 'July' => 'Julio',
+ 'Jun' => 'Jun',
+ 'June' => 'Junio',
+ 'List Transactions' => 'Listar transacciones',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'May',
+ 'May ' => 'Mayo',
+ 'Nov' => 'Nov',
+ 'November' => 'Noviembre',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'Reference' => 'Referencia',
+ 'Sep' => 'Sep',
+ 'September' => 'Septiembre',
+ 'Subtotal' => 'Subtotal',
+ 'To' => 'Hasta ',
+};
+
+$self{subs} = {
+ 'ca_subtotal' => 'ca_subtotal',
+ 'chart_of_accounts' => 'chart_of_accounts',
+ 'list' => 'list',
+ 'list_transactions' => 'list_transactions',
+ 'listar_transacciones' => 'list_transactions',
+};
+
+1;
diff --git a/sql-ledger/locale/es/cp b/sql-ledger/locale/es/cp
new file mode 100644
index 0000000..aa93a34
--- /dev/null
+++ b/sql-ledger/locale/es/cp
@@ -0,0 +1,75 @@
+$self{texts} = {
+ 'Account' => 'Cuenta',
+ 'Address' => 'Dirección',
+ 'Amount' => 'Total',
+ 'Amount does not equal applied!' => '¡La cantidad no es igual a lo aplicado!',
+ 'Amount missing!' => '¡Falta la cantidad!',
+ 'Applied' => 'Aplicado',
+ 'Cannot post payment!' => '¡No se puede registrar el pago!',
+ 'Cannot process payment for a closed period!' => '¡No se puede procesar un pago de un periodo ya cerrado!',
+ 'Check' => 'Cheque',
+ 'Check printed!' => '¡Cheque impreso!',
+ 'Check printing failed!' => '¡Fallo al imprimir el cheque!',
+ 'Continue' => 'Continuar',
+ 'Currency' => 'Moneda',
+ 'Customer' => 'Cliente',
+ 'Customer not on file!' => '¡El cliente no existe!',
+ 'Date' => 'Fecha',
+ 'Date missing!' => '¡Falta la fecha!',
+ 'Description' => 'Descripción',
+ 'Due' => 'Vence',
+ 'Exchangerate' => 'Tasa de cambio',
+ 'From' => 'Desde',
+ 'Invoice' => 'Factura',
+ 'Invoices' => 'Facturas',
+ 'Nothing applied!' => '¡No es aplicable a nada!',
+ 'Number' => 'Número',
+ 'Paid in full' => 'Pago al completo',
+ 'Payment' => 'Pago',
+ 'Payment posted!' => '¡Pago registrado!',
+ 'Post' => 'Registrar',
+ 'Print' => 'Imprimir',
+ 'Printer' => 'Impresora',
+ 'Project not on file!' => '¡No se encuentra el proyecto en la base de datos!',
+ 'Receipt' => 'Recibo',
+ 'Reference' => 'Referencia',
+ 'Screen' => 'Pantalla',
+ 'Select from one of the names below' => 'Seleccione uno de los nombres de la lista',
+ 'Select from one of the projects below' => 'Seleccione uno de los proyectos de la lista',
+ 'To' => 'Hasta ',
+ 'Update' => 'Actualizar',
+ 'Vendor' => 'Proveedor',
+ 'Vendor not on file!' => '¡No se encuentra el proveedor en la base de datos!',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'list_invoices' => 'list_invoices',
+ 'name_selected' => 'name_selected',
+ 'payment' => 'payment',
+ 'post' => 'post',
+ 'print' => 'print',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'vendor_details' => 'vendor_details',
+ 'continuar' => 'continue',
+ 'registrar' => 'post',
+ 'imprimir' => 'print',
+ 'actualizar' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/es/ct b/sql-ledger/locale/es/ct
new file mode 100644
index 0000000..e37ddd8
--- /dev/null
+++ b/sql-ledger/locale/es/ct
@@ -0,0 +1,69 @@
+$self{texts} = {
+ 'Add' => 'Añadir',
+ 'Address' => 'Dirección',
+ 'All' => 'Todos',
+ 'Bcc' => 'Bcc',
+ 'Cannot delete customer!' => '¡No se puede borrar el cliente!',
+ 'Cannot delete vendor!' => '¡No se puede borrar el vendedor!',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Contacto',
+ 'Continue' => 'Continuar',
+ 'Credit Limit' => 'Limite de credito',
+ 'Customer deleted!' => '¡Cliente borrado!',
+ 'Customer saved!' => '¡Cliente guardado!',
+ 'Customers' => 'Clientes',
+ 'Delete' => 'Borrar',
+ 'Discount' => 'Descuento',
+ 'E-mail' => 'Correo electrónico',
+ 'Fax' => 'Fax',
+ 'Include in Report' => 'Incluir en informe',
+ 'Invoice' => 'Factura',
+ 'Name' => 'Nombre',
+ 'Name missing!' => '¡Falta el nombre!',
+ 'Notes' => 'Notas',
+ 'Number' => 'Número',
+ 'Order' => 'Orden',
+ 'Orphaned' => 'Huérfano',
+ 'Phone' => 'Teléfono',
+ 'Save' => 'Guardar',
+ 'Ship to' => 'Destino',
+ 'Tax Included' => 'Impuestos incluidos en el precio',
+ 'Taxable' => 'Impuestos gravables',
+ 'Terms: Net' => 'Crédito',
+ 'Transactions exist, cannot delete customer!' => 'Existen transacciones para este cliente, por tanto, no puede borrarlo',
+ 'Transactions exist, cannot delete vendor!' => 'Existen transacciones para este proveedor, por tanto, no puede borrarlo',
+ 'Vendor deleted!' => '¡Proveedor borrado!',
+ 'Vendor saved!' => '¡Proveedor guardado!',
+ 'Vendors' => 'Proveedores',
+ 'days' => 'días',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'customer_invoice' => 'customer_invoice',
+ 'customer_order' => 'customer_order',
+ 'delete' => 'delete',
+ 'delete_customer' => 'delete_customer',
+ 'delete_vendor' => 'delete_vendor',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'invoice' => 'invoice',
+ 'list_names' => 'list_names',
+ 'order' => 'order',
+ 'save' => 'save',
+ 'save_customer' => 'save_customer',
+ 'save_vendor' => 'save_vendor',
+ 'search' => 'search',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'vendor_order' => 'vendor_order',
+ 'añadir' => 'add',
+ 'continuar' => 'continue',
+ 'borrar' => 'delete',
+ 'factura' => 'invoice',
+ 'orden' => 'order',
+ 'guardar' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/es/gl b/sql-ledger/locale/es/gl
new file mode 100644
index 0000000..10978f9
--- /dev/null
+++ b/sql-ledger/locale/es/gl
@@ -0,0 +1,124 @@
+$self{texts} = {
+ 'AP Transaction' => 'Gestión se pago',
+ 'AR Transaction' => 'Gestión de cobro',
+ 'Account' => 'Cuenta',
+ 'Add General Ledger Transaction' => 'Añadir transacción al libro mayor general',
+ 'Address' => 'Dirección',
+ 'All' => 'Todos',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Are you sure you want to delete Transaction' => '¿Está seguro de que desea borrar la transacción?',
+ 'Asset' => 'Activo',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Balance' => 'Balance',
+ 'Cannot delete transaction!' => '¡No se puede borrar la transacción!',
+ 'Cannot have a value in both Debit and Credit!' => 'No puede tener un valor en débito y crédito simultáneamente!',
+ 'Cannot post a transaction without a value!' => '¡No se puede registrar una transacción sin valor!',
+ 'Cannot post transaction for a closed period!' => '¡No se puede registrar una transacción para un periodo cerrado',
+ 'Confirm!' => 'Confirmar',
+ 'Continue' => 'Continuar',
+ 'Credit' => 'Crédito',
+ 'Customer not on file!' => '¡El cliente no existe!',
+ 'Date' => 'Fecha',
+ 'Debit' => 'Débito',
+ 'Debit and credit out of balance!' => 'Los débitos y créditos están fuera de balance',
+ 'Dec' => 'Dic',
+ 'December' => 'Diciembre',
+ 'Delete' => 'Borrar',
+ 'Description' => 'Descripción',
+ 'Edit General Ledger Transaction' => 'Editar transacción del libro mayor general',
+ 'Equity' => 'Balance',
+ 'Expense' => 'Gastos',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrero',
+ 'From' => 'Desde',
+ 'GIFI' => 'Código GIFI',
+ 'GL Transaction' => 'Transacción en el libro mayor',
+ 'General Ledger' => 'Libro mayor general',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Incluir en informe',
+ 'Income' => 'Ingresos',
+ 'Jan' => 'Ene',
+ 'January' => 'Enero',
+ 'Jul' => 'Jul',
+ 'July' => 'Julio',
+ 'Jun' => 'Jun',
+ 'June' => 'Junio',
+ 'Liability' => 'Pasivo',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'May',
+ 'May ' => 'Mayo',
+ 'Notes' => 'Notas',
+ 'Nov' => 'Nov',
+ 'November' => 'Noviembre',
+ 'Number' => 'Número',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'Post' => 'Registrar',
+ 'Post as new' => 'Registrar como nuevo',
+ 'Project' => 'Proyecto',
+ 'Project not on file!' => '¡No se encuentra el proyecto en la base de datos!',
+ 'Purchase Invoice' => 'Factura de compras',
+ 'Reference' => 'Referencia',
+ 'Reference missing!' => '¡Falta la referencia!',
+ 'Reports' => 'Informes',
+ 'Sales Invoice' => 'Facturas de ventas',
+ 'Select from one of the names below' => 'Seleccione uno de los nombres de la lista',
+ 'Select from one of the projects below' => 'Seleccione uno de los proyectos de la lista',
+ 'Sep' => 'Sep',
+ 'September' => 'Septiembre',
+ 'Source' => 'Fuente',
+ 'Subtotal' => 'Subtotal',
+ 'To' => 'Hasta ',
+ 'Transaction Date missing!' => 'No se ha definido la fecha de la transacción',
+ 'Transaction deleted!' => '¡Transacción borrada!',
+ 'Transaction posted!' => '¡Transacción registrada!',
+ 'Update' => 'Actualizar',
+ 'Vendor not on file!' => '¡No se encuentra el proveedor en la base de datos!',
+ 'Yes' => 'Si',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'form_row' => 'form_row',
+ 'generate_report' => 'generate_report',
+ 'gl_subtotal' => 'gl_subtotal',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'gestión_se_pago' => 'ap_transaction',
+ 'gestión_de_cobro' => 'ar_transaction',
+ 'continuar' => 'continue',
+ 'borrar' => 'delete',
+ 'transacción_en_el_libro_mayor' => 'gl_transaction',
+ 'registrar' => 'post',
+ 'registrar_como_nuevo' => 'post_as_new',
+ 'factura_de_compras' => 'purchase_invoice',
+ 'facturas_de_ventas' => 'sales_invoice',
+ 'actualizar' => 'update',
+ 'si' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/es/ic b/sql-ledger/locale/es/ic
new file mode 100644
index 0000000..9db330b
--- /dev/null
+++ b/sql-ledger/locale/es/ic
@@ -0,0 +1,205 @@
+$self{texts} = {
+ 'Active' => 'Activo',
+ 'Add' => 'Añadir',
+ 'Add Assembly' => 'Añadir compuesto',
+ 'Add Part' => 'Añadir artículo',
+ 'Add Purchase Order' => 'Añadir pedido',
+ 'Add Sales Order' => 'Añadir presupuesto',
+ 'Add Service' => 'Añadir servicio',
+ 'Address' => 'Dirección',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Assemblies' => 'Compuestos',
+ 'Assemblies restocked!' => '¡Compuestos actualizados en almacen!',
+ 'Assembly Number missing!' => 'No se ha definido el número de compuesto',
+ 'Attachment' => 'Adjunto',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'BOM' => 'Listado de piezas',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Bin',
+ 'Bought' => 'Comprado',
+ 'COGS' => 'Costo de los artículos',
+ 'Cannot delete item already invoiced!' => 'No se puede borrar un artículo ya facturado',
+ 'Cannot delete item on order!' => 'No se puede eliminar un elemento presente en una orden',
+ 'Cannot delete item which is part of an assembly!' => 'No puede eliminar un artículo que es parte de un compuesto',
+ 'Cannot delete item!' => '¡No se puede borrar el artículo!',
+ 'Cannot stock assemblies!' => '¡No se pueden almacenar los compuestos!',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Contacto',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Copias',
+ 'Dec' => 'Dic',
+ 'December' => 'Diciembre',
+ 'Delete' => 'Borrar',
+ 'Delivery Date' => 'Fecha de entrega',
+ 'Description' => 'Descripción',
+ 'Drawing' => 'Reintegro',
+ 'E-mail' => 'Correo electrónico',
+ 'E-mail address missing!' => 'No se ha definido el correo electrónico',
+ 'Edit Assembly' => 'Editar compuesto',
+ 'Edit Part' => 'Editar compuesto',
+ 'Edit Service' => 'Editar servicio',
+ 'Expense' => 'Gastos',
+ 'Extended' => 'Extendido',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrero',
+ 'From' => 'Desde',
+ 'Image' => 'Imagen',
+ 'In-line' => 'Incrustado',
+ 'Include in Report' => 'Incluir en informe',
+ 'Income' => 'Ingresos',
+ 'Individual Items' => 'Artículos individuales',
+ 'Inventory' => 'Inventario',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'La cantidad en inventario debe ser cero antes de cambiar este compuesto a obsoleto',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'La cantidad en inventario debe ser cero antes de cambiar este artículo a obsoleto',
+ 'Inventory quantity must be zero!' => 'La cantidad en inventario debe ser cero',
+ 'Invoice' => 'Factura',
+ 'Invoice Date missing!' => 'No se ha definido la fecha de la factura',
+ 'Invoice Number' => 'Número de factura',
+ 'Invoice Number missing!' => 'No se ha definido el número de la factura',
+ 'Item deleted!' => '¡Concepto borrado!',
+ 'Item not on file!' => 'El concepto no se encuentra en ningún archivo',
+ 'Jan' => 'Ene',
+ 'January' => 'Enero',
+ 'Jul' => 'Jul',
+ 'July' => 'Julio',
+ 'Jun' => 'Jun',
+ 'June' => 'Junio',
+ 'Last Cost' => 'Ultimo costo',
+ 'Line Total' => 'Total de la línea',
+ 'Link Accounts' => 'Enlazar cuentas',
+ 'List Price' => 'Precio de lista',
+ 'Make' => 'Marca',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'May',
+ 'May ' => 'Mayo',
+ 'Message' => 'Mensaje',
+ 'Microfiche' => 'Microficha',
+ 'Model' => 'Modelo',
+ 'Name' => 'Nombre',
+ 'No.' => 'No.',
+ 'Notes' => 'Notas',
+ 'Nov' => 'Nov',
+ 'November' => 'Noviembre',
+ 'Number' => 'Número',
+ 'Number missing in Row' => 'No se ha definido el número en la fila',
+ 'Obsolete' => 'Obsoleto',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'On Hand' => 'Disponible',
+ 'On Order' => 'En pedido',
+ 'Order' => 'Orden',
+ 'Order Date missing!' => 'No se ha definido la fecha de la elaboración',
+ 'Order Number' => 'Número de orden',
+ 'Order Number missing!' => 'No se ha definido el número de la orden',
+ 'Ordered' => 'Pedido realizado',
+ 'Orphaned' => 'Huérfano',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Albarán',
+ 'Packing List Date missing!' => 'No se ha definido la fecha del albarán',
+ 'Packing List Number missing!' => 'No se ha definido el número del albarán',
+ 'Part' => 'Artículo',
+ 'Part Number missing!' => 'No se ha definido el número del artículo',
+ 'Parts' => 'Artículos',
+ 'Phone' => 'Teléfono',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Precio',
+ 'Printer' => 'Impresora',
+ 'Project' => 'Proyecto',
+ 'Purchase Order' => 'Pedido',
+ 'Qty' => 'Cantidad',
+ 'ROP' => 'Tope de envio',
+ 'Recd' => 'Cobrado',
+ 'Required by' => 'Aceptado el',
+ 'Sales' => 'Ventas',
+ 'Sales Order' => 'Presupuesto',
+ 'Save' => 'Guardar',
+ 'Screen' => 'Pantalla',
+ 'Select from one of the items below' => 'Seleccione uno de los artículos siguientes',
+ 'Select postscript or PDF!' => '¡Seleccione postscript o PDF',
+ 'Sell Price' => 'Precio de venta',
+ 'Sep' => 'Sep',
+ 'September' => 'Septiembre',
+ 'Service' => 'Servicio',
+ 'Service Number missing!' => 'No se ha definido el número de servicio',
+ 'Services' => 'Servicios',
+ 'Ship' => 'Envio',
+ 'Ship to' => 'Destino',
+ 'Short' => 'Corto',
+ 'Sold' => 'Vendido',
+ 'Stock Assembly' => 'Inventariar compuesto',
+ 'Subject' => 'Asunto',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'Impuesto',
+ 'To' => 'Hasta ',
+ 'Top Level' => 'Top Level',
+ 'Total' => 'Total',
+ 'Unit' => 'Unidad',
+ 'Unit of measure' => 'Unidad de medida',
+ 'Update' => 'Actualizar',
+ 'Updated' => '¡Actualizado!',
+ 'Weight' => 'Peso',
+ 'What type of item is this?' => '¿De qué tipo es este concepto?',
+ 'ea' => 'unid.',
+ 'emailed to' => 'enviado por correo electrónico a',
+ 'hr' => 'hr',
+ 'sent to printer' => 'enviado a la impresora',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'assembly_row' => 'assembly_row',
+ 'check_form' => 'check_form',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'delete_assembly' => 'delete_assembly',
+ 'delete_item' => 'delete_item',
+ 'delete_part' => 'delete_part',
+ 'delete_service' => 'delete_service',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'link_part' => 'link_part',
+ 'list_assemblies' => 'list_assemblies',
+ 'makemodel_row' => 'makemodel_row',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'parts_subtotal' => 'parts_subtotal',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'restock_assemblies' => 'restock_assemblies',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'stock_assembly' => 'stock_assembly',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'añadir' => 'add',
+ 'añadir_compuesto' => 'add_assembly',
+ 'añadir_artículo' => 'add_part',
+ 'añadir_servicio' => 'add_service',
+ 'continuar' => 'continue',
+ 'borrar' => 'delete',
+ 'editar_compuesto' => 'edit_assembly',
+ 'editar_compuesto' => 'edit_part',
+ 'editar_servicio' => 'edit_service',
+ 'guardar' => 'save',
+ 'actualizar' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/es/io b/sql-ledger/locale/es/io
new file mode 100644
index 0000000..0f12d08
--- /dev/null
+++ b/sql-ledger/locale/es/io
@@ -0,0 +1,106 @@
+$self{texts} = {
+ 'Add Purchase Order' => 'Añadir pedido',
+ 'Add Sales Order' => 'Añadir presupuesto',
+ 'Address' => 'Dirección',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Attachment' => 'Adjunto',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Bin',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Contacto',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Copias',
+ 'Dec' => 'Dic',
+ 'December' => 'Diciembre',
+ 'Delivery Date' => 'Fecha de entrega',
+ 'Description' => 'Descripción',
+ 'E-mail' => 'Correo electrónico',
+ 'E-mail address missing!' => 'No se ha definido el correo electrónico',
+ 'Extended' => 'Extendido',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrero',
+ 'In-line' => 'Incrustado',
+ 'Invoice' => 'Factura',
+ 'Invoice Date missing!' => 'No se ha definido la fecha de la factura',
+ 'Invoice Number missing!' => 'No se ha definido el número de la factura',
+ 'Item not on file!' => 'El concepto no se encuentra en ningún archivo',
+ 'Jan' => 'Ene',
+ 'January' => 'Enero',
+ 'Jul' => 'Jul',
+ 'July' => 'Julio',
+ 'Jun' => 'Jun',
+ 'June' => 'Junio',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'May',
+ 'May ' => 'Mayo',
+ 'Message' => 'Mensaje',
+ 'Name' => 'Nombre',
+ 'No.' => 'No.',
+ 'Nov' => 'Nov',
+ 'November' => 'Noviembre',
+ 'Number' => 'Número',
+ 'Number missing in Row' => 'No se ha definido el número en la fila',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'Order' => 'Orden',
+ 'Order Date missing!' => 'No se ha definido la fecha de la elaboración',
+ 'Order Number missing!' => 'No se ha definido el número de la orden',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Albarán',
+ 'Packing List Date missing!' => 'No se ha definido la fecha del albarán',
+ 'Packing List Number missing!' => 'No se ha definido el número del albarán',
+ 'Part' => 'Artículo',
+ 'Phone' => 'Teléfono',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Precio',
+ 'Printer' => 'Impresora',
+ 'Project' => 'Proyecto',
+ 'Purchase Order' => 'Pedido',
+ 'Qty' => 'Cantidad',
+ 'Recd' => 'Cobrado',
+ 'Required by' => 'Aceptado el',
+ 'Sales Order' => 'Presupuesto',
+ 'Screen' => 'Pantalla',
+ 'Select from one of the items below' => 'Seleccione uno de los artículos siguientes',
+ 'Select postscript or PDF!' => '¡Seleccione postscript o PDF',
+ 'Sep' => 'Sep',
+ 'September' => 'Septiembre',
+ 'Service' => 'Servicio',
+ 'Ship' => 'Envio',
+ 'Ship to' => 'Destino',
+ 'Subject' => 'Asunto',
+ 'To' => 'Hasta ',
+ 'Unit' => 'Unidad',
+ 'What type of item is this?' => '¿De qué tipo es este concepto?',
+ 'emailed to' => 'enviado por correo electrónico a',
+ 'sent to printer' => 'enviado a la impresora',
+};
+
+$self{subs} = {
+ 'check_form' => 'check_form',
+ 'customer_details' => 'customer_details',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'continuar' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/es/ir b/sql-ledger/locale/es/ir
new file mode 100644
index 0000000..0e0aa7b
--- /dev/null
+++ b/sql-ledger/locale/es/ir
@@ -0,0 +1,178 @@
+$self{texts} = {
+ 'Account' => 'Cuenta',
+ 'Add Purchase Invoice' => 'Añadir factura de compra',
+ 'Add Purchase Order' => 'Añadir pedido',
+ 'Add Sales Order' => 'Añadir presupuesto',
+ 'Address' => 'Dirección',
+ 'Amount' => 'Total',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Are you sure you want to delete Invoice Number' => '¿Esta seguro de que desea borrar la factura número',
+ 'Attachment' => 'Adjunto',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Bin',
+ 'Cannot delete invoice!' => '¡No se puede borrar la factura!',
+ 'Cannot post invoice for a closed period!' => '¡No se puede registrar una factura en un periodo ya cerrado!',
+ 'Cannot post invoice!' => '¡No se puede registrar la factura!',
+ 'Cannot post payment for a closed period!' => '¡No se puede registrar un pago en un periodo ya cerrado!',
+ 'Cc' => 'Cc',
+ 'Confirm!' => 'Confirmar',
+ 'Contact' => 'Contacto',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Copias',
+ 'Currency' => 'Moneda',
+ 'Customer not on file!' => '¡El cliente no existe!',
+ 'Date' => 'Fecha',
+ 'Date Due' => 'Fecha de vencimiento',
+ 'Dec' => 'Dic',
+ 'December' => 'Diciembre',
+ 'Delete' => 'Borrar',
+ 'Delivery Date' => 'Fecha de entrega',
+ 'Description' => 'Descripción',
+ 'E-mail' => 'Correo electrónico',
+ 'E-mail address missing!' => 'No se ha definido el correo electrónico',
+ 'Edit Purchase Invoice' => 'Editar factura de compra',
+ 'Exch' => 'Cambio',
+ 'Exchangerate' => 'Tasa de cambio',
+ 'Exchangerate for payment missing!' => '¡Falta la tasa de cambio para el pago!',
+ 'Exchangerate missing!' => '¡Falta la tasa de cambio!',
+ 'Extended' => 'Extendido',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrero',
+ 'In-line' => 'Incrustado',
+ 'Invoice' => 'Factura',
+ 'Invoice Date' => 'Fecha de factura',
+ 'Invoice Date missing!' => 'No se ha definido la fecha de la factura',
+ 'Invoice Number' => 'Número de factura',
+ 'Invoice Number missing!' => 'No se ha definido el número de la factura',
+ 'Invoice deleted!' => '¡Factura borrada!',
+ 'Invoice posted!' => '¡Factura registrada!',
+ 'Item not on file!' => 'El concepto no se encuentra en ningún archivo',
+ 'Jan' => 'Ene',
+ 'January' => 'Enero',
+ 'Jul' => 'Jul',
+ 'July' => 'Julio',
+ 'Jun' => 'Jun',
+ 'June' => 'Junio',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'May',
+ 'May ' => 'Mayo',
+ 'Message' => 'Mensaje',
+ 'Name' => 'Nombre',
+ 'No.' => 'No.',
+ 'Notes' => 'Notas',
+ 'Nov' => 'Nov',
+ 'November' => 'Noviembre',
+ 'Number' => 'Número',
+ 'Number missing in Row' => 'No se ha definido el número en la fila',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'Order' => 'Orden',
+ 'Order Date missing!' => 'No se ha definido la fecha de la elaboración',
+ 'Order Number' => 'Número de orden',
+ 'Order Number missing!' => 'No se ha definido el número de la orden',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Albarán',
+ 'Packing List Date missing!' => 'No se ha definido la fecha del albarán',
+ 'Packing List Number missing!' => 'No se ha definido el número del albarán',
+ 'Part' => 'Artículo',
+ 'Payment date missing!' => 'No se encuentra la fecha de pago',
+ 'Payments' => 'Vencimientos impagados',
+ 'Phone' => 'Teléfono',
+ 'Post' => 'Registrar',
+ 'Post as new' => 'Registrar como nuevo',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Precio',
+ 'Printer' => 'Impresora',
+ 'Project' => 'Proyecto',
+ 'Project not on file!' => '¡No se encuentra el proyecto en la base de datos!',
+ 'Purchase Order' => 'Pedido',
+ 'Qty' => 'Cantidad',
+ 'Recd' => 'Cobrado',
+ 'Record in' => 'Registrar en',
+ 'Required by' => 'Aceptado el',
+ 'Sales Order' => 'Presupuesto',
+ 'Screen' => 'Pantalla',
+ 'Select from one of the items below' => 'Seleccione uno de los artículos siguientes',
+ 'Select from one of the names below' => 'Seleccione uno de los nombres de la lista',
+ 'Select from one of the projects below' => 'Seleccione uno de los proyectos de la lista',
+ 'Select postscript or PDF!' => '¡Seleccione postscript o PDF',
+ 'Sep' => 'Sep',
+ 'September' => 'Septiembre',
+ 'Service' => 'Servicio',
+ 'Ship' => 'Envio',
+ 'Ship to' => 'Destino',
+ 'Source' => 'Fuente',
+ 'Subject' => 'Asunto',
+ 'Subtotal' => 'Subtotal',
+ 'Tax Included' => 'Impuestos incluidos en el precio',
+ 'To' => 'Hasta ',
+ 'Total' => 'Total',
+ 'Unit' => 'Unidad',
+ 'Update' => 'Actualizar',
+ 'Vendor' => 'Proveedor',
+ 'Vendor missing!' => '¡Falta el proveedor!',
+ 'Vendor not on file!' => '¡No se encuentra el proveedor en la base de datos!',
+ 'What type of item is this?' => '¿De qué tipo es este concepto?',
+ 'Yes' => 'Si',
+ 'ea' => 'unid.',
+ 'emailed to' => 'enviado por correo electrónico a',
+ 'sent to printer' => 'enviado a la impresora',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'continuar' => 'continue',
+ 'borrar' => 'delete',
+ 'orden' => 'order',
+ 'registrar' => 'post',
+ 'registrar_como_nuevo' => 'post_as_new',
+ 'actualizar' => 'update',
+ 'si' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/es/is b/sql-ledger/locale/es/is
new file mode 100644
index 0000000..c1fa75a
--- /dev/null
+++ b/sql-ledger/locale/es/is
@@ -0,0 +1,185 @@
+$self{texts} = {
+ 'Account' => 'Cuenta',
+ 'Add Purchase Order' => 'Añadir pedido',
+ 'Add Sales Invoice' => 'Añadir factura',
+ 'Add Sales Order' => 'Añadir presupuesto',
+ 'Address' => 'Dirección',
+ 'Amount' => 'Total',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Are you sure you want to delete Invoice Number' => '¿Esta seguro de que desea borrar la factura número',
+ 'Attachment' => 'Adjunto',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Bin',
+ 'Cannot delete invoice!' => '¡No se puede borrar la factura!',
+ 'Cannot post invoice for a closed period!' => '¡No se puede registrar una factura en un periodo ya cerrado!',
+ 'Cannot post invoice!' => '¡No se puede registrar la factura!',
+ 'Cannot post payment for a closed period!' => '¡No se puede registrar un pago en un periodo ya cerrado!',
+ 'Cc' => 'Cc',
+ 'Confirm!' => 'Confirmar',
+ 'Contact' => 'Contacto',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Copias',
+ 'Credit Limit' => 'Limite de credito',
+ 'Currency' => 'Moneda',
+ 'Customer' => 'Cliente',
+ 'Customer missing!' => '¡Falta el cliente!',
+ 'Customer not on file!' => '¡El cliente no existe!',
+ 'Date' => 'Fecha',
+ 'Date Due' => 'Fecha de vencimiento',
+ 'Dec' => 'Dic',
+ 'December' => 'Diciembre',
+ 'Delete' => 'Borrar',
+ 'Delivery Date' => 'Fecha de entrega',
+ 'Description' => 'Descripción',
+ 'E-mail' => 'Correo electrónico',
+ 'E-mail address missing!' => 'No se ha definido el correo electrónico',
+ 'Edit Sales Invoice' => 'Edirar factura de venta',
+ 'Exch' => 'Cambio',
+ 'Exchangerate' => 'Tasa de cambio',
+ 'Exchangerate for payment missing!' => '¡Falta la tasa de cambio para el pago!',
+ 'Exchangerate missing!' => '¡Falta la tasa de cambio!',
+ 'Extended' => 'Extendido',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrero',
+ 'In-line' => 'Incrustado',
+ 'Invoice' => 'Factura',
+ 'Invoice Date' => 'Fecha de factura',
+ 'Invoice Date missing!' => 'No se ha definido la fecha de la factura',
+ 'Invoice Number' => 'Número de factura',
+ 'Invoice Number missing!' => 'No se ha definido el número de la factura',
+ 'Invoice deleted!' => '¡Factura borrada!',
+ 'Invoice posted!' => '¡Factura registrada!',
+ 'Item not on file!' => 'El concepto no se encuentra en ningún archivo',
+ 'Jan' => 'Ene',
+ 'January' => 'Enero',
+ 'Jul' => 'Jul',
+ 'July' => 'Julio',
+ 'Jun' => 'Jun',
+ 'June' => 'Junio',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'May',
+ 'May ' => 'Mayo',
+ 'Message' => 'Mensaje',
+ 'Name' => 'Nombre',
+ 'No.' => 'No.',
+ 'Notes' => 'Notas',
+ 'Nov' => 'Nov',
+ 'November' => 'Noviembre',
+ 'Number' => 'Número',
+ 'Number missing in Row' => 'No se ha definido el número en la fila',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'Order' => 'Orden',
+ 'Order Date missing!' => 'No se ha definido la fecha de la elaboración',
+ 'Order Number' => 'Número de orden',
+ 'Order Number missing!' => 'No se ha definido el número de la orden',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Albarán',
+ 'Packing List Date missing!' => 'No se ha definido la fecha del albarán',
+ 'Packing List Number missing!' => 'No se ha definido el número del albarán',
+ 'Part' => 'Artículo',
+ 'Payment date missing!' => 'No se encuentra la fecha de pago',
+ 'Payments' => 'Vencimientos impagados',
+ 'Phone' => 'Teléfono',
+ 'Post' => 'Registrar',
+ 'Post as new' => 'Registrar como nuevo',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Precio',
+ 'Print' => 'Imprimir',
+ 'Printer' => 'Impresora',
+ 'Project' => 'Proyecto',
+ 'Project not on file!' => '¡No se encuentra el proyecto en la base de datos!',
+ 'Purchase Order' => 'Pedido',
+ 'Qty' => 'Cantidad',
+ 'Recd' => 'Cobrado',
+ 'Record in' => 'Registrar en',
+ 'Remaining' => 'Resto',
+ 'Required by' => 'Aceptado el',
+ 'Sales Order' => 'Presupuesto',
+ 'Screen' => 'Pantalla',
+ 'Select from one of the items below' => 'Seleccione uno de los artículos siguientes',
+ 'Select from one of the names below' => 'Seleccione uno de los nombres de la lista',
+ 'Select from one of the projects below' => 'Seleccione uno de los proyectos de la lista',
+ 'Select postscript or PDF!' => '¡Seleccione postscript o PDF',
+ 'Sep' => 'Sep',
+ 'September' => 'Septiembre',
+ 'Service' => 'Servicio',
+ 'Ship' => 'Envio',
+ 'Ship to' => 'Destino',
+ 'Ship via' => 'Envio por',
+ 'Source' => 'Fuente',
+ 'Subject' => 'Asunto',
+ 'Subtotal' => 'Subtotal',
+ 'Tax Included' => 'Impuestos incluidos en el precio',
+ 'To' => 'Hasta ',
+ 'Total' => 'Total',
+ 'Unit' => 'Unidad',
+ 'Update' => 'Actualizar',
+ 'Vendor not on file!' => '¡No se encuentra el proveedor en la base de datos!',
+ 'What type of item is this?' => '¿De qué tipo es este concepto?',
+ 'Yes' => 'Si',
+ 'ea' => 'unid.',
+ 'emailed to' => 'enviado por correo electrónico a',
+ 'sent to printer' => 'enviado a la impresora',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'continuar' => 'continue',
+ 'borrar' => 'delete',
+ 'correo_electrónico' => 'e_mail',
+ 'orden' => 'order',
+ 'registrar' => 'post',
+ 'registrar_como_nuevo' => 'post_as_new',
+ 'imprimir' => 'print',
+ 'destino' => 'ship_to',
+ 'actualizar' => 'update',
+ 'si' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/es/login b/sql-ledger/locale/es/login
new file mode 100644
index 0000000..f7a7cf0
--- /dev/null
+++ b/sql-ledger/locale/es/login
@@ -0,0 +1,27 @@
+$self{texts} = {
+ 'About' => 'Acerca de',
+ 'Database Host' => 'Máquina servidor de base de datos',
+ 'Dataset' => 'Base de datos',
+ 'Incorrect Dataset version!' => 'Versión de base de datos incorrecta',
+ 'Incorrect Password!' => 'Contraseña incorrecta',
+ 'Licensed to' => 'Adaptado para',
+ 'Login' => 'Entrar',
+ 'Name' => 'Nombre',
+ 'Password' => 'Contraseña',
+ 'User' => 'Usuario',
+ 'Version' => 'Versión',
+ 'You are logged out!' => '¡Ya está desconectado del sistema!',
+ 'You did not enter a name!' => 'No ha introducido el nombre',
+ 'is not a member!' => 'no es miembro',
+ 'localhost' => 'máquina local',
+};
+
+$self{subs} = {
+ 'company_logo' => 'company_logo',
+ 'login' => 'login',
+ 'login_screen' => 'login_screen',
+ 'logout' => 'logout',
+ 'entrar' => 'login',
+};
+
+1;
diff --git a/sql-ledger/locale/es/menu b/sql-ledger/locale/es/menu
new file mode 100644
index 0000000..d9aa9e0
--- /dev/null
+++ b/sql-ledger/locale/es/menu
@@ -0,0 +1,71 @@
+$self{texts} = {
+ 'AP' => 'Cartera de pagos',
+ 'AP Aging' => 'Diario resumido de pagos',
+ 'AR' => 'Cartera de cobros',
+ 'AR Aging' => 'Diario resumido de cobros ',
+ 'Accounting Menu' => 'Menú general',
+ 'Add Account' => 'Añadir cuenta',
+ 'Add Assembly' => 'Añadir compuesto',
+ 'Add Customer' => 'Añadir cliente',
+ 'Add GIFI' => 'Añadir código GIFI',
+ 'Add Part' => 'Añadir artículo',
+ 'Add Project' => 'Añadir proyecto',
+ 'Add Service' => 'Añadir servicio',
+ 'Add Transaction' => 'Añadir',
+ 'Add Vendor' => 'Añadir proveedor',
+ 'Assemblies' => 'Compuestos',
+ 'Audit Control' => 'Control de auditoría',
+ 'Backup' => 'Copia de seguridad de los datos',
+ 'Balance Sheet' => 'Hoja de balance',
+ 'Cash' => 'Efectivo',
+ 'Chart of Accounts' => 'Cuadro de cuentas',
+ 'Check' => 'Cheque',
+ 'Customers' => 'Clientes',
+ 'General Ledger' => 'Libro mayor general',
+ 'Goods & Services' => 'Bienes y servicios',
+ 'HTML Templates' => 'Plantillas HTML',
+ 'Income Statement' => 'Balance de situación',
+ 'Invoice' => 'Factura',
+ 'LaTeX Templates' => 'Plantillas LaTeX',
+ 'List Accounts' => 'Listar cuentas',
+ 'List GIFI' => 'Listar código GIFI',
+ 'Logout' => 'Salir',
+ 'Order Entry' => 'Presupuestos y pedidos',
+ 'Packing List' => 'Albarán',
+ 'Parts' => 'Artículos',
+ 'Payment' => 'Pago',
+ 'Payments' => 'Vencimientos impagados',
+ 'Preferences' => 'Preferencias',
+ 'Projects' => 'Proyectos',
+ 'Purchase Invoice' => 'Factura de compras',
+ 'Purchase Order' => 'Pedido',
+ 'Purchase Orders' => 'Pedidos',
+ 'Receipt' => 'Recibo',
+ 'Receipts' => 'Recibos',
+ 'Reconciliation' => 'Reconciliación',
+ 'Reports' => 'Informes',
+ 'Sales Invoice' => 'Facturas de ventas',
+ 'Sales Order' => 'Presupuesto',
+ 'Sales Orders' => 'Presupuestos',
+ 'Save to File' => 'Guardar en un archivo',
+ 'Send by E-Mail' => 'Enviar por correo electrónico',
+ 'Services' => 'Servicios',
+ 'Statement' => 'Estado de cuenta',
+ 'Stock Assembly' => 'Inventariar compuesto',
+ 'Stylesheet' => 'Hoja de estilo',
+ 'System' => 'Sistema',
+ 'Tax collected' => 'Impuestos cobrados',
+ 'Tax paid' => 'Impuestos pagados',
+ 'Transactions' => 'Impagados',
+ 'Trial Balance' => 'Balance de comprobación',
+ 'Vendors' => 'Proveedores',
+ 'Version' => 'Versión',
+};
+
+$self{subs} = {
+ 'acc_menu' => 'acc_menu',
+ 'display' => 'display',
+ 'section_menu' => 'section_menu',
+};
+
+1;
diff --git a/sql-ledger/locale/es/oe b/sql-ledger/locale/es/oe
new file mode 100644
index 0000000..3eb55b9
--- /dev/null
+++ b/sql-ledger/locale/es/oe
@@ -0,0 +1,200 @@
+$self{texts} = {
+ 'Add' => 'Añadir',
+ 'Add Purchase Invoice' => 'Añadir factura de compra',
+ 'Add Purchase Order' => 'Añadir pedido',
+ 'Add Sales Invoice' => 'Añadir factura',
+ 'Add Sales Order' => 'Añadir presupuesto',
+ 'Address' => 'Dirección',
+ 'Amount' => 'Total',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Are you sure you want to delete Order Number' => '¿Esta seguro de que desea
+borrar la orden número?',
+ 'Attachment' => 'Adjunto',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Bin',
+ 'C' => 'C',
+ 'Cannot delete order!' => '¡No se puede borrar el pedido!',
+ 'Cannot save order!' => '¡No se puede guardar el pedido!',
+ 'Cc' => 'Cc',
+ 'Closed' => 'Cerrado',
+ 'Confirm!' => 'Confirmar',
+ 'Contact' => 'Contacto',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Copias',
+ 'Credit Limit' => 'Limite de credito',
+ 'Curr' => 'Mon.',
+ 'Currency' => 'Moneda',
+ 'Customer' => 'Cliente',
+ 'Customer missing!' => '¡Falta el cliente!',
+ 'Customer not on file!' => '¡El cliente no existe!',
+ 'Date' => 'Fecha',
+ 'Dec' => 'Dic',
+ 'December' => 'Diciembre',
+ 'Delete' => 'Borrar',
+ 'Delivery Date' => 'Fecha de entrega',
+ 'Description' => 'Descripción',
+ 'E-mail' => 'Correo electrónico',
+ 'E-mail address missing!' => 'No se ha definido el correo electrónico',
+ 'Edit Purchase Order' => 'Editar pedido',
+ 'Edit Sales Order' => 'Editar presupuesto',
+ 'Exchangerate' => 'Tasa de cambio',
+ 'Exchangerate missing!' => '¡Falta la tasa de cambio!',
+ 'Extended' => 'Extendido',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrero',
+ 'From' => 'Desde',
+ 'ID' => 'ID',
+ 'In-line' => 'Incrustado',
+ 'Include in Report' => 'Incluir en informe',
+ 'Invoice' => 'Factura',
+ 'Invoice Date missing!' => 'No se ha definido la fecha de la factura',
+ 'Invoice Number missing!' => 'No se ha definido el número de la factura',
+ 'Item not on file!' => 'El concepto no se encuentra en ningún archivo',
+ 'Jan' => 'Ene',
+ 'January' => 'Enero',
+ 'Jul' => 'Jul',
+ 'July' => 'Julio',
+ 'Jun' => 'Jun',
+ 'June' => 'Junio',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'May',
+ 'May ' => 'Mayo',
+ 'Message' => 'Mensaje',
+ 'Name' => 'Nombre',
+ 'No.' => 'No.',
+ 'Notes' => 'Notas',
+ 'Nov' => 'Nov',
+ 'November' => 'Noviembre',
+ 'Number' => 'Número',
+ 'Number missing in Row' => 'No se ha definido el número en la fila',
+ 'O' => 'O',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'Open' => 'Abierto',
+ 'Order' => 'Orden',
+ 'Order Date' => 'Fecha de elaboración',
+ 'Order Date missing!' => 'No se ha definido la fecha de la elaboración',
+ 'Order Number' => 'Número de orden',
+ 'Order Number missing!' => 'No se ha definido el número de la orden',
+ 'Order deleted!' => '¡Orden borrada!',
+ 'Order saved!' => '¡Orden guardada!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Albarán',
+ 'Packing List Date missing!' => 'No se ha definido la fecha del albarán',
+ 'Packing List Number missing!' => 'No se ha definido el número del albarán',
+ 'Part' => 'Artículo',
+ 'Phone' => 'Teléfono',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Precio',
+ 'Print' => 'Imprimir',
+ 'Printer' => 'Impresora',
+ 'Project' => 'Proyecto',
+ 'Project not on file!' => '¡No se encuentra el proyecto en la base de datos!',
+ 'Purchase Order' => 'Pedido',
+ 'Purchase Orders' => 'Pedidos',
+ 'Qty' => 'Cantidad',
+ 'Recd' => 'Cobrado',
+ 'Remaining' => 'Resto',
+ 'Required by' => 'Aceptado el',
+ 'Sales Order' => 'Presupuesto',
+ 'Sales Orders' => 'Presupuestos',
+ 'Save' => 'Guardar',
+ 'Save as new' => 'Guardar como nuevo',
+ 'Screen' => 'Pantalla',
+ 'Select from one of the items below' => 'Seleccione uno de los artículos siguientes',
+ 'Select from one of the names below' => 'Seleccione uno de los nombres de la lista',
+ 'Select from one of the projects below' => 'Seleccione uno de los proyectos de la lista',
+ 'Select postscript or PDF!' => '¡Seleccione postscript o PDF',
+ 'Sep' => 'Sep',
+ 'September' => 'Septiembre',
+ 'Service' => 'Servicio',
+ 'Ship' => 'Envio',
+ 'Ship to' => 'Destino',
+ 'Ship via' => 'Envio por',
+ 'Subject' => 'Asunto',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'Impuesto',
+ 'Tax Included' => 'Impuestos incluidos en el precio',
+ 'Terms: Net' => 'Crédito',
+ 'To' => 'Hasta ',
+ 'Total' => 'Total',
+ 'Unit' => 'Unidad',
+ 'Update' => 'Actualizar',
+ 'Vendor' => 'Proveedor',
+ 'Vendor missing!' => '¡Falta el proveedor!',
+ 'Vendor not on file!' => '¡No se encuentra el proveedor en la base de datos!',
+ 'What type of item is this?' => '¿De qué tipo es este concepto?',
+ 'Yes' => 'Si',
+ 'days' => 'días',
+ 'ea' => 'unid.',
+ 'emailed to' => 'enviado por correo electrónico a',
+ 'sent to printer' => 'enviado a la impresora',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_backorder' => 'create_backorder',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice' => 'invoice',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'order_links' => 'order_links',
+ 'orders' => 'orders',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_order' => 'prepare_order',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'save' => 'save',
+ 'save_as_new' => 'save_as_new',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'subtotal' => 'subtotal',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'añadir' => 'add',
+ 'continuar' => 'continue',
+ 'borrar' => 'delete',
+ 'correo_electrónico' => 'e_mail',
+ 'factura' => 'invoice',
+ 'imprimir' => 'print',
+ 'guardar' => 'save',
+ 'guardar_como_nuevo' => 'save_as_new',
+ 'destino' => 'ship_to',
+ 'actualizar' => 'update',
+ 'si' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/es/pe b/sql-ledger/locale/es/pe
new file mode 100644
index 0000000..3599b7e
--- /dev/null
+++ b/sql-ledger/locale/es/pe
@@ -0,0 +1,35 @@
+$self{texts} = {
+ 'Add' => 'Añadir',
+ 'Add Project' => 'Añadir proyecto',
+ 'All' => 'Todos',
+ 'Continue' => 'Continuar',
+ 'Delete' => 'Borrar',
+ 'Description' => 'Descripción',
+ 'Edit Project' => 'Editar proyecto',
+ 'Number' => 'Número',
+ 'Orphaned' => 'Huérfano',
+ 'Project' => 'Proyecto',
+ 'Project Number missing!' => '¡Falta el número de proyecto!',
+ 'Project deleted!' => '¡Proyecto borrado!',
+ 'Project saved!' => '¡Proyecto guardado ',
+ 'Projects' => 'Proyectos',
+ 'Save' => 'Guardar',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'añadir' => 'add',
+ 'continuar' => 'continue',
+ 'borrar' => 'delete',
+ 'guardar' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/es/rc b/sql-ledger/locale/es/rc
new file mode 100644
index 0000000..20183f1
--- /dev/null
+++ b/sql-ledger/locale/es/rc
@@ -0,0 +1,37 @@
+$self{texts} = {
+ 'Account' => 'Cuenta',
+ 'Balance' => 'Balance',
+ 'Cleared Balance' => 'Balance cerrado',
+ 'Continue' => 'Continuar',
+ 'Date' => 'Fecha',
+ 'Deposit' => 'Depósito',
+ 'Description' => 'Descripción',
+ 'Difference' => 'Diferencia',
+ 'Done' => 'Hecho',
+ 'Exchangerate Difference' => 'Diferencia en la tasa cambio a moneda extranjera',
+ 'From' => 'Desde',
+ 'Out of balance!' => '¡Fuera de balance!',
+ 'Payment' => 'Pago',
+ 'Reconciliation' => 'Reconciliación',
+ 'Select all' => 'Guardar todo',
+ 'Source' => 'Fuente',
+ 'Statement Balance' => 'Balance de cuenta',
+ 'To' => 'Hasta ',
+ 'Update' => 'Actualizar',
+};
+
+$self{subs} = {
+ 'continue' => 'continue',
+ 'display_form' => 'display_form',
+ 'done' => 'done',
+ 'get_payments' => 'get_payments',
+ 'reconciliation' => 'reconciliation',
+ 'select_all' => 'select_all',
+ 'update' => 'update',
+ 'continuar' => 'continue',
+ 'hecho' => 'done',
+ 'guardar_todo' => 'select_all',
+ 'actualizar' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/es/rp b/sql-ledger/locale/es/rp
new file mode 100644
index 0000000..bce27f7
--- /dev/null
+++ b/sql-ledger/locale/es/rp
@@ -0,0 +1,117 @@
+$self{texts} = {
+ 'AP Aging' => 'Diario resumido de pagos',
+ 'AR Aging' => 'Diario resumido de cobros ',
+ 'Account' => 'Cuenta',
+ 'Accounts' => 'Cuentas',
+ 'Amount' => 'Total',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Attachment' => 'Adjunto',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Balance Sheet' => 'Hoja de balance',
+ 'Bcc' => 'Bcc',
+ 'Cash based' => 'Efectivo inicial',
+ 'Cc' => 'Cc',
+ 'Compare to' => 'Comparar con',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Copias',
+ 'Credit' => 'Crédito',
+ 'Current' => 'Actual',
+ 'Customer' => 'Cliente',
+ 'Date' => 'Fecha',
+ 'Debit' => 'Débito',
+ 'Dec' => 'Dic',
+ 'December' => 'Diciembre',
+ 'Decimalplaces' => 'Lugar de los decimales',
+ 'Description' => 'Descripción',
+ 'Due' => 'Vence',
+ 'E-mail' => 'Correo electrónico',
+ 'E-mail Statement to' => 'Enviar comprobante por correo electrónico a',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrero',
+ 'From' => 'Desde',
+ 'GIFI' => 'Código GIFI',
+ 'Heading' => 'Encabezado',
+ 'ID' => 'ID',
+ 'In-line' => 'Incrustado',
+ 'Include in Report' => 'Incluir en informe',
+ 'Income Statement' => 'Balance de situación',
+ 'Invoice' => 'Factura',
+ 'Jan' => 'Ene',
+ 'January' => 'Enero',
+ 'Jul' => 'Jul',
+ 'July' => 'Julio',
+ 'Jun' => 'Jun',
+ 'June' => 'Junio',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'May',
+ 'May ' => 'Mayo',
+ 'Message' => 'Mensaje',
+ 'N/A' => 'Sin respuesta',
+ 'Nothing selected!' => '¡No es seleccionado nada!',
+ 'Nov' => 'Nov',
+ 'November' => 'Noviembre',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'PDF' => 'PDF',
+ 'Payments' => 'Vencimientos impagados',
+ 'Postscript' => 'Postscript',
+ 'Print' => 'Imprimir',
+ 'Printer' => 'Impresora',
+ 'Receipts' => 'Recibos',
+ 'Report for' => 'Informe para',
+ 'Retained Earnings' => 'Ganacias retenidas',
+ 'Screen' => 'Pantalla',
+ 'Select all' => 'Guardar todo',
+ 'Select postscript or PDF!' => '¡Seleccione postscript o PDF',
+ 'Sep' => 'Sep',
+ 'September' => 'Septiembre',
+ 'Source' => 'Fuente',
+ 'Standard' => 'Estándard',
+ 'Statement' => 'Estado de cuenta',
+ 'Statement sent to' => 'Estado de cuenta enviado a',
+ 'Statements sent to printer!' => '¡Estado de cuenta enviado a la impresora!',
+ 'Subject' => 'Asunto',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'Impuesto',
+ 'Tax collected' => 'Impuestos cobrados',
+ 'Tax paid' => 'Impuestos pagados',
+ 'To' => 'Hasta ',
+ 'Total' => 'Total',
+ 'Trial Balance' => 'Balance de comprobación',
+ 'Vendor' => 'Proveedor',
+ 'as at' => 'al',
+ 'collected on sales' => 'ingresado en ventas',
+ 'for Period' => 'para el periodo',
+ 'paid on purchases' => 'pagado en compras',
+ 'to' => 'a',
+};
+
+$self{subs} = {
+ 'aging' => 'aging',
+ 'continue' => 'continue',
+ 'e_mail' => 'e_mail',
+ 'generate_ap_aging' => 'generate_ap_aging',
+ 'generate_ar_aging' => 'generate_ar_aging',
+ 'generate_balance_sheet' => 'generate_balance_sheet',
+ 'generate_income_statement' => 'generate_income_statement',
+ 'generate_tax_report' => 'generate_tax_report',
+ 'generate_trial_balance' => 'generate_trial_balance',
+ 'list_payments' => 'list_payments',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'report' => 'report',
+ 'select_all' => 'select_all',
+ 'send_email' => 'send_email',
+ 'statement_details' => 'statement_details',
+ 'tax_subtotal' => 'tax_subtotal',
+ 'continuar' => 'continue',
+ 'correo_electrónico' => 'e_mail',
+ 'imprimir' => 'print',
+ 'guardar_todo' => 'select_all',
+};
+
+1;
diff --git a/sql-ledger/locale/fi/COPYING b/sql-ledger/locale/fi/COPYING
new file mode 100644
index 0000000..823094c
--- /dev/null
+++ b/sql-ledger/locale/fi/COPYING
@@ -0,0 +1,23 @@
+######################################################################
+# SQL-Ledger Accounting
+# Copyright (c) 2002
+#
+# Finish texts:
+#
+# Author: Petri Leppänen <mpj@mail.htk.fi>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+#######################################################################
+
diff --git a/sql-ledger/locale/fi/LANGUAGE b/sql-ledger/locale/fi/LANGUAGE
new file mode 100644
index 0000000..3435014
--- /dev/null
+++ b/sql-ledger/locale/fi/LANGUAGE
@@ -0,0 +1 @@
+Finnish
diff --git a/sql-ledger/locale/fi/admin b/sql-ledger/locale/fi/admin
new file mode 100644
index 0000000..b59d03b
--- /dev/null
+++ b/sql-ledger/locale/fi/admin
@@ -0,0 +1,126 @@
+$self{texts} = {
+ 'Access Control' => 'Kulunvalvonta',
+ 'Accounting' => 'Kirjanpito',
+ 'Add User' => 'Lisää käyttäjä',
+ 'Address' => 'Osoite',
+ 'Administration' => 'Ylläpito',
+ 'Administrator' => 'Pääkäyttäjä',
+ 'All Datasets up to date!' => 'Kaikki tietolähteet ajan tasalla',
+ 'Change Admin Password' => 'Muuta pääkäyttäjän salasana',
+ 'Change Password' => 'Muuta salasana',
+ 'Character Set' => 'Näppäimistökartta ',
+ 'Click on login name to edit!' => 'Klikkaa kirjautumisnimeä muokataksesi sitä!',
+ 'Company' => 'Yritys',
+ 'Connect to' => 'Yhdistä',
+ 'Continue' => 'Jatka',
+ 'Create Chart of Accounts' => 'Luo tilikartta',
+ 'Create Dataset' => 'Luo tietolähteet',
+ 'DBI not installed!' => 'DBI ei ole asennettu!',
+ 'Database' => 'Tietokanta',
+ 'Database Administration' => 'Tietokannan ylläpito',
+ 'Database Driver not checked!' => 'Tietokanta-ajuria ei ole tarkastettu',
+ 'Database User missing!' => 'Tietokannan käyttäjä puuttuu',
+ 'Dataset' => 'Tietolähde',
+ 'Dataset missing!' => 'Tietolähde puuttuu',
+ 'Dataset updated!' => 'Tietolähde päivitetty',
+ 'Date Format' => 'Päiväyksen muoto',
+ 'Delete' => 'Poista',
+ 'Delete Dataset' => 'Poista tietolähde',
+ 'Directory' => 'Hakemisto',
+ 'Driver' => 'Ajuri',
+ 'Dropdown Limit' => 'Pudotusvalikkon rivimäärä',
+ 'E-mail' => 'Sähköposti',
+ 'Edit User' => 'Muokkaa käyttäjää',
+ 'Existing Datasets' => 'Nykyiset tietolähteet',
+ 'Fax' => 'Faksi',
+ 'File locked!' => 'Tiedosto lukittu',
+ 'Host' => 'Isäntätietokone',
+ 'Hostname missing!' => 'Isäntätietokoneen nimi puuttuu',
+ 'Incorrect Password!' => 'Väärä salasana!',
+ 'Language' => 'Kieli',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Jätä isäntä- ja porttikentät tyhjiksi mikäli et halua ottaa etäyhteyttä.',
+ 'Login' => 'Kirjaudu',
+ 'Multibyte Encoding' => 'Itämaisten kielten tuki',
+ 'Name' => 'Nimi',
+ 'New Templates' => 'Uusi malli',
+ 'No Database Drivers available!' => 'Tietokanta-ajuria ei saatavilla!',
+ 'No Dataset selected!' => 'Ei tietolähdettä valittuna!',
+ 'Nothing to delete!' => 'Ei poistettavaa!',
+ 'Number Format' => 'Numeron muoto',
+ 'Oracle Database Administration' => 'Oracle-tietokannan ylläpito',
+ 'Password' => 'Salasana',
+ 'Password changed!' => 'Salasana muutettu!',
+ 'Pg Database Administration' => 'Postgres tietokannan ylläpito',
+ 'Phone' => 'Puhelin',
+ 'Port' => 'Portti',
+ 'Port missing!' => 'Portti puuttuu!',
+ 'Printer' => 'Kirjoitin',
+ 'Save' => 'Tallenna',
+ 'Select a Dataset to delete and press "Continue"' => 'Valitse poistettava tietolähde ja
+paina jatka',
+ 'Setup Templates' => 'Aseta mallit',
+ 'Ship via' => 'Lähetä kautta',
+ 'Signature' => 'Allekirjoitus',
+ 'Stylesheet' => 'Tyylimalli',
+ 'Templates' => 'Mallit',
+ 'The following Datasets are not in use and can be deleted' => 'Seuraavat tietolähteet
+eivät ole käytössä ja voidaan poistaa',
+ 'The following Datasets need to be updated' => 'Seuraavat tietolähteet päivitettävä',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'Tämä on olemassa olevien lähteiden ennakkotarkistus. Mitään ei luoda tai poisteta tässä vaiheessa!',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'Lisätäksesi käyttäjän ryhmään muokkaa nimeä, muuta kirjautumisnimi ja tallenna.',
+ 'Update Dataset' => 'Päivitä tietolähde',
+ 'Use Templates' => 'Käytä mallia',
+ 'User' => 'Käyttäjä',
+ 'User deleted!' => 'Käyttäjä poistettu!',
+ 'User saved!' => 'Käyttäjä tallennettu!',
+ 'Version' => 'Versio',
+ 'You must enter a host and port for local and remote connections!' => 'Sinun täytyy antaa isäntäkone ja portti paikallisille ja etäyhteyksille!',
+ 'does not exist' => 'ei löydy',
+ 'is already a member!' => 'on jo käyttäjä',
+ 'localhost' => 'paikallinen tietokone',
+ 'successfully created!' => 'onnistuneesti luotu',
+ 'successfully deleted!' => 'onnistuneesti poistettu',
+ 'website' => 'www-sivu',
+};
+
+$self{subs} = {
+ 'add_user' => 'add_user',
+ 'adminlogin' => 'adminlogin',
+ 'change_admin_password' => 'change_admin_password',
+ 'change_password' => 'change_password',
+ 'check_password' => 'check_password',
+ 'continue' => 'continue',
+ 'create_dataset' => 'create_dataset',
+ 'dbcreate' => 'dbcreate',
+ 'dbdelete' => 'dbdelete',
+ 'dbdriver_defaults' => 'dbdriver_defaults',
+ 'dbselect_source' => 'dbselect_source',
+ 'dbupdate' => 'dbupdate',
+ 'delete' => 'delete',
+ 'delete_dataset' => 'delete_dataset',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'get_value' => 'get_value',
+ 'list_users' => 'list_users',
+ 'login' => 'login',
+ 'login_name' => 'login_name',
+ 'oracle_database_administration' => 'oracle_database_administration',
+ 'pg_database_administration' => 'pg_database_administration',
+ 'save' => 'save',
+ 'update_dataset' => 'update_dataset',
+ 'lisää_käyttäjä' => 'add_user',
+ 'muuta_pääkäyttäjän_salasana' => 'change_admin_password',
+ 'muuta_salasana' => 'change_password',
+ 'jatka' => 'continue',
+ 'luo_tietolähteet' => 'create_dataset',
+ 'poista' => 'delete',
+ 'poista_tietolähde' => 'delete_dataset',
+ 'kirjaudu' => 'login',
+ 'oracle_tietokannan_ylläpito' => 'oracle_database_administration',
+ 'postgres_tietokannan_ylläpito' => 'pg_database_administration',
+ 'tallenna' => 'save',
+ 'päivitä_tietolähde' => 'update_dataset',
+};
+
+1;
diff --git a/sql-ledger/locale/fi/all b/sql-ledger/locale/fi/all
new file mode 100644
index 0000000..a3c22c5
--- /dev/null
+++ b/sql-ledger/locale/fi/all
@@ -0,0 +1,494 @@
+# These are all the texts to build the translations files.
+# The file has the form of 'english text' => 'foreign text',
+# you can add the translation in this file or in the 'missing' file
+# run locales.pl from this directory to rebuild the translation files
+
+$self{texts} = {
+ 'AP' => 'Ostot',
+ 'AP Aging' => 'Erääntyvät ostolaskut',
+ 'AP Transaction' => 'Ostotapahtuma',
+ 'AP Transactions' => 'Ostotapahtumat',
+ 'AR' => 'Myynnit',
+ 'AR Aging' => 'Erääntyvät myyntilaskut',
+ 'AR Transaction' => 'Myyntitapahtuma',
+ 'AR Transactions' => 'Myyntitapahtumat',
+ 'About' => 'Lisätietoja',
+ 'Access Control' => 'Kulunvalvonta',
+ 'Account' => 'Tili',
+ 'Account Number' => 'Tilinumero',
+ 'Account Number missing!' => 'Tilinumero puuttuu',
+ 'Account Type' => 'Tilityyppi',
+ 'Account Type missing!' => 'Tilityyppi puuttuu',
+ 'Account deleted!' => 'Tili poistettu',
+ 'Account saved!' => 'Tili lisätty',
+ 'Accounting' => 'Kirjanpito',
+ 'Accounting Menu' => 'Kirjanpitovalikko',
+ 'Accounts' => 'Tilit',
+ 'Active' => 'Avoin',
+ 'Add' => 'Lisää',
+ 'Add Account' => 'Lisää tili',
+ 'Add Accounts Payables Transaction' => 'Lisää ostotapahtuma',
+ 'Add Accounts Receivables Transaction' => 'Lisää myyntitapahtuma',
+ 'Add Assembly' => 'Lisää tuote',
+ 'Add Customer' => 'Lisää asiakas',
+ 'Add GIFI' => 'Lisää GIFI',
+ 'Add General Ledger Transaction' => 'Lisää pääkirjatapahtuma',
+ 'Add Part' => 'Lisää raaka-aine/tarvike',
+ 'Add Project' => 'Lisää projekti',
+ 'Add Purchase Invoice' => 'Lisää ostolasku',
+ 'Add Purchase Order' => 'Ostotilaus',
+ 'Add Sales Invoice' => 'Lisää myyntilasku',
+ 'Add Sales Order' => 'Lisää tilausvahvistus',
+ 'Add Service' => 'Lisää palvelu',
+ 'Add Transaction' => 'Lisää tapahtuma',
+ 'Add User' => 'Lisää käyttäjä',
+ 'Add Vendor' => 'Lisää toimittaja',
+ 'Address' => 'Osoite',
+ 'Administration' => 'Ylläpito',
+ 'Administrator' => 'Pääkäyttäjä',
+ 'All' => 'Kaikki',
+ 'All Datasets up to date!' => 'Kaikki tietolähteet ajan tasalla',
+ 'Amount' => 'Summa',
+ 'Amount Due' => 'Erääntyvä summa',
+ 'Amount does not equal applied!' => 'Määrä eri kuin sovellettu',
+ 'Amount missing!' => 'Määrä puuttuu',
+ 'Applied' => 'Sovellettu',
+ 'Apr' => 'Huh',
+ 'April' => 'Huhtikuu',
+ 'Are you sure you want to delete Invoice Number' => 'Haluatko poistaa laskun numero?',
+ 'Are you sure you want to delete Order Number' => 'Haluatko poistaa tilauksen numero',
+ 'Are you sure you want to delete Transaction' => 'Haluatko poistaa viennin?',
+ 'Assemblies' => 'Tuotteet',
+ 'Assemblies restocked!' => 'Tuotteet viety varastoon',
+ 'Assembly Number missing!' => 'Tuotenumero puuttuu!',
+ 'Asset' => 'Vastaavaa',
+ 'Attachment' => 'Liite',
+ 'Audit Control' => 'Tilien tarkistus',
+ 'Aug' => 'Elo',
+ 'August' => 'Elokuu',
+ 'BOM' => 'Materiaalilista',
+ 'Backup' => 'Varmuuskopio',
+ 'Backup sent to' => 'Varmuuskopio lähetetty',
+ 'Balance' => 'Tase',
+ 'Balance Sheet' => 'Taselaskelma',
+ 'Bcc' => 'Näkymätön kopio',
+ 'Bin' => 'Varastopaikka',
+ 'Books are open' => 'Kirjat ovat avoinna',
+ 'Bought' => 'Ostettu',
+ 'Business Number' => 'Y-numero',
+ 'C' => 'C',
+ 'COGS' => 'Myydyn tuotteen kulut',
+ 'Cannot delete account!' => 'Tiliä ei voi poistaa!',
+ 'Cannot delete customer!' => 'Asiakasta ei voi poistaa!',
+ 'Cannot delete default account!' => 'Oletustiliä ei voi poistaa!',
+ 'Cannot delete invoice!' => 'Laskua ei voi poistaa!',
+ 'Cannot delete item already invoiced!' => 'Laskutettua nimikettä ei voi poistaa!',
+ 'Cannot delete item on order!' => 'Nimikettä tilauksessa ei voi poistaa',
+ 'Cannot delete item which is part of an assembly!' => 'Tuotteen raaka-ainetta/tarviketta ei voi poistaa!',
+ 'Cannot delete item!' => 'Nimikettä ei voi poistaa!',
+ 'Cannot delete order!' => 'Tilausta ei voi poistaa!',
+ 'Cannot delete transaction!' => 'Vientiä ei voi poistaa',
+ 'Cannot delete vendor!' => 'Toimittajaa ei voi poistaa!',
+ 'Cannot have a value in both Debit and Credit!' => 'Arvo sekä Kreditissä että Debetissä kielletty!',
+ 'Cannot post a transaction without a value!' => 'Viennin kirjaus ilman arvoa kielletty!',
+ 'Cannot post invoice for a closed period!' => 'Laskun kirjaus suljetulle ajanjaksolle kielletty!',
+ 'Cannot post invoice!' => 'Laskua ei voi kirjata!',
+ 'Cannot post payment for a closed period!' => 'Maksun kirjaus suljetulle ajanjaksolle kielletty ',
+ 'Cannot post payment!' => 'Maksua ei voi kirjata!',
+ 'Cannot post transaction for a closed period!' => 'Viennin kirjaus suljetulle ajanjaksolle kielletty',
+ 'Cannot post transaction!' => 'Vientiä ei voi kirjata',
+ 'Cannot process payment for a closed period!' => 'Suljetun ajanjakson maksua ei voi käsitellä',
+ 'Cannot save account!' => 'Tilin tallennus ei onnistu!',
+ 'Cannot save order!' => 'Tilauksen tallennus ei onnistu!',
+ 'Cannot save preferences!' => 'Asetuksien tallennus ei onnistu!',
+ 'Cannot stock assemblies!' => 'Tuotteiden varastointi ei onnistu!',
+ 'Cash' => 'Käteiskauppa',
+ 'Cash based' => 'Käteiseen perustuva',
+ 'Cc' => 'Kopio',
+ 'Change Admin Password' => 'Muuta pääkäyttäjän salasana',
+ 'Change Password' => 'Muuta salasana',
+ 'Character Set' => 'Näppäimistökartta ',
+ 'Chart of Accounts' => 'Tilikartta',
+ 'Check' => 'Sekki',
+ 'Check printed!' => 'Sekki tulostettu!',
+ 'Check printing failed!' => 'Sekin tulostus epäonnistui!',
+ 'Cleared Balance' => 'Tarkistettu tase',
+ 'Click on login name to edit!' => 'Klikkaa kirjautumisnimeä muokataksesi sitä!',
+ 'Close Books up to' => 'Sulje kirjat hetkeen',
+ 'Closed' => 'Suljettu',
+ 'Company' => 'Yritys',
+ 'Compare to' => 'verrattuna',
+ 'Confirm!' => 'Vahvista!',
+ 'Connect to' => 'Yhdistä',
+ 'Contact' => 'Yhteyshenkilö',
+ 'Continue' => 'Jatka',
+ 'Copies' => 'Kopiot',
+ 'Copy to COA' => 'Kopioi tilikarttaan',
+ 'Create Chart of Accounts' => 'Luo tilikartta',
+ 'Create Dataset' => 'Luo tietolähteet',
+ 'Credit' => 'Kredit',
+ 'Credit Limit' => 'Luottoraja',
+ 'Curr' => 'Valuutta',
+ 'Currency' => 'Valuutta',
+ 'Current' => 'Erääntyy',
+ 'Customer' => 'Asiakas',
+ 'Customer deleted!' => 'Asiakas poistettu!',
+ 'Customer missing!' => 'Asiakas puuttuu!',
+ 'Customer not on file!' => 'Asiakas ei järjestelmässä!',
+ 'Customer saved!' => 'Asiakas tallennettu!',
+ 'Customers' => 'Asiakkaat',
+ 'DBI not installed!' => 'DBI ei ole asennettu!',
+ 'Database' => 'Tietokanta',
+ 'Database Administration' => 'Tietokannan ylläpito',
+ 'Database Driver not checked!' => 'Tietokanta-ajuria ei ole tarkastettu',
+ 'Database Host' => 'Tietokannan isäntä',
+ 'Database User missing!' => 'Tietokannan käyttäjä puuttuu',
+ 'Dataset' => 'Tietolähde',
+ 'Dataset missing!' => 'Tietolähde puuttuu',
+ 'Dataset updated!' => 'Tietolähde päivitetty',
+ 'Date' => 'Päiväys',
+ 'Date Due' => 'Eräpäivä',
+ 'Date Format' => 'Päiväyksen muoto',
+ 'Date Paid' => 'Maksupäivä',
+ 'Date missing!' => 'Päiväys puuttuu',
+ 'Debit' => 'Debet',
+ 'Debit and credit out of balance!' => 'Debet ja kredit erisuuruiset',
+ 'Dec' => 'Jou',
+ 'December' => 'Joulukuu',
+ 'Decimalplaces' => 'Desimaalipaikkoja',
+ 'Delete' => 'Poista',
+ 'Delete Account' => 'Poista tili',
+ 'Delete Dataset' => 'Poista tietolähde',
+ 'Delivery Date' => 'Toimituspäivä',
+ 'Deposit' => 'Rahatallennus',
+ 'Description' => 'Kuvaus',
+ 'Difference' => 'Ero',
+ 'Directory' => 'Hakemisto',
+ 'Discount' => 'Alennus',
+ 'Done' => 'Suoritettu!',
+ 'Drawing' => 'Piirros',
+ 'Driver' => 'Ajuri',
+ 'Dropdown Limit' => 'Pudotusvalikkon rivimäärä',
+ 'Due' => 'Eräpv',
+ 'Due Date' => 'Eräpäivä',
+ 'Due Date missing!' => 'Eräpäivä puuttuu!',
+ 'E-mail' => 'Sähköposti',
+ 'E-mail Statement to' => 'Sähköpostilla tiliote kenelle',
+ 'E-mail address missing!' => 'Sähköpostiosoite puuttuu!',
+ 'Edit' => 'Muokkaa',
+ 'Edit Account' => 'Muokkaa tiliä',
+ 'Edit Accounts Payables Transaction' => 'Muokkaa ostovientiä',
+ 'Edit Accounts Receivables Transaction' => 'Muokkaa myyntivientiä',
+ 'Edit Assembly' => 'Muokkaa tuotetta',
+ 'Edit Customer' => 'Muokkaa asiakas',
+ 'Edit GIFI' => 'Muokkaa GIFI',
+ 'Edit General Ledger Transaction' => 'Muokkaa pääkirjavientiä',
+ 'Edit Part' => 'Muokkaa raaka-ainetta/tarviketta',
+ 'Edit Preferences for' => 'Muokkaa asetuksia',
+ 'Edit Project' => 'Muokkaa projektia',
+ 'Edit Purchase Invoice' => 'Muokkaa ostolaskua',
+ 'Edit Purchase Order' => 'Muokkaa ostotilausta',
+ 'Edit Sales Invoice' => 'Muokkaa myyntilaskua',
+ 'Edit Sales Order' => 'Muokkaa myyntitilausta',
+ 'Edit Service' => 'Muokkaa palvelua',
+ 'Edit Template' => 'Muokkaa mallia',
+ 'Edit User' => 'Muokkaa käyttäjää',
+ 'Edit Vendor' => 'Muokkaa ',
+ 'Employee' => 'Työntekijä',
+ 'Enforce transaction reversal for all dates' => 'Pakota muunnos kaikille viennille',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Merkitse käyttämäsi valuutat 3 kirjaimella ja erota ne kaksoispisteellä, esim.(EUR:USD:SEK).',
+ 'Equity' => 'Oma pääoma',
+ 'Exch' => 'Vaihtokurssi',
+ 'Exchangerate' => 'Vaihtokurssi',
+ 'Exchangerate Difference' => 'Vaihtokurssin ero',
+ 'Exchangerate for payment missing!' => 'Maksun vaihtokurssi puuttuu',
+ 'Exchangerate missing!' => 'Vaihtokurssi puuttuu',
+ 'Existing Datasets' => 'Nykyiset tietolähteet',
+ 'Expense' => 'Menot',
+ 'Expense Account' => 'Menotili',
+ 'Expense/Asset' => 'Menot/Varat',
+ 'Extended' => 'Pidennetty',
+ 'Fax' => 'Faksi',
+ 'Feb' => 'Hel',
+ 'February' => 'Helmikuu',
+ 'File locked!' => 'Tiedosto lukittu',
+ 'Foreign Exchange Gain' => 'Vaihtokurssivoitto',
+ 'Foreign Exchange Loss' => 'Vaihtokurssitappio',
+ 'From' => 'Alkaen',
+ 'GIFI' => 'GIFI',
+ 'GIFI deleted!' => 'GIFI poistettu!',
+ 'GIFI missing!' => 'GIFI puuttuu!',
+ 'GIFI saved!' => 'GIFI tallennettu!',
+ 'GL Transaction' => 'Pääkirjavienti',
+ 'General Ledger' => 'Pääkirja',
+ 'Goods & Services' => 'Hyödykkeet ja palvelut',
+ 'HTML Templates' => 'HTML mallit',
+ 'Heading' => 'Otsikko',
+ 'Host' => 'Isäntätietokone',
+ 'Hostname missing!' => 'Isäntätietokoneen nimi puuttuu',
+ 'ID' => 'ID',
+ 'Image' => 'Kuva',
+ 'In-line' => 'Linjalla',
+ 'Include in Report' => 'Sisällytä raporttiin',
+ 'Include in drop-down menus' => 'Sisällytä pudotusvalikkoon',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Liitetäänkö tämä tili
+asiakas/toimittaja-lomakkeisiin merkitäkseen hänet verokelpoiseksi!',
+ 'Income' => 'Tulot',
+ 'Income Account' => 'Tulotili',
+ 'Income Statement' => 'Tuloslaskelma',
+ 'Incorrect Dataset version!' => 'Väärä tietolähdeversio!',
+ 'Incorrect Password!' => 'Väärä salasana!',
+ 'Individual Items' => 'Yksittäiset nimikkeet',
+ 'Inventory' => 'Varasto',
+ 'Inventory Account' => 'Varastotili',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'Tuotteen varaston on oltava nolla ennen asettamista epäkurantiksi!',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'Raaka-aineen/tarvikkeen varaston määrä on oltava nolla ennen asettamista epäkurantiksi!',
+ 'Inventory quantity must be zero!' => 'Varaston määrä on oltava nolla!',
+ 'Invoice' => 'Lasku',
+ 'Invoice Date' => 'Laskun päiväys',
+ 'Invoice Date missing!' => 'Laskun päiväys puuttuu!',
+ 'Invoice Number' => 'Laskun numero',
+ 'Invoice Number missing!' => 'Laskun numero puuttuu!',
+ 'Invoice deleted!' => 'Lasku poistettu!',
+ 'Invoice posted!' => 'Lasku kirjattu!',
+ 'Invoices' => 'Laskut',
+ 'Is this a summary account to record' => 'Onko tämä tallennettava yhteenvetotili?',
+ 'Item deleted!' => 'Nimike poistettu!',
+ 'Item not on file!' => 'Nimikettä ei ole järjestelmässä!',
+ 'Jan' => 'Tam',
+ 'January' => 'Tammikuu',
+ 'Jul' => 'Hei',
+ 'July' => 'Heinäkuu',
+ 'Jun' => 'Kes',
+ 'June' => 'Kesäkuu',
+ 'LaTeX Templates' => 'LaTeX mallit',
+ 'Language' => 'Kieli',
+ 'Last Cost' => 'Edellinen kustannus',
+ 'Last Invoice Number' => 'Edellinen laskunumero',
+ 'Last Numbers & Default Accounts' => 'Edelliset numerot ja oletustilit',
+ 'Last Purchase Order Number' => 'Edellisen ostotilauksen numero',
+ 'Last Sales Order Number' => 'Edellinen myyntinumero',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Jätä isäntä- ja porttikentät tyhjiksi mikäli et halua ottaa etäyhteyttä.',
+ 'Liability' => 'Vastattavaa',
+ 'Licensed to' => 'Lisenssin omistaja',
+ 'Line Total' => 'Rivi yhteensä',
+ 'Link' => 'Linkki',
+ 'Link Accounts' => 'Linkkaa tilit',
+ 'List Accounts' => 'Listaa tilit',
+ 'List GIFI' => 'Listaa GIFI',
+ 'List Price' => 'Listaa hinnat',
+ 'List Transactions' => 'Listaa viennit',
+ 'Login' => 'Kirjaudu',
+ 'Logout' => 'Kirjaudu ulos',
+ 'Make' => 'Valmistaja',
+ 'Mar' => 'Maa',
+ 'March' => 'Maaliskuu',
+ 'May' => 'Tou',
+ 'May ' => 'Toukokuu',
+ 'Message' => 'Viesti',
+ 'Microfiche' => 'Mikrokuva',
+ 'Model' => 'Tuotenimi',
+ 'Multibyte Encoding' => 'Itämaisten kielten tuki',
+ 'N/A' => 'Ei saatavilla',
+ 'Name' => 'Nimi',
+ 'Name missing!' => 'Nimi puuttuu!',
+ 'New Templates' => 'Uusi malli',
+ 'No' => 'Ei',
+ 'No Database Drivers available!' => 'Tietokanta-ajuria ei saatavilla!',
+ 'No Dataset selected!' => 'Ei tietolähdettä valittuna!',
+ 'No email address for' => 'Sähköpostiosoite puuttuu',
+ 'No.' => 'no',
+ 'Notes' => 'Lisätietoja',
+ 'Nothing applied!' => 'Mitään soveltamatta!',
+ 'Nothing selected!' => 'Mitään valitsematta!',
+ 'Nothing to delete!' => 'Ei poistettavaa!',
+ 'Nov' => 'Mar',
+ 'November' => 'Marraskuu',
+ 'Number' => 'Numero',
+ 'Number Format' => 'Numeron muoto',
+ 'Number missing in Row' => 'Numero puuttuu kannan riviltä',
+ 'O' => 'O',
+ 'Obsolete' => 'Epäkurantti',
+ 'Oct' => 'Lok',
+ 'October' => 'Lokakuu',
+ 'On Hand' => 'Varastossa',
+ 'On Order' => 'Tilauksesta',
+ 'Open' => 'Avoinna',
+ 'Oracle Database Administration' => 'Oracle-tietokannan ylläpito',
+ 'Order' => 'Tilaus',
+ 'Order Date' => 'Tilauspäivämäärä',
+ 'Order Date missing!' => 'Tilauspäivämäärä puuttuu!',
+ 'Order Entry' => 'Tilauksen kirjaus',
+ 'Order Number' => 'Tilausnumero',
+ 'Order Number missing!' => 'Tilausnumero puuttuu!',
+ 'Order deleted!' => 'Tilaus poistettu!',
+ 'Order saved!' => 'Tilaus tallennettu!',
+ 'Ordered' => 'Tilattu',
+ 'Orphaned' => 'Hylätyt',
+ 'Out of balance!' => 'Ei tasapainossa',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Pakkauslista',
+ 'Packing List Date missing!' => 'Pakkauslistan päiväys puuttuu!',
+ 'Packing List Number missing!' => 'Pakkauslistan numero puuttuu!',
+ 'Paid' => 'Maksettu',
+ 'Paid in full' => 'Täysin maksettu',
+ 'Part' => 'Raaka-aine/tarvike',
+ 'Part Number missing!' => 'Raaka-aine/tarvikenumero puuttuu!',
+ 'Parts' => 'Raaka-aineet/tarvikkeet',
+ 'Parts Inventory' => 'Raaka-aine/tarvikevarasto',
+ 'Password' => 'Salasana',
+ 'Password changed!' => 'Salasana muutettu!',
+ 'Payables' => 'Maksettavaa',
+ 'Payment' => 'Maksu',
+ 'Payment date missing!' => 'Maksupäivä puuttuu!',
+ 'Payment posted!' => 'Maksu kirjattu!',
+ 'Payments' => 'Maksut',
+ 'Pg Database Administration' => 'Postgres tietokannan ylläpito',
+ 'Phone' => 'Puhelin',
+ 'Port' => 'Portti',
+ 'Port missing!' => 'Portti puuttuu!',
+ 'Post' => 'Kirjaa',
+ 'Post as new' => 'Kirjaa uutena',
+ 'Postscript' => 'Postscript',
+ 'Preferences' => 'Asetukset',
+ 'Preferences saved!' => 'Asetukset tallennettu!',
+ 'Price' => 'Hinta',
+ 'Print' => 'Tulosta',
+ 'Printer' => 'Kirjoitin',
+ 'Project' => 'Projekti',
+ 'Project Number missing!' => 'Projektinumero puuttuu!',
+ 'Project deleted!' => 'Projekti poistettu!',
+ 'Project not on file!' => 'Projekti ei ole järjestelmässä!',
+ 'Project saved!' => 'Projekti tallennettu!',
+ 'Projects' => 'Projektit',
+ 'Purchase Invoice' => 'Ostolasku',
+ 'Purchase Order' => 'Ostotilaus',
+ 'Purchase Orders' => 'Ostotilaukset',
+ 'Qty' => 'Määrä',
+ 'ROP' => 'Uudelleentilausraja',
+ 'Rate' => 'Kurssi',
+ 'Recd' => 'Vastaanotettu',
+ 'Receipt' => 'Kuitti',
+ 'Receipts' => 'Kuitit',
+ 'Receivables' => 'Saamiset',
+ 'Reconciliation' => 'Sovitus',
+ 'Record in' => 'Talleta tilille',
+ 'Reference' => 'Viite',
+ 'Reference missing!' => 'Viite puuttuu',
+ 'Remaining' => 'Jäljellä',
+ 'Report for' => 'Raportti',
+ 'Reports' => 'Raportit',
+ 'Required by' => 'Toimituspäivä',
+ 'Retained Earnings' => 'Käyttörahasto\jakamaton voitto',
+ 'Sales' => 'Myynti',
+ 'Sales Invoice' => 'Myyntilasku',
+ 'Sales Order' => 'Tilausvahvistus',
+ 'Sales Orders' => 'Tilausvahvistukset',
+ 'Save' => 'Tallenna',
+ 'Save as new' => 'Tallenna uutena',
+ 'Save to File' => 'Tallenna tiedostoon',
+ 'Screen' => 'Näyttö',
+ 'Select a Dataset to delete and press "Continue"' => 'Valitse poistettava tietolähde ja
+paina jatka',
+ 'Select all' => 'Valitse kaikki',
+ 'Select from one of the items below' => 'Valitse yksi nimike alapuolelta',
+ 'Select from one of the names below' => 'Valitse yksi nimi alapuolelta',
+ 'Select from one of the projects below' => 'Valitse yksi projekti alapuolelta',
+ 'Select postscript or PDF!' => 'Valitse postscript tai PDF',
+ 'Sell Price' => 'Myyntihinta',
+ 'Send by E-Mail' => 'Lähetä sähköpostilla',
+ 'Sep' => 'Syy',
+ 'September' => 'Syyskuu',
+ 'Service' => 'Palvelu',
+ 'Service Items' => 'Palvelun nimikkeet',
+ 'Service Number missing!' => 'Palvelun numero puuttuu',
+ 'Services' => 'Palvelut',
+ 'Setup Templates' => 'Aseta mallit',
+ 'Ship' => 'Lähetä',
+ 'Ship to' => 'Toimitusosoite',
+ 'Ship via' => 'Lähetä kautta',
+ 'Short' => 'Lyhytaikaiset',
+ 'Signature' => 'Allekirjoitus',
+ 'Sold' => 'Myyty',
+ 'Source' => 'Lähde',
+ 'Standard' => 'Vakio',
+ 'Statement' => 'Tiliote',
+ 'Statement Balance' => 'Tiliotteen tase',
+ 'Statement sent to' => 'Tiliote lähetetty',
+ 'Statements sent to printer!' => 'Tiliotteet lähetetty tulostimelle!',
+ 'Stock Assembly' => 'Varastoi tuote',
+ 'Stylesheet' => 'Tyylimalli',
+ 'Subject' => 'Aihe',
+ 'Subtotal' => 'Välisumma',
+ 'System' => 'Järjestelmä',
+ 'Tax' => 'Vero',
+ 'Tax Accounts' => 'Verotilit',
+ 'Tax Included' => 'ALV sisältyy ',
+ 'Tax collected' => 'Veroa kerätty',
+ 'Tax paid' => 'Veroa maksettu ',
+ 'Taxable' => 'Verotettavaa',
+ 'Template saved!' => 'Malli tallennettu',
+ 'Templates' => 'Mallit',
+ 'Terms: Net' => 'Maksuehto',
+ 'The following Datasets are not in use and can be deleted' => 'Seuraavat tietolähteet
+eivät ole käytössä ja voidaan poistaa',
+ 'The following Datasets need to be updated' => 'Seuraavat tietolähteet päivitettävä',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'Tämä on olemassa olevien lähteiden ennakkotarkistus. Mitään ei luoda tai poisteta tässä vaiheessa!',
+ 'To' => 'Hetkeen',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'Lisätäksesi käyttäjän ryhmään muokkaa nimeä, muuta kirjautumisnimi ja tallenna.',
+ 'Top Level' => 'Ylin taso',
+ 'Total' => 'Yhteensä',
+ 'Transaction Date missing!' => 'Viennin päiväys puuttuu!',
+ 'Transaction deleted!' => 'Vienti poistettu!',
+ 'Transaction posted!' => 'Vienti kirjattu!',
+ 'Transaction reversal enforced for all dates' => 'Kirjaukset muunnettu kaikille päiväyksille',
+ 'Transaction reversal enforced up to' => 'Kirjaukset muunnnettu hetkeen ',
+ 'Transactions' => 'Tapahtumat',
+ 'Transactions exist, cannot delete customer!' => 'Vientejä olemassa. Asiakasta ei voi poistaa!',
+ 'Transactions exist, cannot delete vendor!' => 'Vientejä olemassa. Toimittajaa ei voi poistaa!',
+ 'Transactions exist; cannot delete account!' => 'Vientejä olemassa. Tiliä ei voi poistaa!',
+ 'Trial Balance' => 'Saldolista',
+ 'Unit' => 'Yksikkö',
+ 'Unit of measure' => 'mittayksikkö',
+ 'Update' => 'Päivitä',
+ 'Update Dataset' => 'Päivitä tietolähde',
+ 'Updated' => 'Päivitetty',
+ 'Use Templates' => 'Käytä mallia',
+ 'User' => 'Käyttäjä',
+ 'User deleted!' => 'Käyttäjä poistettu!',
+ 'User saved!' => 'Käyttäjä tallennettu!',
+ 'Vendor' => 'Toimittaja',
+ 'Vendor deleted!' => 'Toimittaja poistettu!',
+ 'Vendor missing!' => 'Toimittaja puuttuu!',
+ 'Vendor not on file!' => 'Toimittajaa ei järjestelmässä!',
+ 'Vendor saved!' => 'Toimittaja tallennettu',
+ 'Vendors' => 'Toimittajat',
+ 'Version' => 'Versio',
+ 'Weight' => 'Paino',
+ 'Weight Unit' => 'Painoyksikkö',
+ 'What type of item is this?' => 'Minkä tyyppinen nimike tämä on?',
+ 'Year End' => 'Tilikauden loppuun',
+ 'Yes' => 'Kyllä',
+ 'You are logged out!' => 'Olet poistunut järjestelmästä',
+ 'You did not enter a name!' => 'Et kirjoittanut nimeä',
+ 'You must enter a host and port for local and remote connections!' => 'Sinun täytyy antaa isäntäkone ja portti paikallisille ja etäyhteyksille!',
+ 'as at' => 'päivänä ',
+ 'collected on sales' => 'Kerätty myynneistä',
+ 'days' => 'päivää',
+ 'does not exist' => 'ei löydy',
+ 'ea' => 'kpl',
+ 'emailed to' => 'lähetetty sähköpostilla',
+ 'for Period' => 'jaksolta',
+ 'hr' => 't',
+ 'is already a member!' => 'on jo käyttäjä',
+ 'is not a member!' => 'ei ole käyttäjä',
+ 'localhost' => 'paikallinen tietokone',
+ 'paid on purchases' => 'maksettu ostoista',
+ 'sent to printer' => 'lähetetty tulostimelle',
+ 'successfully created!' => 'onnistuneesti luotu',
+ 'successfully deleted!' => 'onnistuneesti poistettu',
+ 'to' => 'Kenelle',
+ 'website' => 'www-sivu',
+};
+
+1;
diff --git a/sql-ledger/locale/fi/am b/sql-ledger/locale/fi/am
new file mode 100644
index 0000000..061e862
--- /dev/null
+++ b/sql-ledger/locale/fi/am
@@ -0,0 +1,140 @@
+$self{texts} = {
+ 'AP' => 'Ostot',
+ 'AR' => 'Myynnit',
+ 'Account' => 'Tili',
+ 'Account Number' => 'Tilinumero',
+ 'Account Number missing!' => 'Tilinumero puuttuu',
+ 'Account Type' => 'Tilityyppi',
+ 'Account Type missing!' => 'Tilityyppi puuttuu',
+ 'Account deleted!' => 'Tili poistettu',
+ 'Account saved!' => 'Tili lisätty',
+ 'Add Account' => 'Lisää tili',
+ 'Add GIFI' => 'Lisää GIFI',
+ 'Address' => 'Osoite',
+ 'Asset' => 'Vastaavaa',
+ 'Audit Control' => 'Tilien tarkistus',
+ 'Backup sent to' => 'Varmuuskopio lähetetty',
+ 'Books are open' => 'Kirjat ovat avoinna',
+ 'Business Number' => 'Y-numero',
+ 'COGS' => 'Myydyn tuotteen kulut',
+ 'Cannot delete account!' => 'Tiliä ei voi poistaa!',
+ 'Cannot delete default account!' => 'Oletustiliä ei voi poistaa!',
+ 'Cannot save account!' => 'Tilin tallennus ei onnistu!',
+ 'Cannot save preferences!' => 'Asetuksien tallennus ei onnistu!',
+ 'Character Set' => 'Näppäimistökartta ',
+ 'Chart of Accounts' => 'Tilikartta',
+ 'Close Books up to' => 'Sulje kirjat hetkeen',
+ 'Company' => 'Yritys',
+ 'Continue' => 'Jatka',
+ 'Copy to COA' => 'Kopioi tilikarttaan',
+ 'Credit' => 'Kredit',
+ 'Date Format' => 'Päiväyksen muoto',
+ 'Debit' => 'Debet',
+ 'Delete' => 'Poista',
+ 'Delete Account' => 'Poista tili',
+ 'Description' => 'Kuvaus',
+ 'Dropdown Limit' => 'Pudotusvalikkon rivimäärä',
+ 'E-mail' => 'Sähköposti',
+ 'Edit' => 'Muokkaa',
+ 'Edit Account' => 'Muokkaa tiliä',
+ 'Edit GIFI' => 'Muokkaa GIFI',
+ 'Edit Preferences for' => 'Muokkaa asetuksia',
+ 'Edit Template' => 'Muokkaa mallia',
+ 'Enforce transaction reversal for all dates' => 'Pakota muunnos kaikille viennille',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Merkitse käyttämäsi valuutat 3 kirjaimella ja erota ne kaksoispisteellä, esim.(EUR:USD:SEK).',
+ 'Equity' => 'Oma pääoma',
+ 'Expense' => 'Menot',
+ 'Expense Account' => 'Menotili',
+ 'Expense/Asset' => 'Menot/Varat',
+ 'Fax' => 'Faksi',
+ 'Foreign Exchange Gain' => 'Vaihtokurssivoitto',
+ 'Foreign Exchange Loss' => 'Vaihtokurssitappio',
+ 'GIFI' => 'GIFI',
+ 'GIFI deleted!' => 'GIFI poistettu!',
+ 'GIFI missing!' => 'GIFI puuttuu!',
+ 'GIFI saved!' => 'GIFI tallennettu!',
+ 'Heading' => 'Otsikko',
+ 'Include in drop-down menus' => 'Sisällytä pudotusvalikkoon',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Liitetäänkö tämä tili
+asiakas/toimittaja-lomakkeisiin merkitäkseen hänet verokelpoiseksi!',
+ 'Income' => 'Tulot',
+ 'Income Account' => 'Tulotili',
+ 'Inventory' => 'Varasto',
+ 'Inventory Account' => 'Varastotili',
+ 'Is this a summary account to record' => 'Onko tämä tallennettava yhteenvetotili?',
+ 'Language' => 'Kieli',
+ 'Last Invoice Number' => 'Edellinen laskunumero',
+ 'Last Numbers & Default Accounts' => 'Edelliset numerot ja oletustilit',
+ 'Last Purchase Order Number' => 'Edellisen ostotilauksen numero',
+ 'Last Sales Order Number' => 'Edellinen myyntinumero',
+ 'Liability' => 'Vastattavaa',
+ 'Link' => 'Linkki',
+ 'Name' => 'Nimi',
+ 'No' => 'Ei',
+ 'No email address for' => 'Sähköpostiosoite puuttuu',
+ 'Number' => 'Numero',
+ 'Number Format' => 'Numeron muoto',
+ 'Parts Inventory' => 'Raaka-aine/tarvikevarasto',
+ 'Password' => 'Salasana',
+ 'Payables' => 'Maksettavaa',
+ 'Payment' => 'Maksu',
+ 'Phone' => 'Puhelin',
+ 'Preferences saved!' => 'Asetukset tallennettu!',
+ 'Rate' => 'Kurssi',
+ 'Receivables' => 'Saamiset',
+ 'Sales' => 'Myynti',
+ 'Save' => 'Tallenna',
+ 'Service Items' => 'Palvelun nimikkeet',
+ 'Ship via' => 'Lähetä kautta',
+ 'Signature' => 'Allekirjoitus',
+ 'Stylesheet' => 'Tyylimalli',
+ 'Tax' => 'Vero',
+ 'Tax Accounts' => 'Verotilit',
+ 'Template saved!' => 'Malli tallennettu',
+ 'Transaction reversal enforced for all dates' => 'Kirjaukset muunnettu kaikille päiväyksille',
+ 'Transaction reversal enforced up to' => 'Kirjaukset muunnnettu hetkeen ',
+ 'Transactions exist; cannot delete account!' => 'Vientejä olemassa. Tiliä ei voi poistaa!',
+ 'Weight Unit' => 'Painoyksikkö',
+ 'Year End' => 'Tilikauden loppuun',
+ 'Yes' => 'Kyllä',
+ 'does not exist' => 'ei löydy',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_gifi' => 'add_gifi',
+ 'audit_control' => 'audit_control',
+ 'backup' => 'backup',
+ 'config' => 'config',
+ 'continue' => 'continue',
+ 'copy_to_coa' => 'copy_to_coa',
+ 'delete' => 'delete',
+ 'delete_account' => 'delete_account',
+ 'delete_gifi' => 'delete_gifi',
+ 'display_form' => 'display_form',
+ 'display_stylesheet' => 'display_stylesheet',
+ 'doclose' => 'doclose',
+ 'edit' => 'edit',
+ 'edit_gifi' => 'edit_gifi',
+ 'edit_template' => 'edit_template',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gifi_footer' => 'gifi_footer',
+ 'gifi_header' => 'gifi_header',
+ 'list' => 'list',
+ 'list_gifi' => 'list_gifi',
+ 'save' => 'save',
+ 'save_account' => 'save_account',
+ 'save_gifi' => 'save_gifi',
+ 'save_preferences' => 'save_preferences',
+ 'save_template' => 'save_template',
+ 'lisää_tili' => 'add_account',
+ 'jatka' => 'continue',
+ 'kopioi_tilikarttaan' => 'copy_to_coa',
+ 'poista' => 'delete',
+ 'muokkaa' => 'edit',
+ 'muokkaa_tiliä' => 'edit_account',
+ 'tallenna' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/fi/ap b/sql-ledger/locale/fi/ap
new file mode 100644
index 0000000..ba053c8
--- /dev/null
+++ b/sql-ledger/locale/fi/ap
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AP Transaction' => 'Ostotapahtuma',
+ 'AP Transactions' => 'Ostotapahtumat',
+ 'Account' => 'Tili',
+ 'Add Accounts Payables Transaction' => 'Lisää ostotapahtuma',
+ 'Address' => 'Osoite',
+ 'Amount' => 'Summa',
+ 'Amount Due' => 'Erääntyvä summa',
+ 'Apr' => 'Huh',
+ 'April' => 'Huhtikuu',
+ 'Are you sure you want to delete Transaction' => 'Haluatko poistaa viennin?',
+ 'Aug' => 'Elo',
+ 'August' => 'Elokuu',
+ 'Cannot delete transaction!' => 'Vientiä ei voi poistaa',
+ 'Cannot post payment for a closed period!' => 'Maksun kirjaus suljetulle ajanjaksolle kielletty ',
+ 'Cannot post transaction for a closed period!' => 'Viennin kirjaus suljetulle ajanjaksolle kielletty',
+ 'Cannot post transaction!' => 'Vientiä ei voi kirjata',
+ 'Closed' => 'Suljettu',
+ 'Confirm!' => 'Vahvista!',
+ 'Continue' => 'Jatka',
+ 'Currency' => 'Valuutta',
+ 'Customer not on file!' => 'Asiakas ei järjestelmässä!',
+ 'Date' => 'Päiväys',
+ 'Date Paid' => 'Maksupäivä',
+ 'Dec' => 'Jou',
+ 'December' => 'Joulukuu',
+ 'Delete' => 'Poista',
+ 'Description' => 'Kuvaus',
+ 'Due Date' => 'Eräpäivä',
+ 'Due Date missing!' => 'Eräpäivä puuttuu!',
+ 'Edit Accounts Payables Transaction' => 'Muokkaa ostovientiä',
+ 'Employee' => 'Työntekijä',
+ 'Exch' => 'Vaihtokurssi',
+ 'Exchangerate' => 'Vaihtokurssi',
+ 'Exchangerate for payment missing!' => 'Maksun vaihtokurssi puuttuu',
+ 'Exchangerate missing!' => 'Vaihtokurssi puuttuu',
+ 'Feb' => 'Hel',
+ 'February' => 'Helmikuu',
+ 'From' => 'Alkaen',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Sisällytä raporttiin',
+ 'Invoice' => 'Lasku',
+ 'Invoice Date' => 'Laskun päiväys',
+ 'Invoice Date missing!' => 'Laskun päiväys puuttuu!',
+ 'Invoice Number' => 'Laskun numero',
+ 'Invoice Number missing!' => 'Laskun numero puuttuu!',
+ 'Jan' => 'Tam',
+ 'January' => 'Tammikuu',
+ 'Jul' => 'Hei',
+ 'July' => 'Heinäkuu',
+ 'Jun' => 'Kes',
+ 'June' => 'Kesäkuu',
+ 'Mar' => 'Maa',
+ 'March' => 'Maaliskuu',
+ 'May' => 'Tou',
+ 'May ' => 'Toukokuu',
+ 'Notes' => 'Lisätietoja',
+ 'Nov' => 'Mar',
+ 'November' => 'Marraskuu',
+ 'Number' => 'Numero',
+ 'Oct' => 'Lok',
+ 'October' => 'Lokakuu',
+ 'Open' => 'Avoinna',
+ 'Order' => 'Tilaus',
+ 'Order Number' => 'Tilausnumero',
+ 'Paid' => 'Maksettu',
+ 'Payment date missing!' => 'Maksupäivä puuttuu!',
+ 'Payments' => 'Maksut',
+ 'Post' => 'Kirjaa',
+ 'Post as new' => 'Kirjaa uutena',
+ 'Project' => 'Projekti',
+ 'Project not on file!' => 'Projekti ei ole järjestelmässä!',
+ 'Purchase Invoice' => 'Ostolasku',
+ 'Select from one of the names below' => 'Valitse yksi nimi alapuolelta',
+ 'Select from one of the projects below' => 'Valitse yksi projekti alapuolelta',
+ 'Sep' => 'Syy',
+ 'September' => 'Syyskuu',
+ 'Source' => 'Lähde',
+ 'Subtotal' => 'Välisumma',
+ 'Tax' => 'Vero',
+ 'Tax Included' => 'ALV sisältyy ',
+ 'To' => 'Hetkeen',
+ 'Total' => 'Yhteensä',
+ 'Transaction deleted!' => 'Vienti poistettu!',
+ 'Transaction posted!' => 'Vienti kirjattu!',
+ 'Update' => 'Päivitä',
+ 'Vendor' => 'Toimittaja',
+ 'Vendor missing!' => 'Toimittaja puuttuu!',
+ 'Vendor not on file!' => 'Toimittajaa ei järjestelmässä!',
+ 'Yes' => 'Kyllä',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_subtotal' => 'ap_subtotal',
+ 'ap_transaction' => 'ap_transaction',
+ 'ap_transactions' => 'ap_transactions',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'ostotapahtuma' => 'ap_transaction',
+ 'lisää_ostotapahtuma' => 'add_accounts_payables_transaction',
+ 'jatka' => 'continue',
+ 'poista' => 'delete',
+ 'muokkaa_ostovientiä' => 'edit_accounts_payables_transaction',
+ 'kirjaa' => 'post',
+ 'kirjaa_uutena' => 'post_as_new',
+ 'ostolasku' => 'purchase_invoice',
+ 'päivitä' => 'update',
+ 'kyllä' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/fi/ar b/sql-ledger/locale/fi/ar
new file mode 100644
index 0000000..0394021
--- /dev/null
+++ b/sql-ledger/locale/fi/ar
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AR Transaction' => 'Myyntitapahtuma',
+ 'AR Transactions' => 'Myyntitapahtumat',
+ 'Account' => 'Tili',
+ 'Add Accounts Receivables Transaction' => 'Lisää myyntitapahtuma',
+ 'Address' => 'Osoite',
+ 'Amount' => 'Summa',
+ 'Amount Due' => 'Erääntyvä summa',
+ 'Apr' => 'Huh',
+ 'April' => 'Huhtikuu',
+ 'Are you sure you want to delete Transaction' => 'Haluatko poistaa viennin?',
+ 'Aug' => 'Elo',
+ 'August' => 'Elokuu',
+ 'Cannot delete transaction!' => 'Vientiä ei voi poistaa',
+ 'Cannot post payment for a closed period!' => 'Maksun kirjaus suljetulle ajanjaksolle kielletty ',
+ 'Cannot post transaction for a closed period!' => 'Viennin kirjaus suljetulle ajanjaksolle kielletty',
+ 'Cannot post transaction!' => 'Vientiä ei voi kirjata',
+ 'Closed' => 'Suljettu',
+ 'Confirm!' => 'Vahvista!',
+ 'Continue' => 'Jatka',
+ 'Credit Limit' => 'Luottoraja',
+ 'Currency' => 'Valuutta',
+ 'Customer' => 'Asiakas',
+ 'Customer missing!' => 'Asiakas puuttuu!',
+ 'Customer not on file!' => 'Asiakas ei järjestelmässä!',
+ 'Date' => 'Päiväys',
+ 'Date Paid' => 'Maksupäivä',
+ 'Dec' => 'Jou',
+ 'December' => 'Joulukuu',
+ 'Delete' => 'Poista',
+ 'Description' => 'Kuvaus',
+ 'Due Date' => 'Eräpäivä',
+ 'Due Date missing!' => 'Eräpäivä puuttuu!',
+ 'Edit Accounts Receivables Transaction' => 'Muokkaa myyntivientiä',
+ 'Employee' => 'Työntekijä',
+ 'Exch' => 'Vaihtokurssi',
+ 'Exchangerate' => 'Vaihtokurssi',
+ 'Exchangerate for payment missing!' => 'Maksun vaihtokurssi puuttuu',
+ 'Exchangerate missing!' => 'Vaihtokurssi puuttuu',
+ 'Feb' => 'Hel',
+ 'February' => 'Helmikuu',
+ 'From' => 'Alkaen',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Sisällytä raporttiin',
+ 'Invoice' => 'Lasku',
+ 'Invoice Date' => 'Laskun päiväys',
+ 'Invoice Date missing!' => 'Laskun päiväys puuttuu!',
+ 'Invoice Number' => 'Laskun numero',
+ 'Invoice Number missing!' => 'Laskun numero puuttuu!',
+ 'Jan' => 'Tam',
+ 'January' => 'Tammikuu',
+ 'Jul' => 'Hei',
+ 'July' => 'Heinäkuu',
+ 'Jun' => 'Kes',
+ 'June' => 'Kesäkuu',
+ 'Mar' => 'Maa',
+ 'March' => 'Maaliskuu',
+ 'May' => 'Tou',
+ 'May ' => 'Toukokuu',
+ 'Notes' => 'Lisätietoja',
+ 'Nov' => 'Mar',
+ 'November' => 'Marraskuu',
+ 'Number' => 'Numero',
+ 'Oct' => 'Lok',
+ 'October' => 'Lokakuu',
+ 'Open' => 'Avoinna',
+ 'Order' => 'Tilaus',
+ 'Order Number' => 'Tilausnumero',
+ 'Paid' => 'Maksettu',
+ 'Payment date missing!' => 'Maksupäivä puuttuu!',
+ 'Payments' => 'Maksut',
+ 'Post' => 'Kirjaa',
+ 'Post as new' => 'Kirjaa uutena',
+ 'Project' => 'Projekti',
+ 'Project not on file!' => 'Projekti ei ole järjestelmässä!',
+ 'Remaining' => 'Jäljellä',
+ 'Sales Invoice' => 'Myyntilasku',
+ 'Select from one of the names below' => 'Valitse yksi nimi alapuolelta',
+ 'Select from one of the projects below' => 'Valitse yksi projekti alapuolelta',
+ 'Sep' => 'Syy',
+ 'September' => 'Syyskuu',
+ 'Source' => 'Lähde',
+ 'Subtotal' => 'Välisumma',
+ 'Tax' => 'Vero',
+ 'Tax Included' => 'ALV sisältyy ',
+ 'To' => 'Hetkeen',
+ 'Total' => 'Yhteensä',
+ 'Transaction deleted!' => 'Vienti poistettu!',
+ 'Transaction posted!' => 'Vienti kirjattu!',
+ 'Update' => 'Päivitä',
+ 'Vendor not on file!' => 'Toimittajaa ei järjestelmässä!',
+ 'Yes' => 'Kyllä',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_subtotal' => 'ar_subtotal',
+ 'ar_transaction' => 'ar_transaction',
+ 'ar_transactions' => 'ar_transactions',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'myyntitapahtuma' => 'ar_transaction',
+ 'jatka' => 'continue',
+ 'poista' => 'delete',
+ 'kirjaa' => 'post',
+ 'kirjaa_uutena' => 'post_as_new',
+ 'myyntilasku' => 'sales_invoice',
+ 'päivitä' => 'update',
+ 'kyllä' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/fi/arap b/sql-ledger/locale/fi/arap
new file mode 100644
index 0000000..8ba26e1
--- /dev/null
+++ b/sql-ledger/locale/fi/arap
@@ -0,0 +1,30 @@
+$self{texts} = {
+ 'Address' => 'Osoite',
+ 'Continue' => 'Jatka',
+ 'Customer not on file!' => 'Asiakas ei järjestelmässä!',
+ 'Description' => 'Kuvaus',
+ 'Number' => 'Numero',
+ 'Project not on file!' => 'Projekti ei ole järjestelmässä!',
+ 'Select from one of the names below' => 'Valitse yksi nimi alapuolelta',
+ 'Select from one of the projects below' => 'Valitse yksi projekti alapuolelta',
+ 'Vendor not on file!' => 'Toimittajaa ei järjestelmässä!',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'jatka' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/fi/ca b/sql-ledger/locale/fi/ca
new file mode 100644
index 0000000..c5f3b37
--- /dev/null
+++ b/sql-ledger/locale/fi/ca
@@ -0,0 +1,50 @@
+$self{texts} = {
+ 'Account' => 'Tili',
+ 'Apr' => 'Huh',
+ 'April' => 'Huhtikuu',
+ 'Aug' => 'Elo',
+ 'August' => 'Elokuu',
+ 'Balance' => 'Tase',
+ 'Chart of Accounts' => 'Tilikartta',
+ 'Credit' => 'Kredit',
+ 'Date' => 'Päiväys',
+ 'Debit' => 'Debet',
+ 'Dec' => 'Jou',
+ 'December' => 'Joulukuu',
+ 'Description' => 'Kuvaus',
+ 'Feb' => 'Hel',
+ 'February' => 'Helmikuu',
+ 'From' => 'Alkaen',
+ 'GIFI' => 'GIFI',
+ 'Include in Report' => 'Sisällytä raporttiin',
+ 'Jan' => 'Tam',
+ 'January' => 'Tammikuu',
+ 'Jul' => 'Hei',
+ 'July' => 'Heinäkuu',
+ 'Jun' => 'Kes',
+ 'June' => 'Kesäkuu',
+ 'List Transactions' => 'Listaa viennit',
+ 'Mar' => 'Maa',
+ 'March' => 'Maaliskuu',
+ 'May' => 'Tou',
+ 'May ' => 'Toukokuu',
+ 'Nov' => 'Mar',
+ 'November' => 'Marraskuu',
+ 'Oct' => 'Lok',
+ 'October' => 'Lokakuu',
+ 'Reference' => 'Viite',
+ 'Sep' => 'Syy',
+ 'September' => 'Syyskuu',
+ 'Subtotal' => 'Välisumma',
+ 'To' => 'Hetkeen',
+};
+
+$self{subs} = {
+ 'ca_subtotal' => 'ca_subtotal',
+ 'chart_of_accounts' => 'chart_of_accounts',
+ 'list' => 'list',
+ 'list_transactions' => 'list_transactions',
+ 'listaa_viennit' => 'list_transactions',
+};
+
+1;
diff --git a/sql-ledger/locale/fi/cp b/sql-ledger/locale/fi/cp
new file mode 100644
index 0000000..202e8cf
--- /dev/null
+++ b/sql-ledger/locale/fi/cp
@@ -0,0 +1,75 @@
+$self{texts} = {
+ 'Account' => 'Tili',
+ 'Address' => 'Osoite',
+ 'Amount' => 'Summa',
+ 'Amount does not equal applied!' => 'Määrä eri kuin sovellettu',
+ 'Amount missing!' => 'Määrä puuttuu',
+ 'Applied' => 'Sovellettu',
+ 'Cannot post payment!' => 'Maksua ei voi kirjata!',
+ 'Cannot process payment for a closed period!' => 'Suljetun ajanjakson maksua ei voi käsitellä',
+ 'Check' => 'Sekki',
+ 'Check printed!' => 'Sekki tulostettu!',
+ 'Check printing failed!' => 'Sekin tulostus epäonnistui!',
+ 'Continue' => 'Jatka',
+ 'Currency' => 'Valuutta',
+ 'Customer' => 'Asiakas',
+ 'Customer not on file!' => 'Asiakas ei järjestelmässä!',
+ 'Date' => 'Päiväys',
+ 'Date missing!' => 'Päiväys puuttuu',
+ 'Description' => 'Kuvaus',
+ 'Due' => 'Eräpv',
+ 'Exchangerate' => 'Vaihtokurssi',
+ 'From' => 'Alkaen',
+ 'Invoice' => 'Lasku',
+ 'Invoices' => 'Laskut',
+ 'Nothing applied!' => 'Mitään soveltamatta!',
+ 'Number' => 'Numero',
+ 'Paid in full' => 'Täysin maksettu',
+ 'Payment' => 'Maksu',
+ 'Payment posted!' => 'Maksu kirjattu!',
+ 'Post' => 'Kirjaa',
+ 'Print' => 'Tulosta',
+ 'Printer' => 'Kirjoitin',
+ 'Project not on file!' => 'Projekti ei ole järjestelmässä!',
+ 'Receipt' => 'Kuitti',
+ 'Reference' => 'Viite',
+ 'Screen' => 'Näyttö',
+ 'Select from one of the names below' => 'Valitse yksi nimi alapuolelta',
+ 'Select from one of the projects below' => 'Valitse yksi projekti alapuolelta',
+ 'To' => 'Hetkeen',
+ 'Update' => 'Päivitä',
+ 'Vendor' => 'Toimittaja',
+ 'Vendor not on file!' => 'Toimittajaa ei järjestelmässä!',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'list_invoices' => 'list_invoices',
+ 'name_selected' => 'name_selected',
+ 'payment' => 'payment',
+ 'post' => 'post',
+ 'print' => 'print',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'vendor_details' => 'vendor_details',
+ 'jatka' => 'continue',
+ 'kirjaa' => 'post',
+ 'tulosta' => 'print',
+ 'päivitä' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/fi/ct b/sql-ledger/locale/fi/ct
new file mode 100644
index 0000000..186b25d
--- /dev/null
+++ b/sql-ledger/locale/fi/ct
@@ -0,0 +1,71 @@
+$self{texts} = {
+ 'Add' => 'Lisää',
+ 'Address' => 'Osoite',
+ 'All' => 'Kaikki',
+ 'Bcc' => 'Näkymätön kopio',
+ 'Cannot delete customer!' => 'Asiakasta ei voi poistaa!',
+ 'Cannot delete vendor!' => 'Toimittajaa ei voi poistaa!',
+ 'Cc' => 'Kopio',
+ 'Contact' => 'Yhteyshenkilö',
+ 'Continue' => 'Jatka',
+ 'Credit Limit' => 'Luottoraja',
+ 'Customer deleted!' => 'Asiakas poistettu!',
+ 'Customer saved!' => 'Asiakas tallennettu!',
+ 'Customers' => 'Asiakkaat',
+ 'Delete' => 'Poista',
+ 'Discount' => 'Alennus',
+ 'E-mail' => 'Sähköposti',
+ 'Edit Customer' => 'Muokkaa asiakas',
+ 'Edit Vendor' => 'Muokkaa ',
+ 'Fax' => 'Faksi',
+ 'Include in Report' => 'Sisällytä raporttiin',
+ 'Invoice' => 'Lasku',
+ 'Name' => 'Nimi',
+ 'Name missing!' => 'Nimi puuttuu!',
+ 'Notes' => 'Lisätietoja',
+ 'Number' => 'Numero',
+ 'Order' => 'Tilaus',
+ 'Orphaned' => 'Hylätyt',
+ 'Phone' => 'Puhelin',
+ 'Save' => 'Tallenna',
+ 'Ship to' => 'Toimitusosoite',
+ 'Tax Included' => 'ALV sisältyy ',
+ 'Taxable' => 'Verotettavaa',
+ 'Terms: Net' => 'Maksuehto',
+ 'Transactions exist, cannot delete customer!' => 'Vientejä olemassa. Asiakasta ei voi poistaa!',
+ 'Transactions exist, cannot delete vendor!' => 'Vientejä olemassa. Toimittajaa ei voi poistaa!',
+ 'Vendor deleted!' => 'Toimittaja poistettu!',
+ 'Vendor saved!' => 'Toimittaja tallennettu',
+ 'Vendors' => 'Toimittajat',
+ 'days' => 'päivää',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'customer_invoice' => 'customer_invoice',
+ 'customer_order' => 'customer_order',
+ 'delete' => 'delete',
+ 'delete_customer' => 'delete_customer',
+ 'delete_vendor' => 'delete_vendor',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'invoice' => 'invoice',
+ 'list_names' => 'list_names',
+ 'order' => 'order',
+ 'save' => 'save',
+ 'save_customer' => 'save_customer',
+ 'save_vendor' => 'save_vendor',
+ 'search' => 'search',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'vendor_order' => 'vendor_order',
+ 'lisää' => 'add',
+ 'jatka' => 'continue',
+ 'poista' => 'delete',
+ 'lasku' => 'invoice',
+ 'tilaus' => 'order',
+ 'tallenna' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/fi/gl b/sql-ledger/locale/fi/gl
new file mode 100644
index 0000000..6a07b15
--- /dev/null
+++ b/sql-ledger/locale/fi/gl
@@ -0,0 +1,124 @@
+$self{texts} = {
+ 'AP Transaction' => 'Ostotapahtuma',
+ 'AR Transaction' => 'Myyntitapahtuma',
+ 'Account' => 'Tili',
+ 'Add General Ledger Transaction' => 'Lisää pääkirjatapahtuma',
+ 'Address' => 'Osoite',
+ 'All' => 'Kaikki',
+ 'Apr' => 'Huh',
+ 'April' => 'Huhtikuu',
+ 'Are you sure you want to delete Transaction' => 'Haluatko poistaa viennin?',
+ 'Asset' => 'Vastaavaa',
+ 'Aug' => 'Elo',
+ 'August' => 'Elokuu',
+ 'Balance' => 'Tase',
+ 'Cannot delete transaction!' => 'Vientiä ei voi poistaa',
+ 'Cannot have a value in both Debit and Credit!' => 'Arvo sekä Kreditissä että Debetissä kielletty!',
+ 'Cannot post a transaction without a value!' => 'Viennin kirjaus ilman arvoa kielletty!',
+ 'Cannot post transaction for a closed period!' => 'Viennin kirjaus suljetulle ajanjaksolle kielletty',
+ 'Confirm!' => 'Vahvista!',
+ 'Continue' => 'Jatka',
+ 'Credit' => 'Kredit',
+ 'Customer not on file!' => 'Asiakas ei järjestelmässä!',
+ 'Date' => 'Päiväys',
+ 'Debit' => 'Debet',
+ 'Debit and credit out of balance!' => 'Debet ja kredit erisuuruiset',
+ 'Dec' => 'Jou',
+ 'December' => 'Joulukuu',
+ 'Delete' => 'Poista',
+ 'Description' => 'Kuvaus',
+ 'Edit General Ledger Transaction' => 'Muokkaa pääkirjavientiä',
+ 'Equity' => 'Oma pääoma',
+ 'Expense' => 'Menot',
+ 'Feb' => 'Hel',
+ 'February' => 'Helmikuu',
+ 'From' => 'Alkaen',
+ 'GIFI' => 'GIFI',
+ 'GL Transaction' => 'Pääkirjavienti',
+ 'General Ledger' => 'Pääkirja',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Sisällytä raporttiin',
+ 'Income' => 'Tulot',
+ 'Jan' => 'Tam',
+ 'January' => 'Tammikuu',
+ 'Jul' => 'Hei',
+ 'July' => 'Heinäkuu',
+ 'Jun' => 'Kes',
+ 'June' => 'Kesäkuu',
+ 'Liability' => 'Vastattavaa',
+ 'Mar' => 'Maa',
+ 'March' => 'Maaliskuu',
+ 'May' => 'Tou',
+ 'May ' => 'Toukokuu',
+ 'Notes' => 'Lisätietoja',
+ 'Nov' => 'Mar',
+ 'November' => 'Marraskuu',
+ 'Number' => 'Numero',
+ 'Oct' => 'Lok',
+ 'October' => 'Lokakuu',
+ 'Post' => 'Kirjaa',
+ 'Post as new' => 'Kirjaa uutena',
+ 'Project' => 'Projekti',
+ 'Project not on file!' => 'Projekti ei ole järjestelmässä!',
+ 'Purchase Invoice' => 'Ostolasku',
+ 'Reference' => 'Viite',
+ 'Reference missing!' => 'Viite puuttuu',
+ 'Reports' => 'Raportit',
+ 'Sales Invoice' => 'Myyntilasku',
+ 'Select from one of the names below' => 'Valitse yksi nimi alapuolelta',
+ 'Select from one of the projects below' => 'Valitse yksi projekti alapuolelta',
+ 'Sep' => 'Syy',
+ 'September' => 'Syyskuu',
+ 'Source' => 'Lähde',
+ 'Subtotal' => 'Välisumma',
+ 'To' => 'Hetkeen',
+ 'Transaction Date missing!' => 'Viennin päiväys puuttuu!',
+ 'Transaction deleted!' => 'Vienti poistettu!',
+ 'Transaction posted!' => 'Vienti kirjattu!',
+ 'Update' => 'Päivitä',
+ 'Vendor not on file!' => 'Toimittajaa ei järjestelmässä!',
+ 'Yes' => 'Kyllä',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'form_row' => 'form_row',
+ 'generate_report' => 'generate_report',
+ 'gl_subtotal' => 'gl_subtotal',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'ostotapahtuma' => 'ap_transaction',
+ 'myyntitapahtuma' => 'ar_transaction',
+ 'jatka' => 'continue',
+ 'poista' => 'delete',
+ 'pääkirjavienti' => 'gl_transaction',
+ 'kirjaa' => 'post',
+ 'kirjaa_uutena' => 'post_as_new',
+ 'ostolasku' => 'purchase_invoice',
+ 'myyntilasku' => 'sales_invoice',
+ 'päivitä' => 'update',
+ 'kyllä' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/fi/ic b/sql-ledger/locale/fi/ic
new file mode 100644
index 0000000..55f37a1
--- /dev/null
+++ b/sql-ledger/locale/fi/ic
@@ -0,0 +1,205 @@
+$self{texts} = {
+ 'Active' => 'Avoin',
+ 'Add' => 'Lisää',
+ 'Add Assembly' => 'Lisää tuote',
+ 'Add Part' => 'Lisää raaka-aine/tarvike',
+ 'Add Purchase Order' => 'Ostotilaus',
+ 'Add Sales Order' => 'Lisää tilausvahvistus',
+ 'Add Service' => 'Lisää palvelu',
+ 'Address' => 'Osoite',
+ 'Apr' => 'Huh',
+ 'April' => 'Huhtikuu',
+ 'Assemblies' => 'Tuotteet',
+ 'Assemblies restocked!' => 'Tuotteet viety varastoon',
+ 'Assembly Number missing!' => 'Tuotenumero puuttuu!',
+ 'Attachment' => 'Liite',
+ 'Aug' => 'Elo',
+ 'August' => 'Elokuu',
+ 'BOM' => 'Materiaalilista',
+ 'Bcc' => 'Näkymätön kopio',
+ 'Bin' => 'Varastopaikka',
+ 'Bought' => 'Ostettu',
+ 'COGS' => 'Myydyn tuotteen kulut',
+ 'Cannot delete item already invoiced!' => 'Laskutettua nimikettä ei voi poistaa!',
+ 'Cannot delete item on order!' => 'Nimikettä tilauksessa ei voi poistaa',
+ 'Cannot delete item which is part of an assembly!' => 'Tuotteen raaka-ainetta/tarviketta ei voi poistaa!',
+ 'Cannot delete item!' => 'Nimikettä ei voi poistaa!',
+ 'Cannot stock assemblies!' => 'Tuotteiden varastointi ei onnistu!',
+ 'Cc' => 'Kopio',
+ 'Contact' => 'Yhteyshenkilö',
+ 'Continue' => 'Jatka',
+ 'Copies' => 'Kopiot',
+ 'Dec' => 'Jou',
+ 'December' => 'Joulukuu',
+ 'Delete' => 'Poista',
+ 'Delivery Date' => 'Toimituspäivä',
+ 'Description' => 'Kuvaus',
+ 'Drawing' => 'Piirros',
+ 'E-mail' => 'Sähköposti',
+ 'E-mail address missing!' => 'Sähköpostiosoite puuttuu!',
+ 'Edit Assembly' => 'Muokkaa tuotetta',
+ 'Edit Part' => 'Muokkaa raaka-ainetta/tarviketta',
+ 'Edit Service' => 'Muokkaa palvelua',
+ 'Expense' => 'Menot',
+ 'Extended' => 'Pidennetty',
+ 'Fax' => 'Faksi',
+ 'Feb' => 'Hel',
+ 'February' => 'Helmikuu',
+ 'From' => 'Alkaen',
+ 'Image' => 'Kuva',
+ 'In-line' => 'Linjalla',
+ 'Include in Report' => 'Sisällytä raporttiin',
+ 'Income' => 'Tulot',
+ 'Individual Items' => 'Yksittäiset nimikkeet',
+ 'Inventory' => 'Varasto',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'Tuotteen varaston on oltava nolla ennen asettamista epäkurantiksi!',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'Raaka-aineen/tarvikkeen varaston määrä on oltava nolla ennen asettamista epäkurantiksi!',
+ 'Inventory quantity must be zero!' => 'Varaston määrä on oltava nolla!',
+ 'Invoice' => 'Lasku',
+ 'Invoice Date missing!' => 'Laskun päiväys puuttuu!',
+ 'Invoice Number' => 'Laskun numero',
+ 'Invoice Number missing!' => 'Laskun numero puuttuu!',
+ 'Item deleted!' => 'Nimike poistettu!',
+ 'Item not on file!' => 'Nimikettä ei ole järjestelmässä!',
+ 'Jan' => 'Tam',
+ 'January' => 'Tammikuu',
+ 'Jul' => 'Hei',
+ 'July' => 'Heinäkuu',
+ 'Jun' => 'Kes',
+ 'June' => 'Kesäkuu',
+ 'Last Cost' => 'Edellinen kustannus',
+ 'Line Total' => 'Rivi yhteensä',
+ 'Link Accounts' => 'Linkkaa tilit',
+ 'List Price' => 'Listaa hinnat',
+ 'Make' => 'Valmistaja',
+ 'Mar' => 'Maa',
+ 'March' => 'Maaliskuu',
+ 'May' => 'Tou',
+ 'May ' => 'Toukokuu',
+ 'Message' => 'Viesti',
+ 'Microfiche' => 'Mikrokuva',
+ 'Model' => 'Tuotenimi',
+ 'Name' => 'Nimi',
+ 'No.' => 'no',
+ 'Notes' => 'Lisätietoja',
+ 'Nov' => 'Mar',
+ 'November' => 'Marraskuu',
+ 'Number' => 'Numero',
+ 'Number missing in Row' => 'Numero puuttuu kannan riviltä',
+ 'Obsolete' => 'Epäkurantti',
+ 'Oct' => 'Lok',
+ 'October' => 'Lokakuu',
+ 'On Hand' => 'Varastossa',
+ 'On Order' => 'Tilauksesta',
+ 'Order' => 'Tilaus',
+ 'Order Date missing!' => 'Tilauspäivämäärä puuttuu!',
+ 'Order Number' => 'Tilausnumero',
+ 'Order Number missing!' => 'Tilausnumero puuttuu!',
+ 'Ordered' => 'Tilattu',
+ 'Orphaned' => 'Hylätyt',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Pakkauslista',
+ 'Packing List Date missing!' => 'Pakkauslistan päiväys puuttuu!',
+ 'Packing List Number missing!' => 'Pakkauslistan numero puuttuu!',
+ 'Part' => 'Raaka-aine/tarvike',
+ 'Part Number missing!' => 'Raaka-aine/tarvikenumero puuttuu!',
+ 'Parts' => 'Raaka-aineet/tarvikkeet',
+ 'Phone' => 'Puhelin',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Hinta',
+ 'Printer' => 'Kirjoitin',
+ 'Project' => 'Projekti',
+ 'Purchase Order' => 'Ostotilaus',
+ 'Qty' => 'Määrä',
+ 'ROP' => 'Uudelleentilausraja',
+ 'Recd' => 'Vastaanotettu',
+ 'Required by' => 'Toimituspäivä',
+ 'Sales' => 'Myynti',
+ 'Sales Order' => 'Tilausvahvistus',
+ 'Save' => 'Tallenna',
+ 'Screen' => 'Näyttö',
+ 'Select from one of the items below' => 'Valitse yksi nimike alapuolelta',
+ 'Select postscript or PDF!' => 'Valitse postscript tai PDF',
+ 'Sell Price' => 'Myyntihinta',
+ 'Sep' => 'Syy',
+ 'September' => 'Syyskuu',
+ 'Service' => 'Palvelu',
+ 'Service Number missing!' => 'Palvelun numero puuttuu',
+ 'Services' => 'Palvelut',
+ 'Ship' => 'Lähetä',
+ 'Ship to' => 'Toimitusosoite',
+ 'Short' => 'Lyhytaikaiset',
+ 'Sold' => 'Myyty',
+ 'Stock Assembly' => 'Varastoi tuote',
+ 'Subject' => 'Aihe',
+ 'Subtotal' => 'Välisumma',
+ 'Tax' => 'Vero',
+ 'To' => 'Hetkeen',
+ 'Top Level' => 'Ylin taso',
+ 'Total' => 'Yhteensä',
+ 'Unit' => 'Yksikkö',
+ 'Unit of measure' => 'mittayksikkö',
+ 'Update' => 'Päivitä',
+ 'Updated' => 'Päivitetty',
+ 'Weight' => 'Paino',
+ 'What type of item is this?' => 'Minkä tyyppinen nimike tämä on?',
+ 'ea' => 'kpl',
+ 'emailed to' => 'lähetetty sähköpostilla',
+ 'hr' => 't',
+ 'sent to printer' => 'lähetetty tulostimelle',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'assembly_row' => 'assembly_row',
+ 'check_form' => 'check_form',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'delete_assembly' => 'delete_assembly',
+ 'delete_item' => 'delete_item',
+ 'delete_part' => 'delete_part',
+ 'delete_service' => 'delete_service',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'link_part' => 'link_part',
+ 'list_assemblies' => 'list_assemblies',
+ 'makemodel_row' => 'makemodel_row',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'parts_subtotal' => 'parts_subtotal',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'restock_assemblies' => 'restock_assemblies',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'stock_assembly' => 'stock_assembly',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'lisää' => 'add',
+ 'lisää_tuote' => 'add_assembly',
+ 'lisää_raaka_aine/tarvike' => 'add_part',
+ 'lisää_palvelu' => 'add_service',
+ 'jatka' => 'continue',
+ 'poista' => 'delete',
+ 'muokkaa_tuotetta' => 'edit_assembly',
+ 'muokkaa_raaka_ainetta/tarviketta' => 'edit_part',
+ 'muokkaa_palvelua' => 'edit_service',
+ 'tallenna' => 'save',
+ 'päivitä' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/fi/io b/sql-ledger/locale/fi/io
new file mode 100644
index 0000000..cc147a8
--- /dev/null
+++ b/sql-ledger/locale/fi/io
@@ -0,0 +1,106 @@
+$self{texts} = {
+ 'Add Purchase Order' => 'Ostotilaus',
+ 'Add Sales Order' => 'Lisää tilausvahvistus',
+ 'Address' => 'Osoite',
+ 'Apr' => 'Huh',
+ 'April' => 'Huhtikuu',
+ 'Attachment' => 'Liite',
+ 'Aug' => 'Elo',
+ 'August' => 'Elokuu',
+ 'Bcc' => 'Näkymätön kopio',
+ 'Bin' => 'Varastopaikka',
+ 'Cc' => 'Kopio',
+ 'Contact' => 'Yhteyshenkilö',
+ 'Continue' => 'Jatka',
+ 'Copies' => 'Kopiot',
+ 'Dec' => 'Jou',
+ 'December' => 'Joulukuu',
+ 'Delivery Date' => 'Toimituspäivä',
+ 'Description' => 'Kuvaus',
+ 'E-mail' => 'Sähköposti',
+ 'E-mail address missing!' => 'Sähköpostiosoite puuttuu!',
+ 'Extended' => 'Pidennetty',
+ 'Fax' => 'Faksi',
+ 'Feb' => 'Hel',
+ 'February' => 'Helmikuu',
+ 'In-line' => 'Linjalla',
+ 'Invoice' => 'Lasku',
+ 'Invoice Date missing!' => 'Laskun päiväys puuttuu!',
+ 'Invoice Number missing!' => 'Laskun numero puuttuu!',
+ 'Item not on file!' => 'Nimikettä ei ole järjestelmässä!',
+ 'Jan' => 'Tam',
+ 'January' => 'Tammikuu',
+ 'Jul' => 'Hei',
+ 'July' => 'Heinäkuu',
+ 'Jun' => 'Kes',
+ 'June' => 'Kesäkuu',
+ 'Mar' => 'Maa',
+ 'March' => 'Maaliskuu',
+ 'May' => 'Tou',
+ 'May ' => 'Toukokuu',
+ 'Message' => 'Viesti',
+ 'Name' => 'Nimi',
+ 'No.' => 'no',
+ 'Nov' => 'Mar',
+ 'November' => 'Marraskuu',
+ 'Number' => 'Numero',
+ 'Number missing in Row' => 'Numero puuttuu kannan riviltä',
+ 'Oct' => 'Lok',
+ 'October' => 'Lokakuu',
+ 'Order' => 'Tilaus',
+ 'Order Date missing!' => 'Tilauspäivämäärä puuttuu!',
+ 'Order Number missing!' => 'Tilausnumero puuttuu!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Pakkauslista',
+ 'Packing List Date missing!' => 'Pakkauslistan päiväys puuttuu!',
+ 'Packing List Number missing!' => 'Pakkauslistan numero puuttuu!',
+ 'Part' => 'Raaka-aine/tarvike',
+ 'Phone' => 'Puhelin',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Hinta',
+ 'Printer' => 'Kirjoitin',
+ 'Project' => 'Projekti',
+ 'Purchase Order' => 'Ostotilaus',
+ 'Qty' => 'Määrä',
+ 'Recd' => 'Vastaanotettu',
+ 'Required by' => 'Toimituspäivä',
+ 'Sales Order' => 'Tilausvahvistus',
+ 'Screen' => 'Näyttö',
+ 'Select from one of the items below' => 'Valitse yksi nimike alapuolelta',
+ 'Select postscript or PDF!' => 'Valitse postscript tai PDF',
+ 'Sep' => 'Syy',
+ 'September' => 'Syyskuu',
+ 'Service' => 'Palvelu',
+ 'Ship' => 'Lähetä',
+ 'Ship to' => 'Toimitusosoite',
+ 'Subject' => 'Aihe',
+ 'To' => 'Hetkeen',
+ 'Unit' => 'Yksikkö',
+ 'What type of item is this?' => 'Minkä tyyppinen nimike tämä on?',
+ 'emailed to' => 'lähetetty sähköpostilla',
+ 'sent to printer' => 'lähetetty tulostimelle',
+};
+
+$self{subs} = {
+ 'check_form' => 'check_form',
+ 'customer_details' => 'customer_details',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'jatka' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/fi/ir b/sql-ledger/locale/fi/ir
new file mode 100644
index 0000000..1070f99
--- /dev/null
+++ b/sql-ledger/locale/fi/ir
@@ -0,0 +1,178 @@
+$self{texts} = {
+ 'Account' => 'Tili',
+ 'Add Purchase Invoice' => 'Lisää ostolasku',
+ 'Add Purchase Order' => 'Ostotilaus',
+ 'Add Sales Order' => 'Lisää tilausvahvistus',
+ 'Address' => 'Osoite',
+ 'Amount' => 'Summa',
+ 'Apr' => 'Huh',
+ 'April' => 'Huhtikuu',
+ 'Are you sure you want to delete Invoice Number' => 'Haluatko poistaa laskun numero?',
+ 'Attachment' => 'Liite',
+ 'Aug' => 'Elo',
+ 'August' => 'Elokuu',
+ 'Bcc' => 'Näkymätön kopio',
+ 'Bin' => 'Varastopaikka',
+ 'Cannot delete invoice!' => 'Laskua ei voi poistaa!',
+ 'Cannot post invoice for a closed period!' => 'Laskun kirjaus suljetulle ajanjaksolle kielletty!',
+ 'Cannot post invoice!' => 'Laskua ei voi kirjata!',
+ 'Cannot post payment for a closed period!' => 'Maksun kirjaus suljetulle ajanjaksolle kielletty ',
+ 'Cc' => 'Kopio',
+ 'Confirm!' => 'Vahvista!',
+ 'Contact' => 'Yhteyshenkilö',
+ 'Continue' => 'Jatka',
+ 'Copies' => 'Kopiot',
+ 'Currency' => 'Valuutta',
+ 'Customer not on file!' => 'Asiakas ei järjestelmässä!',
+ 'Date' => 'Päiväys',
+ 'Date Due' => 'Eräpäivä',
+ 'Dec' => 'Jou',
+ 'December' => 'Joulukuu',
+ 'Delete' => 'Poista',
+ 'Delivery Date' => 'Toimituspäivä',
+ 'Description' => 'Kuvaus',
+ 'E-mail' => 'Sähköposti',
+ 'E-mail address missing!' => 'Sähköpostiosoite puuttuu!',
+ 'Edit Purchase Invoice' => 'Muokkaa ostolaskua',
+ 'Exch' => 'Vaihtokurssi',
+ 'Exchangerate' => 'Vaihtokurssi',
+ 'Exchangerate for payment missing!' => 'Maksun vaihtokurssi puuttuu',
+ 'Exchangerate missing!' => 'Vaihtokurssi puuttuu',
+ 'Extended' => 'Pidennetty',
+ 'Fax' => 'Faksi',
+ 'Feb' => 'Hel',
+ 'February' => 'Helmikuu',
+ 'In-line' => 'Linjalla',
+ 'Invoice' => 'Lasku',
+ 'Invoice Date' => 'Laskun päiväys',
+ 'Invoice Date missing!' => 'Laskun päiväys puuttuu!',
+ 'Invoice Number' => 'Laskun numero',
+ 'Invoice Number missing!' => 'Laskun numero puuttuu!',
+ 'Invoice deleted!' => 'Lasku poistettu!',
+ 'Invoice posted!' => 'Lasku kirjattu!',
+ 'Item not on file!' => 'Nimikettä ei ole järjestelmässä!',
+ 'Jan' => 'Tam',
+ 'January' => 'Tammikuu',
+ 'Jul' => 'Hei',
+ 'July' => 'Heinäkuu',
+ 'Jun' => 'Kes',
+ 'June' => 'Kesäkuu',
+ 'Mar' => 'Maa',
+ 'March' => 'Maaliskuu',
+ 'May' => 'Tou',
+ 'May ' => 'Toukokuu',
+ 'Message' => 'Viesti',
+ 'Name' => 'Nimi',
+ 'No.' => 'no',
+ 'Notes' => 'Lisätietoja',
+ 'Nov' => 'Mar',
+ 'November' => 'Marraskuu',
+ 'Number' => 'Numero',
+ 'Number missing in Row' => 'Numero puuttuu kannan riviltä',
+ 'Oct' => 'Lok',
+ 'October' => 'Lokakuu',
+ 'Order' => 'Tilaus',
+ 'Order Date missing!' => 'Tilauspäivämäärä puuttuu!',
+ 'Order Number' => 'Tilausnumero',
+ 'Order Number missing!' => 'Tilausnumero puuttuu!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Pakkauslista',
+ 'Packing List Date missing!' => 'Pakkauslistan päiväys puuttuu!',
+ 'Packing List Number missing!' => 'Pakkauslistan numero puuttuu!',
+ 'Part' => 'Raaka-aine/tarvike',
+ 'Payment date missing!' => 'Maksupäivä puuttuu!',
+ 'Payments' => 'Maksut',
+ 'Phone' => 'Puhelin',
+ 'Post' => 'Kirjaa',
+ 'Post as new' => 'Kirjaa uutena',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Hinta',
+ 'Printer' => 'Kirjoitin',
+ 'Project' => 'Projekti',
+ 'Project not on file!' => 'Projekti ei ole järjestelmässä!',
+ 'Purchase Order' => 'Ostotilaus',
+ 'Qty' => 'Määrä',
+ 'Recd' => 'Vastaanotettu',
+ 'Record in' => 'Talleta tilille',
+ 'Required by' => 'Toimituspäivä',
+ 'Sales Order' => 'Tilausvahvistus',
+ 'Screen' => 'Näyttö',
+ 'Select from one of the items below' => 'Valitse yksi nimike alapuolelta',
+ 'Select from one of the names below' => 'Valitse yksi nimi alapuolelta',
+ 'Select from one of the projects below' => 'Valitse yksi projekti alapuolelta',
+ 'Select postscript or PDF!' => 'Valitse postscript tai PDF',
+ 'Sep' => 'Syy',
+ 'September' => 'Syyskuu',
+ 'Service' => 'Palvelu',
+ 'Ship' => 'Lähetä',
+ 'Ship to' => 'Toimitusosoite',
+ 'Source' => 'Lähde',
+ 'Subject' => 'Aihe',
+ 'Subtotal' => 'Välisumma',
+ 'Tax Included' => 'ALV sisältyy ',
+ 'To' => 'Hetkeen',
+ 'Total' => 'Yhteensä',
+ 'Unit' => 'Yksikkö',
+ 'Update' => 'Päivitä',
+ 'Vendor' => 'Toimittaja',
+ 'Vendor missing!' => 'Toimittaja puuttuu!',
+ 'Vendor not on file!' => 'Toimittajaa ei järjestelmässä!',
+ 'What type of item is this?' => 'Minkä tyyppinen nimike tämä on?',
+ 'Yes' => 'Kyllä',
+ 'ea' => 'kpl',
+ 'emailed to' => 'lähetetty sähköpostilla',
+ 'sent to printer' => 'lähetetty tulostimelle',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'jatka' => 'continue',
+ 'poista' => 'delete',
+ 'tilaus' => 'order',
+ 'kirjaa' => 'post',
+ 'kirjaa_uutena' => 'post_as_new',
+ 'päivitä' => 'update',
+ 'kyllä' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/fi/is b/sql-ledger/locale/fi/is
new file mode 100644
index 0000000..da492f9
--- /dev/null
+++ b/sql-ledger/locale/fi/is
@@ -0,0 +1,185 @@
+$self{texts} = {
+ 'Account' => 'Tili',
+ 'Add Purchase Order' => 'Ostotilaus',
+ 'Add Sales Invoice' => 'Lisää myyntilasku',
+ 'Add Sales Order' => 'Lisää tilausvahvistus',
+ 'Address' => 'Osoite',
+ 'Amount' => 'Summa',
+ 'Apr' => 'Huh',
+ 'April' => 'Huhtikuu',
+ 'Are you sure you want to delete Invoice Number' => 'Haluatko poistaa laskun numero?',
+ 'Attachment' => 'Liite',
+ 'Aug' => 'Elo',
+ 'August' => 'Elokuu',
+ 'Bcc' => 'Näkymätön kopio',
+ 'Bin' => 'Varastopaikka',
+ 'Cannot delete invoice!' => 'Laskua ei voi poistaa!',
+ 'Cannot post invoice for a closed period!' => 'Laskun kirjaus suljetulle ajanjaksolle kielletty!',
+ 'Cannot post invoice!' => 'Laskua ei voi kirjata!',
+ 'Cannot post payment for a closed period!' => 'Maksun kirjaus suljetulle ajanjaksolle kielletty ',
+ 'Cc' => 'Kopio',
+ 'Confirm!' => 'Vahvista!',
+ 'Contact' => 'Yhteyshenkilö',
+ 'Continue' => 'Jatka',
+ 'Copies' => 'Kopiot',
+ 'Credit Limit' => 'Luottoraja',
+ 'Currency' => 'Valuutta',
+ 'Customer' => 'Asiakas',
+ 'Customer missing!' => 'Asiakas puuttuu!',
+ 'Customer not on file!' => 'Asiakas ei järjestelmässä!',
+ 'Date' => 'Päiväys',
+ 'Date Due' => 'Eräpäivä',
+ 'Dec' => 'Jou',
+ 'December' => 'Joulukuu',
+ 'Delete' => 'Poista',
+ 'Delivery Date' => 'Toimituspäivä',
+ 'Description' => 'Kuvaus',
+ 'E-mail' => 'Sähköposti',
+ 'E-mail address missing!' => 'Sähköpostiosoite puuttuu!',
+ 'Edit Sales Invoice' => 'Muokkaa myyntilaskua',
+ 'Exch' => 'Vaihtokurssi',
+ 'Exchangerate' => 'Vaihtokurssi',
+ 'Exchangerate for payment missing!' => 'Maksun vaihtokurssi puuttuu',
+ 'Exchangerate missing!' => 'Vaihtokurssi puuttuu',
+ 'Extended' => 'Pidennetty',
+ 'Fax' => 'Faksi',
+ 'Feb' => 'Hel',
+ 'February' => 'Helmikuu',
+ 'In-line' => 'Linjalla',
+ 'Invoice' => 'Lasku',
+ 'Invoice Date' => 'Laskun päiväys',
+ 'Invoice Date missing!' => 'Laskun päiväys puuttuu!',
+ 'Invoice Number' => 'Laskun numero',
+ 'Invoice Number missing!' => 'Laskun numero puuttuu!',
+ 'Invoice deleted!' => 'Lasku poistettu!',
+ 'Invoice posted!' => 'Lasku kirjattu!',
+ 'Item not on file!' => 'Nimikettä ei ole järjestelmässä!',
+ 'Jan' => 'Tam',
+ 'January' => 'Tammikuu',
+ 'Jul' => 'Hei',
+ 'July' => 'Heinäkuu',
+ 'Jun' => 'Kes',
+ 'June' => 'Kesäkuu',
+ 'Mar' => 'Maa',
+ 'March' => 'Maaliskuu',
+ 'May' => 'Tou',
+ 'May ' => 'Toukokuu',
+ 'Message' => 'Viesti',
+ 'Name' => 'Nimi',
+ 'No.' => 'no',
+ 'Notes' => 'Lisätietoja',
+ 'Nov' => 'Mar',
+ 'November' => 'Marraskuu',
+ 'Number' => 'Numero',
+ 'Number missing in Row' => 'Numero puuttuu kannan riviltä',
+ 'Oct' => 'Lok',
+ 'October' => 'Lokakuu',
+ 'Order' => 'Tilaus',
+ 'Order Date missing!' => 'Tilauspäivämäärä puuttuu!',
+ 'Order Number' => 'Tilausnumero',
+ 'Order Number missing!' => 'Tilausnumero puuttuu!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Pakkauslista',
+ 'Packing List Date missing!' => 'Pakkauslistan päiväys puuttuu!',
+ 'Packing List Number missing!' => 'Pakkauslistan numero puuttuu!',
+ 'Part' => 'Raaka-aine/tarvike',
+ 'Payment date missing!' => 'Maksupäivä puuttuu!',
+ 'Payments' => 'Maksut',
+ 'Phone' => 'Puhelin',
+ 'Post' => 'Kirjaa',
+ 'Post as new' => 'Kirjaa uutena',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Hinta',
+ 'Print' => 'Tulosta',
+ 'Printer' => 'Kirjoitin',
+ 'Project' => 'Projekti',
+ 'Project not on file!' => 'Projekti ei ole järjestelmässä!',
+ 'Purchase Order' => 'Ostotilaus',
+ 'Qty' => 'Määrä',
+ 'Recd' => 'Vastaanotettu',
+ 'Record in' => 'Talleta tilille',
+ 'Remaining' => 'Jäljellä',
+ 'Required by' => 'Toimituspäivä',
+ 'Sales Order' => 'Tilausvahvistus',
+ 'Screen' => 'Näyttö',
+ 'Select from one of the items below' => 'Valitse yksi nimike alapuolelta',
+ 'Select from one of the names below' => 'Valitse yksi nimi alapuolelta',
+ 'Select from one of the projects below' => 'Valitse yksi projekti alapuolelta',
+ 'Select postscript or PDF!' => 'Valitse postscript tai PDF',
+ 'Sep' => 'Syy',
+ 'September' => 'Syyskuu',
+ 'Service' => 'Palvelu',
+ 'Ship' => 'Lähetä',
+ 'Ship to' => 'Toimitusosoite',
+ 'Ship via' => 'Lähetä kautta',
+ 'Source' => 'Lähde',
+ 'Subject' => 'Aihe',
+ 'Subtotal' => 'Välisumma',
+ 'Tax Included' => 'ALV sisältyy ',
+ 'To' => 'Hetkeen',
+ 'Total' => 'Yhteensä',
+ 'Unit' => 'Yksikkö',
+ 'Update' => 'Päivitä',
+ 'Vendor not on file!' => 'Toimittajaa ei järjestelmässä!',
+ 'What type of item is this?' => 'Minkä tyyppinen nimike tämä on?',
+ 'Yes' => 'Kyllä',
+ 'ea' => 'kpl',
+ 'emailed to' => 'lähetetty sähköpostilla',
+ 'sent to printer' => 'lähetetty tulostimelle',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'jatka' => 'continue',
+ 'poista' => 'delete',
+ 'sähköposti' => 'e_mail',
+ 'tilaus' => 'order',
+ 'kirjaa' => 'post',
+ 'kirjaa_uutena' => 'post_as_new',
+ 'tulosta' => 'print',
+ 'toimitusosoite' => 'ship_to',
+ 'päivitä' => 'update',
+ 'kyllä' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/fi/login b/sql-ledger/locale/fi/login
new file mode 100644
index 0000000..783ae05
--- /dev/null
+++ b/sql-ledger/locale/fi/login
@@ -0,0 +1,27 @@
+$self{texts} = {
+ 'About' => 'Lisätietoja',
+ 'Database Host' => 'Tietokannan isäntä',
+ 'Dataset' => 'Tietolähde',
+ 'Incorrect Dataset version!' => 'Väärä tietolähdeversio!',
+ 'Incorrect Password!' => 'Väärä salasana!',
+ 'Licensed to' => 'Lisenssin omistaja',
+ 'Login' => 'Kirjaudu',
+ 'Name' => 'Nimi',
+ 'Password' => 'Salasana',
+ 'User' => 'Käyttäjä',
+ 'Version' => 'Versio',
+ 'You are logged out!' => 'Olet poistunut järjestelmästä',
+ 'You did not enter a name!' => 'Et kirjoittanut nimeä',
+ 'is not a member!' => 'ei ole käyttäjä',
+ 'localhost' => 'paikallinen tietokone',
+};
+
+$self{subs} = {
+ 'company_logo' => 'company_logo',
+ 'login' => 'login',
+ 'login_screen' => 'login_screen',
+ 'logout' => 'logout',
+ 'kirjaudu' => 'login',
+};
+
+1;
diff --git a/sql-ledger/locale/fi/menu b/sql-ledger/locale/fi/menu
new file mode 100644
index 0000000..c3cde8b
--- /dev/null
+++ b/sql-ledger/locale/fi/menu
@@ -0,0 +1,71 @@
+$self{texts} = {
+ 'AP' => 'Ostot',
+ 'AP Aging' => 'Erääntyvät ostolaskut',
+ 'AR' => 'Myynnit',
+ 'AR Aging' => 'Erääntyvät myyntilaskut',
+ 'Accounting Menu' => 'Kirjanpitovalikko',
+ 'Add Account' => 'Lisää tili',
+ 'Add Assembly' => 'Lisää tuote',
+ 'Add Customer' => 'Lisää asiakas',
+ 'Add GIFI' => 'Lisää GIFI',
+ 'Add Part' => 'Lisää raaka-aine/tarvike',
+ 'Add Project' => 'Lisää projekti',
+ 'Add Service' => 'Lisää palvelu',
+ 'Add Transaction' => 'Lisää tapahtuma',
+ 'Add Vendor' => 'Lisää toimittaja',
+ 'Assemblies' => 'Tuotteet',
+ 'Audit Control' => 'Tilien tarkistus',
+ 'Backup' => 'Varmuuskopio',
+ 'Balance Sheet' => 'Taselaskelma',
+ 'Cash' => 'Käteiskauppa',
+ 'Chart of Accounts' => 'Tilikartta',
+ 'Check' => 'Sekki',
+ 'Customers' => 'Asiakkaat',
+ 'General Ledger' => 'Pääkirja',
+ 'Goods & Services' => 'Hyödykkeet ja palvelut',
+ 'HTML Templates' => 'HTML mallit',
+ 'Income Statement' => 'Tuloslaskelma',
+ 'Invoice' => 'Lasku',
+ 'LaTeX Templates' => 'LaTeX mallit',
+ 'List Accounts' => 'Listaa tilit',
+ 'List GIFI' => 'Listaa GIFI',
+ 'Logout' => 'Kirjaudu ulos',
+ 'Order Entry' => 'Tilauksen kirjaus',
+ 'Packing List' => 'Pakkauslista',
+ 'Parts' => 'Raaka-aineet/tarvikkeet',
+ 'Payment' => 'Maksu',
+ 'Payments' => 'Maksut',
+ 'Preferences' => 'Asetukset',
+ 'Projects' => 'Projektit',
+ 'Purchase Invoice' => 'Ostolasku',
+ 'Purchase Order' => 'Ostotilaus',
+ 'Purchase Orders' => 'Ostotilaukset',
+ 'Receipt' => 'Kuitti',
+ 'Receipts' => 'Kuitit',
+ 'Reconciliation' => 'Sovitus',
+ 'Reports' => 'Raportit',
+ 'Sales Invoice' => 'Myyntilasku',
+ 'Sales Order' => 'Tilausvahvistus',
+ 'Sales Orders' => 'Tilausvahvistukset',
+ 'Save to File' => 'Tallenna tiedostoon',
+ 'Send by E-Mail' => 'Lähetä sähköpostilla',
+ 'Services' => 'Palvelut',
+ 'Statement' => 'Tiliote',
+ 'Stock Assembly' => 'Varastoi tuote',
+ 'Stylesheet' => 'Tyylimalli',
+ 'System' => 'Järjestelmä',
+ 'Tax collected' => 'Veroa kerätty',
+ 'Tax paid' => 'Veroa maksettu ',
+ 'Transactions' => 'Tapahtumat',
+ 'Trial Balance' => 'Saldolista',
+ 'Vendors' => 'Toimittajat',
+ 'Version' => 'Versio',
+};
+
+$self{subs} = {
+ 'acc_menu' => 'acc_menu',
+ 'display' => 'display',
+ 'section_menu' => 'section_menu',
+};
+
+1;
diff --git a/sql-ledger/locale/fi/oe b/sql-ledger/locale/fi/oe
new file mode 100644
index 0000000..bf1f726
--- /dev/null
+++ b/sql-ledger/locale/fi/oe
@@ -0,0 +1,199 @@
+$self{texts} = {
+ 'Add' => 'Lisää',
+ 'Add Purchase Invoice' => 'Lisää ostolasku',
+ 'Add Purchase Order' => 'Ostotilaus',
+ 'Add Sales Invoice' => 'Lisää myyntilasku',
+ 'Add Sales Order' => 'Lisää tilausvahvistus',
+ 'Address' => 'Osoite',
+ 'Amount' => 'Summa',
+ 'Apr' => 'Huh',
+ 'April' => 'Huhtikuu',
+ 'Are you sure you want to delete Order Number' => 'Haluatko poistaa tilauksen numero',
+ 'Attachment' => 'Liite',
+ 'Aug' => 'Elo',
+ 'August' => 'Elokuu',
+ 'Bcc' => 'Näkymätön kopio',
+ 'Bin' => 'Varastopaikka',
+ 'C' => 'C',
+ 'Cannot delete order!' => 'Tilausta ei voi poistaa!',
+ 'Cannot save order!' => 'Tilauksen tallennus ei onnistu!',
+ 'Cc' => 'Kopio',
+ 'Closed' => 'Suljettu',
+ 'Confirm!' => 'Vahvista!',
+ 'Contact' => 'Yhteyshenkilö',
+ 'Continue' => 'Jatka',
+ 'Copies' => 'Kopiot',
+ 'Credit Limit' => 'Luottoraja',
+ 'Curr' => 'Valuutta',
+ 'Currency' => 'Valuutta',
+ 'Customer' => 'Asiakas',
+ 'Customer missing!' => 'Asiakas puuttuu!',
+ 'Customer not on file!' => 'Asiakas ei järjestelmässä!',
+ 'Date' => 'Päiväys',
+ 'Dec' => 'Jou',
+ 'December' => 'Joulukuu',
+ 'Delete' => 'Poista',
+ 'Delivery Date' => 'Toimituspäivä',
+ 'Description' => 'Kuvaus',
+ 'E-mail' => 'Sähköposti',
+ 'E-mail address missing!' => 'Sähköpostiosoite puuttuu!',
+ 'Edit Purchase Order' => 'Muokkaa ostotilausta',
+ 'Edit Sales Order' => 'Muokkaa myyntitilausta',
+ 'Exchangerate' => 'Vaihtokurssi',
+ 'Exchangerate missing!' => 'Vaihtokurssi puuttuu',
+ 'Extended' => 'Pidennetty',
+ 'Fax' => 'Faksi',
+ 'Feb' => 'Hel',
+ 'February' => 'Helmikuu',
+ 'From' => 'Alkaen',
+ 'ID' => 'ID',
+ 'In-line' => 'Linjalla',
+ 'Include in Report' => 'Sisällytä raporttiin',
+ 'Invoice' => 'Lasku',
+ 'Invoice Date missing!' => 'Laskun päiväys puuttuu!',
+ 'Invoice Number missing!' => 'Laskun numero puuttuu!',
+ 'Item not on file!' => 'Nimikettä ei ole järjestelmässä!',
+ 'Jan' => 'Tam',
+ 'January' => 'Tammikuu',
+ 'Jul' => 'Hei',
+ 'July' => 'Heinäkuu',
+ 'Jun' => 'Kes',
+ 'June' => 'Kesäkuu',
+ 'Mar' => 'Maa',
+ 'March' => 'Maaliskuu',
+ 'May' => 'Tou',
+ 'May ' => 'Toukokuu',
+ 'Message' => 'Viesti',
+ 'Name' => 'Nimi',
+ 'No.' => 'no',
+ 'Notes' => 'Lisätietoja',
+ 'Nov' => 'Mar',
+ 'November' => 'Marraskuu',
+ 'Number' => 'Numero',
+ 'Number missing in Row' => 'Numero puuttuu kannan riviltä',
+ 'O' => 'O',
+ 'Oct' => 'Lok',
+ 'October' => 'Lokakuu',
+ 'Open' => 'Avoinna',
+ 'Order' => 'Tilaus',
+ 'Order Date' => 'Tilauspäivämäärä',
+ 'Order Date missing!' => 'Tilauspäivämäärä puuttuu!',
+ 'Order Number' => 'Tilausnumero',
+ 'Order Number missing!' => 'Tilausnumero puuttuu!',
+ 'Order deleted!' => 'Tilaus poistettu!',
+ 'Order saved!' => 'Tilaus tallennettu!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Pakkauslista',
+ 'Packing List Date missing!' => 'Pakkauslistan päiväys puuttuu!',
+ 'Packing List Number missing!' => 'Pakkauslistan numero puuttuu!',
+ 'Part' => 'Raaka-aine/tarvike',
+ 'Phone' => 'Puhelin',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Hinta',
+ 'Print' => 'Tulosta',
+ 'Printer' => 'Kirjoitin',
+ 'Project' => 'Projekti',
+ 'Project not on file!' => 'Projekti ei ole järjestelmässä!',
+ 'Purchase Order' => 'Ostotilaus',
+ 'Purchase Orders' => 'Ostotilaukset',
+ 'Qty' => 'Määrä',
+ 'Recd' => 'Vastaanotettu',
+ 'Remaining' => 'Jäljellä',
+ 'Required by' => 'Toimituspäivä',
+ 'Sales Order' => 'Tilausvahvistus',
+ 'Sales Orders' => 'Tilausvahvistukset',
+ 'Save' => 'Tallenna',
+ 'Save as new' => 'Tallenna uutena',
+ 'Screen' => 'Näyttö',
+ 'Select from one of the items below' => 'Valitse yksi nimike alapuolelta',
+ 'Select from one of the names below' => 'Valitse yksi nimi alapuolelta',
+ 'Select from one of the projects below' => 'Valitse yksi projekti alapuolelta',
+ 'Select postscript or PDF!' => 'Valitse postscript tai PDF',
+ 'Sep' => 'Syy',
+ 'September' => 'Syyskuu',
+ 'Service' => 'Palvelu',
+ 'Ship' => 'Lähetä',
+ 'Ship to' => 'Toimitusosoite',
+ 'Ship via' => 'Lähetä kautta',
+ 'Subject' => 'Aihe',
+ 'Subtotal' => 'Välisumma',
+ 'Tax' => 'Vero',
+ 'Tax Included' => 'ALV sisältyy ',
+ 'Terms: Net' => 'Maksuehto',
+ 'To' => 'Hetkeen',
+ 'Total' => 'Yhteensä',
+ 'Unit' => 'Yksikkö',
+ 'Update' => 'Päivitä',
+ 'Vendor' => 'Toimittaja',
+ 'Vendor missing!' => 'Toimittaja puuttuu!',
+ 'Vendor not on file!' => 'Toimittajaa ei järjestelmässä!',
+ 'What type of item is this?' => 'Minkä tyyppinen nimike tämä on?',
+ 'Yes' => 'Kyllä',
+ 'days' => 'päivää',
+ 'ea' => 'kpl',
+ 'emailed to' => 'lähetetty sähköpostilla',
+ 'sent to printer' => 'lähetetty tulostimelle',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_backorder' => 'create_backorder',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice' => 'invoice',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'order_links' => 'order_links',
+ 'orders' => 'orders',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_order' => 'prepare_order',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'save' => 'save',
+ 'save_as_new' => 'save_as_new',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'subtotal' => 'subtotal',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'lisää' => 'add',
+ 'jatka' => 'continue',
+ 'poista' => 'delete',
+ 'sähköposti' => 'e_mail',
+ 'lasku' => 'invoice',
+ 'tulosta' => 'print',
+ 'tallenna' => 'save',
+ 'tallenna_uutena' => 'save_as_new',
+ 'toimitusosoite' => 'ship_to',
+ 'päivitä' => 'update',
+ 'kyllä' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/fi/pe b/sql-ledger/locale/fi/pe
new file mode 100644
index 0000000..c9fe2c1
--- /dev/null
+++ b/sql-ledger/locale/fi/pe
@@ -0,0 +1,35 @@
+$self{texts} = {
+ 'Add' => 'Lisää',
+ 'Add Project' => 'Lisää projekti',
+ 'All' => 'Kaikki',
+ 'Continue' => 'Jatka',
+ 'Delete' => 'Poista',
+ 'Description' => 'Kuvaus',
+ 'Edit Project' => 'Muokkaa projektia',
+ 'Number' => 'Numero',
+ 'Orphaned' => 'Hylätyt',
+ 'Project' => 'Projekti',
+ 'Project Number missing!' => 'Projektinumero puuttuu!',
+ 'Project deleted!' => 'Projekti poistettu!',
+ 'Project saved!' => 'Projekti tallennettu!',
+ 'Projects' => 'Projektit',
+ 'Save' => 'Tallenna',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'lisää' => 'add',
+ 'jatka' => 'continue',
+ 'poista' => 'delete',
+ 'tallenna' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/fi/rc b/sql-ledger/locale/fi/rc
new file mode 100644
index 0000000..57ea0da
--- /dev/null
+++ b/sql-ledger/locale/fi/rc
@@ -0,0 +1,37 @@
+$self{texts} = {
+ 'Account' => 'Tili',
+ 'Balance' => 'Tase',
+ 'Cleared Balance' => 'Tarkistettu tase',
+ 'Continue' => 'Jatka',
+ 'Date' => 'Päiväys',
+ 'Deposit' => 'Rahatallennus',
+ 'Description' => 'Kuvaus',
+ 'Difference' => 'Ero',
+ 'Done' => 'Suoritettu!',
+ 'Exchangerate Difference' => 'Vaihtokurssin ero',
+ 'From' => 'Alkaen',
+ 'Out of balance!' => 'Ei tasapainossa',
+ 'Payment' => 'Maksu',
+ 'Reconciliation' => 'Sovitus',
+ 'Select all' => 'Valitse kaikki',
+ 'Source' => 'Lähde',
+ 'Statement Balance' => 'Tiliotteen tase',
+ 'To' => 'Hetkeen',
+ 'Update' => 'Päivitä',
+};
+
+$self{subs} = {
+ 'continue' => 'continue',
+ 'display_form' => 'display_form',
+ 'done' => 'done',
+ 'get_payments' => 'get_payments',
+ 'reconciliation' => 'reconciliation',
+ 'select_all' => 'select_all',
+ 'update' => 'update',
+ 'jatka' => 'continue',
+ 'suoritettu!' => 'done',
+ 'valitse_kaikki' => 'select_all',
+ 'päivitä' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/fi/rp b/sql-ledger/locale/fi/rp
new file mode 100644
index 0000000..cbc572f
--- /dev/null
+++ b/sql-ledger/locale/fi/rp
@@ -0,0 +1,117 @@
+$self{texts} = {
+ 'AP Aging' => 'Erääntyvät ostolaskut',
+ 'AR Aging' => 'Erääntyvät myyntilaskut',
+ 'Account' => 'Tili',
+ 'Accounts' => 'Tilit',
+ 'Amount' => 'Summa',
+ 'Apr' => 'Huh',
+ 'April' => 'Huhtikuu',
+ 'Attachment' => 'Liite',
+ 'Aug' => 'Elo',
+ 'August' => 'Elokuu',
+ 'Balance Sheet' => 'Taselaskelma',
+ 'Bcc' => 'Näkymätön kopio',
+ 'Cash based' => 'Käteiseen perustuva',
+ 'Cc' => 'Kopio',
+ 'Compare to' => 'verrattuna',
+ 'Continue' => 'Jatka',
+ 'Copies' => 'Kopiot',
+ 'Credit' => 'Kredit',
+ 'Current' => 'Erääntyy',
+ 'Customer' => 'Asiakas',
+ 'Date' => 'Päiväys',
+ 'Debit' => 'Debet',
+ 'Dec' => 'Jou',
+ 'December' => 'Joulukuu',
+ 'Decimalplaces' => 'Desimaalipaikkoja',
+ 'Description' => 'Kuvaus',
+ 'Due' => 'Eräpv',
+ 'E-mail' => 'Sähköposti',
+ 'E-mail Statement to' => 'Sähköpostilla tiliote kenelle',
+ 'Feb' => 'Hel',
+ 'February' => 'Helmikuu',
+ 'From' => 'Alkaen',
+ 'GIFI' => 'GIFI',
+ 'Heading' => 'Otsikko',
+ 'ID' => 'ID',
+ 'In-line' => 'Linjalla',
+ 'Include in Report' => 'Sisällytä raporttiin',
+ 'Income Statement' => 'Tuloslaskelma',
+ 'Invoice' => 'Lasku',
+ 'Jan' => 'Tam',
+ 'January' => 'Tammikuu',
+ 'Jul' => 'Hei',
+ 'July' => 'Heinäkuu',
+ 'Jun' => 'Kes',
+ 'June' => 'Kesäkuu',
+ 'Mar' => 'Maa',
+ 'March' => 'Maaliskuu',
+ 'May' => 'Tou',
+ 'May ' => 'Toukokuu',
+ 'Message' => 'Viesti',
+ 'N/A' => 'Ei saatavilla',
+ 'Nothing selected!' => 'Mitään valitsematta!',
+ 'Nov' => 'Mar',
+ 'November' => 'Marraskuu',
+ 'Oct' => 'Lok',
+ 'October' => 'Lokakuu',
+ 'PDF' => 'PDF',
+ 'Payments' => 'Maksut',
+ 'Postscript' => 'Postscript',
+ 'Print' => 'Tulosta',
+ 'Printer' => 'Kirjoitin',
+ 'Receipts' => 'Kuitit',
+ 'Report for' => 'Raportti',
+ 'Retained Earnings' => 'Käyttörahasto\jakamaton voitto',
+ 'Screen' => 'Näyttö',
+ 'Select all' => 'Valitse kaikki',
+ 'Select postscript or PDF!' => 'Valitse postscript tai PDF',
+ 'Sep' => 'Syy',
+ 'September' => 'Syyskuu',
+ 'Source' => 'Lähde',
+ 'Standard' => 'Vakio',
+ 'Statement' => 'Tiliote',
+ 'Statement sent to' => 'Tiliote lähetetty',
+ 'Statements sent to printer!' => 'Tiliotteet lähetetty tulostimelle!',
+ 'Subject' => 'Aihe',
+ 'Subtotal' => 'Välisumma',
+ 'Tax' => 'Vero',
+ 'Tax collected' => 'Veroa kerätty',
+ 'Tax paid' => 'Veroa maksettu ',
+ 'To' => 'Hetkeen',
+ 'Total' => 'Yhteensä',
+ 'Trial Balance' => 'Saldolista',
+ 'Vendor' => 'Toimittaja',
+ 'as at' => 'päivänä ',
+ 'collected on sales' => 'Kerätty myynneistä',
+ 'for Period' => 'jaksolta',
+ 'paid on purchases' => 'maksettu ostoista',
+ 'to' => 'Kenelle',
+};
+
+$self{subs} = {
+ 'aging' => 'aging',
+ 'continue' => 'continue',
+ 'e_mail' => 'e_mail',
+ 'generate_ap_aging' => 'generate_ap_aging',
+ 'generate_ar_aging' => 'generate_ar_aging',
+ 'generate_balance_sheet' => 'generate_balance_sheet',
+ 'generate_income_statement' => 'generate_income_statement',
+ 'generate_tax_report' => 'generate_tax_report',
+ 'generate_trial_balance' => 'generate_trial_balance',
+ 'list_payments' => 'list_payments',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'report' => 'report',
+ 'select_all' => 'select_all',
+ 'send_email' => 'send_email',
+ 'statement_details' => 'statement_details',
+ 'tax_subtotal' => 'tax_subtotal',
+ 'jatka' => 'continue',
+ 'sähköposti' => 'e_mail',
+ 'tulosta' => 'print',
+ 'valitse_kaikki' => 'select_all',
+};
+
+1;
diff --git a/sql-ledger/locale/fr/COPYING b/sql-ledger/locale/fr/COPYING
new file mode 100644
index 0000000..2010dcc
--- /dev/null
+++ b/sql-ledger/locale/fr/COPYING
@@ -0,0 +1,27 @@
+######################################################################
+# SQL-Ledger Accounting
+# Copyright (c) 2003
+#
+# French texts:
+#
+# Author: Sèbastien Brassard <sbrassar.cgocable.ca>
+# Oscar Buijten <oscar@elbie.com>
+# Wolfgang Sourdeau <wolfgang@contre.com>
+# Aguibou KONE <aguibou.kone@rocketmail.com>
+# Jens-Ingo Brodesser <jens-ingo@all2all.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+#######################################################################
+
diff --git a/sql-ledger/locale/fr/LANGUAGE b/sql-ledger/locale/fr/LANGUAGE
new file mode 100644
index 0000000..744b2c3
--- /dev/null
+++ b/sql-ledger/locale/fr/LANGUAGE
@@ -0,0 +1 @@
+French
diff --git a/sql-ledger/locale/fr/admin b/sql-ledger/locale/fr/admin
new file mode 100644
index 0000000..38498b1
--- /dev/null
+++ b/sql-ledger/locale/fr/admin
@@ -0,0 +1,124 @@
+$self{texts} = {
+ 'Access Control' => 'Contrôle d\'accès',
+ 'Accounting' => 'Comptabilité',
+ 'Add User' => 'Ajouter utilisateur',
+ 'Address' => 'Adresse',
+ 'Administration' => 'Administration',
+ 'Administrator' => 'Administrateur',
+ 'All Datasets up to date!' => 'Tous les fichiers de données sont à jour!',
+ 'Change Admin Password' => 'Changement de mot de passe administrateur',
+ 'Change Password' => 'Changement de mot de passe',
+ 'Character Set' => 'Encodage des caractères',
+ 'Click on login name to edit!' => 'Cliquer sur votre identifiant pour editer',
+ 'Company' => 'Société',
+ 'Connect to' => 'Connecter à',
+ 'Continue' => 'Continuer',
+ 'Create Chart of Accounts' => 'Créer le Plan Comptable',
+ 'Create Dataset' => 'Créer fichier de données',
+ 'DBI not installed!' => 'DBI non installée!',
+ 'Database' => 'Base de données',
+ 'Database Administration' => 'Gérer base de données',
+ 'Database Driver not checked!' => 'Pilotes de base de données pas verifiés!',
+ 'Database User missing!' => 'Utilisateur base de données manquante!',
+ 'Dataset' => 'Fichier de données',
+ 'Dataset missing!' => 'Fichier de données manquant!',
+ 'Dataset updated!' => 'Base de données mise à jour!',
+ 'Date Format' => 'Format de Date',
+ 'Delete' => 'Supprimer',
+ 'Delete Dataset' => 'Supprimer fichier de données',
+ 'Directory' => 'Répertoire',
+ 'Driver' => 'Pilote',
+ 'Dropdown Limit' => 'Limit de déroulement',
+ 'E-mail' => 'Email',
+ 'Edit User' => 'Modifier utilisateur',
+ 'Existing Datasets' => 'Fichiers de données existants',
+ 'Fax' => 'Fax',
+ 'Host' => 'Hôte',
+ 'Hostname missing!' => 'Nom de l\'hôte manquant',
+ 'Incorrect Password!' => 'Mot de passe incorrect!',
+ 'Language' => 'Langue',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Laisser "port" et "hôte" vide, sauf si vous voulez vous connecter à distance (par réseau)',
+ 'Login' => 'Login',
+ 'Multibyte Encoding' => 'Encodage multibyte',
+ 'Name' => 'Nom',
+ 'New Templates' => 'Nouveaux modèles',
+ 'No Database Drivers available!' => 'Pas de pilotes de base de données disponibles!',
+ 'No Dataset selected!' => 'Pas de fichier de données sélectioné!',
+ 'Nothing to delete!' => 'Rien à supprimer',
+ 'Number Format' => 'Format des numéros',
+ 'Oracle Database Administration' => 'Administration de base de données Oracle',
+ 'Password' => 'Mot de Passe',
+ 'Password changed!' => 'Mot de passe changé!',
+ 'Pg Database Administration' => 'Administration base de données PostgreSQL',
+ 'Phone' => 'Tél.',
+ 'Port' => 'Port',
+ 'Port missing!' => 'Port manquant!',
+ 'Printer' => 'Imprimante',
+ 'Save' => 'Enregistrer',
+ 'Select a Dataset to delete and press "Continue"' => 'Sélectionner la base de données à supprimer et cliquer sur "Continuer"',
+ 'Setup Templates' => 'Configuration des Gabarits',
+ 'Ship via' => 'Expédier via',
+ 'Signature' => 'Signature',
+ 'Stylesheet' => 'Feuille de style',
+ 'Templates' => 'Gabarits',
+ 'The following Datasets are not in use and can be deleted' => 'Les fichiers de données suivants ne sont pas utilisés et peuvent être supprimés.',
+ 'The following Datasets need to be updated' => 'Les fichiers de données suivants doivent être mis a jour',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'Ceci est un test préliminaire des sources existante. Aucune modification à ce stade!!',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'Pour ajouter un utilisateur à un groupe, editer un "nom", changer le "login" et enregistrer. Un nouveau utilisateur avec les mêmes données sera enregistré avec le nouveau "login".',
+ 'Update Dataset' => 'Mis à jour de la base de données',
+ 'Use Templates' => 'Utiliser les modèles',
+ 'User' => 'Utilisateur',
+ 'User deleted!' => 'Utilisateur supprimé!',
+ 'User saved!' => 'Utilisateur enregistré!',
+ 'Version' => 'Version',
+ 'You must enter a host and port for local and remote connections!' => 'Vous devez saisir un "hôte" et un "port" pour les connexions distantes!',
+ 'does not exist' => 'n\'existe pas!',
+ 'is already a member!' => 'est déjà un membre!',
+ 'localhost' => 'hôte local',
+ 'locked!' => 'verrouillé!',
+ 'successfully created!' => 'créé avec succès',
+ 'successfully deleted!' => 'supprimé avec succès',
+ 'website' => 'site web',
+};
+
+$self{subs} = {
+ 'add_user' => 'add_user',
+ 'adminlogin' => 'adminlogin',
+ 'change_admin_password' => 'change_admin_password',
+ 'change_password' => 'change_password',
+ 'check_password' => 'check_password',
+ 'continue' => 'continue',
+ 'create_dataset' => 'create_dataset',
+ 'dbcreate' => 'dbcreate',
+ 'dbdelete' => 'dbdelete',
+ 'dbdriver_defaults' => 'dbdriver_defaults',
+ 'dbselect_source' => 'dbselect_source',
+ 'dbupdate' => 'dbupdate',
+ 'delete' => 'delete',
+ 'delete_dataset' => 'delete_dataset',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'get_value' => 'get_value',
+ 'list_users' => 'list_users',
+ 'login' => 'login',
+ 'login_name' => 'login_name',
+ 'oracle_database_administration' => 'oracle_database_administration',
+ 'pg_database_administration' => 'pg_database_administration',
+ 'save' => 'save',
+ 'update_dataset' => 'update_dataset',
+ 'ajouter_utilisateur' => 'add_user',
+ 'changement_de_mot_de_passe_administrateur' => 'change_admin_password',
+ 'changement_de_mot_de_passe' => 'change_password',
+ 'continuer' => 'continue',
+ 'créer_fichier_de_données' => 'create_dataset',
+ 'supprimer' => 'delete',
+ 'supprimer_fichier_de_données' => 'delete_dataset',
+ 'login' => 'login',
+ 'administration_de_base_de_données_oracle' => 'oracle_database_administration',
+ 'administration_base_de_données_postgresql' => 'pg_database_administration',
+ 'enregistrer' => 'save',
+ 'mis_à_jour_de_la_base_de_données' => 'update_dataset',
+};
+
+1;
diff --git a/sql-ledger/locale/fr/all b/sql-ledger/locale/fr/all
new file mode 100644
index 0000000..3d514c3
--- /dev/null
+++ b/sql-ledger/locale/fr/all
@@ -0,0 +1,495 @@
+# These are all the texts to build the translations files.
+# The file has the form of 'english text' => 'foreign text',
+# you can add the translation in this file or in the 'missing' file
+# run locales.pl from this directory to rebuild the translation files
+
+$self{texts} = {
+ 'AP' => 'Dépenses',
+ 'AP Aging' => 'Dépenses exigibles',
+ 'AP Transaction' => 'Ecriture Dépense',
+ 'AP Transactions' => 'Mouvements - Dépenses',
+ 'AR' => 'Recettes',
+ 'AR Aging' => 'Recettes exigibles',
+ 'AR Transaction' => 'Ecriture Recette',
+ 'AR Transactions' => 'Mouvements - Recettes',
+ 'About' => 'A propos',
+ 'Access Control' => 'Contrôle d\'accès',
+ 'Account' => 'Compte',
+ 'Account Number' => 'Numéro de compte',
+ 'Account Number missing!' => 'Numéro de compte manquant!',
+ 'Account Type' => 'Type de compte',
+ 'Account Type missing!' => 'Type de compte manquant!',
+ 'Account deleted!' => 'Compte supprimé',
+ 'Account saved!' => 'Compte enregistré',
+ 'Accounting' => 'Comptabilité',
+ 'Accounting Menu' => 'Menu de comptabilité',
+ 'Accounts' => 'Comptes',
+ 'Active' => 'Actif',
+ 'Add' => 'Ajouter',
+ 'Add Account' => 'Ajouter compte',
+ 'Add Accounts Payables Transaction' => 'Saisie d\'écriture - Dépenses',
+ 'Add Accounts Receivables Transaction' => 'Saisie d\'écriture - Recettes',
+ 'Add Assembly' => 'Ajouter produit',
+ 'Add Customer' => 'Ajouter client',
+ 'Add GIFI' => 'Ajouter Code d\'Identification Comptable ou Fiscale',
+ 'Add General Ledger Transaction' => 'Ajouter une écriture au Grand Livre',
+ 'Add Part' => 'Ajouter marchandise',
+ 'Add Project' => 'Ajouter projet',
+ 'Add Purchase Invoice' => 'Etablir facture d\'achat',
+ 'Add Purchase Order' => 'Etablir commande d\'achat',
+ 'Add Sales Invoice' => 'Etablir facture de vente',
+ 'Add Sales Order' => 'Etablir commande de vente',
+ 'Add Service' => 'Ajouter service',
+ 'Add Transaction' => 'Saisie d\'écriture',
+ 'Add User' => 'Ajouter utilisateur',
+ 'Add Vendor' => 'Ajouter fournisseur',
+ 'Address' => 'Adresse',
+ 'Administration' => 'Administration',
+ 'Administrator' => 'Administrateur',
+ 'All' => 'Tous',
+ 'All Datasets up to date!' => 'Tous les fichiers de données sont à jour!',
+ 'Amount' => 'Total',
+ 'Amount Due' => 'Montant dû',
+ 'Amount does not equal applied!' => 'Le montant n\'est égal à celui appliqué!',
+ 'Amount missing!' => 'Montant manquant',
+ 'Applied' => 'Appliquer',
+ 'Apr' => 'Avril',
+ 'April' => 'Avril',
+ 'Are you sure you want to delete Invoice Number' => 'Êtes-vous sûr de vouloir supprimer la Facture No.:',
+ 'Are you sure you want to delete Order Number' => 'Êtes vous sûr de vouloir supprimer Commande N°',
+ 'Are you sure you want to delete Transaction' => 'Êtes vous sûr de vouloir effacer la saisie?',
+ 'Assemblies' => 'Produits finis',
+ 'Assemblies restocked!' => 'Renvoyer produits vers stock!',
+ 'Assembly Number missing!' => 'Numéro de produit manquant',
+ 'Asset' => 'Actif',
+ 'Attachment' => 'Pièce jointe',
+ 'Audit Control' => 'Clôture périodique',
+ 'Aug' => 'Août',
+ 'August' => 'Août',
+ 'BOM' => 'Nomenclature composantes',
+ 'Backup' => 'Sauvegarder',
+ 'Backup sent to' => 'Sauvegarde envoyée à',
+ 'Balance' => 'Solde',
+ 'Balance Sheet' => 'Bilan',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Localisation',
+ 'Books are open' => 'Début exercice',
+ 'Bought' => 'Acheté',
+ 'Business Number' => 'Numéro d\'enregistrement société',
+ 'C' => 'C',
+ 'COGS' => 'CMV',
+ 'Cannot delete account!' => 'Impossible de supprimer le compte!',
+ 'Cannot delete customer!' => 'Impossible de supprimer le client!',
+ 'Cannot delete default account!' => 'Ne peut pas supprimer le compte par defaut!',
+ 'Cannot delete invoice!' => 'Impossible de supprimer la facture',
+ 'Cannot delete item already invoiced!' => 'Ne peut pas effacer un élément qui est déjà facturé!',
+ 'Cannot delete item on order!' => 'Impossible de supprimer un élément faisant partie d\'une commande',
+ 'Cannot delete item which is part of an assembly!' => 'Ne peut pas supprimer une marchandise qui est intégrée dans un produit fini!',
+ 'Cannot delete item!' => 'Impossible de supprimer ce poste!',
+ 'Cannot delete order!' => 'Impossible de supprimer la commande!',
+ 'Cannot delete transaction!' => 'Impossible de supprimer la saisie!',
+ 'Cannot delete vendor!' => 'Impossible de supprimer le fournisseur!',
+ 'Cannot have a value in both Debit and Credit!' => 'Impossible d\'avoir des valeurs dans Crédit et Débit en même temps!',
+ 'Cannot post a transaction without a value!' => 'Impossible d\'effectuer une écriture sans valeur!',
+ 'Cannot post invoice for a closed period!' => 'Impossible d\'enregistrer la facture sur un exercice clos!',
+ 'Cannot post invoice!' => 'Impossible d\'enregistrer la facture!',
+ 'Cannot post payment for a closed period!' => 'Impossible d\'enregistrer le paiement sur un exercice clos!',
+ 'Cannot post payment!' => 'Impossible d\'enregistrer le paiement!',
+ 'Cannot post transaction for a closed period!' => 'Impossible d\'enregistrer l\'écriture sur un exercice clos!',
+ 'Cannot post transaction!' => 'Impossible d\'enregistrer l\'écriture!',
+ 'Cannot process payment for a closed period!' => 'Impossible de faire un paiement sur un exercice clos!',
+ 'Cannot save account!' => 'Impossible d\'enregistrer le compte!',
+ 'Cannot save order!' => 'Impossible d\'enregistrer la commande!',
+ 'Cannot save preferences!' => 'Impossible d\'enregistrer les préférences',
+ 'Cannot stock assemblies!' => 'Impossible de stocker l\'assemblage!',
+ 'Cash' => 'Caisse',
+ 'Cash based' => 'En liquide',
+ 'Cc' => 'Cc',
+ 'Change Admin Password' => 'Changement de mot de passe administrateur',
+ 'Change Password' => 'Changement de mot de passe',
+ 'Character Set' => 'Encodage des caractères',
+ 'Chart of Accounts' => 'Plan Comptable',
+ 'Check' => 'Chèque',
+ 'Check printed!' => 'Chèque imprimé!',
+ 'Check printing failed!' => 'Impression du chèque échoué!',
+ 'Cleared Balance' => 'Solde rapproché',
+ 'Click on login name to edit!' => 'Cliquer sur votre identifiant pour editer',
+ 'Close Books up to' => 'Clôturer l\'exercice jusqu\'au',
+ 'Closed' => 'Clôturé',
+ 'Company' => 'Société',
+ 'Compare to' => 'Comparer à',
+ 'Confirm!' => 'Confirmez!',
+ 'Connect to' => 'Connecter à',
+ 'Contact' => 'Contact',
+ 'Continue' => 'Continuer',
+ 'Copies' => 'Copies',
+ 'Copy to COA' => 'Copier dans le Plan Comptable',
+ 'Create Chart of Accounts' => 'Créer le Plan Comptable',
+ 'Create Dataset' => 'Créer fichier de données',
+ 'Credit' => 'Crédit',
+ 'Credit Limit' => 'Encours autorisé',
+ 'Curr' => 'En cours',
+ 'Currency' => 'Devise',
+ 'Current' => 'En cours',
+ 'Customer' => 'Client',
+ 'Customer deleted!' => 'Client supprimé!',
+ 'Customer missing!' => 'Client manquant!',
+ 'Customer not on file!' => 'Client absent du fichier!',
+ 'Customer saved!' => 'Client enregistré!',
+ 'Customers' => 'Clients',
+ 'DBI not installed!' => 'DBI non installée!',
+ 'Database' => 'Base de données',
+ 'Database Administration' => 'Gérer base de données',
+ 'Database Driver not checked!' => 'Pilotes de base de données pas verifiés!',
+ 'Database Host' => 'Hôte de base de données',
+ 'Database User missing!' => 'Utilisateur base de données manquante!',
+ 'Dataset' => 'Fichier de données',
+ 'Dataset missing!' => 'Fichier de données manquant!',
+ 'Dataset updated!' => 'Base de données mise à jour!',
+ 'Date' => 'Date',
+ 'Date Due' => 'Date d\'échéance',
+ 'Date Format' => 'Format de Date',
+ 'Date Paid' => 'Date de paiement',
+ 'Date missing!' => 'Date manquante!',
+ 'Debit' => 'Débit',
+ 'Debit and credit out of balance!' => 'Le débit et le crédit ne sont pas équilibrés!',
+ 'Dec' => 'Déc.',
+ 'December' => 'Décembre',
+ 'Decimalplaces' => 'Décimales',
+ 'Delete' => 'Supprimer',
+ 'Delete Account' => 'Supprimer compte',
+ 'Delete Dataset' => 'Supprimer fichier de données',
+ 'Delivery Date' => 'Date de livraison',
+ 'Department' => '',
+ 'Deposit' => 'Dépôt',
+ 'Description' => 'Description',
+ 'Difference' => 'Différence',
+ 'Directory' => 'Répertoire',
+ 'Discount' => 'Remise',
+ 'Done' => 'Fait!',
+ 'Drawing' => 'Dessin',
+ 'Driver' => 'Pilote',
+ 'Dropdown Limit' => 'Limit de déroulement',
+ 'Due' => 'Echéance',
+ 'Due Date' => 'Date d\'échéance',
+ 'Due Date missing!' => 'Date d\'échéance manquante!',
+ 'E-mail' => 'Email',
+ 'E-mail Statement to' => 'Message éléctronique à',
+ 'E-mail address missing!' => 'Adresse email manquante!',
+ 'Edit' => 'Modifier',
+ 'Edit Account' => 'Modifier le compte',
+ 'Edit Accounts Payables Transaction' => 'Modifier Mouvements - Dépenses',
+ 'Edit Accounts Receivables Transaction' => 'Modifier Mouvements - Recettes',
+ 'Edit Assembly' => 'Modifier produit fini / transformé',
+ 'Edit Customer' => 'Modifier client',
+ 'Edit GIFI' => 'Modifier Code d\'Identification Comptable ou Fiscale',
+ 'Edit General Ledger Transaction' => 'Modifier écriture Grand Livre',
+ 'Edit Part' => 'Modifier marchandise',
+ 'Edit Preferences for' => 'Modifier les préférences pour',
+ 'Edit Project' => 'Modifier projet',
+ 'Edit Purchase Invoice' => 'Modifier facture d\'achat',
+ 'Edit Purchase Order' => 'Modifier commande d\'achat',
+ 'Edit Sales Invoice' => 'Modifier facture de vente',
+ 'Edit Sales Order' => 'Modifier commande de vente',
+ 'Edit Service' => 'Modifier service',
+ 'Edit Template' => 'Modifier modèle',
+ 'Edit User' => 'Modifier utilisateur',
+ 'Edit Vendor' => 'Modifier fournisseur',
+ 'Employee' => 'Employé',
+ 'Enforce transaction reversal for all dates' => 'Appliquer l\'inversion des écritures pour toutes les dates',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Entrer le nom de la monnaie nationale et des monnaies étrangères en 3 lettres séparées par (:) (Ex: EUR:USD:CAD)',
+ 'Equity' => 'Capital',
+ 'Exch' => 'Change',
+ 'Exchangerate' => 'Taux de change',
+ 'Exchangerate Difference' => 'Différence de taux de change',
+ 'Exchangerate for payment missing!' => 'Taux de change manquant pour le paiement!',
+ 'Exchangerate missing!' => 'Taux de change manquant!',
+ 'Existing Datasets' => 'Fichiers de données existants',
+ 'Expense' => 'Dépense',
+ 'Expense Account' => 'Compte Dépenses',
+ 'Expense/Asset' => 'Dépense/Actif',
+ 'Extended' => 'Prix Total',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Fév.',
+ 'February' => 'Février',
+ 'Foreign Exchange Gain' => 'Produit conversion devises',
+ 'Foreign Exchange Loss' => 'Perte conversion devises',
+ 'From' => 'De',
+ 'GIFI' => 'Code d\'Identification Comptable ou Fiscale',
+ 'GIFI deleted!' => 'Code d\'Identification Comptable ou Fiscale supprimé!',
+ 'GIFI missing!' => 'Code d\'Identification Comptable ou Fiscale manquant!',
+ 'GIFI saved!' => 'Code d\'Identification Comptable ou Fiscale enregistré!',
+ 'GL Transaction' => 'Transaction Grand Livre',
+ 'General Ledger' => 'Grand Livre',
+ 'Goods & Services' => 'Articles & Services',
+ 'HTML Templates' => 'Gabarits HTML',
+ 'Heading' => 'En-tête',
+ 'Host' => 'Hôte',
+ 'Hostname missing!' => 'Nom de l\'hôte manquant',
+ 'ID' => 'ID',
+ 'Image' => 'Image',
+ 'In-line' => 'En ligne',
+ 'Include in Report' => 'Inclure dans l\'état',
+ 'Include in drop-down menus' => 'Inclure dans les menus deroulants',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Afficher ce compte sur les formulaires de client/fournisseur pour le marquer comme imposable?',
+ 'Income' => 'Recettes',
+ 'Income Account' => 'Compte Recettes',
+ 'Income Statement' => 'Compte de Résultat',
+ 'Incorrect Dataset version!' => 'Fichier de données incorrect!',
+ 'Incorrect Password!' => 'Mot de passe incorrect!',
+ 'Individual Items' => 'Composition en marchandises individuelles',
+ 'Inventory' => 'Inventaire',
+ 'Inventory Account' => 'Compte d\'Inventaire',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'La quantité en stock doit être à zéro avant de pouvoir indiquer cet assemblage comme obsolète!',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'La quantité en stock devrait être zero avant de pouvoir indiquer cette pièce comme obsolète!',
+ 'Inventory quantity must be zero!' => 'La quantité en stock doit être zero!',
+ 'Invoice' => 'Facture',
+ 'Invoice Date' => 'Date de facturation',
+ 'Invoice Date missing!' => 'Date de facture manquante!',
+ 'Invoice Number' => 'Numéro de facture',
+ 'Invoice Number missing!' => 'Numéro de facture manquant!',
+ 'Invoice deleted!' => 'Facture supprimé!',
+ 'Invoice posted!' => 'Facture enregistré!',
+ 'Invoices' => 'Factures',
+ 'Is this a summary account to record' => 'Est-ce que c\'est un compte sommaire à enregistrer?',
+ 'Item deleted!' => 'Objet supprimé!',
+ 'Item not on file!' => 'Objet non-listé!',
+ 'Jan' => 'Jan.',
+ 'January' => 'Janvier',
+ 'Jul' => 'Juil.',
+ 'July' => 'Juillet',
+ 'Jun' => 'Juin',
+ 'June' => 'Juin',
+ 'LaTeX Templates' => 'Gabarits LaTeX',
+ 'Language' => 'Langue',
+ 'Last Cost' => 'Dernier prix',
+ 'Last Invoice Number' => 'Dernier numéro de facture',
+ 'Last Numbers & Default Accounts' => 'Derniers numéros et comptes par défauts',
+ 'Last Purchase Order Number' => 'Dernier numéro de commande d\'achat',
+ 'Last Sales Order Number' => 'Numéro de la dernière commande de vente',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Laisser "port" et "hôte" vide, sauf si vous voulez vous connecter à distance (par réseau)',
+ 'Liability' => 'Passif',
+ 'Licensed to' => 'Licence à',
+ 'Line Total' => 'Total ligne',
+ 'Link' => 'Liens',
+ 'Link Accounts' => 'Lier Comptes',
+ 'List Accounts' => 'Liste des comptes',
+ 'List GIFI' => 'Afficher la liste des Codes d\'Identification Comptable ou Fiscale',
+ 'List Price' => 'Prix d\'achat',
+ 'List Transactions' => 'Afficher écritures',
+ 'Login' => 'Login',
+ 'Logout' => 'Déconnexion',
+ 'Make' => 'Marque',
+ 'Mar' => 'Mars',
+ 'March' => 'Mars',
+ 'May' => 'Mai',
+ 'May ' => 'Mai ',
+ 'Message' => 'Message',
+ 'Microfiche' => 'Microfiche',
+ 'Model' => 'Modèle',
+ 'Multibyte Encoding' => 'Encodage multibyte',
+ 'N/A' => 'Non Applicable',
+ 'Name' => 'Nom',
+ 'Name missing!' => 'Nom manquant!',
+ 'New Templates' => 'Nouveaux modèles',
+ 'No' => 'Non',
+ 'No Database Drivers available!' => 'Pas de pilotes de base de données disponibles!',
+ 'No Dataset selected!' => 'Pas de fichier de données sélectioné!',
+ 'No email address for' => 'Pas d\'adresse email pour',
+ 'No.' => 'No.',
+ 'Notes' => 'Notes',
+ 'Nothing applied!' => 'Rien n\'a été appliqué!',
+ 'Nothing selected!' => 'Pas de sélection!',
+ 'Nothing to delete!' => 'Rien à supprimer',
+ 'Nov' => 'Nov.',
+ 'November' => 'Novembre',
+ 'Number' => 'Numéro',
+ 'Number Format' => 'Format des numéros',
+ 'Number missing in Row' => 'Numéro manquant dans ligne',
+ 'O' => 'O',
+ 'Obsolete' => 'Obsolète',
+ 'Oct' => 'Oct.',
+ 'October' => 'Octobre',
+ 'On Hand' => 'En Stock / Disponible',
+ 'On Order' => 'Sur Commande',
+ 'Open' => 'Ouvert',
+ 'Oracle Database Administration' => 'Administration de base de données Oracle',
+ 'Order' => 'Commande',
+ 'Order Date' => 'Date commande',
+ 'Order Date missing!' => 'Date de commande manquante!',
+ 'Order Entry' => 'Bons de Commandes',
+ 'Order Number' => 'Numéro de commande',
+ 'Order Number missing!' => 'Numéro de commande manquant!',
+ 'Order deleted!' => 'Commande supprimé!',
+ 'Order saved!' => 'Commande enregistré!',
+ 'Ordered' => 'Commandé',
+ 'Orphaned' => 'Orphelin',
+ 'Out of balance!' => 'Solde non équilibré!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Liste d\'envoi',
+ 'Packing List Date missing!' => 'La date est manquante sur la liste d\'envoi!',
+ 'Packing List Number missing!' => 'Le numéro de liste d\'envoi est manquant!',
+ 'Paid' => 'Total Payé',
+ 'Paid in full' => 'Complètement payé',
+ 'Part' => 'Marchandise',
+ 'Part Number missing!' => 'Numéro de marchandise manquant!',
+ 'Parts' => 'Marchandises',
+ 'Parts Inventory' => 'Inventaire marchandises',
+ 'Password' => 'Mot de Passe',
+ 'Password changed!' => 'Mot de passe changé!',
+ 'Payables' => 'À Payer',
+ 'Payment' => 'Paiement',
+ 'Payment date missing!' => 'Date de paiement manquant!',
+ 'Payment posted!' => 'Paiement enregistré!',
+ 'Payments' => 'Paiements',
+ 'Pg Database Administration' => 'Administration base de données PostgreSQL',
+ 'Phone' => 'Tél.',
+ 'Port' => 'Port',
+ 'Port missing!' => 'Port manquant!',
+ 'Post' => 'Enregistrer',
+ 'Post as new' => 'Enregistrer comme nouveau',
+ 'Postscript' => 'Postcript',
+ 'Preferences' => 'Préférences',
+ 'Preferences saved!' => 'Préférences enregistrées!',
+ 'Price' => 'Prix',
+ 'Print' => 'Imprimer',
+ 'Printer' => 'Imprimante',
+ 'Project' => 'Projet',
+ 'Project Number' => '',
+ 'Project Number missing!' => 'Numéro du projet manquant!',
+ 'Project deleted!' => 'Projet supprimé!',
+ 'Project not on file!' => 'Projet absent du fichier!',
+ 'Project saved!' => 'Projet enregistré!',
+ 'Projects' => 'Projets',
+ 'Purchase Invoice' => 'Facture d\'Achat',
+ 'Purchase Order' => 'Commande d\'Achat',
+ 'Purchase Orders' => 'Commandes d\'Achats',
+ 'Qty' => 'Qté',
+ 'ROP' => 'Niveau de commande',
+ 'Rate' => 'Cadence',
+ 'Recd' => 'Reçu',
+ 'Receipt' => 'Reçu',
+ 'Receipt printed!' => '',
+ 'Receipt printing failed!' => '',
+ 'Receipts' => 'Reçus',
+ 'Receivables' => 'À recevoir',
+ 'Reconciliation' => 'Rapprochement',
+ 'Record in' => 'Enregistrer dans',
+ 'Reference' => 'Référence',
+ 'Reference missing!' => 'Référence manquant!',
+ 'Remaining' => 'Restant',
+ 'Report for' => 'Rapport de',
+ 'Reports' => 'Rapports',
+ 'Required by' => 'Requis pour',
+ 'Retained Earnings' => 'Éxcédents non distribués',
+ 'Sales' => 'Ventes',
+ 'Sales Invoice' => 'Facture de Vente',
+ 'Sales Order' => 'Commande de Vente',
+ 'Sales Orders' => 'Commandes de Vente',
+ 'Save' => 'Enregistrer',
+ 'Save as new' => 'Enregistrer comme nouveau',
+ 'Save to File' => 'Enregistrer comme fichier',
+ 'Screen' => 'Écran',
+ 'Select a Dataset to delete and press "Continue"' => 'Sélectionner la base de données à supprimer et cliquer sur "Continuer"',
+ 'Select all' => 'Sélectionner tout',
+ 'Select from one of the items below' => 'Sélectionner un des postes ci-dessous',
+ 'Select from one of the names below' => 'Sélectionner un des noms ci-dessous',
+ 'Select from one of the projects below' => 'Sélectionner un des projets ci-dessous',
+ 'Select postscript or PDF!' => 'Sélectionner Postscript ou PDF',
+ 'Sell Price' => 'Prix de vente',
+ 'Send by E-Mail' => 'Envoyer par email',
+ 'Sep' => 'Sept.',
+ 'September' => 'Septembre',
+ 'Service' => 'Service',
+ 'Service Items' => 'Services',
+ 'Service Number missing!' => 'Numéro de service manquant!',
+ 'Services' => 'Services',
+ 'Setup Templates' => 'Configuration des Gabarits',
+ 'Ship' => 'Expédier',
+ 'Ship to' => 'Expédier à',
+ 'Ship via' => 'Expédier via',
+ 'Short' => 'Court',
+ 'Signature' => 'Signature',
+ 'Sold' => 'Vendu',
+ 'Source' => 'Source',
+ 'Standard' => 'Standard',
+ 'Statement' => 'Relevé',
+ 'Statement Balance' => 'Relevé de compte',
+ 'Statement sent to' => 'Relevé envoyé à',
+ 'Statements sent to printer!' => 'Relevés envoyés à l\'imprimante!',
+ 'Stock Assembly' => 'Stock de produits',
+ 'Stylesheet' => 'Feuille de style',
+ 'Subject' => 'Objet',
+ 'Subtotal' => 'Sous Total',
+ 'System' => 'Système',
+ 'Tax' => 'Taxe',
+ 'Tax Accounts' => 'Comptes de taxe',
+ 'Tax Included' => 'Taxe incluse',
+ 'Tax collected' => 'Taxe collectée',
+ 'Tax paid' => 'Taxe payée',
+ 'Taxable' => 'Imposable',
+ 'Template saved!' => 'Gabarit enregistré!',
+ 'Templates' => 'Gabarits',
+ 'Terms: Net' => 'Crédit limité à',
+ 'The following Datasets are not in use and can be deleted' => 'Les fichiers de données suivants ne sont pas utilisés et peuvent être supprimés.',
+ 'The following Datasets need to be updated' => 'Les fichiers de données suivants doivent être mis a jour',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'Ceci est un test préliminaire des sources existante. Aucune modification à ce stade!!',
+ 'To' => 'à ',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'Pour ajouter un utilisateur à un groupe, editer un "nom", changer le "login" et enregistrer. Un nouveau utilisateur avec les mêmes données sera enregistré avec le nouveau "login".',
+ 'Top Level' => 'Description principale',
+ 'Total' => 'Total',
+ 'Transaction Date missing!' => 'Date d\'écriture manquante!',
+ 'Transaction deleted!' => 'Ecriture supprimée!',
+ 'Transaction posted!' => 'Ecriture enregistrée!',
+ 'Transaction reversal enforced for all dates' => 'Inversion des écritures exécuté pour toutes les dates',
+ 'Transaction reversal enforced up to' => 'Inversion des écritures exécuté jusqu\'au',
+ 'Transactions' => 'Mouvements',
+ 'Transactions exist, cannot delete customer!' => 'Des écritures existent, impossible d\'effacer le client!',
+ 'Transactions exist, cannot delete vendor!' => 'Des écritures existent, impossible d\'effacer le fournisseur!',
+ 'Transactions exist; cannot delete account!' => 'Des écritures existent, impossible d\'effacer le compte!',
+ 'Trial Balance' => 'Balance Globale',
+ 'Unit' => 'Unité',
+ 'Unit of measure' => 'Unité de mesure',
+ 'Update' => 'Mettre à jour',
+ 'Update Dataset' => 'Mis à jour de la base de données',
+ 'Updated' => 'Mis à jour',
+ 'Use Templates' => 'Utiliser les modèles',
+ 'User' => 'Utilisateur',
+ 'User deleted!' => 'Utilisateur supprimé!',
+ 'User saved!' => 'Utilisateur enregistré!',
+ 'Vendor' => 'Fournisseur',
+ 'Vendor deleted!' => 'Fournisseur supprimé!',
+ 'Vendor missing!' => 'Fournisseur manquant!',
+ 'Vendor not on file!' => 'Fournisseur absent du fichier!',
+ 'Vendor saved!' => 'Fournisseur enregistré!',
+ 'Vendors' => 'Fournisseurs',
+ 'Version' => 'Version',
+ 'Weight' => 'Poids',
+ 'Weight Unit' => 'Unité de poids',
+ 'What type of item is this?' => 'De quel type est ce poste?',
+ 'Year End' => 'Fin d\'année',
+ 'Yes' => 'Oui',
+ 'You are logged out!' => 'Vous êtes déconnecté!',
+ 'You did not enter a name!' => 'Vous n\'avez pas saisi de nom!',
+ 'You must enter a host and port for local and remote connections!' => 'Vous devez saisir un "hôte" et un "port" pour les connexions distantes!',
+ 'as at' => 'au',
+ 'collected on sales' => 'collectées sur les ventes',
+ 'days' => 'jours',
+ 'does not exist' => 'n\'existe pas!',
+ 'ea' => 'ch',
+ 'emailed to' => 'envoyé par email à',
+ 'for Period' => 'pour la période',
+ 'hr' => 'h',
+ 'is already a member!' => 'est déjà un membre!',
+ 'is not a member!' => 'n\'est pas un membre',
+ 'localhost' => 'hôte local',
+ 'locked!' => 'verrouillé!',
+ 'paid on purchases' => 'payées sur les achats',
+ 'sent to printer' => 'envoyé à l\'imprimante',
+ 'successfully created!' => 'créé avec succès',
+ 'successfully deleted!' => 'supprimé avec succès',
+ 'to' => 'jusqu\'au',
+ 'website' => 'site web',
+};
+
+1;
diff --git a/sql-ledger/locale/fr/am b/sql-ledger/locale/fr/am
new file mode 100644
index 0000000..2c61263
--- /dev/null
+++ b/sql-ledger/locale/fr/am
@@ -0,0 +1,139 @@
+$self{texts} = {
+ 'AP' => 'Dépenses',
+ 'AR' => 'Recettes',
+ 'Account' => 'Compte',
+ 'Account Number' => 'Numéro de compte',
+ 'Account Number missing!' => 'Numéro de compte manquant!',
+ 'Account Type' => 'Type de compte',
+ 'Account Type missing!' => 'Type de compte manquant!',
+ 'Account deleted!' => 'Compte supprimé',
+ 'Account saved!' => 'Compte enregistré',
+ 'Add Account' => 'Ajouter compte',
+ 'Add GIFI' => 'Ajouter Code d\'Identification Comptable ou Fiscale',
+ 'Address' => 'Adresse',
+ 'Asset' => 'Actif',
+ 'Audit Control' => 'Clôture périodique',
+ 'Backup sent to' => 'Sauvegarde envoyée à',
+ 'Books are open' => 'Début exercice',
+ 'Business Number' => 'Numéro d\'enregistrement société',
+ 'COGS' => 'CMV',
+ 'Cannot delete account!' => 'Impossible de supprimer le compte!',
+ 'Cannot delete default account!' => 'Ne peut pas supprimer le compte par defaut!',
+ 'Cannot save account!' => 'Impossible d\'enregistrer le compte!',
+ 'Cannot save preferences!' => 'Impossible d\'enregistrer les préférences',
+ 'Character Set' => 'Encodage des caractères',
+ 'Chart of Accounts' => 'Plan Comptable',
+ 'Close Books up to' => 'Clôturer l\'exercice jusqu\'au',
+ 'Company' => 'Société',
+ 'Continue' => 'Continuer',
+ 'Copy to COA' => 'Copier dans le Plan Comptable',
+ 'Credit' => 'Crédit',
+ 'Date Format' => 'Format de Date',
+ 'Debit' => 'Débit',
+ 'Delete' => 'Supprimer',
+ 'Delete Account' => 'Supprimer compte',
+ 'Description' => 'Description',
+ 'Dropdown Limit' => 'Limit de déroulement',
+ 'E-mail' => 'Email',
+ 'Edit' => 'Modifier',
+ 'Edit Account' => 'Modifier le compte',
+ 'Edit GIFI' => 'Modifier Code d\'Identification Comptable ou Fiscale',
+ 'Edit Preferences for' => 'Modifier les préférences pour',
+ 'Edit Template' => 'Modifier modèle',
+ 'Enforce transaction reversal for all dates' => 'Appliquer l\'inversion des écritures pour toutes les dates',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Entrer le nom de la monnaie nationale et des monnaies étrangères en 3 lettres séparées par (:) (Ex: EUR:USD:CAD)',
+ 'Equity' => 'Capital',
+ 'Expense' => 'Dépense',
+ 'Expense Account' => 'Compte Dépenses',
+ 'Expense/Asset' => 'Dépense/Actif',
+ 'Fax' => 'Fax',
+ 'Foreign Exchange Gain' => 'Produit conversion devises',
+ 'Foreign Exchange Loss' => 'Perte conversion devises',
+ 'GIFI' => 'Code d\'Identification Comptable ou Fiscale',
+ 'GIFI deleted!' => 'Code d\'Identification Comptable ou Fiscale supprimé!',
+ 'GIFI missing!' => 'Code d\'Identification Comptable ou Fiscale manquant!',
+ 'GIFI saved!' => 'Code d\'Identification Comptable ou Fiscale enregistré!',
+ 'Heading' => 'En-tête',
+ 'Include in drop-down menus' => 'Inclure dans les menus deroulants',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Afficher ce compte sur les formulaires de client/fournisseur pour le marquer comme imposable?',
+ 'Income' => 'Recettes',
+ 'Income Account' => 'Compte Recettes',
+ 'Inventory' => 'Inventaire',
+ 'Inventory Account' => 'Compte d\'Inventaire',
+ 'Is this a summary account to record' => 'Est-ce que c\'est un compte sommaire à enregistrer?',
+ 'Language' => 'Langue',
+ 'Last Invoice Number' => 'Dernier numéro de facture',
+ 'Last Numbers & Default Accounts' => 'Derniers numéros et comptes par défauts',
+ 'Last Purchase Order Number' => 'Dernier numéro de commande d\'achat',
+ 'Last Sales Order Number' => 'Numéro de la dernière commande de vente',
+ 'Liability' => 'Passif',
+ 'Link' => 'Liens',
+ 'Name' => 'Nom',
+ 'No' => 'Non',
+ 'No email address for' => 'Pas d\'adresse email pour',
+ 'Number' => 'Numéro',
+ 'Number Format' => 'Format des numéros',
+ 'Parts Inventory' => 'Inventaire marchandises',
+ 'Password' => 'Mot de Passe',
+ 'Payables' => 'À Payer',
+ 'Payment' => 'Paiement',
+ 'Phone' => 'Tél.',
+ 'Preferences saved!' => 'Préférences enregistrées!',
+ 'Rate' => 'Cadence',
+ 'Receivables' => 'À recevoir',
+ 'Sales' => 'Ventes',
+ 'Save' => 'Enregistrer',
+ 'Service Items' => 'Services',
+ 'Ship via' => 'Expédier via',
+ 'Signature' => 'Signature',
+ 'Stylesheet' => 'Feuille de style',
+ 'Tax' => 'Taxe',
+ 'Tax Accounts' => 'Comptes de taxe',
+ 'Template saved!' => 'Gabarit enregistré!',
+ 'Transaction reversal enforced for all dates' => 'Inversion des écritures exécuté pour toutes les dates',
+ 'Transaction reversal enforced up to' => 'Inversion des écritures exécuté jusqu\'au',
+ 'Transactions exist; cannot delete account!' => 'Des écritures existent, impossible d\'effacer le compte!',
+ 'Weight Unit' => 'Unité de poids',
+ 'Year End' => 'Fin d\'année',
+ 'Yes' => 'Oui',
+ 'does not exist' => 'n\'existe pas!',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_gifi' => 'add_gifi',
+ 'audit_control' => 'audit_control',
+ 'backup' => 'backup',
+ 'config' => 'config',
+ 'continue' => 'continue',
+ 'copy_to_coa' => 'copy_to_coa',
+ 'delete' => 'delete',
+ 'delete_account' => 'delete_account',
+ 'delete_gifi' => 'delete_gifi',
+ 'display_form' => 'display_form',
+ 'display_stylesheet' => 'display_stylesheet',
+ 'doclose' => 'doclose',
+ 'edit' => 'edit',
+ 'edit_gifi' => 'edit_gifi',
+ 'edit_template' => 'edit_template',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gifi_footer' => 'gifi_footer',
+ 'gifi_header' => 'gifi_header',
+ 'list' => 'list',
+ 'list_gifi' => 'list_gifi',
+ 'save' => 'save',
+ 'save_account' => 'save_account',
+ 'save_gifi' => 'save_gifi',
+ 'save_preferences' => 'save_preferences',
+ 'save_template' => 'save_template',
+ 'ajouter_compte' => 'add_account',
+ 'continuer' => 'continue',
+ 'copier_dans_le_plan_comptable' => 'copy_to_coa',
+ 'supprimer' => 'delete',
+ 'modifier' => 'edit',
+ 'modifier_le_compte' => 'edit_account',
+ 'enregistrer' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/fr/ap b/sql-ledger/locale/fr/ap
new file mode 100644
index 0000000..ac20a09
--- /dev/null
+++ b/sql-ledger/locale/fr/ap
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AP Transaction' => 'Ecriture Dépense',
+ 'AP Transactions' => 'Mouvements - Dépenses',
+ 'Account' => 'Compte',
+ 'Add Accounts Payables Transaction' => 'Saisie d\'écriture - Dépenses',
+ 'Address' => 'Adresse',
+ 'Amount' => 'Total',
+ 'Amount Due' => 'Montant dû',
+ 'Apr' => 'Avril',
+ 'April' => 'Avril',
+ 'Are you sure you want to delete Transaction' => 'Êtes vous sûr de vouloir effacer la saisie?',
+ 'Aug' => 'Août',
+ 'August' => 'Août',
+ 'Cannot delete transaction!' => 'Impossible de supprimer la saisie!',
+ 'Cannot post payment for a closed period!' => 'Impossible d\'enregistrer le paiement sur un exercice clos!',
+ 'Cannot post transaction for a closed period!' => 'Impossible d\'enregistrer l\'écriture sur un exercice clos!',
+ 'Cannot post transaction!' => 'Impossible d\'enregistrer l\'écriture!',
+ 'Closed' => 'Clôturé',
+ 'Confirm!' => 'Confirmez!',
+ 'Continue' => 'Continuer',
+ 'Currency' => 'Devise',
+ 'Customer not on file!' => 'Client absent du fichier!',
+ 'Date' => 'Date',
+ 'Date Paid' => 'Date de paiement',
+ 'Dec' => 'Déc.',
+ 'December' => 'Décembre',
+ 'Delete' => 'Supprimer',
+ 'Description' => 'Description',
+ 'Due Date' => 'Date d\'échéance',
+ 'Due Date missing!' => 'Date d\'échéance manquante!',
+ 'Edit Accounts Payables Transaction' => 'Modifier Mouvements - Dépenses',
+ 'Employee' => 'Employé',
+ 'Exch' => 'Change',
+ 'Exchangerate' => 'Taux de change',
+ 'Exchangerate for payment missing!' => 'Taux de change manquant pour le paiement!',
+ 'Exchangerate missing!' => 'Taux de change manquant!',
+ 'Feb' => 'Fév.',
+ 'February' => 'Février',
+ 'From' => 'De',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Inclure dans l\'état',
+ 'Invoice' => 'Facture',
+ 'Invoice Date' => 'Date de facturation',
+ 'Invoice Date missing!' => 'Date de facture manquante!',
+ 'Invoice Number' => 'Numéro de facture',
+ 'Invoice Number missing!' => 'Numéro de facture manquant!',
+ 'Jan' => 'Jan.',
+ 'January' => 'Janvier',
+ 'Jul' => 'Juil.',
+ 'July' => 'Juillet',
+ 'Jun' => 'Juin',
+ 'June' => 'Juin',
+ 'Mar' => 'Mars',
+ 'March' => 'Mars',
+ 'May' => 'Mai',
+ 'May ' => 'Mai ',
+ 'Notes' => 'Notes',
+ 'Nov' => 'Nov.',
+ 'November' => 'Novembre',
+ 'Number' => 'Numéro',
+ 'Oct' => 'Oct.',
+ 'October' => 'Octobre',
+ 'Open' => 'Ouvert',
+ 'Order' => 'Commande',
+ 'Order Number' => 'Numéro de commande',
+ 'Paid' => 'Total Payé',
+ 'Payment date missing!' => 'Date de paiement manquant!',
+ 'Payments' => 'Paiements',
+ 'Post' => 'Enregistrer',
+ 'Post as new' => 'Enregistrer comme nouveau',
+ 'Project' => 'Projet',
+ 'Project not on file!' => 'Projet absent du fichier!',
+ 'Purchase Invoice' => 'Facture d\'Achat',
+ 'Select from one of the names below' => 'Sélectionner un des noms ci-dessous',
+ 'Select from one of the projects below' => 'Sélectionner un des projets ci-dessous',
+ 'Sep' => 'Sept.',
+ 'September' => 'Septembre',
+ 'Source' => 'Source',
+ 'Subtotal' => 'Sous Total',
+ 'Tax' => 'Taxe',
+ 'Tax Included' => 'Taxe incluse',
+ 'Total' => 'Total',
+ 'Transaction deleted!' => 'Ecriture supprimée!',
+ 'Transaction posted!' => 'Ecriture enregistrée!',
+ 'Update' => 'Mettre à jour',
+ 'Vendor' => 'Fournisseur',
+ 'Vendor missing!' => 'Fournisseur manquant!',
+ 'Vendor not on file!' => 'Fournisseur absent du fichier!',
+ 'Yes' => 'Oui',
+ 'to' => 'jusqu\'au',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_subtotal' => 'ap_subtotal',
+ 'ap_transaction' => 'ap_transaction',
+ 'ap_transactions' => 'ap_transactions',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'ecriture_dépense' => 'ap_transaction',
+ 'saisie_d\'écriture___dépenses' => 'add_accounts_payables_transaction',
+ 'continuer' => 'continue',
+ 'supprimer' => 'delete',
+ 'modifier_mouvements___dépenses' => 'edit_accounts_payables_transaction',
+ 'enregistrer' => 'post',
+ 'enregistrer_comme_nouveau' => 'post_as_new',
+ 'facture_d\'achat' => 'purchase_invoice',
+ 'mettre_à_jour' => 'update',
+ 'oui' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/fr/ar b/sql-ledger/locale/fr/ar
new file mode 100644
index 0000000..49f2828
--- /dev/null
+++ b/sql-ledger/locale/fr/ar
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AR Transaction' => 'Ecriture Recette',
+ 'AR Transactions' => 'Mouvements - Recettes',
+ 'Account' => 'Compte',
+ 'Add Accounts Receivables Transaction' => 'Saisie d\'écriture - Recettes',
+ 'Address' => 'Adresse',
+ 'Amount' => 'Total',
+ 'Amount Due' => 'Montant dû',
+ 'Apr' => 'Avril',
+ 'April' => 'Avril',
+ 'Are you sure you want to delete Transaction' => 'Êtes vous sûr de vouloir effacer la saisie?',
+ 'Aug' => 'Août',
+ 'August' => 'Août',
+ 'Cannot delete transaction!' => 'Impossible de supprimer la saisie!',
+ 'Cannot post payment for a closed period!' => 'Impossible d\'enregistrer le paiement sur un exercice clos!',
+ 'Cannot post transaction for a closed period!' => 'Impossible d\'enregistrer l\'écriture sur un exercice clos!',
+ 'Cannot post transaction!' => 'Impossible d\'enregistrer l\'écriture!',
+ 'Closed' => 'Clôturé',
+ 'Confirm!' => 'Confirmez!',
+ 'Continue' => 'Continuer',
+ 'Credit Limit' => 'Encours autorisé',
+ 'Currency' => 'Devise',
+ 'Customer' => 'Client',
+ 'Customer missing!' => 'Client manquant!',
+ 'Customer not on file!' => 'Client absent du fichier!',
+ 'Date' => 'Date',
+ 'Date Paid' => 'Date de paiement',
+ 'Dec' => 'Déc.',
+ 'December' => 'Décembre',
+ 'Delete' => 'Supprimer',
+ 'Description' => 'Description',
+ 'Due Date' => 'Date d\'échéance',
+ 'Due Date missing!' => 'Date d\'échéance manquante!',
+ 'Edit Accounts Receivables Transaction' => 'Modifier Mouvements - Recettes',
+ 'Employee' => 'Employé',
+ 'Exch' => 'Change',
+ 'Exchangerate' => 'Taux de change',
+ 'Exchangerate for payment missing!' => 'Taux de change manquant pour le paiement!',
+ 'Exchangerate missing!' => 'Taux de change manquant!',
+ 'Feb' => 'Fév.',
+ 'February' => 'Février',
+ 'From' => 'De',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Inclure dans l\'état',
+ 'Invoice' => 'Facture',
+ 'Invoice Date' => 'Date de facturation',
+ 'Invoice Date missing!' => 'Date de facture manquante!',
+ 'Invoice Number' => 'Numéro de facture',
+ 'Invoice Number missing!' => 'Numéro de facture manquant!',
+ 'Jan' => 'Jan.',
+ 'January' => 'Janvier',
+ 'Jul' => 'Juil.',
+ 'July' => 'Juillet',
+ 'Jun' => 'Juin',
+ 'June' => 'Juin',
+ 'Mar' => 'Mars',
+ 'March' => 'Mars',
+ 'May' => 'Mai',
+ 'May ' => 'Mai ',
+ 'Notes' => 'Notes',
+ 'Nov' => 'Nov.',
+ 'November' => 'Novembre',
+ 'Number' => 'Numéro',
+ 'Oct' => 'Oct.',
+ 'October' => 'Octobre',
+ 'Open' => 'Ouvert',
+ 'Order' => 'Commande',
+ 'Order Number' => 'Numéro de commande',
+ 'Paid' => 'Total Payé',
+ 'Payment date missing!' => 'Date de paiement manquant!',
+ 'Payments' => 'Paiements',
+ 'Post' => 'Enregistrer',
+ 'Post as new' => 'Enregistrer comme nouveau',
+ 'Project' => 'Projet',
+ 'Project not on file!' => 'Projet absent du fichier!',
+ 'Remaining' => 'Restant',
+ 'Sales Invoice' => 'Facture de Vente',
+ 'Select from one of the names below' => 'Sélectionner un des noms ci-dessous',
+ 'Select from one of the projects below' => 'Sélectionner un des projets ci-dessous',
+ 'Sep' => 'Sept.',
+ 'September' => 'Septembre',
+ 'Source' => 'Source',
+ 'Subtotal' => 'Sous Total',
+ 'Tax' => 'Taxe',
+ 'Tax Included' => 'Taxe incluse',
+ 'Total' => 'Total',
+ 'Transaction deleted!' => 'Ecriture supprimée!',
+ 'Transaction posted!' => 'Ecriture enregistrée!',
+ 'Update' => 'Mettre à jour',
+ 'Vendor not on file!' => 'Fournisseur absent du fichier!',
+ 'Yes' => 'Oui',
+ 'to' => 'jusqu\'au',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_subtotal' => 'ar_subtotal',
+ 'ar_transaction' => 'ar_transaction',
+ 'ar_transactions' => 'ar_transactions',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'ecriture_recette' => 'ar_transaction',
+ 'continuer' => 'continue',
+ 'supprimer' => 'delete',
+ 'enregistrer' => 'post',
+ 'enregistrer_comme_nouveau' => 'post_as_new',
+ 'facture_de_vente' => 'sales_invoice',
+ 'mettre_à_jour' => 'update',
+ 'oui' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/fr/arap b/sql-ledger/locale/fr/arap
new file mode 100644
index 0000000..369913f
--- /dev/null
+++ b/sql-ledger/locale/fr/arap
@@ -0,0 +1,30 @@
+$self{texts} = {
+ 'Address' => 'Adresse',
+ 'Continue' => 'Continuer',
+ 'Customer not on file!' => 'Client absent du fichier!',
+ 'Description' => 'Description',
+ 'Number' => 'Numéro',
+ 'Project not on file!' => 'Projet absent du fichier!',
+ 'Select from one of the names below' => 'Sélectionner un des noms ci-dessous',
+ 'Select from one of the projects below' => 'Sélectionner un des projets ci-dessous',
+ 'Vendor not on file!' => 'Fournisseur absent du fichier!',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'continuer' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/fr/ca b/sql-ledger/locale/fr/ca
new file mode 100644
index 0000000..1e011ac
--- /dev/null
+++ b/sql-ledger/locale/fr/ca
@@ -0,0 +1,50 @@
+$self{texts} = {
+ 'Account' => 'Compte',
+ 'Apr' => 'Avril',
+ 'April' => 'Avril',
+ 'Aug' => 'Août',
+ 'August' => 'Août',
+ 'Balance' => 'Solde',
+ 'Chart of Accounts' => 'Plan Comptable',
+ 'Credit' => 'Crédit',
+ 'Date' => 'Date',
+ 'Debit' => 'Débit',
+ 'Dec' => 'Déc.',
+ 'December' => 'Décembre',
+ 'Description' => 'Description',
+ 'Feb' => 'Fév.',
+ 'February' => 'Février',
+ 'From' => 'De',
+ 'GIFI' => 'Code d\'Identification Comptable ou Fiscale',
+ 'Include in Report' => 'Inclure dans l\'état',
+ 'Jan' => 'Jan.',
+ 'January' => 'Janvier',
+ 'Jul' => 'Juil.',
+ 'July' => 'Juillet',
+ 'Jun' => 'Juin',
+ 'June' => 'Juin',
+ 'List Transactions' => 'Afficher écritures',
+ 'Mar' => 'Mars',
+ 'March' => 'Mars',
+ 'May' => 'Mai',
+ 'May ' => 'Mai ',
+ 'Nov' => 'Nov.',
+ 'November' => 'Novembre',
+ 'Oct' => 'Oct.',
+ 'October' => 'Octobre',
+ 'Reference' => 'Référence',
+ 'Sep' => 'Sept.',
+ 'September' => 'Septembre',
+ 'Subtotal' => 'Sous Total',
+ 'to' => 'jusqu\'au',
+};
+
+$self{subs} = {
+ 'ca_subtotal' => 'ca_subtotal',
+ 'chart_of_accounts' => 'chart_of_accounts',
+ 'list' => 'list',
+ 'list_transactions' => 'list_transactions',
+ 'afficher_écritures' => 'list_transactions',
+};
+
+1;
diff --git a/sql-ledger/locale/fr/cp b/sql-ledger/locale/fr/cp
new file mode 100644
index 0000000..b769513
--- /dev/null
+++ b/sql-ledger/locale/fr/cp
@@ -0,0 +1,77 @@
+$self{texts} = {
+ 'Account' => 'Compte',
+ 'Address' => 'Adresse',
+ 'Amount' => 'Total',
+ 'Amount does not equal applied!' => 'Le montant n\'est égal à celui appliqué!',
+ 'Amount missing!' => 'Montant manquant',
+ 'Applied' => 'Appliquer',
+ 'Cannot post payment!' => 'Impossible d\'enregistrer le paiement!',
+ 'Cannot process payment for a closed period!' => 'Impossible de faire un paiement sur un exercice clos!',
+ 'Check' => 'Chèque',
+ 'Check printed!' => 'Chèque imprimé!',
+ 'Check printing failed!' => 'Impression du chèque échoué!',
+ 'Continue' => 'Continuer',
+ 'Currency' => 'Devise',
+ 'Customer' => 'Client',
+ 'Customer not on file!' => 'Client absent du fichier!',
+ 'Date' => 'Date',
+ 'Date missing!' => 'Date manquante!',
+ 'Description' => 'Description',
+ 'Due' => 'Echéance',
+ 'Exchangerate' => 'Taux de change',
+ 'From' => 'De',
+ 'Invoice' => 'Facture',
+ 'Invoices' => 'Factures',
+ 'Nothing applied!' => 'Rien n\'a été appliqué!',
+ 'Number' => 'Numéro',
+ 'Paid in full' => 'Complètement payé',
+ 'Payment' => 'Paiement',
+ 'Payment posted!' => 'Paiement enregistré!',
+ 'Post' => 'Enregistrer',
+ 'Print' => 'Imprimer',
+ 'Printer' => 'Imprimante',
+ 'Project not on file!' => 'Projet absent du fichier!',
+ 'Receipt' => 'Reçu',
+ 'Receipt printed!' => 'Receipt printed!',
+ 'Receipt printing failed!' => 'Receipt printing failed!',
+ 'Reference' => 'Référence',
+ 'Screen' => 'Écran',
+ 'Select from one of the names below' => 'Sélectionner un des noms ci-dessous',
+ 'Select from one of the projects below' => 'Sélectionner un des projets ci-dessous',
+ 'Update' => 'Mettre à jour',
+ 'Vendor' => 'Fournisseur',
+ 'Vendor not on file!' => 'Fournisseur absent du fichier!',
+ 'to' => 'jusqu\'au',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'list_invoices' => 'list_invoices',
+ 'name_selected' => 'name_selected',
+ 'payment' => 'payment',
+ 'post' => 'post',
+ 'print' => 'print',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'vendor_details' => 'vendor_details',
+ 'continuer' => 'continue',
+ 'enregistrer' => 'post',
+ 'imprimer' => 'print',
+ 'mettre_à_jour' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/fr/ct b/sql-ledger/locale/fr/ct
new file mode 100644
index 0000000..21be5e2
--- /dev/null
+++ b/sql-ledger/locale/fr/ct
@@ -0,0 +1,71 @@
+$self{texts} = {
+ 'Add' => 'Ajouter',
+ 'Address' => 'Adresse',
+ 'All' => 'Tous',
+ 'Bcc' => 'Bcc',
+ 'Cannot delete customer!' => 'Impossible de supprimer le client!',
+ 'Cannot delete vendor!' => 'Impossible de supprimer le fournisseur!',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Contact',
+ 'Continue' => 'Continuer',
+ 'Credit Limit' => 'Encours autorisé',
+ 'Customer deleted!' => 'Client supprimé!',
+ 'Customer saved!' => 'Client enregistré!',
+ 'Customers' => 'Clients',
+ 'Delete' => 'Supprimer',
+ 'Discount' => 'Remise',
+ 'E-mail' => 'Email',
+ 'Edit Customer' => 'Modifier client',
+ 'Edit Vendor' => 'Modifier fournisseur',
+ 'Fax' => 'Fax',
+ 'Include in Report' => 'Inclure dans l\'état',
+ 'Invoice' => 'Facture',
+ 'Name' => 'Nom',
+ 'Name missing!' => 'Nom manquant!',
+ 'Notes' => 'Notes',
+ 'Number' => 'Numéro',
+ 'Order' => 'Commande',
+ 'Orphaned' => 'Orphelin',
+ 'Phone' => 'Tél.',
+ 'Save' => 'Enregistrer',
+ 'Ship to' => 'Expédier à',
+ 'Tax Included' => 'Taxe incluse',
+ 'Taxable' => 'Imposable',
+ 'Terms: Net' => 'Crédit limité à',
+ 'Transactions exist, cannot delete customer!' => 'Des écritures existent, impossible d\'effacer le client!',
+ 'Transactions exist, cannot delete vendor!' => 'Des écritures existent, impossible d\'effacer le fournisseur!',
+ 'Vendor deleted!' => 'Fournisseur supprimé!',
+ 'Vendor saved!' => 'Fournisseur enregistré!',
+ 'Vendors' => 'Fournisseurs',
+ 'days' => 'jours',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'customer_invoice' => 'customer_invoice',
+ 'customer_order' => 'customer_order',
+ 'delete' => 'delete',
+ 'delete_customer' => 'delete_customer',
+ 'delete_vendor' => 'delete_vendor',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'invoice' => 'invoice',
+ 'list_names' => 'list_names',
+ 'order' => 'order',
+ 'save' => 'save',
+ 'save_customer' => 'save_customer',
+ 'save_vendor' => 'save_vendor',
+ 'search' => 'search',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'vendor_order' => 'vendor_order',
+ 'ajouter' => 'add',
+ 'continuer' => 'continue',
+ 'supprimer' => 'delete',
+ 'facture' => 'invoice',
+ 'commande' => 'order',
+ 'enregistrer' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/fr/gl b/sql-ledger/locale/fr/gl
new file mode 100644
index 0000000..da2e0ce
--- /dev/null
+++ b/sql-ledger/locale/fr/gl
@@ -0,0 +1,124 @@
+$self{texts} = {
+ 'AP Transaction' => 'Ecriture Dépense',
+ 'AR Transaction' => 'Ecriture Recette',
+ 'Account' => 'Compte',
+ 'Add General Ledger Transaction' => 'Ajouter une écriture au Grand Livre',
+ 'Address' => 'Adresse',
+ 'All' => 'Tous',
+ 'Apr' => 'Avril',
+ 'April' => 'Avril',
+ 'Are you sure you want to delete Transaction' => 'Êtes vous sûr de vouloir effacer la saisie?',
+ 'Asset' => 'Actif',
+ 'Aug' => 'Août',
+ 'August' => 'Août',
+ 'Balance' => 'Solde',
+ 'Cannot delete transaction!' => 'Impossible de supprimer la saisie!',
+ 'Cannot have a value in both Debit and Credit!' => 'Impossible d\'avoir des valeurs dans Crédit et Débit en même temps!',
+ 'Cannot post a transaction without a value!' => 'Impossible d\'effectuer une écriture sans valeur!',
+ 'Cannot post transaction for a closed period!' => 'Impossible d\'enregistrer l\'écriture sur un exercice clos!',
+ 'Confirm!' => 'Confirmez!',
+ 'Continue' => 'Continuer',
+ 'Credit' => 'Crédit',
+ 'Customer not on file!' => 'Client absent du fichier!',
+ 'Date' => 'Date',
+ 'Debit' => 'Débit',
+ 'Debit and credit out of balance!' => 'Le débit et le crédit ne sont pas équilibrés!',
+ 'Dec' => 'Déc.',
+ 'December' => 'Décembre',
+ 'Delete' => 'Supprimer',
+ 'Description' => 'Description',
+ 'Edit General Ledger Transaction' => 'Modifier écriture Grand Livre',
+ 'Equity' => 'Capital',
+ 'Expense' => 'Dépense',
+ 'Feb' => 'Fév.',
+ 'February' => 'Février',
+ 'From' => 'De',
+ 'GIFI' => 'Code d\'Identification Comptable ou Fiscale',
+ 'GL Transaction' => 'Transaction Grand Livre',
+ 'General Ledger' => 'Grand Livre',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Inclure dans l\'état',
+ 'Income' => 'Recettes',
+ 'Jan' => 'Jan.',
+ 'January' => 'Janvier',
+ 'Jul' => 'Juil.',
+ 'July' => 'Juillet',
+ 'Jun' => 'Juin',
+ 'June' => 'Juin',
+ 'Liability' => 'Passif',
+ 'Mar' => 'Mars',
+ 'March' => 'Mars',
+ 'May' => 'Mai',
+ 'May ' => 'Mai ',
+ 'Notes' => 'Notes',
+ 'Nov' => 'Nov.',
+ 'November' => 'Novembre',
+ 'Number' => 'Numéro',
+ 'Oct' => 'Oct.',
+ 'October' => 'Octobre',
+ 'Post' => 'Enregistrer',
+ 'Post as new' => 'Enregistrer comme nouveau',
+ 'Project' => 'Projet',
+ 'Project not on file!' => 'Projet absent du fichier!',
+ 'Purchase Invoice' => 'Facture d\'Achat',
+ 'Reference' => 'Référence',
+ 'Reference missing!' => 'Référence manquant!',
+ 'Reports' => 'Rapports',
+ 'Sales Invoice' => 'Facture de Vente',
+ 'Select from one of the names below' => 'Sélectionner un des noms ci-dessous',
+ 'Select from one of the projects below' => 'Sélectionner un des projets ci-dessous',
+ 'Sep' => 'Sept.',
+ 'September' => 'Septembre',
+ 'Source' => 'Source',
+ 'Subtotal' => 'Sous Total',
+ 'Transaction Date missing!' => 'Date d\'écriture manquante!',
+ 'Transaction deleted!' => 'Ecriture supprimée!',
+ 'Transaction posted!' => 'Ecriture enregistrée!',
+ 'Update' => 'Mettre à jour',
+ 'Vendor not on file!' => 'Fournisseur absent du fichier!',
+ 'Yes' => 'Oui',
+ 'to' => 'jusqu\'au',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'form_row' => 'form_row',
+ 'generate_report' => 'generate_report',
+ 'gl_subtotal' => 'gl_subtotal',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'ecriture_dépense' => 'ap_transaction',
+ 'ecriture_recette' => 'ar_transaction',
+ 'continuer' => 'continue',
+ 'supprimer' => 'delete',
+ 'transaction_grand_livre' => 'gl_transaction',
+ 'enregistrer' => 'post',
+ 'enregistrer_comme_nouveau' => 'post_as_new',
+ 'facture_d\'achat' => 'purchase_invoice',
+ 'facture_de_vente' => 'sales_invoice',
+ 'mettre_à_jour' => 'update',
+ 'oui' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/fr/ic b/sql-ledger/locale/fr/ic
new file mode 100644
index 0000000..58ffab7
--- /dev/null
+++ b/sql-ledger/locale/fr/ic
@@ -0,0 +1,206 @@
+$self{texts} = {
+ 'Active' => 'Actif',
+ 'Add' => 'Ajouter',
+ 'Add Assembly' => 'Ajouter produit',
+ 'Add Part' => 'Ajouter marchandise',
+ 'Add Purchase Order' => 'Etablir commande d\'achat',
+ 'Add Sales Order' => 'Etablir commande de vente',
+ 'Add Service' => 'Ajouter service',
+ 'Address' => 'Adresse',
+ 'Apr' => 'Avril',
+ 'April' => 'Avril',
+ 'Assemblies' => 'Produits finis',
+ 'Assemblies restocked!' => 'Renvoyer produits vers stock!',
+ 'Assembly Number missing!' => 'Numéro de produit manquant',
+ 'Attachment' => 'Pièce jointe',
+ 'Aug' => 'Août',
+ 'August' => 'Août',
+ 'BOM' => 'Nomenclature composantes',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Localisation',
+ 'Bought' => 'Acheté',
+ 'COGS' => 'CMV',
+ 'Cannot delete item already invoiced!' => 'Ne peut pas effacer un élément qui est déjà facturé!',
+ 'Cannot delete item on order!' => 'Impossible de supprimer un élément faisant partie d\'une commande',
+ 'Cannot delete item which is part of an assembly!' => 'Ne peut pas supprimer une marchandise qui est intégrée dans un produit fini!',
+ 'Cannot delete item!' => 'Impossible de supprimer ce poste!',
+ 'Cannot stock assemblies!' => 'Impossible de stocker l\'assemblage!',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Contact',
+ 'Continue' => 'Continuer',
+ 'Copies' => 'Copies',
+ 'Dec' => 'Déc.',
+ 'December' => 'Décembre',
+ 'Delete' => 'Supprimer',
+ 'Delivery Date' => 'Date de livraison',
+ 'Description' => 'Description',
+ 'Drawing' => 'Dessin',
+ 'E-mail' => 'Email',
+ 'E-mail address missing!' => 'Adresse email manquante!',
+ 'Edit Assembly' => 'Modifier produit fini / transformé',
+ 'Edit Part' => 'Modifier marchandise',
+ 'Edit Service' => 'Modifier service',
+ 'Expense' => 'Dépense',
+ 'Extended' => 'Prix Total',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Fév.',
+ 'February' => 'Février',
+ 'From' => 'De',
+ 'Image' => 'Image',
+ 'In-line' => 'En ligne',
+ 'Include in Report' => 'Inclure dans l\'état',
+ 'Income' => 'Recettes',
+ 'Individual Items' => 'Composition en marchandises individuelles',
+ 'Inventory' => 'Inventaire',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'La quantité en stock doit être à zéro avant de pouvoir indiquer cet assemblage comme obsolète!',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'La quantité en stock devrait être zero avant de pouvoir indiquer cette pièce comme obsolète!',
+ 'Inventory quantity must be zero!' => 'La quantité en stock doit être zero!',
+ 'Invoice' => 'Facture',
+ 'Invoice Date missing!' => 'Date de facture manquante!',
+ 'Invoice Number' => 'Numéro de facture',
+ 'Invoice Number missing!' => 'Numéro de facture manquant!',
+ 'Item deleted!' => 'Objet supprimé!',
+ 'Item not on file!' => 'Objet non-listé!',
+ 'Jan' => 'Jan.',
+ 'January' => 'Janvier',
+ 'Jul' => 'Juil.',
+ 'July' => 'Juillet',
+ 'Jun' => 'Juin',
+ 'June' => 'Juin',
+ 'Last Cost' => 'Dernier prix',
+ 'Line Total' => 'Total ligne',
+ 'Link Accounts' => 'Lier Comptes',
+ 'List Price' => 'Prix d\'achat',
+ 'Make' => 'Marque',
+ 'Mar' => 'Mars',
+ 'March' => 'Mars',
+ 'May' => 'Mai',
+ 'May ' => 'Mai ',
+ 'Message' => 'Message',
+ 'Microfiche' => 'Microfiche',
+ 'Model' => 'Modèle',
+ 'Name' => 'Nom',
+ 'No.' => 'No.',
+ 'Notes' => 'Notes',
+ 'Nov' => 'Nov.',
+ 'November' => 'Novembre',
+ 'Number' => 'Numéro',
+ 'Number missing in Row' => 'Numéro manquant dans ligne',
+ 'Obsolete' => 'Obsolète',
+ 'Oct' => 'Oct.',
+ 'October' => 'Octobre',
+ 'On Hand' => 'En Stock / Disponible',
+ 'On Order' => 'Sur Commande',
+ 'Order' => 'Commande',
+ 'Order Date missing!' => 'Date de commande manquante!',
+ 'Order Number' => 'Numéro de commande',
+ 'Order Number missing!' => 'Numéro de commande manquant!',
+ 'Ordered' => 'Commandé',
+ 'Orphaned' => 'Orphelin',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Liste d\'envoi',
+ 'Packing List Date missing!' => 'La date est manquante sur la liste d\'envoi!',
+ 'Packing List Number missing!' => 'Le numéro de liste d\'envoi est manquant!',
+ 'Part' => 'Marchandise',
+ 'Part Number missing!' => 'Numéro de marchandise manquant!',
+ 'Parts' => 'Marchandises',
+ 'Phone' => 'Tél.',
+ 'Postscript' => 'Postcript',
+ 'Price' => 'Prix',
+ 'Printer' => 'Imprimante',
+ 'Project' => 'Projet',
+ 'Purchase Order' => 'Commande d\'Achat',
+ 'Qty' => 'Qté',
+ 'ROP' => 'Niveau de commande',
+ 'Recd' => 'Reçu',
+ 'Required by' => 'Requis pour',
+ 'Sales' => 'Ventes',
+ 'Sales Order' => 'Commande de Vente',
+ 'Save' => 'Enregistrer',
+ 'Screen' => 'Écran',
+ 'Select from one of the items below' => 'Sélectionner un des postes ci-dessous',
+ 'Select postscript or PDF!' => 'Sélectionner Postscript ou PDF',
+ 'Sell Price' => 'Prix de vente',
+ 'Sep' => 'Sept.',
+ 'September' => 'Septembre',
+ 'Service' => 'Service',
+ 'Service Number missing!' => 'Numéro de service manquant!',
+ 'Services' => 'Services',
+ 'Ship' => 'Expédier',
+ 'Ship to' => 'Expédier à',
+ 'Short' => 'Court',
+ 'Sold' => 'Vendu',
+ 'Stock Assembly' => 'Stock de produits',
+ 'Subject' => 'Objet',
+ 'Subtotal' => 'Sous Total',
+ 'Tax' => 'Taxe',
+ 'To' => 'à ',
+ 'Top Level' => 'Description principale',
+ 'Total' => 'Total',
+ 'Unit' => 'Unité',
+ 'Unit of measure' => 'Unité de mesure',
+ 'Update' => 'Mettre à jour',
+ 'Updated' => 'Mis à jour',
+ 'Weight' => 'Poids',
+ 'What type of item is this?' => 'De quel type est ce poste?',
+ 'ea' => 'ch',
+ 'emailed to' => 'envoyé par email à',
+ 'hr' => 'h',
+ 'sent to printer' => 'envoyé à l\'imprimante',
+ 'to' => 'jusqu\'au',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'assembly_row' => 'assembly_row',
+ 'check_form' => 'check_form',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'delete_assembly' => 'delete_assembly',
+ 'delete_item' => 'delete_item',
+ 'delete_part' => 'delete_part',
+ 'delete_service' => 'delete_service',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'link_part' => 'link_part',
+ 'list_assemblies' => 'list_assemblies',
+ 'makemodel_row' => 'makemodel_row',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'parts_subtotal' => 'parts_subtotal',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'restock_assemblies' => 'restock_assemblies',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'stock_assembly' => 'stock_assembly',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'ajouter' => 'add',
+ 'ajouter_produit' => 'add_assembly',
+ 'ajouter_marchandise' => 'add_part',
+ 'ajouter_service' => 'add_service',
+ 'continuer' => 'continue',
+ 'supprimer' => 'delete',
+ 'modifier_produit_fini_/_transformé' => 'edit_assembly',
+ 'modifier_marchandise' => 'edit_part',
+ 'modifier_service' => 'edit_service',
+ 'enregistrer' => 'save',
+ 'mettre_à_jour' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/fr/io b/sql-ledger/locale/fr/io
new file mode 100644
index 0000000..2ad48bc
--- /dev/null
+++ b/sql-ledger/locale/fr/io
@@ -0,0 +1,106 @@
+$self{texts} = {
+ 'Add Purchase Order' => 'Etablir commande d\'achat',
+ 'Add Sales Order' => 'Etablir commande de vente',
+ 'Address' => 'Adresse',
+ 'Apr' => 'Avril',
+ 'April' => 'Avril',
+ 'Attachment' => 'Pièce jointe',
+ 'Aug' => 'Août',
+ 'August' => 'Août',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Localisation',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Contact',
+ 'Continue' => 'Continuer',
+ 'Copies' => 'Copies',
+ 'Dec' => 'Déc.',
+ 'December' => 'Décembre',
+ 'Delivery Date' => 'Date de livraison',
+ 'Description' => 'Description',
+ 'E-mail' => 'Email',
+ 'E-mail address missing!' => 'Adresse email manquante!',
+ 'Extended' => 'Prix Total',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Fév.',
+ 'February' => 'Février',
+ 'In-line' => 'En ligne',
+ 'Invoice' => 'Facture',
+ 'Invoice Date missing!' => 'Date de facture manquante!',
+ 'Invoice Number missing!' => 'Numéro de facture manquant!',
+ 'Item not on file!' => 'Objet non-listé!',
+ 'Jan' => 'Jan.',
+ 'January' => 'Janvier',
+ 'Jul' => 'Juil.',
+ 'July' => 'Juillet',
+ 'Jun' => 'Juin',
+ 'June' => 'Juin',
+ 'Mar' => 'Mars',
+ 'March' => 'Mars',
+ 'May' => 'Mai',
+ 'May ' => 'Mai ',
+ 'Message' => 'Message',
+ 'Name' => 'Nom',
+ 'No.' => 'No.',
+ 'Nov' => 'Nov.',
+ 'November' => 'Novembre',
+ 'Number' => 'Numéro',
+ 'Number missing in Row' => 'Numéro manquant dans ligne',
+ 'Oct' => 'Oct.',
+ 'October' => 'Octobre',
+ 'Order' => 'Commande',
+ 'Order Date missing!' => 'Date de commande manquante!',
+ 'Order Number missing!' => 'Numéro de commande manquant!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Liste d\'envoi',
+ 'Packing List Date missing!' => 'La date est manquante sur la liste d\'envoi!',
+ 'Packing List Number missing!' => 'Le numéro de liste d\'envoi est manquant!',
+ 'Part' => 'Marchandise',
+ 'Phone' => 'Tél.',
+ 'Postscript' => 'Postcript',
+ 'Price' => 'Prix',
+ 'Printer' => 'Imprimante',
+ 'Project' => 'Projet',
+ 'Purchase Order' => 'Commande d\'Achat',
+ 'Qty' => 'Qté',
+ 'Recd' => 'Reçu',
+ 'Required by' => 'Requis pour',
+ 'Sales Order' => 'Commande de Vente',
+ 'Screen' => 'Écran',
+ 'Select from one of the items below' => 'Sélectionner un des postes ci-dessous',
+ 'Select postscript or PDF!' => 'Sélectionner Postscript ou PDF',
+ 'Sep' => 'Sept.',
+ 'September' => 'Septembre',
+ 'Service' => 'Service',
+ 'Ship' => 'Expédier',
+ 'Ship to' => 'Expédier à',
+ 'Subject' => 'Objet',
+ 'To' => 'à ',
+ 'Unit' => 'Unité',
+ 'What type of item is this?' => 'De quel type est ce poste?',
+ 'emailed to' => 'envoyé par email à',
+ 'sent to printer' => 'envoyé à l\'imprimante',
+};
+
+$self{subs} = {
+ 'check_form' => 'check_form',
+ 'customer_details' => 'customer_details',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'continuer' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/fr/ir b/sql-ledger/locale/fr/ir
new file mode 100644
index 0000000..edeec1f
--- /dev/null
+++ b/sql-ledger/locale/fr/ir
@@ -0,0 +1,178 @@
+$self{texts} = {
+ 'Account' => 'Compte',
+ 'Add Purchase Invoice' => 'Etablir facture d\'achat',
+ 'Add Purchase Order' => 'Etablir commande d\'achat',
+ 'Add Sales Order' => 'Etablir commande de vente',
+ 'Address' => 'Adresse',
+ 'Amount' => 'Total',
+ 'Apr' => 'Avril',
+ 'April' => 'Avril',
+ 'Are you sure you want to delete Invoice Number' => 'Êtes-vous sûr de vouloir supprimer la Facture No.:',
+ 'Attachment' => 'Pièce jointe',
+ 'Aug' => 'Août',
+ 'August' => 'Août',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Localisation',
+ 'Cannot delete invoice!' => 'Impossible de supprimer la facture',
+ 'Cannot post invoice for a closed period!' => 'Impossible d\'enregistrer la facture sur un exercice clos!',
+ 'Cannot post invoice!' => 'Impossible d\'enregistrer la facture!',
+ 'Cannot post payment for a closed period!' => 'Impossible d\'enregistrer le paiement sur un exercice clos!',
+ 'Cc' => 'Cc',
+ 'Confirm!' => 'Confirmez!',
+ 'Contact' => 'Contact',
+ 'Continue' => 'Continuer',
+ 'Copies' => 'Copies',
+ 'Currency' => 'Devise',
+ 'Customer not on file!' => 'Client absent du fichier!',
+ 'Date' => 'Date',
+ 'Date Due' => 'Date d\'échéance',
+ 'Dec' => 'Déc.',
+ 'December' => 'Décembre',
+ 'Delete' => 'Supprimer',
+ 'Delivery Date' => 'Date de livraison',
+ 'Description' => 'Description',
+ 'E-mail' => 'Email',
+ 'E-mail address missing!' => 'Adresse email manquante!',
+ 'Edit Purchase Invoice' => 'Modifier facture d\'achat',
+ 'Exch' => 'Change',
+ 'Exchangerate' => 'Taux de change',
+ 'Exchangerate for payment missing!' => 'Taux de change manquant pour le paiement!',
+ 'Exchangerate missing!' => 'Taux de change manquant!',
+ 'Extended' => 'Prix Total',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Fév.',
+ 'February' => 'Février',
+ 'In-line' => 'En ligne',
+ 'Invoice' => 'Facture',
+ 'Invoice Date' => 'Date de facturation',
+ 'Invoice Date missing!' => 'Date de facture manquante!',
+ 'Invoice Number' => 'Numéro de facture',
+ 'Invoice Number missing!' => 'Numéro de facture manquant!',
+ 'Invoice deleted!' => 'Facture supprimé!',
+ 'Invoice posted!' => 'Facture enregistré!',
+ 'Item not on file!' => 'Objet non-listé!',
+ 'Jan' => 'Jan.',
+ 'January' => 'Janvier',
+ 'Jul' => 'Juil.',
+ 'July' => 'Juillet',
+ 'Jun' => 'Juin',
+ 'June' => 'Juin',
+ 'Mar' => 'Mars',
+ 'March' => 'Mars',
+ 'May' => 'Mai',
+ 'May ' => 'Mai ',
+ 'Message' => 'Message',
+ 'Name' => 'Nom',
+ 'No.' => 'No.',
+ 'Notes' => 'Notes',
+ 'Nov' => 'Nov.',
+ 'November' => 'Novembre',
+ 'Number' => 'Numéro',
+ 'Number missing in Row' => 'Numéro manquant dans ligne',
+ 'Oct' => 'Oct.',
+ 'October' => 'Octobre',
+ 'Order' => 'Commande',
+ 'Order Date missing!' => 'Date de commande manquante!',
+ 'Order Number' => 'Numéro de commande',
+ 'Order Number missing!' => 'Numéro de commande manquant!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Liste d\'envoi',
+ 'Packing List Date missing!' => 'La date est manquante sur la liste d\'envoi!',
+ 'Packing List Number missing!' => 'Le numéro de liste d\'envoi est manquant!',
+ 'Part' => 'Marchandise',
+ 'Payment date missing!' => 'Date de paiement manquant!',
+ 'Payments' => 'Paiements',
+ 'Phone' => 'Tél.',
+ 'Post' => 'Enregistrer',
+ 'Post as new' => 'Enregistrer comme nouveau',
+ 'Postscript' => 'Postcript',
+ 'Price' => 'Prix',
+ 'Printer' => 'Imprimante',
+ 'Project' => 'Projet',
+ 'Project not on file!' => 'Projet absent du fichier!',
+ 'Purchase Order' => 'Commande d\'Achat',
+ 'Qty' => 'Qté',
+ 'Recd' => 'Reçu',
+ 'Record in' => 'Enregistrer dans',
+ 'Required by' => 'Requis pour',
+ 'Sales Order' => 'Commande de Vente',
+ 'Screen' => 'Écran',
+ 'Select from one of the items below' => 'Sélectionner un des postes ci-dessous',
+ 'Select from one of the names below' => 'Sélectionner un des noms ci-dessous',
+ 'Select from one of the projects below' => 'Sélectionner un des projets ci-dessous',
+ 'Select postscript or PDF!' => 'Sélectionner Postscript ou PDF',
+ 'Sep' => 'Sept.',
+ 'September' => 'Septembre',
+ 'Service' => 'Service',
+ 'Ship' => 'Expédier',
+ 'Ship to' => 'Expédier à',
+ 'Source' => 'Source',
+ 'Subject' => 'Objet',
+ 'Subtotal' => 'Sous Total',
+ 'Tax Included' => 'Taxe incluse',
+ 'To' => 'à ',
+ 'Total' => 'Total',
+ 'Unit' => 'Unité',
+ 'Update' => 'Mettre à jour',
+ 'Vendor' => 'Fournisseur',
+ 'Vendor missing!' => 'Fournisseur manquant!',
+ 'Vendor not on file!' => 'Fournisseur absent du fichier!',
+ 'What type of item is this?' => 'De quel type est ce poste?',
+ 'Yes' => 'Oui',
+ 'ea' => 'ch',
+ 'emailed to' => 'envoyé par email à',
+ 'sent to printer' => 'envoyé à l\'imprimante',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'continuer' => 'continue',
+ 'supprimer' => 'delete',
+ 'commande' => 'order',
+ 'enregistrer' => 'post',
+ 'enregistrer_comme_nouveau' => 'post_as_new',
+ 'mettre_à_jour' => 'update',
+ 'oui' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/fr/is b/sql-ledger/locale/fr/is
new file mode 100644
index 0000000..583e627
--- /dev/null
+++ b/sql-ledger/locale/fr/is
@@ -0,0 +1,185 @@
+$self{texts} = {
+ 'Account' => 'Compte',
+ 'Add Purchase Order' => 'Etablir commande d\'achat',
+ 'Add Sales Invoice' => 'Etablir facture de vente',
+ 'Add Sales Order' => 'Etablir commande de vente',
+ 'Address' => 'Adresse',
+ 'Amount' => 'Total',
+ 'Apr' => 'Avril',
+ 'April' => 'Avril',
+ 'Are you sure you want to delete Invoice Number' => 'Êtes-vous sûr de vouloir supprimer la Facture No.:',
+ 'Attachment' => 'Pièce jointe',
+ 'Aug' => 'Août',
+ 'August' => 'Août',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Localisation',
+ 'Cannot delete invoice!' => 'Impossible de supprimer la facture',
+ 'Cannot post invoice for a closed period!' => 'Impossible d\'enregistrer la facture sur un exercice clos!',
+ 'Cannot post invoice!' => 'Impossible d\'enregistrer la facture!',
+ 'Cannot post payment for a closed period!' => 'Impossible d\'enregistrer le paiement sur un exercice clos!',
+ 'Cc' => 'Cc',
+ 'Confirm!' => 'Confirmez!',
+ 'Contact' => 'Contact',
+ 'Continue' => 'Continuer',
+ 'Copies' => 'Copies',
+ 'Credit Limit' => 'Encours autorisé',
+ 'Currency' => 'Devise',
+ 'Customer' => 'Client',
+ 'Customer missing!' => 'Client manquant!',
+ 'Customer not on file!' => 'Client absent du fichier!',
+ 'Date' => 'Date',
+ 'Date Due' => 'Date d\'échéance',
+ 'Dec' => 'Déc.',
+ 'December' => 'Décembre',
+ 'Delete' => 'Supprimer',
+ 'Delivery Date' => 'Date de livraison',
+ 'Description' => 'Description',
+ 'E-mail' => 'Email',
+ 'E-mail address missing!' => 'Adresse email manquante!',
+ 'Edit Sales Invoice' => 'Modifier facture de vente',
+ 'Exch' => 'Change',
+ 'Exchangerate' => 'Taux de change',
+ 'Exchangerate for payment missing!' => 'Taux de change manquant pour le paiement!',
+ 'Exchangerate missing!' => 'Taux de change manquant!',
+ 'Extended' => 'Prix Total',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Fév.',
+ 'February' => 'Février',
+ 'In-line' => 'En ligne',
+ 'Invoice' => 'Facture',
+ 'Invoice Date' => 'Date de facturation',
+ 'Invoice Date missing!' => 'Date de facture manquante!',
+ 'Invoice Number' => 'Numéro de facture',
+ 'Invoice Number missing!' => 'Numéro de facture manquant!',
+ 'Invoice deleted!' => 'Facture supprimé!',
+ 'Invoice posted!' => 'Facture enregistré!',
+ 'Item not on file!' => 'Objet non-listé!',
+ 'Jan' => 'Jan.',
+ 'January' => 'Janvier',
+ 'Jul' => 'Juil.',
+ 'July' => 'Juillet',
+ 'Jun' => 'Juin',
+ 'June' => 'Juin',
+ 'Mar' => 'Mars',
+ 'March' => 'Mars',
+ 'May' => 'Mai',
+ 'May ' => 'Mai ',
+ 'Message' => 'Message',
+ 'Name' => 'Nom',
+ 'No.' => 'No.',
+ 'Notes' => 'Notes',
+ 'Nov' => 'Nov.',
+ 'November' => 'Novembre',
+ 'Number' => 'Numéro',
+ 'Number missing in Row' => 'Numéro manquant dans ligne',
+ 'Oct' => 'Oct.',
+ 'October' => 'Octobre',
+ 'Order' => 'Commande',
+ 'Order Date missing!' => 'Date de commande manquante!',
+ 'Order Number' => 'Numéro de commande',
+ 'Order Number missing!' => 'Numéro de commande manquant!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Liste d\'envoi',
+ 'Packing List Date missing!' => 'La date est manquante sur la liste d\'envoi!',
+ 'Packing List Number missing!' => 'Le numéro de liste d\'envoi est manquant!',
+ 'Part' => 'Marchandise',
+ 'Payment date missing!' => 'Date de paiement manquant!',
+ 'Payments' => 'Paiements',
+ 'Phone' => 'Tél.',
+ 'Post' => 'Enregistrer',
+ 'Post as new' => 'Enregistrer comme nouveau',
+ 'Postscript' => 'Postcript',
+ 'Price' => 'Prix',
+ 'Print' => 'Imprimer',
+ 'Printer' => 'Imprimante',
+ 'Project' => 'Projet',
+ 'Project not on file!' => 'Projet absent du fichier!',
+ 'Purchase Order' => 'Commande d\'Achat',
+ 'Qty' => 'Qté',
+ 'Recd' => 'Reçu',
+ 'Record in' => 'Enregistrer dans',
+ 'Remaining' => 'Restant',
+ 'Required by' => 'Requis pour',
+ 'Sales Order' => 'Commande de Vente',
+ 'Screen' => 'Écran',
+ 'Select from one of the items below' => 'Sélectionner un des postes ci-dessous',
+ 'Select from one of the names below' => 'Sélectionner un des noms ci-dessous',
+ 'Select from one of the projects below' => 'Sélectionner un des projets ci-dessous',
+ 'Select postscript or PDF!' => 'Sélectionner Postscript ou PDF',
+ 'Sep' => 'Sept.',
+ 'September' => 'Septembre',
+ 'Service' => 'Service',
+ 'Ship' => 'Expédier',
+ 'Ship to' => 'Expédier à',
+ 'Ship via' => 'Expédier via',
+ 'Source' => 'Source',
+ 'Subject' => 'Objet',
+ 'Subtotal' => 'Sous Total',
+ 'Tax Included' => 'Taxe incluse',
+ 'To' => 'à ',
+ 'Total' => 'Total',
+ 'Unit' => 'Unité',
+ 'Update' => 'Mettre à jour',
+ 'Vendor not on file!' => 'Fournisseur absent du fichier!',
+ 'What type of item is this?' => 'De quel type est ce poste?',
+ 'Yes' => 'Oui',
+ 'ea' => 'ch',
+ 'emailed to' => 'envoyé par email à',
+ 'sent to printer' => 'envoyé à l\'imprimante',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'continuer' => 'continue',
+ 'supprimer' => 'delete',
+ 'email' => 'e_mail',
+ 'commande' => 'order',
+ 'enregistrer' => 'post',
+ 'enregistrer_comme_nouveau' => 'post_as_new',
+ 'imprimer' => 'print',
+ 'expédier_à' => 'ship_to',
+ 'mettre_à_jour' => 'update',
+ 'oui' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/fr/login b/sql-ledger/locale/fr/login
new file mode 100644
index 0000000..1020ac2
--- /dev/null
+++ b/sql-ledger/locale/fr/login
@@ -0,0 +1,27 @@
+$self{texts} = {
+ 'About' => 'A propos',
+ 'Database Host' => 'Hôte de base de données',
+ 'Dataset' => 'Fichier de données',
+ 'Incorrect Dataset version!' => 'Fichier de données incorrect!',
+ 'Incorrect Password!' => 'Mot de passe incorrect!',
+ 'Licensed to' => 'Licence à',
+ 'Login' => 'Login',
+ 'Name' => 'Nom',
+ 'Password' => 'Mot de Passe',
+ 'User' => 'Utilisateur',
+ 'Version' => 'Version',
+ 'You are logged out!' => 'Vous êtes déconnecté!',
+ 'You did not enter a name!' => 'Vous n\'avez pas saisi de nom!',
+ 'is not a member!' => 'n\'est pas un membre',
+ 'localhost' => 'hôte local',
+};
+
+$self{subs} = {
+ 'company_logo' => 'company_logo',
+ 'login' => 'login',
+ 'login_screen' => 'login_screen',
+ 'logout' => 'logout',
+ 'login' => 'login',
+};
+
+1;
diff --git a/sql-ledger/locale/fr/menu b/sql-ledger/locale/fr/menu
new file mode 100644
index 0000000..102a1c2
--- /dev/null
+++ b/sql-ledger/locale/fr/menu
@@ -0,0 +1,71 @@
+$self{texts} = {
+ 'AP' => 'Dépenses',
+ 'AP Aging' => 'Dépenses exigibles',
+ 'AR' => 'Recettes',
+ 'AR Aging' => 'Recettes exigibles',
+ 'Accounting Menu' => 'Menu de comptabilité',
+ 'Add Account' => 'Ajouter compte',
+ 'Add Assembly' => 'Ajouter produit',
+ 'Add Customer' => 'Ajouter client',
+ 'Add GIFI' => 'Ajouter Code d\'Identification Comptable ou Fiscale',
+ 'Add Part' => 'Ajouter marchandise',
+ 'Add Project' => 'Ajouter projet',
+ 'Add Service' => 'Ajouter service',
+ 'Add Transaction' => 'Saisie d\'écriture',
+ 'Add Vendor' => 'Ajouter fournisseur',
+ 'Assemblies' => 'Produits finis',
+ 'Audit Control' => 'Clôture périodique',
+ 'Backup' => 'Sauvegarder',
+ 'Balance Sheet' => 'Bilan',
+ 'Cash' => 'Caisse',
+ 'Chart of Accounts' => 'Plan Comptable',
+ 'Check' => 'Chèque',
+ 'Customers' => 'Clients',
+ 'General Ledger' => 'Grand Livre',
+ 'Goods & Services' => 'Articles & Services',
+ 'HTML Templates' => 'Gabarits HTML',
+ 'Income Statement' => 'Compte de Résultat',
+ 'Invoice' => 'Facture',
+ 'LaTeX Templates' => 'Gabarits LaTeX',
+ 'List Accounts' => 'Liste des comptes',
+ 'List GIFI' => 'Afficher la liste des Codes d\'Identification Comptable ou Fiscale',
+ 'Logout' => 'Déconnexion',
+ 'Order Entry' => 'Bons de Commandes',
+ 'Packing List' => 'Liste d\'envoi',
+ 'Parts' => 'Marchandises',
+ 'Payment' => 'Paiement',
+ 'Payments' => 'Paiements',
+ 'Preferences' => 'Préférences',
+ 'Projects' => 'Projets',
+ 'Purchase Invoice' => 'Facture d\'Achat',
+ 'Purchase Order' => 'Commande d\'Achat',
+ 'Purchase Orders' => 'Commandes d\'Achats',
+ 'Receipt' => 'Reçu',
+ 'Receipts' => 'Reçus',
+ 'Reconciliation' => 'Rapprochement',
+ 'Reports' => 'Rapports',
+ 'Sales Invoice' => 'Facture de Vente',
+ 'Sales Order' => 'Commande de Vente',
+ 'Sales Orders' => 'Commandes de Vente',
+ 'Save to File' => 'Enregistrer comme fichier',
+ 'Send by E-Mail' => 'Envoyer par email',
+ 'Services' => 'Services',
+ 'Statement' => 'Relevé',
+ 'Stock Assembly' => 'Stock de produits',
+ 'Stylesheet' => 'Feuille de style',
+ 'System' => 'Système',
+ 'Tax collected' => 'Taxe collectée',
+ 'Tax paid' => 'Taxe payée',
+ 'Transactions' => 'Mouvements',
+ 'Trial Balance' => 'Balance Globale',
+ 'Vendors' => 'Fournisseurs',
+ 'Version' => 'Version',
+};
+
+$self{subs} = {
+ 'acc_menu' => 'acc_menu',
+ 'display' => 'display',
+ 'section_menu' => 'section_menu',
+};
+
+1;
diff --git a/sql-ledger/locale/fr/oe b/sql-ledger/locale/fr/oe
new file mode 100644
index 0000000..d1c2b74
--- /dev/null
+++ b/sql-ledger/locale/fr/oe
@@ -0,0 +1,200 @@
+$self{texts} = {
+ 'Add' => 'Ajouter',
+ 'Add Purchase Invoice' => 'Etablir facture d\'achat',
+ 'Add Purchase Order' => 'Etablir commande d\'achat',
+ 'Add Sales Invoice' => 'Etablir facture de vente',
+ 'Add Sales Order' => 'Etablir commande de vente',
+ 'Address' => 'Adresse',
+ 'Amount' => 'Total',
+ 'Apr' => 'Avril',
+ 'April' => 'Avril',
+ 'Are you sure you want to delete Order Number' => 'Êtes vous sûr de vouloir supprimer Commande N°',
+ 'Attachment' => 'Pièce jointe',
+ 'Aug' => 'Août',
+ 'August' => 'Août',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Localisation',
+ 'C' => 'C',
+ 'Cannot delete order!' => 'Impossible de supprimer la commande!',
+ 'Cannot save order!' => 'Impossible d\'enregistrer la commande!',
+ 'Cc' => 'Cc',
+ 'Closed' => 'Clôturé',
+ 'Confirm!' => 'Confirmez!',
+ 'Contact' => 'Contact',
+ 'Continue' => 'Continuer',
+ 'Copies' => 'Copies',
+ 'Credit Limit' => 'Encours autorisé',
+ 'Curr' => 'En cours',
+ 'Currency' => 'Devise',
+ 'Customer' => 'Client',
+ 'Customer missing!' => 'Client manquant!',
+ 'Customer not on file!' => 'Client absent du fichier!',
+ 'Date' => 'Date',
+ 'Dec' => 'Déc.',
+ 'December' => 'Décembre',
+ 'Delete' => 'Supprimer',
+ 'Delivery Date' => 'Date de livraison',
+ 'Description' => 'Description',
+ 'E-mail' => 'Email',
+ 'E-mail address missing!' => 'Adresse email manquante!',
+ 'Edit Purchase Order' => 'Modifier commande d\'achat',
+ 'Edit Sales Order' => 'Modifier commande de vente',
+ 'Exchangerate' => 'Taux de change',
+ 'Exchangerate missing!' => 'Taux de change manquant!',
+ 'Extended' => 'Prix Total',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Fév.',
+ 'February' => 'Février',
+ 'From' => 'De',
+ 'ID' => 'ID',
+ 'In-line' => 'En ligne',
+ 'Include in Report' => 'Inclure dans l\'état',
+ 'Invoice' => 'Facture',
+ 'Invoice Date missing!' => 'Date de facture manquante!',
+ 'Invoice Number missing!' => 'Numéro de facture manquant!',
+ 'Item not on file!' => 'Objet non-listé!',
+ 'Jan' => 'Jan.',
+ 'January' => 'Janvier',
+ 'Jul' => 'Juil.',
+ 'July' => 'Juillet',
+ 'Jun' => 'Juin',
+ 'June' => 'Juin',
+ 'Mar' => 'Mars',
+ 'March' => 'Mars',
+ 'May' => 'Mai',
+ 'May ' => 'Mai ',
+ 'Message' => 'Message',
+ 'Name' => 'Nom',
+ 'No.' => 'No.',
+ 'Notes' => 'Notes',
+ 'Nov' => 'Nov.',
+ 'November' => 'Novembre',
+ 'Number' => 'Numéro',
+ 'Number missing in Row' => 'Numéro manquant dans ligne',
+ 'O' => 'O',
+ 'Oct' => 'Oct.',
+ 'October' => 'Octobre',
+ 'Open' => 'Ouvert',
+ 'Order' => 'Commande',
+ 'Order Date' => 'Date commande',
+ 'Order Date missing!' => 'Date de commande manquante!',
+ 'Order Number' => 'Numéro de commande',
+ 'Order Number missing!' => 'Numéro de commande manquant!',
+ 'Order deleted!' => 'Commande supprimé!',
+ 'Order saved!' => 'Commande enregistré!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Liste d\'envoi',
+ 'Packing List Date missing!' => 'La date est manquante sur la liste d\'envoi!',
+ 'Packing List Number missing!' => 'Le numéro de liste d\'envoi est manquant!',
+ 'Part' => 'Marchandise',
+ 'Phone' => 'Tél.',
+ 'Postscript' => 'Postcript',
+ 'Price' => 'Prix',
+ 'Print' => 'Imprimer',
+ 'Printer' => 'Imprimante',
+ 'Project' => 'Projet',
+ 'Project not on file!' => 'Projet absent du fichier!',
+ 'Purchase Order' => 'Commande d\'Achat',
+ 'Purchase Orders' => 'Commandes d\'Achats',
+ 'Qty' => 'Qté',
+ 'Recd' => 'Reçu',
+ 'Remaining' => 'Restant',
+ 'Required by' => 'Requis pour',
+ 'Sales Order' => 'Commande de Vente',
+ 'Sales Orders' => 'Commandes de Vente',
+ 'Save' => 'Enregistrer',
+ 'Save as new' => 'Enregistrer comme nouveau',
+ 'Screen' => 'Écran',
+ 'Select from one of the items below' => 'Sélectionner un des postes ci-dessous',
+ 'Select from one of the names below' => 'Sélectionner un des noms ci-dessous',
+ 'Select from one of the projects below' => 'Sélectionner un des projets ci-dessous',
+ 'Select postscript or PDF!' => 'Sélectionner Postscript ou PDF',
+ 'Sep' => 'Sept.',
+ 'September' => 'Septembre',
+ 'Service' => 'Service',
+ 'Ship' => 'Expédier',
+ 'Ship to' => 'Expédier à',
+ 'Ship via' => 'Expédier via',
+ 'Subject' => 'Objet',
+ 'Subtotal' => 'Sous Total',
+ 'Tax' => 'Taxe',
+ 'Tax Included' => 'Taxe incluse',
+ 'Terms: Net' => 'Crédit limité à',
+ 'To' => 'à ',
+ 'Total' => 'Total',
+ 'Unit' => 'Unité',
+ 'Update' => 'Mettre à jour',
+ 'Vendor' => 'Fournisseur',
+ 'Vendor missing!' => 'Fournisseur manquant!',
+ 'Vendor not on file!' => 'Fournisseur absent du fichier!',
+ 'What type of item is this?' => 'De quel type est ce poste?',
+ 'Yes' => 'Oui',
+ 'days' => 'jours',
+ 'ea' => 'ch',
+ 'emailed to' => 'envoyé par email à',
+ 'sent to printer' => 'envoyé à l\'imprimante',
+ 'to' => 'jusqu\'au',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_backorder' => 'create_backorder',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice' => 'invoice',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'order_links' => 'order_links',
+ 'orders' => 'orders',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_order' => 'prepare_order',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'save' => 'save',
+ 'save_as_new' => 'save_as_new',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'subtotal' => 'subtotal',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'ajouter' => 'add',
+ 'continuer' => 'continue',
+ 'supprimer' => 'delete',
+ 'email' => 'e_mail',
+ 'facture' => 'invoice',
+ 'imprimer' => 'print',
+ 'enregistrer' => 'save',
+ 'enregistrer_comme_nouveau' => 'save_as_new',
+ 'expédier_à' => 'ship_to',
+ 'mettre_à_jour' => 'update',
+ 'oui' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/fr/pe b/sql-ledger/locale/fr/pe
new file mode 100644
index 0000000..84127de
--- /dev/null
+++ b/sql-ledger/locale/fr/pe
@@ -0,0 +1,35 @@
+$self{texts} = {
+ 'Add' => 'Ajouter',
+ 'Add Project' => 'Ajouter projet',
+ 'All' => 'Tous',
+ 'Continue' => 'Continuer',
+ 'Delete' => 'Supprimer',
+ 'Description' => 'Description',
+ 'Edit Project' => 'Modifier projet',
+ 'Number' => 'Numéro',
+ 'Orphaned' => 'Orphelin',
+ 'Project' => 'Projet',
+ 'Project Number missing!' => 'Numéro du projet manquant!',
+ 'Project deleted!' => 'Projet supprimé!',
+ 'Project saved!' => 'Projet enregistré!',
+ 'Projects' => 'Projets',
+ 'Save' => 'Enregistrer',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'ajouter' => 'add',
+ 'continuer' => 'continue',
+ 'supprimer' => 'delete',
+ 'enregistrer' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/fr/rc b/sql-ledger/locale/fr/rc
new file mode 100644
index 0000000..092aabe
--- /dev/null
+++ b/sql-ledger/locale/fr/rc
@@ -0,0 +1,37 @@
+$self{texts} = {
+ 'Account' => 'Compte',
+ 'Balance' => 'Solde',
+ 'Cleared Balance' => 'Solde rapproché',
+ 'Continue' => 'Continuer',
+ 'Date' => 'Date',
+ 'Deposit' => 'Dépôt',
+ 'Description' => 'Description',
+ 'Difference' => 'Différence',
+ 'Done' => 'Fait!',
+ 'Exchangerate Difference' => 'Différence de taux de change',
+ 'From' => 'De',
+ 'Out of balance!' => 'Solde non équilibré!',
+ 'Payment' => 'Paiement',
+ 'Reconciliation' => 'Rapprochement',
+ 'Select all' => 'Sélectionner tout',
+ 'Source' => 'Source',
+ 'Statement Balance' => 'Relevé de compte',
+ 'Update' => 'Mettre à jour',
+ 'to' => 'jusqu\'au',
+};
+
+$self{subs} = {
+ 'continue' => 'continue',
+ 'display_form' => 'display_form',
+ 'done' => 'done',
+ 'get_payments' => 'get_payments',
+ 'reconciliation' => 'reconciliation',
+ 'select_all' => 'select_all',
+ 'update' => 'update',
+ 'continuer' => 'continue',
+ 'fait!' => 'done',
+ 'sélectionner_tout' => 'select_all',
+ 'mettre_à_jour' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/fr/rp b/sql-ledger/locale/fr/rp
new file mode 100644
index 0000000..dad49de
--- /dev/null
+++ b/sql-ledger/locale/fr/rp
@@ -0,0 +1,120 @@
+$self{texts} = {
+ 'AP Aging' => 'Dépenses exigibles',
+ 'AR Aging' => 'Recettes exigibles',
+ 'Account' => 'Compte',
+ 'Accounts' => 'Comptes',
+ 'Amount' => 'Total',
+ 'Apr' => 'Avril',
+ 'April' => 'Avril',
+ 'Attachment' => 'Pièce jointe',
+ 'Aug' => 'Août',
+ 'August' => 'Août',
+ 'Balance' => 'Solde',
+ 'Balance Sheet' => 'Bilan',
+ 'Bcc' => 'Bcc',
+ 'Cash based' => 'En liquide',
+ 'Cc' => 'Cc',
+ 'Compare to' => 'Comparer à',
+ 'Continue' => 'Continuer',
+ 'Copies' => 'Copies',
+ 'Credit' => 'Crédit',
+ 'Current' => 'En cours',
+ 'Customer' => 'Client',
+ 'Date' => 'Date',
+ 'Debit' => 'Débit',
+ 'Dec' => 'Déc.',
+ 'December' => 'Décembre',
+ 'Decimalplaces' => 'Décimales',
+ 'Department' => 'Department',
+ 'Description' => 'Description',
+ 'Due' => 'Echéance',
+ 'E-mail' => 'Email',
+ 'E-mail Statement to' => 'Message éléctronique à',
+ 'Feb' => 'Fév.',
+ 'February' => 'Février',
+ 'From' => 'De',
+ 'GIFI' => 'Code d\'Identification Comptable ou Fiscale',
+ 'Heading' => 'En-tête',
+ 'ID' => 'ID',
+ 'In-line' => 'En ligne',
+ 'Include in Report' => 'Inclure dans l\'état',
+ 'Income Statement' => 'Compte de Résultat',
+ 'Invoice' => 'Facture',
+ 'Jan' => 'Jan.',
+ 'January' => 'Janvier',
+ 'Jul' => 'Juil.',
+ 'July' => 'Juillet',
+ 'Jun' => 'Juin',
+ 'June' => 'Juin',
+ 'Mar' => 'Mars',
+ 'March' => 'Mars',
+ 'May' => 'Mai',
+ 'May ' => 'Mai ',
+ 'Message' => 'Message',
+ 'N/A' => 'Non Applicable',
+ 'Nothing selected!' => 'Pas de sélection!',
+ 'Nov' => 'Nov.',
+ 'November' => 'Novembre',
+ 'Oct' => 'Oct.',
+ 'October' => 'Octobre',
+ 'PDF' => 'PDF',
+ 'Payments' => 'Paiements',
+ 'Postscript' => 'Postcript',
+ 'Print' => 'Imprimer',
+ 'Printer' => 'Imprimante',
+ 'Project Number' => 'Project Number',
+ 'Receipts' => 'Reçus',
+ 'Report for' => 'Rapport de',
+ 'Retained Earnings' => 'Éxcédents non distribués',
+ 'Screen' => 'Écran',
+ 'Select all' => 'Sélectionner tout',
+ 'Select postscript or PDF!' => 'Sélectionner Postscript ou PDF',
+ 'Sep' => 'Sept.',
+ 'September' => 'Septembre',
+ 'Source' => 'Source',
+ 'Standard' => 'Standard',
+ 'Statement' => 'Relevé',
+ 'Statement sent to' => 'Relevé envoyé à',
+ 'Statements sent to printer!' => 'Relevés envoyés à l\'imprimante!',
+ 'Subject' => 'Objet',
+ 'Subtotal' => 'Sous Total',
+ 'Tax' => 'Taxe',
+ 'Tax collected' => 'Taxe collectée',
+ 'Tax paid' => 'Taxe payée',
+ 'Total' => 'Total',
+ 'Trial Balance' => 'Balance Globale',
+ 'Vendor' => 'Fournisseur',
+ 'as at' => 'au',
+ 'collected on sales' => 'collectées sur les ventes',
+ 'for Period' => 'pour la période',
+ 'paid on purchases' => 'payées sur les achats',
+ 'to' => 'jusqu\'au',
+};
+
+$self{subs} = {
+ 'aging' => 'aging',
+ 'continue' => 'continue',
+ 'e_mail' => 'e_mail',
+ 'generate_ap_aging' => 'generate_ap_aging',
+ 'generate_ar_aging' => 'generate_ar_aging',
+ 'generate_balance_sheet' => 'generate_balance_sheet',
+ 'generate_income_statement' => 'generate_income_statement',
+ 'generate_tax_report' => 'generate_tax_report',
+ 'generate_trial_balance' => 'generate_trial_balance',
+ 'list_accounts' => 'list_accounts',
+ 'list_payments' => 'list_payments',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'report' => 'report',
+ 'select_all' => 'select_all',
+ 'send_email' => 'send_email',
+ 'statement_details' => 'statement_details',
+ 'tax_subtotal' => 'tax_subtotal',
+ 'continuer' => 'continue',
+ 'email' => 'e_mail',
+ 'imprimer' => 'print',
+ 'sélectionner_tout' => 'select_all',
+};
+
+1;
diff --git a/sql-ledger/locale/hu/COPYING b/sql-ledger/locale/hu/COPYING
new file mode 100644
index 0000000..890d2e8
--- /dev/null
+++ b/sql-ledger/locale/hu/COPYING
@@ -0,0 +1,23 @@
+######################################################################
+# SQL-Ledger Accounting
+# Copyright (c) 2003
+#
+# Hungarian texts:
+#
+# Author: Kabai József <kabai@investor.hu>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+#######################################################################
+
diff --git a/sql-ledger/locale/hu/LANGUAGE b/sql-ledger/locale/hu/LANGUAGE
new file mode 100644
index 0000000..3459bb2
--- /dev/null
+++ b/sql-ledger/locale/hu/LANGUAGE
@@ -0,0 +1 @@
+Hungarian
diff --git a/sql-ledger/locale/hu/admin b/sql-ledger/locale/hu/admin
new file mode 100644
index 0000000..3aca70a
--- /dev/null
+++ b/sql-ledger/locale/hu/admin
@@ -0,0 +1,124 @@
+$self{texts} = {
+ 'Access Control' => 'Hozzáférési jogok',
+ 'Accounting' => 'Könyvelés',
+ 'Add User' => 'Új felhasználó',
+ 'Address' => 'Cím',
+ 'Administration' => 'Rendszerfelügyelet',
+ 'Administrator' => 'Rendszergazda',
+ 'All Datasets up to date!' => 'Összes ügyféladatbázis frissítve!',
+ 'Change Admin Password' => 'Rendszergazda jelszavának megváltoztatása',
+ 'Change Password' => 'Jelszó megváltoztatása',
+ 'Character Set' => 'Betû kódlap',
+ 'Click on login name to edit!' => 'Módosításhoz klikkeljen a felhasználó nevére!',
+ 'Company' => 'Társaság',
+ 'Connect to' => 'Csatlakozva ehhez:',
+ 'Continue' => 'Folytatás',
+ 'Create Chart of Accounts' => 'Számlatükör készítése',
+ 'Create Dataset' => 'Új cégadatbázis',
+ 'DBI not installed!' => 'DBI program nincs installálva!',
+ 'Database' => 'Adatbázis',
+ 'Database Administration' => 'Adatbázis felügyelet',
+ 'Database Driver not checked!' => 'Nincs kijelölve az adatbázismotor típusa!',
+ 'Database User missing!' => 'Adatbázis felhasználója hiányzik!',
+ 'Dataset' => 'Cégadatbázis',
+ 'Dataset missing!' => 'Cégadatbázis hiányzik!',
+ 'Dataset updated!' => 'Cégadatbázis frissítve!',
+ 'Date Format' => 'Dátumformátum',
+ 'Delete' => 'Törlés',
+ 'Delete Dataset' => 'Cégadatbázis törlése',
+ 'Directory' => 'Könyvtár',
+ 'Driver' => 'Meghajtó',
+ 'Dropdown Limit' => 'Lenyíló ablak limit',
+ 'E-mail' => 'E-mail',
+ 'Edit User' => 'Felhasználó módosítása',
+ 'Existing Datasets' => 'Létezõ cégadatbázisok',
+ 'Fax' => 'Fax',
+ 'Host' => 'Adatbázis helye:',
+ 'Hostname missing!' => 'Adatbázis helye hiányzik!',
+ 'Incorrect Password!' => 'Érvénytelen jelszó!',
+ 'Language' => 'Nyelv',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Hagyja üresen a Hely és a Port mezõket, hacsak nem akar távoli kapcsolatot létesíteni',
+ 'Login' => 'Belépés',
+ 'Multibyte Encoding' => 'Multibyte kódolás',
+ 'Name' => 'Név',
+ 'New Templates' => 'Új sablonok',
+ 'No Database Drivers available!' => 'Nincs elérhetõ adatbázismeghajtó!',
+ 'No Dataset selected!' => 'Nincs kiválasztott cégadatbázis!',
+ 'Nothing to delete!' => 'Nincs mit törölni!',
+ 'Number Format' => 'Számformátum',
+ 'Oracle Database Administration' => 'Oracle adatbázis felügyelet',
+ 'Password' => 'Jelszó',
+ 'Password changed!' => 'Jelszó megváltozott!',
+ 'Pg Database Administration' => 'Postgresql adatbázis felügyelet',
+ 'Phone' => 'Telefon',
+ 'Port' => 'Port száma',
+ 'Port missing!' => 'Port száma hiányzik!',
+ 'Printer' => 'Nyomtató',
+ 'Save' => 'Mentés',
+ 'Select a Dataset to delete and press "Continue"' => 'Válassza ki a törölni kívánt cégadatbázist, és klikkeljen a "Folytatás"-ra',
+ 'Setup Templates' => 'Sablonok beállítása',
+ 'Ship via' => 'Szállítás innen:',
+ 'Signature' => 'Aláírás',
+ 'Stylesheet' => 'Stíluslap',
+ 'Templates' => 'Sablonok',
+ 'The following Datasets are not in use and can be deleted' => 'Az alábbi cégadatbázisok üresek, és törölhetõk',
+ 'The following Datasets need to be updated' => 'Az alábbi cégadatbázisokat frissíteni kell',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'A meglévõ adatbázisok elõzetes ellenõrzése. A program itt még nem töröl és nem hoz létre semmit!',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'Új felhasználót úgy hozhat létre egy meglévõ cégadatbázishoz, hogy egy létezõ felhasználóra kattint, és a belépési nevet és a jelszót megváltoztatja és elmenti. Az új felhasználó örökli a beállításokat.',
+ 'Update Dataset' => 'Cégadatbázis frissítése',
+ 'Use Templates' => 'Sablon használata',
+ 'User' => 'Felhasználó',
+ 'User deleted!' => 'Felhasználó törölve!',
+ 'User saved!' => 'Felhasználó elmentve!',
+ 'Version' => 'Verzió',
+ 'You must enter a host and port for local and remote connections!' => 'A helyi és távoli kapcsolat eléréséhez írjon be helyet, és portszámot!',
+ 'does not exist' => 'nem létezik',
+ 'is already a member!' => 'már tag!',
+ 'localhost' => 'localhost',
+ 'locked!' => 'zárolva',
+ 'successfully created!' => 'sikeresen létrehozva!',
+ 'successfully deleted!' => 'sikeresen törölve!',
+ 'website' => 'honlap',
+};
+
+$self{subs} = {
+ 'add_user' => 'add_user',
+ 'adminlogin' => 'adminlogin',
+ 'change_admin_password' => 'change_admin_password',
+ 'change_password' => 'change_password',
+ 'check_password' => 'check_password',
+ 'continue' => 'continue',
+ 'create_dataset' => 'create_dataset',
+ 'dbcreate' => 'dbcreate',
+ 'dbdelete' => 'dbdelete',
+ 'dbdriver_defaults' => 'dbdriver_defaults',
+ 'dbselect_source' => 'dbselect_source',
+ 'dbupdate' => 'dbupdate',
+ 'delete' => 'delete',
+ 'delete_dataset' => 'delete_dataset',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'get_value' => 'get_value',
+ 'list_users' => 'list_users',
+ 'login' => 'login',
+ 'login_name' => 'login_name',
+ 'oracle_database_administration' => 'oracle_database_administration',
+ 'pg_database_administration' => 'pg_database_administration',
+ 'save' => 'save',
+ 'update_dataset' => 'update_dataset',
+ 'Új_felhasználó' => 'add_user',
+ 'rendszergazda_jelszavának_megváltoztatása' => 'change_admin_password',
+ 'jelszó_megváltoztatása' => 'change_password',
+ 'folytatás' => 'continue',
+ 'Új_cégadatbázis' => 'create_dataset',
+ 'törlés' => 'delete',
+ 'cégadatbázis_törlése' => 'delete_dataset',
+ 'belépés' => 'login',
+ 'oracle_adatbázis_felügyelet' => 'oracle_database_administration',
+ 'postgresql_adatbázis_felügyelet' => 'pg_database_administration',
+ 'mentés' => 'save',
+ 'cégadatbázis_frissítése' => 'update_dataset',
+};
+
+1;
diff --git a/sql-ledger/locale/hu/all b/sql-ledger/locale/hu/all
new file mode 100644
index 0000000..823f366
--- /dev/null
+++ b/sql-ledger/locale/hu/all
@@ -0,0 +1,499 @@
+# These are all the texts to build the translations files.
+# The file has the form of 'english text' => 'foreign text',
+# you can add the translation in this file or in the 'missing' file
+# run locales.pl from this directory to rebuild the translation files
+
+$self{texts} = {
+ 'AP' => 'Szállítók',
+ 'AP Aging' => 'Szállító lejárati lista',
+ 'AP Transaction' => 'Szállító tranzakció',
+ 'AP Transactions' => 'Szállító tranzakciók',
+ 'AR' => 'Vevõk',
+ 'AR Aging' => 'Vevõ lejárati lista',
+ 'AR Transaction' => 'Vevõ tranzakció',
+ 'AR Transactions' => 'Vevõ tranzakciók',
+ 'About' => ' ',
+ 'Access Control' => 'Hozzáférési jogok',
+ 'Account' => 'Számla',
+ 'Account Number' => 'Számlaszám',
+ 'Account Number missing!' => 'Számlaszám hiányzik!',
+ 'Account Type' => 'Számlatípus',
+ 'Account Type missing!' => 'Számlatípus hiányzik!',
+ 'Account deleted!' => 'Számla törölve!',
+ 'Account saved!' => 'Számla elmentve!',
+ 'Accounting' => 'Könyvelés',
+ 'Accounting Menu' => 'Menü',
+ 'Accounts' => 'Számlák',
+ 'Active' => 'Aktív',
+ 'Add' => 'Új',
+ 'Add Account' => 'Új számla',
+ 'Add Accounts Payables Transaction' => 'Új szállító tranzakció',
+ 'Add Accounts Receivables Transaction' => 'Új vevõ tranzakció',
+ 'Add Assembly' => 'Új saját termék',
+ 'Add Customer' => 'Új vevõ',
+ 'Add GIFI' => 'Új gyûjtõkód',
+ 'Add General Ledger Transaction' => 'Új fõkönyvi könyvelés',
+ 'Add Group' => '',
+ 'Add Part' => 'Új cikk',
+ 'Add Project' => 'Új munkaszám',
+ 'Add Purchase Order' => 'Új beszerzési rendelés',
+ 'Add Sales Invoice' => 'Új vevõszámla',
+ 'Add Sales Order' => 'Új vevõrendelés',
+ 'Add Service' => 'Új szolgáltatás',
+ 'Add Transaction' => 'Új tranzakció',
+ 'Add User' => 'Új felhasználó',
+ 'Add Vendor' => 'Új szállító',
+ 'Add Vendor Invoice' => '',
+ 'Address' => 'Cím',
+ 'Administration' => 'Rendszerfelügyelet',
+ 'Administrator' => 'Rendszergazda',
+ 'All' => 'Összes',
+ 'All Datasets up to date!' => 'Összes ügyféladatbázis frissítve!',
+ 'Amount' => 'Összeg',
+ 'Amount Due' => 'Esedékes összeg',
+ 'Amount does not equal applied!' => 'Az összeg nem egyezik a kitöltött szám(ok) összegével',
+ 'Amount missing!' => 'Összeg hiányzik!',
+ 'Applied' => 'Kitöltés',
+ 'Apr' => 'Ápr.',
+ 'April' => 'Április',
+ 'Are you sure you want to delete Invoice Number' => 'Biztos, hogy törölni akarja? Számlaszám:',
+ 'Are you sure you want to delete Order Number' => 'Biztos, hogy törölni akarja? Megrendelésszám:',
+ 'Are you sure you want to delete Transaction' => 'Biztos, hogy törölni akarja? Tranzakció:',
+ 'Assemblies' => 'Saját termékek',
+ 'Assemblies restocked!' => 'Saját termékek készletre véve',
+ 'Assembly Number missing!' => 'Saját termékszám hiányzik!',
+ 'Asset' => 'Eszköz',
+ 'Attachment' => 'Csatolás',
+ 'Audit Control' => 'Audit Kontroll',
+ 'Aug' => 'Aug.',
+ 'August' => 'Augusztus',
+ 'BOM' => '',
+ 'Backup' => 'Biztonsági másolat',
+ 'Backup sent to' => 'Biztonsági másolat elküldve:',
+ 'Balance' => 'Egyenleg',
+ 'Balance Sheet' => 'Mérleg',
+ 'Bcc' => 'Titkos másolat',
+ 'Bin' => 'Bin',
+ 'Books are open' => 'Az ügyféladatbázisban lehet könyvelni',
+ 'Bought' => 'Vásárolt',
+ 'Business Number' => 'Cégszám',
+ 'C' => 'C',
+ 'COGS' => 'ELÁBÉ',
+ 'Cannot delete account!' => 'A számlát nem lehet törölni',
+ 'Cannot delete customer!' => 'A vevõt nem lehet törölni!',
+ 'Cannot delete default account!' => 'Az alapbeállítású számlát nem lehet törölni!',
+ 'Cannot delete invoice!' => 'A partnerszámlát nem lehet törölni!',
+ 'Cannot delete item!' => 'A tételt nem lehet törölni!',
+ 'Cannot delete order!' => 'A rendelést nem lehet törölni!',
+ 'Cannot delete transaction!' => 'A tranzakciót nem lehet törölni!',
+ 'Cannot delete vendor!' => 'Szállítót nem lehet törölni!',
+ 'Cannot have a value in both Debit and Credit!' => 'A Tartozik és Követel oldal is tartalmaz értéket!',
+ 'Cannot post a transaction without a value!' => 'Az összeg megadása nélkül nem lehet a tranzakciót rögzíteni!',
+ 'Cannot post invoice for a closed period!' => 'A lezárt idõszakban nem lehet számlát kiállítani!',
+ 'Cannot post invoice!' => 'A partnerszámlát nem lehet kiállítani',
+ 'Cannot post payment for a closed period!' => 'A lezárt idõszakban nem lehet fizetést rögzíteni!',
+ 'Cannot post payment!' => 'A pénzmozgást nem lehet rögzíteni',
+ 'Cannot post transaction for a closed period!' => 'A lezárt idõszakban nem lehet tranzakciót rögzíteni!!',
+ 'Cannot post transaction!' => 'A tranzakciót nem lehet rögzíteni!',
+ 'Cannot process payment for a closed period!' => 'A pénzmozgást nem lehet lezárt idõszakban rögzíteni!',
+ 'Cannot save account!' => 'A számlát nem lehet elmenteni!',
+ 'Cannot save order!' => 'A rendelést nem lehet elmenteni!',
+ 'Cannot save preferences!' => 'A beállításokat nem lehet elmenteni',
+ 'Cannot stock assemblies!' => 'A saját terméket nem lehet készletre venni!',
+ 'Cash' => 'Pénzmozgások',
+ 'Cash based' => 'Pénzmozgás alapján',
+ 'Cc' => 'Másolat',
+ 'Change Admin Password' => 'Rendszergazda jelszavának megváltoztatása',
+ 'Change Password' => 'Jelszó megváltoztatása',
+ 'Character Set' => 'Betû kódlap',
+ 'Chart of Accounts' => 'Számlatükör',
+ 'Check' => 'Csekk',
+ 'Check printed!' => 'Csekk kinyomtatva!',
+ 'Check printing failed!' => 'A csekk nyomtatása nem sikerült!',
+ 'Cleared Balance' => 'Egyeztetett egyenleg',
+ 'Click on login name to edit!' => 'Módosításhoz klikkeljen a felhasználó nevére!',
+ 'Close Books up to' => 'Könyvelés lezárása eddig az idõpontig:',
+ 'Closed' => 'Lezárt',
+ 'Company' => 'Társaság',
+ 'Compare to' => 'Összehasonlítva:',
+ 'Confirm!' => 'Megerõsítés:',
+ 'Connect to' => 'Csatlakozva ehhez:',
+ 'Contact' => 'Kapcsolat',
+ 'Continue' => 'Folytatás',
+ 'Copies' => 'Másolatok',
+ 'Copy to COA' => 'Másolás a számlatükörbe',
+ 'Create Chart of Accounts' => 'Számlatükör készítése',
+ 'Create Dataset' => 'Új cégadatbázis',
+ 'Credit' => 'Követel',
+ 'Credit Limit' => 'Hitelkeret',
+ 'Curr' => 'Dev',
+ 'Currency' => 'Deviza',
+ 'Current' => 'Nem lejárt',
+ 'Customer' => 'Vevõ',
+ 'Customer deleted!' => 'Vevõ törölve!',
+ 'Customer missing!' => 'Vevõ hiányzik!',
+ 'Customer not on file!' => 'A vevõ hiányzik az adatbázisból!',
+ 'Customer saved!' => 'Vevõ elmentve!',
+ 'Customers' => 'Vevõadatok',
+ 'DBI not installed!' => 'DBI program nincs installálva!',
+ 'Database' => 'Adatbázis',
+ 'Database Administration' => 'Adatbázis felügyelet',
+ 'Database Driver not checked!' => 'Nincs kijelölve az adatbázismotor típusa!',
+ 'Database Host' => 'Adatbázis helye',
+ 'Database User missing!' => 'Adatbázis felhasználója hiányzik!',
+ 'Dataset' => 'Cégadatbázis',
+ 'Dataset missing!' => 'Cégadatbázis hiányzik!',
+ 'Dataset updated!' => 'Cégadatbázis frissítve!',
+ 'Date' => 'Dátum',
+ 'Date Format' => 'Dátumformátum',
+ 'Date Paid' => 'Fizetés napja',
+ 'Date missing!' => 'Dátum hiányzik',
+ 'Debit' => 'Tartozik',
+ 'Debit and credit out of balance!' => 'Tartozik Követel összege nem egyezik!',
+ 'Dec' => 'Dec.',
+ 'December' => 'December',
+ 'Decimalplaces' => 'Tizedeshelyek',
+ 'Delete' => 'Törlés',
+ 'Delete Account' => 'Számla törlése',
+ 'Delete Dataset' => 'Cégadatbázis törlése',
+ 'Delivery Date' => 'Szállítás dátuma',
+ 'Deposit' => 'Betét',
+ 'Description' => 'Szöveges leírás',
+ 'Difference' => 'Eltérés',
+ 'Directory' => 'Könyvtár',
+ 'Discount' => 'Engedmény',
+ 'Done' => 'Elvégezve',
+ 'Drawing' => 'Rajz',
+ 'Driver' => 'Meghajtó',
+ 'Dropdown Limit' => 'Lenyíló ablak limit',
+ 'Due' => 'Esedékes',
+ 'Due Date' => 'Esedékesség',
+ 'Due Date missing!' => 'Esedékesség hiányzik!',
+ 'E-mail' => 'E-mail',
+ 'E-mail Statement to' => 'Kimutatás küldése e-mail-ben:',
+ 'E-mail address missing!' => 'E-mail cím hiányzik!',
+ 'Edit' => 'Módosítás',
+ 'Edit Account' => 'Számlaszám módosítása',
+ 'Edit Accounts Payables Transaction' => 'Szállító tranzakció módosítása',
+ 'Edit Accounts Receivables Transaction' => 'Vevõ tranzakció módosítása',
+ 'Edit Assembly' => 'Saját termék módosítása',
+ 'Edit Customer' => 'Vevõ módosítása',
+ 'Edit GIFI' => 'Gyûjtõkód módosítása',
+ 'Edit General Ledger Transaction' => 'Vegyes könyvelési tétel módosítása',
+ 'Edit Group' => '',
+ 'Edit Part' => 'Cikk módosítása',
+ 'Edit Preferences for' => 'Felhasználói paraméterek módosítása:',
+ 'Edit Project' => 'Projekt módosítása',
+ 'Edit Purchase Order' => 'Beszerzési rendelés módosítása',
+ 'Edit Sales Invoice' => 'Vevõszámla módosítása',
+ 'Edit Sales Order' => 'Vevõrendelés módosítása',
+ 'Edit Service' => 'Szolgáltatás módosítása',
+ 'Edit Template' => 'Sablon módosítása',
+ 'Edit User' => 'Felhasználó módosítása',
+ 'Edit Vendor' => 'Szállító módosítása',
+ 'Edit Vendor Invoice' => '',
+ 'Employee' => 'Alkalmazott',
+ 'Enforce transaction reversal for all dates' => 'Minden dátum esetében visszautasítsa a tranzakció rögzítését?',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'A saját és külföldi devizákat jelölje 3 betûvel kettõsponttal elválasztva! (pl. HUF:EUR:USD)',
+ 'Equity' => 'Tõke',
+ 'Exch' => 'Árf',
+ 'Exchangerate' => 'Átváltási árfolyam',
+ 'Exchangerate Difference' => 'Árfolyamkülönbség',
+ 'Exchangerate for payment missing!' => 'A fizetett összeg átváltási árfolyama hiányzik!',
+ 'Exchangerate missing!' => 'Átváltási árfolyam hiányzik!',
+ 'Existing Datasets' => 'Létezõ cégadatbázisok',
+ 'Expense' => 'Költség',
+ 'Expense Account' => 'Költségszámla',
+ 'Expense/Asset' => 'Költség/Eszköz',
+ 'Extended' => 'Összeg',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb.',
+ 'February' => 'Február',
+ 'Foreign Exchange Gain' => 'Árfolyamnyereség',
+ 'Foreign Exchange Loss' => 'Árfolyamveszteség',
+ 'From' => 'Mikortól:',
+ 'GIFI' => 'Gyûjtõkód',
+ 'GIFI deleted!' => 'Gyûjtõkód törölve!',
+ 'GIFI missing!' => 'Gyûjtõkód hiányzik!',
+ 'GIFI saved!' => 'Gyûjtõkód elmentve!',
+ 'GL Transaction' => 'Fõkönyvi tranzakció!',
+ 'General Ledger' => 'Fõkönyvi könyvelés',
+ 'Goods & Services' => 'Áruk & Szolgáltatások',
+ 'Group' => '',
+ 'Group Items' => '',
+ 'Group deleted!' => '',
+ 'Group missing!' => '',
+ 'Group saved!' => '',
+ 'Groups' => '',
+ 'HTML Templates' => 'HTML sablonok',
+ 'Heading' => 'Fejléc',
+ 'Host' => 'Adatbázis helye:',
+ 'Hostname missing!' => 'Adatbázis helye hiányzik!',
+ 'ID' => 'Azonosító',
+ 'Image' => 'Kép',
+ 'In-line' => 'Beágyazva',
+ 'Include in Report' => 'Oszlopok:',
+ 'Include in drop-down menus' => 'Mely tranzakció(k)-nál lehessen kiválasztani?:',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Kiválasztható legyen a vevõ/szállító ûrlapokon, mint adószámla?',
+ 'Income' => 'Árbevétel',
+ 'Income Account' => 'Árbevételszámla',
+ 'Income Statement' => 'Eredménykimutatás',
+ 'Incorrect Dataset version!' => 'Érvénytelen adatbázisverzió!',
+ 'Incorrect Password!' => 'Érvénytelen jelszó!',
+ 'Individual Items' => 'Összetevõk',
+ 'Inventory' => 'Készlet',
+ 'Inventory Account' => 'Készletszámla',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'Mielõtt ezt a saját terméket elévültnek nyilvánítja,a mennyiségnek nullának kell lennie!',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'Mielõtt ezt az anyagot/árut elévültnek nyilvánítja,a mennyiségnek nullának kell lennie!!',
+ 'Invoice' => 'Számla',
+ 'Invoice Date' => 'Teljesítés dátuma',
+ 'Invoice Date missing!' => 'Teljesítés dátuma hiányzik!',
+ 'Invoice Number' => 'Számlaszám',
+ 'Invoice Number missing!' => 'Számlaszám hiányzik!',
+ 'Invoice deleted!' => 'Számla törölve!',
+ 'Invoice posted!' => 'Számla rögzítve!',
+ 'Invoices' => 'Számlák',
+ 'Is this a summary account to record' => 'Gyûjtõszámlaként szerepeljen ezeknél a tranzakcióknál:',
+ 'Item deleted!' => 'Tétel törölve!',
+ 'Item not on file!' => 'A tétel nincs az adatbázisban!',
+ 'Jan' => 'Jan.',
+ 'January' => 'Január',
+ 'Jul' => 'Júl.',
+ 'July' => 'Július',
+ 'Jun' => 'Jún.',
+ 'June' => 'Június',
+ 'LaTeX Templates' => 'LaTeX sablonok',
+ 'Language' => 'Nyelv',
+ 'Last Cost' => 'Utolsó beszerzési ár',
+ 'Last Invoice Number' => 'Utolsó számlaszám',
+ 'Last Numbers & Default Accounts' => 'Legutolsó számok & Alapszámlák',
+ 'Last Purchase Order Number' => 'Utolsó beszerzési rendelésszám',
+ 'Last Sales Order Number' => 'Utolsó vevõ rendelésszám',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Hagyja üresen a Hely és a Port mezõket, hacsak nem akar távoli kapcsolatot létesíteni',
+ 'Liability' => 'Kötelezettség',
+ 'Licensed to' => 'Cég:',
+ 'Line Total' => 'Sor összesen',
+ 'Link' => 'Kapcsolat',
+ 'Link Accounts' => 'Számlakapcsolatok',
+ 'List Accounts' => 'Számlák listázása',
+ 'List GIFI' => 'Gyûjtõkódok listázása',
+ 'List Price' => 'Listaár',
+ 'List Transactions' => 'Tranzakciók listázása',
+ 'Login' => 'Belépés',
+ 'Logout' => 'Kilépés',
+ 'Make' => 'Gyártmány',
+ 'Mar' => 'Márc.',
+ 'March' => 'Március',
+ 'May' => 'Máj.',
+ 'May ' => 'Május',
+ 'Message' => 'Üzenet',
+ 'Microfiche' => 'Microfiche',
+ 'Model' => 'Modell',
+ 'Multibyte Encoding' => 'Multibyte kódolás',
+ 'N/A' => 'N/A',
+ 'Name' => 'Név',
+ 'Name missing!' => 'Név hiányzik',
+ 'New Templates' => 'Új sablonok',
+ 'No' => 'Nem',
+ 'No Database Drivers available!' => 'Nincs elérhetõ adatbázismeghajtó!',
+ 'No Dataset selected!' => 'Nincs kiválasztott cégadatbázis!',
+ 'No email address for' => 'Nincs e-mail címe:',
+ 'No.' => 'Sz.',
+ 'Notes' => 'Megjegyzés',
+ 'Nothing applied!' => 'Nincs semmi kitöltve!',
+ 'Nothing selected!' => 'Nincs semmi kiválasztva!',
+ 'Nothing to delete!' => 'Nincs mit törölni!',
+ 'Nov' => 'Nov.',
+ 'November' => 'November',
+ 'Number' => 'Szám',
+ 'Number Format' => 'Számformátum',
+ 'Number missing in Row' => 'Ebbõl a sorból hiányzik a szám:',
+ 'O' => 'Ny.',
+ 'Obsolete' => 'Elévült',
+ 'Oct' => 'Okt.',
+ 'October' => 'Október',
+ 'On Hand' => 'Készleten',
+ 'On Order' => 'Beszerzési rendelések',
+ 'Open' => 'Nyitott',
+ 'Oracle Database Administration' => 'Oracle adatbázis felügyelet',
+ 'Order' => 'Rendelés',
+ 'Order Date' => 'Rendelés dátuma',
+ 'Order Date missing!' => 'Rendelés dátuma hiányzik!',
+ 'Order Entry' => 'Rendelések',
+ 'Order Number' => 'Rendelés száma',
+ 'Order Number missing!' => 'Rendelés száma hiányzik!',
+ 'Order deleted!' => 'Rendelés törölve!',
+ 'Order saved!' => 'Rendelés elmentve!',
+ 'Ordered' => 'Vevõrendelések',
+ 'Orphaned' => 'Tranzakció nélküli',
+ 'Out of balance!' => 'Az egyenleg nem stimmel!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Szállítólevél',
+ 'Packing List Date missing!' => 'Szállítólevél dátuma hiányzik!',
+ 'Packing List Number missing!' => 'Szállítólevél száma hiányzik!',
+ 'Paid' => 'Fizetve',
+ 'Paid in full' => 'Teljesen fizetve',
+ 'Part' => 'Cikk',
+ 'Part Number missing!' => 'Cikk száma hiányzik!',
+ 'Parts' => 'Cikkek',
+ 'Parts Inventory' => 'Cikkek készlete',
+ 'Password' => 'Jelszó',
+ 'Password changed!' => 'Jelszó megváltozott!',
+ 'Payables' => 'Szállítók',
+ 'Payment' => 'Kifizetés',
+ 'Payment date missing!' => 'Pénzmozgás dátuma hiányzik!',
+ 'Payment posted!' => 'Pénzmozgás rögzítve',
+ 'Payments' => 'Kifizetések',
+ 'Pg Database Administration' => 'Postgresql adatbázis felügyelet',
+ 'Phone' => 'Telefon',
+ 'Port' => 'Port száma',
+ 'Port missing!' => 'Port száma hiányzik!',
+ 'Post' => 'Rögzítés',
+ 'Post as new' => 'Rögzítés új tranzakcióként',
+ 'Postscript' => 'Postscript',
+ 'Preferences' => 'Beállítások',
+ 'Preferences saved!' => 'Beállítások elmentve!',
+ 'Price' => 'Ár',
+ 'Print' => 'Nyomtatás',
+ 'Printer' => 'Nyomtató',
+ 'Project' => 'Munkaszám',
+ 'Project Number' => 'Munkaszám',
+ 'Project Number missing!' => 'Munkaszám száma hiányzik!',
+ 'Project deleted!' => 'Munkaszám törölve!',
+ 'Project not on file!' => 'Munkaszám hiányzik az adatbázisból!',
+ 'Project saved!' => 'Munkaszám elmentve!',
+ 'Projects' => 'Munkaszámok',
+ 'Purchase Order' => 'Beszerzési rendelés',
+ 'Purchase Orders' => 'Beszerzési rendelések',
+ 'Qty' => 'Menny.',
+ 'ROP' => 'Rendelési pont',
+ 'Rate' => 'Árfolyam',
+ 'Recd' => 'Kapott',
+ 'Receipt' => 'Bevétel',
+ 'Receipt printed!' => 'Nyugta nyomtatva!',
+ 'Receipt printing failed!' => 'A nyugta nyomtatása nem sikerült!',
+ 'Receipts' => 'Bevételek',
+ 'Receivables' => 'Vevõk',
+ 'Reconciliation' => 'Egyeztetés',
+ 'Record in' => 'Feladás:',
+ 'Reference' => 'Hivatkozás',
+ 'Reference missing!' => 'Hivatkozás hiányzik',
+ 'Remaining' => 'Maradék',
+ 'Report for' => 'Jelentés:',
+ 'Reports' => 'Jelentések',
+ 'Required by' => 'Leszállítás',
+ 'Retained Earnings' => 'Adózás elõtti eredmény',
+ 'Sales' => 'Eladás',
+ 'Sales Invoice' => 'Számlázás',
+ 'Sales Order' => 'Vevõrendelés',
+ 'Sales Orders' => 'Vevõrendelések',
+ 'Salesperson' => '',
+ 'Save' => 'Mentés',
+ 'Save as new' => 'Mentés újként',
+ 'Save to File' => 'Másolat File-ba',
+ 'Screen' => 'Képernyõre',
+ 'Select a Dataset to delete and press "Continue"' => 'Válassza ki a törölni kívánt cégadatbázist, és klikkeljen a "Folytatás"-ra',
+ 'Select all' => 'Mindent kijelöl',
+ 'Select from one of the items below' => 'Válasszon ki egyet az alábbi tételek közül',
+ 'Select from one of the names below' => 'Válasszon ki egyet az alábbi nevek közül',
+ 'Select from one of the projects below' => 'Válasszon ki egyet az alábbi munkaszámok közül',
+ 'Select postscript or PDF!' => 'Válassza ki a postscript vagy a PDF formátumot!',
+ 'Sell Price' => 'Eladási ár',
+ 'Send by E-Mail' => 'Másolat E-mail-ben',
+ 'Sep' => 'Szept.',
+ 'September' => 'Szeptember',
+ 'Service' => 'Szolgáltatás',
+ 'Service Items' => 'Szolgáltatás tételek',
+ 'Service Number missing!' => 'Szolgáltatás száma hiányzik!',
+ 'Services' => 'Szolgáltatások',
+ 'Setup Templates' => 'Sablonok beállítása',
+ 'Ship' => 'Szállítás',
+ 'Ship to' => 'Szállítási cím',
+ 'Ship via' => 'Szállítás innen:',
+ 'Short' => 'Hiányzó',
+ 'Signature' => 'Aláírás',
+ 'Sold' => 'Eladva',
+ 'Source' => 'Bizonylatszám',
+ 'Standard' => 'Sztenderd',
+ 'Statement' => 'Kimutatás',
+ 'Statement Balance' => 'Kimutatás egyenlege',
+ 'Statement sent to' => 'Kimutatás elküldve:',
+ 'Statements sent to printer!' => 'Kimutatás kinyomtatva!',
+ 'Stock' => '',
+ 'Stock Assembly' => 'Saját termék bevételezése',
+ 'Stylesheet' => 'Stíluslap',
+ 'Subject' => 'Tárgy',
+ 'Subtotal' => 'Részösszeg',
+ 'System' => 'Törzsadatok',
+ 'Tax' => 'Adó',
+ 'Tax Accounts' => 'Adószámlák',
+ 'Tax Included' => 'Adót tartalmazza',
+ 'Tax collected' => 'Fizetendõ ÁFA',
+ 'Tax paid' => 'Levonható ÁFA',
+ 'Taxable' => 'Adó:',
+ 'Template saved!' => 'Sablon elmentve!',
+ 'Templates' => 'Sablonok',
+ 'Terms: Net' => 'Határidõ',
+ 'The following Datasets are not in use and can be deleted' => 'Az alábbi cégadatbázisok üresek, és törölhetõk',
+ 'The following Datasets need to be updated' => 'Az alábbi cégadatbázisokat frissíteni kell',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'A meglévõ adatbázisok elõzetes ellenõrzése. A program itt még nem töröl és nem hoz létre semmit!',
+ 'To' => 'Meddig:',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'Új felhasználót úgy hozhat létre egy meglévõ cégadatbázishoz, hogy egy létezõ felhasználóra kattint, és a belépési nevet és a jelszót megváltoztatja és elmenti. Az új felhasználó örökli a beállításokat.',
+ 'Top Level' => 'Legfelsõ szint',
+ 'Total' => 'Végösszeg',
+ 'Transaction Date missing!' => 'Tranzakció dátuma hiányzik!',
+ 'Transaction deleted!' => 'Tranzakció törölve!',
+ 'Transaction posted!' => 'Tranzakció rögzítve!',
+ 'Transaction reversal enforced for all dates' => 'Bármilyen dátumú tranzakciót visszautasít',
+ 'Transaction reversal enforced up to' => 'E dátumig utasítja vissza a tranzakciókat',
+ 'Transactions' => 'Tranzakciók',
+ 'Transactions exist, cannot delete customer!' => 'A vevõhöz tranzakciók tartoznak, nem lehet törölni!',
+ 'Transactions exist, cannot delete vendor!' => 'A szállítóhoz tranzakciók tartoznak, nem lehet törölni!',
+ 'Transactions exist; cannot delete account!' => 'A számlához tranzakciók tartoznak, nem lehet törölni!',
+ 'Trial Balance' => 'Fõkönyvi kivonat',
+ 'Unit' => 'Egység',
+ 'Unit of measure' => 'Mértékegység',
+ 'Update' => 'Frissítés',
+ 'Update Dataset' => 'Cégadatbázis frissítése',
+ 'Updated' => 'Frissítve',
+ 'Use Templates' => 'Sablon használata',
+ 'User' => 'Felhasználó',
+ 'User deleted!' => 'Felhasználó törölve!',
+ 'User saved!' => 'Felhasználó elmentve!',
+ 'Vendor' => 'Szállító',
+ 'Vendor Invoice' => '',
+ 'Vendor deleted!' => 'Szállító törölve!',
+ 'Vendor missing!' => 'Szállító hiányzik!',
+ 'Vendor not on file!' => 'Szállító nincs az adatbázisban!',
+ 'Vendor saved!' => 'Szállító elmentve!',
+ 'Vendors' => 'Szállítók',
+ 'Version' => 'Verzió',
+ 'Weight' => 'Súly',
+ 'Weight Unit' => 'Súlyegység',
+ 'What type of item is this?' => 'Ez milyen típusú tétel?',
+ 'Year End' => 'Évzárás',
+ 'Yes' => 'Igen',
+ 'You are logged out!' => 'Már kijelentkezett!',
+ 'You did not enter a name!' => 'Nem írt be nevet!',
+ 'You must enter a host and port for local and remote connections!' => 'A helyi és távoli kapcsolat eléréséhez írjon be helyet, és portszámot!',
+ 'as at' => 'Fordulónap:',
+ 'collected on sales' => 'vevõszámlák alapján',
+ 'days' => 'nap',
+ 'does not exist' => 'nem létezik',
+ 'ea' => 'db',
+ 'emailed to' => 'e-mail küldve:',
+ 'for Period' => 'Idõszak:',
+ 'hr' => 'óra',
+ 'is already a member!' => 'már tag!',
+ 'is not a member!' => 'nem tag!',
+ 'localhost' => 'localhost',
+ 'locked!' => 'zárolva',
+ 'paid on purchases' => 'szállítószámlák alapján',
+ 'sent to printer' => 'kinyomtatva',
+ 'successfully created!' => 'sikeresen létrehozva!',
+ 'successfully deleted!' => 'sikeresen törölve!',
+ 'to' => 'Meddig:',
+ 'website' => 'honlap',
+};
+
+1;
diff --git a/sql-ledger/locale/hu/am b/sql-ledger/locale/hu/am
new file mode 100644
index 0000000..0bb2b83
--- /dev/null
+++ b/sql-ledger/locale/hu/am
@@ -0,0 +1,139 @@
+$self{texts} = {
+ 'AP' => 'Szállítók',
+ 'AR' => 'Vevõk',
+ 'Account' => 'Számla',
+ 'Account Number' => 'Számlaszám',
+ 'Account Number missing!' => 'Számlaszám hiányzik!',
+ 'Account Type' => 'Számlatípus',
+ 'Account Type missing!' => 'Számlatípus hiányzik!',
+ 'Account deleted!' => 'Számla törölve!',
+ 'Account saved!' => 'Számla elmentve!',
+ 'Add Account' => 'Új számla',
+ 'Add GIFI' => 'Új gyûjtõkód',
+ 'Address' => 'Cím',
+ 'Asset' => 'Eszköz',
+ 'Audit Control' => 'Audit Kontroll',
+ 'Backup sent to' => 'Biztonsági másolat elküldve:',
+ 'Books are open' => 'Az ügyféladatbázisban lehet könyvelni',
+ 'Business Number' => 'Cégszám',
+ 'COGS' => 'ELÁBÉ',
+ 'Cannot delete account!' => 'A számlát nem lehet törölni',
+ 'Cannot delete default account!' => 'Az alapbeállítású számlát nem lehet törölni!',
+ 'Cannot save account!' => 'A számlát nem lehet elmenteni!',
+ 'Cannot save preferences!' => 'A beállításokat nem lehet elmenteni',
+ 'Character Set' => 'Betû kódlap',
+ 'Chart of Accounts' => 'Számlatükör',
+ 'Close Books up to' => 'Könyvelés lezárása eddig az idõpontig:',
+ 'Company' => 'Társaság',
+ 'Continue' => 'Folytatás',
+ 'Copy to COA' => 'Másolás a számlatükörbe',
+ 'Credit' => 'Követel',
+ 'Date Format' => 'Dátumformátum',
+ 'Debit' => 'Tartozik',
+ 'Delete' => 'Törlés',
+ 'Delete Account' => 'Számla törlése',
+ 'Description' => 'Szöveges leírás',
+ 'Dropdown Limit' => 'Lenyíló ablak limit',
+ 'E-mail' => 'E-mail',
+ 'Edit' => 'Módosítás',
+ 'Edit Account' => 'Számlaszám módosítása',
+ 'Edit GIFI' => 'Gyûjtõkód módosítása',
+ 'Edit Preferences for' => 'Felhasználói paraméterek módosítása:',
+ 'Edit Template' => 'Sablon módosítása',
+ 'Enforce transaction reversal for all dates' => 'Minden dátum esetében visszautasítsa a tranzakció rögzítését?',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'A saját és külföldi devizákat jelölje 3 betûvel kettõsponttal elválasztva! (pl. HUF:EUR:USD)',
+ 'Equity' => 'Tõke',
+ 'Expense' => 'Költség',
+ 'Expense Account' => 'Költségszámla',
+ 'Expense/Asset' => 'Költség/Eszköz',
+ 'Fax' => 'Fax',
+ 'Foreign Exchange Gain' => 'Árfolyamnyereség',
+ 'Foreign Exchange Loss' => 'Árfolyamveszteség',
+ 'GIFI' => 'Gyûjtõkód',
+ 'GIFI deleted!' => 'Gyûjtõkód törölve!',
+ 'GIFI missing!' => 'Gyûjtõkód hiányzik!',
+ 'GIFI saved!' => 'Gyûjtõkód elmentve!',
+ 'Heading' => 'Fejléc',
+ 'Include in drop-down menus' => 'Mely tranzakció(k)-nál lehessen kiválasztani?:',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Kiválasztható legyen a vevõ/szállító ûrlapokon, mint adószámla?',
+ 'Income' => 'Árbevétel',
+ 'Income Account' => 'Árbevételszámla',
+ 'Inventory' => 'Készlet',
+ 'Inventory Account' => 'Készletszámla',
+ 'Is this a summary account to record' => 'Gyûjtõszámlaként szerepeljen ezeknél a tranzakcióknál:',
+ 'Language' => 'Nyelv',
+ 'Last Invoice Number' => 'Utolsó számlaszám',
+ 'Last Numbers & Default Accounts' => 'Legutolsó számok & Alapszámlák',
+ 'Last Purchase Order Number' => 'Utolsó beszerzési rendelésszám',
+ 'Last Sales Order Number' => 'Utolsó vevõ rendelésszám',
+ 'Liability' => 'Kötelezettség',
+ 'Link' => 'Kapcsolat',
+ 'Name' => 'Név',
+ 'No' => 'Nem',
+ 'No email address for' => 'Nincs e-mail címe:',
+ 'Number' => 'Szám',
+ 'Number Format' => 'Számformátum',
+ 'Parts Inventory' => 'Cikkek készlete',
+ 'Password' => 'Jelszó',
+ 'Payables' => 'Szállítók',
+ 'Payment' => 'Kifizetés',
+ 'Phone' => 'Telefon',
+ 'Preferences saved!' => 'Beállítások elmentve!',
+ 'Rate' => 'Árfolyam',
+ 'Receivables' => 'Vevõk',
+ 'Sales' => 'Eladás',
+ 'Save' => 'Mentés',
+ 'Service Items' => 'Szolgáltatás tételek',
+ 'Ship via' => 'Szállítás innen:',
+ 'Signature' => 'Aláírás',
+ 'Stylesheet' => 'Stíluslap',
+ 'Tax' => 'Adó',
+ 'Tax Accounts' => 'Adószámlák',
+ 'Template saved!' => 'Sablon elmentve!',
+ 'Transaction reversal enforced for all dates' => 'Bármilyen dátumú tranzakciót visszautasít',
+ 'Transaction reversal enforced up to' => 'E dátumig utasítja vissza a tranzakciókat',
+ 'Transactions exist; cannot delete account!' => 'A számlához tranzakciók tartoznak, nem lehet törölni!',
+ 'Weight Unit' => 'Súlyegység',
+ 'Year End' => 'Évzárás',
+ 'Yes' => 'Igen',
+ 'does not exist' => 'nem létezik',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_gifi' => 'add_gifi',
+ 'audit_control' => 'audit_control',
+ 'backup' => 'backup',
+ 'config' => 'config',
+ 'continue' => 'continue',
+ 'copy_to_coa' => 'copy_to_coa',
+ 'delete' => 'delete',
+ 'delete_account' => 'delete_account',
+ 'delete_gifi' => 'delete_gifi',
+ 'display_form' => 'display_form',
+ 'display_stylesheet' => 'display_stylesheet',
+ 'doclose' => 'doclose',
+ 'edit' => 'edit',
+ 'edit_gifi' => 'edit_gifi',
+ 'edit_template' => 'edit_template',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gifi_footer' => 'gifi_footer',
+ 'gifi_header' => 'gifi_header',
+ 'list' => 'list',
+ 'list_gifi' => 'list_gifi',
+ 'save' => 'save',
+ 'save_account' => 'save_account',
+ 'save_gifi' => 'save_gifi',
+ 'save_preferences' => 'save_preferences',
+ 'save_template' => 'save_template',
+ 'Új_számla' => 'add_account',
+ 'folytatás' => 'continue',
+ 'másolás_a_számlatükörbe' => 'copy_to_coa',
+ 'törlés' => 'delete',
+ 'módosítás' => 'edit',
+ 'számlaszám_módosítása' => 'edit_account',
+ 'mentés' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/hu/ap b/sql-ledger/locale/hu/ap
new file mode 100644
index 0000000..e39bd70
--- /dev/null
+++ b/sql-ledger/locale/hu/ap
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AP Transaction' => 'Szállító tranzakció',
+ 'AP Transactions' => 'Szállító tranzakciók',
+ 'Account' => 'Számla',
+ 'Add Accounts Payables Transaction' => 'Új szállító tranzakció',
+ 'Address' => 'Cím',
+ 'Amount' => 'Összeg',
+ 'Amount Due' => 'Esedékes összeg',
+ 'Apr' => 'Ápr.',
+ 'April' => 'Április',
+ 'Are you sure you want to delete Transaction' => 'Biztos, hogy törölni akarja? Tranzakció:',
+ 'Aug' => 'Aug.',
+ 'August' => 'Augusztus',
+ 'Cannot delete transaction!' => 'A tranzakciót nem lehet törölni!',
+ 'Cannot post payment for a closed period!' => 'A lezárt idõszakban nem lehet fizetést rögzíteni!',
+ 'Cannot post transaction for a closed period!' => 'A lezárt idõszakban nem lehet tranzakciót rögzíteni!!',
+ 'Cannot post transaction!' => 'A tranzakciót nem lehet rögzíteni!',
+ 'Closed' => 'Lezárt',
+ 'Confirm!' => 'Megerõsítés:',
+ 'Continue' => 'Folytatás',
+ 'Currency' => 'Deviza',
+ 'Customer not on file!' => 'A vevõ hiányzik az adatbázisból!',
+ 'Date' => 'Dátum',
+ 'Date Paid' => 'Fizetés napja',
+ 'Dec' => 'Dec.',
+ 'December' => 'December',
+ 'Delete' => 'Törlés',
+ 'Description' => 'Szöveges leírás',
+ 'Due Date' => 'Esedékesség',
+ 'Due Date missing!' => 'Esedékesség hiányzik!',
+ 'Edit Accounts Payables Transaction' => 'Szállító tranzakció módosítása',
+ 'Employee' => 'Alkalmazott',
+ 'Exch' => 'Árf',
+ 'Exchangerate' => 'Átváltási árfolyam',
+ 'Exchangerate for payment missing!' => 'A fizetett összeg átváltási árfolyama hiányzik!',
+ 'Exchangerate missing!' => 'Átváltási árfolyam hiányzik!',
+ 'Feb' => 'Feb.',
+ 'February' => 'Február',
+ 'From' => 'Mikortól:',
+ 'ID' => 'Azonosító',
+ 'Include in Report' => 'Oszlopok:',
+ 'Invoice' => 'Számla',
+ 'Invoice Date' => 'Teljesítés dátuma',
+ 'Invoice Date missing!' => 'Teljesítés dátuma hiányzik!',
+ 'Invoice Number' => 'Számlaszám',
+ 'Invoice Number missing!' => 'Számlaszám hiányzik!',
+ 'Jan' => 'Jan.',
+ 'January' => 'Január',
+ 'Jul' => 'Júl.',
+ 'July' => 'Július',
+ 'Jun' => 'Jún.',
+ 'June' => 'Június',
+ 'Mar' => 'Márc.',
+ 'March' => 'Március',
+ 'May' => 'Máj.',
+ 'May ' => 'Május',
+ 'Notes' => 'Megjegyzés',
+ 'Nov' => 'Nov.',
+ 'November' => 'November',
+ 'Number' => 'Szám',
+ 'Oct' => 'Okt.',
+ 'October' => 'Október',
+ 'Open' => 'Nyitott',
+ 'Order' => 'Rendelés',
+ 'Order Number' => 'Rendelés száma',
+ 'Paid' => 'Fizetve',
+ 'Payment date missing!' => 'Pénzmozgás dátuma hiányzik!',
+ 'Payments' => 'Kifizetések',
+ 'Post' => 'Rögzítés',
+ 'Post as new' => 'Rögzítés új tranzakcióként',
+ 'Project' => 'Munkaszám',
+ 'Project not on file!' => 'Munkaszám hiányzik az adatbázisból!',
+ 'Select from one of the names below' => 'Válasszon ki egyet az alábbi nevek közül',
+ 'Select from one of the projects below' => 'Válasszon ki egyet az alábbi munkaszámok közül',
+ 'Sep' => 'Szept.',
+ 'September' => 'Szeptember',
+ 'Source' => 'Bizonylatszám',
+ 'Subtotal' => 'Részösszeg',
+ 'Tax' => 'Adó',
+ 'Tax Included' => 'Adót tartalmazza',
+ 'Total' => 'Végösszeg',
+ 'Transaction deleted!' => 'Tranzakció törölve!',
+ 'Transaction posted!' => 'Tranzakció rögzítve!',
+ 'Update' => 'Frissítés',
+ 'Vendor' => 'Szállító',
+ 'Vendor Invoice' => 'Vendor Invoice',
+ 'Vendor missing!' => 'Szállító hiányzik!',
+ 'Vendor not on file!' => 'Szállító nincs az adatbázisban!',
+ 'Yes' => 'Igen',
+ 'to' => 'Meddig:',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_subtotal' => 'ap_subtotal',
+ 'ap_transaction' => 'ap_transaction',
+ 'ap_transactions' => 'ap_transactions',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'yes' => 'yes',
+ 'szállító_tranzakció' => 'ap_transaction',
+ 'Új_szállító_tranzakció' => 'add_accounts_payables_transaction',
+ 'folytatás' => 'continue',
+ 'törlés' => 'delete',
+ 'szállító_tranzakció_módosítása' => 'edit_accounts_payables_transaction',
+ 'rögzítés' => 'post',
+ 'rögzítés_új_tranzakcióként' => 'post_as_new',
+ 'frissítés' => 'update',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'igen' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/hu/ar b/sql-ledger/locale/hu/ar
new file mode 100644
index 0000000..2243070
--- /dev/null
+++ b/sql-ledger/locale/hu/ar
@@ -0,0 +1,134 @@
+$self{texts} = {
+ 'AR Transaction' => 'Vevõ tranzakció',
+ 'AR Transactions' => 'Vevõ tranzakciók',
+ 'Account' => 'Számla',
+ 'Add Accounts Receivables Transaction' => 'Új vevõ tranzakció',
+ 'Address' => 'Cím',
+ 'Amount' => 'Összeg',
+ 'Amount Due' => 'Esedékes összeg',
+ 'Apr' => 'Ápr.',
+ 'April' => 'Április',
+ 'Are you sure you want to delete Transaction' => 'Biztos, hogy törölni akarja? Tranzakció:',
+ 'Aug' => 'Aug.',
+ 'August' => 'Augusztus',
+ 'Cannot delete transaction!' => 'A tranzakciót nem lehet törölni!',
+ 'Cannot post payment for a closed period!' => 'A lezárt idõszakban nem lehet fizetést rögzíteni!',
+ 'Cannot post transaction for a closed period!' => 'A lezárt idõszakban nem lehet tranzakciót rögzíteni!!',
+ 'Cannot post transaction!' => 'A tranzakciót nem lehet rögzíteni!',
+ 'Closed' => 'Lezárt',
+ 'Confirm!' => 'Megerõsítés:',
+ 'Continue' => 'Folytatás',
+ 'Credit Limit' => 'Hitelkeret',
+ 'Currency' => 'Deviza',
+ 'Customer' => 'Vevõ',
+ 'Customer missing!' => 'Vevõ hiányzik!',
+ 'Customer not on file!' => 'A vevõ hiányzik az adatbázisból!',
+ 'Date' => 'Dátum',
+ 'Date Paid' => 'Fizetés napja',
+ 'Dec' => 'Dec.',
+ 'December' => 'December',
+ 'Delete' => 'Törlés',
+ 'Description' => 'Szöveges leírás',
+ 'Due Date' => 'Esedékesség',
+ 'Due Date missing!' => 'Esedékesség hiányzik!',
+ 'Edit Accounts Receivables Transaction' => 'Vevõ tranzakció módosítása',
+ 'Exch' => 'Árf',
+ 'Exchangerate' => 'Átváltási árfolyam',
+ 'Exchangerate for payment missing!' => 'A fizetett összeg átváltási árfolyama hiányzik!',
+ 'Exchangerate missing!' => 'Átváltási árfolyam hiányzik!',
+ 'Feb' => 'Feb.',
+ 'February' => 'Február',
+ 'From' => 'Mikortól:',
+ 'ID' => 'Azonosító',
+ 'Include in Report' => 'Oszlopok:',
+ 'Invoice' => 'Számla',
+ 'Invoice Date' => 'Teljesítés dátuma',
+ 'Invoice Date missing!' => 'Teljesítés dátuma hiányzik!',
+ 'Invoice Number' => 'Számlaszám',
+ 'Invoice Number missing!' => 'Számlaszám hiányzik!',
+ 'Jan' => 'Jan.',
+ 'January' => 'Január',
+ 'Jul' => 'Júl.',
+ 'July' => 'Július',
+ 'Jun' => 'Jún.',
+ 'June' => 'Június',
+ 'Mar' => 'Márc.',
+ 'March' => 'Március',
+ 'May' => 'Máj.',
+ 'May ' => 'Május',
+ 'Notes' => 'Megjegyzés',
+ 'Nov' => 'Nov.',
+ 'November' => 'November',
+ 'Number' => 'Szám',
+ 'Oct' => 'Okt.',
+ 'October' => 'Október',
+ 'Open' => 'Nyitott',
+ 'Order' => 'Rendelés',
+ 'Order Number' => 'Rendelés száma',
+ 'Paid' => 'Fizetve',
+ 'Payment date missing!' => 'Pénzmozgás dátuma hiányzik!',
+ 'Payments' => 'Kifizetések',
+ 'Post' => 'Rögzítés',
+ 'Post as new' => 'Rögzítés új tranzakcióként',
+ 'Project' => 'Munkaszám',
+ 'Project not on file!' => 'Munkaszám hiányzik az adatbázisból!',
+ 'Remaining' => 'Maradék',
+ 'Sales Invoice' => 'Számlázás',
+ 'Salesperson' => 'Salesperson',
+ 'Select from one of the names below' => 'Válasszon ki egyet az alábbi nevek közül',
+ 'Select from one of the projects below' => 'Válasszon ki egyet az alábbi munkaszámok közül',
+ 'Sep' => 'Szept.',
+ 'September' => 'Szeptember',
+ 'Ship via' => 'Szállítás innen:',
+ 'Source' => 'Bizonylatszám',
+ 'Subtotal' => 'Részösszeg',
+ 'Tax' => 'Adó',
+ 'Tax Included' => 'Adót tartalmazza',
+ 'Total' => 'Végösszeg',
+ 'Transaction deleted!' => 'Tranzakció törölve!',
+ 'Transaction posted!' => 'Tranzakció rögzítve!',
+ 'Update' => 'Frissítés',
+ 'Vendor not on file!' => 'Szállító nincs az adatbázisban!',
+ 'Yes' => 'Igen',
+ 'to' => 'Meddig:',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_subtotal' => 'ar_subtotal',
+ 'ar_transaction' => 'ar_transaction',
+ 'ar_transactions' => 'ar_transactions',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'yes' => 'yes',
+ 'vevõ_tranzakció' => 'ar_transaction',
+ 'folytatás' => 'continue',
+ 'törlés' => 'delete',
+ 'rögzítés' => 'post',
+ 'rögzítés_új_tranzakcióként' => 'post_as_new',
+ 'számlázás' => 'sales_invoice',
+ 'frissítés' => 'update',
+ 'igen' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/hu/arap b/sql-ledger/locale/hu/arap
new file mode 100644
index 0000000..9809e35
--- /dev/null
+++ b/sql-ledger/locale/hu/arap
@@ -0,0 +1,30 @@
+$self{texts} = {
+ 'Address' => 'Cím',
+ 'Continue' => 'Folytatás',
+ 'Customer not on file!' => 'A vevõ hiányzik az adatbázisból!',
+ 'Description' => 'Szöveges leírás',
+ 'Number' => 'Szám',
+ 'Project not on file!' => 'Munkaszám hiányzik az adatbázisból!',
+ 'Select from one of the names below' => 'Válasszon ki egyet az alábbi nevek közül',
+ 'Select from one of the projects below' => 'Válasszon ki egyet az alábbi munkaszámok közül',
+ 'Vendor not on file!' => 'Szállító nincs az adatbázisban!',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'project_selected' => 'project_selected',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'folytatás' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/hu/ca b/sql-ledger/locale/hu/ca
new file mode 100644
index 0000000..df4726c
--- /dev/null
+++ b/sql-ledger/locale/hu/ca
@@ -0,0 +1,50 @@
+$self{texts} = {
+ 'Account' => 'Számla',
+ 'Apr' => 'Ápr.',
+ 'April' => 'Április',
+ 'Aug' => 'Aug.',
+ 'August' => 'Augusztus',
+ 'Balance' => 'Egyenleg',
+ 'Chart of Accounts' => 'Számlatükör',
+ 'Credit' => 'Követel',
+ 'Date' => 'Dátum',
+ 'Debit' => 'Tartozik',
+ 'Dec' => 'Dec.',
+ 'December' => 'December',
+ 'Description' => 'Szöveges leírás',
+ 'Feb' => 'Feb.',
+ 'February' => 'Február',
+ 'From' => 'Mikortól:',
+ 'GIFI' => 'Gyûjtõkód',
+ 'Include in Report' => 'Oszlopok:',
+ 'Jan' => 'Jan.',
+ 'January' => 'Január',
+ 'Jul' => 'Júl.',
+ 'July' => 'Július',
+ 'Jun' => 'Jún.',
+ 'June' => 'Június',
+ 'List Transactions' => 'Tranzakciók listázása',
+ 'Mar' => 'Márc.',
+ 'March' => 'Március',
+ 'May' => 'Máj.',
+ 'May ' => 'Május',
+ 'Nov' => 'Nov.',
+ 'November' => 'November',
+ 'Oct' => 'Okt.',
+ 'October' => 'Október',
+ 'Reference' => 'Hivatkozás',
+ 'Sep' => 'Szept.',
+ 'September' => 'Szeptember',
+ 'Subtotal' => 'Részösszeg',
+ 'to' => 'Meddig:',
+};
+
+$self{subs} = {
+ 'ca_subtotal' => 'ca_subtotal',
+ 'chart_of_accounts' => 'chart_of_accounts',
+ 'list' => 'list',
+ 'list_transactions' => 'list_transactions',
+ 'tranzakciók_listázása' => 'list_transactions',
+};
+
+1;
diff --git a/sql-ledger/locale/hu/cp b/sql-ledger/locale/hu/cp
new file mode 100644
index 0000000..2a2b09a
--- /dev/null
+++ b/sql-ledger/locale/hu/cp
@@ -0,0 +1,77 @@
+$self{texts} = {
+ 'Account' => 'Számla',
+ 'Address' => 'Cím',
+ 'Amount' => 'Összeg',
+ 'Amount does not equal applied!' => 'Az összeg nem egyezik a kitöltött szám(ok) összegével',
+ 'Amount missing!' => 'Összeg hiányzik!',
+ 'Applied' => 'Kitöltés',
+ 'Cannot post payment!' => 'A pénzmozgást nem lehet rögzíteni',
+ 'Cannot process payment for a closed period!' => 'A pénzmozgást nem lehet lezárt idõszakban rögzíteni!',
+ 'Check' => 'Csekk',
+ 'Check printed!' => 'Csekk kinyomtatva!',
+ 'Check printing failed!' => 'A csekk nyomtatása nem sikerült!',
+ 'Continue' => 'Folytatás',
+ 'Currency' => 'Deviza',
+ 'Customer' => 'Vevõ',
+ 'Customer not on file!' => 'A vevõ hiányzik az adatbázisból!',
+ 'Date' => 'Dátum',
+ 'Date missing!' => 'Dátum hiányzik',
+ 'Description' => 'Szöveges leírás',
+ 'Due' => 'Esedékes',
+ 'Exchangerate' => 'Átváltási árfolyam',
+ 'From' => 'Mikortól:',
+ 'Invoice' => 'Számla',
+ 'Invoices' => 'Számlák',
+ 'Nothing applied!' => 'Nincs semmi kitöltve!',
+ 'Number' => 'Szám',
+ 'Paid in full' => 'Teljesen fizetve',
+ 'Payment' => 'Kifizetés',
+ 'Payment posted!' => 'Pénzmozgás rögzítve',
+ 'Post' => 'Rögzítés',
+ 'Print' => 'Nyomtatás',
+ 'Printer' => 'Nyomtató',
+ 'Project not on file!' => 'Munkaszám hiányzik az adatbázisból!',
+ 'Receipt' => 'Bevétel',
+ 'Receipt printed!' => 'Nyugta nyomtatva!',
+ 'Receipt printing failed!' => 'A nyugta nyomtatása nem sikerült!',
+ 'Reference' => 'Hivatkozás',
+ 'Screen' => 'Képernyõre',
+ 'Select from one of the names below' => 'Válasszon ki egyet az alábbi nevek közül',
+ 'Select from one of the projects below' => 'Válasszon ki egyet az alábbi munkaszámok közül',
+ 'Update' => 'Frissítés',
+ 'Vendor' => 'Szállító',
+ 'Vendor not on file!' => 'Szállító nincs az adatbázisban!',
+ 'to' => 'Meddig:',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'list_invoices' => 'list_invoices',
+ 'name_selected' => 'name_selected',
+ 'payment' => 'payment',
+ 'post' => 'post',
+ 'print' => 'print',
+ 'project_selected' => 'project_selected',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'vendor_details' => 'vendor_details',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'folytatás' => 'continue',
+ 'rögzítés' => 'post',
+ 'nyomtatás' => 'print',
+ 'frissítés' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/hu/ct b/sql-ledger/locale/hu/ct
new file mode 100644
index 0000000..55680ad
--- /dev/null
+++ b/sql-ledger/locale/hu/ct
@@ -0,0 +1,71 @@
+$self{texts} = {
+ 'Add' => 'Új',
+ 'Address' => 'Cím',
+ 'All' => 'Összes',
+ 'Bcc' => 'Titkos másolat',
+ 'Cannot delete customer!' => 'A vevõt nem lehet törölni!',
+ 'Cannot delete vendor!' => 'Szállítót nem lehet törölni!',
+ 'Cc' => 'Másolat',
+ 'Contact' => 'Kapcsolat',
+ 'Continue' => 'Folytatás',
+ 'Credit Limit' => 'Hitelkeret',
+ 'Customer deleted!' => 'Vevõ törölve!',
+ 'Customer saved!' => 'Vevõ elmentve!',
+ 'Customers' => 'Vevõadatok',
+ 'Delete' => 'Törlés',
+ 'Discount' => 'Engedmény',
+ 'E-mail' => 'E-mail',
+ 'Edit Customer' => 'Vevõ módosítása',
+ 'Edit Vendor' => 'Szállító módosítása',
+ 'Fax' => 'Fax',
+ 'Include in Report' => 'Oszlopok:',
+ 'Invoice' => 'Számla',
+ 'Name' => 'Név',
+ 'Name missing!' => 'Név hiányzik',
+ 'Notes' => 'Megjegyzés',
+ 'Number' => 'Szám',
+ 'Order' => 'Rendelés',
+ 'Orphaned' => 'Tranzakció nélküli',
+ 'Phone' => 'Telefon',
+ 'Save' => 'Mentés',
+ 'Ship to' => 'Szállítási cím',
+ 'Tax Included' => 'Adót tartalmazza',
+ 'Taxable' => 'Adó:',
+ 'Terms: Net' => 'Határidõ',
+ 'Transactions exist, cannot delete customer!' => 'A vevõhöz tranzakciók tartoznak, nem lehet törölni!',
+ 'Transactions exist, cannot delete vendor!' => 'A szállítóhoz tranzakciók tartoznak, nem lehet törölni!',
+ 'Vendor deleted!' => 'Szállító törölve!',
+ 'Vendor saved!' => 'Szállító elmentve!',
+ 'Vendors' => 'Szállítók',
+ 'days' => 'nap',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'customer_invoice' => 'customer_invoice',
+ 'customer_order' => 'customer_order',
+ 'delete' => 'delete',
+ 'delete_customer' => 'delete_customer',
+ 'delete_vendor' => 'delete_vendor',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'invoice' => 'invoice',
+ 'list_names' => 'list_names',
+ 'order' => 'order',
+ 'save' => 'save',
+ 'save_customer' => 'save_customer',
+ 'save_vendor' => 'save_vendor',
+ 'search' => 'search',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'vendor_order' => 'vendor_order',
+ 'Új' => 'add',
+ 'folytatás' => 'continue',
+ 'törlés' => 'delete',
+ 'számla' => 'invoice',
+ 'rendelés' => 'order',
+ 'mentés' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/hu/gl b/sql-ledger/locale/hu/gl
new file mode 100644
index 0000000..f62d538
--- /dev/null
+++ b/sql-ledger/locale/hu/gl
@@ -0,0 +1,124 @@
+$self{texts} = {
+ 'AP Transaction' => 'Szállító tranzakció',
+ 'AR Transaction' => 'Vevõ tranzakció',
+ 'Account' => 'Számla',
+ 'Add General Ledger Transaction' => 'Új fõkönyvi könyvelés',
+ 'Address' => 'Cím',
+ 'All' => 'Összes',
+ 'Apr' => 'Ápr.',
+ 'April' => 'Április',
+ 'Are you sure you want to delete Transaction' => 'Biztos, hogy törölni akarja? Tranzakció:',
+ 'Asset' => 'Eszköz',
+ 'Aug' => 'Aug.',
+ 'August' => 'Augusztus',
+ 'Balance' => 'Egyenleg',
+ 'Cannot delete transaction!' => 'A tranzakciót nem lehet törölni!',
+ 'Cannot have a value in both Debit and Credit!' => 'A Tartozik és Követel oldal is tartalmaz értéket!',
+ 'Cannot post a transaction without a value!' => 'Az összeg megadása nélkül nem lehet a tranzakciót rögzíteni!',
+ 'Cannot post transaction for a closed period!' => 'A lezárt idõszakban nem lehet tranzakciót rögzíteni!!',
+ 'Confirm!' => 'Megerõsítés:',
+ 'Continue' => 'Folytatás',
+ 'Credit' => 'Követel',
+ 'Customer not on file!' => 'A vevõ hiányzik az adatbázisból!',
+ 'Date' => 'Dátum',
+ 'Debit' => 'Tartozik',
+ 'Debit and credit out of balance!' => 'Tartozik Követel összege nem egyezik!',
+ 'Dec' => 'Dec.',
+ 'December' => 'December',
+ 'Delete' => 'Törlés',
+ 'Description' => 'Szöveges leírás',
+ 'Edit General Ledger Transaction' => 'Vegyes könyvelési tétel módosítása',
+ 'Equity' => 'Tõke',
+ 'Expense' => 'Költség',
+ 'Feb' => 'Feb.',
+ 'February' => 'Február',
+ 'From' => 'Mikortól:',
+ 'GIFI' => 'Gyûjtõkód',
+ 'GL Transaction' => 'Fõkönyvi tranzakció!',
+ 'General Ledger' => 'Fõkönyvi könyvelés',
+ 'ID' => 'Azonosító',
+ 'Include in Report' => 'Oszlopok:',
+ 'Income' => 'Árbevétel',
+ 'Jan' => 'Jan.',
+ 'January' => 'Január',
+ 'Jul' => 'Júl.',
+ 'July' => 'Július',
+ 'Jun' => 'Jún.',
+ 'June' => 'Június',
+ 'Liability' => 'Kötelezettség',
+ 'Mar' => 'Márc.',
+ 'March' => 'Március',
+ 'May' => 'Máj.',
+ 'May ' => 'Május',
+ 'Notes' => 'Megjegyzés',
+ 'Nov' => 'Nov.',
+ 'November' => 'November',
+ 'Number' => 'Szám',
+ 'Oct' => 'Okt.',
+ 'October' => 'Október',
+ 'Post' => 'Rögzítés',
+ 'Post as new' => 'Rögzítés új tranzakcióként',
+ 'Project' => 'Munkaszám',
+ 'Project not on file!' => 'Munkaszám hiányzik az adatbázisból!',
+ 'Reference' => 'Hivatkozás',
+ 'Reference missing!' => 'Hivatkozás hiányzik',
+ 'Reports' => 'Jelentések',
+ 'Sales Invoice' => 'Számlázás',
+ 'Select from one of the names below' => 'Válasszon ki egyet az alábbi nevek közül',
+ 'Select from one of the projects below' => 'Válasszon ki egyet az alábbi munkaszámok közül',
+ 'Sep' => 'Szept.',
+ 'September' => 'Szeptember',
+ 'Source' => 'Bizonylatszám',
+ 'Subtotal' => 'Részösszeg',
+ 'Transaction Date missing!' => 'Tranzakció dátuma hiányzik!',
+ 'Transaction deleted!' => 'Tranzakció törölve!',
+ 'Transaction posted!' => 'Tranzakció rögzítve!',
+ 'Update' => 'Frissítés',
+ 'Vendor Invoice' => 'Vendor Invoice',
+ 'Vendor not on file!' => 'Szállító nincs az adatbázisban!',
+ 'Yes' => 'Igen',
+ 'to' => 'Meddig:',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'form_row' => 'form_row',
+ 'generate_report' => 'generate_report',
+ 'gl_subtotal' => 'gl_subtotal',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'yes' => 'yes',
+ 'szállító_tranzakció' => 'ap_transaction',
+ 'vevõ_tranzakció' => 'ar_transaction',
+ 'folytatás' => 'continue',
+ 'törlés' => 'delete',
+ 'fõkönyvi_tranzakció!' => 'gl_transaction',
+ 'rögzítés' => 'post',
+ 'rögzítés_új_tranzakcióként' => 'post_as_new',
+ 'számlázás' => 'sales_invoice',
+ 'frissítés' => 'update',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'igen' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/hu/ic b/sql-ledger/locale/hu/ic
new file mode 100644
index 0000000..768ba21
--- /dev/null
+++ b/sql-ledger/locale/hu/ic
@@ -0,0 +1,205 @@
+$self{texts} = {
+ 'Active' => 'Aktív',
+ 'Add' => 'Új',
+ 'Add Assembly' => 'Új saját termék',
+ 'Add Part' => 'Új cikk',
+ 'Add Purchase Order' => 'Új beszerzési rendelés',
+ 'Add Sales Order' => 'Új vevõrendelés',
+ 'Add Service' => 'Új szolgáltatás',
+ 'Address' => 'Cím',
+ 'Apr' => 'Ápr.',
+ 'April' => 'Április',
+ 'Assemblies' => 'Saját termékek',
+ 'Assemblies restocked!' => 'Saját termékek készletre véve',
+ 'Assembly Number missing!' => 'Saját termékszám hiányzik!',
+ 'Attachment' => 'Csatolás',
+ 'Aug' => 'Aug.',
+ 'August' => 'Augusztus',
+ 'BOM' => 'BOM',
+ 'Bcc' => 'Titkos másolat',
+ 'Bin' => 'Bin',
+ 'Bought' => 'Vásárolt',
+ 'COGS' => 'ELÁBÉ',
+ 'Cannot delete item!' => 'A tételt nem lehet törölni!',
+ 'Cannot stock assemblies!' => 'A saját terméket nem lehet készletre venni!',
+ 'Cc' => 'Másolat',
+ 'Closed' => 'Lezárt',
+ 'Contact' => 'Kapcsolat',
+ 'Continue' => 'Folytatás',
+ 'Copies' => 'Másolatok',
+ 'Dec' => 'Dec.',
+ 'December' => 'December',
+ 'Delete' => 'Törlés',
+ 'Delivery Date' => 'Szállítás dátuma',
+ 'Description' => 'Szöveges leírás',
+ 'Drawing' => 'Rajz',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'E-mail cím hiányzik!',
+ 'Edit Assembly' => 'Saját termék módosítása',
+ 'Edit Part' => 'Cikk módosítása',
+ 'Edit Service' => 'Szolgáltatás módosítása',
+ 'Expense' => 'Költség',
+ 'Extended' => 'Összeg',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb.',
+ 'February' => 'Február',
+ 'From' => 'Mikortól:',
+ 'Group' => 'Group',
+ 'Group Items' => 'Group Items',
+ 'Image' => 'Kép',
+ 'In-line' => 'Beágyazva',
+ 'Include in Report' => 'Oszlopok:',
+ 'Income' => 'Árbevétel',
+ 'Individual Items' => 'Összetevõk',
+ 'Inventory' => 'Készlet',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'Mielõtt ezt a saját terméket elévültnek nyilvánítja,a mennyiségnek nullának kell lennie!',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'Mielõtt ezt az anyagot/árut elévültnek nyilvánítja,a mennyiségnek nullának kell lennie!!',
+ 'Invoice' => 'Számla',
+ 'Invoice Date missing!' => 'Teljesítés dátuma hiányzik!',
+ 'Invoice Number' => 'Számlaszám',
+ 'Invoice Number missing!' => 'Számlaszám hiányzik!',
+ 'Item deleted!' => 'Tétel törölve!',
+ 'Item not on file!' => 'A tétel nincs az adatbázisban!',
+ 'Jan' => 'Jan.',
+ 'January' => 'Január',
+ 'Jul' => 'Júl.',
+ 'July' => 'Július',
+ 'Jun' => 'Jún.',
+ 'June' => 'Június',
+ 'Last Cost' => 'Utolsó beszerzési ár',
+ 'Line Total' => 'Sor összesen',
+ 'Link Accounts' => 'Számlakapcsolatok',
+ 'List Price' => 'Listaár',
+ 'Make' => 'Gyártmány',
+ 'Mar' => 'Márc.',
+ 'March' => 'Március',
+ 'May' => 'Máj.',
+ 'May ' => 'Május',
+ 'Message' => 'Üzenet',
+ 'Microfiche' => 'Microfiche',
+ 'Model' => 'Modell',
+ 'Name' => 'Név',
+ 'No.' => 'Sz.',
+ 'Notes' => 'Megjegyzés',
+ 'Nov' => 'Nov.',
+ 'November' => 'November',
+ 'Number' => 'Szám',
+ 'Number missing in Row' => 'Ebbõl a sorból hiányzik a szám:',
+ 'Obsolete' => 'Elévült',
+ 'Oct' => 'Okt.',
+ 'October' => 'Október',
+ 'On Hand' => 'Készleten',
+ 'On Order' => 'Beszerzési rendelések',
+ 'Order' => 'Rendelés',
+ 'Order Date missing!' => 'Rendelés dátuma hiányzik!',
+ 'Order Number' => 'Rendelés száma',
+ 'Order Number missing!' => 'Rendelés száma hiányzik!',
+ 'Ordered' => 'Vevõrendelések',
+ 'Orphaned' => 'Tranzakció nélküli',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Szállítólevél',
+ 'Packing List Date missing!' => 'Szállítólevél dátuma hiányzik!',
+ 'Packing List Number missing!' => 'Szállítólevél száma hiányzik!',
+ 'Part' => 'Cikk',
+ 'Part Number missing!' => 'Cikk száma hiányzik!',
+ 'Parts' => 'Cikkek',
+ 'Phone' => 'Telefon',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Ár',
+ 'Printer' => 'Nyomtató',
+ 'Project' => 'Munkaszám',
+ 'Purchase Order' => 'Beszerzési rendelés',
+ 'Qty' => 'Menny.',
+ 'ROP' => 'Rendelési pont',
+ 'Recd' => 'Kapott',
+ 'Required by' => 'Leszállítás',
+ 'Sales' => 'Eladás',
+ 'Sales Order' => 'Vevõrendelés',
+ 'Save' => 'Mentés',
+ 'Save as new' => 'Mentés újként',
+ 'Screen' => 'Képernyõre',
+ 'Select from one of the items below' => 'Válasszon ki egyet az alábbi tételek közül',
+ 'Select postscript or PDF!' => 'Válassza ki a postscript vagy a PDF formátumot!',
+ 'Sell Price' => 'Eladási ár',
+ 'Sep' => 'Szept.',
+ 'September' => 'Szeptember',
+ 'Service' => 'Szolgáltatás',
+ 'Service Number missing!' => 'Szolgáltatás száma hiányzik!',
+ 'Services' => 'Szolgáltatások',
+ 'Ship' => 'Szállítás',
+ 'Ship to' => 'Szállítási cím',
+ 'Short' => 'Hiányzó',
+ 'Sold' => 'Eladva',
+ 'Stock' => 'Stock',
+ 'Stock Assembly' => 'Saját termék bevételezése',
+ 'Subject' => 'Tárgy',
+ 'Subtotal' => 'Részösszeg',
+ 'Tax' => 'Adó',
+ 'To' => 'Meddig:',
+ 'Top Level' => 'Legfelsõ szint',
+ 'Total' => 'Végösszeg',
+ 'Unit' => 'Egység',
+ 'Unit of measure' => 'Mértékegység',
+ 'Update' => 'Frissítés',
+ 'Updated' => 'Frissítve',
+ 'Weight' => 'Súly',
+ 'What type of item is this?' => 'Ez milyen típusú tétel?',
+ 'ea' => 'db',
+ 'emailed to' => 'e-mail küldve:',
+ 'hr' => 'óra',
+ 'sent to printer' => 'kinyomtatva',
+ 'to' => 'Meddig:',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'assembly_row' => 'assembly_row',
+ 'check_form' => 'check_form',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'link_part' => 'link_part',
+ 'list_assemblies' => 'list_assemblies',
+ 'makemodel_row' => 'makemodel_row',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'parts_subtotal' => 'parts_subtotal',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'restock_assemblies' => 'restock_assemblies',
+ 'save' => 'save',
+ 'save_as_new' => 'save_as_new',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'stock_assembly' => 'stock_assembly',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'Új' => 'add',
+ 'Új_saját_termék' => 'add_assembly',
+ 'Új_cikk' => 'add_part',
+ 'Új_szolgáltatás' => 'add_service',
+ 'folytatás' => 'continue',
+ 'törlés' => 'delete',
+ 'saját_termék_módosítása' => 'edit_assembly',
+ 'cikk_módosítása' => 'edit_part',
+ 'szolgáltatás_módosítása' => 'edit_service',
+ 'mentés' => 'save',
+ 'mentés_újként' => 'save_as_new',
+ 'frissítés' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/hu/io b/sql-ledger/locale/hu/io
new file mode 100644
index 0000000..c30d7e9
--- /dev/null
+++ b/sql-ledger/locale/hu/io
@@ -0,0 +1,108 @@
+$self{texts} = {
+ 'Add Purchase Order' => 'Új beszerzési rendelés',
+ 'Add Sales Order' => 'Új vevõrendelés',
+ 'Address' => 'Cím',
+ 'Apr' => 'Ápr.',
+ 'April' => 'Április',
+ 'Attachment' => 'Csatolás',
+ 'Aug' => 'Aug.',
+ 'August' => 'Augusztus',
+ 'Bcc' => 'Titkos másolat',
+ 'Bin' => 'Bin',
+ 'Cc' => 'Másolat',
+ 'Contact' => 'Kapcsolat',
+ 'Continue' => 'Folytatás',
+ 'Copies' => 'Másolatok',
+ 'Dec' => 'Dec.',
+ 'December' => 'December',
+ 'Delivery Date' => 'Szállítás dátuma',
+ 'Description' => 'Szöveges leírás',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'E-mail cím hiányzik!',
+ 'Extended' => 'Összeg',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb.',
+ 'February' => 'Február',
+ 'Group' => 'Group',
+ 'Group Items' => 'Group Items',
+ 'In-line' => 'Beágyazva',
+ 'Invoice' => 'Számla',
+ 'Invoice Date missing!' => 'Teljesítés dátuma hiányzik!',
+ 'Invoice Number missing!' => 'Számlaszám hiányzik!',
+ 'Item not on file!' => 'A tétel nincs az adatbázisban!',
+ 'Jan' => 'Jan.',
+ 'January' => 'Január',
+ 'Jul' => 'Júl.',
+ 'July' => 'Július',
+ 'Jun' => 'Jún.',
+ 'June' => 'Június',
+ 'Mar' => 'Márc.',
+ 'March' => 'Március',
+ 'May' => 'Máj.',
+ 'May ' => 'Május',
+ 'Message' => 'Üzenet',
+ 'Name' => 'Név',
+ 'No.' => 'Sz.',
+ 'Nov' => 'Nov.',
+ 'November' => 'November',
+ 'Number' => 'Szám',
+ 'Number missing in Row' => 'Ebbõl a sorból hiányzik a szám:',
+ 'Oct' => 'Okt.',
+ 'October' => 'Október',
+ 'Order' => 'Rendelés',
+ 'Order Date missing!' => 'Rendelés dátuma hiányzik!',
+ 'Order Number missing!' => 'Rendelés száma hiányzik!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Szállítólevél',
+ 'Packing List Date missing!' => 'Szállítólevél dátuma hiányzik!',
+ 'Packing List Number missing!' => 'Szállítólevél száma hiányzik!',
+ 'Part' => 'Cikk',
+ 'Phone' => 'Telefon',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Ár',
+ 'Printer' => 'Nyomtató',
+ 'Project' => 'Munkaszám',
+ 'Purchase Order' => 'Beszerzési rendelés',
+ 'Qty' => 'Menny.',
+ 'Recd' => 'Kapott',
+ 'Required by' => 'Leszállítás',
+ 'Sales Order' => 'Vevõrendelés',
+ 'Screen' => 'Képernyõre',
+ 'Select from one of the items below' => 'Válasszon ki egyet az alábbi tételek közül',
+ 'Select postscript or PDF!' => 'Válassza ki a postscript vagy a PDF formátumot!',
+ 'Sep' => 'Szept.',
+ 'September' => 'Szeptember',
+ 'Service' => 'Szolgáltatás',
+ 'Ship' => 'Szállítás',
+ 'Ship to' => 'Szállítási cím',
+ 'Subject' => 'Tárgy',
+ 'To' => 'Meddig:',
+ 'Unit' => 'Egység',
+ 'What type of item is this?' => 'Ez milyen típusú tétel?',
+ 'emailed to' => 'e-mail küldve:',
+ 'sent to printer' => 'kinyomtatva',
+};
+
+$self{subs} = {
+ 'check_form' => 'check_form',
+ 'customer_details' => 'customer_details',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'folytatás' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/hu/ir b/sql-ledger/locale/hu/ir
new file mode 100644
index 0000000..5e81745
--- /dev/null
+++ b/sql-ledger/locale/hu/ir
@@ -0,0 +1,180 @@
+$self{texts} = {
+ 'Account' => 'Számla',
+ 'Add Purchase Order' => 'Új beszerzési rendelés',
+ 'Add Sales Order' => 'Új vevõrendelés',
+ 'Add Vendor Invoice' => 'Add Vendor Invoice',
+ 'Address' => 'Cím',
+ 'Amount' => 'Összeg',
+ 'Apr' => 'Ápr.',
+ 'April' => 'Április',
+ 'Are you sure you want to delete Invoice Number' => 'Biztos, hogy törölni akarja? Számlaszám:',
+ 'Attachment' => 'Csatolás',
+ 'Aug' => 'Aug.',
+ 'August' => 'Augusztus',
+ 'Bcc' => 'Titkos másolat',
+ 'Bin' => 'Bin',
+ 'Cannot delete invoice!' => 'A partnerszámlát nem lehet törölni!',
+ 'Cannot post invoice for a closed period!' => 'A lezárt idõszakban nem lehet számlát kiállítani!',
+ 'Cannot post invoice!' => 'A partnerszámlát nem lehet kiállítani',
+ 'Cannot post payment for a closed period!' => 'A lezárt idõszakban nem lehet fizetést rögzíteni!',
+ 'Cc' => 'Másolat',
+ 'Confirm!' => 'Megerõsítés:',
+ 'Contact' => 'Kapcsolat',
+ 'Continue' => 'Folytatás',
+ 'Copies' => 'Másolatok',
+ 'Currency' => 'Deviza',
+ 'Customer not on file!' => 'A vevõ hiányzik az adatbázisból!',
+ 'Date' => 'Dátum',
+ 'Dec' => 'Dec.',
+ 'December' => 'December',
+ 'Delete' => 'Törlés',
+ 'Delivery Date' => 'Szállítás dátuma',
+ 'Description' => 'Szöveges leírás',
+ 'Due Date' => 'Esedékesség',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'E-mail cím hiányzik!',
+ 'Edit Vendor Invoice' => 'Edit Vendor Invoice',
+ 'Exch' => 'Árf',
+ 'Exchangerate' => 'Átváltási árfolyam',
+ 'Exchangerate for payment missing!' => 'A fizetett összeg átváltási árfolyama hiányzik!',
+ 'Exchangerate missing!' => 'Átváltási árfolyam hiányzik!',
+ 'Extended' => 'Összeg',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb.',
+ 'February' => 'Február',
+ 'Group' => 'Group',
+ 'Group Items' => 'Group Items',
+ 'In-line' => 'Beágyazva',
+ 'Invoice' => 'Számla',
+ 'Invoice Date' => 'Teljesítés dátuma',
+ 'Invoice Date missing!' => 'Teljesítés dátuma hiányzik!',
+ 'Invoice Number' => 'Számlaszám',
+ 'Invoice Number missing!' => 'Számlaszám hiányzik!',
+ 'Invoice deleted!' => 'Számla törölve!',
+ 'Invoice posted!' => 'Számla rögzítve!',
+ 'Item not on file!' => 'A tétel nincs az adatbázisban!',
+ 'Jan' => 'Jan.',
+ 'January' => 'Január',
+ 'Jul' => 'Júl.',
+ 'July' => 'Július',
+ 'Jun' => 'Jún.',
+ 'June' => 'Június',
+ 'Mar' => 'Márc.',
+ 'March' => 'Március',
+ 'May' => 'Máj.',
+ 'May ' => 'Május',
+ 'Message' => 'Üzenet',
+ 'Name' => 'Név',
+ 'No.' => 'Sz.',
+ 'Notes' => 'Megjegyzés',
+ 'Nov' => 'Nov.',
+ 'November' => 'November',
+ 'Number' => 'Szám',
+ 'Number missing in Row' => 'Ebbõl a sorból hiányzik a szám:',
+ 'Oct' => 'Okt.',
+ 'October' => 'Október',
+ 'Order' => 'Rendelés',
+ 'Order Date missing!' => 'Rendelés dátuma hiányzik!',
+ 'Order Number' => 'Rendelés száma',
+ 'Order Number missing!' => 'Rendelés száma hiányzik!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Szállítólevél',
+ 'Packing List Date missing!' => 'Szállítólevél dátuma hiányzik!',
+ 'Packing List Number missing!' => 'Szállítólevél száma hiányzik!',
+ 'Part' => 'Cikk',
+ 'Payment date missing!' => 'Pénzmozgás dátuma hiányzik!',
+ 'Payments' => 'Kifizetések',
+ 'Phone' => 'Telefon',
+ 'Post' => 'Rögzítés',
+ 'Post as new' => 'Rögzítés új tranzakcióként',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Ár',
+ 'Printer' => 'Nyomtató',
+ 'Project' => 'Munkaszám',
+ 'Project not on file!' => 'Munkaszám hiányzik az adatbázisból!',
+ 'Purchase Order' => 'Beszerzési rendelés',
+ 'Qty' => 'Menny.',
+ 'Recd' => 'Kapott',
+ 'Record in' => 'Feladás:',
+ 'Required by' => 'Leszállítás',
+ 'Sales Order' => 'Vevõrendelés',
+ 'Screen' => 'Képernyõre',
+ 'Select from one of the items below' => 'Válasszon ki egyet az alábbi tételek közül',
+ 'Select from one of the names below' => 'Válasszon ki egyet az alábbi nevek közül',
+ 'Select from one of the projects below' => 'Válasszon ki egyet az alábbi munkaszámok közül',
+ 'Select postscript or PDF!' => 'Válassza ki a postscript vagy a PDF formátumot!',
+ 'Sep' => 'Szept.',
+ 'September' => 'Szeptember',
+ 'Service' => 'Szolgáltatás',
+ 'Ship' => 'Szállítás',
+ 'Ship to' => 'Szállítási cím',
+ 'Source' => 'Bizonylatszám',
+ 'Subject' => 'Tárgy',
+ 'Subtotal' => 'Részösszeg',
+ 'Tax Included' => 'Adót tartalmazza',
+ 'To' => 'Meddig:',
+ 'Total' => 'Végösszeg',
+ 'Unit' => 'Egység',
+ 'Update' => 'Frissítés',
+ 'Vendor' => 'Szállító',
+ 'Vendor missing!' => 'Szállító hiányzik!',
+ 'Vendor not on file!' => 'Szállító nincs az adatbázisban!',
+ 'What type of item is this?' => 'Ez milyen típusú tétel?',
+ 'Yes' => 'Igen',
+ 'ea' => 'db',
+ 'emailed to' => 'e-mail küldve:',
+ 'sent to printer' => 'kinyomtatva',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'yes' => 'yes',
+ 'folytatás' => 'continue',
+ 'törlés' => 'delete',
+ 'rendelés' => 'order',
+ 'rögzítés' => 'post',
+ 'rögzítés_új_tranzakcióként' => 'post_as_new',
+ 'frissítés' => 'update',
+ 'igen' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/hu/is b/sql-ledger/locale/hu/is
new file mode 100644
index 0000000..54cc04a
--- /dev/null
+++ b/sql-ledger/locale/hu/is
@@ -0,0 +1,187 @@
+$self{texts} = {
+ 'Account' => 'Számla',
+ 'Add Purchase Order' => 'Új beszerzési rendelés',
+ 'Add Sales Invoice' => 'Új vevõszámla',
+ 'Add Sales Order' => 'Új vevõrendelés',
+ 'Address' => 'Cím',
+ 'Amount' => 'Összeg',
+ 'Apr' => 'Ápr.',
+ 'April' => 'Április',
+ 'Are you sure you want to delete Invoice Number' => 'Biztos, hogy törölni akarja? Számlaszám:',
+ 'Attachment' => 'Csatolás',
+ 'Aug' => 'Aug.',
+ 'August' => 'Augusztus',
+ 'Bcc' => 'Titkos másolat',
+ 'Bin' => 'Bin',
+ 'Cannot delete invoice!' => 'A partnerszámlát nem lehet törölni!',
+ 'Cannot post invoice for a closed period!' => 'A lezárt idõszakban nem lehet számlát kiállítani!',
+ 'Cannot post invoice!' => 'A partnerszámlát nem lehet kiállítani',
+ 'Cannot post payment for a closed period!' => 'A lezárt idõszakban nem lehet fizetést rögzíteni!',
+ 'Cc' => 'Másolat',
+ 'Confirm!' => 'Megerõsítés:',
+ 'Contact' => 'Kapcsolat',
+ 'Continue' => 'Folytatás',
+ 'Copies' => 'Másolatok',
+ 'Credit Limit' => 'Hitelkeret',
+ 'Currency' => 'Deviza',
+ 'Customer' => 'Vevõ',
+ 'Customer missing!' => 'Vevõ hiányzik!',
+ 'Customer not on file!' => 'A vevõ hiányzik az adatbázisból!',
+ 'Date' => 'Dátum',
+ 'Dec' => 'Dec.',
+ 'December' => 'December',
+ 'Delete' => 'Törlés',
+ 'Delivery Date' => 'Szállítás dátuma',
+ 'Description' => 'Szöveges leírás',
+ 'Due Date' => 'Esedékesség',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'E-mail cím hiányzik!',
+ 'Edit Sales Invoice' => 'Vevõszámla módosítása',
+ 'Exch' => 'Árf',
+ 'Exchangerate' => 'Átváltási árfolyam',
+ 'Exchangerate for payment missing!' => 'A fizetett összeg átváltási árfolyama hiányzik!',
+ 'Exchangerate missing!' => 'Átváltási árfolyam hiányzik!',
+ 'Extended' => 'Összeg',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb.',
+ 'February' => 'Február',
+ 'Group' => 'Group',
+ 'Group Items' => 'Group Items',
+ 'In-line' => 'Beágyazva',
+ 'Invoice' => 'Számla',
+ 'Invoice Date' => 'Teljesítés dátuma',
+ 'Invoice Date missing!' => 'Teljesítés dátuma hiányzik!',
+ 'Invoice Number' => 'Számlaszám',
+ 'Invoice Number missing!' => 'Számlaszám hiányzik!',
+ 'Invoice deleted!' => 'Számla törölve!',
+ 'Invoice posted!' => 'Számla rögzítve!',
+ 'Item not on file!' => 'A tétel nincs az adatbázisban!',
+ 'Jan' => 'Jan.',
+ 'January' => 'Január',
+ 'Jul' => 'Júl.',
+ 'July' => 'Július',
+ 'Jun' => 'Jún.',
+ 'June' => 'Június',
+ 'Mar' => 'Márc.',
+ 'March' => 'Március',
+ 'May' => 'Máj.',
+ 'May ' => 'Május',
+ 'Message' => 'Üzenet',
+ 'Name' => 'Név',
+ 'No.' => 'Sz.',
+ 'Notes' => 'Megjegyzés',
+ 'Nov' => 'Nov.',
+ 'November' => 'November',
+ 'Number' => 'Szám',
+ 'Number missing in Row' => 'Ebbõl a sorból hiányzik a szám:',
+ 'Oct' => 'Okt.',
+ 'October' => 'Október',
+ 'Order' => 'Rendelés',
+ 'Order Date missing!' => 'Rendelés dátuma hiányzik!',
+ 'Order Number' => 'Rendelés száma',
+ 'Order Number missing!' => 'Rendelés száma hiányzik!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Szállítólevél',
+ 'Packing List Date missing!' => 'Szállítólevél dátuma hiányzik!',
+ 'Packing List Number missing!' => 'Szállítólevél száma hiányzik!',
+ 'Part' => 'Cikk',
+ 'Payment date missing!' => 'Pénzmozgás dátuma hiányzik!',
+ 'Payments' => 'Kifizetések',
+ 'Phone' => 'Telefon',
+ 'Post' => 'Rögzítés',
+ 'Post as new' => 'Rögzítés új tranzakcióként',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Ár',
+ 'Print' => 'Nyomtatás',
+ 'Printer' => 'Nyomtató',
+ 'Project' => 'Munkaszám',
+ 'Project not on file!' => 'Munkaszám hiányzik az adatbázisból!',
+ 'Purchase Order' => 'Beszerzési rendelés',
+ 'Qty' => 'Menny.',
+ 'Recd' => 'Kapott',
+ 'Record in' => 'Feladás:',
+ 'Remaining' => 'Maradék',
+ 'Required by' => 'Leszállítás',
+ 'Sales Order' => 'Vevõrendelés',
+ 'Screen' => 'Képernyõre',
+ 'Select from one of the items below' => 'Válasszon ki egyet az alábbi tételek közül',
+ 'Select from one of the names below' => 'Válasszon ki egyet az alábbi nevek közül',
+ 'Select from one of the projects below' => 'Válasszon ki egyet az alábbi munkaszámok közül',
+ 'Select postscript or PDF!' => 'Válassza ki a postscript vagy a PDF formátumot!',
+ 'Sep' => 'Szept.',
+ 'September' => 'Szeptember',
+ 'Service' => 'Szolgáltatás',
+ 'Ship' => 'Szállítás',
+ 'Ship to' => 'Szállítási cím',
+ 'Ship via' => 'Szállítás innen:',
+ 'Source' => 'Bizonylatszám',
+ 'Subject' => 'Tárgy',
+ 'Subtotal' => 'Részösszeg',
+ 'Tax Included' => 'Adót tartalmazza',
+ 'To' => 'Meddig:',
+ 'Total' => 'Végösszeg',
+ 'Unit' => 'Egység',
+ 'Update' => 'Frissítés',
+ 'Vendor not on file!' => 'Szállító nincs az adatbázisban!',
+ 'What type of item is this?' => 'Ez milyen típusú tétel?',
+ 'Yes' => 'Igen',
+ 'ea' => 'db',
+ 'emailed to' => 'e-mail küldve:',
+ 'sent to printer' => 'kinyomtatva',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'yes' => 'yes',
+ 'folytatás' => 'continue',
+ 'törlés' => 'delete',
+ 'e_mail' => 'e_mail',
+ 'rendelés' => 'order',
+ 'rögzítés' => 'post',
+ 'rögzítés_új_tranzakcióként' => 'post_as_new',
+ 'nyomtatás' => 'print',
+ 'szállítási_cím' => 'ship_to',
+ 'frissítés' => 'update',
+ 'igen' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/hu/login b/sql-ledger/locale/hu/login
new file mode 100644
index 0000000..1b73088
--- /dev/null
+++ b/sql-ledger/locale/hu/login
@@ -0,0 +1,27 @@
+$self{texts} = {
+ 'About' => ' ',
+ 'Database Host' => 'Adatbázis helye',
+ 'Dataset' => 'Cégadatbázis',
+ 'Incorrect Dataset version!' => 'Érvénytelen adatbázisverzió!',
+ 'Incorrect Password!' => 'Érvénytelen jelszó!',
+ 'Licensed to' => 'Cég:',
+ 'Login' => 'Belépés',
+ 'Name' => 'Név',
+ 'Password' => 'Jelszó',
+ 'User' => 'Felhasználó',
+ 'Version' => 'Verzió',
+ 'You are logged out!' => 'Már kijelentkezett!',
+ 'You did not enter a name!' => 'Nem írt be nevet!',
+ 'is not a member!' => 'nem tag!',
+ 'localhost' => 'localhost',
+};
+
+$self{subs} = {
+ 'company_logo' => 'company_logo',
+ 'login' => 'login',
+ 'login_screen' => 'login_screen',
+ 'logout' => 'logout',
+ 'belépés' => 'login',
+};
+
+1;
diff --git a/sql-ledger/locale/hu/menu b/sql-ledger/locale/hu/menu
new file mode 100644
index 0000000..e1c3682
--- /dev/null
+++ b/sql-ledger/locale/hu/menu
@@ -0,0 +1,73 @@
+$self{texts} = {
+ 'AP' => 'Szállítók',
+ 'AP Aging' => 'Szállító lejárati lista',
+ 'AR' => 'Vevõk',
+ 'AR Aging' => 'Vevõ lejárati lista',
+ 'Accounting Menu' => 'Menü',
+ 'Add Account' => 'Új számla',
+ 'Add Assembly' => 'Új saját termék',
+ 'Add Customer' => 'Új vevõ',
+ 'Add GIFI' => 'Új gyûjtõkód',
+ 'Add Group' => 'Add Group',
+ 'Add Part' => 'Új cikk',
+ 'Add Project' => 'Új munkaszám',
+ 'Add Service' => 'Új szolgáltatás',
+ 'Add Transaction' => 'Új tranzakció',
+ 'Add Vendor' => 'Új szállító',
+ 'Assemblies' => 'Saját termékek',
+ 'Audit Control' => 'Audit Kontroll',
+ 'Backup' => 'Biztonsági másolat',
+ 'Balance Sheet' => 'Mérleg',
+ 'Cash' => 'Pénzmozgások',
+ 'Chart of Accounts' => 'Számlatükör',
+ 'Check' => 'Csekk',
+ 'Customers' => 'Vevõadatok',
+ 'General Ledger' => 'Fõkönyvi könyvelés',
+ 'Goods & Services' => 'Áruk & Szolgáltatások',
+ 'Groups' => 'Groups',
+ 'HTML Templates' => 'HTML sablonok',
+ 'Income Statement' => 'Eredménykimutatás',
+ 'Invoice' => 'Számla',
+ 'LaTeX Templates' => 'LaTeX sablonok',
+ 'List Accounts' => 'Számlák listázása',
+ 'List GIFI' => 'Gyûjtõkódok listázása',
+ 'Logout' => 'Kilépés',
+ 'Order Entry' => 'Rendelések',
+ 'Packing List' => 'Szállítólevél',
+ 'Parts' => 'Cikkek',
+ 'Payment' => 'Kifizetés',
+ 'Payments' => 'Kifizetések',
+ 'Preferences' => 'Beállítások',
+ 'Projects' => 'Munkaszámok',
+ 'Purchase Order' => 'Beszerzési rendelés',
+ 'Purchase Orders' => 'Beszerzési rendelések',
+ 'Receipt' => 'Bevétel',
+ 'Receipts' => 'Bevételek',
+ 'Reconciliation' => 'Egyeztetés',
+ 'Reports' => 'Jelentések',
+ 'Sales Invoice' => 'Számlázás',
+ 'Sales Order' => 'Vevõrendelés',
+ 'Sales Orders' => 'Vevõrendelések',
+ 'Save to File' => 'Másolat File-ba',
+ 'Send by E-Mail' => 'Másolat E-mail-ben',
+ 'Services' => 'Szolgáltatások',
+ 'Statement' => 'Kimutatás',
+ 'Stock Assembly' => 'Saját termék bevételezése',
+ 'Stylesheet' => 'Stíluslap',
+ 'System' => 'Törzsadatok',
+ 'Tax collected' => 'Fizetendõ ÁFA',
+ 'Tax paid' => 'Levonható ÁFA',
+ 'Transactions' => 'Tranzakciók',
+ 'Trial Balance' => 'Fõkönyvi kivonat',
+ 'Vendor Invoice' => 'Vendor Invoice',
+ 'Vendors' => 'Szállítók',
+ 'Version' => 'Verzió',
+};
+
+$self{subs} = {
+ 'acc_menu' => 'acc_menu',
+ 'display' => 'display',
+ 'section_menu' => 'section_menu',
+};
+
+1;
diff --git a/sql-ledger/locale/hu/oe b/sql-ledger/locale/hu/oe
new file mode 100644
index 0000000..c182bc6
--- /dev/null
+++ b/sql-ledger/locale/hu/oe
@@ -0,0 +1,202 @@
+$self{texts} = {
+ 'Add' => 'Új',
+ 'Add Purchase Order' => 'Új beszerzési rendelés',
+ 'Add Sales Invoice' => 'Új vevõszámla',
+ 'Add Sales Order' => 'Új vevõrendelés',
+ 'Add Vendor Invoice' => 'Add Vendor Invoice',
+ 'Address' => 'Cím',
+ 'Amount' => 'Összeg',
+ 'Apr' => 'Ápr.',
+ 'April' => 'Április',
+ 'Are you sure you want to delete Order Number' => 'Biztos, hogy törölni akarja? Megrendelésszám:',
+ 'Attachment' => 'Csatolás',
+ 'Aug' => 'Aug.',
+ 'August' => 'Augusztus',
+ 'Bcc' => 'Titkos másolat',
+ 'Bin' => 'Bin',
+ 'C' => 'C',
+ 'Cannot delete order!' => 'A rendelést nem lehet törölni!',
+ 'Cannot save order!' => 'A rendelést nem lehet elmenteni!',
+ 'Cc' => 'Másolat',
+ 'Closed' => 'Lezárt',
+ 'Confirm!' => 'Megerõsítés:',
+ 'Contact' => 'Kapcsolat',
+ 'Continue' => 'Folytatás',
+ 'Copies' => 'Másolatok',
+ 'Credit Limit' => 'Hitelkeret',
+ 'Curr' => 'Dev',
+ 'Currency' => 'Deviza',
+ 'Customer' => 'Vevõ',
+ 'Customer missing!' => 'Vevõ hiányzik!',
+ 'Customer not on file!' => 'A vevõ hiányzik az adatbázisból!',
+ 'Date' => 'Dátum',
+ 'Dec' => 'Dec.',
+ 'December' => 'December',
+ 'Delete' => 'Törlés',
+ 'Delivery Date' => 'Szállítás dátuma',
+ 'Description' => 'Szöveges leírás',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'E-mail cím hiányzik!',
+ 'Edit Purchase Order' => 'Beszerzési rendelés módosítása',
+ 'Edit Sales Order' => 'Vevõrendelés módosítása',
+ 'Exchangerate' => 'Átváltási árfolyam',
+ 'Exchangerate missing!' => 'Átváltási árfolyam hiányzik!',
+ 'Extended' => 'Összeg',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb.',
+ 'February' => 'Február',
+ 'From' => 'Mikortól:',
+ 'Group' => 'Group',
+ 'Group Items' => 'Group Items',
+ 'ID' => 'Azonosító',
+ 'In-line' => 'Beágyazva',
+ 'Include in Report' => 'Oszlopok:',
+ 'Invoice' => 'Számla',
+ 'Invoice Date missing!' => 'Teljesítés dátuma hiányzik!',
+ 'Invoice Number missing!' => 'Számlaszám hiányzik!',
+ 'Item not on file!' => 'A tétel nincs az adatbázisban!',
+ 'Jan' => 'Jan.',
+ 'January' => 'Január',
+ 'Jul' => 'Júl.',
+ 'July' => 'Július',
+ 'Jun' => 'Jún.',
+ 'June' => 'Június',
+ 'Mar' => 'Márc.',
+ 'March' => 'Március',
+ 'May' => 'Máj.',
+ 'May ' => 'Május',
+ 'Message' => 'Üzenet',
+ 'Name' => 'Név',
+ 'No.' => 'Sz.',
+ 'Notes' => 'Megjegyzés',
+ 'Nov' => 'Nov.',
+ 'November' => 'November',
+ 'Number' => 'Szám',
+ 'Number missing in Row' => 'Ebbõl a sorból hiányzik a szám:',
+ 'O' => 'Ny.',
+ 'Oct' => 'Okt.',
+ 'October' => 'Október',
+ 'Open' => 'Nyitott',
+ 'Order' => 'Rendelés',
+ 'Order Date' => 'Rendelés dátuma',
+ 'Order Date missing!' => 'Rendelés dátuma hiányzik!',
+ 'Order Number' => 'Rendelés száma',
+ 'Order Number missing!' => 'Rendelés száma hiányzik!',
+ 'Order deleted!' => 'Rendelés törölve!',
+ 'Order saved!' => 'Rendelés elmentve!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Szállítólevél',
+ 'Packing List Date missing!' => 'Szállítólevél dátuma hiányzik!',
+ 'Packing List Number missing!' => 'Szállítólevél száma hiányzik!',
+ 'Part' => 'Cikk',
+ 'Phone' => 'Telefon',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Ár',
+ 'Print' => 'Nyomtatás',
+ 'Printer' => 'Nyomtató',
+ 'Project' => 'Munkaszám',
+ 'Project not on file!' => 'Munkaszám hiányzik az adatbázisból!',
+ 'Purchase Order' => 'Beszerzési rendelés',
+ 'Purchase Orders' => 'Beszerzési rendelések',
+ 'Qty' => 'Menny.',
+ 'Recd' => 'Kapott',
+ 'Remaining' => 'Maradék',
+ 'Required by' => 'Leszállítás',
+ 'Sales Order' => 'Vevõrendelés',
+ 'Sales Orders' => 'Vevõrendelések',
+ 'Save' => 'Mentés',
+ 'Save as new' => 'Mentés újként',
+ 'Screen' => 'Képernyõre',
+ 'Select from one of the items below' => 'Válasszon ki egyet az alábbi tételek közül',
+ 'Select from one of the names below' => 'Válasszon ki egyet az alábbi nevek közül',
+ 'Select from one of the projects below' => 'Válasszon ki egyet az alábbi munkaszámok közül',
+ 'Select postscript or PDF!' => 'Válassza ki a postscript vagy a PDF formátumot!',
+ 'Sep' => 'Szept.',
+ 'September' => 'Szeptember',
+ 'Service' => 'Szolgáltatás',
+ 'Ship' => 'Szállítás',
+ 'Ship to' => 'Szállítási cím',
+ 'Ship via' => 'Szállítás innen:',
+ 'Subject' => 'Tárgy',
+ 'Subtotal' => 'Részösszeg',
+ 'Tax' => 'Adó',
+ 'Tax Included' => 'Adót tartalmazza',
+ 'Terms: Net' => 'Határidõ',
+ 'To' => 'Meddig:',
+ 'Total' => 'Végösszeg',
+ 'Unit' => 'Egység',
+ 'Update' => 'Frissítés',
+ 'Vendor' => 'Szállító',
+ 'Vendor missing!' => 'Szállító hiányzik!',
+ 'Vendor not on file!' => 'Szállító nincs az adatbázisban!',
+ 'What type of item is this?' => 'Ez milyen típusú tétel?',
+ 'Yes' => 'Igen',
+ 'days' => 'nap',
+ 'ea' => 'db',
+ 'emailed to' => 'e-mail küldve:',
+ 'sent to printer' => 'kinyomtatva',
+ 'to' => 'Meddig:',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_backorder' => 'create_backorder',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice' => 'invoice',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'order_links' => 'order_links',
+ 'orders' => 'orders',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_order' => 'prepare_order',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'sales_invoice' => 'sales_invoice',
+ 'save' => 'save',
+ 'save_as_new' => 'save_as_new',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'subtotal' => 'subtotal',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'yes' => 'yes',
+ 'Új' => 'add',
+ 'folytatás' => 'continue',
+ 'törlés' => 'delete',
+ 'e_mail' => 'e_mail',
+ 'számla' => 'invoice',
+ 'nyomtatás' => 'print',
+ 'mentés' => 'save',
+ 'mentés_újként' => 'save_as_new',
+ 'szállítási_cím' => 'ship_to',
+ 'frissítés' => 'update',
+ 'igen' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/hu/pe b/sql-ledger/locale/hu/pe
new file mode 100644
index 0000000..1105848
--- /dev/null
+++ b/sql-ledger/locale/hu/pe
@@ -0,0 +1,45 @@
+$self{texts} = {
+ 'Add' => 'Új',
+ 'Add Group' => 'Add Group',
+ 'Add Project' => 'Új munkaszám',
+ 'All' => 'Összes',
+ 'Continue' => 'Folytatás',
+ 'Delete' => 'Törlés',
+ 'Description' => 'Szöveges leírás',
+ 'Edit Group' => 'Edit Group',
+ 'Edit Project' => 'Projekt módosítása',
+ 'Group' => 'Group',
+ 'Group deleted!' => 'Group deleted!',
+ 'Group missing!' => 'Group missing!',
+ 'Group saved!' => 'Group saved!',
+ 'Groups' => 'Groups',
+ 'Number' => 'Szám',
+ 'Orphaned' => 'Tranzakció nélküli',
+ 'Project' => 'Munkaszám',
+ 'Project Number missing!' => 'Munkaszám száma hiányzik!',
+ 'Project deleted!' => 'Munkaszám törölve!',
+ 'Project saved!' => 'Munkaszám elmentve!',
+ 'Projects' => 'Munkaszámok',
+ 'Save' => 'Mentés',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'edit' => 'edit',
+ 'form_partsgroup_footer' => 'form_partsgroup_footer',
+ 'form_partsgroup_header' => 'form_partsgroup_header',
+ 'form_project_footer' => 'form_project_footer',
+ 'form_project_header' => 'form_project_header',
+ 'partsgroup_report' => 'partsgroup_report',
+ 'project_report' => 'project_report',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'Új' => 'add',
+ 'folytatás' => 'continue',
+ 'törlés' => 'delete',
+ 'mentés' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/hu/rc b/sql-ledger/locale/hu/rc
new file mode 100644
index 0000000..f9fc615
--- /dev/null
+++ b/sql-ledger/locale/hu/rc
@@ -0,0 +1,37 @@
+$self{texts} = {
+ 'Account' => 'Számla',
+ 'Balance' => 'Egyenleg',
+ 'Cleared Balance' => 'Egyeztetett egyenleg',
+ 'Continue' => 'Folytatás',
+ 'Date' => 'Dátum',
+ 'Deposit' => 'Betét',
+ 'Description' => 'Szöveges leírás',
+ 'Difference' => 'Eltérés',
+ 'Done' => 'Elvégezve',
+ 'Exchangerate Difference' => 'Árfolyamkülönbség',
+ 'From' => 'Mikortól:',
+ 'Out of balance!' => 'Az egyenleg nem stimmel!',
+ 'Payment' => 'Kifizetés',
+ 'Reconciliation' => 'Egyeztetés',
+ 'Select all' => 'Mindent kijelöl',
+ 'Source' => 'Bizonylatszám',
+ 'Statement Balance' => 'Kimutatás egyenlege',
+ 'Update' => 'Frissítés',
+ 'to' => 'Meddig:',
+};
+
+$self{subs} = {
+ 'continue' => 'continue',
+ 'display_form' => 'display_form',
+ 'done' => 'done',
+ 'get_payments' => 'get_payments',
+ 'reconciliation' => 'reconciliation',
+ 'select_all' => 'select_all',
+ 'update' => 'update',
+ 'folytatás' => 'continue',
+ 'elvégezve' => 'done',
+ 'mindent_kijelöl' => 'select_all',
+ 'frissítés' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/hu/rp b/sql-ledger/locale/hu/rp
new file mode 100644
index 0000000..3cdf7d4
--- /dev/null
+++ b/sql-ledger/locale/hu/rp
@@ -0,0 +1,119 @@
+$self{texts} = {
+ 'AP Aging' => 'Szállító lejárati lista',
+ 'AR Aging' => 'Vevõ lejárati lista',
+ 'Account' => 'Számla',
+ 'Accounts' => 'Számlák',
+ 'Amount' => 'Összeg',
+ 'Apr' => 'Ápr.',
+ 'April' => 'Április',
+ 'Attachment' => 'Csatolás',
+ 'Aug' => 'Aug.',
+ 'August' => 'Augusztus',
+ 'Balance' => 'Egyenleg',
+ 'Balance Sheet' => 'Mérleg',
+ 'Bcc' => 'Titkos másolat',
+ 'Cash based' => 'Pénzmozgás alapján',
+ 'Cc' => 'Másolat',
+ 'Compare to' => 'Összehasonlítva:',
+ 'Continue' => 'Folytatás',
+ 'Copies' => 'Másolatok',
+ 'Credit' => 'Követel',
+ 'Current' => 'Nem lejárt',
+ 'Customer' => 'Vevõ',
+ 'Date' => 'Dátum',
+ 'Debit' => 'Tartozik',
+ 'Dec' => 'Dec.',
+ 'December' => 'December',
+ 'Decimalplaces' => 'Tizedeshelyek',
+ 'Description' => 'Szöveges leírás',
+ 'Due' => 'Esedékes',
+ 'E-mail' => 'E-mail',
+ 'E-mail Statement to' => 'Kimutatás küldése e-mail-ben:',
+ 'Feb' => 'Feb.',
+ 'February' => 'Február',
+ 'From' => 'Mikortól:',
+ 'GIFI' => 'Gyûjtõkód',
+ 'Heading' => 'Fejléc',
+ 'ID' => 'Azonosító',
+ 'In-line' => 'Beágyazva',
+ 'Include in Report' => 'Oszlopok:',
+ 'Income Statement' => 'Eredménykimutatás',
+ 'Invoice' => 'Számla',
+ 'Jan' => 'Jan.',
+ 'January' => 'Január',
+ 'Jul' => 'Júl.',
+ 'July' => 'Július',
+ 'Jun' => 'Jún.',
+ 'June' => 'Június',
+ 'Mar' => 'Márc.',
+ 'March' => 'Március',
+ 'May' => 'Máj.',
+ 'May ' => 'Május',
+ 'Message' => 'Üzenet',
+ 'N/A' => 'N/A',
+ 'Nothing selected!' => 'Nincs semmi kiválasztva!',
+ 'Nov' => 'Nov.',
+ 'November' => 'November',
+ 'Oct' => 'Okt.',
+ 'October' => 'Október',
+ 'PDF' => 'PDF',
+ 'Payments' => 'Kifizetések',
+ 'Postscript' => 'Postscript',
+ 'Print' => 'Nyomtatás',
+ 'Printer' => 'Nyomtató',
+ 'Project Number' => 'Munkaszám',
+ 'Receipts' => 'Bevételek',
+ 'Report for' => 'Jelentés:',
+ 'Retained Earnings' => 'Adózás elõtti eredmény',
+ 'Screen' => 'Képernyõre',
+ 'Select all' => 'Mindent kijelöl',
+ 'Select postscript or PDF!' => 'Válassza ki a postscript vagy a PDF formátumot!',
+ 'Sep' => 'Szept.',
+ 'September' => 'Szeptember',
+ 'Source' => 'Bizonylatszám',
+ 'Standard' => 'Sztenderd',
+ 'Statement' => 'Kimutatás',
+ 'Statement sent to' => 'Kimutatás elküldve:',
+ 'Statements sent to printer!' => 'Kimutatás kinyomtatva!',
+ 'Subject' => 'Tárgy',
+ 'Subtotal' => 'Részösszeg',
+ 'Tax' => 'Adó',
+ 'Tax collected' => 'Fizetendõ ÁFA',
+ 'Tax paid' => 'Levonható ÁFA',
+ 'Total' => 'Végösszeg',
+ 'Trial Balance' => 'Fõkönyvi kivonat',
+ 'Vendor' => 'Szállító',
+ 'as at' => 'Fordulónap:',
+ 'collected on sales' => 'vevõszámlák alapján',
+ 'for Period' => 'Idõszak:',
+ 'paid on purchases' => 'szállítószámlák alapján',
+ 'to' => 'Meddig:',
+};
+
+$self{subs} = {
+ 'aging' => 'aging',
+ 'continue' => 'continue',
+ 'e_mail' => 'e_mail',
+ 'generate_ap_aging' => 'generate_ap_aging',
+ 'generate_ar_aging' => 'generate_ar_aging',
+ 'generate_balance_sheet' => 'generate_balance_sheet',
+ 'generate_income_statement' => 'generate_income_statement',
+ 'generate_tax_report' => 'generate_tax_report',
+ 'generate_trial_balance' => 'generate_trial_balance',
+ 'list_accounts' => 'list_accounts',
+ 'list_payments' => 'list_payments',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'report' => 'report',
+ 'select_all' => 'select_all',
+ 'send_email' => 'send_email',
+ 'statement_details' => 'statement_details',
+ 'tax_subtotal' => 'tax_subtotal',
+ 'folytatás' => 'continue',
+ 'e_mail' => 'e_mail',
+ 'nyomtatás' => 'print',
+ 'mindent_kijelöl' => 'select_all',
+};
+
+1;
diff --git a/sql-ledger/locale/is/COPYING b/sql-ledger/locale/is/COPYING
new file mode 100644
index 0000000..1992b50
--- /dev/null
+++ b/sql-ledger/locale/is/COPYING
@@ -0,0 +1,23 @@
+######################################################################
+# SQL-Ledger Accounting
+# Copyright (c) 2003
+#
+# Icelandic texts:
+#
+# Author: Margeir Reynisson <margeir@met.is>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+#######################################################################
+
diff --git a/sql-ledger/locale/is/LANGUAGE b/sql-ledger/locale/is/LANGUAGE
new file mode 100644
index 0000000..b91caef
--- /dev/null
+++ b/sql-ledger/locale/is/LANGUAGE
@@ -0,0 +1 @@
+Icelandic
diff --git a/sql-ledger/locale/is/admin b/sql-ledger/locale/is/admin
new file mode 100644
index 0000000..ddf4c1a
--- /dev/null
+++ b/sql-ledger/locale/is/admin
@@ -0,0 +1,124 @@
+$self{texts} = {
+ 'Access Control' => 'Aðgangsheimildir',
+ 'Accounting' => 'Bókhald',
+ 'Add User' => 'Nýr notandi',
+ 'Address' => 'Heimilisfang',
+ 'Administration' => 'Kerfisstjórnun',
+ 'Administrator' => 'Kerfisstjóri',
+ 'All Datasets up to date!' => 'Öll gagnasöfn uppfærð',
+ 'Change Admin Password' => 'Breyta kerfisstjóra lykilorði',
+ 'Change Password' => 'Breyta lykilorði',
+ 'Character Set' => 'Stafaset',
+ 'Click on login name to edit!' => 'Smellið á notendanafn til þess að breyta',
+ 'Company' => 'Fyritæki',
+ 'Connect to' => 'Tengjast við',
+ 'Continue' => 'Áfram',
+ 'Create Chart of Accounts' => 'Búa til lykklasett',
+ 'Create Dataset' => 'Búa til gagnasafn',
+ 'DBI not installed!' => 'DBI ekki virkt',
+ 'Database' => 'Gagnagrunnur',
+ 'Database Administration' => 'Kerfisstjórn gagnagrunns',
+ 'Database Driver not checked!' => 'Gagnagrunnstengi ekki athugað',
+ 'Database User missing!' => 'Gagnagrunns notanda vantar!',
+ 'Dataset' => 'Gagnasafn',
+ 'Dataset missing!' => 'Gagnasafn vantar!',
+ 'Dataset updated!' => 'gagnasafn uppfært!',
+ 'Date Format' => 'Dagsetningarform',
+ 'Delete' => 'Eyða',
+ 'Delete Dataset' => 'Eyða gagnasafni',
+ 'Directory' => 'Mapa',
+ 'Driver' => 'Driver',
+ 'Dropdown Limit' => 'Takmörk fyrir valmynd',
+ 'E-mail' => 'R-póstur',
+ 'Edit User' => 'Breyta notanda',
+ 'Existing Datasets' => 'Hætta með gagnasafn',
+ 'Fax' => 'Símbréf',
+ 'Host' => 'Netþjónn',
+ 'Hostname missing!' => 'Nafn netþjóns vantar',
+ 'Incorrect Password!' => 'Rangt lykilorð',
+ 'Language' => 'Túngumál',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Setjið engar upplýsingar í netþjónn og port nema um sé að ræða annan netþjón.',
+ 'Login' => 'Tengjast',
+ 'Multibyte Encoding' => 'Multibyte Encoding',
+ 'Name' => 'Nafn',
+ 'New Templates' => 'Nýtt skabalón',
+ 'No Database Drivers available!' => 'Engin gagnagrunnstengin til',
+ 'No Dataset selected!' => 'Ekkert gagnasafn valið',
+ 'Nothing to delete!' => 'Ekkert til þess að eyða!',
+ 'Number Format' => 'Númera útlit',
+ 'Oracle Database Administration' => 'Oracle kerfisstjórnun á gagnagrunni',
+ 'Password' => 'Aðgangsorð',
+ 'Password changed!' => 'Aðgangsorði breytt',
+ 'Pg Database Administration' => 'Pg kerfisstjórnun gagnarunns',
+ 'Phone' => 'Sími.',
+ 'Port' => 'Port',
+ 'Port missing!' => 'Port vantar',
+ 'Printer' => 'Prentari',
+ 'Save' => 'Geyma',
+ 'Select a Dataset to delete and press "Continue"' => 'Veljið gagnasafn og ýtið á "Áfram"',
+ 'Setup Templates' => 'Skabalón fyrir uppsetningu',
+ 'Ship via' => 'Senda með',
+ 'Signature' => 'Undirskrift',
+ 'Stylesheet' => 'Stílblað',
+ 'Templates' => 'Skabalón',
+ 'The following Datasets are not in use and can be deleted' => 'Eftirfarandi gagnasöfn eru ekki í notkunn og er því ekki hægt að eyða þeim',
+ 'The following Datasets need to be updated' => 'Eftirfarandi gagnasafn þarfnast uppfærslu',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'Engu verður eytt eða breytt með þessu ',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'Þú getur notað notanda sem til er til þess að útbúa nýjan notanda með þvi að breyta bara notendanafninu.',
+ 'Update Dataset' => 'Uppfæra gagnasafn',
+ 'Use Templates' => 'Nota skabalón',
+ 'User' => 'Notandi',
+ 'User deleted!' => 'Notanda eytt!',
+ 'User saved!' => 'Notandi geymdur!',
+ 'Version' => 'Útgáfa',
+ 'You must enter a host and port for local and remote connections!' => 'Þú verður að gefa upp netþjón of port til þess að geta tengst!',
+ 'does not exist' => 'er ekki til',
+ 'is already a member!' => 'er þegar meðlimur',
+ 'localhost' => 'lokal',
+ 'locked!' => 'læst',
+ 'successfully created!' => 'uppfært!',
+ 'successfully deleted!' => 'eytt!',
+ 'website' => 'á Internetinu',
+};
+
+$self{subs} = {
+ 'add_user' => 'add_user',
+ 'adminlogin' => 'adminlogin',
+ 'change_admin_password' => 'change_admin_password',
+ 'change_password' => 'change_password',
+ 'check_password' => 'check_password',
+ 'continue' => 'continue',
+ 'create_dataset' => 'create_dataset',
+ 'dbcreate' => 'dbcreate',
+ 'dbdelete' => 'dbdelete',
+ 'dbdriver_defaults' => 'dbdriver_defaults',
+ 'dbselect_source' => 'dbselect_source',
+ 'dbupdate' => 'dbupdate',
+ 'delete' => 'delete',
+ 'delete_dataset' => 'delete_dataset',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'get_value' => 'get_value',
+ 'list_users' => 'list_users',
+ 'login' => 'login',
+ 'login_name' => 'login_name',
+ 'oracle_database_administration' => 'oracle_database_administration',
+ 'pg_database_administration' => 'pg_database_administration',
+ 'save' => 'save',
+ 'update_dataset' => 'update_dataset',
+ 'nýr_notandi' => 'add_user',
+ 'breyta_kerfisstjóra_lykilorði' => 'change_admin_password',
+ 'breyta_lykilorði' => 'change_password',
+ 'Áfram' => 'continue',
+ 'búa_til_gagnasafn' => 'create_dataset',
+ 'eyða' => 'delete',
+ 'eyða_gagnasafni' => 'delete_dataset',
+ 'tengjast' => 'login',
+ 'oracle_kerfisstjórnun_á_gagnagrunni' => 'oracle_database_administration',
+ 'pg_kerfisstjórnun_gagnarunns' => 'pg_database_administration',
+ 'geyma' => 'save',
+ 'uppfæra_gagnasafn' => 'update_dataset',
+};
+
+1;
diff --git a/sql-ledger/locale/is/all b/sql-ledger/locale/is/all
new file mode 100644
index 0000000..4fc7b2d
--- /dev/null
+++ b/sql-ledger/locale/is/all
@@ -0,0 +1,496 @@
+# These are all the texts to build the translations files.
+# The file has the form of 'english text' => 'foreign text',
+# you can add the translation in this file or in the 'missing' file
+# run locales.pl from this directory to rebuild the translation files
+
+$self{texts} = {
+ 'AP' => 'Innkaupakerfi',
+ 'AP Aging' => 'Aldursgreining',
+ 'AP Transaction' => 'Innkaupafærsla',
+ 'AP Transactions' => 'Innkaupafærslur',
+ 'AR' => 'Sölukerfi',
+ 'AR Aging' => 'Aldursgreining',
+ 'AR Transaction' => 'Sölufærsla',
+ 'AR Transactions' => 'Sölufærslur',
+ 'About' => 'Um',
+ 'Access Control' => 'Aðgangsheimildir',
+ 'Account' => 'Reikningur',
+ 'Account Number' => 'Reikningsnúmer',
+ 'Account Number missing!' => 'Reikningsnúmer vantar!',
+ 'Account Type' => 'Reikningstegund',
+ 'Account Type missing!' => 'Reikningstegund vantar!',
+ 'Account deleted!' => 'Reikningi eytt!',
+ 'Account saved!' => 'Reikningur geymdur!',
+ 'Accounting' => 'Bókhald',
+ 'Accounting Menu' => 'Bókhalds valmynd',
+ 'Accounts' => 'Reikningar',
+ 'Active' => 'Virkja',
+ 'Add' => 'Nýr',
+ 'Add Account' => 'Nýr reikningur',
+ 'Add Accounts Payables Transaction' => 'Ný kredit færsla',
+ 'Add Accounts Receivables Transaction' => 'Ný debit færsla',
+ 'Add Assembly' => 'Ný samsetning',
+ 'Add Customer' => 'Nýr viðskiptavinur',
+ 'Add GIFI' => 'Ný GIFI',
+ 'Add General Ledger Transaction' => 'Ný höfuðfærsla',
+ 'Add Part' => 'Ný vara',
+ 'Add Project' => 'Nýt verkefni',
+ 'Add Purchase Invoice' => 'Nýr innkaupsreikningur',
+ 'Add Purchase Order' => 'Ný innkaupspöntun',
+ 'Add Sales Invoice' => 'Nýr sölureikningur',
+ 'Add Sales Order' => 'Ný sölupöntun',
+ 'Add Service' => 'Ný þjónusta',
+ 'Add Transaction' => 'Ný bókhaldsfærsla',
+ 'Add User' => 'Nýr notandi',
+ 'Add Vendor' => 'Nýr byrgir',
+ 'Address' => 'Heimilisfang',
+ 'Administration' => 'Kerfisstjórnun',
+ 'Administrator' => 'Kerfisstjóri',
+ 'All' => 'Allt',
+ 'All Datasets up to date!' => 'Öll gagnasöfn uppfærð',
+ 'Amount' => 'Upphæð',
+ 'Amount Due' => 'Eindagi',
+ 'Amount does not equal applied!' => 'Upphæð stemmir ekki!',
+ 'Amount missing!' => 'Reikning vantar!',
+ 'Applied' => 'Uppfært',
+ 'Apr' => 'apr',
+ 'April' => 'apríl',
+ 'Are you sure you want to delete Invoice Number' => 'Ert þú viss um að þú viljir eyða reikningi númer',
+ 'Are you sure you want to delete Order Number' => 'Ert þú viss um að þú viljir eyða pöntun númer',
+ 'Are you sure you want to delete Transaction' => 'Ert þú viss um að þú viljir eyða færslunni',
+ 'Assemblies' => 'Samsetningar',
+ 'Assemblies restocked!' => 'Samsetningar endurunnar',
+ 'Assembly Number missing!' => 'Samsetningar númer vantar',
+ 'Asset' => 'Eignir',
+ 'Attachment' => 'Hjálagt',
+ 'Audit Control' => 'Yfirlit stjórnun',
+ 'Aug' => 'ágú',
+ 'August' => 'ágúst',
+ 'BOM' => 'BOM',
+ 'Backup' => 'Afrit',
+ 'Backup sent to' => 'Afrit sendist til',
+ 'Balance' => 'Afstemming',
+ 'Balance Sheet' => 'Staða',
+ 'Bcc' => 'Blint afrit',
+ 'Bin' => 'Vörulager',
+ 'Books are open' => 'Bókhald er opið fyrir leiðréttingar',
+ 'Bought' => 'Keypt',
+ 'Business Number' => 'Viðskiptanúmer',
+ 'C' => 'C',
+ 'COGS' => 'Innkaup',
+ 'Cannot delete account!' => 'Get ekki eytt reikningi!',
+ 'Cannot delete customer!' => 'Get ekki eytt viðskiptavini!',
+ 'Cannot delete default account!' => 'Get ekki eytt grunnreikningi!',
+ 'Cannot delete invoice!' => 'Get ekki eytt sölureikningi!',
+ 'Cannot delete item already invoiced!' => 'Get ekki eytt hlut sem þegar er til á sölureikningi!',
+ 'Cannot delete item on order!' => 'Get ekki eytt hlut sem er í pöntun!',
+ 'Cannot delete item which is part of an assembly!' => 'Get ekki eytt hlut sem er partur af samsetningu!',
+ 'Cannot delete item!' => 'Get ekki eytt hlut!',
+ 'Cannot delete order!' => 'Get ekki eytt pöntun!',
+ 'Cannot delete transaction!' => 'Get ekki eytt færslu!',
+ 'Cannot delete vendor!' => 'Get ekki eytt framleiðanda!',
+ 'Cannot have a value in both Debit and Credit!' => 'Get ekki haft gildi bæði í debit og kredit!',
+ 'Cannot post a transaction without a value!' => 'Get ekki bókað án upphæðar',
+ 'Cannot post invoice for a closed period!' => 'Get ekki bókað á lokað tímabil!',
+ 'Cannot post invoice!' => 'Get ekki bókað sölureikning!',
+ 'Cannot post payment for a closed period!' => 'Get ekki bókað greiðslu á lokað tímabil',
+ 'Cannot post payment!' => 'Get ekki bókað greiðslu',
+ 'Cannot post transaction for a closed period!' => 'Get ekki bókað færslu á lokað tímabil!',
+ 'Cannot post transaction!' => 'Get ekki bókað færslu!',
+ 'Cannot process payment for a closed period!' => 'Get ekki meðhöndlað greiðslu fyrir lokað tímabil!',
+ 'Cannot save account!' => 'Get ekki geymt reikning!',
+ 'Cannot save order!' => 'Get ekki geymt pöntun!',
+ 'Cannot save preferences!' => 'Get ekki geymt uppsetningu!',
+ 'Cannot stock assemblies!' => 'Get ekki fært samsetningar',
+ 'Cash' => 'Reiðufé',
+ 'Cash based' => 'Reiðufétengt',
+ 'Cc' => 'Afrit',
+ 'Change Admin Password' => 'Breyta kerfisstjóra lykilorði',
+ 'Change Password' => 'Breyta lykilorði',
+ 'Character Set' => 'Stafaset',
+ 'Chart of Accounts' => 'Listi yfir lykkla/reikninga',
+ 'Check' => 'Ávísun',
+ 'Check printed!' => 'Ávísun prentuð',
+ 'Check printing failed!' => 'Villa við prentun á ávísun',
+ 'Cleared Balance' => 'Hreynsað jafvægi',
+ 'Click on login name to edit!' => 'Smellið á notendanafn til þess að breyta',
+ 'Close Books up to' => 'Loka bókhaldi til dags',
+ 'Closed' => 'Lokað',
+ 'Company' => 'Fyritæki',
+ 'Compare to' => 'Bera saman við',
+ 'Confirm!' => 'Staðfesta!',
+ 'Connect to' => 'Tengjast við',
+ 'Contact' => 'Talsmaður',
+ 'Continue' => 'Áfram',
+ 'Copies' => 'Afrit',
+ 'Copy to COA' => 'Afrita í COA',
+ 'Create Chart of Accounts' => 'Búa til lykklasett',
+ 'Create Dataset' => 'Búa til gagnasafn',
+ 'Credit' => 'Kredit',
+ 'Credit Limit' => 'Kreditmörk',
+ 'Curr' => 'Gjaldm',
+ 'Currency' => 'Gjaldmiðill',
+ 'Current' => 'Núvirði',
+ 'Customer' => 'Viðskiptavinur',
+ 'Customer deleted!' => 'Viðskiptavini eytt!',
+ 'Customer missing!' => 'Viðskiptavin vantar!',
+ 'Customer not on file!' => 'Viðskiptavinur ekki á skrá!',
+ 'Customer saved!' => 'Viðskiptavinur geymdur!',
+ 'Customers' => 'Viðskiptavinir',
+ 'DBI not installed!' => 'DBI ekki virkt',
+ 'Database' => 'Gagnagrunnur',
+ 'Database Administration' => 'Kerfisstjórn gagnagrunns',
+ 'Database Driver not checked!' => 'Gagnagrunnstengi ekki athugað',
+ 'Database Host' => 'Gagnagrunns-netþjónn',
+ 'Database User missing!' => 'Gagnagrunns notanda vantar!',
+ 'Dataset' => 'Gagnasafn',
+ 'Dataset missing!' => 'Gagnasafn vantar!',
+ 'Dataset updated!' => 'gagnasafn uppfært!',
+ 'Date' => 'Dagsetning',
+ 'Date Due' => 'Eindagi',
+ 'Date Format' => 'Dagsetningarform',
+ 'Date Paid' => 'Greiðsludagur',
+ 'Date missing!' => 'Dagsetningu vantar!',
+ 'Debit' => 'Debit',
+ 'Debit and credit out of balance!' => 'Debit og kredit skulu vera eins!',
+ 'Dec' => 'des',
+ 'December' => 'desember',
+ 'Decimalplaces' => 'Aukastafir',
+ 'Delete' => 'Eyða',
+ 'Delete Account' => 'Eyða reikningi',
+ 'Delete Dataset' => 'Eyða gagnasafni',
+ 'Delivery Date' => 'Afgreiðsludags.',
+ 'Department' => '',
+ 'Deposit' => 'Innlagt',
+ 'Description' => 'Skýringar',
+ 'Difference' => 'Mismunur',
+ 'Directory' => 'Mapa',
+ 'Discount' => 'Afsláttur',
+ 'Done' => 'Búið',
+ 'Drawing' => 'Dregið',
+ 'Driver' => 'Driver',
+ 'Dropdown Limit' => 'Takmörk fyrir valmynd',
+ 'Due' => 'Lokið',
+ 'Due Date' => 'Dags. lokið',
+ 'Due Date missing!' => 'Vantar dags. lokið!',
+ 'E-mail' => 'R-póstur',
+ 'E-mail Statement to' => 'Senda yfirlit til',
+ 'E-mail address missing!' => 'R-póst vantar!',
+ 'Edit' => 'Breyta',
+ 'Edit Account' => 'Breyta reikningi',
+ 'Edit Accounts Payables Transaction' => 'Breyta greiðslufærslum',
+ 'Edit Accounts Receivables Transaction' => 'Breyta inn-færslum',
+ 'Edit Assembly' => 'Breyta samsetningu',
+ 'Edit Customer' => 'Breyta viðskiptavini',
+ 'Edit GIFI' => 'Breyta GIFI',
+ 'Edit General Ledger Transaction' => 'Breyta yfitbókunar færslum',
+ 'Edit Part' => 'Breyta vöru',
+ 'Edit Preferences for' => 'Breyta uppsetningu fyrir',
+ 'Edit Project' => 'Breyta verkefni',
+ 'Edit Purchase Invoice' => 'Breyta innkaupareikningi',
+ 'Edit Purchase Order' => 'Breyta innkaupapöntun',
+ 'Edit Sales Invoice' => 'Breyta sölureikningi',
+ 'Edit Sales Order' => 'Breyta sölupöntun',
+ 'Edit Service' => 'Breyta þjónustu',
+ 'Edit Template' => 'Breyta skabalóni',
+ 'Edit User' => 'Breyta notanda',
+ 'Edit Vendor' => 'Breyta byrgja',
+ 'Employee' => 'Starfsmenn',
+ 'Enforce transaction reversal for all dates' => 'Gennemtving explicitte rettelser af posteringer for alle datoer',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Vinsamlega sláið inn 3 stafa nafn á gjaldeyri sem á að nota setji tvípúnkt á milli.',
+ 'Equity' => 'Eigiðfé',
+ 'Exch' => 'Vx',
+ 'Exchangerate' => 'Vextir',
+ 'Exchangerate Difference' => 'Vaxtamunur',
+ 'Exchangerate for payment missing!' => 'Vextir fyrir greiðslu vantar!',
+ 'Exchangerate missing!' => 'Vantar vexti!',
+ 'Existing Datasets' => 'Hætta með gagnasafn',
+ 'Expense' => 'Kostnaður',
+ 'Expense Account' => 'Kostnaðarreikningur',
+ 'Expense/Asset' => 'Kostnaður/Eignir',
+ 'Extended' => 'Framlengt',
+ 'Fax' => 'Símbréf',
+ 'Feb' => 'feb',
+ 'February' => 'febrúar',
+ 'Foreign Exchange Gain' => 'Gengishagnaður',
+ 'Foreign Exchange Loss' => 'Gengistap',
+ 'From' => 'Frá',
+ 'GIFI' => 'GIFI',
+ 'GIFI deleted!' => 'GIFI eytt!',
+ 'GIFI missing!' => 'GIFI vantar!',
+ 'GIFI saved!' => 'GIFI geymt!',
+ 'GL Transaction' => 'Færslur í aðalbók',
+ 'General Ledger' => 'Aðalbók',
+ 'Goods & Services' => 'Vörur og þjónusta',
+ 'HTML Templates' => 'HTML-skabalón',
+ 'Heading' => 'Yfirskriftir',
+ 'Host' => 'Netþjónn',
+ 'Hostname missing!' => 'Nafn netþjóns vantar',
+ 'ID' => 'ID',
+ 'Image' => 'Mynd',
+ 'In-line' => 'Inndregið',
+ 'Include in Report' => 'Innifela í skýrslu',
+ 'Include in drop-down menus' => 'Innifela í fellivalmynd',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Innifela þennan lykil hjá viðskiptavinum til þess að geta gert hann vask skildan',
+ 'Income' => 'Innkoma',
+ 'Income Account' => 'Inn reikningur',
+ 'Income Statement' => 'Inn yfirlýsing',
+ 'Incorrect Dataset version!' => 'Röng útgáfa af gagnasfni!',
+ 'Incorrect Password!' => 'Rangt lykilorð',
+ 'Individual Items' => 'Sjálfstæðir hlutir',
+ 'Inventory' => 'Lager',
+ 'Inventory Account' => 'Lagerlykill',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'Lagerbeholdning skal være nul for at du kan forælde denne sammensætning',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'Lagerbeholdning skal være nul for at du kan forælde denne enhed',
+ 'Inventory quantity must be zero!' => 'Lagerbeholdning skal være nul',
+ 'Invoice' => 'Sölureikningur',
+ 'Invoice Date' => 'Sölureikningur dags.',
+ 'Invoice Date missing!' => 'Sölureiknings dags. vantar!',
+ 'Invoice Number' => 'Sölureikningur Númer',
+ 'Invoice Number missing!' => 'Sölureikningsnúmer vantar!',
+ 'Invoice deleted!' => 'Sölureikningi eytt!',
+ 'Invoice posted!' => 'Sölureikningur bókfærður!',
+ 'Invoices' => 'Sölureikningar',
+ 'Is this a summary account to record' => 'Söfnunarreikningur fyrir',
+ 'Item deleted!' => 'Hlut eytt!',
+ 'Item not on file!' => 'Hlutur ekki á skrá!',
+ 'Jan' => 'jan',
+ 'January' => 'janúar',
+ 'Jul' => 'júl',
+ 'July' => 'júlí',
+ 'Jun' => 'jún',
+ 'June' => 'júní',
+ 'LaTeX Templates' => 'LaTeX-skabalón',
+ 'Language' => 'Túngumál',
+ 'Last Cost' => 'Síðasta verð',
+ 'Last Invoice Number' => 'Síðasta sölureiknings númer',
+ 'Last Numbers & Default Accounts' => 'Síðasta númer og sjálfgefin reikningur',
+ 'Last Purchase Order Number' => 'Síðasta innkaupa pöntunar númer´',
+ 'Last Sales Order Number' => 'Síðasta sölupöntunar númer',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Setjið engar upplýsingar í netþjónn og port nema um sé að ræða annan netþjón.',
+ 'Liability' => 'Passiv',
+ 'Licensed to' => 'Skráð á',
+ 'Line Total' => 'Samtals línur',
+ 'Link' => 'Tenglar',
+ 'Link Accounts' => 'Tengja lykla',
+ 'List Accounts' => 'Sýna lykla',
+ 'List GIFI' => 'Sýna GIFI',
+ 'List Price' => 'Sýna verð',
+ 'List Transactions' => 'Sýna færslur',
+ 'Login' => 'Tengjast',
+ 'Logout' => 'Aftengjast',
+ 'Make' => 'Tegund',
+ 'Mar' => 'mar',
+ 'March' => 'mars',
+ 'May' => 'maí',
+ 'May ' => 'maí',
+ 'Message' => 'Skilaboð',
+ 'Microfiche' => 'Mikrofilm',
+ 'Model' => 'Model',
+ 'Multibyte Encoding' => '',
+ 'N/A' => '',
+ 'Name' => 'Nafn',
+ 'Name missing!' => 'Nafn vantar!',
+ 'New Templates' => 'Nýtt skabalón',
+ 'No' => 'Nei',
+ 'No Database Drivers available!' => 'Engin gagnagrunnstengin til',
+ 'No Dataset selected!' => 'Ekkert gagnasafn valið',
+ 'No email address for' => 'Ekkert netfang fyrir',
+ 'No.' => 'Nr.',
+ 'Notes' => 'Upplýsinar',
+ 'Nothing applied!' => 'Ekkert bókað!',
+ 'Nothing selected!' => 'Ekkert valið!',
+ 'Nothing to delete!' => 'Ekkert til þess að eyða!',
+ 'Nov' => 'nóv',
+ 'November' => 'nóvember',
+ 'Number' => 'Númer',
+ 'Number Format' => 'Númera útlit',
+ 'Number missing in Row' => 'Tölu vantar í röð',
+ 'O' => 'O',
+ 'Obsolete' => 'Úrelt',
+ 'Oct' => 'ókt',
+ 'October' => 'óktóber',
+ 'On Hand' => 'Á lager',
+ 'On Order' => 'Í pöntun',
+ 'Open' => 'opna',
+ 'Oracle Database Administration' => 'Oracle kerfisstjórnun á gagnagrunni',
+ 'Order' => 'Pöntun',
+ 'Order Date' => 'Pöntunar dags.',
+ 'Order Date missing!' => 'Pöntunar dags. vantar',
+ 'Order Entry' => 'Pöntunarblað',
+ 'Order Number' => 'Pöntun númer',
+ 'Order Number missing!' => 'Númer pöntunar vantar',
+ 'Order deleted!' => 'Pöntun eytt',
+ 'Order saved!' => 'Pöntun geymd',
+ 'Ordered' => 'pantað',
+ 'Orphaned' => 'Sjáfstætt',
+ 'Out of balance!' => 'Ekki jafnvægi!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Fylgiseðill',
+ 'Packing List Date missing!' => 'Dags. fylgiseðils vantar!',
+ 'Packing List Number missing!' => 'Númer fylgiseðils vantar!',
+ 'Paid' => 'Greitt',
+ 'Paid in full' => 'Greitt að fullu',
+ 'Part' => 'Vara',
+ 'Part Number missing!' => 'Vörunúmer vantar!',
+ 'Parts' => 'Vörur',
+ 'Parts Inventory' => 'Vörulisti',
+ 'Password' => 'Aðgangsorð',
+ 'Password changed!' => 'Aðgangsorði breytt',
+ 'Payables' => 'Útistandandi',
+ 'Payment' => 'Greislur',
+ 'Payment date missing!' => 'Greiðsudags. vantar!',
+ 'Payment posted!' => 'Greiðsla bókuð',
+ 'Payments' => 'Greiðslur',
+ 'Pg Database Administration' => 'Pg kerfisstjórnun gagnarunns',
+ 'Phone' => 'Sími.',
+ 'Port' => 'Port',
+ 'Port missing!' => 'Port vantar',
+ 'Post' => 'Bókfæra',
+ 'Post as new' => 'Bókfæra sem nýjan',
+ 'Postscript' => 'Postscript',
+ 'Preferences' => 'Uppsetningar',
+ 'Preferences saved!' => 'Uppsetningar geymdar!',
+ 'Price' => 'Verð',
+ 'Print' => 'Prenta',
+ 'Printer' => 'Prentari',
+ 'Project' => 'Verkefni',
+ 'Project Number' => '',
+ 'Project Number missing!' => 'Verkefnisnúmer vantar!',
+ 'Project deleted!' => 'Verkefni eytt!',
+ 'Project not on file!' => 'Verkefni ekki á skrá!',
+ 'Project saved!' => 'verkefni geymt!',
+ 'Projects' => 'Verkefni',
+ 'Purchase Invoice' => 'Innkaupsreikningur',
+ 'Purchase Order' => 'Innkaupspöntun',
+ 'Purchase Orders' => 'Innkaupspantanir',
+ 'Qty' => 'Magn',
+ 'ROP' => '',
+ 'Rate' => 'Taxti',
+ 'Recd' => 'Mótt:',
+ 'Receipt' => 'Kvittun',
+ 'Receipt printed!' => '',
+ 'Receipt printing failed!' => '',
+ 'Receipts' => 'Kvittanir',
+ 'Receivables' => 'Innborganir',
+ 'Reconciliation' => 'Afstemingar',
+ 'Record in' => 'Bóka á',
+ 'Reference' => 'Fylgiskjal',
+ 'Reference missing!' => 'Fylgiskjal vantar',
+ 'Remaining' => 'Eftir',
+ 'Report for' => 'Skýrsla fyrir',
+ 'Reports' => 'Skýrslur',
+ 'Required by' => 'Pantað af',
+ 'Retained Earnings' => 'Realiseret overskud',
+ 'Sales' => 'Sala',
+ 'Sales Invoice' => 'Sölureikningur',
+ 'Sales Order' => 'Sölupöntun',
+ 'Sales Orders' => 'Sölupantanir',
+ 'Salesperson' => '',
+ 'Save' => 'Geyma',
+ 'Save as new' => 'Geyma sem nýtt',
+ 'Save to File' => 'Geyma í skrá',
+ 'Screen' => 'Skjá',
+ 'Select a Dataset to delete and press "Continue"' => 'Veljið gagnasafn og ýtið á "Áfram"',
+ 'Select all' => 'Velja allt',
+ 'Select from one of the items below' => 'Veljið einhver að neðangreindum hlutum, og ýtið á "Áfram"',
+ 'Select from one of the names below' => 'Veljið einhvað að neðangreindum nöfnum',
+ 'Select from one of the projects below' => 'Veljið einhvað að neðangreindum verkefnum',
+ 'Select postscript or PDF!' => 'Veljið postscript eða PDF',
+ 'Sell Price' => 'Söluverð',
+ 'Send by E-Mail' => 'Senda með rafpósti',
+ 'Sep' => 'sep',
+ 'September' => 'september',
+ 'Service' => 'Þjónusta',
+ 'Service Items' => 'Þjónustu hlutur',
+ 'Service Number missing!' => 'Þjónustunúmer vantar!',
+ 'Services' => 'Þjónustur',
+ 'Setup Templates' => 'Skabalón fyrir uppsetningu',
+ 'Ship' => 'Senda',
+ 'Ship to' => 'Senda til',
+ 'Ship via' => 'Senda með',
+ 'Short' => 'Stutt',
+ 'Signature' => 'Undirskrift',
+ 'Sold' => 'Selt',
+ 'Source' => 'Frálag',
+ 'Standard' => 'Standart',
+ 'Statement' => 'Uppgjör',
+ 'Statement Balance' => 'jöfnunaruppgjör',
+ 'Statement sent to' => 'Uppgjör sendist til',
+ 'Statements sent to printer!' => 'Uppgjör sendist á prentara',
+ 'Stock Assembly' => 'Lager samsetning',
+ 'Stylesheet' => 'Stílblað',
+ 'Subject' => 'Efni',
+ 'Subtotal' => 'Samtala',
+ 'System' => 'Kerfi',
+ 'Tax' => 'Virðisaukaskattur',
+ 'Tax Accounts' => 'VSK lykill',
+ 'Tax Included' => 'Taka með VSK',
+ 'Tax collected' => 'VSK samtals',
+ 'Tax paid' => 'VSK greitt',
+ 'Taxable' => 'Skatskildur',
+ 'Template saved!' => 'Skabalón geymt!',
+ 'Templates' => 'Skabalón',
+ 'Terms: Net' => 'Nettó',
+ 'The following Datasets are not in use and can be deleted' => 'Eftirfarandi gagnasöfn eru ekki í notkunn og er því ekki hægt að eyða þeim',
+ 'The following Datasets need to be updated' => 'Eftirfarandi gagnasafn þarfnast uppfærslu',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'Engu verður eytt eða breytt með þessu ',
+ 'To' => 'til',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'Þú getur notað notanda sem til er til þess að útbúa nýjan notanda með þvi að breyta bara notendanafninu.',
+ 'Top Level' => 'Efsta þrep',
+ 'Total' => 'Samtals',
+ 'Transaction Date missing!' => 'Dags. vantar!',
+ 'Transaction deleted!' => 'Færslu eytt!',
+ 'Transaction posted!' => 'Færsla bókfærð!',
+ 'Transaction reversal enforced for all dates' => 'Rettelser af posteringer skal altid bogføres explicit',
+ 'Transaction reversal enforced up to' => 'Rettelser af posteringer skal bogføres explicit indtil',
+ 'Transactions' => 'Færslur',
+ 'Transactions exist, cannot delete customer!' => 'Ekki er hægt að eyða viðskipamanni með færslur!',
+ 'Transactions exist, cannot delete vendor!' => 'Ekki er hægt að eyða byrgja með færslur!',
+ 'Transactions exist; cannot delete account!' => 'Ekki hægt að eyða reikningi með færslur!',
+ 'Trial Balance' => 'Prufu staða',
+ 'Unit' => 'Einingar',
+ 'Unit of measure' => 'Mælieining',
+ 'Update' => 'Uppfærsla',
+ 'Update Dataset' => 'Uppfæra gagnasafn',
+ 'Updated' => 'Uppfæra',
+ 'Use Templates' => 'Nota skabalón',
+ 'User' => 'Notandi',
+ 'User deleted!' => 'Notanda eytt!',
+ 'User saved!' => 'Notandi geymdur!',
+ 'Vendor' => 'Byrgir',
+ 'Vendor deleted!' => 'Byrgja eytt!',
+ 'Vendor missing!' => 'Byrgja vantar!',
+ 'Vendor not on file!' => 'Byrgir ekki til í gagnagrunni!',
+ 'Vendor saved!' => 'Byrgir geymdur!',
+ 'Vendors' => 'Byrgjar',
+ 'Version' => 'Útgáfa',
+ 'Weight' => 'Vigt',
+ 'Weight Unit' => 'Vigtareining',
+ 'What type of item is this?' => 'Hvernig hlutur er þetta?',
+ 'Year End' => 'Ársuppgjör',
+ 'Yes' => 'Já',
+ 'You are logged out!' => 'Þú ert loggaður út',
+ 'You did not enter a name!' => 'Þú gafst ekki upp nafn',
+ 'You must enter a host and port for local and remote connections!' => 'Þú verður að gefa upp netþjón of port til þess að geta tengst!',
+ 'as at' => 'líkt og með',
+ 'collected on sales' => 'samanlagt við sölu',
+ 'days' => 'dagar',
+ 'does not exist' => 'er ekki til',
+ 'ea' => 'stk',
+ 'emailed to' => 'sendist með rafpósti',
+ 'for Period' => 'fyrir tímabilið',
+ 'hr' => 'tími',
+ 'is already a member!' => 'er þegar meðlimur',
+ 'is not a member!' => 'er ekki meðlimur!',
+ 'localhost' => 'lokal',
+ 'locked!' => 'læst',
+ 'paid on purchases' => 'greitt við innkaup',
+ 'sent to printer' => 'sendist á prentara',
+ 'successfully created!' => 'uppfært!',
+ 'successfully deleted!' => 'eytt!',
+ 'to' => 'til',
+ 'website' => 'á Internetinu',
+};
+
+1;
diff --git a/sql-ledger/locale/is/am b/sql-ledger/locale/is/am
new file mode 100644
index 0000000..e8d66bf
--- /dev/null
+++ b/sql-ledger/locale/is/am
@@ -0,0 +1,139 @@
+$self{texts} = {
+ 'AP' => 'Innkaupakerfi',
+ 'AR' => 'Sölukerfi',
+ 'Account' => 'Reikningur',
+ 'Account Number' => 'Reikningsnúmer',
+ 'Account Number missing!' => 'Reikningsnúmer vantar!',
+ 'Account Type' => 'Reikningstegund',
+ 'Account Type missing!' => 'Reikningstegund vantar!',
+ 'Account deleted!' => 'Reikningi eytt!',
+ 'Account saved!' => 'Reikningur geymdur!',
+ 'Add Account' => 'Nýr reikningur',
+ 'Add GIFI' => 'Ný GIFI',
+ 'Address' => 'Heimilisfang',
+ 'Asset' => 'Eignir',
+ 'Audit Control' => 'Yfirlit stjórnun',
+ 'Backup sent to' => 'Afrit sendist til',
+ 'Books are open' => 'Bókhald er opið fyrir leiðréttingar',
+ 'Business Number' => 'Viðskiptanúmer',
+ 'COGS' => 'Innkaup',
+ 'Cannot delete account!' => 'Get ekki eytt reikningi!',
+ 'Cannot delete default account!' => 'Get ekki eytt grunnreikningi!',
+ 'Cannot save account!' => 'Get ekki geymt reikning!',
+ 'Cannot save preferences!' => 'Get ekki geymt uppsetningu!',
+ 'Character Set' => 'Stafaset',
+ 'Chart of Accounts' => 'Listi yfir lykkla/reikninga',
+ 'Close Books up to' => 'Loka bókhaldi til dags',
+ 'Company' => 'Fyritæki',
+ 'Continue' => 'Áfram',
+ 'Copy to COA' => 'Afrita í COA',
+ 'Credit' => 'Kredit',
+ 'Date Format' => 'Dagsetningarform',
+ 'Debit' => 'Debit',
+ 'Delete' => 'Eyða',
+ 'Delete Account' => 'Eyða reikningi',
+ 'Description' => 'Skýringar',
+ 'Dropdown Limit' => 'Takmörk fyrir valmynd',
+ 'E-mail' => 'R-póstur',
+ 'Edit' => 'Breyta',
+ 'Edit Account' => 'Breyta reikningi',
+ 'Edit GIFI' => 'Breyta GIFI',
+ 'Edit Preferences for' => 'Breyta uppsetningu fyrir',
+ 'Edit Template' => 'Breyta skabalóni',
+ 'Enforce transaction reversal for all dates' => 'Gennemtving explicitte rettelser af posteringer for alle datoer',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Vinsamlega sláið inn 3 stafa nafn á gjaldeyri sem á að nota setji tvípúnkt á milli.',
+ 'Equity' => 'Eigiðfé',
+ 'Expense' => 'Kostnaður',
+ 'Expense Account' => 'Kostnaðarreikningur',
+ 'Expense/Asset' => 'Kostnaður/Eignir',
+ 'Fax' => 'Símbréf',
+ 'Foreign Exchange Gain' => 'Gengishagnaður',
+ 'Foreign Exchange Loss' => 'Gengistap',
+ 'GIFI' => 'GIFI',
+ 'GIFI deleted!' => 'GIFI eytt!',
+ 'GIFI missing!' => 'GIFI vantar!',
+ 'GIFI saved!' => 'GIFI geymt!',
+ 'Heading' => 'Yfirskriftir',
+ 'Include in drop-down menus' => 'Innifela í fellivalmynd',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Innifela þennan lykil hjá viðskiptavinum til þess að geta gert hann vask skildan',
+ 'Income' => 'Innkoma',
+ 'Income Account' => 'Inn reikningur',
+ 'Inventory' => 'Lager',
+ 'Inventory Account' => 'Lagerlykill',
+ 'Is this a summary account to record' => 'Söfnunarreikningur fyrir',
+ 'Language' => 'Túngumál',
+ 'Last Invoice Number' => 'Síðasta sölureiknings númer',
+ 'Last Numbers & Default Accounts' => 'Síðasta númer og sjálfgefin reikningur',
+ 'Last Purchase Order Number' => 'Síðasta innkaupa pöntunar númer´',
+ 'Last Sales Order Number' => 'Síðasta sölupöntunar númer',
+ 'Liability' => 'Passiv',
+ 'Link' => 'Tenglar',
+ 'Name' => 'Nafn',
+ 'No' => 'Nei',
+ 'No email address for' => 'Ekkert netfang fyrir',
+ 'Number' => 'Númer',
+ 'Number Format' => 'Númera útlit',
+ 'Parts Inventory' => 'Vörulisti',
+ 'Password' => 'Aðgangsorð',
+ 'Payables' => 'Útistandandi',
+ 'Payment' => 'Greislur',
+ 'Phone' => 'Sími.',
+ 'Preferences saved!' => 'Uppsetningar geymdar!',
+ 'Rate' => 'Taxti',
+ 'Receivables' => 'Innborganir',
+ 'Sales' => 'Sala',
+ 'Save' => 'Geyma',
+ 'Service Items' => 'Þjónustu hlutur',
+ 'Ship via' => 'Senda með',
+ 'Signature' => 'Undirskrift',
+ 'Stylesheet' => 'Stílblað',
+ 'Tax' => 'Virðisaukaskattur',
+ 'Tax Accounts' => 'VSK lykill',
+ 'Template saved!' => 'Skabalón geymt!',
+ 'Transaction reversal enforced for all dates' => 'Rettelser af posteringer skal altid bogføres explicit',
+ 'Transaction reversal enforced up to' => 'Rettelser af posteringer skal bogføres explicit indtil',
+ 'Transactions exist; cannot delete account!' => 'Ekki hægt að eyða reikningi með færslur!',
+ 'Weight Unit' => 'Vigtareining',
+ 'Year End' => 'Ársuppgjör',
+ 'Yes' => 'Já',
+ 'does not exist' => 'er ekki til',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_gifi' => 'add_gifi',
+ 'audit_control' => 'audit_control',
+ 'backup' => 'backup',
+ 'config' => 'config',
+ 'continue' => 'continue',
+ 'copy_to_coa' => 'copy_to_coa',
+ 'delete' => 'delete',
+ 'delete_account' => 'delete_account',
+ 'delete_gifi' => 'delete_gifi',
+ 'display_form' => 'display_form',
+ 'display_stylesheet' => 'display_stylesheet',
+ 'doclose' => 'doclose',
+ 'edit' => 'edit',
+ 'edit_gifi' => 'edit_gifi',
+ 'edit_template' => 'edit_template',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gifi_footer' => 'gifi_footer',
+ 'gifi_header' => 'gifi_header',
+ 'list' => 'list',
+ 'list_gifi' => 'list_gifi',
+ 'save' => 'save',
+ 'save_account' => 'save_account',
+ 'save_gifi' => 'save_gifi',
+ 'save_preferences' => 'save_preferences',
+ 'save_template' => 'save_template',
+ 'nýr_reikningur' => 'add_account',
+ 'Áfram' => 'continue',
+ 'afrita_í_coa' => 'copy_to_coa',
+ 'eyða' => 'delete',
+ 'breyta' => 'edit',
+ 'breyta_reikningi' => 'edit_account',
+ 'geyma' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/is/ap b/sql-ledger/locale/is/ap
new file mode 100644
index 0000000..ea4afb2
--- /dev/null
+++ b/sql-ledger/locale/is/ap
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AP Transaction' => 'Innkaupafærsla',
+ 'AP Transactions' => 'Innkaupafærslur',
+ 'Account' => 'Reikningur',
+ 'Add Accounts Payables Transaction' => 'Ný kredit færsla',
+ 'Address' => 'Heimilisfang',
+ 'Amount' => 'Upphæð',
+ 'Amount Due' => 'Eindagi',
+ 'Apr' => 'apr',
+ 'April' => 'apríl',
+ 'Are you sure you want to delete Transaction' => 'Ert þú viss um að þú viljir eyða færslunni',
+ 'Aug' => 'ágú',
+ 'August' => 'ágúst',
+ 'Cannot delete transaction!' => 'Get ekki eytt færslu!',
+ 'Cannot post payment for a closed period!' => 'Get ekki bókað greiðslu á lokað tímabil',
+ 'Cannot post transaction for a closed period!' => 'Get ekki bókað færslu á lokað tímabil!',
+ 'Cannot post transaction!' => 'Get ekki bókað færslu!',
+ 'Closed' => 'Lokað',
+ 'Confirm!' => 'Staðfesta!',
+ 'Continue' => 'Áfram',
+ 'Currency' => 'Gjaldmiðill',
+ 'Customer not on file!' => 'Viðskiptavinur ekki á skrá!',
+ 'Date' => 'Dagsetning',
+ 'Date Paid' => 'Greiðsludagur',
+ 'Dec' => 'des',
+ 'December' => 'desember',
+ 'Delete' => 'Eyða',
+ 'Description' => 'Skýringar',
+ 'Due Date' => 'Dags. lokið',
+ 'Due Date missing!' => 'Vantar dags. lokið!',
+ 'Edit Accounts Payables Transaction' => 'Breyta greiðslufærslum',
+ 'Employee' => 'Starfsmenn',
+ 'Exch' => 'Vx',
+ 'Exchangerate' => 'Vextir',
+ 'Exchangerate for payment missing!' => 'Vextir fyrir greiðslu vantar!',
+ 'Exchangerate missing!' => 'Vantar vexti!',
+ 'Feb' => 'feb',
+ 'February' => 'febrúar',
+ 'From' => 'Frá',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Innifela í skýrslu',
+ 'Invoice' => 'Sölureikningur',
+ 'Invoice Date' => 'Sölureikningur dags.',
+ 'Invoice Date missing!' => 'Sölureiknings dags. vantar!',
+ 'Invoice Number' => 'Sölureikningur Númer',
+ 'Invoice Number missing!' => 'Sölureikningsnúmer vantar!',
+ 'Jan' => 'jan',
+ 'January' => 'janúar',
+ 'Jul' => 'júl',
+ 'July' => 'júlí',
+ 'Jun' => 'jún',
+ 'June' => 'júní',
+ 'Mar' => 'mar',
+ 'March' => 'mars',
+ 'May' => 'maí',
+ 'May ' => 'maí',
+ 'Notes' => 'Upplýsinar',
+ 'Nov' => 'nóv',
+ 'November' => 'nóvember',
+ 'Number' => 'Númer',
+ 'Oct' => 'ókt',
+ 'October' => 'óktóber',
+ 'Open' => 'opna',
+ 'Order' => 'Pöntun',
+ 'Order Number' => 'Pöntun númer',
+ 'Paid' => 'Greitt',
+ 'Payment date missing!' => 'Greiðsudags. vantar!',
+ 'Payments' => 'Greiðslur',
+ 'Post' => 'Bókfæra',
+ 'Post as new' => 'Bókfæra sem nýjan',
+ 'Project' => 'Verkefni',
+ 'Project not on file!' => 'Verkefni ekki á skrá!',
+ 'Purchase Invoice' => 'Innkaupsreikningur',
+ 'Select from one of the names below' => 'Veljið einhvað að neðangreindum nöfnum',
+ 'Select from one of the projects below' => 'Veljið einhvað að neðangreindum verkefnum',
+ 'Sep' => 'sep',
+ 'September' => 'september',
+ 'Source' => 'Frálag',
+ 'Subtotal' => 'Samtala',
+ 'Tax' => 'Virðisaukaskattur',
+ 'Tax Included' => 'Taka með VSK',
+ 'Total' => 'Samtals',
+ 'Transaction deleted!' => 'Færslu eytt!',
+ 'Transaction posted!' => 'Færsla bókfærð!',
+ 'Update' => 'Uppfærsla',
+ 'Vendor' => 'Byrgir',
+ 'Vendor missing!' => 'Byrgja vantar!',
+ 'Vendor not on file!' => 'Byrgir ekki til í gagnagrunni!',
+ 'Yes' => 'Já',
+ 'to' => 'til',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_subtotal' => 'ap_subtotal',
+ 'ap_transaction' => 'ap_transaction',
+ 'ap_transactions' => 'ap_transactions',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'innkaupafærsla' => 'ap_transaction',
+ 'ný_kredit_færsla' => 'add_accounts_payables_transaction',
+ 'Áfram' => 'continue',
+ 'eyða' => 'delete',
+ 'breyta_greiðslufærslum' => 'edit_accounts_payables_transaction',
+ 'bókfæra' => 'post',
+ 'bókfæra_sem_nýjan' => 'post_as_new',
+ 'innkaupsreikningur' => 'purchase_invoice',
+ 'uppfærsla' => 'update',
+ 'já' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/is/ar b/sql-ledger/locale/is/ar
new file mode 100644
index 0000000..6619389
--- /dev/null
+++ b/sql-ledger/locale/is/ar
@@ -0,0 +1,134 @@
+$self{texts} = {
+ 'AR Transaction' => 'Sölufærsla',
+ 'AR Transactions' => 'Sölufærslur',
+ 'Account' => 'Reikningur',
+ 'Add Accounts Receivables Transaction' => 'Ný debit færsla',
+ 'Address' => 'Heimilisfang',
+ 'Amount' => 'Upphæð',
+ 'Amount Due' => 'Eindagi',
+ 'Apr' => 'apr',
+ 'April' => 'apríl',
+ 'Are you sure you want to delete Transaction' => 'Ert þú viss um að þú viljir eyða færslunni',
+ 'Aug' => 'ágú',
+ 'August' => 'ágúst',
+ 'Cannot delete transaction!' => 'Get ekki eytt færslu!',
+ 'Cannot post payment for a closed period!' => 'Get ekki bókað greiðslu á lokað tímabil',
+ 'Cannot post transaction for a closed period!' => 'Get ekki bókað færslu á lokað tímabil!',
+ 'Cannot post transaction!' => 'Get ekki bókað færslu!',
+ 'Closed' => 'Lokað',
+ 'Confirm!' => 'Staðfesta!',
+ 'Continue' => 'Áfram',
+ 'Credit Limit' => 'Kreditmörk',
+ 'Currency' => 'Gjaldmiðill',
+ 'Customer' => 'Viðskiptavinur',
+ 'Customer missing!' => 'Viðskiptavin vantar!',
+ 'Customer not on file!' => 'Viðskiptavinur ekki á skrá!',
+ 'Date' => 'Dagsetning',
+ 'Date Paid' => 'Greiðsludagur',
+ 'Dec' => 'des',
+ 'December' => 'desember',
+ 'Delete' => 'Eyða',
+ 'Description' => 'Skýringar',
+ 'Due Date' => 'Dags. lokið',
+ 'Due Date missing!' => 'Vantar dags. lokið!',
+ 'Edit Accounts Receivables Transaction' => 'Breyta inn-færslum',
+ 'Exch' => 'Vx',
+ 'Exchangerate' => 'Vextir',
+ 'Exchangerate for payment missing!' => 'Vextir fyrir greiðslu vantar!',
+ 'Exchangerate missing!' => 'Vantar vexti!',
+ 'Feb' => 'feb',
+ 'February' => 'febrúar',
+ 'From' => 'Frá',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Innifela í skýrslu',
+ 'Invoice' => 'Sölureikningur',
+ 'Invoice Date' => 'Sölureikningur dags.',
+ 'Invoice Date missing!' => 'Sölureiknings dags. vantar!',
+ 'Invoice Number' => 'Sölureikningur Númer',
+ 'Invoice Number missing!' => 'Sölureikningsnúmer vantar!',
+ 'Jan' => 'jan',
+ 'January' => 'janúar',
+ 'Jul' => 'júl',
+ 'July' => 'júlí',
+ 'Jun' => 'jún',
+ 'June' => 'júní',
+ 'Mar' => 'mar',
+ 'March' => 'mars',
+ 'May' => 'maí',
+ 'May ' => 'maí',
+ 'Notes' => 'Upplýsinar',
+ 'Nov' => 'nóv',
+ 'November' => 'nóvember',
+ 'Number' => 'Númer',
+ 'Oct' => 'ókt',
+ 'October' => 'óktóber',
+ 'Open' => 'opna',
+ 'Order' => 'Pöntun',
+ 'Order Number' => 'Pöntun númer',
+ 'Paid' => 'Greitt',
+ 'Payment date missing!' => 'Greiðsudags. vantar!',
+ 'Payments' => 'Greiðslur',
+ 'Post' => 'Bókfæra',
+ 'Post as new' => 'Bókfæra sem nýjan',
+ 'Project' => 'Verkefni',
+ 'Project not on file!' => 'Verkefni ekki á skrá!',
+ 'Remaining' => 'Eftir',
+ 'Sales Invoice' => 'Sölureikningur',
+ 'Salesperson' => 'Salesperson',
+ 'Select from one of the names below' => 'Veljið einhvað að neðangreindum nöfnum',
+ 'Select from one of the projects below' => 'Veljið einhvað að neðangreindum verkefnum',
+ 'Sep' => 'sep',
+ 'September' => 'september',
+ 'Ship via' => 'Senda með',
+ 'Source' => 'Frálag',
+ 'Subtotal' => 'Samtala',
+ 'Tax' => 'Virðisaukaskattur',
+ 'Tax Included' => 'Taka með VSK',
+ 'Total' => 'Samtals',
+ 'Transaction deleted!' => 'Færslu eytt!',
+ 'Transaction posted!' => 'Færsla bókfærð!',
+ 'Update' => 'Uppfærsla',
+ 'Vendor not on file!' => 'Byrgir ekki til í gagnagrunni!',
+ 'Yes' => 'Já',
+ 'to' => 'til',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_subtotal' => 'ar_subtotal',
+ 'ar_transaction' => 'ar_transaction',
+ 'ar_transactions' => 'ar_transactions',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'sölufærsla' => 'ar_transaction',
+ 'Áfram' => 'continue',
+ 'eyða' => 'delete',
+ 'bókfæra' => 'post',
+ 'bókfæra_sem_nýjan' => 'post_as_new',
+ 'sölureikningur' => 'sales_invoice',
+ 'uppfærsla' => 'update',
+ 'já' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/is/arap b/sql-ledger/locale/is/arap
new file mode 100644
index 0000000..3e63011
--- /dev/null
+++ b/sql-ledger/locale/is/arap
@@ -0,0 +1,30 @@
+$self{texts} = {
+ 'Address' => 'Heimilisfang',
+ 'Continue' => 'Áfram',
+ 'Customer not on file!' => 'Viðskiptavinur ekki á skrá!',
+ 'Description' => 'Skýringar',
+ 'Number' => 'Númer',
+ 'Project not on file!' => 'Verkefni ekki á skrá!',
+ 'Select from one of the names below' => 'Veljið einhvað að neðangreindum nöfnum',
+ 'Select from one of the projects below' => 'Veljið einhvað að neðangreindum verkefnum',
+ 'Vendor not on file!' => 'Byrgir ekki til í gagnagrunni!',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'Áfram' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/is/ca b/sql-ledger/locale/is/ca
new file mode 100644
index 0000000..8d3b384
--- /dev/null
+++ b/sql-ledger/locale/is/ca
@@ -0,0 +1,50 @@
+$self{texts} = {
+ 'Account' => 'Reikningur',
+ 'Apr' => 'apr',
+ 'April' => 'apríl',
+ 'Aug' => 'ágú',
+ 'August' => 'ágúst',
+ 'Balance' => 'Afstemming',
+ 'Chart of Accounts' => 'Listi yfir lykkla/reikninga',
+ 'Credit' => 'Kredit',
+ 'Date' => 'Dagsetning',
+ 'Debit' => 'Debit',
+ 'Dec' => 'des',
+ 'December' => 'desember',
+ 'Description' => 'Skýringar',
+ 'Feb' => 'feb',
+ 'February' => 'febrúar',
+ 'From' => 'Frá',
+ 'GIFI' => 'GIFI',
+ 'Include in Report' => 'Innifela í skýrslu',
+ 'Jan' => 'jan',
+ 'January' => 'janúar',
+ 'Jul' => 'júl',
+ 'July' => 'júlí',
+ 'Jun' => 'jún',
+ 'June' => 'júní',
+ 'List Transactions' => 'Sýna færslur',
+ 'Mar' => 'mar',
+ 'March' => 'mars',
+ 'May' => 'maí',
+ 'May ' => 'maí',
+ 'Nov' => 'nóv',
+ 'November' => 'nóvember',
+ 'Oct' => 'ókt',
+ 'October' => 'óktóber',
+ 'Reference' => 'Fylgiskjal',
+ 'Sep' => 'sep',
+ 'September' => 'september',
+ 'Subtotal' => 'Samtala',
+ 'to' => 'til',
+};
+
+$self{subs} = {
+ 'ca_subtotal' => 'ca_subtotal',
+ 'chart_of_accounts' => 'chart_of_accounts',
+ 'list' => 'list',
+ 'list_transactions' => 'list_transactions',
+ 'sýna_færslur' => 'list_transactions',
+};
+
+1;
diff --git a/sql-ledger/locale/is/cp b/sql-ledger/locale/is/cp
new file mode 100644
index 0000000..d21df27
--- /dev/null
+++ b/sql-ledger/locale/is/cp
@@ -0,0 +1,77 @@
+$self{texts} = {
+ 'Account' => 'Reikningur',
+ 'Address' => 'Heimilisfang',
+ 'Amount' => 'Upphæð',
+ 'Amount does not equal applied!' => 'Upphæð stemmir ekki!',
+ 'Amount missing!' => 'Reikning vantar!',
+ 'Applied' => 'Uppfært',
+ 'Cannot post payment!' => 'Get ekki bókað greiðslu',
+ 'Cannot process payment for a closed period!' => 'Get ekki meðhöndlað greiðslu fyrir lokað tímabil!',
+ 'Check' => 'Ávísun',
+ 'Check printed!' => 'Ávísun prentuð',
+ 'Check printing failed!' => 'Villa við prentun á ávísun',
+ 'Continue' => 'Áfram',
+ 'Currency' => 'Gjaldmiðill',
+ 'Customer' => 'Viðskiptavinur',
+ 'Customer not on file!' => 'Viðskiptavinur ekki á skrá!',
+ 'Date' => 'Dagsetning',
+ 'Date missing!' => 'Dagsetningu vantar!',
+ 'Description' => 'Skýringar',
+ 'Due' => 'Lokið',
+ 'Exchangerate' => 'Vextir',
+ 'From' => 'Frá',
+ 'Invoice' => 'Sölureikningur',
+ 'Invoices' => 'Sölureikningar',
+ 'Nothing applied!' => 'Ekkert bókað!',
+ 'Number' => 'Númer',
+ 'Paid in full' => 'Greitt að fullu',
+ 'Payment' => 'Greislur',
+ 'Payment posted!' => 'Greiðsla bókuð',
+ 'Post' => 'Bókfæra',
+ 'Print' => 'Prenta',
+ 'Printer' => 'Prentari',
+ 'Project not on file!' => 'Verkefni ekki á skrá!',
+ 'Receipt' => 'Kvittun',
+ 'Receipt printed!' => 'Receipt printed!',
+ 'Receipt printing failed!' => 'Receipt printing failed!',
+ 'Reference' => 'Fylgiskjal',
+ 'Screen' => 'Skjá',
+ 'Select from one of the names below' => 'Veljið einhvað að neðangreindum nöfnum',
+ 'Select from one of the projects below' => 'Veljið einhvað að neðangreindum verkefnum',
+ 'Update' => 'Uppfærsla',
+ 'Vendor' => 'Byrgir',
+ 'Vendor not on file!' => 'Byrgir ekki til í gagnagrunni!',
+ 'to' => 'til',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'list_invoices' => 'list_invoices',
+ 'name_selected' => 'name_selected',
+ 'payment' => 'payment',
+ 'post' => 'post',
+ 'print' => 'print',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'vendor_details' => 'vendor_details',
+ 'Áfram' => 'continue',
+ 'bókfæra' => 'post',
+ 'prenta' => 'print',
+ 'uppfærsla' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/is/ct b/sql-ledger/locale/is/ct
new file mode 100644
index 0000000..d2be965
--- /dev/null
+++ b/sql-ledger/locale/is/ct
@@ -0,0 +1,71 @@
+$self{texts} = {
+ 'Add' => 'Nýr',
+ 'Address' => 'Heimilisfang',
+ 'All' => 'Allt',
+ 'Bcc' => 'Blint afrit',
+ 'Cannot delete customer!' => 'Get ekki eytt viðskiptavini!',
+ 'Cannot delete vendor!' => 'Get ekki eytt framleiðanda!',
+ 'Cc' => 'Afrit',
+ 'Contact' => 'Talsmaður',
+ 'Continue' => 'Áfram',
+ 'Credit Limit' => 'Kreditmörk',
+ 'Customer deleted!' => 'Viðskiptavini eytt!',
+ 'Customer saved!' => 'Viðskiptavinur geymdur!',
+ 'Customers' => 'Viðskiptavinir',
+ 'Delete' => 'Eyða',
+ 'Discount' => 'Afsláttur',
+ 'E-mail' => 'R-póstur',
+ 'Edit Customer' => 'Breyta viðskiptavini',
+ 'Edit Vendor' => 'Breyta byrgja',
+ 'Fax' => 'Símbréf',
+ 'Include in Report' => 'Innifela í skýrslu',
+ 'Invoice' => 'Sölureikningur',
+ 'Name' => 'Nafn',
+ 'Name missing!' => 'Nafn vantar!',
+ 'Notes' => 'Upplýsinar',
+ 'Number' => 'Númer',
+ 'Order' => 'Pöntun',
+ 'Orphaned' => 'Sjáfstætt',
+ 'Phone' => 'Sími.',
+ 'Save' => 'Geyma',
+ 'Ship to' => 'Senda til',
+ 'Tax Included' => 'Taka með VSK',
+ 'Taxable' => 'Skatskildur',
+ 'Terms: Net' => 'Nettó',
+ 'Transactions exist, cannot delete customer!' => 'Ekki er hægt að eyða viðskipamanni með færslur!',
+ 'Transactions exist, cannot delete vendor!' => 'Ekki er hægt að eyða byrgja með færslur!',
+ 'Vendor deleted!' => 'Byrgja eytt!',
+ 'Vendor saved!' => 'Byrgir geymdur!',
+ 'Vendors' => 'Byrgjar',
+ 'days' => 'dagar',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'customer_invoice' => 'customer_invoice',
+ 'customer_order' => 'customer_order',
+ 'delete' => 'delete',
+ 'delete_customer' => 'delete_customer',
+ 'delete_vendor' => 'delete_vendor',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'invoice' => 'invoice',
+ 'list_names' => 'list_names',
+ 'order' => 'order',
+ 'save' => 'save',
+ 'save_customer' => 'save_customer',
+ 'save_vendor' => 'save_vendor',
+ 'search' => 'search',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'vendor_order' => 'vendor_order',
+ 'nýr' => 'add',
+ 'Áfram' => 'continue',
+ 'eyða' => 'delete',
+ 'sölureikningur' => 'invoice',
+ 'pöntun' => 'order',
+ 'geyma' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/is/gl b/sql-ledger/locale/is/gl
new file mode 100644
index 0000000..e659b9d
--- /dev/null
+++ b/sql-ledger/locale/is/gl
@@ -0,0 +1,124 @@
+$self{texts} = {
+ 'AP Transaction' => 'Innkaupafærsla',
+ 'AR Transaction' => 'Sölufærsla',
+ 'Account' => 'Reikningur',
+ 'Add General Ledger Transaction' => 'Ný höfuðfærsla',
+ 'Address' => 'Heimilisfang',
+ 'All' => 'Allt',
+ 'Apr' => 'apr',
+ 'April' => 'apríl',
+ 'Are you sure you want to delete Transaction' => 'Ert þú viss um að þú viljir eyða færslunni',
+ 'Asset' => 'Eignir',
+ 'Aug' => 'ágú',
+ 'August' => 'ágúst',
+ 'Balance' => 'Afstemming',
+ 'Cannot delete transaction!' => 'Get ekki eytt færslu!',
+ 'Cannot have a value in both Debit and Credit!' => 'Get ekki haft gildi bæði í debit og kredit!',
+ 'Cannot post a transaction without a value!' => 'Get ekki bókað án upphæðar',
+ 'Cannot post transaction for a closed period!' => 'Get ekki bókað færslu á lokað tímabil!',
+ 'Confirm!' => 'Staðfesta!',
+ 'Continue' => 'Áfram',
+ 'Credit' => 'Kredit',
+ 'Customer not on file!' => 'Viðskiptavinur ekki á skrá!',
+ 'Date' => 'Dagsetning',
+ 'Debit' => 'Debit',
+ 'Debit and credit out of balance!' => 'Debit og kredit skulu vera eins!',
+ 'Dec' => 'des',
+ 'December' => 'desember',
+ 'Delete' => 'Eyða',
+ 'Description' => 'Skýringar',
+ 'Edit General Ledger Transaction' => 'Breyta yfitbókunar færslum',
+ 'Equity' => 'Eigiðfé',
+ 'Expense' => 'Kostnaður',
+ 'Feb' => 'feb',
+ 'February' => 'febrúar',
+ 'From' => 'Frá',
+ 'GIFI' => 'GIFI',
+ 'GL Transaction' => 'Færslur í aðalbók',
+ 'General Ledger' => 'Aðalbók',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Innifela í skýrslu',
+ 'Income' => 'Innkoma',
+ 'Jan' => 'jan',
+ 'January' => 'janúar',
+ 'Jul' => 'júl',
+ 'July' => 'júlí',
+ 'Jun' => 'jún',
+ 'June' => 'júní',
+ 'Liability' => 'Passiv',
+ 'Mar' => 'mar',
+ 'March' => 'mars',
+ 'May' => 'maí',
+ 'May ' => 'maí',
+ 'Notes' => 'Upplýsinar',
+ 'Nov' => 'nóv',
+ 'November' => 'nóvember',
+ 'Number' => 'Númer',
+ 'Oct' => 'ókt',
+ 'October' => 'óktóber',
+ 'Post' => 'Bókfæra',
+ 'Post as new' => 'Bókfæra sem nýjan',
+ 'Project' => 'Verkefni',
+ 'Project not on file!' => 'Verkefni ekki á skrá!',
+ 'Purchase Invoice' => 'Innkaupsreikningur',
+ 'Reference' => 'Fylgiskjal',
+ 'Reference missing!' => 'Fylgiskjal vantar',
+ 'Reports' => 'Skýrslur',
+ 'Sales Invoice' => 'Sölureikningur',
+ 'Select from one of the names below' => 'Veljið einhvað að neðangreindum nöfnum',
+ 'Select from one of the projects below' => 'Veljið einhvað að neðangreindum verkefnum',
+ 'Sep' => 'sep',
+ 'September' => 'september',
+ 'Source' => 'Frálag',
+ 'Subtotal' => 'Samtala',
+ 'Transaction Date missing!' => 'Dags. vantar!',
+ 'Transaction deleted!' => 'Færslu eytt!',
+ 'Transaction posted!' => 'Færsla bókfærð!',
+ 'Update' => 'Uppfærsla',
+ 'Vendor not on file!' => 'Byrgir ekki til í gagnagrunni!',
+ 'Yes' => 'Já',
+ 'to' => 'til',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'form_row' => 'form_row',
+ 'generate_report' => 'generate_report',
+ 'gl_subtotal' => 'gl_subtotal',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'innkaupafærsla' => 'ap_transaction',
+ 'sölufærsla' => 'ar_transaction',
+ 'Áfram' => 'continue',
+ 'eyða' => 'delete',
+ 'færslur_í_aðalbók' => 'gl_transaction',
+ 'bókfæra' => 'post',
+ 'bókfæra_sem_nýjan' => 'post_as_new',
+ 'innkaupsreikningur' => 'purchase_invoice',
+ 'sölureikningur' => 'sales_invoice',
+ 'uppfærsla' => 'update',
+ 'já' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/is/ic b/sql-ledger/locale/is/ic
new file mode 100644
index 0000000..7950a0c
--- /dev/null
+++ b/sql-ledger/locale/is/ic
@@ -0,0 +1,206 @@
+$self{texts} = {
+ 'Active' => 'Virkja',
+ 'Add' => 'Nýr',
+ 'Add Assembly' => 'Ný samsetning',
+ 'Add Part' => 'Ný vara',
+ 'Add Purchase Order' => 'Ný innkaupspöntun',
+ 'Add Sales Order' => 'Ný sölupöntun',
+ 'Add Service' => 'Ný þjónusta',
+ 'Address' => 'Heimilisfang',
+ 'Apr' => 'apr',
+ 'April' => 'apríl',
+ 'Assemblies' => 'Samsetningar',
+ 'Assemblies restocked!' => 'Samsetningar endurunnar',
+ 'Assembly Number missing!' => 'Samsetningar númer vantar',
+ 'Attachment' => 'Hjálagt',
+ 'Aug' => 'ágú',
+ 'August' => 'ágúst',
+ 'BOM' => 'BOM',
+ 'Bcc' => 'Blint afrit',
+ 'Bin' => 'Vörulager',
+ 'Bought' => 'Keypt',
+ 'COGS' => 'Innkaup',
+ 'Cannot delete item already invoiced!' => 'Get ekki eytt hlut sem þegar er til á sölureikningi!',
+ 'Cannot delete item on order!' => 'Get ekki eytt hlut sem er í pöntun!',
+ 'Cannot delete item which is part of an assembly!' => 'Get ekki eytt hlut sem er partur af samsetningu!',
+ 'Cannot delete item!' => 'Get ekki eytt hlut!',
+ 'Cannot stock assemblies!' => 'Get ekki fært samsetningar',
+ 'Cc' => 'Afrit',
+ 'Contact' => 'Talsmaður',
+ 'Continue' => 'Áfram',
+ 'Copies' => 'Afrit',
+ 'Dec' => 'des',
+ 'December' => 'desember',
+ 'Delete' => 'Eyða',
+ 'Delivery Date' => 'Afgreiðsludags.',
+ 'Description' => 'Skýringar',
+ 'Drawing' => 'Dregið',
+ 'E-mail' => 'R-póstur',
+ 'E-mail address missing!' => 'R-póst vantar!',
+ 'Edit Assembly' => 'Breyta samsetningu',
+ 'Edit Part' => 'Breyta vöru',
+ 'Edit Service' => 'Breyta þjónustu',
+ 'Expense' => 'Kostnaður',
+ 'Extended' => 'Framlengt',
+ 'Fax' => 'Símbréf',
+ 'Feb' => 'feb',
+ 'February' => 'febrúar',
+ 'From' => 'Frá',
+ 'Image' => 'Mynd',
+ 'In-line' => 'Inndregið',
+ 'Include in Report' => 'Innifela í skýrslu',
+ 'Income' => 'Innkoma',
+ 'Individual Items' => 'Sjálfstæðir hlutir',
+ 'Inventory' => 'Lager',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'Lagerbeholdning skal være nul for at du kan forælde denne sammensætning',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'Lagerbeholdning skal være nul for at du kan forælde denne enhed',
+ 'Inventory quantity must be zero!' => 'Lagerbeholdning skal være nul',
+ 'Invoice' => 'Sölureikningur',
+ 'Invoice Date missing!' => 'Sölureiknings dags. vantar!',
+ 'Invoice Number' => 'Sölureikningur Númer',
+ 'Invoice Number missing!' => 'Sölureikningsnúmer vantar!',
+ 'Item deleted!' => 'Hlut eytt!',
+ 'Item not on file!' => 'Hlutur ekki á skrá!',
+ 'Jan' => 'jan',
+ 'January' => 'janúar',
+ 'Jul' => 'júl',
+ 'July' => 'júlí',
+ 'Jun' => 'jún',
+ 'June' => 'júní',
+ 'Last Cost' => 'Síðasta verð',
+ 'Line Total' => 'Samtals línur',
+ 'Link Accounts' => 'Tengja lykla',
+ 'List Price' => 'Sýna verð',
+ 'Make' => 'Tegund',
+ 'Mar' => 'mar',
+ 'March' => 'mars',
+ 'May' => 'maí',
+ 'May ' => 'maí',
+ 'Message' => 'Skilaboð',
+ 'Microfiche' => 'Mikrofilm',
+ 'Model' => 'Model',
+ 'Name' => 'Nafn',
+ 'No.' => 'Nr.',
+ 'Notes' => 'Upplýsinar',
+ 'Nov' => 'nóv',
+ 'November' => 'nóvember',
+ 'Number' => 'Númer',
+ 'Number missing in Row' => 'Tölu vantar í röð',
+ 'Obsolete' => 'Úrelt',
+ 'Oct' => 'ókt',
+ 'October' => 'óktóber',
+ 'On Hand' => 'Á lager',
+ 'On Order' => 'Í pöntun',
+ 'Order' => 'Pöntun',
+ 'Order Date missing!' => 'Pöntunar dags. vantar',
+ 'Order Number' => 'Pöntun númer',
+ 'Order Number missing!' => 'Númer pöntunar vantar',
+ 'Ordered' => 'pantað',
+ 'Orphaned' => 'Sjáfstætt',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Fylgiseðill',
+ 'Packing List Date missing!' => 'Dags. fylgiseðils vantar!',
+ 'Packing List Number missing!' => 'Númer fylgiseðils vantar!',
+ 'Part' => 'Vara',
+ 'Part Number missing!' => 'Vörunúmer vantar!',
+ 'Parts' => 'Vörur',
+ 'Phone' => 'Sími.',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Verð',
+ 'Printer' => 'Prentari',
+ 'Project' => 'Verkefni',
+ 'Purchase Order' => 'Innkaupspöntun',
+ 'Qty' => 'Magn',
+ 'ROP' => 'ROP',
+ 'Recd' => 'Mótt:',
+ 'Required by' => 'Pantað af',
+ 'Sales' => 'Sala',
+ 'Sales Order' => 'Sölupöntun',
+ 'Save' => 'Geyma',
+ 'Screen' => 'Skjá',
+ 'Select from one of the items below' => 'Veljið einhver að neðangreindum hlutum, og ýtið á "Áfram"',
+ 'Select postscript or PDF!' => 'Veljið postscript eða PDF',
+ 'Sell Price' => 'Söluverð',
+ 'Sep' => 'sep',
+ 'September' => 'september',
+ 'Service' => 'Þjónusta',
+ 'Service Number missing!' => 'Þjónustunúmer vantar!',
+ 'Services' => 'Þjónustur',
+ 'Ship' => 'Senda',
+ 'Ship to' => 'Senda til',
+ 'Short' => 'Stutt',
+ 'Sold' => 'Selt',
+ 'Stock Assembly' => 'Lager samsetning',
+ 'Subject' => 'Efni',
+ 'Subtotal' => 'Samtala',
+ 'Tax' => 'Virðisaukaskattur',
+ 'To' => 'til',
+ 'Top Level' => 'Efsta þrep',
+ 'Total' => 'Samtals',
+ 'Unit' => 'Einingar',
+ 'Unit of measure' => 'Mælieining',
+ 'Update' => 'Uppfærsla',
+ 'Updated' => 'Uppfæra',
+ 'Weight' => 'Vigt',
+ 'What type of item is this?' => 'Hvernig hlutur er þetta?',
+ 'ea' => 'stk',
+ 'emailed to' => 'sendist með rafpósti',
+ 'hr' => 'tími',
+ 'sent to printer' => 'sendist á prentara',
+ 'to' => 'til',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'assembly_row' => 'assembly_row',
+ 'check_form' => 'check_form',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'delete_assembly' => 'delete_assembly',
+ 'delete_item' => 'delete_item',
+ 'delete_part' => 'delete_part',
+ 'delete_service' => 'delete_service',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'link_part' => 'link_part',
+ 'list_assemblies' => 'list_assemblies',
+ 'makemodel_row' => 'makemodel_row',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'parts_subtotal' => 'parts_subtotal',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'restock_assemblies' => 'restock_assemblies',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'stock_assembly' => 'stock_assembly',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'nýr' => 'add',
+ 'ný_samsetning' => 'add_assembly',
+ 'ný_vara' => 'add_part',
+ 'ný_þjónusta' => 'add_service',
+ 'Áfram' => 'continue',
+ 'eyða' => 'delete',
+ 'breyta_samsetningu' => 'edit_assembly',
+ 'breyta_vöru' => 'edit_part',
+ 'breyta_þjónustu' => 'edit_service',
+ 'geyma' => 'save',
+ 'uppfærsla' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/is/io b/sql-ledger/locale/is/io
new file mode 100644
index 0000000..def8209
--- /dev/null
+++ b/sql-ledger/locale/is/io
@@ -0,0 +1,106 @@
+$self{texts} = {
+ 'Add Purchase Order' => 'Ný innkaupspöntun',
+ 'Add Sales Order' => 'Ný sölupöntun',
+ 'Address' => 'Heimilisfang',
+ 'Apr' => 'apr',
+ 'April' => 'apríl',
+ 'Attachment' => 'Hjálagt',
+ 'Aug' => 'ágú',
+ 'August' => 'ágúst',
+ 'Bcc' => 'Blint afrit',
+ 'Bin' => 'Vörulager',
+ 'Cc' => 'Afrit',
+ 'Contact' => 'Talsmaður',
+ 'Continue' => 'Áfram',
+ 'Copies' => 'Afrit',
+ 'Dec' => 'des',
+ 'December' => 'desember',
+ 'Delivery Date' => 'Afgreiðsludags.',
+ 'Description' => 'Skýringar',
+ 'E-mail' => 'R-póstur',
+ 'E-mail address missing!' => 'R-póst vantar!',
+ 'Extended' => 'Framlengt',
+ 'Fax' => 'Símbréf',
+ 'Feb' => 'feb',
+ 'February' => 'febrúar',
+ 'In-line' => 'Inndregið',
+ 'Invoice' => 'Sölureikningur',
+ 'Invoice Date missing!' => 'Sölureiknings dags. vantar!',
+ 'Invoice Number missing!' => 'Sölureikningsnúmer vantar!',
+ 'Item not on file!' => 'Hlutur ekki á skrá!',
+ 'Jan' => 'jan',
+ 'January' => 'janúar',
+ 'Jul' => 'júl',
+ 'July' => 'júlí',
+ 'Jun' => 'jún',
+ 'June' => 'júní',
+ 'Mar' => 'mar',
+ 'March' => 'mars',
+ 'May' => 'maí',
+ 'May ' => 'maí',
+ 'Message' => 'Skilaboð',
+ 'Name' => 'Nafn',
+ 'No.' => 'Nr.',
+ 'Nov' => 'nóv',
+ 'November' => 'nóvember',
+ 'Number' => 'Númer',
+ 'Number missing in Row' => 'Tölu vantar í röð',
+ 'Oct' => 'ókt',
+ 'October' => 'óktóber',
+ 'Order' => 'Pöntun',
+ 'Order Date missing!' => 'Pöntunar dags. vantar',
+ 'Order Number missing!' => 'Númer pöntunar vantar',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Fylgiseðill',
+ 'Packing List Date missing!' => 'Dags. fylgiseðils vantar!',
+ 'Packing List Number missing!' => 'Númer fylgiseðils vantar!',
+ 'Part' => 'Vara',
+ 'Phone' => 'Sími.',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Verð',
+ 'Printer' => 'Prentari',
+ 'Project' => 'Verkefni',
+ 'Purchase Order' => 'Innkaupspöntun',
+ 'Qty' => 'Magn',
+ 'Recd' => 'Mótt:',
+ 'Required by' => 'Pantað af',
+ 'Sales Order' => 'Sölupöntun',
+ 'Screen' => 'Skjá',
+ 'Select from one of the items below' => 'Veljið einhver að neðangreindum hlutum, og ýtið á "Áfram"',
+ 'Select postscript or PDF!' => 'Veljið postscript eða PDF',
+ 'Sep' => 'sep',
+ 'September' => 'september',
+ 'Service' => 'Þjónusta',
+ 'Ship' => 'Senda',
+ 'Ship to' => 'Senda til',
+ 'Subject' => 'Efni',
+ 'To' => 'til',
+ 'Unit' => 'Einingar',
+ 'What type of item is this?' => 'Hvernig hlutur er þetta?',
+ 'emailed to' => 'sendist með rafpósti',
+ 'sent to printer' => 'sendist á prentara',
+};
+
+$self{subs} = {
+ 'check_form' => 'check_form',
+ 'customer_details' => 'customer_details',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'Áfram' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/is/ir b/sql-ledger/locale/is/ir
new file mode 100644
index 0000000..f941395
--- /dev/null
+++ b/sql-ledger/locale/is/ir
@@ -0,0 +1,178 @@
+$self{texts} = {
+ 'Account' => 'Reikningur',
+ 'Add Purchase Invoice' => 'Nýr innkaupsreikningur',
+ 'Add Purchase Order' => 'Ný innkaupspöntun',
+ 'Add Sales Order' => 'Ný sölupöntun',
+ 'Address' => 'Heimilisfang',
+ 'Amount' => 'Upphæð',
+ 'Apr' => 'apr',
+ 'April' => 'apríl',
+ 'Are you sure you want to delete Invoice Number' => 'Ert þú viss um að þú viljir eyða reikningi númer',
+ 'Attachment' => 'Hjálagt',
+ 'Aug' => 'ágú',
+ 'August' => 'ágúst',
+ 'Bcc' => 'Blint afrit',
+ 'Bin' => 'Vörulager',
+ 'Cannot delete invoice!' => 'Get ekki eytt sölureikningi!',
+ 'Cannot post invoice for a closed period!' => 'Get ekki bókað á lokað tímabil!',
+ 'Cannot post invoice!' => 'Get ekki bókað sölureikning!',
+ 'Cannot post payment for a closed period!' => 'Get ekki bókað greiðslu á lokað tímabil',
+ 'Cc' => 'Afrit',
+ 'Confirm!' => 'Staðfesta!',
+ 'Contact' => 'Talsmaður',
+ 'Continue' => 'Áfram',
+ 'Copies' => 'Afrit',
+ 'Currency' => 'Gjaldmiðill',
+ 'Customer not on file!' => 'Viðskiptavinur ekki á skrá!',
+ 'Date' => 'Dagsetning',
+ 'Date Due' => 'Eindagi',
+ 'Dec' => 'des',
+ 'December' => 'desember',
+ 'Delete' => 'Eyða',
+ 'Delivery Date' => 'Afgreiðsludags.',
+ 'Description' => 'Skýringar',
+ 'E-mail' => 'R-póstur',
+ 'E-mail address missing!' => 'R-póst vantar!',
+ 'Edit Purchase Invoice' => 'Breyta innkaupareikningi',
+ 'Exch' => 'Vx',
+ 'Exchangerate' => 'Vextir',
+ 'Exchangerate for payment missing!' => 'Vextir fyrir greiðslu vantar!',
+ 'Exchangerate missing!' => 'Vantar vexti!',
+ 'Extended' => 'Framlengt',
+ 'Fax' => 'Símbréf',
+ 'Feb' => 'feb',
+ 'February' => 'febrúar',
+ 'In-line' => 'Inndregið',
+ 'Invoice' => 'Sölureikningur',
+ 'Invoice Date' => 'Sölureikningur dags.',
+ 'Invoice Date missing!' => 'Sölureiknings dags. vantar!',
+ 'Invoice Number' => 'Sölureikningur Númer',
+ 'Invoice Number missing!' => 'Sölureikningsnúmer vantar!',
+ 'Invoice deleted!' => 'Sölureikningi eytt!',
+ 'Invoice posted!' => 'Sölureikningur bókfærður!',
+ 'Item not on file!' => 'Hlutur ekki á skrá!',
+ 'Jan' => 'jan',
+ 'January' => 'janúar',
+ 'Jul' => 'júl',
+ 'July' => 'júlí',
+ 'Jun' => 'jún',
+ 'June' => 'júní',
+ 'Mar' => 'mar',
+ 'March' => 'mars',
+ 'May' => 'maí',
+ 'May ' => 'maí',
+ 'Message' => 'Skilaboð',
+ 'Name' => 'Nafn',
+ 'No.' => 'Nr.',
+ 'Notes' => 'Upplýsinar',
+ 'Nov' => 'nóv',
+ 'November' => 'nóvember',
+ 'Number' => 'Númer',
+ 'Number missing in Row' => 'Tölu vantar í röð',
+ 'Oct' => 'ókt',
+ 'October' => 'óktóber',
+ 'Order' => 'Pöntun',
+ 'Order Date missing!' => 'Pöntunar dags. vantar',
+ 'Order Number' => 'Pöntun númer',
+ 'Order Number missing!' => 'Númer pöntunar vantar',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Fylgiseðill',
+ 'Packing List Date missing!' => 'Dags. fylgiseðils vantar!',
+ 'Packing List Number missing!' => 'Númer fylgiseðils vantar!',
+ 'Part' => 'Vara',
+ 'Payment date missing!' => 'Greiðsudags. vantar!',
+ 'Payments' => 'Greiðslur',
+ 'Phone' => 'Sími.',
+ 'Post' => 'Bókfæra',
+ 'Post as new' => 'Bókfæra sem nýjan',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Verð',
+ 'Printer' => 'Prentari',
+ 'Project' => 'Verkefni',
+ 'Project not on file!' => 'Verkefni ekki á skrá!',
+ 'Purchase Order' => 'Innkaupspöntun',
+ 'Qty' => 'Magn',
+ 'Recd' => 'Mótt:',
+ 'Record in' => 'Bóka á',
+ 'Required by' => 'Pantað af',
+ 'Sales Order' => 'Sölupöntun',
+ 'Screen' => 'Skjá',
+ 'Select from one of the items below' => 'Veljið einhver að neðangreindum hlutum, og ýtið á "Áfram"',
+ 'Select from one of the names below' => 'Veljið einhvað að neðangreindum nöfnum',
+ 'Select from one of the projects below' => 'Veljið einhvað að neðangreindum verkefnum',
+ 'Select postscript or PDF!' => 'Veljið postscript eða PDF',
+ 'Sep' => 'sep',
+ 'September' => 'september',
+ 'Service' => 'Þjónusta',
+ 'Ship' => 'Senda',
+ 'Ship to' => 'Senda til',
+ 'Source' => 'Frálag',
+ 'Subject' => 'Efni',
+ 'Subtotal' => 'Samtala',
+ 'Tax Included' => 'Taka með VSK',
+ 'To' => 'til',
+ 'Total' => 'Samtals',
+ 'Unit' => 'Einingar',
+ 'Update' => 'Uppfærsla',
+ 'Vendor' => 'Byrgir',
+ 'Vendor missing!' => 'Byrgja vantar!',
+ 'Vendor not on file!' => 'Byrgir ekki til í gagnagrunni!',
+ 'What type of item is this?' => 'Hvernig hlutur er þetta?',
+ 'Yes' => 'Já',
+ 'ea' => 'stk',
+ 'emailed to' => 'sendist með rafpósti',
+ 'sent to printer' => 'sendist á prentara',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'Áfram' => 'continue',
+ 'eyða' => 'delete',
+ 'pöntun' => 'order',
+ 'bókfæra' => 'post',
+ 'bókfæra_sem_nýjan' => 'post_as_new',
+ 'uppfærsla' => 'update',
+ 'já' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/is/is b/sql-ledger/locale/is/is
new file mode 100644
index 0000000..0416418
--- /dev/null
+++ b/sql-ledger/locale/is/is
@@ -0,0 +1,185 @@
+$self{texts} = {
+ 'Account' => 'Reikningur',
+ 'Add Purchase Order' => 'Ný innkaupspöntun',
+ 'Add Sales Invoice' => 'Nýr sölureikningur',
+ 'Add Sales Order' => 'Ný sölupöntun',
+ 'Address' => 'Heimilisfang',
+ 'Amount' => 'Upphæð',
+ 'Apr' => 'apr',
+ 'April' => 'apríl',
+ 'Are you sure you want to delete Invoice Number' => 'Ert þú viss um að þú viljir eyða reikningi númer',
+ 'Attachment' => 'Hjálagt',
+ 'Aug' => 'ágú',
+ 'August' => 'ágúst',
+ 'Bcc' => 'Blint afrit',
+ 'Bin' => 'Vörulager',
+ 'Cannot delete invoice!' => 'Get ekki eytt sölureikningi!',
+ 'Cannot post invoice for a closed period!' => 'Get ekki bókað á lokað tímabil!',
+ 'Cannot post invoice!' => 'Get ekki bókað sölureikning!',
+ 'Cannot post payment for a closed period!' => 'Get ekki bókað greiðslu á lokað tímabil',
+ 'Cc' => 'Afrit',
+ 'Confirm!' => 'Staðfesta!',
+ 'Contact' => 'Talsmaður',
+ 'Continue' => 'Áfram',
+ 'Copies' => 'Afrit',
+ 'Credit Limit' => 'Kreditmörk',
+ 'Currency' => 'Gjaldmiðill',
+ 'Customer' => 'Viðskiptavinur',
+ 'Customer missing!' => 'Viðskiptavin vantar!',
+ 'Customer not on file!' => 'Viðskiptavinur ekki á skrá!',
+ 'Date' => 'Dagsetning',
+ 'Date Due' => 'Eindagi',
+ 'Dec' => 'des',
+ 'December' => 'desember',
+ 'Delete' => 'Eyða',
+ 'Delivery Date' => 'Afgreiðsludags.',
+ 'Description' => 'Skýringar',
+ 'E-mail' => 'R-póstur',
+ 'E-mail address missing!' => 'R-póst vantar!',
+ 'Edit Sales Invoice' => 'Breyta sölureikningi',
+ 'Exch' => 'Vx',
+ 'Exchangerate' => 'Vextir',
+ 'Exchangerate for payment missing!' => 'Vextir fyrir greiðslu vantar!',
+ 'Exchangerate missing!' => 'Vantar vexti!',
+ 'Extended' => 'Framlengt',
+ 'Fax' => 'Símbréf',
+ 'Feb' => 'feb',
+ 'February' => 'febrúar',
+ 'In-line' => 'Inndregið',
+ 'Invoice' => 'Sölureikningur',
+ 'Invoice Date' => 'Sölureikningur dags.',
+ 'Invoice Date missing!' => 'Sölureiknings dags. vantar!',
+ 'Invoice Number' => 'Sölureikningur Númer',
+ 'Invoice Number missing!' => 'Sölureikningsnúmer vantar!',
+ 'Invoice deleted!' => 'Sölureikningi eytt!',
+ 'Invoice posted!' => 'Sölureikningur bókfærður!',
+ 'Item not on file!' => 'Hlutur ekki á skrá!',
+ 'Jan' => 'jan',
+ 'January' => 'janúar',
+ 'Jul' => 'júl',
+ 'July' => 'júlí',
+ 'Jun' => 'jún',
+ 'June' => 'júní',
+ 'Mar' => 'mar',
+ 'March' => 'mars',
+ 'May' => 'maí',
+ 'May ' => 'maí',
+ 'Message' => 'Skilaboð',
+ 'Name' => 'Nafn',
+ 'No.' => 'Nr.',
+ 'Notes' => 'Upplýsinar',
+ 'Nov' => 'nóv',
+ 'November' => 'nóvember',
+ 'Number' => 'Númer',
+ 'Number missing in Row' => 'Tölu vantar í röð',
+ 'Oct' => 'ókt',
+ 'October' => 'óktóber',
+ 'Order' => 'Pöntun',
+ 'Order Date missing!' => 'Pöntunar dags. vantar',
+ 'Order Number' => 'Pöntun númer',
+ 'Order Number missing!' => 'Númer pöntunar vantar',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Fylgiseðill',
+ 'Packing List Date missing!' => 'Dags. fylgiseðils vantar!',
+ 'Packing List Number missing!' => 'Númer fylgiseðils vantar!',
+ 'Part' => 'Vara',
+ 'Payment date missing!' => 'Greiðsudags. vantar!',
+ 'Payments' => 'Greiðslur',
+ 'Phone' => 'Sími.',
+ 'Post' => 'Bókfæra',
+ 'Post as new' => 'Bókfæra sem nýjan',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Verð',
+ 'Print' => 'Prenta',
+ 'Printer' => 'Prentari',
+ 'Project' => 'Verkefni',
+ 'Project not on file!' => 'Verkefni ekki á skrá!',
+ 'Purchase Order' => 'Innkaupspöntun',
+ 'Qty' => 'Magn',
+ 'Recd' => 'Mótt:',
+ 'Record in' => 'Bóka á',
+ 'Remaining' => 'Eftir',
+ 'Required by' => 'Pantað af',
+ 'Sales Order' => 'Sölupöntun',
+ 'Screen' => 'Skjá',
+ 'Select from one of the items below' => 'Veljið einhver að neðangreindum hlutum, og ýtið á "Áfram"',
+ 'Select from one of the names below' => 'Veljið einhvað að neðangreindum nöfnum',
+ 'Select from one of the projects below' => 'Veljið einhvað að neðangreindum verkefnum',
+ 'Select postscript or PDF!' => 'Veljið postscript eða PDF',
+ 'Sep' => 'sep',
+ 'September' => 'september',
+ 'Service' => 'Þjónusta',
+ 'Ship' => 'Senda',
+ 'Ship to' => 'Senda til',
+ 'Ship via' => 'Senda með',
+ 'Source' => 'Frálag',
+ 'Subject' => 'Efni',
+ 'Subtotal' => 'Samtala',
+ 'Tax Included' => 'Taka með VSK',
+ 'To' => 'til',
+ 'Total' => 'Samtals',
+ 'Unit' => 'Einingar',
+ 'Update' => 'Uppfærsla',
+ 'Vendor not on file!' => 'Byrgir ekki til í gagnagrunni!',
+ 'What type of item is this?' => 'Hvernig hlutur er þetta?',
+ 'Yes' => 'Já',
+ 'ea' => 'stk',
+ 'emailed to' => 'sendist með rafpósti',
+ 'sent to printer' => 'sendist á prentara',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'Áfram' => 'continue',
+ 'eyða' => 'delete',
+ 'r_póstur' => 'e_mail',
+ 'pöntun' => 'order',
+ 'bókfæra' => 'post',
+ 'bókfæra_sem_nýjan' => 'post_as_new',
+ 'prenta' => 'print',
+ 'senda_til' => 'ship_to',
+ 'uppfærsla' => 'update',
+ 'já' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/is/login b/sql-ledger/locale/is/login
new file mode 100644
index 0000000..2bb761d
--- /dev/null
+++ b/sql-ledger/locale/is/login
@@ -0,0 +1,27 @@
+$self{texts} = {
+ 'About' => 'Um',
+ 'Database Host' => 'Gagnagrunns-netþjónn',
+ 'Dataset' => 'Gagnasafn',
+ 'Incorrect Dataset version!' => 'Röng útgáfa af gagnasfni!',
+ 'Incorrect Password!' => 'Rangt lykilorð',
+ 'Licensed to' => 'Skráð á',
+ 'Login' => 'Tengjast',
+ 'Name' => 'Nafn',
+ 'Password' => 'Aðgangsorð',
+ 'User' => 'Notandi',
+ 'Version' => 'Útgáfa',
+ 'You are logged out!' => 'Þú ert loggaður út',
+ 'You did not enter a name!' => 'Þú gafst ekki upp nafn',
+ 'is not a member!' => 'er ekki meðlimur!',
+ 'localhost' => 'lokal',
+};
+
+$self{subs} = {
+ 'company_logo' => 'company_logo',
+ 'login' => 'login',
+ 'login_screen' => 'login_screen',
+ 'logout' => 'logout',
+ 'tengjast' => 'login',
+};
+
+1;
diff --git a/sql-ledger/locale/is/menu b/sql-ledger/locale/is/menu
new file mode 100644
index 0000000..1bfede9
--- /dev/null
+++ b/sql-ledger/locale/is/menu
@@ -0,0 +1,71 @@
+$self{texts} = {
+ 'AP' => 'Innkaupakerfi',
+ 'AP Aging' => 'Aldursgreining',
+ 'AR' => 'Sölukerfi',
+ 'AR Aging' => 'Aldursgreining',
+ 'Accounting Menu' => 'Bókhalds valmynd',
+ 'Add Account' => 'Nýr reikningur',
+ 'Add Assembly' => 'Ný samsetning',
+ 'Add Customer' => 'Nýr viðskiptavinur',
+ 'Add GIFI' => 'Ný GIFI',
+ 'Add Part' => 'Ný vara',
+ 'Add Project' => 'Nýt verkefni',
+ 'Add Service' => 'Ný þjónusta',
+ 'Add Transaction' => 'Ný bókhaldsfærsla',
+ 'Add Vendor' => 'Nýr byrgir',
+ 'Assemblies' => 'Samsetningar',
+ 'Audit Control' => 'Yfirlit stjórnun',
+ 'Backup' => 'Afrit',
+ 'Balance Sheet' => 'Staða',
+ 'Cash' => 'Reiðufé',
+ 'Chart of Accounts' => 'Listi yfir lykkla/reikninga',
+ 'Check' => 'Ávísun',
+ 'Customers' => 'Viðskiptavinir',
+ 'General Ledger' => 'Aðalbók',
+ 'Goods & Services' => 'Vörur og þjónusta',
+ 'HTML Templates' => 'HTML-skabalón',
+ 'Income Statement' => 'Inn yfirlýsing',
+ 'Invoice' => 'Sölureikningur',
+ 'LaTeX Templates' => 'LaTeX-skabalón',
+ 'List Accounts' => 'Sýna lykla',
+ 'List GIFI' => 'Sýna GIFI',
+ 'Logout' => 'Aftengjast',
+ 'Order Entry' => 'Pöntunarblað',
+ 'Packing List' => 'Fylgiseðill',
+ 'Parts' => 'Vörur',
+ 'Payment' => 'Greislur',
+ 'Payments' => 'Greiðslur',
+ 'Preferences' => 'Uppsetningar',
+ 'Projects' => 'Verkefni',
+ 'Purchase Invoice' => 'Innkaupsreikningur',
+ 'Purchase Order' => 'Innkaupspöntun',
+ 'Purchase Orders' => 'Innkaupspantanir',
+ 'Receipt' => 'Kvittun',
+ 'Receipts' => 'Kvittanir',
+ 'Reconciliation' => 'Afstemingar',
+ 'Reports' => 'Skýrslur',
+ 'Sales Invoice' => 'Sölureikningur',
+ 'Sales Order' => 'Sölupöntun',
+ 'Sales Orders' => 'Sölupantanir',
+ 'Save to File' => 'Geyma í skrá',
+ 'Send by E-Mail' => 'Senda með rafpósti',
+ 'Services' => 'Þjónustur',
+ 'Statement' => 'Uppgjör',
+ 'Stock Assembly' => 'Lager samsetning',
+ 'Stylesheet' => 'Stílblað',
+ 'System' => 'Kerfi',
+ 'Tax collected' => 'VSK samtals',
+ 'Tax paid' => 'VSK greitt',
+ 'Transactions' => 'Færslur',
+ 'Trial Balance' => 'Prufu staða',
+ 'Vendors' => 'Byrgjar',
+ 'Version' => 'Útgáfa',
+};
+
+$self{subs} = {
+ 'acc_menu' => 'acc_menu',
+ 'display' => 'display',
+ 'section_menu' => 'section_menu',
+};
+
+1;
diff --git a/sql-ledger/locale/is/oe b/sql-ledger/locale/is/oe
new file mode 100644
index 0000000..9675640
--- /dev/null
+++ b/sql-ledger/locale/is/oe
@@ -0,0 +1,200 @@
+$self{texts} = {
+ 'Add' => 'Nýr',
+ 'Add Purchase Invoice' => 'Nýr innkaupsreikningur',
+ 'Add Purchase Order' => 'Ný innkaupspöntun',
+ 'Add Sales Invoice' => 'Nýr sölureikningur',
+ 'Add Sales Order' => 'Ný sölupöntun',
+ 'Address' => 'Heimilisfang',
+ 'Amount' => 'Upphæð',
+ 'Apr' => 'apr',
+ 'April' => 'apríl',
+ 'Are you sure you want to delete Order Number' => 'Ert þú viss um að þú viljir eyða pöntun númer',
+ 'Attachment' => 'Hjálagt',
+ 'Aug' => 'ágú',
+ 'August' => 'ágúst',
+ 'Bcc' => 'Blint afrit',
+ 'Bin' => 'Vörulager',
+ 'C' => 'C',
+ 'Cannot delete order!' => 'Get ekki eytt pöntun!',
+ 'Cannot save order!' => 'Get ekki geymt pöntun!',
+ 'Cc' => 'Afrit',
+ 'Closed' => 'Lokað',
+ 'Confirm!' => 'Staðfesta!',
+ 'Contact' => 'Talsmaður',
+ 'Continue' => 'Áfram',
+ 'Copies' => 'Afrit',
+ 'Credit Limit' => 'Kreditmörk',
+ 'Curr' => 'Gjaldm',
+ 'Currency' => 'Gjaldmiðill',
+ 'Customer' => 'Viðskiptavinur',
+ 'Customer missing!' => 'Viðskiptavin vantar!',
+ 'Customer not on file!' => 'Viðskiptavinur ekki á skrá!',
+ 'Date' => 'Dagsetning',
+ 'Dec' => 'des',
+ 'December' => 'desember',
+ 'Delete' => 'Eyða',
+ 'Delivery Date' => 'Afgreiðsludags.',
+ 'Description' => 'Skýringar',
+ 'E-mail' => 'R-póstur',
+ 'E-mail address missing!' => 'R-póst vantar!',
+ 'Edit Purchase Order' => 'Breyta innkaupapöntun',
+ 'Edit Sales Order' => 'Breyta sölupöntun',
+ 'Exchangerate' => 'Vextir',
+ 'Exchangerate missing!' => 'Vantar vexti!',
+ 'Extended' => 'Framlengt',
+ 'Fax' => 'Símbréf',
+ 'Feb' => 'feb',
+ 'February' => 'febrúar',
+ 'From' => 'Frá',
+ 'ID' => 'ID',
+ 'In-line' => 'Inndregið',
+ 'Include in Report' => 'Innifela í skýrslu',
+ 'Invoice' => 'Sölureikningur',
+ 'Invoice Date missing!' => 'Sölureiknings dags. vantar!',
+ 'Invoice Number missing!' => 'Sölureikningsnúmer vantar!',
+ 'Item not on file!' => 'Hlutur ekki á skrá!',
+ 'Jan' => 'jan',
+ 'January' => 'janúar',
+ 'Jul' => 'júl',
+ 'July' => 'júlí',
+ 'Jun' => 'jún',
+ 'June' => 'júní',
+ 'Mar' => 'mar',
+ 'March' => 'mars',
+ 'May' => 'maí',
+ 'May ' => 'maí',
+ 'Message' => 'Skilaboð',
+ 'Name' => 'Nafn',
+ 'No.' => 'Nr.',
+ 'Notes' => 'Upplýsinar',
+ 'Nov' => 'nóv',
+ 'November' => 'nóvember',
+ 'Number' => 'Númer',
+ 'Number missing in Row' => 'Tölu vantar í röð',
+ 'O' => 'O',
+ 'Oct' => 'ókt',
+ 'October' => 'óktóber',
+ 'Open' => 'opna',
+ 'Order' => 'Pöntun',
+ 'Order Date' => 'Pöntunar dags.',
+ 'Order Date missing!' => 'Pöntunar dags. vantar',
+ 'Order Number' => 'Pöntun númer',
+ 'Order Number missing!' => 'Númer pöntunar vantar',
+ 'Order deleted!' => 'Pöntun eytt',
+ 'Order saved!' => 'Pöntun geymd',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Fylgiseðill',
+ 'Packing List Date missing!' => 'Dags. fylgiseðils vantar!',
+ 'Packing List Number missing!' => 'Númer fylgiseðils vantar!',
+ 'Part' => 'Vara',
+ 'Phone' => 'Sími.',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Verð',
+ 'Print' => 'Prenta',
+ 'Printer' => 'Prentari',
+ 'Project' => 'Verkefni',
+ 'Project not on file!' => 'Verkefni ekki á skrá!',
+ 'Purchase Order' => 'Innkaupspöntun',
+ 'Purchase Orders' => 'Innkaupspantanir',
+ 'Qty' => 'Magn',
+ 'Recd' => 'Mótt:',
+ 'Remaining' => 'Eftir',
+ 'Required by' => 'Pantað af',
+ 'Sales Order' => 'Sölupöntun',
+ 'Sales Orders' => 'Sölupantanir',
+ 'Save' => 'Geyma',
+ 'Save as new' => 'Geyma sem nýtt',
+ 'Screen' => 'Skjá',
+ 'Select from one of the items below' => 'Veljið einhver að neðangreindum hlutum, og ýtið á "Áfram"',
+ 'Select from one of the names below' => 'Veljið einhvað að neðangreindum nöfnum',
+ 'Select from one of the projects below' => 'Veljið einhvað að neðangreindum verkefnum',
+ 'Select postscript or PDF!' => 'Veljið postscript eða PDF',
+ 'Sep' => 'sep',
+ 'September' => 'september',
+ 'Service' => 'Þjónusta',
+ 'Ship' => 'Senda',
+ 'Ship to' => 'Senda til',
+ 'Ship via' => 'Senda með',
+ 'Subject' => 'Efni',
+ 'Subtotal' => 'Samtala',
+ 'Tax' => 'Virðisaukaskattur',
+ 'Tax Included' => 'Taka með VSK',
+ 'Terms: Net' => 'Nettó',
+ 'To' => 'til',
+ 'Total' => 'Samtals',
+ 'Unit' => 'Einingar',
+ 'Update' => 'Uppfærsla',
+ 'Vendor' => 'Byrgir',
+ 'Vendor missing!' => 'Byrgja vantar!',
+ 'Vendor not on file!' => 'Byrgir ekki til í gagnagrunni!',
+ 'What type of item is this?' => 'Hvernig hlutur er þetta?',
+ 'Yes' => 'Já',
+ 'days' => 'dagar',
+ 'ea' => 'stk',
+ 'emailed to' => 'sendist með rafpósti',
+ 'sent to printer' => 'sendist á prentara',
+ 'to' => 'til',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_backorder' => 'create_backorder',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice' => 'invoice',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'order_links' => 'order_links',
+ 'orders' => 'orders',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_order' => 'prepare_order',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'save' => 'save',
+ 'save_as_new' => 'save_as_new',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'subtotal' => 'subtotal',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'nýr' => 'add',
+ 'Áfram' => 'continue',
+ 'eyða' => 'delete',
+ 'r_póstur' => 'e_mail',
+ 'sölureikningur' => 'invoice',
+ 'prenta' => 'print',
+ 'geyma' => 'save',
+ 'geyma_sem_nýtt' => 'save_as_new',
+ 'senda_til' => 'ship_to',
+ 'uppfærsla' => 'update',
+ 'já' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/is/pe b/sql-ledger/locale/is/pe
new file mode 100644
index 0000000..38b9169
--- /dev/null
+++ b/sql-ledger/locale/is/pe
@@ -0,0 +1,35 @@
+$self{texts} = {
+ 'Add' => 'Nýr',
+ 'Add Project' => 'Nýt verkefni',
+ 'All' => 'Allt',
+ 'Continue' => 'Áfram',
+ 'Delete' => 'Eyða',
+ 'Description' => 'Skýringar',
+ 'Edit Project' => 'Breyta verkefni',
+ 'Number' => 'Númer',
+ 'Orphaned' => 'Sjáfstætt',
+ 'Project' => 'Verkefni',
+ 'Project Number missing!' => 'Verkefnisnúmer vantar!',
+ 'Project deleted!' => 'Verkefni eytt!',
+ 'Project saved!' => 'verkefni geymt!',
+ 'Projects' => 'Verkefni',
+ 'Save' => 'Geyma',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'nýr' => 'add',
+ 'Áfram' => 'continue',
+ 'eyða' => 'delete',
+ 'geyma' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/is/rc b/sql-ledger/locale/is/rc
new file mode 100644
index 0000000..cdd9c82
--- /dev/null
+++ b/sql-ledger/locale/is/rc
@@ -0,0 +1,37 @@
+$self{texts} = {
+ 'Account' => 'Reikningur',
+ 'Balance' => 'Afstemming',
+ 'Cleared Balance' => 'Hreynsað jafvægi',
+ 'Continue' => 'Áfram',
+ 'Date' => 'Dagsetning',
+ 'Deposit' => 'Innlagt',
+ 'Description' => 'Skýringar',
+ 'Difference' => 'Mismunur',
+ 'Done' => 'Búið',
+ 'Exchangerate Difference' => 'Vaxtamunur',
+ 'From' => 'Frá',
+ 'Out of balance!' => 'Ekki jafnvægi!',
+ 'Payment' => 'Greislur',
+ 'Reconciliation' => 'Afstemingar',
+ 'Select all' => 'Velja allt',
+ 'Source' => 'Frálag',
+ 'Statement Balance' => 'jöfnunaruppgjör',
+ 'Update' => 'Uppfærsla',
+ 'to' => 'til',
+};
+
+$self{subs} = {
+ 'continue' => 'continue',
+ 'display_form' => 'display_form',
+ 'done' => 'done',
+ 'get_payments' => 'get_payments',
+ 'reconciliation' => 'reconciliation',
+ 'select_all' => 'select_all',
+ 'update' => 'update',
+ 'Áfram' => 'continue',
+ 'búið' => 'done',
+ 'velja_allt' => 'select_all',
+ 'uppfærsla' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/is/rp b/sql-ledger/locale/is/rp
new file mode 100644
index 0000000..ba164d8
--- /dev/null
+++ b/sql-ledger/locale/is/rp
@@ -0,0 +1,120 @@
+$self{texts} = {
+ 'AP Aging' => 'Aldursgreining',
+ 'AR Aging' => 'Aldursgreining',
+ 'Account' => 'Reikningur',
+ 'Accounts' => 'Reikningar',
+ 'Amount' => 'Upphæð',
+ 'Apr' => 'apr',
+ 'April' => 'apríl',
+ 'Attachment' => 'Hjálagt',
+ 'Aug' => 'ágú',
+ 'August' => 'ágúst',
+ 'Balance' => 'Afstemming',
+ 'Balance Sheet' => 'Staða',
+ 'Bcc' => 'Blint afrit',
+ 'Cash based' => 'Reiðufétengt',
+ 'Cc' => 'Afrit',
+ 'Compare to' => 'Bera saman við',
+ 'Continue' => 'Áfram',
+ 'Copies' => 'Afrit',
+ 'Credit' => 'Kredit',
+ 'Current' => 'Núvirði',
+ 'Customer' => 'Viðskiptavinur',
+ 'Date' => 'Dagsetning',
+ 'Debit' => 'Debit',
+ 'Dec' => 'des',
+ 'December' => 'desember',
+ 'Decimalplaces' => 'Aukastafir',
+ 'Department' => 'Department',
+ 'Description' => 'Skýringar',
+ 'Due' => 'Lokið',
+ 'E-mail' => 'R-póstur',
+ 'E-mail Statement to' => 'Senda yfirlit til',
+ 'Feb' => 'feb',
+ 'February' => 'febrúar',
+ 'From' => 'Frá',
+ 'GIFI' => 'GIFI',
+ 'Heading' => 'Yfirskriftir',
+ 'ID' => 'ID',
+ 'In-line' => 'Inndregið',
+ 'Include in Report' => 'Innifela í skýrslu',
+ 'Income Statement' => 'Inn yfirlýsing',
+ 'Invoice' => 'Sölureikningur',
+ 'Jan' => 'jan',
+ 'January' => 'janúar',
+ 'Jul' => 'júl',
+ 'July' => 'júlí',
+ 'Jun' => 'jún',
+ 'June' => 'júní',
+ 'Mar' => 'mar',
+ 'March' => 'mars',
+ 'May' => 'maí',
+ 'May ' => 'maí',
+ 'Message' => 'Skilaboð',
+ 'N/A' => 'N/A',
+ 'Nothing selected!' => 'Ekkert valið!',
+ 'Nov' => 'nóv',
+ 'November' => 'nóvember',
+ 'Oct' => 'ókt',
+ 'October' => 'óktóber',
+ 'PDF' => 'PDF',
+ 'Payments' => 'Greiðslur',
+ 'Postscript' => 'Postscript',
+ 'Print' => 'Prenta',
+ 'Printer' => 'Prentari',
+ 'Project Number' => 'Project Number',
+ 'Receipts' => 'Kvittanir',
+ 'Report for' => 'Skýrsla fyrir',
+ 'Retained Earnings' => 'Realiseret overskud',
+ 'Screen' => 'Skjá',
+ 'Select all' => 'Velja allt',
+ 'Select postscript or PDF!' => 'Veljið postscript eða PDF',
+ 'Sep' => 'sep',
+ 'September' => 'september',
+ 'Source' => 'Frálag',
+ 'Standard' => 'Standart',
+ 'Statement' => 'Uppgjör',
+ 'Statement sent to' => 'Uppgjör sendist til',
+ 'Statements sent to printer!' => 'Uppgjör sendist á prentara',
+ 'Subject' => 'Efni',
+ 'Subtotal' => 'Samtala',
+ 'Tax' => 'Virðisaukaskattur',
+ 'Tax collected' => 'VSK samtals',
+ 'Tax paid' => 'VSK greitt',
+ 'Total' => 'Samtals',
+ 'Trial Balance' => 'Prufu staða',
+ 'Vendor' => 'Byrgir',
+ 'as at' => 'líkt og með',
+ 'collected on sales' => 'samanlagt við sölu',
+ 'for Period' => 'fyrir tímabilið',
+ 'paid on purchases' => 'greitt við innkaup',
+ 'to' => 'til',
+};
+
+$self{subs} = {
+ 'aging' => 'aging',
+ 'continue' => 'continue',
+ 'e_mail' => 'e_mail',
+ 'generate_ap_aging' => 'generate_ap_aging',
+ 'generate_ar_aging' => 'generate_ar_aging',
+ 'generate_balance_sheet' => 'generate_balance_sheet',
+ 'generate_income_statement' => 'generate_income_statement',
+ 'generate_tax_report' => 'generate_tax_report',
+ 'generate_trial_balance' => 'generate_trial_balance',
+ 'list_accounts' => 'list_accounts',
+ 'list_payments' => 'list_payments',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'report' => 'report',
+ 'select_all' => 'select_all',
+ 'send_email' => 'send_email',
+ 'statement_details' => 'statement_details',
+ 'tax_subtotal' => 'tax_subtotal',
+ 'Áfram' => 'continue',
+ 'r_póstur' => 'e_mail',
+ 'prenta' => 'print',
+ 'velja_allt' => 'select_all',
+};
+
+1;
diff --git a/sql-ledger/locale/it/COPYING b/sql-ledger/locale/it/COPYING
new file mode 100644
index 0000000..55c8de3
--- /dev/null
+++ b/sql-ledger/locale/it/COPYING
@@ -0,0 +1,25 @@
+######################################################################
+# SQL-Ledger Accounting
+# Copyright (c) 2001
+#
+# Italien texts:
+#
+# Author: Paolo Bizzarri <p.bizzarri@icube.it>
+# Luca Venturini <luca@yepa.com>
+# Alessandro Pasotti <apasotti@isoleborromee.it>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+#######################################################################
+
diff --git a/sql-ledger/locale/it/LANGUAGE b/sql-ledger/locale/it/LANGUAGE
new file mode 100644
index 0000000..4e07e7e
--- /dev/null
+++ b/sql-ledger/locale/it/LANGUAGE
@@ -0,0 +1 @@
+Italian
diff --git a/sql-ledger/locale/it/Num2text b/sql-ledger/locale/it/Num2text
new file mode 100644
index 0000000..fccc1d4
--- /dev/null
+++ b/sql-ledger/locale/it/Num2text
@@ -0,0 +1,163 @@
+#=====================================================================
+# SQL-Ledger Accounting
+# Copyright (C) 2002
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+# Contributors: Luca Venturini <luca@yepa.com>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#======================================================================
+#
+# this is a variation of the Lingua package
+# written for check and receipt printing
+# it returns a properly formatted text string
+# for a number up to 10**12
+
+sub init {
+ my $self = shift;
+
+ %{ $self->{numbername} } =
+ (0 => 'Zero',
+ 1 => 'uno',
+ 2 => 'due',
+ 3 => 'tre',
+ 4 => 'quattro',
+ 5 => 'cinque',
+ 6 => 'sei',
+ 7 => 'sette',
+ 8 => 'otto',
+ 9 => 'nove',
+ 10 => 'dieci',
+ 11 => 'undici',
+ 12 => 'dodici',
+ 13 => 'tredici',
+ 14 => 'quattrodici',
+ 15 => 'quindici',
+ 16 => 'sedici',
+ 17 => 'diciassette',
+ 18 => 'diciotto',
+ 19 => 'diciannove',
+ 20 => 'venti',
+ 30 => 'trenta',
+ 40 => 'quaranta',
+ 50 => 'cinquanta',
+ 60 => 'sessanta',
+ 70 => 'settanta',
+ 80 => 'ottanta',
+ 90 => 'novanta',
+ 10**2 => 'cento',
+ 10**3 => 'mille',
+ 10**6 => 'milione',
+ 10**9 => 'miliardo',
+ 10**12 => 'mille miliardi'
+ );
+
+}
+
+
+sub num2text {
+ my ($self, $amount) = @_;
+
+ return $self->{numbername}{0} unless $amount;
+
+ my @textnumber = ();
+
+ # split amount into chunks of 3
+ my @num = reverse split //, $amount;
+ my @numblock = ();
+ my ($i, $appendn);
+ my @a = ();
+
+ while (@num) {
+ @a = ();
+ for (1 .. 3) {
+ push @a, shift @num;
+ }
+ push @numblock, join / /, reverse @a;
+ }
+
+ while (@numblock) {
+
+ $i = $#numblock;
+ @num = split //, $numblock[$i];
+
+ $numblock[$i] *= 1;
+
+ if ($numblock[$i] == 0) {
+ pop @numblock;
+ next;
+ }
+
+ if ($numblock[$i] > 99) {
+ # the one from hundreds
+ push @textnumber, $self->{numbername}{$num[0]};
+
+ # add hundred designation
+ push @textnumber, $self->{numbername}{10**2};
+
+ # reduce numblock
+ $numblock[$i] -= $num[0] * 100;
+ }
+
+ if ($numblock[$i] > 9) {
+ # tens
+ push @textnumber, $self->format_ten($numblock[$i]);
+ } elsif ($numblock[$i] > 1) {
+ # ones
+ push @textnumber, $self->{numbername}{$numblock[$i]};
+ }
+
+ # add thousand, million
+ if ($i) {
+ $amount = 10**($i * 3);
+ push @textnumber, $self->{numbername}{$amount};
+ }
+
+ pop @numblock;
+
+ }
+
+ join '', @textnumber;
+
+}
+
+
+sub format_ten {
+ my ($self, $amount) = @_;
+
+ my $textnumber = "";
+ my @num = split //, $amount;
+
+ if ($amount > 20) {
+ if ($num[1] == 0) {
+ $textnumber = $self->{numbername}{$amount};
+ } else {
+ $amount = $num[0] * 10;
+ $textnumber = $self->{numbername}{$amount}.$self->{numbername}{$num[1]};
+ }
+ }
+ } else {
+ $textnumber = $self->{numbername}{$amount};
+ }
+
+ $textnumber;
+
+}
+
+
+1;
+
diff --git a/sql-ledger/locale/it/admin b/sql-ledger/locale/it/admin
new file mode 100644
index 0000000..2294823
--- /dev/null
+++ b/sql-ledger/locale/it/admin
@@ -0,0 +1,124 @@
+$self{texts} = {
+ 'Access Control' => 'Controllo degli accessi',
+ 'Accounting' => 'Contabilit&agrave;',
+ 'Add User' => 'Aggiungi Utente',
+ 'Address' => 'Indirizzo',
+ 'Administration' => 'Amministrazione',
+ 'Administrator' => 'Amministratore',
+ 'All Datasets up to date!' => 'Tutti i Dataset sono aggiornati!',
+ 'Change Admin Password' => 'Cambia password dell\'amministratore',
+ 'Change Password' => 'Cambia password',
+ 'Character Set' => 'Set di Caratteri',
+ 'Click on login name to edit!' => 'Clicca sul nome per effettuare modifiche',
+ 'Company' => 'Ragione Sociale',
+ 'Connect to' => 'Connetti a',
+ 'Continue' => 'Continua',
+ 'Create Chart of Accounts' => 'Crea Piano dei Conti',
+ 'Create Dataset' => 'Crea Dataset',
+ 'DBI not installed!' => 'Modulo DBI non installato',
+ 'Database' => 'Database',
+ 'Database Administration' => 'Amministratore del Database',
+ 'Database Driver not checked!' => 'Il driver del database non e\' stato controllato!',
+ 'Database User missing!' => 'Manca l\'utente del Database!',
+ 'Dataset' => 'Dataset',
+ 'Dataset missing!' => 'Dataset mancante!',
+ 'Dataset updated!' => 'Dataset aggiornato!',
+ 'Date Format' => 'Formato della data',
+ 'Delete' => 'Cancella',
+ 'Delete Dataset' => 'Cancella Dataset',
+ 'Directory' => 'Directory',
+ 'Driver' => 'Driver',
+ 'Dropdown Limit' => 'Limite per i menu a discesa',
+ 'E-mail' => 'E-mail',
+ 'Edit User' => 'Modifica Utente',
+ 'Existing Datasets' => 'Datasets esistenti',
+ 'Fax' => 'Fax',
+ 'Host' => 'Host',
+ 'Hostname missing!' => 'Manca il nome del server',
+ 'Incorrect Password!' => 'Password sbagliata!',
+ 'Language' => 'Lingua',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Lascia in bianco il server e la porta a meno che tu non voglia fare una connessione remota',
+ 'Login' => 'Login',
+ 'Multibyte Encoding' => 'Multibyte Encoding',
+ 'Name' => 'Nome',
+ 'New Templates' => 'Nuovi Modelli',
+ 'No Database Drivers available!' => 'Nessun Database Driver disponibile!',
+ 'No Dataset selected!' => 'Nessun Dataset selezionato!',
+ 'Nothing to delete!' => 'Nulla da cancellare!',
+ 'Number Format' => 'Formato Numerico',
+ 'Oracle Database Administration' => 'Amministratore del Database Oracle',
+ 'Password' => 'Password',
+ 'Password changed!' => 'Password cambiata!',
+ 'Pg Database Administration' => 'Amministratore del Database Pg',
+ 'Phone' => 'Tel.',
+ 'Port' => 'Porta',
+ 'Port missing!' => 'Manca la Porta',
+ 'Printer' => 'Stampante',
+ 'Save' => 'Salva',
+ 'Select a Dataset to delete and press "Continue"' => 'Seleziona un dataset da cancellare e premi "Continua"',
+ 'Setup Templates' => 'Configurazione dei modelli',
+ 'Ship via' => 'Porto',
+ 'Signature' => 'Firma',
+ 'Stylesheet' => 'Foglio di Stile',
+ 'Templates' => 'Modelli',
+ 'The following Datasets are not in use and can be deleted' => 'I seguenti datasets non sono in uso e possono essere cancellati',
+ 'The following Datasets need to be updated' => 'I seguenti datasets devono essere aggiornati',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'Questo &egrave; un controllo preliminare per verificare le risorse esistenti. Nulla verr&agrave; creato o cancellato in questa fase!',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'Per aggiungere un utente ad un gruppo, modifica i dati dell\'utente, cambia lo username e salva. Un nuovo utente con gli stessi dati verr&agrave; salvato con il nuovo username.',
+ 'Update Dataset' => 'Aggiorna il Dataset',
+ 'Use Templates' => 'Usa Modelli',
+ 'User' => 'Utente',
+ 'User deleted!' => 'Utente cancellato!',
+ 'User saved!' => 'Utente salvato!',
+ 'Version' => 'Versione',
+ 'You must enter a host and port for local and remote connections!' => 'Devi inserire un server ed una porta per le connessioni locali e remote!',
+ 'does not exist' => 'non esiste',
+ 'is already a member!' => '&egrave; gi&agrave; utente!',
+ 'localhost' => 'localhost',
+ 'locked!' => 'locked!',
+ 'successfully created!' => 'creato!',
+ 'successfully deleted!' => 'cancellato!',
+ 'website' => 'sito web',
+};
+
+$self{subs} = {
+ 'add_user' => 'add_user',
+ 'adminlogin' => 'adminlogin',
+ 'change_admin_password' => 'change_admin_password',
+ 'change_password' => 'change_password',
+ 'check_password' => 'check_password',
+ 'continue' => 'continue',
+ 'create_dataset' => 'create_dataset',
+ 'dbcreate' => 'dbcreate',
+ 'dbdelete' => 'dbdelete',
+ 'dbdriver_defaults' => 'dbdriver_defaults',
+ 'dbselect_source' => 'dbselect_source',
+ 'dbupdate' => 'dbupdate',
+ 'delete' => 'delete',
+ 'delete_dataset' => 'delete_dataset',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'get_value' => 'get_value',
+ 'list_users' => 'list_users',
+ 'login' => 'login',
+ 'login_name' => 'login_name',
+ 'oracle_database_administration' => 'oracle_database_administration',
+ 'pg_database_administration' => 'pg_database_administration',
+ 'save' => 'save',
+ 'update_dataset' => 'update_dataset',
+ 'aggiungi_utente' => 'add_user',
+ 'cambia_password_dell\'amministratore' => 'change_admin_password',
+ 'cambia_password' => 'change_password',
+ 'continua' => 'continue',
+ 'crea_dataset' => 'create_dataset',
+ 'cancella' => 'delete',
+ 'cancella_dataset' => 'delete_dataset',
+ 'login' => 'login',
+ 'amministratore_del_database_oracle' => 'oracle_database_administration',
+ 'amministratore_del_database_pg' => 'pg_database_administration',
+ 'salva' => 'save',
+ 'aggiorna_il_dataset' => 'update_dataset',
+};
+
+1;
diff --git a/sql-ledger/locale/it/all b/sql-ledger/locale/it/all
new file mode 100644
index 0000000..8f47e6c
--- /dev/null
+++ b/sql-ledger/locale/it/all
@@ -0,0 +1,495 @@
+# These are all the texts to build the translations files.
+# The file has the form of 'english text' => 'foreign text',
+# you can add the translation in this file or in the 'missing' file
+# run locales.pl from this directory to rebuild the translation files
+
+$self{texts} = {
+ 'AP' => 'Debiti Fornitori',
+ 'AP Aging' => 'Partite Aperte',
+ 'AP Transaction' => 'Transazione Fornitore',
+ 'AP Transactions' => 'Transazioni Fornitori',
+ 'AR' => 'Crediti Clienti',
+ 'AR Aging' => 'Partite Aperte',
+ 'AR Transaction' => 'Transazione Cliente',
+ 'AR Transactions' => 'Transazioni Clienti',
+ 'About' => 'Informazioni',
+ 'Access Control' => 'Controllo degli accessi',
+ 'Account' => 'Conto',
+ 'Account Number' => 'Numero di conto',
+ 'Account Number missing!' => 'Manca il numero di conto!',
+ 'Account Type' => 'Tipo di conto',
+ 'Account Type missing!' => 'Manca il tipo del conto!',
+ 'Account deleted!' => 'Conto cancellato!',
+ 'Account saved!' => 'Conto salvato!',
+ 'Accounting' => 'Contabilit&agrave;',
+ 'Accounting Menu' => 'Menu Contabilit&agrave;',
+ 'Accounts' => 'Conti',
+ 'Active' => 'Attivo',
+ 'Add' => 'Aggiungi',
+ 'Add Account' => 'Aggiungi conto',
+ 'Add Accounts Payables Transaction' => 'Aggiungi Transazione Fornitori',
+ 'Add Accounts Receivables Transaction' => 'Aggiungi Transazione Clienti',
+ 'Add Assembly' => 'Aggiungi Assemblato',
+ 'Add Customer' => 'Aggiungi Cliente',
+ 'Add GIFI' => 'Aggiungi codice GIFI',
+ 'Add General Ledger Transaction' => 'Aggiungi Transazione di Contabilità Generale',
+ 'Add Part' => 'Aggiungi Articolo',
+ 'Add Project' => 'Aggiungi Progetto',
+ 'Add Purchase Invoice' => 'Aggiungi Fattura di acquisto',
+ 'Add Purchase Order' => 'Aggiungi Ordine di acquisto',
+ 'Add Sales Invoice' => 'Aggiungi Fattura di vendita',
+ 'Add Sales Order' => 'Aggiungi Ordine di vendita',
+ 'Add Service' => 'Aggiungi Servizio',
+ 'Add Transaction' => 'Aggiungi Transazione',
+ 'Add User' => 'Aggiungi Utente',
+ 'Add Vendor' => 'Aggiungi Fornitore',
+ 'Address' => 'Indirizzo',
+ 'Administration' => 'Amministrazione',
+ 'Administrator' => 'Amministratore',
+ 'All' => 'Tutti',
+ 'All Datasets up to date!' => 'Tutti i Dataset sono aggiornati!',
+ 'Amount' => 'Importo',
+ 'Amount Due' => 'Importo Dovuto',
+ 'Amount does not equal applied!' => 'L\'importo non &egrave; uguale a quanto applicato alle diverse fatture!',
+ 'Amount missing!' => 'Manca l\'importo',
+ 'Applied' => 'Applicato a',
+ 'Apr' => 'Apr',
+ 'April' => 'Aprile',
+ 'Are you sure you want to delete Invoice Number' => 'Sei sicuro di voler cancellare la Fattura numero',
+ 'Are you sure you want to delete Order Number' => 'Sei sicuro di voler cancellare l\'ordine numero',
+ 'Are you sure you want to delete Transaction' => 'Sei sicuro di voler cancellare la Transazione',
+ 'Assemblies' => 'Assemblati',
+ 'Assemblies restocked!' => 'Assemblati ricaricati!',
+ 'Assembly Number missing!' => 'Manca il codice dell\'assemblato',
+ 'Asset' => 'Attivit&agrave;',
+ 'Attachment' => 'Allegato',
+ 'Audit Control' => 'Controllo accessi',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'BOM' => 'BOM',
+ 'Backup' => 'Backup',
+ 'Backup sent to' => 'Backup inviato a',
+ 'Balance' => 'Saldo',
+ 'Balance Sheet' => 'Stato Patrimoniale',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Codice BIN',
+ 'Books are open' => 'I conti sono aperti',
+ 'Bought' => 'Comprato',
+ 'Business Number' => 'Partita IVA',
+ 'C' => 'C',
+ 'COGS' => 'Costo dei Beni Venduti',
+ 'Cannot delete account!' => 'Non puoi cancellare il conto!',
+ 'Cannot delete customer!' => 'Non puoi cancellare il cliente!',
+ 'Cannot delete default account!' => 'Non puoi cancellare il conto predefinito!',
+ 'Cannot delete invoice!' => 'Non puoi cancellare la fattura!',
+ 'Cannot delete item already invoiced!' => 'Non puoi cancellare un articolo gi&agrave; fatturato!',
+ 'Cannot delete item on order!' => 'Non puoi cancellare un articolo ordinato!',
+ 'Cannot delete item which is part of an assembly!' => 'Non puoi cancellare un articolo che fa parte di un assemblato!',
+ 'Cannot delete item!' => 'Non puoi cancellare l\'articolo',
+ 'Cannot delete order!' => 'Non puoi cancellare l\'ordine',
+ 'Cannot delete transaction!' => 'Non puoi cancellare la transazione',
+ 'Cannot delete vendor!' => 'Non puoi cancellare il fornitore',
+ 'Cannot have a value in both Debit and Credit!' => 'Non pu&ograve; esserci un valore sia in Dare che in Avere!',
+ 'Cannot post a transaction without a value!' => 'Non puoi salvare una transazione senza un valore!',
+ 'Cannot post invoice for a closed period!' => 'Non puoi salvare una transazione per un periodo chiuso!',
+ 'Cannot post invoice!' => 'Non puoi salvare la fattura!',
+ 'Cannot post payment for a closed period!' => 'Non puoi salvare pagamenti per un periodo chiuso!',
+ 'Cannot post payment!' => 'Non puoi salvare il pagamento!',
+ 'Cannot post transaction for a closed period!' => 'Non puoi salvare una transazione per un periodo chiuso!',
+ 'Cannot post transaction!' => 'Non puoi salvare la transazione!',
+ 'Cannot process payment for a closed period!' => 'Non puoi processare un pagamento per un periodo chiuso!',
+ 'Cannot save account!' => 'Non puoi salvare il conto!',
+ 'Cannot save order!' => 'Non puoi salvare l\'ordine!',
+ 'Cannot save preferences!' => 'Non puoi salvare le preferenze!',
+ 'Cannot stock assemblies!' => 'Non puoi caricare gli assemblati!',
+ 'Cash' => 'Cassa',
+ 'Cash based' => 'Basato sulla cassa',
+ 'Cc' => 'Cc',
+ 'Change Admin Password' => 'Cambia password dell\'amministratore',
+ 'Change Password' => 'Cambia password',
+ 'Character Set' => 'Set di Caratteri',
+ 'Chart of Accounts' => 'Piano dei Conti',
+ 'Check' => 'Assegno',
+ 'Check printed!' => 'Assegno stampato!',
+ 'Check printing failed!' => 'Stampa dell\'assegno fallita!',
+ 'Cleared Balance' => 'Saldo gi&agrave; Conciliato',
+ 'Click on login name to edit!' => 'Clicca sul nome per effettuare modifiche',
+ 'Close Books up to' => 'Chiudi i conti fino a',
+ 'Closed' => 'Chiuso',
+ 'Company' => 'Ragione Sociale',
+ 'Compare to' => 'Confronta con',
+ 'Confirm!' => 'Conferma!',
+ 'Connect to' => 'Connetti a',
+ 'Contact' => 'Contatto',
+ 'Continue' => 'Continua',
+ 'Copies' => 'Copie',
+ 'Copy to COA' => 'Inserisci come Conto',
+ 'Create Chart of Accounts' => 'Crea Piano dei Conti',
+ 'Create Dataset' => 'Crea Dataset',
+ 'Credit' => 'Avere',
+ 'Credit Limit' => 'Fido',
+ 'Curr' => 'Valuta',
+ 'Currency' => 'Valuta',
+ 'Current' => 'Corrente',
+ 'Customer' => 'Cliente',
+ 'Customer deleted!' => 'Cliente cancellato!',
+ 'Customer missing!' => 'Cliente mancante!',
+ 'Customer not on file!' => 'Cliente non sul file!',
+ 'Customer saved!' => 'Cliente salvato!',
+ 'Customers' => 'Clienti',
+ 'DBI not installed!' => 'Modulo DBI non installato',
+ 'Database' => 'Database',
+ 'Database Administration' => 'Amministratore del Database',
+ 'Database Driver not checked!' => 'Il driver del database non e\' stato controllato!',
+ 'Database Host' => 'Server',
+ 'Database User missing!' => 'Manca l\'utente del Database!',
+ 'Dataset' => 'Dataset',
+ 'Dataset missing!' => 'Dataset mancante!',
+ 'Dataset updated!' => 'Dataset aggiornato!',
+ 'Date' => 'Data',
+ 'Date Due' => 'Data di Scadenza',
+ 'Date Format' => 'Formato della data',
+ 'Date Paid' => 'Data di pagamento',
+ 'Date missing!' => 'Manca la data!',
+ 'Debit' => 'Dare',
+ 'Debit and credit out of balance!' => 'Dare e Avere non concordano!.',
+ 'Dec' => 'Dic',
+ 'December' => 'Dicembre',
+ 'Decimalplaces' => 'Numero di decimali',
+ 'Delete' => 'Cancella',
+ 'Delete Account' => 'Cancella Conto',
+ 'Delete Dataset' => 'Cancella Dataset',
+ 'Delivery Date' => 'Data di spedizione',
+ 'Department' => '',
+ 'Deposit' => 'Deposito',
+ 'Description' => 'Descrizione',
+ 'Difference' => 'Differenza',
+ 'Directory' => 'Directory',
+ 'Discount' => 'Sconto',
+ 'Done' => 'Fatto',
+ 'Drawing' => 'Disegno',
+ 'Driver' => 'Driver',
+ 'Dropdown Limit' => 'Limite per i menu a discesa',
+ 'Due' => 'Dovuto',
+ 'Due Date' => 'Scadenza Fattura',
+ 'Due Date missing!' => 'Data di Scadenza mancante!',
+ 'E-mail' => 'E-mail',
+ 'E-mail Statement to' => 'Manda il sollecito via e-mail a',
+ 'E-mail address missing!' => 'Indirizzo e-mail mancante!',
+ 'Edit' => 'Modifica',
+ 'Edit Account' => 'Modifica Conto',
+ 'Edit Accounts Payables Transaction' => 'Modifica Transazione Fornitori',
+ 'Edit Accounts Receivables Transaction' => 'Modifica Transazione Clienti',
+ 'Edit Assembly' => 'Modifica Assemblato',
+ 'Edit Customer' => '',
+ 'Edit GIFI' => 'Modifica codice GIFI',
+ 'Edit General Ledger Transaction' => 'Modifica Transazione di Contabilit&agrave; Generale',
+ 'Edit Part' => 'Modifica Articolo',
+ 'Edit Preferences for' => 'Modifica Preferenze di',
+ 'Edit Project' => 'Modifica Progetto',
+ 'Edit Purchase Invoice' => 'Modifica Fattura di acquisto',
+ 'Edit Purchase Order' => 'Modifica Ordine di acquisto',
+ 'Edit Sales Invoice' => 'Modifica Fattura di Vendita',
+ 'Edit Sales Order' => 'Modifica Ordine di vendita',
+ 'Edit Service' => 'Modifica Servizio',
+ 'Edit Template' => 'Modifica Modello',
+ 'Edit User' => 'Modifica Utente',
+ 'Edit Vendor' => '',
+ 'Employee' => 'Dipendente',
+ 'Enforce transaction reversal for all dates' => 'Forza l\'uso delle transazioni inverse per tutte le date',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Inserisci fino a 3 valute separate da ":" (es.: EUR:USD:CAD) per la valuta locale e quelle straniere',
+ 'Equity' => 'Capitale',
+ 'Exch' => 'Cambio',
+ 'Exchangerate' => 'Tasso di Cambio',
+ 'Exchangerate Difference' => 'Differenza sul Tasso di Cambio',
+ 'Exchangerate for payment missing!' => 'Manca il Tasso di Cambio per il pagamento!',
+ 'Exchangerate missing!' => 'Manca il Tasso di Cambio!',
+ 'Existing Datasets' => 'Datasets esistenti',
+ 'Expense' => 'Uscite',
+ 'Expense Account' => 'Conto Acquisti',
+ 'Expense/Asset' => 'Acquisti/Attivit&agrave;',
+ 'Extended' => 'Esteso',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Febbraio',
+ 'Foreign Exchange Gain' => 'Guadagno da cambio valuta',
+ 'Foreign Exchange Loss' => 'Perdita da cambio valuta',
+ 'From' => 'Dal',
+ 'GIFI' => 'Codice GIFI',
+ 'GIFI deleted!' => 'Codice GIFI cancellato!',
+ 'GIFI missing!' => 'Codice GIFI mancante!',
+ 'GIFI saved!' => 'Codice GIFI salvato!',
+ 'GL Transaction' => 'Transazione di Contabilit&agrave; generale',
+ 'General Ledger' => 'Contabilit&agrave; generale',
+ 'Goods & Services' => 'Beni e Servizi',
+ 'HTML Templates' => 'Modelli HTML',
+ 'Heading' => 'Intestazione',
+ 'Host' => 'Host',
+ 'Hostname missing!' => 'Manca il nome del server',
+ 'ID' => 'ID',
+ 'Image' => 'Immagine',
+ 'In-line' => 'In-line',
+ 'Include in Report' => 'Includi nel Prospetto',
+ 'Include in drop-down menus' => 'Da includere nei menu a discesa dei seguenti moduli',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Includere questo conto nei moduli fornitore/cliente per identificare il soggetto come tassabile?',
+ 'Income' => 'Entrate',
+ 'Income Account' => 'Vendite',
+ 'Income Statement' => 'Conto Economico',
+ 'Incorrect Dataset version!' => 'Versione del Dataset non corretta!',
+ 'Incorrect Password!' => 'Password sbagliata!',
+ 'Individual Items' => 'Articoli Individuali',
+ 'Inventory' => 'Inventario',
+ 'Inventory Account' => 'Conto Inventario',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'La quantit&agrave; in inventario deve essere zero per poter mettere l\'assemblato come obsoleto!',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'La quantit&agrave; in inventario deve essere zero per poter mettere l\'articolo come obsoleto!',
+ 'Inventory quantity must be zero!' => 'La quantit&agrave; in inventario deve essere zero!',
+ 'Invoice' => 'Fattura',
+ 'Invoice Date' => 'Data Fattura',
+ 'Invoice Date missing!' => 'Manca la data della Fattura!',
+ 'Invoice Number' => 'Fattura Numero',
+ 'Invoice Number missing!' => 'Manca il numero della Fattura!',
+ 'Invoice deleted!' => 'Fattura Cancellata!',
+ 'Invoice posted!' => 'Fattura Salvata!',
+ 'Invoices' => 'Fatture',
+ 'Is this a summary account to record' => 'Conto di riferimento del modulo:',
+ 'Item deleted!' => 'Articolo Cancellato!',
+ 'Item not on file!' => 'Articolo non in archivio!',
+ 'Jan' => 'Gen',
+ 'January' => 'Gennaio',
+ 'Jul' => 'Lug',
+ 'July' => 'Luglio',
+ 'Jun' => 'Giu',
+ 'June' => 'Giugno',
+ 'LaTeX Templates' => 'Modelli LaTeX',
+ 'Language' => 'Lingua',
+ 'Last Cost' => 'Ultimo Costo',
+ 'Last Invoice Number' => 'Ultimo Numero di Fattura',
+ 'Last Numbers & Default Accounts' => 'Ultimi numeri e Conti di Default',
+ 'Last Purchase Order Number' => 'Ultimo numero d\'ordine di acquisto',
+ 'Last Sales Order Number' => 'Ultimo numero d\'ordine di vendita',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Lascia in bianco il server e la porta a meno che tu non voglia fare una connessione remota',
+ 'Liability' => 'Passivit&agrave;',
+ 'Licensed to' => 'Dato in Licenza a',
+ 'Line Total' => 'Totale Linea',
+ 'Link' => 'Collegamenti',
+ 'Link Accounts' => 'Collegamenti tra Conti',
+ 'List Accounts' => 'Lista Conti',
+ 'List GIFI' => 'Lista codici GIFI',
+ 'List Price' => 'Prezzo di Listino',
+ 'List Transactions' => 'Lista Transazioni',
+ 'Login' => 'Login',
+ 'Logout' => 'Logout',
+ 'Make' => 'Produttore',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'Mag',
+ 'May ' => 'Mag ',
+ 'Message' => 'Messaggio',
+ 'Microfiche' => 'Microfiche',
+ 'Model' => 'Modello',
+ 'Multibyte Encoding' => '',
+ 'N/A' => 'N/A',
+ 'Name' => 'Nome',
+ 'Name missing!' => 'Manca il Nome!',
+ 'New Templates' => 'Nuovi Modelli',
+ 'No' => 'No',
+ 'No Database Drivers available!' => 'Nessun Database Driver disponibile!',
+ 'No Dataset selected!' => 'Nessun Dataset selezionato!',
+ 'No email address for' => 'Manca l\'indirizzo e-mail per',
+ 'No.' => 'No.',
+ 'Notes' => 'Note',
+ 'Nothing applied!' => 'Nulla di applicato!',
+ 'Nothing selected!' => 'Non hai selezionato nulla!',
+ 'Nothing to delete!' => 'Nulla da cancellare!',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembre',
+ 'Number' => 'Numero',
+ 'Number Format' => 'Formato Numerico',
+ 'Number missing in Row' => 'Manca il codice nella riga',
+ 'O' => 'O',
+ 'Obsolete' => 'Obsoleto',
+ 'Oct' => 'Ott',
+ 'October' => 'Ottobre',
+ 'On Hand' => 'Disponibilit&agrave;',
+ 'On Order' => 'Mandato ordine fornitore',
+ 'Open' => 'Aperto',
+ 'Oracle Database Administration' => 'Amministratore del Database Oracle',
+ 'Order' => 'Ordine',
+ 'Order Date' => 'Data dell\'ordine',
+ 'Order Date missing!' => 'Manca la data dell\'ordine',
+ 'Order Entry' => 'Ordini',
+ 'Order Number' => 'Ordine Numero',
+ 'Order Number missing!' => 'Manca il numero dell\'ordine!',
+ 'Order deleted!' => 'Ordine Cancellato!',
+ 'Order saved!' => 'Ordine Salvato!',
+ 'Ordered' => 'Ricevuto ordine da cliente',
+ 'Orphaned' => 'Orfano',
+ 'Out of balance!' => 'Non conciliato!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Lista Etichette',
+ 'Packing List Date missing!' => 'Manca la data della Packing List!',
+ 'Packing List Number missing!' => 'Manca il codice della Packing List!',
+ 'Paid' => 'Importo Pagato',
+ 'Paid in full' => 'Pagato completamente',
+ 'Part' => 'Articolo',
+ 'Part Number missing!' => 'Manca il Codice dell\'articolo!',
+ 'Parts' => 'Articoli',
+ 'Parts Inventory' => 'Inventario degli articoli',
+ 'Password' => 'Password',
+ 'Password changed!' => 'Password cambiata!',
+ 'Payables' => 'Debiti Fornitori',
+ 'Payment' => 'Pagamento',
+ 'Payment date missing!' => 'Manca la data del pagamento!',
+ 'Payment posted!' => 'Pagamento Salvato',
+ 'Payments' => 'Pagamenti',
+ 'Pg Database Administration' => 'Amministratore del Database Pg',
+ 'Phone' => 'Tel.',
+ 'Port' => 'Porta',
+ 'Port missing!' => 'Manca la Porta',
+ 'Post' => 'Salva',
+ 'Post as new' => 'Salva come nuovo',
+ 'Postscript' => 'Postscript',
+ 'Preferences' => 'Preferenze',
+ 'Preferences saved!' => 'Preferenze Salvate!',
+ 'Price' => 'Prezzo',
+ 'Print' => 'Stampa',
+ 'Printer' => 'Stampante',
+ 'Project' => 'Progetto',
+ 'Project Number' => '',
+ 'Project Number missing!' => 'Manca il codice del progetto!',
+ 'Project deleted!' => 'Progetto cancellato!',
+ 'Project not on file!' => 'Progetto non archiviato!',
+ 'Project saved!' => 'Progetto salvato!',
+ 'Projects' => 'Progetti',
+ 'Purchase Invoice' => 'Fattura di acquisto',
+ 'Purchase Order' => 'Ordine di acquisto',
+ 'Purchase Orders' => 'Ordini di acquisto',
+ 'Qty' => 'Q.t&agrave;',
+ 'ROP' => 'Soglia di Riordino',
+ 'Rate' => 'Tasso',
+ 'Recd' => 'Ricevuto',
+ 'Receipt' => 'Incasso',
+ 'Receipt printed!' => '',
+ 'Receipt printing failed!' => '',
+ 'Receipts' => 'Incassi',
+ 'Receivables' => 'Crediti Clienti',
+ 'Reconciliation' => 'Conciliazione',
+ 'Record in' => 'Registra in',
+ 'Reference' => 'Riferimento',
+ 'Reference missing!' => 'Manca il riferimento!',
+ 'Remaining' => 'Rimanente',
+ 'Report for' => 'Prospetto per',
+ 'Reports' => 'Prospetti',
+ 'Required by' => 'Necessario dal',
+ 'Retained Earnings' => 'Guadagni',
+ 'Sales' => 'Vendite',
+ 'Sales Invoice' => 'Fattura di vendita',
+ 'Sales Order' => 'Ordine di vendita',
+ 'Sales Orders' => 'Ordini di vendita',
+ 'Save' => 'Salva',
+ 'Save as new' => 'Salva come nuovo',
+ 'Save to File' => 'Salva su file',
+ 'Screen' => 'Schermo',
+ 'Select a Dataset to delete and press "Continue"' => 'Seleziona un dataset da cancellare e premi "Continua"',
+ 'Select all' => 'Seleziona tutto',
+ 'Select from one of the items below' => 'Seleziona uno dei seguenti Articoli',
+ 'Select from one of the names below' => 'Seleziona uno dei seguenti nomi',
+ 'Select from one of the projects below' => 'Seleziona uno dei seguenti progetti',
+ 'Select postscript or PDF!' => 'Scegli tra postscript e PDF!',
+ 'Sell Price' => 'Prezzo di Vendita',
+ 'Send by E-Mail' => 'Spedisci via e-mail',
+ 'Sep' => 'Set',
+ 'September' => 'Settembre',
+ 'Service' => 'Servizio',
+ 'Service Items' => 'Inventario (Servizi)',
+ 'Service Number missing!' => 'Manca il codice del servizio',
+ 'Services' => 'Servizi',
+ 'Setup Templates' => 'Configurazione dei modelli',
+ 'Ship' => 'Invio',
+ 'Ship to' => 'Spedire a',
+ 'Ship via' => 'Porto',
+ 'Short' => 'Corto',
+ 'Signature' => 'Firma',
+ 'Sold' => 'Venduto',
+ 'Source' => 'Sorgente',
+ 'Standard' => 'Standard',
+ 'Statement' => 'Sollecito',
+ 'Statement Balance' => 'Saldo',
+ 'Statement sent to' => 'Sollecito mandato a',
+ 'Statements sent to printer!' => 'Solleciti mandati in stampa!',
+ 'Stock Assembly' => 'Magazzino Assemblati',
+ 'Stylesheet' => 'Foglio di Stile',
+ 'Subject' => 'Oggetto',
+ 'Subtotal' => 'Totale Parziale',
+ 'System' => 'Sistema',
+ 'Tax' => 'Tassa',
+ 'Tax Accounts' => 'Conti relativi a tasse',
+ 'Tax Included' => 'Tasse Incluse',
+ 'Tax collected' => 'Debito IVA',
+ 'Tax paid' => 'Credito IVA',
+ 'Taxable' => 'Tassabile',
+ 'Template saved!' => 'Modello salvato!',
+ 'Templates' => 'Modelli',
+ 'Terms: Net' => 'Termini: Netto',
+ 'The following Datasets are not in use and can be deleted' => 'I seguenti datasets non sono in uso e possono essere cancellati',
+ 'The following Datasets need to be updated' => 'I seguenti datasets devono essere aggiornati',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'Questo &egrave; un controllo preliminare per verificare le risorse esistenti. Nulla verr&agrave; creato o cancellato in questa fase!',
+ 'To' => 'Al',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'Per aggiungere un utente ad un gruppo, modifica i dati dell\'utente, cambia lo username e salva. Un nuovo utente con gli stessi dati verr&agrave; salvato con il nuovo username.',
+ 'Top Level' => 'Livello Top',
+ 'Total' => 'Totale',
+ 'Transaction Date missing!' => 'Manca la data della transazione!',
+ 'Transaction deleted!' => 'Transazione cancellata!',
+ 'Transaction posted!' => 'Transazione salvata!',
+ 'Transaction reversal enforced for all dates' => 'Uso delle transazioni inverse forzato per tutte le date',
+ 'Transaction reversal enforced up to' => 'Uso delle transazioni inverse forzato fino a',
+ 'Transactions' => 'Transazioni',
+ 'Transactions exist, cannot delete customer!' => 'Impossibile cancellare il Cliente: ci sono transazioni a suo nome!',
+ 'Transactions exist, cannot delete vendor!' => 'Impossibile cancellare il Fornitore: ci sono transazioni a suo nome!',
+ 'Transactions exist; cannot delete account!' => 'Impossibile cancellare il Conto: ci sono transazioni!',
+ 'Trial Balance' => 'Bilancio di Verifica',
+ 'Unit' => 'Unit&agrave;',
+ 'Unit of measure' => 'Unit&agrave; di misura',
+ 'Update' => 'Aggiorna',
+ 'Update Dataset' => 'Aggiorna il Dataset',
+ 'Updated' => 'Aggiornato',
+ 'Use Templates' => 'Usa Modelli',
+ 'User' => 'Utente',
+ 'User deleted!' => 'Utente cancellato!',
+ 'User saved!' => 'Utente salvato!',
+ 'Vendor' => 'Fornitore',
+ 'Vendor deleted!' => 'Fornitore cancellato!',
+ 'Vendor missing!' => 'Manca il fornitore!',
+ 'Vendor not on file!' => 'Fornitore non in archivio!',
+ 'Vendor saved!' => 'Fornitore salvato!',
+ 'Vendors' => 'Fornitori',
+ 'Version' => 'Versione',
+ 'Weight' => 'Peso',
+ 'Weight Unit' => 'Unit&agrave; di misura',
+ 'What type of item is this?' => 'Che tipo di Articolo &egrave; questo?',
+ 'Year End' => 'Fine anno',
+ 'Yes' => 'Si',
+ 'You are logged out!' => 'Sei disconnesso!',
+ 'You did not enter a name!' => 'Non hai inserito il nome!',
+ 'You must enter a host and port for local and remote connections!' => 'Devi inserire un server ed una porta per le connessioni locali e remote!',
+ 'as at' => 'Al',
+ 'collected on sales' => 'incassate su vendite',
+ 'days' => 'giorni',
+ 'does not exist' => 'non esiste',
+ 'ea' => 'ci',
+ 'emailed to' => 'Mandato via e-mail a',
+ 'for Period' => 'per il Periodo',
+ 'hr' => 'ore',
+ 'is already a member!' => '&egrave; gi&agrave; utente!',
+ 'is not a member!' => 'non &eacute; un utente!',
+ 'localhost' => 'localhost',
+ 'locked!' => '',
+ 'paid on purchases' => 'pagato sugli acquisti',
+ 'sent to printer' => 'mandato in stampa',
+ 'successfully created!' => 'creato!',
+ 'successfully deleted!' => 'cancellato!',
+ 'to' => 'al',
+ 'website' => 'sito web',
+};
+
+1;
diff --git a/sql-ledger/locale/it/am b/sql-ledger/locale/it/am
new file mode 100644
index 0000000..285fa50
--- /dev/null
+++ b/sql-ledger/locale/it/am
@@ -0,0 +1,139 @@
+$self{texts} = {
+ 'AP' => 'Debiti Fornitori',
+ 'AR' => 'Crediti Clienti',
+ 'Account' => 'Conto',
+ 'Account Number' => 'Numero di conto',
+ 'Account Number missing!' => 'Manca il numero di conto!',
+ 'Account Type' => 'Tipo di conto',
+ 'Account Type missing!' => 'Manca il tipo del conto!',
+ 'Account deleted!' => 'Conto cancellato!',
+ 'Account saved!' => 'Conto salvato!',
+ 'Add Account' => 'Aggiungi conto',
+ 'Add GIFI' => 'Aggiungi codice GIFI',
+ 'Address' => 'Indirizzo',
+ 'Asset' => 'Attivit&agrave;',
+ 'Audit Control' => 'Controllo accessi',
+ 'Backup sent to' => 'Backup inviato a',
+ 'Books are open' => 'I conti sono aperti',
+ 'Business Number' => 'Partita IVA',
+ 'COGS' => 'Costo dei Beni Venduti',
+ 'Cannot delete account!' => 'Non puoi cancellare il conto!',
+ 'Cannot delete default account!' => 'Non puoi cancellare il conto predefinito!',
+ 'Cannot save account!' => 'Non puoi salvare il conto!',
+ 'Cannot save preferences!' => 'Non puoi salvare le preferenze!',
+ 'Character Set' => 'Set di Caratteri',
+ 'Chart of Accounts' => 'Piano dei Conti',
+ 'Close Books up to' => 'Chiudi i conti fino a',
+ 'Company' => 'Ragione Sociale',
+ 'Continue' => 'Continua',
+ 'Copy to COA' => 'Inserisci come Conto',
+ 'Credit' => 'Avere',
+ 'Date Format' => 'Formato della data',
+ 'Debit' => 'Dare',
+ 'Delete' => 'Cancella',
+ 'Delete Account' => 'Cancella Conto',
+ 'Description' => 'Descrizione',
+ 'Dropdown Limit' => 'Limite per i menu a discesa',
+ 'E-mail' => 'E-mail',
+ 'Edit' => 'Modifica',
+ 'Edit Account' => 'Modifica Conto',
+ 'Edit GIFI' => 'Modifica codice GIFI',
+ 'Edit Preferences for' => 'Modifica Preferenze di',
+ 'Edit Template' => 'Modifica Modello',
+ 'Enforce transaction reversal for all dates' => 'Forza l\'uso delle transazioni inverse per tutte le date',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Inserisci fino a 3 valute separate da ":" (es.: EUR:USD:CAD) per la valuta locale e quelle straniere',
+ 'Equity' => 'Capitale',
+ 'Expense' => 'Uscite',
+ 'Expense Account' => 'Conto Acquisti',
+ 'Expense/Asset' => 'Acquisti/Attivit&agrave;',
+ 'Fax' => 'Fax',
+ 'Foreign Exchange Gain' => 'Guadagno da cambio valuta',
+ 'Foreign Exchange Loss' => 'Perdita da cambio valuta',
+ 'GIFI' => 'Codice GIFI',
+ 'GIFI deleted!' => 'Codice GIFI cancellato!',
+ 'GIFI missing!' => 'Codice GIFI mancante!',
+ 'GIFI saved!' => 'Codice GIFI salvato!',
+ 'Heading' => 'Intestazione',
+ 'Include in drop-down menus' => 'Da includere nei menu a discesa dei seguenti moduli',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Includere questo conto nei moduli fornitore/cliente per identificare il soggetto come tassabile?',
+ 'Income' => 'Entrate',
+ 'Income Account' => 'Vendite',
+ 'Inventory' => 'Inventario',
+ 'Inventory Account' => 'Conto Inventario',
+ 'Is this a summary account to record' => 'Conto di riferimento del modulo:',
+ 'Language' => 'Lingua',
+ 'Last Invoice Number' => 'Ultimo Numero di Fattura',
+ 'Last Numbers & Default Accounts' => 'Ultimi numeri e Conti di Default',
+ 'Last Purchase Order Number' => 'Ultimo numero d\'ordine di acquisto',
+ 'Last Sales Order Number' => 'Ultimo numero d\'ordine di vendita',
+ 'Liability' => 'Passivit&agrave;',
+ 'Link' => 'Collegamenti',
+ 'Name' => 'Nome',
+ 'No' => 'No',
+ 'No email address for' => 'Manca l\'indirizzo e-mail per',
+ 'Number' => 'Numero',
+ 'Number Format' => 'Formato Numerico',
+ 'Parts Inventory' => 'Inventario degli articoli',
+ 'Password' => 'Password',
+ 'Payables' => 'Debiti Fornitori',
+ 'Payment' => 'Pagamento',
+ 'Phone' => 'Tel.',
+ 'Preferences saved!' => 'Preferenze Salvate!',
+ 'Rate' => 'Tasso',
+ 'Receivables' => 'Crediti Clienti',
+ 'Sales' => 'Vendite',
+ 'Save' => 'Salva',
+ 'Service Items' => 'Inventario (Servizi)',
+ 'Ship via' => 'Porto',
+ 'Signature' => 'Firma',
+ 'Stylesheet' => 'Foglio di Stile',
+ 'Tax' => 'Tassa',
+ 'Tax Accounts' => 'Conti relativi a tasse',
+ 'Template saved!' => 'Modello salvato!',
+ 'Transaction reversal enforced for all dates' => 'Uso delle transazioni inverse forzato per tutte le date',
+ 'Transaction reversal enforced up to' => 'Uso delle transazioni inverse forzato fino a',
+ 'Transactions exist; cannot delete account!' => 'Impossibile cancellare il Conto: ci sono transazioni!',
+ 'Weight Unit' => 'Unit&agrave; di misura',
+ 'Year End' => 'Fine anno',
+ 'Yes' => 'Si',
+ 'does not exist' => 'non esiste',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_gifi' => 'add_gifi',
+ 'audit_control' => 'audit_control',
+ 'backup' => 'backup',
+ 'config' => 'config',
+ 'continue' => 'continue',
+ 'copy_to_coa' => 'copy_to_coa',
+ 'delete' => 'delete',
+ 'delete_account' => 'delete_account',
+ 'delete_gifi' => 'delete_gifi',
+ 'display_form' => 'display_form',
+ 'display_stylesheet' => 'display_stylesheet',
+ 'doclose' => 'doclose',
+ 'edit' => 'edit',
+ 'edit_gifi' => 'edit_gifi',
+ 'edit_template' => 'edit_template',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gifi_footer' => 'gifi_footer',
+ 'gifi_header' => 'gifi_header',
+ 'list' => 'list',
+ 'list_gifi' => 'list_gifi',
+ 'save' => 'save',
+ 'save_account' => 'save_account',
+ 'save_gifi' => 'save_gifi',
+ 'save_preferences' => 'save_preferences',
+ 'save_template' => 'save_template',
+ 'aggiungi_conto' => 'add_account',
+ 'continua' => 'continue',
+ 'inserisci_come_conto' => 'copy_to_coa',
+ 'cancella' => 'delete',
+ 'modifica' => 'edit',
+ 'modifica_conto' => 'edit_account',
+ 'salva' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/it/ap b/sql-ledger/locale/it/ap
new file mode 100644
index 0000000..3b57b5c
--- /dev/null
+++ b/sql-ledger/locale/it/ap
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AP Transaction' => 'Transazione Fornitore',
+ 'AP Transactions' => 'Transazioni Fornitori',
+ 'Account' => 'Conto',
+ 'Add Accounts Payables Transaction' => 'Aggiungi Transazione Fornitori',
+ 'Address' => 'Indirizzo',
+ 'Amount' => 'Importo',
+ 'Amount Due' => 'Importo Dovuto',
+ 'Apr' => 'Apr',
+ 'April' => 'Aprile',
+ 'Are you sure you want to delete Transaction' => 'Sei sicuro di voler cancellare la Transazione',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Cannot delete transaction!' => 'Non puoi cancellare la transazione',
+ 'Cannot post payment for a closed period!' => 'Non puoi salvare pagamenti per un periodo chiuso!',
+ 'Cannot post transaction for a closed period!' => 'Non puoi salvare una transazione per un periodo chiuso!',
+ 'Cannot post transaction!' => 'Non puoi salvare la transazione!',
+ 'Closed' => 'Chiuso',
+ 'Confirm!' => 'Conferma!',
+ 'Continue' => 'Continua',
+ 'Currency' => 'Valuta',
+ 'Customer not on file!' => 'Cliente non sul file!',
+ 'Date' => 'Data',
+ 'Date Paid' => 'Data di pagamento',
+ 'Dec' => 'Dic',
+ 'December' => 'Dicembre',
+ 'Delete' => 'Cancella',
+ 'Description' => 'Descrizione',
+ 'Due Date' => 'Scadenza Fattura',
+ 'Due Date missing!' => 'Data di Scadenza mancante!',
+ 'Edit Accounts Payables Transaction' => 'Modifica Transazione Fornitori',
+ 'Employee' => 'Dipendente',
+ 'Exch' => 'Cambio',
+ 'Exchangerate' => 'Tasso di Cambio',
+ 'Exchangerate for payment missing!' => 'Manca il Tasso di Cambio per il pagamento!',
+ 'Exchangerate missing!' => 'Manca il Tasso di Cambio!',
+ 'Feb' => 'Feb',
+ 'February' => 'Febbraio',
+ 'From' => 'Dal',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Includi nel Prospetto',
+ 'Invoice' => 'Fattura',
+ 'Invoice Date' => 'Data Fattura',
+ 'Invoice Date missing!' => 'Manca la data della Fattura!',
+ 'Invoice Number' => 'Fattura Numero',
+ 'Invoice Number missing!' => 'Manca il numero della Fattura!',
+ 'Jan' => 'Gen',
+ 'January' => 'Gennaio',
+ 'Jul' => 'Lug',
+ 'July' => 'Luglio',
+ 'Jun' => 'Giu',
+ 'June' => 'Giugno',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'Mag',
+ 'May ' => 'Mag ',
+ 'Notes' => 'Note',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembre',
+ 'Number' => 'Numero',
+ 'Oct' => 'Ott',
+ 'October' => 'Ottobre',
+ 'Open' => 'Aperto',
+ 'Order' => 'Ordine',
+ 'Order Number' => 'Ordine Numero',
+ 'Paid' => 'Importo Pagato',
+ 'Payment date missing!' => 'Manca la data del pagamento!',
+ 'Payments' => 'Pagamenti',
+ 'Post' => 'Salva',
+ 'Post as new' => 'Salva come nuovo',
+ 'Project' => 'Progetto',
+ 'Project not on file!' => 'Progetto non archiviato!',
+ 'Purchase Invoice' => 'Fattura di acquisto',
+ 'Select from one of the names below' => 'Seleziona uno dei seguenti nomi',
+ 'Select from one of the projects below' => 'Seleziona uno dei seguenti progetti',
+ 'Sep' => 'Set',
+ 'September' => 'Settembre',
+ 'Source' => 'Sorgente',
+ 'Subtotal' => 'Totale Parziale',
+ 'Tax' => 'Tassa',
+ 'Tax Included' => 'Tasse Incluse',
+ 'Total' => 'Totale',
+ 'Transaction deleted!' => 'Transazione cancellata!',
+ 'Transaction posted!' => 'Transazione salvata!',
+ 'Update' => 'Aggiorna',
+ 'Vendor' => 'Fornitore',
+ 'Vendor missing!' => 'Manca il fornitore!',
+ 'Vendor not on file!' => 'Fornitore non in archivio!',
+ 'Yes' => 'Si',
+ 'to' => 'al',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_subtotal' => 'ap_subtotal',
+ 'ap_transaction' => 'ap_transaction',
+ 'ap_transactions' => 'ap_transactions',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'transazione_fornitore' => 'ap_transaction',
+ 'aggiungi_transazione_fornitori' => 'add_accounts_payables_transaction',
+ 'continua' => 'continue',
+ 'cancella' => 'delete',
+ 'modifica_transazione_fornitori' => 'edit_accounts_payables_transaction',
+ 'salva' => 'post',
+ 'salva_come_nuovo' => 'post_as_new',
+ 'fattura_di_acquisto' => 'purchase_invoice',
+ 'aggiorna' => 'update',
+ 'si' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/it/ar b/sql-ledger/locale/it/ar
new file mode 100644
index 0000000..301d421
--- /dev/null
+++ b/sql-ledger/locale/it/ar
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AR Transaction' => 'Transazione Cliente',
+ 'AR Transactions' => 'Transazioni Clienti',
+ 'Account' => 'Conto',
+ 'Add Accounts Receivables Transaction' => 'Aggiungi Transazione Clienti',
+ 'Address' => 'Indirizzo',
+ 'Amount' => 'Importo',
+ 'Amount Due' => 'Importo Dovuto',
+ 'Apr' => 'Apr',
+ 'April' => 'Aprile',
+ 'Are you sure you want to delete Transaction' => 'Sei sicuro di voler cancellare la Transazione',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Cannot delete transaction!' => 'Non puoi cancellare la transazione',
+ 'Cannot post payment for a closed period!' => 'Non puoi salvare pagamenti per un periodo chiuso!',
+ 'Cannot post transaction for a closed period!' => 'Non puoi salvare una transazione per un periodo chiuso!',
+ 'Cannot post transaction!' => 'Non puoi salvare la transazione!',
+ 'Closed' => 'Chiuso',
+ 'Confirm!' => 'Conferma!',
+ 'Continue' => 'Continua',
+ 'Credit Limit' => 'Fido',
+ 'Currency' => 'Valuta',
+ 'Customer' => 'Cliente',
+ 'Customer missing!' => 'Cliente mancante!',
+ 'Customer not on file!' => 'Cliente non sul file!',
+ 'Date' => 'Data',
+ 'Date Paid' => 'Data di pagamento',
+ 'Dec' => 'Dic',
+ 'December' => 'Dicembre',
+ 'Delete' => 'Cancella',
+ 'Description' => 'Descrizione',
+ 'Due Date' => 'Scadenza Fattura',
+ 'Due Date missing!' => 'Data di Scadenza mancante!',
+ 'Edit Accounts Receivables Transaction' => 'Modifica Transazione Clienti',
+ 'Employee' => 'Dipendente',
+ 'Exch' => 'Cambio',
+ 'Exchangerate' => 'Tasso di Cambio',
+ 'Exchangerate for payment missing!' => 'Manca il Tasso di Cambio per il pagamento!',
+ 'Exchangerate missing!' => 'Manca il Tasso di Cambio!',
+ 'Feb' => 'Feb',
+ 'February' => 'Febbraio',
+ 'From' => 'Dal',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Includi nel Prospetto',
+ 'Invoice' => 'Fattura',
+ 'Invoice Date' => 'Data Fattura',
+ 'Invoice Date missing!' => 'Manca la data della Fattura!',
+ 'Invoice Number' => 'Fattura Numero',
+ 'Invoice Number missing!' => 'Manca il numero della Fattura!',
+ 'Jan' => 'Gen',
+ 'January' => 'Gennaio',
+ 'Jul' => 'Lug',
+ 'July' => 'Luglio',
+ 'Jun' => 'Giu',
+ 'June' => 'Giugno',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'Mag',
+ 'May ' => 'Mag ',
+ 'Notes' => 'Note',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembre',
+ 'Number' => 'Numero',
+ 'Oct' => 'Ott',
+ 'October' => 'Ottobre',
+ 'Open' => 'Aperto',
+ 'Order' => 'Ordine',
+ 'Order Number' => 'Ordine Numero',
+ 'Paid' => 'Importo Pagato',
+ 'Payment date missing!' => 'Manca la data del pagamento!',
+ 'Payments' => 'Pagamenti',
+ 'Post' => 'Salva',
+ 'Post as new' => 'Salva come nuovo',
+ 'Project' => 'Progetto',
+ 'Project not on file!' => 'Progetto non archiviato!',
+ 'Remaining' => 'Rimanente',
+ 'Sales Invoice' => 'Fattura di vendita',
+ 'Select from one of the names below' => 'Seleziona uno dei seguenti nomi',
+ 'Select from one of the projects below' => 'Seleziona uno dei seguenti progetti',
+ 'Sep' => 'Set',
+ 'September' => 'Settembre',
+ 'Source' => 'Sorgente',
+ 'Subtotal' => 'Totale Parziale',
+ 'Tax' => 'Tassa',
+ 'Tax Included' => 'Tasse Incluse',
+ 'Total' => 'Totale',
+ 'Transaction deleted!' => 'Transazione cancellata!',
+ 'Transaction posted!' => 'Transazione salvata!',
+ 'Update' => 'Aggiorna',
+ 'Vendor not on file!' => 'Fornitore non in archivio!',
+ 'Yes' => 'Si',
+ 'to' => 'al',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_subtotal' => 'ar_subtotal',
+ 'ar_transaction' => 'ar_transaction',
+ 'ar_transactions' => 'ar_transactions',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'transazione_cliente' => 'ar_transaction',
+ 'continua' => 'continue',
+ 'cancella' => 'delete',
+ 'salva' => 'post',
+ 'salva_come_nuovo' => 'post_as_new',
+ 'fattura_di_vendita' => 'sales_invoice',
+ 'aggiorna' => 'update',
+ 'si' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/it/arap b/sql-ledger/locale/it/arap
new file mode 100644
index 0000000..57651a9
--- /dev/null
+++ b/sql-ledger/locale/it/arap
@@ -0,0 +1,30 @@
+$self{texts} = {
+ 'Address' => 'Indirizzo',
+ 'Continue' => 'Continua',
+ 'Customer not on file!' => 'Cliente non sul file!',
+ 'Description' => 'Descrizione',
+ 'Number' => 'Numero',
+ 'Project not on file!' => 'Progetto non archiviato!',
+ 'Select from one of the names below' => 'Seleziona uno dei seguenti nomi',
+ 'Select from one of the projects below' => 'Seleziona uno dei seguenti progetti',
+ 'Vendor not on file!' => 'Fornitore non in archivio!',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'continua' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/it/ca b/sql-ledger/locale/it/ca
new file mode 100644
index 0000000..1fdc01d
--- /dev/null
+++ b/sql-ledger/locale/it/ca
@@ -0,0 +1,50 @@
+$self{texts} = {
+ 'Account' => 'Conto',
+ 'Apr' => 'Apr',
+ 'April' => 'Aprile',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Balance' => 'Saldo',
+ 'Chart of Accounts' => 'Piano dei Conti',
+ 'Credit' => 'Avere',
+ 'Date' => 'Data',
+ 'Debit' => 'Dare',
+ 'Dec' => 'Dic',
+ 'December' => 'Dicembre',
+ 'Description' => 'Descrizione',
+ 'Feb' => 'Feb',
+ 'February' => 'Febbraio',
+ 'From' => 'Dal',
+ 'GIFI' => 'Codice GIFI',
+ 'Include in Report' => 'Includi nel Prospetto',
+ 'Jan' => 'Gen',
+ 'January' => 'Gennaio',
+ 'Jul' => 'Lug',
+ 'July' => 'Luglio',
+ 'Jun' => 'Giu',
+ 'June' => 'Giugno',
+ 'List Transactions' => 'Lista Transazioni',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'Mag',
+ 'May ' => 'Mag ',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembre',
+ 'Oct' => 'Ott',
+ 'October' => 'Ottobre',
+ 'Reference' => 'Riferimento',
+ 'Sep' => 'Set',
+ 'September' => 'Settembre',
+ 'Subtotal' => 'Totale Parziale',
+ 'to' => 'al',
+};
+
+$self{subs} = {
+ 'ca_subtotal' => 'ca_subtotal',
+ 'chart_of_accounts' => 'chart_of_accounts',
+ 'list' => 'list',
+ 'list_transactions' => 'list_transactions',
+ 'lista_transazioni' => 'list_transactions',
+};
+
+1;
diff --git a/sql-ledger/locale/it/cp b/sql-ledger/locale/it/cp
new file mode 100644
index 0000000..3dacb5f
--- /dev/null
+++ b/sql-ledger/locale/it/cp
@@ -0,0 +1,77 @@
+$self{texts} = {
+ 'Account' => 'Conto',
+ 'Address' => 'Indirizzo',
+ 'Amount' => 'Importo',
+ 'Amount does not equal applied!' => 'L\'importo non &egrave; uguale a quanto applicato alle diverse fatture!',
+ 'Amount missing!' => 'Manca l\'importo',
+ 'Applied' => 'Applicato a',
+ 'Cannot post payment!' => 'Non puoi salvare il pagamento!',
+ 'Cannot process payment for a closed period!' => 'Non puoi processare un pagamento per un periodo chiuso!',
+ 'Check' => 'Assegno',
+ 'Check printed!' => 'Assegno stampato!',
+ 'Check printing failed!' => 'Stampa dell\'assegno fallita!',
+ 'Continue' => 'Continua',
+ 'Currency' => 'Valuta',
+ 'Customer' => 'Cliente',
+ 'Customer not on file!' => 'Cliente non sul file!',
+ 'Date' => 'Data',
+ 'Date missing!' => 'Manca la data!',
+ 'Description' => 'Descrizione',
+ 'Due' => 'Dovuto',
+ 'Exchangerate' => 'Tasso di Cambio',
+ 'From' => 'Dal',
+ 'Invoice' => 'Fattura',
+ 'Invoices' => 'Fatture',
+ 'Nothing applied!' => 'Nulla di applicato!',
+ 'Number' => 'Numero',
+ 'Paid in full' => 'Pagato completamente',
+ 'Payment' => 'Pagamento',
+ 'Payment posted!' => 'Pagamento Salvato',
+ 'Post' => 'Salva',
+ 'Print' => 'Stampa',
+ 'Printer' => 'Stampante',
+ 'Project not on file!' => 'Progetto non archiviato!',
+ 'Receipt' => 'Incasso',
+ 'Receipt printed!' => 'Receipt printed!',
+ 'Receipt printing failed!' => 'Receipt printing failed!',
+ 'Reference' => 'Riferimento',
+ 'Screen' => 'Schermo',
+ 'Select from one of the names below' => 'Seleziona uno dei seguenti nomi',
+ 'Select from one of the projects below' => 'Seleziona uno dei seguenti progetti',
+ 'Update' => 'Aggiorna',
+ 'Vendor' => 'Fornitore',
+ 'Vendor not on file!' => 'Fornitore non in archivio!',
+ 'to' => 'al',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'list_invoices' => 'list_invoices',
+ 'name_selected' => 'name_selected',
+ 'payment' => 'payment',
+ 'post' => 'post',
+ 'print' => 'print',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'vendor_details' => 'vendor_details',
+ 'continua' => 'continue',
+ 'salva' => 'post',
+ 'stampa' => 'print',
+ 'aggiorna' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/it/ct b/sql-ledger/locale/it/ct
new file mode 100644
index 0000000..12bfa6e
--- /dev/null
+++ b/sql-ledger/locale/it/ct
@@ -0,0 +1,71 @@
+$self{texts} = {
+ 'Add' => 'Aggiungi',
+ 'Address' => 'Indirizzo',
+ 'All' => 'Tutti',
+ 'Bcc' => 'Bcc',
+ 'Cannot delete customer!' => 'Non puoi cancellare il cliente!',
+ 'Cannot delete vendor!' => 'Non puoi cancellare il fornitore',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Contatto',
+ 'Continue' => 'Continua',
+ 'Credit Limit' => 'Fido',
+ 'Customer deleted!' => 'Cliente cancellato!',
+ 'Customer saved!' => 'Cliente salvato!',
+ 'Customers' => 'Clienti',
+ 'Delete' => 'Cancella',
+ 'Discount' => 'Sconto',
+ 'E-mail' => 'E-mail',
+ 'Edit Customer' => 'Edit Customer',
+ 'Edit Vendor' => 'Edit Vendor',
+ 'Fax' => 'Fax',
+ 'Include in Report' => 'Includi nel Prospetto',
+ 'Invoice' => 'Fattura',
+ 'Name' => 'Nome',
+ 'Name missing!' => 'Manca il Nome!',
+ 'Notes' => 'Note',
+ 'Number' => 'Numero',
+ 'Order' => 'Ordine',
+ 'Orphaned' => 'Orfano',
+ 'Phone' => 'Tel.',
+ 'Save' => 'Salva',
+ 'Ship to' => 'Spedire a',
+ 'Tax Included' => 'Tasse Incluse',
+ 'Taxable' => 'Tassabile',
+ 'Terms: Net' => 'Termini: Netto',
+ 'Transactions exist, cannot delete customer!' => 'Impossibile cancellare il Cliente: ci sono transazioni a suo nome!',
+ 'Transactions exist, cannot delete vendor!' => 'Impossibile cancellare il Fornitore: ci sono transazioni a suo nome!',
+ 'Vendor deleted!' => 'Fornitore cancellato!',
+ 'Vendor saved!' => 'Fornitore salvato!',
+ 'Vendors' => 'Fornitori',
+ 'days' => 'giorni',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'customer_invoice' => 'customer_invoice',
+ 'customer_order' => 'customer_order',
+ 'delete' => 'delete',
+ 'delete_customer' => 'delete_customer',
+ 'delete_vendor' => 'delete_vendor',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'invoice' => 'invoice',
+ 'list_names' => 'list_names',
+ 'order' => 'order',
+ 'save' => 'save',
+ 'save_customer' => 'save_customer',
+ 'save_vendor' => 'save_vendor',
+ 'search' => 'search',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'vendor_order' => 'vendor_order',
+ 'aggiungi' => 'add',
+ 'continua' => 'continue',
+ 'cancella' => 'delete',
+ 'fattura' => 'invoice',
+ 'ordine' => 'order',
+ 'salva' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/it/gl b/sql-ledger/locale/it/gl
new file mode 100644
index 0000000..087fb3e
--- /dev/null
+++ b/sql-ledger/locale/it/gl
@@ -0,0 +1,124 @@
+$self{texts} = {
+ 'AP Transaction' => 'Transazione Fornitore',
+ 'AR Transaction' => 'Transazione Cliente',
+ 'Account' => 'Conto',
+ 'Add General Ledger Transaction' => 'Aggiungi Transazione di Contabilità Generale',
+ 'Address' => 'Indirizzo',
+ 'All' => 'Tutti',
+ 'Apr' => 'Apr',
+ 'April' => 'Aprile',
+ 'Are you sure you want to delete Transaction' => 'Sei sicuro di voler cancellare la Transazione',
+ 'Asset' => 'Attivit&agrave;',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Balance' => 'Saldo',
+ 'Cannot delete transaction!' => 'Non puoi cancellare la transazione',
+ 'Cannot have a value in both Debit and Credit!' => 'Non pu&ograve; esserci un valore sia in Dare che in Avere!',
+ 'Cannot post a transaction without a value!' => 'Non puoi salvare una transazione senza un valore!',
+ 'Cannot post transaction for a closed period!' => 'Non puoi salvare una transazione per un periodo chiuso!',
+ 'Confirm!' => 'Conferma!',
+ 'Continue' => 'Continua',
+ 'Credit' => 'Avere',
+ 'Customer not on file!' => 'Cliente non sul file!',
+ 'Date' => 'Data',
+ 'Debit' => 'Dare',
+ 'Debit and credit out of balance!' => 'Dare e Avere non concordano!.',
+ 'Dec' => 'Dic',
+ 'December' => 'Dicembre',
+ 'Delete' => 'Cancella',
+ 'Description' => 'Descrizione',
+ 'Edit General Ledger Transaction' => 'Modifica Transazione di Contabilit&agrave; Generale',
+ 'Equity' => 'Capitale',
+ 'Expense' => 'Uscite',
+ 'Feb' => 'Feb',
+ 'February' => 'Febbraio',
+ 'From' => 'Dal',
+ 'GIFI' => 'Codice GIFI',
+ 'GL Transaction' => 'Transazione di Contabilit&agrave; generale',
+ 'General Ledger' => 'Contabilit&agrave; generale',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Includi nel Prospetto',
+ 'Income' => 'Entrate',
+ 'Jan' => 'Gen',
+ 'January' => 'Gennaio',
+ 'Jul' => 'Lug',
+ 'July' => 'Luglio',
+ 'Jun' => 'Giu',
+ 'June' => 'Giugno',
+ 'Liability' => 'Passivit&agrave;',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'Mag',
+ 'May ' => 'Mag ',
+ 'Notes' => 'Note',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembre',
+ 'Number' => 'Numero',
+ 'Oct' => 'Ott',
+ 'October' => 'Ottobre',
+ 'Post' => 'Salva',
+ 'Post as new' => 'Salva come nuovo',
+ 'Project' => 'Progetto',
+ 'Project not on file!' => 'Progetto non archiviato!',
+ 'Purchase Invoice' => 'Fattura di acquisto',
+ 'Reference' => 'Riferimento',
+ 'Reference missing!' => 'Manca il riferimento!',
+ 'Reports' => 'Prospetti',
+ 'Sales Invoice' => 'Fattura di vendita',
+ 'Select from one of the names below' => 'Seleziona uno dei seguenti nomi',
+ 'Select from one of the projects below' => 'Seleziona uno dei seguenti progetti',
+ 'Sep' => 'Set',
+ 'September' => 'Settembre',
+ 'Source' => 'Sorgente',
+ 'Subtotal' => 'Totale Parziale',
+ 'Transaction Date missing!' => 'Manca la data della transazione!',
+ 'Transaction deleted!' => 'Transazione cancellata!',
+ 'Transaction posted!' => 'Transazione salvata!',
+ 'Update' => 'Aggiorna',
+ 'Vendor not on file!' => 'Fornitore non in archivio!',
+ 'Yes' => 'Si',
+ 'to' => 'al',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'form_row' => 'form_row',
+ 'generate_report' => 'generate_report',
+ 'gl_subtotal' => 'gl_subtotal',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'transazione_fornitore' => 'ap_transaction',
+ 'transazione_cliente' => 'ar_transaction',
+ 'continua' => 'continue',
+ 'cancella' => 'delete',
+ 'transazione_di_contabilit&agrave;_generale' => 'gl_transaction',
+ 'salva' => 'post',
+ 'salva_come_nuovo' => 'post_as_new',
+ 'fattura_di_acquisto' => 'purchase_invoice',
+ 'fattura_di_vendita' => 'sales_invoice',
+ 'aggiorna' => 'update',
+ 'si' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/it/ic b/sql-ledger/locale/it/ic
new file mode 100644
index 0000000..2f0dc95
--- /dev/null
+++ b/sql-ledger/locale/it/ic
@@ -0,0 +1,206 @@
+$self{texts} = {
+ 'Active' => 'Attivo',
+ 'Add' => 'Aggiungi',
+ 'Add Assembly' => 'Aggiungi Assemblato',
+ 'Add Part' => 'Aggiungi Articolo',
+ 'Add Purchase Order' => 'Aggiungi Ordine di acquisto',
+ 'Add Sales Order' => 'Aggiungi Ordine di vendita',
+ 'Add Service' => 'Aggiungi Servizio',
+ 'Address' => 'Indirizzo',
+ 'Apr' => 'Apr',
+ 'April' => 'Aprile',
+ 'Assemblies' => 'Assemblati',
+ 'Assemblies restocked!' => 'Assemblati ricaricati!',
+ 'Assembly Number missing!' => 'Manca il codice dell\'assemblato',
+ 'Attachment' => 'Allegato',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'BOM' => 'BOM',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Codice BIN',
+ 'Bought' => 'Comprato',
+ 'COGS' => 'Costo dei Beni Venduti',
+ 'Cannot delete item already invoiced!' => 'Non puoi cancellare un articolo gi&agrave; fatturato!',
+ 'Cannot delete item on order!' => 'Non puoi cancellare un articolo ordinato!',
+ 'Cannot delete item which is part of an assembly!' => 'Non puoi cancellare un articolo che fa parte di un assemblato!',
+ 'Cannot delete item!' => 'Non puoi cancellare l\'articolo',
+ 'Cannot stock assemblies!' => 'Non puoi caricare gli assemblati!',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Contatto',
+ 'Continue' => 'Continua',
+ 'Copies' => 'Copie',
+ 'Dec' => 'Dic',
+ 'December' => 'Dicembre',
+ 'Delete' => 'Cancella',
+ 'Delivery Date' => 'Data di spedizione',
+ 'Description' => 'Descrizione',
+ 'Drawing' => 'Disegno',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'Indirizzo e-mail mancante!',
+ 'Edit Assembly' => 'Modifica Assemblato',
+ 'Edit Part' => 'Modifica Articolo',
+ 'Edit Service' => 'Modifica Servizio',
+ 'Expense' => 'Uscite',
+ 'Extended' => 'Esteso',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Febbraio',
+ 'From' => 'Dal',
+ 'Image' => 'Immagine',
+ 'In-line' => 'In-line',
+ 'Include in Report' => 'Includi nel Prospetto',
+ 'Income' => 'Entrate',
+ 'Individual Items' => 'Articoli Individuali',
+ 'Inventory' => 'Inventario',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'La quantit&agrave; in inventario deve essere zero per poter mettere l\'assemblato come obsoleto!',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'La quantit&agrave; in inventario deve essere zero per poter mettere l\'articolo come obsoleto!',
+ 'Inventory quantity must be zero!' => 'La quantit&agrave; in inventario deve essere zero!',
+ 'Invoice' => 'Fattura',
+ 'Invoice Date missing!' => 'Manca la data della Fattura!',
+ 'Invoice Number' => 'Fattura Numero',
+ 'Invoice Number missing!' => 'Manca il numero della Fattura!',
+ 'Item deleted!' => 'Articolo Cancellato!',
+ 'Item not on file!' => 'Articolo non in archivio!',
+ 'Jan' => 'Gen',
+ 'January' => 'Gennaio',
+ 'Jul' => 'Lug',
+ 'July' => 'Luglio',
+ 'Jun' => 'Giu',
+ 'June' => 'Giugno',
+ 'Last Cost' => 'Ultimo Costo',
+ 'Line Total' => 'Totale Linea',
+ 'Link Accounts' => 'Collegamenti tra Conti',
+ 'List Price' => 'Prezzo di Listino',
+ 'Make' => 'Produttore',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'Mag',
+ 'May ' => 'Mag ',
+ 'Message' => 'Messaggio',
+ 'Microfiche' => 'Microfiche',
+ 'Model' => 'Modello',
+ 'Name' => 'Nome',
+ 'No.' => 'No.',
+ 'Notes' => 'Note',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembre',
+ 'Number' => 'Numero',
+ 'Number missing in Row' => 'Manca il codice nella riga',
+ 'Obsolete' => 'Obsoleto',
+ 'Oct' => 'Ott',
+ 'October' => 'Ottobre',
+ 'On Hand' => 'Disponibilit&agrave;',
+ 'On Order' => 'Mandato ordine fornitore',
+ 'Order' => 'Ordine',
+ 'Order Date missing!' => 'Manca la data dell\'ordine',
+ 'Order Number' => 'Ordine Numero',
+ 'Order Number missing!' => 'Manca il numero dell\'ordine!',
+ 'Ordered' => 'Ricevuto ordine da cliente',
+ 'Orphaned' => 'Orfano',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Lista Etichette',
+ 'Packing List Date missing!' => 'Manca la data della Packing List!',
+ 'Packing List Number missing!' => 'Manca il codice della Packing List!',
+ 'Part' => 'Articolo',
+ 'Part Number missing!' => 'Manca il Codice dell\'articolo!',
+ 'Parts' => 'Articoli',
+ 'Phone' => 'Tel.',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Prezzo',
+ 'Printer' => 'Stampante',
+ 'Project' => 'Progetto',
+ 'Purchase Order' => 'Ordine di acquisto',
+ 'Qty' => 'Q.t&agrave;',
+ 'ROP' => 'Soglia di Riordino',
+ 'Recd' => 'Ricevuto',
+ 'Required by' => 'Necessario dal',
+ 'Sales' => 'Vendite',
+ 'Sales Order' => 'Ordine di vendita',
+ 'Save' => 'Salva',
+ 'Screen' => 'Schermo',
+ 'Select from one of the items below' => 'Seleziona uno dei seguenti Articoli',
+ 'Select postscript or PDF!' => 'Scegli tra postscript e PDF!',
+ 'Sell Price' => 'Prezzo di Vendita',
+ 'Sep' => 'Set',
+ 'September' => 'Settembre',
+ 'Service' => 'Servizio',
+ 'Service Number missing!' => 'Manca il codice del servizio',
+ 'Services' => 'Servizi',
+ 'Ship' => 'Invio',
+ 'Ship to' => 'Spedire a',
+ 'Short' => 'Corto',
+ 'Sold' => 'Venduto',
+ 'Stock Assembly' => 'Magazzino Assemblati',
+ 'Subject' => 'Oggetto',
+ 'Subtotal' => 'Totale Parziale',
+ 'Tax' => 'Tassa',
+ 'To' => 'Al',
+ 'Top Level' => 'Livello Top',
+ 'Total' => 'Totale',
+ 'Unit' => 'Unit&agrave;',
+ 'Unit of measure' => 'Unit&agrave; di misura',
+ 'Update' => 'Aggiorna',
+ 'Updated' => 'Aggiornato',
+ 'Weight' => 'Peso',
+ 'What type of item is this?' => 'Che tipo di Articolo &egrave; questo?',
+ 'ea' => 'ci',
+ 'emailed to' => 'Mandato via e-mail a',
+ 'hr' => 'ore',
+ 'sent to printer' => 'mandato in stampa',
+ 'to' => 'al',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'assembly_row' => 'assembly_row',
+ 'check_form' => 'check_form',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'delete_assembly' => 'delete_assembly',
+ 'delete_item' => 'delete_item',
+ 'delete_part' => 'delete_part',
+ 'delete_service' => 'delete_service',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'link_part' => 'link_part',
+ 'list_assemblies' => 'list_assemblies',
+ 'makemodel_row' => 'makemodel_row',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'parts_subtotal' => 'parts_subtotal',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'restock_assemblies' => 'restock_assemblies',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'stock_assembly' => 'stock_assembly',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'aggiungi' => 'add',
+ 'aggiungi_assemblato' => 'add_assembly',
+ 'aggiungi_articolo' => 'add_part',
+ 'aggiungi_servizio' => 'add_service',
+ 'continua' => 'continue',
+ 'cancella' => 'delete',
+ 'modifica_assemblato' => 'edit_assembly',
+ 'modifica_articolo' => 'edit_part',
+ 'modifica_servizio' => 'edit_service',
+ 'salva' => 'save',
+ 'aggiorna' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/it/io b/sql-ledger/locale/it/io
new file mode 100644
index 0000000..2914945
--- /dev/null
+++ b/sql-ledger/locale/it/io
@@ -0,0 +1,106 @@
+$self{texts} = {
+ 'Add Purchase Order' => 'Aggiungi Ordine di acquisto',
+ 'Add Sales Order' => 'Aggiungi Ordine di vendita',
+ 'Address' => 'Indirizzo',
+ 'Apr' => 'Apr',
+ 'April' => 'Aprile',
+ 'Attachment' => 'Allegato',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Codice BIN',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Contatto',
+ 'Continue' => 'Continua',
+ 'Copies' => 'Copie',
+ 'Dec' => 'Dic',
+ 'December' => 'Dicembre',
+ 'Delivery Date' => 'Data di spedizione',
+ 'Description' => 'Descrizione',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'Indirizzo e-mail mancante!',
+ 'Extended' => 'Esteso',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Febbraio',
+ 'In-line' => 'In-line',
+ 'Invoice' => 'Fattura',
+ 'Invoice Date missing!' => 'Manca la data della Fattura!',
+ 'Invoice Number missing!' => 'Manca il numero della Fattura!',
+ 'Item not on file!' => 'Articolo non in archivio!',
+ 'Jan' => 'Gen',
+ 'January' => 'Gennaio',
+ 'Jul' => 'Lug',
+ 'July' => 'Luglio',
+ 'Jun' => 'Giu',
+ 'June' => 'Giugno',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'Mag',
+ 'May ' => 'Mag ',
+ 'Message' => 'Messaggio',
+ 'Name' => 'Nome',
+ 'No.' => 'No.',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembre',
+ 'Number' => 'Numero',
+ 'Number missing in Row' => 'Manca il codice nella riga',
+ 'Oct' => 'Ott',
+ 'October' => 'Ottobre',
+ 'Order' => 'Ordine',
+ 'Order Date missing!' => 'Manca la data dell\'ordine',
+ 'Order Number missing!' => 'Manca il numero dell\'ordine!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Lista Etichette',
+ 'Packing List Date missing!' => 'Manca la data della Packing List!',
+ 'Packing List Number missing!' => 'Manca il codice della Packing List!',
+ 'Part' => 'Articolo',
+ 'Phone' => 'Tel.',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Prezzo',
+ 'Printer' => 'Stampante',
+ 'Project' => 'Progetto',
+ 'Purchase Order' => 'Ordine di acquisto',
+ 'Qty' => 'Q.t&agrave;',
+ 'Recd' => 'Ricevuto',
+ 'Required by' => 'Necessario dal',
+ 'Sales Order' => 'Ordine di vendita',
+ 'Screen' => 'Schermo',
+ 'Select from one of the items below' => 'Seleziona uno dei seguenti Articoli',
+ 'Select postscript or PDF!' => 'Scegli tra postscript e PDF!',
+ 'Sep' => 'Set',
+ 'September' => 'Settembre',
+ 'Service' => 'Servizio',
+ 'Ship' => 'Invio',
+ 'Ship to' => 'Spedire a',
+ 'Subject' => 'Oggetto',
+ 'To' => 'Al',
+ 'Unit' => 'Unit&agrave;',
+ 'What type of item is this?' => 'Che tipo di Articolo &egrave; questo?',
+ 'emailed to' => 'Mandato via e-mail a',
+ 'sent to printer' => 'mandato in stampa',
+};
+
+$self{subs} = {
+ 'check_form' => 'check_form',
+ 'customer_details' => 'customer_details',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'continua' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/it/ir b/sql-ledger/locale/it/ir
new file mode 100644
index 0000000..242142e
--- /dev/null
+++ b/sql-ledger/locale/it/ir
@@ -0,0 +1,178 @@
+$self{texts} = {
+ 'Account' => 'Conto',
+ 'Add Purchase Invoice' => 'Aggiungi Fattura di acquisto',
+ 'Add Purchase Order' => 'Aggiungi Ordine di acquisto',
+ 'Add Sales Order' => 'Aggiungi Ordine di vendita',
+ 'Address' => 'Indirizzo',
+ 'Amount' => 'Importo',
+ 'Apr' => 'Apr',
+ 'April' => 'Aprile',
+ 'Are you sure you want to delete Invoice Number' => 'Sei sicuro di voler cancellare la Fattura numero',
+ 'Attachment' => 'Allegato',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Codice BIN',
+ 'Cannot delete invoice!' => 'Non puoi cancellare la fattura!',
+ 'Cannot post invoice for a closed period!' => 'Non puoi salvare una transazione per un periodo chiuso!',
+ 'Cannot post invoice!' => 'Non puoi salvare la fattura!',
+ 'Cannot post payment for a closed period!' => 'Non puoi salvare pagamenti per un periodo chiuso!',
+ 'Cc' => 'Cc',
+ 'Confirm!' => 'Conferma!',
+ 'Contact' => 'Contatto',
+ 'Continue' => 'Continua',
+ 'Copies' => 'Copie',
+ 'Currency' => 'Valuta',
+ 'Customer not on file!' => 'Cliente non sul file!',
+ 'Date' => 'Data',
+ 'Date Due' => 'Data di Scadenza',
+ 'Dec' => 'Dic',
+ 'December' => 'Dicembre',
+ 'Delete' => 'Cancella',
+ 'Delivery Date' => 'Data di spedizione',
+ 'Description' => 'Descrizione',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'Indirizzo e-mail mancante!',
+ 'Edit Purchase Invoice' => 'Modifica Fattura di acquisto',
+ 'Exch' => 'Cambio',
+ 'Exchangerate' => 'Tasso di Cambio',
+ 'Exchangerate for payment missing!' => 'Manca il Tasso di Cambio per il pagamento!',
+ 'Exchangerate missing!' => 'Manca il Tasso di Cambio!',
+ 'Extended' => 'Esteso',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Febbraio',
+ 'In-line' => 'In-line',
+ 'Invoice' => 'Fattura',
+ 'Invoice Date' => 'Data Fattura',
+ 'Invoice Date missing!' => 'Manca la data della Fattura!',
+ 'Invoice Number' => 'Fattura Numero',
+ 'Invoice Number missing!' => 'Manca il numero della Fattura!',
+ 'Invoice deleted!' => 'Fattura Cancellata!',
+ 'Invoice posted!' => 'Fattura Salvata!',
+ 'Item not on file!' => 'Articolo non in archivio!',
+ 'Jan' => 'Gen',
+ 'January' => 'Gennaio',
+ 'Jul' => 'Lug',
+ 'July' => 'Luglio',
+ 'Jun' => 'Giu',
+ 'June' => 'Giugno',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'Mag',
+ 'May ' => 'Mag ',
+ 'Message' => 'Messaggio',
+ 'Name' => 'Nome',
+ 'No.' => 'No.',
+ 'Notes' => 'Note',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembre',
+ 'Number' => 'Numero',
+ 'Number missing in Row' => 'Manca il codice nella riga',
+ 'Oct' => 'Ott',
+ 'October' => 'Ottobre',
+ 'Order' => 'Ordine',
+ 'Order Date missing!' => 'Manca la data dell\'ordine',
+ 'Order Number' => 'Ordine Numero',
+ 'Order Number missing!' => 'Manca il numero dell\'ordine!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Lista Etichette',
+ 'Packing List Date missing!' => 'Manca la data della Packing List!',
+ 'Packing List Number missing!' => 'Manca il codice della Packing List!',
+ 'Part' => 'Articolo',
+ 'Payment date missing!' => 'Manca la data del pagamento!',
+ 'Payments' => 'Pagamenti',
+ 'Phone' => 'Tel.',
+ 'Post' => 'Salva',
+ 'Post as new' => 'Salva come nuovo',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Prezzo',
+ 'Printer' => 'Stampante',
+ 'Project' => 'Progetto',
+ 'Project not on file!' => 'Progetto non archiviato!',
+ 'Purchase Order' => 'Ordine di acquisto',
+ 'Qty' => 'Q.t&agrave;',
+ 'Recd' => 'Ricevuto',
+ 'Record in' => 'Registra in',
+ 'Required by' => 'Necessario dal',
+ 'Sales Order' => 'Ordine di vendita',
+ 'Screen' => 'Schermo',
+ 'Select from one of the items below' => 'Seleziona uno dei seguenti Articoli',
+ 'Select from one of the names below' => 'Seleziona uno dei seguenti nomi',
+ 'Select from one of the projects below' => 'Seleziona uno dei seguenti progetti',
+ 'Select postscript or PDF!' => 'Scegli tra postscript e PDF!',
+ 'Sep' => 'Set',
+ 'September' => 'Settembre',
+ 'Service' => 'Servizio',
+ 'Ship' => 'Invio',
+ 'Ship to' => 'Spedire a',
+ 'Source' => 'Sorgente',
+ 'Subject' => 'Oggetto',
+ 'Subtotal' => 'Totale Parziale',
+ 'Tax Included' => 'Tasse Incluse',
+ 'To' => 'Al',
+ 'Total' => 'Totale',
+ 'Unit' => 'Unit&agrave;',
+ 'Update' => 'Aggiorna',
+ 'Vendor' => 'Fornitore',
+ 'Vendor missing!' => 'Manca il fornitore!',
+ 'Vendor not on file!' => 'Fornitore non in archivio!',
+ 'What type of item is this?' => 'Che tipo di Articolo &egrave; questo?',
+ 'Yes' => 'Si',
+ 'ea' => 'ci',
+ 'emailed to' => 'Mandato via e-mail a',
+ 'sent to printer' => 'mandato in stampa',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'continua' => 'continue',
+ 'cancella' => 'delete',
+ 'ordine' => 'order',
+ 'salva' => 'post',
+ 'salva_come_nuovo' => 'post_as_new',
+ 'aggiorna' => 'update',
+ 'si' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/it/is b/sql-ledger/locale/it/is
new file mode 100644
index 0000000..beb9593
--- /dev/null
+++ b/sql-ledger/locale/it/is
@@ -0,0 +1,185 @@
+$self{texts} = {
+ 'Account' => 'Conto',
+ 'Add Purchase Order' => 'Aggiungi Ordine di acquisto',
+ 'Add Sales Invoice' => 'Aggiungi Fattura di vendita',
+ 'Add Sales Order' => 'Aggiungi Ordine di vendita',
+ 'Address' => 'Indirizzo',
+ 'Amount' => 'Importo',
+ 'Apr' => 'Apr',
+ 'April' => 'Aprile',
+ 'Are you sure you want to delete Invoice Number' => 'Sei sicuro di voler cancellare la Fattura numero',
+ 'Attachment' => 'Allegato',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Codice BIN',
+ 'Cannot delete invoice!' => 'Non puoi cancellare la fattura!',
+ 'Cannot post invoice for a closed period!' => 'Non puoi salvare una transazione per un periodo chiuso!',
+ 'Cannot post invoice!' => 'Non puoi salvare la fattura!',
+ 'Cannot post payment for a closed period!' => 'Non puoi salvare pagamenti per un periodo chiuso!',
+ 'Cc' => 'Cc',
+ 'Confirm!' => 'Conferma!',
+ 'Contact' => 'Contatto',
+ 'Continue' => 'Continua',
+ 'Copies' => 'Copie',
+ 'Credit Limit' => 'Fido',
+ 'Currency' => 'Valuta',
+ 'Customer' => 'Cliente',
+ 'Customer missing!' => 'Cliente mancante!',
+ 'Customer not on file!' => 'Cliente non sul file!',
+ 'Date' => 'Data',
+ 'Date Due' => 'Data di Scadenza',
+ 'Dec' => 'Dic',
+ 'December' => 'Dicembre',
+ 'Delete' => 'Cancella',
+ 'Delivery Date' => 'Data di spedizione',
+ 'Description' => 'Descrizione',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'Indirizzo e-mail mancante!',
+ 'Edit Sales Invoice' => 'Modifica Fattura di Vendita',
+ 'Exch' => 'Cambio',
+ 'Exchangerate' => 'Tasso di Cambio',
+ 'Exchangerate for payment missing!' => 'Manca il Tasso di Cambio per il pagamento!',
+ 'Exchangerate missing!' => 'Manca il Tasso di Cambio!',
+ 'Extended' => 'Esteso',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Febbraio',
+ 'In-line' => 'In-line',
+ 'Invoice' => 'Fattura',
+ 'Invoice Date' => 'Data Fattura',
+ 'Invoice Date missing!' => 'Manca la data della Fattura!',
+ 'Invoice Number' => 'Fattura Numero',
+ 'Invoice Number missing!' => 'Manca il numero della Fattura!',
+ 'Invoice deleted!' => 'Fattura Cancellata!',
+ 'Invoice posted!' => 'Fattura Salvata!',
+ 'Item not on file!' => 'Articolo non in archivio!',
+ 'Jan' => 'Gen',
+ 'January' => 'Gennaio',
+ 'Jul' => 'Lug',
+ 'July' => 'Luglio',
+ 'Jun' => 'Giu',
+ 'June' => 'Giugno',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'Mag',
+ 'May ' => 'Mag ',
+ 'Message' => 'Messaggio',
+ 'Name' => 'Nome',
+ 'No.' => 'No.',
+ 'Notes' => 'Note',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembre',
+ 'Number' => 'Numero',
+ 'Number missing in Row' => 'Manca il codice nella riga',
+ 'Oct' => 'Ott',
+ 'October' => 'Ottobre',
+ 'Order' => 'Ordine',
+ 'Order Date missing!' => 'Manca la data dell\'ordine',
+ 'Order Number' => 'Ordine Numero',
+ 'Order Number missing!' => 'Manca il numero dell\'ordine!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Lista Etichette',
+ 'Packing List Date missing!' => 'Manca la data della Packing List!',
+ 'Packing List Number missing!' => 'Manca il codice della Packing List!',
+ 'Part' => 'Articolo',
+ 'Payment date missing!' => 'Manca la data del pagamento!',
+ 'Payments' => 'Pagamenti',
+ 'Phone' => 'Tel.',
+ 'Post' => 'Salva',
+ 'Post as new' => 'Salva come nuovo',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Prezzo',
+ 'Print' => 'Stampa',
+ 'Printer' => 'Stampante',
+ 'Project' => 'Progetto',
+ 'Project not on file!' => 'Progetto non archiviato!',
+ 'Purchase Order' => 'Ordine di acquisto',
+ 'Qty' => 'Q.t&agrave;',
+ 'Recd' => 'Ricevuto',
+ 'Record in' => 'Registra in',
+ 'Remaining' => 'Rimanente',
+ 'Required by' => 'Necessario dal',
+ 'Sales Order' => 'Ordine di vendita',
+ 'Screen' => 'Schermo',
+ 'Select from one of the items below' => 'Seleziona uno dei seguenti Articoli',
+ 'Select from one of the names below' => 'Seleziona uno dei seguenti nomi',
+ 'Select from one of the projects below' => 'Seleziona uno dei seguenti progetti',
+ 'Select postscript or PDF!' => 'Scegli tra postscript e PDF!',
+ 'Sep' => 'Set',
+ 'September' => 'Settembre',
+ 'Service' => 'Servizio',
+ 'Ship' => 'Invio',
+ 'Ship to' => 'Spedire a',
+ 'Ship via' => 'Porto',
+ 'Source' => 'Sorgente',
+ 'Subject' => 'Oggetto',
+ 'Subtotal' => 'Totale Parziale',
+ 'Tax Included' => 'Tasse Incluse',
+ 'To' => 'Al',
+ 'Total' => 'Totale',
+ 'Unit' => 'Unit&agrave;',
+ 'Update' => 'Aggiorna',
+ 'Vendor not on file!' => 'Fornitore non in archivio!',
+ 'What type of item is this?' => 'Che tipo di Articolo &egrave; questo?',
+ 'Yes' => 'Si',
+ 'ea' => 'ci',
+ 'emailed to' => 'Mandato via e-mail a',
+ 'sent to printer' => 'mandato in stampa',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'continua' => 'continue',
+ 'cancella' => 'delete',
+ 'e_mail' => 'e_mail',
+ 'ordine' => 'order',
+ 'salva' => 'post',
+ 'salva_come_nuovo' => 'post_as_new',
+ 'stampa' => 'print',
+ 'spedire_a' => 'ship_to',
+ 'aggiorna' => 'update',
+ 'si' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/it/login b/sql-ledger/locale/it/login
new file mode 100644
index 0000000..aaca32d
--- /dev/null
+++ b/sql-ledger/locale/it/login
@@ -0,0 +1,27 @@
+$self{texts} = {
+ 'About' => 'Informazioni',
+ 'Database Host' => 'Server',
+ 'Dataset' => 'Dataset',
+ 'Incorrect Dataset version!' => 'Versione del Dataset non corretta!',
+ 'Incorrect Password!' => 'Password sbagliata!',
+ 'Licensed to' => 'Dato in Licenza a',
+ 'Login' => 'Login',
+ 'Name' => 'Nome',
+ 'Password' => 'Password',
+ 'User' => 'Utente',
+ 'Version' => 'Versione',
+ 'You are logged out!' => 'Sei disconnesso!',
+ 'You did not enter a name!' => 'Non hai inserito il nome!',
+ 'is not a member!' => 'non &eacute; un utente!',
+ 'localhost' => 'localhost',
+};
+
+$self{subs} = {
+ 'company_logo' => 'company_logo',
+ 'login' => 'login',
+ 'login_screen' => 'login_screen',
+ 'logout' => 'logout',
+ 'login' => 'login',
+};
+
+1;
diff --git a/sql-ledger/locale/it/menu b/sql-ledger/locale/it/menu
new file mode 100644
index 0000000..58ed36a
--- /dev/null
+++ b/sql-ledger/locale/it/menu
@@ -0,0 +1,71 @@
+$self{texts} = {
+ 'AP' => 'Debiti Fornitori',
+ 'AP Aging' => 'Partite Aperte',
+ 'AR' => 'Crediti Clienti',
+ 'AR Aging' => 'Partite Aperte',
+ 'Accounting Menu' => 'Menu Contabilit&agrave;',
+ 'Add Account' => 'Aggiungi conto',
+ 'Add Assembly' => 'Aggiungi Assemblato',
+ 'Add Customer' => 'Aggiungi Cliente',
+ 'Add GIFI' => 'Aggiungi codice GIFI',
+ 'Add Part' => 'Aggiungi Articolo',
+ 'Add Project' => 'Aggiungi Progetto',
+ 'Add Service' => 'Aggiungi Servizio',
+ 'Add Transaction' => 'Aggiungi Transazione',
+ 'Add Vendor' => 'Aggiungi Fornitore',
+ 'Assemblies' => 'Assemblati',
+ 'Audit Control' => 'Controllo accessi',
+ 'Backup' => 'Backup',
+ 'Balance Sheet' => 'Stato Patrimoniale',
+ 'Cash' => 'Cassa',
+ 'Chart of Accounts' => 'Piano dei Conti',
+ 'Check' => 'Assegno',
+ 'Customers' => 'Clienti',
+ 'General Ledger' => 'Contabilit&agrave; generale',
+ 'Goods & Services' => 'Beni e Servizi',
+ 'HTML Templates' => 'Modelli HTML',
+ 'Income Statement' => 'Conto Economico',
+ 'Invoice' => 'Fattura',
+ 'LaTeX Templates' => 'Modelli LaTeX',
+ 'List Accounts' => 'Lista Conti',
+ 'List GIFI' => 'Lista codici GIFI',
+ 'Logout' => 'Logout',
+ 'Order Entry' => 'Ordini',
+ 'Packing List' => 'Lista Etichette',
+ 'Parts' => 'Articoli',
+ 'Payment' => 'Pagamento',
+ 'Payments' => 'Pagamenti',
+ 'Preferences' => 'Preferenze',
+ 'Projects' => 'Progetti',
+ 'Purchase Invoice' => 'Fattura di acquisto',
+ 'Purchase Order' => 'Ordine di acquisto',
+ 'Purchase Orders' => 'Ordini di acquisto',
+ 'Receipt' => 'Incasso',
+ 'Receipts' => 'Incassi',
+ 'Reconciliation' => 'Conciliazione',
+ 'Reports' => 'Prospetti',
+ 'Sales Invoice' => 'Fattura di vendita',
+ 'Sales Order' => 'Ordine di vendita',
+ 'Sales Orders' => 'Ordini di vendita',
+ 'Save to File' => 'Salva su file',
+ 'Send by E-Mail' => 'Spedisci via e-mail',
+ 'Services' => 'Servizi',
+ 'Statement' => 'Sollecito',
+ 'Stock Assembly' => 'Magazzino Assemblati',
+ 'Stylesheet' => 'Foglio di Stile',
+ 'System' => 'Sistema',
+ 'Tax collected' => 'Debito IVA',
+ 'Tax paid' => 'Credito IVA',
+ 'Transactions' => 'Transazioni',
+ 'Trial Balance' => 'Bilancio di Verifica',
+ 'Vendors' => 'Fornitori',
+ 'Version' => 'Versione',
+};
+
+$self{subs} = {
+ 'acc_menu' => 'acc_menu',
+ 'display' => 'display',
+ 'section_menu' => 'section_menu',
+};
+
+1;
diff --git a/sql-ledger/locale/it/oe b/sql-ledger/locale/it/oe
new file mode 100644
index 0000000..b14d61b
--- /dev/null
+++ b/sql-ledger/locale/it/oe
@@ -0,0 +1,200 @@
+$self{texts} = {
+ 'Add' => 'Aggiungi',
+ 'Add Purchase Invoice' => 'Aggiungi Fattura di acquisto',
+ 'Add Purchase Order' => 'Aggiungi Ordine di acquisto',
+ 'Add Sales Invoice' => 'Aggiungi Fattura di vendita',
+ 'Add Sales Order' => 'Aggiungi Ordine di vendita',
+ 'Address' => 'Indirizzo',
+ 'Amount' => 'Importo',
+ 'Apr' => 'Apr',
+ 'April' => 'Aprile',
+ 'Are you sure you want to delete Order Number' => 'Sei sicuro di voler cancellare l\'ordine numero',
+ 'Attachment' => 'Allegato',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Codice BIN',
+ 'C' => 'C',
+ 'Cannot delete order!' => 'Non puoi cancellare l\'ordine',
+ 'Cannot save order!' => 'Non puoi salvare l\'ordine!',
+ 'Cc' => 'Cc',
+ 'Closed' => 'Chiuso',
+ 'Confirm!' => 'Conferma!',
+ 'Contact' => 'Contatto',
+ 'Continue' => 'Continua',
+ 'Copies' => 'Copie',
+ 'Credit Limit' => 'Fido',
+ 'Curr' => 'Valuta',
+ 'Currency' => 'Valuta',
+ 'Customer' => 'Cliente',
+ 'Customer missing!' => 'Cliente mancante!',
+ 'Customer not on file!' => 'Cliente non sul file!',
+ 'Date' => 'Data',
+ 'Dec' => 'Dic',
+ 'December' => 'Dicembre',
+ 'Delete' => 'Cancella',
+ 'Delivery Date' => 'Data di spedizione',
+ 'Description' => 'Descrizione',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'Indirizzo e-mail mancante!',
+ 'Edit Purchase Order' => 'Modifica Ordine di acquisto',
+ 'Edit Sales Order' => 'Modifica Ordine di vendita',
+ 'Exchangerate' => 'Tasso di Cambio',
+ 'Exchangerate missing!' => 'Manca il Tasso di Cambio!',
+ 'Extended' => 'Esteso',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Febbraio',
+ 'From' => 'Dal',
+ 'ID' => 'ID',
+ 'In-line' => 'In-line',
+ 'Include in Report' => 'Includi nel Prospetto',
+ 'Invoice' => 'Fattura',
+ 'Invoice Date missing!' => 'Manca la data della Fattura!',
+ 'Invoice Number missing!' => 'Manca il numero della Fattura!',
+ 'Item not on file!' => 'Articolo non in archivio!',
+ 'Jan' => 'Gen',
+ 'January' => 'Gennaio',
+ 'Jul' => 'Lug',
+ 'July' => 'Luglio',
+ 'Jun' => 'Giu',
+ 'June' => 'Giugno',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'Mag',
+ 'May ' => 'Mag ',
+ 'Message' => 'Messaggio',
+ 'Name' => 'Nome',
+ 'No.' => 'No.',
+ 'Notes' => 'Note',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembre',
+ 'Number' => 'Numero',
+ 'Number missing in Row' => 'Manca il codice nella riga',
+ 'O' => 'O',
+ 'Oct' => 'Ott',
+ 'October' => 'Ottobre',
+ 'Open' => 'Aperto',
+ 'Order' => 'Ordine',
+ 'Order Date' => 'Data dell\'ordine',
+ 'Order Date missing!' => 'Manca la data dell\'ordine',
+ 'Order Number' => 'Ordine Numero',
+ 'Order Number missing!' => 'Manca il numero dell\'ordine!',
+ 'Order deleted!' => 'Ordine Cancellato!',
+ 'Order saved!' => 'Ordine Salvato!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Lista Etichette',
+ 'Packing List Date missing!' => 'Manca la data della Packing List!',
+ 'Packing List Number missing!' => 'Manca il codice della Packing List!',
+ 'Part' => 'Articolo',
+ 'Phone' => 'Tel.',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Prezzo',
+ 'Print' => 'Stampa',
+ 'Printer' => 'Stampante',
+ 'Project' => 'Progetto',
+ 'Project not on file!' => 'Progetto non archiviato!',
+ 'Purchase Order' => 'Ordine di acquisto',
+ 'Purchase Orders' => 'Ordini di acquisto',
+ 'Qty' => 'Q.t&agrave;',
+ 'Recd' => 'Ricevuto',
+ 'Remaining' => 'Rimanente',
+ 'Required by' => 'Necessario dal',
+ 'Sales Order' => 'Ordine di vendita',
+ 'Sales Orders' => 'Ordini di vendita',
+ 'Save' => 'Salva',
+ 'Save as new' => 'Salva come nuovo',
+ 'Screen' => 'Schermo',
+ 'Select from one of the items below' => 'Seleziona uno dei seguenti Articoli',
+ 'Select from one of the names below' => 'Seleziona uno dei seguenti nomi',
+ 'Select from one of the projects below' => 'Seleziona uno dei seguenti progetti',
+ 'Select postscript or PDF!' => 'Scegli tra postscript e PDF!',
+ 'Sep' => 'Set',
+ 'September' => 'Settembre',
+ 'Service' => 'Servizio',
+ 'Ship' => 'Invio',
+ 'Ship to' => 'Spedire a',
+ 'Ship via' => 'Porto',
+ 'Subject' => 'Oggetto',
+ 'Subtotal' => 'Totale Parziale',
+ 'Tax' => 'Tassa',
+ 'Tax Included' => 'Tasse Incluse',
+ 'Terms: Net' => 'Termini: Netto',
+ 'To' => 'Al',
+ 'Total' => 'Totale',
+ 'Unit' => 'Unit&agrave;',
+ 'Update' => 'Aggiorna',
+ 'Vendor' => 'Fornitore',
+ 'Vendor missing!' => 'Manca il fornitore!',
+ 'Vendor not on file!' => 'Fornitore non in archivio!',
+ 'What type of item is this?' => 'Che tipo di Articolo &egrave; questo?',
+ 'Yes' => 'Si',
+ 'days' => 'giorni',
+ 'ea' => 'ci',
+ 'emailed to' => 'Mandato via e-mail a',
+ 'sent to printer' => 'mandato in stampa',
+ 'to' => 'al',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_backorder' => 'create_backorder',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice' => 'invoice',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'order_links' => 'order_links',
+ 'orders' => 'orders',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_order' => 'prepare_order',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'save' => 'save',
+ 'save_as_new' => 'save_as_new',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'subtotal' => 'subtotal',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'aggiungi' => 'add',
+ 'continua' => 'continue',
+ 'cancella' => 'delete',
+ 'e_mail' => 'e_mail',
+ 'fattura' => 'invoice',
+ 'stampa' => 'print',
+ 'salva' => 'save',
+ 'salva_come_nuovo' => 'save_as_new',
+ 'spedire_a' => 'ship_to',
+ 'aggiorna' => 'update',
+ 'si' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/it/pe b/sql-ledger/locale/it/pe
new file mode 100644
index 0000000..c37877b
--- /dev/null
+++ b/sql-ledger/locale/it/pe
@@ -0,0 +1,35 @@
+$self{texts} = {
+ 'Add' => 'Aggiungi',
+ 'Add Project' => 'Aggiungi Progetto',
+ 'All' => 'Tutti',
+ 'Continue' => 'Continua',
+ 'Delete' => 'Cancella',
+ 'Description' => 'Descrizione',
+ 'Edit Project' => 'Modifica Progetto',
+ 'Number' => 'Numero',
+ 'Orphaned' => 'Orfano',
+ 'Project' => 'Progetto',
+ 'Project Number missing!' => 'Manca il codice del progetto!',
+ 'Project deleted!' => 'Progetto cancellato!',
+ 'Project saved!' => 'Progetto salvato!',
+ 'Projects' => 'Progetti',
+ 'Save' => 'Salva',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'aggiungi' => 'add',
+ 'continua' => 'continue',
+ 'cancella' => 'delete',
+ 'salva' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/it/qe b/sql-ledger/locale/it/qe
new file mode 100644
index 0000000..67da640
--- /dev/null
+++ b/sql-ledger/locale/it/qe
@@ -0,0 +1,199 @@
+$self{texts} = {
+ 'Add' => 'Aggiungi',
+ 'Add Purchase Invoice' => 'Aggiungi Fattura di acquisto',
+ 'Add Purchase Order' => 'Aggiungi Ordine di acquisto',
+ 'Add Sales Invoice' => 'Aggiungi Fattura di vendita',
+ 'Add Sales Order' => 'Aggiungi Ordine di vendita',
+ 'Address' => 'Indirizzo',
+ 'Amount' => 'Importo',
+ 'Apr' => 'Apr',
+ 'April' => 'Aprile',
+ 'Are you sure you want to delete Order Number' => 'Sei sicuro di volre cancellare l\'ordine numero',
+ 'Attachment' => 'Attachment',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Codice BIN',
+ 'C' => 'C',
+ 'Cannot delete order!' => 'Non puoi cancellare l\'ordine',
+ 'Cannot save order!' => 'Non puoi salvare l\'ordine!',
+ 'Cc' => 'Cc',
+ 'Closed' => 'Chiuso',
+ 'Confirm!' => 'Conferma!',
+ 'Contact' => 'Contatto',
+ 'Continue' => 'Continua',
+ 'Copies' => 'Copie',
+ 'Credit Limit' => 'Fido',
+ 'Curr' => 'Valuta',
+ 'Currency' => 'Valuta',
+ 'Customer' => 'Cliente',
+ 'Customer missing!' => 'Cliente mancante!',
+ 'Customer not on file!' => 'Cliente non sul file!',
+ 'Date' => 'Data',
+ 'Dec' => 'Dic',
+ 'December' => 'Dicembre',
+ 'Delete' => 'Cancella',
+ 'Delivery Date' => 'Data di spedizione',
+ 'Description' => 'Descrizione',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'Indirizzo e-mail mancante!',
+ 'Edit Purchase Order' => 'Modifica Ordine di acquisto',
+ 'Edit Sales Order' => 'Modifica Ordine di vendita',
+ 'Exchangerate' => 'Tasso di Cambio',
+ 'Exchangerate missing!' => 'Manca il Tasso di Cambio!',
+ 'Extended' => 'Esteso',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Febbraio',
+ 'From' => 'Dal',
+ 'ID' => 'ID',
+ 'In-line' => 'In-line',
+ 'Include in Report' => 'Includi nel Prospetto',
+ 'Invoice' => 'Fattura',
+ 'Invoice Date missing!' => 'Manca la data della Fattura!',
+ 'Invoice Number missing!' => 'Manca il numero della Fattura!',
+ 'Item not on file!' => 'Articolo non in archivio!',
+ 'Jan' => 'Gen',
+ 'January' => 'Gennaio',
+ 'Jul' => 'Lug',
+ 'July' => 'Luglio',
+ 'Jun' => 'Giu',
+ 'June' => 'Giugno',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'Mag',
+ 'May ' => 'Mag ',
+ 'Message' => 'Messaggio',
+ 'Name' => 'Nome',
+ 'No.' => 'No.',
+ 'Notes' => 'Note',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembre',
+ 'Number' => 'Partita IVA',
+ 'Number missing in Row' => 'Manca il codice nella riga',
+ 'O' => 'O',
+ 'Oct' => 'Ott',
+ 'October' => 'Ottobre',
+ 'Open' => 'Aperto',
+ 'Order' => 'Ordine',
+ 'Order Date' => 'Data dell\'ordine',
+ 'Order Date missing!' => 'Manca la data dell\'ordine',
+ 'Order Number' => 'Ordine Numero',
+ 'Order Number missing!' => 'Manca il numero dell\'ordine!',
+ 'Order deleted!' => 'Ordine Cancellato!',
+ 'Order saved!' => 'Ordine Salvato!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Lista Etichette',
+ 'Packing List Date missing!' => 'Manca la data della Packing List!',
+ 'Packing List Number missing!' => 'Manca il codice della Packing List!',
+ 'Part' => 'Articolo',
+ 'Phone' => 'Tel.',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Prezzo',
+ 'Print' => 'Stampa',
+ 'Printer' => 'Stampante',
+ 'Project' => 'Progetto',
+ 'Project not on file!' => 'Progetto non archiviato!',
+ 'Purchase Order' => 'Ordine di acquisto',
+ 'Purchase Orders' => 'Ordini di acquisto',
+ 'Qty' => 'Q.t&agrave;',
+ 'Recd' => 'Ricevuto',
+ 'Remaining' => 'Rimanente',
+ 'Required by' => 'Necessario dal',
+ 'Sales Order' => 'Ordine di vendita',
+ 'Sales Orders' => 'Ordini di vendita',
+ 'Save' => 'Salva',
+ 'Save as new' => 'Salva come nuovo',
+ 'Screen' => 'Schermo',
+ 'Select from one of the items below' => 'Seleziona uno dei seguenti Articoli',
+ 'Select from one of the names below' => 'Seleziona uno dei seguenti nomi',
+ 'Select from one of the projects below' => 'Seleziona uno dei seguenti progetti',
+ 'Select postscript or PDF!' => 'Scegli tra postscript e PDF!',
+ 'Sep' => 'Set',
+ 'September' => 'Settembre',
+ 'Service' => 'Servizio',
+ 'Ship' => 'Invio',
+ 'Ship to' => 'Spedire a',
+ 'Ship via' => 'Porto',
+ 'Subject' => 'Oggetto',
+ 'Subtotal' => 'Totale Parziale',
+ 'Tax' => 'Tassa',
+ 'Tax Included' => 'Tasse Incluse',
+ 'Terms: Net' => 'Termini: Netto',
+ 'To' => 'Al',
+ 'Total' => 'Totale',
+ 'Unit' => 'Unit&agrave;',
+ 'Update' => 'Aggiorna',
+ 'Vendor' => 'Fornitore',
+ 'Vendor missing!' => 'Manca il fornitore!',
+ 'Vendor not on file!' => 'Fornitore non in archivio!',
+ 'What type of item is this?' => 'Che tipo di Articolo &egrave; questo?',
+ 'Yes' => 'Si',
+ 'days' => 'giorni',
+ 'ea' => 'ci',
+ 'emailed to' => 'Mandato via e-mail a',
+ 'sent to printer' => 'mandato in stampa',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_backorder' => 'create_backorder',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice' => 'invoice',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'order_links' => 'order_links',
+ 'orders' => 'orders',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_order' => 'prepare_order',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'save' => 'save',
+ 'save_as_new' => 'save_as_new',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'subtotal' => 'subtotal',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'aggiungi' => 'add',
+ 'continua' => 'continue',
+ 'cancella' => 'delete',
+ 'e_mail' => 'e_mail',
+ 'fattura' => 'invoice',
+ 'stampa' => 'print',
+ 'salva' => 'save',
+ 'salva_come_nuovo' => 'save_as_new',
+ 'spedire_a' => 'ship_to',
+ 'aggiorna' => 'update',
+ 'si' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/it/rc b/sql-ledger/locale/it/rc
new file mode 100644
index 0000000..48aa805
--- /dev/null
+++ b/sql-ledger/locale/it/rc
@@ -0,0 +1,37 @@
+$self{texts} = {
+ 'Account' => 'Conto',
+ 'Balance' => 'Saldo',
+ 'Cleared Balance' => 'Saldo gi&agrave; Conciliato',
+ 'Continue' => 'Continua',
+ 'Date' => 'Data',
+ 'Deposit' => 'Deposito',
+ 'Description' => 'Descrizione',
+ 'Difference' => 'Differenza',
+ 'Done' => 'Fatto',
+ 'Exchangerate Difference' => 'Differenza sul Tasso di Cambio',
+ 'From' => 'Dal',
+ 'Out of balance!' => 'Non conciliato!',
+ 'Payment' => 'Pagamento',
+ 'Reconciliation' => 'Conciliazione',
+ 'Select all' => 'Seleziona tutto',
+ 'Source' => 'Sorgente',
+ 'Statement Balance' => 'Saldo',
+ 'Update' => 'Aggiorna',
+ 'to' => 'al',
+};
+
+$self{subs} = {
+ 'continue' => 'continue',
+ 'display_form' => 'display_form',
+ 'done' => 'done',
+ 'get_payments' => 'get_payments',
+ 'reconciliation' => 'reconciliation',
+ 'select_all' => 'select_all',
+ 'update' => 'update',
+ 'continua' => 'continue',
+ 'fatto' => 'done',
+ 'seleziona_tutto' => 'select_all',
+ 'aggiorna' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/it/rp b/sql-ledger/locale/it/rp
new file mode 100644
index 0000000..3a8c51a
--- /dev/null
+++ b/sql-ledger/locale/it/rp
@@ -0,0 +1,120 @@
+$self{texts} = {
+ 'AP Aging' => 'Partite Aperte',
+ 'AR Aging' => 'Partite Aperte',
+ 'Account' => 'Conto',
+ 'Accounts' => 'Conti',
+ 'Amount' => 'Importo',
+ 'Apr' => 'Apr',
+ 'April' => 'Aprile',
+ 'Attachment' => 'Allegato',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Balance' => 'Saldo',
+ 'Balance Sheet' => 'Stato Patrimoniale',
+ 'Bcc' => 'Bcc',
+ 'Cash based' => 'Basato sulla cassa',
+ 'Cc' => 'Cc',
+ 'Compare to' => 'Confronta con',
+ 'Continue' => 'Continua',
+ 'Copies' => 'Copie',
+ 'Credit' => 'Avere',
+ 'Current' => 'Corrente',
+ 'Customer' => 'Cliente',
+ 'Date' => 'Data',
+ 'Debit' => 'Dare',
+ 'Dec' => 'Dic',
+ 'December' => 'Dicembre',
+ 'Decimalplaces' => 'Numero di decimali',
+ 'Department' => 'Department',
+ 'Description' => 'Descrizione',
+ 'Due' => 'Dovuto',
+ 'E-mail' => 'E-mail',
+ 'E-mail Statement to' => 'Manda il sollecito via e-mail a',
+ 'Feb' => 'Feb',
+ 'February' => 'Febbraio',
+ 'From' => 'Dal',
+ 'GIFI' => 'Codice GIFI',
+ 'Heading' => 'Intestazione',
+ 'ID' => 'ID',
+ 'In-line' => 'In-line',
+ 'Include in Report' => 'Includi nel Prospetto',
+ 'Income Statement' => 'Conto Economico',
+ 'Invoice' => 'Fattura',
+ 'Jan' => 'Gen',
+ 'January' => 'Gennaio',
+ 'Jul' => 'Lug',
+ 'July' => 'Luglio',
+ 'Jun' => 'Giu',
+ 'June' => 'Giugno',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'Mag',
+ 'May ' => 'Mag ',
+ 'Message' => 'Messaggio',
+ 'N/A' => 'N/A',
+ 'Nothing selected!' => 'Non hai selezionato nulla!',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembre',
+ 'Oct' => 'Ott',
+ 'October' => 'Ottobre',
+ 'PDF' => 'PDF',
+ 'Payments' => 'Pagamenti',
+ 'Postscript' => 'Postscript',
+ 'Print' => 'Stampa',
+ 'Printer' => 'Stampante',
+ 'Project Number' => 'Project Number',
+ 'Receipts' => 'Incassi',
+ 'Report for' => 'Prospetto per',
+ 'Retained Earnings' => 'Guadagni',
+ 'Screen' => 'Schermo',
+ 'Select all' => 'Seleziona tutto',
+ 'Select postscript or PDF!' => 'Scegli tra postscript e PDF!',
+ 'Sep' => 'Set',
+ 'September' => 'Settembre',
+ 'Source' => 'Sorgente',
+ 'Standard' => 'Standard',
+ 'Statement' => 'Sollecito',
+ 'Statement sent to' => 'Sollecito mandato a',
+ 'Statements sent to printer!' => 'Solleciti mandati in stampa!',
+ 'Subject' => 'Oggetto',
+ 'Subtotal' => 'Totale Parziale',
+ 'Tax' => 'Tassa',
+ 'Tax collected' => 'Debito IVA',
+ 'Tax paid' => 'Credito IVA',
+ 'Total' => 'Totale',
+ 'Trial Balance' => 'Bilancio di Verifica',
+ 'Vendor' => 'Fornitore',
+ 'as at' => 'Al',
+ 'collected on sales' => 'incassate su vendite',
+ 'for Period' => 'per il Periodo',
+ 'paid on purchases' => 'pagato sugli acquisti',
+ 'to' => 'al',
+};
+
+$self{subs} = {
+ 'aging' => 'aging',
+ 'continue' => 'continue',
+ 'e_mail' => 'e_mail',
+ 'generate_ap_aging' => 'generate_ap_aging',
+ 'generate_ar_aging' => 'generate_ar_aging',
+ 'generate_balance_sheet' => 'generate_balance_sheet',
+ 'generate_income_statement' => 'generate_income_statement',
+ 'generate_tax_report' => 'generate_tax_report',
+ 'generate_trial_balance' => 'generate_trial_balance',
+ 'list_accounts' => 'list_accounts',
+ 'list_payments' => 'list_payments',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'report' => 'report',
+ 'select_all' => 'select_all',
+ 'send_email' => 'send_email',
+ 'statement_details' => 'statement_details',
+ 'tax_subtotal' => 'tax_subtotal',
+ 'continua' => 'continue',
+ 'e_mail' => 'e_mail',
+ 'stampa' => 'print',
+ 'seleziona_tutto' => 'select_all',
+};
+
+1;
diff --git a/sql-ledger/locale/lt/COPYING b/sql-ledger/locale/lt/COPYING
new file mode 100644
index 0000000..763715b
--- /dev/null
+++ b/sql-ledger/locale/lt/COPYING
@@ -0,0 +1,23 @@
+######################################################################
+# SQL-Ledger Accounting
+# Copyright (c) 2003
+#
+# Lithuanian texts:
+#
+# Author:
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+#######################################################################
+
diff --git a/sql-ledger/locale/lt/LANGUAGE b/sql-ledger/locale/lt/LANGUAGE
new file mode 100644
index 0000000..dc243c5
--- /dev/null
+++ b/sql-ledger/locale/lt/LANGUAGE
@@ -0,0 +1 @@
+Lithuanian
diff --git a/sql-ledger/locale/lt/admin b/sql-ledger/locale/lt/admin
new file mode 100644
index 0000000..83cfc84
--- /dev/null
+++ b/sql-ledger/locale/lt/admin
@@ -0,0 +1,124 @@
+$self{texts} = {
+ 'Access Control' => 'Priëjimo kontrolë',
+ 'Accounting' => 'Apskaita',
+ 'Add User' => 'Pridëti Vartotojà',
+ 'Address' => 'Adresas',
+ 'Administration' => 'Administracija',
+ 'Administrator' => 'Administratorius',
+ 'All Datasets up to date!' => 'All Datasets up to date!',
+ 'Change Admin Password' => 'Pakeisti Administratoriaus slaptaþodá',
+ 'Change Password' => 'Pakeisti slaptaþodá',
+ 'Character Set' => 'Simboliø aibë',
+ 'Click on login name to edit!' => 'Paspauskit prisijungimo vardà redagavimui!',
+ 'Company' => 'Firma',
+ 'Connect to' => 'Prisijungti prie',
+ 'Continue' => 'Tæsti',
+ 'Create Chart of Accounts' => 'Sukûrti sàskaitø planà',
+ 'Create Dataset' => 'Sukûrti duomenø aibæ',
+ 'DBI not installed!' => 'DBI ne instaliuotas!',
+ 'Database' => 'Duomenø bazë',
+ 'Database Administration' => 'Duomenø bazës administravimas',
+ 'Database Driver not checked!' => 'Duomenø bazës tvarkiklë nepatikrinta!',
+ 'Database User missing!' => 'Duomenø bazës vartotojo nëra!',
+ 'Dataset' => 'Duomenø aibë',
+ 'Dataset missing!' => 'Duomenø aibës nëra!',
+ 'Dataset updated!' => 'Duomenø aibë atnaujinta!',
+ 'Date Format' => 'Datos Formatas',
+ 'Delete' => 'Iðtrinti',
+ 'Delete Dataset' => 'Iðtrinti Duomenø aibë',
+ 'Directory' => 'Direktorija',
+ 'Driver' => 'Tvarkyklë',
+ 'Dropdown Limit' => 'Iðsiskleidþianèio meniu riba',
+ 'E-mail' => 'E-paðtas',
+ 'Edit User' => 'Redaguoti vartotojà',
+ 'Existing Datasets' => 'Egzistuojanèios duomenø aibës',
+ 'Fax' => 'Faksas',
+ 'Host' => 'Hostas',
+ 'Hostname missing!' => 'Hosto vardo nëra!',
+ 'Incorrect Password!' => 'Neteisingas slaptaþodis!',
+ 'Language' => 'Kalba',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Lokaliam prisijungimui palikite hosto ir porto laukelius tuðèiais',
+ 'Login' => 'Prisijungimas',
+ 'Multibyte Encoding' => 'Multibaitinë kodiruotë',
+ 'Name' => 'Vardas',
+ 'New Templates' => 'Nauji ðablonai',
+ 'No Database Drivers available!' => 'Nëra Duomenø baziø tvarkykliø!',
+ 'No Dataset selected!' => 'Duomenø aibë neiðrinkta!',
+ 'Nothing to delete!' => 'Nëra ko trinti!',
+ 'Number Format' => 'Skaièiaus formatas',
+ 'Oracle Database Administration' => 'Oracle Duomenø bazës Administravimas',
+ 'Password' => 'Slaptaþodis',
+ 'Password changed!' => 'Slaptaþodis pakeistas!',
+ 'Pg Database Administration' => 'Pg Duomenø bazës Administravimas',
+ 'Phone' => 'Tel.',
+ 'Port' => 'Portas',
+ 'Port missing!' => 'Porto numerio nëra!',
+ 'Printer' => 'Spausdintuvas',
+ 'Save' => 'Iðsaugoti',
+ 'Select a Dataset to delete and press "Continue"' => 'Iðrinkite Duomenø aibæ trinimui ir paspauskite "Tæsti"',
+ 'Setup Templates' => 'Nustatyti ðablonus',
+ 'Ship via' => 'Pristatyti per',
+ 'Signature' => 'Paraðas',
+ 'Stylesheet' => 'Stiliø lentelë',
+ 'Templates' => 'Ðablonai',
+ 'The following Datasets are not in use and can be deleted' => 'Ðios duomenø aibës nëra naudojamos ir gali bûti iðtrintos',
+ 'The following Datasets need to be updated' => 'Ðios duomenø aibës turi bûti atnaujintos',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'Èia preliminarus egzistuojanèiø ðaltiniø patikrinimas. Niekas negali bûti sukurta arba iðtrinta ðioje stadijoje.',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'Kad pridëti vartotojà á grupæ redaguokite vardà, pakeiskite prisijungimo vardà ir iðsaugokite. Bus sukurtas naujas vartotojas su tais paèiais kintamaisiais ir nauju prisijungimo vardu',
+ 'Update Dataset' => 'Atnaujinti Duomenø Aibæ',
+ 'Use Templates' => 'Naudoti ðablonus',
+ 'User' => 'Vartotojas',
+ 'User deleted!' => 'Vartotojas iðtrintas!',
+ 'User saved!' => 'Vartotojas iðsaugotas!',
+ 'Version' => 'Versija',
+ 'You must enter a host and port for local and remote connections!' => 'Turite ávesti hostà ir portà lokalioms ir nuotoliniams prisijungimams!',
+ 'does not exist' => 'ne egzistuoja',
+ 'is already a member!' => 'jau narys',
+ 'localhost' => 'lokalhostas',
+ 'locked!' => 'uþblokuotas',
+ 'successfully created!' => 'sëkmingai sukurta',
+ 'successfully deleted!' => 'sëkmingai iðtrinta',
+ 'website' => 'Websaitas',
+};
+
+$self{subs} = {
+ 'add_user' => 'add_user',
+ 'adminlogin' => 'adminlogin',
+ 'change_admin_password' => 'change_admin_password',
+ 'change_password' => 'change_password',
+ 'check_password' => 'check_password',
+ 'continue' => 'continue',
+ 'create_dataset' => 'create_dataset',
+ 'dbcreate' => 'dbcreate',
+ 'dbdelete' => 'dbdelete',
+ 'dbdriver_defaults' => 'dbdriver_defaults',
+ 'dbselect_source' => 'dbselect_source',
+ 'dbupdate' => 'dbupdate',
+ 'delete' => 'delete',
+ 'delete_dataset' => 'delete_dataset',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'get_value' => 'get_value',
+ 'list_users' => 'list_users',
+ 'login' => 'login',
+ 'login_name' => 'login_name',
+ 'oracle_database_administration' => 'oracle_database_administration',
+ 'pg_database_administration' => 'pg_database_administration',
+ 'save' => 'save',
+ 'update_dataset' => 'update_dataset',
+ 'pridëti_vartotojà' => 'add_user',
+ 'pakeisti_administratoriaus_slaptaþodá' => 'change_admin_password',
+ 'pakeisti_slaptaþodá' => 'change_password',
+ 'tæsti' => 'continue',
+ 'sukûrti_duomenø_aibæ' => 'create_dataset',
+ 'iðtrinti' => 'delete',
+ 'iðtrinti_duomenø_aibë' => 'delete_dataset',
+ 'prisijungimas' => 'login',
+ 'oracle_duomenø_bazës_administravimas' => 'oracle_database_administration',
+ 'pg_duomenø_bazës_administravimas' => 'pg_database_administration',
+ 'iðsaugoti' => 'save',
+ 'atnaujinti_duomenø_aibæ' => 'update_dataset',
+};
+
+1;
diff --git a/sql-ledger/locale/lt/all b/sql-ledger/locale/lt/all
new file mode 100644
index 0000000..93a8771
--- /dev/null
+++ b/sql-ledger/locale/lt/all
@@ -0,0 +1,497 @@
+# These are all the texts to build the translations files.
+# The file has the form of 'english text' => 'foreign text',
+# you can add the translation in this file or in the 'missing' file
+# run locales.pl from this directory to rebuild the translation files
+
+$self{texts} = {
+ 'AP' => 'Pirkimai',
+ 'AP Aging' => 'Pirkimo Skolos',
+ 'AP Transaction' => 'Pirkimo Operacijà',
+ 'AP Transactions' => 'Pirkimo Operacijos',
+ 'AR' => 'Pardavimai',
+ 'AR Aging' => 'Pardavimo Skolos',
+ 'AR Transaction' => 'Pardavimo Operacijà',
+ 'AR Transactions' => 'Pardavimo Operacijos',
+ 'About' => 'Apie...',
+ 'Access Control' => 'Priëjimo kontrolë',
+ 'Account' => 'Sàskaita',
+ 'Account Number' => 'Sàskaitos numeris',
+ 'Account Number missing!' => 'Sàskaitos numerio nëra!',
+ 'Account Type' => 'Sàskaitos tipas',
+ 'Account Type missing!' => 'Sàskaitos tipo nëra!',
+ 'Account deleted!' => 'Sàskaitos iðtrintos',
+ 'Account saved!' => 'Sàskaitos iðsaugotos',
+ 'Accounting' => 'Apskaita',
+ 'Accounting Menu' => 'Apskaitos Menu',
+ 'Accounts' => 'Sàskaitos',
+ 'Active' => 'Aktyvus',
+ 'Add' => 'Pridëti',
+ 'Add Account' => 'Pridëti sàskaità',
+ 'Add Accounts Payables Transaction' => 'Pridëti Pirkimo Sàskaitas Operacijà',
+ 'Add Accounts Receivables Transaction' => 'Pridëti Pardavimo Sàskaitas Operacijà',
+ 'Add Assembly' => 'Pridëti rinkiná',
+ 'Add Customer' => 'Pridëti klientà',
+ 'Add GIFI' => 'Pridëti GIFI',
+ 'Add General Ledger Transaction' => 'Pridëti Bendroji Þurnalo Operacijà',
+ 'Add Part' => 'Pridëti prekæ',
+ 'Add Project' => 'Pridëti proektà',
+ 'Add Purchase Order' => 'Pridëti Pirkimo uþsakymà',
+ 'Add Sales Invoice' => 'Pridëti Pardavimo sàskaità-faktûrà',
+ 'Add Sales Order' => 'Pridëti Pardavimo uþsakymà',
+ 'Add Service' => 'Pridëti Paslaugà',
+ 'Add Transaction' => 'Pridëti Operacijà',
+ 'Add User' => 'Pridëti Vartotojà',
+ 'Add Vendor' => 'Pridëti Tiekëja',
+ 'Add Vendor Invoice' => '',
+ 'Address' => 'Adresas',
+ 'Administration' => 'Administracija',
+ 'Administrator' => 'Administratorius',
+ 'All' => 'Visi',
+ 'All Datasets up to date!' => 'All Datasets up to date!',
+ 'Amount' => 'Suma',
+ 'Amount Due' => 'Suma iki',
+ 'Amount does not equal applied!' => 'Suma ne lygi pritaikytai!',
+ 'Amount missing!' => 'Nëra sumos!',
+ 'Applied' => 'Pritaikyta',
+ 'Apr' => 'Bal',
+ 'April' => 'Balandis',
+ 'Are you sure you want to delete Invoice Number' => 'Ar Jus tikrai norite iðtrinti saskaitu-fakturos numeris:',
+ 'Are you sure you want to delete Order Number' => 'Ar Jus tikrai norite iðtrinti uzsakimas numeris:',
+ 'Are you sure you want to delete Transaction' => 'Ar Jus tikrai norite iðtrinti operacijà?',
+ 'Assemblies' => 'Rinkiniai',
+ 'Assemblies restocked!' => 'Rinkiniai persandeliuoti!',
+ 'Assembly Number missing!' => 'Rinkiniø numeriø nëra!',
+ 'Asset' => 'Turtas',
+ 'Attachment' => 'Prisegta',
+ 'Audit Control' => 'Audito kontrolë',
+ 'Aug' => 'Rug',
+ 'August' => 'Rugpjûtis',
+ 'BOM' => 'BOM',
+ 'Backup' => 'Reservinë kopija',
+ 'Backup sent to' => 'Reservinë kopija iðsiusta á',
+ 'Balance' => 'Balansas',
+ 'Balance Sheet' => 'Balanso lëntelë',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Dëþë',
+ 'Books are open' => 'Þurnalai atidaryti',
+ 'Bought' => 'Nupirkta',
+ 'Business Number' => 'Ámonës kodas',
+ 'C' => 'C',
+ 'COGS' => 'PPS',
+ 'Cannot delete account!' => 'Neámanoma iðtrinti sàskaitos!',
+ 'Cannot delete customer!' => 'Neámanoma iðtrinti kliento!',
+ 'Cannot delete default account!' => 'Neámanoma iðtrinti sàskaitos pagal nutylejimà!',
+ 'Cannot delete invoice!' => 'Neámanoma iðtrinti sàskaitos-faktûros!',
+ 'Cannot delete item already invoiced!' => 'Negalima iðtrinti prekës, kuriai sukurta sàskaita-faktûra!',
+ 'Cannot delete item on order!' => 'Negalima iðtrinti prekës, kuri yra uþsakyme!',
+ 'Cannot delete item which is part of an assembly!' => 'Negalima iðtrinti prekës, kuri yra rinkinio dalis!',
+ 'Cannot delete item!' => 'Neámanoma iðtrinti prekës!',
+ 'Cannot delete order!' => 'Neámanoma iðtrinti uþsakymo!',
+ 'Cannot delete transaction!' => 'Neámanoma iðtrinti operacijos!',
+ 'Cannot delete vendor!' => 'Neámanoma iðtrinti tiekëjo!',
+ 'Cannot have a value in both Debit and Credit!' => 'Negalima turëti tos paèios reikðmës Debete ir Kredite!',
+ 'Cannot post a transaction without a value!' => 'Neámanoma patvirtinti operacijos be reikðmës!',
+ 'Cannot post invoice for a closed period!' => 'Neámanoma patvirtinti sàskaitos-faktûros uþdarajam periodui!',
+ 'Cannot post invoice!' => 'Neámanoma patvirtinti sàskaitos-faktûros!',
+ 'Cannot post payment for a closed period!' => 'Neámanoma patvirtinti mokëjimo uþdarajam periodui!',
+ 'Cannot post payment!' => 'Neámanoma patvirtinti mokëjimo!',
+ 'Cannot post transaction for a closed period!' => 'Neámanoma patvirtinti operacijos uþdarajam periodui!',
+ 'Cannot post transaction!' => 'Neámanoma patvirtinti operacijos!',
+ 'Cannot process payment for a closed period!' => 'Neámanoma vykdyti mokëjimo uþdarajam periodui!',
+ 'Cannot save account!' => 'Neámanoma iðsaugoti sàskaitos!',
+ 'Cannot save order!' => 'Neámanoma iðsaugoti uþsakymo!',
+ 'Cannot save preferences!' => 'Neámanoma iðsaugoti nuostatø!',
+ 'Cannot stock assemblies!' => 'Neámanoma sandelioti rinkinius!',
+ 'Cash' => 'Kasa',
+ 'Cash based' => 'Grynais',
+ 'Cc' => 'Cc',
+ 'Change Admin Password' => 'Pakeisti Administratoriaus slaptaþodá',
+ 'Change Password' => 'Pakeisti slaptaþodá',
+ 'Character Set' => 'Simboliø aibë',
+ 'Chart of Accounts' => 'Sàskaitø planas',
+ 'Check' => 'Èekis',
+ 'Check printed!' => 'Èekis atspausdintas!',
+ 'Check printing failed!' => 'Èekio spausdinimas nepavyko!',
+ 'Cleared Balance' => 'Baigiamasis balansas',
+ 'Click on login name to edit!' => 'Paspauskit prisijungimo vardà redagavimui!',
+ 'Close Books up to' => 'Uþdaryti þurnalus iki',
+ 'Closed' => 'Uþdaryta',
+ 'Company' => 'Firma',
+ 'Compare to' => 'Palyginti su',
+ 'Confirm!' => 'Patvirtinti!',
+ 'Connect to' => 'Prisijungti prie',
+ 'Contact' => 'Kontaktas',
+ 'Continue' => 'Tæsti',
+ 'Copies' => 'Kopijos',
+ 'Copy to COA' => 'Kopijuoti á SP',
+ 'Create Chart of Accounts' => 'Sukûrti sàskaitø planà',
+ 'Create Dataset' => 'Sukûrti duomenø aibæ',
+ 'Credit' => 'Kreditas',
+ 'Credit Limit' => 'Kredito riba',
+ 'Curr' => 'Val.',
+ 'Currency' => 'Valiûta',
+ 'Current' => 'Dabartinis',
+ 'Customer' => 'Klientas',
+ 'Customer deleted!' => 'Klientas iðtrintas!',
+ 'Customer missing!' => 'Kliento vardo nëra!',
+ 'Customer not on file!' => 'Tokio kliento nëra!',
+ 'Customer saved!' => 'Klientas iðsaugotas!',
+ 'Customers' => 'Klientai',
+ 'DBI not installed!' => 'DBI ne instaliuotas!',
+ 'Database' => 'Duomenø bazë',
+ 'Database Administration' => 'Duomenø bazës administravimas',
+ 'Database Driver not checked!' => 'Duomenø bazës tvarkiklë nepatikrinta!',
+ 'Database Host' => 'Duomenø bazës hostas',
+ 'Database User missing!' => 'Duomenø bazës vartotojo nëra!',
+ 'Dataset' => 'Duomenø aibë',
+ 'Dataset missing!' => 'Duomenø aibës nëra!',
+ 'Dataset updated!' => 'Duomenø aibë atnaujinta!',
+ 'Date' => 'Data',
+ 'Date Format' => 'Datos Formatas',
+ 'Date Paid' => 'Mokëjimo Data',
+ 'Date missing!' => 'Datos nëra!',
+ 'Debit' => 'Debetas',
+ 'Debit and credit out of balance!' => 'Debetas ir Kreditas nesubalansuoti!',
+ 'Dec' => 'Grd',
+ 'December' => 'Gruodis',
+ 'Decimalplaces' => 'Skaièiø po taðko',
+ 'Delete' => 'Iðtrinti',
+ 'Delete Account' => 'Iðtrinti sàskaità',
+ 'Delete Dataset' => 'Iðtrinti Duomenø aibë',
+ 'Delivery Date' => 'Prystatimo Data',
+ 'Department' => '',
+ 'Deposit' => 'Depozitas',
+ 'Description' => 'Apraðymas',
+ 'Difference' => 'Skirtumas',
+ 'Directory' => 'Direktorija',
+ 'Discount' => 'Nuolaidos',
+ 'Done' => 'Ávykdyta',
+ 'Drawing' => 'Brieþinys',
+ 'Driver' => 'Tvarkyklë',
+ 'Dropdown Limit' => 'Iðsiskleidþianèio meniu riba',
+ 'Due' => 'Iki',
+ 'Due Date' => 'Iki Data',
+ 'Due Date missing!' => 'Nëra Iki Datos!',
+ 'E-mail' => 'E-paðtas',
+ 'E-mail Statement to' => 'Suvestinæ suisti per e-pastà á',
+ 'E-mail address missing!' => 'E-paðto adreso nëra!',
+ 'Edit' => 'Redaguoti',
+ 'Edit Account' => 'Redaguoti sàskaità',
+ 'Edit Accounts Payables Transaction' => 'Redaguoti pirkimo sàskaitø operacijià',
+ 'Edit Accounts Receivables Transaction' => 'Redaguoti pardavimo sàskaitø operacijià',
+ 'Edit Assembly' => 'Redaguoti rinkiná',
+ 'Edit Customer' => 'Redaguoti Klientà',
+ 'Edit GIFI' => 'Redaguoti GIFI',
+ 'Edit General Ledger Transaction' => 'Redaguoti Bendrojo Þurnalo operacijà',
+ 'Edit Part' => 'Redaguoti prekæ',
+ 'Edit Preferences for' => 'Redaguoti nuostatas...',
+ 'Edit Project' => 'Redaguoti projektà',
+ 'Edit Purchase Order' => 'Redaguoti pirkimo uþsakymà',
+ 'Edit Sales Invoice' => 'Redaguoti pardavimo sàskaità-faktûrà',
+ 'Edit Sales Order' => 'Redaguoti pardavimo uþsakymà',
+ 'Edit Service' => 'Redaguoti paslaugà',
+ 'Edit Template' => 'Redaguoti ðablonà',
+ 'Edit User' => 'Redaguoti vartotojà',
+ 'Edit Vendor' => 'Redaguoti Tiekijà',
+ 'Edit Vendor Invoice' => '',
+ 'Employee' => 'Darbuotojas',
+ 'Enforce transaction reversal for all dates' => 'Reversuoti operacijas visoms datoms',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Áveskite iki 3-jø raidþiø, iðskirtø taðkais (Pvz. LTL:EUR:USD:YEN) savo ir uþsienio valiutoms paþymëti',
+ 'Equity' => 'Turtas/Nuosavybë',
+ 'Exch' => 'Kurs.',
+ 'Exchangerate' => 'Keitimo kursas',
+ 'Exchangerate Difference' => 'Keitimo kurso skirtumas',
+ 'Exchangerate for payment missing!' => 'Mokëjimo keitimo kurso nëra!',
+ 'Exchangerate missing!' => 'Keitimo kurso nëra!',
+ 'Existing Datasets' => 'Egzistuojanèios duomenø aibës',
+ 'Expense' => 'Sànaudos',
+ 'Expense Account' => 'Sànaudø sàskaita',
+ 'Expense/Asset' => 'Sànaudos/Aktyvai',
+ 'Extended' => 'Iðplësta',
+ 'Fax' => 'Faksas',
+ 'Feb' => 'Vas',
+ 'February' => 'Vasaris',
+ 'Foreign Exchange Gain' => 'Valiûtos keitimo pelnas',
+ 'Foreign Exchange Loss' => 'Valiûtos keitimo nuostolis',
+ 'From' => 'Nuo',
+ 'GIFI' => 'GIFI',
+ 'GIFI deleted!' => 'GIFI iðtrintas!',
+ 'GIFI missing!' => 'GIFI nëra!',
+ 'GIFI saved!' => 'GIFI iðsaugotas!',
+ 'GL Transaction' => 'BÞ operacija',
+ 'General Ledger' => 'Bendrasis þurnalas',
+ 'Goods & Services' => 'Prekës ir Paslaugos',
+ 'Group' => '',
+ 'Group Items' => '',
+ 'HTML Templates' => 'HTML ðablonai',
+ 'Heading' => 'Antraðtë',
+ 'Host' => 'Hostas',
+ 'Hostname missing!' => 'Hosto vardo nëra!',
+ 'ID' => 'ID',
+ 'Image' => 'Pieðinys',
+ 'In-line' => 'Vienaeilis',
+ 'Include in Report' => 'Ádëti á ataskaità',
+ 'Include in drop-down menus' => 'Ádëti á iðsáskleidþianèius meniu',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Ádëti ðià sàskaità á kliento/tiekëjo formas, kad paþymëti klientà/tiekëjà kaip apmokestinamà?',
+ 'Income' => 'Pajamos',
+ 'Income Account' => 'Pajamø sàskaita',
+ 'Income Statement' => 'Pelno/nuostolio ataskaita',
+ 'Incorrect Dataset version!' => 'Neteisinga duomenø aibës versija!',
+ 'Incorrect Password!' => 'Neteisingas slaptaþodis!',
+ 'Individual Items' => 'Individualios prekës',
+ 'Inventory' => 'Prekës',
+ 'Inventory Account' => 'Prekës sàskaita',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'Prekës kiekis turi bûti lygus nuliui prieð paþymint rinkiná pasenusiu!',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'Prekës kiekis turi bûti lygus nuliui prieð paþymint ðià dalá pasenusia!',
+ 'Inventory quantity must be zero!' => 'Prekës kiekis turi bûti lygus nuliui!',
+ 'Invoice' => 'Sàskaita-faktûra',
+ 'Invoice Date' => 'Sàskaitos-faktûros data',
+ 'Invoice Date missing!' => 'Sàskaitos-faktûros datos nëra!',
+ 'Invoice Number' => 'Sàskaitos-faktûros numeris',
+ 'Invoice Number missing!' => 'Sàskaitos-faktûra numerio nëra!',
+ 'Invoice deleted!' => 'Sàskaitos-faktûra iðtrintos!',
+ 'Invoice posted!' => 'Sàskaitos-faktûra patvirtintos!',
+ 'Invoices' => 'Sàskaitos-faktûros',
+ 'Is this a summary account to record' => 'Ar èia apibendrinta áraðo sàskaita',
+ 'Item deleted!' => 'Vienetas iðtrintas!',
+ 'Item not on file!' => 'Vieneto nëra áraðuose!',
+ 'Jan' => 'Sau',
+ 'January' => 'Sausis',
+ 'Jul' => 'Lie',
+ 'July' => 'Liepa',
+ 'Jun' => 'Bir',
+ 'June' => 'Birþelis',
+ 'LaTeX Templates' => 'LaTeX ðablonai',
+ 'Language' => 'Kalba',
+ 'Last Cost' => 'Paskutinë kaina',
+ 'Last Invoice Number' => 'Paskutinës sàskaitos-faktûros numeris',
+ 'Last Numbers & Default Accounts' => 'Paskutinieji numeriai ir sàskaitos pagal nutylëjimà',
+ 'Last Purchase Order Number' => 'Paskutinio pirkimo uþsakymo numeris',
+ 'Last Sales Order Number' => 'Paskutinio pardavimo uþsakymo numeris',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Lokaliam prisijungimui palikite hosto ir porto laukelius tuðèiais',
+ 'Liability' => 'Nuosavybë',
+ 'Licensed to' => 'Licenzijuota...',
+ 'Line Total' => 'Viso eilutëje',
+ 'Link' => 'Ryðys',
+ 'Link Accounts' => 'Suriðti sàskaitas',
+ 'List Accounts' => 'Sàskaitø sàraðas',
+ 'List GIFI' => 'GIFI sàraðas',
+ 'List Price' => 'Pirkimo kaina',
+ 'List Transactions' => 'Parodyti operacijas',
+ 'Login' => 'Prisijungimas',
+ 'Logout' => 'Iðsijungti',
+ 'Make' => 'Gamintojas',
+ 'Mar' => 'Kov',
+ 'March' => 'Kovas',
+ 'May' => 'Geg',
+ 'May ' => 'Geguþë',
+ 'Message' => 'Þinutë',
+ 'Microfiche' => 'Mikrofiða',
+ 'Model' => 'Modelis',
+ 'Multibyte Encoding' => 'Multibaitinë kodiruotë',
+ 'N/A' => 'N/A',
+ 'Name' => 'Vardas',
+ 'Name missing!' => 'Pavadinimo nëra',
+ 'New Templates' => 'Nauji ðablonai',
+ 'No' => 'Ne',
+ 'No Database Drivers available!' => 'Nëra Duomenø baziø tvarkykliø!',
+ 'No Dataset selected!' => 'Duomenø aibë neiðrinkta!',
+ 'No email address for' => 'Nëra e-paðto adreso...',
+ 'No.' => 'Num',
+ 'Notes' => 'Pastaba',
+ 'Nothing applied!' => 'Niekas nepanaudota!',
+ 'Nothing selected!' => 'Nieko neiðrinkta!',
+ 'Nothing to delete!' => 'Nëra ko trinti!',
+ 'Nov' => 'Lap',
+ 'November' => 'Lapkritis',
+ 'Number' => 'Numeris',
+ 'Number Format' => 'Skaièiaus formatas',
+ 'Number missing in Row' => 'Numerio nëra eilëje',
+ 'O' => 'O',
+ 'Obsolete' => 'Pasenæ',
+ 'Oct' => 'Spa',
+ 'October' => 'Spalis',
+ 'On Hand' => 'Likutis',
+ 'On Order' => 'Uþsakyme',
+ 'Open' => 'Atidaryti',
+ 'Oracle Database Administration' => 'Oracle Duomenø bazës Administravimas',
+ 'Order' => 'Uþsakymas',
+ 'Order Date' => 'Uþsakymo data',
+ 'Order Date missing!' => 'Uþsakymo datos nëra!',
+ 'Order Entry' => 'Uþsakymo áraðas',
+ 'Order Number' => 'Uþsakymo numeris',
+ 'Order Number missing!' => 'Uþsakymo numerio nëra!',
+ 'Order deleted!' => 'Uþsakymai iðtrinti!',
+ 'Order saved!' => 'Uþsakymas iðsaugotas!',
+ 'Ordered' => 'Uþsakyta',
+ 'Orphaned' => 'Naðlaitinis',
+ 'Out of balance!' => 'Nesubalansuota!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Ápakavimo sàraðas',
+ 'Packing List Date missing!' => 'Ápakavimo sàraðo datos nëra!',
+ 'Packing List Number missing!' => 'Ápakavimo sàraðo numerio nëra!',
+ 'Paid' => 'Apmokëta',
+ 'Paid in full' => 'Pilnai apmokëta',
+ 'Part' => 'Prekë',
+ 'Part Number missing!' => 'Prekës numerio nëra!',
+ 'Parts' => 'Prekës',
+ 'Parts Inventory' => 'Prekiø saraðas',
+ 'Password' => 'Slaptaþodis',
+ 'Password changed!' => 'Slaptaþodis pakeistas!',
+ 'Payables' => 'Pirkimai',
+ 'Payment' => 'Mokëjimas',
+ 'Payment date missing!' => 'Mokëjimo datos nëra',
+ 'Payment posted!' => 'Mokëjimas patvirtintas!',
+ 'Payments' => 'Mokëjimai',
+ 'Pg Database Administration' => 'Pg Duomenø bazës Administravimas',
+ 'Phone' => 'Tel.',
+ 'Port' => 'Portas',
+ 'Port missing!' => 'Porto numerio nëra!',
+ 'Post' => 'Patvirtinti',
+ 'Post as new' => 'Patvirtinti kaip naujà',
+ 'Postscript' => 'Postscript(TM)',
+ 'Preferences' => 'Nuostatos',
+ 'Preferences saved!' => 'Nuostatos iðsaugotos!',
+ 'Price' => 'Kaina',
+ 'Print' => 'Spausdinti',
+ 'Printer' => 'Spausdintuvas',
+ 'Project' => 'Projektas',
+ 'Project Number' => '',
+ 'Project Number missing!' => 'Projekto numerio nëra!',
+ 'Project deleted!' => 'Projektas iðtrintas!',
+ 'Project not on file!' => 'Nëra tokio projekto!',
+ 'Project saved!' => 'Projektas iðsaugotas!',
+ 'Projects' => 'Projektai',
+ 'Purchase Order' => 'Pirkimo uþsakymas',
+ 'Purchase Orders' => 'Pirkimo uþsakymai',
+ 'Qty' => 'Kks',
+ 'ROP' => 'ROP',
+ 'Rate' => 'Kursas',
+ 'Recd' => 'Gaut',
+ 'Receipt' => 'Kasos orderis',
+ 'Receipt printed!' => '',
+ 'Receipt printing failed!' => '',
+ 'Receipts' => 'Kasos orderiai',
+ 'Receivables' => 'Pardavimai',
+ 'Reconciliation' => 'Sutaikinimas',
+ 'Record in' => 'Áraðyti á',
+ 'Reference' => 'Nuorodos',
+ 'Reference missing!' => 'Nuorodos nëra!',
+ 'Remaining' => 'Likutis',
+ 'Report for' => 'Ataskaita...',
+ 'Reports' => 'Ataskaitos',
+ 'Required by' => 'Iki kada',
+ 'Retained Earnings' => 'Turimi uþdarbiai',
+ 'Sales' => 'Pardavimai',
+ 'Sales Invoice' => 'Pardavimo SF',
+ 'Sales Order' => 'Pardavimø uþsakymas',
+ 'Sales Orders' => 'Pardavimø uþsakymai',
+ 'Salesperson' => '',
+ 'Save' => 'Iðsaugoti',
+ 'Save as new' => 'Iðsaugoti kaip naujà',
+ 'Save to File' => 'Iðsaugoti á failà',
+ 'Screen' => 'Ekranas',
+ 'Select a Dataset to delete and press "Continue"' => 'Iðrinkite Duomenø aibæ trinimui ir paspauskite "Tæsti"',
+ 'Select all' => 'Iðrinkti viskà',
+ 'Select from one of the items below' => 'Iðrinkite vienà ið prekiø apaèioje',
+ 'Select from one of the names below' => 'Iðrinkite vienà ið pavadinimø apaèioje',
+ 'Select from one of the projects below' => 'Iðrinkite vienà ið projektø apaèioje',
+ 'Select postscript or PDF!' => 'Iðrinkite postscript arba PDF!',
+ 'Sell Price' => 'Pardavimo kaina',
+ 'Send by E-Mail' => 'Iðsiûsti e-paðtu',
+ 'Sep' => 'Rgs',
+ 'September' => 'Rûgsëjis',
+ 'Service' => 'Paslauga',
+ 'Service Items' => 'Paslaugø sàraðas',
+ 'Service Number missing!' => 'Paslaugos numerio nëra!',
+ 'Services' => 'Paslaugos',
+ 'Setup Templates' => 'Nustatyti ðablonus',
+ 'Ship' => 'Pristatymas',
+ 'Ship to' => 'Pristatyti á',
+ 'Ship via' => 'Pristatyti per',
+ 'Short' => 'Stoka',
+ 'Signature' => 'Paraðas',
+ 'Sold' => 'Parduota',
+ 'Source' => 'Dokumentas',
+ 'Standard' => 'Standartas',
+ 'Statement' => 'Suvestinë',
+ 'Statement Balance' => 'Balanso suvestinë',
+ 'Statement sent to' => 'Siusti suvestinæ á',
+ 'Statements sent to printer!' => 'Siusti suvestinæ á spausdintuvà!',
+ 'Stock Assembly' => 'Rinkiniai sandëlyje',
+ 'Stylesheet' => 'Stiliø lentelë',
+ 'Subject' => 'Dalykas',
+ 'Subtotal' => 'Viso',
+ 'System' => 'Sistema',
+ 'Tax' => 'Mokëstis',
+ 'Tax Accounts' => 'Mokesèiø sàskaitos',
+ 'Tax Included' => 'su mokesèiais',
+ 'Tax collected' => 'Mokesèiai surinkti',
+ 'Tax paid' => 'Mokesèiai sumokëti',
+ 'Taxable' => 'Apmokestinama',
+ 'Template saved!' => 'Ðablonai iðsaugoti!',
+ 'Templates' => 'Ðablonai',
+ 'Terms: Net' => 'Terminas: ',
+ 'The following Datasets are not in use and can be deleted' => 'Ðios duomenø aibës nëra naudojamos ir gali bûti iðtrintos',
+ 'The following Datasets need to be updated' => 'Ðios duomenø aibës turi bûti atnaujintos',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'Èia preliminarus egzistuojanèiø ðaltiniø patikrinimas. Niekas negali bûti sukurta arba iðtrinta ðioje stadijoje.',
+ 'To' => 'iki',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'Kad pridëti vartotojà á grupæ redaguokite vardà, pakeiskite prisijungimo vardà ir iðsaugokite. Bus sukurtas naujas vartotojas su tais paèiais kintamaisiais ir nauju prisijungimo vardu',
+ 'Top Level' => 'Aukðèiausias lygis',
+ 'Total' => 'Ið viso',
+ 'Transaction Date missing!' => 'Operacijos datos nëra!',
+ 'Transaction deleted!' => 'Operacija iðtrinta!',
+ 'Transaction posted!' => 'Operacija patvirtinta!',
+ 'Transaction reversal enforced for all dates' => 'Operacijos bus reversuojamos visoms datoms',
+ 'Transaction reversal enforced up to' => 'Operacijos bus reversuojamos iki',
+ 'Transactions' => 'Operacijos',
+ 'Transactions exist, cannot delete customer!' => 'Operacijos egzistuoja, negalima iðtrinti kliento!',
+ 'Transactions exist, cannot delete vendor!' => 'Operacijos egzistuoja, negalima iðtrinti tiekëjo!',
+ 'Transactions exist; cannot delete account!' => 'Operacijos egzistuoja, negalima iðtrinti sàskaitos!',
+ 'Trial Balance' => 'Bandomasis balansas',
+ 'Unit' => 'Vienetas',
+ 'Unit of measure' => 'Matavimo vienetas',
+ 'Update' => 'Atnaujinti',
+ 'Update Dataset' => 'Atnaujinti Duomenø Aibæ',
+ 'Updated' => 'Atnaujinta',
+ 'Use Templates' => 'Naudoti ðablonus',
+ 'User' => 'Vartotojas',
+ 'User deleted!' => 'Vartotojas iðtrintas!',
+ 'User saved!' => 'Vartotojas iðsaugotas!',
+ 'Vendor' => 'Tiekëjas',
+ 'Vendor Invoice' => '',
+ 'Vendor deleted!' => 'Tiekëjas iðtrintas!',
+ 'Vendor missing!' => 'Tiekëjo Vardo nëra!',
+ 'Vendor not on file!' => 'Tokio tiekëjo nëra!',
+ 'Vendor saved!' => 'Tiekëjai iðsaugoti',
+ 'Vendors' => 'Tiekëjai',
+ 'Version' => 'Versija',
+ 'Weight' => 'Svoris',
+ 'Weight Unit' => 'Svorio vienetas.',
+ 'What type of item is this?' => 'Koks ðio dalyko tipas?',
+ 'Year End' => 'Metø pabaiga',
+ 'Yes' => 'Taip',
+ 'You are logged out!' => 'Jûs iðsijungëte!',
+ 'You did not enter a name!' => 'Neávedëte vardo!',
+ 'You must enter a host and port for local and remote connections!' => 'Turite ávesti hostà ir portà lokalioms ir nuotoliniams prisijungimams!',
+ 'as at' => 'kaip',
+ 'collected on sales' => 'surinkta per pardavimus',
+ 'days' => 'dienos',
+ 'does not exist' => 'ne egzistuoja',
+ 'ea' => 'kk',
+ 'emailed to' => 'email do',
+ 'for Period' => 'periodui',
+ 'hr' => 'val',
+ 'is already a member!' => 'jau narys',
+ 'is not a member!' => 'nëra narys!',
+ 'localhost' => 'lokalhostas',
+ 'locked!' => 'uþblokuotas',
+ 'paid on purchases' => 'apmokëta per pirkimus',
+ 'sent to printer' => 'pasiûsta á spausdintuvà',
+ 'successfully created!' => 'sëkmingai sukurta',
+ 'successfully deleted!' => 'sëkmingai iðtrinta',
+ 'to' => 'iki',
+ 'website' => 'Websaitas',
+};
+
+1;
diff --git a/sql-ledger/locale/lt/am b/sql-ledger/locale/lt/am
new file mode 100644
index 0000000..4796a2b
--- /dev/null
+++ b/sql-ledger/locale/lt/am
@@ -0,0 +1,139 @@
+$self{texts} = {
+ 'AP' => 'Pirkimai',
+ 'AR' => 'Pardavimai',
+ 'Account' => 'Sàskaita',
+ 'Account Number' => 'Sàskaitos numeris',
+ 'Account Number missing!' => 'Sàskaitos numerio nëra!',
+ 'Account Type' => 'Sàskaitos tipas',
+ 'Account Type missing!' => 'Sàskaitos tipo nëra!',
+ 'Account deleted!' => 'Sàskaitos iðtrintos',
+ 'Account saved!' => 'Sàskaitos iðsaugotos',
+ 'Add Account' => 'Pridëti sàskaità',
+ 'Add GIFI' => 'Pridëti GIFI',
+ 'Address' => 'Adresas',
+ 'Asset' => 'Turtas',
+ 'Audit Control' => 'Audito kontrolë',
+ 'Backup sent to' => 'Reservinë kopija iðsiusta á',
+ 'Books are open' => 'Þurnalai atidaryti',
+ 'Business Number' => 'Ámonës kodas',
+ 'COGS' => 'PPS',
+ 'Cannot delete account!' => 'Neámanoma iðtrinti sàskaitos!',
+ 'Cannot delete default account!' => 'Neámanoma iðtrinti sàskaitos pagal nutylejimà!',
+ 'Cannot save account!' => 'Neámanoma iðsaugoti sàskaitos!',
+ 'Cannot save preferences!' => 'Neámanoma iðsaugoti nuostatø!',
+ 'Character Set' => 'Simboliø aibë',
+ 'Chart of Accounts' => 'Sàskaitø planas',
+ 'Close Books up to' => 'Uþdaryti þurnalus iki',
+ 'Company' => 'Firma',
+ 'Continue' => 'Tæsti',
+ 'Copy to COA' => 'Kopijuoti á SP',
+ 'Credit' => 'Kreditas',
+ 'Date Format' => 'Datos Formatas',
+ 'Debit' => 'Debetas',
+ 'Delete' => 'Iðtrinti',
+ 'Delete Account' => 'Iðtrinti sàskaità',
+ 'Description' => 'Apraðymas',
+ 'Dropdown Limit' => 'Iðsiskleidþianèio meniu riba',
+ 'E-mail' => 'E-paðtas',
+ 'Edit' => 'Redaguoti',
+ 'Edit Account' => 'Redaguoti sàskaità',
+ 'Edit GIFI' => 'Redaguoti GIFI',
+ 'Edit Preferences for' => 'Redaguoti nuostatas...',
+ 'Edit Template' => 'Redaguoti ðablonà',
+ 'Enforce transaction reversal for all dates' => 'Reversuoti operacijas visoms datoms',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Áveskite iki 3-jø raidþiø, iðskirtø taðkais (Pvz. LTL:EUR:USD:YEN) savo ir uþsienio valiutoms paþymëti',
+ 'Equity' => 'Turtas/Nuosavybë',
+ 'Expense' => 'Sànaudos',
+ 'Expense Account' => 'Sànaudø sàskaita',
+ 'Expense/Asset' => 'Sànaudos/Aktyvai',
+ 'Fax' => 'Faksas',
+ 'Foreign Exchange Gain' => 'Valiûtos keitimo pelnas',
+ 'Foreign Exchange Loss' => 'Valiûtos keitimo nuostolis',
+ 'GIFI' => 'GIFI',
+ 'GIFI deleted!' => 'GIFI iðtrintas!',
+ 'GIFI missing!' => 'GIFI nëra!',
+ 'GIFI saved!' => 'GIFI iðsaugotas!',
+ 'Heading' => 'Antraðtë',
+ 'Include in drop-down menus' => 'Ádëti á iðsáskleidþianèius meniu',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Ádëti ðià sàskaità á kliento/tiekëjo formas, kad paþymëti klientà/tiekëjà kaip apmokestinamà?',
+ 'Income' => 'Pajamos',
+ 'Income Account' => 'Pajamø sàskaita',
+ 'Inventory' => 'Prekës',
+ 'Inventory Account' => 'Prekës sàskaita',
+ 'Is this a summary account to record' => 'Ar èia apibendrinta áraðo sàskaita',
+ 'Language' => 'Kalba',
+ 'Last Invoice Number' => 'Paskutinës sàskaitos-faktûros numeris',
+ 'Last Numbers & Default Accounts' => 'Paskutinieji numeriai ir sàskaitos pagal nutylëjimà',
+ 'Last Purchase Order Number' => 'Paskutinio pirkimo uþsakymo numeris',
+ 'Last Sales Order Number' => 'Paskutinio pardavimo uþsakymo numeris',
+ 'Liability' => 'Nuosavybë',
+ 'Link' => 'Ryðys',
+ 'Name' => 'Vardas',
+ 'No' => 'Ne',
+ 'No email address for' => 'Nëra e-paðto adreso...',
+ 'Number' => 'Numeris',
+ 'Number Format' => 'Skaièiaus formatas',
+ 'Parts Inventory' => 'Prekiø saraðas',
+ 'Password' => 'Slaptaþodis',
+ 'Payables' => 'Pirkimai',
+ 'Payment' => 'Mokëjimas',
+ 'Phone' => 'Tel.',
+ 'Preferences saved!' => 'Nuostatos iðsaugotos!',
+ 'Rate' => 'Kursas',
+ 'Receivables' => 'Pardavimai',
+ 'Sales' => 'Pardavimai',
+ 'Save' => 'Iðsaugoti',
+ 'Service Items' => 'Paslaugø sàraðas',
+ 'Ship via' => 'Pristatyti per',
+ 'Signature' => 'Paraðas',
+ 'Stylesheet' => 'Stiliø lentelë',
+ 'Tax' => 'Mokëstis',
+ 'Tax Accounts' => 'Mokesèiø sàskaitos',
+ 'Template saved!' => 'Ðablonai iðsaugoti!',
+ 'Transaction reversal enforced for all dates' => 'Operacijos bus reversuojamos visoms datoms',
+ 'Transaction reversal enforced up to' => 'Operacijos bus reversuojamos iki',
+ 'Transactions exist; cannot delete account!' => 'Operacijos egzistuoja, negalima iðtrinti sàskaitos!',
+ 'Weight Unit' => 'Svorio vienetas.',
+ 'Year End' => 'Metø pabaiga',
+ 'Yes' => 'Taip',
+ 'does not exist' => 'ne egzistuoja',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_gifi' => 'add_gifi',
+ 'audit_control' => 'audit_control',
+ 'backup' => 'backup',
+ 'config' => 'config',
+ 'continue' => 'continue',
+ 'copy_to_coa' => 'copy_to_coa',
+ 'delete' => 'delete',
+ 'delete_account' => 'delete_account',
+ 'delete_gifi' => 'delete_gifi',
+ 'display_form' => 'display_form',
+ 'display_stylesheet' => 'display_stylesheet',
+ 'doclose' => 'doclose',
+ 'edit' => 'edit',
+ 'edit_gifi' => 'edit_gifi',
+ 'edit_template' => 'edit_template',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gifi_footer' => 'gifi_footer',
+ 'gifi_header' => 'gifi_header',
+ 'list' => 'list',
+ 'list_gifi' => 'list_gifi',
+ 'save' => 'save',
+ 'save_account' => 'save_account',
+ 'save_gifi' => 'save_gifi',
+ 'save_preferences' => 'save_preferences',
+ 'save_template' => 'save_template',
+ 'pridëti_sàskaità' => 'add_account',
+ 'tæsti' => 'continue',
+ 'kopijuoti_á_sp' => 'copy_to_coa',
+ 'iðtrinti' => 'delete',
+ 'redaguoti' => 'edit',
+ 'redaguoti_sàskaità' => 'edit_account',
+ 'iðsaugoti' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/lt/ap b/sql-ledger/locale/lt/ap
new file mode 100644
index 0000000..749dbfb
--- /dev/null
+++ b/sql-ledger/locale/lt/ap
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AP Transaction' => 'Pirkimo Operacijà',
+ 'AP Transactions' => 'Pirkimo Operacijos',
+ 'Account' => 'Sàskaita',
+ 'Add Accounts Payables Transaction' => 'Pridëti Pirkimo Sàskaitas Operacijà',
+ 'Address' => 'Adresas',
+ 'Amount' => 'Suma',
+ 'Amount Due' => 'Suma iki',
+ 'Apr' => 'Bal',
+ 'April' => 'Balandis',
+ 'Are you sure you want to delete Transaction' => 'Ar Jus tikrai norite iðtrinti operacijà?',
+ 'Aug' => 'Rug',
+ 'August' => 'Rugpjûtis',
+ 'Cannot delete transaction!' => 'Neámanoma iðtrinti operacijos!',
+ 'Cannot post payment for a closed period!' => 'Neámanoma patvirtinti mokëjimo uþdarajam periodui!',
+ 'Cannot post transaction for a closed period!' => 'Neámanoma patvirtinti operacijos uþdarajam periodui!',
+ 'Cannot post transaction!' => 'Neámanoma patvirtinti operacijos!',
+ 'Closed' => 'Uþdaryta',
+ 'Confirm!' => 'Patvirtinti!',
+ 'Continue' => 'Tæsti',
+ 'Currency' => 'Valiûta',
+ 'Customer not on file!' => 'Tokio kliento nëra!',
+ 'Date' => 'Data',
+ 'Date Paid' => 'Mokëjimo Data',
+ 'Dec' => 'Grd',
+ 'December' => 'Gruodis',
+ 'Delete' => 'Iðtrinti',
+ 'Description' => 'Apraðymas',
+ 'Due Date' => 'Iki Data',
+ 'Due Date missing!' => 'Nëra Iki Datos!',
+ 'Edit Accounts Payables Transaction' => 'Redaguoti pirkimo sàskaitø operacijià',
+ 'Employee' => 'Darbuotojas',
+ 'Exch' => 'Kurs.',
+ 'Exchangerate' => 'Keitimo kursas',
+ 'Exchangerate for payment missing!' => 'Mokëjimo keitimo kurso nëra!',
+ 'Exchangerate missing!' => 'Keitimo kurso nëra!',
+ 'Feb' => 'Vas',
+ 'February' => 'Vasaris',
+ 'From' => 'Nuo',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Ádëti á ataskaità',
+ 'Invoice' => 'Sàskaita-faktûra',
+ 'Invoice Date' => 'Sàskaitos-faktûros data',
+ 'Invoice Date missing!' => 'Sàskaitos-faktûros datos nëra!',
+ 'Invoice Number' => 'Sàskaitos-faktûros numeris',
+ 'Invoice Number missing!' => 'Sàskaitos-faktûra numerio nëra!',
+ 'Jan' => 'Sau',
+ 'January' => 'Sausis',
+ 'Jul' => 'Lie',
+ 'July' => 'Liepa',
+ 'Jun' => 'Bir',
+ 'June' => 'Birþelis',
+ 'Mar' => 'Kov',
+ 'March' => 'Kovas',
+ 'May' => 'Geg',
+ 'May ' => 'Geguþë',
+ 'Notes' => 'Pastaba',
+ 'Nov' => 'Lap',
+ 'November' => 'Lapkritis',
+ 'Number' => 'Numeris',
+ 'Oct' => 'Spa',
+ 'October' => 'Spalis',
+ 'Open' => 'Atidaryti',
+ 'Order' => 'Uþsakymas',
+ 'Order Number' => 'Uþsakymo numeris',
+ 'Paid' => 'Apmokëta',
+ 'Payment date missing!' => 'Mokëjimo datos nëra',
+ 'Payments' => 'Mokëjimai',
+ 'Post' => 'Patvirtinti',
+ 'Post as new' => 'Patvirtinti kaip naujà',
+ 'Project' => 'Projektas',
+ 'Project not on file!' => 'Nëra tokio projekto!',
+ 'Select from one of the names below' => 'Iðrinkite vienà ið pavadinimø apaèioje',
+ 'Select from one of the projects below' => 'Iðrinkite vienà ið projektø apaèioje',
+ 'Sep' => 'Rgs',
+ 'September' => 'Rûgsëjis',
+ 'Source' => 'Dokumentas',
+ 'Subtotal' => 'Viso',
+ 'Tax' => 'Mokëstis',
+ 'Tax Included' => 'su mokesèiais',
+ 'Total' => 'Ið viso',
+ 'Transaction deleted!' => 'Operacija iðtrinta!',
+ 'Transaction posted!' => 'Operacija patvirtinta!',
+ 'Update' => 'Atnaujinti',
+ 'Vendor' => 'Tiekëjas',
+ 'Vendor Invoice' => 'Vendor Invoice',
+ 'Vendor missing!' => 'Tiekëjo Vardo nëra!',
+ 'Vendor not on file!' => 'Tokio tiekëjo nëra!',
+ 'Yes' => 'Taip',
+ 'to' => 'iki',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_subtotal' => 'ap_subtotal',
+ 'ap_transaction' => 'ap_transaction',
+ 'ap_transactions' => 'ap_transactions',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'yes' => 'yes',
+ 'pirkimo_operacijà' => 'ap_transaction',
+ 'pridëti_pirkimo_sàskaitas_operacijà' => 'add_accounts_payables_transaction',
+ 'tæsti' => 'continue',
+ 'iðtrinti' => 'delete',
+ 'redaguoti_pirkimo_sàskaitø_operacijià' => 'edit_accounts_payables_transaction',
+ 'patvirtinti' => 'post',
+ 'patvirtinti_kaip_naujà' => 'post_as_new',
+ 'atnaujinti' => 'update',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'taip' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/lt/ar b/sql-ledger/locale/lt/ar
new file mode 100644
index 0000000..1b5616d
--- /dev/null
+++ b/sql-ledger/locale/lt/ar
@@ -0,0 +1,134 @@
+$self{texts} = {
+ 'AR Transaction' => 'Pardavimo Operacijà',
+ 'AR Transactions' => 'Pardavimo Operacijos',
+ 'Account' => 'Sàskaita',
+ 'Add Accounts Receivables Transaction' => 'Pridëti Pardavimo Sàskaitas Operacijà',
+ 'Address' => 'Adresas',
+ 'Amount' => 'Suma',
+ 'Amount Due' => 'Suma iki',
+ 'Apr' => 'Bal',
+ 'April' => 'Balandis',
+ 'Are you sure you want to delete Transaction' => 'Ar Jus tikrai norite iðtrinti operacijà?',
+ 'Aug' => 'Rug',
+ 'August' => 'Rugpjûtis',
+ 'Cannot delete transaction!' => 'Neámanoma iðtrinti operacijos!',
+ 'Cannot post payment for a closed period!' => 'Neámanoma patvirtinti mokëjimo uþdarajam periodui!',
+ 'Cannot post transaction for a closed period!' => 'Neámanoma patvirtinti operacijos uþdarajam periodui!',
+ 'Cannot post transaction!' => 'Neámanoma patvirtinti operacijos!',
+ 'Closed' => 'Uþdaryta',
+ 'Confirm!' => 'Patvirtinti!',
+ 'Continue' => 'Tæsti',
+ 'Credit Limit' => 'Kredito riba',
+ 'Currency' => 'Valiûta',
+ 'Customer' => 'Klientas',
+ 'Customer missing!' => 'Kliento vardo nëra!',
+ 'Customer not on file!' => 'Tokio kliento nëra!',
+ 'Date' => 'Data',
+ 'Date Paid' => 'Mokëjimo Data',
+ 'Dec' => 'Grd',
+ 'December' => 'Gruodis',
+ 'Delete' => 'Iðtrinti',
+ 'Description' => 'Apraðymas',
+ 'Due Date' => 'Iki Data',
+ 'Due Date missing!' => 'Nëra Iki Datos!',
+ 'Edit Accounts Receivables Transaction' => 'Redaguoti pardavimo sàskaitø operacijià',
+ 'Exch' => 'Kurs.',
+ 'Exchangerate' => 'Keitimo kursas',
+ 'Exchangerate for payment missing!' => 'Mokëjimo keitimo kurso nëra!',
+ 'Exchangerate missing!' => 'Keitimo kurso nëra!',
+ 'Feb' => 'Vas',
+ 'February' => 'Vasaris',
+ 'From' => 'Nuo',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Ádëti á ataskaità',
+ 'Invoice' => 'Sàskaita-faktûra',
+ 'Invoice Date' => 'Sàskaitos-faktûros data',
+ 'Invoice Date missing!' => 'Sàskaitos-faktûros datos nëra!',
+ 'Invoice Number' => 'Sàskaitos-faktûros numeris',
+ 'Invoice Number missing!' => 'Sàskaitos-faktûra numerio nëra!',
+ 'Jan' => 'Sau',
+ 'January' => 'Sausis',
+ 'Jul' => 'Lie',
+ 'July' => 'Liepa',
+ 'Jun' => 'Bir',
+ 'June' => 'Birþelis',
+ 'Mar' => 'Kov',
+ 'March' => 'Kovas',
+ 'May' => 'Geg',
+ 'May ' => 'Geguþë',
+ 'Notes' => 'Pastaba',
+ 'Nov' => 'Lap',
+ 'November' => 'Lapkritis',
+ 'Number' => 'Numeris',
+ 'Oct' => 'Spa',
+ 'October' => 'Spalis',
+ 'Open' => 'Atidaryti',
+ 'Order' => 'Uþsakymas',
+ 'Order Number' => 'Uþsakymo numeris',
+ 'Paid' => 'Apmokëta',
+ 'Payment date missing!' => 'Mokëjimo datos nëra',
+ 'Payments' => 'Mokëjimai',
+ 'Post' => 'Patvirtinti',
+ 'Post as new' => 'Patvirtinti kaip naujà',
+ 'Project' => 'Projektas',
+ 'Project not on file!' => 'Nëra tokio projekto!',
+ 'Remaining' => 'Likutis',
+ 'Sales Invoice' => 'Pardavimo SF',
+ 'Salesperson' => 'Salesperson',
+ 'Select from one of the names below' => 'Iðrinkite vienà ið pavadinimø apaèioje',
+ 'Select from one of the projects below' => 'Iðrinkite vienà ið projektø apaèioje',
+ 'Sep' => 'Rgs',
+ 'September' => 'Rûgsëjis',
+ 'Ship via' => 'Pristatyti per',
+ 'Source' => 'Dokumentas',
+ 'Subtotal' => 'Viso',
+ 'Tax' => 'Mokëstis',
+ 'Tax Included' => 'su mokesèiais',
+ 'Total' => 'Ið viso',
+ 'Transaction deleted!' => 'Operacija iðtrinta!',
+ 'Transaction posted!' => 'Operacija patvirtinta!',
+ 'Update' => 'Atnaujinti',
+ 'Vendor not on file!' => 'Tokio tiekëjo nëra!',
+ 'Yes' => 'Taip',
+ 'to' => 'iki',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_subtotal' => 'ar_subtotal',
+ 'ar_transaction' => 'ar_transaction',
+ 'ar_transactions' => 'ar_transactions',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'yes' => 'yes',
+ 'pardavimo_operacijà' => 'ar_transaction',
+ 'tæsti' => 'continue',
+ 'iðtrinti' => 'delete',
+ 'patvirtinti' => 'post',
+ 'patvirtinti_kaip_naujà' => 'post_as_new',
+ 'pardavimo_sf' => 'sales_invoice',
+ 'atnaujinti' => 'update',
+ 'taip' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/lt/arap b/sql-ledger/locale/lt/arap
new file mode 100644
index 0000000..0033472
--- /dev/null
+++ b/sql-ledger/locale/lt/arap
@@ -0,0 +1,30 @@
+$self{texts} = {
+ 'Address' => 'Adresas',
+ 'Continue' => 'Tæsti',
+ 'Customer not on file!' => 'Tokio kliento nëra!',
+ 'Description' => 'Apraðymas',
+ 'Number' => 'Numeris',
+ 'Project not on file!' => 'Nëra tokio projekto!',
+ 'Select from one of the names below' => 'Iðrinkite vienà ið pavadinimø apaèioje',
+ 'Select from one of the projects below' => 'Iðrinkite vienà ið projektø apaèioje',
+ 'Vendor not on file!' => 'Tokio tiekëjo nëra!',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'project_selected' => 'project_selected',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'tæsti' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/lt/ca b/sql-ledger/locale/lt/ca
new file mode 100644
index 0000000..89d18c3
--- /dev/null
+++ b/sql-ledger/locale/lt/ca
@@ -0,0 +1,50 @@
+$self{texts} = {
+ 'Account' => 'Sàskaita',
+ 'Apr' => 'Bal',
+ 'April' => 'Balandis',
+ 'Aug' => 'Rug',
+ 'August' => 'Rugpjûtis',
+ 'Balance' => 'Balansas',
+ 'Chart of Accounts' => 'Sàskaitø planas',
+ 'Credit' => 'Kreditas',
+ 'Date' => 'Data',
+ 'Debit' => 'Debetas',
+ 'Dec' => 'Grd',
+ 'December' => 'Gruodis',
+ 'Description' => 'Apraðymas',
+ 'Feb' => 'Vas',
+ 'February' => 'Vasaris',
+ 'From' => 'Nuo',
+ 'GIFI' => 'GIFI',
+ 'Include in Report' => 'Ádëti á ataskaità',
+ 'Jan' => 'Sau',
+ 'January' => 'Sausis',
+ 'Jul' => 'Lie',
+ 'July' => 'Liepa',
+ 'Jun' => 'Bir',
+ 'June' => 'Birþelis',
+ 'List Transactions' => 'Parodyti operacijas',
+ 'Mar' => 'Kov',
+ 'March' => 'Kovas',
+ 'May' => 'Geg',
+ 'May ' => 'Geguþë',
+ 'Nov' => 'Lap',
+ 'November' => 'Lapkritis',
+ 'Oct' => 'Spa',
+ 'October' => 'Spalis',
+ 'Reference' => 'Nuorodos',
+ 'Sep' => 'Rgs',
+ 'September' => 'Rûgsëjis',
+ 'Subtotal' => 'Viso',
+ 'to' => 'iki',
+};
+
+$self{subs} = {
+ 'ca_subtotal' => 'ca_subtotal',
+ 'chart_of_accounts' => 'chart_of_accounts',
+ 'list' => 'list',
+ 'list_transactions' => 'list_transactions',
+ 'parodyti_operacijas' => 'list_transactions',
+};
+
+1;
diff --git a/sql-ledger/locale/lt/cp b/sql-ledger/locale/lt/cp
new file mode 100644
index 0000000..ec73d18
--- /dev/null
+++ b/sql-ledger/locale/lt/cp
@@ -0,0 +1,77 @@
+$self{texts} = {
+ 'Account' => 'Sàskaita',
+ 'Address' => 'Adresas',
+ 'Amount' => 'Suma',
+ 'Amount does not equal applied!' => 'Suma ne lygi pritaikytai!',
+ 'Amount missing!' => 'Nëra sumos!',
+ 'Applied' => 'Pritaikyta',
+ 'Cannot post payment!' => 'Neámanoma patvirtinti mokëjimo!',
+ 'Cannot process payment for a closed period!' => 'Neámanoma vykdyti mokëjimo uþdarajam periodui!',
+ 'Check' => 'Èekis',
+ 'Check printed!' => 'Èekis atspausdintas!',
+ 'Check printing failed!' => 'Èekio spausdinimas nepavyko!',
+ 'Continue' => 'Tæsti',
+ 'Currency' => 'Valiûta',
+ 'Customer' => 'Klientas',
+ 'Customer not on file!' => 'Tokio kliento nëra!',
+ 'Date' => 'Data',
+ 'Date missing!' => 'Datos nëra!',
+ 'Description' => 'Apraðymas',
+ 'Due' => 'Iki',
+ 'Exchangerate' => 'Keitimo kursas',
+ 'From' => 'Nuo',
+ 'Invoice' => 'Sàskaita-faktûra',
+ 'Invoices' => 'Sàskaitos-faktûros',
+ 'Nothing applied!' => 'Niekas nepanaudota!',
+ 'Number' => 'Numeris',
+ 'Paid in full' => 'Pilnai apmokëta',
+ 'Payment' => 'Mokëjimas',
+ 'Payment posted!' => 'Mokëjimas patvirtintas!',
+ 'Post' => 'Patvirtinti',
+ 'Print' => 'Spausdinti',
+ 'Printer' => 'Spausdintuvas',
+ 'Project not on file!' => 'Nëra tokio projekto!',
+ 'Receipt' => 'Kasos orderis',
+ 'Receipt printed!' => 'Receipt printed!',
+ 'Receipt printing failed!' => 'Receipt printing failed!',
+ 'Reference' => 'Nuorodos',
+ 'Screen' => 'Ekranas',
+ 'Select from one of the names below' => 'Iðrinkite vienà ið pavadinimø apaèioje',
+ 'Select from one of the projects below' => 'Iðrinkite vienà ið projektø apaèioje',
+ 'Update' => 'Atnaujinti',
+ 'Vendor' => 'Tiekëjas',
+ 'Vendor not on file!' => 'Tokio tiekëjo nëra!',
+ 'to' => 'iki',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'list_invoices' => 'list_invoices',
+ 'name_selected' => 'name_selected',
+ 'payment' => 'payment',
+ 'post' => 'post',
+ 'print' => 'print',
+ 'project_selected' => 'project_selected',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'vendor_details' => 'vendor_details',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'tæsti' => 'continue',
+ 'patvirtinti' => 'post',
+ 'spausdinti' => 'print',
+ 'atnaujinti' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/lt/ct b/sql-ledger/locale/lt/ct
new file mode 100644
index 0000000..5de12f6
--- /dev/null
+++ b/sql-ledger/locale/lt/ct
@@ -0,0 +1,71 @@
+$self{texts} = {
+ 'Add' => 'Pridëti',
+ 'Address' => 'Adresas',
+ 'All' => 'Visi',
+ 'Bcc' => 'Bcc',
+ 'Cannot delete customer!' => 'Neámanoma iðtrinti kliento!',
+ 'Cannot delete vendor!' => 'Neámanoma iðtrinti tiekëjo!',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Kontaktas',
+ 'Continue' => 'Tæsti',
+ 'Credit Limit' => 'Kredito riba',
+ 'Customer deleted!' => 'Klientas iðtrintas!',
+ 'Customer saved!' => 'Klientas iðsaugotas!',
+ 'Customers' => 'Klientai',
+ 'Delete' => 'Iðtrinti',
+ 'Discount' => 'Nuolaidos',
+ 'E-mail' => 'E-paðtas',
+ 'Edit Customer' => 'Redaguoti Klientà',
+ 'Edit Vendor' => 'Redaguoti Tiekijà',
+ 'Fax' => 'Faksas',
+ 'Include in Report' => 'Ádëti á ataskaità',
+ 'Invoice' => 'Sàskaita-faktûra',
+ 'Name' => 'Vardas',
+ 'Name missing!' => 'Pavadinimo nëra',
+ 'Notes' => 'Pastaba',
+ 'Number' => 'Numeris',
+ 'Order' => 'Uþsakymas',
+ 'Orphaned' => 'Naðlaitinis',
+ 'Phone' => 'Tel.',
+ 'Save' => 'Iðsaugoti',
+ 'Ship to' => 'Pristatyti á',
+ 'Tax Included' => 'su mokesèiais',
+ 'Taxable' => 'Apmokestinama',
+ 'Terms: Net' => 'Terminas: ',
+ 'Transactions exist, cannot delete customer!' => 'Operacijos egzistuoja, negalima iðtrinti kliento!',
+ 'Transactions exist, cannot delete vendor!' => 'Operacijos egzistuoja, negalima iðtrinti tiekëjo!',
+ 'Vendor deleted!' => 'Tiekëjas iðtrintas!',
+ 'Vendor saved!' => 'Tiekëjai iðsaugoti',
+ 'Vendors' => 'Tiekëjai',
+ 'days' => 'dienos',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'customer_invoice' => 'customer_invoice',
+ 'customer_order' => 'customer_order',
+ 'delete' => 'delete',
+ 'delete_customer' => 'delete_customer',
+ 'delete_vendor' => 'delete_vendor',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'invoice' => 'invoice',
+ 'list_names' => 'list_names',
+ 'order' => 'order',
+ 'save' => 'save',
+ 'save_customer' => 'save_customer',
+ 'save_vendor' => 'save_vendor',
+ 'search' => 'search',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'vendor_order' => 'vendor_order',
+ 'pridëti' => 'add',
+ 'tæsti' => 'continue',
+ 'iðtrinti' => 'delete',
+ 'sàskaita_faktûra' => 'invoice',
+ 'uþsakymas' => 'order',
+ 'iðsaugoti' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/lt/gl b/sql-ledger/locale/lt/gl
new file mode 100644
index 0000000..db28f7e
--- /dev/null
+++ b/sql-ledger/locale/lt/gl
@@ -0,0 +1,124 @@
+$self{texts} = {
+ 'AP Transaction' => 'Pirkimo Operacijà',
+ 'AR Transaction' => 'Pardavimo Operacijà',
+ 'Account' => 'Sàskaita',
+ 'Add General Ledger Transaction' => 'Pridëti Bendroji Þurnalo Operacijà',
+ 'Address' => 'Adresas',
+ 'All' => 'Visi',
+ 'Apr' => 'Bal',
+ 'April' => 'Balandis',
+ 'Are you sure you want to delete Transaction' => 'Ar Jus tikrai norite iðtrinti operacijà?',
+ 'Asset' => 'Turtas',
+ 'Aug' => 'Rug',
+ 'August' => 'Rugpjûtis',
+ 'Balance' => 'Balansas',
+ 'Cannot delete transaction!' => 'Neámanoma iðtrinti operacijos!',
+ 'Cannot have a value in both Debit and Credit!' => 'Negalima turëti tos paèios reikðmës Debete ir Kredite!',
+ 'Cannot post a transaction without a value!' => 'Neámanoma patvirtinti operacijos be reikðmës!',
+ 'Cannot post transaction for a closed period!' => 'Neámanoma patvirtinti operacijos uþdarajam periodui!',
+ 'Confirm!' => 'Patvirtinti!',
+ 'Continue' => 'Tæsti',
+ 'Credit' => 'Kreditas',
+ 'Customer not on file!' => 'Tokio kliento nëra!',
+ 'Date' => 'Data',
+ 'Debit' => 'Debetas',
+ 'Debit and credit out of balance!' => 'Debetas ir Kreditas nesubalansuoti!',
+ 'Dec' => 'Grd',
+ 'December' => 'Gruodis',
+ 'Delete' => 'Iðtrinti',
+ 'Description' => 'Apraðymas',
+ 'Edit General Ledger Transaction' => 'Redaguoti Bendrojo Þurnalo operacijà',
+ 'Equity' => 'Turtas/Nuosavybë',
+ 'Expense' => 'Sànaudos',
+ 'Feb' => 'Vas',
+ 'February' => 'Vasaris',
+ 'From' => 'Nuo',
+ 'GIFI' => 'GIFI',
+ 'GL Transaction' => 'BÞ operacija',
+ 'General Ledger' => 'Bendrasis þurnalas',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Ádëti á ataskaità',
+ 'Income' => 'Pajamos',
+ 'Jan' => 'Sau',
+ 'January' => 'Sausis',
+ 'Jul' => 'Lie',
+ 'July' => 'Liepa',
+ 'Jun' => 'Bir',
+ 'June' => 'Birþelis',
+ 'Liability' => 'Nuosavybë',
+ 'Mar' => 'Kov',
+ 'March' => 'Kovas',
+ 'May' => 'Geg',
+ 'May ' => 'Geguþë',
+ 'Notes' => 'Pastaba',
+ 'Nov' => 'Lap',
+ 'November' => 'Lapkritis',
+ 'Number' => 'Numeris',
+ 'Oct' => 'Spa',
+ 'October' => 'Spalis',
+ 'Post' => 'Patvirtinti',
+ 'Post as new' => 'Patvirtinti kaip naujà',
+ 'Project' => 'Projektas',
+ 'Project not on file!' => 'Nëra tokio projekto!',
+ 'Reference' => 'Nuorodos',
+ 'Reference missing!' => 'Nuorodos nëra!',
+ 'Reports' => 'Ataskaitos',
+ 'Sales Invoice' => 'Pardavimo SF',
+ 'Select from one of the names below' => 'Iðrinkite vienà ið pavadinimø apaèioje',
+ 'Select from one of the projects below' => 'Iðrinkite vienà ið projektø apaèioje',
+ 'Sep' => 'Rgs',
+ 'September' => 'Rûgsëjis',
+ 'Source' => 'Dokumentas',
+ 'Subtotal' => 'Viso',
+ 'Transaction Date missing!' => 'Operacijos datos nëra!',
+ 'Transaction deleted!' => 'Operacija iðtrinta!',
+ 'Transaction posted!' => 'Operacija patvirtinta!',
+ 'Update' => 'Atnaujinti',
+ 'Vendor Invoice' => 'Vendor Invoice',
+ 'Vendor not on file!' => 'Tokio tiekëjo nëra!',
+ 'Yes' => 'Taip',
+ 'to' => 'iki',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'form_row' => 'form_row',
+ 'generate_report' => 'generate_report',
+ 'gl_subtotal' => 'gl_subtotal',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'yes' => 'yes',
+ 'pirkimo_operacijà' => 'ap_transaction',
+ 'pardavimo_operacijà' => 'ar_transaction',
+ 'tæsti' => 'continue',
+ 'iðtrinti' => 'delete',
+ 'bÞ_operacija' => 'gl_transaction',
+ 'patvirtinti' => 'post',
+ 'patvirtinti_kaip_naujà' => 'post_as_new',
+ 'pardavimo_sf' => 'sales_invoice',
+ 'atnaujinti' => 'update',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'taip' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/lt/ic b/sql-ledger/locale/lt/ic
new file mode 100644
index 0000000..e749d21
--- /dev/null
+++ b/sql-ledger/locale/lt/ic
@@ -0,0 +1,208 @@
+$self{texts} = {
+ 'Active' => 'Aktyvus',
+ 'Add' => 'Pridëti',
+ 'Add Assembly' => 'Pridëti rinkiná',
+ 'Add Part' => 'Pridëti prekæ',
+ 'Add Purchase Order' => 'Pridëti Pirkimo uþsakymà',
+ 'Add Sales Order' => 'Pridëti Pardavimo uþsakymà',
+ 'Add Service' => 'Pridëti Paslaugà',
+ 'Address' => 'Adresas',
+ 'Apr' => 'Bal',
+ 'April' => 'Balandis',
+ 'Assemblies' => 'Rinkiniai',
+ 'Assemblies restocked!' => 'Rinkiniai persandeliuoti!',
+ 'Assembly Number missing!' => 'Rinkiniø numeriø nëra!',
+ 'Attachment' => 'Prisegta',
+ 'Aug' => 'Rug',
+ 'August' => 'Rugpjûtis',
+ 'BOM' => 'BOM',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Dëþë',
+ 'Bought' => 'Nupirkta',
+ 'COGS' => 'PPS',
+ 'Cannot delete item already invoiced!' => 'Negalima iðtrinti prekës, kuriai sukurta sàskaita-faktûra!',
+ 'Cannot delete item on order!' => 'Negalima iðtrinti prekës, kuri yra uþsakyme!',
+ 'Cannot delete item which is part of an assembly!' => 'Negalima iðtrinti prekës, kuri yra rinkinio dalis!',
+ 'Cannot delete item!' => 'Neámanoma iðtrinti prekës!',
+ 'Cannot stock assemblies!' => 'Neámanoma sandelioti rinkinius!',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Kontaktas',
+ 'Continue' => 'Tæsti',
+ 'Copies' => 'Kopijos',
+ 'Dec' => 'Grd',
+ 'December' => 'Gruodis',
+ 'Delete' => 'Iðtrinti',
+ 'Delivery Date' => 'Prystatimo Data',
+ 'Description' => 'Apraðymas',
+ 'Drawing' => 'Brieþinys',
+ 'E-mail' => 'E-paðtas',
+ 'E-mail address missing!' => 'E-paðto adreso nëra!',
+ 'Edit Assembly' => 'Redaguoti rinkiná',
+ 'Edit Part' => 'Redaguoti prekæ',
+ 'Edit Service' => 'Redaguoti paslaugà',
+ 'Expense' => 'Sànaudos',
+ 'Extended' => 'Iðplësta',
+ 'Fax' => 'Faksas',
+ 'Feb' => 'Vas',
+ 'February' => 'Vasaris',
+ 'From' => 'Nuo',
+ 'Group' => 'Group',
+ 'Group Items' => 'Group Items',
+ 'Image' => 'Pieðinys',
+ 'In-line' => 'Vienaeilis',
+ 'Include in Report' => 'Ádëti á ataskaità',
+ 'Income' => 'Pajamos',
+ 'Individual Items' => 'Individualios prekës',
+ 'Inventory' => 'Prekës',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'Prekës kiekis turi bûti lygus nuliui prieð paþymint rinkiná pasenusiu!',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'Prekës kiekis turi bûti lygus nuliui prieð paþymint ðià dalá pasenusia!',
+ 'Inventory quantity must be zero!' => 'Prekës kiekis turi bûti lygus nuliui!',
+ 'Invoice' => 'Sàskaita-faktûra',
+ 'Invoice Date missing!' => 'Sàskaitos-faktûros datos nëra!',
+ 'Invoice Number' => 'Sàskaitos-faktûros numeris',
+ 'Invoice Number missing!' => 'Sàskaitos-faktûra numerio nëra!',
+ 'Item deleted!' => 'Vienetas iðtrintas!',
+ 'Item not on file!' => 'Vieneto nëra áraðuose!',
+ 'Jan' => 'Sau',
+ 'January' => 'Sausis',
+ 'Jul' => 'Lie',
+ 'July' => 'Liepa',
+ 'Jun' => 'Bir',
+ 'June' => 'Birþelis',
+ 'Last Cost' => 'Paskutinë kaina',
+ 'Line Total' => 'Viso eilutëje',
+ 'Link Accounts' => 'Suriðti sàskaitas',
+ 'List Price' => 'Pirkimo kaina',
+ 'Make' => 'Gamintojas',
+ 'Mar' => 'Kov',
+ 'March' => 'Kovas',
+ 'May' => 'Geg',
+ 'May ' => 'Geguþë',
+ 'Message' => 'Þinutë',
+ 'Microfiche' => 'Mikrofiða',
+ 'Model' => 'Modelis',
+ 'Name' => 'Vardas',
+ 'No.' => 'Num',
+ 'Notes' => 'Pastaba',
+ 'Nov' => 'Lap',
+ 'November' => 'Lapkritis',
+ 'Number' => 'Numeris',
+ 'Number missing in Row' => 'Numerio nëra eilëje',
+ 'Obsolete' => 'Pasenæ',
+ 'Oct' => 'Spa',
+ 'October' => 'Spalis',
+ 'On Hand' => 'Likutis',
+ 'On Order' => 'Uþsakyme',
+ 'Order' => 'Uþsakymas',
+ 'Order Date missing!' => 'Uþsakymo datos nëra!',
+ 'Order Number' => 'Uþsakymo numeris',
+ 'Order Number missing!' => 'Uþsakymo numerio nëra!',
+ 'Ordered' => 'Uþsakyta',
+ 'Orphaned' => 'Naðlaitinis',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Ápakavimo sàraðas',
+ 'Packing List Date missing!' => 'Ápakavimo sàraðo datos nëra!',
+ 'Packing List Number missing!' => 'Ápakavimo sàraðo numerio nëra!',
+ 'Part' => 'Prekë',
+ 'Part Number missing!' => 'Prekës numerio nëra!',
+ 'Parts' => 'Prekës',
+ 'Phone' => 'Tel.',
+ 'Postscript' => 'Postscript(TM)',
+ 'Price' => 'Kaina',
+ 'Printer' => 'Spausdintuvas',
+ 'Project' => 'Projektas',
+ 'Purchase Order' => 'Pirkimo uþsakymas',
+ 'Qty' => 'Kks',
+ 'ROP' => 'ROP',
+ 'Recd' => 'Gaut',
+ 'Required by' => 'Iki kada',
+ 'Sales' => 'Pardavimai',
+ 'Sales Order' => 'Pardavimø uþsakymas',
+ 'Save' => 'Iðsaugoti',
+ 'Screen' => 'Ekranas',
+ 'Select from one of the items below' => 'Iðrinkite vienà ið prekiø apaèioje',
+ 'Select postscript or PDF!' => 'Iðrinkite postscript arba PDF!',
+ 'Sell Price' => 'Pardavimo kaina',
+ 'Sep' => 'Rgs',
+ 'September' => 'Rûgsëjis',
+ 'Service' => 'Paslauga',
+ 'Service Number missing!' => 'Paslaugos numerio nëra!',
+ 'Services' => 'Paslaugos',
+ 'Ship' => 'Pristatymas',
+ 'Ship to' => 'Pristatyti á',
+ 'Short' => 'Stoka',
+ 'Sold' => 'Parduota',
+ 'Stock Assembly' => 'Rinkiniai sandëlyje',
+ 'Subject' => 'Dalykas',
+ 'Subtotal' => 'Viso',
+ 'Tax' => 'Mokëstis',
+ 'To' => 'iki',
+ 'Top Level' => 'Aukðèiausias lygis',
+ 'Total' => 'Ið viso',
+ 'Unit' => 'Vienetas',
+ 'Unit of measure' => 'Matavimo vienetas',
+ 'Update' => 'Atnaujinti',
+ 'Updated' => 'Atnaujinta',
+ 'Weight' => 'Svoris',
+ 'What type of item is this?' => 'Koks ðio dalyko tipas?',
+ 'ea' => 'kk',
+ 'emailed to' => 'email do',
+ 'hr' => 'val',
+ 'sent to printer' => 'pasiûsta á spausdintuvà',
+ 'to' => 'iki',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'assembly_row' => 'assembly_row',
+ 'check_form' => 'check_form',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'delete_assembly' => 'delete_assembly',
+ 'delete_item' => 'delete_item',
+ 'delete_part' => 'delete_part',
+ 'delete_service' => 'delete_service',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'link_part' => 'link_part',
+ 'list_assemblies' => 'list_assemblies',
+ 'makemodel_row' => 'makemodel_row',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'parts_subtotal' => 'parts_subtotal',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'restock_assemblies' => 'restock_assemblies',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'stock_assembly' => 'stock_assembly',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'pridëti' => 'add',
+ 'pridëti_rinkiná' => 'add_assembly',
+ 'pridëti_prekæ' => 'add_part',
+ 'pridëti_paslaugà' => 'add_service',
+ 'tæsti' => 'continue',
+ 'iðtrinti' => 'delete',
+ 'redaguoti_rinkiná' => 'edit_assembly',
+ 'redaguoti_prekæ' => 'edit_part',
+ 'redaguoti_paslaugà' => 'edit_service',
+ 'iðsaugoti' => 'save',
+ 'atnaujinti' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/lt/io b/sql-ledger/locale/lt/io
new file mode 100644
index 0000000..3b28ede
--- /dev/null
+++ b/sql-ledger/locale/lt/io
@@ -0,0 +1,108 @@
+$self{texts} = {
+ 'Add Purchase Order' => 'Pridëti Pirkimo uþsakymà',
+ 'Add Sales Order' => 'Pridëti Pardavimo uþsakymà',
+ 'Address' => 'Adresas',
+ 'Apr' => 'Bal',
+ 'April' => 'Balandis',
+ 'Attachment' => 'Prisegta',
+ 'Aug' => 'Rug',
+ 'August' => 'Rugpjûtis',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Dëþë',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Kontaktas',
+ 'Continue' => 'Tæsti',
+ 'Copies' => 'Kopijos',
+ 'Dec' => 'Grd',
+ 'December' => 'Gruodis',
+ 'Delivery Date' => 'Prystatimo Data',
+ 'Description' => 'Apraðymas',
+ 'E-mail' => 'E-paðtas',
+ 'E-mail address missing!' => 'E-paðto adreso nëra!',
+ 'Extended' => 'Iðplësta',
+ 'Fax' => 'Faksas',
+ 'Feb' => 'Vas',
+ 'February' => 'Vasaris',
+ 'Group' => 'Group',
+ 'Group Items' => 'Group Items',
+ 'In-line' => 'Vienaeilis',
+ 'Invoice' => 'Sàskaita-faktûra',
+ 'Invoice Date missing!' => 'Sàskaitos-faktûros datos nëra!',
+ 'Invoice Number missing!' => 'Sàskaitos-faktûra numerio nëra!',
+ 'Item not on file!' => 'Vieneto nëra áraðuose!',
+ 'Jan' => 'Sau',
+ 'January' => 'Sausis',
+ 'Jul' => 'Lie',
+ 'July' => 'Liepa',
+ 'Jun' => 'Bir',
+ 'June' => 'Birþelis',
+ 'Mar' => 'Kov',
+ 'March' => 'Kovas',
+ 'May' => 'Geg',
+ 'May ' => 'Geguþë',
+ 'Message' => 'Þinutë',
+ 'Name' => 'Vardas',
+ 'No.' => 'Num',
+ 'Nov' => 'Lap',
+ 'November' => 'Lapkritis',
+ 'Number' => 'Numeris',
+ 'Number missing in Row' => 'Numerio nëra eilëje',
+ 'Oct' => 'Spa',
+ 'October' => 'Spalis',
+ 'Order' => 'Uþsakymas',
+ 'Order Date missing!' => 'Uþsakymo datos nëra!',
+ 'Order Number missing!' => 'Uþsakymo numerio nëra!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Ápakavimo sàraðas',
+ 'Packing List Date missing!' => 'Ápakavimo sàraðo datos nëra!',
+ 'Packing List Number missing!' => 'Ápakavimo sàraðo numerio nëra!',
+ 'Part' => 'Prekë',
+ 'Phone' => 'Tel.',
+ 'Postscript' => 'Postscript(TM)',
+ 'Price' => 'Kaina',
+ 'Printer' => 'Spausdintuvas',
+ 'Project' => 'Projektas',
+ 'Purchase Order' => 'Pirkimo uþsakymas',
+ 'Qty' => 'Kks',
+ 'Recd' => 'Gaut',
+ 'Required by' => 'Iki kada',
+ 'Sales Order' => 'Pardavimø uþsakymas',
+ 'Screen' => 'Ekranas',
+ 'Select from one of the items below' => 'Iðrinkite vienà ið prekiø apaèioje',
+ 'Select postscript or PDF!' => 'Iðrinkite postscript arba PDF!',
+ 'Sep' => 'Rgs',
+ 'September' => 'Rûgsëjis',
+ 'Service' => 'Paslauga',
+ 'Ship' => 'Pristatymas',
+ 'Ship to' => 'Pristatyti á',
+ 'Subject' => 'Dalykas',
+ 'To' => 'iki',
+ 'Unit' => 'Vienetas',
+ 'What type of item is this?' => 'Koks ðio dalyko tipas?',
+ 'emailed to' => 'email do',
+ 'sent to printer' => 'pasiûsta á spausdintuvà',
+};
+
+$self{subs} = {
+ 'check_form' => 'check_form',
+ 'customer_details' => 'customer_details',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'tæsti' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/lt/ir b/sql-ledger/locale/lt/ir
new file mode 100644
index 0000000..003b9a6
--- /dev/null
+++ b/sql-ledger/locale/lt/ir
@@ -0,0 +1,180 @@
+$self{texts} = {
+ 'Account' => 'Sàskaita',
+ 'Add Purchase Order' => 'Pridëti Pirkimo uþsakymà',
+ 'Add Sales Order' => 'Pridëti Pardavimo uþsakymà',
+ 'Add Vendor Invoice' => 'Add Vendor Invoice',
+ 'Address' => 'Adresas',
+ 'Amount' => 'Suma',
+ 'Apr' => 'Bal',
+ 'April' => 'Balandis',
+ 'Are you sure you want to delete Invoice Number' => 'Ar Jus tikrai norite iðtrinti saskaitu-fakturos numeris:',
+ 'Attachment' => 'Prisegta',
+ 'Aug' => 'Rug',
+ 'August' => 'Rugpjûtis',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Dëþë',
+ 'Cannot delete invoice!' => 'Neámanoma iðtrinti sàskaitos-faktûros!',
+ 'Cannot post invoice for a closed period!' => 'Neámanoma patvirtinti sàskaitos-faktûros uþdarajam periodui!',
+ 'Cannot post invoice!' => 'Neámanoma patvirtinti sàskaitos-faktûros!',
+ 'Cannot post payment for a closed period!' => 'Neámanoma patvirtinti mokëjimo uþdarajam periodui!',
+ 'Cc' => 'Cc',
+ 'Confirm!' => 'Patvirtinti!',
+ 'Contact' => 'Kontaktas',
+ 'Continue' => 'Tæsti',
+ 'Copies' => 'Kopijos',
+ 'Currency' => 'Valiûta',
+ 'Customer not on file!' => 'Tokio kliento nëra!',
+ 'Date' => 'Data',
+ 'Dec' => 'Grd',
+ 'December' => 'Gruodis',
+ 'Delete' => 'Iðtrinti',
+ 'Delivery Date' => 'Prystatimo Data',
+ 'Description' => 'Apraðymas',
+ 'Due Date' => 'Iki Data',
+ 'E-mail' => 'E-paðtas',
+ 'E-mail address missing!' => 'E-paðto adreso nëra!',
+ 'Edit Vendor Invoice' => 'Edit Vendor Invoice',
+ 'Exch' => 'Kurs.',
+ 'Exchangerate' => 'Keitimo kursas',
+ 'Exchangerate for payment missing!' => 'Mokëjimo keitimo kurso nëra!',
+ 'Exchangerate missing!' => 'Keitimo kurso nëra!',
+ 'Extended' => 'Iðplësta',
+ 'Fax' => 'Faksas',
+ 'Feb' => 'Vas',
+ 'February' => 'Vasaris',
+ 'Group' => 'Group',
+ 'Group Items' => 'Group Items',
+ 'In-line' => 'Vienaeilis',
+ 'Invoice' => 'Sàskaita-faktûra',
+ 'Invoice Date' => 'Sàskaitos-faktûros data',
+ 'Invoice Date missing!' => 'Sàskaitos-faktûros datos nëra!',
+ 'Invoice Number' => 'Sàskaitos-faktûros numeris',
+ 'Invoice Number missing!' => 'Sàskaitos-faktûra numerio nëra!',
+ 'Invoice deleted!' => 'Sàskaitos-faktûra iðtrintos!',
+ 'Invoice posted!' => 'Sàskaitos-faktûra patvirtintos!',
+ 'Item not on file!' => 'Vieneto nëra áraðuose!',
+ 'Jan' => 'Sau',
+ 'January' => 'Sausis',
+ 'Jul' => 'Lie',
+ 'July' => 'Liepa',
+ 'Jun' => 'Bir',
+ 'June' => 'Birþelis',
+ 'Mar' => 'Kov',
+ 'March' => 'Kovas',
+ 'May' => 'Geg',
+ 'May ' => 'Geguþë',
+ 'Message' => 'Þinutë',
+ 'Name' => 'Vardas',
+ 'No.' => 'Num',
+ 'Notes' => 'Pastaba',
+ 'Nov' => 'Lap',
+ 'November' => 'Lapkritis',
+ 'Number' => 'Numeris',
+ 'Number missing in Row' => 'Numerio nëra eilëje',
+ 'Oct' => 'Spa',
+ 'October' => 'Spalis',
+ 'Order' => 'Uþsakymas',
+ 'Order Date missing!' => 'Uþsakymo datos nëra!',
+ 'Order Number' => 'Uþsakymo numeris',
+ 'Order Number missing!' => 'Uþsakymo numerio nëra!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Ápakavimo sàraðas',
+ 'Packing List Date missing!' => 'Ápakavimo sàraðo datos nëra!',
+ 'Packing List Number missing!' => 'Ápakavimo sàraðo numerio nëra!',
+ 'Part' => 'Prekë',
+ 'Payment date missing!' => 'Mokëjimo datos nëra',
+ 'Payments' => 'Mokëjimai',
+ 'Phone' => 'Tel.',
+ 'Post' => 'Patvirtinti',
+ 'Post as new' => 'Patvirtinti kaip naujà',
+ 'Postscript' => 'Postscript(TM)',
+ 'Price' => 'Kaina',
+ 'Printer' => 'Spausdintuvas',
+ 'Project' => 'Projektas',
+ 'Project not on file!' => 'Nëra tokio projekto!',
+ 'Purchase Order' => 'Pirkimo uþsakymas',
+ 'Qty' => 'Kks',
+ 'Recd' => 'Gaut',
+ 'Record in' => 'Áraðyti á',
+ 'Required by' => 'Iki kada',
+ 'Sales Order' => 'Pardavimø uþsakymas',
+ 'Screen' => 'Ekranas',
+ 'Select from one of the items below' => 'Iðrinkite vienà ið prekiø apaèioje',
+ 'Select from one of the names below' => 'Iðrinkite vienà ið pavadinimø apaèioje',
+ 'Select from one of the projects below' => 'Iðrinkite vienà ið projektø apaèioje',
+ 'Select postscript or PDF!' => 'Iðrinkite postscript arba PDF!',
+ 'Sep' => 'Rgs',
+ 'September' => 'Rûgsëjis',
+ 'Service' => 'Paslauga',
+ 'Ship' => 'Pristatymas',
+ 'Ship to' => 'Pristatyti á',
+ 'Source' => 'Dokumentas',
+ 'Subject' => 'Dalykas',
+ 'Subtotal' => 'Viso',
+ 'Tax Included' => 'su mokesèiais',
+ 'To' => 'iki',
+ 'Total' => 'Ið viso',
+ 'Unit' => 'Vienetas',
+ 'Update' => 'Atnaujinti',
+ 'Vendor' => 'Tiekëjas',
+ 'Vendor missing!' => 'Tiekëjo Vardo nëra!',
+ 'Vendor not on file!' => 'Tokio tiekëjo nëra!',
+ 'What type of item is this?' => 'Koks ðio dalyko tipas?',
+ 'Yes' => 'Taip',
+ 'ea' => 'kk',
+ 'emailed to' => 'email do',
+ 'sent to printer' => 'pasiûsta á spausdintuvà',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'yes' => 'yes',
+ 'tæsti' => 'continue',
+ 'iðtrinti' => 'delete',
+ 'uþsakymas' => 'order',
+ 'patvirtinti' => 'post',
+ 'patvirtinti_kaip_naujà' => 'post_as_new',
+ 'atnaujinti' => 'update',
+ 'taip' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/lt/is b/sql-ledger/locale/lt/is
new file mode 100644
index 0000000..d7b1e50
--- /dev/null
+++ b/sql-ledger/locale/lt/is
@@ -0,0 +1,187 @@
+$self{texts} = {
+ 'Account' => 'Sàskaita',
+ 'Add Purchase Order' => 'Pridëti Pirkimo uþsakymà',
+ 'Add Sales Invoice' => 'Pridëti Pardavimo sàskaità-faktûrà',
+ 'Add Sales Order' => 'Pridëti Pardavimo uþsakymà',
+ 'Address' => 'Adresas',
+ 'Amount' => 'Suma',
+ 'Apr' => 'Bal',
+ 'April' => 'Balandis',
+ 'Are you sure you want to delete Invoice Number' => 'Ar Jus tikrai norite iðtrinti saskaitu-fakturos numeris:',
+ 'Attachment' => 'Prisegta',
+ 'Aug' => 'Rug',
+ 'August' => 'Rugpjûtis',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Dëþë',
+ 'Cannot delete invoice!' => 'Neámanoma iðtrinti sàskaitos-faktûros!',
+ 'Cannot post invoice for a closed period!' => 'Neámanoma patvirtinti sàskaitos-faktûros uþdarajam periodui!',
+ 'Cannot post invoice!' => 'Neámanoma patvirtinti sàskaitos-faktûros!',
+ 'Cannot post payment for a closed period!' => 'Neámanoma patvirtinti mokëjimo uþdarajam periodui!',
+ 'Cc' => 'Cc',
+ 'Confirm!' => 'Patvirtinti!',
+ 'Contact' => 'Kontaktas',
+ 'Continue' => 'Tæsti',
+ 'Copies' => 'Kopijos',
+ 'Credit Limit' => 'Kredito riba',
+ 'Currency' => 'Valiûta',
+ 'Customer' => 'Klientas',
+ 'Customer missing!' => 'Kliento vardo nëra!',
+ 'Customer not on file!' => 'Tokio kliento nëra!',
+ 'Date' => 'Data',
+ 'Dec' => 'Grd',
+ 'December' => 'Gruodis',
+ 'Delete' => 'Iðtrinti',
+ 'Delivery Date' => 'Prystatimo Data',
+ 'Description' => 'Apraðymas',
+ 'Due Date' => 'Iki Data',
+ 'E-mail' => 'E-paðtas',
+ 'E-mail address missing!' => 'E-paðto adreso nëra!',
+ 'Edit Sales Invoice' => 'Redaguoti pardavimo sàskaità-faktûrà',
+ 'Exch' => 'Kurs.',
+ 'Exchangerate' => 'Keitimo kursas',
+ 'Exchangerate for payment missing!' => 'Mokëjimo keitimo kurso nëra!',
+ 'Exchangerate missing!' => 'Keitimo kurso nëra!',
+ 'Extended' => 'Iðplësta',
+ 'Fax' => 'Faksas',
+ 'Feb' => 'Vas',
+ 'February' => 'Vasaris',
+ 'Group' => 'Group',
+ 'Group Items' => 'Group Items',
+ 'In-line' => 'Vienaeilis',
+ 'Invoice' => 'Sàskaita-faktûra',
+ 'Invoice Date' => 'Sàskaitos-faktûros data',
+ 'Invoice Date missing!' => 'Sàskaitos-faktûros datos nëra!',
+ 'Invoice Number' => 'Sàskaitos-faktûros numeris',
+ 'Invoice Number missing!' => 'Sàskaitos-faktûra numerio nëra!',
+ 'Invoice deleted!' => 'Sàskaitos-faktûra iðtrintos!',
+ 'Invoice posted!' => 'Sàskaitos-faktûra patvirtintos!',
+ 'Item not on file!' => 'Vieneto nëra áraðuose!',
+ 'Jan' => 'Sau',
+ 'January' => 'Sausis',
+ 'Jul' => 'Lie',
+ 'July' => 'Liepa',
+ 'Jun' => 'Bir',
+ 'June' => 'Birþelis',
+ 'Mar' => 'Kov',
+ 'March' => 'Kovas',
+ 'May' => 'Geg',
+ 'May ' => 'Geguþë',
+ 'Message' => 'Þinutë',
+ 'Name' => 'Vardas',
+ 'No.' => 'Num',
+ 'Notes' => 'Pastaba',
+ 'Nov' => 'Lap',
+ 'November' => 'Lapkritis',
+ 'Number' => 'Numeris',
+ 'Number missing in Row' => 'Numerio nëra eilëje',
+ 'Oct' => 'Spa',
+ 'October' => 'Spalis',
+ 'Order' => 'Uþsakymas',
+ 'Order Date missing!' => 'Uþsakymo datos nëra!',
+ 'Order Number' => 'Uþsakymo numeris',
+ 'Order Number missing!' => 'Uþsakymo numerio nëra!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Ápakavimo sàraðas',
+ 'Packing List Date missing!' => 'Ápakavimo sàraðo datos nëra!',
+ 'Packing List Number missing!' => 'Ápakavimo sàraðo numerio nëra!',
+ 'Part' => 'Prekë',
+ 'Payment date missing!' => 'Mokëjimo datos nëra',
+ 'Payments' => 'Mokëjimai',
+ 'Phone' => 'Tel.',
+ 'Post' => 'Patvirtinti',
+ 'Post as new' => 'Patvirtinti kaip naujà',
+ 'Postscript' => 'Postscript(TM)',
+ 'Price' => 'Kaina',
+ 'Print' => 'Spausdinti',
+ 'Printer' => 'Spausdintuvas',
+ 'Project' => 'Projektas',
+ 'Project not on file!' => 'Nëra tokio projekto!',
+ 'Purchase Order' => 'Pirkimo uþsakymas',
+ 'Qty' => 'Kks',
+ 'Recd' => 'Gaut',
+ 'Record in' => 'Áraðyti á',
+ 'Remaining' => 'Likutis',
+ 'Required by' => 'Iki kada',
+ 'Sales Order' => 'Pardavimø uþsakymas',
+ 'Screen' => 'Ekranas',
+ 'Select from one of the items below' => 'Iðrinkite vienà ið prekiø apaèioje',
+ 'Select from one of the names below' => 'Iðrinkite vienà ið pavadinimø apaèioje',
+ 'Select from one of the projects below' => 'Iðrinkite vienà ið projektø apaèioje',
+ 'Select postscript or PDF!' => 'Iðrinkite postscript arba PDF!',
+ 'Sep' => 'Rgs',
+ 'September' => 'Rûgsëjis',
+ 'Service' => 'Paslauga',
+ 'Ship' => 'Pristatymas',
+ 'Ship to' => 'Pristatyti á',
+ 'Ship via' => 'Pristatyti per',
+ 'Source' => 'Dokumentas',
+ 'Subject' => 'Dalykas',
+ 'Subtotal' => 'Viso',
+ 'Tax Included' => 'su mokesèiais',
+ 'To' => 'iki',
+ 'Total' => 'Ið viso',
+ 'Unit' => 'Vienetas',
+ 'Update' => 'Atnaujinti',
+ 'Vendor not on file!' => 'Tokio tiekëjo nëra!',
+ 'What type of item is this?' => 'Koks ðio dalyko tipas?',
+ 'Yes' => 'Taip',
+ 'ea' => 'kk',
+ 'emailed to' => 'email do',
+ 'sent to printer' => 'pasiûsta á spausdintuvà',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'yes' => 'yes',
+ 'tæsti' => 'continue',
+ 'iðtrinti' => 'delete',
+ 'e_paðtas' => 'e_mail',
+ 'uþsakymas' => 'order',
+ 'patvirtinti' => 'post',
+ 'patvirtinti_kaip_naujà' => 'post_as_new',
+ 'spausdinti' => 'print',
+ 'pristatyti_á' => 'ship_to',
+ 'atnaujinti' => 'update',
+ 'taip' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/lt/login b/sql-ledger/locale/lt/login
new file mode 100644
index 0000000..8a42d2a
--- /dev/null
+++ b/sql-ledger/locale/lt/login
@@ -0,0 +1,27 @@
+$self{texts} = {
+ 'About' => 'Apie...',
+ 'Database Host' => 'Duomenø bazës hostas',
+ 'Dataset' => 'Duomenø aibë',
+ 'Incorrect Dataset version!' => 'Neteisinga duomenø aibës versija!',
+ 'Incorrect Password!' => 'Neteisingas slaptaþodis!',
+ 'Licensed to' => 'Licenzijuota...',
+ 'Login' => 'Prisijungimas',
+ 'Name' => 'Vardas',
+ 'Password' => 'Slaptaþodis',
+ 'User' => 'Vartotojas',
+ 'Version' => 'Versija',
+ 'You are logged out!' => 'Jûs iðsijungëte!',
+ 'You did not enter a name!' => 'Neávedëte vardo!',
+ 'is not a member!' => 'nëra narys!',
+ 'localhost' => 'lokalhostas',
+};
+
+$self{subs} = {
+ 'company_logo' => 'company_logo',
+ 'login' => 'login',
+ 'login_screen' => 'login_screen',
+ 'logout' => 'logout',
+ 'prisijungimas' => 'login',
+};
+
+1;
diff --git a/sql-ledger/locale/lt/menu b/sql-ledger/locale/lt/menu
new file mode 100644
index 0000000..460ea5b
--- /dev/null
+++ b/sql-ledger/locale/lt/menu
@@ -0,0 +1,71 @@
+$self{texts} = {
+ 'AP' => 'Pirkimai',
+ 'AP Aging' => 'Pirkimo Skolos',
+ 'AR' => 'Pardavimai',
+ 'AR Aging' => 'Pardavimo Skolos',
+ 'Accounting Menu' => 'Apskaitos Menu',
+ 'Add Account' => 'Pridëti sàskaità',
+ 'Add Assembly' => 'Pridëti rinkiná',
+ 'Add Customer' => 'Pridëti klientà',
+ 'Add GIFI' => 'Pridëti GIFI',
+ 'Add Part' => 'Pridëti prekæ',
+ 'Add Project' => 'Pridëti proektà',
+ 'Add Service' => 'Pridëti Paslaugà',
+ 'Add Transaction' => 'Pridëti Operacijà',
+ 'Add Vendor' => 'Pridëti Tiekëja',
+ 'Assemblies' => 'Rinkiniai',
+ 'Audit Control' => 'Audito kontrolë',
+ 'Backup' => 'Reservinë kopija',
+ 'Balance Sheet' => 'Balanso lëntelë',
+ 'Cash' => 'Kasa',
+ 'Chart of Accounts' => 'Sàskaitø planas',
+ 'Check' => 'Èekis',
+ 'Customers' => 'Klientai',
+ 'General Ledger' => 'Bendrasis þurnalas',
+ 'Goods & Services' => 'Prekës ir Paslaugos',
+ 'HTML Templates' => 'HTML ðablonai',
+ 'Income Statement' => 'Pelno/nuostolio ataskaita',
+ 'Invoice' => 'Sàskaita-faktûra',
+ 'LaTeX Templates' => 'LaTeX ðablonai',
+ 'List Accounts' => 'Sàskaitø sàraðas',
+ 'List GIFI' => 'GIFI sàraðas',
+ 'Logout' => 'Iðsijungti',
+ 'Order Entry' => 'Uþsakymo áraðas',
+ 'Packing List' => 'Ápakavimo sàraðas',
+ 'Parts' => 'Prekës',
+ 'Payment' => 'Mokëjimas',
+ 'Payments' => 'Mokëjimai',
+ 'Preferences' => 'Nuostatos',
+ 'Projects' => 'Projektai',
+ 'Purchase Order' => 'Pirkimo uþsakymas',
+ 'Purchase Orders' => 'Pirkimo uþsakymai',
+ 'Receipt' => 'Kasos orderis',
+ 'Receipts' => 'Kasos orderiai',
+ 'Reconciliation' => 'Sutaikinimas',
+ 'Reports' => 'Ataskaitos',
+ 'Sales Invoice' => 'Pardavimo SF',
+ 'Sales Order' => 'Pardavimø uþsakymas',
+ 'Sales Orders' => 'Pardavimø uþsakymai',
+ 'Save to File' => 'Iðsaugoti á failà',
+ 'Send by E-Mail' => 'Iðsiûsti e-paðtu',
+ 'Services' => 'Paslaugos',
+ 'Statement' => 'Suvestinë',
+ 'Stock Assembly' => 'Rinkiniai sandëlyje',
+ 'Stylesheet' => 'Stiliø lentelë',
+ 'System' => 'Sistema',
+ 'Tax collected' => 'Mokesèiai surinkti',
+ 'Tax paid' => 'Mokesèiai sumokëti',
+ 'Transactions' => 'Operacijos',
+ 'Trial Balance' => 'Bandomasis balansas',
+ 'Vendor Invoice' => 'Vendor Invoice',
+ 'Vendors' => 'Tiekëjai',
+ 'Version' => 'Versija',
+};
+
+$self{subs} = {
+ 'acc_menu' => 'acc_menu',
+ 'display' => 'display',
+ 'section_menu' => 'section_menu',
+};
+
+1;
diff --git a/sql-ledger/locale/lt/oe b/sql-ledger/locale/lt/oe
new file mode 100644
index 0000000..c0786c1
--- /dev/null
+++ b/sql-ledger/locale/lt/oe
@@ -0,0 +1,202 @@
+$self{texts} = {
+ 'Add' => 'Pridëti',
+ 'Add Purchase Order' => 'Pridëti Pirkimo uþsakymà',
+ 'Add Sales Invoice' => 'Pridëti Pardavimo sàskaità-faktûrà',
+ 'Add Sales Order' => 'Pridëti Pardavimo uþsakymà',
+ 'Add Vendor Invoice' => 'Add Vendor Invoice',
+ 'Address' => 'Adresas',
+ 'Amount' => 'Suma',
+ 'Apr' => 'Bal',
+ 'April' => 'Balandis',
+ 'Are you sure you want to delete Order Number' => 'Ar Jus tikrai norite iðtrinti uzsakimas numeris:',
+ 'Attachment' => 'Prisegta',
+ 'Aug' => 'Rug',
+ 'August' => 'Rugpjûtis',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Dëþë',
+ 'C' => 'C',
+ 'Cannot delete order!' => 'Neámanoma iðtrinti uþsakymo!',
+ 'Cannot save order!' => 'Neámanoma iðsaugoti uþsakymo!',
+ 'Cc' => 'Cc',
+ 'Closed' => 'Uþdaryta',
+ 'Confirm!' => 'Patvirtinti!',
+ 'Contact' => 'Kontaktas',
+ 'Continue' => 'Tæsti',
+ 'Copies' => 'Kopijos',
+ 'Credit Limit' => 'Kredito riba',
+ 'Curr' => 'Val.',
+ 'Currency' => 'Valiûta',
+ 'Customer' => 'Klientas',
+ 'Customer missing!' => 'Kliento vardo nëra!',
+ 'Customer not on file!' => 'Tokio kliento nëra!',
+ 'Date' => 'Data',
+ 'Dec' => 'Grd',
+ 'December' => 'Gruodis',
+ 'Delete' => 'Iðtrinti',
+ 'Delivery Date' => 'Prystatimo Data',
+ 'Description' => 'Apraðymas',
+ 'E-mail' => 'E-paðtas',
+ 'E-mail address missing!' => 'E-paðto adreso nëra!',
+ 'Edit Purchase Order' => 'Redaguoti pirkimo uþsakymà',
+ 'Edit Sales Order' => 'Redaguoti pardavimo uþsakymà',
+ 'Exchangerate' => 'Keitimo kursas',
+ 'Exchangerate missing!' => 'Keitimo kurso nëra!',
+ 'Extended' => 'Iðplësta',
+ 'Fax' => 'Faksas',
+ 'Feb' => 'Vas',
+ 'February' => 'Vasaris',
+ 'From' => 'Nuo',
+ 'Group' => 'Group',
+ 'Group Items' => 'Group Items',
+ 'ID' => 'ID',
+ 'In-line' => 'Vienaeilis',
+ 'Include in Report' => 'Ádëti á ataskaità',
+ 'Invoice' => 'Sàskaita-faktûra',
+ 'Invoice Date missing!' => 'Sàskaitos-faktûros datos nëra!',
+ 'Invoice Number missing!' => 'Sàskaitos-faktûra numerio nëra!',
+ 'Item not on file!' => 'Vieneto nëra áraðuose!',
+ 'Jan' => 'Sau',
+ 'January' => 'Sausis',
+ 'Jul' => 'Lie',
+ 'July' => 'Liepa',
+ 'Jun' => 'Bir',
+ 'June' => 'Birþelis',
+ 'Mar' => 'Kov',
+ 'March' => 'Kovas',
+ 'May' => 'Geg',
+ 'May ' => 'Geguþë',
+ 'Message' => 'Þinutë',
+ 'Name' => 'Vardas',
+ 'No.' => 'Num',
+ 'Notes' => 'Pastaba',
+ 'Nov' => 'Lap',
+ 'November' => 'Lapkritis',
+ 'Number' => 'Numeris',
+ 'Number missing in Row' => 'Numerio nëra eilëje',
+ 'O' => 'O',
+ 'Oct' => 'Spa',
+ 'October' => 'Spalis',
+ 'Open' => 'Atidaryti',
+ 'Order' => 'Uþsakymas',
+ 'Order Date' => 'Uþsakymo data',
+ 'Order Date missing!' => 'Uþsakymo datos nëra!',
+ 'Order Number' => 'Uþsakymo numeris',
+ 'Order Number missing!' => 'Uþsakymo numerio nëra!',
+ 'Order deleted!' => 'Uþsakymai iðtrinti!',
+ 'Order saved!' => 'Uþsakymas iðsaugotas!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Ápakavimo sàraðas',
+ 'Packing List Date missing!' => 'Ápakavimo sàraðo datos nëra!',
+ 'Packing List Number missing!' => 'Ápakavimo sàraðo numerio nëra!',
+ 'Part' => 'Prekë',
+ 'Phone' => 'Tel.',
+ 'Postscript' => 'Postscript(TM)',
+ 'Price' => 'Kaina',
+ 'Print' => 'Spausdinti',
+ 'Printer' => 'Spausdintuvas',
+ 'Project' => 'Projektas',
+ 'Project not on file!' => 'Nëra tokio projekto!',
+ 'Purchase Order' => 'Pirkimo uþsakymas',
+ 'Purchase Orders' => 'Pirkimo uþsakymai',
+ 'Qty' => 'Kks',
+ 'Recd' => 'Gaut',
+ 'Remaining' => 'Likutis',
+ 'Required by' => 'Iki kada',
+ 'Sales Order' => 'Pardavimø uþsakymas',
+ 'Sales Orders' => 'Pardavimø uþsakymai',
+ 'Save' => 'Iðsaugoti',
+ 'Save as new' => 'Iðsaugoti kaip naujà',
+ 'Screen' => 'Ekranas',
+ 'Select from one of the items below' => 'Iðrinkite vienà ið prekiø apaèioje',
+ 'Select from one of the names below' => 'Iðrinkite vienà ið pavadinimø apaèioje',
+ 'Select from one of the projects below' => 'Iðrinkite vienà ið projektø apaèioje',
+ 'Select postscript or PDF!' => 'Iðrinkite postscript arba PDF!',
+ 'Sep' => 'Rgs',
+ 'September' => 'Rûgsëjis',
+ 'Service' => 'Paslauga',
+ 'Ship' => 'Pristatymas',
+ 'Ship to' => 'Pristatyti á',
+ 'Ship via' => 'Pristatyti per',
+ 'Subject' => 'Dalykas',
+ 'Subtotal' => 'Viso',
+ 'Tax' => 'Mokëstis',
+ 'Tax Included' => 'su mokesèiais',
+ 'Terms: Net' => 'Terminas: ',
+ 'To' => 'iki',
+ 'Total' => 'Ið viso',
+ 'Unit' => 'Vienetas',
+ 'Update' => 'Atnaujinti',
+ 'Vendor' => 'Tiekëjas',
+ 'Vendor missing!' => 'Tiekëjo Vardo nëra!',
+ 'Vendor not on file!' => 'Tokio tiekëjo nëra!',
+ 'What type of item is this?' => 'Koks ðio dalyko tipas?',
+ 'Yes' => 'Taip',
+ 'days' => 'dienos',
+ 'ea' => 'kk',
+ 'emailed to' => 'email do',
+ 'sent to printer' => 'pasiûsta á spausdintuvà',
+ 'to' => 'iki',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_backorder' => 'create_backorder',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice' => 'invoice',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'order_links' => 'order_links',
+ 'orders' => 'orders',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_order' => 'prepare_order',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'sales_invoice' => 'sales_invoice',
+ 'save' => 'save',
+ 'save_as_new' => 'save_as_new',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'subtotal' => 'subtotal',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'yes' => 'yes',
+ 'pridëti' => 'add',
+ 'tæsti' => 'continue',
+ 'iðtrinti' => 'delete',
+ 'e_paðtas' => 'e_mail',
+ 'sàskaita_faktûra' => 'invoice',
+ 'spausdinti' => 'print',
+ 'iðsaugoti' => 'save',
+ 'iðsaugoti_kaip_naujà' => 'save_as_new',
+ 'pristatyti_á' => 'ship_to',
+ 'atnaujinti' => 'update',
+ 'taip' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/lt/pe b/sql-ledger/locale/lt/pe
new file mode 100644
index 0000000..fa58e62
--- /dev/null
+++ b/sql-ledger/locale/lt/pe
@@ -0,0 +1,35 @@
+$self{texts} = {
+ 'Add' => 'Pridëti',
+ 'Add Project' => 'Pridëti proektà',
+ 'All' => 'Visi',
+ 'Continue' => 'Tæsti',
+ 'Delete' => 'Iðtrinti',
+ 'Description' => 'Apraðymas',
+ 'Edit Project' => 'Redaguoti projektà',
+ 'Number' => 'Numeris',
+ 'Orphaned' => 'Naðlaitinis',
+ 'Project' => 'Projektas',
+ 'Project Number missing!' => 'Projekto numerio nëra!',
+ 'Project deleted!' => 'Projektas iðtrintas!',
+ 'Project saved!' => 'Projektas iðsaugotas!',
+ 'Projects' => 'Projektai',
+ 'Save' => 'Iðsaugoti',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'pridëti' => 'add',
+ 'tæsti' => 'continue',
+ 'iðtrinti' => 'delete',
+ 'iðsaugoti' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/lt/rc b/sql-ledger/locale/lt/rc
new file mode 100644
index 0000000..7e57584
--- /dev/null
+++ b/sql-ledger/locale/lt/rc
@@ -0,0 +1,37 @@
+$self{texts} = {
+ 'Account' => 'Sàskaita',
+ 'Balance' => 'Balansas',
+ 'Cleared Balance' => 'Baigiamasis balansas',
+ 'Continue' => 'Tæsti',
+ 'Date' => 'Data',
+ 'Deposit' => 'Depozitas',
+ 'Description' => 'Apraðymas',
+ 'Difference' => 'Skirtumas',
+ 'Done' => 'Ávykdyta',
+ 'Exchangerate Difference' => 'Keitimo kurso skirtumas',
+ 'From' => 'Nuo',
+ 'Out of balance!' => 'Nesubalansuota!',
+ 'Payment' => 'Mokëjimas',
+ 'Reconciliation' => 'Sutaikinimas',
+ 'Select all' => 'Iðrinkti viskà',
+ 'Source' => 'Dokumentas',
+ 'Statement Balance' => 'Balanso suvestinë',
+ 'Update' => 'Atnaujinti',
+ 'to' => 'iki',
+};
+
+$self{subs} = {
+ 'continue' => 'continue',
+ 'display_form' => 'display_form',
+ 'done' => 'done',
+ 'get_payments' => 'get_payments',
+ 'reconciliation' => 'reconciliation',
+ 'select_all' => 'select_all',
+ 'update' => 'update',
+ 'tæsti' => 'continue',
+ 'Ávykdyta' => 'done',
+ 'iðrinkti_viskà' => 'select_all',
+ 'atnaujinti' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/lt/rp b/sql-ledger/locale/lt/rp
new file mode 100644
index 0000000..83cb9c0
--- /dev/null
+++ b/sql-ledger/locale/lt/rp
@@ -0,0 +1,120 @@
+$self{texts} = {
+ 'AP Aging' => 'Pirkimo Skolos',
+ 'AR Aging' => 'Pardavimo Skolos',
+ 'Account' => 'Sàskaita',
+ 'Accounts' => 'Sàskaitos',
+ 'Amount' => 'Suma',
+ 'Apr' => 'Bal',
+ 'April' => 'Balandis',
+ 'Attachment' => 'Prisegta',
+ 'Aug' => 'Rug',
+ 'August' => 'Rugpjûtis',
+ 'Balance' => 'Balansas',
+ 'Balance Sheet' => 'Balanso lëntelë',
+ 'Bcc' => 'Bcc',
+ 'Cash based' => 'Grynais',
+ 'Cc' => 'Cc',
+ 'Compare to' => 'Palyginti su',
+ 'Continue' => 'Tæsti',
+ 'Copies' => 'Kopijos',
+ 'Credit' => 'Kreditas',
+ 'Current' => 'Dabartinis',
+ 'Customer' => 'Klientas',
+ 'Date' => 'Data',
+ 'Debit' => 'Debetas',
+ 'Dec' => 'Grd',
+ 'December' => 'Gruodis',
+ 'Decimalplaces' => 'Skaièiø po taðko',
+ 'Department' => 'Department',
+ 'Description' => 'Apraðymas',
+ 'Due' => 'Iki',
+ 'E-mail' => 'E-paðtas',
+ 'E-mail Statement to' => 'Suvestinæ suisti per e-pastà á',
+ 'Feb' => 'Vas',
+ 'February' => 'Vasaris',
+ 'From' => 'Nuo',
+ 'GIFI' => 'GIFI',
+ 'Heading' => 'Antraðtë',
+ 'ID' => 'ID',
+ 'In-line' => 'Vienaeilis',
+ 'Include in Report' => 'Ádëti á ataskaità',
+ 'Income Statement' => 'Pelno/nuostolio ataskaita',
+ 'Invoice' => 'Sàskaita-faktûra',
+ 'Jan' => 'Sau',
+ 'January' => 'Sausis',
+ 'Jul' => 'Lie',
+ 'July' => 'Liepa',
+ 'Jun' => 'Bir',
+ 'June' => 'Birþelis',
+ 'Mar' => 'Kov',
+ 'March' => 'Kovas',
+ 'May' => 'Geg',
+ 'May ' => 'Geguþë',
+ 'Message' => 'Þinutë',
+ 'N/A' => 'N/A',
+ 'Nothing selected!' => 'Nieko neiðrinkta!',
+ 'Nov' => 'Lap',
+ 'November' => 'Lapkritis',
+ 'Oct' => 'Spa',
+ 'October' => 'Spalis',
+ 'PDF' => 'PDF',
+ 'Payments' => 'Mokëjimai',
+ 'Postscript' => 'Postscript(TM)',
+ 'Print' => 'Spausdinti',
+ 'Printer' => 'Spausdintuvas',
+ 'Project Number' => 'Project Number',
+ 'Receipts' => 'Kasos orderiai',
+ 'Report for' => 'Ataskaita...',
+ 'Retained Earnings' => 'Turimi uþdarbiai',
+ 'Screen' => 'Ekranas',
+ 'Select all' => 'Iðrinkti viskà',
+ 'Select postscript or PDF!' => 'Iðrinkite postscript arba PDF!',
+ 'Sep' => 'Rgs',
+ 'September' => 'Rûgsëjis',
+ 'Source' => 'Dokumentas',
+ 'Standard' => 'Standartas',
+ 'Statement' => 'Suvestinë',
+ 'Statement sent to' => 'Siusti suvestinæ á',
+ 'Statements sent to printer!' => 'Siusti suvestinæ á spausdintuvà!',
+ 'Subject' => 'Dalykas',
+ 'Subtotal' => 'Viso',
+ 'Tax' => 'Mokëstis',
+ 'Tax collected' => 'Mokesèiai surinkti',
+ 'Tax paid' => 'Mokesèiai sumokëti',
+ 'Total' => 'Ið viso',
+ 'Trial Balance' => 'Bandomasis balansas',
+ 'Vendor' => 'Tiekëjas',
+ 'as at' => 'kaip',
+ 'collected on sales' => 'surinkta per pardavimus',
+ 'for Period' => 'periodui',
+ 'paid on purchases' => 'apmokëta per pirkimus',
+ 'to' => 'iki',
+};
+
+$self{subs} = {
+ 'aging' => 'aging',
+ 'continue' => 'continue',
+ 'e_mail' => 'e_mail',
+ 'generate_ap_aging' => 'generate_ap_aging',
+ 'generate_ar_aging' => 'generate_ar_aging',
+ 'generate_balance_sheet' => 'generate_balance_sheet',
+ 'generate_income_statement' => 'generate_income_statement',
+ 'generate_tax_report' => 'generate_tax_report',
+ 'generate_trial_balance' => 'generate_trial_balance',
+ 'list_accounts' => 'list_accounts',
+ 'list_payments' => 'list_payments',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'report' => 'report',
+ 'select_all' => 'select_all',
+ 'send_email' => 'send_email',
+ 'statement_details' => 'statement_details',
+ 'tax_subtotal' => 'tax_subtotal',
+ 'tæsti' => 'continue',
+ 'e_paðtas' => 'e_mail',
+ 'spausdinti' => 'print',
+ 'iðrinkti_viskà' => 'select_all',
+};
+
+1;
diff --git a/sql-ledger/locale/mx/COPYING b/sql-ledger/locale/mx/COPYING
new file mode 100644
index 0000000..314fc90
--- /dev/null
+++ b/sql-ledger/locale/mx/COPYING
@@ -0,0 +1,23 @@
+######################################################################
+# SQL-Ledger Accounting
+# Copyright (c) 2001
+#
+# Spanish texts (Mexico):
+#
+# Author: Alberto Ladron <h@grupoh.com.mx>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+#######################################################################
+
diff --git a/sql-ledger/locale/mx/LANGUAGE b/sql-ledger/locale/mx/LANGUAGE
new file mode 100644
index 0000000..22549db
--- /dev/null
+++ b/sql-ledger/locale/mx/LANGUAGE
@@ -0,0 +1 @@
+Mexican Spanish
diff --git a/sql-ledger/locale/mx/admin b/sql-ledger/locale/mx/admin
new file mode 100644
index 0000000..707b489
--- /dev/null
+++ b/sql-ledger/locale/mx/admin
@@ -0,0 +1,128 @@
+$self{texts} = {
+ 'Access Control' => 'Control de Acceso',
+ 'Accounting' => 'Contabilidad',
+ 'Add User' => 'Agregar Usuario',
+ 'Address' => 'Dirección',
+ 'Administration' => 'Administración',
+ 'Administrator' => 'Administrator',
+ 'All Datasets up to date!' => '! Todos los conjuntos de datos estan actualizados !',
+ 'Change Admin Password' => 'Cambiar Contraseña de Administrador',
+ 'Change Password' => 'Cambiar Contraseña',
+ 'Character Set' => 'Tabla de Caracteres',
+ 'Click on login name to edit!' => 'Haga clic en el nombre de entrada a
+editar',
+ 'Company' => 'Compañía',
+ 'Connect to' => 'Conectar a',
+ 'Continue' => 'Continuar',
+ 'Create Chart of Accounts' => 'Crear catálogo de cuentas',
+ 'Create Dataset' => 'Crear set de datos',
+ 'DBI not installed!' => 'DBI no instalado!',
+ 'Database' => 'Base de datos',
+ 'Database Administration' => 'Administración de base de datos',
+ 'Database Driver not checked!' => '!No selecciono driver de base de datos!',
+ 'Database User missing!' => 'No se encuentra usuario de base de datos',
+ 'Dataset' => 'Set de datos',
+ 'Dataset missing!' => 'No se encuentra Set de datos!',
+ 'Dataset updated!' => 'Dataset updated!',
+ 'Date Format' => 'Formato de Fecha',
+ 'Delete' => 'Borrar',
+ 'Delete Dataset' => 'Borrar Set de Datos',
+ 'Directory' => 'Directorio',
+ 'Driver' => 'Manejador',
+ 'Dropdown Limit' => 'Dropdown Limit',
+ 'E-mail' => 'Correo Electrónico',
+ 'Edit User' => 'Editar Usuario',
+ 'Existing Datasets' => 'Sets de dato existentes',
+ 'Fax' => 'Fax',
+ 'Host' => 'Servidor base de datos',
+ 'Hostname missing!' => 'No se encuentra servidor de base de datos',
+ 'Incorrect Password!' => 'Contraseña Incorrecta!',
+ 'Language' => 'Lenguaje',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Deje los campos de servidor de base de datos y puerto vacíos al menos que quiera hacer una conexión remota',
+ 'Login' => 'Login',
+ 'Name' => 'Nombre',
+ 'New Templates' => 'Nuevas Plantillas',
+ 'No Database Drivers available!' => 'No hay manejador de base de datos
+disponible!',
+ 'No Dataset selected!' => 'No se ha seleccionado el set de datos',
+ 'Nothing to delete!' => '!Nada para borrar!',
+ 'Number Format' => 'Formato de Numero',
+ 'Oracle Database Administration' => 'Oracle Administración de base de datos',
+ 'Password' => 'Contraseña',
+ 'Password changed!' => 'Password changed!',
+ 'Pg Database Administration' => 'Pg Administración de base de datos',
+ 'Phone' => 'Teléfono',
+ 'Port' => 'Puerto',
+ 'Port missing!' => 'No se encuentra el Puerto!',
+ 'Printer' => 'Impresora',
+ 'Save' => 'Salvar',
+ 'Select a Dataset to delete and press "Continue"' => 'Seleccione un set de
+datos para borrar y presione "Continuar"',
+ 'Setup Templates' => 'Configurar Plantillas',
+ 'Ship via' => 'Ship via',
+ 'Signature' => 'Firma',
+ 'Stylesheet' => 'Estilo de hoja',
+ 'Templates' => 'Plantillas',
+ 'The following Datasets are not in use and can be deleted' => 'Los
+siguientes sets de datos no estan en uso y pueden ser borrados',
+ 'The following Datasets need to be updated' => 'Es necesario actualizar las siguientes bases de datos',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'Esta es una verificacion preliminar de fuentes existentes. Nada será creado o borrado en esta etapa!',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'Para agregar un usuario a un grupo, edite un nombre, cambie el nombre de entrada (login) y guarde los cambios. Un nuevo usuario, con las mismas variables será guardado bajo el nuevo nombre de entrada. (login)',
+ 'Update Dataset' => 'Actualizar conjunto de datos',
+ 'Use Templates' => 'Plantillas de Usuarios',
+ 'User' => 'Usuario',
+ 'User deleted!' => 'User deleted!',
+ 'User saved!' => 'User saved!',
+ 'Version' => 'Versión',
+ 'You must enter a host and port for local and remote connections!' => 'Debe
+introducir un servidor de base de datos y un puerto para conexiones locales y
+remotas!',
+ 'does not exist' => 'No existe',
+ 'is already a member!' => 'ya es miembro!',
+ 'localhost' => 'servidor local',
+ 'successfully created!' => 'creado con éxito!',
+ 'successfully deleted!' => 'creado con éxito!',
+ 'website' => 'sitio web',
+};
+
+$self{subs} = {
+ 'add_user' => 'add_user',
+ 'adminlogin' => 'adminlogin',
+ 'change_admin_password' => 'change_admin_password',
+ 'change_password' => 'change_password',
+ 'check_password' => 'check_password',
+ 'continue' => 'continue',
+ 'create_dataset' => 'create_dataset',
+ 'dbcreate' => 'dbcreate',
+ 'dbdelete' => 'dbdelete',
+ 'dbdriver_defaults' => 'dbdriver_defaults',
+ 'dbselect_source' => 'dbselect_source',
+ 'dbupdate' => 'dbupdate',
+ 'delete' => 'delete',
+ 'delete_dataset' => 'delete_dataset',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'get_value' => 'get_value',
+ 'list_users' => 'list_users',
+ 'login' => 'login',
+ 'login_name' => 'login_name',
+ 'oracle_database_administration' => 'oracle_database_administration',
+ 'pg_database_administration' => 'pg_database_administration',
+ 'save' => 'save',
+ 'update_dataset' => 'update_dataset',
+ 'agregar_usuario' => 'add_user',
+ 'cambiar_contraseña_de_administrador' => 'change_admin_password',
+ 'cambiar_contraseña' => 'change_password',
+ 'continuar' => 'continue',
+ 'crear_set_de_datos' => 'create_dataset',
+ 'borrar' => 'delete',
+ 'borrar_set_de_datos' => 'delete_dataset',
+ 'login' => 'login',
+ 'oracle_administración_de_base_de_datos' => 'oracle_database_administration',
+ 'pg_administración_de_base_de_datos' => 'pg_database_administration',
+ 'salvar' => 'save',
+ 'actualizar_conjunto_de_datos' => 'update_dataset',
+};
+
+1;
diff --git a/sql-ledger/locale/mx/all b/sql-ledger/locale/mx/all
new file mode 100644
index 0000000..b3761a7
--- /dev/null
+++ b/sql-ledger/locale/mx/all
@@ -0,0 +1,496 @@
+# These are all the texts to build the translations files.
+# The file has the form of 'english text' => 'foreign text',
+# you can add the translation in this file or in the 'missing' file
+# run locales.pl from this directory to rebuild the translation files
+
+$self{texts} = {
+ 'AP' => 'Ctas X Pagar',
+ 'AP Aging' => 'Envejecimiento - CxP',
+ 'AP Transaction' => '',
+ 'AP Transactions' => 'Transacciones - Cuentas por Pagar',
+ 'AR' => 'Ctas X Cobrar',
+ 'AR Aging' => 'Envejecimiento - CxC ',
+ 'AR Transaction' => '',
+ 'AR Transactions' => 'Transacciones de Cuentas por Cobrar',
+ 'About' => 'Acerca',
+ 'Access Control' => 'Control de Acceso',
+ 'Account' => 'Cuenta',
+ 'Account Number' => 'Número de Cuenta',
+ 'Account Number missing!' => 'No existe el número de cuenta!',
+ 'Account Type' => 'Tipo de Cuenta',
+ 'Account Type missing!' => 'No existe el tipo de la cuenta!',
+ 'Account deleted!' => '',
+ 'Account saved!' => '',
+ 'Accounting' => 'Contabilidad',
+ 'Accounting Menu' => 'Menú de Contabilidad',
+ 'Accounts' => 'Cuentas',
+ 'Active' => '',
+ 'Add' => 'Agregar',
+ 'Add Account' => 'Agregar Cuenta',
+ 'Add Accounts Payables Transaction' => '',
+ 'Add Accounts Receivables Transaction' => '',
+ 'Add Assembly' => 'Agregar Ensamblaje',
+ 'Add Customer' => 'Agregar Cliente',
+ 'Add GIFI' => 'Añadir código GIFI',
+ 'Add General Ledger Transaction' => 'Agregar Transacción - Mayor General',
+ 'Add Part' => 'Agregar Parte',
+ 'Add Project' => '',
+ 'Add Purchase Invoice' => '',
+ 'Add Purchase Order' => 'Agregar Orden de Compra',
+ 'Add Sales Invoice' => '',
+ 'Add Sales Order' => 'Agregar Nota de Remisión',
+ 'Add Service' => 'Agregar Servicio',
+ 'Add Transaction' => 'Agregar Transaccion',
+ 'Add User' => 'Agregar Usuario',
+ 'Add Vendor' => 'Agregar Proveedor',
+ 'Address' => 'Dirección',
+ 'Administration' => 'Administración',
+ 'Administrator' => '',
+ 'All' => 'Todos',
+ 'All Datasets up to date!' => '! Todos los conjuntos de datos estan actualizados !',
+ 'Amount' => 'Total',
+ 'Amount Due' => '',
+ 'Amount does not equal applied!' => '',
+ 'Amount missing!' => '',
+ 'Applied' => '',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Are you sure you want to delete Invoice Number' => '¿Esta seguro de que desea borrar la Factura No.:',
+ 'Are you sure you want to delete Order Number' => '¿Esta seguro de que desea
+borrar la Orden No.:?',
+ 'Are you sure you want to delete Transaction' => '¿Está usted seguro de que desea suprimir la transacción?',
+ 'Assemblies' => 'Ensamblajes',
+ 'Assemblies restocked!' => '',
+ 'Assembly Number missing!' => 'No existe Numero de Ensamblaje!',
+ 'Asset' => 'Activo',
+ 'Attachment' => 'Adjunto',
+ 'Audit Control' => 'Control de auditoria',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'BOM' => '',
+ 'Backup' => 'Respaldo',
+ 'Backup sent to' => 'Respaldo enviado a',
+ 'Balance' => '',
+ 'Balance Sheet' => 'Hoja de Balance',
+ 'Bcc' => '',
+ 'Bin' => 'Bin',
+ 'Books are open' => 'Los libros estan abiertos',
+ 'Bought' => 'Comprado',
+ 'Business Number' => 'Numero de Negocio',
+ 'C' => '',
+ 'COGS' => 'Costo de Ventas',
+ 'Cannot delete account!' => '',
+ 'Cannot delete customer!' => '',
+ 'Cannot delete default account!' => 'No se puede borrar cuenta por defecto!',
+ 'Cannot delete invoice!' => '',
+ 'Cannot delete item already invoiced!' => 'No puede suprimir el item ya facturado!',
+ 'Cannot delete item on order!' => 'No se puede eliminar un elemnto presente en una orden',
+ 'Cannot delete item which is part of an assembly!' => 'No puede suprimir un item que es parte de un ensamblaje!',
+ 'Cannot delete item!' => '',
+ 'Cannot delete order!' => '',
+ 'Cannot delete transaction!' => '',
+ 'Cannot delete vendor!' => '',
+ 'Cannot have a value in both Debit and Credit!' => 'No puede tener un valor en Débito y Crédito simultáneamente!',
+ 'Cannot post a transaction without a value!' => '',
+ 'Cannot post invoice for a closed period!' => 'No se puede registrar factura para un periodo cerrado!',
+ 'Cannot post invoice!' => '',
+ 'Cannot post payment for a closed period!' => 'No se puede registrar pago para un periodo cerrado',
+ 'Cannot post payment!' => '',
+ 'Cannot post transaction for a closed period!' => 'No se puede registrar una transacción para un periodo cerrado',
+ 'Cannot post transaction!' => '',
+ 'Cannot process payment for a closed period!' => '',
+ 'Cannot save account!' => '',
+ 'Cannot save order!' => '',
+ 'Cannot save preferences!' => '',
+ 'Cannot stock assemblies!' => '',
+ 'Cash' => '',
+ 'Cash based' => '',
+ 'Cc' => '',
+ 'Change Admin Password' => 'Cambiar Contraseña de Administrador',
+ 'Change Password' => 'Cambiar Contraseña',
+ 'Character Set' => 'Tabla de Caracteres',
+ 'Chart of Accounts' => 'Catálogo Contable',
+ 'Check' => '',
+ 'Check printed!' => '',
+ 'Check printing failed!' => '',
+ 'Cleared Balance' => '',
+ 'Click on login name to edit!' => 'Haga clic en el nombre de entrada a
+editar',
+ 'Close Books up to' => 'Se cerraron los libros hasta',
+ 'Closed' => 'Cerrado',
+ 'Company' => 'Compañía',
+ 'Compare to' => 'Comparar a',
+ 'Confirm!' => 'Confirmar!',
+ 'Connect to' => 'Conectar a',
+ 'Contact' => 'Contacto',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Copias',
+ 'Copy to COA' => 'Copiar al catálogo de cuentas',
+ 'Create Chart of Accounts' => 'Crear catálogo de cuentas',
+ 'Create Dataset' => 'Crear set de datos',
+ 'Credit' => 'Crédito',
+ 'Credit Limit' => 'Limite de Credito',
+ 'Curr' => 'Mon.',
+ 'Currency' => 'Moneda',
+ 'Current' => '',
+ 'Customer' => 'Cliente',
+ 'Customer deleted!' => '',
+ 'Customer missing!' => '',
+ 'Customer not on file!' => '',
+ 'Customer saved!' => '',
+ 'Customers' => '',
+ 'DBI not installed!' => 'DBI no instalado!',
+ 'Database' => 'Base de datos',
+ 'Database Administration' => 'Administración de base de datos',
+ 'Database Driver not checked!' => '!No selecciono driver de base de datos!',
+ 'Database Host' => 'Servidor de Base de Datos',
+ 'Database User missing!' => 'No se encuentra usuario de base de datos',
+ 'Dataset' => 'Set de datos',
+ 'Dataset missing!' => 'No se encuentra Set de datos!',
+ 'Dataset updated!' => '',
+ 'Date' => 'Fecha',
+ 'Date Due' => 'Fecha de Vencimiento',
+ 'Date Format' => 'Formato de Fecha',
+ 'Date Paid' => 'Fecha de pago',
+ 'Date missing!' => '',
+ 'Debit' => 'Débito',
+ 'Debit and credit out of balance!' => 'Débito y Crédito fuera de balance.',
+ 'Dec' => 'Dic',
+ 'December' => 'Diciembre',
+ 'Decimalplaces' => '',
+ 'Delete' => 'Borrar',
+ 'Delete Account' => 'Borrar Cuenta',
+ 'Delete Dataset' => 'Borrar Set de Datos',
+ 'Delivery Date' => '',
+ 'Deposit' => '',
+ 'Description' => 'Descripción',
+ 'Difference' => '',
+ 'Directory' => 'Directorio',
+ 'Discount' => 'Descuento',
+ 'Done' => '',
+ 'Drawing' => '',
+ 'Driver' => 'Manejador',
+ 'Dropdown Limit' => '',
+ 'Due' => 'Vence',
+ 'Due Date' => 'Fecha de Vencimiento',
+ 'Due Date missing!' => 'Falta Fecha de Vencimiento!',
+ 'E-mail' => 'Correo Electrónico',
+ 'E-mail Statement to' => '',
+ 'E-mail address missing!' => 'Falta E-mail!',
+ 'Edit' => '',
+ 'Edit Account' => 'Editar Cuenta',
+ 'Edit Accounts Payables Transaction' => '',
+ 'Edit Accounts Receivables Transaction' => '',
+ 'Edit Assembly' => 'Editar Ensamblaje',
+ 'Edit GIFI' => 'Editar GIFI',
+ 'Edit General Ledger Transaction' => 'Editar Transacción de Mayor General',
+ 'Edit Part' => 'Editar Parte',
+ 'Edit Preferences for' => 'Editar Preferencias para',
+ 'Edit Project' => '',
+ 'Edit Purchase Invoice' => '',
+ 'Edit Purchase Order' => 'Editar Orden de Compra',
+ 'Edit Sales Invoice' => '',
+ 'Edit Sales Order' => 'Editar Remisión',
+ 'Edit Service' => 'Editar Servicio',
+ 'Edit Template' => 'Editar Plantilla',
+ 'Edit User' => 'Editar Usuario',
+ 'Employee' => '',
+ 'Enforce transaction reversal for all dates' => 'Forzar la anulación de las transacciones para todas las fechas',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => '',
+ 'Equity' => 'Capital',
+ 'Exch' => 'Interc.',
+ 'Exchangerate' => 'Tasa de Intercambio',
+ 'Exchangerate Difference' => '',
+ 'Exchangerate for payment missing!' => 'No se encuentra pago por cambio de moneda',
+ 'Exchangerate missing!' => 'No se encuentra cambio de moneda',
+ 'Existing Datasets' => 'Sets de dato existentes',
+ 'Expense' => 'Egreso',
+ 'Expense Account' => 'Cuenta de Egreso',
+ 'Expense/Asset' => 'Egreso/Activo',
+ 'Extended' => '',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrero',
+ 'Foreign Exchange Gain' => 'Ganancia en Moneda Extranjera',
+ 'Foreign Exchange Loss' => 'Pérdida en Moneda Extranjera',
+ 'From' => 'Desde',
+ 'GIFI' => 'Código GIFI',
+ 'GIFI deleted!' => '',
+ 'GIFI missing!' => 'No se ha definido el código GIFI',
+ 'GIFI saved!' => '',
+ 'GL Transaction' => '',
+ 'General Ledger' => 'Mayor General',
+ 'Goods & Services' => 'Bienes y servicios',
+ 'HTML Templates' => 'Plantillas HTML',
+ 'Heading' => 'Encabezado',
+ 'Host' => 'Servidor base de datos',
+ 'Hostname missing!' => 'No se encuentra servidor de base de datos',
+ 'ID' => 'ID',
+ 'Image' => '',
+ 'In-line' => 'En linea',
+ 'Include in Report' => 'Incluya en informe',
+ 'Include in drop-down menus' => 'Incluya en menús desplegables',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Incluya esta cuenta en las formas del cliente/proveedor para señalar al cliente/proveedor como gravable de impuesto?',
+ 'Income' => 'Ingreso',
+ 'Income Account' => 'Cuenta de Ingreso',
+ 'Income Statement' => 'Estado de Cuentas',
+ 'Incorrect Dataset version!' => '!Versisn incorrecta de conjunto de datos!',
+ 'Incorrect Password!' => 'Contraseña Incorrecta!',
+ 'Individual Items' => 'Items Individuales',
+ 'Inventory' => 'Inventario',
+ 'Inventory Account' => 'Cuenta de Inventario',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'La cantidad en inventario debe ser cero antes de cambiar este ensamblaje a obsoleto!',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'La cantidad en inventario debe ser cero antes de cambiar esta parte a obsoleto',
+ 'Inventory quantity must be zero!' => 'La cantidad en inventario debe ser
+cero!',
+ 'Invoice' => 'Factura',
+ 'Invoice Date' => 'Fecha de Factura',
+ 'Invoice Date missing!' => 'Falta la Fecha de la Factura!',
+ 'Invoice Number' => 'Número de Factura',
+ 'Invoice Number missing!' => 'Falta el Número de Factura!',
+ 'Invoice deleted!' => '',
+ 'Invoice posted!' => '',
+ 'Invoices' => '',
+ 'Is this a summary account to record' => 'Es esta una cuenta de resumen a registrar?',
+ 'Item deleted!' => '',
+ 'Item not on file!' => '¡El artículo no se encuentra en archivo!',
+ 'Jan' => 'Ene',
+ 'January' => 'Enero',
+ 'Jul' => 'Jul',
+ 'July' => 'Julio',
+ 'Jun' => 'Jun',
+ 'June' => 'Junio',
+ 'LaTeX Templates' => 'Plantillas de LaTeX',
+ 'Language' => 'Lenguaje',
+ 'Last Cost' => 'Ultimo Costo',
+ 'Last Invoice Number' => 'Último Número de Factura',
+ 'Last Numbers & Default Accounts' => 'Últimos Números y Cuentas por Defecto',
+ 'Last Purchase Order Number' => 'Ultima Orden de Compra',
+ 'Last Sales Order Number' => 'Número del último presupuesto',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Deje los campos de servidor de base de datos y puerto vacíos al menos que quiera hacer una conexión remota',
+ 'Liability' => 'Pasivo',
+ 'Licensed to' => 'Licenciado a',
+ 'Line Total' => 'Total de la linea',
+ 'Link' => 'Enlaces',
+ 'Link Accounts' => 'Enlazar Cuentas',
+ 'List Accounts' => 'Listar Cuentas',
+ 'List GIFI' => 'Listar código GIFI',
+ 'List Price' => 'Precio de Lista',
+ 'List Transactions' => 'Listar Transacciones',
+ 'Login' => 'Login',
+ 'Logout' => 'Salir',
+ 'Make' => 'Marca',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'May',
+ 'May ' => 'Mayo',
+ 'Message' => 'Mensaje',
+ 'Microfiche' => '',
+ 'Model' => 'Modelo',
+ 'N/A' => 'N/A',
+ 'Name' => 'Nombre',
+ 'Name missing!' => '',
+ 'New Templates' => 'Nuevas Plantillas',
+ 'No' => 'No',
+ 'No Database Drivers available!' => 'No hay manejador de base de datos
+disponible!',
+ 'No Dataset selected!' => 'No se ha seleccionado el set de datos',
+ 'No email address for' => 'Falta email para',
+ 'No.' => '',
+ 'Notes' => 'Notas',
+ 'Nothing applied!' => '',
+ 'Nothing selected!' => '',
+ 'Nothing to delete!' => '!Nada para borrar!',
+ 'Nov' => 'Nov',
+ 'November' => 'Noviembre',
+ 'Number' => 'Número',
+ 'Number Format' => 'Formato de Numero',
+ 'Number missing in Row' => 'No se encuentra el número en la fila',
+ 'O' => '',
+ 'Obsolete' => 'Obsoleto',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'On Hand' => 'En Existencia',
+ 'On Order' => '',
+ 'Open' => 'Abierto',
+ 'Oracle Database Administration' => 'Oracle Administración de base de datos',
+ 'Order' => 'Orden',
+ 'Order Date' => 'Fecha de Orden',
+ 'Order Date missing!' => 'No se encuentra la fecha de orden!',
+ 'Order Entry' => 'Orden de Entrada',
+ 'Order Number' => 'Orden Número',
+ 'Order Number missing!' => 'No se encuentra el número de orden!',
+ 'Order deleted!' => '',
+ 'Order saved!' => '',
+ 'Ordered' => '',
+ 'Orphaned' => 'Huerfano',
+ 'Out of balance!' => '',
+ 'PDF' => '',
+ 'Packing List' => 'Lista de Empaque',
+ 'Packing List Date missing!' => '!Falta fecha en lista de empaque!',
+ 'Packing List Number missing!' => '!Falta nzmero en lista de empaque!',
+ 'Paid' => 'Total Pagado',
+ 'Paid in full' => '',
+ 'Part' => 'Partes',
+ 'Part Number missing!' => 'Falta del número de pieza!',
+ 'Parts' => 'Partes',
+ 'Parts Inventory' => 'Inventario de Partes',
+ 'Password' => 'Contraseña',
+ 'Password changed!' => '',
+ 'Payables' => 'Por Pagar',
+ 'Payment' => 'Pago',
+ 'Payment date missing!' => 'No se encuentra la fecha de Pago!',
+ 'Payment posted!' => '',
+ 'Payments' => 'Pagos',
+ 'Pg Database Administration' => 'Pg Administración de base de datos',
+ 'Phone' => 'Teléfono',
+ 'Port' => 'Puerto',
+ 'Port missing!' => 'No se encuentra el Puerto!',
+ 'Post' => '',
+ 'Post as new' => '',
+ 'Postscript' => '',
+ 'Preferences' => 'Preferencias',
+ 'Preferences saved!' => 'Preferencias guardadas!',
+ 'Price' => 'Precio',
+ 'Print' => '',
+ 'Printer' => 'Impresora',
+ 'Project' => '',
+ 'Project Number missing!' => '',
+ 'Project deleted!' => '',
+ 'Project not on file!' => '',
+ 'Project saved!' => '',
+ 'Projects' => '',
+ 'Purchase Invoice' => '',
+ 'Purchase Order' => 'Orden de Compra',
+ 'Purchase Orders' => 'Ordenes de Compra',
+ 'Qty' => 'Cantidad',
+ 'ROP' => 'ROP',
+ 'Rate' => 'Tarifa',
+ 'Recd' => '',
+ 'Receipt' => '',
+ 'Receipts' => '',
+ 'Receivables' => 'Por Cobrar',
+ 'Reconciliation' => '',
+ 'Record in' => 'Registrar en',
+ 'Reference' => '',
+ 'Reference missing!' => '',
+ 'Remaining' => 'Faltan',
+ 'Report for' => 'Informe para',
+ 'Reports' => 'Reportes',
+ 'Required by' => 'Requerido por',
+ 'Retained Earnings' => 'Ganacias Retenidas',
+ 'Sales' => 'Ventas',
+ 'Sales Invoice' => '',
+ 'Sales Order' => 'Orden de venta',
+ 'Sales Orders' => 'Ordenes de venta',
+ 'Save' => 'Salvar',
+ 'Save as new' => '',
+ 'Save to File' => 'Guardar en archivo',
+ 'Screen' => 'Pantalla',
+ 'Select a Dataset to delete and press "Continue"' => 'Seleccione un set de
+datos para borrar y presione "Continuar"',
+ 'Select all' => '',
+ 'Select from one of the items below' => 'Seleccione uno de los items',
+ 'Select from one of the names below' => '',
+ 'Select from one of the projects below' => '',
+ 'Select postscript or PDF!' => '',
+ 'Sell Price' => 'Precio de Venta',
+ 'Send by E-Mail' => 'Enviar por E-Mail',
+ 'Sep' => 'Sep',
+ 'September' => 'Septiembre',
+ 'Service' => 'Servicio',
+ 'Service Items' => 'Items de Servicio',
+ 'Service Number missing!' => 'Falta el número de servicio!',
+ 'Services' => 'Servicios',
+ 'Setup Templates' => 'Configurar Plantillas',
+ 'Ship' => '',
+ 'Ship to' => '',
+ 'Ship via' => '',
+ 'Short' => 'Corto',
+ 'Signature' => 'Firma',
+ 'Sold' => 'Vendido',
+ 'Source' => 'Fuente',
+ 'Standard' => 'Estándard',
+ 'Statement' => '',
+ 'Statement Balance' => '',
+ 'Statement sent to' => '',
+ 'Statements sent to printer!' => '',
+ 'Stock Assembly' => 'Inventariar Ensamblaje?',
+ 'Stylesheet' => 'Estilo de hoja',
+ 'Subject' => 'Asunto',
+ 'Subtotal' => 'Subtotal',
+ 'System' => 'Sistema',
+ 'Tax' => 'Impuesto',
+ 'Tax Accounts' => 'Cuentas De Impuesto',
+ 'Tax Included' => 'Impuesto Incluido',
+ 'Tax collected' => '',
+ 'Tax paid' => '',
+ 'Taxable' => 'Gravable de Impuesto',
+ 'Template saved!' => '',
+ 'Templates' => 'Plantillas',
+ 'Terms: Net' => 'Crédito',
+ 'The following Datasets are not in use and can be deleted' => 'Los
+siguientes sets de datos no estan en uso y pueden ser borrados',
+ 'The following Datasets need to be updated' => 'Es necesario actualizar las siguientes bases de datos',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'Esta es una verificacion preliminar de fuentes existentes. Nada será creado o borrado en esta etapa!',
+ 'To' => 'Hasta ',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'Para agregar un usuario a un grupo, edite un nombre, cambie el nombre de entrada (login) y guarde los cambios. Un nuevo usuario, con las mismas variables será guardado bajo el nuevo nombre de entrada. (login)',
+ 'Top Level' => '',
+ 'Total' => 'Total',
+ 'Transaction Date missing!' => 'Falta la fecha de la transacción!',
+ 'Transaction deleted!' => '',
+ 'Transaction posted!' => '',
+ 'Transaction reversal enforced for all dates' => 'Se ha forzado la anulación de las transacciones para todas las fechas',
+ 'Transaction reversal enforced up to' => 'Se ha forzado la anulación de las transacciones hasta',
+ 'Transactions' => 'Transacciones',
+ 'Transactions exist, cannot delete customer!' => 'Las transacciones existen, no pueden suprimir el cliente!',
+ 'Transactions exist, cannot delete vendor!' => 'Las transacciones existen, no pueden suprimir a proveedor',
+ 'Transactions exist; cannot delete account!' => 'Las transacciones existen,
+no puede suprimir la cuenta!',
+ 'Trial Balance' => 'Balance De Comprobación',
+ 'Unit' => 'Unidad',
+ 'Unit of measure' => 'Unidad de medida',
+ 'Update' => '',
+ 'Update Dataset' => 'Actualizar conjunto de datos',
+ 'Updated' => '',
+ 'Use Templates' => 'Plantillas de Usuarios',
+ 'User' => 'Usuario',
+ 'User deleted!' => '',
+ 'User saved!' => '',
+ 'Vendor' => 'Proveedor',
+ 'Vendor deleted!' => '',
+ 'Vendor missing!' => '',
+ 'Vendor not on file!' => '',
+ 'Vendor saved!' => '',
+ 'Vendors' => '',
+ 'Version' => 'Versión',
+ 'Weight' => 'Peso',
+ 'Weight Unit' => 'Unidad de Peso',
+ 'What type of item is this?' => '¿Que tipo de Item es este?',
+ 'Year End' => 'Fin del Año Fiscal',
+ 'Yes' => 'Si',
+ 'You are logged out!' => '',
+ 'You did not enter a name!' => 'No introdujo un nombre!',
+ 'You must enter a host and port for local and remote connections!' => 'Debe
+introducir un servidor de base de datos y un puerto para conexiones locales y
+remotas!',
+ 'as at' => '',
+ 'collected on sales' => 'ingresado en ventas',
+ 'days' => 'Días',
+ 'does not exist' => 'No existe',
+ 'ea' => 'c/u',
+ 'emailed to' => 'Se envio email a',
+ 'for Period' => 'para el período',
+ 'hr' => 'hr',
+ 'is already a member!' => 'ya es miembro!',
+ 'is not a member!' => '!no es miembro!',
+ 'localhost' => 'servidor local',
+ 'paid on purchases' => 'pagado en compras',
+ 'sent to printer' => 'Enviado a la impresora',
+ 'successfully created!' => 'creado con éxito!',
+ 'successfully deleted!' => 'creado con éxito!',
+ 'to' => '',
+ 'website' => 'sitio web',
+};
+
+1;
diff --git a/sql-ledger/locale/mx/am b/sql-ledger/locale/mx/am
new file mode 100644
index 0000000..d96b138
--- /dev/null
+++ b/sql-ledger/locale/mx/am
@@ -0,0 +1,140 @@
+$self{texts} = {
+ 'AP' => 'Ctas X Pagar',
+ 'AR' => 'Ctas X Cobrar',
+ 'Account' => 'Cuenta',
+ 'Account Number' => 'Número de Cuenta',
+ 'Account Number missing!' => 'No existe el número de cuenta!',
+ 'Account Type' => 'Tipo de Cuenta',
+ 'Account Type missing!' => 'No existe el tipo de la cuenta!',
+ 'Account deleted!' => 'Account deleted!',
+ 'Account saved!' => 'Account saved!',
+ 'Add Account' => 'Agregar Cuenta',
+ 'Add GIFI' => 'Añadir código GIFI',
+ 'Address' => 'Dirección',
+ 'Asset' => 'Activo',
+ 'Audit Control' => 'Control de auditoria',
+ 'Backup sent to' => 'Respaldo enviado a',
+ 'Books are open' => 'Los libros estan abiertos',
+ 'Business Number' => 'Numero de Negocio',
+ 'COGS' => 'Costo de Ventas',
+ 'Cannot delete account!' => 'Cannot delete account!',
+ 'Cannot delete default account!' => 'No se puede borrar cuenta por defecto!',
+ 'Cannot save account!' => 'Cannot save account!',
+ 'Cannot save preferences!' => 'Cannot save preferences!',
+ 'Character Set' => 'Tabla de Caracteres',
+ 'Chart of Accounts' => 'Catálogo Contable',
+ 'Close Books up to' => 'Se cerraron los libros hasta',
+ 'Company' => 'Compañía',
+ 'Continue' => 'Continuar',
+ 'Copy to COA' => 'Copiar al catálogo de cuentas',
+ 'Credit' => 'Crédito',
+ 'Date Format' => 'Formato de Fecha',
+ 'Debit' => 'Débito',
+ 'Delete' => 'Borrar',
+ 'Delete Account' => 'Borrar Cuenta',
+ 'Description' => 'Descripción',
+ 'Dropdown Limit' => 'Dropdown Limit',
+ 'E-mail' => 'Correo Electrónico',
+ 'Edit' => 'Edit',
+ 'Edit Account' => 'Editar Cuenta',
+ 'Edit GIFI' => 'Editar GIFI',
+ 'Edit Preferences for' => 'Editar Preferencias para',
+ 'Edit Template' => 'Editar Plantilla',
+ 'Enforce transaction reversal for all dates' => 'Forzar la anulación de las transacciones para todas las fechas',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies',
+ 'Equity' => 'Capital',
+ 'Expense' => 'Egreso',
+ 'Expense Account' => 'Cuenta de Egreso',
+ 'Expense/Asset' => 'Egreso/Activo',
+ 'Fax' => 'Fax',
+ 'Foreign Exchange Gain' => 'Ganancia en Moneda Extranjera',
+ 'Foreign Exchange Loss' => 'Pérdida en Moneda Extranjera',
+ 'GIFI' => 'Código GIFI',
+ 'GIFI deleted!' => 'GIFI deleted!',
+ 'GIFI missing!' => 'No se ha definido el código GIFI',
+ 'GIFI saved!' => 'GIFI saved!',
+ 'Heading' => 'Encabezado',
+ 'Include in drop-down menus' => 'Incluya en menús desplegables',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Incluya esta cuenta en las formas del cliente/proveedor para señalar al cliente/proveedor como gravable de impuesto?',
+ 'Income' => 'Ingreso',
+ 'Income Account' => 'Cuenta de Ingreso',
+ 'Inventory' => 'Inventario',
+ 'Inventory Account' => 'Cuenta de Inventario',
+ 'Is this a summary account to record' => 'Es esta una cuenta de resumen a registrar?',
+ 'Language' => 'Lenguaje',
+ 'Last Invoice Number' => 'Último Número de Factura',
+ 'Last Numbers & Default Accounts' => 'Últimos Números y Cuentas por Defecto',
+ 'Last Purchase Order Number' => 'Ultima Orden de Compra',
+ 'Last Sales Order Number' => 'Número del último presupuesto',
+ 'Liability' => 'Pasivo',
+ 'Link' => 'Enlaces',
+ 'Name' => 'Nombre',
+ 'No' => 'No',
+ 'No email address for' => 'Falta email para',
+ 'Number' => 'Número',
+ 'Number Format' => 'Formato de Numero',
+ 'Parts Inventory' => 'Inventario de Partes',
+ 'Password' => 'Contraseña',
+ 'Payables' => 'Por Pagar',
+ 'Payment' => 'Pago',
+ 'Phone' => 'Teléfono',
+ 'Preferences saved!' => 'Preferencias guardadas!',
+ 'Rate' => 'Tarifa',
+ 'Receivables' => 'Por Cobrar',
+ 'Sales' => 'Ventas',
+ 'Save' => 'Salvar',
+ 'Service Items' => 'Items de Servicio',
+ 'Ship via' => 'Ship via',
+ 'Signature' => 'Firma',
+ 'Stylesheet' => 'Estilo de hoja',
+ 'Tax' => 'Impuesto',
+ 'Tax Accounts' => 'Cuentas De Impuesto',
+ 'Template saved!' => 'Template saved!',
+ 'Transaction reversal enforced for all dates' => 'Se ha forzado la anulación de las transacciones para todas las fechas',
+ 'Transaction reversal enforced up to' => 'Se ha forzado la anulación de las transacciones hasta',
+ 'Transactions exist; cannot delete account!' => 'Las transacciones existen,
+no puede suprimir la cuenta!',
+ 'Weight Unit' => 'Unidad de Peso',
+ 'Year End' => 'Fin del Año Fiscal',
+ 'Yes' => 'Si',
+ 'does not exist' => 'No existe',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_gifi' => 'add_gifi',
+ 'audit_control' => 'audit_control',
+ 'backup' => 'backup',
+ 'config' => 'config',
+ 'continue' => 'continue',
+ 'copy_to_coa' => 'copy_to_coa',
+ 'delete' => 'delete',
+ 'delete_account' => 'delete_account',
+ 'delete_gifi' => 'delete_gifi',
+ 'display_form' => 'display_form',
+ 'display_stylesheet' => 'display_stylesheet',
+ 'doclose' => 'doclose',
+ 'edit' => 'edit',
+ 'edit_gifi' => 'edit_gifi',
+ 'edit_template' => 'edit_template',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gifi_footer' => 'gifi_footer',
+ 'gifi_header' => 'gifi_header',
+ 'list' => 'list',
+ 'list_gifi' => 'list_gifi',
+ 'save' => 'save',
+ 'save_account' => 'save_account',
+ 'save_gifi' => 'save_gifi',
+ 'save_preferences' => 'save_preferences',
+ 'save_template' => 'save_template',
+ 'agregar_cuenta' => 'add_account',
+ 'continuar' => 'continue',
+ 'copiar_al_catálogo_de_cuentas' => 'copy_to_coa',
+ 'borrar' => 'delete',
+ 'edit' => 'edit',
+ 'editar_cuenta' => 'edit_account',
+ 'salvar' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/mx/ap b/sql-ledger/locale/mx/ap
new file mode 100644
index 0000000..68d095c
--- /dev/null
+++ b/sql-ledger/locale/mx/ap
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AP Transaction' => 'AP Transaction',
+ 'AP Transactions' => 'Transacciones - Cuentas por Pagar',
+ 'Account' => 'Cuenta',
+ 'Add Accounts Payables Transaction' => 'Add Accounts Payables Transaction',
+ 'Address' => 'Dirección',
+ 'Amount' => 'Total',
+ 'Amount Due' => 'Amount Due',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Are you sure you want to delete Transaction' => '¿Está usted seguro de que desea suprimir la transacción?',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Cannot delete transaction!' => 'Cannot delete transaction!',
+ 'Cannot post payment for a closed period!' => 'No se puede registrar pago para un periodo cerrado',
+ 'Cannot post transaction for a closed period!' => 'No se puede registrar una transacción para un periodo cerrado',
+ 'Cannot post transaction!' => 'Cannot post transaction!',
+ 'Closed' => 'Cerrado',
+ 'Confirm!' => 'Confirmar!',
+ 'Continue' => 'Continuar',
+ 'Currency' => 'Moneda',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'Fecha',
+ 'Date Paid' => 'Fecha de pago',
+ 'Dec' => 'Dic',
+ 'December' => 'Diciembre',
+ 'Delete' => 'Borrar',
+ 'Description' => 'Descripción',
+ 'Due Date' => 'Fecha de Vencimiento',
+ 'Due Date missing!' => 'Falta Fecha de Vencimiento!',
+ 'Edit Accounts Payables Transaction' => 'Edit Accounts Payables Transaction',
+ 'Employee' => 'Employee',
+ 'Exch' => 'Interc.',
+ 'Exchangerate' => 'Tasa de Intercambio',
+ 'Exchangerate for payment missing!' => 'No se encuentra pago por cambio de moneda',
+ 'Exchangerate missing!' => 'No se encuentra cambio de moneda',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrero',
+ 'From' => 'Desde',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Incluya en informe',
+ 'Invoice' => 'Factura',
+ 'Invoice Date' => 'Fecha de Factura',
+ 'Invoice Date missing!' => 'Falta la Fecha de la Factura!',
+ 'Invoice Number' => 'Número de Factura',
+ 'Invoice Number missing!' => 'Falta el Número de Factura!',
+ 'Jan' => 'Ene',
+ 'January' => 'Enero',
+ 'Jul' => 'Jul',
+ 'July' => 'Julio',
+ 'Jun' => 'Jun',
+ 'June' => 'Junio',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'May',
+ 'May ' => 'Mayo',
+ 'Notes' => 'Notas',
+ 'Nov' => 'Nov',
+ 'November' => 'Noviembre',
+ 'Number' => 'Número',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'Open' => 'Abierto',
+ 'Order' => 'Orden',
+ 'Order Number' => 'Orden Número',
+ 'Paid' => 'Total Pagado',
+ 'Payment date missing!' => 'No se encuentra la fecha de Pago!',
+ 'Payments' => 'Pagos',
+ 'Post' => 'Post',
+ 'Post as new' => 'Post as new',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Purchase Invoice' => 'Purchase Invoice',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Sep' => 'Sep',
+ 'September' => 'Septiembre',
+ 'Source' => 'Fuente',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'Impuesto',
+ 'Tax Included' => 'Impuesto Incluido',
+ 'To' => 'Hasta ',
+ 'Total' => 'Total',
+ 'Transaction deleted!' => 'Transaction deleted!',
+ 'Transaction posted!' => 'Transaction posted!',
+ 'Update' => 'Update',
+ 'Vendor' => 'Proveedor',
+ 'Vendor missing!' => 'Vendor missing!',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'Yes' => 'Si',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_subtotal' => 'ap_subtotal',
+ 'ap_transaction' => 'ap_transaction',
+ 'ap_transactions' => 'ap_transactions',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'ap_transaction' => 'ap_transaction',
+ 'add_accounts_payables_transaction' => 'add_accounts_payables_transaction',
+ 'continuar' => 'continue',
+ 'borrar' => 'delete',
+ 'edit_accounts_payables_transaction' => 'edit_accounts_payables_transaction',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'update' => 'update',
+ 'si' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/mx/ar b/sql-ledger/locale/mx/ar
new file mode 100644
index 0000000..3f2fd0e
--- /dev/null
+++ b/sql-ledger/locale/mx/ar
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AR Transaction' => 'AR Transaction',
+ 'AR Transactions' => 'Transacciones de Cuentas por Cobrar',
+ 'Account' => 'Cuenta',
+ 'Add Accounts Receivables Transaction' => 'Add Accounts Receivables Transaction',
+ 'Address' => 'Dirección',
+ 'Amount' => 'Total',
+ 'Amount Due' => 'Amount Due',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Are you sure you want to delete Transaction' => '¿Está usted seguro de que desea suprimir la transacción?',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Cannot delete transaction!' => 'Cannot delete transaction!',
+ 'Cannot post payment for a closed period!' => 'No se puede registrar pago para un periodo cerrado',
+ 'Cannot post transaction for a closed period!' => 'No se puede registrar una transacción para un periodo cerrado',
+ 'Cannot post transaction!' => 'Cannot post transaction!',
+ 'Closed' => 'Cerrado',
+ 'Confirm!' => 'Confirmar!',
+ 'Continue' => 'Continuar',
+ 'Credit Limit' => 'Limite de Credito',
+ 'Currency' => 'Moneda',
+ 'Customer' => 'Cliente',
+ 'Customer missing!' => 'Customer missing!',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'Fecha',
+ 'Date Paid' => 'Fecha de pago',
+ 'Dec' => 'Dic',
+ 'December' => 'Diciembre',
+ 'Delete' => 'Borrar',
+ 'Description' => 'Descripción',
+ 'Due Date' => 'Fecha de Vencimiento',
+ 'Due Date missing!' => 'Falta Fecha de Vencimiento!',
+ 'Edit Accounts Receivables Transaction' => 'Edit Accounts Receivables Transaction',
+ 'Employee' => 'Employee',
+ 'Exch' => 'Interc.',
+ 'Exchangerate' => 'Tasa de Intercambio',
+ 'Exchangerate for payment missing!' => 'No se encuentra pago por cambio de moneda',
+ 'Exchangerate missing!' => 'No se encuentra cambio de moneda',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrero',
+ 'From' => 'Desde',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Incluya en informe',
+ 'Invoice' => 'Factura',
+ 'Invoice Date' => 'Fecha de Factura',
+ 'Invoice Date missing!' => 'Falta la Fecha de la Factura!',
+ 'Invoice Number' => 'Número de Factura',
+ 'Invoice Number missing!' => 'Falta el Número de Factura!',
+ 'Jan' => 'Ene',
+ 'January' => 'Enero',
+ 'Jul' => 'Jul',
+ 'July' => 'Julio',
+ 'Jun' => 'Jun',
+ 'June' => 'Junio',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'May',
+ 'May ' => 'Mayo',
+ 'Notes' => 'Notas',
+ 'Nov' => 'Nov',
+ 'November' => 'Noviembre',
+ 'Number' => 'Número',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'Open' => 'Abierto',
+ 'Order' => 'Orden',
+ 'Order Number' => 'Orden Número',
+ 'Paid' => 'Total Pagado',
+ 'Payment date missing!' => 'No se encuentra la fecha de Pago!',
+ 'Payments' => 'Pagos',
+ 'Post' => 'Post',
+ 'Post as new' => 'Post as new',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Remaining' => 'Faltan',
+ 'Sales Invoice' => 'Sales Invoice',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Sep' => 'Sep',
+ 'September' => 'Septiembre',
+ 'Source' => 'Fuente',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'Impuesto',
+ 'Tax Included' => 'Impuesto Incluido',
+ 'To' => 'Hasta ',
+ 'Total' => 'Total',
+ 'Transaction deleted!' => 'Transaction deleted!',
+ 'Transaction posted!' => 'Transaction posted!',
+ 'Update' => 'Update',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'Yes' => 'Si',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_subtotal' => 'ar_subtotal',
+ 'ar_transaction' => 'ar_transaction',
+ 'ar_transactions' => 'ar_transactions',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'ar_transaction' => 'ar_transaction',
+ 'continuar' => 'continue',
+ 'borrar' => 'delete',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'sales_invoice' => 'sales_invoice',
+ 'update' => 'update',
+ 'si' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/mx/arap b/sql-ledger/locale/mx/arap
new file mode 100644
index 0000000..f541192
--- /dev/null
+++ b/sql-ledger/locale/mx/arap
@@ -0,0 +1,30 @@
+$self{texts} = {
+ 'Address' => 'Dirección',
+ 'Continue' => 'Continuar',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Description' => 'Descripción',
+ 'Number' => 'Número',
+ 'Project not on file!' => 'Project not on file!',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Vendor not on file!' => 'Vendor not on file!',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'continuar' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/mx/ca b/sql-ledger/locale/mx/ca
new file mode 100644
index 0000000..5d43318
--- /dev/null
+++ b/sql-ledger/locale/mx/ca
@@ -0,0 +1,50 @@
+$self{texts} = {
+ 'Account' => 'Cuenta',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Balance' => 'Balance',
+ 'Chart of Accounts' => 'Catálogo Contable',
+ 'Credit' => 'Crédito',
+ 'Date' => 'Fecha',
+ 'Debit' => 'Débito',
+ 'Dec' => 'Dic',
+ 'December' => 'Diciembre',
+ 'Description' => 'Descripción',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrero',
+ 'From' => 'Desde',
+ 'GIFI' => 'Código GIFI',
+ 'Include in Report' => 'Incluya en informe',
+ 'Jan' => 'Ene',
+ 'January' => 'Enero',
+ 'Jul' => 'Jul',
+ 'July' => 'Julio',
+ 'Jun' => 'Jun',
+ 'June' => 'Junio',
+ 'List Transactions' => 'Listar Transacciones',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'May',
+ 'May ' => 'Mayo',
+ 'Nov' => 'Nov',
+ 'November' => 'Noviembre',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'Reference' => 'Reference',
+ 'Sep' => 'Sep',
+ 'September' => 'Septiembre',
+ 'Subtotal' => 'Subtotal',
+ 'To' => 'Hasta ',
+};
+
+$self{subs} = {
+ 'ca_subtotal' => 'ca_subtotal',
+ 'chart_of_accounts' => 'chart_of_accounts',
+ 'list' => 'list',
+ 'list_transactions' => 'list_transactions',
+ 'listar_transacciones' => 'list_transactions',
+};
+
+1;
diff --git a/sql-ledger/locale/mx/cp b/sql-ledger/locale/mx/cp
new file mode 100644
index 0000000..95085e0
--- /dev/null
+++ b/sql-ledger/locale/mx/cp
@@ -0,0 +1,75 @@
+$self{texts} = {
+ 'Account' => 'Cuenta',
+ 'Address' => 'Dirección',
+ 'Amount' => 'Total',
+ 'Amount does not equal applied!' => 'Amount does not equal applied!',
+ 'Amount missing!' => 'Amount missing!',
+ 'Applied' => 'Applied',
+ 'Cannot post payment!' => 'Cannot post payment!',
+ 'Cannot process payment for a closed period!' => 'Cannot process payment for a closed period!',
+ 'Check' => 'Check',
+ 'Check printed!' => 'Check printed!',
+ 'Check printing failed!' => 'Check printing failed!',
+ 'Continue' => 'Continuar',
+ 'Currency' => 'Moneda',
+ 'Customer' => 'Cliente',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'Fecha',
+ 'Date missing!' => 'Date missing!',
+ 'Description' => 'Descripción',
+ 'Due' => 'Vence',
+ 'Exchangerate' => 'Tasa de Intercambio',
+ 'From' => 'Desde',
+ 'Invoice' => 'Factura',
+ 'Invoices' => 'Invoices',
+ 'Nothing applied!' => 'Nothing applied!',
+ 'Number' => 'Número',
+ 'Paid in full' => 'Paid in full',
+ 'Payment' => 'Pago',
+ 'Payment posted!' => 'Payment posted!',
+ 'Post' => 'Post',
+ 'Print' => 'Print',
+ 'Printer' => 'Impresora',
+ 'Project not on file!' => 'Project not on file!',
+ 'Receipt' => 'Receipt',
+ 'Reference' => 'Reference',
+ 'Screen' => 'Pantalla',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'To' => 'Hasta ',
+ 'Update' => 'Update',
+ 'Vendor' => 'Proveedor',
+ 'Vendor not on file!' => 'Vendor not on file!',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'list_invoices' => 'list_invoices',
+ 'name_selected' => 'name_selected',
+ 'payment' => 'payment',
+ 'post' => 'post',
+ 'print' => 'print',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'vendor_details' => 'vendor_details',
+ 'continuar' => 'continue',
+ 'post' => 'post',
+ 'print' => 'print',
+ 'update' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/mx/ct b/sql-ledger/locale/mx/ct
new file mode 100644
index 0000000..0db8902
--- /dev/null
+++ b/sql-ledger/locale/mx/ct
@@ -0,0 +1,69 @@
+$self{texts} = {
+ 'Add' => 'Agregar',
+ 'Address' => 'Dirección',
+ 'All' => 'Todos',
+ 'Bcc' => 'Bcc',
+ 'Cannot delete customer!' => 'Cannot delete customer!',
+ 'Cannot delete vendor!' => 'Cannot delete vendor!',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Contacto',
+ 'Continue' => 'Continuar',
+ 'Credit Limit' => 'Limite de Credito',
+ 'Customer deleted!' => 'Customer deleted!',
+ 'Customer saved!' => 'Customer saved!',
+ 'Customers' => 'Customers',
+ 'Delete' => 'Borrar',
+ 'Discount' => 'Descuento',
+ 'E-mail' => 'Correo Electrónico',
+ 'Fax' => 'Fax',
+ 'Include in Report' => 'Incluya en informe',
+ 'Invoice' => 'Factura',
+ 'Name' => 'Nombre',
+ 'Name missing!' => 'Name missing!',
+ 'Notes' => 'Notas',
+ 'Number' => 'Número',
+ 'Order' => 'Orden',
+ 'Orphaned' => 'Huerfano',
+ 'Phone' => 'Teléfono',
+ 'Save' => 'Salvar',
+ 'Ship to' => 'Ship to',
+ 'Tax Included' => 'Impuesto Incluido',
+ 'Taxable' => 'Gravable de Impuesto',
+ 'Terms: Net' => 'Crédito',
+ 'Transactions exist, cannot delete customer!' => 'Las transacciones existen, no pueden suprimir el cliente!',
+ 'Transactions exist, cannot delete vendor!' => 'Las transacciones existen, no pueden suprimir a proveedor',
+ 'Vendor deleted!' => 'Vendor deleted!',
+ 'Vendor saved!' => 'Vendor saved!',
+ 'Vendors' => 'Vendors',
+ 'days' => 'Días',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'customer_invoice' => 'customer_invoice',
+ 'customer_order' => 'customer_order',
+ 'delete' => 'delete',
+ 'delete_customer' => 'delete_customer',
+ 'delete_vendor' => 'delete_vendor',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'invoice' => 'invoice',
+ 'list_names' => 'list_names',
+ 'order' => 'order',
+ 'save' => 'save',
+ 'save_customer' => 'save_customer',
+ 'save_vendor' => 'save_vendor',
+ 'search' => 'search',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'vendor_order' => 'vendor_order',
+ 'agregar' => 'add',
+ 'continuar' => 'continue',
+ 'borrar' => 'delete',
+ 'factura' => 'invoice',
+ 'orden' => 'order',
+ 'salvar' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/mx/gl b/sql-ledger/locale/mx/gl
new file mode 100644
index 0000000..b0957b6
--- /dev/null
+++ b/sql-ledger/locale/mx/gl
@@ -0,0 +1,124 @@
+$self{texts} = {
+ 'AP Transaction' => 'AP Transaction',
+ 'AR Transaction' => 'AR Transaction',
+ 'Account' => 'Cuenta',
+ 'Add General Ledger Transaction' => 'Agregar Transacción - Mayor General',
+ 'Address' => 'Dirección',
+ 'All' => 'Todos',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Are you sure you want to delete Transaction' => '¿Está usted seguro de que desea suprimir la transacción?',
+ 'Asset' => 'Activo',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Balance' => 'Balance',
+ 'Cannot delete transaction!' => 'Cannot delete transaction!',
+ 'Cannot have a value in both Debit and Credit!' => 'No puede tener un valor en Débito y Crédito simultáneamente!',
+ 'Cannot post a transaction without a value!' => 'Cannot post a transaction without a value!',
+ 'Cannot post transaction for a closed period!' => 'No se puede registrar una transacción para un periodo cerrado',
+ 'Confirm!' => 'Confirmar!',
+ 'Continue' => 'Continuar',
+ 'Credit' => 'Crédito',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'Fecha',
+ 'Debit' => 'Débito',
+ 'Debit and credit out of balance!' => 'Débito y Crédito fuera de balance.',
+ 'Dec' => 'Dic',
+ 'December' => 'Diciembre',
+ 'Delete' => 'Borrar',
+ 'Description' => 'Descripción',
+ 'Edit General Ledger Transaction' => 'Editar Transacción de Mayor General',
+ 'Equity' => 'Capital',
+ 'Expense' => 'Egreso',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrero',
+ 'From' => 'Desde',
+ 'GIFI' => 'Código GIFI',
+ 'GL Transaction' => 'GL Transaction',
+ 'General Ledger' => 'Mayor General',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Incluya en informe',
+ 'Income' => 'Ingreso',
+ 'Jan' => 'Ene',
+ 'January' => 'Enero',
+ 'Jul' => 'Jul',
+ 'July' => 'Julio',
+ 'Jun' => 'Jun',
+ 'June' => 'Junio',
+ 'Liability' => 'Pasivo',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'May',
+ 'May ' => 'Mayo',
+ 'Notes' => 'Notas',
+ 'Nov' => 'Nov',
+ 'November' => 'Noviembre',
+ 'Number' => 'Número',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'Post' => 'Post',
+ 'Post as new' => 'Post as new',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Purchase Invoice' => 'Purchase Invoice',
+ 'Reference' => 'Reference',
+ 'Reference missing!' => 'Reference missing!',
+ 'Reports' => 'Reportes',
+ 'Sales Invoice' => 'Sales Invoice',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Sep' => 'Sep',
+ 'September' => 'Septiembre',
+ 'Source' => 'Fuente',
+ 'Subtotal' => 'Subtotal',
+ 'To' => 'Hasta ',
+ 'Transaction Date missing!' => 'Falta la fecha de la transacción!',
+ 'Transaction deleted!' => 'Transaction deleted!',
+ 'Transaction posted!' => 'Transaction posted!',
+ 'Update' => 'Update',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'Yes' => 'Si',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'form_row' => 'form_row',
+ 'generate_report' => 'generate_report',
+ 'gl_subtotal' => 'gl_subtotal',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'continuar' => 'continue',
+ 'borrar' => 'delete',
+ 'gl_transaction' => 'gl_transaction',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'update' => 'update',
+ 'si' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/mx/ic b/sql-ledger/locale/mx/ic
new file mode 100644
index 0000000..e5e1a86
--- /dev/null
+++ b/sql-ledger/locale/mx/ic
@@ -0,0 +1,206 @@
+$self{texts} = {
+ 'Active' => 'Active',
+ 'Add' => 'Agregar',
+ 'Add Assembly' => 'Agregar Ensamblaje',
+ 'Add Part' => 'Agregar Parte',
+ 'Add Purchase Order' => 'Agregar Orden de Compra',
+ 'Add Sales Order' => 'Agregar Nota de Remisión',
+ 'Add Service' => 'Agregar Servicio',
+ 'Address' => 'Dirección',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Assemblies' => 'Ensamblajes',
+ 'Assemblies restocked!' => 'Assemblies restocked!',
+ 'Assembly Number missing!' => 'No existe Numero de Ensamblaje!',
+ 'Attachment' => 'Adjunto',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'BOM' => 'BOM',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Bin',
+ 'Bought' => 'Comprado',
+ 'COGS' => 'Costo de Ventas',
+ 'Cannot delete item already invoiced!' => 'No puede suprimir el item ya facturado!',
+ 'Cannot delete item on order!' => 'No se puede eliminar un elemnto presente en una orden',
+ 'Cannot delete item which is part of an assembly!' => 'No puede suprimir un item que es parte de un ensamblaje!',
+ 'Cannot delete item!' => 'Cannot delete item!',
+ 'Cannot stock assemblies!' => 'Cannot stock assemblies!',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Contacto',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Copias',
+ 'Dec' => 'Dic',
+ 'December' => 'Diciembre',
+ 'Delete' => 'Borrar',
+ 'Delivery Date' => 'Delivery Date',
+ 'Description' => 'Descripción',
+ 'Drawing' => 'Drawing',
+ 'E-mail' => 'Correo Electrónico',
+ 'E-mail address missing!' => 'Falta E-mail!',
+ 'Edit Assembly' => 'Editar Ensamblaje',
+ 'Edit Part' => 'Editar Parte',
+ 'Edit Service' => 'Editar Servicio',
+ 'Expense' => 'Egreso',
+ 'Extended' => 'Extended',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrero',
+ 'From' => 'Desde',
+ 'Image' => 'Image',
+ 'In-line' => 'En linea',
+ 'Include in Report' => 'Incluya en informe',
+ 'Income' => 'Ingreso',
+ 'Individual Items' => 'Items Individuales',
+ 'Inventory' => 'Inventario',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'La cantidad en inventario debe ser cero antes de cambiar este ensamblaje a obsoleto!',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'La cantidad en inventario debe ser cero antes de cambiar esta parte a obsoleto',
+ 'Inventory quantity must be zero!' => 'La cantidad en inventario debe ser
+cero!',
+ 'Invoice' => 'Factura',
+ 'Invoice Date missing!' => 'Falta la Fecha de la Factura!',
+ 'Invoice Number' => 'Número de Factura',
+ 'Invoice Number missing!' => 'Falta el Número de Factura!',
+ 'Item deleted!' => 'Item deleted!',
+ 'Item not on file!' => '¡El artículo no se encuentra en archivo!',
+ 'Jan' => 'Ene',
+ 'January' => 'Enero',
+ 'Jul' => 'Jul',
+ 'July' => 'Julio',
+ 'Jun' => 'Jun',
+ 'June' => 'Junio',
+ 'Last Cost' => 'Ultimo Costo',
+ 'Line Total' => 'Total de la linea',
+ 'Link Accounts' => 'Enlazar Cuentas',
+ 'List Price' => 'Precio de Lista',
+ 'Make' => 'Marca',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'May',
+ 'May ' => 'Mayo',
+ 'Message' => 'Mensaje',
+ 'Microfiche' => 'Microfiche',
+ 'Model' => 'Modelo',
+ 'Name' => 'Nombre',
+ 'No.' => 'No.',
+ 'Notes' => 'Notas',
+ 'Nov' => 'Nov',
+ 'November' => 'Noviembre',
+ 'Number' => 'Número',
+ 'Number missing in Row' => 'No se encuentra el número en la fila',
+ 'Obsolete' => 'Obsoleto',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'On Hand' => 'En Existencia',
+ 'On Order' => 'On Order',
+ 'Order' => 'Orden',
+ 'Order Date missing!' => 'No se encuentra la fecha de orden!',
+ 'Order Number' => 'Orden Número',
+ 'Order Number missing!' => 'No se encuentra el número de orden!',
+ 'Ordered' => 'Ordered',
+ 'Orphaned' => 'Huerfano',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Lista de Empaque',
+ 'Packing List Date missing!' => '!Falta fecha en lista de empaque!',
+ 'Packing List Number missing!' => '!Falta nzmero en lista de empaque!',
+ 'Part' => 'Partes',
+ 'Part Number missing!' => 'Falta del número de pieza!',
+ 'Parts' => 'Partes',
+ 'Phone' => 'Teléfono',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Precio',
+ 'Printer' => 'Impresora',
+ 'Project' => 'Project',
+ 'Purchase Order' => 'Orden de Compra',
+ 'Qty' => 'Cantidad',
+ 'ROP' => 'ROP',
+ 'Recd' => 'Recd',
+ 'Required by' => 'Requerido por',
+ 'Sales' => 'Ventas',
+ 'Sales Order' => 'Orden de venta',
+ 'Save' => 'Salvar',
+ 'Screen' => 'Pantalla',
+ 'Select from one of the items below' => 'Seleccione uno de los items',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sell Price' => 'Precio de Venta',
+ 'Sep' => 'Sep',
+ 'September' => 'Septiembre',
+ 'Service' => 'Servicio',
+ 'Service Number missing!' => 'Falta el número de servicio!',
+ 'Services' => 'Servicios',
+ 'Ship' => 'Ship',
+ 'Ship to' => 'Ship to',
+ 'Short' => 'Corto',
+ 'Sold' => 'Vendido',
+ 'Stock Assembly' => 'Inventariar Ensamblaje?',
+ 'Subject' => 'Asunto',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'Impuesto',
+ 'To' => 'Hasta ',
+ 'Top Level' => 'Top Level',
+ 'Total' => 'Total',
+ 'Unit' => 'Unidad',
+ 'Unit of measure' => 'Unidad de medida',
+ 'Update' => 'Update',
+ 'Updated' => 'Updated',
+ 'Weight' => 'Peso',
+ 'What type of item is this?' => '¿Que tipo de Item es este?',
+ 'ea' => 'c/u',
+ 'emailed to' => 'Se envio email a',
+ 'hr' => 'hr',
+ 'sent to printer' => 'Enviado a la impresora',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'assembly_row' => 'assembly_row',
+ 'check_form' => 'check_form',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'delete_assembly' => 'delete_assembly',
+ 'delete_item' => 'delete_item',
+ 'delete_part' => 'delete_part',
+ 'delete_service' => 'delete_service',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'link_part' => 'link_part',
+ 'list_assemblies' => 'list_assemblies',
+ 'makemodel_row' => 'makemodel_row',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'parts_subtotal' => 'parts_subtotal',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'restock_assemblies' => 'restock_assemblies',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'stock_assembly' => 'stock_assembly',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'agregar' => 'add',
+ 'agregar_ensamblaje' => 'add_assembly',
+ 'agregar_parte' => 'add_part',
+ 'agregar_servicio' => 'add_service',
+ 'continuar' => 'continue',
+ 'borrar' => 'delete',
+ 'editar_ensamblaje' => 'edit_assembly',
+ 'editar_parte' => 'edit_part',
+ 'editar_servicio' => 'edit_service',
+ 'salvar' => 'save',
+ 'update' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/mx/io b/sql-ledger/locale/mx/io
new file mode 100644
index 0000000..89258a8
--- /dev/null
+++ b/sql-ledger/locale/mx/io
@@ -0,0 +1,106 @@
+$self{texts} = {
+ 'Add Purchase Order' => 'Agregar Orden de Compra',
+ 'Add Sales Order' => 'Agregar Nota de Remisión',
+ 'Address' => 'Dirección',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Attachment' => 'Adjunto',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Bin',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Contacto',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Copias',
+ 'Dec' => 'Dic',
+ 'December' => 'Diciembre',
+ 'Delivery Date' => 'Delivery Date',
+ 'Description' => 'Descripción',
+ 'E-mail' => 'Correo Electrónico',
+ 'E-mail address missing!' => 'Falta E-mail!',
+ 'Extended' => 'Extended',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrero',
+ 'In-line' => 'En linea',
+ 'Invoice' => 'Factura',
+ 'Invoice Date missing!' => 'Falta la Fecha de la Factura!',
+ 'Invoice Number missing!' => 'Falta el Número de Factura!',
+ 'Item not on file!' => '¡El artículo no se encuentra en archivo!',
+ 'Jan' => 'Ene',
+ 'January' => 'Enero',
+ 'Jul' => 'Jul',
+ 'July' => 'Julio',
+ 'Jun' => 'Jun',
+ 'June' => 'Junio',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'May',
+ 'May ' => 'Mayo',
+ 'Message' => 'Mensaje',
+ 'Name' => 'Nombre',
+ 'No.' => 'No.',
+ 'Nov' => 'Nov',
+ 'November' => 'Noviembre',
+ 'Number' => 'Número',
+ 'Number missing in Row' => 'No se encuentra el número en la fila',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'Order' => 'Orden',
+ 'Order Date missing!' => 'No se encuentra la fecha de orden!',
+ 'Order Number missing!' => 'No se encuentra el número de orden!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Lista de Empaque',
+ 'Packing List Date missing!' => '!Falta fecha en lista de empaque!',
+ 'Packing List Number missing!' => '!Falta nzmero en lista de empaque!',
+ 'Part' => 'Partes',
+ 'Phone' => 'Teléfono',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Precio',
+ 'Printer' => 'Impresora',
+ 'Project' => 'Project',
+ 'Purchase Order' => 'Orden de Compra',
+ 'Qty' => 'Cantidad',
+ 'Recd' => 'Recd',
+ 'Required by' => 'Requerido por',
+ 'Sales Order' => 'Orden de venta',
+ 'Screen' => 'Pantalla',
+ 'Select from one of the items below' => 'Seleccione uno de los items',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sep' => 'Sep',
+ 'September' => 'Septiembre',
+ 'Service' => 'Servicio',
+ 'Ship' => 'Ship',
+ 'Ship to' => 'Ship to',
+ 'Subject' => 'Asunto',
+ 'To' => 'Hasta ',
+ 'Unit' => 'Unidad',
+ 'What type of item is this?' => '¿Que tipo de Item es este?',
+ 'emailed to' => 'Se envio email a',
+ 'sent to printer' => 'Enviado a la impresora',
+};
+
+$self{subs} = {
+ 'check_form' => 'check_form',
+ 'customer_details' => 'customer_details',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'continuar' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/mx/ir b/sql-ledger/locale/mx/ir
new file mode 100644
index 0000000..2df2b83
--- /dev/null
+++ b/sql-ledger/locale/mx/ir
@@ -0,0 +1,178 @@
+$self{texts} = {
+ 'Account' => 'Cuenta',
+ 'Add Purchase Invoice' => 'Add Purchase Invoice',
+ 'Add Purchase Order' => 'Agregar Orden de Compra',
+ 'Add Sales Order' => 'Agregar Nota de Remisión',
+ 'Address' => 'Dirección',
+ 'Amount' => 'Total',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Are you sure you want to delete Invoice Number' => '¿Esta seguro de que desea borrar la Factura No.:',
+ 'Attachment' => 'Adjunto',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Bin',
+ 'Cannot delete invoice!' => 'Cannot delete invoice!',
+ 'Cannot post invoice for a closed period!' => 'No se puede registrar factura para un periodo cerrado!',
+ 'Cannot post invoice!' => 'Cannot post invoice!',
+ 'Cannot post payment for a closed period!' => 'No se puede registrar pago para un periodo cerrado',
+ 'Cc' => 'Cc',
+ 'Confirm!' => 'Confirmar!',
+ 'Contact' => 'Contacto',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Copias',
+ 'Currency' => 'Moneda',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'Fecha',
+ 'Date Due' => 'Fecha de Vencimiento',
+ 'Dec' => 'Dic',
+ 'December' => 'Diciembre',
+ 'Delete' => 'Borrar',
+ 'Delivery Date' => 'Delivery Date',
+ 'Description' => 'Descripción',
+ 'E-mail' => 'Correo Electrónico',
+ 'E-mail address missing!' => 'Falta E-mail!',
+ 'Edit Purchase Invoice' => 'Edit Purchase Invoice',
+ 'Exch' => 'Interc.',
+ 'Exchangerate' => 'Tasa de Intercambio',
+ 'Exchangerate for payment missing!' => 'No se encuentra pago por cambio de moneda',
+ 'Exchangerate missing!' => 'No se encuentra cambio de moneda',
+ 'Extended' => 'Extended',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrero',
+ 'In-line' => 'En linea',
+ 'Invoice' => 'Factura',
+ 'Invoice Date' => 'Fecha de Factura',
+ 'Invoice Date missing!' => 'Falta la Fecha de la Factura!',
+ 'Invoice Number' => 'Número de Factura',
+ 'Invoice Number missing!' => 'Falta el Número de Factura!',
+ 'Invoice deleted!' => 'Invoice deleted!',
+ 'Invoice posted!' => 'Invoice posted!',
+ 'Item not on file!' => '¡El artículo no se encuentra en archivo!',
+ 'Jan' => 'Ene',
+ 'January' => 'Enero',
+ 'Jul' => 'Jul',
+ 'July' => 'Julio',
+ 'Jun' => 'Jun',
+ 'June' => 'Junio',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'May',
+ 'May ' => 'Mayo',
+ 'Message' => 'Mensaje',
+ 'Name' => 'Nombre',
+ 'No.' => 'No.',
+ 'Notes' => 'Notas',
+ 'Nov' => 'Nov',
+ 'November' => 'Noviembre',
+ 'Number' => 'Número',
+ 'Number missing in Row' => 'No se encuentra el número en la fila',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'Order' => 'Orden',
+ 'Order Date missing!' => 'No se encuentra la fecha de orden!',
+ 'Order Number' => 'Orden Número',
+ 'Order Number missing!' => 'No se encuentra el número de orden!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Lista de Empaque',
+ 'Packing List Date missing!' => '!Falta fecha en lista de empaque!',
+ 'Packing List Number missing!' => '!Falta nzmero en lista de empaque!',
+ 'Part' => 'Partes',
+ 'Payment date missing!' => 'No se encuentra la fecha de Pago!',
+ 'Payments' => 'Pagos',
+ 'Phone' => 'Teléfono',
+ 'Post' => 'Post',
+ 'Post as new' => 'Post as new',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Precio',
+ 'Printer' => 'Impresora',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Purchase Order' => 'Orden de Compra',
+ 'Qty' => 'Cantidad',
+ 'Recd' => 'Recd',
+ 'Record in' => 'Registrar en',
+ 'Required by' => 'Requerido por',
+ 'Sales Order' => 'Orden de venta',
+ 'Screen' => 'Pantalla',
+ 'Select from one of the items below' => 'Seleccione uno de los items',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sep' => 'Sep',
+ 'September' => 'Septiembre',
+ 'Service' => 'Servicio',
+ 'Ship' => 'Ship',
+ 'Ship to' => 'Ship to',
+ 'Source' => 'Fuente',
+ 'Subject' => 'Asunto',
+ 'Subtotal' => 'Subtotal',
+ 'Tax Included' => 'Impuesto Incluido',
+ 'To' => 'Hasta ',
+ 'Total' => 'Total',
+ 'Unit' => 'Unidad',
+ 'Update' => 'Update',
+ 'Vendor' => 'Proveedor',
+ 'Vendor missing!' => 'Vendor missing!',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'What type of item is this?' => '¿Que tipo de Item es este?',
+ 'Yes' => 'Si',
+ 'ea' => 'c/u',
+ 'emailed to' => 'Se envio email a',
+ 'sent to printer' => 'Enviado a la impresora',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'continuar' => 'continue',
+ 'borrar' => 'delete',
+ 'orden' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'update' => 'update',
+ 'si' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/mx/is b/sql-ledger/locale/mx/is
new file mode 100644
index 0000000..9286ecb
--- /dev/null
+++ b/sql-ledger/locale/mx/is
@@ -0,0 +1,185 @@
+$self{texts} = {
+ 'Account' => 'Cuenta',
+ 'Add Purchase Order' => 'Agregar Orden de Compra',
+ 'Add Sales Invoice' => 'Add Sales Invoice',
+ 'Add Sales Order' => 'Agregar Nota de Remisión',
+ 'Address' => 'Dirección',
+ 'Amount' => 'Total',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Are you sure you want to delete Invoice Number' => '¿Esta seguro de que desea borrar la Factura No.:',
+ 'Attachment' => 'Adjunto',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Bin',
+ 'Cannot delete invoice!' => 'Cannot delete invoice!',
+ 'Cannot post invoice for a closed period!' => 'No se puede registrar factura para un periodo cerrado!',
+ 'Cannot post invoice!' => 'Cannot post invoice!',
+ 'Cannot post payment for a closed period!' => 'No se puede registrar pago para un periodo cerrado',
+ 'Cc' => 'Cc',
+ 'Confirm!' => 'Confirmar!',
+ 'Contact' => 'Contacto',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Copias',
+ 'Credit Limit' => 'Limite de Credito',
+ 'Currency' => 'Moneda',
+ 'Customer' => 'Cliente',
+ 'Customer missing!' => 'Customer missing!',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'Fecha',
+ 'Date Due' => 'Fecha de Vencimiento',
+ 'Dec' => 'Dic',
+ 'December' => 'Diciembre',
+ 'Delete' => 'Borrar',
+ 'Delivery Date' => 'Delivery Date',
+ 'Description' => 'Descripción',
+ 'E-mail' => 'Correo Electrónico',
+ 'E-mail address missing!' => 'Falta E-mail!',
+ 'Edit Sales Invoice' => 'Edit Sales Invoice',
+ 'Exch' => 'Interc.',
+ 'Exchangerate' => 'Tasa de Intercambio',
+ 'Exchangerate for payment missing!' => 'No se encuentra pago por cambio de moneda',
+ 'Exchangerate missing!' => 'No se encuentra cambio de moneda',
+ 'Extended' => 'Extended',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrero',
+ 'In-line' => 'En linea',
+ 'Invoice' => 'Factura',
+ 'Invoice Date' => 'Fecha de Factura',
+ 'Invoice Date missing!' => 'Falta la Fecha de la Factura!',
+ 'Invoice Number' => 'Número de Factura',
+ 'Invoice Number missing!' => 'Falta el Número de Factura!',
+ 'Invoice deleted!' => 'Invoice deleted!',
+ 'Invoice posted!' => 'Invoice posted!',
+ 'Item not on file!' => '¡El artículo no se encuentra en archivo!',
+ 'Jan' => 'Ene',
+ 'January' => 'Enero',
+ 'Jul' => 'Jul',
+ 'July' => 'Julio',
+ 'Jun' => 'Jun',
+ 'June' => 'Junio',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'May',
+ 'May ' => 'Mayo',
+ 'Message' => 'Mensaje',
+ 'Name' => 'Nombre',
+ 'No.' => 'No.',
+ 'Notes' => 'Notas',
+ 'Nov' => 'Nov',
+ 'November' => 'Noviembre',
+ 'Number' => 'Número',
+ 'Number missing in Row' => 'No se encuentra el número en la fila',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'Order' => 'Orden',
+ 'Order Date missing!' => 'No se encuentra la fecha de orden!',
+ 'Order Number' => 'Orden Número',
+ 'Order Number missing!' => 'No se encuentra el número de orden!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Lista de Empaque',
+ 'Packing List Date missing!' => '!Falta fecha en lista de empaque!',
+ 'Packing List Number missing!' => '!Falta nzmero en lista de empaque!',
+ 'Part' => 'Partes',
+ 'Payment date missing!' => 'No se encuentra la fecha de Pago!',
+ 'Payments' => 'Pagos',
+ 'Phone' => 'Teléfono',
+ 'Post' => 'Post',
+ 'Post as new' => 'Post as new',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Precio',
+ 'Print' => 'Print',
+ 'Printer' => 'Impresora',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Purchase Order' => 'Orden de Compra',
+ 'Qty' => 'Cantidad',
+ 'Recd' => 'Recd',
+ 'Record in' => 'Registrar en',
+ 'Remaining' => 'Faltan',
+ 'Required by' => 'Requerido por',
+ 'Sales Order' => 'Orden de venta',
+ 'Screen' => 'Pantalla',
+ 'Select from one of the items below' => 'Seleccione uno de los items',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sep' => 'Sep',
+ 'September' => 'Septiembre',
+ 'Service' => 'Servicio',
+ 'Ship' => 'Ship',
+ 'Ship to' => 'Ship to',
+ 'Ship via' => 'Ship via',
+ 'Source' => 'Fuente',
+ 'Subject' => 'Asunto',
+ 'Subtotal' => 'Subtotal',
+ 'Tax Included' => 'Impuesto Incluido',
+ 'To' => 'Hasta ',
+ 'Total' => 'Total',
+ 'Unit' => 'Unidad',
+ 'Update' => 'Update',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'What type of item is this?' => '¿Que tipo de Item es este?',
+ 'Yes' => 'Si',
+ 'ea' => 'c/u',
+ 'emailed to' => 'Se envio email a',
+ 'sent to printer' => 'Enviado a la impresora',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'continuar' => 'continue',
+ 'borrar' => 'delete',
+ 'correo_electrónico' => 'e_mail',
+ 'orden' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'si' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/mx/login b/sql-ledger/locale/mx/login
new file mode 100644
index 0000000..0e7f5b8
--- /dev/null
+++ b/sql-ledger/locale/mx/login
@@ -0,0 +1,28 @@
+$self{texts} = {
+ 'About' => 'Acerca',
+ 'Accounting' => 'Contabilidad',
+ 'Database Host' => 'Servidor de Base de Datos',
+ 'Dataset' => 'Set de datos',
+ 'Incorrect Dataset version!' => '!Versisn incorrecta de conjunto de datos!',
+ 'Incorrect Password!' => 'Contraseña Incorrecta!',
+ 'Licensed to' => 'Licenciado a',
+ 'Login' => 'Login',
+ 'Name' => 'Nombre',
+ 'Password' => 'Contraseña',
+ 'User' => 'Usuario',
+ 'Version' => 'Versión',
+ 'You are logged out!' => 'You are logged out!',
+ 'You did not enter a name!' => 'No introdujo un nombre!',
+ 'is not a member!' => '!no es miembro!',
+ 'localhost' => 'servidor local',
+};
+
+$self{subs} = {
+ 'company_logo' => 'company_logo',
+ 'login' => 'login',
+ 'login_screen' => 'login_screen',
+ 'logout' => 'logout',
+ 'login' => 'login',
+};
+
+1;
diff --git a/sql-ledger/locale/mx/menu b/sql-ledger/locale/mx/menu
new file mode 100644
index 0000000..c0f9e4b
--- /dev/null
+++ b/sql-ledger/locale/mx/menu
@@ -0,0 +1,72 @@
+$self{texts} = {
+ 'AP' => 'Ctas X Pagar',
+ 'AP Aging' => 'Envejecimiento - CxP',
+ 'AR' => 'Ctas X Cobrar',
+ 'AR Aging' => 'Envejecimiento - CxC ',
+ 'Accounting Menu' => 'Menú de Contabilidad',
+ 'Add Account' => 'Agregar Cuenta',
+ 'Add Assembly' => 'Agregar Ensamblaje',
+ 'Add Customer' => 'Agregar Cliente',
+ 'Add GIFI' => 'Añadir código GIFI',
+ 'Add Part' => 'Agregar Parte',
+ 'Add Project' => 'Add Project',
+ 'Add Service' => 'Agregar Servicio',
+ 'Add Transaction' => 'Agregar Transaccion',
+ 'Add Vendor' => 'Agregar Proveedor',
+ 'Assemblies' => 'Ensamblajes',
+ 'Audit Control' => 'Control de auditoria',
+ 'Backup' => 'Respaldo',
+ 'Balance Sheet' => 'Hoja de Balance',
+ 'Cash' => 'Cash',
+ 'Chart of Accounts' => 'Catálogo Contable',
+ 'Check' => 'Check',
+ 'Customers' => 'Customers',
+ 'General Ledger' => 'Mayor General',
+ 'Goods & Services' => 'Bienes y servicios',
+ 'HTML Templates' => 'Plantillas HTML',
+ 'Income Statement' => 'Estado de Cuentas',
+ 'Invoice' => 'Factura',
+ 'LaTeX Templates' => 'Plantillas de LaTeX',
+ 'List Accounts' => 'Listar Cuentas',
+ 'List GIFI' => 'Listar código GIFI',
+ 'Logout' => 'Salir',
+ 'Order Entry' => 'Orden de Entrada',
+ 'Packing List' => 'Lista de Empaque',
+ 'Parts' => 'Partes',
+ 'Payment' => 'Pago',
+ 'Payments' => 'Pagos',
+ 'Preferences' => 'Preferencias',
+ 'Projects' => 'Projects',
+ 'Purchase Invoice' => 'Purchase Invoice',
+ 'Purchase Order' => 'Orden de Compra',
+ 'Purchase Orders' => 'Ordenes de Compra',
+ 'Receipt' => 'Receipt',
+ 'Receipts' => 'Receipts',
+ 'Reconciliation' => 'Reconciliation',
+ 'Reports' => 'Reportes',
+ 'Sales Invoice' => 'Sales Invoice',
+ 'Sales Order' => 'Orden de venta',
+ 'Sales Orders' => 'Ordenes de venta',
+ 'Save to File' => 'Guardar en archivo',
+ 'Send by E-Mail' => 'Enviar por E-Mail',
+ 'Services' => 'Servicios',
+ 'Statement' => 'Statement',
+ 'Stock Assembly' => 'Inventariar Ensamblaje?',
+ 'Stylesheet' => 'Estilo de hoja',
+ 'System' => 'Sistema',
+ 'Tax collected' => 'Tax collected',
+ 'Tax paid' => 'Tax paid',
+ 'Transactions' => 'Transacciones',
+ 'Trial Balance' => 'Balance De Comprobación',
+ 'Vendors' => 'Vendors',
+ 'Version' => 'Versión',
+ 'localhost' => 'servidor local',
+};
+
+$self{subs} = {
+ 'acc_menu' => 'acc_menu',
+ 'display' => 'display',
+ 'section_menu' => 'section_menu',
+};
+
+1;
diff --git a/sql-ledger/locale/mx/oe b/sql-ledger/locale/mx/oe
new file mode 100644
index 0000000..6acc57a
--- /dev/null
+++ b/sql-ledger/locale/mx/oe
@@ -0,0 +1,200 @@
+$self{texts} = {
+ 'Add' => 'Agregar',
+ 'Add Purchase Invoice' => 'Add Purchase Invoice',
+ 'Add Purchase Order' => 'Agregar Orden de Compra',
+ 'Add Sales Invoice' => 'Add Sales Invoice',
+ 'Add Sales Order' => 'Agregar Nota de Remisión',
+ 'Address' => 'Dirección',
+ 'Amount' => 'Total',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Are you sure you want to delete Order Number' => '¿Esta seguro de que desea
+borrar la Orden No.:?',
+ 'Attachment' => 'Adjunto',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Bin',
+ 'C' => 'C',
+ 'Cannot delete order!' => 'Cannot delete order!',
+ 'Cannot save order!' => 'Cannot save order!',
+ 'Cc' => 'Cc',
+ 'Closed' => 'Cerrado',
+ 'Confirm!' => 'Confirmar!',
+ 'Contact' => 'Contacto',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Copias',
+ 'Credit Limit' => 'Limite de Credito',
+ 'Curr' => 'Mon.',
+ 'Currency' => 'Moneda',
+ 'Customer' => 'Cliente',
+ 'Customer missing!' => 'Customer missing!',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'Fecha',
+ 'Dec' => 'Dic',
+ 'December' => 'Diciembre',
+ 'Delete' => 'Borrar',
+ 'Delivery Date' => 'Delivery Date',
+ 'Description' => 'Descripción',
+ 'E-mail' => 'Correo Electrónico',
+ 'E-mail address missing!' => 'Falta E-mail!',
+ 'Edit Purchase Order' => 'Editar Orden de Compra',
+ 'Edit Sales Order' => 'Editar Remisión',
+ 'Exchangerate' => 'Tasa de Intercambio',
+ 'Exchangerate missing!' => 'No se encuentra cambio de moneda',
+ 'Extended' => 'Extended',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrero',
+ 'From' => 'Desde',
+ 'ID' => 'ID',
+ 'In-line' => 'En linea',
+ 'Include in Report' => 'Incluya en informe',
+ 'Invoice' => 'Factura',
+ 'Invoice Date missing!' => 'Falta la Fecha de la Factura!',
+ 'Invoice Number missing!' => 'Falta el Número de Factura!',
+ 'Item not on file!' => '¡El artículo no se encuentra en archivo!',
+ 'Jan' => 'Ene',
+ 'January' => 'Enero',
+ 'Jul' => 'Jul',
+ 'July' => 'Julio',
+ 'Jun' => 'Jun',
+ 'June' => 'Junio',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'May',
+ 'May ' => 'Mayo',
+ 'Message' => 'Mensaje',
+ 'Name' => 'Nombre',
+ 'No.' => 'No.',
+ 'Notes' => 'Notas',
+ 'Nov' => 'Nov',
+ 'November' => 'Noviembre',
+ 'Number' => 'Número',
+ 'Number missing in Row' => 'No se encuentra el número en la fila',
+ 'O' => 'O',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'Open' => 'Abierto',
+ 'Order' => 'Orden',
+ 'Order Date' => 'Fecha de Orden',
+ 'Order Date missing!' => 'No se encuentra la fecha de orden!',
+ 'Order Number' => 'Orden Número',
+ 'Order Number missing!' => 'No se encuentra el número de orden!',
+ 'Order deleted!' => 'Order deleted!',
+ 'Order saved!' => 'Order saved!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Lista de Empaque',
+ 'Packing List Date missing!' => '!Falta fecha en lista de empaque!',
+ 'Packing List Number missing!' => '!Falta nzmero en lista de empaque!',
+ 'Part' => 'Partes',
+ 'Phone' => 'Teléfono',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Precio',
+ 'Print' => 'Print',
+ 'Printer' => 'Impresora',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Purchase Order' => 'Orden de Compra',
+ 'Purchase Orders' => 'Ordenes de Compra',
+ 'Qty' => 'Cantidad',
+ 'Recd' => 'Recd',
+ 'Remaining' => 'Faltan',
+ 'Required by' => 'Requerido por',
+ 'Sales Order' => 'Orden de venta',
+ 'Sales Orders' => 'Ordenes de venta',
+ 'Save' => 'Salvar',
+ 'Save as new' => 'Save as new',
+ 'Screen' => 'Pantalla',
+ 'Select from one of the items below' => 'Seleccione uno de los items',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sep' => 'Sep',
+ 'September' => 'Septiembre',
+ 'Service' => 'Servicio',
+ 'Ship' => 'Ship',
+ 'Ship to' => 'Ship to',
+ 'Ship via' => 'Ship via',
+ 'Subject' => 'Asunto',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'Impuesto',
+ 'Tax Included' => 'Impuesto Incluido',
+ 'Terms: Net' => 'Crédito',
+ 'To' => 'Hasta ',
+ 'Total' => 'Total',
+ 'Unit' => 'Unidad',
+ 'Update' => 'Update',
+ 'Vendor' => 'Proveedor',
+ 'Vendor missing!' => 'Vendor missing!',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'What type of item is this?' => '¿Que tipo de Item es este?',
+ 'Yes' => 'Si',
+ 'days' => 'Días',
+ 'ea' => 'c/u',
+ 'emailed to' => 'Se envio email a',
+ 'sent to printer' => 'Enviado a la impresora',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_backorder' => 'create_backorder',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice' => 'invoice',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'order_links' => 'order_links',
+ 'orders' => 'orders',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_order' => 'prepare_order',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'save' => 'save',
+ 'save_as_new' => 'save_as_new',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'subtotal' => 'subtotal',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'agregar' => 'add',
+ 'continuar' => 'continue',
+ 'borrar' => 'delete',
+ 'correo_electrónico' => 'e_mail',
+ 'factura' => 'invoice',
+ 'print' => 'print',
+ 'salvar' => 'save',
+ 'save_as_new' => 'save_as_new',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'si' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/mx/pe b/sql-ledger/locale/mx/pe
new file mode 100644
index 0000000..e1306ae
--- /dev/null
+++ b/sql-ledger/locale/mx/pe
@@ -0,0 +1,35 @@
+$self{texts} = {
+ 'Add' => 'Agregar',
+ 'Add Project' => 'Add Project',
+ 'All' => 'Todos',
+ 'Continue' => 'Continuar',
+ 'Delete' => 'Borrar',
+ 'Description' => 'Descripción',
+ 'Edit Project' => 'Edit Project',
+ 'Number' => 'Número',
+ 'Orphaned' => 'Huerfano',
+ 'Project' => 'Project',
+ 'Project Number missing!' => 'Project Number missing!',
+ 'Project deleted!' => 'Project deleted!',
+ 'Project saved!' => 'Project saved!',
+ 'Projects' => 'Projects',
+ 'Save' => 'Salvar',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'agregar' => 'add',
+ 'continuar' => 'continue',
+ 'borrar' => 'delete',
+ 'salvar' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/mx/rc b/sql-ledger/locale/mx/rc
new file mode 100644
index 0000000..7e0dbb1
--- /dev/null
+++ b/sql-ledger/locale/mx/rc
@@ -0,0 +1,37 @@
+$self{texts} = {
+ 'Account' => 'Cuenta',
+ 'Balance' => 'Balance',
+ 'Cleared Balance' => 'Cleared Balance',
+ 'Continue' => 'Continuar',
+ 'Date' => 'Fecha',
+ 'Deposit' => 'Deposit',
+ 'Description' => 'Descripción',
+ 'Difference' => 'Difference',
+ 'Done' => 'Done',
+ 'Exchangerate Difference' => 'Exchangerate Difference',
+ 'From' => 'Desde',
+ 'Out of balance!' => 'Out of balance!',
+ 'Payment' => 'Pago',
+ 'Reconciliation' => 'Reconciliation',
+ 'Select all' => 'Select all',
+ 'Source' => 'Fuente',
+ 'Statement Balance' => 'Statement Balance',
+ 'To' => 'Hasta ',
+ 'Update' => 'Update',
+};
+
+$self{subs} = {
+ 'continue' => 'continue',
+ 'display_form' => 'display_form',
+ 'done' => 'done',
+ 'get_payments' => 'get_payments',
+ 'reconciliation' => 'reconciliation',
+ 'select_all' => 'select_all',
+ 'update' => 'update',
+ 'continuar' => 'continue',
+ 'done' => 'done',
+ 'select_all' => 'select_all',
+ 'update' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/mx/rp b/sql-ledger/locale/mx/rp
new file mode 100644
index 0000000..f198c6f
--- /dev/null
+++ b/sql-ledger/locale/mx/rp
@@ -0,0 +1,117 @@
+$self{texts} = {
+ 'AP Aging' => 'Envejecimiento - CxP',
+ 'AR Aging' => 'Envejecimiento - CxC ',
+ 'Account' => 'Cuenta',
+ 'Accounts' => 'Cuentas',
+ 'Amount' => 'Total',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Attachment' => 'Adjunto',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Balance Sheet' => 'Hoja de Balance',
+ 'Bcc' => 'Bcc',
+ 'Cash based' => 'Cash based',
+ 'Cc' => 'Cc',
+ 'Compare to' => 'Comparar a',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Copias',
+ 'Credit' => 'Crédito',
+ 'Current' => 'Current',
+ 'Customer' => 'Cliente',
+ 'Date' => 'Fecha',
+ 'Debit' => 'Débito',
+ 'Dec' => 'Dic',
+ 'December' => 'Diciembre',
+ 'Decimalplaces' => 'Decimalplaces',
+ 'Description' => 'Descripción',
+ 'Due' => 'Vence',
+ 'E-mail' => 'Correo Electrónico',
+ 'E-mail Statement to' => 'E-mail Statement to',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrero',
+ 'From' => 'Desde',
+ 'GIFI' => 'Código GIFI',
+ 'Heading' => 'Encabezado',
+ 'ID' => 'ID',
+ 'In-line' => 'En linea',
+ 'Include in Report' => 'Incluya en informe',
+ 'Income Statement' => 'Estado de Cuentas',
+ 'Invoice' => 'Factura',
+ 'Jan' => 'Ene',
+ 'January' => 'Enero',
+ 'Jul' => 'Jul',
+ 'July' => 'Julio',
+ 'Jun' => 'Jun',
+ 'June' => 'Junio',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'May',
+ 'May ' => 'Mayo',
+ 'Message' => 'Mensaje',
+ 'N/A' => 'N/A',
+ 'Nothing selected!' => 'Nothing selected!',
+ 'Nov' => 'Nov',
+ 'November' => 'Noviembre',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'PDF' => 'PDF',
+ 'Payments' => 'Pagos',
+ 'Postscript' => 'Postscript',
+ 'Print' => 'Print',
+ 'Printer' => 'Impresora',
+ 'Receipts' => 'Receipts',
+ 'Report for' => 'Informe para',
+ 'Retained Earnings' => 'Ganacias Retenidas',
+ 'Screen' => 'Pantalla',
+ 'Select all' => 'Select all',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sep' => 'Sep',
+ 'September' => 'Septiembre',
+ 'Source' => 'Fuente',
+ 'Standard' => 'Estándard',
+ 'Statement' => 'Statement',
+ 'Statement sent to' => 'Statement sent to',
+ 'Statements sent to printer!' => 'Statements sent to printer!',
+ 'Subject' => 'Asunto',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'Impuesto',
+ 'Tax collected' => 'Tax collected',
+ 'Tax paid' => 'Tax paid',
+ 'To' => 'Hasta ',
+ 'Total' => 'Total',
+ 'Trial Balance' => 'Balance De Comprobación',
+ 'Vendor' => 'Proveedor',
+ 'as at' => 'as at',
+ 'collected on sales' => 'ingresado en ventas',
+ 'for Period' => 'para el período',
+ 'paid on purchases' => 'pagado en compras',
+ 'to' => 'to',
+};
+
+$self{subs} = {
+ 'aging' => 'aging',
+ 'continue' => 'continue',
+ 'e_mail' => 'e_mail',
+ 'generate_ap_aging' => 'generate_ap_aging',
+ 'generate_ar_aging' => 'generate_ar_aging',
+ 'generate_balance_sheet' => 'generate_balance_sheet',
+ 'generate_income_statement' => 'generate_income_statement',
+ 'generate_tax_report' => 'generate_tax_report',
+ 'generate_trial_balance' => 'generate_trial_balance',
+ 'list_payments' => 'list_payments',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'report' => 'report',
+ 'select_all' => 'select_all',
+ 'send_email' => 'send_email',
+ 'statement_details' => 'statement_details',
+ 'tax_subtotal' => 'tax_subtotal',
+ 'continuar' => 'continue',
+ 'correo_electrónico' => 'e_mail',
+ 'print' => 'print',
+ 'select_all' => 'select_all',
+};
+
+1;
diff --git a/sql-ledger/locale/nl/COPYING b/sql-ledger/locale/nl/COPYING
new file mode 100644
index 0000000..c5dd519
--- /dev/null
+++ b/sql-ledger/locale/nl/COPYING
@@ -0,0 +1,26 @@
+######################################################################
+# SQL-Ledger Accounting
+# Copyright (c) 2001
+#
+# Dutch texts:
+#
+# Author: AJ Hettema <Ignite@ecosse.net>
+# Oscar Buijten <oscar@elbie.com>
+# Bert Tijhuis <domino@dse.nl>
+# Paul Tammes <ptammes@home.nl>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+#######################################################################
+
diff --git a/sql-ledger/locale/nl/LANGUAGE b/sql-ledger/locale/nl/LANGUAGE
new file mode 100644
index 0000000..890d7d5
--- /dev/null
+++ b/sql-ledger/locale/nl/LANGUAGE
@@ -0,0 +1 @@
+Dutch
diff --git a/sql-ledger/locale/nl/Num2text b/sql-ledger/locale/nl/Num2text
new file mode 100644
index 0000000..777c2f3
--- /dev/null
+++ b/sql-ledger/locale/nl/Num2text
@@ -0,0 +1,161 @@
+#=====================================================================
+# SQL-Ledger Accounting
+# Copyright (C) 2002
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+# Contributors: Paul Tammes <finance@bermuda-holding.com>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#======================================================================
+#
+# this is a variation of the Lingua package
+# written for check and receipt printing
+# it returns a properly formatted text string
+# for a number up to 10**12
+
+sub init {
+ my $self = shift;
+
+ %{ $self->{numbername} } =
+ (0 => 'nul',
+ 1 => 'een',
+ 2 => 'twee',
+ 3 => 'drie',
+ 4 => 'vier',
+ 5 => 'vijf',
+ 6 => 'zes',
+ 7 => 'zeven',
+ 8 => 'acht',
+ 9 => 'negen',
+ 10 => 'tien',
+ 11 => 'elf',
+ 12 => 'twalf',
+ 13 => 'dertien',
+ 14 => 'veertien',
+ 15 => 'vijftien',
+ 16 => 'zestien',
+ 17 => 'zeventien',
+ 18 => 'achtien',
+ 19 => 'negentien',
+ 20 => 'twintig',
+ 30 => 'dertig',
+ 40 => 'veertig',
+ 50 => 'vijftig',
+ 60 => 'zestig',
+ 70 => 'zeventig',
+ 80 => 'tachtig',
+ 90 => 'negentig',
+ 10**2 => 'honderd',
+ 10**3 => 'duizend',
+ 10**6 => 'miljoen',
+ 10**9 => 'miljard',
+ 10**12 => 'biljoen'
+ );
+
+}
+
+
+sub num2text {
+ my ($self, $amount) = @_;
+
+ return $self->{numbername}{0} unless $amount;
+
+ my @textnumber = ('**');
+
+ # split amount into chunks of 3
+ my @num = reverse split //, $amount;
+ my @numblock = ();
+ my ($i, $appendn);
+ my @a = ();
+
+ while (@num) {
+ @a = ();
+ for (1 .. 3) {
+ push @a, shift @num;
+ }
+ push @numblock, join / /, reverse @a;
+ }
+
+
+ while (@numblock) {
+
+ $i = $#numblock;
+ @num = split //, $numblock[$i];
+
+ $numblock[$i] *= 1;
+
+ if ($numblock[$i] == 0) {
+ pop @numblock;
+ next;
+ }
+
+ if ($numblock[$i] > 99) {
+ # the one from hundreds
+ push @textnumber, $self->{numbername}{$num[0]};
+
+ # add hundred designation
+ push @textnumber, $self->{numbername}{10**2};
+
+ # reduce numblock
+ $numblock[$i] -= $num[0] * 100;
+ }
+
+ if ($numblock[$i] > 9) {
+ # tens
+ push @textnumber, $self->format_ten($numblock[$i]);
+ } else {
+ # ones
+ push @textnumber, $self->{numbername}{$numblock[$i]};
+ }
+
+ # add thousand, million
+ if ($i) {
+ $amount = 10**($i * 3);
+ push @textnumber, $self->{numbername}{$amount};
+ }
+
+ pop @numblock;
+
+ }
+
+ push @textnumber, '**';
+ join '', @textnumber;
+
+}
+
+
+sub format_ten {
+ my ($self, $amount) = @_;
+
+ my $textnumber = "";
+ my @num = split //, $amount;
+
+ if ($amount > 20) {
+ # reverse one and ten and glue together with 'en'
+ $amount = $num[0] * 10;
+ $textnumber = $self->{numbername}{$num[1]}.'en'.$self->{numbername}{$amount};
+ } else {
+ $textnumber = $self->{numbername}{$amount};
+ }
+
+ $textnumber;
+
+}
+
+
+1;
+
diff --git a/sql-ledger/locale/nl/admin b/sql-ledger/locale/nl/admin
new file mode 100644
index 0000000..37f5a0b
--- /dev/null
+++ b/sql-ledger/locale/nl/admin
@@ -0,0 +1,124 @@
+$self{texts} = {
+ 'Access Control' => 'Toegangsbeheer',
+ 'Accounting' => 'Boekhouding',
+ 'Add User' => 'Gebruiker toevoegen',
+ 'Address' => 'Adres',
+ 'Administration' => 'Administratie',
+ 'Administrator' => 'Beheerder',
+ 'All Datasets up to date!' => 'Alle Datasets actueel',
+ 'Change Admin Password' => 'Admin wachtwoord veranderen',
+ 'Change Password' => 'Verander wachtwoord',
+ 'Character Set' => 'Karakter set',
+ 'Click on login name to edit!' => 'Klik op login naam om deze te bewerken.',
+ 'Company' => 'Bedrijf',
+ 'Connect to' => 'Verbinden met',
+ 'Continue' => 'Verder',
+ 'Create Chart of Accounts' => 'Maak rekeningstelsel',
+ 'Create Dataset' => 'Maak dataset',
+ 'DBI not installed!' => 'DBI niet geinstalleerd',
+ 'Database' => 'Database',
+ 'Database Administration' => 'Database administratie',
+ 'Database Driver not checked!' => 'Database Driver niet aangevinkt',
+ 'Database User missing!' => 'Geen database gebruiker aanwezig!',
+ 'Dataset' => 'Dataset',
+ 'Dataset missing!' => 'Geen dataset aanwezig',
+ 'Dataset updated!' => 'Dataset aangepast aan nieuwe versie!',
+ 'Date Format' => 'Datum formaat',
+ 'Delete' => 'Verwijder',
+ 'Delete Dataset' => 'Verwijder dataset',
+ 'Directory' => 'Directory',
+ 'Driver' => 'Besturings programma',
+ 'Dropdown Limit' => 'Maximum in dropdown-lijst',
+ 'E-mail' => 'E-mail',
+ 'Edit User' => 'Gebruiker wijzigen',
+ 'Existing Datasets' => 'Bestaande datasets',
+ 'Fax' => 'Fax',
+ 'Host' => 'Host',
+ 'Hostname missing!' => 'Geen hostnaam!',
+ 'Incorrect Password!' => 'Verkeerd paswoord',
+ 'Language' => 'Taal',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Laat host en port veld leeg, tenzij u een netwerk connectie wilt opzetten.',
+ 'Login' => 'Login',
+ 'Multibyte Encoding' => 'Multibyte Encoding',
+ 'Name' => 'Naam',
+ 'New Templates' => 'Nieuwe templates',
+ 'No Database Drivers available!' => 'Geen database besturings programma aanwezig',
+ 'No Dataset selected!' => 'Geen dataset geselecteerd',
+ 'Nothing to delete!' => 'Niets te verwijderen',
+ 'Number Format' => 'Nummeraanduiding',
+ 'Oracle Database Administration' => 'Oracle Database Administratie',
+ 'Password' => 'Wachtwoord',
+ 'Password changed!' => 'Wachtwoord gewijzigd!',
+ 'Pg Database Administration' => 'Pg Database Administratie',
+ 'Phone' => 'Tel.',
+ 'Port' => 'Port',
+ 'Port missing!' => 'Geen port aanwezig',
+ 'Printer' => 'Printer',
+ 'Save' => 'Opslaan',
+ 'Select a Dataset to delete and press "Continue"' => 'Selecteer de te verwijderen dataset en klik op "verder"',
+ 'Setup Templates' => 'Setup templates',
+ 'Ship via' => 'Verzenden via',
+ 'Signature' => 'Handtekening',
+ 'Stylesheet' => 'Stylesheet',
+ 'Templates' => 'Templates',
+ 'The following Datasets are not in use and can be deleted' => 'De volgende datasets zijn niet ingebruik en kunnen worder verwijderd.',
+ 'The following Datasets need to be updated' => 'De volgende datasets moeten worden bijgewerkt',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'Dit is een eerste controle. Er wordt niks gecreéerd of verwijderd.',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'Om een gebruiker aan een groep toe te voegen, een naam te wijzigen, een login naam te wijzigen en op te slaan. Een nieuwe gebruiker zal dan worder opgeslagen met dezelfde gegevens onder de nieuwe login naam.',
+ 'Update Dataset' => 'Dataset bijwerken',
+ 'Use Templates' => 'Gebruik templates',
+ 'User' => 'Gebruiker',
+ 'User deleted!' => 'Gebruiker verwijderd!',
+ 'User saved!' => 'Gebruiker opgeslagen!',
+ 'Version' => 'Versie',
+ 'You must enter a host and port for local and remote connections!' => 'Vul een "host" en een "port" voor netwerk connecties!',
+ 'does not exist' => 'bestaat niet',
+ 'is already a member!' => 'is al een gebruiker',
+ 'localhost' => 'localhost',
+ 'locked!' => 'geblokkeerd',
+ 'successfully created!' => 'Succesvol aangemaakt',
+ 'successfully deleted!' => 'Verwijderen succesvol',
+ 'website' => 'website',
+};
+
+$self{subs} = {
+ 'add_user' => 'add_user',
+ 'adminlogin' => 'adminlogin',
+ 'change_admin_password' => 'change_admin_password',
+ 'change_password' => 'change_password',
+ 'check_password' => 'check_password',
+ 'continue' => 'continue',
+ 'create_dataset' => 'create_dataset',
+ 'dbcreate' => 'dbcreate',
+ 'dbdelete' => 'dbdelete',
+ 'dbdriver_defaults' => 'dbdriver_defaults',
+ 'dbselect_source' => 'dbselect_source',
+ 'dbupdate' => 'dbupdate',
+ 'delete' => 'delete',
+ 'delete_dataset' => 'delete_dataset',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'get_value' => 'get_value',
+ 'list_users' => 'list_users',
+ 'login' => 'login',
+ 'login_name' => 'login_name',
+ 'oracle_database_administration' => 'oracle_database_administration',
+ 'pg_database_administration' => 'pg_database_administration',
+ 'save' => 'save',
+ 'update_dataset' => 'update_dataset',
+ 'gebruiker_toevoegen' => 'add_user',
+ 'admin_wachtwoord_veranderen' => 'change_admin_password',
+ 'verander_wachtwoord' => 'change_password',
+ 'verder' => 'continue',
+ 'maak_dataset' => 'create_dataset',
+ 'verwijder' => 'delete',
+ 'verwijder_dataset' => 'delete_dataset',
+ 'login' => 'login',
+ 'oracle_database_administratie' => 'oracle_database_administration',
+ 'pg_database_administratie' => 'pg_database_administration',
+ 'opslaan' => 'save',
+ 'dataset_bijwerken' => 'update_dataset',
+};
+
+1;
diff --git a/sql-ledger/locale/nl/all b/sql-ledger/locale/nl/all
new file mode 100644
index 0000000..2e55089
--- /dev/null
+++ b/sql-ledger/locale/nl/all
@@ -0,0 +1,491 @@
+# These are all the texts to build the translations files.
+# The file has the form of 'english text' => 'foreign text',
+# you can add the translation in this file or in the 'missing' file
+# run locales.pl from this directory to rebuild the translation files
+
+$self{texts} = {
+ 'AP' => 'Crediteuren',
+ 'AP Aging' => 'Crediteuren Ouderdomsoverzicht',
+ 'AP Transaction' => 'Crediteurenboeking',
+ 'AP Transactions' => 'Crediteurenboekingen',
+ 'AR' => 'Debiteuren',
+ 'AR Aging' => 'Debiteuren Ouderdomsoverzicht',
+ 'AR Transaction' => 'Debiteurenboeking',
+ 'AR Transactions' => 'Debiteurenboekingen',
+ 'About' => 'Over',
+ 'Access Control' => 'Toegangsbeheer',
+ 'Account' => 'Rekening',
+ 'Account Number' => 'Rekeningnummer',
+ 'Account Number missing!' => 'Rekeningnummer mist!',
+ 'Account Type' => 'Rekeningtype',
+ 'Account Type missing!' => 'Rekeningtype mist!',
+ 'Account deleted!' => 'Rekening verwijderd',
+ 'Account saved!' => 'Rekening opgeslagen',
+ 'Accounting' => 'Boekhouding',
+ 'Accounting Menu' => 'Boekhoudmenu',
+ 'Accounts' => 'Rekeningen',
+ 'Active' => 'Actief',
+ 'Add' => 'Toevoegen',
+ 'Add Account' => 'Rekening toevoegen',
+ 'Add Accounts Payables Transaction' => 'Crediteurenboeking toevoegen',
+ 'Add Accounts Receivables Transaction' => 'Debiteurenboeking toevoegen',
+ 'Add Assembly' => 'Assemblage toevoegen',
+ 'Add Customer' => 'Klant toevoegen',
+ 'Add GIFI' => 'Toevoegen GIFI',
+ 'Add General Ledger Transaction' => 'Journaalpost toevoegen',
+ 'Add Part' => 'Artikel toevoegen',
+ 'Add Project' => 'Project toevoegen',
+ 'Add Purchase Invoice' => 'Inkoopfactuur toevoegen',
+ 'Add Purchase Order' => 'Inkooporder toevoegen',
+ 'Add Sales Invoice' => 'Verkoopfactuur toevoegen',
+ 'Add Sales Order' => 'Verkooporder toevoegen',
+ 'Add Service' => 'Dienst toevoegen',
+ 'Add Transaction' => 'Boeking toevoegen',
+ 'Add User' => 'Gebruiker toevoegen',
+ 'Add Vendor' => 'Leverancier toevoegen',
+ 'Address' => 'Adres',
+ 'Administration' => 'Administratie',
+ 'Administrator' => 'Beheerder',
+ 'All' => 'Allemaal',
+ 'All Datasets up to date!' => 'Alle Datasets actueel',
+ 'Amount' => 'Bedrag',
+ 'Amount Due' => 'Verschuldigd bedrag',
+ 'Amount does not equal applied!' => 'Bedrag is ongelijk aan toewijzing!',
+ 'Amount missing!' => 'Bedrag ontbreekt!',
+ 'Applied' => 'Toewijzing',
+ 'Apr' => 'Apr',
+ 'April' => 'April',
+ 'Are you sure you want to delete Invoice Number' => 'Weet u zeker dat u dit factuurnummer wilt verwijderen?',
+ 'Are you sure you want to delete Order Number' => 'Weet u zeker dat u dit ordernummer wilt verwijderen?',
+ 'Are you sure you want to delete Transaction' => 'Weet u zeker dat u deze boeking wilt verwijderen?',
+ 'Assemblies' => 'Assemblage, samengestelde artikelen',
+ 'Assemblies restocked!' => 'Assemblage naar voorraad geboekt',
+ 'Assembly Number missing!' => 'Assemblagenummer mist!',
+ 'Asset' => 'Activa (bezittingen)',
+ 'Attachment' => 'Bijlage',
+ 'Audit Control' => 'Accountants Controle',
+ 'Aug' => 'Aug',
+ 'August' => 'Augustus',
+ 'BOM' => 'Onderdelenlijst',
+ 'Backup' => 'Backup',
+ 'Backup sent to' => 'Backup gezonden aan',
+ 'Balance' => 'Saldo',
+ 'Balance Sheet' => 'Balans',
+ 'Bcc' => 'Onzichtbare kopie aan',
+ 'Bin' => 'Locatie',
+ 'Books are open' => 'Boekingsperiode is open',
+ 'Bought' => 'Ingekocht',
+ 'Business Number' => 'Kamer van Koophandel nummer',
+ 'C' => 'C',
+ 'COGS' => 'Kostprijs Verkopen',
+ 'Cannot delete account!' => 'Kan bedrag niet verwijderen!',
+ 'Cannot delete customer!' => 'Kan klant niet verwijderen!',
+ 'Cannot delete default account!' => 'Kan standaardrekening niet verwijderen!',
+ 'Cannot delete invoice!' => 'Kan factuur niet verwijderen!',
+ 'Cannot delete item already invoiced!' => 'Kan reeds gefactureerd artikel niet verwijderen!',
+ 'Cannot delete item on order!' => 'Kan onderdeel van de order niet verwijderen',
+ 'Cannot delete item which is part of an assembly!' => 'Kan onderdeel van een samengesteld artikel niet verwijderen!',
+ 'Cannot delete item!' => 'Kan onderdeel niet verwijderen!',
+ 'Cannot delete order!' => 'Kan order niet verwijderen!',
+ 'Cannot delete transaction!' => 'Kan transactie niet verwijderen!',
+ 'Cannot delete vendor!' => 'Kan leverancier niet verwijderen!',
+ 'Cannot have a value in both Debit and Credit!' => 'Waarde kan alleen debet of credit voorkomen!',
+ 'Cannot post a transaction without a value!' => 'Kan geen boeking maken zonder waarde!',
+ 'Cannot post invoice for a closed period!' => 'Kan geen factuur boeken in afgesloten periode!',
+ 'Cannot post invoice!' => 'Kan factuur niet boeken!',
+ 'Cannot post payment for a closed period!' => 'Kan geen betaling boeken voor afgesloten periode!',
+ 'Cannot post payment!' => 'Kan betaling niet boeken!',
+ 'Cannot post transaction for a closed period!' => 'Kan geen boeking maken in afgesloten periode',
+ 'Cannot post transaction!' => 'Kan transactie niet boeken!',
+ 'Cannot process payment for a closed period!' => 'Kan geen betaling verwerken voor afgesloten periode!',
+ 'Cannot save account!' => 'Kan rekening niet opslaan!',
+ 'Cannot save order!' => 'Kan order niet opslaan!',
+ 'Cannot save preferences!' => 'Kan voorkeuren niet opslaan!',
+ 'Cannot stock assemblies!' => 'Kan assemblages niet in voorraad nemen!',
+ 'Cash' => 'Kas (contant)',
+ 'Cash based' => 'Kasbasis (contante verkopen)',
+ 'Cc' => 'Copie aan',
+ 'Change Admin Password' => 'Admin wachtwoord veranderen',
+ 'Change Password' => 'Verander wachtwoord',
+ 'Character Set' => 'Karakter set',
+ 'Chart of Accounts' => 'Rekeningstelsel',
+ 'Check' => 'Cheque',
+ 'Check printed!' => 'Cheque geprint!',
+ 'Check printing failed!' => 'Cheque printen mislukt!',
+ 'Cleared Balance' => 'Totaal geboekt vorige afschriften',
+ 'Click on login name to edit!' => 'Klik op login naam om deze te bewerken.',
+ 'Close Books up to' => 'Boeken afsluiten tot',
+ 'Closed' => 'Afgesloten',
+ 'Company' => 'Bedrijf',
+ 'Compare to' => 'Vergelijk met',
+ 'Confirm!' => 'Bevestig!',
+ 'Connect to' => 'Verbinden met',
+ 'Contact' => 'Contact',
+ 'Continue' => 'Verder',
+ 'Copies' => 'Kopieën',
+ 'Copy to COA' => 'Kopieër naar rekeningstelsel',
+ 'Create Chart of Accounts' => 'Maak rekeningstelsel',
+ 'Create Dataset' => 'Maak dataset',
+ 'Credit' => 'Credit',
+ 'Credit Limit' => 'Kredietlimiet',
+ 'Curr' => 'Val.',
+ 'Currency' => 'Valuta',
+ 'Current' => 'Huidig',
+ 'Customer' => 'Klant',
+ 'Customer deleted!' => 'Klant verwijderd!',
+ 'Customer missing!' => 'Klant ontbreekt!',
+ 'Customer not on file!' => 'Klant bestaat niet!',
+ 'Customer saved!' => 'Klant opgeslagen!',
+ 'Customers' => 'Klanten',
+ 'DBI not installed!' => 'DBI niet geinstalleerd',
+ 'Database' => 'Database',
+ 'Database Administration' => 'Database administratie',
+ 'Database Driver not checked!' => 'Database Driver niet aangevinkt',
+ 'Database Host' => 'Database computer',
+ 'Database User missing!' => 'Geen database gebruiker aanwezig!',
+ 'Dataset' => 'Dataset',
+ 'Dataset missing!' => 'Geen dataset aanwezig',
+ 'Dataset updated!' => 'Dataset aangepast aan nieuwe versie!',
+ 'Date' => 'Datum',
+ 'Date Due' => 'Vervaldatum',
+ 'Date Format' => 'Datum formaat',
+ 'Date Paid' => 'Betaaldatum',
+ 'Date missing!' => 'Datum ontbreekt!',
+ 'Debit' => 'Debet',
+ 'Debit and credit out of balance!' => 'Debet en credit moeten gelijk zijn!',
+ 'Dec' => 'Dec',
+ 'December' => 'December',
+ 'Decimalplaces' => 'Aantal Decimalen',
+ 'Delete' => 'Verwijder',
+ 'Delete Account' => 'Rekening verwijderen',
+ 'Delete Dataset' => 'Verwijder dataset',
+ 'Delivery Date' => 'Leverdatum',
+ 'Deposit' => 'Storting',
+ 'Description' => 'Omschrijving',
+ 'Difference' => 'Verschil',
+ 'Directory' => 'Directory',
+ 'Discount' => 'Korting',
+ 'Done' => 'Klaar',
+ 'Drawing' => 'Tekening',
+ 'Driver' => 'Besturings programma',
+ 'Dropdown Limit' => 'Maximum in dropdown-lijst',
+ 'Due' => 'Verschuldigd',
+ 'Due Date' => 'Vervaldatum',
+ 'Due Date missing!' => 'Vervaldatum mist!',
+ 'E-mail' => 'E-mail',
+ 'E-mail Statement to' => 'E-mail Overzicht aan',
+ 'E-mail address missing!' => 'E-mailadres mist!',
+ 'Edit' => 'Wijzig',
+ 'Edit Account' => 'Rekening wijzigen',
+ 'Edit Accounts Payables Transaction' => 'Wijzig Crediteurenboeking',
+ 'Edit Accounts Receivables Transaction' => 'Wijzig Debiteurenboeking',
+ 'Edit Assembly' => 'Assemblage wijzigen',
+ 'Edit Customer' => 'Klant wijzigen',
+ 'Edit GIFI' => 'Wijzig GIFI',
+ 'Edit General Ledger Transaction' => 'Boeking in grootboek wijzigen',
+ 'Edit Part' => 'Artikel wijzigen',
+ 'Edit Preferences for' => 'Instellingen wijzigen voor',
+ 'Edit Project' => 'Project wijzigen',
+ 'Edit Purchase Invoice' => 'Inkoopfactuur wijzigen',
+ 'Edit Purchase Order' => 'Inkooporder wijzigen',
+ 'Edit Sales Invoice' => 'Verkoopfactuur wijzigen',
+ 'Edit Sales Order' => 'Verkoop order wijzigen',
+ 'Edit Service' => 'Dienst wijzigen',
+ 'Edit Template' => 'Template wijzigen',
+ 'Edit User' => 'Gebruiker wijzigen',
+ 'Edit Vendor' => 'Leverancier wijzigen',
+ 'Employee' => 'Werknemer',
+ 'Enforce transaction reversal for all dates' => 'Boeking terugdraaien voor alle data',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Vul max drie karakters in, gescheiden door een dubbelepunt (b.v. EUR:USD:GBP:CAD) voor lokale en buitenlandse valuta',
+ 'Equity' => 'Passiva/Eigen Vermogen',
+ 'Exch' => 'Wisselkoers',
+ 'Exchangerate' => 'Wisselkoers',
+ 'Exchangerate Difference' => 'Koersverschil',
+ 'Exchangerate for payment missing!' => 'Wisselkoers voor Betaling mist!',
+ 'Exchangerate missing!' => 'Wisselkoers mist!',
+ 'Existing Datasets' => 'Bestaande datasets',
+ 'Expense' => 'Onkosten',
+ 'Expense Account' => 'Onkostenrekening',
+ 'Expense/Asset' => 'Uitgaven',
+ 'Extended' => 'Uitgebreid',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Februari',
+ 'Foreign Exchange Gain' => 'Wisselkoers winst',
+ 'Foreign Exchange Loss' => 'Wisselkoers verlies',
+ 'From' => 'Van',
+ 'GIFI' => 'GIFI',
+ 'GIFI deleted!' => 'GIFI verwijderd!',
+ 'GIFI missing!' => 'GIFI ontbreekt!',
+ 'GIFI saved!' => 'GIFI opgeslagen!',
+ 'GL Transaction' => 'Grootboekboeking (memoriaal) ',
+ 'General Ledger' => 'Grootboek',
+ 'Goods & Services' => 'Goederen & Diensten',
+ 'HTML Templates' => 'HTML Sjablonen',
+ 'Heading' => 'Kopregel',
+ 'Host' => 'Host',
+ 'Hostname missing!' => 'Geen hostnaam!',
+ 'ID' => 'ID',
+ 'Image' => 'Plaatje',
+ 'In-line' => 'In Lijn',
+ 'Include in Report' => 'Uitvoer inclusief',
+ 'Include in drop-down menus' => 'Invoegen in drop-down menus',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Deze klant/leverancier toevoegen als belastbaar?',
+ 'Income' => 'Inkomsten',
+ 'Income Account' => 'Inkomstenrekening',
+ 'Income Statement' => 'Inkomstenoverzicht',
+ 'Incorrect Dataset version!' => 'Ongeldige versie Dataset!!',
+ 'Incorrect Password!' => 'Verkeerd paswoord',
+ 'Individual Items' => 'Onderliggede onderdelen',
+ 'Inventory' => 'Voorraad',
+ 'Inventory Account' => 'Voorraadrekening',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'Aanwezige voorraad moet nul zijn voordat een assemblage als \'niet actief\' kan worder gemarkeerd.',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'Aanwezige voorraad moet nul zijn voordat een product als \'niet actief\' kan worder gemarkeerd.',
+ 'Inventory quantity must be zero!' => 'Aanwezige voorraad moet nul zijn!',
+ 'Invoice' => 'Factuur',
+ 'Invoice Date' => 'Factuurdatum',
+ 'Invoice Date missing!' => 'Factuurdatum mist!',
+ 'Invoice Number' => 'Factuurnummer',
+ 'Invoice Number missing!' => 'Factuurnummer mist!',
+ 'Invoice deleted!' => 'Factuur verwijderd!',
+ 'Invoice posted!' => 'Factuur geboekt!',
+ 'Invoices' => 'Facturen',
+ 'Is this a summary account to record' => 'Totaalrekening voor',
+ 'Item deleted!' => 'Onderdeel verwijderd!',
+ 'Item not on file!' => 'Dit onderdeel is niet in de database gevonden!',
+ 'Jan' => 'Jan',
+ 'January' => 'Januari',
+ 'Jul' => 'Jul',
+ 'July' => 'Juli',
+ 'Jun' => 'Jun',
+ 'June' => 'Juni',
+ 'LaTeX Templates' => 'Latex Sjablonen',
+ 'Language' => 'Taal',
+ 'Last Cost' => 'Vorige kostprijs',
+ 'Last Invoice Number' => 'Laatste factuurnummer',
+ 'Last Numbers & Default Accounts' => 'Laatst toegekende nummers & Standaard Rekeningen',
+ 'Last Purchase Order Number' => 'Laatste inkoopordernummer',
+ 'Last Sales Order Number' => 'Laatste Verkooporder nummer',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Laat host en port veld leeg, tenzij u een netwerk connectie wilt opzetten.',
+ 'Liability' => 'Passiva',
+ 'Licensed to' => 'Gelicenseerd aan',
+ 'Line Total' => 'Totaal Regel',
+ 'Link' => 'Verbinding',
+ 'Link Accounts' => 'Rekeningen verbinden',
+ 'List Accounts' => 'Rekeningen weergeven',
+ 'List GIFI' => 'GIFI weergeven',
+ 'List Price' => 'Prijzen weergeven',
+ 'List Transactions' => 'Boekingen tonen',
+ 'Login' => 'Login',
+ 'Logout' => 'Logout',
+ 'Make' => 'Fabrikant',
+ 'Mar' => 'Mrt',
+ 'March' => 'Maart',
+ 'May' => 'Mei',
+ 'May ' => 'Mei',
+ 'Message' => 'Boodschap',
+ 'Microfiche' => 'Microfiche',
+ 'Model' => 'Type',
+ 'Multibyte Encoding' => '',
+ 'N/A' => 'N/A',
+ 'Name' => 'Naam',
+ 'Name missing!' => 'Naam ontbreekt!',
+ 'New Templates' => 'Nieuwe templates',
+ 'No' => 'Nee',
+ 'No Database Drivers available!' => 'Geen database besturings programma aanwezig',
+ 'No Dataset selected!' => 'Geen dataset geselecteerd',
+ 'No email address for' => 'Geen email adres voor',
+ 'No.' => 'Nr.',
+ 'Notes' => 'Opmerkingen',
+ 'Nothing applied!' => 'Niets toegewezen!',
+ 'Nothing selected!' => 'Niets geselecteerd!',
+ 'Nothing to delete!' => 'Niets te verwijderen',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Nummer',
+ 'Number Format' => 'Nummeraanduiding',
+ 'Number missing in Row' => 'Getal missend in regel',
+ 'O' => 'O',
+ 'Obsolete' => 'Niet actief',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktober',
+ 'On Hand' => 'Op voorraad',
+ 'On Order' => 'In bestelling',
+ 'Open' => 'Open',
+ 'Oracle Database Administration' => 'Oracle Database Administratie',
+ 'Order' => 'Bestelling',
+ 'Order Date' => 'Orderdatum',
+ 'Order Date missing!' => 'Geen order datum aanwezig',
+ 'Order Entry' => 'Order invoer',
+ 'Order Number' => 'Referentie',
+ 'Order Number missing!' => 'Geen ordernummer aanwezig',
+ 'Order deleted!' => 'Order verwijderd!',
+ 'Order saved!' => 'Order opgeslagen!',
+ 'Ordered' => 'Besteld',
+ 'Orphaned' => 'Wees',
+ 'Out of balance!' => 'Niet in evenwicht!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Pakbon',
+ 'Packing List Date missing!' => 'Pakbon datum mist!',
+ 'Packing List Number missing!' => 'Pakbon nummer mist!',
+ 'Paid' => 'Betaald',
+ 'Paid in full' => 'Volledig betaald',
+ 'Part' => 'Artikel',
+ 'Part Number missing!' => 'Artikelnummer mist!',
+ 'Parts' => 'Artikelen',
+ 'Parts Inventory' => 'Artikelenvrd',
+ 'Password' => 'Wachtwoord',
+ 'Password changed!' => 'Wachtwoord gewijzigd!',
+ 'Payables' => 'Betalingen',
+ 'Payment' => 'Betaling',
+ 'Payment date missing!' => 'Geen betalingsdatum aanwezig!',
+ 'Payment posted!' => 'Betaling geboekt!',
+ 'Payments' => 'Betalingen',
+ 'Pg Database Administration' => 'Pg Database Administratie',
+ 'Phone' => 'Tel.',
+ 'Port' => 'Port',
+ 'Port missing!' => 'Geen port aanwezig',
+ 'Post' => 'Boek',
+ 'Post as new' => 'Boek als nieuw',
+ 'Postscript' => 'Postscript',
+ 'Preferences' => 'Instellingen',
+ 'Preferences saved!' => 'Instellingen bewaard!',
+ 'Price' => 'Prijs',
+ 'Print' => 'Afdrukken',
+ 'Printer' => 'Printer',
+ 'Project' => 'Project',
+ 'Project Number missing!' => 'Projectnummer ontbreekt!',
+ 'Project deleted!' => 'Project verwijderd!',
+ 'Project not on file!' => 'Project bestaat niet!',
+ 'Project saved!' => 'Project opgeslagen!',
+ 'Projects' => 'Projecten',
+ 'Purchase Invoice' => 'Inkoopfactuur',
+ 'Purchase Order' => 'Inkooporder',
+ 'Purchase Orders' => 'Inkooporders',
+ 'Qty' => 'Aantal',
+ 'ROP' => 'Minimum voorraad',
+ 'Rate' => 'Percentage',
+ 'Recd' => 'Ontvangen',
+ 'Receipt' => 'Ontvangstbewijs',
+ 'Receipts' => 'Ontvangstbewijzen',
+ 'Receivables' => 'Vorderingen',
+ 'Reconciliation' => 'Bank Overzicht',
+ 'Record in' => 'Boeken op',
+ 'Reference' => 'Referentie',
+ 'Reference missing!' => 'Referentie ontbreekt!',
+ 'Remaining' => 'Resterend',
+ 'Report for' => 'Rapport voor',
+ 'Reports' => 'Rapporten',
+ 'Required by' => 'Nodig voor',
+ 'Retained Earnings' => 'Winstreserve',
+ 'Sales' => 'Verkoop',
+ 'Sales Invoice' => 'Verkoopfactuur',
+ 'Sales Order' => 'Verkooporder',
+ 'Sales Orders' => 'Verkooporders',
+ 'Save' => 'Opslaan',
+ 'Save as new' => 'Opslaan als nieuw',
+ 'Save to File' => 'Opslaan als bestand',
+ 'Screen' => 'Scherm',
+ 'Select a Dataset to delete and press "Continue"' => 'Selecteer de te verwijderen dataset en klik op "verder"',
+ 'Select all' => 'Selecteer alles',
+ 'Select from one of the items below' => 'Kies een van de onderstaande items',
+ 'Select from one of the names below' => 'Kies een van de onderstaande namen',
+ 'Select from one of the projects below' => 'Kies een van de onderstaande projecten',
+ 'Select postscript or PDF!' => 'Kies postscript of PDF',
+ 'Sell Price' => 'Verkoopprijs',
+ 'Send by E-Mail' => 'Verzenden per E-mail',
+ 'Sep' => 'Sep',
+ 'September' => 'September',
+ 'Service' => 'Dienst',
+ 'Service Items' => 'Dienst',
+ 'Service Number missing!' => 'Dienstnummer mist',
+ 'Services' => 'Diensten',
+ 'Setup Templates' => 'Setup templates',
+ 'Ship' => 'Verzenden',
+ 'Ship to' => 'Verzenden aan',
+ 'Ship via' => 'Verzenden via',
+ 'Short' => 'Kort',
+ 'Signature' => 'Handtekening',
+ 'Sold' => 'Verkocht',
+ 'Source' => 'Herkomst',
+ 'Standard' => 'Standaard',
+ 'Statement' => 'Overzicht',
+ 'Statement Balance' => 'Saldo Overzicht',
+ 'Statement sent to' => 'Overzicht verzonden aan',
+ 'Statements sent to printer!' => 'Overzichten afgedrukt',
+ 'Stock Assembly' => 'Assemblage voorraad',
+ 'Stylesheet' => 'Stylesheet',
+ 'Subject' => 'Onderwerp',
+ 'Subtotal' => 'Subtotaal',
+ 'System' => 'Systeem',
+ 'Tax' => 'Belasting',
+ 'Tax Accounts' => 'Belasting Rekeningen',
+ 'Tax Included' => 'Inclusief Belasting',
+ 'Tax collected' => 'Belasting verschuldigd',
+ 'Tax paid' => 'Belasting Betaald',
+ 'Taxable' => 'Belastbaar percentage',
+ 'Template saved!' => 'Template opgeslagen!',
+ 'Templates' => 'Templates',
+ 'Terms: Net' => 'Netto',
+ 'The following Datasets are not in use and can be deleted' => 'De volgende datasets zijn niet ingebruik en kunnen worder verwijderd.',
+ 'The following Datasets need to be updated' => 'De volgende datasets moeten worden bijgewerkt',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'Dit is een eerste controle. Er wordt niks gecreéerd of verwijderd.',
+ 'To' => 'Tot',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'Om een gebruiker aan een groep toe te voegen, een naam te wijzigen, een login naam te wijzigen en op te slaan. Een nieuwe gebruiker zal dan worder opgeslagen met dezelfde gegevens onder de nieuwe login naam.',
+ 'Top Level' => 'Top Niveau',
+ 'Total' => 'Totaal',
+ 'Transaction Date missing!' => 'Boekingsdatum mist!',
+ 'Transaction deleted!' => 'Boeking verwijderd!',
+ 'Transaction posted!' => 'Boeking opgeslagen!',
+ 'Transaction reversal enforced for all dates' => 'Boekingen verplicht terugdraaien voor alle datums',
+ 'Transaction reversal enforced up to' => 'Boekingen verplicht terugdraaien tot aan',
+ 'Transactions' => 'Boekingen',
+ 'Transactions exist, cannot delete customer!' => 'Kan klant niet verwijderen, er zijn onderliggende boekingen!',
+ 'Transactions exist, cannot delete vendor!' => 'Kan leverancier niet verwijderen, er zijn onderliggende boekingen!',
+ 'Transactions exist; cannot delete account!' => 'Kan rekening niet verwijderen, er zijn onderliggende boekingen!',
+ 'Trial Balance' => 'Proefbalans',
+ 'Unit' => 'Eenheid',
+ 'Unit of measure' => 'Rekeneenheid',
+ 'Update' => 'Bijwerken',
+ 'Update Dataset' => 'Dataset bijwerken',
+ 'Updated' => 'Bijgewerkt',
+ 'Use Templates' => 'Gebruik templates',
+ 'User' => 'Gebruiker',
+ 'User deleted!' => 'Gebruiker verwijderd!',
+ 'User saved!' => 'Gebruiker opgeslagen!',
+ 'Vendor' => 'Leverancier',
+ 'Vendor deleted!' => 'Leverancier verwijderd!',
+ 'Vendor missing!' => 'Leverancier ontbreekt!',
+ 'Vendor not on file!' => 'Leverancier bestaat niet!',
+ 'Vendor saved!' => 'Leverancier opgeslagen!',
+ 'Vendors' => 'Leveranciers',
+ 'Version' => 'Versie',
+ 'Weight' => 'Gewicht',
+ 'Weight Unit' => 'Gewichtseenheid',
+ 'What type of item is this?' => 'Wat voor soort artikel is dit?',
+ 'Year End' => 'Einde van het boekjaar',
+ 'Yes' => 'Ja',
+ 'You are logged out!' => 'U bent uitgelogd!',
+ 'You did not enter a name!' => 'U heeft geen naam gegeven!',
+ 'You must enter a host and port for local and remote connections!' => 'Vul een "host" en een "port" voor netwerk connecties!',
+ 'as at' => 'per',
+ 'collected on sales' => 'verzameld voor de verkoop',
+ 'days' => 'dagen',
+ 'does not exist' => 'bestaat niet',
+ 'ea' => 'voor',
+ 'emailed to' => 'per email verzonden aan',
+ 'for Period' => 'voor periode',
+ 'hr' => 'uur',
+ 'is already a member!' => 'is al een gebruiker',
+ 'is not a member!' => 'is geen gebruiker',
+ 'localhost' => 'localhost',
+ 'locked!' => 'geblokkeerd',
+ 'paid on purchases' => 'betaald op inkopen',
+ 'sent to printer' => 'Afgedrukt',
+ 'successfully created!' => 'Succesvol aangemaakt',
+ 'successfully deleted!' => 'Verwijderen succesvol',
+ 'to' => 'tot',
+ 'website' => 'website',
+};
+
+1;
diff --git a/sql-ledger/locale/nl/am b/sql-ledger/locale/nl/am
new file mode 100644
index 0000000..0b3633b
--- /dev/null
+++ b/sql-ledger/locale/nl/am
@@ -0,0 +1,139 @@
+$self{texts} = {
+ 'AP' => 'Crediteuren',
+ 'AR' => 'Debiteuren',
+ 'Account' => 'Rekening',
+ 'Account Number' => 'Rekeningnummer',
+ 'Account Number missing!' => 'Rekeningnummer mist!',
+ 'Account Type' => 'Rekeningtype',
+ 'Account Type missing!' => 'Rekeningtype mist!',
+ 'Account deleted!' => 'Rekening verwijderd',
+ 'Account saved!' => 'Rekening opgeslagen',
+ 'Add Account' => 'Rekening toevoegen',
+ 'Add GIFI' => 'Toevoegen GIFI',
+ 'Address' => 'Adres',
+ 'Asset' => 'Activa (bezittingen)',
+ 'Audit Control' => 'Accountants Controle',
+ 'Backup sent to' => 'Backup gezonden aan',
+ 'Books are open' => 'Boekingsperiode is open',
+ 'Business Number' => 'Kamer van Koophandel nummer',
+ 'COGS' => 'Kostprijs Verkopen',
+ 'Cannot delete account!' => 'Kan bedrag niet verwijderen!',
+ 'Cannot delete default account!' => 'Kan standaardrekening niet verwijderen!',
+ 'Cannot save account!' => 'Kan rekening niet opslaan!',
+ 'Cannot save preferences!' => 'Kan voorkeuren niet opslaan!',
+ 'Character Set' => 'Karakter set',
+ 'Chart of Accounts' => 'Rekeningstelsel',
+ 'Close Books up to' => 'Boeken afsluiten tot',
+ 'Company' => 'Bedrijf',
+ 'Continue' => 'Verder',
+ 'Copy to COA' => 'Kopieër naar rekeningstelsel',
+ 'Credit' => 'Credit',
+ 'Date Format' => 'Datum formaat',
+ 'Debit' => 'Debet',
+ 'Delete' => 'Verwijder',
+ 'Delete Account' => 'Rekening verwijderen',
+ 'Description' => 'Omschrijving',
+ 'Dropdown Limit' => 'Maximum in dropdown-lijst',
+ 'E-mail' => 'E-mail',
+ 'Edit' => 'Wijzig',
+ 'Edit Account' => 'Rekening wijzigen',
+ 'Edit GIFI' => 'Wijzig GIFI',
+ 'Edit Preferences for' => 'Instellingen wijzigen voor',
+ 'Edit Template' => 'Template wijzigen',
+ 'Enforce transaction reversal for all dates' => 'Boeking terugdraaien voor alle data',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Vul max drie karakters in, gescheiden door een dubbelepunt (b.v. EUR:USD:GBP:CAD) voor lokale en buitenlandse valuta',
+ 'Equity' => 'Passiva/Eigen Vermogen',
+ 'Expense' => 'Onkosten',
+ 'Expense Account' => 'Onkostenrekening',
+ 'Expense/Asset' => 'Uitgaven',
+ 'Fax' => 'Fax',
+ 'Foreign Exchange Gain' => 'Wisselkoers winst',
+ 'Foreign Exchange Loss' => 'Wisselkoers verlies',
+ 'GIFI' => 'GIFI',
+ 'GIFI deleted!' => 'GIFI verwijderd!',
+ 'GIFI missing!' => 'GIFI ontbreekt!',
+ 'GIFI saved!' => 'GIFI opgeslagen!',
+ 'Heading' => 'Kopregel',
+ 'Include in drop-down menus' => 'Invoegen in drop-down menus',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Deze klant/leverancier toevoegen als belastbaar?',
+ 'Income' => 'Inkomsten',
+ 'Income Account' => 'Inkomstenrekening',
+ 'Inventory' => 'Voorraad',
+ 'Inventory Account' => 'Voorraadrekening',
+ 'Is this a summary account to record' => 'Totaalrekening voor',
+ 'Language' => 'Taal',
+ 'Last Invoice Number' => 'Laatste factuurnummer',
+ 'Last Numbers & Default Accounts' => 'Laatst toegekende nummers & Standaard Rekeningen',
+ 'Last Purchase Order Number' => 'Laatste inkoopordernummer',
+ 'Last Sales Order Number' => 'Laatste Verkooporder nummer',
+ 'Liability' => 'Passiva',
+ 'Link' => 'Verbinding',
+ 'Name' => 'Naam',
+ 'No' => 'Nee',
+ 'No email address for' => 'Geen email adres voor',
+ 'Number' => 'Nummer',
+ 'Number Format' => 'Nummeraanduiding',
+ 'Parts Inventory' => 'Artikelenvrd',
+ 'Password' => 'Wachtwoord',
+ 'Payables' => 'Betalingen',
+ 'Payment' => 'Betaling',
+ 'Phone' => 'Tel.',
+ 'Preferences saved!' => 'Instellingen bewaard!',
+ 'Rate' => 'Percentage',
+ 'Receivables' => 'Vorderingen',
+ 'Sales' => 'Verkoop',
+ 'Save' => 'Opslaan',
+ 'Service Items' => 'Dienst',
+ 'Ship via' => 'Verzenden via',
+ 'Signature' => 'Handtekening',
+ 'Stylesheet' => 'Stylesheet',
+ 'Tax' => 'Belasting',
+ 'Tax Accounts' => 'Belasting Rekeningen',
+ 'Template saved!' => 'Template opgeslagen!',
+ 'Transaction reversal enforced for all dates' => 'Boekingen verplicht terugdraaien voor alle datums',
+ 'Transaction reversal enforced up to' => 'Boekingen verplicht terugdraaien tot aan',
+ 'Transactions exist; cannot delete account!' => 'Kan rekening niet verwijderen, er zijn onderliggende boekingen!',
+ 'Weight Unit' => 'Gewichtseenheid',
+ 'Year End' => 'Einde van het boekjaar',
+ 'Yes' => 'Ja',
+ 'does not exist' => 'bestaat niet',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_gifi' => 'add_gifi',
+ 'audit_control' => 'audit_control',
+ 'backup' => 'backup',
+ 'config' => 'config',
+ 'continue' => 'continue',
+ 'copy_to_coa' => 'copy_to_coa',
+ 'delete' => 'delete',
+ 'delete_account' => 'delete_account',
+ 'delete_gifi' => 'delete_gifi',
+ 'display_form' => 'display_form',
+ 'display_stylesheet' => 'display_stylesheet',
+ 'doclose' => 'doclose',
+ 'edit' => 'edit',
+ 'edit_gifi' => 'edit_gifi',
+ 'edit_template' => 'edit_template',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gifi_footer' => 'gifi_footer',
+ 'gifi_header' => 'gifi_header',
+ 'list' => 'list',
+ 'list_gifi' => 'list_gifi',
+ 'save' => 'save',
+ 'save_account' => 'save_account',
+ 'save_gifi' => 'save_gifi',
+ 'save_preferences' => 'save_preferences',
+ 'save_template' => 'save_template',
+ 'rekening_toevoegen' => 'add_account',
+ 'verder' => 'continue',
+ 'kopieër_naar_rekeningstelsel' => 'copy_to_coa',
+ 'verwijder' => 'delete',
+ 'wijzig' => 'edit',
+ 'rekening_wijzigen' => 'edit_account',
+ 'opslaan' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/nl/ap b/sql-ledger/locale/nl/ap
new file mode 100644
index 0000000..177034c
--- /dev/null
+++ b/sql-ledger/locale/nl/ap
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AP Transaction' => 'Crediteurenboeking',
+ 'AP Transactions' => 'Crediteurenboekingen',
+ 'Account' => 'Rekening',
+ 'Add Accounts Payables Transaction' => 'Crediteurenboeking toevoegen',
+ 'Address' => 'Adres',
+ 'Amount' => 'Bedrag',
+ 'Amount Due' => 'Verschuldigd bedrag',
+ 'Apr' => 'Apr',
+ 'April' => 'April',
+ 'Are you sure you want to delete Transaction' => 'Weet u zeker dat u deze boeking wilt verwijderen?',
+ 'Aug' => 'Aug',
+ 'August' => 'Augustus',
+ 'Cannot delete transaction!' => 'Kan transactie niet verwijderen!',
+ 'Cannot post payment for a closed period!' => 'Kan geen betaling boeken voor afgesloten periode!',
+ 'Cannot post transaction for a closed period!' => 'Kan geen boeking maken in afgesloten periode',
+ 'Cannot post transaction!' => 'Kan transactie niet boeken!',
+ 'Closed' => 'Afgesloten',
+ 'Confirm!' => 'Bevestig!',
+ 'Continue' => 'Verder',
+ 'Currency' => 'Valuta',
+ 'Customer not on file!' => 'Klant bestaat niet!',
+ 'Date' => 'Datum',
+ 'Date Paid' => 'Betaaldatum',
+ 'Dec' => 'Dec',
+ 'December' => 'December',
+ 'Delete' => 'Verwijder',
+ 'Description' => 'Omschrijving',
+ 'Due Date' => 'Vervaldatum',
+ 'Due Date missing!' => 'Vervaldatum mist!',
+ 'Edit Accounts Payables Transaction' => 'Wijzig Crediteurenboeking',
+ 'Employee' => 'Werknemer',
+ 'Exch' => 'Wisselkoers',
+ 'Exchangerate' => 'Wisselkoers',
+ 'Exchangerate for payment missing!' => 'Wisselkoers voor Betaling mist!',
+ 'Exchangerate missing!' => 'Wisselkoers mist!',
+ 'Feb' => 'Feb',
+ 'February' => 'Februari',
+ 'From' => 'Van',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Uitvoer inclusief',
+ 'Invoice' => 'Factuur',
+ 'Invoice Date' => 'Factuurdatum',
+ 'Invoice Date missing!' => 'Factuurdatum mist!',
+ 'Invoice Number' => 'Factuurnummer',
+ 'Invoice Number missing!' => 'Factuurnummer mist!',
+ 'Jan' => 'Jan',
+ 'January' => 'Januari',
+ 'Jul' => 'Jul',
+ 'July' => 'Juli',
+ 'Jun' => 'Jun',
+ 'June' => 'Juni',
+ 'Mar' => 'Mrt',
+ 'March' => 'Maart',
+ 'May' => 'Mei',
+ 'May ' => 'Mei',
+ 'Notes' => 'Opmerkingen',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Nummer',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktober',
+ 'Open' => 'Open',
+ 'Order' => 'Bestelling',
+ 'Order Number' => 'Referentie',
+ 'Paid' => 'Betaald',
+ 'Payment date missing!' => 'Geen betalingsdatum aanwezig!',
+ 'Payments' => 'Betalingen',
+ 'Post' => 'Boek',
+ 'Post as new' => 'Boek als nieuw',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project bestaat niet!',
+ 'Purchase Invoice' => 'Inkoopfactuur',
+ 'Select from one of the names below' => 'Kies een van de onderstaande namen',
+ 'Select from one of the projects below' => 'Kies een van de onderstaande projecten',
+ 'Sep' => 'Sep',
+ 'September' => 'September',
+ 'Source' => 'Herkomst',
+ 'Subtotal' => 'Subtotaal',
+ 'Tax' => 'Belasting',
+ 'Tax Included' => 'Inclusief Belasting',
+ 'Total' => 'Totaal',
+ 'Transaction deleted!' => 'Boeking verwijderd!',
+ 'Transaction posted!' => 'Boeking opgeslagen!',
+ 'Update' => 'Bijwerken',
+ 'Vendor' => 'Leverancier',
+ 'Vendor missing!' => 'Leverancier ontbreekt!',
+ 'Vendor not on file!' => 'Leverancier bestaat niet!',
+ 'Yes' => 'Ja',
+ 'to' => 'tot',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_subtotal' => 'ap_subtotal',
+ 'ap_transaction' => 'ap_transaction',
+ 'ap_transactions' => 'ap_transactions',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'crediteurenboeking' => 'ap_transaction',
+ 'crediteurenboeking_toevoegen' => 'add_accounts_payables_transaction',
+ 'verder' => 'continue',
+ 'verwijder' => 'delete',
+ 'wijzig_crediteurenboeking' => 'edit_accounts_payables_transaction',
+ 'boek' => 'post',
+ 'boek_als_nieuw' => 'post_as_new',
+ 'inkoopfactuur' => 'purchase_invoice',
+ 'bijwerken' => 'update',
+ 'ja' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/nl/ar b/sql-ledger/locale/nl/ar
new file mode 100644
index 0000000..73aed90
--- /dev/null
+++ b/sql-ledger/locale/nl/ar
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AR Transaction' => 'Debiteurenboeking',
+ 'AR Transactions' => 'Debiteurenboekingen',
+ 'Account' => 'Rekening',
+ 'Add Accounts Receivables Transaction' => 'Debiteurenboeking toevoegen',
+ 'Address' => 'Adres',
+ 'Amount' => 'Bedrag',
+ 'Amount Due' => 'Verschuldigd bedrag',
+ 'Apr' => 'Apr',
+ 'April' => 'April',
+ 'Are you sure you want to delete Transaction' => 'Weet u zeker dat u deze boeking wilt verwijderen?',
+ 'Aug' => 'Aug',
+ 'August' => 'Augustus',
+ 'Cannot delete transaction!' => 'Kan transactie niet verwijderen!',
+ 'Cannot post payment for a closed period!' => 'Kan geen betaling boeken voor afgesloten periode!',
+ 'Cannot post transaction for a closed period!' => 'Kan geen boeking maken in afgesloten periode',
+ 'Cannot post transaction!' => 'Kan transactie niet boeken!',
+ 'Closed' => 'Afgesloten',
+ 'Confirm!' => 'Bevestig!',
+ 'Continue' => 'Verder',
+ 'Credit Limit' => 'Kredietlimiet',
+ 'Currency' => 'Valuta',
+ 'Customer' => 'Klant',
+ 'Customer missing!' => 'Klant ontbreekt!',
+ 'Customer not on file!' => 'Klant bestaat niet!',
+ 'Date' => 'Datum',
+ 'Date Paid' => 'Betaaldatum',
+ 'Dec' => 'Dec',
+ 'December' => 'December',
+ 'Delete' => 'Verwijder',
+ 'Description' => 'Omschrijving',
+ 'Due Date' => 'Vervaldatum',
+ 'Due Date missing!' => 'Vervaldatum mist!',
+ 'Edit Accounts Receivables Transaction' => 'Wijzig Debiteurenboeking',
+ 'Employee' => 'Werknemer',
+ 'Exch' => 'Wisselkoers',
+ 'Exchangerate' => 'Wisselkoers',
+ 'Exchangerate for payment missing!' => 'Wisselkoers voor Betaling mist!',
+ 'Exchangerate missing!' => 'Wisselkoers mist!',
+ 'Feb' => 'Feb',
+ 'February' => 'Februari',
+ 'From' => 'Van',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Uitvoer inclusief',
+ 'Invoice' => 'Factuur',
+ 'Invoice Date' => 'Factuurdatum',
+ 'Invoice Date missing!' => 'Factuurdatum mist!',
+ 'Invoice Number' => 'Factuurnummer',
+ 'Invoice Number missing!' => 'Factuurnummer mist!',
+ 'Jan' => 'Jan',
+ 'January' => 'Januari',
+ 'Jul' => 'Jul',
+ 'July' => 'Juli',
+ 'Jun' => 'Jun',
+ 'June' => 'Juni',
+ 'Mar' => 'Mrt',
+ 'March' => 'Maart',
+ 'May' => 'Mei',
+ 'May ' => 'Mei',
+ 'Notes' => 'Opmerkingen',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Nummer',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktober',
+ 'Open' => 'Open',
+ 'Order' => 'Bestelling',
+ 'Order Number' => 'Referentie',
+ 'Paid' => 'Betaald',
+ 'Payment date missing!' => 'Geen betalingsdatum aanwezig!',
+ 'Payments' => 'Betalingen',
+ 'Post' => 'Boek',
+ 'Post as new' => 'Boek als nieuw',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project bestaat niet!',
+ 'Remaining' => 'Resterend',
+ 'Sales Invoice' => 'Verkoopfactuur',
+ 'Select from one of the names below' => 'Kies een van de onderstaande namen',
+ 'Select from one of the projects below' => 'Kies een van de onderstaande projecten',
+ 'Sep' => 'Sep',
+ 'September' => 'September',
+ 'Source' => 'Herkomst',
+ 'Subtotal' => 'Subtotaal',
+ 'Tax' => 'Belasting',
+ 'Tax Included' => 'Inclusief Belasting',
+ 'Total' => 'Totaal',
+ 'Transaction deleted!' => 'Boeking verwijderd!',
+ 'Transaction posted!' => 'Boeking opgeslagen!',
+ 'Update' => 'Bijwerken',
+ 'Vendor not on file!' => 'Leverancier bestaat niet!',
+ 'Yes' => 'Ja',
+ 'to' => 'tot',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_subtotal' => 'ar_subtotal',
+ 'ar_transaction' => 'ar_transaction',
+ 'ar_transactions' => 'ar_transactions',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'debiteurenboeking' => 'ar_transaction',
+ 'verder' => 'continue',
+ 'verwijder' => 'delete',
+ 'boek' => 'post',
+ 'boek_als_nieuw' => 'post_as_new',
+ 'verkoopfactuur' => 'sales_invoice',
+ 'bijwerken' => 'update',
+ 'ja' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/nl/arap b/sql-ledger/locale/nl/arap
new file mode 100644
index 0000000..70f1eb3
--- /dev/null
+++ b/sql-ledger/locale/nl/arap
@@ -0,0 +1,30 @@
+$self{texts} = {
+ 'Address' => 'Adres',
+ 'Continue' => 'Verder',
+ 'Customer not on file!' => 'Klant bestaat niet!',
+ 'Description' => 'Omschrijving',
+ 'Number' => 'Nummer',
+ 'Project not on file!' => 'Project bestaat niet!',
+ 'Select from one of the names below' => 'Kies een van de onderstaande namen',
+ 'Select from one of the projects below' => 'Kies een van de onderstaande projecten',
+ 'Vendor not on file!' => 'Leverancier bestaat niet!',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'verder' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/nl/ca b/sql-ledger/locale/nl/ca
new file mode 100644
index 0000000..aeb0fab
--- /dev/null
+++ b/sql-ledger/locale/nl/ca
@@ -0,0 +1,50 @@
+$self{texts} = {
+ 'Account' => 'Rekening',
+ 'Apr' => 'Apr',
+ 'April' => 'April',
+ 'Aug' => 'Aug',
+ 'August' => 'Augustus',
+ 'Balance' => 'Saldo',
+ 'Chart of Accounts' => 'Rekeningstelsel',
+ 'Credit' => 'Credit',
+ 'Date' => 'Datum',
+ 'Debit' => 'Debet',
+ 'Dec' => 'Dec',
+ 'December' => 'December',
+ 'Description' => 'Omschrijving',
+ 'Feb' => 'Feb',
+ 'February' => 'Februari',
+ 'From' => 'Van',
+ 'GIFI' => 'GIFI',
+ 'Include in Report' => 'Uitvoer inclusief',
+ 'Jan' => 'Jan',
+ 'January' => 'Januari',
+ 'Jul' => 'Jul',
+ 'July' => 'Juli',
+ 'Jun' => 'Jun',
+ 'June' => 'Juni',
+ 'List Transactions' => 'Boekingen tonen',
+ 'Mar' => 'Mrt',
+ 'March' => 'Maart',
+ 'May' => 'Mei',
+ 'May ' => 'Mei',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktober',
+ 'Reference' => 'Referentie',
+ 'Sep' => 'Sep',
+ 'September' => 'September',
+ 'Subtotal' => 'Subtotaal',
+ 'to' => 'tot',
+};
+
+$self{subs} = {
+ 'ca_subtotal' => 'ca_subtotal',
+ 'chart_of_accounts' => 'chart_of_accounts',
+ 'list' => 'list',
+ 'list_transactions' => 'list_transactions',
+ 'boekingen_tonen' => 'list_transactions',
+};
+
+1;
diff --git a/sql-ledger/locale/nl/cp b/sql-ledger/locale/nl/cp
new file mode 100644
index 0000000..c1ae7d5
--- /dev/null
+++ b/sql-ledger/locale/nl/cp
@@ -0,0 +1,75 @@
+$self{texts} = {
+ 'Account' => 'Rekening',
+ 'Address' => 'Adres',
+ 'Amount' => 'Bedrag',
+ 'Amount does not equal applied!' => 'Bedrag is ongelijk aan toewijzing!',
+ 'Amount missing!' => 'Bedrag ontbreekt!',
+ 'Applied' => 'Toewijzing',
+ 'Cannot post payment!' => 'Kan betaling niet boeken!',
+ 'Cannot process payment for a closed period!' => 'Kan geen betaling verwerken voor afgesloten periode!',
+ 'Check' => 'Cheque',
+ 'Check printed!' => 'Cheque geprint!',
+ 'Check printing failed!' => 'Cheque printen mislukt!',
+ 'Continue' => 'Verder',
+ 'Currency' => 'Valuta',
+ 'Customer' => 'Klant',
+ 'Customer not on file!' => 'Klant bestaat niet!',
+ 'Date' => 'Datum',
+ 'Date missing!' => 'Datum ontbreekt!',
+ 'Description' => 'Omschrijving',
+ 'Due' => 'Verschuldigd',
+ 'Exchangerate' => 'Wisselkoers',
+ 'From' => 'Van',
+ 'Invoice' => 'Factuur',
+ 'Invoices' => 'Facturen',
+ 'Nothing applied!' => 'Niets toegewezen!',
+ 'Number' => 'Nummer',
+ 'Paid in full' => 'Volledig betaald',
+ 'Payment' => 'Betaling',
+ 'Payment posted!' => 'Betaling geboekt!',
+ 'Post' => 'Boek',
+ 'Print' => 'Afdrukken',
+ 'Printer' => 'Printer',
+ 'Project not on file!' => 'Project bestaat niet!',
+ 'Receipt' => 'Ontvangstbewijs',
+ 'Reference' => 'Referentie',
+ 'Screen' => 'Scherm',
+ 'Select from one of the names below' => 'Kies een van de onderstaande namen',
+ 'Select from one of the projects below' => 'Kies een van de onderstaande projecten',
+ 'Update' => 'Bijwerken',
+ 'Vendor' => 'Leverancier',
+ 'Vendor not on file!' => 'Leverancier bestaat niet!',
+ 'to' => 'tot',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'list_invoices' => 'list_invoices',
+ 'name_selected' => 'name_selected',
+ 'payment' => 'payment',
+ 'post' => 'post',
+ 'print' => 'print',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'vendor_details' => 'vendor_details',
+ 'verder' => 'continue',
+ 'boek' => 'post',
+ 'afdrukken' => 'print',
+ 'bijwerken' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/nl/ct b/sql-ledger/locale/nl/ct
new file mode 100644
index 0000000..430053a
--- /dev/null
+++ b/sql-ledger/locale/nl/ct
@@ -0,0 +1,71 @@
+$self{texts} = {
+ 'Add' => 'Toevoegen',
+ 'Address' => 'Adres',
+ 'All' => 'Allemaal',
+ 'Bcc' => 'Onzichtbare kopie aan',
+ 'Cannot delete customer!' => 'Kan klant niet verwijderen!',
+ 'Cannot delete vendor!' => 'Kan leverancier niet verwijderen!',
+ 'Cc' => 'Copie aan',
+ 'Contact' => 'Contact',
+ 'Continue' => 'Verder',
+ 'Credit Limit' => 'Kredietlimiet',
+ 'Customer deleted!' => 'Klant verwijderd!',
+ 'Customer saved!' => 'Klant opgeslagen!',
+ 'Customers' => 'Klanten',
+ 'Delete' => 'Verwijder',
+ 'Discount' => 'Korting',
+ 'E-mail' => 'E-mail',
+ 'Edit Customer' => 'Klant wijzigen',
+ 'Edit Vendor' => 'Leverancier wijzigen',
+ 'Fax' => 'Fax',
+ 'Include in Report' => 'Uitvoer inclusief',
+ 'Invoice' => 'Factuur',
+ 'Name' => 'Naam',
+ 'Name missing!' => 'Naam ontbreekt!',
+ 'Notes' => 'Opmerkingen',
+ 'Number' => 'Nummer',
+ 'Order' => 'Bestelling',
+ 'Orphaned' => 'Wees',
+ 'Phone' => 'Tel.',
+ 'Save' => 'Opslaan',
+ 'Ship to' => 'Verzenden aan',
+ 'Tax Included' => 'Inclusief Belasting',
+ 'Taxable' => 'Belastbaar percentage',
+ 'Terms: Net' => 'Netto',
+ 'Transactions exist, cannot delete customer!' => 'Kan klant niet verwijderen, er zijn onderliggende boekingen!',
+ 'Transactions exist, cannot delete vendor!' => 'Kan leverancier niet verwijderen, er zijn onderliggende boekingen!',
+ 'Vendor deleted!' => 'Leverancier verwijderd!',
+ 'Vendor saved!' => 'Leverancier opgeslagen!',
+ 'Vendors' => 'Leveranciers',
+ 'days' => 'dagen',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'customer_invoice' => 'customer_invoice',
+ 'customer_order' => 'customer_order',
+ 'delete' => 'delete',
+ 'delete_customer' => 'delete_customer',
+ 'delete_vendor' => 'delete_vendor',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'invoice' => 'invoice',
+ 'list_names' => 'list_names',
+ 'order' => 'order',
+ 'save' => 'save',
+ 'save_customer' => 'save_customer',
+ 'save_vendor' => 'save_vendor',
+ 'search' => 'search',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'vendor_order' => 'vendor_order',
+ 'toevoegen' => 'add',
+ 'verder' => 'continue',
+ 'verwijder' => 'delete',
+ 'factuur' => 'invoice',
+ 'bestelling' => 'order',
+ 'opslaan' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/nl/gl b/sql-ledger/locale/nl/gl
new file mode 100644
index 0000000..9e76622
--- /dev/null
+++ b/sql-ledger/locale/nl/gl
@@ -0,0 +1,124 @@
+$self{texts} = {
+ 'AP Transaction' => 'Crediteurenboeking',
+ 'AR Transaction' => 'Debiteurenboeking',
+ 'Account' => 'Rekening',
+ 'Add General Ledger Transaction' => 'Journaalpost toevoegen',
+ 'Address' => 'Adres',
+ 'All' => 'Allemaal',
+ 'Apr' => 'Apr',
+ 'April' => 'April',
+ 'Are you sure you want to delete Transaction' => 'Weet u zeker dat u deze boeking wilt verwijderen?',
+ 'Asset' => 'Activa (bezittingen)',
+ 'Aug' => 'Aug',
+ 'August' => 'Augustus',
+ 'Balance' => 'Saldo',
+ 'Cannot delete transaction!' => 'Kan transactie niet verwijderen!',
+ 'Cannot have a value in both Debit and Credit!' => 'Waarde kan alleen debet of credit voorkomen!',
+ 'Cannot post a transaction without a value!' => 'Kan geen boeking maken zonder waarde!',
+ 'Cannot post transaction for a closed period!' => 'Kan geen boeking maken in afgesloten periode',
+ 'Confirm!' => 'Bevestig!',
+ 'Continue' => 'Verder',
+ 'Credit' => 'Credit',
+ 'Customer not on file!' => 'Klant bestaat niet!',
+ 'Date' => 'Datum',
+ 'Debit' => 'Debet',
+ 'Debit and credit out of balance!' => 'Debet en credit moeten gelijk zijn!',
+ 'Dec' => 'Dec',
+ 'December' => 'December',
+ 'Delete' => 'Verwijder',
+ 'Description' => 'Omschrijving',
+ 'Edit General Ledger Transaction' => 'Boeking in grootboek wijzigen',
+ 'Equity' => 'Passiva/Eigen Vermogen',
+ 'Expense' => 'Onkosten',
+ 'Feb' => 'Feb',
+ 'February' => 'Februari',
+ 'From' => 'Van',
+ 'GIFI' => 'GIFI',
+ 'GL Transaction' => 'Grootboekboeking (memoriaal) ',
+ 'General Ledger' => 'Grootboek',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Uitvoer inclusief',
+ 'Income' => 'Inkomsten',
+ 'Jan' => 'Jan',
+ 'January' => 'Januari',
+ 'Jul' => 'Jul',
+ 'July' => 'Juli',
+ 'Jun' => 'Jun',
+ 'June' => 'Juni',
+ 'Liability' => 'Passiva',
+ 'Mar' => 'Mrt',
+ 'March' => 'Maart',
+ 'May' => 'Mei',
+ 'May ' => 'Mei',
+ 'Notes' => 'Opmerkingen',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Nummer',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktober',
+ 'Post' => 'Boek',
+ 'Post as new' => 'Boek als nieuw',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project bestaat niet!',
+ 'Purchase Invoice' => 'Inkoopfactuur',
+ 'Reference' => 'Referentie',
+ 'Reference missing!' => 'Referentie ontbreekt!',
+ 'Reports' => 'Rapporten',
+ 'Sales Invoice' => 'Verkoopfactuur',
+ 'Select from one of the names below' => 'Kies een van de onderstaande namen',
+ 'Select from one of the projects below' => 'Kies een van de onderstaande projecten',
+ 'Sep' => 'Sep',
+ 'September' => 'September',
+ 'Source' => 'Herkomst',
+ 'Subtotal' => 'Subtotaal',
+ 'Transaction Date missing!' => 'Boekingsdatum mist!',
+ 'Transaction deleted!' => 'Boeking verwijderd!',
+ 'Transaction posted!' => 'Boeking opgeslagen!',
+ 'Update' => 'Bijwerken',
+ 'Vendor not on file!' => 'Leverancier bestaat niet!',
+ 'Yes' => 'Ja',
+ 'to' => 'tot',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'form_row' => 'form_row',
+ 'generate_report' => 'generate_report',
+ 'gl_subtotal' => 'gl_subtotal',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'crediteurenboeking' => 'ap_transaction',
+ 'debiteurenboeking' => 'ar_transaction',
+ 'verder' => 'continue',
+ 'verwijder' => 'delete',
+ 'grootboekboeking_(memoriaal)_' => 'gl_transaction',
+ 'boek' => 'post',
+ 'boek_als_nieuw' => 'post_as_new',
+ 'inkoopfactuur' => 'purchase_invoice',
+ 'verkoopfactuur' => 'sales_invoice',
+ 'bijwerken' => 'update',
+ 'ja' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/nl/ic b/sql-ledger/locale/nl/ic
new file mode 100644
index 0000000..e8d7eea
--- /dev/null
+++ b/sql-ledger/locale/nl/ic
@@ -0,0 +1,206 @@
+$self{texts} = {
+ 'Active' => 'Actief',
+ 'Add' => 'Toevoegen',
+ 'Add Assembly' => 'Assemblage toevoegen',
+ 'Add Part' => 'Artikel toevoegen',
+ 'Add Purchase Order' => 'Inkooporder toevoegen',
+ 'Add Sales Order' => 'Verkooporder toevoegen',
+ 'Add Service' => 'Dienst toevoegen',
+ 'Address' => 'Adres',
+ 'Apr' => 'Apr',
+ 'April' => 'April',
+ 'Assemblies' => 'Assemblage, samengestelde artikelen',
+ 'Assemblies restocked!' => 'Assemblage naar voorraad geboekt',
+ 'Assembly Number missing!' => 'Assemblagenummer mist!',
+ 'Attachment' => 'Bijlage',
+ 'Aug' => 'Aug',
+ 'August' => 'Augustus',
+ 'BOM' => 'Onderdelenlijst',
+ 'Bcc' => 'Onzichtbare kopie aan',
+ 'Bin' => 'Locatie',
+ 'Bought' => 'Ingekocht',
+ 'COGS' => 'Kostprijs Verkopen',
+ 'Cannot delete item already invoiced!' => 'Kan reeds gefactureerd artikel niet verwijderen!',
+ 'Cannot delete item on order!' => 'Kan onderdeel van de order niet verwijderen',
+ 'Cannot delete item which is part of an assembly!' => 'Kan onderdeel van een samengesteld artikel niet verwijderen!',
+ 'Cannot delete item!' => 'Kan onderdeel niet verwijderen!',
+ 'Cannot stock assemblies!' => 'Kan assemblages niet in voorraad nemen!',
+ 'Cc' => 'Copie aan',
+ 'Contact' => 'Contact',
+ 'Continue' => 'Verder',
+ 'Copies' => 'Kopieën',
+ 'Dec' => 'Dec',
+ 'December' => 'December',
+ 'Delete' => 'Verwijder',
+ 'Delivery Date' => 'Leverdatum',
+ 'Description' => 'Omschrijving',
+ 'Drawing' => 'Tekening',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'E-mailadres mist!',
+ 'Edit Assembly' => 'Assemblage wijzigen',
+ 'Edit Part' => 'Artikel wijzigen',
+ 'Edit Service' => 'Dienst wijzigen',
+ 'Expense' => 'Onkosten',
+ 'Extended' => 'Uitgebreid',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Februari',
+ 'From' => 'Van',
+ 'Image' => 'Plaatje',
+ 'In-line' => 'In Lijn',
+ 'Include in Report' => 'Uitvoer inclusief',
+ 'Income' => 'Inkomsten',
+ 'Individual Items' => 'Onderliggede onderdelen',
+ 'Inventory' => 'Voorraad',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'Aanwezige voorraad moet nul zijn voordat een assemblage als \'niet actief\' kan worder gemarkeerd.',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'Aanwezige voorraad moet nul zijn voordat een product als \'niet actief\' kan worder gemarkeerd.',
+ 'Inventory quantity must be zero!' => 'Aanwezige voorraad moet nul zijn!',
+ 'Invoice' => 'Factuur',
+ 'Invoice Date missing!' => 'Factuurdatum mist!',
+ 'Invoice Number' => 'Factuurnummer',
+ 'Invoice Number missing!' => 'Factuurnummer mist!',
+ 'Item deleted!' => 'Onderdeel verwijderd!',
+ 'Item not on file!' => 'Dit onderdeel is niet in de database gevonden!',
+ 'Jan' => 'Jan',
+ 'January' => 'Januari',
+ 'Jul' => 'Jul',
+ 'July' => 'Juli',
+ 'Jun' => 'Jun',
+ 'June' => 'Juni',
+ 'Last Cost' => 'Vorige kostprijs',
+ 'Line Total' => 'Totaal Regel',
+ 'Link Accounts' => 'Rekeningen verbinden',
+ 'List Price' => 'Prijzen weergeven',
+ 'Make' => 'Fabrikant',
+ 'Mar' => 'Mrt',
+ 'March' => 'Maart',
+ 'May' => 'Mei',
+ 'May ' => 'Mei',
+ 'Message' => 'Boodschap',
+ 'Microfiche' => 'Microfiche',
+ 'Model' => 'Type',
+ 'Name' => 'Naam',
+ 'No.' => 'Nr.',
+ 'Notes' => 'Opmerkingen',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Nummer',
+ 'Number missing in Row' => 'Getal missend in regel',
+ 'Obsolete' => 'Niet actief',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktober',
+ 'On Hand' => 'Op voorraad',
+ 'On Order' => 'In bestelling',
+ 'Order' => 'Bestelling',
+ 'Order Date missing!' => 'Geen order datum aanwezig',
+ 'Order Number' => 'Referentie',
+ 'Order Number missing!' => 'Geen ordernummer aanwezig',
+ 'Ordered' => 'Besteld',
+ 'Orphaned' => 'Wees',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Pakbon',
+ 'Packing List Date missing!' => 'Pakbon datum mist!',
+ 'Packing List Number missing!' => 'Pakbon nummer mist!',
+ 'Part' => 'Artikel',
+ 'Part Number missing!' => 'Artikelnummer mist!',
+ 'Parts' => 'Artikelen',
+ 'Phone' => 'Tel.',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Prijs',
+ 'Printer' => 'Printer',
+ 'Project' => 'Project',
+ 'Purchase Order' => 'Inkooporder',
+ 'Qty' => 'Aantal',
+ 'ROP' => 'Minimum voorraad',
+ 'Recd' => 'Ontvangen',
+ 'Required by' => 'Nodig voor',
+ 'Sales' => 'Verkoop',
+ 'Sales Order' => 'Verkooporder',
+ 'Save' => 'Opslaan',
+ 'Screen' => 'Scherm',
+ 'Select from one of the items below' => 'Kies een van de onderstaande items',
+ 'Select postscript or PDF!' => 'Kies postscript of PDF',
+ 'Sell Price' => 'Verkoopprijs',
+ 'Sep' => 'Sep',
+ 'September' => 'September',
+ 'Service' => 'Dienst',
+ 'Service Number missing!' => 'Dienstnummer mist',
+ 'Services' => 'Diensten',
+ 'Ship' => 'Verzenden',
+ 'Ship to' => 'Verzenden aan',
+ 'Short' => 'Kort',
+ 'Sold' => 'Verkocht',
+ 'Stock Assembly' => 'Assemblage voorraad',
+ 'Subject' => 'Onderwerp',
+ 'Subtotal' => 'Subtotaal',
+ 'Tax' => 'Belasting',
+ 'To' => 'Tot',
+ 'Top Level' => 'Top Niveau',
+ 'Total' => 'Totaal',
+ 'Unit' => 'Eenheid',
+ 'Unit of measure' => 'Rekeneenheid',
+ 'Update' => 'Bijwerken',
+ 'Updated' => 'Bijgewerkt',
+ 'Weight' => 'Gewicht',
+ 'What type of item is this?' => 'Wat voor soort artikel is dit?',
+ 'ea' => 'voor',
+ 'emailed to' => 'per email verzonden aan',
+ 'hr' => 'uur',
+ 'sent to printer' => 'Afgedrukt',
+ 'to' => 'tot',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'assembly_row' => 'assembly_row',
+ 'check_form' => 'check_form',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'delete_assembly' => 'delete_assembly',
+ 'delete_item' => 'delete_item',
+ 'delete_part' => 'delete_part',
+ 'delete_service' => 'delete_service',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'link_part' => 'link_part',
+ 'list_assemblies' => 'list_assemblies',
+ 'makemodel_row' => 'makemodel_row',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'parts_subtotal' => 'parts_subtotal',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'restock_assemblies' => 'restock_assemblies',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'stock_assembly' => 'stock_assembly',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'toevoegen' => 'add',
+ 'assemblage_toevoegen' => 'add_assembly',
+ 'artikel_toevoegen' => 'add_part',
+ 'dienst_toevoegen' => 'add_service',
+ 'verder' => 'continue',
+ 'verwijder' => 'delete',
+ 'assemblage_wijzigen' => 'edit_assembly',
+ 'artikel_wijzigen' => 'edit_part',
+ 'dienst_wijzigen' => 'edit_service',
+ 'opslaan' => 'save',
+ 'bijwerken' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/nl/io b/sql-ledger/locale/nl/io
new file mode 100644
index 0000000..432a8e0
--- /dev/null
+++ b/sql-ledger/locale/nl/io
@@ -0,0 +1,106 @@
+$self{texts} = {
+ 'Add Purchase Order' => 'Inkooporder toevoegen',
+ 'Add Sales Order' => 'Verkooporder toevoegen',
+ 'Address' => 'Adres',
+ 'Apr' => 'Apr',
+ 'April' => 'April',
+ 'Attachment' => 'Bijlage',
+ 'Aug' => 'Aug',
+ 'August' => 'Augustus',
+ 'Bcc' => 'Onzichtbare kopie aan',
+ 'Bin' => 'Locatie',
+ 'Cc' => 'Copie aan',
+ 'Contact' => 'Contact',
+ 'Continue' => 'Verder',
+ 'Copies' => 'Kopieën',
+ 'Dec' => 'Dec',
+ 'December' => 'December',
+ 'Delivery Date' => 'Leverdatum',
+ 'Description' => 'Omschrijving',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'E-mailadres mist!',
+ 'Extended' => 'Uitgebreid',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Februari',
+ 'In-line' => 'In Lijn',
+ 'Invoice' => 'Factuur',
+ 'Invoice Date missing!' => 'Factuurdatum mist!',
+ 'Invoice Number missing!' => 'Factuurnummer mist!',
+ 'Item not on file!' => 'Dit onderdeel is niet in de database gevonden!',
+ 'Jan' => 'Jan',
+ 'January' => 'Januari',
+ 'Jul' => 'Jul',
+ 'July' => 'Juli',
+ 'Jun' => 'Jun',
+ 'June' => 'Juni',
+ 'Mar' => 'Mrt',
+ 'March' => 'Maart',
+ 'May' => 'Mei',
+ 'May ' => 'Mei',
+ 'Message' => 'Boodschap',
+ 'Name' => 'Naam',
+ 'No.' => 'Nr.',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Nummer',
+ 'Number missing in Row' => 'Getal missend in regel',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktober',
+ 'Order' => 'Bestelling',
+ 'Order Date missing!' => 'Geen order datum aanwezig',
+ 'Order Number missing!' => 'Geen ordernummer aanwezig',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Pakbon',
+ 'Packing List Date missing!' => 'Pakbon datum mist!',
+ 'Packing List Number missing!' => 'Pakbon nummer mist!',
+ 'Part' => 'Artikel',
+ 'Phone' => 'Tel.',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Prijs',
+ 'Printer' => 'Printer',
+ 'Project' => 'Project',
+ 'Purchase Order' => 'Inkooporder',
+ 'Qty' => 'Aantal',
+ 'Recd' => 'Ontvangen',
+ 'Required by' => 'Nodig voor',
+ 'Sales Order' => 'Verkooporder',
+ 'Screen' => 'Scherm',
+ 'Select from one of the items below' => 'Kies een van de onderstaande items',
+ 'Select postscript or PDF!' => 'Kies postscript of PDF',
+ 'Sep' => 'Sep',
+ 'September' => 'September',
+ 'Service' => 'Dienst',
+ 'Ship' => 'Verzenden',
+ 'Ship to' => 'Verzenden aan',
+ 'Subject' => 'Onderwerp',
+ 'To' => 'Tot',
+ 'Unit' => 'Eenheid',
+ 'What type of item is this?' => 'Wat voor soort artikel is dit?',
+ 'emailed to' => 'per email verzonden aan',
+ 'sent to printer' => 'Afgedrukt',
+};
+
+$self{subs} = {
+ 'check_form' => 'check_form',
+ 'customer_details' => 'customer_details',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'verder' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/nl/ir b/sql-ledger/locale/nl/ir
new file mode 100644
index 0000000..235a7d4
--- /dev/null
+++ b/sql-ledger/locale/nl/ir
@@ -0,0 +1,178 @@
+$self{texts} = {
+ 'Account' => 'Rekening',
+ 'Add Purchase Invoice' => 'Inkoopfactuur toevoegen',
+ 'Add Purchase Order' => 'Inkooporder toevoegen',
+ 'Add Sales Order' => 'Verkooporder toevoegen',
+ 'Address' => 'Adres',
+ 'Amount' => 'Bedrag',
+ 'Apr' => 'Apr',
+ 'April' => 'April',
+ 'Are you sure you want to delete Invoice Number' => 'Weet u zeker dat u dit factuurnummer wilt verwijderen?',
+ 'Attachment' => 'Bijlage',
+ 'Aug' => 'Aug',
+ 'August' => 'Augustus',
+ 'Bcc' => 'Onzichtbare kopie aan',
+ 'Bin' => 'Locatie',
+ 'Cannot delete invoice!' => 'Kan factuur niet verwijderen!',
+ 'Cannot post invoice for a closed period!' => 'Kan geen factuur boeken in afgesloten periode!',
+ 'Cannot post invoice!' => 'Kan factuur niet boeken!',
+ 'Cannot post payment for a closed period!' => 'Kan geen betaling boeken voor afgesloten periode!',
+ 'Cc' => 'Copie aan',
+ 'Confirm!' => 'Bevestig!',
+ 'Contact' => 'Contact',
+ 'Continue' => 'Verder',
+ 'Copies' => 'Kopieën',
+ 'Currency' => 'Valuta',
+ 'Customer not on file!' => 'Klant bestaat niet!',
+ 'Date' => 'Datum',
+ 'Date Due' => 'Vervaldatum',
+ 'Dec' => 'Dec',
+ 'December' => 'December',
+ 'Delete' => 'Verwijder',
+ 'Delivery Date' => 'Leverdatum',
+ 'Description' => 'Omschrijving',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'E-mailadres mist!',
+ 'Edit Purchase Invoice' => 'Inkoopfactuur wijzigen',
+ 'Exch' => 'Wisselkoers',
+ 'Exchangerate' => 'Wisselkoers',
+ 'Exchangerate for payment missing!' => 'Wisselkoers voor Betaling mist!',
+ 'Exchangerate missing!' => 'Wisselkoers mist!',
+ 'Extended' => 'Uitgebreid',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Februari',
+ 'In-line' => 'In Lijn',
+ 'Invoice' => 'Factuur',
+ 'Invoice Date' => 'Factuurdatum',
+ 'Invoice Date missing!' => 'Factuurdatum mist!',
+ 'Invoice Number' => 'Factuurnummer',
+ 'Invoice Number missing!' => 'Factuurnummer mist!',
+ 'Invoice deleted!' => 'Factuur verwijderd!',
+ 'Invoice posted!' => 'Factuur geboekt!',
+ 'Item not on file!' => 'Dit onderdeel is niet in de database gevonden!',
+ 'Jan' => 'Jan',
+ 'January' => 'Januari',
+ 'Jul' => 'Jul',
+ 'July' => 'Juli',
+ 'Jun' => 'Jun',
+ 'June' => 'Juni',
+ 'Mar' => 'Mrt',
+ 'March' => 'Maart',
+ 'May' => 'Mei',
+ 'May ' => 'Mei',
+ 'Message' => 'Boodschap',
+ 'Name' => 'Naam',
+ 'No.' => 'Nr.',
+ 'Notes' => 'Opmerkingen',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Nummer',
+ 'Number missing in Row' => 'Getal missend in regel',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktober',
+ 'Order' => 'Bestelling',
+ 'Order Date missing!' => 'Geen order datum aanwezig',
+ 'Order Number' => 'Referentie',
+ 'Order Number missing!' => 'Geen ordernummer aanwezig',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Pakbon',
+ 'Packing List Date missing!' => 'Pakbon datum mist!',
+ 'Packing List Number missing!' => 'Pakbon nummer mist!',
+ 'Part' => 'Artikel',
+ 'Payment date missing!' => 'Geen betalingsdatum aanwezig!',
+ 'Payments' => 'Betalingen',
+ 'Phone' => 'Tel.',
+ 'Post' => 'Boek',
+ 'Post as new' => 'Boek als nieuw',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Prijs',
+ 'Printer' => 'Printer',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project bestaat niet!',
+ 'Purchase Order' => 'Inkooporder',
+ 'Qty' => 'Aantal',
+ 'Recd' => 'Ontvangen',
+ 'Record in' => 'Boeken op',
+ 'Required by' => 'Nodig voor',
+ 'Sales Order' => 'Verkooporder',
+ 'Screen' => 'Scherm',
+ 'Select from one of the items below' => 'Kies een van de onderstaande items',
+ 'Select from one of the names below' => 'Kies een van de onderstaande namen',
+ 'Select from one of the projects below' => 'Kies een van de onderstaande projecten',
+ 'Select postscript or PDF!' => 'Kies postscript of PDF',
+ 'Sep' => 'Sep',
+ 'September' => 'September',
+ 'Service' => 'Dienst',
+ 'Ship' => 'Verzenden',
+ 'Ship to' => 'Verzenden aan',
+ 'Source' => 'Herkomst',
+ 'Subject' => 'Onderwerp',
+ 'Subtotal' => 'Subtotaal',
+ 'Tax Included' => 'Inclusief Belasting',
+ 'To' => 'Tot',
+ 'Total' => 'Totaal',
+ 'Unit' => 'Eenheid',
+ 'Update' => 'Bijwerken',
+ 'Vendor' => 'Leverancier',
+ 'Vendor missing!' => 'Leverancier ontbreekt!',
+ 'Vendor not on file!' => 'Leverancier bestaat niet!',
+ 'What type of item is this?' => 'Wat voor soort artikel is dit?',
+ 'Yes' => 'Ja',
+ 'ea' => 'voor',
+ 'emailed to' => 'per email verzonden aan',
+ 'sent to printer' => 'Afgedrukt',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'verder' => 'continue',
+ 'verwijder' => 'delete',
+ 'bestelling' => 'order',
+ 'boek' => 'post',
+ 'boek_als_nieuw' => 'post_as_new',
+ 'bijwerken' => 'update',
+ 'ja' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/nl/is b/sql-ledger/locale/nl/is
new file mode 100644
index 0000000..f868dac
--- /dev/null
+++ b/sql-ledger/locale/nl/is
@@ -0,0 +1,185 @@
+$self{texts} = {
+ 'Account' => 'Rekening',
+ 'Add Purchase Order' => 'Inkooporder toevoegen',
+ 'Add Sales Invoice' => 'Verkoopfactuur toevoegen',
+ 'Add Sales Order' => 'Verkooporder toevoegen',
+ 'Address' => 'Adres',
+ 'Amount' => 'Bedrag',
+ 'Apr' => 'Apr',
+ 'April' => 'April',
+ 'Are you sure you want to delete Invoice Number' => 'Weet u zeker dat u dit factuurnummer wilt verwijderen?',
+ 'Attachment' => 'Bijlage',
+ 'Aug' => 'Aug',
+ 'August' => 'Augustus',
+ 'Bcc' => 'Onzichtbare kopie aan',
+ 'Bin' => 'Locatie',
+ 'Cannot delete invoice!' => 'Kan factuur niet verwijderen!',
+ 'Cannot post invoice for a closed period!' => 'Kan geen factuur boeken in afgesloten periode!',
+ 'Cannot post invoice!' => 'Kan factuur niet boeken!',
+ 'Cannot post payment for a closed period!' => 'Kan geen betaling boeken voor afgesloten periode!',
+ 'Cc' => 'Copie aan',
+ 'Confirm!' => 'Bevestig!',
+ 'Contact' => 'Contact',
+ 'Continue' => 'Verder',
+ 'Copies' => 'Kopieën',
+ 'Credit Limit' => 'Kredietlimiet',
+ 'Currency' => 'Valuta',
+ 'Customer' => 'Klant',
+ 'Customer missing!' => 'Klant ontbreekt!',
+ 'Customer not on file!' => 'Klant bestaat niet!',
+ 'Date' => 'Datum',
+ 'Date Due' => 'Vervaldatum',
+ 'Dec' => 'Dec',
+ 'December' => 'December',
+ 'Delete' => 'Verwijder',
+ 'Delivery Date' => 'Leverdatum',
+ 'Description' => 'Omschrijving',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'E-mailadres mist!',
+ 'Edit Sales Invoice' => 'Verkoopfactuur wijzigen',
+ 'Exch' => 'Wisselkoers',
+ 'Exchangerate' => 'Wisselkoers',
+ 'Exchangerate for payment missing!' => 'Wisselkoers voor Betaling mist!',
+ 'Exchangerate missing!' => 'Wisselkoers mist!',
+ 'Extended' => 'Uitgebreid',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Februari',
+ 'In-line' => 'In Lijn',
+ 'Invoice' => 'Factuur',
+ 'Invoice Date' => 'Factuurdatum',
+ 'Invoice Date missing!' => 'Factuurdatum mist!',
+ 'Invoice Number' => 'Factuurnummer',
+ 'Invoice Number missing!' => 'Factuurnummer mist!',
+ 'Invoice deleted!' => 'Factuur verwijderd!',
+ 'Invoice posted!' => 'Factuur geboekt!',
+ 'Item not on file!' => 'Dit onderdeel is niet in de database gevonden!',
+ 'Jan' => 'Jan',
+ 'January' => 'Januari',
+ 'Jul' => 'Jul',
+ 'July' => 'Juli',
+ 'Jun' => 'Jun',
+ 'June' => 'Juni',
+ 'Mar' => 'Mrt',
+ 'March' => 'Maart',
+ 'May' => 'Mei',
+ 'May ' => 'Mei',
+ 'Message' => 'Boodschap',
+ 'Name' => 'Naam',
+ 'No.' => 'Nr.',
+ 'Notes' => 'Opmerkingen',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Nummer',
+ 'Number missing in Row' => 'Getal missend in regel',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktober',
+ 'Order' => 'Bestelling',
+ 'Order Date missing!' => 'Geen order datum aanwezig',
+ 'Order Number' => 'Referentie',
+ 'Order Number missing!' => 'Geen ordernummer aanwezig',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Pakbon',
+ 'Packing List Date missing!' => 'Pakbon datum mist!',
+ 'Packing List Number missing!' => 'Pakbon nummer mist!',
+ 'Part' => 'Artikel',
+ 'Payment date missing!' => 'Geen betalingsdatum aanwezig!',
+ 'Payments' => 'Betalingen',
+ 'Phone' => 'Tel.',
+ 'Post' => 'Boek',
+ 'Post as new' => 'Boek als nieuw',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Prijs',
+ 'Print' => 'Afdrukken',
+ 'Printer' => 'Printer',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project bestaat niet!',
+ 'Purchase Order' => 'Inkooporder',
+ 'Qty' => 'Aantal',
+ 'Recd' => 'Ontvangen',
+ 'Record in' => 'Boeken op',
+ 'Remaining' => 'Resterend',
+ 'Required by' => 'Nodig voor',
+ 'Sales Order' => 'Verkooporder',
+ 'Screen' => 'Scherm',
+ 'Select from one of the items below' => 'Kies een van de onderstaande items',
+ 'Select from one of the names below' => 'Kies een van de onderstaande namen',
+ 'Select from one of the projects below' => 'Kies een van de onderstaande projecten',
+ 'Select postscript or PDF!' => 'Kies postscript of PDF',
+ 'Sep' => 'Sep',
+ 'September' => 'September',
+ 'Service' => 'Dienst',
+ 'Ship' => 'Verzenden',
+ 'Ship to' => 'Verzenden aan',
+ 'Ship via' => 'Verzenden via',
+ 'Source' => 'Herkomst',
+ 'Subject' => 'Onderwerp',
+ 'Subtotal' => 'Subtotaal',
+ 'Tax Included' => 'Inclusief Belasting',
+ 'To' => 'Tot',
+ 'Total' => 'Totaal',
+ 'Unit' => 'Eenheid',
+ 'Update' => 'Bijwerken',
+ 'Vendor not on file!' => 'Leverancier bestaat niet!',
+ 'What type of item is this?' => 'Wat voor soort artikel is dit?',
+ 'Yes' => 'Ja',
+ 'ea' => 'voor',
+ 'emailed to' => 'per email verzonden aan',
+ 'sent to printer' => 'Afgedrukt',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'verder' => 'continue',
+ 'verwijder' => 'delete',
+ 'e_mail' => 'e_mail',
+ 'bestelling' => 'order',
+ 'boek' => 'post',
+ 'boek_als_nieuw' => 'post_as_new',
+ 'afdrukken' => 'print',
+ 'verzenden_aan' => 'ship_to',
+ 'bijwerken' => 'update',
+ 'ja' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/nl/login b/sql-ledger/locale/nl/login
new file mode 100644
index 0000000..4e01eb0
--- /dev/null
+++ b/sql-ledger/locale/nl/login
@@ -0,0 +1,27 @@
+$self{texts} = {
+ 'About' => 'Over',
+ 'Database Host' => 'Database computer',
+ 'Dataset' => 'Dataset',
+ 'Incorrect Dataset version!' => 'Ongeldige versie Dataset!!',
+ 'Incorrect Password!' => 'Verkeerd paswoord',
+ 'Licensed to' => 'Gelicenseerd aan',
+ 'Login' => 'Login',
+ 'Name' => 'Naam',
+ 'Password' => 'Wachtwoord',
+ 'User' => 'Gebruiker',
+ 'Version' => 'Versie',
+ 'You are logged out!' => 'U bent uitgelogd!',
+ 'You did not enter a name!' => 'U heeft geen naam gegeven!',
+ 'is not a member!' => 'is geen gebruiker',
+ 'localhost' => 'localhost',
+};
+
+$self{subs} = {
+ 'company_logo' => 'company_logo',
+ 'login' => 'login',
+ 'login_screen' => 'login_screen',
+ 'logout' => 'logout',
+ 'login' => 'login',
+};
+
+1;
diff --git a/sql-ledger/locale/nl/menu b/sql-ledger/locale/nl/menu
new file mode 100644
index 0000000..2c1a257
--- /dev/null
+++ b/sql-ledger/locale/nl/menu
@@ -0,0 +1,71 @@
+$self{texts} = {
+ 'AP' => 'Crediteuren',
+ 'AP Aging' => 'Crediteuren Ouderdomsoverzicht',
+ 'AR' => 'Debiteuren',
+ 'AR Aging' => 'Debiteuren Ouderdomsoverzicht',
+ 'Accounting Menu' => 'Boekhoudmenu',
+ 'Add Account' => 'Rekening toevoegen',
+ 'Add Assembly' => 'Assemblage toevoegen',
+ 'Add Customer' => 'Klant toevoegen',
+ 'Add GIFI' => 'Toevoegen GIFI',
+ 'Add Part' => 'Artikel toevoegen',
+ 'Add Project' => 'Project toevoegen',
+ 'Add Service' => 'Dienst toevoegen',
+ 'Add Transaction' => 'Boeking toevoegen',
+ 'Add Vendor' => 'Leverancier toevoegen',
+ 'Assemblies' => 'Assemblage, samengestelde artikelen',
+ 'Audit Control' => 'Accountants Controle',
+ 'Backup' => 'Backup',
+ 'Balance Sheet' => 'Balans',
+ 'Cash' => 'Kas (contant)',
+ 'Chart of Accounts' => 'Rekeningstelsel',
+ 'Check' => 'Cheque',
+ 'Customers' => 'Klanten',
+ 'General Ledger' => 'Grootboek',
+ 'Goods & Services' => 'Goederen & Diensten',
+ 'HTML Templates' => 'HTML Sjablonen',
+ 'Income Statement' => 'Inkomstenoverzicht',
+ 'Invoice' => 'Factuur',
+ 'LaTeX Templates' => 'Latex Sjablonen',
+ 'List Accounts' => 'Rekeningen weergeven',
+ 'List GIFI' => 'GIFI weergeven',
+ 'Logout' => 'Logout',
+ 'Order Entry' => 'Order invoer',
+ 'Packing List' => 'Pakbon',
+ 'Parts' => 'Artikelen',
+ 'Payment' => 'Betaling',
+ 'Payments' => 'Betalingen',
+ 'Preferences' => 'Instellingen',
+ 'Projects' => 'Projecten',
+ 'Purchase Invoice' => 'Inkoopfactuur',
+ 'Purchase Order' => 'Inkooporder',
+ 'Purchase Orders' => 'Inkooporders',
+ 'Receipt' => 'Ontvangstbewijs',
+ 'Receipts' => 'Ontvangstbewijzen',
+ 'Reconciliation' => 'Bank Overzicht',
+ 'Reports' => 'Rapporten',
+ 'Sales Invoice' => 'Verkoopfactuur',
+ 'Sales Order' => 'Verkooporder',
+ 'Sales Orders' => 'Verkooporders',
+ 'Save to File' => 'Opslaan als bestand',
+ 'Send by E-Mail' => 'Verzenden per E-mail',
+ 'Services' => 'Diensten',
+ 'Statement' => 'Overzicht',
+ 'Stock Assembly' => 'Assemblage voorraad',
+ 'Stylesheet' => 'Stylesheet',
+ 'System' => 'Systeem',
+ 'Tax collected' => 'Belasting verschuldigd',
+ 'Tax paid' => 'Belasting Betaald',
+ 'Transactions' => 'Boekingen',
+ 'Trial Balance' => 'Proefbalans',
+ 'Vendors' => 'Leveranciers',
+ 'Version' => 'Versie',
+};
+
+$self{subs} = {
+ 'acc_menu' => 'acc_menu',
+ 'display' => 'display',
+ 'section_menu' => 'section_menu',
+};
+
+1;
diff --git a/sql-ledger/locale/nl/oe b/sql-ledger/locale/nl/oe
new file mode 100644
index 0000000..cf3a062
--- /dev/null
+++ b/sql-ledger/locale/nl/oe
@@ -0,0 +1,200 @@
+$self{texts} = {
+ 'Add' => 'Toevoegen',
+ 'Add Purchase Invoice' => 'Inkoopfactuur toevoegen',
+ 'Add Purchase Order' => 'Inkooporder toevoegen',
+ 'Add Sales Invoice' => 'Verkoopfactuur toevoegen',
+ 'Add Sales Order' => 'Verkooporder toevoegen',
+ 'Address' => 'Adres',
+ 'Amount' => 'Bedrag',
+ 'Apr' => 'Apr',
+ 'April' => 'April',
+ 'Are you sure you want to delete Order Number' => 'Weet u zeker dat u dit ordernummer wilt verwijderen?',
+ 'Attachment' => 'Bijlage',
+ 'Aug' => 'Aug',
+ 'August' => 'Augustus',
+ 'Bcc' => 'Onzichtbare kopie aan',
+ 'Bin' => 'Locatie',
+ 'C' => 'C',
+ 'Cannot delete order!' => 'Kan order niet verwijderen!',
+ 'Cannot save order!' => 'Kan order niet opslaan!',
+ 'Cc' => 'Copie aan',
+ 'Closed' => 'Afgesloten',
+ 'Confirm!' => 'Bevestig!',
+ 'Contact' => 'Contact',
+ 'Continue' => 'Verder',
+ 'Copies' => 'Kopieën',
+ 'Credit Limit' => 'Kredietlimiet',
+ 'Curr' => 'Val.',
+ 'Currency' => 'Valuta',
+ 'Customer' => 'Klant',
+ 'Customer missing!' => 'Klant ontbreekt!',
+ 'Customer not on file!' => 'Klant bestaat niet!',
+ 'Date' => 'Datum',
+ 'Dec' => 'Dec',
+ 'December' => 'December',
+ 'Delete' => 'Verwijder',
+ 'Delivery Date' => 'Leverdatum',
+ 'Description' => 'Omschrijving',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'E-mailadres mist!',
+ 'Edit Purchase Order' => 'Inkooporder wijzigen',
+ 'Edit Sales Order' => 'Verkoop order wijzigen',
+ 'Exchangerate' => 'Wisselkoers',
+ 'Exchangerate missing!' => 'Wisselkoers mist!',
+ 'Extended' => 'Uitgebreid',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Februari',
+ 'From' => 'Van',
+ 'ID' => 'ID',
+ 'In-line' => 'In Lijn',
+ 'Include in Report' => 'Uitvoer inclusief',
+ 'Invoice' => 'Factuur',
+ 'Invoice Date missing!' => 'Factuurdatum mist!',
+ 'Invoice Number missing!' => 'Factuurnummer mist!',
+ 'Item not on file!' => 'Dit onderdeel is niet in de database gevonden!',
+ 'Jan' => 'Jan',
+ 'January' => 'Januari',
+ 'Jul' => 'Jul',
+ 'July' => 'Juli',
+ 'Jun' => 'Jun',
+ 'June' => 'Juni',
+ 'Mar' => 'Mrt',
+ 'March' => 'Maart',
+ 'May' => 'Mei',
+ 'May ' => 'Mei',
+ 'Message' => 'Boodschap',
+ 'Name' => 'Naam',
+ 'No.' => 'Nr.',
+ 'Notes' => 'Opmerkingen',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Nummer',
+ 'Number missing in Row' => 'Getal missend in regel',
+ 'O' => 'O',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktober',
+ 'Open' => 'Open',
+ 'Order' => 'Bestelling',
+ 'Order Date' => 'Orderdatum',
+ 'Order Date missing!' => 'Geen order datum aanwezig',
+ 'Order Number' => 'Referentie',
+ 'Order Number missing!' => 'Geen ordernummer aanwezig',
+ 'Order deleted!' => 'Order verwijderd!',
+ 'Order saved!' => 'Order opgeslagen!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Pakbon',
+ 'Packing List Date missing!' => 'Pakbon datum mist!',
+ 'Packing List Number missing!' => 'Pakbon nummer mist!',
+ 'Part' => 'Artikel',
+ 'Phone' => 'Tel.',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Prijs',
+ 'Print' => 'Afdrukken',
+ 'Printer' => 'Printer',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project bestaat niet!',
+ 'Purchase Order' => 'Inkooporder',
+ 'Purchase Orders' => 'Inkooporders',
+ 'Qty' => 'Aantal',
+ 'Recd' => 'Ontvangen',
+ 'Remaining' => 'Resterend',
+ 'Required by' => 'Nodig voor',
+ 'Sales Order' => 'Verkooporder',
+ 'Sales Orders' => 'Verkooporders',
+ 'Save' => 'Opslaan',
+ 'Save as new' => 'Opslaan als nieuw',
+ 'Screen' => 'Scherm',
+ 'Select from one of the items below' => 'Kies een van de onderstaande items',
+ 'Select from one of the names below' => 'Kies een van de onderstaande namen',
+ 'Select from one of the projects below' => 'Kies een van de onderstaande projecten',
+ 'Select postscript or PDF!' => 'Kies postscript of PDF',
+ 'Sep' => 'Sep',
+ 'September' => 'September',
+ 'Service' => 'Dienst',
+ 'Ship' => 'Verzenden',
+ 'Ship to' => 'Verzenden aan',
+ 'Ship via' => 'Verzenden via',
+ 'Subject' => 'Onderwerp',
+ 'Subtotal' => 'Subtotaal',
+ 'Tax' => 'Belasting',
+ 'Tax Included' => 'Inclusief Belasting',
+ 'Terms: Net' => 'Netto',
+ 'To' => 'Tot',
+ 'Total' => 'Totaal',
+ 'Unit' => 'Eenheid',
+ 'Update' => 'Bijwerken',
+ 'Vendor' => 'Leverancier',
+ 'Vendor missing!' => 'Leverancier ontbreekt!',
+ 'Vendor not on file!' => 'Leverancier bestaat niet!',
+ 'What type of item is this?' => 'Wat voor soort artikel is dit?',
+ 'Yes' => 'Ja',
+ 'days' => 'dagen',
+ 'ea' => 'voor',
+ 'emailed to' => 'per email verzonden aan',
+ 'sent to printer' => 'Afgedrukt',
+ 'to' => 'tot',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_backorder' => 'create_backorder',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice' => 'invoice',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'order_links' => 'order_links',
+ 'orders' => 'orders',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_order' => 'prepare_order',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'save' => 'save',
+ 'save_as_new' => 'save_as_new',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'subtotal' => 'subtotal',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'toevoegen' => 'add',
+ 'verder' => 'continue',
+ 'verwijder' => 'delete',
+ 'e_mail' => 'e_mail',
+ 'factuur' => 'invoice',
+ 'afdrukken' => 'print',
+ 'opslaan' => 'save',
+ 'opslaan_als_nieuw' => 'save_as_new',
+ 'verzenden_aan' => 'ship_to',
+ 'bijwerken' => 'update',
+ 'ja' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/nl/pe b/sql-ledger/locale/nl/pe
new file mode 100644
index 0000000..bf05662
--- /dev/null
+++ b/sql-ledger/locale/nl/pe
@@ -0,0 +1,35 @@
+$self{texts} = {
+ 'Add' => 'Toevoegen',
+ 'Add Project' => 'Project toevoegen',
+ 'All' => 'Allemaal',
+ 'Continue' => 'Verder',
+ 'Delete' => 'Verwijder',
+ 'Description' => 'Omschrijving',
+ 'Edit Project' => 'Project wijzigen',
+ 'Number' => 'Nummer',
+ 'Orphaned' => 'Wees',
+ 'Project' => 'Project',
+ 'Project Number missing!' => 'Projectnummer ontbreekt!',
+ 'Project deleted!' => 'Project verwijderd!',
+ 'Project saved!' => 'Project opgeslagen!',
+ 'Projects' => 'Projecten',
+ 'Save' => 'Opslaan',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'toevoegen' => 'add',
+ 'verder' => 'continue',
+ 'verwijder' => 'delete',
+ 'opslaan' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/nl/rc b/sql-ledger/locale/nl/rc
new file mode 100644
index 0000000..d86b58e
--- /dev/null
+++ b/sql-ledger/locale/nl/rc
@@ -0,0 +1,37 @@
+$self{texts} = {
+ 'Account' => 'Rekening',
+ 'Balance' => 'Saldo',
+ 'Cleared Balance' => 'Totaal geboekt vorige afschriften',
+ 'Continue' => 'Verder',
+ 'Date' => 'Datum',
+ 'Deposit' => 'Storting',
+ 'Description' => 'Omschrijving',
+ 'Difference' => 'Verschil',
+ 'Done' => 'Klaar',
+ 'Exchangerate Difference' => 'Koersverschil',
+ 'From' => 'Van',
+ 'Out of balance!' => 'Niet in evenwicht!',
+ 'Payment' => 'Betaling',
+ 'Reconciliation' => 'Bank Overzicht',
+ 'Select all' => 'Selecteer alles',
+ 'Source' => 'Herkomst',
+ 'Statement Balance' => 'Saldo Overzicht',
+ 'Update' => 'Bijwerken',
+ 'to' => 'tot',
+};
+
+$self{subs} = {
+ 'continue' => 'continue',
+ 'display_form' => 'display_form',
+ 'done' => 'done',
+ 'get_payments' => 'get_payments',
+ 'reconciliation' => 'reconciliation',
+ 'select_all' => 'select_all',
+ 'update' => 'update',
+ 'verder' => 'continue',
+ 'klaar' => 'done',
+ 'selecteer_alles' => 'select_all',
+ 'bijwerken' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/nl/rp b/sql-ledger/locale/nl/rp
new file mode 100644
index 0000000..9061318
--- /dev/null
+++ b/sql-ledger/locale/nl/rp
@@ -0,0 +1,116 @@
+$self{texts} = {
+ 'AP Aging' => 'Crediteuren Ouderdomsoverzicht',
+ 'AR Aging' => 'Debiteuren Ouderdomsoverzicht',
+ 'Account' => 'Rekening',
+ 'Accounts' => 'Rekeningen',
+ 'Amount' => 'Bedrag',
+ 'Apr' => 'Apr',
+ 'April' => 'April',
+ 'Attachment' => 'Bijlage',
+ 'Aug' => 'Aug',
+ 'August' => 'Augustus',
+ 'Balance Sheet' => 'Balans',
+ 'Bcc' => 'Onzichtbare kopie aan',
+ 'Cash based' => 'Kasbasis (contante verkopen)',
+ 'Cc' => 'Copie aan',
+ 'Compare to' => 'Vergelijk met',
+ 'Continue' => 'Verder',
+ 'Copies' => 'Kopieën',
+ 'Credit' => 'Credit',
+ 'Current' => 'Huidig',
+ 'Customer' => 'Klant',
+ 'Date' => 'Datum',
+ 'Debit' => 'Debet',
+ 'Dec' => 'Dec',
+ 'December' => 'December',
+ 'Decimalplaces' => 'Aantal Decimalen',
+ 'Description' => 'Omschrijving',
+ 'Due' => 'Verschuldigd',
+ 'E-mail' => 'E-mail',
+ 'E-mail Statement to' => 'E-mail Overzicht aan',
+ 'Feb' => 'Feb',
+ 'February' => 'Februari',
+ 'From' => 'Van',
+ 'GIFI' => 'GIFI',
+ 'Heading' => 'Kopregel',
+ 'ID' => 'ID',
+ 'In-line' => 'In Lijn',
+ 'Include in Report' => 'Uitvoer inclusief',
+ 'Income Statement' => 'Inkomstenoverzicht',
+ 'Invoice' => 'Factuur',
+ 'Jan' => 'Jan',
+ 'January' => 'Januari',
+ 'Jul' => 'Jul',
+ 'July' => 'Juli',
+ 'Jun' => 'Jun',
+ 'June' => 'Juni',
+ 'Mar' => 'Mrt',
+ 'March' => 'Maart',
+ 'May' => 'Mei',
+ 'May ' => 'Mei',
+ 'Message' => 'Boodschap',
+ 'N/A' => 'N/A',
+ 'Nothing selected!' => 'Niets geselecteerd!',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktober',
+ 'PDF' => 'PDF',
+ 'Payments' => 'Betalingen',
+ 'Postscript' => 'Postscript',
+ 'Print' => 'Afdrukken',
+ 'Printer' => 'Printer',
+ 'Receipts' => 'Ontvangstbewijzen',
+ 'Report for' => 'Rapport voor',
+ 'Retained Earnings' => 'Winstreserve',
+ 'Screen' => 'Scherm',
+ 'Select all' => 'Selecteer alles',
+ 'Select postscript or PDF!' => 'Kies postscript of PDF',
+ 'Sep' => 'Sep',
+ 'September' => 'September',
+ 'Source' => 'Herkomst',
+ 'Standard' => 'Standaard',
+ 'Statement' => 'Overzicht',
+ 'Statement sent to' => 'Overzicht verzonden aan',
+ 'Statements sent to printer!' => 'Overzichten afgedrukt',
+ 'Subject' => 'Onderwerp',
+ 'Subtotal' => 'Subtotaal',
+ 'Tax' => 'Belasting',
+ 'Tax collected' => 'Belasting verschuldigd',
+ 'Tax paid' => 'Belasting Betaald',
+ 'Total' => 'Totaal',
+ 'Trial Balance' => 'Proefbalans',
+ 'Vendor' => 'Leverancier',
+ 'as at' => 'per',
+ 'collected on sales' => 'verzameld voor de verkoop',
+ 'for Period' => 'voor periode',
+ 'paid on purchases' => 'betaald op inkopen',
+ 'to' => 'tot',
+};
+
+$self{subs} = {
+ 'aging' => 'aging',
+ 'continue' => 'continue',
+ 'e_mail' => 'e_mail',
+ 'generate_ap_aging' => 'generate_ap_aging',
+ 'generate_ar_aging' => 'generate_ar_aging',
+ 'generate_balance_sheet' => 'generate_balance_sheet',
+ 'generate_income_statement' => 'generate_income_statement',
+ 'generate_tax_report' => 'generate_tax_report',
+ 'generate_trial_balance' => 'generate_trial_balance',
+ 'list_payments' => 'list_payments',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'report' => 'report',
+ 'select_all' => 'select_all',
+ 'send_email' => 'send_email',
+ 'statement_details' => 'statement_details',
+ 'tax_subtotal' => 'tax_subtotal',
+ 'verder' => 'continue',
+ 'e_mail' => 'e_mail',
+ 'afdrukken' => 'print',
+ 'selecteer_alles' => 'select_all',
+};
+
+1;
diff --git a/sql-ledger/locale/no/COPYING b/sql-ledger/locale/no/COPYING
new file mode 100644
index 0000000..b853d6c
--- /dev/null
+++ b/sql-ledger/locale/no/COPYING
@@ -0,0 +1,24 @@
+######################################################################
+# SQL-Ledger Accounting
+# Copyright (c) 2001
+#
+# Norwegian texts:
+#
+# Author: Keld Jørn Simonsen <keld@dkuug.dk>
+# Morten Pedersen <morten@workzone.no>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+#######################################################################
+
diff --git a/sql-ledger/locale/no/LANGUAGE b/sql-ledger/locale/no/LANGUAGE
new file mode 100644
index 0000000..ed23589
--- /dev/null
+++ b/sql-ledger/locale/no/LANGUAGE
@@ -0,0 +1 @@
+Norwegian
diff --git a/sql-ledger/locale/no/admin b/sql-ledger/locale/no/admin
new file mode 100644
index 0000000..f28ff84
--- /dev/null
+++ b/sql-ledger/locale/no/admin
@@ -0,0 +1,124 @@
+$self{texts} = {
+ 'Access Control' => 'Aksesskontroll',
+ 'Accounting' => 'Bokføring',
+ 'Add User' => 'Ny bruker',
+ 'Address' => 'Adresse',
+ 'Administration' => 'Administrasjon',
+ 'Administrator' => 'Administrator',
+ 'All Datasets up to date!' => 'Alle datasett oppdatert!',
+ 'Change Admin Password' => 'Endre passord for admin',
+ 'Change Password' => 'Endre passord',
+ 'Character Set' => 'Tegnsett',
+ 'Click on login name to edit!' => 'Klikk på brukernavn for å redigere!',
+ 'Company' => 'Firma',
+ 'Connect to' => 'Forbind til',
+ 'Continue' => 'Fortsett',
+ 'Create Chart of Accounts' => 'Opprett kontoplan',
+ 'Create Dataset' => 'Opprett datasett',
+ 'DBI not installed!' => 'DBI ikke installert!',
+ 'Database' => 'Database',
+ 'Database Administration' => 'Administrasjon av database',
+ 'Database Driver not checked!' => 'Databasedriver ikke kontrollert!',
+ 'Database User missing!' => 'Bruker av database mangler!',
+ 'Dataset' => 'Datasett',
+ 'Dataset missing!' => 'Datasett mangler!',
+ 'Dataset updated!' => 'Datasett oppdatert!',
+ 'Date Format' => 'Datoformat',
+ 'Delete' => 'Fjern',
+ 'Delete Dataset' => 'Fjern datasett',
+ 'Directory' => 'Katalog',
+ 'Driver' => 'Driver',
+ 'Dropdown Limit' => 'Grense for dropdown',
+ 'E-mail' => 'E-post',
+ 'Edit User' => 'Redigér bruker',
+ 'Existing Datasets' => 'Eksisterende datasett',
+ 'Fax' => 'Faks',
+ 'Host' => 'Vert',
+ 'Hostname missing!' => 'Vertsnavn mangler!',
+ 'Incorrect Password!' => 'Galt passord!',
+ 'Language' => 'Språk',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'La vert- og port-felt være tomme med mindre du vil lage en ekstern forbindelse.',
+ 'Login' => 'Login',
+ 'Multibyte Encoding' => 'Tegnsett',
+ 'Name' => 'Navn',
+ 'New Templates' => 'Nye maler',
+ 'No Database Drivers available!' => 'Ingen databasedrivere tilgjengelige!',
+ 'No Dataset selected!' => 'Ingen datasett valgt!',
+ 'Nothing to delete!' => 'Intet å slette!',
+ 'Number Format' => 'Numerisk format',
+ 'Oracle Database Administration' => 'Administrasjon av database Oracle',
+ 'Password' => 'Passord',
+ 'Password changed!' => 'Passord endret!',
+ 'Pg Database Administration' => 'Administrasjon av database Pg',
+ 'Phone' => 'Tel',
+ 'Port' => 'Port',
+ 'Port missing!' => 'Port mangler!',
+ 'Printer' => 'Printer',
+ 'Save' => 'Lagre',
+ 'Select a Dataset to delete and press "Continue"' => 'Velg et datasett det skal fjernes og trykk "Fortsett"',
+ 'Setup Templates' => 'Oppsett av maler',
+ 'Ship via' => 'Avsend via',
+ 'Signature' => 'Underskrift',
+ 'Stylesheet' => 'Stílark',
+ 'Templates' => 'Maler',
+ 'The following Datasets are not in use and can be deleted' => 'De følgende datasett er ikke i bruk og kan slettes',
+ 'The following Datasets need to be updated' => 'De følgende datasettene skal oppdateres',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'Dette er en innledende kontroll for eksisterende kilder. Ingenting vil bli opprettet eller stettet på dette trinnet!',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'For å tilføye en bruker til en gruppe må du endre et brukernavn og så lagre. Den nye brukeren vil så bli lagret med de samme variablene under det nye loginnavn.',
+ 'Update Dataset' => 'Oppdatér datasett',
+ 'Use Templates' => 'Bruk maler',
+ 'User' => 'Bruker',
+ 'User deleted!' => 'Bruker slettet!',
+ 'User saved!' => 'Bruker lagret!',
+ 'Version' => 'Versjon',
+ 'You must enter a host and port for local and remote connections!' => 'Du må oppgi en vert og en port for lokale og eksterne forbindelser!',
+ 'does not exist' => 'eksisterer ikke',
+ 'is already a member!' => 'er allerede et medlem!',
+ 'localhost' => 'localhost',
+ 'locked!' => 'Låst!',
+ 'successfully created!' => 'opprettet!',
+ 'successfully deleted!' => 'fjernet!',
+ 'website' => 'nettsted',
+};
+
+$self{subs} = {
+ 'add_user' => 'add_user',
+ 'adminlogin' => 'adminlogin',
+ 'change_admin_password' => 'change_admin_password',
+ 'change_password' => 'change_password',
+ 'check_password' => 'check_password',
+ 'continue' => 'continue',
+ 'create_dataset' => 'create_dataset',
+ 'dbcreate' => 'dbcreate',
+ 'dbdelete' => 'dbdelete',
+ 'dbdriver_defaults' => 'dbdriver_defaults',
+ 'dbselect_source' => 'dbselect_source',
+ 'dbupdate' => 'dbupdate',
+ 'delete' => 'delete',
+ 'delete_dataset' => 'delete_dataset',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'get_value' => 'get_value',
+ 'list_users' => 'list_users',
+ 'login' => 'login',
+ 'login_name' => 'login_name',
+ 'oracle_database_administration' => 'oracle_database_administration',
+ 'pg_database_administration' => 'pg_database_administration',
+ 'save' => 'save',
+ 'update_dataset' => 'update_dataset',
+ 'ny_bruker' => 'add_user',
+ 'endre_passord_for_admin' => 'change_admin_password',
+ 'endre_passord' => 'change_password',
+ 'fortsett' => 'continue',
+ 'opprett_datasett' => 'create_dataset',
+ 'fjern' => 'delete',
+ 'fjern_datasett' => 'delete_dataset',
+ 'login' => 'login',
+ 'administrasjon_av_database_oracle' => 'oracle_database_administration',
+ 'administrasjon_av_database_pg' => 'pg_database_administration',
+ 'lagre' => 'save',
+ 'oppdatér_datasett' => 'update_dataset',
+};
+
+1;
diff --git a/sql-ledger/locale/no/all b/sql-ledger/locale/no/all
new file mode 100644
index 0000000..1c5d704
--- /dev/null
+++ b/sql-ledger/locale/no/all
@@ -0,0 +1,496 @@
+# These are all the texts to build the translations files.
+# The file has the form of 'english text' => 'foreign text',
+# you can add the translation in this file or in the 'missing' file
+# run locales.pl from this directory to rebuild the translation files
+
+$self{texts} = {
+ 'AP' => 'Kreditorer',
+ 'AP Aging' => 'Aldersfordeling',
+ 'AP Transaction' => 'Leverandørfaktura',
+ 'AP Transactions' => 'Leverandørfakturaer',
+ 'AR' => 'Debitorer',
+ 'AR Aging' => 'Aldersfordeling',
+ 'AR Transaction' => 'Debitorpostering',
+ 'AR Transactions' => 'Debitorposteringer',
+ 'About' => 'Om',
+ 'Access Control' => 'Aksesskontroll',
+ 'Account' => 'Konto',
+ 'Account Number' => 'Kontonummer',
+ 'Account Number missing!' => 'Kontonummer mangler!',
+ 'Account Type' => 'Kontotype',
+ 'Account Type missing!' => 'Kontotype mangler!',
+ 'Account deleted!' => 'Konto slettet!',
+ 'Account saved!' => 'Konto lagret!',
+ 'Accounting' => 'Bokføring',
+ 'Accounting Menu' => 'Konto-meny',
+ 'Accounts' => 'Kontoer',
+ 'Active' => 'Aktiv',
+ 'Add' => 'Legg til',
+ 'Add Account' => 'Ny konto',
+ 'Add Accounts Payables Transaction' => 'Ny leverandørfaktura',
+ 'Add Accounts Receivables Transaction' => 'Ny debitorpostering',
+ 'Add Assembly' => 'Ny sammensetting',
+ 'Add Customer' => 'Ny kunde',
+ 'Add GIFI' => 'Ny GIFI',
+ 'Add General Ledger Transaction' => 'Ny postering i hovedbok',
+ 'Add Part' => 'Ny vare',
+ 'Add Project' => 'Nytt prosjekt',
+ 'Add Purchase Invoice' => 'Ny innkjøpsfaktura',
+ 'Add Purchase Order' => 'Ny innkjøpsordre',
+ 'Add Sales Invoice' => 'Ny salgsfaktura',
+ 'Add Sales Order' => 'Ny salgsordre',
+ 'Add Service' => 'Ny tjeneste',
+ 'Add Transaction' => 'Ny postering',
+ 'Add User' => 'Ny bruker',
+ 'Add Vendor' => 'Ny leverandør',
+ 'Address' => 'Adresse',
+ 'Administration' => 'Administrasjon',
+ 'Administrator' => 'Administrator',
+ 'All' => 'Alle',
+ 'All Datasets up to date!' => 'Alle datasett oppdatert!',
+ 'Amount' => 'Beløp',
+ 'Amount Due' => 'Forfallent beløp',
+ 'Amount does not equal applied!' => 'Beløp er ikke likt utført!',
+ 'Amount missing!' => 'Konto mangler!',
+ 'Applied' => 'Utført',
+ 'Apr' => 'apr',
+ 'April' => 'april',
+ 'Are you sure you want to delete Invoice Number' => 'Er du sikker på at du vil fjerne fakturanummer',
+ 'Are you sure you want to delete Order Number' => 'Er du sikker på at du vil fjerne ordrenummer',
+ 'Are you sure you want to delete Transaction' => 'Er du sikker på at du vil fjerne postering',
+ 'Assemblies' => 'Sammensettinger',
+ 'Assemblies restocked!' => 'Sammensettinger omplassert!',
+ 'Assembly Number missing!' => 'Sammensettingsnummer mangler!',
+ 'Asset' => 'Aktiv',
+ 'Attachment' => 'Vedlegg',
+ 'Audit Control' => 'Revisjonskontroll',
+ 'Aug' => 'aug',
+ 'August' => 'august',
+ 'BOM' => 'BOM',
+ 'Backup' => 'Sikkerhetskopi',
+ 'Backup sent to' => 'Sikkerhetskopier sendt til',
+ 'Balance' => 'Balanse',
+ 'Balance Sheet' => 'Status',
+ 'Bcc' => 'Blind kopi',
+ 'Bin' => 'Papirkurv',
+ 'Books are open' => 'Bokføringen er åpen for rettelser',
+ 'Bought' => 'Kjøpt',
+ 'Business Number' => 'Organisasjonsnummer',
+ 'C' => 'C',
+ 'COGS' => 'Innkjøp',
+ 'Cannot delete account!' => 'Kan ikke slette konto!',
+ 'Cannot delete customer!' => 'Kan ikke slette kunde!',
+ 'Cannot delete default account!' => 'Kan ikke slette standardkonto!',
+ 'Cannot delete invoice!' => 'Kan ikke slette faktura!',
+ 'Cannot delete item already invoiced!' => 'Kan ikke slette allerede fakturert enkeltdel!',
+ 'Cannot delete item on order!' => 'Kan ikke slette enkeltdel i ordre!',
+ 'Cannot delete item which is part of an assembly!' => 'kan ikke slette en enhet som er en del av en sammensetting!',
+ 'Cannot delete item!' => 'Kan ikke slette enkeltdel!',
+ 'Cannot delete order!' => 'Kan ikke slette ordre!',
+ 'Cannot delete transaction!' => 'Kan ikke slette postering!',
+ 'Cannot delete vendor!' => 'Kan ikke slette leverandør!',
+ 'Cannot have a value in both Debit and Credit!' => 'Kan ikke ha en verdi i både debet og kredit!',
+ 'Cannot post a transaction without a value!' => 'Kan ikke bokføre transaksjon uten verdi!',
+ 'Cannot post invoice for a closed period!' => 'Kan ikke bokføre faktura for en avsluttet periode!',
+ 'Cannot post invoice!' => 'Kan ikke bokføre faktura!',
+ 'Cannot post payment for a closed period!' => 'Kan ikke bokføre betaling for en avsluttet periode!',
+ 'Cannot post payment!' => 'Kan ikke bokføre betaling!',
+ 'Cannot post transaction for a closed period!' => 'Kan ikke bokføre postering for en avsluttet periode!',
+ 'Cannot post transaction!' => 'Kan ikke bokføre postering!',
+ 'Cannot process payment for a closed period!' => 'Kan ikke behandle betaling for avsluttet periode!',
+ 'Cannot save account!' => 'Kan ikke lagre konto!',
+ 'Cannot save order!' => 'Kan ikke lagre ordre!',
+ 'Cannot save preferences!' => 'Kan ikke lagre preferenser!',
+ 'Cannot stock assemblies!' => 'Kan ikke plasere sammensetninger!',
+ 'Cash' => 'Bank',
+ 'Cash based' => 'Bank basert',
+ 'Cc' => 'Kopi til',
+ 'Change Admin Password' => 'Endre passord for admin',
+ 'Change Password' => 'Endre passord',
+ 'Character Set' => 'Tegnsett',
+ 'Chart of Accounts' => 'Kontoplan',
+ 'Check' => 'Sjekk',
+ 'Check printed!' => 'Sjekk utskrift!',
+ 'Check printing failed!' => 'Utskrift av sjekk feilet!',
+ 'Cleared Balance' => 'Utlignet balanse',
+ 'Click on login name to edit!' => 'Klikk på brukernavn for å redigere!',
+ 'Close Books up to' => 'Avslutt bokføring opp til',
+ 'Closed' => 'Avsluttet',
+ 'Company' => 'Firma',
+ 'Compare to' => 'Sammenlign med',
+ 'Confirm!' => 'Bekreft!',
+ 'Connect to' => 'Forbind til',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Fortsett',
+ 'Copies' => 'Kopier',
+ 'Copy to COA' => 'Kopiér til COA',
+ 'Create Chart of Accounts' => 'Opprett kontoplan',
+ 'Create Dataset' => 'Opprett datasett',
+ 'Credit' => 'Kredit',
+ 'Credit Limit' => 'Kreditgrense',
+ 'Curr' => 'Val',
+ 'Currency' => 'Valuta',
+ 'Current' => 'Nåværende',
+ 'Customer' => 'Kunde',
+ 'Customer deleted!' => 'Kunde slettet!',
+ 'Customer missing!' => 'Kunde mangler!',
+ 'Customer not on file!' => 'Kunde ikke i database!',
+ 'Customer saved!' => 'Kunde lagret!',
+ 'Customers' => 'Kunder',
+ 'DBI not installed!' => 'DBI ikke installert!',
+ 'Database' => 'Database',
+ 'Database Administration' => 'Administrasjon av database',
+ 'Database Driver not checked!' => 'Databasedriver ikke kontrollert!',
+ 'Database Host' => 'Database-vert',
+ 'Database User missing!' => 'Bruker av database mangler!',
+ 'Dataset' => 'Datasett',
+ 'Dataset missing!' => 'Datasett mangler!',
+ 'Dataset updated!' => 'Datasett oppdatert!',
+ 'Date' => 'Dato',
+ 'Date Due' => 'Forfallsdato',
+ 'Date Format' => 'Datoformat',
+ 'Date Paid' => 'Betalingsdato',
+ 'Date missing!' => 'Dato mangler!',
+ 'Debit' => 'Debet',
+ 'Debit and credit out of balance!' => 'Debet og kredit må være det samme!',
+ 'Dec' => 'des',
+ 'December' => 'desember',
+ 'Decimalplaces' => 'Desimalplasser',
+ 'Delete' => 'Fjern',
+ 'Delete Account' => 'Fjern konto',
+ 'Delete Dataset' => 'Fjern datasett',
+ 'Delivery Date' => 'Leveringsdato',
+ 'Department' => 'Avdeling',
+ 'Deposit' => 'Depositum',
+ 'Description' => 'Beskrivelse',
+ 'Difference' => 'Forskjell',
+ 'Directory' => 'Katalog',
+ 'Discount' => 'Rabatt',
+ 'Done' => 'Ferdig',
+ 'Drawing' => 'Tegning',
+ 'Driver' => 'Driver',
+ 'Dropdown Limit' => 'Grense for dropdown',
+ 'Due' => 'Forfall',
+ 'Due Date' => 'Forfallsdato',
+ 'Due Date missing!' => 'Forfallsdato mangler!',
+ 'E-mail' => 'E-post',
+ 'E-mail Statement to' => 'Send oppgjør til',
+ 'E-mail address missing!' => 'E-post-adresse mangler!',
+ 'Edit' => 'Redigér',
+ 'Edit Account' => 'Redigér konto',
+ 'Edit Accounts Payables Transaction' => 'Redigér leverandørpostering',
+ 'Edit Accounts Receivables Transaction' => 'Redigér debitorpostering',
+ 'Edit Assembly' => 'Redigér sammensetting',
+ 'Edit Customer' => 'Endre kundeopplysninger',
+ 'Edit GIFI' => 'Redigér GIFI',
+ 'Edit General Ledger Transaction' => 'Redigér en postering i hovedbok',
+ 'Edit Part' => 'Redigér vare',
+ 'Edit Preferences for' => 'Redigér innstillinger for',
+ 'Edit Project' => 'Redigér prosjekt',
+ 'Edit Purchase Invoice' => 'Redigér innkjøpsfaktura',
+ 'Edit Purchase Order' => 'Redigér innkjøpsordre',
+ 'Edit Sales Invoice' => 'Redigér salgsfaktura',
+ 'Edit Sales Order' => 'Redigér salgsordre',
+ 'Edit Service' => 'Redigér tjeneste',
+ 'Edit Template' => 'Redigér mal',
+ 'Edit User' => 'Redigér bruker',
+ 'Edit Vendor' => 'Endre produsent',
+ 'Employee' => 'Ansatt',
+ 'Enforce transaction reversal for all dates' => 'Tving eksplisitte transaksjonsrettelser for alle datoer',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Angi opp til 3 bokstaver adskilt med kolon (fx NOK:EUR:USD:JPY) for innenlandske og utenlandske valutaer',
+ 'Equity' => 'Egenkapital',
+ 'Exch' => 'Vxl',
+ 'Exchangerate' => 'Vekslingskurs',
+ 'Exchangerate Difference' => 'Forskjell på vekslingskurs',
+ 'Exchangerate for payment missing!' => 'Vekslingskurs for betaling mangler!',
+ 'Exchangerate missing!' => 'Vekslingskurs mangler!',
+ 'Existing Datasets' => 'Eksisterende datasett',
+ 'Expense' => 'Utgift',
+ 'Expense Account' => 'Utgiftskonto',
+ 'Expense/Asset' => 'Utgift/Aktiv',
+ 'Extended' => 'Utvigt',
+ 'Fax' => 'Faks',
+ 'Feb' => 'feb',
+ 'February' => 'februar',
+ 'Foreign Exchange Gain' => 'Gevinst på valutahandel',
+ 'Foreign Exchange Loss' => 'Tap på valutahandel',
+ 'From' => 'Fra',
+ 'GIFI' => 'GIFI',
+ 'GIFI deleted!' => 'GIFI slettet!',
+ 'GIFI missing!' => 'GIFI mangler!',
+ 'GIFI saved!' => 'GIFI lagret!',
+ 'GL Transaction' => 'Postering i hovedbok',
+ 'General Ledger' => 'Hovedbok',
+ 'Goods & Services' => 'Varer og tjenester',
+ 'HTML Templates' => 'HTML-maler',
+ 'Heading' => 'Overskrift',
+ 'Host' => 'Vert',
+ 'Hostname missing!' => 'Vertsnavn mangler!',
+ 'ID' => 'ID',
+ 'Image' => 'Bilde',
+ 'In-line' => 'Inne i',
+ 'Include in Report' => 'Inkludér i rapport',
+ 'Include in drop-down menus' => 'Inkludér i rullegardin-menyer',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Skal denne konto kunne velges som avgifts- eller mva-konto ved opprettelsen av kunder/leverandører?',
+ 'Income' => 'Inntekt',
+ 'Income Account' => 'Inntektskonto',
+ 'Income Statement' => 'Driftsregnskap',
+ 'Incorrect Dataset version!' => 'Gal versjon av datasett!',
+ 'Incorrect Password!' => 'Galt passord!',
+ 'Individual Items' => 'Individuelle enheter',
+ 'Inventory' => 'Artikler',
+ 'Inventory Account' => 'Lagerkonto',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'Lagerbeholdning må være null for at du kan sette denne sammensetting som foreldet!',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'Lagerbeholdning må være null for at du kan sette denne enhet som foreldet!',
+ 'Inventory quantity must be zero!' => 'Lagerbeholdning må være null!',
+ 'Invoice' => 'Faktura',
+ 'Invoice Date' => 'Fakturadato',
+ 'Invoice Date missing!' => 'Fakturadato mangler!',
+ 'Invoice Number' => 'Fakturanummer',
+ 'Invoice Number missing!' => 'Fakturanummer mangler!',
+ 'Invoice deleted!' => 'Faktura slettet!',
+ 'Invoice posted!' => 'Faktura bokført!',
+ 'Invoices' => 'Fakturaer',
+ 'Is this a summary account to record' => 'Samlekonto for',
+ 'Item deleted!' => 'Enkeltdel slettet!',
+ 'Item not on file!' => 'Enkeltdel er ikke i databasen!',
+ 'Jan' => 'jan',
+ 'January' => 'januar',
+ 'Jul' => 'jul',
+ 'July' => 'juli',
+ 'Jun' => 'jun',
+ 'June' => 'juni',
+ 'LaTeX Templates' => 'LaTeX-maler',
+ 'Language' => 'Språk',
+ 'Last Cost' => 'Seneste pris',
+ 'Last Invoice Number' => 'Seneste fakturanummer',
+ 'Last Numbers & Default Accounts' => 'Løpenumre og standardkontoer',
+ 'Last Purchase Order Number' => 'Seneste innkjøpsordrenummer',
+ 'Last Sales Order Number' => 'Seneste salgsordrenummer',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'La vert- og port-felt være tomme med mindre du vil lage en ekstern forbindelse.',
+ 'Liability' => 'Passiv',
+ 'Licensed to' => 'Utført for',
+ 'Line Total' => 'Antall linjer',
+ 'Link' => 'Referanse',
+ 'Link Accounts' => 'Kople kontoer',
+ 'List Accounts' => 'List kontoer',
+ 'List GIFI' => 'List GIFI',
+ 'List Price' => 'Listepris',
+ 'List Transactions' => 'Vis bokføringer',
+ 'Login' => 'Login',
+ 'Logout' => 'Log ut',
+ 'Make' => 'Fabrikat',
+ 'Mar' => 'mar',
+ 'March' => 'mars',
+ 'May' => 'mai',
+ 'May ' => 'mai ',
+ 'Message' => 'Melding',
+ 'Microfiche' => 'Mikrofilm',
+ 'Model' => 'Modell',
+ 'Multibyte Encoding' => 'Tegnsett',
+ 'N/A' => 'I/T',
+ 'Name' => 'Navn',
+ 'Name missing!' => 'Navn mangler!',
+ 'New Templates' => 'Nye maler',
+ 'No' => 'Nei',
+ 'No Database Drivers available!' => 'Ingen databasedrivere tilgjengelige!',
+ 'No Dataset selected!' => 'Ingen datasett valgt!',
+ 'No email address for' => 'Ingen emailadresse for',
+ 'No.' => 'Nr.',
+ 'Notes' => 'Bemerkninger',
+ 'Nothing applied!' => 'Ingenting utført!',
+ 'Nothing selected!' => 'Ingenting valgt!',
+ 'Nothing to delete!' => 'Intet å slette!',
+ 'Nov' => 'nov',
+ 'November' => 'november',
+ 'Number' => 'Nummer',
+ 'Number Format' => 'Numerisk format',
+ 'Number missing in Row' => 'Tall mangler i rad',
+ 'O' => 'O',
+ 'Obsolete' => 'Foreldet',
+ 'Oct' => 'okt',
+ 'October' => 'oktober',
+ 'On Hand' => 'På lager',
+ 'On Order' => 'I ordre',
+ 'Open' => 'Åpne',
+ 'Oracle Database Administration' => 'Administrasjon av database Oracle',
+ 'Order' => 'Ordre',
+ 'Order Date' => 'Ordredato',
+ 'Order Date missing!' => 'Ordredato mangler!',
+ 'Order Entry' => 'Ordreinngang',
+ 'Order Number' => 'Ordrenummer',
+ 'Order Number missing!' => 'Ordrenummer mangler!',
+ 'Order deleted!' => 'Ordre slettet!',
+ 'Order saved!' => 'Ordre lagret!',
+ 'Ordered' => 'Ordrer',
+ 'Orphaned' => 'Frittstående',
+ 'Out of balance!' => 'Ute av balanse!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Følgeseddel',
+ 'Packing List Date missing!' => 'Dato for pakkeliste mangler!',
+ 'Packing List Number missing!' => 'Nummer for pakkeliste mangler!',
+ 'Paid' => 'Betalt',
+ 'Paid in full' => 'Alt betalt',
+ 'Part' => 'Vare',
+ 'Part Number missing!' => 'Varenummer mangler!',
+ 'Parts' => 'Deler',
+ 'Parts Inventory' => 'Vareliste',
+ 'Password' => 'Passord',
+ 'Password changed!' => 'Passord endret!',
+ 'Payables' => 'Utbetalinger',
+ 'Payment' => 'Betaling',
+ 'Payment date missing!' => 'Betalingsdato mangler!',
+ 'Payment posted!' => 'Betaling bokført!',
+ 'Payments' => 'Utbetaling',
+ 'Pg Database Administration' => 'Administrasjon av database Pg',
+ 'Phone' => 'Tel',
+ 'Port' => 'Port',
+ 'Port missing!' => 'Port mangler!',
+ 'Post' => 'Bokfør',
+ 'Post as new' => 'Bokfør som ny',
+ 'Postscript' => 'Postscript',
+ 'Preferences' => 'Innstillinger',
+ 'Preferences saved!' => 'Innstillinger lagret!',
+ 'Price' => 'Pris',
+ 'Print' => 'Skriv ut',
+ 'Printer' => 'Printer',
+ 'Project' => 'Prosjekt',
+ 'Project Number' => 'Prosjektnummer',
+ 'Project Number missing!' => 'Prosjektnummer mangler!',
+ 'Project deleted!' => 'Prosjekt slettet!',
+ 'Project not on file!' => 'Prosjekt er ikke i database!',
+ 'Project saved!' => 'Prosjekt lagret!',
+ 'Projects' => 'Prosjekter',
+ 'Purchase Invoice' => 'Innkjøpsfaktura',
+ 'Purchase Order' => 'Innkjøpsordre',
+ 'Purchase Orders' => 'Innkjøpsordrer',
+ 'Qty' => 'Antall',
+ 'ROP' => 'Etterbestill ved',
+ 'Rate' => 'Rate',
+ 'Recd' => 'Mottatt',
+ 'Receipt' => 'Kvittering',
+ 'Receipt printed!' => 'Kvittering skrevet!',
+ 'Receipt printing failed!' => 'Kvitteringsutskrift feilet!',
+ 'Receipts' => 'Kvitteringer',
+ 'Receivables' => 'Innbetalinger',
+ 'Reconciliation' => 'Bankoppgjør',
+ 'Record in' => 'Bokfør på',
+ 'Reference' => 'Referanse',
+ 'Reference missing!' => 'Referanser mangler!',
+ 'Remaining' => 'Resterende',
+ 'Report for' => 'Rapport for',
+ 'Reports' => 'Rapporter',
+ 'Required by' => 'Bestilt av',
+ 'Retained Earnings' => 'Realisert overskudd',
+ 'Sales' => 'Salg',
+ 'Sales Invoice' => 'Salgsfaktura',
+ 'Sales Order' => 'Salgsordre',
+ 'Sales Orders' => 'Salgsordrer',
+ 'Salesperson' => '',
+ 'Save' => 'Lagre',
+ 'Save as new' => 'Lagre som ny',
+ 'Save to File' => 'Lagre i fil',
+ 'Screen' => 'Skjerm',
+ 'Select a Dataset to delete and press "Continue"' => 'Velg et datasett det skal fjernes og trykk "Fortsett"',
+ 'Select all' => 'Velg alt',
+ 'Select from one of the items below' => 'Velg en fra listen under, og trykk "Fortsett"',
+ 'Select from one of the names below' => 'Velg fra et av navnene under',
+ 'Select from one of the projects below' => 'Velg fra et av prosjektene under',
+ 'Select postscript or PDF!' => 'Velg postscript eller PDF!',
+ 'Sell Price' => 'Salgspris',
+ 'Send by E-Mail' => 'Sendt per email',
+ 'Sep' => 'sep',
+ 'September' => 'september',
+ 'Service' => 'Tjeneste',
+ 'Service Items' => 'Tjenester',
+ 'Service Number missing!' => 'Tjenestenummer mangler!',
+ 'Services' => 'Tjenester',
+ 'Setup Templates' => 'Oppsett av maler',
+ 'Ship' => 'Avsend',
+ 'Ship to' => 'Avsend til',
+ 'Ship via' => 'Avsend via',
+ 'Short' => 'Kort',
+ 'Signature' => 'Underskrift',
+ 'Sold' => 'Solgt',
+ 'Source' => 'Bilag',
+ 'Standard' => 'Standard',
+ 'Statement' => 'Oppgjør',
+ 'Statement Balance' => 'Balanseoppgjør',
+ 'Statement sent to' => 'Oppgjør sendt til',
+ 'Statements sent to printer!' => 'Oppgjør sendt til skriver!',
+ 'Stock Assembly' => 'Lagersammensetting',
+ 'Stylesheet' => 'Stílark',
+ 'Subject' => 'Emne',
+ 'Subtotal' => 'Subtotal',
+ 'System' => 'System',
+ 'Tax' => 'Avgift/mva',
+ 'Tax Accounts' => 'Avgift/mva-kontoer',
+ 'Tax Included' => 'Inkl. avgifter og mva',
+ 'Tax collected' => 'Inngående avgift',
+ 'Tax paid' => 'Betalt avgift',
+ 'Taxable' => 'Avgifts/mvapliktig',
+ 'Template saved!' => 'Mal lagret!',
+ 'Templates' => 'Maler',
+ 'Terms: Net' => 'Netto',
+ 'The following Datasets are not in use and can be deleted' => 'De følgende datasett er ikke i bruk og kan slettes',
+ 'The following Datasets need to be updated' => 'De følgende datasettene skal oppdateres',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'Dette er en innledende kontroll for eksisterende kilder. Ingenting vil bli opprettet eller stettet på dette trinnet!',
+ 'To' => 'Til',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'For å tilføye en bruker til en gruppe må du endre et brukernavn og så lagre. Den nye brukeren vil så bli lagret med de samme variablene under det nye loginnavn.',
+ 'Top Level' => 'Toppnivå',
+ 'Total' => 'I alt',
+ 'Transaction Date missing!' => 'Transaksjonsdato mangler!',
+ 'Transaction deleted!' => 'Postering slettet!',
+ 'Transaction posted!' => 'Postering bokført!',
+ 'Transaction reversal enforced for all dates' => 'Transaksjonsrettelser skal alltid bokføres eksplisitt',
+ 'Transaction reversal enforced up to' => 'Transaksjonsrettelser skal bokføres eksplisitt inntil',
+ 'Transactions' => 'Posteringer',
+ 'Transactions exist, cannot delete customer!' => 'Kunde kan ikke fjernes da det er posteringer!',
+ 'Transactions exist, cannot delete vendor!' => 'Leverandør kan ikke fjernes da det er posteringer!',
+ 'Transactions exist; cannot delete account!' => 'Konto kan ikke fjernes da det er posteringer!',
+ 'Trial Balance' => 'Foreløpig status',
+ 'Unit' => 'Enhet',
+ 'Unit of measure' => 'Måleenhet',
+ 'Update' => 'Oppdatér',
+ 'Update Dataset' => 'Oppdatér datasett',
+ 'Updated' => 'Oppdateret',
+ 'Use Templates' => 'Bruk maler',
+ 'User' => 'Bruker',
+ 'User deleted!' => 'Bruker slettet!',
+ 'User saved!' => 'Bruker lagret!',
+ 'Vendor' => 'Leverandør',
+ 'Vendor deleted!' => 'Leverandør slettet!',
+ 'Vendor missing!' => 'Leverandør mangler!',
+ 'Vendor not on file!' => 'Leverandør er ikke i database!',
+ 'Vendor saved!' => 'Leverandør lagret!',
+ 'Vendors' => 'Leverandører',
+ 'Version' => 'Versjon',
+ 'Weight' => 'Vekt',
+ 'Weight Unit' => 'Vektenhet',
+ 'What type of item is this?' => 'Hvilken type ting er dette?',
+ 'Year End' => 'Årsslutt',
+ 'Yes' => 'Ja',
+ 'You are logged out!' => 'Du er logget av!',
+ 'You did not enter a name!' => 'Du gav ikke et navn!',
+ 'You must enter a host and port for local and remote connections!' => 'Du må oppgi en vert og en port for lokale og eksterne forbindelser!',
+ 'as at' => 'som ved',
+ 'collected on sales' => 'innbetalt på salg',
+ 'days' => 'dager',
+ 'does not exist' => 'eksisterer ikke',
+ 'ea' => 'stk',
+ 'emailed to' => 'sendt på epost til',
+ 'for Period' => 'for periode',
+ 'hr' => 'time',
+ 'is already a member!' => 'er allerede et medlem!',
+ 'is not a member!' => 'er ikke et medlem!',
+ 'localhost' => 'localhost',
+ 'locked!' => 'Låst!',
+ 'paid on purchases' => 'betalt på kjøp',
+ 'sent to printer' => 'sendt til skriver',
+ 'successfully created!' => 'opprettet!',
+ 'successfully deleted!' => 'fjernet!',
+ 'to' => 'til',
+ 'website' => 'nettsted',
+};
+
+1;
diff --git a/sql-ledger/locale/no/am b/sql-ledger/locale/no/am
new file mode 100644
index 0000000..5e56e9a
--- /dev/null
+++ b/sql-ledger/locale/no/am
@@ -0,0 +1,139 @@
+$self{texts} = {
+ 'AP' => 'Kreditorer',
+ 'AR' => 'Debitorer',
+ 'Account' => 'Konto',
+ 'Account Number' => 'Kontonummer',
+ 'Account Number missing!' => 'Kontonummer mangler!',
+ 'Account Type' => 'Kontotype',
+ 'Account Type missing!' => 'Kontotype mangler!',
+ 'Account deleted!' => 'Konto slettet!',
+ 'Account saved!' => 'Konto lagret!',
+ 'Add Account' => 'Ny konto',
+ 'Add GIFI' => 'Ny GIFI',
+ 'Address' => 'Adresse',
+ 'Asset' => 'Aktiv',
+ 'Audit Control' => 'Revisjonskontroll',
+ 'Backup sent to' => 'Sikkerhetskopier sendt til',
+ 'Books are open' => 'Bokføringen er åpen for rettelser',
+ 'Business Number' => 'Organisasjonsnummer',
+ 'COGS' => 'Innkjøp',
+ 'Cannot delete account!' => 'Kan ikke slette konto!',
+ 'Cannot delete default account!' => 'Kan ikke slette standardkonto!',
+ 'Cannot save account!' => 'Kan ikke lagre konto!',
+ 'Cannot save preferences!' => 'Kan ikke lagre preferenser!',
+ 'Character Set' => 'Tegnsett',
+ 'Chart of Accounts' => 'Kontoplan',
+ 'Close Books up to' => 'Avslutt bokføring opp til',
+ 'Company' => 'Firma',
+ 'Continue' => 'Fortsett',
+ 'Copy to COA' => 'Kopiér til COA',
+ 'Credit' => 'Kredit',
+ 'Date Format' => 'Datoformat',
+ 'Debit' => 'Debet',
+ 'Delete' => 'Fjern',
+ 'Delete Account' => 'Fjern konto',
+ 'Description' => 'Beskrivelse',
+ 'Dropdown Limit' => 'Grense for dropdown',
+ 'E-mail' => 'E-post',
+ 'Edit' => 'Redigér',
+ 'Edit Account' => 'Redigér konto',
+ 'Edit GIFI' => 'Redigér GIFI',
+ 'Edit Preferences for' => 'Redigér innstillinger for',
+ 'Edit Template' => 'Redigér mal',
+ 'Enforce transaction reversal for all dates' => 'Tving eksplisitte transaksjonsrettelser for alle datoer',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Angi opp til 3 bokstaver adskilt med kolon (fx NOK:EUR:USD:JPY) for innenlandske og utenlandske valutaer',
+ 'Equity' => 'Egenkapital',
+ 'Expense' => 'Utgift',
+ 'Expense Account' => 'Utgiftskonto',
+ 'Expense/Asset' => 'Utgift/Aktiv',
+ 'Fax' => 'Faks',
+ 'Foreign Exchange Gain' => 'Gevinst på valutahandel',
+ 'Foreign Exchange Loss' => 'Tap på valutahandel',
+ 'GIFI' => 'GIFI',
+ 'GIFI deleted!' => 'GIFI slettet!',
+ 'GIFI missing!' => 'GIFI mangler!',
+ 'GIFI saved!' => 'GIFI lagret!',
+ 'Heading' => 'Overskrift',
+ 'Include in drop-down menus' => 'Inkludér i rullegardin-menyer',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Skal denne konto kunne velges som avgifts- eller mva-konto ved opprettelsen av kunder/leverandører?',
+ 'Income' => 'Inntekt',
+ 'Income Account' => 'Inntektskonto',
+ 'Inventory' => 'Artikler',
+ 'Inventory Account' => 'Lagerkonto',
+ 'Is this a summary account to record' => 'Samlekonto for',
+ 'Language' => 'Språk',
+ 'Last Invoice Number' => 'Seneste fakturanummer',
+ 'Last Numbers & Default Accounts' => 'Løpenumre og standardkontoer',
+ 'Last Purchase Order Number' => 'Seneste innkjøpsordrenummer',
+ 'Last Sales Order Number' => 'Seneste salgsordrenummer',
+ 'Liability' => 'Passiv',
+ 'Link' => 'Referanse',
+ 'Name' => 'Navn',
+ 'No' => 'Nei',
+ 'No email address for' => 'Ingen emailadresse for',
+ 'Number' => 'Nummer',
+ 'Number Format' => 'Numerisk format',
+ 'Parts Inventory' => 'Vareliste',
+ 'Password' => 'Passord',
+ 'Payables' => 'Utbetalinger',
+ 'Payment' => 'Betaling',
+ 'Phone' => 'Tel',
+ 'Preferences saved!' => 'Innstillinger lagret!',
+ 'Rate' => 'Rate',
+ 'Receivables' => 'Innbetalinger',
+ 'Sales' => 'Salg',
+ 'Save' => 'Lagre',
+ 'Service Items' => 'Tjenester',
+ 'Ship via' => 'Avsend via',
+ 'Signature' => 'Underskrift',
+ 'Stylesheet' => 'Stílark',
+ 'Tax' => 'Avgift/mva',
+ 'Tax Accounts' => 'Avgift/mva-kontoer',
+ 'Template saved!' => 'Mal lagret!',
+ 'Transaction reversal enforced for all dates' => 'Transaksjonsrettelser skal alltid bokføres eksplisitt',
+ 'Transaction reversal enforced up to' => 'Transaksjonsrettelser skal bokføres eksplisitt inntil',
+ 'Transactions exist; cannot delete account!' => 'Konto kan ikke fjernes da det er posteringer!',
+ 'Weight Unit' => 'Vektenhet',
+ 'Year End' => 'Årsslutt',
+ 'Yes' => 'Ja',
+ 'does not exist' => 'eksisterer ikke',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_gifi' => 'add_gifi',
+ 'audit_control' => 'audit_control',
+ 'backup' => 'backup',
+ 'config' => 'config',
+ 'continue' => 'continue',
+ 'copy_to_coa' => 'copy_to_coa',
+ 'delete' => 'delete',
+ 'delete_account' => 'delete_account',
+ 'delete_gifi' => 'delete_gifi',
+ 'display_form' => 'display_form',
+ 'display_stylesheet' => 'display_stylesheet',
+ 'doclose' => 'doclose',
+ 'edit' => 'edit',
+ 'edit_gifi' => 'edit_gifi',
+ 'edit_template' => 'edit_template',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gifi_footer' => 'gifi_footer',
+ 'gifi_header' => 'gifi_header',
+ 'list' => 'list',
+ 'list_gifi' => 'list_gifi',
+ 'save' => 'save',
+ 'save_account' => 'save_account',
+ 'save_gifi' => 'save_gifi',
+ 'save_preferences' => 'save_preferences',
+ 'save_template' => 'save_template',
+ 'ny_konto' => 'add_account',
+ 'fortsett' => 'continue',
+ 'kopiér_til_coa' => 'copy_to_coa',
+ 'fjern' => 'delete',
+ 'redigér' => 'edit',
+ 'redigér_konto' => 'edit_account',
+ 'lagre' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/no/ap b/sql-ledger/locale/no/ap
new file mode 100644
index 0000000..896bc69
--- /dev/null
+++ b/sql-ledger/locale/no/ap
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AP Transaction' => 'Leverandørfaktura',
+ 'AP Transactions' => 'Leverandørfakturaer',
+ 'Account' => 'Konto',
+ 'Add Accounts Payables Transaction' => 'Ny leverandørfaktura',
+ 'Address' => 'Adresse',
+ 'Amount' => 'Beløp',
+ 'Amount Due' => 'Forfallent beløp',
+ 'Apr' => 'apr',
+ 'April' => 'april',
+ 'Are you sure you want to delete Transaction' => 'Er du sikker på at du vil fjerne postering',
+ 'Aug' => 'aug',
+ 'August' => 'august',
+ 'Cannot delete transaction!' => 'Kan ikke slette postering!',
+ 'Cannot post payment for a closed period!' => 'Kan ikke bokføre betaling for en avsluttet periode!',
+ 'Cannot post transaction for a closed period!' => 'Kan ikke bokføre postering for en avsluttet periode!',
+ 'Cannot post transaction!' => 'Kan ikke bokføre postering!',
+ 'Closed' => 'Avsluttet',
+ 'Confirm!' => 'Bekreft!',
+ 'Continue' => 'Fortsett',
+ 'Currency' => 'Valuta',
+ 'Customer not on file!' => 'Kunde ikke i database!',
+ 'Date' => 'Dato',
+ 'Date Paid' => 'Betalingsdato',
+ 'Dec' => 'des',
+ 'December' => 'desember',
+ 'Delete' => 'Fjern',
+ 'Description' => 'Beskrivelse',
+ 'Due Date' => 'Forfallsdato',
+ 'Due Date missing!' => 'Forfallsdato mangler!',
+ 'Edit Accounts Payables Transaction' => 'Redigér leverandørpostering',
+ 'Employee' => 'Ansatt',
+ 'Exch' => 'Vxl',
+ 'Exchangerate' => 'Vekslingskurs',
+ 'Exchangerate for payment missing!' => 'Vekslingskurs for betaling mangler!',
+ 'Exchangerate missing!' => 'Vekslingskurs mangler!',
+ 'Feb' => 'feb',
+ 'February' => 'februar',
+ 'From' => 'Fra',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Inkludér i rapport',
+ 'Invoice' => 'Faktura',
+ 'Invoice Date' => 'Fakturadato',
+ 'Invoice Date missing!' => 'Fakturadato mangler!',
+ 'Invoice Number' => 'Fakturanummer',
+ 'Invoice Number missing!' => 'Fakturanummer mangler!',
+ 'Jan' => 'jan',
+ 'January' => 'januar',
+ 'Jul' => 'jul',
+ 'July' => 'juli',
+ 'Jun' => 'jun',
+ 'June' => 'juni',
+ 'Mar' => 'mar',
+ 'March' => 'mars',
+ 'May' => 'mai',
+ 'May ' => 'mai ',
+ 'Notes' => 'Bemerkninger',
+ 'Nov' => 'nov',
+ 'November' => 'november',
+ 'Number' => 'Nummer',
+ 'Oct' => 'okt',
+ 'October' => 'oktober',
+ 'Open' => 'Åpne',
+ 'Order' => 'Ordre',
+ 'Order Number' => 'Ordrenummer',
+ 'Paid' => 'Betalt',
+ 'Payment date missing!' => 'Betalingsdato mangler!',
+ 'Payments' => 'Utbetaling',
+ 'Post' => 'Bokfør',
+ 'Post as new' => 'Bokfør som ny',
+ 'Project' => 'Prosjekt',
+ 'Project not on file!' => 'Prosjekt er ikke i database!',
+ 'Purchase Invoice' => 'Innkjøpsfaktura',
+ 'Select from one of the names below' => 'Velg fra et av navnene under',
+ 'Select from one of the projects below' => 'Velg fra et av prosjektene under',
+ 'Sep' => 'sep',
+ 'September' => 'september',
+ 'Source' => 'Bilag',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'Avgift/mva',
+ 'Tax Included' => 'Inkl. avgifter og mva',
+ 'Total' => 'I alt',
+ 'Transaction deleted!' => 'Postering slettet!',
+ 'Transaction posted!' => 'Postering bokført!',
+ 'Update' => 'Oppdatér',
+ 'Vendor' => 'Leverandør',
+ 'Vendor missing!' => 'Leverandør mangler!',
+ 'Vendor not on file!' => 'Leverandør er ikke i database!',
+ 'Yes' => 'Ja',
+ 'to' => 'til',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_subtotal' => 'ap_subtotal',
+ 'ap_transaction' => 'ap_transaction',
+ 'ap_transactions' => 'ap_transactions',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'leverandørfaktura' => 'ap_transaction',
+ 'ny_leverandørfaktura' => 'add_accounts_payables_transaction',
+ 'fortsett' => 'continue',
+ 'fjern' => 'delete',
+ 'redigér_leverandørpostering' => 'edit_accounts_payables_transaction',
+ 'bokfør' => 'post',
+ 'bokfør_som_ny' => 'post_as_new',
+ 'innkjøpsfaktura' => 'purchase_invoice',
+ 'oppdatér' => 'update',
+ 'ja' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/no/ar b/sql-ledger/locale/no/ar
new file mode 100644
index 0000000..d9ec705
--- /dev/null
+++ b/sql-ledger/locale/no/ar
@@ -0,0 +1,134 @@
+$self{texts} = {
+ 'AR Transaction' => 'Debitorpostering',
+ 'AR Transactions' => 'Debitorposteringer',
+ 'Account' => 'Konto',
+ 'Add Accounts Receivables Transaction' => 'Ny debitorpostering',
+ 'Address' => 'Adresse',
+ 'Amount' => 'Beløp',
+ 'Amount Due' => 'Forfallent beløp',
+ 'Apr' => 'apr',
+ 'April' => 'april',
+ 'Are you sure you want to delete Transaction' => 'Er du sikker på at du vil fjerne postering',
+ 'Aug' => 'aug',
+ 'August' => 'august',
+ 'Cannot delete transaction!' => 'Kan ikke slette postering!',
+ 'Cannot post payment for a closed period!' => 'Kan ikke bokføre betaling for en avsluttet periode!',
+ 'Cannot post transaction for a closed period!' => 'Kan ikke bokføre postering for en avsluttet periode!',
+ 'Cannot post transaction!' => 'Kan ikke bokføre postering!',
+ 'Closed' => 'Avsluttet',
+ 'Confirm!' => 'Bekreft!',
+ 'Continue' => 'Fortsett',
+ 'Credit Limit' => 'Kreditgrense',
+ 'Currency' => 'Valuta',
+ 'Customer' => 'Kunde',
+ 'Customer missing!' => 'Kunde mangler!',
+ 'Customer not on file!' => 'Kunde ikke i database!',
+ 'Date' => 'Dato',
+ 'Date Paid' => 'Betalingsdato',
+ 'Dec' => 'des',
+ 'December' => 'desember',
+ 'Delete' => 'Fjern',
+ 'Description' => 'Beskrivelse',
+ 'Due Date' => 'Forfallsdato',
+ 'Due Date missing!' => 'Forfallsdato mangler!',
+ 'Edit Accounts Receivables Transaction' => 'Redigér debitorpostering',
+ 'Exch' => 'Vxl',
+ 'Exchangerate' => 'Vekslingskurs',
+ 'Exchangerate for payment missing!' => 'Vekslingskurs for betaling mangler!',
+ 'Exchangerate missing!' => 'Vekslingskurs mangler!',
+ 'Feb' => 'feb',
+ 'February' => 'februar',
+ 'From' => 'Fra',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Inkludér i rapport',
+ 'Invoice' => 'Faktura',
+ 'Invoice Date' => 'Fakturadato',
+ 'Invoice Date missing!' => 'Fakturadato mangler!',
+ 'Invoice Number' => 'Fakturanummer',
+ 'Invoice Number missing!' => 'Fakturanummer mangler!',
+ 'Jan' => 'jan',
+ 'January' => 'januar',
+ 'Jul' => 'jul',
+ 'July' => 'juli',
+ 'Jun' => 'jun',
+ 'June' => 'juni',
+ 'Mar' => 'mar',
+ 'March' => 'mars',
+ 'May' => 'mai',
+ 'May ' => 'mai ',
+ 'Notes' => 'Bemerkninger',
+ 'Nov' => 'nov',
+ 'November' => 'november',
+ 'Number' => 'Nummer',
+ 'Oct' => 'okt',
+ 'October' => 'oktober',
+ 'Open' => 'Åpne',
+ 'Order' => 'Ordre',
+ 'Order Number' => 'Ordrenummer',
+ 'Paid' => 'Betalt',
+ 'Payment date missing!' => 'Betalingsdato mangler!',
+ 'Payments' => 'Utbetaling',
+ 'Post' => 'Bokfør',
+ 'Post as new' => 'Bokfør som ny',
+ 'Project' => 'Prosjekt',
+ 'Project not on file!' => 'Prosjekt er ikke i database!',
+ 'Remaining' => 'Resterende',
+ 'Sales Invoice' => 'Salgsfaktura',
+ 'Salesperson' => 'Salesperson',
+ 'Select from one of the names below' => 'Velg fra et av navnene under',
+ 'Select from one of the projects below' => 'Velg fra et av prosjektene under',
+ 'Sep' => 'sep',
+ 'September' => 'september',
+ 'Ship via' => 'Avsend via',
+ 'Source' => 'Bilag',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'Avgift/mva',
+ 'Tax Included' => 'Inkl. avgifter og mva',
+ 'Total' => 'I alt',
+ 'Transaction deleted!' => 'Postering slettet!',
+ 'Transaction posted!' => 'Postering bokført!',
+ 'Update' => 'Oppdatér',
+ 'Vendor not on file!' => 'Leverandør er ikke i database!',
+ 'Yes' => 'Ja',
+ 'to' => 'til',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_subtotal' => 'ar_subtotal',
+ 'ar_transaction' => 'ar_transaction',
+ 'ar_transactions' => 'ar_transactions',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'debitorpostering' => 'ar_transaction',
+ 'fortsett' => 'continue',
+ 'fjern' => 'delete',
+ 'bokfør' => 'post',
+ 'bokfør_som_ny' => 'post_as_new',
+ 'salgsfaktura' => 'sales_invoice',
+ 'oppdatér' => 'update',
+ 'ja' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/no/arap b/sql-ledger/locale/no/arap
new file mode 100644
index 0000000..048ea79
--- /dev/null
+++ b/sql-ledger/locale/no/arap
@@ -0,0 +1,30 @@
+$self{texts} = {
+ 'Address' => 'Adresse',
+ 'Continue' => 'Fortsett',
+ 'Customer not on file!' => 'Kunde ikke i database!',
+ 'Description' => 'Beskrivelse',
+ 'Number' => 'Nummer',
+ 'Project not on file!' => 'Prosjekt er ikke i database!',
+ 'Select from one of the names below' => 'Velg fra et av navnene under',
+ 'Select from one of the projects below' => 'Velg fra et av prosjektene under',
+ 'Vendor not on file!' => 'Leverandør er ikke i database!',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'fortsett' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/no/ca b/sql-ledger/locale/no/ca
new file mode 100644
index 0000000..1b5cfac
--- /dev/null
+++ b/sql-ledger/locale/no/ca
@@ -0,0 +1,50 @@
+$self{texts} = {
+ 'Account' => 'Konto',
+ 'Apr' => 'apr',
+ 'April' => 'april',
+ 'Aug' => 'aug',
+ 'August' => 'august',
+ 'Balance' => 'Balanse',
+ 'Chart of Accounts' => 'Kontoplan',
+ 'Credit' => 'Kredit',
+ 'Date' => 'Dato',
+ 'Debit' => 'Debet',
+ 'Dec' => 'des',
+ 'December' => 'desember',
+ 'Description' => 'Beskrivelse',
+ 'Feb' => 'feb',
+ 'February' => 'februar',
+ 'From' => 'Fra',
+ 'GIFI' => 'GIFI',
+ 'Include in Report' => 'Inkludér i rapport',
+ 'Jan' => 'jan',
+ 'January' => 'januar',
+ 'Jul' => 'jul',
+ 'July' => 'juli',
+ 'Jun' => 'jun',
+ 'June' => 'juni',
+ 'List Transactions' => 'Vis bokføringer',
+ 'Mar' => 'mar',
+ 'March' => 'mars',
+ 'May' => 'mai',
+ 'May ' => 'mai ',
+ 'Nov' => 'nov',
+ 'November' => 'november',
+ 'Oct' => 'okt',
+ 'October' => 'oktober',
+ 'Reference' => 'Referanse',
+ 'Sep' => 'sep',
+ 'September' => 'september',
+ 'Subtotal' => 'Subtotal',
+ 'to' => 'til',
+};
+
+$self{subs} = {
+ 'ca_subtotal' => 'ca_subtotal',
+ 'chart_of_accounts' => 'chart_of_accounts',
+ 'list' => 'list',
+ 'list_transactions' => 'list_transactions',
+ 'vis_bokføringer' => 'list_transactions',
+};
+
+1;
diff --git a/sql-ledger/locale/no/cp b/sql-ledger/locale/no/cp
new file mode 100644
index 0000000..670c80c
--- /dev/null
+++ b/sql-ledger/locale/no/cp
@@ -0,0 +1,77 @@
+$self{texts} = {
+ 'Account' => 'Konto',
+ 'Address' => 'Adresse',
+ 'Amount' => 'Beløp',
+ 'Amount does not equal applied!' => 'Beløp er ikke likt utført!',
+ 'Amount missing!' => 'Konto mangler!',
+ 'Applied' => 'Utført',
+ 'Cannot post payment!' => 'Kan ikke bokføre betaling!',
+ 'Cannot process payment for a closed period!' => 'Kan ikke behandle betaling for avsluttet periode!',
+ 'Check' => 'Sjekk',
+ 'Check printed!' => 'Sjekk utskrift!',
+ 'Check printing failed!' => 'Utskrift av sjekk feilet!',
+ 'Continue' => 'Fortsett',
+ 'Currency' => 'Valuta',
+ 'Customer' => 'Kunde',
+ 'Customer not on file!' => 'Kunde ikke i database!',
+ 'Date' => 'Dato',
+ 'Date missing!' => 'Dato mangler!',
+ 'Description' => 'Beskrivelse',
+ 'Due' => 'Forfall',
+ 'Exchangerate' => 'Vekslingskurs',
+ 'From' => 'Fra',
+ 'Invoice' => 'Faktura',
+ 'Invoices' => 'Fakturaer',
+ 'Nothing applied!' => 'Ingenting utført!',
+ 'Number' => 'Nummer',
+ 'Paid in full' => 'Alt betalt',
+ 'Payment' => 'Betaling',
+ 'Payment posted!' => 'Betaling bokført!',
+ 'Post' => 'Bokfør',
+ 'Print' => 'Skriv ut',
+ 'Printer' => 'Printer',
+ 'Project not on file!' => 'Prosjekt er ikke i database!',
+ 'Receipt' => 'Kvittering',
+ 'Receipt printed!' => 'Kvittering skrevet!',
+ 'Receipt printing failed!' => 'Kvitteringsutskrift feilet!',
+ 'Reference' => 'Referanse',
+ 'Screen' => 'Skjerm',
+ 'Select from one of the names below' => 'Velg fra et av navnene under',
+ 'Select from one of the projects below' => 'Velg fra et av prosjektene under',
+ 'Update' => 'Oppdatér',
+ 'Vendor' => 'Leverandør',
+ 'Vendor not on file!' => 'Leverandør er ikke i database!',
+ 'to' => 'til',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'list_invoices' => 'list_invoices',
+ 'name_selected' => 'name_selected',
+ 'payment' => 'payment',
+ 'post' => 'post',
+ 'print' => 'print',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'vendor_details' => 'vendor_details',
+ 'fortsett' => 'continue',
+ 'bokfør' => 'post',
+ 'skriv_ut' => 'print',
+ 'oppdatér' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/no/ct b/sql-ledger/locale/no/ct
new file mode 100644
index 0000000..994a0cf
--- /dev/null
+++ b/sql-ledger/locale/no/ct
@@ -0,0 +1,71 @@
+$self{texts} = {
+ 'Add' => 'Legg til',
+ 'Address' => 'Adresse',
+ 'All' => 'Alle',
+ 'Bcc' => 'Blind kopi',
+ 'Cannot delete customer!' => 'Kan ikke slette kunde!',
+ 'Cannot delete vendor!' => 'Kan ikke slette leverandør!',
+ 'Cc' => 'Kopi til',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Fortsett',
+ 'Credit Limit' => 'Kreditgrense',
+ 'Customer deleted!' => 'Kunde slettet!',
+ 'Customer saved!' => 'Kunde lagret!',
+ 'Customers' => 'Kunder',
+ 'Delete' => 'Fjern',
+ 'Discount' => 'Rabatt',
+ 'E-mail' => 'E-post',
+ 'Edit Customer' => 'Endre kundeopplysninger',
+ 'Edit Vendor' => 'Endre produsent',
+ 'Fax' => 'Faks',
+ 'Include in Report' => 'Inkludér i rapport',
+ 'Invoice' => 'Faktura',
+ 'Name' => 'Navn',
+ 'Name missing!' => 'Navn mangler!',
+ 'Notes' => 'Bemerkninger',
+ 'Number' => 'Nummer',
+ 'Order' => 'Ordre',
+ 'Orphaned' => 'Frittstående',
+ 'Phone' => 'Tel',
+ 'Save' => 'Lagre',
+ 'Ship to' => 'Avsend til',
+ 'Tax Included' => 'Inkl. avgifter og mva',
+ 'Taxable' => 'Avgifts/mvapliktig',
+ 'Terms: Net' => 'Netto',
+ 'Transactions exist, cannot delete customer!' => 'Kunde kan ikke fjernes da det er posteringer!',
+ 'Transactions exist, cannot delete vendor!' => 'Leverandør kan ikke fjernes da det er posteringer!',
+ 'Vendor deleted!' => 'Leverandør slettet!',
+ 'Vendor saved!' => 'Leverandør lagret!',
+ 'Vendors' => 'Leverandører',
+ 'days' => 'dager',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'customer_invoice' => 'customer_invoice',
+ 'customer_order' => 'customer_order',
+ 'delete' => 'delete',
+ 'delete_customer' => 'delete_customer',
+ 'delete_vendor' => 'delete_vendor',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'invoice' => 'invoice',
+ 'list_names' => 'list_names',
+ 'order' => 'order',
+ 'save' => 'save',
+ 'save_customer' => 'save_customer',
+ 'save_vendor' => 'save_vendor',
+ 'search' => 'search',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'vendor_order' => 'vendor_order',
+ 'legg_til' => 'add',
+ 'fortsett' => 'continue',
+ 'fjern' => 'delete',
+ 'faktura' => 'invoice',
+ 'ordre' => 'order',
+ 'lagre' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/no/gl b/sql-ledger/locale/no/gl
new file mode 100644
index 0000000..0ce247d
--- /dev/null
+++ b/sql-ledger/locale/no/gl
@@ -0,0 +1,124 @@
+$self{texts} = {
+ 'AP Transaction' => 'Leverandørfaktura',
+ 'AR Transaction' => 'Debitorpostering',
+ 'Account' => 'Konto',
+ 'Add General Ledger Transaction' => 'Ny postering i hovedbok',
+ 'Address' => 'Adresse',
+ 'All' => 'Alle',
+ 'Apr' => 'apr',
+ 'April' => 'april',
+ 'Are you sure you want to delete Transaction' => 'Er du sikker på at du vil fjerne postering',
+ 'Asset' => 'Aktiv',
+ 'Aug' => 'aug',
+ 'August' => 'august',
+ 'Balance' => 'Balanse',
+ 'Cannot delete transaction!' => 'Kan ikke slette postering!',
+ 'Cannot have a value in both Debit and Credit!' => 'Kan ikke ha en verdi i både debet og kredit!',
+ 'Cannot post a transaction without a value!' => 'Kan ikke bokføre transaksjon uten verdi!',
+ 'Cannot post transaction for a closed period!' => 'Kan ikke bokføre postering for en avsluttet periode!',
+ 'Confirm!' => 'Bekreft!',
+ 'Continue' => 'Fortsett',
+ 'Credit' => 'Kredit',
+ 'Customer not on file!' => 'Kunde ikke i database!',
+ 'Date' => 'Dato',
+ 'Debit' => 'Debet',
+ 'Debit and credit out of balance!' => 'Debet og kredit må være det samme!',
+ 'Dec' => 'des',
+ 'December' => 'desember',
+ 'Delete' => 'Fjern',
+ 'Description' => 'Beskrivelse',
+ 'Edit General Ledger Transaction' => 'Redigér en postering i hovedbok',
+ 'Equity' => 'Egenkapital',
+ 'Expense' => 'Utgift',
+ 'Feb' => 'feb',
+ 'February' => 'februar',
+ 'From' => 'Fra',
+ 'GIFI' => 'GIFI',
+ 'GL Transaction' => 'Postering i hovedbok',
+ 'General Ledger' => 'Hovedbok',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Inkludér i rapport',
+ 'Income' => 'Inntekt',
+ 'Jan' => 'jan',
+ 'January' => 'januar',
+ 'Jul' => 'jul',
+ 'July' => 'juli',
+ 'Jun' => 'jun',
+ 'June' => 'juni',
+ 'Liability' => 'Passiv',
+ 'Mar' => 'mar',
+ 'March' => 'mars',
+ 'May' => 'mai',
+ 'May ' => 'mai ',
+ 'Notes' => 'Bemerkninger',
+ 'Nov' => 'nov',
+ 'November' => 'november',
+ 'Number' => 'Nummer',
+ 'Oct' => 'okt',
+ 'October' => 'oktober',
+ 'Post' => 'Bokfør',
+ 'Post as new' => 'Bokfør som ny',
+ 'Project' => 'Prosjekt',
+ 'Project not on file!' => 'Prosjekt er ikke i database!',
+ 'Purchase Invoice' => 'Innkjøpsfaktura',
+ 'Reference' => 'Referanse',
+ 'Reference missing!' => 'Referanser mangler!',
+ 'Reports' => 'Rapporter',
+ 'Sales Invoice' => 'Salgsfaktura',
+ 'Select from one of the names below' => 'Velg fra et av navnene under',
+ 'Select from one of the projects below' => 'Velg fra et av prosjektene under',
+ 'Sep' => 'sep',
+ 'September' => 'september',
+ 'Source' => 'Bilag',
+ 'Subtotal' => 'Subtotal',
+ 'Transaction Date missing!' => 'Transaksjonsdato mangler!',
+ 'Transaction deleted!' => 'Postering slettet!',
+ 'Transaction posted!' => 'Postering bokført!',
+ 'Update' => 'Oppdatér',
+ 'Vendor not on file!' => 'Leverandør er ikke i database!',
+ 'Yes' => 'Ja',
+ 'to' => 'til',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'form_row' => 'form_row',
+ 'generate_report' => 'generate_report',
+ 'gl_subtotal' => 'gl_subtotal',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'leverandørfaktura' => 'ap_transaction',
+ 'debitorpostering' => 'ar_transaction',
+ 'fortsett' => 'continue',
+ 'fjern' => 'delete',
+ 'postering_i_hovedbok' => 'gl_transaction',
+ 'bokfør' => 'post',
+ 'bokfør_som_ny' => 'post_as_new',
+ 'innkjøpsfaktura' => 'purchase_invoice',
+ 'salgsfaktura' => 'sales_invoice',
+ 'oppdatér' => 'update',
+ 'ja' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/no/ic b/sql-ledger/locale/no/ic
new file mode 100644
index 0000000..37c9015
--- /dev/null
+++ b/sql-ledger/locale/no/ic
@@ -0,0 +1,206 @@
+$self{texts} = {
+ 'Active' => 'Aktiv',
+ 'Add' => 'Legg til',
+ 'Add Assembly' => 'Ny sammensetting',
+ 'Add Part' => 'Ny vare',
+ 'Add Purchase Order' => 'Ny innkjøpsordre',
+ 'Add Sales Order' => 'Ny salgsordre',
+ 'Add Service' => 'Ny tjeneste',
+ 'Address' => 'Adresse',
+ 'Apr' => 'apr',
+ 'April' => 'april',
+ 'Assemblies' => 'Sammensettinger',
+ 'Assemblies restocked!' => 'Sammensettinger omplassert!',
+ 'Assembly Number missing!' => 'Sammensettingsnummer mangler!',
+ 'Attachment' => 'Vedlegg',
+ 'Aug' => 'aug',
+ 'August' => 'august',
+ 'BOM' => 'BOM',
+ 'Bcc' => 'Blind kopi',
+ 'Bin' => 'Papirkurv',
+ 'Bought' => 'Kjøpt',
+ 'COGS' => 'Innkjøp',
+ 'Cannot delete item already invoiced!' => 'Kan ikke slette allerede fakturert enkeltdel!',
+ 'Cannot delete item on order!' => 'Kan ikke slette enkeltdel i ordre!',
+ 'Cannot delete item which is part of an assembly!' => 'kan ikke slette en enhet som er en del av en sammensetting!',
+ 'Cannot delete item!' => 'Kan ikke slette enkeltdel!',
+ 'Cannot stock assemblies!' => 'Kan ikke plasere sammensetninger!',
+ 'Cc' => 'Kopi til',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Fortsett',
+ 'Copies' => 'Kopier',
+ 'Dec' => 'des',
+ 'December' => 'desember',
+ 'Delete' => 'Fjern',
+ 'Delivery Date' => 'Leveringsdato',
+ 'Description' => 'Beskrivelse',
+ 'Drawing' => 'Tegning',
+ 'E-mail' => 'E-post',
+ 'E-mail address missing!' => 'E-post-adresse mangler!',
+ 'Edit Assembly' => 'Redigér sammensetting',
+ 'Edit Part' => 'Redigér vare',
+ 'Edit Service' => 'Redigér tjeneste',
+ 'Expense' => 'Utgift',
+ 'Extended' => 'Utvigt',
+ 'Fax' => 'Faks',
+ 'Feb' => 'feb',
+ 'February' => 'februar',
+ 'From' => 'Fra',
+ 'Image' => 'Bilde',
+ 'In-line' => 'Inne i',
+ 'Include in Report' => 'Inkludér i rapport',
+ 'Income' => 'Inntekt',
+ 'Individual Items' => 'Individuelle enheter',
+ 'Inventory' => 'Artikler',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'Lagerbeholdning må være null for at du kan sette denne sammensetting som foreldet!',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'Lagerbeholdning må være null for at du kan sette denne enhet som foreldet!',
+ 'Inventory quantity must be zero!' => 'Lagerbeholdning må være null!',
+ 'Invoice' => 'Faktura',
+ 'Invoice Date missing!' => 'Fakturadato mangler!',
+ 'Invoice Number' => 'Fakturanummer',
+ 'Invoice Number missing!' => 'Fakturanummer mangler!',
+ 'Item deleted!' => 'Enkeltdel slettet!',
+ 'Item not on file!' => 'Enkeltdel er ikke i databasen!',
+ 'Jan' => 'jan',
+ 'January' => 'januar',
+ 'Jul' => 'jul',
+ 'July' => 'juli',
+ 'Jun' => 'jun',
+ 'June' => 'juni',
+ 'Last Cost' => 'Seneste pris',
+ 'Line Total' => 'Antall linjer',
+ 'Link Accounts' => 'Kople kontoer',
+ 'List Price' => 'Listepris',
+ 'Make' => 'Fabrikat',
+ 'Mar' => 'mar',
+ 'March' => 'mars',
+ 'May' => 'mai',
+ 'May ' => 'mai ',
+ 'Message' => 'Melding',
+ 'Microfiche' => 'Mikrofilm',
+ 'Model' => 'Modell',
+ 'Name' => 'Navn',
+ 'No.' => 'Nr.',
+ 'Notes' => 'Bemerkninger',
+ 'Nov' => 'nov',
+ 'November' => 'november',
+ 'Number' => 'Nummer',
+ 'Number missing in Row' => 'Tall mangler i rad',
+ 'Obsolete' => 'Foreldet',
+ 'Oct' => 'okt',
+ 'October' => 'oktober',
+ 'On Hand' => 'På lager',
+ 'On Order' => 'I ordre',
+ 'Order' => 'Ordre',
+ 'Order Date missing!' => 'Ordredato mangler!',
+ 'Order Number' => 'Ordrenummer',
+ 'Order Number missing!' => 'Ordrenummer mangler!',
+ 'Ordered' => 'Ordrer',
+ 'Orphaned' => 'Frittstående',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Følgeseddel',
+ 'Packing List Date missing!' => 'Dato for pakkeliste mangler!',
+ 'Packing List Number missing!' => 'Nummer for pakkeliste mangler!',
+ 'Part' => 'Vare',
+ 'Part Number missing!' => 'Varenummer mangler!',
+ 'Parts' => 'Deler',
+ 'Phone' => 'Tel',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Pris',
+ 'Printer' => 'Printer',
+ 'Project' => 'Prosjekt',
+ 'Purchase Order' => 'Innkjøpsordre',
+ 'Qty' => 'Antall',
+ 'ROP' => 'Etterbestill ved',
+ 'Recd' => 'Mottatt',
+ 'Required by' => 'Bestilt av',
+ 'Sales' => 'Salg',
+ 'Sales Order' => 'Salgsordre',
+ 'Save' => 'Lagre',
+ 'Screen' => 'Skjerm',
+ 'Select from one of the items below' => 'Velg en fra listen under, og trykk "Fortsett"',
+ 'Select postscript or PDF!' => 'Velg postscript eller PDF!',
+ 'Sell Price' => 'Salgspris',
+ 'Sep' => 'sep',
+ 'September' => 'september',
+ 'Service' => 'Tjeneste',
+ 'Service Number missing!' => 'Tjenestenummer mangler!',
+ 'Services' => 'Tjenester',
+ 'Ship' => 'Avsend',
+ 'Ship to' => 'Avsend til',
+ 'Short' => 'Kort',
+ 'Sold' => 'Solgt',
+ 'Stock Assembly' => 'Lagersammensetting',
+ 'Subject' => 'Emne',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'Avgift/mva',
+ 'To' => 'Til',
+ 'Top Level' => 'Toppnivå',
+ 'Total' => 'I alt',
+ 'Unit' => 'Enhet',
+ 'Unit of measure' => 'Måleenhet',
+ 'Update' => 'Oppdatér',
+ 'Updated' => 'Oppdateret',
+ 'Weight' => 'Vekt',
+ 'What type of item is this?' => 'Hvilken type ting er dette?',
+ 'ea' => 'stk',
+ 'emailed to' => 'sendt på epost til',
+ 'hr' => 'time',
+ 'sent to printer' => 'sendt til skriver',
+ 'to' => 'til',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'assembly_row' => 'assembly_row',
+ 'check_form' => 'check_form',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'delete_assembly' => 'delete_assembly',
+ 'delete_item' => 'delete_item',
+ 'delete_part' => 'delete_part',
+ 'delete_service' => 'delete_service',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'link_part' => 'link_part',
+ 'list_assemblies' => 'list_assemblies',
+ 'makemodel_row' => 'makemodel_row',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'parts_subtotal' => 'parts_subtotal',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'restock_assemblies' => 'restock_assemblies',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'stock_assembly' => 'stock_assembly',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'legg_til' => 'add',
+ 'ny_sammensetting' => 'add_assembly',
+ 'ny_vare' => 'add_part',
+ 'ny_tjeneste' => 'add_service',
+ 'fortsett' => 'continue',
+ 'fjern' => 'delete',
+ 'redigér_sammensetting' => 'edit_assembly',
+ 'redigér_vare' => 'edit_part',
+ 'redigér_tjeneste' => 'edit_service',
+ 'lagre' => 'save',
+ 'oppdatér' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/no/io b/sql-ledger/locale/no/io
new file mode 100644
index 0000000..064657b
--- /dev/null
+++ b/sql-ledger/locale/no/io
@@ -0,0 +1,106 @@
+$self{texts} = {
+ 'Add Purchase Order' => 'Ny innkjøpsordre',
+ 'Add Sales Order' => 'Ny salgsordre',
+ 'Address' => 'Adresse',
+ 'Apr' => 'apr',
+ 'April' => 'april',
+ 'Attachment' => 'Vedlegg',
+ 'Aug' => 'aug',
+ 'August' => 'august',
+ 'Bcc' => 'Blind kopi',
+ 'Bin' => 'Papirkurv',
+ 'Cc' => 'Kopi til',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Fortsett',
+ 'Copies' => 'Kopier',
+ 'Dec' => 'des',
+ 'December' => 'desember',
+ 'Delivery Date' => 'Leveringsdato',
+ 'Description' => 'Beskrivelse',
+ 'E-mail' => 'E-post',
+ 'E-mail address missing!' => 'E-post-adresse mangler!',
+ 'Extended' => 'Utvigt',
+ 'Fax' => 'Faks',
+ 'Feb' => 'feb',
+ 'February' => 'februar',
+ 'In-line' => 'Inne i',
+ 'Invoice' => 'Faktura',
+ 'Invoice Date missing!' => 'Fakturadato mangler!',
+ 'Invoice Number missing!' => 'Fakturanummer mangler!',
+ 'Item not on file!' => 'Enkeltdel er ikke i databasen!',
+ 'Jan' => 'jan',
+ 'January' => 'januar',
+ 'Jul' => 'jul',
+ 'July' => 'juli',
+ 'Jun' => 'jun',
+ 'June' => 'juni',
+ 'Mar' => 'mar',
+ 'March' => 'mars',
+ 'May' => 'mai',
+ 'May ' => 'mai ',
+ 'Message' => 'Melding',
+ 'Name' => 'Navn',
+ 'No.' => 'Nr.',
+ 'Nov' => 'nov',
+ 'November' => 'november',
+ 'Number' => 'Nummer',
+ 'Number missing in Row' => 'Tall mangler i rad',
+ 'Oct' => 'okt',
+ 'October' => 'oktober',
+ 'Order' => 'Ordre',
+ 'Order Date missing!' => 'Ordredato mangler!',
+ 'Order Number missing!' => 'Ordrenummer mangler!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Følgeseddel',
+ 'Packing List Date missing!' => 'Dato for pakkeliste mangler!',
+ 'Packing List Number missing!' => 'Nummer for pakkeliste mangler!',
+ 'Part' => 'Vare',
+ 'Phone' => 'Tel',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Pris',
+ 'Printer' => 'Printer',
+ 'Project' => 'Prosjekt',
+ 'Purchase Order' => 'Innkjøpsordre',
+ 'Qty' => 'Antall',
+ 'Recd' => 'Mottatt',
+ 'Required by' => 'Bestilt av',
+ 'Sales Order' => 'Salgsordre',
+ 'Screen' => 'Skjerm',
+ 'Select from one of the items below' => 'Velg en fra listen under, og trykk "Fortsett"',
+ 'Select postscript or PDF!' => 'Velg postscript eller PDF!',
+ 'Sep' => 'sep',
+ 'September' => 'september',
+ 'Service' => 'Tjeneste',
+ 'Ship' => 'Avsend',
+ 'Ship to' => 'Avsend til',
+ 'Subject' => 'Emne',
+ 'To' => 'Til',
+ 'Unit' => 'Enhet',
+ 'What type of item is this?' => 'Hvilken type ting er dette?',
+ 'emailed to' => 'sendt på epost til',
+ 'sent to printer' => 'sendt til skriver',
+};
+
+$self{subs} = {
+ 'check_form' => 'check_form',
+ 'customer_details' => 'customer_details',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'fortsett' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/no/ir b/sql-ledger/locale/no/ir
new file mode 100644
index 0000000..ab755ba
--- /dev/null
+++ b/sql-ledger/locale/no/ir
@@ -0,0 +1,178 @@
+$self{texts} = {
+ 'Account' => 'Konto',
+ 'Add Purchase Invoice' => 'Ny innkjøpsfaktura',
+ 'Add Purchase Order' => 'Ny innkjøpsordre',
+ 'Add Sales Order' => 'Ny salgsordre',
+ 'Address' => 'Adresse',
+ 'Amount' => 'Beløp',
+ 'Apr' => 'apr',
+ 'April' => 'april',
+ 'Are you sure you want to delete Invoice Number' => 'Er du sikker på at du vil fjerne fakturanummer',
+ 'Attachment' => 'Vedlegg',
+ 'Aug' => 'aug',
+ 'August' => 'august',
+ 'Bcc' => 'Blind kopi',
+ 'Bin' => 'Papirkurv',
+ 'Cannot delete invoice!' => 'Kan ikke slette faktura!',
+ 'Cannot post invoice for a closed period!' => 'Kan ikke bokføre faktura for en avsluttet periode!',
+ 'Cannot post invoice!' => 'Kan ikke bokføre faktura!',
+ 'Cannot post payment for a closed period!' => 'Kan ikke bokføre betaling for en avsluttet periode!',
+ 'Cc' => 'Kopi til',
+ 'Confirm!' => 'Bekreft!',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Fortsett',
+ 'Copies' => 'Kopier',
+ 'Currency' => 'Valuta',
+ 'Customer not on file!' => 'Kunde ikke i database!',
+ 'Date' => 'Dato',
+ 'Date Due' => 'Forfallsdato',
+ 'Dec' => 'des',
+ 'December' => 'desember',
+ 'Delete' => 'Fjern',
+ 'Delivery Date' => 'Leveringsdato',
+ 'Description' => 'Beskrivelse',
+ 'E-mail' => 'E-post',
+ 'E-mail address missing!' => 'E-post-adresse mangler!',
+ 'Edit Purchase Invoice' => 'Redigér innkjøpsfaktura',
+ 'Exch' => 'Vxl',
+ 'Exchangerate' => 'Vekslingskurs',
+ 'Exchangerate for payment missing!' => 'Vekslingskurs for betaling mangler!',
+ 'Exchangerate missing!' => 'Vekslingskurs mangler!',
+ 'Extended' => 'Utvigt',
+ 'Fax' => 'Faks',
+ 'Feb' => 'feb',
+ 'February' => 'februar',
+ 'In-line' => 'Inne i',
+ 'Invoice' => 'Faktura',
+ 'Invoice Date' => 'Fakturadato',
+ 'Invoice Date missing!' => 'Fakturadato mangler!',
+ 'Invoice Number' => 'Fakturanummer',
+ 'Invoice Number missing!' => 'Fakturanummer mangler!',
+ 'Invoice deleted!' => 'Faktura slettet!',
+ 'Invoice posted!' => 'Faktura bokført!',
+ 'Item not on file!' => 'Enkeltdel er ikke i databasen!',
+ 'Jan' => 'jan',
+ 'January' => 'januar',
+ 'Jul' => 'jul',
+ 'July' => 'juli',
+ 'Jun' => 'jun',
+ 'June' => 'juni',
+ 'Mar' => 'mar',
+ 'March' => 'mars',
+ 'May' => 'mai',
+ 'May ' => 'mai ',
+ 'Message' => 'Melding',
+ 'Name' => 'Navn',
+ 'No.' => 'Nr.',
+ 'Notes' => 'Bemerkninger',
+ 'Nov' => 'nov',
+ 'November' => 'november',
+ 'Number' => 'Nummer',
+ 'Number missing in Row' => 'Tall mangler i rad',
+ 'Oct' => 'okt',
+ 'October' => 'oktober',
+ 'Order' => 'Ordre',
+ 'Order Date missing!' => 'Ordredato mangler!',
+ 'Order Number' => 'Ordrenummer',
+ 'Order Number missing!' => 'Ordrenummer mangler!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Følgeseddel',
+ 'Packing List Date missing!' => 'Dato for pakkeliste mangler!',
+ 'Packing List Number missing!' => 'Nummer for pakkeliste mangler!',
+ 'Part' => 'Vare',
+ 'Payment date missing!' => 'Betalingsdato mangler!',
+ 'Payments' => 'Utbetaling',
+ 'Phone' => 'Tel',
+ 'Post' => 'Bokfør',
+ 'Post as new' => 'Bokfør som ny',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Pris',
+ 'Printer' => 'Printer',
+ 'Project' => 'Prosjekt',
+ 'Project not on file!' => 'Prosjekt er ikke i database!',
+ 'Purchase Order' => 'Innkjøpsordre',
+ 'Qty' => 'Antall',
+ 'Recd' => 'Mottatt',
+ 'Record in' => 'Bokfør på',
+ 'Required by' => 'Bestilt av',
+ 'Sales Order' => 'Salgsordre',
+ 'Screen' => 'Skjerm',
+ 'Select from one of the items below' => 'Velg en fra listen under, og trykk "Fortsett"',
+ 'Select from one of the names below' => 'Velg fra et av navnene under',
+ 'Select from one of the projects below' => 'Velg fra et av prosjektene under',
+ 'Select postscript or PDF!' => 'Velg postscript eller PDF!',
+ 'Sep' => 'sep',
+ 'September' => 'september',
+ 'Service' => 'Tjeneste',
+ 'Ship' => 'Avsend',
+ 'Ship to' => 'Avsend til',
+ 'Source' => 'Bilag',
+ 'Subject' => 'Emne',
+ 'Subtotal' => 'Subtotal',
+ 'Tax Included' => 'Inkl. avgifter og mva',
+ 'To' => 'Til',
+ 'Total' => 'I alt',
+ 'Unit' => 'Enhet',
+ 'Update' => 'Oppdatér',
+ 'Vendor' => 'Leverandør',
+ 'Vendor missing!' => 'Leverandør mangler!',
+ 'Vendor not on file!' => 'Leverandør er ikke i database!',
+ 'What type of item is this?' => 'Hvilken type ting er dette?',
+ 'Yes' => 'Ja',
+ 'ea' => 'stk',
+ 'emailed to' => 'sendt på epost til',
+ 'sent to printer' => 'sendt til skriver',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'fortsett' => 'continue',
+ 'fjern' => 'delete',
+ 'ordre' => 'order',
+ 'bokfør' => 'post',
+ 'bokfør_som_ny' => 'post_as_new',
+ 'oppdatér' => 'update',
+ 'ja' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/no/is b/sql-ledger/locale/no/is
new file mode 100644
index 0000000..47f3222
--- /dev/null
+++ b/sql-ledger/locale/no/is
@@ -0,0 +1,185 @@
+$self{texts} = {
+ 'Account' => 'Konto',
+ 'Add Purchase Order' => 'Ny innkjøpsordre',
+ 'Add Sales Invoice' => 'Ny salgsfaktura',
+ 'Add Sales Order' => 'Ny salgsordre',
+ 'Address' => 'Adresse',
+ 'Amount' => 'Beløp',
+ 'Apr' => 'apr',
+ 'April' => 'april',
+ 'Are you sure you want to delete Invoice Number' => 'Er du sikker på at du vil fjerne fakturanummer',
+ 'Attachment' => 'Vedlegg',
+ 'Aug' => 'aug',
+ 'August' => 'august',
+ 'Bcc' => 'Blind kopi',
+ 'Bin' => 'Papirkurv',
+ 'Cannot delete invoice!' => 'Kan ikke slette faktura!',
+ 'Cannot post invoice for a closed period!' => 'Kan ikke bokføre faktura for en avsluttet periode!',
+ 'Cannot post invoice!' => 'Kan ikke bokføre faktura!',
+ 'Cannot post payment for a closed period!' => 'Kan ikke bokføre betaling for en avsluttet periode!',
+ 'Cc' => 'Kopi til',
+ 'Confirm!' => 'Bekreft!',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Fortsett',
+ 'Copies' => 'Kopier',
+ 'Credit Limit' => 'Kreditgrense',
+ 'Currency' => 'Valuta',
+ 'Customer' => 'Kunde',
+ 'Customer missing!' => 'Kunde mangler!',
+ 'Customer not on file!' => 'Kunde ikke i database!',
+ 'Date' => 'Dato',
+ 'Date Due' => 'Forfallsdato',
+ 'Dec' => 'des',
+ 'December' => 'desember',
+ 'Delete' => 'Fjern',
+ 'Delivery Date' => 'Leveringsdato',
+ 'Description' => 'Beskrivelse',
+ 'E-mail' => 'E-post',
+ 'E-mail address missing!' => 'E-post-adresse mangler!',
+ 'Edit Sales Invoice' => 'Redigér salgsfaktura',
+ 'Exch' => 'Vxl',
+ 'Exchangerate' => 'Vekslingskurs',
+ 'Exchangerate for payment missing!' => 'Vekslingskurs for betaling mangler!',
+ 'Exchangerate missing!' => 'Vekslingskurs mangler!',
+ 'Extended' => 'Utvigt',
+ 'Fax' => 'Faks',
+ 'Feb' => 'feb',
+ 'February' => 'februar',
+ 'In-line' => 'Inne i',
+ 'Invoice' => 'Faktura',
+ 'Invoice Date' => 'Fakturadato',
+ 'Invoice Date missing!' => 'Fakturadato mangler!',
+ 'Invoice Number' => 'Fakturanummer',
+ 'Invoice Number missing!' => 'Fakturanummer mangler!',
+ 'Invoice deleted!' => 'Faktura slettet!',
+ 'Invoice posted!' => 'Faktura bokført!',
+ 'Item not on file!' => 'Enkeltdel er ikke i databasen!',
+ 'Jan' => 'jan',
+ 'January' => 'januar',
+ 'Jul' => 'jul',
+ 'July' => 'juli',
+ 'Jun' => 'jun',
+ 'June' => 'juni',
+ 'Mar' => 'mar',
+ 'March' => 'mars',
+ 'May' => 'mai',
+ 'May ' => 'mai ',
+ 'Message' => 'Melding',
+ 'Name' => 'Navn',
+ 'No.' => 'Nr.',
+ 'Notes' => 'Bemerkninger',
+ 'Nov' => 'nov',
+ 'November' => 'november',
+ 'Number' => 'Nummer',
+ 'Number missing in Row' => 'Tall mangler i rad',
+ 'Oct' => 'okt',
+ 'October' => 'oktober',
+ 'Order' => 'Ordre',
+ 'Order Date missing!' => 'Ordredato mangler!',
+ 'Order Number' => 'Ordrenummer',
+ 'Order Number missing!' => 'Ordrenummer mangler!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Følgeseddel',
+ 'Packing List Date missing!' => 'Dato for pakkeliste mangler!',
+ 'Packing List Number missing!' => 'Nummer for pakkeliste mangler!',
+ 'Part' => 'Vare',
+ 'Payment date missing!' => 'Betalingsdato mangler!',
+ 'Payments' => 'Utbetaling',
+ 'Phone' => 'Tel',
+ 'Post' => 'Bokfør',
+ 'Post as new' => 'Bokfør som ny',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Pris',
+ 'Print' => 'Skriv ut',
+ 'Printer' => 'Printer',
+ 'Project' => 'Prosjekt',
+ 'Project not on file!' => 'Prosjekt er ikke i database!',
+ 'Purchase Order' => 'Innkjøpsordre',
+ 'Qty' => 'Antall',
+ 'Recd' => 'Mottatt',
+ 'Record in' => 'Bokfør på',
+ 'Remaining' => 'Resterende',
+ 'Required by' => 'Bestilt av',
+ 'Sales Order' => 'Salgsordre',
+ 'Screen' => 'Skjerm',
+ 'Select from one of the items below' => 'Velg en fra listen under, og trykk "Fortsett"',
+ 'Select from one of the names below' => 'Velg fra et av navnene under',
+ 'Select from one of the projects below' => 'Velg fra et av prosjektene under',
+ 'Select postscript or PDF!' => 'Velg postscript eller PDF!',
+ 'Sep' => 'sep',
+ 'September' => 'september',
+ 'Service' => 'Tjeneste',
+ 'Ship' => 'Avsend',
+ 'Ship to' => 'Avsend til',
+ 'Ship via' => 'Avsend via',
+ 'Source' => 'Bilag',
+ 'Subject' => 'Emne',
+ 'Subtotal' => 'Subtotal',
+ 'Tax Included' => 'Inkl. avgifter og mva',
+ 'To' => 'Til',
+ 'Total' => 'I alt',
+ 'Unit' => 'Enhet',
+ 'Update' => 'Oppdatér',
+ 'Vendor not on file!' => 'Leverandør er ikke i database!',
+ 'What type of item is this?' => 'Hvilken type ting er dette?',
+ 'Yes' => 'Ja',
+ 'ea' => 'stk',
+ 'emailed to' => 'sendt på epost til',
+ 'sent to printer' => 'sendt til skriver',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'fortsett' => 'continue',
+ 'fjern' => 'delete',
+ 'e_post' => 'e_mail',
+ 'ordre' => 'order',
+ 'bokfør' => 'post',
+ 'bokfør_som_ny' => 'post_as_new',
+ 'skriv_ut' => 'print',
+ 'avsend_til' => 'ship_to',
+ 'oppdatér' => 'update',
+ 'ja' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/no/login b/sql-ledger/locale/no/login
new file mode 100644
index 0000000..742ef4a
--- /dev/null
+++ b/sql-ledger/locale/no/login
@@ -0,0 +1,27 @@
+$self{texts} = {
+ 'About' => 'Om',
+ 'Database Host' => 'Database-vert',
+ 'Dataset' => 'Datasett',
+ 'Incorrect Dataset version!' => 'Gal versjon av datasett!',
+ 'Incorrect Password!' => 'Galt passord!',
+ 'Licensed to' => 'Utført for',
+ 'Login' => 'Login',
+ 'Name' => 'Navn',
+ 'Password' => 'Passord',
+ 'User' => 'Bruker',
+ 'Version' => 'Versjon',
+ 'You are logged out!' => 'Du er logget av!',
+ 'You did not enter a name!' => 'Du gav ikke et navn!',
+ 'is not a member!' => 'er ikke et medlem!',
+ 'localhost' => 'localhost',
+};
+
+$self{subs} = {
+ 'company_logo' => 'company_logo',
+ 'login' => 'login',
+ 'login_screen' => 'login_screen',
+ 'logout' => 'logout',
+ 'login' => 'login',
+};
+
+1;
diff --git a/sql-ledger/locale/no/menu b/sql-ledger/locale/no/menu
new file mode 100644
index 0000000..f8f95a0
--- /dev/null
+++ b/sql-ledger/locale/no/menu
@@ -0,0 +1,71 @@
+$self{texts} = {
+ 'AP' => 'Kreditorer',
+ 'AP Aging' => 'Aldersfordeling',
+ 'AR' => 'Debitorer',
+ 'AR Aging' => 'Aldersfordeling',
+ 'Accounting Menu' => 'Konto-meny',
+ 'Add Account' => 'Ny konto',
+ 'Add Assembly' => 'Ny sammensetting',
+ 'Add Customer' => 'Ny kunde',
+ 'Add GIFI' => 'Ny GIFI',
+ 'Add Part' => 'Ny vare',
+ 'Add Project' => 'Nytt prosjekt',
+ 'Add Service' => 'Ny tjeneste',
+ 'Add Transaction' => 'Ny postering',
+ 'Add Vendor' => 'Ny leverandør',
+ 'Assemblies' => 'Sammensettinger',
+ 'Audit Control' => 'Revisjonskontroll',
+ 'Backup' => 'Sikkerhetskopi',
+ 'Balance Sheet' => 'Status',
+ 'Cash' => 'Bank',
+ 'Chart of Accounts' => 'Kontoplan',
+ 'Check' => 'Sjekk',
+ 'Customers' => 'Kunder',
+ 'General Ledger' => 'Hovedbok',
+ 'Goods & Services' => 'Varer og tjenester',
+ 'HTML Templates' => 'HTML-maler',
+ 'Income Statement' => 'Driftsregnskap',
+ 'Invoice' => 'Faktura',
+ 'LaTeX Templates' => 'LaTeX-maler',
+ 'List Accounts' => 'List kontoer',
+ 'List GIFI' => 'List GIFI',
+ 'Logout' => 'Log ut',
+ 'Order Entry' => 'Ordreinngang',
+ 'Packing List' => 'Følgeseddel',
+ 'Parts' => 'Deler',
+ 'Payment' => 'Betaling',
+ 'Payments' => 'Utbetaling',
+ 'Preferences' => 'Innstillinger',
+ 'Projects' => 'Prosjekter',
+ 'Purchase Invoice' => 'Innkjøpsfaktura',
+ 'Purchase Order' => 'Innkjøpsordre',
+ 'Purchase Orders' => 'Innkjøpsordrer',
+ 'Receipt' => 'Kvittering',
+ 'Receipts' => 'Kvitteringer',
+ 'Reconciliation' => 'Bankoppgjør',
+ 'Reports' => 'Rapporter',
+ 'Sales Invoice' => 'Salgsfaktura',
+ 'Sales Order' => 'Salgsordre',
+ 'Sales Orders' => 'Salgsordrer',
+ 'Save to File' => 'Lagre i fil',
+ 'Send by E-Mail' => 'Sendt per email',
+ 'Services' => 'Tjenester',
+ 'Statement' => 'Oppgjør',
+ 'Stock Assembly' => 'Lagersammensetting',
+ 'Stylesheet' => 'Stílark',
+ 'System' => 'System',
+ 'Tax collected' => 'Inngående avgift',
+ 'Tax paid' => 'Betalt avgift',
+ 'Transactions' => 'Posteringer',
+ 'Trial Balance' => 'Foreløpig status',
+ 'Vendors' => 'Leverandører',
+ 'Version' => 'Versjon',
+};
+
+$self{subs} = {
+ 'acc_menu' => 'acc_menu',
+ 'display' => 'display',
+ 'section_menu' => 'section_menu',
+};
+
+1;
diff --git a/sql-ledger/locale/no/oe b/sql-ledger/locale/no/oe
new file mode 100644
index 0000000..efadfa6
--- /dev/null
+++ b/sql-ledger/locale/no/oe
@@ -0,0 +1,200 @@
+$self{texts} = {
+ 'Add' => 'Legg til',
+ 'Add Purchase Invoice' => 'Ny innkjøpsfaktura',
+ 'Add Purchase Order' => 'Ny innkjøpsordre',
+ 'Add Sales Invoice' => 'Ny salgsfaktura',
+ 'Add Sales Order' => 'Ny salgsordre',
+ 'Address' => 'Adresse',
+ 'Amount' => 'Beløp',
+ 'Apr' => 'apr',
+ 'April' => 'april',
+ 'Are you sure you want to delete Order Number' => 'Er du sikker på at du vil fjerne ordrenummer',
+ 'Attachment' => 'Vedlegg',
+ 'Aug' => 'aug',
+ 'August' => 'august',
+ 'Bcc' => 'Blind kopi',
+ 'Bin' => 'Papirkurv',
+ 'C' => 'C',
+ 'Cannot delete order!' => 'Kan ikke slette ordre!',
+ 'Cannot save order!' => 'Kan ikke lagre ordre!',
+ 'Cc' => 'Kopi til',
+ 'Closed' => 'Avsluttet',
+ 'Confirm!' => 'Bekreft!',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Fortsett',
+ 'Copies' => 'Kopier',
+ 'Credit Limit' => 'Kreditgrense',
+ 'Curr' => 'Val',
+ 'Currency' => 'Valuta',
+ 'Customer' => 'Kunde',
+ 'Customer missing!' => 'Kunde mangler!',
+ 'Customer not on file!' => 'Kunde ikke i database!',
+ 'Date' => 'Dato',
+ 'Dec' => 'des',
+ 'December' => 'desember',
+ 'Delete' => 'Fjern',
+ 'Delivery Date' => 'Leveringsdato',
+ 'Description' => 'Beskrivelse',
+ 'E-mail' => 'E-post',
+ 'E-mail address missing!' => 'E-post-adresse mangler!',
+ 'Edit Purchase Order' => 'Redigér innkjøpsordre',
+ 'Edit Sales Order' => 'Redigér salgsordre',
+ 'Exchangerate' => 'Vekslingskurs',
+ 'Exchangerate missing!' => 'Vekslingskurs mangler!',
+ 'Extended' => 'Utvigt',
+ 'Fax' => 'Faks',
+ 'Feb' => 'feb',
+ 'February' => 'februar',
+ 'From' => 'Fra',
+ 'ID' => 'ID',
+ 'In-line' => 'Inne i',
+ 'Include in Report' => 'Inkludér i rapport',
+ 'Invoice' => 'Faktura',
+ 'Invoice Date missing!' => 'Fakturadato mangler!',
+ 'Invoice Number missing!' => 'Fakturanummer mangler!',
+ 'Item not on file!' => 'Enkeltdel er ikke i databasen!',
+ 'Jan' => 'jan',
+ 'January' => 'januar',
+ 'Jul' => 'jul',
+ 'July' => 'juli',
+ 'Jun' => 'jun',
+ 'June' => 'juni',
+ 'Mar' => 'mar',
+ 'March' => 'mars',
+ 'May' => 'mai',
+ 'May ' => 'mai ',
+ 'Message' => 'Melding',
+ 'Name' => 'Navn',
+ 'No.' => 'Nr.',
+ 'Notes' => 'Bemerkninger',
+ 'Nov' => 'nov',
+ 'November' => 'november',
+ 'Number' => 'Nummer',
+ 'Number missing in Row' => 'Tall mangler i rad',
+ 'O' => 'O',
+ 'Oct' => 'okt',
+ 'October' => 'oktober',
+ 'Open' => 'Åpne',
+ 'Order' => 'Ordre',
+ 'Order Date' => 'Ordredato',
+ 'Order Date missing!' => 'Ordredato mangler!',
+ 'Order Number' => 'Ordrenummer',
+ 'Order Number missing!' => 'Ordrenummer mangler!',
+ 'Order deleted!' => 'Ordre slettet!',
+ 'Order saved!' => 'Ordre lagret!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Følgeseddel',
+ 'Packing List Date missing!' => 'Dato for pakkeliste mangler!',
+ 'Packing List Number missing!' => 'Nummer for pakkeliste mangler!',
+ 'Part' => 'Vare',
+ 'Phone' => 'Tel',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Pris',
+ 'Print' => 'Skriv ut',
+ 'Printer' => 'Printer',
+ 'Project' => 'Prosjekt',
+ 'Project not on file!' => 'Prosjekt er ikke i database!',
+ 'Purchase Order' => 'Innkjøpsordre',
+ 'Purchase Orders' => 'Innkjøpsordrer',
+ 'Qty' => 'Antall',
+ 'Recd' => 'Mottatt',
+ 'Remaining' => 'Resterende',
+ 'Required by' => 'Bestilt av',
+ 'Sales Order' => 'Salgsordre',
+ 'Sales Orders' => 'Salgsordrer',
+ 'Save' => 'Lagre',
+ 'Save as new' => 'Lagre som ny',
+ 'Screen' => 'Skjerm',
+ 'Select from one of the items below' => 'Velg en fra listen under, og trykk "Fortsett"',
+ 'Select from one of the names below' => 'Velg fra et av navnene under',
+ 'Select from one of the projects below' => 'Velg fra et av prosjektene under',
+ 'Select postscript or PDF!' => 'Velg postscript eller PDF!',
+ 'Sep' => 'sep',
+ 'September' => 'september',
+ 'Service' => 'Tjeneste',
+ 'Ship' => 'Avsend',
+ 'Ship to' => 'Avsend til',
+ 'Ship via' => 'Avsend via',
+ 'Subject' => 'Emne',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'Avgift/mva',
+ 'Tax Included' => 'Inkl. avgifter og mva',
+ 'Terms: Net' => 'Netto',
+ 'To' => 'Til',
+ 'Total' => 'I alt',
+ 'Unit' => 'Enhet',
+ 'Update' => 'Oppdatér',
+ 'Vendor' => 'Leverandør',
+ 'Vendor missing!' => 'Leverandør mangler!',
+ 'Vendor not on file!' => 'Leverandør er ikke i database!',
+ 'What type of item is this?' => 'Hvilken type ting er dette?',
+ 'Yes' => 'Ja',
+ 'days' => 'dager',
+ 'ea' => 'stk',
+ 'emailed to' => 'sendt på epost til',
+ 'sent to printer' => 'sendt til skriver',
+ 'to' => 'til',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_backorder' => 'create_backorder',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice' => 'invoice',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'order_links' => 'order_links',
+ 'orders' => 'orders',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_order' => 'prepare_order',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'save' => 'save',
+ 'save_as_new' => 'save_as_new',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'subtotal' => 'subtotal',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'legg_til' => 'add',
+ 'fortsett' => 'continue',
+ 'fjern' => 'delete',
+ 'e_post' => 'e_mail',
+ 'faktura' => 'invoice',
+ 'skriv_ut' => 'print',
+ 'lagre' => 'save',
+ 'lagre_som_ny' => 'save_as_new',
+ 'avsend_til' => 'ship_to',
+ 'oppdatér' => 'update',
+ 'ja' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/no/pe b/sql-ledger/locale/no/pe
new file mode 100644
index 0000000..95a1fa2
--- /dev/null
+++ b/sql-ledger/locale/no/pe
@@ -0,0 +1,35 @@
+$self{texts} = {
+ 'Add' => 'Legg til',
+ 'Add Project' => 'Nytt prosjekt',
+ 'All' => 'Alle',
+ 'Continue' => 'Fortsett',
+ 'Delete' => 'Fjern',
+ 'Description' => 'Beskrivelse',
+ 'Edit Project' => 'Redigér prosjekt',
+ 'Number' => 'Nummer',
+ 'Orphaned' => 'Frittstående',
+ 'Project' => 'Prosjekt',
+ 'Project Number missing!' => 'Prosjektnummer mangler!',
+ 'Project deleted!' => 'Prosjekt slettet!',
+ 'Project saved!' => 'Prosjekt lagret!',
+ 'Projects' => 'Prosjekter',
+ 'Save' => 'Lagre',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'legg_til' => 'add',
+ 'fortsett' => 'continue',
+ 'fjern' => 'delete',
+ 'lagre' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/no/rc b/sql-ledger/locale/no/rc
new file mode 100644
index 0000000..4ff2cc8
--- /dev/null
+++ b/sql-ledger/locale/no/rc
@@ -0,0 +1,37 @@
+$self{texts} = {
+ 'Account' => 'Konto',
+ 'Balance' => 'Balanse',
+ 'Cleared Balance' => 'Utlignet balanse',
+ 'Continue' => 'Fortsett',
+ 'Date' => 'Dato',
+ 'Deposit' => 'Depositum',
+ 'Description' => 'Beskrivelse',
+ 'Difference' => 'Forskjell',
+ 'Done' => 'Ferdig',
+ 'Exchangerate Difference' => 'Forskjell på vekslingskurs',
+ 'From' => 'Fra',
+ 'Out of balance!' => 'Ute av balanse!',
+ 'Payment' => 'Betaling',
+ 'Reconciliation' => 'Bankoppgjør',
+ 'Select all' => 'Velg alt',
+ 'Source' => 'Bilag',
+ 'Statement Balance' => 'Balanseoppgjør',
+ 'Update' => 'Oppdatér',
+ 'to' => 'til',
+};
+
+$self{subs} = {
+ 'continue' => 'continue',
+ 'display_form' => 'display_form',
+ 'done' => 'done',
+ 'get_payments' => 'get_payments',
+ 'reconciliation' => 'reconciliation',
+ 'select_all' => 'select_all',
+ 'update' => 'update',
+ 'fortsett' => 'continue',
+ 'ferdig' => 'done',
+ 'velg_alt' => 'select_all',
+ 'oppdatér' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/no/rp b/sql-ledger/locale/no/rp
new file mode 100644
index 0000000..3592fd1
--- /dev/null
+++ b/sql-ledger/locale/no/rp
@@ -0,0 +1,120 @@
+$self{texts} = {
+ 'AP Aging' => 'Aldersfordeling',
+ 'AR Aging' => 'Aldersfordeling',
+ 'Account' => 'Konto',
+ 'Accounts' => 'Kontoer',
+ 'Amount' => 'Beløp',
+ 'Apr' => 'apr',
+ 'April' => 'april',
+ 'Attachment' => 'Vedlegg',
+ 'Aug' => 'aug',
+ 'August' => 'august',
+ 'Balance' => 'Balanse',
+ 'Balance Sheet' => 'Status',
+ 'Bcc' => 'Blind kopi',
+ 'Cash based' => 'Bank basert',
+ 'Cc' => 'Kopi til',
+ 'Compare to' => 'Sammenlign med',
+ 'Continue' => 'Fortsett',
+ 'Copies' => 'Kopier',
+ 'Credit' => 'Kredit',
+ 'Current' => 'Nåværende',
+ 'Customer' => 'Kunde',
+ 'Date' => 'Dato',
+ 'Debit' => 'Debet',
+ 'Dec' => 'des',
+ 'December' => 'desember',
+ 'Decimalplaces' => 'Desimalplasser',
+ 'Department' => 'Avdeling',
+ 'Description' => 'Beskrivelse',
+ 'Due' => 'Forfall',
+ 'E-mail' => 'E-post',
+ 'E-mail Statement to' => 'Send oppgjør til',
+ 'Feb' => 'feb',
+ 'February' => 'februar',
+ 'From' => 'Fra',
+ 'GIFI' => 'GIFI',
+ 'Heading' => 'Overskrift',
+ 'ID' => 'ID',
+ 'In-line' => 'Inne i',
+ 'Include in Report' => 'Inkludér i rapport',
+ 'Income Statement' => 'Driftsregnskap',
+ 'Invoice' => 'Faktura',
+ 'Jan' => 'jan',
+ 'January' => 'januar',
+ 'Jul' => 'jul',
+ 'July' => 'juli',
+ 'Jun' => 'jun',
+ 'June' => 'juni',
+ 'Mar' => 'mar',
+ 'March' => 'mars',
+ 'May' => 'mai',
+ 'May ' => 'mai ',
+ 'Message' => 'Melding',
+ 'N/A' => 'I/T',
+ 'Nothing selected!' => 'Ingenting valgt!',
+ 'Nov' => 'nov',
+ 'November' => 'november',
+ 'Oct' => 'okt',
+ 'October' => 'oktober',
+ 'PDF' => 'PDF',
+ 'Payments' => 'Utbetaling',
+ 'Postscript' => 'Postscript',
+ 'Print' => 'Skriv ut',
+ 'Printer' => 'Printer',
+ 'Project Number' => 'Prosjektnummer',
+ 'Receipts' => 'Kvitteringer',
+ 'Report for' => 'Rapport for',
+ 'Retained Earnings' => 'Realisert overskudd',
+ 'Screen' => 'Skjerm',
+ 'Select all' => 'Velg alt',
+ 'Select postscript or PDF!' => 'Velg postscript eller PDF!',
+ 'Sep' => 'sep',
+ 'September' => 'september',
+ 'Source' => 'Bilag',
+ 'Standard' => 'Standard',
+ 'Statement' => 'Oppgjør',
+ 'Statement sent to' => 'Oppgjør sendt til',
+ 'Statements sent to printer!' => 'Oppgjør sendt til skriver!',
+ 'Subject' => 'Emne',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'Avgift/mva',
+ 'Tax collected' => 'Inngående avgift',
+ 'Tax paid' => 'Betalt avgift',
+ 'Total' => 'I alt',
+ 'Trial Balance' => 'Foreløpig status',
+ 'Vendor' => 'Leverandør',
+ 'as at' => 'som ved',
+ 'collected on sales' => 'innbetalt på salg',
+ 'for Period' => 'for periode',
+ 'paid on purchases' => 'betalt på kjøp',
+ 'to' => 'til',
+};
+
+$self{subs} = {
+ 'aging' => 'aging',
+ 'continue' => 'continue',
+ 'e_mail' => 'e_mail',
+ 'generate_ap_aging' => 'generate_ap_aging',
+ 'generate_ar_aging' => 'generate_ar_aging',
+ 'generate_balance_sheet' => 'generate_balance_sheet',
+ 'generate_income_statement' => 'generate_income_statement',
+ 'generate_tax_report' => 'generate_tax_report',
+ 'generate_trial_balance' => 'generate_trial_balance',
+ 'list_accounts' => 'list_accounts',
+ 'list_payments' => 'list_payments',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'report' => 'report',
+ 'select_all' => 'select_all',
+ 'send_email' => 'send_email',
+ 'statement_details' => 'statement_details',
+ 'tax_subtotal' => 'tax_subtotal',
+ 'fortsett' => 'continue',
+ 'e_post' => 'e_mail',
+ 'skriv_ut' => 'print',
+ 'velg_alt' => 'select_all',
+};
+
+1;
diff --git a/sql-ledger/locale/pa/COPYING b/sql-ledger/locale/pa/COPYING
new file mode 100644
index 0000000..44b6a93
--- /dev/null
+++ b/sql-ledger/locale/pa/COPYING
@@ -0,0 +1,23 @@
+######################################################################
+# SQL-Ledger Accounting
+# Copyright (c) 2001
+#
+# Spanish texts:
+#
+# Author: Maria Gabriela Fong <mgfong@maga.tzo.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+#######################################################################
+
diff --git a/sql-ledger/locale/pa/LANGUAGE b/sql-ledger/locale/pa/LANGUAGE
new file mode 100644
index 0000000..012de50
--- /dev/null
+++ b/sql-ledger/locale/pa/LANGUAGE
@@ -0,0 +1 @@
+Panamanian Spanish
diff --git a/sql-ledger/locale/pa/admin b/sql-ledger/locale/pa/admin
new file mode 100644
index 0000000..1e69b26
--- /dev/null
+++ b/sql-ledger/locale/pa/admin
@@ -0,0 +1,128 @@
+$self{texts} = {
+ 'Access Control' => 'Control de Acceso',
+ 'Accounting' => 'Contabilidad',
+ 'Add User' => 'Agregar Usuario',
+ 'Address' => 'Dirección',
+ 'Administration' => 'Administración',
+ 'Administrator' => 'Administrator',
+ 'All Datasets up to date!' => 'Todos los datasets actualizados',
+ 'Change Admin Password' => 'Cambiar Contraseña de Administrador',
+ 'Change Password' => 'Cambiar Contraseña',
+ 'Character Set' => 'Tabla de Caracteres',
+ 'Click on login name to edit!' => 'Haga clic en el nombre de entrada a
+editar',
+ 'Company' => 'Compañía',
+ 'Connect to' => 'Conectar a',
+ 'Continue' => 'Continuar',
+ 'Create Chart of Accounts' => 'Crear catálogo de cuentas',
+ 'Create Dataset' => 'Crear set de datos',
+ 'DBI not installed!' => 'DBI no instalado!',
+ 'Database' => 'Base de datos',
+ 'Database Administration' => 'Administración de base de datos',
+ 'Database Driver not checked!' => 'Driver de base de datos no revisado',
+ 'Database User missing!' => 'No se encuentra usuario de base de datos',
+ 'Dataset' => 'Set de datos',
+ 'Dataset missing!' => 'No se encuentra Set de datos!',
+ 'Dataset updated!' => 'Dataset updated!',
+ 'Date Format' => 'Formato de Fecha',
+ 'Delete' => 'Borrar',
+ 'Delete Dataset' => 'Borrar Set de Datos',
+ 'Directory' => 'Directorio',
+ 'Driver' => 'Manejador',
+ 'Dropdown Limit' => 'Dropdown Limit',
+ 'E-mail' => 'Correo Electrónico',
+ 'Edit User' => 'Editar Usuario',
+ 'Existing Datasets' => 'Sets de dato existentes',
+ 'Fax' => 'Fax',
+ 'Host' => 'Servidor base de datos',
+ 'Hostname missing!' => 'No se encuentra servidor de base de datos',
+ 'Incorrect Password!' => 'Contraseña Incorrecta!',
+ 'Language' => 'Lenguaje',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Deje los campos de servidor de base de datos y puerto vacíos al menos que quiera hacer una conexión remota',
+ 'Login' => 'Login',
+ 'Name' => 'Nombre',
+ 'New Templates' => 'Nuevas Plantillas',
+ 'No Database Drivers available!' => 'No hay manejador de base de datos
+disponible!',
+ 'No Dataset selected!' => 'No se ha seleccionado el set de datos',
+ 'Nothing to delete!' => 'Noda que borrar',
+ 'Number Format' => 'Formato de Numero',
+ 'Oracle Database Administration' => 'Administración de base de datos Oracle',
+ 'Password' => 'Contraseña',
+ 'Password changed!' => 'Password changed!',
+ 'Pg Database Administration' => 'Administración de base de datos Pg',
+ 'Phone' => 'Teléfono',
+ 'Port' => 'Puerto',
+ 'Port missing!' => 'No se encuentra el Puerto!',
+ 'Printer' => 'Impresora',
+ 'Save' => 'Salvar',
+ 'Select a Dataset to delete and press "Continue"' => 'Seleccione un set de
+datos para borrar y presione "Continuar"',
+ 'Setup Templates' => 'Configurar Plantillas',
+ 'Ship via' => 'Ship via',
+ 'Signature' => 'Firma',
+ 'Stylesheet' => 'Estilo de hoja',
+ 'Templates' => 'Plantillas',
+ 'The following Datasets are not in use and can be deleted' => 'Los
+siguientes sets de datos no estan en uso y pueden ser borrados',
+ 'The following Datasets need to be updated' => 'Los siguientes datasets necesitan ser actualizados',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'Esta es una verificacion preliminar de fuentes existentes. Nada será creado o borrado en esta etapa!',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'Para agregar un usuario a un grupo, edite un nombre, cambie el nombre de entrada (login) y guarde los cambios. Un nuevo usuario, con las mismas variables será guardado bajo el nuevo nombre de entrada. (login)',
+ 'Update Dataset' => 'Actualizar Dataset',
+ 'Use Templates' => 'Plantillas de Usuarios',
+ 'User' => 'Usuario',
+ 'User deleted!' => 'User deleted!',
+ 'User saved!' => 'User saved!',
+ 'Version' => 'Versión',
+ 'You must enter a host and port for local and remote connections!' => 'Debe
+introducir un servidor de base de datos y un puerto para conexiones locales y
+remotas!',
+ 'does not exist' => 'No existe',
+ 'is already a member!' => 'ya es miembro!',
+ 'localhost' => 'servidor local',
+ 'successfully created!' => 'creado con éxito!',
+ 'successfully deleted!' => 'creado con éxito!',
+ 'website' => 'sitio web',
+};
+
+$self{subs} = {
+ 'add_user' => 'add_user',
+ 'adminlogin' => 'adminlogin',
+ 'change_admin_password' => 'change_admin_password',
+ 'change_password' => 'change_password',
+ 'check_password' => 'check_password',
+ 'continue' => 'continue',
+ 'create_dataset' => 'create_dataset',
+ 'dbcreate' => 'dbcreate',
+ 'dbdelete' => 'dbdelete',
+ 'dbdriver_defaults' => 'dbdriver_defaults',
+ 'dbselect_source' => 'dbselect_source',
+ 'dbupdate' => 'dbupdate',
+ 'delete' => 'delete',
+ 'delete_dataset' => 'delete_dataset',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'get_value' => 'get_value',
+ 'list_users' => 'list_users',
+ 'login' => 'login',
+ 'login_name' => 'login_name',
+ 'oracle_database_administration' => 'oracle_database_administration',
+ 'pg_database_administration' => 'pg_database_administration',
+ 'save' => 'save',
+ 'update_dataset' => 'update_dataset',
+ 'agregar_usuario' => 'add_user',
+ 'cambiar_contraseña_de_administrador' => 'change_admin_password',
+ 'cambiar_contraseña' => 'change_password',
+ 'continuar' => 'continue',
+ 'crear_set_de_datos' => 'create_dataset',
+ 'borrar' => 'delete',
+ 'borrar_set_de_datos' => 'delete_dataset',
+ 'login' => 'login',
+ 'administración_de_base_de_datos_oracle' => 'oracle_database_administration',
+ 'administración_de_base_de_datos_pg' => 'pg_database_administration',
+ 'salvar' => 'save',
+ 'actualizar_dataset' => 'update_dataset',
+};
+
+1;
diff --git a/sql-ledger/locale/pa/all b/sql-ledger/locale/pa/all
new file mode 100644
index 0000000..2981a10
--- /dev/null
+++ b/sql-ledger/locale/pa/all
@@ -0,0 +1,496 @@
+# These are all the texts to build the translations files.
+# The file has the form of 'english text' => 'foreign text',
+# you can add the translation in this file or in the 'missing' file
+# run locales.pl from this directory to rebuild the translation files
+
+$self{texts} = {
+ 'AP' => 'Ctas X Pagar',
+ 'AP Aging' => 'Envejecimiento - CxP',
+ 'AP Transaction' => '',
+ 'AP Transactions' => 'Transacciones - Cuentas por Pagar',
+ 'AR' => 'Ctas X Cobrar',
+ 'AR Aging' => 'Envejecimiento - CxC ',
+ 'AR Transaction' => '',
+ 'AR Transactions' => 'Transacciones de Cuentas por Cobrar',
+ 'About' => 'Acerca',
+ 'Access Control' => 'Control de Acceso',
+ 'Account' => 'Cuenta',
+ 'Account Number' => 'Número de Cuenta',
+ 'Account Number missing!' => 'No existe el número de cuenta!',
+ 'Account Type' => 'Tipo de Cuenta',
+ 'Account Type missing!' => 'No existe el tipo de la cuenta!',
+ 'Account deleted!' => '',
+ 'Account saved!' => '',
+ 'Accounting' => 'Contabilidad',
+ 'Accounting Menu' => 'Menú de Contabilidad',
+ 'Accounts' => 'Cuentas',
+ 'Active' => '',
+ 'Add' => 'Agregar',
+ 'Add Account' => 'Agregar Cuenta',
+ 'Add Accounts Payables Transaction' => '',
+ 'Add Accounts Receivables Transaction' => '',
+ 'Add Assembly' => 'Agregar Ensamblaje',
+ 'Add Customer' => 'Agregar Cliente',
+ 'Add GIFI' => 'Agregar GIFI',
+ 'Add General Ledger Transaction' => 'Agregar Transacción - Mayor General',
+ 'Add Part' => 'Agregar Parte',
+ 'Add Project' => '',
+ 'Add Purchase Invoice' => '',
+ 'Add Purchase Order' => 'Agregar Orden de Compra',
+ 'Add Sales Invoice' => '',
+ 'Add Sales Order' => 'Agregar Orden de Venta',
+ 'Add Service' => 'Agregar Servicio',
+ 'Add Transaction' => 'Agregar Transaccion',
+ 'Add User' => 'Agregar Usuario',
+ 'Add Vendor' => 'Agregar Proveedor',
+ 'Address' => 'Dirección',
+ 'Administration' => 'Administración',
+ 'Administrator' => '',
+ 'All' => 'Todos',
+ 'All Datasets up to date!' => 'Todos los datasets actualizados',
+ 'Amount' => 'Total',
+ 'Amount Due' => '',
+ 'Amount does not equal applied!' => '',
+ 'Amount missing!' => '',
+ 'Applied' => '',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Are you sure you want to delete Invoice Number' => '¿Esta seguro de que desea borrar la Factura No.:',
+ 'Are you sure you want to delete Order Number' => '¿Esta seguro de que desea
+borrar la Orden No.:?',
+ 'Are you sure you want to delete Transaction' => '¿Está usted seguro de que desea suprimir la transacción?',
+ 'Assemblies' => 'Ensamblajes',
+ 'Assemblies restocked!' => '',
+ 'Assembly Number missing!' => 'No existe Numero de Ensamblaje!',
+ 'Asset' => 'Activo',
+ 'Attachment' => 'Adjunto',
+ 'Audit Control' => 'Control de Audito',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'BOM' => '',
+ 'Backup' => 'Respaldar datos',
+ 'Backup sent to' => 'Respaldo enviado a',
+ 'Balance' => '',
+ 'Balance Sheet' => 'Hoja de Balance',
+ 'Bcc' => '',
+ 'Bin' => 'Bin',
+ 'Books are open' => 'Libros estan abiertos',
+ 'Bought' => 'Comprado',
+ 'Business Number' => 'Numero de Negocio',
+ 'C' => '',
+ 'COGS' => 'Costo de Ventas',
+ 'Cannot delete account!' => '',
+ 'Cannot delete customer!' => '',
+ 'Cannot delete default account!' => 'No se puede borrar cuenta por defecto!',
+ 'Cannot delete invoice!' => '',
+ 'Cannot delete item already invoiced!' => 'No puede suprimir el item ya facturado!',
+ 'Cannot delete item on order!' => 'No se puede borrar el item ya en cotizacion',
+ 'Cannot delete item which is part of an assembly!' => 'No puede suprimir un item que es parte de un ensamblaje!',
+ 'Cannot delete item!' => '',
+ 'Cannot delete order!' => '',
+ 'Cannot delete transaction!' => '',
+ 'Cannot delete vendor!' => '',
+ 'Cannot have a value in both Debit and Credit!' => 'No puede tener un valor en Débito y Crédito simultáneamente!',
+ 'Cannot post a transaction without a value!' => '',
+ 'Cannot post invoice for a closed period!' => 'No se puede registrar factura para un periodo cerrado!',
+ 'Cannot post invoice!' => '',
+ 'Cannot post payment for a closed period!' => 'No se puede registrar pago para un periodo cerrado',
+ 'Cannot post payment!' => '',
+ 'Cannot post transaction for a closed period!' => 'No puede guardar transaccion para un periodo cerrado',
+ 'Cannot post transaction!' => '',
+ 'Cannot process payment for a closed period!' => '',
+ 'Cannot save account!' => '',
+ 'Cannot save order!' => '',
+ 'Cannot save preferences!' => '',
+ 'Cannot stock assemblies!' => '',
+ 'Cash' => '',
+ 'Cash based' => '',
+ 'Cc' => '',
+ 'Change Admin Password' => 'Cambiar Contraseña de Administrador',
+ 'Change Password' => 'Cambiar Contraseña',
+ 'Character Set' => 'Tabla de Caracteres',
+ 'Chart of Accounts' => 'Catálogo Contable',
+ 'Check' => '',
+ 'Check printed!' => '',
+ 'Check printing failed!' => '',
+ 'Cleared Balance' => '',
+ 'Click on login name to edit!' => 'Haga clic en el nombre de entrada a
+editar',
+ 'Close Books up to' => 'Cerrar libros hasta',
+ 'Closed' => 'Cerrado',
+ 'Company' => 'Compañía',
+ 'Compare to' => 'Comparar a',
+ 'Confirm!' => 'Confirmar!',
+ 'Connect to' => 'Conectar a',
+ 'Contact' => 'Contacto',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Copias',
+ 'Copy to COA' => 'Copiar a catálogo de cuentas',
+ 'Create Chart of Accounts' => 'Crear catálogo de cuentas',
+ 'Create Dataset' => 'Crear set de datos',
+ 'Credit' => 'Crédito',
+ 'Credit Limit' => 'Limite de Credito',
+ 'Curr' => '$',
+ 'Currency' => 'Moneda',
+ 'Current' => '',
+ 'Customer' => 'Cliente',
+ 'Customer deleted!' => '',
+ 'Customer missing!' => '',
+ 'Customer not on file!' => '',
+ 'Customer saved!' => '',
+ 'Customers' => '',
+ 'DBI not installed!' => 'DBI no instalado!',
+ 'Database' => 'Base de datos',
+ 'Database Administration' => 'Administración de base de datos',
+ 'Database Driver not checked!' => 'Driver de base de datos no revisado',
+ 'Database Host' => 'Servidor de Base de Datos',
+ 'Database User missing!' => 'No se encuentra usuario de base de datos',
+ 'Dataset' => 'Set de datos',
+ 'Dataset missing!' => 'No se encuentra Set de datos!',
+ 'Dataset updated!' => '',
+ 'Date' => 'Fecha',
+ 'Date Due' => 'Fecha de Vencimiento',
+ 'Date Format' => 'Formato de Fecha',
+ 'Date Paid' => 'Fecha de pago',
+ 'Date missing!' => '',
+ 'Debit' => 'Débito',
+ 'Debit and credit out of balance!' => 'Débito y Crédito fuera de balance.',
+ 'Dec' => 'Dic',
+ 'December' => 'Diciembre',
+ 'Decimalplaces' => '',
+ 'Delete' => 'Borrar',
+ 'Delete Account' => 'Borrar Cuenta',
+ 'Delete Dataset' => 'Borrar Set de Datos',
+ 'Delivery Date' => '',
+ 'Deposit' => '',
+ 'Description' => 'Descripción',
+ 'Difference' => '',
+ 'Directory' => 'Directorio',
+ 'Discount' => 'Descuento',
+ 'Done' => '',
+ 'Drawing' => '',
+ 'Driver' => 'Manejador',
+ 'Dropdown Limit' => '',
+ 'Due' => 'Vence',
+ 'Due Date' => 'Fecha de Vencimiento',
+ 'Due Date missing!' => 'Falta Fecha de Vencimiento!',
+ 'E-mail' => 'Correo Electrónico',
+ 'E-mail Statement to' => '',
+ 'E-mail address missing!' => 'Falta E-mail!',
+ 'Edit' => '',
+ 'Edit Account' => 'Editar Cuenta',
+ 'Edit Accounts Payables Transaction' => '',
+ 'Edit Accounts Receivables Transaction' => '',
+ 'Edit Assembly' => 'Editar Ensamblaje',
+ 'Edit GIFI' => 'Editar GIFI',
+ 'Edit General Ledger Transaction' => 'Editar Transacción de Mayor General',
+ 'Edit Part' => 'Editar Parte',
+ 'Edit Preferences for' => 'Editar Preferencias para',
+ 'Edit Project' => '',
+ 'Edit Purchase Invoice' => '',
+ 'Edit Purchase Order' => 'Editar Orden de Compra',
+ 'Edit Sales Invoice' => '',
+ 'Edit Sales Order' => 'Editar Orden de Venta',
+ 'Edit Service' => 'Editar Servicio',
+ 'Edit Template' => 'Editar Plantilla',
+ 'Edit User' => 'Editar Usuario',
+ 'Employee' => '',
+ 'Enforce transaction reversal for all dates' => 'Forzar reversión de transacciones para todas las fechas',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => '',
+ 'Equity' => 'Capital',
+ 'Exch' => 'Interc.',
+ 'Exchangerate' => 'Tasa de Intercambio',
+ 'Exchangerate Difference' => '',
+ 'Exchangerate for payment missing!' => 'No se encuentra pago por cambio de moneda',
+ 'Exchangerate missing!' => 'No se encuentra cambio de moneda',
+ 'Existing Datasets' => 'Sets de dato existentes',
+ 'Expense' => 'Egreso',
+ 'Expense Account' => 'Cuenta de Egreso',
+ 'Expense/Asset' => 'Egreso/Activo',
+ 'Extended' => '',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrero',
+ 'Foreign Exchange Gain' => 'Ganancia en Moneda Extranjera',
+ 'Foreign Exchange Loss' => 'Pérdida en Moneda Extranjera',
+ 'From' => 'Desde',
+ 'GIFI' => 'GIFI',
+ 'GIFI deleted!' => '',
+ 'GIFI missing!' => 'No se encuentra GIFI',
+ 'GIFI saved!' => '',
+ 'GL Transaction' => '',
+ 'General Ledger' => 'Mayor General',
+ 'Goods & Services' => 'Partes y Servicios',
+ 'HTML Templates' => 'Plantillas HTML',
+ 'Heading' => 'Encabezado',
+ 'Host' => 'Servidor base de datos',
+ 'Hostname missing!' => 'No se encuentra servidor de base de datos',
+ 'ID' => 'ID',
+ 'Image' => '',
+ 'In-line' => 'En-linea',
+ 'Include in Report' => 'Incluya en informe',
+ 'Include in drop-down menus' => 'Incluya en menús desplegables',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Incluya esta cuenta en las formas del cliente/proveedor para señalar al cliente/proveedor como gravable de impuesto?',
+ 'Income' => 'Ingreso',
+ 'Income Account' => 'Cuenta de Ingreso',
+ 'Income Statement' => 'Estado de Cuentas',
+ 'Incorrect Dataset version!' => 'Version de dataset Incorrecta',
+ 'Incorrect Password!' => 'Contraseña Incorrecta!',
+ 'Individual Items' => 'Items Individuales',
+ 'Inventory' => 'Inventario',
+ 'Inventory Account' => 'Cuenta de Inventario',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'La cantidad en inventario debe ser cero antes de cambiar este ensamblaje a obsoleto!',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'La cantidad en inventario debe ser cero antes de cambiar esta parte a obsoleto',
+ 'Inventory quantity must be zero!' => 'La cantidad en inventario debe ser
+cero!',
+ 'Invoice' => 'Factura',
+ 'Invoice Date' => 'Fecha de Factura',
+ 'Invoice Date missing!' => 'Falta la Fecha de la Factura!',
+ 'Invoice Number' => 'Número de Factura',
+ 'Invoice Number missing!' => 'Falta el Número de Factura!',
+ 'Invoice deleted!' => '',
+ 'Invoice posted!' => '',
+ 'Invoices' => '',
+ 'Is this a summary account to record' => 'Es esta una cuenta de resumen a registrar?',
+ 'Item deleted!' => '',
+ 'Item not on file!' => 'El item no se encuentra en archivo!',
+ 'Jan' => 'Ene',
+ 'January' => 'Enero',
+ 'Jul' => 'Jul',
+ 'July' => 'Julio',
+ 'Jun' => 'Jun',
+ 'June' => 'Junio',
+ 'LaTeX Templates' => 'Plantillas LaTeX',
+ 'Language' => 'Lenguaje',
+ 'Last Cost' => 'Ultimo Costo',
+ 'Last Invoice Number' => 'Último Número de Factura',
+ 'Last Numbers & Default Accounts' => 'Últimos Números y Cuentas por Defecto',
+ 'Last Purchase Order Number' => 'Ultima Orden de Compra',
+ 'Last Sales Order Number' => 'Ultima Orden de Venta',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Deje los campos de servidor de base de datos y puerto vacíos al menos que quiera hacer una conexión remota',
+ 'Liability' => 'Pasivo',
+ 'Licensed to' => 'Licenciado a',
+ 'Line Total' => 'Total de Línea',
+ 'Link' => 'Enlaces',
+ 'Link Accounts' => 'Enlazar Cuentas',
+ 'List Accounts' => 'Listar Cuentas',
+ 'List GIFI' => 'Listar GIFI',
+ 'List Price' => 'Precio de Lista',
+ 'List Transactions' => 'Listar Transacciones',
+ 'Login' => 'Login',
+ 'Logout' => 'Logout',
+ 'Make' => 'Marca',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'May',
+ 'May ' => 'Mayo',
+ 'Message' => 'Mensaje',
+ 'Microfiche' => '',
+ 'Model' => 'Modelo',
+ 'N/A' => 'N/D',
+ 'Name' => 'Nombre',
+ 'Name missing!' => '',
+ 'New Templates' => 'Nuevas Plantillas',
+ 'No' => 'No',
+ 'No Database Drivers available!' => 'No hay manejador de base de datos
+disponible!',
+ 'No Dataset selected!' => 'No se ha seleccionado el set de datos',
+ 'No email address for' => 'Falta dirección email para',
+ 'No.' => '',
+ 'Notes' => 'Notas',
+ 'Nothing applied!' => '',
+ 'Nothing selected!' => '',
+ 'Nothing to delete!' => 'Noda que borrar',
+ 'Nov' => 'Nov',
+ 'November' => 'Noviembre',
+ 'Number' => 'Número',
+ 'Number Format' => 'Formato de Numero',
+ 'Number missing in Row' => 'No se encuentra el número en la fila',
+ 'O' => '',
+ 'Obsolete' => 'Obsoleto',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'On Hand' => 'En Existencia',
+ 'On Order' => '',
+ 'Open' => 'Abierto',
+ 'Oracle Database Administration' => 'Administración de base de datos Oracle',
+ 'Order' => 'Orden',
+ 'Order Date' => 'Fecha de Orden',
+ 'Order Date missing!' => 'No se encuentra la fecha de orden!',
+ 'Order Entry' => 'Orden de Entrada',
+ 'Order Number' => 'Orden Número',
+ 'Order Number missing!' => 'No se encuentra el número de orden!',
+ 'Order deleted!' => '',
+ 'Order saved!' => '',
+ 'Ordered' => '',
+ 'Orphaned' => 'Huerfano',
+ 'Out of balance!' => '',
+ 'PDF' => '',
+ 'Packing List' => 'Lista de Empaque',
+ 'Packing List Date missing!' => 'No se encuentra fecha de Lista de Empaque',
+ 'Packing List Number missing!' => 'No se encuentra Número de Lista de Empaque',
+ 'Paid' => 'Total Pagado',
+ 'Paid in full' => '',
+ 'Part' => 'Partes',
+ 'Part Number missing!' => 'Falta del número de pieza!',
+ 'Parts' => 'Partes',
+ 'Parts Inventory' => 'Inventario de Partes',
+ 'Password' => 'Contraseña',
+ 'Password changed!' => '',
+ 'Payables' => 'Por Pagar',
+ 'Payment' => 'Pago',
+ 'Payment date missing!' => 'No se encuentra la fecha de Pago!',
+ 'Payment posted!' => '',
+ 'Payments' => 'Pagos',
+ 'Pg Database Administration' => 'Administración de base de datos Pg',
+ 'Phone' => 'Teléfono',
+ 'Port' => 'Puerto',
+ 'Port missing!' => 'No se encuentra el Puerto!',
+ 'Post' => '',
+ 'Post as new' => '',
+ 'Postscript' => '',
+ 'Preferences' => 'Preferencias',
+ 'Preferences saved!' => 'Preferencias guardadas!',
+ 'Price' => 'Precio',
+ 'Print' => '',
+ 'Printer' => 'Impresora',
+ 'Project' => '',
+ 'Project Number missing!' => '',
+ 'Project deleted!' => '',
+ 'Project not on file!' => '',
+ 'Project saved!' => '',
+ 'Projects' => '',
+ 'Purchase Invoice' => '',
+ 'Purchase Order' => 'Orden de Compra',
+ 'Purchase Orders' => 'Ordenes de Compra',
+ 'Qty' => 'Cantidad',
+ 'ROP' => 'ROP',
+ 'Rate' => 'Tarifa',
+ 'Recd' => '',
+ 'Receipt' => '',
+ 'Receipts' => '',
+ 'Receivables' => 'Por Cobrar',
+ 'Reconciliation' => '',
+ 'Record in' => 'Registrar en',
+ 'Reference' => '',
+ 'Reference missing!' => '',
+ 'Remaining' => 'Remanente',
+ 'Report for' => 'Reportar por',
+ 'Reports' => 'Reportes',
+ 'Required by' => 'Requerido por',
+ 'Retained Earnings' => 'Ganacias Retenidas',
+ 'Sales' => 'Ventas',
+ 'Sales Invoice' => '',
+ 'Sales Order' => 'Orden de venta',
+ 'Sales Orders' => 'Ordenes de venta',
+ 'Save' => 'Salvar',
+ 'Save as new' => '',
+ 'Save to File' => 'Respaldar a Archivo',
+ 'Screen' => 'Pantalla',
+ 'Select a Dataset to delete and press "Continue"' => 'Seleccione un set de
+datos para borrar y presione "Continuar"',
+ 'Select all' => '',
+ 'Select from one of the items below' => 'Seleccione uno de los items',
+ 'Select from one of the names below' => '',
+ 'Select from one of the projects below' => '',
+ 'Select postscript or PDF!' => '',
+ 'Sell Price' => 'Precio de Venta',
+ 'Send by E-Mail' => 'Enviar por E-Mail',
+ 'Sep' => 'Sep',
+ 'September' => 'Septiembre',
+ 'Service' => 'Servicio',
+ 'Service Items' => 'Items de Servicio',
+ 'Service Number missing!' => 'Falta el número de servicio!',
+ 'Services' => 'Servicios',
+ 'Setup Templates' => 'Configurar Plantillas',
+ 'Ship' => '',
+ 'Ship to' => '',
+ 'Ship via' => '',
+ 'Short' => 'Corto',
+ 'Signature' => 'Firma',
+ 'Sold' => 'Vendido',
+ 'Source' => 'Fuente',
+ 'Standard' => 'Estandar',
+ 'Statement' => '',
+ 'Statement Balance' => '',
+ 'Statement sent to' => '',
+ 'Statements sent to printer!' => '',
+ 'Stock Assembly' => 'Inventariar Ensamblaje?',
+ 'Stylesheet' => 'Estilo de hoja',
+ 'Subject' => 'Sujeto',
+ 'Subtotal' => 'Subtotal',
+ 'System' => 'Sistema',
+ 'Tax' => 'Impuesto',
+ 'Tax Accounts' => 'Cuentas De Impuesto',
+ 'Tax Included' => 'Impuesto Incluido',
+ 'Tax collected' => '',
+ 'Tax paid' => '',
+ 'Taxable' => 'Gravable de Impuesto',
+ 'Template saved!' => '',
+ 'Templates' => 'Plantillas',
+ 'Terms: Net' => 'Crédito',
+ 'The following Datasets are not in use and can be deleted' => 'Los
+siguientes sets de datos no estan en uso y pueden ser borrados',
+ 'The following Datasets need to be updated' => 'Los siguientes datasets necesitan ser actualizados',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'Esta es una verificacion preliminar de fuentes existentes. Nada será creado o borrado en esta etapa!',
+ 'To' => 'Hasta ',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'Para agregar un usuario a un grupo, edite un nombre, cambie el nombre de entrada (login) y guarde los cambios. Un nuevo usuario, con las mismas variables será guardado bajo el nuevo nombre de entrada. (login)',
+ 'Top Level' => '',
+ 'Total' => 'Total',
+ 'Transaction Date missing!' => 'Falta la fecha de la transacción!',
+ 'Transaction deleted!' => '',
+ 'Transaction posted!' => '',
+ 'Transaction reversal enforced for all dates' => 'Retorno de transacciones forzado para todas las fechas',
+ 'Transaction reversal enforced up to' => 'Reversal de transacciones forzado hasta ',
+ 'Transactions' => 'Transacciones',
+ 'Transactions exist, cannot delete customer!' => 'Las transacciones existen, no pueden suprimir el cliente!',
+ 'Transactions exist, cannot delete vendor!' => 'Las transacciones existen, no pueden suprimir a proveedor',
+ 'Transactions exist; cannot delete account!' => 'Las transacciones existen,
+no puede suprimir la cuenta!',
+ 'Trial Balance' => 'Balance De Comprobación',
+ 'Unit' => 'Unidad',
+ 'Unit of measure' => 'Unidad de medida',
+ 'Update' => '',
+ 'Update Dataset' => 'Actualizar Dataset',
+ 'Updated' => '',
+ 'Use Templates' => 'Plantillas de Usuarios',
+ 'User' => 'Usuario',
+ 'User deleted!' => '',
+ 'User saved!' => '',
+ 'Vendor' => 'Proveedor',
+ 'Vendor deleted!' => '',
+ 'Vendor missing!' => '',
+ 'Vendor not on file!' => '',
+ 'Vendor saved!' => '',
+ 'Vendors' => '',
+ 'Version' => 'Versión',
+ 'Weight' => 'Peso',
+ 'Weight Unit' => 'Unidad de Peso',
+ 'What type of item is this?' => '¿Que tipo de Item es este?',
+ 'Year End' => 'Fin del Año Fiscal',
+ 'Yes' => 'Si',
+ 'You are logged out!' => '',
+ 'You did not enter a name!' => 'No introdujo un nombre!',
+ 'You must enter a host and port for local and remote connections!' => 'Debe
+introducir un servidor de base de datos y un puerto para conexiones locales y
+remotas!',
+ 'as at' => '',
+ 'collected on sales' => 'Recabado en ventas',
+ 'days' => 'Días',
+ 'does not exist' => 'No existe',
+ 'ea' => 'c/u',
+ 'emailed to' => 'enviado a (e-mail)',
+ 'for Period' => 'para el período',
+ 'hr' => 'hr',
+ 'is already a member!' => 'ya es miembro!',
+ 'is not a member!' => 'no es un miembro!',
+ 'localhost' => 'servidor local',
+ 'paid on purchases' => 'pagado en compras',
+ 'sent to printer' => 'enviar a impresora',
+ 'successfully created!' => 'creado con éxito!',
+ 'successfully deleted!' => 'creado con éxito!',
+ 'to' => '',
+ 'website' => 'sitio web',
+};
+
+1;
diff --git a/sql-ledger/locale/pa/am b/sql-ledger/locale/pa/am
new file mode 100644
index 0000000..47edf44
--- /dev/null
+++ b/sql-ledger/locale/pa/am
@@ -0,0 +1,140 @@
+$self{texts} = {
+ 'AP' => 'Ctas X Pagar',
+ 'AR' => 'Ctas X Cobrar',
+ 'Account' => 'Cuenta',
+ 'Account Number' => 'Número de Cuenta',
+ 'Account Number missing!' => 'No existe el número de cuenta!',
+ 'Account Type' => 'Tipo de Cuenta',
+ 'Account Type missing!' => 'No existe el tipo de la cuenta!',
+ 'Account deleted!' => 'Account deleted!',
+ 'Account saved!' => 'Account saved!',
+ 'Add Account' => 'Agregar Cuenta',
+ 'Add GIFI' => 'Agregar GIFI',
+ 'Address' => 'Dirección',
+ 'Asset' => 'Activo',
+ 'Audit Control' => 'Control de Audito',
+ 'Backup sent to' => 'Respaldo enviado a',
+ 'Books are open' => 'Libros estan abiertos',
+ 'Business Number' => 'Numero de Negocio',
+ 'COGS' => 'Costo de Ventas',
+ 'Cannot delete account!' => 'Cannot delete account!',
+ 'Cannot delete default account!' => 'No se puede borrar cuenta por defecto!',
+ 'Cannot save account!' => 'Cannot save account!',
+ 'Cannot save preferences!' => 'Cannot save preferences!',
+ 'Character Set' => 'Tabla de Caracteres',
+ 'Chart of Accounts' => 'Catálogo Contable',
+ 'Close Books up to' => 'Cerrar libros hasta',
+ 'Company' => 'Compañía',
+ 'Continue' => 'Continuar',
+ 'Copy to COA' => 'Copiar a catálogo de cuentas',
+ 'Credit' => 'Crédito',
+ 'Date Format' => 'Formato de Fecha',
+ 'Debit' => 'Débito',
+ 'Delete' => 'Borrar',
+ 'Delete Account' => 'Borrar Cuenta',
+ 'Description' => 'Descripción',
+ 'Dropdown Limit' => 'Dropdown Limit',
+ 'E-mail' => 'Correo Electrónico',
+ 'Edit' => 'Edit',
+ 'Edit Account' => 'Editar Cuenta',
+ 'Edit GIFI' => 'Editar GIFI',
+ 'Edit Preferences for' => 'Editar Preferencias para',
+ 'Edit Template' => 'Editar Plantilla',
+ 'Enforce transaction reversal for all dates' => 'Forzar reversión de transacciones para todas las fechas',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies',
+ 'Equity' => 'Capital',
+ 'Expense' => 'Egreso',
+ 'Expense Account' => 'Cuenta de Egreso',
+ 'Expense/Asset' => 'Egreso/Activo',
+ 'Fax' => 'Fax',
+ 'Foreign Exchange Gain' => 'Ganancia en Moneda Extranjera',
+ 'Foreign Exchange Loss' => 'Pérdida en Moneda Extranjera',
+ 'GIFI' => 'GIFI',
+ 'GIFI deleted!' => 'GIFI deleted!',
+ 'GIFI missing!' => 'No se encuentra GIFI',
+ 'GIFI saved!' => 'GIFI saved!',
+ 'Heading' => 'Encabezado',
+ 'Include in drop-down menus' => 'Incluya en menús desplegables',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Incluya esta cuenta en las formas del cliente/proveedor para señalar al cliente/proveedor como gravable de impuesto?',
+ 'Income' => 'Ingreso',
+ 'Income Account' => 'Cuenta de Ingreso',
+ 'Inventory' => 'Inventario',
+ 'Inventory Account' => 'Cuenta de Inventario',
+ 'Is this a summary account to record' => 'Es esta una cuenta de resumen a registrar?',
+ 'Language' => 'Lenguaje',
+ 'Last Invoice Number' => 'Último Número de Factura',
+ 'Last Numbers & Default Accounts' => 'Últimos Números y Cuentas por Defecto',
+ 'Last Purchase Order Number' => 'Ultima Orden de Compra',
+ 'Last Sales Order Number' => 'Ultima Orden de Venta',
+ 'Liability' => 'Pasivo',
+ 'Link' => 'Enlaces',
+ 'Name' => 'Nombre',
+ 'No' => 'No',
+ 'No email address for' => 'Falta dirección email para',
+ 'Number' => 'Número',
+ 'Number Format' => 'Formato de Numero',
+ 'Parts Inventory' => 'Inventario de Partes',
+ 'Password' => 'Contraseña',
+ 'Payables' => 'Por Pagar',
+ 'Payment' => 'Pago',
+ 'Phone' => 'Teléfono',
+ 'Preferences saved!' => 'Preferencias guardadas!',
+ 'Rate' => 'Tarifa',
+ 'Receivables' => 'Por Cobrar',
+ 'Sales' => 'Ventas',
+ 'Save' => 'Salvar',
+ 'Service Items' => 'Items de Servicio',
+ 'Ship via' => 'Ship via',
+ 'Signature' => 'Firma',
+ 'Stylesheet' => 'Estilo de hoja',
+ 'Tax' => 'Impuesto',
+ 'Tax Accounts' => 'Cuentas De Impuesto',
+ 'Template saved!' => 'Template saved!',
+ 'Transaction reversal enforced for all dates' => 'Retorno de transacciones forzado para todas las fechas',
+ 'Transaction reversal enforced up to' => 'Reversal de transacciones forzado hasta ',
+ 'Transactions exist; cannot delete account!' => 'Las transacciones existen,
+no puede suprimir la cuenta!',
+ 'Weight Unit' => 'Unidad de Peso',
+ 'Year End' => 'Fin del Año Fiscal',
+ 'Yes' => 'Si',
+ 'does not exist' => 'No existe',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_gifi' => 'add_gifi',
+ 'audit_control' => 'audit_control',
+ 'backup' => 'backup',
+ 'config' => 'config',
+ 'continue' => 'continue',
+ 'copy_to_coa' => 'copy_to_coa',
+ 'delete' => 'delete',
+ 'delete_account' => 'delete_account',
+ 'delete_gifi' => 'delete_gifi',
+ 'display_form' => 'display_form',
+ 'display_stylesheet' => 'display_stylesheet',
+ 'doclose' => 'doclose',
+ 'edit' => 'edit',
+ 'edit_gifi' => 'edit_gifi',
+ 'edit_template' => 'edit_template',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gifi_footer' => 'gifi_footer',
+ 'gifi_header' => 'gifi_header',
+ 'list' => 'list',
+ 'list_gifi' => 'list_gifi',
+ 'save' => 'save',
+ 'save_account' => 'save_account',
+ 'save_gifi' => 'save_gifi',
+ 'save_preferences' => 'save_preferences',
+ 'save_template' => 'save_template',
+ 'agregar_cuenta' => 'add_account',
+ 'continuar' => 'continue',
+ 'copiar_a_catálogo_de_cuentas' => 'copy_to_coa',
+ 'borrar' => 'delete',
+ 'edit' => 'edit',
+ 'editar_cuenta' => 'edit_account',
+ 'salvar' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/pa/ap b/sql-ledger/locale/pa/ap
new file mode 100644
index 0000000..0741d00
--- /dev/null
+++ b/sql-ledger/locale/pa/ap
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AP Transaction' => 'AP Transaction',
+ 'AP Transactions' => 'Transacciones - Cuentas por Pagar',
+ 'Account' => 'Cuenta',
+ 'Add Accounts Payables Transaction' => 'Add Accounts Payables Transaction',
+ 'Address' => 'Dirección',
+ 'Amount' => 'Total',
+ 'Amount Due' => 'Amount Due',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Are you sure you want to delete Transaction' => '¿Está usted seguro de que desea suprimir la transacción?',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Cannot delete transaction!' => 'Cannot delete transaction!',
+ 'Cannot post payment for a closed period!' => 'No se puede registrar pago para un periodo cerrado',
+ 'Cannot post transaction for a closed period!' => 'No puede guardar transaccion para un periodo cerrado',
+ 'Cannot post transaction!' => 'Cannot post transaction!',
+ 'Closed' => 'Cerrado',
+ 'Confirm!' => 'Confirmar!',
+ 'Continue' => 'Continuar',
+ 'Currency' => 'Moneda',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'Fecha',
+ 'Date Paid' => 'Fecha de pago',
+ 'Dec' => 'Dic',
+ 'December' => 'Diciembre',
+ 'Delete' => 'Borrar',
+ 'Description' => 'Descripción',
+ 'Due Date' => 'Fecha de Vencimiento',
+ 'Due Date missing!' => 'Falta Fecha de Vencimiento!',
+ 'Edit Accounts Payables Transaction' => 'Edit Accounts Payables Transaction',
+ 'Employee' => 'Employee',
+ 'Exch' => 'Interc.',
+ 'Exchangerate' => 'Tasa de Intercambio',
+ 'Exchangerate for payment missing!' => 'No se encuentra pago por cambio de moneda',
+ 'Exchangerate missing!' => 'No se encuentra cambio de moneda',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrero',
+ 'From' => 'Desde',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Incluya en informe',
+ 'Invoice' => 'Factura',
+ 'Invoice Date' => 'Fecha de Factura',
+ 'Invoice Date missing!' => 'Falta la Fecha de la Factura!',
+ 'Invoice Number' => 'Número de Factura',
+ 'Invoice Number missing!' => 'Falta el Número de Factura!',
+ 'Jan' => 'Ene',
+ 'January' => 'Enero',
+ 'Jul' => 'Jul',
+ 'July' => 'Julio',
+ 'Jun' => 'Jun',
+ 'June' => 'Junio',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'May',
+ 'May ' => 'Mayo',
+ 'Notes' => 'Notas',
+ 'Nov' => 'Nov',
+ 'November' => 'Noviembre',
+ 'Number' => 'Número',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'Open' => 'Abierto',
+ 'Order' => 'Orden',
+ 'Order Number' => 'Orden Número',
+ 'Paid' => 'Total Pagado',
+ 'Payment date missing!' => 'No se encuentra la fecha de Pago!',
+ 'Payments' => 'Pagos',
+ 'Post' => 'Post',
+ 'Post as new' => 'Post as new',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Purchase Invoice' => 'Purchase Invoice',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Sep' => 'Sep',
+ 'September' => 'Septiembre',
+ 'Source' => 'Fuente',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'Impuesto',
+ 'Tax Included' => 'Impuesto Incluido',
+ 'To' => 'Hasta ',
+ 'Total' => 'Total',
+ 'Transaction deleted!' => 'Transaction deleted!',
+ 'Transaction posted!' => 'Transaction posted!',
+ 'Update' => 'Update',
+ 'Vendor' => 'Proveedor',
+ 'Vendor missing!' => 'Vendor missing!',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'Yes' => 'Si',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_subtotal' => 'ap_subtotal',
+ 'ap_transaction' => 'ap_transaction',
+ 'ap_transactions' => 'ap_transactions',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'ap_transaction' => 'ap_transaction',
+ 'add_accounts_payables_transaction' => 'add_accounts_payables_transaction',
+ 'continuar' => 'continue',
+ 'borrar' => 'delete',
+ 'edit_accounts_payables_transaction' => 'edit_accounts_payables_transaction',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'update' => 'update',
+ 'si' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/pa/ar b/sql-ledger/locale/pa/ar
new file mode 100644
index 0000000..7106f79
--- /dev/null
+++ b/sql-ledger/locale/pa/ar
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AR Transaction' => 'AR Transaction',
+ 'AR Transactions' => 'Transacciones de Cuentas por Cobrar',
+ 'Account' => 'Cuenta',
+ 'Add Accounts Receivables Transaction' => 'Add Accounts Receivables Transaction',
+ 'Address' => 'Dirección',
+ 'Amount' => 'Total',
+ 'Amount Due' => 'Amount Due',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Are you sure you want to delete Transaction' => '¿Está usted seguro de que desea suprimir la transacción?',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Cannot delete transaction!' => 'Cannot delete transaction!',
+ 'Cannot post payment for a closed period!' => 'No se puede registrar pago para un periodo cerrado',
+ 'Cannot post transaction for a closed period!' => 'No puede guardar transaccion para un periodo cerrado',
+ 'Cannot post transaction!' => 'Cannot post transaction!',
+ 'Closed' => 'Cerrado',
+ 'Confirm!' => 'Confirmar!',
+ 'Continue' => 'Continuar',
+ 'Credit Limit' => 'Limite de Credito',
+ 'Currency' => 'Moneda',
+ 'Customer' => 'Cliente',
+ 'Customer missing!' => 'Customer missing!',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'Fecha',
+ 'Date Paid' => 'Fecha de pago',
+ 'Dec' => 'Dic',
+ 'December' => 'Diciembre',
+ 'Delete' => 'Borrar',
+ 'Description' => 'Descripción',
+ 'Due Date' => 'Fecha de Vencimiento',
+ 'Due Date missing!' => 'Falta Fecha de Vencimiento!',
+ 'Edit Accounts Receivables Transaction' => 'Edit Accounts Receivables Transaction',
+ 'Employee' => 'Employee',
+ 'Exch' => 'Interc.',
+ 'Exchangerate' => 'Tasa de Intercambio',
+ 'Exchangerate for payment missing!' => 'No se encuentra pago por cambio de moneda',
+ 'Exchangerate missing!' => 'No se encuentra cambio de moneda',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrero',
+ 'From' => 'Desde',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Incluya en informe',
+ 'Invoice' => 'Factura',
+ 'Invoice Date' => 'Fecha de Factura',
+ 'Invoice Date missing!' => 'Falta la Fecha de la Factura!',
+ 'Invoice Number' => 'Número de Factura',
+ 'Invoice Number missing!' => 'Falta el Número de Factura!',
+ 'Jan' => 'Ene',
+ 'January' => 'Enero',
+ 'Jul' => 'Jul',
+ 'July' => 'Julio',
+ 'Jun' => 'Jun',
+ 'June' => 'Junio',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'May',
+ 'May ' => 'Mayo',
+ 'Notes' => 'Notas',
+ 'Nov' => 'Nov',
+ 'November' => 'Noviembre',
+ 'Number' => 'Número',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'Open' => 'Abierto',
+ 'Order' => 'Orden',
+ 'Order Number' => 'Orden Número',
+ 'Paid' => 'Total Pagado',
+ 'Payment date missing!' => 'No se encuentra la fecha de Pago!',
+ 'Payments' => 'Pagos',
+ 'Post' => 'Post',
+ 'Post as new' => 'Post as new',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Remaining' => 'Remanente',
+ 'Sales Invoice' => 'Sales Invoice',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Sep' => 'Sep',
+ 'September' => 'Septiembre',
+ 'Source' => 'Fuente',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'Impuesto',
+ 'Tax Included' => 'Impuesto Incluido',
+ 'To' => 'Hasta ',
+ 'Total' => 'Total',
+ 'Transaction deleted!' => 'Transaction deleted!',
+ 'Transaction posted!' => 'Transaction posted!',
+ 'Update' => 'Update',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'Yes' => 'Si',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_subtotal' => 'ar_subtotal',
+ 'ar_transaction' => 'ar_transaction',
+ 'ar_transactions' => 'ar_transactions',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'ar_transaction' => 'ar_transaction',
+ 'continuar' => 'continue',
+ 'borrar' => 'delete',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'sales_invoice' => 'sales_invoice',
+ 'update' => 'update',
+ 'si' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/pa/arap b/sql-ledger/locale/pa/arap
new file mode 100644
index 0000000..f541192
--- /dev/null
+++ b/sql-ledger/locale/pa/arap
@@ -0,0 +1,30 @@
+$self{texts} = {
+ 'Address' => 'Dirección',
+ 'Continue' => 'Continuar',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Description' => 'Descripción',
+ 'Number' => 'Número',
+ 'Project not on file!' => 'Project not on file!',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Vendor not on file!' => 'Vendor not on file!',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'continuar' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/pa/ca b/sql-ledger/locale/pa/ca
new file mode 100644
index 0000000..0d3d00e
--- /dev/null
+++ b/sql-ledger/locale/pa/ca
@@ -0,0 +1,50 @@
+$self{texts} = {
+ 'Account' => 'Cuenta',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Balance' => 'Balance',
+ 'Chart of Accounts' => 'Catálogo Contable',
+ 'Credit' => 'Crédito',
+ 'Date' => 'Fecha',
+ 'Debit' => 'Débito',
+ 'Dec' => 'Dic',
+ 'December' => 'Diciembre',
+ 'Description' => 'Descripción',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrero',
+ 'From' => 'Desde',
+ 'GIFI' => 'GIFI',
+ 'Include in Report' => 'Incluya en informe',
+ 'Jan' => 'Ene',
+ 'January' => 'Enero',
+ 'Jul' => 'Jul',
+ 'July' => 'Julio',
+ 'Jun' => 'Jun',
+ 'June' => 'Junio',
+ 'List Transactions' => 'Listar Transacciones',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'May',
+ 'May ' => 'Mayo',
+ 'Nov' => 'Nov',
+ 'November' => 'Noviembre',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'Reference' => 'Reference',
+ 'Sep' => 'Sep',
+ 'September' => 'Septiembre',
+ 'Subtotal' => 'Subtotal',
+ 'To' => 'Hasta ',
+};
+
+$self{subs} = {
+ 'ca_subtotal' => 'ca_subtotal',
+ 'chart_of_accounts' => 'chart_of_accounts',
+ 'list' => 'list',
+ 'list_transactions' => 'list_transactions',
+ 'listar_transacciones' => 'list_transactions',
+};
+
+1;
diff --git a/sql-ledger/locale/pa/cp b/sql-ledger/locale/pa/cp
new file mode 100644
index 0000000..95085e0
--- /dev/null
+++ b/sql-ledger/locale/pa/cp
@@ -0,0 +1,75 @@
+$self{texts} = {
+ 'Account' => 'Cuenta',
+ 'Address' => 'Dirección',
+ 'Amount' => 'Total',
+ 'Amount does not equal applied!' => 'Amount does not equal applied!',
+ 'Amount missing!' => 'Amount missing!',
+ 'Applied' => 'Applied',
+ 'Cannot post payment!' => 'Cannot post payment!',
+ 'Cannot process payment for a closed period!' => 'Cannot process payment for a closed period!',
+ 'Check' => 'Check',
+ 'Check printed!' => 'Check printed!',
+ 'Check printing failed!' => 'Check printing failed!',
+ 'Continue' => 'Continuar',
+ 'Currency' => 'Moneda',
+ 'Customer' => 'Cliente',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'Fecha',
+ 'Date missing!' => 'Date missing!',
+ 'Description' => 'Descripción',
+ 'Due' => 'Vence',
+ 'Exchangerate' => 'Tasa de Intercambio',
+ 'From' => 'Desde',
+ 'Invoice' => 'Factura',
+ 'Invoices' => 'Invoices',
+ 'Nothing applied!' => 'Nothing applied!',
+ 'Number' => 'Número',
+ 'Paid in full' => 'Paid in full',
+ 'Payment' => 'Pago',
+ 'Payment posted!' => 'Payment posted!',
+ 'Post' => 'Post',
+ 'Print' => 'Print',
+ 'Printer' => 'Impresora',
+ 'Project not on file!' => 'Project not on file!',
+ 'Receipt' => 'Receipt',
+ 'Reference' => 'Reference',
+ 'Screen' => 'Pantalla',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'To' => 'Hasta ',
+ 'Update' => 'Update',
+ 'Vendor' => 'Proveedor',
+ 'Vendor not on file!' => 'Vendor not on file!',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'list_invoices' => 'list_invoices',
+ 'name_selected' => 'name_selected',
+ 'payment' => 'payment',
+ 'post' => 'post',
+ 'print' => 'print',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'vendor_details' => 'vendor_details',
+ 'continuar' => 'continue',
+ 'post' => 'post',
+ 'print' => 'print',
+ 'update' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/pa/ct b/sql-ledger/locale/pa/ct
new file mode 100644
index 0000000..0db8902
--- /dev/null
+++ b/sql-ledger/locale/pa/ct
@@ -0,0 +1,69 @@
+$self{texts} = {
+ 'Add' => 'Agregar',
+ 'Address' => 'Dirección',
+ 'All' => 'Todos',
+ 'Bcc' => 'Bcc',
+ 'Cannot delete customer!' => 'Cannot delete customer!',
+ 'Cannot delete vendor!' => 'Cannot delete vendor!',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Contacto',
+ 'Continue' => 'Continuar',
+ 'Credit Limit' => 'Limite de Credito',
+ 'Customer deleted!' => 'Customer deleted!',
+ 'Customer saved!' => 'Customer saved!',
+ 'Customers' => 'Customers',
+ 'Delete' => 'Borrar',
+ 'Discount' => 'Descuento',
+ 'E-mail' => 'Correo Electrónico',
+ 'Fax' => 'Fax',
+ 'Include in Report' => 'Incluya en informe',
+ 'Invoice' => 'Factura',
+ 'Name' => 'Nombre',
+ 'Name missing!' => 'Name missing!',
+ 'Notes' => 'Notas',
+ 'Number' => 'Número',
+ 'Order' => 'Orden',
+ 'Orphaned' => 'Huerfano',
+ 'Phone' => 'Teléfono',
+ 'Save' => 'Salvar',
+ 'Ship to' => 'Ship to',
+ 'Tax Included' => 'Impuesto Incluido',
+ 'Taxable' => 'Gravable de Impuesto',
+ 'Terms: Net' => 'Crédito',
+ 'Transactions exist, cannot delete customer!' => 'Las transacciones existen, no pueden suprimir el cliente!',
+ 'Transactions exist, cannot delete vendor!' => 'Las transacciones existen, no pueden suprimir a proveedor',
+ 'Vendor deleted!' => 'Vendor deleted!',
+ 'Vendor saved!' => 'Vendor saved!',
+ 'Vendors' => 'Vendors',
+ 'days' => 'Días',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'customer_invoice' => 'customer_invoice',
+ 'customer_order' => 'customer_order',
+ 'delete' => 'delete',
+ 'delete_customer' => 'delete_customer',
+ 'delete_vendor' => 'delete_vendor',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'invoice' => 'invoice',
+ 'list_names' => 'list_names',
+ 'order' => 'order',
+ 'save' => 'save',
+ 'save_customer' => 'save_customer',
+ 'save_vendor' => 'save_vendor',
+ 'search' => 'search',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'vendor_order' => 'vendor_order',
+ 'agregar' => 'add',
+ 'continuar' => 'continue',
+ 'borrar' => 'delete',
+ 'factura' => 'invoice',
+ 'orden' => 'order',
+ 'salvar' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/pa/gl b/sql-ledger/locale/pa/gl
new file mode 100644
index 0000000..8667f1c
--- /dev/null
+++ b/sql-ledger/locale/pa/gl
@@ -0,0 +1,124 @@
+$self{texts} = {
+ 'AP Transaction' => 'AP Transaction',
+ 'AR Transaction' => 'AR Transaction',
+ 'Account' => 'Cuenta',
+ 'Add General Ledger Transaction' => 'Agregar Transacción - Mayor General',
+ 'Address' => 'Dirección',
+ 'All' => 'Todos',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Are you sure you want to delete Transaction' => '¿Está usted seguro de que desea suprimir la transacción?',
+ 'Asset' => 'Activo',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Balance' => 'Balance',
+ 'Cannot delete transaction!' => 'Cannot delete transaction!',
+ 'Cannot have a value in both Debit and Credit!' => 'No puede tener un valor en Débito y Crédito simultáneamente!',
+ 'Cannot post a transaction without a value!' => 'Cannot post a transaction without a value!',
+ 'Cannot post transaction for a closed period!' => 'No puede guardar transaccion para un periodo cerrado',
+ 'Confirm!' => 'Confirmar!',
+ 'Continue' => 'Continuar',
+ 'Credit' => 'Crédito',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'Fecha',
+ 'Debit' => 'Débito',
+ 'Debit and credit out of balance!' => 'Débito y Crédito fuera de balance.',
+ 'Dec' => 'Dic',
+ 'December' => 'Diciembre',
+ 'Delete' => 'Borrar',
+ 'Description' => 'Descripción',
+ 'Edit General Ledger Transaction' => 'Editar Transacción de Mayor General',
+ 'Equity' => 'Capital',
+ 'Expense' => 'Egreso',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrero',
+ 'From' => 'Desde',
+ 'GIFI' => 'GIFI',
+ 'GL Transaction' => 'GL Transaction',
+ 'General Ledger' => 'Mayor General',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Incluya en informe',
+ 'Income' => 'Ingreso',
+ 'Jan' => 'Ene',
+ 'January' => 'Enero',
+ 'Jul' => 'Jul',
+ 'July' => 'Julio',
+ 'Jun' => 'Jun',
+ 'June' => 'Junio',
+ 'Liability' => 'Pasivo',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'May',
+ 'May ' => 'Mayo',
+ 'Notes' => 'Notas',
+ 'Nov' => 'Nov',
+ 'November' => 'Noviembre',
+ 'Number' => 'Número',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'Post' => 'Post',
+ 'Post as new' => 'Post as new',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Purchase Invoice' => 'Purchase Invoice',
+ 'Reference' => 'Reference',
+ 'Reference missing!' => 'Reference missing!',
+ 'Reports' => 'Reportes',
+ 'Sales Invoice' => 'Sales Invoice',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Sep' => 'Sep',
+ 'September' => 'Septiembre',
+ 'Source' => 'Fuente',
+ 'Subtotal' => 'Subtotal',
+ 'To' => 'Hasta ',
+ 'Transaction Date missing!' => 'Falta la fecha de la transacción!',
+ 'Transaction deleted!' => 'Transaction deleted!',
+ 'Transaction posted!' => 'Transaction posted!',
+ 'Update' => 'Update',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'Yes' => 'Si',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'form_row' => 'form_row',
+ 'generate_report' => 'generate_report',
+ 'gl_subtotal' => 'gl_subtotal',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'continuar' => 'continue',
+ 'borrar' => 'delete',
+ 'gl_transaction' => 'gl_transaction',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'update' => 'update',
+ 'si' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/pa/ic b/sql-ledger/locale/pa/ic
new file mode 100644
index 0000000..44cfa36
--- /dev/null
+++ b/sql-ledger/locale/pa/ic
@@ -0,0 +1,206 @@
+$self{texts} = {
+ 'Active' => 'Active',
+ 'Add' => 'Agregar',
+ 'Add Assembly' => 'Agregar Ensamblaje',
+ 'Add Part' => 'Agregar Parte',
+ 'Add Purchase Order' => 'Agregar Orden de Compra',
+ 'Add Sales Order' => 'Agregar Orden de Venta',
+ 'Add Service' => 'Agregar Servicio',
+ 'Address' => 'Dirección',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Assemblies' => 'Ensamblajes',
+ 'Assemblies restocked!' => 'Assemblies restocked!',
+ 'Assembly Number missing!' => 'No existe Numero de Ensamblaje!',
+ 'Attachment' => 'Adjunto',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'BOM' => 'BOM',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Bin',
+ 'Bought' => 'Comprado',
+ 'COGS' => 'Costo de Ventas',
+ 'Cannot delete item already invoiced!' => 'No puede suprimir el item ya facturado!',
+ 'Cannot delete item on order!' => 'No se puede borrar el item ya en cotizacion',
+ 'Cannot delete item which is part of an assembly!' => 'No puede suprimir un item que es parte de un ensamblaje!',
+ 'Cannot delete item!' => 'Cannot delete item!',
+ 'Cannot stock assemblies!' => 'Cannot stock assemblies!',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Contacto',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Copias',
+ 'Dec' => 'Dic',
+ 'December' => 'Diciembre',
+ 'Delete' => 'Borrar',
+ 'Delivery Date' => 'Delivery Date',
+ 'Description' => 'Descripción',
+ 'Drawing' => 'Drawing',
+ 'E-mail' => 'Correo Electrónico',
+ 'E-mail address missing!' => 'Falta E-mail!',
+ 'Edit Assembly' => 'Editar Ensamblaje',
+ 'Edit Part' => 'Editar Parte',
+ 'Edit Service' => 'Editar Servicio',
+ 'Expense' => 'Egreso',
+ 'Extended' => 'Extended',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrero',
+ 'From' => 'Desde',
+ 'Image' => 'Image',
+ 'In-line' => 'En-linea',
+ 'Include in Report' => 'Incluya en informe',
+ 'Income' => 'Ingreso',
+ 'Individual Items' => 'Items Individuales',
+ 'Inventory' => 'Inventario',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'La cantidad en inventario debe ser cero antes de cambiar este ensamblaje a obsoleto!',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'La cantidad en inventario debe ser cero antes de cambiar esta parte a obsoleto',
+ 'Inventory quantity must be zero!' => 'La cantidad en inventario debe ser
+cero!',
+ 'Invoice' => 'Factura',
+ 'Invoice Date missing!' => 'Falta la Fecha de la Factura!',
+ 'Invoice Number' => 'Número de Factura',
+ 'Invoice Number missing!' => 'Falta el Número de Factura!',
+ 'Item deleted!' => 'Item deleted!',
+ 'Item not on file!' => 'El item no se encuentra en archivo!',
+ 'Jan' => 'Ene',
+ 'January' => 'Enero',
+ 'Jul' => 'Jul',
+ 'July' => 'Julio',
+ 'Jun' => 'Jun',
+ 'June' => 'Junio',
+ 'Last Cost' => 'Ultimo Costo',
+ 'Line Total' => 'Total de Línea',
+ 'Link Accounts' => 'Enlazar Cuentas',
+ 'List Price' => 'Precio de Lista',
+ 'Make' => 'Marca',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'May',
+ 'May ' => 'Mayo',
+ 'Message' => 'Mensaje',
+ 'Microfiche' => 'Microfiche',
+ 'Model' => 'Modelo',
+ 'Name' => 'Nombre',
+ 'No.' => 'No.',
+ 'Notes' => 'Notas',
+ 'Nov' => 'Nov',
+ 'November' => 'Noviembre',
+ 'Number' => 'Número',
+ 'Number missing in Row' => 'No se encuentra el número en la fila',
+ 'Obsolete' => 'Obsoleto',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'On Hand' => 'En Existencia',
+ 'On Order' => 'On Order',
+ 'Order' => 'Orden',
+ 'Order Date missing!' => 'No se encuentra la fecha de orden!',
+ 'Order Number' => 'Orden Número',
+ 'Order Number missing!' => 'No se encuentra el número de orden!',
+ 'Ordered' => 'Ordered',
+ 'Orphaned' => 'Huerfano',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Lista de Empaque',
+ 'Packing List Date missing!' => 'No se encuentra fecha de Lista de Empaque',
+ 'Packing List Number missing!' => 'No se encuentra Número de Lista de Empaque',
+ 'Part' => 'Partes',
+ 'Part Number missing!' => 'Falta del número de pieza!',
+ 'Parts' => 'Partes',
+ 'Phone' => 'Teléfono',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Precio',
+ 'Printer' => 'Impresora',
+ 'Project' => 'Project',
+ 'Purchase Order' => 'Orden de Compra',
+ 'Qty' => 'Cantidad',
+ 'ROP' => 'ROP',
+ 'Recd' => 'Recd',
+ 'Required by' => 'Requerido por',
+ 'Sales' => 'Ventas',
+ 'Sales Order' => 'Orden de venta',
+ 'Save' => 'Salvar',
+ 'Screen' => 'Pantalla',
+ 'Select from one of the items below' => 'Seleccione uno de los items',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sell Price' => 'Precio de Venta',
+ 'Sep' => 'Sep',
+ 'September' => 'Septiembre',
+ 'Service' => 'Servicio',
+ 'Service Number missing!' => 'Falta el número de servicio!',
+ 'Services' => 'Servicios',
+ 'Ship' => 'Ship',
+ 'Ship to' => 'Ship to',
+ 'Short' => 'Corto',
+ 'Sold' => 'Vendido',
+ 'Stock Assembly' => 'Inventariar Ensamblaje?',
+ 'Subject' => 'Sujeto',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'Impuesto',
+ 'To' => 'Hasta ',
+ 'Top Level' => 'Top Level',
+ 'Total' => 'Total',
+ 'Unit' => 'Unidad',
+ 'Unit of measure' => 'Unidad de medida',
+ 'Update' => 'Update',
+ 'Updated' => 'Updated',
+ 'Weight' => 'Peso',
+ 'What type of item is this?' => '¿Que tipo de Item es este?',
+ 'ea' => 'c/u',
+ 'emailed to' => 'enviado a (e-mail)',
+ 'hr' => 'hr',
+ 'sent to printer' => 'enviar a impresora',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'assembly_row' => 'assembly_row',
+ 'check_form' => 'check_form',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'delete_assembly' => 'delete_assembly',
+ 'delete_item' => 'delete_item',
+ 'delete_part' => 'delete_part',
+ 'delete_service' => 'delete_service',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'link_part' => 'link_part',
+ 'list_assemblies' => 'list_assemblies',
+ 'makemodel_row' => 'makemodel_row',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'parts_subtotal' => 'parts_subtotal',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'restock_assemblies' => 'restock_assemblies',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'stock_assembly' => 'stock_assembly',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'agregar' => 'add',
+ 'agregar_ensamblaje' => 'add_assembly',
+ 'agregar_parte' => 'add_part',
+ 'agregar_servicio' => 'add_service',
+ 'continuar' => 'continue',
+ 'borrar' => 'delete',
+ 'editar_ensamblaje' => 'edit_assembly',
+ 'editar_parte' => 'edit_part',
+ 'editar_servicio' => 'edit_service',
+ 'salvar' => 'save',
+ 'update' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/pa/io b/sql-ledger/locale/pa/io
new file mode 100644
index 0000000..1252b51
--- /dev/null
+++ b/sql-ledger/locale/pa/io
@@ -0,0 +1,106 @@
+$self{texts} = {
+ 'Add Purchase Order' => 'Agregar Orden de Compra',
+ 'Add Sales Order' => 'Agregar Orden de Venta',
+ 'Address' => 'Dirección',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Attachment' => 'Adjunto',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Bin',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Contacto',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Copias',
+ 'Dec' => 'Dic',
+ 'December' => 'Diciembre',
+ 'Delivery Date' => 'Delivery Date',
+ 'Description' => 'Descripción',
+ 'E-mail' => 'Correo Electrónico',
+ 'E-mail address missing!' => 'Falta E-mail!',
+ 'Extended' => 'Extended',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrero',
+ 'In-line' => 'En-linea',
+ 'Invoice' => 'Factura',
+ 'Invoice Date missing!' => 'Falta la Fecha de la Factura!',
+ 'Invoice Number missing!' => 'Falta el Número de Factura!',
+ 'Item not on file!' => 'El item no se encuentra en archivo!',
+ 'Jan' => 'Ene',
+ 'January' => 'Enero',
+ 'Jul' => 'Jul',
+ 'July' => 'Julio',
+ 'Jun' => 'Jun',
+ 'June' => 'Junio',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'May',
+ 'May ' => 'Mayo',
+ 'Message' => 'Mensaje',
+ 'Name' => 'Nombre',
+ 'No.' => 'No.',
+ 'Nov' => 'Nov',
+ 'November' => 'Noviembre',
+ 'Number' => 'Número',
+ 'Number missing in Row' => 'No se encuentra el número en la fila',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'Order' => 'Orden',
+ 'Order Date missing!' => 'No se encuentra la fecha de orden!',
+ 'Order Number missing!' => 'No se encuentra el número de orden!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Lista de Empaque',
+ 'Packing List Date missing!' => 'No se encuentra fecha de Lista de Empaque',
+ 'Packing List Number missing!' => 'No se encuentra Número de Lista de Empaque',
+ 'Part' => 'Partes',
+ 'Phone' => 'Teléfono',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Precio',
+ 'Printer' => 'Impresora',
+ 'Project' => 'Project',
+ 'Purchase Order' => 'Orden de Compra',
+ 'Qty' => 'Cantidad',
+ 'Recd' => 'Recd',
+ 'Required by' => 'Requerido por',
+ 'Sales Order' => 'Orden de venta',
+ 'Screen' => 'Pantalla',
+ 'Select from one of the items below' => 'Seleccione uno de los items',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sep' => 'Sep',
+ 'September' => 'Septiembre',
+ 'Service' => 'Servicio',
+ 'Ship' => 'Ship',
+ 'Ship to' => 'Ship to',
+ 'Subject' => 'Sujeto',
+ 'To' => 'Hasta ',
+ 'Unit' => 'Unidad',
+ 'What type of item is this?' => '¿Que tipo de Item es este?',
+ 'emailed to' => 'enviado a (e-mail)',
+ 'sent to printer' => 'enviar a impresora',
+};
+
+$self{subs} = {
+ 'check_form' => 'check_form',
+ 'customer_details' => 'customer_details',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'continuar' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/pa/ir b/sql-ledger/locale/pa/ir
new file mode 100644
index 0000000..042ca21
--- /dev/null
+++ b/sql-ledger/locale/pa/ir
@@ -0,0 +1,178 @@
+$self{texts} = {
+ 'Account' => 'Cuenta',
+ 'Add Purchase Invoice' => 'Add Purchase Invoice',
+ 'Add Purchase Order' => 'Agregar Orden de Compra',
+ 'Add Sales Order' => 'Agregar Orden de Venta',
+ 'Address' => 'Dirección',
+ 'Amount' => 'Total',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Are you sure you want to delete Invoice Number' => '¿Esta seguro de que desea borrar la Factura No.:',
+ 'Attachment' => 'Adjunto',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Bin',
+ 'Cannot delete invoice!' => 'Cannot delete invoice!',
+ 'Cannot post invoice for a closed period!' => 'No se puede registrar factura para un periodo cerrado!',
+ 'Cannot post invoice!' => 'Cannot post invoice!',
+ 'Cannot post payment for a closed period!' => 'No se puede registrar pago para un periodo cerrado',
+ 'Cc' => 'Cc',
+ 'Confirm!' => 'Confirmar!',
+ 'Contact' => 'Contacto',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Copias',
+ 'Currency' => 'Moneda',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'Fecha',
+ 'Date Due' => 'Fecha de Vencimiento',
+ 'Dec' => 'Dic',
+ 'December' => 'Diciembre',
+ 'Delete' => 'Borrar',
+ 'Delivery Date' => 'Delivery Date',
+ 'Description' => 'Descripción',
+ 'E-mail' => 'Correo Electrónico',
+ 'E-mail address missing!' => 'Falta E-mail!',
+ 'Edit Purchase Invoice' => 'Edit Purchase Invoice',
+ 'Exch' => 'Interc.',
+ 'Exchangerate' => 'Tasa de Intercambio',
+ 'Exchangerate for payment missing!' => 'No se encuentra pago por cambio de moneda',
+ 'Exchangerate missing!' => 'No se encuentra cambio de moneda',
+ 'Extended' => 'Extended',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrero',
+ 'In-line' => 'En-linea',
+ 'Invoice' => 'Factura',
+ 'Invoice Date' => 'Fecha de Factura',
+ 'Invoice Date missing!' => 'Falta la Fecha de la Factura!',
+ 'Invoice Number' => 'Número de Factura',
+ 'Invoice Number missing!' => 'Falta el Número de Factura!',
+ 'Invoice deleted!' => 'Invoice deleted!',
+ 'Invoice posted!' => 'Invoice posted!',
+ 'Item not on file!' => 'El item no se encuentra en archivo!',
+ 'Jan' => 'Ene',
+ 'January' => 'Enero',
+ 'Jul' => 'Jul',
+ 'July' => 'Julio',
+ 'Jun' => 'Jun',
+ 'June' => 'Junio',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'May',
+ 'May ' => 'Mayo',
+ 'Message' => 'Mensaje',
+ 'Name' => 'Nombre',
+ 'No.' => 'No.',
+ 'Notes' => 'Notas',
+ 'Nov' => 'Nov',
+ 'November' => 'Noviembre',
+ 'Number' => 'Número',
+ 'Number missing in Row' => 'No se encuentra el número en la fila',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'Order' => 'Orden',
+ 'Order Date missing!' => 'No se encuentra la fecha de orden!',
+ 'Order Number' => 'Orden Número',
+ 'Order Number missing!' => 'No se encuentra el número de orden!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Lista de Empaque',
+ 'Packing List Date missing!' => 'No se encuentra fecha de Lista de Empaque',
+ 'Packing List Number missing!' => 'No se encuentra Número de Lista de Empaque',
+ 'Part' => 'Partes',
+ 'Payment date missing!' => 'No se encuentra la fecha de Pago!',
+ 'Payments' => 'Pagos',
+ 'Phone' => 'Teléfono',
+ 'Post' => 'Post',
+ 'Post as new' => 'Post as new',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Precio',
+ 'Printer' => 'Impresora',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Purchase Order' => 'Orden de Compra',
+ 'Qty' => 'Cantidad',
+ 'Recd' => 'Recd',
+ 'Record in' => 'Registrar en',
+ 'Required by' => 'Requerido por',
+ 'Sales Order' => 'Orden de venta',
+ 'Screen' => 'Pantalla',
+ 'Select from one of the items below' => 'Seleccione uno de los items',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sep' => 'Sep',
+ 'September' => 'Septiembre',
+ 'Service' => 'Servicio',
+ 'Ship' => 'Ship',
+ 'Ship to' => 'Ship to',
+ 'Source' => 'Fuente',
+ 'Subject' => 'Sujeto',
+ 'Subtotal' => 'Subtotal',
+ 'Tax Included' => 'Impuesto Incluido',
+ 'To' => 'Hasta ',
+ 'Total' => 'Total',
+ 'Unit' => 'Unidad',
+ 'Update' => 'Update',
+ 'Vendor' => 'Proveedor',
+ 'Vendor missing!' => 'Vendor missing!',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'What type of item is this?' => '¿Que tipo de Item es este?',
+ 'Yes' => 'Si',
+ 'ea' => 'c/u',
+ 'emailed to' => 'enviado a (e-mail)',
+ 'sent to printer' => 'enviar a impresora',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'continuar' => 'continue',
+ 'borrar' => 'delete',
+ 'orden' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'update' => 'update',
+ 'si' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/pa/is b/sql-ledger/locale/pa/is
new file mode 100644
index 0000000..577b51f
--- /dev/null
+++ b/sql-ledger/locale/pa/is
@@ -0,0 +1,185 @@
+$self{texts} = {
+ 'Account' => 'Cuenta',
+ 'Add Purchase Order' => 'Agregar Orden de Compra',
+ 'Add Sales Invoice' => 'Add Sales Invoice',
+ 'Add Sales Order' => 'Agregar Orden de Venta',
+ 'Address' => 'Dirección',
+ 'Amount' => 'Total',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Are you sure you want to delete Invoice Number' => '¿Esta seguro de que desea borrar la Factura No.:',
+ 'Attachment' => 'Adjunto',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Bin',
+ 'Cannot delete invoice!' => 'Cannot delete invoice!',
+ 'Cannot post invoice for a closed period!' => 'No se puede registrar factura para un periodo cerrado!',
+ 'Cannot post invoice!' => 'Cannot post invoice!',
+ 'Cannot post payment for a closed period!' => 'No se puede registrar pago para un periodo cerrado',
+ 'Cc' => 'Cc',
+ 'Confirm!' => 'Confirmar!',
+ 'Contact' => 'Contacto',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Copias',
+ 'Credit Limit' => 'Limite de Credito',
+ 'Currency' => 'Moneda',
+ 'Customer' => 'Cliente',
+ 'Customer missing!' => 'Customer missing!',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'Fecha',
+ 'Date Due' => 'Fecha de Vencimiento',
+ 'Dec' => 'Dic',
+ 'December' => 'Diciembre',
+ 'Delete' => 'Borrar',
+ 'Delivery Date' => 'Delivery Date',
+ 'Description' => 'Descripción',
+ 'E-mail' => 'Correo Electrónico',
+ 'E-mail address missing!' => 'Falta E-mail!',
+ 'Edit Sales Invoice' => 'Edit Sales Invoice',
+ 'Exch' => 'Interc.',
+ 'Exchangerate' => 'Tasa de Intercambio',
+ 'Exchangerate for payment missing!' => 'No se encuentra pago por cambio de moneda',
+ 'Exchangerate missing!' => 'No se encuentra cambio de moneda',
+ 'Extended' => 'Extended',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrero',
+ 'In-line' => 'En-linea',
+ 'Invoice' => 'Factura',
+ 'Invoice Date' => 'Fecha de Factura',
+ 'Invoice Date missing!' => 'Falta la Fecha de la Factura!',
+ 'Invoice Number' => 'Número de Factura',
+ 'Invoice Number missing!' => 'Falta el Número de Factura!',
+ 'Invoice deleted!' => 'Invoice deleted!',
+ 'Invoice posted!' => 'Invoice posted!',
+ 'Item not on file!' => 'El item no se encuentra en archivo!',
+ 'Jan' => 'Ene',
+ 'January' => 'Enero',
+ 'Jul' => 'Jul',
+ 'July' => 'Julio',
+ 'Jun' => 'Jun',
+ 'June' => 'Junio',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'May',
+ 'May ' => 'Mayo',
+ 'Message' => 'Mensaje',
+ 'Name' => 'Nombre',
+ 'No.' => 'No.',
+ 'Notes' => 'Notas',
+ 'Nov' => 'Nov',
+ 'November' => 'Noviembre',
+ 'Number' => 'Número',
+ 'Number missing in Row' => 'No se encuentra el número en la fila',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'Order' => 'Orden',
+ 'Order Date missing!' => 'No se encuentra la fecha de orden!',
+ 'Order Number' => 'Orden Número',
+ 'Order Number missing!' => 'No se encuentra el número de orden!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Lista de Empaque',
+ 'Packing List Date missing!' => 'No se encuentra fecha de Lista de Empaque',
+ 'Packing List Number missing!' => 'No se encuentra Número de Lista de Empaque',
+ 'Part' => 'Partes',
+ 'Payment date missing!' => 'No se encuentra la fecha de Pago!',
+ 'Payments' => 'Pagos',
+ 'Phone' => 'Teléfono',
+ 'Post' => 'Post',
+ 'Post as new' => 'Post as new',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Precio',
+ 'Print' => 'Print',
+ 'Printer' => 'Impresora',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Purchase Order' => 'Orden de Compra',
+ 'Qty' => 'Cantidad',
+ 'Recd' => 'Recd',
+ 'Record in' => 'Registrar en',
+ 'Remaining' => 'Remanente',
+ 'Required by' => 'Requerido por',
+ 'Sales Order' => 'Orden de venta',
+ 'Screen' => 'Pantalla',
+ 'Select from one of the items below' => 'Seleccione uno de los items',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sep' => 'Sep',
+ 'September' => 'Septiembre',
+ 'Service' => 'Servicio',
+ 'Ship' => 'Ship',
+ 'Ship to' => 'Ship to',
+ 'Ship via' => 'Ship via',
+ 'Source' => 'Fuente',
+ 'Subject' => 'Sujeto',
+ 'Subtotal' => 'Subtotal',
+ 'Tax Included' => 'Impuesto Incluido',
+ 'To' => 'Hasta ',
+ 'Total' => 'Total',
+ 'Unit' => 'Unidad',
+ 'Update' => 'Update',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'What type of item is this?' => '¿Que tipo de Item es este?',
+ 'Yes' => 'Si',
+ 'ea' => 'c/u',
+ 'emailed to' => 'enviado a (e-mail)',
+ 'sent to printer' => 'enviar a impresora',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'continuar' => 'continue',
+ 'borrar' => 'delete',
+ 'correo_electrónico' => 'e_mail',
+ 'orden' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'si' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/pa/login b/sql-ledger/locale/pa/login
new file mode 100644
index 0000000..d6199be
--- /dev/null
+++ b/sql-ledger/locale/pa/login
@@ -0,0 +1,28 @@
+$self{texts} = {
+ 'About' => 'Acerca',
+ 'Accounting' => 'Contabilidad',
+ 'Database Host' => 'Servidor de Base de Datos',
+ 'Dataset' => 'Set de datos',
+ 'Incorrect Dataset version!' => 'Version de dataset Incorrecta',
+ 'Incorrect Password!' => 'Contraseña Incorrecta!',
+ 'Licensed to' => 'Licenciado a',
+ 'Login' => 'Login',
+ 'Name' => 'Nombre',
+ 'Password' => 'Contraseña',
+ 'User' => 'Usuario',
+ 'Version' => 'Versión',
+ 'You are logged out!' => 'You are logged out!',
+ 'You did not enter a name!' => 'No introdujo un nombre!',
+ 'is not a member!' => 'no es un miembro!',
+ 'localhost' => 'servidor local',
+};
+
+$self{subs} = {
+ 'company_logo' => 'company_logo',
+ 'login' => 'login',
+ 'login_screen' => 'login_screen',
+ 'logout' => 'logout',
+ 'login' => 'login',
+};
+
+1;
diff --git a/sql-ledger/locale/pa/menu b/sql-ledger/locale/pa/menu
new file mode 100644
index 0000000..25ba596
--- /dev/null
+++ b/sql-ledger/locale/pa/menu
@@ -0,0 +1,72 @@
+$self{texts} = {
+ 'AP' => 'Ctas X Pagar',
+ 'AP Aging' => 'Envejecimiento - CxP',
+ 'AR' => 'Ctas X Cobrar',
+ 'AR Aging' => 'Envejecimiento - CxC ',
+ 'Accounting Menu' => 'Menú de Contabilidad',
+ 'Add Account' => 'Agregar Cuenta',
+ 'Add Assembly' => 'Agregar Ensamblaje',
+ 'Add Customer' => 'Agregar Cliente',
+ 'Add GIFI' => 'Agregar GIFI',
+ 'Add Part' => 'Agregar Parte',
+ 'Add Project' => 'Add Project',
+ 'Add Service' => 'Agregar Servicio',
+ 'Add Transaction' => 'Agregar Transaccion',
+ 'Add Vendor' => 'Agregar Proveedor',
+ 'Assemblies' => 'Ensamblajes',
+ 'Audit Control' => 'Control de Audito',
+ 'Backup' => 'Respaldar datos',
+ 'Balance Sheet' => 'Hoja de Balance',
+ 'Cash' => 'Cash',
+ 'Chart of Accounts' => 'Catálogo Contable',
+ 'Check' => 'Check',
+ 'Customers' => 'Customers',
+ 'General Ledger' => 'Mayor General',
+ 'Goods & Services' => 'Partes y Servicios',
+ 'HTML Templates' => 'Plantillas HTML',
+ 'Income Statement' => 'Estado de Cuentas',
+ 'Invoice' => 'Factura',
+ 'LaTeX Templates' => 'Plantillas LaTeX',
+ 'List Accounts' => 'Listar Cuentas',
+ 'List GIFI' => 'Listar GIFI',
+ 'Logout' => 'Logout',
+ 'Order Entry' => 'Orden de Entrada',
+ 'Packing List' => 'Lista de Empaque',
+ 'Parts' => 'Partes',
+ 'Payment' => 'Pago',
+ 'Payments' => 'Pagos',
+ 'Preferences' => 'Preferencias',
+ 'Projects' => 'Projects',
+ 'Purchase Invoice' => 'Purchase Invoice',
+ 'Purchase Order' => 'Orden de Compra',
+ 'Purchase Orders' => 'Ordenes de Compra',
+ 'Receipt' => 'Receipt',
+ 'Receipts' => 'Receipts',
+ 'Reconciliation' => 'Reconciliation',
+ 'Reports' => 'Reportes',
+ 'Sales Invoice' => 'Sales Invoice',
+ 'Sales Order' => 'Orden de venta',
+ 'Sales Orders' => 'Ordenes de venta',
+ 'Save to File' => 'Respaldar a Archivo',
+ 'Send by E-Mail' => 'Enviar por E-Mail',
+ 'Services' => 'Servicios',
+ 'Statement' => 'Statement',
+ 'Stock Assembly' => 'Inventariar Ensamblaje?',
+ 'Stylesheet' => 'Estilo de hoja',
+ 'System' => 'Sistema',
+ 'Tax collected' => 'Tax collected',
+ 'Tax paid' => 'Tax paid',
+ 'Transactions' => 'Transacciones',
+ 'Trial Balance' => 'Balance De Comprobación',
+ 'Vendors' => 'Vendors',
+ 'Version' => 'Versión',
+ 'localhost' => 'servidor local',
+};
+
+$self{subs} = {
+ 'acc_menu' => 'acc_menu',
+ 'display' => 'display',
+ 'section_menu' => 'section_menu',
+};
+
+1;
diff --git a/sql-ledger/locale/pa/oe b/sql-ledger/locale/pa/oe
new file mode 100644
index 0000000..a7ee60a
--- /dev/null
+++ b/sql-ledger/locale/pa/oe
@@ -0,0 +1,200 @@
+$self{texts} = {
+ 'Add' => 'Agregar',
+ 'Add Purchase Invoice' => 'Add Purchase Invoice',
+ 'Add Purchase Order' => 'Agregar Orden de Compra',
+ 'Add Sales Invoice' => 'Add Sales Invoice',
+ 'Add Sales Order' => 'Agregar Orden de Venta',
+ 'Address' => 'Dirección',
+ 'Amount' => 'Total',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Are you sure you want to delete Order Number' => '¿Esta seguro de que desea
+borrar la Orden No.:?',
+ 'Attachment' => 'Adjunto',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Bin',
+ 'C' => 'C',
+ 'Cannot delete order!' => 'Cannot delete order!',
+ 'Cannot save order!' => 'Cannot save order!',
+ 'Cc' => 'Cc',
+ 'Closed' => 'Cerrado',
+ 'Confirm!' => 'Confirmar!',
+ 'Contact' => 'Contacto',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Copias',
+ 'Credit Limit' => 'Limite de Credito',
+ 'Curr' => '$',
+ 'Currency' => 'Moneda',
+ 'Customer' => 'Cliente',
+ 'Customer missing!' => 'Customer missing!',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'Fecha',
+ 'Dec' => 'Dic',
+ 'December' => 'Diciembre',
+ 'Delete' => 'Borrar',
+ 'Delivery Date' => 'Delivery Date',
+ 'Description' => 'Descripción',
+ 'E-mail' => 'Correo Electrónico',
+ 'E-mail address missing!' => 'Falta E-mail!',
+ 'Edit Purchase Order' => 'Editar Orden de Compra',
+ 'Edit Sales Order' => 'Editar Orden de Venta',
+ 'Exchangerate' => 'Tasa de Intercambio',
+ 'Exchangerate missing!' => 'No se encuentra cambio de moneda',
+ 'Extended' => 'Extended',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrero',
+ 'From' => 'Desde',
+ 'ID' => 'ID',
+ 'In-line' => 'En-linea',
+ 'Include in Report' => 'Incluya en informe',
+ 'Invoice' => 'Factura',
+ 'Invoice Date missing!' => 'Falta la Fecha de la Factura!',
+ 'Invoice Number missing!' => 'Falta el Número de Factura!',
+ 'Item not on file!' => 'El item no se encuentra en archivo!',
+ 'Jan' => 'Ene',
+ 'January' => 'Enero',
+ 'Jul' => 'Jul',
+ 'July' => 'Julio',
+ 'Jun' => 'Jun',
+ 'June' => 'Junio',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'May',
+ 'May ' => 'Mayo',
+ 'Message' => 'Mensaje',
+ 'Name' => 'Nombre',
+ 'No.' => 'No.',
+ 'Notes' => 'Notas',
+ 'Nov' => 'Nov',
+ 'November' => 'Noviembre',
+ 'Number' => 'Número',
+ 'Number missing in Row' => 'No se encuentra el número en la fila',
+ 'O' => 'O',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'Open' => 'Abierto',
+ 'Order' => 'Orden',
+ 'Order Date' => 'Fecha de Orden',
+ 'Order Date missing!' => 'No se encuentra la fecha de orden!',
+ 'Order Number' => 'Orden Número',
+ 'Order Number missing!' => 'No se encuentra el número de orden!',
+ 'Order deleted!' => 'Order deleted!',
+ 'Order saved!' => 'Order saved!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Lista de Empaque',
+ 'Packing List Date missing!' => 'No se encuentra fecha de Lista de Empaque',
+ 'Packing List Number missing!' => 'No se encuentra Número de Lista de Empaque',
+ 'Part' => 'Partes',
+ 'Phone' => 'Teléfono',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Precio',
+ 'Print' => 'Print',
+ 'Printer' => 'Impresora',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Purchase Order' => 'Orden de Compra',
+ 'Purchase Orders' => 'Ordenes de Compra',
+ 'Qty' => 'Cantidad',
+ 'Recd' => 'Recd',
+ 'Remaining' => 'Remanente',
+ 'Required by' => 'Requerido por',
+ 'Sales Order' => 'Orden de venta',
+ 'Sales Orders' => 'Ordenes de venta',
+ 'Save' => 'Salvar',
+ 'Save as new' => 'Save as new',
+ 'Screen' => 'Pantalla',
+ 'Select from one of the items below' => 'Seleccione uno de los items',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sep' => 'Sep',
+ 'September' => 'Septiembre',
+ 'Service' => 'Servicio',
+ 'Ship' => 'Ship',
+ 'Ship to' => 'Ship to',
+ 'Ship via' => 'Ship via',
+ 'Subject' => 'Sujeto',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'Impuesto',
+ 'Tax Included' => 'Impuesto Incluido',
+ 'Terms: Net' => 'Crédito',
+ 'To' => 'Hasta ',
+ 'Total' => 'Total',
+ 'Unit' => 'Unidad',
+ 'Update' => 'Update',
+ 'Vendor' => 'Proveedor',
+ 'Vendor missing!' => 'Vendor missing!',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'What type of item is this?' => '¿Que tipo de Item es este?',
+ 'Yes' => 'Si',
+ 'days' => 'Días',
+ 'ea' => 'c/u',
+ 'emailed to' => 'enviado a (e-mail)',
+ 'sent to printer' => 'enviar a impresora',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_backorder' => 'create_backorder',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice' => 'invoice',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'order_links' => 'order_links',
+ 'orders' => 'orders',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_order' => 'prepare_order',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'save' => 'save',
+ 'save_as_new' => 'save_as_new',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'subtotal' => 'subtotal',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'agregar' => 'add',
+ 'continuar' => 'continue',
+ 'borrar' => 'delete',
+ 'correo_electrónico' => 'e_mail',
+ 'factura' => 'invoice',
+ 'print' => 'print',
+ 'salvar' => 'save',
+ 'save_as_new' => 'save_as_new',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'si' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/pa/pe b/sql-ledger/locale/pa/pe
new file mode 100644
index 0000000..e1306ae
--- /dev/null
+++ b/sql-ledger/locale/pa/pe
@@ -0,0 +1,35 @@
+$self{texts} = {
+ 'Add' => 'Agregar',
+ 'Add Project' => 'Add Project',
+ 'All' => 'Todos',
+ 'Continue' => 'Continuar',
+ 'Delete' => 'Borrar',
+ 'Description' => 'Descripción',
+ 'Edit Project' => 'Edit Project',
+ 'Number' => 'Número',
+ 'Orphaned' => 'Huerfano',
+ 'Project' => 'Project',
+ 'Project Number missing!' => 'Project Number missing!',
+ 'Project deleted!' => 'Project deleted!',
+ 'Project saved!' => 'Project saved!',
+ 'Projects' => 'Projects',
+ 'Save' => 'Salvar',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'agregar' => 'add',
+ 'continuar' => 'continue',
+ 'borrar' => 'delete',
+ 'salvar' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/pa/rc b/sql-ledger/locale/pa/rc
new file mode 100644
index 0000000..7e0dbb1
--- /dev/null
+++ b/sql-ledger/locale/pa/rc
@@ -0,0 +1,37 @@
+$self{texts} = {
+ 'Account' => 'Cuenta',
+ 'Balance' => 'Balance',
+ 'Cleared Balance' => 'Cleared Balance',
+ 'Continue' => 'Continuar',
+ 'Date' => 'Fecha',
+ 'Deposit' => 'Deposit',
+ 'Description' => 'Descripción',
+ 'Difference' => 'Difference',
+ 'Done' => 'Done',
+ 'Exchangerate Difference' => 'Exchangerate Difference',
+ 'From' => 'Desde',
+ 'Out of balance!' => 'Out of balance!',
+ 'Payment' => 'Pago',
+ 'Reconciliation' => 'Reconciliation',
+ 'Select all' => 'Select all',
+ 'Source' => 'Fuente',
+ 'Statement Balance' => 'Statement Balance',
+ 'To' => 'Hasta ',
+ 'Update' => 'Update',
+};
+
+$self{subs} = {
+ 'continue' => 'continue',
+ 'display_form' => 'display_form',
+ 'done' => 'done',
+ 'get_payments' => 'get_payments',
+ 'reconciliation' => 'reconciliation',
+ 'select_all' => 'select_all',
+ 'update' => 'update',
+ 'continuar' => 'continue',
+ 'done' => 'done',
+ 'select_all' => 'select_all',
+ 'update' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/pa/rp b/sql-ledger/locale/pa/rp
new file mode 100644
index 0000000..ad8b35b
--- /dev/null
+++ b/sql-ledger/locale/pa/rp
@@ -0,0 +1,117 @@
+$self{texts} = {
+ 'AP Aging' => 'Envejecimiento - CxP',
+ 'AR Aging' => 'Envejecimiento - CxC ',
+ 'Account' => 'Cuenta',
+ 'Accounts' => 'Cuentas',
+ 'Amount' => 'Total',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Attachment' => 'Adjunto',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Balance Sheet' => 'Hoja de Balance',
+ 'Bcc' => 'Bcc',
+ 'Cash based' => 'Cash based',
+ 'Cc' => 'Cc',
+ 'Compare to' => 'Comparar a',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Copias',
+ 'Credit' => 'Crédito',
+ 'Current' => 'Current',
+ 'Customer' => 'Cliente',
+ 'Date' => 'Fecha',
+ 'Debit' => 'Débito',
+ 'Dec' => 'Dic',
+ 'December' => 'Diciembre',
+ 'Decimalplaces' => 'Decimalplaces',
+ 'Description' => 'Descripción',
+ 'Due' => 'Vence',
+ 'E-mail' => 'Correo Electrónico',
+ 'E-mail Statement to' => 'E-mail Statement to',
+ 'Feb' => 'Feb',
+ 'February' => 'Febrero',
+ 'From' => 'Desde',
+ 'GIFI' => 'GIFI',
+ 'Heading' => 'Encabezado',
+ 'ID' => 'ID',
+ 'In-line' => 'En-linea',
+ 'Include in Report' => 'Incluya en informe',
+ 'Income Statement' => 'Estado de Cuentas',
+ 'Invoice' => 'Factura',
+ 'Jan' => 'Ene',
+ 'January' => 'Enero',
+ 'Jul' => 'Jul',
+ 'July' => 'Julio',
+ 'Jun' => 'Jun',
+ 'June' => 'Junio',
+ 'Mar' => 'Mar',
+ 'March' => 'Marzo',
+ 'May' => 'May',
+ 'May ' => 'Mayo',
+ 'Message' => 'Mensaje',
+ 'N/A' => 'N/D',
+ 'Nothing selected!' => 'Nothing selected!',
+ 'Nov' => 'Nov',
+ 'November' => 'Noviembre',
+ 'Oct' => 'Oct',
+ 'October' => 'Octubre',
+ 'PDF' => 'PDF',
+ 'Payments' => 'Pagos',
+ 'Postscript' => 'Postscript',
+ 'Print' => 'Print',
+ 'Printer' => 'Impresora',
+ 'Receipts' => 'Receipts',
+ 'Report for' => 'Reportar por',
+ 'Retained Earnings' => 'Ganacias Retenidas',
+ 'Screen' => 'Pantalla',
+ 'Select all' => 'Select all',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sep' => 'Sep',
+ 'September' => 'Septiembre',
+ 'Source' => 'Fuente',
+ 'Standard' => 'Estandar',
+ 'Statement' => 'Statement',
+ 'Statement sent to' => 'Statement sent to',
+ 'Statements sent to printer!' => 'Statements sent to printer!',
+ 'Subject' => 'Sujeto',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'Impuesto',
+ 'Tax collected' => 'Tax collected',
+ 'Tax paid' => 'Tax paid',
+ 'To' => 'Hasta ',
+ 'Total' => 'Total',
+ 'Trial Balance' => 'Balance De Comprobación',
+ 'Vendor' => 'Proveedor',
+ 'as at' => 'as at',
+ 'collected on sales' => 'Recabado en ventas',
+ 'for Period' => 'para el período',
+ 'paid on purchases' => 'pagado en compras',
+ 'to' => 'to',
+};
+
+$self{subs} = {
+ 'aging' => 'aging',
+ 'continue' => 'continue',
+ 'e_mail' => 'e_mail',
+ 'generate_ap_aging' => 'generate_ap_aging',
+ 'generate_ar_aging' => 'generate_ar_aging',
+ 'generate_balance_sheet' => 'generate_balance_sheet',
+ 'generate_income_statement' => 'generate_income_statement',
+ 'generate_tax_report' => 'generate_tax_report',
+ 'generate_trial_balance' => 'generate_trial_balance',
+ 'list_payments' => 'list_payments',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'report' => 'report',
+ 'select_all' => 'select_all',
+ 'send_email' => 'send_email',
+ 'statement_details' => 'statement_details',
+ 'tax_subtotal' => 'tax_subtotal',
+ 'continuar' => 'continue',
+ 'correo_electrónico' => 'e_mail',
+ 'print' => 'print',
+ 'select_all' => 'select_all',
+};
+
+1;
diff --git a/sql-ledger/locale/pl/COPYING b/sql-ledger/locale/pl/COPYING
new file mode 100644
index 0000000..e8ae224
--- /dev/null
+++ b/sql-ledger/locale/pl/COPYING
@@ -0,0 +1,23 @@
+######################################################################
+# SQL-Ledger Accounting
+# Copyright (c) 2001
+#
+# Polish texts:
+#
+# Author: Peter Dabrowski <meritage@mail.com>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+#######################################################################
+
diff --git a/sql-ledger/locale/pl/LANGUAGE b/sql-ledger/locale/pl/LANGUAGE
new file mode 100644
index 0000000..692d024
--- /dev/null
+++ b/sql-ledger/locale/pl/LANGUAGE
@@ -0,0 +1 @@
+Polish
diff --git a/sql-ledger/locale/pl/admin b/sql-ledger/locale/pl/admin
new file mode 100644
index 0000000..9dc5b6a
--- /dev/null
+++ b/sql-ledger/locale/pl/admin
@@ -0,0 +1,122 @@
+$self{texts} = {
+ 'Access Control' => 'Kontrola Dostêpu',
+ 'Accounting' => 'Ksiêgowo¶æ',
+ 'Add User' => 'Dodaj U¿ytkownika',
+ 'Address' => 'Adres',
+ 'Administration' => 'Administracja',
+ 'Administrator' => 'Administrator',
+ 'All Datasets up to date!' => 'Zbiory Danych uzupe³nione!',
+ 'Change Admin Password' => 'Zmiana Has³a Administratora',
+ 'Change Password' => 'Zmieñ Has³o',
+ 'Character Set' => 'Zestaw Znaków',
+ 'Click on login name to edit!' => 'Kliknij nazwê u¿ytkownika ¿eby dokonaæ zmian!',
+ 'Company' => 'Firma',
+ 'Connect to' => 'Pod³±cz do',
+ 'Continue' => 'Kontynuj',
+ 'Create Chart of Accounts' => 'Utwórz Wzór Kont',
+ 'Create Dataset' => 'Utwórz Zbiór Danych',
+ 'DBI not installed!' => 'Nie zainstalowane DBI!',
+ 'Database' => 'Baza Danych',
+ 'Database Administration' => 'Administracja Bazy Danych',
+ 'Database Driver not checked!' => 'Sterownik Bazy Danych nie zaznaczony!',
+ 'Database User missing!' => 'Brak U¿ytkownika Bazy Danych!',
+ 'Dataset' => 'Zbiór Danych',
+ 'Dataset missing!' => 'Brak Zbioru Danych',
+ 'Dataset updated!' => 'Zbiór Danych uzupe³niony!',
+ 'Date Format' => 'Format Daty',
+ 'Delete' => 'Usuñ',
+ 'Delete Dataset' => 'Usuñ Zbior Danych',
+ 'Directory' => 'Katalog',
+ 'Driver' => 'Sterownik',
+ 'Dropdown Limit' => 'Limit Rozwiniêcia',
+ 'E-mail' => 'E-mail',
+ 'Edit User' => 'Zmiany U¿ytkownika',
+ 'Existing Datasets' => 'Istniej±cy Zbiór Danych',
+ 'Fax' => 'Fax',
+ 'Host' => 'Host',
+ 'Hostname missing!' => 'Brak Nazwy Hosta',
+ 'Incorrect Password!' => 'Nieprawid³owe Has³o',
+ 'Language' => 'Jêzyk',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Opu¶æ pole wêz³a i portu, chyba ¿e chcesz mieæ zdalne po³±czenie',
+ 'Login' => 'Zarejestrój siê',
+ 'Name' => 'Nazwa',
+ 'New Templates' => 'Nowe Szablony',
+ 'No Database Drivers available!' => 'Sterownik Bazy Danych jest niedostêpny',
+ 'No Dataset selected!' => 'Nie jest zaznaczony Zbiór Danych',
+ 'Nothing to delete!' => 'Niema nic do usuniêcia!',
+ 'Number Format' => 'Format Numeru',
+ 'Oracle Database Administration' => 'Administracja Bazy Danych Oracle',
+ 'Password' => 'Has³o',
+ 'Password changed!' => 'Has³o zmienione',
+ 'Pg Database Administration' => 'Administracja Bazy Danych Pg',
+ 'Phone' => 'Tel.',
+ 'Port' => 'Port',
+ 'Port missing!' => 'Brak Portu',
+ 'Printer' => 'Drukarka',
+ 'Save' => 'Zapisz',
+ 'Select a Dataset to delete and press "Continue"' => 'Wybierz Zbiór Danych do usuniêcia i naci¶nij "Kontynuj"',
+ 'Setup Templates' => 'Ustaw Szablony',
+ 'Ship via' => 'Wy¶lij przez',
+ 'Signature' => 'Podpis',
+ 'Stylesheet' => 'Strona Stylowa',
+ 'Templates' => 'Szablony',
+ 'The following Datasets are not in use and can be deleted' => 'Te Zbiory Danych s± nieu¿ywane i mo¿na je usun±æ',
+ 'The following Datasets need to be updated' => 'Zbiory Danych do uzupe³nienia',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'Jest to wstêpne sprawdzenie istniej±cych ¿róde³. Narazie nic nie bêdzie utworzone lub usuniête.',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => '¯eby dodaæ do grupy u¿ytkownika zmieñ nazwê, nazwê zarejestrowania i zapisz. Nowy u¿ytkownik z tymi samymi zmiennymi warto¶ciami bêdzie zapisany pod now± nazw± rejestruj±c±',
+ 'Update Dataset' => 'Uzupe³nij Zbiór Danych',
+ 'Use Templates' => 'U¿yj Szablony',
+ 'User' => 'U¿ytkownik',
+ 'User deleted!' => 'U¿ytkownik usuniêty',
+ 'User saved!' => 'U¿ytkownik zapisany',
+ 'Version' => 'Wersja',
+ 'You must enter a host and port for local and remote connections!' => 'Wstaw wêze³ i port dla lokalnego i zdalnego po³±czenia',
+ 'does not exist' => 'nie istnieje',
+ 'is already a member!' => 'Jest ju¿ cz³onkiem',
+ 'localhost' => 'host lokalny',
+ 'successfully created!' => 'stworzone z powodzeniem',
+ 'successfully deleted!' => 'usuniête z powodzeniem',
+ 'website' => 'witryna WWW',
+};
+
+$self{subs} = {
+ 'add_user' => 'add_user',
+ 'adminlogin' => 'adminlogin',
+ 'change_admin_password' => 'change_admin_password',
+ 'change_password' => 'change_password',
+ 'check_password' => 'check_password',
+ 'continue' => 'continue',
+ 'create_dataset' => 'create_dataset',
+ 'dbcreate' => 'dbcreate',
+ 'dbdelete' => 'dbdelete',
+ 'dbdriver_defaults' => 'dbdriver_defaults',
+ 'dbselect_source' => 'dbselect_source',
+ 'dbupdate' => 'dbupdate',
+ 'delete' => 'delete',
+ 'delete_dataset' => 'delete_dataset',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'get_value' => 'get_value',
+ 'list_users' => 'list_users',
+ 'login' => 'login',
+ 'login_name' => 'login_name',
+ 'oracle_database_administration' => 'oracle_database_administration',
+ 'pg_database_administration' => 'pg_database_administration',
+ 'save' => 'save',
+ 'update_dataset' => 'update_dataset',
+ 'dodaj_u¿ytkownika' => 'add_user',
+ 'zmiana_has³a_administratora' => 'change_admin_password',
+ 'zmieñ_has³o' => 'change_password',
+ 'kontynuj' => 'continue',
+ 'utwórz_zbiór_danych' => 'create_dataset',
+ 'usuñ' => 'delete',
+ 'usuñ_zbior_danych' => 'delete_dataset',
+ 'zarejestrój_siê' => 'login',
+ 'administracja_bazy_danych_oracle' => 'oracle_database_administration',
+ 'administracja_bazy_danych_pg' => 'pg_database_administration',
+ 'zapisz' => 'save',
+ 'uzupe³nij_zbiór_danych' => 'update_dataset',
+};
+
+1;
diff --git a/sql-ledger/locale/pl/all b/sql-ledger/locale/pl/all
new file mode 100644
index 0000000..fabdb59
--- /dev/null
+++ b/sql-ledger/locale/pl/all
@@ -0,0 +1,487 @@
+# These are all the texts to build the translations files.
+# The file has the form of 'english text' => 'foreign text',
+# you can add the translation in this file or in the 'missing' file
+# run locales.pl from this directory to rebuild the translation files
+
+$self{texts} = {
+ 'AP' => 'Ksiêga Zobowi±zañ',
+ 'AP Aging' => 'Zobowi±zania Przeterminowane',
+ 'AP Transaction' => 'Transakcja Zobowi±zañ',
+ 'AP Transactions' => 'Transakcje Zobowi±zañ',
+ 'AR' => 'Ksiêga Nale¿no¶ci',
+ 'AR Aging' => 'Nale¿no¶ci Przeterminowane',
+ 'AR Transaction' => 'Transakcja Nale¿no¶ci',
+ 'AR Transactions' => 'Transakcje Nale¿no¶ci',
+ 'About' => 'Na Temat',
+ 'Access Control' => 'Kontrola Dostêpu',
+ 'Account' => 'Konto',
+ 'Account Number' => 'Numer Konta',
+ 'Account Number missing!' => 'Brak Numeru Konta!',
+ 'Account Type' => 'Rodzaj Konta',
+ 'Account Type missing!' => 'Brak Rodzaju Konta!',
+ 'Account deleted!' => 'Usuniêto Konto',
+ 'Account saved!' => 'Zapisano Konto',
+ 'Accounting' => 'Ksiêgowo¶æ',
+ 'Accounting Menu' => 'Menu Ksiêgowo¶ci',
+ 'Accounts' => 'Konta',
+ 'Active' => 'Aktywne',
+ 'Add' => 'Dodaj',
+ 'Add Account' => 'Dodaj Konto',
+ 'Add Accounts Payables Transaction' => 'Rejestr w Ksiêdze Zobowi±zañ',
+ 'Add Accounts Receivables Transaction' => 'Rejestr w Ksiêdze Nale¿no¶ci',
+ 'Add Assembly' => 'Dodaj Zestawienie',
+ 'Add Customer' => 'Dodaj Odbiorcê',
+ 'Add GIFI' => 'Dodaj GIFI',
+ 'Add General Ledger Transaction' => 'Dodaj Transakcjê w Ksiêdze G³ównej',
+ 'Add Part' => 'Dodaj Produkt',
+ 'Add Project' => 'Dodaj Projekt',
+ 'Add Purchase Invoice' => 'Zarejestrój Fakturê VAT Zakupu',
+ 'Add Purchase Order' => 'Dodaj Zamówienie Zakupu',
+ 'Add Sales Invoice' => 'Zarejestrój Fakturê VAT Sprzeda¿y',
+ 'Add Sales Order' => 'Dodaj Zamówienie Klienta',
+ 'Add Service' => 'Dodaj Us³ugi',
+ 'Add Transaction' => 'Dodaj Transakcjê',
+ 'Add User' => 'Dodaj U¿ytkownika',
+ 'Add Vendor' => 'Dodaj Dostawcê',
+ 'Address' => 'Adres',
+ 'Administration' => 'Administracja',
+ 'Administrator' => 'Administrator',
+ 'All' => 'Wszystko',
+ 'All Datasets up to date!' => 'Zbiory Danych uzupe³nione!',
+ 'Amount' => 'Kwota',
+ 'Amount Due' => 'Kwota Nale¿na',
+ 'Amount does not equal applied!' => 'Kwota nie jest równa',
+ 'Amount missing!' => 'Brakuje kwoty!',
+ 'Applied' => 'Zastosowano',
+ 'Apr' => 'Kwiecieñ',
+ 'April' => 'Kwiecieñ',
+ 'Are you sure you want to delete Invoice Number' => 'Czy chcesz usun±æ Numer Faktury?',
+ 'Are you sure you want to delete Order Number' => 'Czy chcesz usun±æ Numer Zamówienia?',
+ 'Are you sure you want to delete Transaction' => 'Czy chcesz usun±æ Transakcjê?',
+ 'Assemblies' => 'Zestawienia',
+ 'Assemblies restocked!' => 'Zestawienia uzupe³nione',
+ 'Assembly Number missing!' => 'Brak Numeru Zestawienia!',
+ 'Asset' => 'Aktywy',
+ 'Attachment' => 'Za³±cznik',
+ 'Audit Control' => 'Kontrola Audytu',
+ 'Aug' => 'Sierpieñ',
+ 'August' => 'Sierpieñ',
+ 'BOM' => 'Zestawienie materia³owe',
+ 'Backup' => 'Kopia Zapasowa',
+ 'Backup sent to' => 'Kopia Zapasowa wys³ana do',
+ 'Balance' => 'Saldo',
+ 'Balance Sheet' => 'Bilans',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Pojemnik',
+ 'Books are open' => 'Ksiêgi otwarte',
+ 'Bought' => 'Zakupione',
+ 'Business Number' => 'NIP',
+ 'C' => 'C',
+ 'COGS' => 'Koszta Sprzeda¿y',
+ 'Cannot delete account!' => 'Nie mo¿esz usun±æ konta!',
+ 'Cannot delete customer!' => 'Nie mo¿esz usun±æ klienta!',
+ 'Cannot delete default account!' => 'Konto Domy¶lne nie mo¿e byæ usuniête!',
+ 'Cannot delete invoice!' => 'Nie mo¿esz usun±æ factury!',
+ 'Cannot delete item already invoiced!' => 'Nie mo¿na usun±æ pozycji zafakturowanej!',
+ 'Cannot delete item on order!' => 'Nie mo¿na usunac zamówionego produktu!',
+ 'Cannot delete item which is part of an assembly!' => 'Nie mo¿na usun±æ czê¶ci z zestawienia!',
+ 'Cannot delete item!' => 'Nie mo¿esz usun±æ pozycji!',
+ 'Cannot delete order!' => 'Nie mo¿esz usun±æ zamówienia!',
+ 'Cannot delete transaction!' => 'Nie mo¿esz usun±æ transakcji!',
+ 'Cannot delete vendor!' => 'Nie mo¿esz usun±æ dostawcy!',
+ 'Cannot have a value in both Debit and Credit!' => 'Nie mo¿na wpisaæ warto¶ci w Debet i Kredyt równocze¶nie!',
+ 'Cannot post a transaction without a value!' => 'Nie mo¿esz zatwierdziæ transakcji bez warto¶ci',
+ 'Cannot post invoice for a closed period!' => 'Nie mo¿na zksiêgowaæ faktury pozamkniêciu okresu!',
+ 'Cannot post invoice!' => 'Nie mo¿esz zatwierdziæ faktury!',
+ 'Cannot post payment for a closed period!' => 'Nie mo¿na zaksiêgowaæ p³atno¶ci po zamkniêciu okresu!',
+ 'Cannot post payment!' => 'Nie mo¿esz zatwierdziæ p³atno¶ci!',
+ 'Cannot post transaction for a closed period!' => 'Nie mo¿na zaksiêgowaæ transakcji po zamkniêciu okresu!',
+ 'Cannot post transaction!' => 'Nie mo¿esz zatwierdziæ transakcji!',
+ 'Cannot process payment for a closed period!' => 'Niemo¿na przetworzyæ p³atno¶ci po zamkniêciu okresu',
+ 'Cannot save account!' => 'Nie mo¿na zapisaæ konta!',
+ 'Cannot save order!' => 'Nie mo¿na zapisaæ zamowienia!',
+ 'Cannot save preferences!' => 'Nie mo¿na zapisaæ preferencji!',
+ 'Cannot stock assemblies!' => 'Nie mo¿na wstawiæ z³o¿enia',
+ 'Cash' => 'Kasa',
+ 'Cash based' => 'Tryb Kasowy',
+ 'Cc' => 'Cc',
+ 'Change Admin Password' => 'Zmiana Has³a Administratora',
+ 'Change Password' => 'Zmieñ Has³o',
+ 'Character Set' => 'Zestaw Znaków',
+ 'Chart of Accounts' => 'Plan Kont',
+ 'Check' => 'Czek',
+ 'Check printed!' => 'Czek wydrukowany!',
+ 'Check printing failed!' => 'B³±dw drukowaniu czeku',
+ 'Cleared Balance' => 'Zgadzaj±ce Saldo',
+ 'Click on login name to edit!' => 'Kliknij nazwê u¿ytkownika ¿eby dokonaæ zmian!',
+ 'Close Books up to' => 'Zamkniêcie Ksi±g do',
+ 'Closed' => 'Zamkniêto',
+ 'Company' => 'Firma',
+ 'Compare to' => 'Porównaj z',
+ 'Confirm!' => 'Potwierd¿!',
+ 'Connect to' => 'Pod³±cz do',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Kontynuj',
+ 'Copies' => 'Kopie',
+ 'Copy to COA' => 'Skopiuj do Planu Kont',
+ 'Create Chart of Accounts' => 'Utwórz Wzór Kont',
+ 'Create Dataset' => 'Utwórz Zbiór Danych',
+ 'Credit' => 'Kredyt',
+ 'Credit Limit' => 'Limit Kredytu',
+ 'Curr' => 'Waluta',
+ 'Currency' => 'Waluta',
+ 'Current' => 'Bi¿±cy',
+ 'Customer' => 'Klient',
+ 'Customer deleted!' => 'Klient usuniêty',
+ 'Customer missing!' => 'Brak Klienta',
+ 'Customer not on file!' => 'Brak Klienta w bazie danych',
+ 'Customer saved!' => 'Klient zapisany!',
+ 'Customers' => 'Klienci',
+ 'DBI not installed!' => 'Nie zainstalowane DBI!',
+ 'Database' => 'Baza Danych',
+ 'Database Administration' => 'Administracja Bazy Danych',
+ 'Database Driver not checked!' => 'Sterownik Bazy Danych nie zaznaczony!',
+ 'Database Host' => 'Host Bazy Danych',
+ 'Database User missing!' => 'Brak U¿ytkownika Bazy Danych!',
+ 'Dataset' => 'Zbiór Danych',
+ 'Dataset missing!' => 'Brak Zbioru Danych',
+ 'Dataset updated!' => 'Zbiór Danych uzupe³niony!',
+ 'Date' => 'Data',
+ 'Date Due' => 'Termin P³atno¶ci',
+ 'Date Format' => 'Format Daty',
+ 'Date Paid' => 'Data Zap³aty',
+ 'Date missing!' => 'Brak Daty',
+ 'Debit' => 'Debet',
+ 'Debit and credit out of balance!' => 'Debet i Kredyt siê niebalansuj±!',
+ 'Dec' => 'Grudzieñ',
+ 'December' => 'Grudzieñ',
+ 'Decimalplaces' => 'Miejsca Dziesiêtne',
+ 'Delete' => 'Usuñ',
+ 'Delete Account' => 'Usuñ Konto',
+ 'Delete Dataset' => 'Usuñ Zbior Danych',
+ 'Delivery Date' => 'Data Dostawy',
+ 'Deposit' => 'Wp³ata',
+ 'Description' => 'Opis',
+ 'Difference' => 'Ró¿nica',
+ 'Directory' => 'Katalog',
+ 'Discount' => 'Rabat',
+ 'Done' => 'Zrobione',
+ 'Drawing' => 'Rysunek',
+ 'Driver' => 'Sterownik',
+ 'Dropdown Limit' => 'Limit Rozwiniêcia',
+ 'Due' => 'P³atno¶æ',
+ 'Due Date' => 'Termin P³atno¶ci',
+ 'Due Date missing!' => 'Brak Terminu P³atno¶ci!',
+ 'E-mail' => 'E-mail',
+ 'E-mail Statement to' => 'E-mail Wykaz do',
+ 'E-mail address missing!' => 'Brak adresu E-mail!',
+ 'Edit' => 'Zmieñ',
+ 'Edit Account' => 'Zmiany Konta',
+ 'Edit Accounts Payables Transaction' => 'Zmiany Transakcji Konta Zobowi±zañ',
+ 'Edit Accounts Receivables Transaction' => 'Zmiany Transakcji Konta Nale¿no¶ci',
+ 'Edit Assembly' => 'Zmiany Zestawieñ',
+ 'Edit GIFI' => 'Zmieñ GIFI',
+ 'Edit General Ledger Transaction' => 'Zmiany w Ksiêdze G³ównej',
+ 'Edit Part' => 'Zmiany Produktu',
+ 'Edit Preferences for' => 'Zmiany Preferencji dla',
+ 'Edit Project' => 'Zmiany Projektu',
+ 'Edit Purchase Invoice' => 'Zmiany Faktury Zamówienia',
+ 'Edit Purchase Order' => 'Zmiany Zamówienia Zakupu',
+ 'Edit Sales Invoice' => 'Zmiany Faktury Sprzeda¿y',
+ 'Edit Sales Order' => 'Zmiany Zamówienia Klienta',
+ 'Edit Service' => 'Zmiany Us³ug',
+ 'Edit Template' => 'Zmiany Wzorca',
+ 'Edit User' => 'Zmiany U¿ytkownika',
+ 'Employee' => 'Pracownik',
+ 'Enforce transaction reversal for all dates' => 'Egzekwój zmiany transakcji dla wszystkich okresów',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Wpisz symbole (nap. PLN:USD:EUR:YEN) krajowych i zagranicznych walut ',
+ 'Equity' => 'Kapita³',
+ 'Exch' => 'Kurs',
+ 'Exchangerate' => 'Kurs Wymiany',
+ 'Exchangerate Difference' => 'Ró¿nica Kursowa',
+ 'Exchangerate for payment missing!' => 'Brakuje kursu wymiany dla p³atno¶ci!',
+ 'Exchangerate missing!' => 'Brakuje kursu wymiany',
+ 'Existing Datasets' => 'Istniej±cy Zbiór Danych',
+ 'Expense' => 'Koszt',
+ 'Expense Account' => 'Konto Kosztów',
+ 'Expense/Asset' => 'Koszt/Aktywy',
+ 'Extended' => 'Warto¶æ Netto',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Luty',
+ 'February' => 'Luty',
+ 'Foreign Exchange Gain' => 'Zysk przy Wymianie Walut',
+ 'Foreign Exchange Loss' => 'Strata przy Wymianie Walut',
+ 'From' => 'Od',
+ 'GIFI' => 'GIFI',
+ 'GIFI deleted!' => 'GIFI usuniête',
+ 'GIFI missing!' => 'Brakuje GIFI',
+ 'GIFI saved!' => 'GIFI zapisane',
+ 'GL Transaction' => 'Transakcja Ksiêgi G³ównej',
+ 'General Ledger' => 'Ksiêga G³ówna',
+ 'Goods & Services' => 'Produkty i Us³ugi',
+ 'HTML Templates' => 'Szablony HTML',
+ 'Heading' => 'Nag³ówek',
+ 'Host' => 'Host',
+ 'Hostname missing!' => 'Brak Nazwy Hosta',
+ 'ID' => 'Identyfikator',
+ 'Image' => 'Grafika',
+ 'In-line' => 'W³±czony',
+ 'Include in Report' => 'Do³±cz w Sprawozdaniu',
+ 'Include in drop-down menus' => 'Do³±cz w menu rozwijanym',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Do³±cz Konto w formularzach Kontrachentów ¿eby wskazaæ ¿e podlegaj± opodatkowaniu',
+ 'Income' => 'Przychód',
+ 'Income Account' => 'Konto Przychodów',
+ 'Income Statement' => 'Rachunek Zysków i Strat',
+ 'Incorrect Dataset version!' => 'Nieprawid³owa wersja Zbioru Danych',
+ 'Incorrect Password!' => 'Nieprawid³owe Has³o',
+ 'Individual Items' => 'Indywidualne Czê¶ci',
+ 'Inventory' => 'Inwentarz',
+ 'Inventory Account' => 'Konto Materia³owe',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'Ilo¶æ Inventarza musi byæ równa zero zanim bêdzie mozna zdezaktualizowaæ to z³o¿enie!',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'Ilo¶æ inventarza musi byæ równa zero zanim bêdzie mo¿na zdezaktualizowaæ t± czê¶æ!',
+ 'Inventory quantity must be zero!' => 'Ilo¶æc Inventarza musi byæ równa zero',
+ 'Invoice' => 'Faktura',
+ 'Invoice Date' => 'Data Wystawienia',
+ 'Invoice Date missing!' => 'Brak Daty Wystawienia',
+ 'Invoice Number' => 'Numer Faktury',
+ 'Invoice Number missing!' => 'Brak Numeru Faktury',
+ 'Invoice deleted!' => 'Faktura usuniêta',
+ 'Invoice posted!' => 'Faktura zatwierdzona',
+ 'Invoices' => 'Faktury',
+ 'Is this a summary account to record' => 'Czy jest to konto sumaryczne?',
+ 'Item deleted!' => 'Pozycja usuniêta',
+ 'Item not on file!' => 'Produkt nie jest w zbiorze!',
+ 'Jan' => 'Styczeñ',
+ 'January' => 'Styczeñ',
+ 'Jul' => 'Lipiec',
+ 'July' => 'Lipiec',
+ 'Jun' => 'Czerwiec',
+ 'June' => 'Czerwiec',
+ 'LaTeX Templates' => 'Szablony LaTeX',
+ 'Language' => 'Jêzyk',
+ 'Last Cost' => 'Cena Zakupu',
+ 'Last Invoice Number' => 'Ostatni Numer Faktury',
+ 'Last Numbers & Default Accounts' => 'Ostatnie Numery i Konta Domy¶lne',
+ 'Last Purchase Order Number' => 'Ostatni Numer Faktury Zamówienia',
+ 'Last Sales Order Number' => 'Ostatni Numer Faktury Sprzeda¿y',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Opu¶æ pole wêz³a i portu, chyba ¿e chcesz mieæ zdalne po³±czenie',
+ 'Liability' => 'Zobowi±zania',
+ 'Licensed to' => 'Licencja nale¿y do:',
+ 'Line Total' => 'Suma ca³kowita',
+ 'Link' => 'Dowi±zanie',
+ 'Link Accounts' => 'Konta dowi±zane',
+ 'List Accounts' => 'Spis Kont',
+ 'List GIFI' => 'Wykaz GIFI',
+ 'List Price' => 'Cena',
+ 'List Transactions' => 'Wykaz Transakcji',
+ 'Login' => 'Zarejestrój siê',
+ 'Logout' => 'Wyrejestrój siê',
+ 'Make' => 'Marka',
+ 'Mar' => 'Marzec',
+ 'March' => 'Marzec',
+ 'May' => 'Maj',
+ 'May ' => 'Maj',
+ 'Message' => 'Wiadomo¶æ',
+ 'Microfiche' => 'Mikrofilm',
+ 'Model' => 'Model',
+ 'N/A' => 'N/A',
+ 'Name' => 'Nazwa',
+ 'Name missing!' => 'Brak Nazwy',
+ 'New Templates' => 'Nowe Szablony',
+ 'No' => 'Nie',
+ 'No Database Drivers available!' => 'Sterownik Bazy Danych jest niedostêpny',
+ 'No Dataset selected!' => 'Nie jest zaznaczony Zbiór Danych',
+ 'No email address for' => 'Brak adresu email',
+ 'No.' => '',
+ 'Notes' => 'Noty',
+ 'Nothing applied!' => 'Niczego nie zastosowano',
+ 'Nothing selected!' => 'Nic nie zaznaczone!',
+ 'Nothing to delete!' => 'Niema nic do usuniêcia!',
+ 'Nov' => 'Listopad',
+ 'November' => 'Listopad',
+ 'Number' => 'Numer Katalogu',
+ 'Number Format' => 'Format Numeru',
+ 'Number missing in Row' => 'Brak Numeru w Rzêdzie',
+ 'O' => 'O',
+ 'Obsolete' => 'Zdezaktualizowane',
+ 'Oct' => 'Pa¿dziernik',
+ 'October' => 'Pa¿dziernik',
+ 'On Hand' => 'Na Stanie',
+ 'On Order' => 'Zamawiane',
+ 'Open' => 'Otworzono',
+ 'Oracle Database Administration' => 'Administracja Bazy Danych Oracle',
+ 'Order' => 'Zamówienie',
+ 'Order Date' => 'Data Zamówienia',
+ 'Order Date missing!' => 'Brak Daty Zamówienia',
+ 'Order Entry' => 'Wystawianie Zamówieñ',
+ 'Order Number' => 'Numer Zamówienia',
+ 'Order Number missing!' => 'Brak Numeru Zamówienia',
+ 'Order deleted!' => 'Zamówienie usuniête',
+ 'Order saved!' => 'Zamówienie zapisane',
+ 'Ordered' => 'Zamówione',
+ 'Orphaned' => 'Zbêdne',
+ 'Out of balance!' => 'Niezgodne Saldo',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Wykaz Dostawy',
+ 'Packing List Date missing!' => 'Brak Daty Wykazu Dostawy',
+ 'Packing List Number missing!' => 'Brak Numeru Wykazu Dostawy',
+ 'Paid' => 'Zap³acono',
+ 'Paid in full' => 'Zap³acono w ca³o¶ci',
+ 'Part' => 'Produkt',
+ 'Part Number missing!' => 'Brak Symbolu Produktu!',
+ 'Parts' => 'Produkty',
+ 'Parts Inventory' => 'Inwentarz',
+ 'Password' => 'Has³o',
+ 'Password changed!' => 'Has³o zmienione',
+ 'Payables' => 'Zobowi±zania',
+ 'Payment' => 'P³atno¶æ',
+ 'Payment date missing!' => 'Brak Daty P³atno¶ci',
+ 'Payment posted!' => 'P³atno¶æ zatwierdzona',
+ 'Payments' => 'P³atno¶ci',
+ 'Pg Database Administration' => 'Administracja Bazy Danych Pg',
+ 'Phone' => 'Tel.',
+ 'Port' => 'Port',
+ 'Port missing!' => 'Brak Portu',
+ 'Post' => 'Zatwierd¿',
+ 'Post as new' => 'Zatwierd¿ jako nowe',
+ 'Postscript' => 'Postscript',
+ 'Preferences' => 'Preferencje',
+ 'Preferences saved!' => 'Preferencje Zapisane!',
+ 'Price' => 'Cena Netto',
+ 'Print' => 'Drukuj',
+ 'Printer' => 'Drukarka',
+ 'Project' => 'Projekt',
+ 'Project Number missing!' => 'Brak Numeru Projektu',
+ 'Project deleted!' => 'Projekt usuniêty',
+ 'Project not on file!' => 'Brak Projektu w zbiorze danych!',
+ 'Project saved!' => 'Projekt zapisany',
+ 'Projects' => 'Projekty',
+ 'Purchase Invoice' => 'Faktura VAT Zakupu',
+ 'Purchase Order' => 'Zamówienie Zakupu',
+ 'Purchase Orders' => 'Zamówienia Zakupu',
+ 'Qty' => 'Ilo¶æ',
+ 'ROP' => 'PPZ',
+ 'Rate' => 'Stawka',
+ 'Recd' => 'Otrzymano',
+ 'Receipt' => 'Wp³ata',
+ 'Receipts' => 'Wp³aty',
+ 'Receivables' => 'Nale¿no¶ci',
+ 'Reconciliation' => 'Zgodno¶æ Rozliczeñ',
+ 'Record in' => 'Zapisz w',
+ 'Reference' => 'Odno¶nik',
+ 'Reference missing!' => 'Brak Odno¶nika',
+ 'Remaining' => 'Pozosta³e',
+ 'Report for' => 'Raport dla',
+ 'Reports' => 'Sprawozdania',
+ 'Required by' => 'Termin Dostawy',
+ 'Retained Earnings' => 'Zysk',
+ 'Sales' => 'Sprzeda¿',
+ 'Sales Invoice' => 'Faktura VAT Sprzeda¿y',
+ 'Sales Order' => 'Zamówienie Klienta',
+ 'Sales Orders' => 'Zamówienia Klientów',
+ 'Save' => 'Zapisz',
+ 'Save as new' => 'Zapisz jako nowe',
+ 'Save to File' => 'Zapisz w zbiorze',
+ 'Screen' => 'Ekran',
+ 'Select a Dataset to delete and press "Continue"' => 'Wybierz Zbiór Danych do usuniêcia i naci¶nij "Kontynuj"',
+ 'Select all' => 'Wybierz wszystko',
+ 'Select from one of the items below' => 'Wybierz jeden z poni¿szych artyku³ów',
+ 'Select from one of the names below' => 'Wybierz nazwê z poni¿szych',
+ 'Select from one of the projects below' => 'Wybierz z projektów',
+ 'Select postscript or PDF!' => 'Wybierz postscript lub PDF',
+ 'Sell Price' => 'Cena Sprzeda¿y',
+ 'Send by E-Mail' => 'Wys³ano przy u¿yciu E-Mail',
+ 'Sep' => 'Wrzesieñ',
+ 'September' => 'Wrzesieñ',
+ 'Service' => 'Us³ugi',
+ 'Service Items' => 'Artyku³y Us³ugowe',
+ 'Service Number missing!' => 'Brak Numeru Us³ugi!',
+ 'Services' => 'Us³ugi',
+ 'Setup Templates' => 'Ustaw Szablony',
+ 'Ship' => 'Wy¶lij',
+ 'Ship to' => 'Wy¶lij do',
+ 'Ship via' => 'Wy¶lij przez',
+ 'Short' => 'Niedobór',
+ 'Signature' => 'Podpis',
+ 'Sold' => 'Sprzedane',
+ 'Source' => '¯ród³o',
+ 'Standard' => 'Standard',
+ 'Statement' => 'Wykaz',
+ 'Statement Balance' => 'Wykaz Salda',
+ 'Statement sent to' => 'Wykaz wys³any do',
+ 'Statements sent to printer!' => 'Wykaz wys³any do drukarki',
+ 'Stock Assembly' => 'Wstaw Z³o¿enie',
+ 'Stylesheet' => 'Strona Stylowa',
+ 'Subject' => 'Tre¶æ',
+ 'Subtotal' => 'Warto¶æ Netto',
+ 'System' => 'System',
+ 'Tax' => 'Podatek',
+ 'Tax Accounts' => 'Konta Podatkowe',
+ 'Tax Included' => 'Podatek Wliczony',
+ 'Tax collected' => 'Podatek pobrany',
+ 'Tax paid' => 'Podatek zap³acony',
+ 'Taxable' => 'Opodatkowane',
+ 'Template saved!' => 'Szablon zapisany',
+ 'Templates' => 'Szablony',
+ 'Terms: Net' => 'Warunki: Netto',
+ 'The following Datasets are not in use and can be deleted' => 'Te Zbiory Danych s± nieu¿ywane i mo¿na je usun±æ',
+ 'The following Datasets need to be updated' => 'Zbiory Danych do uzupe³nienia',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'Jest to wstêpne sprawdzenie istniej±cych ¿róde³. Narazie nic nie bêdzie utworzone lub usuniête.',
+ 'To' => 'do',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => '¯eby dodaæ do grupy u¿ytkownika zmieñ nazwê, nazwê zarejestrowania i zapisz. Nowy u¿ytkownik z tymi samymi zmiennymi warto¶ciami bêdzie zapisany pod now± nazw± rejestruj±c±',
+ 'Top Level' => 'Najwy¿szy Poziom',
+ 'Total' => 'Warto¶æ Brutto',
+ 'Transaction Date missing!' => 'Brak Daty Transakcji!',
+ 'Transaction deleted!' => 'Transakcja usuniêta',
+ 'Transaction posted!' => 'Transakcja zatwierdzona',
+ 'Transaction reversal enforced for all dates' => 'Zmiana transakcji narzucona dla wszystkich okresów',
+ 'Transaction reversal enforced up to' => 'Zmiana transakcji narzucona do',
+ 'Transactions' => 'Transakcje',
+ 'Transactions exist, cannot delete customer!' => 'Istniej± Transakcje, niemo¿na usun±æ odbiorcy',
+ 'Transactions exist, cannot delete vendor!' => 'Istniej± Transakcje, nie mo¿na usun±æ dostawcy',
+ 'Transactions exist; cannot delete account!' => 'Istniej± Transakcje, nie mo¿na usun±æ konta',
+ 'Trial Balance' => 'Bilans Porównawczy',
+ 'Unit' => 'Jednostka',
+ 'Unit of measure' => 'Jednostka miary',
+ 'Update' => 'Uzupe³nij',
+ 'Update Dataset' => 'Uzupe³nij Zbiór Danych',
+ 'Updated' => 'Uzupe³nione',
+ 'Use Templates' => 'U¿yj Szablony',
+ 'User' => 'U¿ytkownik',
+ 'User deleted!' => 'U¿ytkownik usuniêty',
+ 'User saved!' => 'U¿ytkownik zapisany',
+ 'Vendor' => 'Dostawca',
+ 'Vendor deleted!' => 'Dostawca usuniêty',
+ 'Vendor missing!' => 'Brak Dostawcy',
+ 'Vendor not on file!' => 'Brak Dostawcy w bazie danych',
+ 'Vendor saved!' => 'Dostawca zapisany',
+ 'Vendors' => 'Dostawcy',
+ 'Version' => 'Wersja',
+ 'Weight' => 'Waga',
+ 'Weight Unit' => 'Jednostka Wagi',
+ 'What type of item is this?' => 'Co to za rodzaj artyku³u',
+ 'Year End' => 'Koniec Roku Finansowego',
+ 'Yes' => 'Tak',
+ 'You are logged out!' => 'Jeste¶ wyrejestrowany!',
+ 'You did not enter a name!' => 'Nie wstawiono nazwy!',
+ 'You must enter a host and port for local and remote connections!' => 'Wstaw wêze³ i port dla lokalnego i zdalnego po³±czenia',
+ 'as at' => 'tak samo',
+ 'collected on sales' => 'zebrany przy sprzeda¿y',
+ 'days' => 'dni',
+ 'does not exist' => 'nie istnieje',
+ 'ea' => 'szt',
+ 'emailed to' => 'email do',
+ 'for Period' => 'za Okres',
+ 'hr' => 'godz',
+ 'is already a member!' => 'Jest ju¿ cz³onkiem',
+ 'is not a member!' => 'Nie jest cz³onkiem',
+ 'localhost' => 'host lokalny',
+ 'paid on purchases' => 'zap³acony przy zakupach',
+ 'sent to printer' => 'wys³ano do drukarki',
+ 'successfully created!' => 'stworzone z powodzeniem',
+ 'successfully deleted!' => 'usuniête z powodzeniem',
+ 'to' => 'do',
+ 'website' => 'witryna WWW',
+};
+
+1;
diff --git a/sql-ledger/locale/pl/am b/sql-ledger/locale/pl/am
new file mode 100644
index 0000000..98de453
--- /dev/null
+++ b/sql-ledger/locale/pl/am
@@ -0,0 +1,139 @@
+$self{texts} = {
+ 'AP' => 'Ksiêga Zobowi±zañ',
+ 'AR' => 'Ksiêga Nale¿no¶ci',
+ 'Account' => 'Konto',
+ 'Account Number' => 'Numer Konta',
+ 'Account Number missing!' => 'Brak Numeru Konta!',
+ 'Account Type' => 'Rodzaj Konta',
+ 'Account Type missing!' => 'Brak Rodzaju Konta!',
+ 'Account deleted!' => 'Usuniêto Konto',
+ 'Account saved!' => 'Zapisano Konto',
+ 'Add Account' => 'Dodaj Konto',
+ 'Add GIFI' => 'Dodaj GIFI',
+ 'Address' => 'Adres',
+ 'Asset' => 'Aktywy',
+ 'Audit Control' => 'Kontrola Audytu',
+ 'Backup sent to' => 'Kopia Zapasowa wys³ana do',
+ 'Books are open' => 'Ksiêgi otwarte',
+ 'Business Number' => 'NIP',
+ 'COGS' => 'Koszta Sprzeda¿y',
+ 'Cannot delete account!' => 'Nie mo¿esz usun±æ konta!',
+ 'Cannot delete default account!' => 'Konto Domy¶lne nie mo¿e byæ usuniête!',
+ 'Cannot save account!' => 'Nie mo¿na zapisaæ konta!',
+ 'Cannot save preferences!' => 'Nie mo¿na zapisaæ preferencji!',
+ 'Character Set' => 'Zestaw Znaków',
+ 'Chart of Accounts' => 'Plan Kont',
+ 'Close Books up to' => 'Zamkniêcie Ksi±g do',
+ 'Company' => 'Firma',
+ 'Continue' => 'Kontynuj',
+ 'Copy to COA' => 'Skopiuj do Planu Kont',
+ 'Credit' => 'Kredyt',
+ 'Date Format' => 'Format Daty',
+ 'Debit' => 'Debet',
+ 'Delete' => 'Usuñ',
+ 'Delete Account' => 'Usuñ Konto',
+ 'Description' => 'Opis',
+ 'Dropdown Limit' => 'Limit Rozwiniêcia',
+ 'E-mail' => 'E-mail',
+ 'Edit' => 'Zmieñ',
+ 'Edit Account' => 'Zmiany Konta',
+ 'Edit GIFI' => 'Zmieñ GIFI',
+ 'Edit Preferences for' => 'Zmiany Preferencji dla',
+ 'Edit Template' => 'Zmiany Wzorca',
+ 'Enforce transaction reversal for all dates' => 'Egzekwój zmiany transakcji dla wszystkich okresów',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Wpisz symbole (nap. PLN:USD:EUR:YEN) krajowych i zagranicznych walut ',
+ 'Equity' => 'Kapita³',
+ 'Expense' => 'Koszt',
+ 'Expense Account' => 'Konto Kosztów',
+ 'Expense/Asset' => 'Koszt/Aktywy',
+ 'Fax' => 'Fax',
+ 'Foreign Exchange Gain' => 'Zysk przy Wymianie Walut',
+ 'Foreign Exchange Loss' => 'Strata przy Wymianie Walut',
+ 'GIFI' => 'GIFI',
+ 'GIFI deleted!' => 'GIFI usuniête',
+ 'GIFI missing!' => 'Brakuje GIFI',
+ 'GIFI saved!' => 'GIFI zapisane',
+ 'Heading' => 'Nag³ówek',
+ 'Include in drop-down menus' => 'Do³±cz w menu rozwijanym',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Do³±cz Konto w formularzach Kontrachentów ¿eby wskazaæ ¿e podlegaj± opodatkowaniu',
+ 'Income' => 'Przychód',
+ 'Income Account' => 'Konto Przychodów',
+ 'Inventory' => 'Inwentarz',
+ 'Inventory Account' => 'Konto Materia³owe',
+ 'Is this a summary account to record' => 'Czy jest to konto sumaryczne?',
+ 'Language' => 'Jêzyk',
+ 'Last Invoice Number' => 'Ostatni Numer Faktury',
+ 'Last Numbers & Default Accounts' => 'Ostatnie Numery i Konta Domy¶lne',
+ 'Last Purchase Order Number' => 'Ostatni Numer Faktury Zamówienia',
+ 'Last Sales Order Number' => 'Ostatni Numer Faktury Sprzeda¿y',
+ 'Liability' => 'Zobowi±zania',
+ 'Link' => 'Dowi±zanie',
+ 'Name' => 'Nazwa',
+ 'No' => 'Nie',
+ 'No email address for' => 'Brak adresu email',
+ 'Number' => 'Numer Katalogu',
+ 'Number Format' => 'Format Numeru',
+ 'Parts Inventory' => 'Inwentarz',
+ 'Password' => 'Has³o',
+ 'Payables' => 'Zobowi±zania',
+ 'Payment' => 'P³atno¶æ',
+ 'Phone' => 'Tel.',
+ 'Preferences saved!' => 'Preferencje Zapisane!',
+ 'Rate' => 'Stawka',
+ 'Receivables' => 'Nale¿no¶ci',
+ 'Sales' => 'Sprzeda¿',
+ 'Save' => 'Zapisz',
+ 'Service Items' => 'Artyku³y Us³ugowe',
+ 'Ship via' => 'Wy¶lij przez',
+ 'Signature' => 'Podpis',
+ 'Stylesheet' => 'Strona Stylowa',
+ 'Tax' => 'Podatek',
+ 'Tax Accounts' => 'Konta Podatkowe',
+ 'Template saved!' => 'Szablon zapisany',
+ 'Transaction reversal enforced for all dates' => 'Zmiana transakcji narzucona dla wszystkich okresów',
+ 'Transaction reversal enforced up to' => 'Zmiana transakcji narzucona do',
+ 'Transactions exist; cannot delete account!' => 'Istniej± Transakcje, nie mo¿na usun±æ konta',
+ 'Weight Unit' => 'Jednostka Wagi',
+ 'Year End' => 'Koniec Roku Finansowego',
+ 'Yes' => 'Tak',
+ 'does not exist' => 'nie istnieje',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_gifi' => 'add_gifi',
+ 'audit_control' => 'audit_control',
+ 'backup' => 'backup',
+ 'config' => 'config',
+ 'continue' => 'continue',
+ 'copy_to_coa' => 'copy_to_coa',
+ 'delete' => 'delete',
+ 'delete_account' => 'delete_account',
+ 'delete_gifi' => 'delete_gifi',
+ 'display_form' => 'display_form',
+ 'display_stylesheet' => 'display_stylesheet',
+ 'doclose' => 'doclose',
+ 'edit' => 'edit',
+ 'edit_gifi' => 'edit_gifi',
+ 'edit_template' => 'edit_template',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gifi_footer' => 'gifi_footer',
+ 'gifi_header' => 'gifi_header',
+ 'list' => 'list',
+ 'list_gifi' => 'list_gifi',
+ 'save' => 'save',
+ 'save_account' => 'save_account',
+ 'save_gifi' => 'save_gifi',
+ 'save_preferences' => 'save_preferences',
+ 'save_template' => 'save_template',
+ 'dodaj_konto' => 'add_account',
+ 'kontynuj' => 'continue',
+ 'skopiuj_do_planu_kont' => 'copy_to_coa',
+ 'usuñ' => 'delete',
+ 'zmieñ' => 'edit',
+ 'zmiany_konta' => 'edit_account',
+ 'zapisz' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/pl/ap b/sql-ledger/locale/pl/ap
new file mode 100644
index 0000000..5e5f8f8
--- /dev/null
+++ b/sql-ledger/locale/pl/ap
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AP Transaction' => 'Transakcja Zobowi±zañ',
+ 'AP Transactions' => 'Transakcje Zobowi±zañ',
+ 'Account' => 'Konto',
+ 'Add Accounts Payables Transaction' => 'Rejestr w Ksiêdze Zobowi±zañ',
+ 'Address' => 'Adres',
+ 'Amount' => 'Kwota',
+ 'Amount Due' => 'Kwota Nale¿na',
+ 'Apr' => 'Kwiecieñ',
+ 'April' => 'Kwiecieñ',
+ 'Are you sure you want to delete Transaction' => 'Czy chcesz usun±æ Transakcjê?',
+ 'Aug' => 'Sierpieñ',
+ 'August' => 'Sierpieñ',
+ 'Cannot delete transaction!' => 'Nie mo¿esz usun±æ transakcji!',
+ 'Cannot post payment for a closed period!' => 'Nie mo¿na zaksiêgowaæ p³atno¶ci po zamkniêciu okresu!',
+ 'Cannot post transaction for a closed period!' => 'Nie mo¿na zaksiêgowaæ transakcji po zamkniêciu okresu!',
+ 'Cannot post transaction!' => 'Nie mo¿esz zatwierdziæ transakcji!',
+ 'Closed' => 'Zamkniêto',
+ 'Confirm!' => 'Potwierd¿!',
+ 'Continue' => 'Kontynuj',
+ 'Currency' => 'Waluta',
+ 'Customer not on file!' => 'Brak Klienta w bazie danych',
+ 'Date' => 'Data',
+ 'Date Paid' => 'Data Zap³aty',
+ 'Dec' => 'Grudzieñ',
+ 'December' => 'Grudzieñ',
+ 'Delete' => 'Usuñ',
+ 'Description' => 'Opis',
+ 'Due Date' => 'Termin P³atno¶ci',
+ 'Due Date missing!' => 'Brak Terminu P³atno¶ci!',
+ 'Edit Accounts Payables Transaction' => 'Zmiany Transakcji Konta Zobowi±zañ',
+ 'Employee' => 'Pracownik',
+ 'Exch' => 'Kurs',
+ 'Exchangerate' => 'Kurs Wymiany',
+ 'Exchangerate for payment missing!' => 'Brakuje kursu wymiany dla p³atno¶ci!',
+ 'Exchangerate missing!' => 'Brakuje kursu wymiany',
+ 'Feb' => 'Luty',
+ 'February' => 'Luty',
+ 'From' => 'Od',
+ 'ID' => 'Identyfikator',
+ 'Include in Report' => 'Do³±cz w Sprawozdaniu',
+ 'Invoice' => 'Faktura',
+ 'Invoice Date' => 'Data Wystawienia',
+ 'Invoice Date missing!' => 'Brak Daty Wystawienia',
+ 'Invoice Number' => 'Numer Faktury',
+ 'Invoice Number missing!' => 'Brak Numeru Faktury',
+ 'Jan' => 'Styczeñ',
+ 'January' => 'Styczeñ',
+ 'Jul' => 'Lipiec',
+ 'July' => 'Lipiec',
+ 'Jun' => 'Czerwiec',
+ 'June' => 'Czerwiec',
+ 'Mar' => 'Marzec',
+ 'March' => 'Marzec',
+ 'May' => 'Maj',
+ 'May ' => 'Maj',
+ 'Notes' => 'Noty',
+ 'Nov' => 'Listopad',
+ 'November' => 'Listopad',
+ 'Number' => 'Numer Katalogu',
+ 'Oct' => 'Pa¿dziernik',
+ 'October' => 'Pa¿dziernik',
+ 'Open' => 'Otworzono',
+ 'Order' => 'Zamówienie',
+ 'Order Number' => 'Numer Zamówienia',
+ 'Paid' => 'Zap³acono',
+ 'Payment date missing!' => 'Brak Daty P³atno¶ci',
+ 'Payments' => 'P³atno¶ci',
+ 'Post' => 'Zatwierd¿',
+ 'Post as new' => 'Zatwierd¿ jako nowe',
+ 'Project' => 'Projekt',
+ 'Project not on file!' => 'Brak Projektu w zbiorze danych!',
+ 'Purchase Invoice' => 'Faktura VAT Zakupu',
+ 'Select from one of the names below' => 'Wybierz nazwê z poni¿szych',
+ 'Select from one of the projects below' => 'Wybierz z projektów',
+ 'Sep' => 'Wrzesieñ',
+ 'September' => 'Wrzesieñ',
+ 'Source' => '¯ród³o',
+ 'Subtotal' => 'Warto¶æ Netto',
+ 'Tax' => 'Podatek',
+ 'Tax Included' => 'Podatek Wliczony',
+ 'To' => 'do',
+ 'Total' => 'Warto¶æ Brutto',
+ 'Transaction deleted!' => 'Transakcja usuniêta',
+ 'Transaction posted!' => 'Transakcja zatwierdzona',
+ 'Update' => 'Uzupe³nij',
+ 'Vendor' => 'Dostawca',
+ 'Vendor missing!' => 'Brak Dostawcy',
+ 'Vendor not on file!' => 'Brak Dostawcy w bazie danych',
+ 'Yes' => 'Tak',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_subtotal' => 'ap_subtotal',
+ 'ap_transaction' => 'ap_transaction',
+ 'ap_transactions' => 'ap_transactions',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'transakcja_zobowi±zañ' => 'ap_transaction',
+ 'rejestr_w_ksiêdze_zobowi±zañ' => 'add_accounts_payables_transaction',
+ 'kontynuj' => 'continue',
+ 'usuñ' => 'delete',
+ 'zmiany_transakcji_konta_zobowi±zañ' => 'edit_accounts_payables_transaction',
+ 'zatwierd¿' => 'post',
+ 'zatwierd¿_jako_nowe' => 'post_as_new',
+ 'faktura_vat_zakupu' => 'purchase_invoice',
+ 'uzupe³nij' => 'update',
+ 'tak' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/pl/ar b/sql-ledger/locale/pl/ar
new file mode 100644
index 0000000..22a90b8
--- /dev/null
+++ b/sql-ledger/locale/pl/ar
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AR Transaction' => 'Transakcja Nale¿no¶ci',
+ 'AR Transactions' => 'Transakcje Nale¿no¶ci',
+ 'Account' => 'Konto',
+ 'Add Accounts Receivables Transaction' => 'Rejestr w Ksiêdze Nale¿no¶ci',
+ 'Address' => 'Adres',
+ 'Amount' => 'Kwota',
+ 'Amount Due' => 'Kwota Nale¿na',
+ 'Apr' => 'Kwiecieñ',
+ 'April' => 'Kwiecieñ',
+ 'Are you sure you want to delete Transaction' => 'Czy chcesz usun±æ Transakcjê?',
+ 'Aug' => 'Sierpieñ',
+ 'August' => 'Sierpieñ',
+ 'Cannot delete transaction!' => 'Nie mo¿esz usun±æ transakcji!',
+ 'Cannot post payment for a closed period!' => 'Nie mo¿na zaksiêgowaæ p³atno¶ci po zamkniêciu okresu!',
+ 'Cannot post transaction for a closed period!' => 'Nie mo¿na zaksiêgowaæ transakcji po zamkniêciu okresu!',
+ 'Cannot post transaction!' => 'Nie mo¿esz zatwierdziæ transakcji!',
+ 'Closed' => 'Zamkniêto',
+ 'Confirm!' => 'Potwierd¿!',
+ 'Continue' => 'Kontynuj',
+ 'Credit Limit' => 'Limit Kredytu',
+ 'Currency' => 'Waluta',
+ 'Customer' => 'Klient',
+ 'Customer missing!' => 'Brak Klienta',
+ 'Customer not on file!' => 'Brak Klienta w bazie danych',
+ 'Date' => 'Data',
+ 'Date Paid' => 'Data Zap³aty',
+ 'Dec' => 'Grudzieñ',
+ 'December' => 'Grudzieñ',
+ 'Delete' => 'Usuñ',
+ 'Description' => 'Opis',
+ 'Due Date' => 'Termin P³atno¶ci',
+ 'Due Date missing!' => 'Brak Terminu P³atno¶ci!',
+ 'Edit Accounts Receivables Transaction' => 'Zmiany Transakcji Konta Nale¿no¶ci',
+ 'Employee' => 'Pracownik',
+ 'Exch' => 'Kurs',
+ 'Exchangerate' => 'Kurs Wymiany',
+ 'Exchangerate for payment missing!' => 'Brakuje kursu wymiany dla p³atno¶ci!',
+ 'Exchangerate missing!' => 'Brakuje kursu wymiany',
+ 'Feb' => 'Luty',
+ 'February' => 'Luty',
+ 'From' => 'Od',
+ 'ID' => 'Identyfikator',
+ 'Include in Report' => 'Do³±cz w Sprawozdaniu',
+ 'Invoice' => 'Faktura',
+ 'Invoice Date' => 'Data Wystawienia',
+ 'Invoice Date missing!' => 'Brak Daty Wystawienia',
+ 'Invoice Number' => 'Numer Faktury',
+ 'Invoice Number missing!' => 'Brak Numeru Faktury',
+ 'Jan' => 'Styczeñ',
+ 'January' => 'Styczeñ',
+ 'Jul' => 'Lipiec',
+ 'July' => 'Lipiec',
+ 'Jun' => 'Czerwiec',
+ 'June' => 'Czerwiec',
+ 'Mar' => 'Marzec',
+ 'March' => 'Marzec',
+ 'May' => 'Maj',
+ 'May ' => 'Maj',
+ 'Notes' => 'Noty',
+ 'Nov' => 'Listopad',
+ 'November' => 'Listopad',
+ 'Number' => 'Numer Katalogu',
+ 'Oct' => 'Pa¿dziernik',
+ 'October' => 'Pa¿dziernik',
+ 'Open' => 'Otworzono',
+ 'Order' => 'Zamówienie',
+ 'Order Number' => 'Numer Zamówienia',
+ 'Paid' => 'Zap³acono',
+ 'Payment date missing!' => 'Brak Daty P³atno¶ci',
+ 'Payments' => 'P³atno¶ci',
+ 'Post' => 'Zatwierd¿',
+ 'Post as new' => 'Zatwierd¿ jako nowe',
+ 'Project' => 'Projekt',
+ 'Project not on file!' => 'Brak Projektu w zbiorze danych!',
+ 'Remaining' => 'Pozosta³e',
+ 'Sales Invoice' => 'Faktura VAT Sprzeda¿y',
+ 'Select from one of the names below' => 'Wybierz nazwê z poni¿szych',
+ 'Select from one of the projects below' => 'Wybierz z projektów',
+ 'Sep' => 'Wrzesieñ',
+ 'September' => 'Wrzesieñ',
+ 'Source' => '¯ród³o',
+ 'Subtotal' => 'Warto¶æ Netto',
+ 'Tax' => 'Podatek',
+ 'Tax Included' => 'Podatek Wliczony',
+ 'To' => 'do',
+ 'Total' => 'Warto¶æ Brutto',
+ 'Transaction deleted!' => 'Transakcja usuniêta',
+ 'Transaction posted!' => 'Transakcja zatwierdzona',
+ 'Update' => 'Uzupe³nij',
+ 'Vendor not on file!' => 'Brak Dostawcy w bazie danych',
+ 'Yes' => 'Tak',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_subtotal' => 'ar_subtotal',
+ 'ar_transaction' => 'ar_transaction',
+ 'ar_transactions' => 'ar_transactions',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'transakcja_nale¿no¶ci' => 'ar_transaction',
+ 'kontynuj' => 'continue',
+ 'usuñ' => 'delete',
+ 'zatwierd¿' => 'post',
+ 'zatwierd¿_jako_nowe' => 'post_as_new',
+ 'faktura_vat_sprzeda¿y' => 'sales_invoice',
+ 'uzupe³nij' => 'update',
+ 'tak' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/pl/arap b/sql-ledger/locale/pl/arap
new file mode 100644
index 0000000..b24860e
--- /dev/null
+++ b/sql-ledger/locale/pl/arap
@@ -0,0 +1,30 @@
+$self{texts} = {
+ 'Address' => 'Adres',
+ 'Continue' => 'Kontynuj',
+ 'Customer not on file!' => 'Brak Klienta w bazie danych',
+ 'Description' => 'Opis',
+ 'Number' => 'Numer Katalogu',
+ 'Project not on file!' => 'Brak Projektu w zbiorze danych!',
+ 'Select from one of the names below' => 'Wybierz nazwê z poni¿szych',
+ 'Select from one of the projects below' => 'Wybierz z projektów',
+ 'Vendor not on file!' => 'Brak Dostawcy w bazie danych',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'kontynuj' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/pl/ca b/sql-ledger/locale/pl/ca
new file mode 100644
index 0000000..07f9e6d
--- /dev/null
+++ b/sql-ledger/locale/pl/ca
@@ -0,0 +1,50 @@
+$self{texts} = {
+ 'Account' => 'Konto',
+ 'Apr' => 'Kwiecieñ',
+ 'April' => 'Kwiecieñ',
+ 'Aug' => 'Sierpieñ',
+ 'August' => 'Sierpieñ',
+ 'Balance' => 'Saldo',
+ 'Chart of Accounts' => 'Plan Kont',
+ 'Credit' => 'Kredyt',
+ 'Date' => 'Data',
+ 'Debit' => 'Debet',
+ 'Dec' => 'Grudzieñ',
+ 'December' => 'Grudzieñ',
+ 'Description' => 'Opis',
+ 'Feb' => 'Luty',
+ 'February' => 'Luty',
+ 'From' => 'Od',
+ 'GIFI' => 'GIFI',
+ 'Include in Report' => 'Do³±cz w Sprawozdaniu',
+ 'Jan' => 'Styczeñ',
+ 'January' => 'Styczeñ',
+ 'Jul' => 'Lipiec',
+ 'July' => 'Lipiec',
+ 'Jun' => 'Czerwiec',
+ 'June' => 'Czerwiec',
+ 'List Transactions' => 'Wykaz Transakcji',
+ 'Mar' => 'Marzec',
+ 'March' => 'Marzec',
+ 'May' => 'Maj',
+ 'May ' => 'Maj',
+ 'Nov' => 'Listopad',
+ 'November' => 'Listopad',
+ 'Oct' => 'Pa¿dziernik',
+ 'October' => 'Pa¿dziernik',
+ 'Reference' => 'Odno¶nik',
+ 'Sep' => 'Wrzesieñ',
+ 'September' => 'Wrzesieñ',
+ 'Subtotal' => 'Warto¶æ Netto',
+ 'To' => 'do',
+};
+
+$self{subs} = {
+ 'ca_subtotal' => 'ca_subtotal',
+ 'chart_of_accounts' => 'chart_of_accounts',
+ 'list' => 'list',
+ 'list_transactions' => 'list_transactions',
+ 'wykaz_transakcji' => 'list_transactions',
+};
+
+1;
diff --git a/sql-ledger/locale/pl/cp b/sql-ledger/locale/pl/cp
new file mode 100644
index 0000000..bd154d9
--- /dev/null
+++ b/sql-ledger/locale/pl/cp
@@ -0,0 +1,75 @@
+$self{texts} = {
+ 'Account' => 'Konto',
+ 'Address' => 'Adres',
+ 'Amount' => 'Kwota',
+ 'Amount does not equal applied!' => 'Kwota nie jest równa',
+ 'Amount missing!' => 'Brakuje kwoty!',
+ 'Applied' => 'Zastosowano',
+ 'Cannot post payment!' => 'Nie mo¿esz zatwierdziæ p³atno¶ci!',
+ 'Cannot process payment for a closed period!' => 'Niemo¿na przetworzyæ p³atno¶ci po zamkniêciu okresu',
+ 'Check' => 'Czek',
+ 'Check printed!' => 'Czek wydrukowany!',
+ 'Check printing failed!' => 'B³±dw drukowaniu czeku',
+ 'Continue' => 'Kontynuj',
+ 'Currency' => 'Waluta',
+ 'Customer' => 'Klient',
+ 'Customer not on file!' => 'Brak Klienta w bazie danych',
+ 'Date' => 'Data',
+ 'Date missing!' => 'Brak Daty',
+ 'Description' => 'Opis',
+ 'Due' => 'P³atno¶æ',
+ 'Exchangerate' => 'Kurs Wymiany',
+ 'From' => 'Od',
+ 'Invoice' => 'Faktura',
+ 'Invoices' => 'Faktury',
+ 'Nothing applied!' => 'Niczego nie zastosowano',
+ 'Number' => 'Numer Katalogu',
+ 'Paid in full' => 'Zap³acono w ca³o¶ci',
+ 'Payment' => 'P³atno¶æ',
+ 'Payment posted!' => 'P³atno¶æ zatwierdzona',
+ 'Post' => 'Zatwierd¿',
+ 'Print' => 'Drukuj',
+ 'Printer' => 'Drukarka',
+ 'Project not on file!' => 'Brak Projektu w zbiorze danych!',
+ 'Receipt' => 'Wp³ata',
+ 'Reference' => 'Odno¶nik',
+ 'Screen' => 'Ekran',
+ 'Select from one of the names below' => 'Wybierz nazwê z poni¿szych',
+ 'Select from one of the projects below' => 'Wybierz z projektów',
+ 'To' => 'do',
+ 'Update' => 'Uzupe³nij',
+ 'Vendor' => 'Dostawca',
+ 'Vendor not on file!' => 'Brak Dostawcy w bazie danych',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'list_invoices' => 'list_invoices',
+ 'name_selected' => 'name_selected',
+ 'payment' => 'payment',
+ 'post' => 'post',
+ 'print' => 'print',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'vendor_details' => 'vendor_details',
+ 'kontynuj' => 'continue',
+ 'zatwierd¿' => 'post',
+ 'drukuj' => 'print',
+ 'uzupe³nij' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/pl/ct b/sql-ledger/locale/pl/ct
new file mode 100644
index 0000000..e210cda
--- /dev/null
+++ b/sql-ledger/locale/pl/ct
@@ -0,0 +1,69 @@
+$self{texts} = {
+ 'Add' => 'Dodaj',
+ 'Address' => 'Adres',
+ 'All' => 'Wszystko',
+ 'Bcc' => 'Bcc',
+ 'Cannot delete customer!' => 'Nie mo¿esz usun±æ klienta!',
+ 'Cannot delete vendor!' => 'Nie mo¿esz usun±æ dostawcy!',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Kontynuj',
+ 'Credit Limit' => 'Limit Kredytu',
+ 'Customer deleted!' => 'Klient usuniêty',
+ 'Customer saved!' => 'Klient zapisany!',
+ 'Customers' => 'Klienci',
+ 'Delete' => 'Usuñ',
+ 'Discount' => 'Rabat',
+ 'E-mail' => 'E-mail',
+ 'Fax' => 'Fax',
+ 'Include in Report' => 'Do³±cz w Sprawozdaniu',
+ 'Invoice' => 'Faktura',
+ 'Name' => 'Nazwa',
+ 'Name missing!' => 'Brak Nazwy',
+ 'Notes' => 'Noty',
+ 'Number' => 'Numer Katalogu',
+ 'Order' => 'Zamówienie',
+ 'Orphaned' => 'Zbêdne',
+ 'Phone' => 'Tel.',
+ 'Save' => 'Zapisz',
+ 'Ship to' => 'Wy¶lij do',
+ 'Tax Included' => 'Podatek Wliczony',
+ 'Taxable' => 'Opodatkowane',
+ 'Terms: Net' => 'Warunki: Netto',
+ 'Transactions exist, cannot delete customer!' => 'Istniej± Transakcje, niemo¿na usun±æ odbiorcy',
+ 'Transactions exist, cannot delete vendor!' => 'Istniej± Transakcje, nie mo¿na usun±æ dostawcy',
+ 'Vendor deleted!' => 'Dostawca usuniêty',
+ 'Vendor saved!' => 'Dostawca zapisany',
+ 'Vendors' => 'Dostawcy',
+ 'days' => 'dni',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'customer_invoice' => 'customer_invoice',
+ 'customer_order' => 'customer_order',
+ 'delete' => 'delete',
+ 'delete_customer' => 'delete_customer',
+ 'delete_vendor' => 'delete_vendor',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'invoice' => 'invoice',
+ 'list_names' => 'list_names',
+ 'order' => 'order',
+ 'save' => 'save',
+ 'save_customer' => 'save_customer',
+ 'save_vendor' => 'save_vendor',
+ 'search' => 'search',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'vendor_order' => 'vendor_order',
+ 'dodaj' => 'add',
+ 'kontynuj' => 'continue',
+ 'usuñ' => 'delete',
+ 'faktura' => 'invoice',
+ 'zamówienie' => 'order',
+ 'zapisz' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/pl/gl b/sql-ledger/locale/pl/gl
new file mode 100644
index 0000000..1f8883f
--- /dev/null
+++ b/sql-ledger/locale/pl/gl
@@ -0,0 +1,124 @@
+$self{texts} = {
+ 'AP Transaction' => 'Transakcja Zobowi±zañ',
+ 'AR Transaction' => 'Transakcja Nale¿no¶ci',
+ 'Account' => 'Konto',
+ 'Add General Ledger Transaction' => 'Dodaj Transakcjê w Ksiêdze G³ównej',
+ 'Address' => 'Adres',
+ 'All' => 'Wszystko',
+ 'Apr' => 'Kwiecieñ',
+ 'April' => 'Kwiecieñ',
+ 'Are you sure you want to delete Transaction' => 'Czy chcesz usun±æ Transakcjê?',
+ 'Asset' => 'Aktywy',
+ 'Aug' => 'Sierpieñ',
+ 'August' => 'Sierpieñ',
+ 'Balance' => 'Saldo',
+ 'Cannot delete transaction!' => 'Nie mo¿esz usun±æ transakcji!',
+ 'Cannot have a value in both Debit and Credit!' => 'Nie mo¿na wpisaæ warto¶ci w Debet i Kredyt równocze¶nie!',
+ 'Cannot post a transaction without a value!' => 'Nie mo¿esz zatwierdziæ transakcji bez warto¶ci',
+ 'Cannot post transaction for a closed period!' => 'Nie mo¿na zaksiêgowaæ transakcji po zamkniêciu okresu!',
+ 'Confirm!' => 'Potwierd¿!',
+ 'Continue' => 'Kontynuj',
+ 'Credit' => 'Kredyt',
+ 'Customer not on file!' => 'Brak Klienta w bazie danych',
+ 'Date' => 'Data',
+ 'Debit' => 'Debet',
+ 'Debit and credit out of balance!' => 'Debet i Kredyt siê niebalansuj±!',
+ 'Dec' => 'Grudzieñ',
+ 'December' => 'Grudzieñ',
+ 'Delete' => 'Usuñ',
+ 'Description' => 'Opis',
+ 'Edit General Ledger Transaction' => 'Zmiany w Ksiêdze G³ównej',
+ 'Equity' => 'Kapita³',
+ 'Expense' => 'Koszt',
+ 'Feb' => 'Luty',
+ 'February' => 'Luty',
+ 'From' => 'Od',
+ 'GIFI' => 'GIFI',
+ 'GL Transaction' => 'Transakcja Ksiêgi G³ównej',
+ 'General Ledger' => 'Ksiêga G³ówna',
+ 'ID' => 'Identyfikator',
+ 'Include in Report' => 'Do³±cz w Sprawozdaniu',
+ 'Income' => 'Przychód',
+ 'Jan' => 'Styczeñ',
+ 'January' => 'Styczeñ',
+ 'Jul' => 'Lipiec',
+ 'July' => 'Lipiec',
+ 'Jun' => 'Czerwiec',
+ 'June' => 'Czerwiec',
+ 'Liability' => 'Zobowi±zania',
+ 'Mar' => 'Marzec',
+ 'March' => 'Marzec',
+ 'May' => 'Maj',
+ 'May ' => 'Maj',
+ 'Notes' => 'Noty',
+ 'Nov' => 'Listopad',
+ 'November' => 'Listopad',
+ 'Number' => 'Numer Katalogu',
+ 'Oct' => 'Pa¿dziernik',
+ 'October' => 'Pa¿dziernik',
+ 'Post' => 'Zatwierd¿',
+ 'Post as new' => 'Zatwierd¿ jako nowe',
+ 'Project' => 'Projekt',
+ 'Project not on file!' => 'Brak Projektu w zbiorze danych!',
+ 'Purchase Invoice' => 'Faktura VAT Zakupu',
+ 'Reference' => 'Odno¶nik',
+ 'Reference missing!' => 'Brak Odno¶nika',
+ 'Reports' => 'Sprawozdania',
+ 'Sales Invoice' => 'Faktura VAT Sprzeda¿y',
+ 'Select from one of the names below' => 'Wybierz nazwê z poni¿szych',
+ 'Select from one of the projects below' => 'Wybierz z projektów',
+ 'Sep' => 'Wrzesieñ',
+ 'September' => 'Wrzesieñ',
+ 'Source' => '¯ród³o',
+ 'Subtotal' => 'Warto¶æ Netto',
+ 'To' => 'do',
+ 'Transaction Date missing!' => 'Brak Daty Transakcji!',
+ 'Transaction deleted!' => 'Transakcja usuniêta',
+ 'Transaction posted!' => 'Transakcja zatwierdzona',
+ 'Update' => 'Uzupe³nij',
+ 'Vendor not on file!' => 'Brak Dostawcy w bazie danych',
+ 'Yes' => 'Tak',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'form_row' => 'form_row',
+ 'generate_report' => 'generate_report',
+ 'gl_subtotal' => 'gl_subtotal',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'transakcja_zobowi±zañ' => 'ap_transaction',
+ 'transakcja_nale¿no¶ci' => 'ar_transaction',
+ 'kontynuj' => 'continue',
+ 'usuñ' => 'delete',
+ 'transakcja_ksiêgi_g³ównej' => 'gl_transaction',
+ 'zatwierd¿' => 'post',
+ 'zatwierd¿_jako_nowe' => 'post_as_new',
+ 'faktura_vat_zakupu' => 'purchase_invoice',
+ 'faktura_vat_sprzeda¿y' => 'sales_invoice',
+ 'uzupe³nij' => 'update',
+ 'tak' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/pl/ic b/sql-ledger/locale/pl/ic
new file mode 100644
index 0000000..c7fc309
--- /dev/null
+++ b/sql-ledger/locale/pl/ic
@@ -0,0 +1,205 @@
+$self{texts} = {
+ 'Active' => 'Aktywne',
+ 'Add' => 'Dodaj',
+ 'Add Assembly' => 'Dodaj Zestawienie',
+ 'Add Part' => 'Dodaj Produkt',
+ 'Add Purchase Order' => 'Dodaj Zamówienie Zakupu',
+ 'Add Sales Order' => 'Dodaj Zamówienie Klienta',
+ 'Add Service' => 'Dodaj Us³ugi',
+ 'Address' => 'Adres',
+ 'Apr' => 'Kwiecieñ',
+ 'April' => 'Kwiecieñ',
+ 'Assemblies' => 'Zestawienia',
+ 'Assemblies restocked!' => 'Zestawienia uzupe³nione',
+ 'Assembly Number missing!' => 'Brak Numeru Zestawienia!',
+ 'Attachment' => 'Za³±cznik',
+ 'Aug' => 'Sierpieñ',
+ 'August' => 'Sierpieñ',
+ 'BOM' => 'Zestawienie materia³owe',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Pojemnik',
+ 'Bought' => 'Zakupione',
+ 'COGS' => 'Koszta Sprzeda¿y',
+ 'Cannot delete item already invoiced!' => 'Nie mo¿na usun±æ pozycji zafakturowanej!',
+ 'Cannot delete item on order!' => 'Nie mo¿na usunac zamówionego produktu!',
+ 'Cannot delete item which is part of an assembly!' => 'Nie mo¿na usun±æ czê¶ci z zestawienia!',
+ 'Cannot delete item!' => 'Nie mo¿esz usun±æ pozycji!',
+ 'Cannot stock assemblies!' => 'Nie mo¿na wstawiæ z³o¿enia',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Kontynuj',
+ 'Copies' => 'Kopie',
+ 'Dec' => 'Grudzieñ',
+ 'December' => 'Grudzieñ',
+ 'Delete' => 'Usuñ',
+ 'Delivery Date' => 'Data Dostawy',
+ 'Description' => 'Opis',
+ 'Drawing' => 'Rysunek',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'Brak adresu E-mail!',
+ 'Edit Assembly' => 'Zmiany Zestawieñ',
+ 'Edit Part' => 'Zmiany Produktu',
+ 'Edit Service' => 'Zmiany Us³ug',
+ 'Expense' => 'Koszt',
+ 'Extended' => 'Warto¶æ Netto',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Luty',
+ 'February' => 'Luty',
+ 'From' => 'Od',
+ 'Image' => 'Grafika',
+ 'In-line' => 'W³±czony',
+ 'Include in Report' => 'Do³±cz w Sprawozdaniu',
+ 'Income' => 'Przychód',
+ 'Individual Items' => 'Indywidualne Czê¶ci',
+ 'Inventory' => 'Inwentarz',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'Ilo¶æ Inventarza musi byæ równa zero zanim bêdzie mozna zdezaktualizowaæ to z³o¿enie!',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'Ilo¶æ inventarza musi byæ równa zero zanim bêdzie mo¿na zdezaktualizowaæ t± czê¶æ!',
+ 'Inventory quantity must be zero!' => 'Ilo¶æc Inventarza musi byæ równa zero',
+ 'Invoice' => 'Faktura',
+ 'Invoice Date missing!' => 'Brak Daty Wystawienia',
+ 'Invoice Number' => 'Numer Faktury',
+ 'Invoice Number missing!' => 'Brak Numeru Faktury',
+ 'Item deleted!' => 'Pozycja usuniêta',
+ 'Item not on file!' => 'Produkt nie jest w zbiorze!',
+ 'Jan' => 'Styczeñ',
+ 'January' => 'Styczeñ',
+ 'Jul' => 'Lipiec',
+ 'July' => 'Lipiec',
+ 'Jun' => 'Czerwiec',
+ 'June' => 'Czerwiec',
+ 'Last Cost' => 'Cena Zakupu',
+ 'Line Total' => 'Suma ca³kowita',
+ 'Link Accounts' => 'Konta dowi±zane',
+ 'List Price' => 'Cena',
+ 'Make' => 'Marka',
+ 'Mar' => 'Marzec',
+ 'March' => 'Marzec',
+ 'May' => 'Maj',
+ 'May ' => 'Maj',
+ 'Message' => 'Wiadomo¶æ',
+ 'Microfiche' => 'Mikrofilm',
+ 'Model' => 'Model',
+ 'Name' => 'Nazwa',
+ 'No.' => 'No.',
+ 'Notes' => 'Noty',
+ 'Nov' => 'Listopad',
+ 'November' => 'Listopad',
+ 'Number' => 'Numer Katalogu',
+ 'Number missing in Row' => 'Brak Numeru w Rzêdzie',
+ 'Obsolete' => 'Zdezaktualizowane',
+ 'Oct' => 'Pa¿dziernik',
+ 'October' => 'Pa¿dziernik',
+ 'On Hand' => 'Na Stanie',
+ 'On Order' => 'Zamawiane',
+ 'Order' => 'Zamówienie',
+ 'Order Date missing!' => 'Brak Daty Zamówienia',
+ 'Order Number' => 'Numer Zamówienia',
+ 'Order Number missing!' => 'Brak Numeru Zamówienia',
+ 'Ordered' => 'Zamówione',
+ 'Orphaned' => 'Zbêdne',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Wykaz Dostawy',
+ 'Packing List Date missing!' => 'Brak Daty Wykazu Dostawy',
+ 'Packing List Number missing!' => 'Brak Numeru Wykazu Dostawy',
+ 'Part' => 'Produkt',
+ 'Part Number missing!' => 'Brak Symbolu Produktu!',
+ 'Parts' => 'Produkty',
+ 'Phone' => 'Tel.',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Cena Netto',
+ 'Printer' => 'Drukarka',
+ 'Project' => 'Projekt',
+ 'Purchase Order' => 'Zamówienie Zakupu',
+ 'Qty' => 'Ilo¶æ',
+ 'ROP' => 'PPZ',
+ 'Recd' => 'Otrzymano',
+ 'Required by' => 'Termin Dostawy',
+ 'Sales' => 'Sprzeda¿',
+ 'Sales Order' => 'Zamówienie Klienta',
+ 'Save' => 'Zapisz',
+ 'Screen' => 'Ekran',
+ 'Select from one of the items below' => 'Wybierz jeden z poni¿szych artyku³ów',
+ 'Select postscript or PDF!' => 'Wybierz postscript lub PDF',
+ 'Sell Price' => 'Cena Sprzeda¿y',
+ 'Sep' => 'Wrzesieñ',
+ 'September' => 'Wrzesieñ',
+ 'Service' => 'Us³ugi',
+ 'Service Number missing!' => 'Brak Numeru Us³ugi!',
+ 'Services' => 'Us³ugi',
+ 'Ship' => 'Wy¶lij',
+ 'Ship to' => 'Wy¶lij do',
+ 'Short' => 'Niedobór',
+ 'Sold' => 'Sprzedane',
+ 'Stock Assembly' => 'Wstaw Z³o¿enie',
+ 'Subject' => 'Tre¶æ',
+ 'Subtotal' => 'Warto¶æ Netto',
+ 'Tax' => 'Podatek',
+ 'To' => 'do',
+ 'Top Level' => 'Najwy¿szy Poziom',
+ 'Total' => 'Warto¶æ Brutto',
+ 'Unit' => 'Jednostka',
+ 'Unit of measure' => 'Jednostka miary',
+ 'Update' => 'Uzupe³nij',
+ 'Updated' => 'Uzupe³nione',
+ 'Weight' => 'Waga',
+ 'What type of item is this?' => 'Co to za rodzaj artyku³u',
+ 'ea' => 'szt',
+ 'emailed to' => 'email do',
+ 'hr' => 'godz',
+ 'sent to printer' => 'wys³ano do drukarki',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'assembly_row' => 'assembly_row',
+ 'check_form' => 'check_form',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'delete_assembly' => 'delete_assembly',
+ 'delete_item' => 'delete_item',
+ 'delete_part' => 'delete_part',
+ 'delete_service' => 'delete_service',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'link_part' => 'link_part',
+ 'list_assemblies' => 'list_assemblies',
+ 'makemodel_row' => 'makemodel_row',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'parts_subtotal' => 'parts_subtotal',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'restock_assemblies' => 'restock_assemblies',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'stock_assembly' => 'stock_assembly',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'dodaj' => 'add',
+ 'dodaj_zestawienie' => 'add_assembly',
+ 'dodaj_produkt' => 'add_part',
+ 'dodaj_us³ugi' => 'add_service',
+ 'kontynuj' => 'continue',
+ 'usuñ' => 'delete',
+ 'zmiany_zestawieñ' => 'edit_assembly',
+ 'zmiany_produktu' => 'edit_part',
+ 'zmiany_us³ug' => 'edit_service',
+ 'zapisz' => 'save',
+ 'uzupe³nij' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/pl/io b/sql-ledger/locale/pl/io
new file mode 100644
index 0000000..9807907
--- /dev/null
+++ b/sql-ledger/locale/pl/io
@@ -0,0 +1,106 @@
+$self{texts} = {
+ 'Add Purchase Order' => 'Dodaj Zamówienie Zakupu',
+ 'Add Sales Order' => 'Dodaj Zamówienie Klienta',
+ 'Address' => 'Adres',
+ 'Apr' => 'Kwiecieñ',
+ 'April' => 'Kwiecieñ',
+ 'Attachment' => 'Za³±cznik',
+ 'Aug' => 'Sierpieñ',
+ 'August' => 'Sierpieñ',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Pojemnik',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Kontynuj',
+ 'Copies' => 'Kopie',
+ 'Dec' => 'Grudzieñ',
+ 'December' => 'Grudzieñ',
+ 'Delivery Date' => 'Data Dostawy',
+ 'Description' => 'Opis',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'Brak adresu E-mail!',
+ 'Extended' => 'Warto¶æ Netto',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Luty',
+ 'February' => 'Luty',
+ 'In-line' => 'W³±czony',
+ 'Invoice' => 'Faktura',
+ 'Invoice Date missing!' => 'Brak Daty Wystawienia',
+ 'Invoice Number missing!' => 'Brak Numeru Faktury',
+ 'Item not on file!' => 'Produkt nie jest w zbiorze!',
+ 'Jan' => 'Styczeñ',
+ 'January' => 'Styczeñ',
+ 'Jul' => 'Lipiec',
+ 'July' => 'Lipiec',
+ 'Jun' => 'Czerwiec',
+ 'June' => 'Czerwiec',
+ 'Mar' => 'Marzec',
+ 'March' => 'Marzec',
+ 'May' => 'Maj',
+ 'May ' => 'Maj',
+ 'Message' => 'Wiadomo¶æ',
+ 'Name' => 'Nazwa',
+ 'No.' => 'No.',
+ 'Nov' => 'Listopad',
+ 'November' => 'Listopad',
+ 'Number' => 'Numer Katalogu',
+ 'Number missing in Row' => 'Brak Numeru w Rzêdzie',
+ 'Oct' => 'Pa¿dziernik',
+ 'October' => 'Pa¿dziernik',
+ 'Order' => 'Zamówienie',
+ 'Order Date missing!' => 'Brak Daty Zamówienia',
+ 'Order Number missing!' => 'Brak Numeru Zamówienia',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Wykaz Dostawy',
+ 'Packing List Date missing!' => 'Brak Daty Wykazu Dostawy',
+ 'Packing List Number missing!' => 'Brak Numeru Wykazu Dostawy',
+ 'Part' => 'Produkt',
+ 'Phone' => 'Tel.',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Cena Netto',
+ 'Printer' => 'Drukarka',
+ 'Project' => 'Projekt',
+ 'Purchase Order' => 'Zamówienie Zakupu',
+ 'Qty' => 'Ilo¶æ',
+ 'Recd' => 'Otrzymano',
+ 'Required by' => 'Termin Dostawy',
+ 'Sales Order' => 'Zamówienie Klienta',
+ 'Screen' => 'Ekran',
+ 'Select from one of the items below' => 'Wybierz jeden z poni¿szych artyku³ów',
+ 'Select postscript or PDF!' => 'Wybierz postscript lub PDF',
+ 'Sep' => 'Wrzesieñ',
+ 'September' => 'Wrzesieñ',
+ 'Service' => 'Us³ugi',
+ 'Ship' => 'Wy¶lij',
+ 'Ship to' => 'Wy¶lij do',
+ 'Subject' => 'Tre¶æ',
+ 'To' => 'do',
+ 'Unit' => 'Jednostka',
+ 'What type of item is this?' => 'Co to za rodzaj artyku³u',
+ 'emailed to' => 'email do',
+ 'sent to printer' => 'wys³ano do drukarki',
+};
+
+$self{subs} = {
+ 'check_form' => 'check_form',
+ 'customer_details' => 'customer_details',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'kontynuj' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/pl/ir b/sql-ledger/locale/pl/ir
new file mode 100644
index 0000000..2196cd1
--- /dev/null
+++ b/sql-ledger/locale/pl/ir
@@ -0,0 +1,178 @@
+$self{texts} = {
+ 'Account' => 'Konto',
+ 'Add Purchase Invoice' => 'Zarejestrój Fakturê VAT Zakupu',
+ 'Add Purchase Order' => 'Dodaj Zamówienie Zakupu',
+ 'Add Sales Order' => 'Dodaj Zamówienie Klienta',
+ 'Address' => 'Adres',
+ 'Amount' => 'Kwota',
+ 'Apr' => 'Kwiecieñ',
+ 'April' => 'Kwiecieñ',
+ 'Are you sure you want to delete Invoice Number' => 'Czy chcesz usun±æ Numer Faktury?',
+ 'Attachment' => 'Za³±cznik',
+ 'Aug' => 'Sierpieñ',
+ 'August' => 'Sierpieñ',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Pojemnik',
+ 'Cannot delete invoice!' => 'Nie mo¿esz usun±æ factury!',
+ 'Cannot post invoice for a closed period!' => 'Nie mo¿na zksiêgowaæ faktury pozamkniêciu okresu!',
+ 'Cannot post invoice!' => 'Nie mo¿esz zatwierdziæ faktury!',
+ 'Cannot post payment for a closed period!' => 'Nie mo¿na zaksiêgowaæ p³atno¶ci po zamkniêciu okresu!',
+ 'Cc' => 'Cc',
+ 'Confirm!' => 'Potwierd¿!',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Kontynuj',
+ 'Copies' => 'Kopie',
+ 'Currency' => 'Waluta',
+ 'Customer not on file!' => 'Brak Klienta w bazie danych',
+ 'Date' => 'Data',
+ 'Date Due' => 'Termin P³atno¶ci',
+ 'Dec' => 'Grudzieñ',
+ 'December' => 'Grudzieñ',
+ 'Delete' => 'Usuñ',
+ 'Delivery Date' => 'Data Dostawy',
+ 'Description' => 'Opis',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'Brak adresu E-mail!',
+ 'Edit Purchase Invoice' => 'Zmiany Faktury Zamówienia',
+ 'Exch' => 'Kurs',
+ 'Exchangerate' => 'Kurs Wymiany',
+ 'Exchangerate for payment missing!' => 'Brakuje kursu wymiany dla p³atno¶ci!',
+ 'Exchangerate missing!' => 'Brakuje kursu wymiany',
+ 'Extended' => 'Warto¶æ Netto',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Luty',
+ 'February' => 'Luty',
+ 'In-line' => 'W³±czony',
+ 'Invoice' => 'Faktura',
+ 'Invoice Date' => 'Data Wystawienia',
+ 'Invoice Date missing!' => 'Brak Daty Wystawienia',
+ 'Invoice Number' => 'Numer Faktury',
+ 'Invoice Number missing!' => 'Brak Numeru Faktury',
+ 'Invoice deleted!' => 'Faktura usuniêta',
+ 'Invoice posted!' => 'Faktura zatwierdzona',
+ 'Item not on file!' => 'Produkt nie jest w zbiorze!',
+ 'Jan' => 'Styczeñ',
+ 'January' => 'Styczeñ',
+ 'Jul' => 'Lipiec',
+ 'July' => 'Lipiec',
+ 'Jun' => 'Czerwiec',
+ 'June' => 'Czerwiec',
+ 'Mar' => 'Marzec',
+ 'March' => 'Marzec',
+ 'May' => 'Maj',
+ 'May ' => 'Maj',
+ 'Message' => 'Wiadomo¶æ',
+ 'Name' => 'Nazwa',
+ 'No.' => 'No.',
+ 'Notes' => 'Noty',
+ 'Nov' => 'Listopad',
+ 'November' => 'Listopad',
+ 'Number' => 'Numer Katalogu',
+ 'Number missing in Row' => 'Brak Numeru w Rzêdzie',
+ 'Oct' => 'Pa¿dziernik',
+ 'October' => 'Pa¿dziernik',
+ 'Order' => 'Zamówienie',
+ 'Order Date missing!' => 'Brak Daty Zamówienia',
+ 'Order Number' => 'Numer Zamówienia',
+ 'Order Number missing!' => 'Brak Numeru Zamówienia',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Wykaz Dostawy',
+ 'Packing List Date missing!' => 'Brak Daty Wykazu Dostawy',
+ 'Packing List Number missing!' => 'Brak Numeru Wykazu Dostawy',
+ 'Part' => 'Produkt',
+ 'Payment date missing!' => 'Brak Daty P³atno¶ci',
+ 'Payments' => 'P³atno¶ci',
+ 'Phone' => 'Tel.',
+ 'Post' => 'Zatwierd¿',
+ 'Post as new' => 'Zatwierd¿ jako nowe',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Cena Netto',
+ 'Printer' => 'Drukarka',
+ 'Project' => 'Projekt',
+ 'Project not on file!' => 'Brak Projektu w zbiorze danych!',
+ 'Purchase Order' => 'Zamówienie Zakupu',
+ 'Qty' => 'Ilo¶æ',
+ 'Recd' => 'Otrzymano',
+ 'Record in' => 'Zapisz w',
+ 'Required by' => 'Termin Dostawy',
+ 'Sales Order' => 'Zamówienie Klienta',
+ 'Screen' => 'Ekran',
+ 'Select from one of the items below' => 'Wybierz jeden z poni¿szych artyku³ów',
+ 'Select from one of the names below' => 'Wybierz nazwê z poni¿szych',
+ 'Select from one of the projects below' => 'Wybierz z projektów',
+ 'Select postscript or PDF!' => 'Wybierz postscript lub PDF',
+ 'Sep' => 'Wrzesieñ',
+ 'September' => 'Wrzesieñ',
+ 'Service' => 'Us³ugi',
+ 'Ship' => 'Wy¶lij',
+ 'Ship to' => 'Wy¶lij do',
+ 'Source' => '¯ród³o',
+ 'Subject' => 'Tre¶æ',
+ 'Subtotal' => 'Warto¶æ Netto',
+ 'Tax Included' => 'Podatek Wliczony',
+ 'To' => 'do',
+ 'Total' => 'Warto¶æ Brutto',
+ 'Unit' => 'Jednostka',
+ 'Update' => 'Uzupe³nij',
+ 'Vendor' => 'Dostawca',
+ 'Vendor missing!' => 'Brak Dostawcy',
+ 'Vendor not on file!' => 'Brak Dostawcy w bazie danych',
+ 'What type of item is this?' => 'Co to za rodzaj artyku³u',
+ 'Yes' => 'Tak',
+ 'ea' => 'szt',
+ 'emailed to' => 'email do',
+ 'sent to printer' => 'wys³ano do drukarki',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'kontynuj' => 'continue',
+ 'usuñ' => 'delete',
+ 'zamówienie' => 'order',
+ 'zatwierd¿' => 'post',
+ 'zatwierd¿_jako_nowe' => 'post_as_new',
+ 'uzupe³nij' => 'update',
+ 'tak' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/pl/is b/sql-ledger/locale/pl/is
new file mode 100644
index 0000000..b431b77
--- /dev/null
+++ b/sql-ledger/locale/pl/is
@@ -0,0 +1,185 @@
+$self{texts} = {
+ 'Account' => 'Konto',
+ 'Add Purchase Order' => 'Dodaj Zamówienie Zakupu',
+ 'Add Sales Invoice' => 'Zarejestrój Fakturê VAT Sprzeda¿y',
+ 'Add Sales Order' => 'Dodaj Zamówienie Klienta',
+ 'Address' => 'Adres',
+ 'Amount' => 'Kwota',
+ 'Apr' => 'Kwiecieñ',
+ 'April' => 'Kwiecieñ',
+ 'Are you sure you want to delete Invoice Number' => 'Czy chcesz usun±æ Numer Faktury?',
+ 'Attachment' => 'Za³±cznik',
+ 'Aug' => 'Sierpieñ',
+ 'August' => 'Sierpieñ',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Pojemnik',
+ 'Cannot delete invoice!' => 'Nie mo¿esz usun±æ factury!',
+ 'Cannot post invoice for a closed period!' => 'Nie mo¿na zksiêgowaæ faktury pozamkniêciu okresu!',
+ 'Cannot post invoice!' => 'Nie mo¿esz zatwierdziæ faktury!',
+ 'Cannot post payment for a closed period!' => 'Nie mo¿na zaksiêgowaæ p³atno¶ci po zamkniêciu okresu!',
+ 'Cc' => 'Cc',
+ 'Confirm!' => 'Potwierd¿!',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Kontynuj',
+ 'Copies' => 'Kopie',
+ 'Credit Limit' => 'Limit Kredytu',
+ 'Currency' => 'Waluta',
+ 'Customer' => 'Klient',
+ 'Customer missing!' => 'Brak Klienta',
+ 'Customer not on file!' => 'Brak Klienta w bazie danych',
+ 'Date' => 'Data',
+ 'Date Due' => 'Termin P³atno¶ci',
+ 'Dec' => 'Grudzieñ',
+ 'December' => 'Grudzieñ',
+ 'Delete' => 'Usuñ',
+ 'Delivery Date' => 'Data Dostawy',
+ 'Description' => 'Opis',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'Brak adresu E-mail!',
+ 'Edit Sales Invoice' => 'Zmiany Faktury Sprzeda¿y',
+ 'Exch' => 'Kurs',
+ 'Exchangerate' => 'Kurs Wymiany',
+ 'Exchangerate for payment missing!' => 'Brakuje kursu wymiany dla p³atno¶ci!',
+ 'Exchangerate missing!' => 'Brakuje kursu wymiany',
+ 'Extended' => 'Warto¶æ Netto',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Luty',
+ 'February' => 'Luty',
+ 'In-line' => 'W³±czony',
+ 'Invoice' => 'Faktura',
+ 'Invoice Date' => 'Data Wystawienia',
+ 'Invoice Date missing!' => 'Brak Daty Wystawienia',
+ 'Invoice Number' => 'Numer Faktury',
+ 'Invoice Number missing!' => 'Brak Numeru Faktury',
+ 'Invoice deleted!' => 'Faktura usuniêta',
+ 'Invoice posted!' => 'Faktura zatwierdzona',
+ 'Item not on file!' => 'Produkt nie jest w zbiorze!',
+ 'Jan' => 'Styczeñ',
+ 'January' => 'Styczeñ',
+ 'Jul' => 'Lipiec',
+ 'July' => 'Lipiec',
+ 'Jun' => 'Czerwiec',
+ 'June' => 'Czerwiec',
+ 'Mar' => 'Marzec',
+ 'March' => 'Marzec',
+ 'May' => 'Maj',
+ 'May ' => 'Maj',
+ 'Message' => 'Wiadomo¶æ',
+ 'Name' => 'Nazwa',
+ 'No.' => 'No.',
+ 'Notes' => 'Noty',
+ 'Nov' => 'Listopad',
+ 'November' => 'Listopad',
+ 'Number' => 'Numer Katalogu',
+ 'Number missing in Row' => 'Brak Numeru w Rzêdzie',
+ 'Oct' => 'Pa¿dziernik',
+ 'October' => 'Pa¿dziernik',
+ 'Order' => 'Zamówienie',
+ 'Order Date missing!' => 'Brak Daty Zamówienia',
+ 'Order Number' => 'Numer Zamówienia',
+ 'Order Number missing!' => 'Brak Numeru Zamówienia',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Wykaz Dostawy',
+ 'Packing List Date missing!' => 'Brak Daty Wykazu Dostawy',
+ 'Packing List Number missing!' => 'Brak Numeru Wykazu Dostawy',
+ 'Part' => 'Produkt',
+ 'Payment date missing!' => 'Brak Daty P³atno¶ci',
+ 'Payments' => 'P³atno¶ci',
+ 'Phone' => 'Tel.',
+ 'Post' => 'Zatwierd¿',
+ 'Post as new' => 'Zatwierd¿ jako nowe',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Cena Netto',
+ 'Print' => 'Drukuj',
+ 'Printer' => 'Drukarka',
+ 'Project' => 'Projekt',
+ 'Project not on file!' => 'Brak Projektu w zbiorze danych!',
+ 'Purchase Order' => 'Zamówienie Zakupu',
+ 'Qty' => 'Ilo¶æ',
+ 'Recd' => 'Otrzymano',
+ 'Record in' => 'Zapisz w',
+ 'Remaining' => 'Pozosta³e',
+ 'Required by' => 'Termin Dostawy',
+ 'Sales Order' => 'Zamówienie Klienta',
+ 'Screen' => 'Ekran',
+ 'Select from one of the items below' => 'Wybierz jeden z poni¿szych artyku³ów',
+ 'Select from one of the names below' => 'Wybierz nazwê z poni¿szych',
+ 'Select from one of the projects below' => 'Wybierz z projektów',
+ 'Select postscript or PDF!' => 'Wybierz postscript lub PDF',
+ 'Sep' => 'Wrzesieñ',
+ 'September' => 'Wrzesieñ',
+ 'Service' => 'Us³ugi',
+ 'Ship' => 'Wy¶lij',
+ 'Ship to' => 'Wy¶lij do',
+ 'Ship via' => 'Wy¶lij przez',
+ 'Source' => '¯ród³o',
+ 'Subject' => 'Tre¶æ',
+ 'Subtotal' => 'Warto¶æ Netto',
+ 'Tax Included' => 'Podatek Wliczony',
+ 'To' => 'do',
+ 'Total' => 'Warto¶æ Brutto',
+ 'Unit' => 'Jednostka',
+ 'Update' => 'Uzupe³nij',
+ 'Vendor not on file!' => 'Brak Dostawcy w bazie danych',
+ 'What type of item is this?' => 'Co to za rodzaj artyku³u',
+ 'Yes' => 'Tak',
+ 'ea' => 'szt',
+ 'emailed to' => 'email do',
+ 'sent to printer' => 'wys³ano do drukarki',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'kontynuj' => 'continue',
+ 'usuñ' => 'delete',
+ 'e_mail' => 'e_mail',
+ 'zamówienie' => 'order',
+ 'zatwierd¿' => 'post',
+ 'zatwierd¿_jako_nowe' => 'post_as_new',
+ 'drukuj' => 'print',
+ 'wy¶lij_do' => 'ship_to',
+ 'uzupe³nij' => 'update',
+ 'tak' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/pl/login b/sql-ledger/locale/pl/login
new file mode 100644
index 0000000..cd96d95
--- /dev/null
+++ b/sql-ledger/locale/pl/login
@@ -0,0 +1,28 @@
+$self{texts} = {
+ 'About' => 'Na Temat',
+ 'Accounting' => 'Ksiêgowo¶æ',
+ 'Database Host' => 'Host Bazy Danych',
+ 'Dataset' => 'Zbiór Danych',
+ 'Incorrect Dataset version!' => 'Nieprawid³owa wersja Zbioru Danych',
+ 'Incorrect Password!' => 'Nieprawid³owe Has³o',
+ 'Licensed to' => 'Licencja nale¿y do:',
+ 'Login' => 'Zarejestrój siê',
+ 'Name' => 'Nazwa',
+ 'Password' => 'Has³o',
+ 'User' => 'U¿ytkownik',
+ 'Version' => 'Wersja',
+ 'You are logged out!' => 'Jeste¶ wyrejestrowany!',
+ 'You did not enter a name!' => 'Nie wstawiono nazwy!',
+ 'is not a member!' => 'Nie jest cz³onkiem',
+ 'localhost' => 'host lokalny',
+};
+
+$self{subs} = {
+ 'company_logo' => 'company_logo',
+ 'login' => 'login',
+ 'login_screen' => 'login_screen',
+ 'logout' => 'logout',
+ 'zarejestrój_siê' => 'login',
+};
+
+1;
diff --git a/sql-ledger/locale/pl/menu b/sql-ledger/locale/pl/menu
new file mode 100644
index 0000000..0bd3b89
--- /dev/null
+++ b/sql-ledger/locale/pl/menu
@@ -0,0 +1,72 @@
+$self{texts} = {
+ 'AP' => 'Ksiêga Zobowi±zañ',
+ 'AP Aging' => 'Zobowi±zania Przeterminowane',
+ 'AR' => 'Ksiêga Nale¿no¶ci',
+ 'AR Aging' => 'Nale¿no¶ci Przeterminowane',
+ 'Accounting Menu' => 'Menu Ksiêgowo¶ci',
+ 'Add Account' => 'Dodaj Konto',
+ 'Add Assembly' => 'Dodaj Zestawienie',
+ 'Add Customer' => 'Dodaj Odbiorcê',
+ 'Add GIFI' => 'Dodaj GIFI',
+ 'Add Part' => 'Dodaj Produkt',
+ 'Add Project' => 'Dodaj Projekt',
+ 'Add Service' => 'Dodaj Us³ugi',
+ 'Add Transaction' => 'Dodaj Transakcjê',
+ 'Add Vendor' => 'Dodaj Dostawcê',
+ 'Assemblies' => 'Zestawienia',
+ 'Audit Control' => 'Kontrola Audytu',
+ 'Backup' => 'Kopia Zapasowa',
+ 'Balance Sheet' => 'Bilans',
+ 'Cash' => 'Kasa',
+ 'Chart of Accounts' => 'Plan Kont',
+ 'Check' => 'Czek',
+ 'Customers' => 'Klienci',
+ 'General Ledger' => 'Ksiêga G³ówna',
+ 'Goods & Services' => 'Produkty i Us³ugi',
+ 'HTML Templates' => 'Szablony HTML',
+ 'Income Statement' => 'Rachunek Zysków i Strat',
+ 'Invoice' => 'Faktura',
+ 'LaTeX Templates' => 'Szablony LaTeX',
+ 'List Accounts' => 'Spis Kont',
+ 'List GIFI' => 'Wykaz GIFI',
+ 'Logout' => 'Wyrejestrój siê',
+ 'Order Entry' => 'Wystawianie Zamówieñ',
+ 'Packing List' => 'Wykaz Dostawy',
+ 'Parts' => 'Produkty',
+ 'Payment' => 'P³atno¶æ',
+ 'Payments' => 'P³atno¶ci',
+ 'Preferences' => 'Preferencje',
+ 'Projects' => 'Projekty',
+ 'Purchase Invoice' => 'Faktura VAT Zakupu',
+ 'Purchase Order' => 'Zamówienie Zakupu',
+ 'Purchase Orders' => 'Zamówienia Zakupu',
+ 'Receipt' => 'Wp³ata',
+ 'Receipts' => 'Wp³aty',
+ 'Reconciliation' => 'Zgodno¶æ Rozliczeñ',
+ 'Reports' => 'Sprawozdania',
+ 'Sales Invoice' => 'Faktura VAT Sprzeda¿y',
+ 'Sales Order' => 'Zamówienie Klienta',
+ 'Sales Orders' => 'Zamówienia Klientów',
+ 'Save to File' => 'Zapisz w zbiorze',
+ 'Send by E-Mail' => 'Wys³ano przy u¿yciu E-Mail',
+ 'Services' => 'Us³ugi',
+ 'Statement' => 'Wykaz',
+ 'Stock Assembly' => 'Wstaw Z³o¿enie',
+ 'Stylesheet' => 'Strona Stylowa',
+ 'System' => 'System',
+ 'Tax collected' => 'Podatek pobrany',
+ 'Tax paid' => 'Podatek zap³acony',
+ 'Transactions' => 'Transakcje',
+ 'Trial Balance' => 'Bilans Porównawczy',
+ 'Vendors' => 'Dostawcy',
+ 'Version' => 'Wersja',
+ 'localhost' => 'host lokalny',
+};
+
+$self{subs} = {
+ 'acc_menu' => 'acc_menu',
+ 'display' => 'display',
+ 'section_menu' => 'section_menu',
+};
+
+1;
diff --git a/sql-ledger/locale/pl/oe b/sql-ledger/locale/pl/oe
new file mode 100644
index 0000000..511b834
--- /dev/null
+++ b/sql-ledger/locale/pl/oe
@@ -0,0 +1,199 @@
+$self{texts} = {
+ 'Add' => 'Dodaj',
+ 'Add Purchase Invoice' => 'Zarejestrój Fakturê VAT Zakupu',
+ 'Add Purchase Order' => 'Dodaj Zamówienie Zakupu',
+ 'Add Sales Invoice' => 'Zarejestrój Fakturê VAT Sprzeda¿y',
+ 'Add Sales Order' => 'Dodaj Zamówienie Klienta',
+ 'Address' => 'Adres',
+ 'Amount' => 'Kwota',
+ 'Apr' => 'Kwiecieñ',
+ 'April' => 'Kwiecieñ',
+ 'Are you sure you want to delete Order Number' => 'Czy chcesz usun±æ Numer Zamówienia?',
+ 'Attachment' => 'Za³±cznik',
+ 'Aug' => 'Sierpieñ',
+ 'August' => 'Sierpieñ',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Pojemnik',
+ 'C' => 'C',
+ 'Cannot delete order!' => 'Nie mo¿esz usun±æ zamówienia!',
+ 'Cannot save order!' => 'Nie mo¿na zapisaæ zamowienia!',
+ 'Cc' => 'Cc',
+ 'Closed' => 'Zamkniêto',
+ 'Confirm!' => 'Potwierd¿!',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Kontynuj',
+ 'Copies' => 'Kopie',
+ 'Credit Limit' => 'Limit Kredytu',
+ 'Curr' => 'Waluta',
+ 'Currency' => 'Waluta',
+ 'Customer' => 'Klient',
+ 'Customer missing!' => 'Brak Klienta',
+ 'Customer not on file!' => 'Brak Klienta w bazie danych',
+ 'Date' => 'Data',
+ 'Dec' => 'Grudzieñ',
+ 'December' => 'Grudzieñ',
+ 'Delete' => 'Usuñ',
+ 'Delivery Date' => 'Data Dostawy',
+ 'Description' => 'Opis',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'Brak adresu E-mail!',
+ 'Edit Purchase Order' => 'Zmiany Zamówienia Zakupu',
+ 'Edit Sales Order' => 'Zmiany Zamówienia Klienta',
+ 'Exchangerate' => 'Kurs Wymiany',
+ 'Exchangerate missing!' => 'Brakuje kursu wymiany',
+ 'Extended' => 'Warto¶æ Netto',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Luty',
+ 'February' => 'Luty',
+ 'From' => 'Od',
+ 'ID' => 'Identyfikator',
+ 'In-line' => 'W³±czony',
+ 'Include in Report' => 'Do³±cz w Sprawozdaniu',
+ 'Invoice' => 'Faktura',
+ 'Invoice Date missing!' => 'Brak Daty Wystawienia',
+ 'Invoice Number missing!' => 'Brak Numeru Faktury',
+ 'Item not on file!' => 'Produkt nie jest w zbiorze!',
+ 'Jan' => 'Styczeñ',
+ 'January' => 'Styczeñ',
+ 'Jul' => 'Lipiec',
+ 'July' => 'Lipiec',
+ 'Jun' => 'Czerwiec',
+ 'June' => 'Czerwiec',
+ 'Mar' => 'Marzec',
+ 'March' => 'Marzec',
+ 'May' => 'Maj',
+ 'May ' => 'Maj',
+ 'Message' => 'Wiadomo¶æ',
+ 'Name' => 'Nazwa',
+ 'No.' => 'No.',
+ 'Notes' => 'Noty',
+ 'Nov' => 'Listopad',
+ 'November' => 'Listopad',
+ 'Number' => 'Numer Katalogu',
+ 'Number missing in Row' => 'Brak Numeru w Rzêdzie',
+ 'O' => 'O',
+ 'Oct' => 'Pa¿dziernik',
+ 'October' => 'Pa¿dziernik',
+ 'Open' => 'Otworzono',
+ 'Order' => 'Zamówienie',
+ 'Order Date' => 'Data Zamówienia',
+ 'Order Date missing!' => 'Brak Daty Zamówienia',
+ 'Order Number' => 'Numer Zamówienia',
+ 'Order Number missing!' => 'Brak Numeru Zamówienia',
+ 'Order deleted!' => 'Zamówienie usuniête',
+ 'Order saved!' => 'Zamówienie zapisane',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Wykaz Dostawy',
+ 'Packing List Date missing!' => 'Brak Daty Wykazu Dostawy',
+ 'Packing List Number missing!' => 'Brak Numeru Wykazu Dostawy',
+ 'Part' => 'Produkt',
+ 'Phone' => 'Tel.',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Cena Netto',
+ 'Print' => 'Drukuj',
+ 'Printer' => 'Drukarka',
+ 'Project' => 'Projekt',
+ 'Project not on file!' => 'Brak Projektu w zbiorze danych!',
+ 'Purchase Order' => 'Zamówienie Zakupu',
+ 'Purchase Orders' => 'Zamówienia Zakupu',
+ 'Qty' => 'Ilo¶æ',
+ 'Recd' => 'Otrzymano',
+ 'Remaining' => 'Pozosta³e',
+ 'Required by' => 'Termin Dostawy',
+ 'Sales Order' => 'Zamówienie Klienta',
+ 'Sales Orders' => 'Zamówienia Klientów',
+ 'Save' => 'Zapisz',
+ 'Save as new' => 'Zapisz jako nowe',
+ 'Screen' => 'Ekran',
+ 'Select from one of the items below' => 'Wybierz jeden z poni¿szych artyku³ów',
+ 'Select from one of the names below' => 'Wybierz nazwê z poni¿szych',
+ 'Select from one of the projects below' => 'Wybierz z projektów',
+ 'Select postscript or PDF!' => 'Wybierz postscript lub PDF',
+ 'Sep' => 'Wrzesieñ',
+ 'September' => 'Wrzesieñ',
+ 'Service' => 'Us³ugi',
+ 'Ship' => 'Wy¶lij',
+ 'Ship to' => 'Wy¶lij do',
+ 'Ship via' => 'Wy¶lij przez',
+ 'Subject' => 'Tre¶æ',
+ 'Subtotal' => 'Warto¶æ Netto',
+ 'Tax' => 'Podatek',
+ 'Tax Included' => 'Podatek Wliczony',
+ 'Terms: Net' => 'Warunki: Netto',
+ 'To' => 'do',
+ 'Total' => 'Warto¶æ Brutto',
+ 'Unit' => 'Jednostka',
+ 'Update' => 'Uzupe³nij',
+ 'Vendor' => 'Dostawca',
+ 'Vendor missing!' => 'Brak Dostawcy',
+ 'Vendor not on file!' => 'Brak Dostawcy w bazie danych',
+ 'What type of item is this?' => 'Co to za rodzaj artyku³u',
+ 'Yes' => 'Tak',
+ 'days' => 'dni',
+ 'ea' => 'szt',
+ 'emailed to' => 'email do',
+ 'sent to printer' => 'wys³ano do drukarki',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_backorder' => 'create_backorder',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice' => 'invoice',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'order_links' => 'order_links',
+ 'orders' => 'orders',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_order' => 'prepare_order',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'save' => 'save',
+ 'save_as_new' => 'save_as_new',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'subtotal' => 'subtotal',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'dodaj' => 'add',
+ 'kontynuj' => 'continue',
+ 'usuñ' => 'delete',
+ 'e_mail' => 'e_mail',
+ 'faktura' => 'invoice',
+ 'drukuj' => 'print',
+ 'zapisz' => 'save',
+ 'zapisz_jako_nowe' => 'save_as_new',
+ 'wy¶lij_do' => 'ship_to',
+ 'uzupe³nij' => 'update',
+ 'tak' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/pl/pe b/sql-ledger/locale/pl/pe
new file mode 100644
index 0000000..88ab7fd
--- /dev/null
+++ b/sql-ledger/locale/pl/pe
@@ -0,0 +1,35 @@
+$self{texts} = {
+ 'Add' => 'Dodaj',
+ 'Add Project' => 'Dodaj Projekt',
+ 'All' => 'Wszystko',
+ 'Continue' => 'Kontynuj',
+ 'Delete' => 'Usuñ',
+ 'Description' => 'Opis',
+ 'Edit Project' => 'Zmiany Projektu',
+ 'Number' => 'Numer Katalogu',
+ 'Orphaned' => 'Zbêdne',
+ 'Project' => 'Projekt',
+ 'Project Number missing!' => 'Brak Numeru Projektu',
+ 'Project deleted!' => 'Projekt usuniêty',
+ 'Project saved!' => 'Projekt zapisany',
+ 'Projects' => 'Projekty',
+ 'Save' => 'Zapisz',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'dodaj' => 'add',
+ 'kontynuj' => 'continue',
+ 'usuñ' => 'delete',
+ 'zapisz' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/pl/rc b/sql-ledger/locale/pl/rc
new file mode 100644
index 0000000..98bc9bd
--- /dev/null
+++ b/sql-ledger/locale/pl/rc
@@ -0,0 +1,37 @@
+$self{texts} = {
+ 'Account' => 'Konto',
+ 'Balance' => 'Saldo',
+ 'Cleared Balance' => 'Zgadzaj±ce Saldo',
+ 'Continue' => 'Kontynuj',
+ 'Date' => 'Data',
+ 'Deposit' => 'Wp³ata',
+ 'Description' => 'Opis',
+ 'Difference' => 'Ró¿nica',
+ 'Done' => 'Zrobione',
+ 'Exchangerate Difference' => 'Ró¿nica Kursowa',
+ 'From' => 'Od',
+ 'Out of balance!' => 'Niezgodne Saldo',
+ 'Payment' => 'P³atno¶æ',
+ 'Reconciliation' => 'Zgodno¶æ Rozliczeñ',
+ 'Select all' => 'Wybierz wszystko',
+ 'Source' => '¯ród³o',
+ 'Statement Balance' => 'Wykaz Salda',
+ 'To' => 'do',
+ 'Update' => 'Uzupe³nij',
+};
+
+$self{subs} = {
+ 'continue' => 'continue',
+ 'display_form' => 'display_form',
+ 'done' => 'done',
+ 'get_payments' => 'get_payments',
+ 'reconciliation' => 'reconciliation',
+ 'select_all' => 'select_all',
+ 'update' => 'update',
+ 'kontynuj' => 'continue',
+ 'zrobione' => 'done',
+ 'wybierz_wszystko' => 'select_all',
+ 'uzupe³nij' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/pl/rp b/sql-ledger/locale/pl/rp
new file mode 100644
index 0000000..6abd702
--- /dev/null
+++ b/sql-ledger/locale/pl/rp
@@ -0,0 +1,117 @@
+$self{texts} = {
+ 'AP Aging' => 'Zobowi±zania Przeterminowane',
+ 'AR Aging' => 'Nale¿no¶ci Przeterminowane',
+ 'Account' => 'Konto',
+ 'Accounts' => 'Konta',
+ 'Amount' => 'Kwota',
+ 'Apr' => 'Kwiecieñ',
+ 'April' => 'Kwiecieñ',
+ 'Attachment' => 'Za³±cznik',
+ 'Aug' => 'Sierpieñ',
+ 'August' => 'Sierpieñ',
+ 'Balance Sheet' => 'Bilans',
+ 'Bcc' => 'Bcc',
+ 'Cash based' => 'Tryb Kasowy',
+ 'Cc' => 'Cc',
+ 'Compare to' => 'Porównaj z',
+ 'Continue' => 'Kontynuj',
+ 'Copies' => 'Kopie',
+ 'Credit' => 'Kredyt',
+ 'Current' => 'Bi¿±cy',
+ 'Customer' => 'Klient',
+ 'Date' => 'Data',
+ 'Debit' => 'Debet',
+ 'Dec' => 'Grudzieñ',
+ 'December' => 'Grudzieñ',
+ 'Decimalplaces' => 'Miejsca Dziesiêtne',
+ 'Description' => 'Opis',
+ 'Due' => 'P³atno¶æ',
+ 'E-mail' => 'E-mail',
+ 'E-mail Statement to' => 'E-mail Wykaz do',
+ 'Feb' => 'Luty',
+ 'February' => 'Luty',
+ 'From' => 'Od',
+ 'GIFI' => 'GIFI',
+ 'Heading' => 'Nag³ówek',
+ 'ID' => 'Identyfikator',
+ 'In-line' => 'W³±czony',
+ 'Include in Report' => 'Do³±cz w Sprawozdaniu',
+ 'Income Statement' => 'Rachunek Zysków i Strat',
+ 'Invoice' => 'Faktura',
+ 'Jan' => 'Styczeñ',
+ 'January' => 'Styczeñ',
+ 'Jul' => 'Lipiec',
+ 'July' => 'Lipiec',
+ 'Jun' => 'Czerwiec',
+ 'June' => 'Czerwiec',
+ 'Mar' => 'Marzec',
+ 'March' => 'Marzec',
+ 'May' => 'Maj',
+ 'May ' => 'Maj',
+ 'Message' => 'Wiadomo¶æ',
+ 'N/A' => 'N/A',
+ 'Nothing selected!' => 'Nic nie zaznaczone!',
+ 'Nov' => 'Listopad',
+ 'November' => 'Listopad',
+ 'Oct' => 'Pa¿dziernik',
+ 'October' => 'Pa¿dziernik',
+ 'PDF' => 'PDF',
+ 'Payments' => 'P³atno¶ci',
+ 'Postscript' => 'Postscript',
+ 'Print' => 'Drukuj',
+ 'Printer' => 'Drukarka',
+ 'Receipts' => 'Wp³aty',
+ 'Report for' => 'Raport dla',
+ 'Retained Earnings' => 'Zysk',
+ 'Screen' => 'Ekran',
+ 'Select all' => 'Wybierz wszystko',
+ 'Select postscript or PDF!' => 'Wybierz postscript lub PDF',
+ 'Sep' => 'Wrzesieñ',
+ 'September' => 'Wrzesieñ',
+ 'Source' => '¯ród³o',
+ 'Standard' => 'Standard',
+ 'Statement' => 'Wykaz',
+ 'Statement sent to' => 'Wykaz wys³any do',
+ 'Statements sent to printer!' => 'Wykaz wys³any do drukarki',
+ 'Subject' => 'Tre¶æ',
+ 'Subtotal' => 'Warto¶æ Netto',
+ 'Tax' => 'Podatek',
+ 'Tax collected' => 'Podatek pobrany',
+ 'Tax paid' => 'Podatek zap³acony',
+ 'To' => 'do',
+ 'Total' => 'Warto¶æ Brutto',
+ 'Trial Balance' => 'Bilans Porównawczy',
+ 'Vendor' => 'Dostawca',
+ 'as at' => 'tak samo',
+ 'collected on sales' => 'zebrany przy sprzeda¿y',
+ 'for Period' => 'za Okres',
+ 'paid on purchases' => 'zap³acony przy zakupach',
+ 'to' => 'do',
+};
+
+$self{subs} = {
+ 'aging' => 'aging',
+ 'continue' => 'continue',
+ 'e_mail' => 'e_mail',
+ 'generate_ap_aging' => 'generate_ap_aging',
+ 'generate_ar_aging' => 'generate_ar_aging',
+ 'generate_balance_sheet' => 'generate_balance_sheet',
+ 'generate_income_statement' => 'generate_income_statement',
+ 'generate_tax_report' => 'generate_tax_report',
+ 'generate_trial_balance' => 'generate_trial_balance',
+ 'list_payments' => 'list_payments',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'report' => 'report',
+ 'select_all' => 'select_all',
+ 'send_email' => 'send_email',
+ 'statement_details' => 'statement_details',
+ 'tax_subtotal' => 'tax_subtotal',
+ 'kontynuj' => 'continue',
+ 'e_mail' => 'e_mail',
+ 'drukuj' => 'print',
+ 'wybierz_wszystko' => 'select_all',
+};
+
+1;
diff --git a/sql-ledger/locale/pt/COPYING b/sql-ledger/locale/pt/COPYING
new file mode 100644
index 0000000..bd508c5
--- /dev/null
+++ b/sql-ledger/locale/pt/COPYING
@@ -0,0 +1,23 @@
+######################################################################
+# SQL-Ledger Accounting
+# Copyright (c) 2001
+#
+# Portugese texts:
+#
+# Author: Paulo Rodrigues <prodrigues@vianetworks.pt>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+#######################################################################
+
diff --git a/sql-ledger/locale/pt/LANGUAGE b/sql-ledger/locale/pt/LANGUAGE
new file mode 100644
index 0000000..3d5f0c1
--- /dev/null
+++ b/sql-ledger/locale/pt/LANGUAGE
@@ -0,0 +1 @@
+Portuguese
diff --git a/sql-ledger/locale/pt/admin b/sql-ledger/locale/pt/admin
new file mode 100644
index 0000000..827c4e9
--- /dev/null
+++ b/sql-ledger/locale/pt/admin
@@ -0,0 +1,122 @@
+$self{texts} = {
+ 'Access Control' => 'Controlo de Acessos',
+ 'Accounting' => 'Contabilidade',
+ 'Add User' => 'Novo Utilizador',
+ 'Address' => 'Endereço',
+ 'Administration' => 'Administração',
+ 'Administrator' => 'Administrador',
+ 'All Datasets up to date!' => 'Todos os Datasets estão Actualizados!',
+ 'Change Admin Password' => 'Mudar Password Admin',
+ 'Change Password' => 'Mudar Password',
+ 'Character Set' => 'Character Set',
+ 'Click on login name to edit!' => 'Clique no login para editar!',
+ 'Company' => 'Companhia',
+ 'Connect to' => 'Ligar a',
+ 'Continue' => 'Continuar',
+ 'Create Chart of Accounts' => 'Criar Plano de Contas',
+ 'Create Dataset' => 'Criar Dataset',
+ 'DBI not installed!' => 'DBI não está instalado!',
+ 'Database' => 'Base de Dados',
+ 'Database Administration' => 'Administração de Base de Dados',
+ 'Database Driver not checked!' => 'Não seleccionou Driver Base de Dados',
+ 'Database User missing!' => 'Não existe Utilizador de Base de Dados',
+ 'Dataset' => 'Dataset',
+ 'Dataset missing!' => 'Dataset não existe!',
+ 'Dataset updated!' => 'Dataset actualizado!',
+ 'Date Format' => 'Formato de Data',
+ 'Delete' => 'Remover',
+ 'Delete Dataset' => 'Remover Dataset',
+ 'Directory' => 'Directoria',
+ 'Driver' => 'Driver',
+ 'Dropdown Limit' => 'Dropdown Limit',
+ 'E-mail' => 'E-Mail',
+ 'Edit User' => 'Editar Utilizador',
+ 'Existing Datasets' => 'Datasets Existentes',
+ 'Fax' => 'Fax',
+ 'Host' => 'Host',
+ 'Hostname missing!' => 'Não indicou Hostname!',
+ 'Incorrect Password!' => 'Password Incorrecta!',
+ 'Language' => 'Língua',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Não indique host nem port, a não ser que deseje efectuar uma ligação remota',
+ 'Login' => 'Login',
+ 'Name' => 'Nome',
+ 'New Templates' => 'Novos Modelos',
+ 'No Database Drivers available!' => 'Não há Drivers de Base de Dados disponiveis!',
+ 'No Dataset selected!' => 'Não seleccionou Dataset!',
+ 'Nothing to delete!' => 'Nada para remover!',
+ 'Number Format' => 'Formato numérico',
+ 'Oracle Database Administration' => 'Administração Base de Dados Oracle',
+ 'Password' => 'Password',
+ 'Password changed!' => 'Password alterada',
+ 'Pg Database Administration' => 'Administração Base de Dados Postgres',
+ 'Phone' => 'Tel',
+ 'Port' => 'Port',
+ 'Port missing!' => 'Falta o port!',
+ 'Printer' => 'Impressora',
+ 'Save' => 'Guardar',
+ 'Select a Dataset to delete and press "Continue"' => 'Seleccione um Dataset a remover e clique "Continuar"',
+ 'Setup Templates' => 'Configurar Modelos',
+ 'Ship via' => 'Expedir via',
+ 'Signature' => 'Assinatura',
+ 'Stylesheet' => 'Stylesheet',
+ 'Templates' => 'Modelos',
+ 'The following Datasets are not in use and can be deleted' => 'Os seguintes Datasets estão em uso e não podem ser removidos',
+ 'The following Datasets need to be updated' => 'Os seguintes Datasets necessitam ser actualizados',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'Esta é uma validação preliminar. Nada será criado nem removido neste ponto!',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'Para adicionar um utilizador a um grupo, edite um nome, mude o login e guarde. O novo utilizador com as mesmas variáveis será guardado sob o novo login',
+ 'Update Dataset' => 'Actualizar Dataset',
+ 'Use Templates' => 'Usar Templates',
+ 'User' => 'Utilizador',
+ 'User deleted!' => 'Utilizador removido',
+ 'User saved!' => 'Utilizador guardado',
+ 'Version' => 'Versão',
+ 'You must enter a host and port for local and remote connections!' => 'Tem de indicar host e port para ligações locais e remotas!',
+ 'does not exist' => 'não existe',
+ 'is already a member!' => 'já é membro!',
+ 'localhost' => 'localhost',
+ 'successfully created!' => 'criado com sucesso!',
+ 'successfully deleted!' => 'removido com sucesso!',
+ 'website' => 'website',
+};
+
+$self{subs} = {
+ 'add_user' => 'add_user',
+ 'adminlogin' => 'adminlogin',
+ 'change_admin_password' => 'change_admin_password',
+ 'change_password' => 'change_password',
+ 'check_password' => 'check_password',
+ 'continue' => 'continue',
+ 'create_dataset' => 'create_dataset',
+ 'dbcreate' => 'dbcreate',
+ 'dbdelete' => 'dbdelete',
+ 'dbdriver_defaults' => 'dbdriver_defaults',
+ 'dbselect_source' => 'dbselect_source',
+ 'dbupdate' => 'dbupdate',
+ 'delete' => 'delete',
+ 'delete_dataset' => 'delete_dataset',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'get_value' => 'get_value',
+ 'list_users' => 'list_users',
+ 'login' => 'login',
+ 'login_name' => 'login_name',
+ 'oracle_database_administration' => 'oracle_database_administration',
+ 'pg_database_administration' => 'pg_database_administration',
+ 'save' => 'save',
+ 'update_dataset' => 'update_dataset',
+ 'novo_utilizador' => 'add_user',
+ 'mudar_password_admin' => 'change_admin_password',
+ 'mudar_password' => 'change_password',
+ 'continuar' => 'continue',
+ 'criar_dataset' => 'create_dataset',
+ 'remover' => 'delete',
+ 'remover_dataset' => 'delete_dataset',
+ 'login' => 'login',
+ 'administração_base_de_dados_oracle' => 'oracle_database_administration',
+ 'administração_base_de_dados_postgres' => 'pg_database_administration',
+ 'guardar' => 'save',
+ 'actualizar_dataset' => 'update_dataset',
+};
+
+1;
diff --git a/sql-ledger/locale/pt/all b/sql-ledger/locale/pt/all
new file mode 100644
index 0000000..bcfd222
--- /dev/null
+++ b/sql-ledger/locale/pt/all
@@ -0,0 +1,487 @@
+# These are all the texts to build the translations files.
+# The file has the form of 'english text' => 'foreign text',
+# you can add the translation in this file or in the 'missing' file
+# run locales.pl from this directory to rebuild the translation files
+
+$self{texts} = {
+ 'AP' => 'Fornecedores',
+ 'AP Aging' => 'Idade Saldos Fornecedores',
+ 'AP Transaction' => 'Transacção Fornecedores',
+ 'AP Transactions' => 'Transacções Fornecedores',
+ 'AR' => 'Clientes',
+ 'AR Aging' => 'Idade Saldos Clientes',
+ 'AR Transaction' => 'Transacção Clientes',
+ 'AR Transactions' => 'Transacções Clientes',
+ 'About' => 'Acerca',
+ 'Access Control' => 'Controlo de Acessos',
+ 'Account' => 'Conta',
+ 'Account Number' => 'Número da Conta',
+ 'Account Number missing!' => 'Número da Conta não encontrado!',
+ 'Account Type' => 'Tipo de Conta',
+ 'Account Type missing!' => 'Tipo de Conta não encontrado!',
+ 'Account deleted!' => 'Conta apagada',
+ 'Account saved!' => 'Conta guardada',
+ 'Accounting' => 'Contabilidade',
+ 'Accounting Menu' => 'Menu de Contabilidade',
+ 'Accounts' => 'Contas',
+ 'Active' => 'Activo',
+ 'Add' => 'Novo',
+ 'Add Account' => 'Nova Conta',
+ 'Add Accounts Payables Transaction' => 'Nova Transacção Fornecedores',
+ 'Add Accounts Receivables Transaction' => 'Nova Transacção Clientes',
+ 'Add Assembly' => 'Novo Conjunto',
+ 'Add Customer' => 'Novo Cliente',
+ 'Add GIFI' => 'Adicionar CFOP',
+ 'Add General Ledger Transaction' => 'Nova Transacção Livro Razão',
+ 'Add Part' => 'Novo Produto',
+ 'Add Project' => 'Novo Projecto',
+ 'Add Purchase Invoice' => 'Nova Factura de Compra',
+ 'Add Purchase Order' => 'Nova Ordem de Compra',
+ 'Add Sales Invoice' => 'Nova Factura de Venda',
+ 'Add Sales Order' => 'Nova Encomenda de Cliente',
+ 'Add Service' => 'Novo Serviço',
+ 'Add Transaction' => 'Nova Transacção',
+ 'Add User' => 'Novo Utilizador',
+ 'Add Vendor' => 'Novo Fornecedor',
+ 'Address' => 'Endereço',
+ 'Administration' => 'Administração',
+ 'Administrator' => 'Administrador',
+ 'All' => 'Todos',
+ 'All Datasets up to date!' => 'Todos os Datasets estão Actualizados!',
+ 'Amount' => 'Total',
+ 'Amount Due' => 'Total em dívida',
+ 'Amount does not equal applied!' => 'Valor diferente do aplicado!',
+ 'Amount missing!' => 'Falta o valor!',
+ 'Applied' => 'Aplicado',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Are you sure you want to delete Invoice Number' => 'Tem a certeza que quer APAGAR a Factura Número',
+ 'Are you sure you want to delete Order Number' => 'Confirma a remoção da Encomenda?',
+ 'Are you sure you want to delete Transaction' => 'Tem a certeza que quer APAGAR a Transacção',
+ 'Assemblies' => 'Conjuntos',
+ 'Assemblies restocked!' => '',
+ 'Assembly Number missing!' => 'Falta o Número de Produto',
+ 'Asset' => 'Activo',
+ 'Attachment' => 'Attachment',
+ 'Audit Control' => 'Controlo de Auditoria',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'BOM' => 'BOM',
+ 'Backup' => 'Backup',
+ 'Backup sent to' => 'Backup enviado para',
+ 'Balance' => 'Saldo',
+ 'Balance Sheet' => 'Folha de Balanço',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Bin',
+ 'Books are open' => 'Livros Abertos',
+ 'Bought' => 'Comprado',
+ 'Business Number' => 'Número de negócio',
+ 'C' => '',
+ 'COGS' => 'Custo de Vendas',
+ 'Cannot delete account!' => 'Não é possivel apagar a conta!',
+ 'Cannot delete customer!' => 'Não é possivel apagar o cliente!',
+ 'Cannot delete default account!' => 'Não é possível apagar a conta por defeito!',
+ 'Cannot delete invoice!' => 'Não é possivel apagar a factura!',
+ 'Cannot delete item already invoiced!' => 'Não posso apagar item já facturado!',
+ 'Cannot delete item on order!' => 'Não pode apagar item no pedido',
+ 'Cannot delete item which is part of an assembly!' => 'Não é possível apagar Produto que faz parte de um Conjunto!',
+ 'Cannot delete item!' => 'Não é possivel apagar o item!',
+ 'Cannot delete order!' => 'Não é possivel apagar a encomenda!',
+ 'Cannot delete transaction!' => 'Não é possivel apagar a transacção',
+ 'Cannot delete vendor!' => 'Não é possivel apagar o fornecedor',
+ 'Cannot have a value in both Debit and Credit!' => 'Não pode ter o valor a Débito E Crédito!',
+ 'Cannot post a transaction without a value!' => '',
+ 'Cannot post invoice for a closed period!' => 'Não pode lançar factura em período fechado!',
+ 'Cannot post invoice!' => 'Não é possivel lançar factura!',
+ 'Cannot post payment for a closed period!' => 'Não pode lançar pagamento em período fechado!',
+ 'Cannot post payment!' => 'Não é possivel lançar pagamento',
+ 'Cannot post transaction for a closed period!' => 'Não é possivel lançar transacção para um periodo fechado!',
+ 'Cannot post transaction!' => 'Não é possivel lançar transacção',
+ 'Cannot process payment for a closed period!' => 'Não é possivel lançar pagamento para um período fechado',
+ 'Cannot save account!' => 'Não é possível guardar conta!',
+ 'Cannot save order!' => 'Não é possível guardar encomenda!',
+ 'Cannot save preferences!' => 'Não é possível guardar preferências!',
+ 'Cannot stock assemblies!' => '',
+ 'Cash' => 'Dinheiro',
+ 'Cash based' => '',
+ 'Cc' => 'Cc',
+ 'Change Admin Password' => 'Mudar Password Admin',
+ 'Change Password' => 'Mudar Password',
+ 'Character Set' => 'Character Set',
+ 'Chart of Accounts' => 'Plano de Contas',
+ 'Check' => 'Cheque',
+ 'Check printed!' => 'Cheque impresso!',
+ 'Check printing failed!' => 'Falhou a impressão de cheques!',
+ 'Cleared Balance' => '',
+ 'Click on login name to edit!' => 'Clique no login para editar!',
+ 'Close Books up to' => 'Fechar Livros até',
+ 'Closed' => 'Fechado',
+ 'Company' => 'Companhia',
+ 'Compare to' => 'Comparar com',
+ 'Confirm!' => 'Confirmar!',
+ 'Connect to' => 'Ligar a',
+ 'Contact' => 'Contacto',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Cópias',
+ 'Copy to COA' => 'Copiar para Plano de Contas',
+ 'Create Chart of Accounts' => 'Criar Plano de Contas',
+ 'Create Dataset' => 'Criar Dataset',
+ 'Credit' => 'Crédito',
+ 'Credit Limit' => 'Limite de Crédito',
+ 'Curr' => 'Moeda',
+ 'Currency' => 'Moeda',
+ 'Current' => '',
+ 'Customer' => 'Cliente',
+ 'Customer deleted!' => 'Cliente apagado!',
+ 'Customer missing!' => 'Falta cliente!',
+ 'Customer not on file!' => 'Cliente inexistente!',
+ 'Customer saved!' => 'Cliente guardado!',
+ 'Customers' => 'Clientes',
+ 'DBI not installed!' => 'DBI não está instalado!',
+ 'Database' => 'Base de Dados',
+ 'Database Administration' => 'Administração de Base de Dados',
+ 'Database Driver not checked!' => 'Não seleccionou Driver Base de Dados',
+ 'Database Host' => 'Servidor de Base de Dados',
+ 'Database User missing!' => 'Não existe Utilizador de Base de Dados',
+ 'Dataset' => 'Dataset',
+ 'Dataset missing!' => 'Dataset não existe!',
+ 'Dataset updated!' => 'Dataset actualizado!',
+ 'Date' => 'Data',
+ 'Date Due' => 'Data de Vencimento',
+ 'Date Format' => 'Formato de Data',
+ 'Date Paid' => 'Data de pagamento',
+ 'Date missing!' => 'Falta a data!',
+ 'Debit' => 'Débito',
+ 'Debit and credit out of balance!' => 'Débito e crédito fora de balanço!',
+ 'Dec' => 'Dez',
+ 'December' => 'Dezembro',
+ 'Decimalplaces' => 'Casas decimais',
+ 'Delete' => 'Remover',
+ 'Delete Account' => 'Apagar Conta',
+ 'Delete Dataset' => 'Remover Dataset',
+ 'Delivery Date' => 'Data de entrega',
+ 'Deposit' => 'Depósito',
+ 'Description' => 'Descrição',
+ 'Difference' => 'Diferença',
+ 'Directory' => 'Directoria',
+ 'Discount' => 'Desconto',
+ 'Done' => 'Pronto',
+ 'Drawing' => '',
+ 'Driver' => 'Driver',
+ 'Dropdown Limit' => '',
+ 'Due' => 'Vence',
+ 'Due Date' => 'Data de Vencimento',
+ 'Due Date missing!' => 'Falta Data de Vencimento!',
+ 'E-mail' => 'E-Mail',
+ 'E-mail Statement to' => '',
+ 'E-mail address missing!' => 'Falta Endereço de E-mail!',
+ 'Edit' => 'Editar',
+ 'Edit Account' => 'Editar Conta',
+ 'Edit Accounts Payables Transaction' => 'Editar transacção Fornecedores',
+ 'Edit Accounts Receivables Transaction' => 'Editar transacção Clientes',
+ 'Edit Assembly' => 'Editar Conjunto',
+ 'Edit GIFI' => 'Editar CFOP',
+ 'Edit General Ledger Transaction' => 'Editar Transacção Livro Razão',
+ 'Edit Part' => 'Editar Produto',
+ 'Edit Preferences for' => 'Editar Preferências para',
+ 'Edit Project' => 'Editar Projecto',
+ 'Edit Purchase Invoice' => 'Editar Factura de Compra',
+ 'Edit Purchase Order' => 'Editar Ordem de Compra',
+ 'Edit Sales Invoice' => 'Editar Factura de Venda',
+ 'Edit Sales Order' => 'Editar Encomenda',
+ 'Edit Service' => 'Editar Serviço',
+ 'Edit Template' => 'Editar Modelo',
+ 'Edit User' => 'Editar Utilizador',
+ 'Employee' => 'Funcionário',
+ 'Enforce transaction reversal for all dates' => 'Forçar anulação das transacções para todas as datas',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Indique as suas moedas nativa e estrangeiras usando os códigos de 3 letras (p.ex. EUR:USD:CAD)',
+ 'Equity' => 'Capital',
+ 'Exch' => 'Câmbio',
+ 'Exchangerate' => 'Taxa de Câmbio',
+ 'Exchangerate Difference' => 'Diferença na Taxa de Câmbio',
+ 'Exchangerate for payment missing!' => 'Falta a taxa de câmbio para o pagamento!',
+ 'Exchangerate missing!' => 'Falta a taxa de câmbio!',
+ 'Existing Datasets' => 'Datasets Existentes',
+ 'Expense' => 'Despesa',
+ 'Expense Account' => 'Conta de Despesas',
+ 'Expense/Asset' => 'Despesa/Activo',
+ 'Extended' => '',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Fev',
+ 'February' => 'Fevereiro',
+ 'Foreign Exchange Gain' => 'Diferenças de Câmbio - Proveitos',
+ 'Foreign Exchange Loss' => 'Diferenças de Câmbio - Prejuizos',
+ 'From' => 'De',
+ 'GIFI' => 'CFOP - Código Fiscal da Operação',
+ 'GIFI deleted!' => 'CFOP apagado',
+ 'GIFI missing!' => 'Falta CFOP!',
+ 'GIFI saved!' => 'CFOP guardado',
+ 'GL Transaction' => 'Transacção Livro Razão',
+ 'General Ledger' => 'Livro Razão',
+ 'Goods & Services' => 'Bens e Serviços',
+ 'HTML Templates' => 'Templates HTML',
+ 'Heading' => 'Cabeçalho',
+ 'Host' => 'Host',
+ 'Hostname missing!' => 'Não indicou Hostname!',
+ 'ID' => 'ID',
+ 'Image' => 'Imagem',
+ 'In-line' => 'Inline',
+ 'Include in Report' => 'Incluir no Relatório',
+ 'Include in drop-down menus' => 'Incluir nos menus drop-down',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Incluir esta conta nos formulários de cliente/fornecedor para marcar cliente/fornecedor como sujeito a impostos.',
+ 'Income' => 'Receita',
+ 'Income Account' => 'Conta de Receitas',
+ 'Income Statement' => 'Estado de Receitas',
+ 'Incorrect Dataset version!' => 'Versão Dataset incorrecta!',
+ 'Incorrect Password!' => 'Password Incorrecta!',
+ 'Individual Items' => 'Produtos Individuais',
+ 'Inventory' => 'Inventário',
+ 'Inventory Account' => 'Conta de Inventário',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'Quantidade em Stock tem de ser zero para poder declarar este conjunto obsoleto!',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'Quantidade em Stock tem de ser zero para poder declarar esta peça obsoleta!',
+ 'Inventory quantity must be zero!' => 'Quantidade em Stock tem de ser zero!',
+ 'Invoice' => 'Factura',
+ 'Invoice Date' => 'Data de Factura',
+ 'Invoice Date missing!' => 'Data de Factura não encontrada!',
+ 'Invoice Number' => 'Número de Factura',
+ 'Invoice Number missing!' => 'Número de Factura não encontrado!',
+ 'Invoice deleted!' => 'Factura apagada',
+ 'Invoice posted!' => 'Factura processada',
+ 'Invoices' => 'Facturas',
+ 'Is this a summary account to record' => 'Esta é uma conta sumária a registar',
+ 'Item deleted!' => 'Item apagado',
+ 'Item not on file!' => 'Item não está no arquivo!',
+ 'Jan' => 'Jan',
+ 'January' => 'Janeiro',
+ 'Jul' => 'Jul',
+ 'July' => 'Julho',
+ 'Jun' => 'Jun',
+ 'June' => 'Junho',
+ 'LaTeX Templates' => 'Modelos LaTeX',
+ 'Language' => 'Língua',
+ 'Last Cost' => 'Último Custo',
+ 'Last Invoice Number' => 'Último Número de Factura',
+ 'Last Numbers & Default Accounts' => 'Últimos números e Contas por defeito',
+ 'Last Purchase Order Number' => 'Ultimo numero de Ordem de Compra',
+ 'Last Sales Order Number' => 'Último número de Encomenda de vendas',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Não indique host nem port, a não ser que deseje efectuar uma ligação remota',
+ 'Liability' => 'Passivo',
+ 'Licensed to' => 'Licenciado a',
+ 'Line Total' => 'Total da Linha',
+ 'Link' => 'Ligar',
+ 'Link Accounts' => 'Ligar Contas',
+ 'List Accounts' => 'Listar Contas',
+ 'List GIFI' => 'Listar CFOP',
+ 'List Price' => 'Listar Preço',
+ 'List Transactions' => 'Listar Transacções',
+ 'Login' => 'Login',
+ 'Logout' => 'Logout',
+ 'Make' => 'Marca',
+ 'Mar' => 'Mar',
+ 'March' => 'Março',
+ 'May' => 'Mai',
+ 'May ' => 'Maio',
+ 'Message' => 'Mensagem',
+ 'Microfiche' => 'Microficha',
+ 'Model' => 'Modelo',
+ 'N/A' => 'N/D',
+ 'Name' => 'Nome',
+ 'Name missing!' => 'Falta o nome!',
+ 'New Templates' => 'Novos Modelos',
+ 'No' => 'Não',
+ 'No Database Drivers available!' => 'Não há Drivers de Base de Dados disponiveis!',
+ 'No Dataset selected!' => 'Não seleccionou Dataset!',
+ 'No email address for' => 'Não existe endereço de email para',
+ 'No.' => '',
+ 'Notes' => 'Notas',
+ 'Nothing applied!' => 'Nada aplicado',
+ 'Nothing selected!' => 'Nada seleccionado',
+ 'Nothing to delete!' => 'Nada para remover!',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembro',
+ 'Number' => 'Número',
+ 'Number Format' => 'Formato numérico',
+ 'Number missing in Row' => 'Falta numero na Linha',
+ 'O' => '',
+ 'Obsolete' => 'Obsoleto',
+ 'Oct' => 'Out',
+ 'October' => 'Outubro',
+ 'On Hand' => 'Em Stock',
+ 'On Order' => 'Encomendado',
+ 'Open' => 'Abrir',
+ 'Oracle Database Administration' => 'Administração Base de Dados Oracle',
+ 'Order' => 'Encomenda',
+ 'Order Date' => 'Data da Encomenda',
+ 'Order Date missing!' => 'Falta data da Encomenda',
+ 'Order Entry' => 'Encomendas de Clientes',
+ 'Order Number' => 'Encomenda Número',
+ 'Order Number missing!' => 'Falta numero da Encomenda!',
+ 'Order deleted!' => 'Encomenda apagada',
+ 'Order saved!' => 'Encomenda guardada',
+ 'Ordered' => 'Encomendado',
+ 'Orphaned' => 'Órfão',
+ 'Out of balance!' => '',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Lista de Expedição',
+ 'Packing List Date missing!' => 'Falta Data da Lista de Expedição',
+ 'Packing List Number missing!' => 'Falta Numero de Lista de Expedição',
+ 'Paid' => 'Total Pago',
+ 'Paid in full' => '',
+ 'Part' => 'Produto',
+ 'Part Number missing!' => 'Número de produto não encontrado!',
+ 'Parts' => 'Produtos',
+ 'Parts Inventory' => 'Inventário',
+ 'Password' => 'Password',
+ 'Password changed!' => 'Password alterada',
+ 'Payables' => 'Fornecedores',
+ 'Payment' => 'Pagamento',
+ 'Payment date missing!' => 'Falta Data de Pagamento!',
+ 'Payment posted!' => 'Pagamento processado',
+ 'Payments' => 'Pagamentos',
+ 'Pg Database Administration' => 'Administração Base de Dados Postgres',
+ 'Phone' => 'Tel',
+ 'Port' => 'Port',
+ 'Port missing!' => 'Falta o port!',
+ 'Post' => 'Processar',
+ 'Post as new' => 'Processar como novo',
+ 'Postscript' => 'PostScript',
+ 'Preferences' => 'Preferências',
+ 'Preferences saved!' => 'Preferências Guardadas!',
+ 'Price' => 'Preço',
+ 'Print' => 'Imprimir',
+ 'Printer' => 'Impressora',
+ 'Project' => 'Projecto',
+ 'Project Number missing!' => 'Falta o número do projecto',
+ 'Project deleted!' => 'Projecto apagado',
+ 'Project not on file!' => 'Projecto não existe',
+ 'Project saved!' => 'Projecto guardado',
+ 'Projects' => 'Projectos',
+ 'Purchase Invoice' => 'Factura de Compra',
+ 'Purchase Order' => 'Ordem de Compra',
+ 'Purchase Orders' => 'Ordens de Compra',
+ 'Qty' => 'Qtd',
+ 'ROP' => 'Nível mínimo de stock',
+ 'Rate' => 'Taxa',
+ 'Recd' => 'Recebido',
+ 'Receipt' => 'Recibo',
+ 'Receipts' => 'Recibos',
+ 'Receivables' => 'Clientes',
+ 'Reconciliation' => 'Reconciliação',
+ 'Record in' => 'Registar em',
+ 'Reference' => 'Referência',
+ 'Reference missing!' => 'Falta referência',
+ 'Remaining' => 'Sobram',
+ 'Report for' => 'Relatório para',
+ 'Reports' => 'Relatórios',
+ 'Required by' => 'Requerido por',
+ 'Retained Earnings' => 'Lucros Retidos',
+ 'Sales' => 'Vendas',
+ 'Sales Invoice' => 'Factura de Venda',
+ 'Sales Order' => 'Encomenda de Venda',
+ 'Sales Orders' => 'Encomendas de Venda',
+ 'Save' => 'Guardar',
+ 'Save as new' => 'Guardar como novo',
+ 'Save to File' => 'Guardar em Ficheiro',
+ 'Screen' => 'Ecran',
+ 'Select a Dataset to delete and press "Continue"' => 'Seleccione um Dataset a remover e clique "Continuar"',
+ 'Select all' => 'Seleccionar todos',
+ 'Select from one of the items below' => 'Seleccione um dos items abaixo',
+ 'Select from one of the names below' => 'Seleccione um dos nomes abaixo',
+ 'Select from one of the projects below' => 'Seleccione um dos projectos abaixo',
+ 'Select postscript or PDF!' => 'Seleccione PostScript ou PDF',
+ 'Sell Price' => 'Preço de Venda',
+ 'Send by E-Mail' => 'Enviar por Email',
+ 'Sep' => 'Set',
+ 'September' => 'Setembro',
+ 'Service' => 'Serviço',
+ 'Service Items' => 'Items de Serviço',
+ 'Service Number missing!' => 'Número do serviço não encontrado!',
+ 'Services' => 'Serviços',
+ 'Setup Templates' => 'Configurar Modelos',
+ 'Ship' => 'Expedir',
+ 'Ship to' => 'Expedir para',
+ 'Ship via' => 'Expedir via',
+ 'Short' => 'Curta',
+ 'Signature' => 'Assinatura',
+ 'Sold' => 'Vendido',
+ 'Source' => 'Origem',
+ 'Standard' => 'Padrão',
+ 'Statement' => '',
+ 'Statement Balance' => '',
+ 'Statement sent to' => '',
+ 'Statements sent to printer!' => '',
+ 'Stock Assembly' => 'Conjunto em stock',
+ 'Stylesheet' => 'Stylesheet',
+ 'Subject' => 'Assunto',
+ 'Subtotal' => 'Sub-total',
+ 'System' => 'Sistema',
+ 'Tax' => 'Imposto',
+ 'Tax Accounts' => 'Contas de Impostos',
+ 'Tax Included' => 'Impostos incluídos',
+ 'Tax collected' => 'Imposto recolhido',
+ 'Tax paid' => 'Imposto pago',
+ 'Taxable' => 'Sujeito a impostos',
+ 'Template saved!' => 'Modelo guardado',
+ 'Templates' => 'Modelos',
+ 'Terms: Net' => 'Termos: A pronto',
+ 'The following Datasets are not in use and can be deleted' => 'Os seguintes Datasets estão em uso e não podem ser removidos',
+ 'The following Datasets need to be updated' => 'Os seguintes Datasets necessitam ser actualizados',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'Esta é uma validação preliminar. Nada será criado nem removido neste ponto!',
+ 'To' => 'Até',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'Para adicionar um utilizador a um grupo, edite um nome, mude o login e guarde. O novo utilizador com as mesmas variáveis será guardado sob o novo login',
+ 'Top Level' => 'Nivel de topo',
+ 'Total' => 'Total',
+ 'Transaction Date missing!' => 'Falta Data de transacção!',
+ 'Transaction deleted!' => 'Transacção apagada',
+ 'Transaction posted!' => 'Transacção processada',
+ 'Transaction reversal enforced for all dates' => 'Cancelamento de transacção forçado para todas as datas',
+ 'Transaction reversal enforced up to' => 'Cancelamento de transacção forçado até',
+ 'Transactions' => 'Transacções',
+ 'Transactions exist, cannot delete customer!' => 'Existem transacções, não pode apagar o cliente!',
+ 'Transactions exist, cannot delete vendor!' => 'Existem transacções, não pode apagar fornecedor!',
+ 'Transactions exist; cannot delete account!' => 'Existem Transacções, não é possivel remover conta!',
+ 'Trial Balance' => 'Balancete',
+ 'Unit' => 'Unidade',
+ 'Unit of measure' => 'Unidade de medida',
+ 'Update' => 'Actualizar',
+ 'Update Dataset' => 'Actualizar Dataset',
+ 'Updated' => 'Actualizado',
+ 'Use Templates' => 'Usar Templates',
+ 'User' => 'Utilizador',
+ 'User deleted!' => 'Utilizador removido',
+ 'User saved!' => 'Utilizador guardado',
+ 'Vendor' => 'Fornecedor',
+ 'Vendor deleted!' => 'Fornecedor apagado',
+ 'Vendor missing!' => 'Falta fornecedor',
+ 'Vendor not on file!' => 'Fornecedor não existe',
+ 'Vendor saved!' => 'Fornecedor guardado',
+ 'Vendors' => 'Fornecedores',
+ 'Version' => 'Versão',
+ 'Weight' => 'Peso',
+ 'Weight Unit' => 'Unidade de Peso',
+ 'What type of item is this?' => 'Que tipo de Item é este?',
+ 'Year End' => 'Fim de ano',
+ 'Yes' => 'Sim',
+ 'You are logged out!' => 'Terminou a sessão!',
+ 'You did not enter a name!' => 'Não indicou nome!',
+ 'You must enter a host and port for local and remote connections!' => 'Tem de indicar host e port para ligações locais e remotas!',
+ 'as at' => '',
+ 'collected on sales' => 'recolhido sobre vendas',
+ 'days' => 'dias',
+ 'does not exist' => 'não existe',
+ 'ea' => 'cd',
+ 'emailed to' => 'enviado por email para',
+ 'for Period' => 'pelo período',
+ 'hr' => 'hr',
+ 'is already a member!' => 'já é membro!',
+ 'is not a member!' => 'não é membro!',
+ 'localhost' => 'localhost',
+ 'paid on purchases' => 'pago em aquisições',
+ 'sent to printer' => 'enviado para a impressora',
+ 'successfully created!' => 'criado com sucesso!',
+ 'successfully deleted!' => 'removido com sucesso!',
+ 'to' => 'para',
+ 'website' => 'website',
+};
+
+1;
diff --git a/sql-ledger/locale/pt/am b/sql-ledger/locale/pt/am
new file mode 100644
index 0000000..a926fe3
--- /dev/null
+++ b/sql-ledger/locale/pt/am
@@ -0,0 +1,139 @@
+$self{texts} = {
+ 'AP' => 'Fornecedores',
+ 'AR' => 'Clientes',
+ 'Account' => 'Conta',
+ 'Account Number' => 'Número da Conta',
+ 'Account Number missing!' => 'Número da Conta não encontrado!',
+ 'Account Type' => 'Tipo de Conta',
+ 'Account Type missing!' => 'Tipo de Conta não encontrado!',
+ 'Account deleted!' => 'Conta apagada',
+ 'Account saved!' => 'Conta guardada',
+ 'Add Account' => 'Nova Conta',
+ 'Add GIFI' => 'Adicionar CFOP',
+ 'Address' => 'Endereço',
+ 'Asset' => 'Activo',
+ 'Audit Control' => 'Controlo de Auditoria',
+ 'Backup sent to' => 'Backup enviado para',
+ 'Books are open' => 'Livros Abertos',
+ 'Business Number' => 'Número de negócio',
+ 'COGS' => 'Custo de Vendas',
+ 'Cannot delete account!' => 'Não é possivel apagar a conta!',
+ 'Cannot delete default account!' => 'Não é possível apagar a conta por defeito!',
+ 'Cannot save account!' => 'Não é possível guardar conta!',
+ 'Cannot save preferences!' => 'Não é possível guardar preferências!',
+ 'Character Set' => 'Character Set',
+ 'Chart of Accounts' => 'Plano de Contas',
+ 'Close Books up to' => 'Fechar Livros até',
+ 'Company' => 'Companhia',
+ 'Continue' => 'Continuar',
+ 'Copy to COA' => 'Copiar para Plano de Contas',
+ 'Credit' => 'Crédito',
+ 'Date Format' => 'Formato de Data',
+ 'Debit' => 'Débito',
+ 'Delete' => 'Remover',
+ 'Delete Account' => 'Apagar Conta',
+ 'Description' => 'Descrição',
+ 'Dropdown Limit' => 'Dropdown Limit',
+ 'E-mail' => 'E-Mail',
+ 'Edit' => 'Editar',
+ 'Edit Account' => 'Editar Conta',
+ 'Edit GIFI' => 'Editar CFOP',
+ 'Edit Preferences for' => 'Editar Preferências para',
+ 'Edit Template' => 'Editar Modelo',
+ 'Enforce transaction reversal for all dates' => 'Forçar anulação das transacções para todas as datas',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Indique as suas moedas nativa e estrangeiras usando os códigos de 3 letras (p.ex. EUR:USD:CAD)',
+ 'Equity' => 'Capital',
+ 'Expense' => 'Despesa',
+ 'Expense Account' => 'Conta de Despesas',
+ 'Expense/Asset' => 'Despesa/Activo',
+ 'Fax' => 'Fax',
+ 'Foreign Exchange Gain' => 'Diferenças de Câmbio - Proveitos',
+ 'Foreign Exchange Loss' => 'Diferenças de Câmbio - Prejuizos',
+ 'GIFI' => 'CFOP - Código Fiscal da Operação',
+ 'GIFI deleted!' => 'CFOP apagado',
+ 'GIFI missing!' => 'Falta CFOP!',
+ 'GIFI saved!' => 'CFOP guardado',
+ 'Heading' => 'Cabeçalho',
+ 'Include in drop-down menus' => 'Incluir nos menus drop-down',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Incluir esta conta nos formulários de cliente/fornecedor para marcar cliente/fornecedor como sujeito a impostos.',
+ 'Income' => 'Receita',
+ 'Income Account' => 'Conta de Receitas',
+ 'Inventory' => 'Inventário',
+ 'Inventory Account' => 'Conta de Inventário',
+ 'Is this a summary account to record' => 'Esta é uma conta sumária a registar',
+ 'Language' => 'Língua',
+ 'Last Invoice Number' => 'Último Número de Factura',
+ 'Last Numbers & Default Accounts' => 'Últimos números e Contas por defeito',
+ 'Last Purchase Order Number' => 'Ultimo numero de Ordem de Compra',
+ 'Last Sales Order Number' => 'Último número de Encomenda de vendas',
+ 'Liability' => 'Passivo',
+ 'Link' => 'Ligar',
+ 'Name' => 'Nome',
+ 'No' => 'Não',
+ 'No email address for' => 'Não existe endereço de email para',
+ 'Number' => 'Número',
+ 'Number Format' => 'Formato numérico',
+ 'Parts Inventory' => 'Inventário',
+ 'Password' => 'Password',
+ 'Payables' => 'Fornecedores',
+ 'Payment' => 'Pagamento',
+ 'Phone' => 'Tel',
+ 'Preferences saved!' => 'Preferências Guardadas!',
+ 'Rate' => 'Taxa',
+ 'Receivables' => 'Clientes',
+ 'Sales' => 'Vendas',
+ 'Save' => 'Guardar',
+ 'Service Items' => 'Items de Serviço',
+ 'Ship via' => 'Expedir via',
+ 'Signature' => 'Assinatura',
+ 'Stylesheet' => 'Stylesheet',
+ 'Tax' => 'Imposto',
+ 'Tax Accounts' => 'Contas de Impostos',
+ 'Template saved!' => 'Modelo guardado',
+ 'Transaction reversal enforced for all dates' => 'Cancelamento de transacção forçado para todas as datas',
+ 'Transaction reversal enforced up to' => 'Cancelamento de transacção forçado até',
+ 'Transactions exist; cannot delete account!' => 'Existem Transacções, não é possivel remover conta!',
+ 'Weight Unit' => 'Unidade de Peso',
+ 'Year End' => 'Fim de ano',
+ 'Yes' => 'Sim',
+ 'does not exist' => 'não existe',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_gifi' => 'add_gifi',
+ 'audit_control' => 'audit_control',
+ 'backup' => 'backup',
+ 'config' => 'config',
+ 'continue' => 'continue',
+ 'copy_to_coa' => 'copy_to_coa',
+ 'delete' => 'delete',
+ 'delete_account' => 'delete_account',
+ 'delete_gifi' => 'delete_gifi',
+ 'display_form' => 'display_form',
+ 'display_stylesheet' => 'display_stylesheet',
+ 'doclose' => 'doclose',
+ 'edit' => 'edit',
+ 'edit_gifi' => 'edit_gifi',
+ 'edit_template' => 'edit_template',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gifi_footer' => 'gifi_footer',
+ 'gifi_header' => 'gifi_header',
+ 'list' => 'list',
+ 'list_gifi' => 'list_gifi',
+ 'save' => 'save',
+ 'save_account' => 'save_account',
+ 'save_gifi' => 'save_gifi',
+ 'save_preferences' => 'save_preferences',
+ 'save_template' => 'save_template',
+ 'nova_conta' => 'add_account',
+ 'continuar' => 'continue',
+ 'copiar_para_plano_de_contas' => 'copy_to_coa',
+ 'remover' => 'delete',
+ 'editar' => 'edit',
+ 'editar_conta' => 'edit_account',
+ 'guardar' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/pt/ap b/sql-ledger/locale/pt/ap
new file mode 100644
index 0000000..f3a6467
--- /dev/null
+++ b/sql-ledger/locale/pt/ap
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AP Transaction' => 'Transacção Fornecedores',
+ 'AP Transactions' => 'Transacções Fornecedores',
+ 'Account' => 'Conta',
+ 'Add Accounts Payables Transaction' => 'Nova Transacção Fornecedores',
+ 'Address' => 'Endereço',
+ 'Amount' => 'Total',
+ 'Amount Due' => 'Total em dívida',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Are you sure you want to delete Transaction' => 'Tem a certeza que quer APAGAR a Transacção',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Cannot delete transaction!' => 'Não é possivel apagar a transacção',
+ 'Cannot post payment for a closed period!' => 'Não pode lançar pagamento em período fechado!',
+ 'Cannot post transaction for a closed period!' => 'Não é possivel lançar transacção para um periodo fechado!',
+ 'Cannot post transaction!' => 'Não é possivel lançar transacção',
+ 'Closed' => 'Fechado',
+ 'Confirm!' => 'Confirmar!',
+ 'Continue' => 'Continuar',
+ 'Currency' => 'Moeda',
+ 'Customer not on file!' => 'Cliente inexistente!',
+ 'Date' => 'Data',
+ 'Date Paid' => 'Data de pagamento',
+ 'Dec' => 'Dez',
+ 'December' => 'Dezembro',
+ 'Delete' => 'Remover',
+ 'Description' => 'Descrição',
+ 'Due Date' => 'Data de Vencimento',
+ 'Due Date missing!' => 'Falta Data de Vencimento!',
+ 'Edit Accounts Payables Transaction' => 'Editar transacção Fornecedores',
+ 'Employee' => 'Funcionário',
+ 'Exch' => 'Câmbio',
+ 'Exchangerate' => 'Taxa de Câmbio',
+ 'Exchangerate for payment missing!' => 'Falta a taxa de câmbio para o pagamento!',
+ 'Exchangerate missing!' => 'Falta a taxa de câmbio!',
+ 'Feb' => 'Fev',
+ 'February' => 'Fevereiro',
+ 'From' => 'De',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Incluir no Relatório',
+ 'Invoice' => 'Factura',
+ 'Invoice Date' => 'Data de Factura',
+ 'Invoice Date missing!' => 'Data de Factura não encontrada!',
+ 'Invoice Number' => 'Número de Factura',
+ 'Invoice Number missing!' => 'Número de Factura não encontrado!',
+ 'Jan' => 'Jan',
+ 'January' => 'Janeiro',
+ 'Jul' => 'Jul',
+ 'July' => 'Julho',
+ 'Jun' => 'Jun',
+ 'June' => 'Junho',
+ 'Mar' => 'Mar',
+ 'March' => 'Março',
+ 'May' => 'Mai',
+ 'May ' => 'Maio',
+ 'Notes' => 'Notas',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembro',
+ 'Number' => 'Número',
+ 'Oct' => 'Out',
+ 'October' => 'Outubro',
+ 'Open' => 'Abrir',
+ 'Order' => 'Encomenda',
+ 'Order Number' => 'Encomenda Número',
+ 'Paid' => 'Total Pago',
+ 'Payment date missing!' => 'Falta Data de Pagamento!',
+ 'Payments' => 'Pagamentos',
+ 'Post' => 'Processar',
+ 'Post as new' => 'Processar como novo',
+ 'Project' => 'Projecto',
+ 'Project not on file!' => 'Projecto não existe',
+ 'Purchase Invoice' => 'Factura de Compra',
+ 'Select from one of the names below' => 'Seleccione um dos nomes abaixo',
+ 'Select from one of the projects below' => 'Seleccione um dos projectos abaixo',
+ 'Sep' => 'Set',
+ 'September' => 'Setembro',
+ 'Source' => 'Origem',
+ 'Subtotal' => 'Sub-total',
+ 'Tax' => 'Imposto',
+ 'Tax Included' => 'Impostos incluídos',
+ 'To' => 'Até',
+ 'Total' => 'Total',
+ 'Transaction deleted!' => 'Transacção apagada',
+ 'Transaction posted!' => 'Transacção processada',
+ 'Update' => 'Actualizar',
+ 'Vendor' => 'Fornecedor',
+ 'Vendor missing!' => 'Falta fornecedor',
+ 'Vendor not on file!' => 'Fornecedor não existe',
+ 'Yes' => 'Sim',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_subtotal' => 'ap_subtotal',
+ 'ap_transaction' => 'ap_transaction',
+ 'ap_transactions' => 'ap_transactions',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'transacção_fornecedores' => 'ap_transaction',
+ 'nova_transacção_fornecedores' => 'add_accounts_payables_transaction',
+ 'continuar' => 'continue',
+ 'remover' => 'delete',
+ 'editar_transacção_fornecedores' => 'edit_accounts_payables_transaction',
+ 'processar' => 'post',
+ 'processar_como_novo' => 'post_as_new',
+ 'factura_de_compra' => 'purchase_invoice',
+ 'actualizar' => 'update',
+ 'sim' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/pt/ar b/sql-ledger/locale/pt/ar
new file mode 100644
index 0000000..7790e3c
--- /dev/null
+++ b/sql-ledger/locale/pt/ar
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AR Transaction' => 'Transacção Clientes',
+ 'AR Transactions' => 'Transacções Clientes',
+ 'Account' => 'Conta',
+ 'Add Accounts Receivables Transaction' => 'Nova Transacção Clientes',
+ 'Address' => 'Endereço',
+ 'Amount' => 'Total',
+ 'Amount Due' => 'Total em dívida',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Are you sure you want to delete Transaction' => 'Tem a certeza que quer APAGAR a Transacção',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Cannot delete transaction!' => 'Não é possivel apagar a transacção',
+ 'Cannot post payment for a closed period!' => 'Não pode lançar pagamento em período fechado!',
+ 'Cannot post transaction for a closed period!' => 'Não é possivel lançar transacção para um periodo fechado!',
+ 'Cannot post transaction!' => 'Não é possivel lançar transacção',
+ 'Closed' => 'Fechado',
+ 'Confirm!' => 'Confirmar!',
+ 'Continue' => 'Continuar',
+ 'Credit Limit' => 'Limite de Crédito',
+ 'Currency' => 'Moeda',
+ 'Customer' => 'Cliente',
+ 'Customer missing!' => 'Falta cliente!',
+ 'Customer not on file!' => 'Cliente inexistente!',
+ 'Date' => 'Data',
+ 'Date Paid' => 'Data de pagamento',
+ 'Dec' => 'Dez',
+ 'December' => 'Dezembro',
+ 'Delete' => 'Remover',
+ 'Description' => 'Descrição',
+ 'Due Date' => 'Data de Vencimento',
+ 'Due Date missing!' => 'Falta Data de Vencimento!',
+ 'Edit Accounts Receivables Transaction' => 'Editar transacção Clientes',
+ 'Employee' => 'Funcionário',
+ 'Exch' => 'Câmbio',
+ 'Exchangerate' => 'Taxa de Câmbio',
+ 'Exchangerate for payment missing!' => 'Falta a taxa de câmbio para o pagamento!',
+ 'Exchangerate missing!' => 'Falta a taxa de câmbio!',
+ 'Feb' => 'Fev',
+ 'February' => 'Fevereiro',
+ 'From' => 'De',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Incluir no Relatório',
+ 'Invoice' => 'Factura',
+ 'Invoice Date' => 'Data de Factura',
+ 'Invoice Date missing!' => 'Data de Factura não encontrada!',
+ 'Invoice Number' => 'Número de Factura',
+ 'Invoice Number missing!' => 'Número de Factura não encontrado!',
+ 'Jan' => 'Jan',
+ 'January' => 'Janeiro',
+ 'Jul' => 'Jul',
+ 'July' => 'Julho',
+ 'Jun' => 'Jun',
+ 'June' => 'Junho',
+ 'Mar' => 'Mar',
+ 'March' => 'Março',
+ 'May' => 'Mai',
+ 'May ' => 'Maio',
+ 'Notes' => 'Notas',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembro',
+ 'Number' => 'Número',
+ 'Oct' => 'Out',
+ 'October' => 'Outubro',
+ 'Open' => 'Abrir',
+ 'Order' => 'Encomenda',
+ 'Order Number' => 'Encomenda Número',
+ 'Paid' => 'Total Pago',
+ 'Payment date missing!' => 'Falta Data de Pagamento!',
+ 'Payments' => 'Pagamentos',
+ 'Post' => 'Processar',
+ 'Post as new' => 'Processar como novo',
+ 'Project' => 'Projecto',
+ 'Project not on file!' => 'Projecto não existe',
+ 'Remaining' => 'Sobram',
+ 'Sales Invoice' => 'Factura de Venda',
+ 'Select from one of the names below' => 'Seleccione um dos nomes abaixo',
+ 'Select from one of the projects below' => 'Seleccione um dos projectos abaixo',
+ 'Sep' => 'Set',
+ 'September' => 'Setembro',
+ 'Source' => 'Origem',
+ 'Subtotal' => 'Sub-total',
+ 'Tax' => 'Imposto',
+ 'Tax Included' => 'Impostos incluídos',
+ 'To' => 'Até',
+ 'Total' => 'Total',
+ 'Transaction deleted!' => 'Transacção apagada',
+ 'Transaction posted!' => 'Transacção processada',
+ 'Update' => 'Actualizar',
+ 'Vendor not on file!' => 'Fornecedor não existe',
+ 'Yes' => 'Sim',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_subtotal' => 'ar_subtotal',
+ 'ar_transaction' => 'ar_transaction',
+ 'ar_transactions' => 'ar_transactions',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'transacção_clientes' => 'ar_transaction',
+ 'continuar' => 'continue',
+ 'remover' => 'delete',
+ 'processar' => 'post',
+ 'processar_como_novo' => 'post_as_new',
+ 'factura_de_venda' => 'sales_invoice',
+ 'actualizar' => 'update',
+ 'sim' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/pt/arap b/sql-ledger/locale/pt/arap
new file mode 100644
index 0000000..bbfaad0
--- /dev/null
+++ b/sql-ledger/locale/pt/arap
@@ -0,0 +1,30 @@
+$self{texts} = {
+ 'Address' => 'Endereço',
+ 'Continue' => 'Continuar',
+ 'Customer not on file!' => 'Cliente inexistente!',
+ 'Description' => 'Descrição',
+ 'Number' => 'Número',
+ 'Project not on file!' => 'Projecto não existe',
+ 'Select from one of the names below' => 'Seleccione um dos nomes abaixo',
+ 'Select from one of the projects below' => 'Seleccione um dos projectos abaixo',
+ 'Vendor not on file!' => 'Fornecedor não existe',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'continuar' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/pt/ca b/sql-ledger/locale/pt/ca
new file mode 100644
index 0000000..01ea0fe
--- /dev/null
+++ b/sql-ledger/locale/pt/ca
@@ -0,0 +1,50 @@
+$self{texts} = {
+ 'Account' => 'Conta',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Balance' => 'Saldo',
+ 'Chart of Accounts' => 'Plano de Contas',
+ 'Credit' => 'Crédito',
+ 'Date' => 'Data',
+ 'Debit' => 'Débito',
+ 'Dec' => 'Dez',
+ 'December' => 'Dezembro',
+ 'Description' => 'Descrição',
+ 'Feb' => 'Fev',
+ 'February' => 'Fevereiro',
+ 'From' => 'De',
+ 'GIFI' => 'CFOP - Código Fiscal da Operação',
+ 'Include in Report' => 'Incluir no Relatório',
+ 'Jan' => 'Jan',
+ 'January' => 'Janeiro',
+ 'Jul' => 'Jul',
+ 'July' => 'Julho',
+ 'Jun' => 'Jun',
+ 'June' => 'Junho',
+ 'List Transactions' => 'Listar Transacções',
+ 'Mar' => 'Mar',
+ 'March' => 'Março',
+ 'May' => 'Mai',
+ 'May ' => 'Maio',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembro',
+ 'Oct' => 'Out',
+ 'October' => 'Outubro',
+ 'Reference' => 'Referência',
+ 'Sep' => 'Set',
+ 'September' => 'Setembro',
+ 'Subtotal' => 'Sub-total',
+ 'To' => 'Até',
+};
+
+$self{subs} = {
+ 'ca_subtotal' => 'ca_subtotal',
+ 'chart_of_accounts' => 'chart_of_accounts',
+ 'list' => 'list',
+ 'list_transactions' => 'list_transactions',
+ 'listar_transacções' => 'list_transactions',
+};
+
+1;
diff --git a/sql-ledger/locale/pt/cp b/sql-ledger/locale/pt/cp
new file mode 100644
index 0000000..1d62d31
--- /dev/null
+++ b/sql-ledger/locale/pt/cp
@@ -0,0 +1,75 @@
+$self{texts} = {
+ 'Account' => 'Conta',
+ 'Address' => 'Endereço',
+ 'Amount' => 'Total',
+ 'Amount does not equal applied!' => 'Valor diferente do aplicado!',
+ 'Amount missing!' => 'Falta o valor!',
+ 'Applied' => 'Aplicado',
+ 'Cannot post payment!' => 'Não é possivel lançar pagamento',
+ 'Cannot process payment for a closed period!' => 'Não é possivel lançar pagamento para um período fechado',
+ 'Check' => 'Cheque',
+ 'Check printed!' => 'Cheque impresso!',
+ 'Check printing failed!' => 'Falhou a impressão de cheques!',
+ 'Continue' => 'Continuar',
+ 'Currency' => 'Moeda',
+ 'Customer' => 'Cliente',
+ 'Customer not on file!' => 'Cliente inexistente!',
+ 'Date' => 'Data',
+ 'Date missing!' => 'Falta a data!',
+ 'Description' => 'Descrição',
+ 'Due' => 'Vence',
+ 'Exchangerate' => 'Taxa de Câmbio',
+ 'From' => 'De',
+ 'Invoice' => 'Factura',
+ 'Invoices' => 'Facturas',
+ 'Nothing applied!' => 'Nada aplicado',
+ 'Number' => 'Número',
+ 'Paid in full' => 'Paid in full',
+ 'Payment' => 'Pagamento',
+ 'Payment posted!' => 'Pagamento processado',
+ 'Post' => 'Processar',
+ 'Print' => 'Imprimir',
+ 'Printer' => 'Impressora',
+ 'Project not on file!' => 'Projecto não existe',
+ 'Receipt' => 'Recibo',
+ 'Reference' => 'Referência',
+ 'Screen' => 'Ecran',
+ 'Select from one of the names below' => 'Seleccione um dos nomes abaixo',
+ 'Select from one of the projects below' => 'Seleccione um dos projectos abaixo',
+ 'To' => 'Até',
+ 'Update' => 'Actualizar',
+ 'Vendor' => 'Fornecedor',
+ 'Vendor not on file!' => 'Fornecedor não existe',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'list_invoices' => 'list_invoices',
+ 'name_selected' => 'name_selected',
+ 'payment' => 'payment',
+ 'post' => 'post',
+ 'print' => 'print',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'vendor_details' => 'vendor_details',
+ 'continuar' => 'continue',
+ 'processar' => 'post',
+ 'imprimir' => 'print',
+ 'actualizar' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/pt/ct b/sql-ledger/locale/pt/ct
new file mode 100644
index 0000000..74187f2
--- /dev/null
+++ b/sql-ledger/locale/pt/ct
@@ -0,0 +1,69 @@
+$self{texts} = {
+ 'Add' => 'Novo',
+ 'Address' => 'Endereço',
+ 'All' => 'Todos',
+ 'Bcc' => 'Bcc',
+ 'Cannot delete customer!' => 'Não é possivel apagar o cliente!',
+ 'Cannot delete vendor!' => 'Não é possivel apagar o fornecedor',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Contacto',
+ 'Continue' => 'Continuar',
+ 'Credit Limit' => 'Limite de Crédito',
+ 'Customer deleted!' => 'Cliente apagado!',
+ 'Customer saved!' => 'Cliente guardado!',
+ 'Customers' => 'Clientes',
+ 'Delete' => 'Remover',
+ 'Discount' => 'Desconto',
+ 'E-mail' => 'E-Mail',
+ 'Fax' => 'Fax',
+ 'Include in Report' => 'Incluir no Relatório',
+ 'Invoice' => 'Factura',
+ 'Name' => 'Nome',
+ 'Name missing!' => 'Falta o nome!',
+ 'Notes' => 'Notas',
+ 'Number' => 'Número',
+ 'Order' => 'Encomenda',
+ 'Orphaned' => 'Órfão',
+ 'Phone' => 'Tel',
+ 'Save' => 'Guardar',
+ 'Ship to' => 'Expedir para',
+ 'Tax Included' => 'Impostos incluídos',
+ 'Taxable' => 'Sujeito a impostos',
+ 'Terms: Net' => 'Termos: A pronto',
+ 'Transactions exist, cannot delete customer!' => 'Existem transacções, não pode apagar o cliente!',
+ 'Transactions exist, cannot delete vendor!' => 'Existem transacções, não pode apagar fornecedor!',
+ 'Vendor deleted!' => 'Fornecedor apagado',
+ 'Vendor saved!' => 'Fornecedor guardado',
+ 'Vendors' => 'Fornecedores',
+ 'days' => 'dias',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'customer_invoice' => 'customer_invoice',
+ 'customer_order' => 'customer_order',
+ 'delete' => 'delete',
+ 'delete_customer' => 'delete_customer',
+ 'delete_vendor' => 'delete_vendor',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'invoice' => 'invoice',
+ 'list_names' => 'list_names',
+ 'order' => 'order',
+ 'save' => 'save',
+ 'save_customer' => 'save_customer',
+ 'save_vendor' => 'save_vendor',
+ 'search' => 'search',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'vendor_order' => 'vendor_order',
+ 'novo' => 'add',
+ 'continuar' => 'continue',
+ 'remover' => 'delete',
+ 'factura' => 'invoice',
+ 'encomenda' => 'order',
+ 'guardar' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/pt/gl b/sql-ledger/locale/pt/gl
new file mode 100644
index 0000000..e2065ec
--- /dev/null
+++ b/sql-ledger/locale/pt/gl
@@ -0,0 +1,124 @@
+$self{texts} = {
+ 'AP Transaction' => 'Transacção Fornecedores',
+ 'AR Transaction' => 'Transacção Clientes',
+ 'Account' => 'Conta',
+ 'Add General Ledger Transaction' => 'Nova Transacção Livro Razão',
+ 'Address' => 'Endereço',
+ 'All' => 'Todos',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Are you sure you want to delete Transaction' => 'Tem a certeza que quer APAGAR a Transacção',
+ 'Asset' => 'Activo',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Balance' => 'Saldo',
+ 'Cannot delete transaction!' => 'Não é possivel apagar a transacção',
+ 'Cannot have a value in both Debit and Credit!' => 'Não pode ter o valor a Débito E Crédito!',
+ 'Cannot post a transaction without a value!' => 'Cannot post a transaction without a value!',
+ 'Cannot post transaction for a closed period!' => 'Não é possivel lançar transacção para um periodo fechado!',
+ 'Confirm!' => 'Confirmar!',
+ 'Continue' => 'Continuar',
+ 'Credit' => 'Crédito',
+ 'Customer not on file!' => 'Cliente inexistente!',
+ 'Date' => 'Data',
+ 'Debit' => 'Débito',
+ 'Debit and credit out of balance!' => 'Débito e crédito fora de balanço!',
+ 'Dec' => 'Dez',
+ 'December' => 'Dezembro',
+ 'Delete' => 'Remover',
+ 'Description' => 'Descrição',
+ 'Edit General Ledger Transaction' => 'Editar Transacção Livro Razão',
+ 'Equity' => 'Capital',
+ 'Expense' => 'Despesa',
+ 'Feb' => 'Fev',
+ 'February' => 'Fevereiro',
+ 'From' => 'De',
+ 'GIFI' => 'CFOP - Código Fiscal da Operação',
+ 'GL Transaction' => 'Transacção Livro Razão',
+ 'General Ledger' => 'Livro Razão',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Incluir no Relatório',
+ 'Income' => 'Receita',
+ 'Jan' => 'Jan',
+ 'January' => 'Janeiro',
+ 'Jul' => 'Jul',
+ 'July' => 'Julho',
+ 'Jun' => 'Jun',
+ 'June' => 'Junho',
+ 'Liability' => 'Passivo',
+ 'Mar' => 'Mar',
+ 'March' => 'Março',
+ 'May' => 'Mai',
+ 'May ' => 'Maio',
+ 'Notes' => 'Notas',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembro',
+ 'Number' => 'Número',
+ 'Oct' => 'Out',
+ 'October' => 'Outubro',
+ 'Post' => 'Processar',
+ 'Post as new' => 'Processar como novo',
+ 'Project' => 'Projecto',
+ 'Project not on file!' => 'Projecto não existe',
+ 'Purchase Invoice' => 'Factura de Compra',
+ 'Reference' => 'Referência',
+ 'Reference missing!' => 'Falta referência',
+ 'Reports' => 'Relatórios',
+ 'Sales Invoice' => 'Factura de Venda',
+ 'Select from one of the names below' => 'Seleccione um dos nomes abaixo',
+ 'Select from one of the projects below' => 'Seleccione um dos projectos abaixo',
+ 'Sep' => 'Set',
+ 'September' => 'Setembro',
+ 'Source' => 'Origem',
+ 'Subtotal' => 'Sub-total',
+ 'To' => 'Até',
+ 'Transaction Date missing!' => 'Falta Data de transacção!',
+ 'Transaction deleted!' => 'Transacção apagada',
+ 'Transaction posted!' => 'Transacção processada',
+ 'Update' => 'Actualizar',
+ 'Vendor not on file!' => 'Fornecedor não existe',
+ 'Yes' => 'Sim',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'form_row' => 'form_row',
+ 'generate_report' => 'generate_report',
+ 'gl_subtotal' => 'gl_subtotal',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'transacção_fornecedores' => 'ap_transaction',
+ 'transacção_clientes' => 'ar_transaction',
+ 'continuar' => 'continue',
+ 'remover' => 'delete',
+ 'transacção_livro_razão' => 'gl_transaction',
+ 'processar' => 'post',
+ 'processar_como_novo' => 'post_as_new',
+ 'factura_de_compra' => 'purchase_invoice',
+ 'factura_de_venda' => 'sales_invoice',
+ 'actualizar' => 'update',
+ 'sim' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/pt/ic b/sql-ledger/locale/pt/ic
new file mode 100644
index 0000000..80d4eb6
--- /dev/null
+++ b/sql-ledger/locale/pt/ic
@@ -0,0 +1,205 @@
+$self{texts} = {
+ 'Active' => 'Activo',
+ 'Add' => 'Novo',
+ 'Add Assembly' => 'Novo Conjunto',
+ 'Add Part' => 'Novo Produto',
+ 'Add Purchase Order' => 'Nova Ordem de Compra',
+ 'Add Sales Order' => 'Nova Encomenda de Cliente',
+ 'Add Service' => 'Novo Serviço',
+ 'Address' => 'Endereço',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Assemblies' => 'Conjuntos',
+ 'Assemblies restocked!' => 'Assemblies restocked!',
+ 'Assembly Number missing!' => 'Falta o Número de Produto',
+ 'Attachment' => 'Attachment',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'BOM' => 'BOM',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Bin',
+ 'Bought' => 'Comprado',
+ 'COGS' => 'Custo de Vendas',
+ 'Cannot delete item already invoiced!' => 'Não posso apagar item já facturado!',
+ 'Cannot delete item on order!' => 'Não pode apagar item no pedido',
+ 'Cannot delete item which is part of an assembly!' => 'Não é possível apagar Produto que faz parte de um Conjunto!',
+ 'Cannot delete item!' => 'Não é possivel apagar o item!',
+ 'Cannot stock assemblies!' => 'Cannot stock assemblies!',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Contacto',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Cópias',
+ 'Dec' => 'Dez',
+ 'December' => 'Dezembro',
+ 'Delete' => 'Remover',
+ 'Delivery Date' => 'Data de entrega',
+ 'Description' => 'Descrição',
+ 'Drawing' => 'Drawing',
+ 'E-mail' => 'E-Mail',
+ 'E-mail address missing!' => 'Falta Endereço de E-mail!',
+ 'Edit Assembly' => 'Editar Conjunto',
+ 'Edit Part' => 'Editar Produto',
+ 'Edit Service' => 'Editar Serviço',
+ 'Expense' => 'Despesa',
+ 'Extended' => 'Extended',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Fev',
+ 'February' => 'Fevereiro',
+ 'From' => 'De',
+ 'Image' => 'Imagem',
+ 'In-line' => 'Inline',
+ 'Include in Report' => 'Incluir no Relatório',
+ 'Income' => 'Receita',
+ 'Individual Items' => 'Produtos Individuais',
+ 'Inventory' => 'Inventário',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'Quantidade em Stock tem de ser zero para poder declarar este conjunto obsoleto!',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'Quantidade em Stock tem de ser zero para poder declarar esta peça obsoleta!',
+ 'Inventory quantity must be zero!' => 'Quantidade em Stock tem de ser zero!',
+ 'Invoice' => 'Factura',
+ 'Invoice Date missing!' => 'Data de Factura não encontrada!',
+ 'Invoice Number' => 'Número de Factura',
+ 'Invoice Number missing!' => 'Número de Factura não encontrado!',
+ 'Item deleted!' => 'Item apagado',
+ 'Item not on file!' => 'Item não está no arquivo!',
+ 'Jan' => 'Jan',
+ 'January' => 'Janeiro',
+ 'Jul' => 'Jul',
+ 'July' => 'Julho',
+ 'Jun' => 'Jun',
+ 'June' => 'Junho',
+ 'Last Cost' => 'Último Custo',
+ 'Line Total' => 'Total da Linha',
+ 'Link Accounts' => 'Ligar Contas',
+ 'List Price' => 'Listar Preço',
+ 'Make' => 'Marca',
+ 'Mar' => 'Mar',
+ 'March' => 'Março',
+ 'May' => 'Mai',
+ 'May ' => 'Maio',
+ 'Message' => 'Mensagem',
+ 'Microfiche' => 'Microficha',
+ 'Model' => 'Modelo',
+ 'Name' => 'Nome',
+ 'No.' => 'No.',
+ 'Notes' => 'Notas',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembro',
+ 'Number' => 'Número',
+ 'Number missing in Row' => 'Falta numero na Linha',
+ 'Obsolete' => 'Obsoleto',
+ 'Oct' => 'Out',
+ 'October' => 'Outubro',
+ 'On Hand' => 'Em Stock',
+ 'On Order' => 'Encomendado',
+ 'Order' => 'Encomenda',
+ 'Order Date missing!' => 'Falta data da Encomenda',
+ 'Order Number' => 'Encomenda Número',
+ 'Order Number missing!' => 'Falta numero da Encomenda!',
+ 'Ordered' => 'Encomendado',
+ 'Orphaned' => 'Órfão',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Lista de Expedição',
+ 'Packing List Date missing!' => 'Falta Data da Lista de Expedição',
+ 'Packing List Number missing!' => 'Falta Numero de Lista de Expedição',
+ 'Part' => 'Produto',
+ 'Part Number missing!' => 'Número de produto não encontrado!',
+ 'Parts' => 'Produtos',
+ 'Phone' => 'Tel',
+ 'Postscript' => 'PostScript',
+ 'Price' => 'Preço',
+ 'Printer' => 'Impressora',
+ 'Project' => 'Projecto',
+ 'Purchase Order' => 'Ordem de Compra',
+ 'Qty' => 'Qtd',
+ 'ROP' => 'Nível mínimo de stock',
+ 'Recd' => 'Recebido',
+ 'Required by' => 'Requerido por',
+ 'Sales' => 'Vendas',
+ 'Sales Order' => 'Encomenda de Venda',
+ 'Save' => 'Guardar',
+ 'Screen' => 'Ecran',
+ 'Select from one of the items below' => 'Seleccione um dos items abaixo',
+ 'Select postscript or PDF!' => 'Seleccione PostScript ou PDF',
+ 'Sell Price' => 'Preço de Venda',
+ 'Sep' => 'Set',
+ 'September' => 'Setembro',
+ 'Service' => 'Serviço',
+ 'Service Number missing!' => 'Número do serviço não encontrado!',
+ 'Services' => 'Serviços',
+ 'Ship' => 'Expedir',
+ 'Ship to' => 'Expedir para',
+ 'Short' => 'Curta',
+ 'Sold' => 'Vendido',
+ 'Stock Assembly' => 'Conjunto em stock',
+ 'Subject' => 'Assunto',
+ 'Subtotal' => 'Sub-total',
+ 'Tax' => 'Imposto',
+ 'To' => 'Até',
+ 'Top Level' => 'Nivel de topo',
+ 'Total' => 'Total',
+ 'Unit' => 'Unidade',
+ 'Unit of measure' => 'Unidade de medida',
+ 'Update' => 'Actualizar',
+ 'Updated' => 'Actualizado',
+ 'Weight' => 'Peso',
+ 'What type of item is this?' => 'Que tipo de Item é este?',
+ 'ea' => 'cd',
+ 'emailed to' => 'enviado por email para',
+ 'hr' => 'hr',
+ 'sent to printer' => 'enviado para a impressora',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'assembly_row' => 'assembly_row',
+ 'check_form' => 'check_form',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'delete_assembly' => 'delete_assembly',
+ 'delete_item' => 'delete_item',
+ 'delete_part' => 'delete_part',
+ 'delete_service' => 'delete_service',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'link_part' => 'link_part',
+ 'list_assemblies' => 'list_assemblies',
+ 'makemodel_row' => 'makemodel_row',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'parts_subtotal' => 'parts_subtotal',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'restock_assemblies' => 'restock_assemblies',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'stock_assembly' => 'stock_assembly',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'novo' => 'add',
+ 'novo_conjunto' => 'add_assembly',
+ 'novo_produto' => 'add_part',
+ 'novo_serviço' => 'add_service',
+ 'continuar' => 'continue',
+ 'remover' => 'delete',
+ 'editar_conjunto' => 'edit_assembly',
+ 'editar_produto' => 'edit_part',
+ 'editar_serviço' => 'edit_service',
+ 'guardar' => 'save',
+ 'actualizar' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/pt/io b/sql-ledger/locale/pt/io
new file mode 100644
index 0000000..b85c352
--- /dev/null
+++ b/sql-ledger/locale/pt/io
@@ -0,0 +1,106 @@
+$self{texts} = {
+ 'Add Purchase Order' => 'Nova Ordem de Compra',
+ 'Add Sales Order' => 'Nova Encomenda de Cliente',
+ 'Address' => 'Endereço',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Attachment' => 'Attachment',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Bin',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Contacto',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Cópias',
+ 'Dec' => 'Dez',
+ 'December' => 'Dezembro',
+ 'Delivery Date' => 'Data de entrega',
+ 'Description' => 'Descrição',
+ 'E-mail' => 'E-Mail',
+ 'E-mail address missing!' => 'Falta Endereço de E-mail!',
+ 'Extended' => 'Extended',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Fev',
+ 'February' => 'Fevereiro',
+ 'In-line' => 'Inline',
+ 'Invoice' => 'Factura',
+ 'Invoice Date missing!' => 'Data de Factura não encontrada!',
+ 'Invoice Number missing!' => 'Número de Factura não encontrado!',
+ 'Item not on file!' => 'Item não está no arquivo!',
+ 'Jan' => 'Jan',
+ 'January' => 'Janeiro',
+ 'Jul' => 'Jul',
+ 'July' => 'Julho',
+ 'Jun' => 'Jun',
+ 'June' => 'Junho',
+ 'Mar' => 'Mar',
+ 'March' => 'Março',
+ 'May' => 'Mai',
+ 'May ' => 'Maio',
+ 'Message' => 'Mensagem',
+ 'Name' => 'Nome',
+ 'No.' => 'No.',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembro',
+ 'Number' => 'Número',
+ 'Number missing in Row' => 'Falta numero na Linha',
+ 'Oct' => 'Out',
+ 'October' => 'Outubro',
+ 'Order' => 'Encomenda',
+ 'Order Date missing!' => 'Falta data da Encomenda',
+ 'Order Number missing!' => 'Falta numero da Encomenda!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Lista de Expedição',
+ 'Packing List Date missing!' => 'Falta Data da Lista de Expedição',
+ 'Packing List Number missing!' => 'Falta Numero de Lista de Expedição',
+ 'Part' => 'Produto',
+ 'Phone' => 'Tel',
+ 'Postscript' => 'PostScript',
+ 'Price' => 'Preço',
+ 'Printer' => 'Impressora',
+ 'Project' => 'Projecto',
+ 'Purchase Order' => 'Ordem de Compra',
+ 'Qty' => 'Qtd',
+ 'Recd' => 'Recebido',
+ 'Required by' => 'Requerido por',
+ 'Sales Order' => 'Encomenda de Venda',
+ 'Screen' => 'Ecran',
+ 'Select from one of the items below' => 'Seleccione um dos items abaixo',
+ 'Select postscript or PDF!' => 'Seleccione PostScript ou PDF',
+ 'Sep' => 'Set',
+ 'September' => 'Setembro',
+ 'Service' => 'Serviço',
+ 'Ship' => 'Expedir',
+ 'Ship to' => 'Expedir para',
+ 'Subject' => 'Assunto',
+ 'To' => 'Até',
+ 'Unit' => 'Unidade',
+ 'What type of item is this?' => 'Que tipo de Item é este?',
+ 'emailed to' => 'enviado por email para',
+ 'sent to printer' => 'enviado para a impressora',
+};
+
+$self{subs} = {
+ 'check_form' => 'check_form',
+ 'customer_details' => 'customer_details',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'continuar' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/pt/ir b/sql-ledger/locale/pt/ir
new file mode 100644
index 0000000..88fb49e
--- /dev/null
+++ b/sql-ledger/locale/pt/ir
@@ -0,0 +1,178 @@
+$self{texts} = {
+ 'Account' => 'Conta',
+ 'Add Purchase Invoice' => 'Nova Factura de Compra',
+ 'Add Purchase Order' => 'Nova Ordem de Compra',
+ 'Add Sales Order' => 'Nova Encomenda de Cliente',
+ 'Address' => 'Endereço',
+ 'Amount' => 'Total',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Are you sure you want to delete Invoice Number' => 'Tem a certeza que quer APAGAR a Factura Número',
+ 'Attachment' => 'Attachment',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Bin',
+ 'Cannot delete invoice!' => 'Não é possivel apagar a factura!',
+ 'Cannot post invoice for a closed period!' => 'Não pode lançar factura em período fechado!',
+ 'Cannot post invoice!' => 'Não é possivel lançar factura!',
+ 'Cannot post payment for a closed period!' => 'Não pode lançar pagamento em período fechado!',
+ 'Cc' => 'Cc',
+ 'Confirm!' => 'Confirmar!',
+ 'Contact' => 'Contacto',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Cópias',
+ 'Currency' => 'Moeda',
+ 'Customer not on file!' => 'Cliente inexistente!',
+ 'Date' => 'Data',
+ 'Date Due' => 'Data de Vencimento',
+ 'Dec' => 'Dez',
+ 'December' => 'Dezembro',
+ 'Delete' => 'Remover',
+ 'Delivery Date' => 'Data de entrega',
+ 'Description' => 'Descrição',
+ 'E-mail' => 'E-Mail',
+ 'E-mail address missing!' => 'Falta Endereço de E-mail!',
+ 'Edit Purchase Invoice' => 'Editar Factura de Compra',
+ 'Exch' => 'Câmbio',
+ 'Exchangerate' => 'Taxa de Câmbio',
+ 'Exchangerate for payment missing!' => 'Falta a taxa de câmbio para o pagamento!',
+ 'Exchangerate missing!' => 'Falta a taxa de câmbio!',
+ 'Extended' => 'Extended',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Fev',
+ 'February' => 'Fevereiro',
+ 'In-line' => 'Inline',
+ 'Invoice' => 'Factura',
+ 'Invoice Date' => 'Data de Factura',
+ 'Invoice Date missing!' => 'Data de Factura não encontrada!',
+ 'Invoice Number' => 'Número de Factura',
+ 'Invoice Number missing!' => 'Número de Factura não encontrado!',
+ 'Invoice deleted!' => 'Factura apagada',
+ 'Invoice posted!' => 'Factura processada',
+ 'Item not on file!' => 'Item não está no arquivo!',
+ 'Jan' => 'Jan',
+ 'January' => 'Janeiro',
+ 'Jul' => 'Jul',
+ 'July' => 'Julho',
+ 'Jun' => 'Jun',
+ 'June' => 'Junho',
+ 'Mar' => 'Mar',
+ 'March' => 'Março',
+ 'May' => 'Mai',
+ 'May ' => 'Maio',
+ 'Message' => 'Mensagem',
+ 'Name' => 'Nome',
+ 'No.' => 'No.',
+ 'Notes' => 'Notas',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembro',
+ 'Number' => 'Número',
+ 'Number missing in Row' => 'Falta numero na Linha',
+ 'Oct' => 'Out',
+ 'October' => 'Outubro',
+ 'Order' => 'Encomenda',
+ 'Order Date missing!' => 'Falta data da Encomenda',
+ 'Order Number' => 'Encomenda Número',
+ 'Order Number missing!' => 'Falta numero da Encomenda!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Lista de Expedição',
+ 'Packing List Date missing!' => 'Falta Data da Lista de Expedição',
+ 'Packing List Number missing!' => 'Falta Numero de Lista de Expedição',
+ 'Part' => 'Produto',
+ 'Payment date missing!' => 'Falta Data de Pagamento!',
+ 'Payments' => 'Pagamentos',
+ 'Phone' => 'Tel',
+ 'Post' => 'Processar',
+ 'Post as new' => 'Processar como novo',
+ 'Postscript' => 'PostScript',
+ 'Price' => 'Preço',
+ 'Printer' => 'Impressora',
+ 'Project' => 'Projecto',
+ 'Project not on file!' => 'Projecto não existe',
+ 'Purchase Order' => 'Ordem de Compra',
+ 'Qty' => 'Qtd',
+ 'Recd' => 'Recebido',
+ 'Record in' => 'Registar em',
+ 'Required by' => 'Requerido por',
+ 'Sales Order' => 'Encomenda de Venda',
+ 'Screen' => 'Ecran',
+ 'Select from one of the items below' => 'Seleccione um dos items abaixo',
+ 'Select from one of the names below' => 'Seleccione um dos nomes abaixo',
+ 'Select from one of the projects below' => 'Seleccione um dos projectos abaixo',
+ 'Select postscript or PDF!' => 'Seleccione PostScript ou PDF',
+ 'Sep' => 'Set',
+ 'September' => 'Setembro',
+ 'Service' => 'Serviço',
+ 'Ship' => 'Expedir',
+ 'Ship to' => 'Expedir para',
+ 'Source' => 'Origem',
+ 'Subject' => 'Assunto',
+ 'Subtotal' => 'Sub-total',
+ 'Tax Included' => 'Impostos incluídos',
+ 'To' => 'Até',
+ 'Total' => 'Total',
+ 'Unit' => 'Unidade',
+ 'Update' => 'Actualizar',
+ 'Vendor' => 'Fornecedor',
+ 'Vendor missing!' => 'Falta fornecedor',
+ 'Vendor not on file!' => 'Fornecedor não existe',
+ 'What type of item is this?' => 'Que tipo de Item é este?',
+ 'Yes' => 'Sim',
+ 'ea' => 'cd',
+ 'emailed to' => 'enviado por email para',
+ 'sent to printer' => 'enviado para a impressora',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'continuar' => 'continue',
+ 'remover' => 'delete',
+ 'encomenda' => 'order',
+ 'processar' => 'post',
+ 'processar_como_novo' => 'post_as_new',
+ 'actualizar' => 'update',
+ 'sim' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/pt/is b/sql-ledger/locale/pt/is
new file mode 100644
index 0000000..9a33604
--- /dev/null
+++ b/sql-ledger/locale/pt/is
@@ -0,0 +1,185 @@
+$self{texts} = {
+ 'Account' => 'Conta',
+ 'Add Purchase Order' => 'Nova Ordem de Compra',
+ 'Add Sales Invoice' => 'Nova Factura de Venda',
+ 'Add Sales Order' => 'Nova Encomenda de Cliente',
+ 'Address' => 'Endereço',
+ 'Amount' => 'Total',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Are you sure you want to delete Invoice Number' => 'Tem a certeza que quer APAGAR a Factura Número',
+ 'Attachment' => 'Attachment',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Bin',
+ 'Cannot delete invoice!' => 'Não é possivel apagar a factura!',
+ 'Cannot post invoice for a closed period!' => 'Não pode lançar factura em período fechado!',
+ 'Cannot post invoice!' => 'Não é possivel lançar factura!',
+ 'Cannot post payment for a closed period!' => 'Não pode lançar pagamento em período fechado!',
+ 'Cc' => 'Cc',
+ 'Confirm!' => 'Confirmar!',
+ 'Contact' => 'Contacto',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Cópias',
+ 'Credit Limit' => 'Limite de Crédito',
+ 'Currency' => 'Moeda',
+ 'Customer' => 'Cliente',
+ 'Customer missing!' => 'Falta cliente!',
+ 'Customer not on file!' => 'Cliente inexistente!',
+ 'Date' => 'Data',
+ 'Date Due' => 'Data de Vencimento',
+ 'Dec' => 'Dez',
+ 'December' => 'Dezembro',
+ 'Delete' => 'Remover',
+ 'Delivery Date' => 'Data de entrega',
+ 'Description' => 'Descrição',
+ 'E-mail' => 'E-Mail',
+ 'E-mail address missing!' => 'Falta Endereço de E-mail!',
+ 'Edit Sales Invoice' => 'Editar Factura de Venda',
+ 'Exch' => 'Câmbio',
+ 'Exchangerate' => 'Taxa de Câmbio',
+ 'Exchangerate for payment missing!' => 'Falta a taxa de câmbio para o pagamento!',
+ 'Exchangerate missing!' => 'Falta a taxa de câmbio!',
+ 'Extended' => 'Extended',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Fev',
+ 'February' => 'Fevereiro',
+ 'In-line' => 'Inline',
+ 'Invoice' => 'Factura',
+ 'Invoice Date' => 'Data de Factura',
+ 'Invoice Date missing!' => 'Data de Factura não encontrada!',
+ 'Invoice Number' => 'Número de Factura',
+ 'Invoice Number missing!' => 'Número de Factura não encontrado!',
+ 'Invoice deleted!' => 'Factura apagada',
+ 'Invoice posted!' => 'Factura processada',
+ 'Item not on file!' => 'Item não está no arquivo!',
+ 'Jan' => 'Jan',
+ 'January' => 'Janeiro',
+ 'Jul' => 'Jul',
+ 'July' => 'Julho',
+ 'Jun' => 'Jun',
+ 'June' => 'Junho',
+ 'Mar' => 'Mar',
+ 'March' => 'Março',
+ 'May' => 'Mai',
+ 'May ' => 'Maio',
+ 'Message' => 'Mensagem',
+ 'Name' => 'Nome',
+ 'No.' => 'No.',
+ 'Notes' => 'Notas',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembro',
+ 'Number' => 'Número',
+ 'Number missing in Row' => 'Falta numero na Linha',
+ 'Oct' => 'Out',
+ 'October' => 'Outubro',
+ 'Order' => 'Encomenda',
+ 'Order Date missing!' => 'Falta data da Encomenda',
+ 'Order Number' => 'Encomenda Número',
+ 'Order Number missing!' => 'Falta numero da Encomenda!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Lista de Expedição',
+ 'Packing List Date missing!' => 'Falta Data da Lista de Expedição',
+ 'Packing List Number missing!' => 'Falta Numero de Lista de Expedição',
+ 'Part' => 'Produto',
+ 'Payment date missing!' => 'Falta Data de Pagamento!',
+ 'Payments' => 'Pagamentos',
+ 'Phone' => 'Tel',
+ 'Post' => 'Processar',
+ 'Post as new' => 'Processar como novo',
+ 'Postscript' => 'PostScript',
+ 'Price' => 'Preço',
+ 'Print' => 'Imprimir',
+ 'Printer' => 'Impressora',
+ 'Project' => 'Projecto',
+ 'Project not on file!' => 'Projecto não existe',
+ 'Purchase Order' => 'Ordem de Compra',
+ 'Qty' => 'Qtd',
+ 'Recd' => 'Recebido',
+ 'Record in' => 'Registar em',
+ 'Remaining' => 'Sobram',
+ 'Required by' => 'Requerido por',
+ 'Sales Order' => 'Encomenda de Venda',
+ 'Screen' => 'Ecran',
+ 'Select from one of the items below' => 'Seleccione um dos items abaixo',
+ 'Select from one of the names below' => 'Seleccione um dos nomes abaixo',
+ 'Select from one of the projects below' => 'Seleccione um dos projectos abaixo',
+ 'Select postscript or PDF!' => 'Seleccione PostScript ou PDF',
+ 'Sep' => 'Set',
+ 'September' => 'Setembro',
+ 'Service' => 'Serviço',
+ 'Ship' => 'Expedir',
+ 'Ship to' => 'Expedir para',
+ 'Ship via' => 'Expedir via',
+ 'Source' => 'Origem',
+ 'Subject' => 'Assunto',
+ 'Subtotal' => 'Sub-total',
+ 'Tax Included' => 'Impostos incluídos',
+ 'To' => 'Até',
+ 'Total' => 'Total',
+ 'Unit' => 'Unidade',
+ 'Update' => 'Actualizar',
+ 'Vendor not on file!' => 'Fornecedor não existe',
+ 'What type of item is this?' => 'Que tipo de Item é este?',
+ 'Yes' => 'Sim',
+ 'ea' => 'cd',
+ 'emailed to' => 'enviado por email para',
+ 'sent to printer' => 'enviado para a impressora',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'continuar' => 'continue',
+ 'remover' => 'delete',
+ 'e_mail' => 'e_mail',
+ 'encomenda' => 'order',
+ 'processar' => 'post',
+ 'processar_como_novo' => 'post_as_new',
+ 'imprimir' => 'print',
+ 'expedir_para' => 'ship_to',
+ 'actualizar' => 'update',
+ 'sim' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/pt/login b/sql-ledger/locale/pt/login
new file mode 100644
index 0000000..cbe7624
--- /dev/null
+++ b/sql-ledger/locale/pt/login
@@ -0,0 +1,28 @@
+$self{texts} = {
+ 'About' => 'Acerca',
+ 'Accounting' => 'Contabilidade',
+ 'Database Host' => 'Servidor de Base de Dados',
+ 'Dataset' => 'Dataset',
+ 'Incorrect Dataset version!' => 'Versão Dataset incorrecta!',
+ 'Incorrect Password!' => 'Password Incorrecta!',
+ 'Licensed to' => 'Licenciado a',
+ 'Login' => 'Login',
+ 'Name' => 'Nome',
+ 'Password' => 'Password',
+ 'User' => 'Utilizador',
+ 'Version' => 'Versão',
+ 'You are logged out!' => 'Terminou a sessão!',
+ 'You did not enter a name!' => 'Não indicou nome!',
+ 'is not a member!' => 'não é membro!',
+ 'localhost' => 'localhost',
+};
+
+$self{subs} = {
+ 'company_logo' => 'company_logo',
+ 'login' => 'login',
+ 'login_screen' => 'login_screen',
+ 'logout' => 'logout',
+ 'login' => 'login',
+};
+
+1;
diff --git a/sql-ledger/locale/pt/menu b/sql-ledger/locale/pt/menu
new file mode 100644
index 0000000..97b81f7
--- /dev/null
+++ b/sql-ledger/locale/pt/menu
@@ -0,0 +1,72 @@
+$self{texts} = {
+ 'AP' => 'Fornecedores',
+ 'AP Aging' => 'Idade Saldos Fornecedores',
+ 'AR' => 'Clientes',
+ 'AR Aging' => 'Idade Saldos Clientes',
+ 'Accounting Menu' => 'Menu de Contabilidade',
+ 'Add Account' => 'Nova Conta',
+ 'Add Assembly' => 'Novo Conjunto',
+ 'Add Customer' => 'Novo Cliente',
+ 'Add GIFI' => 'Adicionar CFOP',
+ 'Add Part' => 'Novo Produto',
+ 'Add Project' => 'Novo Projecto',
+ 'Add Service' => 'Novo Serviço',
+ 'Add Transaction' => 'Nova Transacção',
+ 'Add Vendor' => 'Novo Fornecedor',
+ 'Assemblies' => 'Conjuntos',
+ 'Audit Control' => 'Controlo de Auditoria',
+ 'Backup' => 'Backup',
+ 'Balance Sheet' => 'Folha de Balanço',
+ 'Cash' => 'Dinheiro',
+ 'Chart of Accounts' => 'Plano de Contas',
+ 'Check' => 'Cheque',
+ 'Customers' => 'Clientes',
+ 'General Ledger' => 'Livro Razão',
+ 'Goods & Services' => 'Bens e Serviços',
+ 'HTML Templates' => 'Templates HTML',
+ 'Income Statement' => 'Estado de Receitas',
+ 'Invoice' => 'Factura',
+ 'LaTeX Templates' => 'Modelos LaTeX',
+ 'List Accounts' => 'Listar Contas',
+ 'List GIFI' => 'Listar CFOP',
+ 'Logout' => 'Logout',
+ 'Order Entry' => 'Encomendas de Clientes',
+ 'Packing List' => 'Lista de Expedição',
+ 'Parts' => 'Produtos',
+ 'Payment' => 'Pagamento',
+ 'Payments' => 'Pagamentos',
+ 'Preferences' => 'Preferências',
+ 'Projects' => 'Projectos',
+ 'Purchase Invoice' => 'Factura de Compra',
+ 'Purchase Order' => 'Ordem de Compra',
+ 'Purchase Orders' => 'Ordens de Compra',
+ 'Receipt' => 'Recibo',
+ 'Receipts' => 'Recibos',
+ 'Reconciliation' => 'Reconciliação',
+ 'Reports' => 'Relatórios',
+ 'Sales Invoice' => 'Factura de Venda',
+ 'Sales Order' => 'Encomenda de Venda',
+ 'Sales Orders' => 'Encomendas de Venda',
+ 'Save to File' => 'Guardar em Ficheiro',
+ 'Send by E-Mail' => 'Enviar por Email',
+ 'Services' => 'Serviços',
+ 'Statement' => 'Statement',
+ 'Stock Assembly' => 'Conjunto em stock',
+ 'Stylesheet' => 'Stylesheet',
+ 'System' => 'Sistema',
+ 'Tax collected' => 'Imposto recolhido',
+ 'Tax paid' => 'Imposto pago',
+ 'Transactions' => 'Transacções',
+ 'Trial Balance' => 'Balancete',
+ 'Vendors' => 'Fornecedores',
+ 'Version' => 'Versão',
+ 'localhost' => 'localhost',
+};
+
+$self{subs} = {
+ 'acc_menu' => 'acc_menu',
+ 'display' => 'display',
+ 'section_menu' => 'section_menu',
+};
+
+1;
diff --git a/sql-ledger/locale/pt/oe b/sql-ledger/locale/pt/oe
new file mode 100644
index 0000000..1be330f
--- /dev/null
+++ b/sql-ledger/locale/pt/oe
@@ -0,0 +1,199 @@
+$self{texts} = {
+ 'Add' => 'Novo',
+ 'Add Purchase Invoice' => 'Nova Factura de Compra',
+ 'Add Purchase Order' => 'Nova Ordem de Compra',
+ 'Add Sales Invoice' => 'Nova Factura de Venda',
+ 'Add Sales Order' => 'Nova Encomenda de Cliente',
+ 'Address' => 'Endereço',
+ 'Amount' => 'Total',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Are you sure you want to delete Order Number' => 'Confirma a remoção da Encomenda?',
+ 'Attachment' => 'Attachment',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Bin',
+ 'C' => 'C',
+ 'Cannot delete order!' => 'Não é possivel apagar a encomenda!',
+ 'Cannot save order!' => 'Não é possível guardar encomenda!',
+ 'Cc' => 'Cc',
+ 'Closed' => 'Fechado',
+ 'Confirm!' => 'Confirmar!',
+ 'Contact' => 'Contacto',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Cópias',
+ 'Credit Limit' => 'Limite de Crédito',
+ 'Curr' => 'Moeda',
+ 'Currency' => 'Moeda',
+ 'Customer' => 'Cliente',
+ 'Customer missing!' => 'Falta cliente!',
+ 'Customer not on file!' => 'Cliente inexistente!',
+ 'Date' => 'Data',
+ 'Dec' => 'Dez',
+ 'December' => 'Dezembro',
+ 'Delete' => 'Remover',
+ 'Delivery Date' => 'Data de entrega',
+ 'Description' => 'Descrição',
+ 'E-mail' => 'E-Mail',
+ 'E-mail address missing!' => 'Falta Endereço de E-mail!',
+ 'Edit Purchase Order' => 'Editar Ordem de Compra',
+ 'Edit Sales Order' => 'Editar Encomenda',
+ 'Exchangerate' => 'Taxa de Câmbio',
+ 'Exchangerate missing!' => 'Falta a taxa de câmbio!',
+ 'Extended' => 'Extended',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Fev',
+ 'February' => 'Fevereiro',
+ 'From' => 'De',
+ 'ID' => 'ID',
+ 'In-line' => 'Inline',
+ 'Include in Report' => 'Incluir no Relatório',
+ 'Invoice' => 'Factura',
+ 'Invoice Date missing!' => 'Data de Factura não encontrada!',
+ 'Invoice Number missing!' => 'Número de Factura não encontrado!',
+ 'Item not on file!' => 'Item não está no arquivo!',
+ 'Jan' => 'Jan',
+ 'January' => 'Janeiro',
+ 'Jul' => 'Jul',
+ 'July' => 'Julho',
+ 'Jun' => 'Jun',
+ 'June' => 'Junho',
+ 'Mar' => 'Mar',
+ 'March' => 'Março',
+ 'May' => 'Mai',
+ 'May ' => 'Maio',
+ 'Message' => 'Mensagem',
+ 'Name' => 'Nome',
+ 'No.' => 'No.',
+ 'Notes' => 'Notas',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembro',
+ 'Number' => 'Número',
+ 'Number missing in Row' => 'Falta numero na Linha',
+ 'O' => 'O',
+ 'Oct' => 'Out',
+ 'October' => 'Outubro',
+ 'Open' => 'Abrir',
+ 'Order' => 'Encomenda',
+ 'Order Date' => 'Data da Encomenda',
+ 'Order Date missing!' => 'Falta data da Encomenda',
+ 'Order Number' => 'Encomenda Número',
+ 'Order Number missing!' => 'Falta numero da Encomenda!',
+ 'Order deleted!' => 'Encomenda apagada',
+ 'Order saved!' => 'Encomenda guardada',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Lista de Expedição',
+ 'Packing List Date missing!' => 'Falta Data da Lista de Expedição',
+ 'Packing List Number missing!' => 'Falta Numero de Lista de Expedição',
+ 'Part' => 'Produto',
+ 'Phone' => 'Tel',
+ 'Postscript' => 'PostScript',
+ 'Price' => 'Preço',
+ 'Print' => 'Imprimir',
+ 'Printer' => 'Impressora',
+ 'Project' => 'Projecto',
+ 'Project not on file!' => 'Projecto não existe',
+ 'Purchase Order' => 'Ordem de Compra',
+ 'Purchase Orders' => 'Ordens de Compra',
+ 'Qty' => 'Qtd',
+ 'Recd' => 'Recebido',
+ 'Remaining' => 'Sobram',
+ 'Required by' => 'Requerido por',
+ 'Sales Order' => 'Encomenda de Venda',
+ 'Sales Orders' => 'Encomendas de Venda',
+ 'Save' => 'Guardar',
+ 'Save as new' => 'Guardar como novo',
+ 'Screen' => 'Ecran',
+ 'Select from one of the items below' => 'Seleccione um dos items abaixo',
+ 'Select from one of the names below' => 'Seleccione um dos nomes abaixo',
+ 'Select from one of the projects below' => 'Seleccione um dos projectos abaixo',
+ 'Select postscript or PDF!' => 'Seleccione PostScript ou PDF',
+ 'Sep' => 'Set',
+ 'September' => 'Setembro',
+ 'Service' => 'Serviço',
+ 'Ship' => 'Expedir',
+ 'Ship to' => 'Expedir para',
+ 'Ship via' => 'Expedir via',
+ 'Subject' => 'Assunto',
+ 'Subtotal' => 'Sub-total',
+ 'Tax' => 'Imposto',
+ 'Tax Included' => 'Impostos incluídos',
+ 'Terms: Net' => 'Termos: A pronto',
+ 'To' => 'Até',
+ 'Total' => 'Total',
+ 'Unit' => 'Unidade',
+ 'Update' => 'Actualizar',
+ 'Vendor' => 'Fornecedor',
+ 'Vendor missing!' => 'Falta fornecedor',
+ 'Vendor not on file!' => 'Fornecedor não existe',
+ 'What type of item is this?' => 'Que tipo de Item é este?',
+ 'Yes' => 'Sim',
+ 'days' => 'dias',
+ 'ea' => 'cd',
+ 'emailed to' => 'enviado por email para',
+ 'sent to printer' => 'enviado para a impressora',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_backorder' => 'create_backorder',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice' => 'invoice',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'order_links' => 'order_links',
+ 'orders' => 'orders',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_order' => 'prepare_order',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'save' => 'save',
+ 'save_as_new' => 'save_as_new',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'subtotal' => 'subtotal',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'novo' => 'add',
+ 'continuar' => 'continue',
+ 'remover' => 'delete',
+ 'e_mail' => 'e_mail',
+ 'factura' => 'invoice',
+ 'imprimir' => 'print',
+ 'guardar' => 'save',
+ 'guardar_como_novo' => 'save_as_new',
+ 'expedir_para' => 'ship_to',
+ 'actualizar' => 'update',
+ 'sim' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/pt/pe b/sql-ledger/locale/pt/pe
new file mode 100644
index 0000000..fc71393
--- /dev/null
+++ b/sql-ledger/locale/pt/pe
@@ -0,0 +1,35 @@
+$self{texts} = {
+ 'Add' => 'Novo',
+ 'Add Project' => 'Novo Projecto',
+ 'All' => 'Todos',
+ 'Continue' => 'Continuar',
+ 'Delete' => 'Remover',
+ 'Description' => 'Descrição',
+ 'Edit Project' => 'Editar Projecto',
+ 'Number' => 'Número',
+ 'Orphaned' => 'Órfão',
+ 'Project' => 'Projecto',
+ 'Project Number missing!' => 'Falta o número do projecto',
+ 'Project deleted!' => 'Projecto apagado',
+ 'Project saved!' => 'Projecto guardado',
+ 'Projects' => 'Projectos',
+ 'Save' => 'Guardar',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'novo' => 'add',
+ 'continuar' => 'continue',
+ 'remover' => 'delete',
+ 'guardar' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/pt/rc b/sql-ledger/locale/pt/rc
new file mode 100644
index 0000000..28c8216
--- /dev/null
+++ b/sql-ledger/locale/pt/rc
@@ -0,0 +1,37 @@
+$self{texts} = {
+ 'Account' => 'Conta',
+ 'Balance' => 'Saldo',
+ 'Cleared Balance' => 'Cleared Balance',
+ 'Continue' => 'Continuar',
+ 'Date' => 'Data',
+ 'Deposit' => 'Depósito',
+ 'Description' => 'Descrição',
+ 'Difference' => 'Diferença',
+ 'Done' => 'Pronto',
+ 'Exchangerate Difference' => 'Diferença na Taxa de Câmbio',
+ 'From' => 'De',
+ 'Out of balance!' => 'Out of balance!',
+ 'Payment' => 'Pagamento',
+ 'Reconciliation' => 'Reconciliação',
+ 'Select all' => 'Seleccionar todos',
+ 'Source' => 'Origem',
+ 'Statement Balance' => 'Statement Balance',
+ 'To' => 'Até',
+ 'Update' => 'Actualizar',
+};
+
+$self{subs} = {
+ 'continue' => 'continue',
+ 'display_form' => 'display_form',
+ 'done' => 'done',
+ 'get_payments' => 'get_payments',
+ 'reconciliation' => 'reconciliation',
+ 'select_all' => 'select_all',
+ 'update' => 'update',
+ 'continuar' => 'continue',
+ 'pronto' => 'done',
+ 'seleccionar_todos' => 'select_all',
+ 'actualizar' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/pt/rp b/sql-ledger/locale/pt/rp
new file mode 100644
index 0000000..c452e9c
--- /dev/null
+++ b/sql-ledger/locale/pt/rp
@@ -0,0 +1,117 @@
+$self{texts} = {
+ 'AP Aging' => 'Idade Saldos Fornecedores',
+ 'AR Aging' => 'Idade Saldos Clientes',
+ 'Account' => 'Conta',
+ 'Accounts' => 'Contas',
+ 'Amount' => 'Total',
+ 'Apr' => 'Abr',
+ 'April' => 'Abril',
+ 'Attachment' => 'Attachment',
+ 'Aug' => 'Ago',
+ 'August' => 'Agosto',
+ 'Balance Sheet' => 'Folha de Balanço',
+ 'Bcc' => 'Bcc',
+ 'Cash based' => 'Cash based',
+ 'Cc' => 'Cc',
+ 'Compare to' => 'Comparar com',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Cópias',
+ 'Credit' => 'Crédito',
+ 'Current' => 'Current',
+ 'Customer' => 'Cliente',
+ 'Date' => 'Data',
+ 'Debit' => 'Débito',
+ 'Dec' => 'Dez',
+ 'December' => 'Dezembro',
+ 'Decimalplaces' => 'Casas decimais',
+ 'Description' => 'Descrição',
+ 'Due' => 'Vence',
+ 'E-mail' => 'E-Mail',
+ 'E-mail Statement to' => 'E-mail Statement to',
+ 'Feb' => 'Fev',
+ 'February' => 'Fevereiro',
+ 'From' => 'De',
+ 'GIFI' => 'CFOP - Código Fiscal da Operação',
+ 'Heading' => 'Cabeçalho',
+ 'ID' => 'ID',
+ 'In-line' => 'Inline',
+ 'Include in Report' => 'Incluir no Relatório',
+ 'Income Statement' => 'Estado de Receitas',
+ 'Invoice' => 'Factura',
+ 'Jan' => 'Jan',
+ 'January' => 'Janeiro',
+ 'Jul' => 'Jul',
+ 'July' => 'Julho',
+ 'Jun' => 'Jun',
+ 'June' => 'Junho',
+ 'Mar' => 'Mar',
+ 'March' => 'Março',
+ 'May' => 'Mai',
+ 'May ' => 'Maio',
+ 'Message' => 'Mensagem',
+ 'N/A' => 'N/D',
+ 'Nothing selected!' => 'Nada seleccionado',
+ 'Nov' => 'Nov',
+ 'November' => 'Novembro',
+ 'Oct' => 'Out',
+ 'October' => 'Outubro',
+ 'PDF' => 'PDF',
+ 'Payments' => 'Pagamentos',
+ 'Postscript' => 'PostScript',
+ 'Print' => 'Imprimir',
+ 'Printer' => 'Impressora',
+ 'Receipts' => 'Recibos',
+ 'Report for' => 'Relatório para',
+ 'Retained Earnings' => 'Lucros Retidos',
+ 'Screen' => 'Ecran',
+ 'Select all' => 'Seleccionar todos',
+ 'Select postscript or PDF!' => 'Seleccione PostScript ou PDF',
+ 'Sep' => 'Set',
+ 'September' => 'Setembro',
+ 'Source' => 'Origem',
+ 'Standard' => 'Padrão',
+ 'Statement' => 'Statement',
+ 'Statement sent to' => 'Statement sent to',
+ 'Statements sent to printer!' => 'Statements sent to printer!',
+ 'Subject' => 'Assunto',
+ 'Subtotal' => 'Sub-total',
+ 'Tax' => 'Imposto',
+ 'Tax collected' => 'Imposto recolhido',
+ 'Tax paid' => 'Imposto pago',
+ 'To' => 'Até',
+ 'Total' => 'Total',
+ 'Trial Balance' => 'Balancete',
+ 'Vendor' => 'Fornecedor',
+ 'as at' => 'as at',
+ 'collected on sales' => 'recolhido sobre vendas',
+ 'for Period' => 'pelo período',
+ 'paid on purchases' => 'pago em aquisições',
+ 'to' => 'para',
+};
+
+$self{subs} = {
+ 'aging' => 'aging',
+ 'continue' => 'continue',
+ 'e_mail' => 'e_mail',
+ 'generate_ap_aging' => 'generate_ap_aging',
+ 'generate_ar_aging' => 'generate_ar_aging',
+ 'generate_balance_sheet' => 'generate_balance_sheet',
+ 'generate_income_statement' => 'generate_income_statement',
+ 'generate_tax_report' => 'generate_tax_report',
+ 'generate_trial_balance' => 'generate_trial_balance',
+ 'list_payments' => 'list_payments',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'report' => 'report',
+ 'select_all' => 'select_all',
+ 'send_email' => 'send_email',
+ 'statement_details' => 'statement_details',
+ 'tax_subtotal' => 'tax_subtotal',
+ 'continuar' => 'continue',
+ 'e_mail' => 'e_mail',
+ 'imprimir' => 'print',
+ 'seleccionar_todos' => 'select_all',
+};
+
+1;
diff --git a/sql-ledger/locale/ru/COPYING b/sql-ledger/locale/ru/COPYING
new file mode 100644
index 0000000..411c170
--- /dev/null
+++ b/sql-ledger/locale/ru/COPYING
@@ -0,0 +1,23 @@
+######################################################################
+# SQL-Ledger Accounting
+# Copyright (c) 2002
+#
+# Russian texts:
+#
+# Author:
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+#######################################################################
+
diff --git a/sql-ledger/locale/ru/LANGUAGE b/sql-ledger/locale/ru/LANGUAGE
new file mode 100644
index 0000000..64c9578
--- /dev/null
+++ b/sql-ledger/locale/ru/LANGUAGE
@@ -0,0 +1 @@
+Russian
diff --git a/sql-ledger/locale/ru/admin b/sql-ledger/locale/ru/admin
new file mode 100644
index 0000000..3f10bcf
--- /dev/null
+++ b/sql-ledger/locale/ru/admin
@@ -0,0 +1,122 @@
+$self{texts} = {
+ 'Access Control' => 'ëÏÎÔÒÏÌØ ÄÏÓÔÕÐÁ',
+ 'Accounting' => 'Accounting',
+ 'Add User' => 'îÏ×ÙÊ ÐÏÌØÚÏ×ÁÔÅÌØ',
+ 'Address' => 'áÄÒÅÓ',
+ 'Administration' => 'áÄÍÉÎÉÓÔÒÉÒÏ×ÁÎÉÅ',
+ 'Administrator' => 'Administrator',
+ 'All Datasets up to date!' => 'All Datasets up to date!',
+ 'Change Admin Password' => 'éÚÍÅÎÉÔØ ÐÁÒÏÌØ áÄÍÉÎÉÓÔÒÁÔÏÒÁ',
+ 'Change Password' => 'éÚÍÅÎÉÔØ ÐÁÒÏÌØ',
+ 'Character Set' => 'ëÏÄÉÒÏ×ËÁ',
+ 'Click on login name to edit!' => 'Kliknij nazwê u¿ytkownika ¿eby dokonaæ zmian',
+ 'Company' => 'ïÒÇÁÎÉÚÁÃÉÑ',
+ 'Connect to' => 'ðÏÄËÌÀÞÉÔØÓÑ Ë',
+ 'Continue' => 'ðÒÏÄÏÌÖÉÔØ',
+ 'Create Chart of Accounts' => 'óÏÚÄÁÔØ çðó',
+ 'Create Dataset' => 'Utwórz Zbiór Danych',
+ 'DBI not installed!' => 'îÅ ÕÓÔÁÎÏ×ÌÅÎ ÄÒÁÊ×ÅÒ DBI!',
+ 'Database' => 'âÁÚÁ ÄÁÎÎÙÈ',
+ 'Database Administration' => 'áÄÍÉÎÉÓÔÒÉÒÏ×ÁÎÉÅ ÂÁÚÙ ÄÁÎÎÙÈ',
+ 'Database Driver not checked!' => 'Sterownik Bazy Danych nie zaznaczony!',
+ 'Database User missing!' => 'Brak U¿ytkownika Bazy Danych!',
+ 'Dataset' => 'Zbiór Danych',
+ 'Dataset missing!' => 'Brak Zbioru Danych',
+ 'Dataset updated!' => 'Dataset updated!',
+ 'Date Format' => 'æÏÒÍÁÔ ÄÁÔÙ',
+ 'Delete' => 'õÄÁÌÉÔØ',
+ 'Delete Dataset' => 'Usuñ Zbior Danych',
+ 'Directory' => 'ëÁÔÁÌÏÇ',
+ 'Driver' => 'Sterownik',
+ 'Dropdown Limit' => 'Dropdown Limit',
+ 'E-mail' => 'E-mail',
+ 'Edit User' => 'Zmiany U¿ytkownika',
+ 'Existing Datasets' => 'Istniej±cy Zbiór Danych',
+ 'Fax' => 'Fax',
+ 'Host' => 'Wêze³',
+ 'Hostname missing!' => 'Brak Nazwy Wêz³a',
+ 'Incorrect Password!' => 'Nieprawid³owe Has³o',
+ 'Language' => 'ñÚÙË',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Opu¶æ pole wêz³a i portu, chyba ¿e chcesz mieæ zdalne po³±czenie',
+ 'Login' => 'Zarejestrój siê',
+ 'Name' => 'Nazwa',
+ 'New Templates' => 'Nowe Szablony',
+ 'No Database Drivers available!' => 'Sterownik Bazy Danych jest niedostêpny',
+ 'No Dataset selected!' => 'Nie jest zaznaczony Zbiór Danych',
+ 'Nothing to delete!' => 'Niema nic do usuniêcia!',
+ 'Number Format' => 'Format Numeru',
+ 'Oracle Database Administration' => 'Administracja Bazy Danych Oracle',
+ 'Password' => 'Has³o',
+ 'Password changed!' => 'Password changed!',
+ 'Pg Database Administration' => 'Administracja Bazy Danych Pg',
+ 'Phone' => 'Tel.',
+ 'Port' => 'Port',
+ 'Port missing!' => 'Brak Portu',
+ 'Printer' => 'Drukarka',
+ 'Save' => 'Zapisz',
+ 'Select a Dataset to delete and press "Continue"' => 'Wybierz Zbiór Danych do usuniêcia i naci¶nij "Kontynuj"',
+ 'Setup Templates' => 'Ustaw Szablony',
+ 'Ship via' => 'Ship via',
+ 'Signature' => 'ðÏÄÐÉÓØ',
+ 'Stylesheet' => 'ïÆÏÒÍÌÅÎÉÅ',
+ 'Templates' => 'æÏÒÍÙ',
+ 'The following Datasets are not in use and can be deleted' => 'Te Zbiory Danych s± nieu¿ywane i mo¿na je usun±æ',
+ 'The following Datasets need to be updated' => 'Zbiory Danych do uzupe³nienia',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'Jest to wstêpne sprawdzenie istniej±cych ¿róde³. Narazie nic nie bêdzie utworzone lub usuniête.',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => '¯eby dodaæ do grupy u¿ytkownika zmieñ nazwê, nazwê zarejestrowania i zapisz. Nowy u¿ytkownik z tymi samymi zmiennymi warto¶ciami bêdzie zapisany pod now± nazw± rejestruj±c±',
+ 'Update Dataset' => 'Uzupe³nij Zbiór Danych',
+ 'Use Templates' => 'U¿yj Szablony',
+ 'User' => 'U¿ytkownik',
+ 'User deleted!' => 'User deleted!',
+ 'User saved!' => 'User saved!',
+ 'Version' => '÷ÅÒÓÉÑ',
+ 'You must enter a host and port for local and remote connections!' => 'Wstaw wêze³ i port dla lokalnego i zdalnego po³±czenia',
+ 'does not exist' => 'nie istnieje',
+ 'is already a member!' => 'Jest ju¿ cz³onkiem',
+ 'localhost' => 'wêze³',
+ 'successfully created!' => 'stworzone z powodzeniem',
+ 'successfully deleted!' => 'usuniête z powodzeniem',
+ 'website' => 'witryna WWW',
+};
+
+$self{subs} = {
+ 'add_user' => 'add_user',
+ 'adminlogin' => 'adminlogin',
+ 'change_admin_password' => 'change_admin_password',
+ 'change_password' => 'change_password',
+ 'check_password' => 'check_password',
+ 'continue' => 'continue',
+ 'create_dataset' => 'create_dataset',
+ 'dbcreate' => 'dbcreate',
+ 'dbdelete' => 'dbdelete',
+ 'dbdriver_defaults' => 'dbdriver_defaults',
+ 'dbselect_source' => 'dbselect_source',
+ 'dbupdate' => 'dbupdate',
+ 'delete' => 'delete',
+ 'delete_dataset' => 'delete_dataset',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'get_value' => 'get_value',
+ 'list_users' => 'list_users',
+ 'login' => 'login',
+ 'login_name' => 'login_name',
+ 'oracle_database_administration' => 'oracle_database_administration',
+ 'pg_database_administration' => 'pg_database_administration',
+ 'save' => 'save',
+ 'update_dataset' => 'update_dataset',
+ 'îÏ×ÙÊ_ÐÏÌØÚÏ×ÁÔÅÌØ' => 'add_user',
+ 'éÚÍÅÎÉÔØ_ÐÁÒÏÌØ_áÄÍÉÎÉÓÔÒÁÔÏÒÁ' => 'change_admin_password',
+ 'éÚÍÅÎÉÔØ_ÐÁÒÏÌØ' => 'change_password',
+ 'ðÒÏÄÏÌÖÉÔØ' => 'continue',
+ 'utwórz_zbiór_danych' => 'create_dataset',
+ 'õÄÁÌÉÔØ' => 'delete',
+ 'usuñ_zbior_danych' => 'delete_dataset',
+ 'zarejestrój_siê' => 'login',
+ 'administracja_bazy_danych_oracle' => 'oracle_database_administration',
+ 'administracja_bazy_danych_pg' => 'pg_database_administration',
+ 'zapisz' => 'save',
+ 'uzupe³nij_zbiór_danych' => 'update_dataset',
+};
+
+1;
diff --git a/sql-ledger/locale/ru/all b/sql-ledger/locale/ru/all
new file mode 100644
index 0000000..a87eee9
--- /dev/null
+++ b/sql-ledger/locale/ru/all
@@ -0,0 +1,487 @@
+# These are all the texts to build the translations files.
+# The file has the form of 'english text' => 'foreign text',
+# you can add the translation in this file or in the 'missing' file
+# run locales.pl from this directory to rebuild the translation files
+
+$self{texts} = {
+ 'AP' => 'òÁÓÈÏÄ',
+ 'AP Aging' => 'AP Aging',
+ 'AP Transaction' => '',
+ 'AP Transactions' => 'ðÒÏ×ÏÄËÉ ÒÁÓÈÏÄÁ',
+ 'AR' => 'äÏÈÏÄ',
+ 'AR Aging' => 'AR Aging',
+ 'AR Transaction' => '',
+ 'AR Transactions' => 'ðÒÏ×ÏÄËÉ ÄÏÈÏÄÁ',
+ 'About' => 'ï ÐÒÏÇÒÁÍÍÅ',
+ 'Access Control' => 'ëÏÎÔÒÏÌØ ÄÏÓÔÕÐÁ',
+ 'Account' => 'óÞÅÔ',
+ 'Account Number' => 'ëÏÄ ÓÞÅÔÁ',
+ 'Account Number missing!' => 'îÅ ÕËÁÚÁÎ ÎÏÍÅÒ ÓÞÅÔÁ!',
+ 'Account Type' => 'ôÉÐ ÓÞÅÔÁ',
+ 'Account Type missing!' => 'îÅ ÕËÁÚÁÎ ÔÉÐ ÓÞÅÔÁ!',
+ 'Account deleted!' => '',
+ 'Account saved!' => '',
+ 'Accounting' => 'Accounting',
+ 'Accounting Menu' => 'Accounting Menu',
+ 'Accounts' => 'óÞÅÔÁ',
+ 'Active' => '',
+ 'Add' => 'îÏ×ÙÊ',
+ 'Add Account' => 'îÏ×ÙÊ ÓÞÅÔ',
+ 'Add Accounts Payables Transaction' => '',
+ 'Add Accounts Receivables Transaction' => '',
+ 'Add Assembly' => 'îÏ×ÙÊ ËÏÍÐÌÅËÔ',
+ 'Add Customer' => 'îÏ×ÙÊ ËÌÉÅÎÔ',
+ 'Add GIFI' => 'îÏ×ÙÊ GIFI',
+ 'Add General Ledger Transaction' => 'îÏ×ÁÑ ÐÒÏ×ÏÄËÁ',
+ 'Add Part' => 'îÏ×ÙÊ ÐÒÏÄÕËÔ',
+ 'Add Project' => '',
+ 'Add Purchase Invoice' => '',
+ 'Add Purchase Order' => 'îÏ×ÙÊ ÚÁËÁÚ ÐÏÓÔÁ×ÝÉËÁ',
+ 'Add Sales Invoice' => '',
+ 'Add Sales Order' => 'îÏ×ÙÊ ÚÁËÁÚ ËÌÉÅÎÔÁ',
+ 'Add Service' => 'îÏ×ÁÑ ÕÓÌÕÇÁ',
+ 'Add Transaction' => 'îÏ×ÁÑ ÐÒÏ×ÏÄËÁ',
+ 'Add User' => 'îÏ×ÙÊ ÐÏÌØÚÏ×ÁÔÅÌØ',
+ 'Add Vendor' => 'îÏ×ÙÊ ÐÏÓÔÁ×ÝÉË',
+ 'Address' => 'áÄÒÅÓ',
+ 'Administration' => 'áÄÍÉÎÉÓÔÒÉÒÏ×ÁÎÉÅ',
+ 'Administrator' => '',
+ 'All' => '÷ÓÅ',
+ 'All Datasets up to date!' => 'All Datasets up to date!',
+ 'Amount' => 'óÕÍÍÁ',
+ 'Amount Due' => '',
+ 'Amount does not equal applied!' => '',
+ 'Amount missing!' => '',
+ 'Applied' => '',
+ 'Apr' => 'áÐÒ',
+ 'April' => 'áÐÒÅÌØ',
+ 'Are you sure you want to delete Invoice Number' => '÷Ù Õ×ÅÒÅÎÙ, ÞÔÏ ÈÏÔÉÔÅ ÕÄÁÌÉÔØ ÄÁÎÎÙÊ ÓÞÅÔ?',
+ 'Are you sure you want to delete Order Number' => '÷Ù Õ×ÅÒÅÎÙ, ÞÔÏ ÈÏÔÉÔÅ ÕÄÁÌÉÔØ ÄÁÎÎÙÊ ÚÁËÁÚ?',
+ 'Are you sure you want to delete Transaction' => '÷Ù Õ×ÅÒÅÎÙ, ÓÔÏ ÈÏÔÉÔÅ ÕÄÁÌÉÔØ ÄÁÎÎÕÀ ÐÒÏ×ÏÄËÕ?',
+ 'Assemblies' => 'ëÏÍÐÌÅËÔÙ',
+ 'Assemblies restocked!' => '',
+ 'Assembly Number missing!' => 'îÅ ÕËÁÚÁÎ ÎÏÍÅÒ ËÏÍÐÌÅËÔÁ!',
+ 'Asset' => 'áËÔÉ×',
+ 'Attachment' => '÷ÌÏÖÅÎÉÅ',
+ 'Audit Control' => 'ëÏÎÔÒÏÌØ',
+ 'Aug' => 'á×Ç',
+ 'August' => 'á×ÇÕÓÔ',
+ 'BOM' => '',
+ 'Backup' => 'òÅÚÅÒ×ÎÁÑ ËÏÐÉÑ',
+ 'Backup sent to' => 'òÅÚÅÒ×ÎÁÑ ËÏÐÉÑ ÏÔÏÓÌÁÎÁ ÎÁ',
+ 'Balance' => '',
+ 'Balance Sheet' => 'âÁÌÁÎÓ',
+ 'Bcc' => '',
+ 'Bin' => 'Bin',
+ 'Books are open' => 'ëÎÉÇÁ ÏÔËÒÙÔÁ',
+ 'Bought' => 'ëÕÐÌÅÎÏ',
+ 'Business Number' => 'òîî',
+ 'C' => '',
+ 'COGS' => 'COGS',
+ 'Cannot delete account!' => '',
+ 'Cannot delete customer!' => '',
+ 'Cannot delete default account!' => 'îÅÌØÚÑ ÕÄÁÌÉÔØ ÏÓÎÏ×ÎÏÊ ÓÞÅÔ!',
+ 'Cannot delete invoice!' => '',
+ 'Cannot delete item already invoiced!' => 'Nie mo¿na usun±æ pozycji zafakturowanej!',
+ 'Cannot delete item on order!' => 'Nie mo¿na usunac zamówionego produktu!',
+ 'Cannot delete item which is part of an assembly!' => 'Nie mo¿na usun±æ czê¶ci z zestawienia!',
+ 'Cannot delete item!' => '',
+ 'Cannot delete order!' => '',
+ 'Cannot delete transaction!' => '',
+ 'Cannot delete vendor!' => '',
+ 'Cannot have a value in both Debit and Credit!' => 'Nie mo¿na wpisaæ warto¶ci w Debet i Kredyt równocze¶nie!',
+ 'Cannot post a transaction without a value!' => '',
+ 'Cannot post invoice for a closed period!' => 'Nie mo¿na zksiêgowaæ faktury pozamkniêciu okresu',
+ 'Cannot post invoice!' => '',
+ 'Cannot post payment for a closed period!' => 'Nie mo¿na zaksiêgowaæ p³atno¶ci po zamkniêciu okresu!',
+ 'Cannot post payment!' => '',
+ 'Cannot post transaction for a closed period!' => 'Nie mo¿na zaksiêgowaæ transakcji w zamkniêtym okresie',
+ 'Cannot post transaction!' => '',
+ 'Cannot process payment for a closed period!' => '',
+ 'Cannot save account!' => '',
+ 'Cannot save order!' => '',
+ 'Cannot save preferences!' => '',
+ 'Cannot stock assemblies!' => '',
+ 'Cash' => '',
+ 'Cash based' => '',
+ 'Cc' => '',
+ 'Change Admin Password' => 'éÚÍÅÎÉÔØ ÐÁÒÏÌØ áÄÍÉÎÉÓÔÒÁÔÏÒÁ',
+ 'Change Password' => 'éÚÍÅÎÉÔØ ÐÁÒÏÌØ',
+ 'Character Set' => 'ëÏÄÉÒÏ×ËÁ',
+ 'Chart of Accounts' => 'ðÌÁÎ ÓÞÅÔÏ×',
+ 'Check' => '',
+ 'Check printed!' => '',
+ 'Check printing failed!' => '',
+ 'Cleared Balance' => '',
+ 'Click on login name to edit!' => 'Kliknij nazwê u¿ytkownika ¿eby dokonaæ zmian',
+ 'Close Books up to' => 'Zamkniêcie Ksi±g do!',
+ 'Closed' => 'úÁËÒÙÔ',
+ 'Company' => 'ïÒÇÁÎÉÚÁÃÉÑ',
+ 'Compare to' => 'óÒÁ×ÎÉÔØ Ó',
+ 'Confirm!' => 'ðÏÄÔ×ÅÒÄÉÔØ!',
+ 'Connect to' => 'ðÏÄËÌÀÞÉÔØÓÑ Ë',
+ 'Contact' => 'ëÏÎÔÁËÔÎÏÅ ÌÉÃÏ',
+ 'Continue' => 'ðÒÏÄÏÌÖÉÔØ',
+ 'Copies' => 'ëÏÐÉÊ',
+ 'Copy to COA' => 'ëÏÐÉÒÏ×ÁÔØ × çðó',
+ 'Create Chart of Accounts' => 'óÏÚÄÁÔØ çðó',
+ 'Create Dataset' => 'Utwórz Zbiór Danych',
+ 'Credit' => 'ëÒÅÄÉÔ',
+ 'Credit Limit' => 'ìÉÍÉÔ ËÒÅÄÉÔÁ',
+ 'Curr' => '÷ÁÌÀÔÁ',
+ 'Currency' => '÷ÁÌÀÔÁ',
+ 'Current' => '',
+ 'Customer' => 'ëÌÉÅÎÔ',
+ 'Customer deleted!' => '',
+ 'Customer missing!' => '',
+ 'Customer not on file!' => '',
+ 'Customer saved!' => '',
+ 'Customers' => '',
+ 'DBI not installed!' => 'îÅ ÕÓÔÁÎÏ×ÌÅÎ ÄÒÁÊ×ÅÒ DBI!',
+ 'Database' => 'âÁÚÁ ÄÁÎÎÙÈ',
+ 'Database Administration' => 'áÄÍÉÎÉÓÔÒÉÒÏ×ÁÎÉÅ ÂÁÚÙ ÄÁÎÎÙÈ',
+ 'Database Driver not checked!' => 'Sterownik Bazy Danych nie zaznaczony!',
+ 'Database Host' => 'Wêze³ Bazy Danych',
+ 'Database User missing!' => 'Brak U¿ytkownika Bazy Danych!',
+ 'Dataset' => 'Zbiór Danych',
+ 'Dataset missing!' => 'Brak Zbioru Danych',
+ 'Dataset updated!' => '',
+ 'Date' => 'äÁÔÁ',
+ 'Date Due' => 'ïÐÌÁÔÉÔØ ÄÏ',
+ 'Date Format' => 'æÏÒÍÁÔ ÄÁÔÙ',
+ 'Date Paid' => 'äÁÔÁ ÏÐÌÁÔÙ',
+ 'Date missing!' => '',
+ 'Debit' => 'äÅÂÅÔ',
+ 'Debit and credit out of balance!' => 'Debet i Kredyt siê niebalansuj±!',
+ 'Dec' => 'äÅË',
+ 'December' => 'äÅËÁÂÒØ',
+ 'Decimalplaces' => '',
+ 'Delete' => 'õÄÁÌÉÔØ',
+ 'Delete Account' => 'õÄÁÌÍÔØ ÓÞÅÔ',
+ 'Delete Dataset' => 'Usuñ Zbior Danych',
+ 'Delivery Date' => '',
+ 'Deposit' => '',
+ 'Description' => 'ïÐÉÓÁÎÉÅ',
+ 'Difference' => '',
+ 'Directory' => 'ëÁÔÁÌÏÇ',
+ 'Discount' => 'óËÉÄËÁ',
+ 'Done' => '',
+ 'Drawing' => '',
+ 'Driver' => 'Sterownik',
+ 'Dropdown Limit' => '',
+ 'Due' => 'äÏ',
+ 'Due Date' => 'ïÐÌÁÔÉÔØ ÄÏ',
+ 'Due Date missing!' => 'îÅ ÕËÁÚÁÎ ÓÒÏË ÏÐÌÁÔÙ!',
+ 'E-mail' => 'E-mail',
+ 'E-mail Statement to' => '',
+ 'E-mail address missing!' => 'îÅ ÕËÁÚÁÎ ÁÄÒÅÓ E-mail!',
+ 'Edit' => '',
+ 'Edit Account' => 'éÚÍÅÎÉÔØ ÓÞÅÔ',
+ 'Edit Accounts Payables Transaction' => '',
+ 'Edit Accounts Receivables Transaction' => '',
+ 'Edit Assembly' => 'éÚÍÅÎÉÔØ ËÏÍÐÌÅËÔ',
+ 'Edit GIFI' => 'éÚÍÅÎÉÔØ GIFI',
+ 'Edit General Ledger Transaction' => 'Zmiany w Ksiêdze G³ównej',
+ 'Edit Part' => 'Zmiany Produktu',
+ 'Edit Preferences for' => 'Zmiany Preferencji dla',
+ 'Edit Project' => '',
+ 'Edit Purchase Invoice' => '',
+ 'Edit Purchase Order' => 'Zmiany Zamówienia Zakupu',
+ 'Edit Sales Invoice' => '',
+ 'Edit Sales Order' => 'Zmiany Zamówienia Klienta',
+ 'Edit Service' => 'éÚÍÅÎÉÔØ ÕÓÌÕÇÕ',
+ 'Edit Template' => 'Zmiany Wzorca',
+ 'Edit User' => 'Zmiany U¿ytkownika',
+ 'Employee' => '',
+ 'Enforce transaction reversal for all dates' => 'Egzekwuj zmiany transakcji dla wszystkich terminów',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => '',
+ 'Equity' => 'Kapita³',
+ 'Exch' => 'Kurs',
+ 'Exchangerate' => 'Kurs Wymiany',
+ 'Exchangerate Difference' => '',
+ 'Exchangerate for payment missing!' => 'Brakuje kursu wymiany dla p³atno¶ci!',
+ 'Exchangerate missing!' => 'Brakuje kursu wymiany',
+ 'Existing Datasets' => 'Istniej±cy Zbiór Danych',
+ 'Expense' => 'òÁÓÈÏÄ',
+ 'Expense Account' => 'Konto Kosztów',
+ 'Expense/Asset' => 'Koszt/Aktywy',
+ 'Extended' => '',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Luty',
+ 'February' => 'Luty',
+ 'Foreign Exchange Gain' => 'Zysk przy Wymianie Walut',
+ 'Foreign Exchange Loss' => 'Strata przy Wymianie Walut',
+ 'From' => 'Od',
+ 'GIFI' => 'GIFI',
+ 'GIFI deleted!' => '',
+ 'GIFI missing!' => 'Brakuje GIFI',
+ 'GIFI saved!' => '',
+ 'GL Transaction' => '',
+ 'General Ledger' => 'Ksiêga G³ówna',
+ 'Goods & Services' => 'Produkty i Us³ugi',
+ 'HTML Templates' => 'Szablony HTML',
+ 'Heading' => 'òÁÚÄÅÌ',
+ 'Host' => 'Wêze³',
+ 'Hostname missing!' => 'Brak Nazwy Wêz³a',
+ 'ID' => 'Identyfikator',
+ 'Image' => '',
+ 'In-line' => 'W³±czony',
+ 'Include in Report' => 'Do³±cz w Sprawozdaniu',
+ 'Include in drop-down menus' => 'Do³±cz w menu rozwijanym',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Do³±cz Konto w formularzach Kontrachentów ¿eby wskazaæ ¿e podlegaj± opodatkowaniu',
+ 'Income' => 'äÏÈÏÄ',
+ 'Income Account' => 'Konto Przychodów',
+ 'Income Statement' => 'Rachunek Zysków i Strat',
+ 'Incorrect Dataset version!' => 'Nieprawid³owa wersja Zbioru Danych',
+ 'Incorrect Password!' => 'Nieprawid³owe Has³o',
+ 'Individual Items' => 'Indywidualne Czê¶ci',
+ 'Inventory' => 'éÎ×ÅÎÔÁÒÎÙÊ',
+ 'Inventory Account' => 'Konto Materia³owe',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'Ilo¶æ Inventarza musi byæ równa zero zanim bêdzie mozna zdezaktualizowaæ to z³o¿enie!',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'Ilo¶æ inventarza musi byæ równa zero zanim bêdzie mo¿na zdezaktualizowaæ t± czê¶æ!',
+ 'Inventory quantity must be zero!' => 'Ilo¶æc Inventarza musi byæ równa zero',
+ 'Invoice' => 'óÞÅÔ-ÆÁËÔÕÒÁ',
+ 'Invoice Date' => 'äÁÔÁ ×ÙÓÔÁ×ÌÅÎÉÑ',
+ 'Invoice Date missing!' => 'îÅ ÕËÁÚÁÎÁ ÄÁÔÁ ×ÙÓÔÁ×ÌÅÎÉÑ ÓÞÅÔÁ-ÆÁËÔÕÒÙ',
+ 'Invoice Number' => 'îÏÍÅÒ ÓÞÅÔÁ-ÆÁËÔÕÒÙ',
+ 'Invoice Number missing!' => 'îÅ ÕËÁÚÁÎ ÎÏÍÅÒ ÓÞÅÔÁ-ÆÁËÔÕÒÙ',
+ 'Invoice deleted!' => '',
+ 'Invoice posted!' => '',
+ 'Invoices' => '',
+ 'Is this a summary account to record' => 'Czy jest to konto sumaryczne?',
+ 'Item deleted!' => '',
+ 'Item not on file!' => 'Produkt nie jest w zbiorze!',
+ 'Jan' => 'ñÎ×',
+ 'January' => 'ñÎ×ÁÒØ',
+ 'Jul' => 'éÀÌ',
+ 'July' => 'éÀÌØ',
+ 'Jun' => 'éÀÎ',
+ 'June' => 'éÀÎØ',
+ 'LaTeX Templates' => 'Szablony LaTeX',
+ 'Language' => 'ñÚÙË',
+ 'Last Cost' => 'Cena Zakupu',
+ 'Last Invoice Number' => 'Ostatni Numer Faktury',
+ 'Last Numbers & Default Accounts' => 'Ostatnie Numery i Konta Domy¶lne',
+ 'Last Purchase Order Number' => 'Ostatni Numer Faktury Zamówienia',
+ 'Last Sales Order Number' => 'Ostatni Numer Faktury Sprzeda¿y',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Opu¶æ pole wêz³a i portu, chyba ¿e chcesz mieæ zdalne po³±czenie',
+ 'Liability' => 'ðÁÓÓÉ×',
+ 'Licensed to' => 'ìÉÃÅÎÚÉÅÊ ÏÂÌÁÄÁÅÔ:',
+ 'Line Total' => 'Suma ca³kowita',
+ 'Link' => 'Dowi±zanie',
+ 'Link Accounts' => 'Konta dowi±zane',
+ 'List Accounts' => 'Spis Kont',
+ 'List GIFI' => 'Wykaz GIFI',
+ 'List Price' => 'Cena',
+ 'List Transactions' => 'Wykaz Transakcji',
+ 'Login' => 'Zarejestrój siê',
+ 'Logout' => 'Wyrejestrój siê',
+ 'Make' => 'Marka',
+ 'Mar' => 'Marzec',
+ 'March' => 'Marzec',
+ 'May' => 'Maj',
+ 'May ' => 'Maj',
+ 'Message' => 'Wiadomo¶æ',
+ 'Microfiche' => '',
+ 'Model' => 'Model',
+ 'N/A' => 'N/A',
+ 'Name' => 'Nazwa',
+ 'Name missing!' => '',
+ 'New Templates' => 'Nowe Szablony',
+ 'No' => 'Nie',
+ 'No Database Drivers available!' => 'Sterownik Bazy Danych jest niedostêpny',
+ 'No Dataset selected!' => 'Nie jest zaznaczony Zbiór Danych',
+ 'No email address for' => 'Brak adresu email',
+ 'No.' => '',
+ 'Notes' => 'Noty',
+ 'Nothing applied!' => '',
+ 'Nothing selected!' => '',
+ 'Nothing to delete!' => 'Niema nic do usuniêcia!',
+ 'Nov' => 'Listopad',
+ 'November' => 'Listopad',
+ 'Number' => 'Numer Katalogu',
+ 'Number Format' => 'Format Numeru',
+ 'Number missing in Row' => 'Brak Numeru w Rzêdzie',
+ 'O' => '',
+ 'Obsolete' => 'Zdezaktualizowany',
+ 'Oct' => 'Pa¿dziernik',
+ 'October' => 'Pa¿dziernik',
+ 'On Hand' => 'Na Stanie',
+ 'On Order' => '',
+ 'Open' => 'Otwórz',
+ 'Oracle Database Administration' => 'Administracja Bazy Danych Oracle',
+ 'Order' => 'Zamówienie',
+ 'Order Date' => 'Data Zamówienia',
+ 'Order Date missing!' => 'Brak Daty Zamówienia',
+ 'Order Entry' => 'Wystawianie Zamówieñ',
+ 'Order Number' => 'Numer Zamówienia',
+ 'Order Number missing!' => 'Brak Numeru Zamówienia',
+ 'Order deleted!' => '',
+ 'Order saved!' => '',
+ 'Ordered' => '',
+ 'Orphaned' => 'Zbêdny',
+ 'Out of balance!' => '',
+ 'PDF' => '',
+ 'Packing List' => 'Wykaz Dostawy',
+ 'Packing List Date missing!' => 'Brak Daty Wykazu Dostawy',
+ 'Packing List Number missing!' => 'Brak Numeru Wykazu Dostawy',
+ 'Paid' => 'Zap³acono',
+ 'Paid in full' => '',
+ 'Part' => 'Produkt',
+ 'Part Number missing!' => 'Brak Symbolu Produktu!',
+ 'Parts' => 'Produkty',
+ 'Parts Inventory' => 'Inwentarz',
+ 'Password' => 'Has³o',
+ 'Password changed!' => '',
+ 'Payables' => 'Zobowi±zania',
+ 'Payment' => 'P³atno¶æ',
+ 'Payment date missing!' => 'Brak Daty P³atno¶ci',
+ 'Payment posted!' => '',
+ 'Payments' => 'Rozliczenia P³atno¶ci',
+ 'Pg Database Administration' => 'Administracja Bazy Danych Pg',
+ 'Phone' => 'Tel.',
+ 'Port' => 'Port',
+ 'Port missing!' => 'Brak Portu',
+ 'Post' => '',
+ 'Post as new' => '',
+ 'Postscript' => '',
+ 'Preferences' => 'Preferencje',
+ 'Preferences saved!' => 'Preferencje Zapisane!',
+ 'Price' => 'Cena Netto',
+ 'Print' => '',
+ 'Printer' => 'Drukarka',
+ 'Project' => '',
+ 'Project Number missing!' => '',
+ 'Project deleted!' => '',
+ 'Project not on file!' => '',
+ 'Project saved!' => '',
+ 'Projects' => '',
+ 'Purchase Invoice' => '',
+ 'Purchase Order' => 'Zamówienie Zakupu',
+ 'Purchase Orders' => 'Zamówienia Zakupu',
+ 'Qty' => 'Ilo¶æ',
+ 'ROP' => 'PPZ',
+ 'Rate' => 'Stawka',
+ 'Recd' => '',
+ 'Receipt' => '',
+ 'Receipts' => '',
+ 'Receivables' => 'Nale¿no¶ci',
+ 'Reconciliation' => '',
+ 'Record in' => 'ïÔÎÅÓÔÉ ÎÁ ÓÞÅÔ',
+ 'Reference' => '',
+ 'Reference missing!' => '',
+ 'Remaining' => 'Pozosta³e',
+ 'Report for' => 'Raport dla',
+ 'Reports' => 'Sprawozdania',
+ 'Required by' => 'Termin Dostawy',
+ 'Retained Earnings' => 'Zysk',
+ 'Sales' => 'Sprzeda¿',
+ 'Sales Invoice' => '',
+ 'Sales Order' => 'Zamówienie Klienta',
+ 'Sales Orders' => 'Zamówienia Klientów',
+ 'Save' => 'Zapisz',
+ 'Save as new' => '',
+ 'Save to File' => 'Zapisz w zbiorze',
+ 'Screen' => 'Ekran',
+ 'Select a Dataset to delete and press "Continue"' => 'Wybierz Zbiór Danych do usuniêcia i naci¶nij "Kontynuj"',
+ 'Select all' => '',
+ 'Select from one of the items below' => 'Wybie¿ jeden z poni¿szych artyku³ów',
+ 'Select from one of the names below' => '',
+ 'Select from one of the projects below' => '',
+ 'Select postscript or PDF!' => '',
+ 'Sell Price' => 'Cena Sprzeda¿y',
+ 'Send by E-Mail' => 'Wys³ano przy u¿yciu E-Mail',
+ 'Sep' => 'óÅÎ',
+ 'September' => 'óÅÎÔÑÂÒØ',
+ 'Service' => 'õÓÌÕÇÁ',
+ 'Service Items' => 'Artyku³y Us³ugowe',
+ 'Service Number missing!' => 'Brak Numeru Us³ugi!',
+ 'Services' => 'õÓÌÕÇÉ',
+ 'Setup Templates' => 'Ustaw Szablony',
+ 'Ship' => '',
+ 'Ship to' => '',
+ 'Ship via' => '',
+ 'Short' => 'Niedobór',
+ 'Signature' => 'ðÏÄÐÉÓØ',
+ 'Sold' => 'Sprzedano',
+ 'Source' => '¯ród³o',
+ 'Standard' => 'óÔÁÎÄÁÒÔÎÙÅ',
+ 'Statement' => '',
+ 'Statement Balance' => '',
+ 'Statement sent to' => '',
+ 'Statements sent to printer!' => '',
+ 'Stock Assembly' => 'Wstaw Z³o¿enie',
+ 'Stylesheet' => 'ïÆÏÒÍÌÅÎÉÅ',
+ 'Subject' => 'ôÅÍÁ',
+ 'Subtotal' => 'éÔÏÇÏ ÐÏ ÒÁÚÄÅÌÕ',
+ 'System' => 'óÉÓÔÅÍÁ',
+ 'Tax' => 'îÁÌÏÇ',
+ 'Tax Accounts' => 'Konta Podatkowe',
+ 'Tax Included' => 'Podatek Wliczony',
+ 'Tax collected' => '',
+ 'Tax paid' => '',
+ 'Taxable' => 'Opodatkowane',
+ 'Template saved!' => '',
+ 'Templates' => 'æÏÒÍÙ',
+ 'Terms: Net' => 'Warunki: Netto',
+ 'The following Datasets are not in use and can be deleted' => 'Te Zbiory Danych s± nieu¿ywane i mo¿na je usun±æ',
+ 'The following Datasets need to be updated' => 'Zbiory Danych do uzupe³nienia',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'Jest to wstêpne sprawdzenie istniej±cych ¿róde³. Narazie nic nie bêdzie utworzone lub usuniête.',
+ 'To' => 'do',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => '¯eby dodaæ do grupy u¿ytkownika zmieñ nazwê, nazwê zarejestrowania i zapisz. Nowy u¿ytkownik z tymi samymi zmiennymi warto¶ciami bêdzie zapisany pod now± nazw± rejestruj±c±',
+ 'Top Level' => '',
+ 'Total' => 'Warto¶æ Brutto',
+ 'Transaction Date missing!' => 'Brak Daty Transakcji!',
+ 'Transaction deleted!' => '',
+ 'Transaction posted!' => '',
+ 'Transaction reversal enforced for all dates' => 'Zmiana transakcji narzucona dla wszystkich okresów',
+ 'Transaction reversal enforced up to' => 'Zmiana transakcji narzucona do',
+ 'Transactions' => 'Transakcje',
+ 'Transactions exist, cannot delete customer!' => 'Istniej± Transakcje, niemo¿na usun±æ odbiorcy',
+ 'Transactions exist, cannot delete vendor!' => 'Istniej± Transakcje, nie mo¿na usun±æ dostawcy',
+ 'Transactions exist; cannot delete account!' => 'Istniej± Transakcje, nie mo¿na usun±æ konta',
+ 'Trial Balance' => 'Bilans Porównawczy',
+ 'Unit' => 'Jednostka',
+ 'Unit of measure' => 'Jednostka miary',
+ 'Update' => '',
+ 'Update Dataset' => 'Uzupe³nij Zbiór Danych',
+ 'Updated' => '',
+ 'Use Templates' => 'U¿yj Szablony',
+ 'User' => 'U¿ytkownik',
+ 'User deleted!' => '',
+ 'User saved!' => '',
+ 'Vendor' => 'Dostawca',
+ 'Vendor deleted!' => '',
+ 'Vendor missing!' => '',
+ 'Vendor not on file!' => '',
+ 'Vendor saved!' => '',
+ 'Vendors' => '',
+ 'Version' => '÷ÅÒÓÉÑ',
+ 'Weight' => 'Waga',
+ 'Weight Unit' => 'Jednostka Wagi',
+ 'What type of item is this?' => 'Co to za rodzaj artyku³u',
+ 'Year End' => 'Koniec Roku Finansowego',
+ 'Yes' => 'Tak',
+ 'You are logged out!' => '',
+ 'You did not enter a name!' => 'Nie wstawiono nazwy!',
+ 'You must enter a host and port for local and remote connections!' => 'Wstaw wêze³ i port dla lokalnego i zdalnego po³±czenia',
+ 'as at' => '',
+ 'collected on sales' => 'zebranego przy sprzeda¿y',
+ 'days' => 'dni',
+ 'does not exist' => 'nie istnieje',
+ 'ea' => 'szt',
+ 'emailed to' => 'email do',
+ 'for Period' => 'za Okres',
+ 'hr' => 'godz',
+ 'is already a member!' => 'Jest ju¿ cz³onkiem',
+ 'is not a member!' => 'Nie jest cz³onkiem',
+ 'localhost' => 'wêze³',
+ 'paid on purchases' => 'zap³aconego przy zakupach',
+ 'sent to printer' => 'wys³ano do drukarki',
+ 'successfully created!' => 'stworzone z powodzeniem',
+ 'successfully deleted!' => 'usuniête z powodzeniem',
+ 'to' => '',
+ 'website' => 'witryna WWW',
+};
+
+1;
diff --git a/sql-ledger/locale/ru/am b/sql-ledger/locale/ru/am
new file mode 100644
index 0000000..204e1c3
--- /dev/null
+++ b/sql-ledger/locale/ru/am
@@ -0,0 +1,139 @@
+$self{texts} = {
+ 'AP' => 'òÁÓÈÏÄ',
+ 'AR' => 'äÏÈÏÄ',
+ 'Account' => 'óÞÅÔ',
+ 'Account Number' => 'ëÏÄ ÓÞÅÔÁ',
+ 'Account Number missing!' => 'îÅ ÕËÁÚÁÎ ÎÏÍÅÒ ÓÞÅÔÁ!',
+ 'Account Type' => 'ôÉÐ ÓÞÅÔÁ',
+ 'Account Type missing!' => 'îÅ ÕËÁÚÁÎ ÔÉÐ ÓÞÅÔÁ!',
+ 'Account deleted!' => 'Account deleted!',
+ 'Account saved!' => 'Account saved!',
+ 'Add Account' => 'îÏ×ÙÊ ÓÞÅÔ',
+ 'Add GIFI' => 'îÏ×ÙÊ GIFI',
+ 'Address' => 'áÄÒÅÓ',
+ 'Asset' => 'áËÔÉ×',
+ 'Audit Control' => 'ëÏÎÔÒÏÌØ',
+ 'Backup sent to' => 'òÅÚÅÒ×ÎÁÑ ËÏÐÉÑ ÏÔÏÓÌÁÎÁ ÎÁ',
+ 'Books are open' => 'ëÎÉÇÁ ÏÔËÒÙÔÁ',
+ 'Business Number' => 'òîî',
+ 'COGS' => 'COGS',
+ 'Cannot delete account!' => 'Cannot delete account!',
+ 'Cannot delete default account!' => 'îÅÌØÚÑ ÕÄÁÌÉÔØ ÏÓÎÏ×ÎÏÊ ÓÞÅÔ!',
+ 'Cannot save account!' => 'Cannot save account!',
+ 'Cannot save preferences!' => 'Cannot save preferences!',
+ 'Character Set' => 'ëÏÄÉÒÏ×ËÁ',
+ 'Chart of Accounts' => 'ðÌÁÎ ÓÞÅÔÏ×',
+ 'Close Books up to' => 'Zamkniêcie Ksi±g do!',
+ 'Company' => 'ïÒÇÁÎÉÚÁÃÉÑ',
+ 'Continue' => 'ðÒÏÄÏÌÖÉÔØ',
+ 'Copy to COA' => 'ëÏÐÉÒÏ×ÁÔØ × çðó',
+ 'Credit' => 'ëÒÅÄÉÔ',
+ 'Date Format' => 'æÏÒÍÁÔ ÄÁÔÙ',
+ 'Debit' => 'äÅÂÅÔ',
+ 'Delete' => 'õÄÁÌÉÔØ',
+ 'Delete Account' => 'õÄÁÌÍÔØ ÓÞÅÔ',
+ 'Description' => 'ïÐÉÓÁÎÉÅ',
+ 'Dropdown Limit' => 'Dropdown Limit',
+ 'E-mail' => 'E-mail',
+ 'Edit' => 'Edit',
+ 'Edit Account' => 'éÚÍÅÎÉÔØ ÓÞÅÔ',
+ 'Edit GIFI' => 'éÚÍÅÎÉÔØ GIFI',
+ 'Edit Preferences for' => 'Zmiany Preferencji dla',
+ 'Edit Template' => 'Zmiany Wzorca',
+ 'Enforce transaction reversal for all dates' => 'Egzekwuj zmiany transakcji dla wszystkich terminów',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies',
+ 'Equity' => 'Kapita³',
+ 'Expense' => 'òÁÓÈÏÄ',
+ 'Expense Account' => 'Konto Kosztów',
+ 'Expense/Asset' => 'Koszt/Aktywy',
+ 'Fax' => 'Fax',
+ 'Foreign Exchange Gain' => 'Zysk przy Wymianie Walut',
+ 'Foreign Exchange Loss' => 'Strata przy Wymianie Walut',
+ 'GIFI' => 'GIFI',
+ 'GIFI deleted!' => 'GIFI deleted!',
+ 'GIFI missing!' => 'Brakuje GIFI',
+ 'GIFI saved!' => 'GIFI saved!',
+ 'Heading' => 'òÁÚÄÅÌ',
+ 'Include in drop-down menus' => 'Do³±cz w menu rozwijanym',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Do³±cz Konto w formularzach Kontrachentów ¿eby wskazaæ ¿e podlegaj± opodatkowaniu',
+ 'Income' => 'äÏÈÏÄ',
+ 'Income Account' => 'Konto Przychodów',
+ 'Inventory' => 'éÎ×ÅÎÔÁÒÎÙÊ',
+ 'Inventory Account' => 'Konto Materia³owe',
+ 'Is this a summary account to record' => 'Czy jest to konto sumaryczne?',
+ 'Language' => 'ñÚÙË',
+ 'Last Invoice Number' => 'Ostatni Numer Faktury',
+ 'Last Numbers & Default Accounts' => 'Ostatnie Numery i Konta Domy¶lne',
+ 'Last Purchase Order Number' => 'Ostatni Numer Faktury Zamówienia',
+ 'Last Sales Order Number' => 'Ostatni Numer Faktury Sprzeda¿y',
+ 'Liability' => 'ðÁÓÓÉ×',
+ 'Link' => 'Dowi±zanie',
+ 'Name' => 'Nazwa',
+ 'No' => 'Nie',
+ 'No email address for' => 'Brak adresu email',
+ 'Number' => 'Numer Katalogu',
+ 'Number Format' => 'Format Numeru',
+ 'Parts Inventory' => 'Inwentarz',
+ 'Password' => 'Has³o',
+ 'Payables' => 'Zobowi±zania',
+ 'Payment' => 'P³atno¶æ',
+ 'Phone' => 'Tel.',
+ 'Preferences saved!' => 'Preferencje Zapisane!',
+ 'Rate' => 'Stawka',
+ 'Receivables' => 'Nale¿no¶ci',
+ 'Sales' => 'Sprzeda¿',
+ 'Save' => 'Zapisz',
+ 'Service Items' => 'Artyku³y Us³ugowe',
+ 'Ship via' => 'Ship via',
+ 'Signature' => 'ðÏÄÐÉÓØ',
+ 'Stylesheet' => 'ïÆÏÒÍÌÅÎÉÅ',
+ 'Tax' => 'îÁÌÏÇ',
+ 'Tax Accounts' => 'Konta Podatkowe',
+ 'Template saved!' => 'Template saved!',
+ 'Transaction reversal enforced for all dates' => 'Zmiana transakcji narzucona dla wszystkich okresów',
+ 'Transaction reversal enforced up to' => 'Zmiana transakcji narzucona do',
+ 'Transactions exist; cannot delete account!' => 'Istniej± Transakcje, nie mo¿na usun±æ konta',
+ 'Weight Unit' => 'Jednostka Wagi',
+ 'Year End' => 'Koniec Roku Finansowego',
+ 'Yes' => 'Tak',
+ 'does not exist' => 'nie istnieje',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_gifi' => 'add_gifi',
+ 'audit_control' => 'audit_control',
+ 'backup' => 'backup',
+ 'config' => 'config',
+ 'continue' => 'continue',
+ 'copy_to_coa' => 'copy_to_coa',
+ 'delete' => 'delete',
+ 'delete_account' => 'delete_account',
+ 'delete_gifi' => 'delete_gifi',
+ 'display_form' => 'display_form',
+ 'display_stylesheet' => 'display_stylesheet',
+ 'doclose' => 'doclose',
+ 'edit' => 'edit',
+ 'edit_gifi' => 'edit_gifi',
+ 'edit_template' => 'edit_template',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gifi_footer' => 'gifi_footer',
+ 'gifi_header' => 'gifi_header',
+ 'list' => 'list',
+ 'list_gifi' => 'list_gifi',
+ 'save' => 'save',
+ 'save_account' => 'save_account',
+ 'save_gifi' => 'save_gifi',
+ 'save_preferences' => 'save_preferences',
+ 'save_template' => 'save_template',
+ 'îÏ×ÙÊ_ÓÞÅÔ' => 'add_account',
+ 'ðÒÏÄÏÌÖÉÔØ' => 'continue',
+ 'ëÏÐÉÒÏ×ÁÔØ_×_çðó' => 'copy_to_coa',
+ 'õÄÁÌÉÔØ' => 'delete',
+ 'edit' => 'edit',
+ 'éÚÍÅÎÉÔØ_ÓÞÅÔ' => 'edit_account',
+ 'zapisz' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/ru/ap b/sql-ledger/locale/ru/ap
new file mode 100644
index 0000000..3c243eb
--- /dev/null
+++ b/sql-ledger/locale/ru/ap
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AP Transaction' => 'AP Transaction',
+ 'AP Transactions' => 'ðÒÏ×ÏÄËÉ ÒÁÓÈÏÄÁ',
+ 'Account' => 'óÞÅÔ',
+ 'Add Accounts Payables Transaction' => 'Add Accounts Payables Transaction',
+ 'Address' => 'áÄÒÅÓ',
+ 'Amount' => 'óÕÍÍÁ',
+ 'Amount Due' => 'Amount Due',
+ 'Apr' => 'áÐÒ',
+ 'April' => 'áÐÒÅÌØ',
+ 'Are you sure you want to delete Transaction' => '÷Ù Õ×ÅÒÅÎÙ, ÓÔÏ ÈÏÔÉÔÅ ÕÄÁÌÉÔØ ÄÁÎÎÕÀ ÐÒÏ×ÏÄËÕ?',
+ 'Aug' => 'á×Ç',
+ 'August' => 'á×ÇÕÓÔ',
+ 'Cannot delete transaction!' => 'Cannot delete transaction!',
+ 'Cannot post payment for a closed period!' => 'Nie mo¿na zaksiêgowaæ p³atno¶ci po zamkniêciu okresu!',
+ 'Cannot post transaction for a closed period!' => 'Nie mo¿na zaksiêgowaæ transakcji w zamkniêtym okresie',
+ 'Cannot post transaction!' => 'Cannot post transaction!',
+ 'Closed' => 'úÁËÒÙÔ',
+ 'Confirm!' => 'ðÏÄÔ×ÅÒÄÉÔØ!',
+ 'Continue' => 'ðÒÏÄÏÌÖÉÔØ',
+ 'Currency' => '÷ÁÌÀÔÁ',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'äÁÔÁ',
+ 'Date Paid' => 'äÁÔÁ ÏÐÌÁÔÙ',
+ 'Dec' => 'äÅË',
+ 'December' => 'äÅËÁÂÒØ',
+ 'Delete' => 'õÄÁÌÉÔØ',
+ 'Description' => 'ïÐÉÓÁÎÉÅ',
+ 'Due Date' => 'ïÐÌÁÔÉÔØ ÄÏ',
+ 'Due Date missing!' => 'îÅ ÕËÁÚÁÎ ÓÒÏË ÏÐÌÁÔÙ!',
+ 'Edit Accounts Payables Transaction' => 'Edit Accounts Payables Transaction',
+ 'Employee' => 'Employee',
+ 'Exch' => 'Kurs',
+ 'Exchangerate' => 'Kurs Wymiany',
+ 'Exchangerate for payment missing!' => 'Brakuje kursu wymiany dla p³atno¶ci!',
+ 'Exchangerate missing!' => 'Brakuje kursu wymiany',
+ 'Feb' => 'Luty',
+ 'February' => 'Luty',
+ 'From' => 'Od',
+ 'ID' => 'Identyfikator',
+ 'Include in Report' => 'Do³±cz w Sprawozdaniu',
+ 'Invoice' => 'óÞÅÔ-ÆÁËÔÕÒÁ',
+ 'Invoice Date' => 'äÁÔÁ ×ÙÓÔÁ×ÌÅÎÉÑ',
+ 'Invoice Date missing!' => 'îÅ ÕËÁÚÁÎÁ ÄÁÔÁ ×ÙÓÔÁ×ÌÅÎÉÑ ÓÞÅÔÁ-ÆÁËÔÕÒÙ',
+ 'Invoice Number' => 'îÏÍÅÒ ÓÞÅÔÁ-ÆÁËÔÕÒÙ',
+ 'Invoice Number missing!' => 'îÅ ÕËÁÚÁÎ ÎÏÍÅÒ ÓÞÅÔÁ-ÆÁËÔÕÒÙ',
+ 'Jan' => 'ñÎ×',
+ 'January' => 'ñÎ×ÁÒØ',
+ 'Jul' => 'éÀÌ',
+ 'July' => 'éÀÌØ',
+ 'Jun' => 'éÀÎ',
+ 'June' => 'éÀÎØ',
+ 'Mar' => 'Marzec',
+ 'March' => 'Marzec',
+ 'May' => 'Maj',
+ 'May ' => 'Maj',
+ 'Notes' => 'Noty',
+ 'Nov' => 'Listopad',
+ 'November' => 'Listopad',
+ 'Number' => 'Numer Katalogu',
+ 'Oct' => 'Pa¿dziernik',
+ 'October' => 'Pa¿dziernik',
+ 'Open' => 'Otwórz',
+ 'Order' => 'Zamówienie',
+ 'Order Number' => 'Numer Zamówienia',
+ 'Paid' => 'Zap³acono',
+ 'Payment date missing!' => 'Brak Daty P³atno¶ci',
+ 'Payments' => 'Rozliczenia P³atno¶ci',
+ 'Post' => 'Post',
+ 'Post as new' => 'Post as new',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Purchase Invoice' => 'Purchase Invoice',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Sep' => 'óÅÎ',
+ 'September' => 'óÅÎÔÑÂÒØ',
+ 'Source' => '¯ród³o',
+ 'Subtotal' => 'éÔÏÇÏ ÐÏ ÒÁÚÄÅÌÕ',
+ 'Tax' => 'îÁÌÏÇ',
+ 'Tax Included' => 'Podatek Wliczony',
+ 'To' => 'do',
+ 'Total' => 'Warto¶æ Brutto',
+ 'Transaction deleted!' => 'Transaction deleted!',
+ 'Transaction posted!' => 'Transaction posted!',
+ 'Update' => 'Update',
+ 'Vendor' => 'Dostawca',
+ 'Vendor missing!' => 'Vendor missing!',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'Yes' => 'Tak',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_subtotal' => 'ap_subtotal',
+ 'ap_transaction' => 'ap_transaction',
+ 'ap_transactions' => 'ap_transactions',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'ap_transaction' => 'ap_transaction',
+ 'add_accounts_payables_transaction' => 'add_accounts_payables_transaction',
+ 'ðÒÏÄÏÌÖÉÔØ' => 'continue',
+ 'õÄÁÌÉÔØ' => 'delete',
+ 'edit_accounts_payables_transaction' => 'edit_accounts_payables_transaction',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'update' => 'update',
+ 'tak' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/ru/ar b/sql-ledger/locale/ru/ar
new file mode 100644
index 0000000..3970754
--- /dev/null
+++ b/sql-ledger/locale/ru/ar
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AR Transaction' => 'AR Transaction',
+ 'AR Transactions' => 'ðÒÏ×ÏÄËÉ ÄÏÈÏÄÁ',
+ 'Account' => 'óÞÅÔ',
+ 'Add Accounts Receivables Transaction' => 'Add Accounts Receivables Transaction',
+ 'Address' => 'áÄÒÅÓ',
+ 'Amount' => 'óÕÍÍÁ',
+ 'Amount Due' => 'Amount Due',
+ 'Apr' => 'áÐÒ',
+ 'April' => 'áÐÒÅÌØ',
+ 'Are you sure you want to delete Transaction' => '÷Ù Õ×ÅÒÅÎÙ, ÓÔÏ ÈÏÔÉÔÅ ÕÄÁÌÉÔØ ÄÁÎÎÕÀ ÐÒÏ×ÏÄËÕ?',
+ 'Aug' => 'á×Ç',
+ 'August' => 'á×ÇÕÓÔ',
+ 'Cannot delete transaction!' => 'Cannot delete transaction!',
+ 'Cannot post payment for a closed period!' => 'Nie mo¿na zaksiêgowaæ p³atno¶ci po zamkniêciu okresu!',
+ 'Cannot post transaction for a closed period!' => 'Nie mo¿na zaksiêgowaæ transakcji w zamkniêtym okresie',
+ 'Cannot post transaction!' => 'Cannot post transaction!',
+ 'Closed' => 'úÁËÒÙÔ',
+ 'Confirm!' => 'ðÏÄÔ×ÅÒÄÉÔØ!',
+ 'Continue' => 'ðÒÏÄÏÌÖÉÔØ',
+ 'Credit Limit' => 'ìÉÍÉÔ ËÒÅÄÉÔÁ',
+ 'Currency' => '÷ÁÌÀÔÁ',
+ 'Customer' => 'ëÌÉÅÎÔ',
+ 'Customer missing!' => 'Customer missing!',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'äÁÔÁ',
+ 'Date Paid' => 'äÁÔÁ ÏÐÌÁÔÙ',
+ 'Dec' => 'äÅË',
+ 'December' => 'äÅËÁÂÒØ',
+ 'Delete' => 'õÄÁÌÉÔØ',
+ 'Description' => 'ïÐÉÓÁÎÉÅ',
+ 'Due Date' => 'ïÐÌÁÔÉÔØ ÄÏ',
+ 'Due Date missing!' => 'îÅ ÕËÁÚÁÎ ÓÒÏË ÏÐÌÁÔÙ!',
+ 'Edit Accounts Receivables Transaction' => 'Edit Accounts Receivables Transaction',
+ 'Employee' => 'Employee',
+ 'Exch' => 'Kurs',
+ 'Exchangerate' => 'Kurs Wymiany',
+ 'Exchangerate for payment missing!' => 'Brakuje kursu wymiany dla p³atno¶ci!',
+ 'Exchangerate missing!' => 'Brakuje kursu wymiany',
+ 'Feb' => 'Luty',
+ 'February' => 'Luty',
+ 'From' => 'Od',
+ 'ID' => 'Identyfikator',
+ 'Include in Report' => 'Do³±cz w Sprawozdaniu',
+ 'Invoice' => 'óÞÅÔ-ÆÁËÔÕÒÁ',
+ 'Invoice Date' => 'äÁÔÁ ×ÙÓÔÁ×ÌÅÎÉÑ',
+ 'Invoice Date missing!' => 'îÅ ÕËÁÚÁÎÁ ÄÁÔÁ ×ÙÓÔÁ×ÌÅÎÉÑ ÓÞÅÔÁ-ÆÁËÔÕÒÙ',
+ 'Invoice Number' => 'îÏÍÅÒ ÓÞÅÔÁ-ÆÁËÔÕÒÙ',
+ 'Invoice Number missing!' => 'îÅ ÕËÁÚÁÎ ÎÏÍÅÒ ÓÞÅÔÁ-ÆÁËÔÕÒÙ',
+ 'Jan' => 'ñÎ×',
+ 'January' => 'ñÎ×ÁÒØ',
+ 'Jul' => 'éÀÌ',
+ 'July' => 'éÀÌØ',
+ 'Jun' => 'éÀÎ',
+ 'June' => 'éÀÎØ',
+ 'Mar' => 'Marzec',
+ 'March' => 'Marzec',
+ 'May' => 'Maj',
+ 'May ' => 'Maj',
+ 'Notes' => 'Noty',
+ 'Nov' => 'Listopad',
+ 'November' => 'Listopad',
+ 'Number' => 'Numer Katalogu',
+ 'Oct' => 'Pa¿dziernik',
+ 'October' => 'Pa¿dziernik',
+ 'Open' => 'Otwórz',
+ 'Order' => 'Zamówienie',
+ 'Order Number' => 'Numer Zamówienia',
+ 'Paid' => 'Zap³acono',
+ 'Payment date missing!' => 'Brak Daty P³atno¶ci',
+ 'Payments' => 'Rozliczenia P³atno¶ci',
+ 'Post' => 'Post',
+ 'Post as new' => 'Post as new',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Remaining' => 'Pozosta³e',
+ 'Sales Invoice' => 'Sales Invoice',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Sep' => 'óÅÎ',
+ 'September' => 'óÅÎÔÑÂÒØ',
+ 'Source' => '¯ród³o',
+ 'Subtotal' => 'éÔÏÇÏ ÐÏ ÒÁÚÄÅÌÕ',
+ 'Tax' => 'îÁÌÏÇ',
+ 'Tax Included' => 'Podatek Wliczony',
+ 'To' => 'do',
+ 'Total' => 'Warto¶æ Brutto',
+ 'Transaction deleted!' => 'Transaction deleted!',
+ 'Transaction posted!' => 'Transaction posted!',
+ 'Update' => 'Update',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'Yes' => 'Tak',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_subtotal' => 'ar_subtotal',
+ 'ar_transaction' => 'ar_transaction',
+ 'ar_transactions' => 'ar_transactions',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'ar_transaction' => 'ar_transaction',
+ 'ðÒÏÄÏÌÖÉÔØ' => 'continue',
+ 'õÄÁÌÉÔØ' => 'delete',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'sales_invoice' => 'sales_invoice',
+ 'update' => 'update',
+ 'tak' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/ru/arap b/sql-ledger/locale/ru/arap
new file mode 100644
index 0000000..24fe716
--- /dev/null
+++ b/sql-ledger/locale/ru/arap
@@ -0,0 +1,30 @@
+$self{texts} = {
+ 'Address' => 'áÄÒÅÓ',
+ 'Continue' => 'ðÒÏÄÏÌÖÉÔØ',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Description' => 'ïÐÉÓÁÎÉÅ',
+ 'Number' => 'Numer Katalogu',
+ 'Project not on file!' => 'Project not on file!',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Vendor not on file!' => 'Vendor not on file!',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'ðÒÏÄÏÌÖÉÔØ' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/ru/ca b/sql-ledger/locale/ru/ca
new file mode 100644
index 0000000..1b1b139
--- /dev/null
+++ b/sql-ledger/locale/ru/ca
@@ -0,0 +1,50 @@
+$self{texts} = {
+ 'Account' => 'óÞÅÔ',
+ 'Apr' => 'áÐÒ',
+ 'April' => 'áÐÒÅÌØ',
+ 'Aug' => 'á×Ç',
+ 'August' => 'á×ÇÕÓÔ',
+ 'Balance' => 'Balance',
+ 'Chart of Accounts' => 'ðÌÁÎ ÓÞÅÔÏ×',
+ 'Credit' => 'ëÒÅÄÉÔ',
+ 'Date' => 'äÁÔÁ',
+ 'Debit' => 'äÅÂÅÔ',
+ 'Dec' => 'äÅË',
+ 'December' => 'äÅËÁÂÒØ',
+ 'Description' => 'ïÐÉÓÁÎÉÅ',
+ 'Feb' => 'Luty',
+ 'February' => 'Luty',
+ 'From' => 'Od',
+ 'GIFI' => 'GIFI',
+ 'Include in Report' => 'Do³±cz w Sprawozdaniu',
+ 'Jan' => 'ñÎ×',
+ 'January' => 'ñÎ×ÁÒØ',
+ 'Jul' => 'éÀÌ',
+ 'July' => 'éÀÌØ',
+ 'Jun' => 'éÀÎ',
+ 'June' => 'éÀÎØ',
+ 'List Transactions' => 'Wykaz Transakcji',
+ 'Mar' => 'Marzec',
+ 'March' => 'Marzec',
+ 'May' => 'Maj',
+ 'May ' => 'Maj',
+ 'Nov' => 'Listopad',
+ 'November' => 'Listopad',
+ 'Oct' => 'Pa¿dziernik',
+ 'October' => 'Pa¿dziernik',
+ 'Reference' => 'Reference',
+ 'Sep' => 'óÅÎ',
+ 'September' => 'óÅÎÔÑÂÒØ',
+ 'Subtotal' => 'éÔÏÇÏ ÐÏ ÒÁÚÄÅÌÕ',
+ 'To' => 'do',
+};
+
+$self{subs} = {
+ 'ca_subtotal' => 'ca_subtotal',
+ 'chart_of_accounts' => 'chart_of_accounts',
+ 'list' => 'list',
+ 'list_transactions' => 'list_transactions',
+ 'wykaz_transakcji' => 'list_transactions',
+};
+
+1;
diff --git a/sql-ledger/locale/ru/cp b/sql-ledger/locale/ru/cp
new file mode 100644
index 0000000..6ff1936
--- /dev/null
+++ b/sql-ledger/locale/ru/cp
@@ -0,0 +1,75 @@
+$self{texts} = {
+ 'Account' => 'óÞÅÔ',
+ 'Address' => 'áÄÒÅÓ',
+ 'Amount' => 'óÕÍÍÁ',
+ 'Amount does not equal applied!' => 'Amount does not equal applied!',
+ 'Amount missing!' => 'Amount missing!',
+ 'Applied' => 'Applied',
+ 'Cannot post payment!' => 'Cannot post payment!',
+ 'Cannot process payment for a closed period!' => 'Cannot process payment for a closed period!',
+ 'Check' => 'Check',
+ 'Check printed!' => 'Check printed!',
+ 'Check printing failed!' => 'Check printing failed!',
+ 'Continue' => 'ðÒÏÄÏÌÖÉÔØ',
+ 'Currency' => '÷ÁÌÀÔÁ',
+ 'Customer' => 'ëÌÉÅÎÔ',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'äÁÔÁ',
+ 'Date missing!' => 'Date missing!',
+ 'Description' => 'ïÐÉÓÁÎÉÅ',
+ 'Due' => 'äÏ',
+ 'Exchangerate' => 'Kurs Wymiany',
+ 'From' => 'Od',
+ 'Invoice' => 'óÞÅÔ-ÆÁËÔÕÒÁ',
+ 'Invoices' => 'Invoices',
+ 'Nothing applied!' => 'Nothing applied!',
+ 'Number' => 'Numer Katalogu',
+ 'Paid in full' => 'Paid in full',
+ 'Payment' => 'P³atno¶æ',
+ 'Payment posted!' => 'Payment posted!',
+ 'Post' => 'Post',
+ 'Print' => 'Print',
+ 'Printer' => 'Drukarka',
+ 'Project not on file!' => 'Project not on file!',
+ 'Receipt' => 'Receipt',
+ 'Reference' => 'Reference',
+ 'Screen' => 'Ekran',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'To' => 'do',
+ 'Update' => 'Update',
+ 'Vendor' => 'Dostawca',
+ 'Vendor not on file!' => 'Vendor not on file!',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'list_invoices' => 'list_invoices',
+ 'name_selected' => 'name_selected',
+ 'payment' => 'payment',
+ 'post' => 'post',
+ 'print' => 'print',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'vendor_details' => 'vendor_details',
+ 'ðÒÏÄÏÌÖÉÔØ' => 'continue',
+ 'post' => 'post',
+ 'print' => 'print',
+ 'update' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/ru/ct b/sql-ledger/locale/ru/ct
new file mode 100644
index 0000000..7c39884
--- /dev/null
+++ b/sql-ledger/locale/ru/ct
@@ -0,0 +1,69 @@
+$self{texts} = {
+ 'Add' => 'îÏ×ÙÊ',
+ 'Address' => 'áÄÒÅÓ',
+ 'All' => '÷ÓÅ',
+ 'Bcc' => 'Bcc',
+ 'Cannot delete customer!' => 'Cannot delete customer!',
+ 'Cannot delete vendor!' => 'Cannot delete vendor!',
+ 'Cc' => 'Cc',
+ 'Contact' => 'ëÏÎÔÁËÔÎÏÅ ÌÉÃÏ',
+ 'Continue' => 'ðÒÏÄÏÌÖÉÔØ',
+ 'Credit Limit' => 'ìÉÍÉÔ ËÒÅÄÉÔÁ',
+ 'Customer deleted!' => 'Customer deleted!',
+ 'Customer saved!' => 'Customer saved!',
+ 'Customers' => 'Customers',
+ 'Delete' => 'õÄÁÌÉÔØ',
+ 'Discount' => 'óËÉÄËÁ',
+ 'E-mail' => 'E-mail',
+ 'Fax' => 'Fax',
+ 'Include in Report' => 'Do³±cz w Sprawozdaniu',
+ 'Invoice' => 'óÞÅÔ-ÆÁËÔÕÒÁ',
+ 'Name' => 'Nazwa',
+ 'Name missing!' => 'Name missing!',
+ 'Notes' => 'Noty',
+ 'Number' => 'Numer Katalogu',
+ 'Order' => 'Zamówienie',
+ 'Orphaned' => 'Zbêdny',
+ 'Phone' => 'Tel.',
+ 'Save' => 'Zapisz',
+ 'Ship to' => 'Ship to',
+ 'Tax Included' => 'Podatek Wliczony',
+ 'Taxable' => 'Opodatkowane',
+ 'Terms: Net' => 'Warunki: Netto',
+ 'Transactions exist, cannot delete customer!' => 'Istniej± Transakcje, niemo¿na usun±æ odbiorcy',
+ 'Transactions exist, cannot delete vendor!' => 'Istniej± Transakcje, nie mo¿na usun±æ dostawcy',
+ 'Vendor deleted!' => 'Vendor deleted!',
+ 'Vendor saved!' => 'Vendor saved!',
+ 'Vendors' => 'Vendors',
+ 'days' => 'dni',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'customer_invoice' => 'customer_invoice',
+ 'customer_order' => 'customer_order',
+ 'delete' => 'delete',
+ 'delete_customer' => 'delete_customer',
+ 'delete_vendor' => 'delete_vendor',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'invoice' => 'invoice',
+ 'list_names' => 'list_names',
+ 'order' => 'order',
+ 'save' => 'save',
+ 'save_customer' => 'save_customer',
+ 'save_vendor' => 'save_vendor',
+ 'search' => 'search',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'vendor_order' => 'vendor_order',
+ 'îÏ×ÙÊ' => 'add',
+ 'ðÒÏÄÏÌÖÉÔØ' => 'continue',
+ 'õÄÁÌÉÔØ' => 'delete',
+ 'óÞÅÔ_ÆÁËÔÕÒÁ' => 'invoice',
+ 'zamówienie' => 'order',
+ 'zapisz' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/ru/gl b/sql-ledger/locale/ru/gl
new file mode 100644
index 0000000..28292ad
--- /dev/null
+++ b/sql-ledger/locale/ru/gl
@@ -0,0 +1,124 @@
+$self{texts} = {
+ 'AP Transaction' => 'AP Transaction',
+ 'AR Transaction' => 'AR Transaction',
+ 'Account' => 'óÞÅÔ',
+ 'Add General Ledger Transaction' => 'îÏ×ÁÑ ÐÒÏ×ÏÄËÁ',
+ 'Address' => 'áÄÒÅÓ',
+ 'All' => '÷ÓÅ',
+ 'Apr' => 'áÐÒ',
+ 'April' => 'áÐÒÅÌØ',
+ 'Are you sure you want to delete Transaction' => '÷Ù Õ×ÅÒÅÎÙ, ÓÔÏ ÈÏÔÉÔÅ ÕÄÁÌÉÔØ ÄÁÎÎÕÀ ÐÒÏ×ÏÄËÕ?',
+ 'Asset' => 'áËÔÉ×',
+ 'Aug' => 'á×Ç',
+ 'August' => 'á×ÇÕÓÔ',
+ 'Balance' => 'Balance',
+ 'Cannot delete transaction!' => 'Cannot delete transaction!',
+ 'Cannot have a value in both Debit and Credit!' => 'Nie mo¿na wpisaæ warto¶ci w Debet i Kredyt równocze¶nie!',
+ 'Cannot post a transaction without a value!' => 'Cannot post a transaction without a value!',
+ 'Cannot post transaction for a closed period!' => 'Nie mo¿na zaksiêgowaæ transakcji w zamkniêtym okresie',
+ 'Confirm!' => 'ðÏÄÔ×ÅÒÄÉÔØ!',
+ 'Continue' => 'ðÒÏÄÏÌÖÉÔØ',
+ 'Credit' => 'ëÒÅÄÉÔ',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'äÁÔÁ',
+ 'Debit' => 'äÅÂÅÔ',
+ 'Debit and credit out of balance!' => 'Debet i Kredyt siê niebalansuj±!',
+ 'Dec' => 'äÅË',
+ 'December' => 'äÅËÁÂÒØ',
+ 'Delete' => 'õÄÁÌÉÔØ',
+ 'Description' => 'ïÐÉÓÁÎÉÅ',
+ 'Edit General Ledger Transaction' => 'Zmiany w Ksiêdze G³ównej',
+ 'Equity' => 'Kapita³',
+ 'Expense' => 'òÁÓÈÏÄ',
+ 'Feb' => 'Luty',
+ 'February' => 'Luty',
+ 'From' => 'Od',
+ 'GIFI' => 'GIFI',
+ 'GL Transaction' => 'GL Transaction',
+ 'General Ledger' => 'Ksiêga G³ówna',
+ 'ID' => 'Identyfikator',
+ 'Include in Report' => 'Do³±cz w Sprawozdaniu',
+ 'Income' => 'äÏÈÏÄ',
+ 'Jan' => 'ñÎ×',
+ 'January' => 'ñÎ×ÁÒØ',
+ 'Jul' => 'éÀÌ',
+ 'July' => 'éÀÌØ',
+ 'Jun' => 'éÀÎ',
+ 'June' => 'éÀÎØ',
+ 'Liability' => 'ðÁÓÓÉ×',
+ 'Mar' => 'Marzec',
+ 'March' => 'Marzec',
+ 'May' => 'Maj',
+ 'May ' => 'Maj',
+ 'Notes' => 'Noty',
+ 'Nov' => 'Listopad',
+ 'November' => 'Listopad',
+ 'Number' => 'Numer Katalogu',
+ 'Oct' => 'Pa¿dziernik',
+ 'October' => 'Pa¿dziernik',
+ 'Post' => 'Post',
+ 'Post as new' => 'Post as new',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Purchase Invoice' => 'Purchase Invoice',
+ 'Reference' => 'Reference',
+ 'Reference missing!' => 'Reference missing!',
+ 'Reports' => 'Sprawozdania',
+ 'Sales Invoice' => 'Sales Invoice',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Sep' => 'óÅÎ',
+ 'September' => 'óÅÎÔÑÂÒØ',
+ 'Source' => '¯ród³o',
+ 'Subtotal' => 'éÔÏÇÏ ÐÏ ÒÁÚÄÅÌÕ',
+ 'To' => 'do',
+ 'Transaction Date missing!' => 'Brak Daty Transakcji!',
+ 'Transaction deleted!' => 'Transaction deleted!',
+ 'Transaction posted!' => 'Transaction posted!',
+ 'Update' => 'Update',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'Yes' => 'Tak',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'form_row' => 'form_row',
+ 'generate_report' => 'generate_report',
+ 'gl_subtotal' => 'gl_subtotal',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'ðÒÏÄÏÌÖÉÔØ' => 'continue',
+ 'õÄÁÌÉÔØ' => 'delete',
+ 'gl_transaction' => 'gl_transaction',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'update' => 'update',
+ 'tak' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/ru/ic b/sql-ledger/locale/ru/ic
new file mode 100644
index 0000000..b879e88
--- /dev/null
+++ b/sql-ledger/locale/ru/ic
@@ -0,0 +1,205 @@
+$self{texts} = {
+ 'Active' => 'Active',
+ 'Add' => 'îÏ×ÙÊ',
+ 'Add Assembly' => 'îÏ×ÙÊ ËÏÍÐÌÅËÔ',
+ 'Add Part' => 'îÏ×ÙÊ ÐÒÏÄÕËÔ',
+ 'Add Purchase Order' => 'îÏ×ÙÊ ÚÁËÁÚ ÐÏÓÔÁ×ÝÉËÁ',
+ 'Add Sales Order' => 'îÏ×ÙÊ ÚÁËÁÚ ËÌÉÅÎÔÁ',
+ 'Add Service' => 'îÏ×ÁÑ ÕÓÌÕÇÁ',
+ 'Address' => 'áÄÒÅÓ',
+ 'Apr' => 'áÐÒ',
+ 'April' => 'áÐÒÅÌØ',
+ 'Assemblies' => 'ëÏÍÐÌÅËÔÙ',
+ 'Assemblies restocked!' => 'Assemblies restocked!',
+ 'Assembly Number missing!' => 'îÅ ÕËÁÚÁÎ ÎÏÍÅÒ ËÏÍÐÌÅËÔÁ!',
+ 'Attachment' => '÷ÌÏÖÅÎÉÅ',
+ 'Aug' => 'á×Ç',
+ 'August' => 'á×ÇÕÓÔ',
+ 'BOM' => 'BOM',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Bin',
+ 'Bought' => 'ëÕÐÌÅÎÏ',
+ 'COGS' => 'COGS',
+ 'Cannot delete item already invoiced!' => 'Nie mo¿na usun±æ pozycji zafakturowanej!',
+ 'Cannot delete item on order!' => 'Nie mo¿na usunac zamówionego produktu!',
+ 'Cannot delete item which is part of an assembly!' => 'Nie mo¿na usun±æ czê¶ci z zestawienia!',
+ 'Cannot delete item!' => 'Cannot delete item!',
+ 'Cannot stock assemblies!' => 'Cannot stock assemblies!',
+ 'Cc' => 'Cc',
+ 'Contact' => 'ëÏÎÔÁËÔÎÏÅ ÌÉÃÏ',
+ 'Continue' => 'ðÒÏÄÏÌÖÉÔØ',
+ 'Copies' => 'ëÏÐÉÊ',
+ 'Dec' => 'äÅË',
+ 'December' => 'äÅËÁÂÒØ',
+ 'Delete' => 'õÄÁÌÉÔØ',
+ 'Delivery Date' => 'Delivery Date',
+ 'Description' => 'ïÐÉÓÁÎÉÅ',
+ 'Drawing' => 'Drawing',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'îÅ ÕËÁÚÁÎ ÁÄÒÅÓ E-mail!',
+ 'Edit Assembly' => 'éÚÍÅÎÉÔØ ËÏÍÐÌÅËÔ',
+ 'Edit Part' => 'Zmiany Produktu',
+ 'Edit Service' => 'éÚÍÅÎÉÔØ ÕÓÌÕÇÕ',
+ 'Expense' => 'òÁÓÈÏÄ',
+ 'Extended' => 'Extended',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Luty',
+ 'February' => 'Luty',
+ 'From' => 'Od',
+ 'Image' => 'Image',
+ 'In-line' => 'W³±czony',
+ 'Include in Report' => 'Do³±cz w Sprawozdaniu',
+ 'Income' => 'äÏÈÏÄ',
+ 'Individual Items' => 'Indywidualne Czê¶ci',
+ 'Inventory' => 'éÎ×ÅÎÔÁÒÎÙÊ',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'Ilo¶æ Inventarza musi byæ równa zero zanim bêdzie mozna zdezaktualizowaæ to z³o¿enie!',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'Ilo¶æ inventarza musi byæ równa zero zanim bêdzie mo¿na zdezaktualizowaæ t± czê¶æ!',
+ 'Inventory quantity must be zero!' => 'Ilo¶æc Inventarza musi byæ równa zero',
+ 'Invoice' => 'óÞÅÔ-ÆÁËÔÕÒÁ',
+ 'Invoice Date missing!' => 'îÅ ÕËÁÚÁÎÁ ÄÁÔÁ ×ÙÓÔÁ×ÌÅÎÉÑ ÓÞÅÔÁ-ÆÁËÔÕÒÙ',
+ 'Invoice Number' => 'îÏÍÅÒ ÓÞÅÔÁ-ÆÁËÔÕÒÙ',
+ 'Invoice Number missing!' => 'îÅ ÕËÁÚÁÎ ÎÏÍÅÒ ÓÞÅÔÁ-ÆÁËÔÕÒÙ',
+ 'Item deleted!' => 'Item deleted!',
+ 'Item not on file!' => 'Produkt nie jest w zbiorze!',
+ 'Jan' => 'ñÎ×',
+ 'January' => 'ñÎ×ÁÒØ',
+ 'Jul' => 'éÀÌ',
+ 'July' => 'éÀÌØ',
+ 'Jun' => 'éÀÎ',
+ 'June' => 'éÀÎØ',
+ 'Last Cost' => 'Cena Zakupu',
+ 'Line Total' => 'Suma ca³kowita',
+ 'Link Accounts' => 'Konta dowi±zane',
+ 'List Price' => 'Cena',
+ 'Make' => 'Marka',
+ 'Mar' => 'Marzec',
+ 'March' => 'Marzec',
+ 'May' => 'Maj',
+ 'May ' => 'Maj',
+ 'Message' => 'Wiadomo¶æ',
+ 'Microfiche' => 'Microfiche',
+ 'Model' => 'Model',
+ 'Name' => 'Nazwa',
+ 'No.' => 'No.',
+ 'Notes' => 'Noty',
+ 'Nov' => 'Listopad',
+ 'November' => 'Listopad',
+ 'Number' => 'Numer Katalogu',
+ 'Number missing in Row' => 'Brak Numeru w Rzêdzie',
+ 'Obsolete' => 'Zdezaktualizowany',
+ 'Oct' => 'Pa¿dziernik',
+ 'October' => 'Pa¿dziernik',
+ 'On Hand' => 'Na Stanie',
+ 'On Order' => 'On Order',
+ 'Order' => 'Zamówienie',
+ 'Order Date missing!' => 'Brak Daty Zamówienia',
+ 'Order Number' => 'Numer Zamówienia',
+ 'Order Number missing!' => 'Brak Numeru Zamówienia',
+ 'Ordered' => 'Ordered',
+ 'Orphaned' => 'Zbêdny',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Wykaz Dostawy',
+ 'Packing List Date missing!' => 'Brak Daty Wykazu Dostawy',
+ 'Packing List Number missing!' => 'Brak Numeru Wykazu Dostawy',
+ 'Part' => 'Produkt',
+ 'Part Number missing!' => 'Brak Symbolu Produktu!',
+ 'Parts' => 'Produkty',
+ 'Phone' => 'Tel.',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Cena Netto',
+ 'Printer' => 'Drukarka',
+ 'Project' => 'Project',
+ 'Purchase Order' => 'Zamówienie Zakupu',
+ 'Qty' => 'Ilo¶æ',
+ 'ROP' => 'PPZ',
+ 'Recd' => 'Recd',
+ 'Required by' => 'Termin Dostawy',
+ 'Sales' => 'Sprzeda¿',
+ 'Sales Order' => 'Zamówienie Klienta',
+ 'Save' => 'Zapisz',
+ 'Screen' => 'Ekran',
+ 'Select from one of the items below' => 'Wybie¿ jeden z poni¿szych artyku³ów',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sell Price' => 'Cena Sprzeda¿y',
+ 'Sep' => 'óÅÎ',
+ 'September' => 'óÅÎÔÑÂÒØ',
+ 'Service' => 'õÓÌÕÇÁ',
+ 'Service Number missing!' => 'Brak Numeru Us³ugi!',
+ 'Services' => 'õÓÌÕÇÉ',
+ 'Ship' => 'Ship',
+ 'Ship to' => 'Ship to',
+ 'Short' => 'Niedobór',
+ 'Sold' => 'Sprzedano',
+ 'Stock Assembly' => 'Wstaw Z³o¿enie',
+ 'Subject' => 'ôÅÍÁ',
+ 'Subtotal' => 'éÔÏÇÏ ÐÏ ÒÁÚÄÅÌÕ',
+ 'Tax' => 'îÁÌÏÇ',
+ 'To' => 'do',
+ 'Top Level' => 'Top Level',
+ 'Total' => 'Warto¶æ Brutto',
+ 'Unit' => 'Jednostka',
+ 'Unit of measure' => 'Jednostka miary',
+ 'Update' => 'Update',
+ 'Updated' => 'Updated',
+ 'Weight' => 'Waga',
+ 'What type of item is this?' => 'Co to za rodzaj artyku³u',
+ 'ea' => 'szt',
+ 'emailed to' => 'email do',
+ 'hr' => 'godz',
+ 'sent to printer' => 'wys³ano do drukarki',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'assembly_row' => 'assembly_row',
+ 'check_form' => 'check_form',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'delete_assembly' => 'delete_assembly',
+ 'delete_item' => 'delete_item',
+ 'delete_part' => 'delete_part',
+ 'delete_service' => 'delete_service',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'link_part' => 'link_part',
+ 'list_assemblies' => 'list_assemblies',
+ 'makemodel_row' => 'makemodel_row',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'parts_subtotal' => 'parts_subtotal',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'restock_assemblies' => 'restock_assemblies',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'stock_assembly' => 'stock_assembly',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'îÏ×ÙÊ' => 'add',
+ 'îÏ×ÙÊ_ËÏÍÐÌÅËÔ' => 'add_assembly',
+ 'îÏ×ÙÊ_ÐÒÏÄÕËÔ' => 'add_part',
+ 'îÏ×ÁÑ_ÕÓÌÕÇÁ' => 'add_service',
+ 'ðÒÏÄÏÌÖÉÔØ' => 'continue',
+ 'õÄÁÌÉÔØ' => 'delete',
+ 'éÚÍÅÎÉÔØ_ËÏÍÐÌÅËÔ' => 'edit_assembly',
+ 'zmiany_produktu' => 'edit_part',
+ 'éÚÍÅÎÉÔØ_ÕÓÌÕÇÕ' => 'edit_service',
+ 'zapisz' => 'save',
+ 'update' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/ru/io b/sql-ledger/locale/ru/io
new file mode 100644
index 0000000..36137b2
--- /dev/null
+++ b/sql-ledger/locale/ru/io
@@ -0,0 +1,106 @@
+$self{texts} = {
+ 'Add Purchase Order' => 'îÏ×ÙÊ ÚÁËÁÚ ÐÏÓÔÁ×ÝÉËÁ',
+ 'Add Sales Order' => 'îÏ×ÙÊ ÚÁËÁÚ ËÌÉÅÎÔÁ',
+ 'Address' => 'áÄÒÅÓ',
+ 'Apr' => 'áÐÒ',
+ 'April' => 'áÐÒÅÌØ',
+ 'Attachment' => '÷ÌÏÖÅÎÉÅ',
+ 'Aug' => 'á×Ç',
+ 'August' => 'á×ÇÕÓÔ',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Bin',
+ 'Cc' => 'Cc',
+ 'Contact' => 'ëÏÎÔÁËÔÎÏÅ ÌÉÃÏ',
+ 'Continue' => 'ðÒÏÄÏÌÖÉÔØ',
+ 'Copies' => 'ëÏÐÉÊ',
+ 'Dec' => 'äÅË',
+ 'December' => 'äÅËÁÂÒØ',
+ 'Delivery Date' => 'Delivery Date',
+ 'Description' => 'ïÐÉÓÁÎÉÅ',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'îÅ ÕËÁÚÁÎ ÁÄÒÅÓ E-mail!',
+ 'Extended' => 'Extended',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Luty',
+ 'February' => 'Luty',
+ 'In-line' => 'W³±czony',
+ 'Invoice' => 'óÞÅÔ-ÆÁËÔÕÒÁ',
+ 'Invoice Date missing!' => 'îÅ ÕËÁÚÁÎÁ ÄÁÔÁ ×ÙÓÔÁ×ÌÅÎÉÑ ÓÞÅÔÁ-ÆÁËÔÕÒÙ',
+ 'Invoice Number missing!' => 'îÅ ÕËÁÚÁÎ ÎÏÍÅÒ ÓÞÅÔÁ-ÆÁËÔÕÒÙ',
+ 'Item not on file!' => 'Produkt nie jest w zbiorze!',
+ 'Jan' => 'ñÎ×',
+ 'January' => 'ñÎ×ÁÒØ',
+ 'Jul' => 'éÀÌ',
+ 'July' => 'éÀÌØ',
+ 'Jun' => 'éÀÎ',
+ 'June' => 'éÀÎØ',
+ 'Mar' => 'Marzec',
+ 'March' => 'Marzec',
+ 'May' => 'Maj',
+ 'May ' => 'Maj',
+ 'Message' => 'Wiadomo¶æ',
+ 'Name' => 'Nazwa',
+ 'No.' => 'No.',
+ 'Nov' => 'Listopad',
+ 'November' => 'Listopad',
+ 'Number' => 'Numer Katalogu',
+ 'Number missing in Row' => 'Brak Numeru w Rzêdzie',
+ 'Oct' => 'Pa¿dziernik',
+ 'October' => 'Pa¿dziernik',
+ 'Order' => 'Zamówienie',
+ 'Order Date missing!' => 'Brak Daty Zamówienia',
+ 'Order Number missing!' => 'Brak Numeru Zamówienia',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Wykaz Dostawy',
+ 'Packing List Date missing!' => 'Brak Daty Wykazu Dostawy',
+ 'Packing List Number missing!' => 'Brak Numeru Wykazu Dostawy',
+ 'Part' => 'Produkt',
+ 'Phone' => 'Tel.',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Cena Netto',
+ 'Printer' => 'Drukarka',
+ 'Project' => 'Project',
+ 'Purchase Order' => 'Zamówienie Zakupu',
+ 'Qty' => 'Ilo¶æ',
+ 'Recd' => 'Recd',
+ 'Required by' => 'Termin Dostawy',
+ 'Sales Order' => 'Zamówienie Klienta',
+ 'Screen' => 'Ekran',
+ 'Select from one of the items below' => 'Wybie¿ jeden z poni¿szych artyku³ów',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sep' => 'óÅÎ',
+ 'September' => 'óÅÎÔÑÂÒØ',
+ 'Service' => 'õÓÌÕÇÁ',
+ 'Ship' => 'Ship',
+ 'Ship to' => 'Ship to',
+ 'Subject' => 'ôÅÍÁ',
+ 'To' => 'do',
+ 'Unit' => 'Jednostka',
+ 'What type of item is this?' => 'Co to za rodzaj artyku³u',
+ 'emailed to' => 'email do',
+ 'sent to printer' => 'wys³ano do drukarki',
+};
+
+$self{subs} = {
+ 'check_form' => 'check_form',
+ 'customer_details' => 'customer_details',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'ðÒÏÄÏÌÖÉÔØ' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/ru/ir b/sql-ledger/locale/ru/ir
new file mode 100644
index 0000000..67db203
--- /dev/null
+++ b/sql-ledger/locale/ru/ir
@@ -0,0 +1,178 @@
+$self{texts} = {
+ 'Account' => 'óÞÅÔ',
+ 'Add Purchase Invoice' => 'Add Purchase Invoice',
+ 'Add Purchase Order' => 'îÏ×ÙÊ ÚÁËÁÚ ÐÏÓÔÁ×ÝÉËÁ',
+ 'Add Sales Order' => 'îÏ×ÙÊ ÚÁËÁÚ ËÌÉÅÎÔÁ',
+ 'Address' => 'áÄÒÅÓ',
+ 'Amount' => 'óÕÍÍÁ',
+ 'Apr' => 'áÐÒ',
+ 'April' => 'áÐÒÅÌØ',
+ 'Are you sure you want to delete Invoice Number' => '÷Ù Õ×ÅÒÅÎÙ, ÞÔÏ ÈÏÔÉÔÅ ÕÄÁÌÉÔØ ÄÁÎÎÙÊ ÓÞÅÔ?',
+ 'Attachment' => '÷ÌÏÖÅÎÉÅ',
+ 'Aug' => 'á×Ç',
+ 'August' => 'á×ÇÕÓÔ',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Bin',
+ 'Cannot delete invoice!' => 'Cannot delete invoice!',
+ 'Cannot post invoice for a closed period!' => 'Nie mo¿na zksiêgowaæ faktury pozamkniêciu okresu',
+ 'Cannot post invoice!' => 'Cannot post invoice!',
+ 'Cannot post payment for a closed period!' => 'Nie mo¿na zaksiêgowaæ p³atno¶ci po zamkniêciu okresu!',
+ 'Cc' => 'Cc',
+ 'Confirm!' => 'ðÏÄÔ×ÅÒÄÉÔØ!',
+ 'Contact' => 'ëÏÎÔÁËÔÎÏÅ ÌÉÃÏ',
+ 'Continue' => 'ðÒÏÄÏÌÖÉÔØ',
+ 'Copies' => 'ëÏÐÉÊ',
+ 'Currency' => '÷ÁÌÀÔÁ',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'äÁÔÁ',
+ 'Date Due' => 'ïÐÌÁÔÉÔØ ÄÏ',
+ 'Dec' => 'äÅË',
+ 'December' => 'äÅËÁÂÒØ',
+ 'Delete' => 'õÄÁÌÉÔØ',
+ 'Delivery Date' => 'Delivery Date',
+ 'Description' => 'ïÐÉÓÁÎÉÅ',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'îÅ ÕËÁÚÁÎ ÁÄÒÅÓ E-mail!',
+ 'Edit Purchase Invoice' => 'Edit Purchase Invoice',
+ 'Exch' => 'Kurs',
+ 'Exchangerate' => 'Kurs Wymiany',
+ 'Exchangerate for payment missing!' => 'Brakuje kursu wymiany dla p³atno¶ci!',
+ 'Exchangerate missing!' => 'Brakuje kursu wymiany',
+ 'Extended' => 'Extended',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Luty',
+ 'February' => 'Luty',
+ 'In-line' => 'W³±czony',
+ 'Invoice' => 'óÞÅÔ-ÆÁËÔÕÒÁ',
+ 'Invoice Date' => 'äÁÔÁ ×ÙÓÔÁ×ÌÅÎÉÑ',
+ 'Invoice Date missing!' => 'îÅ ÕËÁÚÁÎÁ ÄÁÔÁ ×ÙÓÔÁ×ÌÅÎÉÑ ÓÞÅÔÁ-ÆÁËÔÕÒÙ',
+ 'Invoice Number' => 'îÏÍÅÒ ÓÞÅÔÁ-ÆÁËÔÕÒÙ',
+ 'Invoice Number missing!' => 'îÅ ÕËÁÚÁÎ ÎÏÍÅÒ ÓÞÅÔÁ-ÆÁËÔÕÒÙ',
+ 'Invoice deleted!' => 'Invoice deleted!',
+ 'Invoice posted!' => 'Invoice posted!',
+ 'Item not on file!' => 'Produkt nie jest w zbiorze!',
+ 'Jan' => 'ñÎ×',
+ 'January' => 'ñÎ×ÁÒØ',
+ 'Jul' => 'éÀÌ',
+ 'July' => 'éÀÌØ',
+ 'Jun' => 'éÀÎ',
+ 'June' => 'éÀÎØ',
+ 'Mar' => 'Marzec',
+ 'March' => 'Marzec',
+ 'May' => 'Maj',
+ 'May ' => 'Maj',
+ 'Message' => 'Wiadomo¶æ',
+ 'Name' => 'Nazwa',
+ 'No.' => 'No.',
+ 'Notes' => 'Noty',
+ 'Nov' => 'Listopad',
+ 'November' => 'Listopad',
+ 'Number' => 'Numer Katalogu',
+ 'Number missing in Row' => 'Brak Numeru w Rzêdzie',
+ 'Oct' => 'Pa¿dziernik',
+ 'October' => 'Pa¿dziernik',
+ 'Order' => 'Zamówienie',
+ 'Order Date missing!' => 'Brak Daty Zamówienia',
+ 'Order Number' => 'Numer Zamówienia',
+ 'Order Number missing!' => 'Brak Numeru Zamówienia',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Wykaz Dostawy',
+ 'Packing List Date missing!' => 'Brak Daty Wykazu Dostawy',
+ 'Packing List Number missing!' => 'Brak Numeru Wykazu Dostawy',
+ 'Part' => 'Produkt',
+ 'Payment date missing!' => 'Brak Daty P³atno¶ci',
+ 'Payments' => 'Rozliczenia P³atno¶ci',
+ 'Phone' => 'Tel.',
+ 'Post' => 'Post',
+ 'Post as new' => 'Post as new',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Cena Netto',
+ 'Printer' => 'Drukarka',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Purchase Order' => 'Zamówienie Zakupu',
+ 'Qty' => 'Ilo¶æ',
+ 'Recd' => 'Recd',
+ 'Record in' => 'ïÔÎÅÓÔÉ ÎÁ ÓÞÅÔ',
+ 'Required by' => 'Termin Dostawy',
+ 'Sales Order' => 'Zamówienie Klienta',
+ 'Screen' => 'Ekran',
+ 'Select from one of the items below' => 'Wybie¿ jeden z poni¿szych artyku³ów',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sep' => 'óÅÎ',
+ 'September' => 'óÅÎÔÑÂÒØ',
+ 'Service' => 'õÓÌÕÇÁ',
+ 'Ship' => 'Ship',
+ 'Ship to' => 'Ship to',
+ 'Source' => '¯ród³o',
+ 'Subject' => 'ôÅÍÁ',
+ 'Subtotal' => 'éÔÏÇÏ ÐÏ ÒÁÚÄÅÌÕ',
+ 'Tax Included' => 'Podatek Wliczony',
+ 'To' => 'do',
+ 'Total' => 'Warto¶æ Brutto',
+ 'Unit' => 'Jednostka',
+ 'Update' => 'Update',
+ 'Vendor' => 'Dostawca',
+ 'Vendor missing!' => 'Vendor missing!',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'What type of item is this?' => 'Co to za rodzaj artyku³u',
+ 'Yes' => 'Tak',
+ 'ea' => 'szt',
+ 'emailed to' => 'email do',
+ 'sent to printer' => 'wys³ano do drukarki',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'ðÒÏÄÏÌÖÉÔØ' => 'continue',
+ 'õÄÁÌÉÔØ' => 'delete',
+ 'zamówienie' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'update' => 'update',
+ 'tak' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/ru/is b/sql-ledger/locale/ru/is
new file mode 100644
index 0000000..a4a4621
--- /dev/null
+++ b/sql-ledger/locale/ru/is
@@ -0,0 +1,185 @@
+$self{texts} = {
+ 'Account' => 'óÞÅÔ',
+ 'Add Purchase Order' => 'îÏ×ÙÊ ÚÁËÁÚ ÐÏÓÔÁ×ÝÉËÁ',
+ 'Add Sales Invoice' => 'Add Sales Invoice',
+ 'Add Sales Order' => 'îÏ×ÙÊ ÚÁËÁÚ ËÌÉÅÎÔÁ',
+ 'Address' => 'áÄÒÅÓ',
+ 'Amount' => 'óÕÍÍÁ',
+ 'Apr' => 'áÐÒ',
+ 'April' => 'áÐÒÅÌØ',
+ 'Are you sure you want to delete Invoice Number' => '÷Ù Õ×ÅÒÅÎÙ, ÞÔÏ ÈÏÔÉÔÅ ÕÄÁÌÉÔØ ÄÁÎÎÙÊ ÓÞÅÔ?',
+ 'Attachment' => '÷ÌÏÖÅÎÉÅ',
+ 'Aug' => 'á×Ç',
+ 'August' => 'á×ÇÕÓÔ',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Bin',
+ 'Cannot delete invoice!' => 'Cannot delete invoice!',
+ 'Cannot post invoice for a closed period!' => 'Nie mo¿na zksiêgowaæ faktury pozamkniêciu okresu',
+ 'Cannot post invoice!' => 'Cannot post invoice!',
+ 'Cannot post payment for a closed period!' => 'Nie mo¿na zaksiêgowaæ p³atno¶ci po zamkniêciu okresu!',
+ 'Cc' => 'Cc',
+ 'Confirm!' => 'ðÏÄÔ×ÅÒÄÉÔØ!',
+ 'Contact' => 'ëÏÎÔÁËÔÎÏÅ ÌÉÃÏ',
+ 'Continue' => 'ðÒÏÄÏÌÖÉÔØ',
+ 'Copies' => 'ëÏÐÉÊ',
+ 'Credit Limit' => 'ìÉÍÉÔ ËÒÅÄÉÔÁ',
+ 'Currency' => '÷ÁÌÀÔÁ',
+ 'Customer' => 'ëÌÉÅÎÔ',
+ 'Customer missing!' => 'Customer missing!',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'äÁÔÁ',
+ 'Date Due' => 'ïÐÌÁÔÉÔØ ÄÏ',
+ 'Dec' => 'äÅË',
+ 'December' => 'äÅËÁÂÒØ',
+ 'Delete' => 'õÄÁÌÉÔØ',
+ 'Delivery Date' => 'Delivery Date',
+ 'Description' => 'ïÐÉÓÁÎÉÅ',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'îÅ ÕËÁÚÁÎ ÁÄÒÅÓ E-mail!',
+ 'Edit Sales Invoice' => 'Edit Sales Invoice',
+ 'Exch' => 'Kurs',
+ 'Exchangerate' => 'Kurs Wymiany',
+ 'Exchangerate for payment missing!' => 'Brakuje kursu wymiany dla p³atno¶ci!',
+ 'Exchangerate missing!' => 'Brakuje kursu wymiany',
+ 'Extended' => 'Extended',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Luty',
+ 'February' => 'Luty',
+ 'In-line' => 'W³±czony',
+ 'Invoice' => 'óÞÅÔ-ÆÁËÔÕÒÁ',
+ 'Invoice Date' => 'äÁÔÁ ×ÙÓÔÁ×ÌÅÎÉÑ',
+ 'Invoice Date missing!' => 'îÅ ÕËÁÚÁÎÁ ÄÁÔÁ ×ÙÓÔÁ×ÌÅÎÉÑ ÓÞÅÔÁ-ÆÁËÔÕÒÙ',
+ 'Invoice Number' => 'îÏÍÅÒ ÓÞÅÔÁ-ÆÁËÔÕÒÙ',
+ 'Invoice Number missing!' => 'îÅ ÕËÁÚÁÎ ÎÏÍÅÒ ÓÞÅÔÁ-ÆÁËÔÕÒÙ',
+ 'Invoice deleted!' => 'Invoice deleted!',
+ 'Invoice posted!' => 'Invoice posted!',
+ 'Item not on file!' => 'Produkt nie jest w zbiorze!',
+ 'Jan' => 'ñÎ×',
+ 'January' => 'ñÎ×ÁÒØ',
+ 'Jul' => 'éÀÌ',
+ 'July' => 'éÀÌØ',
+ 'Jun' => 'éÀÎ',
+ 'June' => 'éÀÎØ',
+ 'Mar' => 'Marzec',
+ 'March' => 'Marzec',
+ 'May' => 'Maj',
+ 'May ' => 'Maj',
+ 'Message' => 'Wiadomo¶æ',
+ 'Name' => 'Nazwa',
+ 'No.' => 'No.',
+ 'Notes' => 'Noty',
+ 'Nov' => 'Listopad',
+ 'November' => 'Listopad',
+ 'Number' => 'Numer Katalogu',
+ 'Number missing in Row' => 'Brak Numeru w Rzêdzie',
+ 'Oct' => 'Pa¿dziernik',
+ 'October' => 'Pa¿dziernik',
+ 'Order' => 'Zamówienie',
+ 'Order Date missing!' => 'Brak Daty Zamówienia',
+ 'Order Number' => 'Numer Zamówienia',
+ 'Order Number missing!' => 'Brak Numeru Zamówienia',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Wykaz Dostawy',
+ 'Packing List Date missing!' => 'Brak Daty Wykazu Dostawy',
+ 'Packing List Number missing!' => 'Brak Numeru Wykazu Dostawy',
+ 'Part' => 'Produkt',
+ 'Payment date missing!' => 'Brak Daty P³atno¶ci',
+ 'Payments' => 'Rozliczenia P³atno¶ci',
+ 'Phone' => 'Tel.',
+ 'Post' => 'Post',
+ 'Post as new' => 'Post as new',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Cena Netto',
+ 'Print' => 'Print',
+ 'Printer' => 'Drukarka',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Purchase Order' => 'Zamówienie Zakupu',
+ 'Qty' => 'Ilo¶æ',
+ 'Recd' => 'Recd',
+ 'Record in' => 'ïÔÎÅÓÔÉ ÎÁ ÓÞÅÔ',
+ 'Remaining' => 'Pozosta³e',
+ 'Required by' => 'Termin Dostawy',
+ 'Sales Order' => 'Zamówienie Klienta',
+ 'Screen' => 'Ekran',
+ 'Select from one of the items below' => 'Wybie¿ jeden z poni¿szych artyku³ów',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sep' => 'óÅÎ',
+ 'September' => 'óÅÎÔÑÂÒØ',
+ 'Service' => 'õÓÌÕÇÁ',
+ 'Ship' => 'Ship',
+ 'Ship to' => 'Ship to',
+ 'Ship via' => 'Ship via',
+ 'Source' => '¯ród³o',
+ 'Subject' => 'ôÅÍÁ',
+ 'Subtotal' => 'éÔÏÇÏ ÐÏ ÒÁÚÄÅÌÕ',
+ 'Tax Included' => 'Podatek Wliczony',
+ 'To' => 'do',
+ 'Total' => 'Warto¶æ Brutto',
+ 'Unit' => 'Jednostka',
+ 'Update' => 'Update',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'What type of item is this?' => 'Co to za rodzaj artyku³u',
+ 'Yes' => 'Tak',
+ 'ea' => 'szt',
+ 'emailed to' => 'email do',
+ 'sent to printer' => 'wys³ano do drukarki',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'ðÒÏÄÏÌÖÉÔØ' => 'continue',
+ 'õÄÁÌÉÔØ' => 'delete',
+ 'e_mail' => 'e_mail',
+ 'zamówienie' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'tak' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/ru/login b/sql-ledger/locale/ru/login
new file mode 100644
index 0000000..4ff4eff
--- /dev/null
+++ b/sql-ledger/locale/ru/login
@@ -0,0 +1,28 @@
+$self{texts} = {
+ 'About' => 'ï ÐÒÏÇÒÁÍÍÅ',
+ 'Accounting' => 'Accounting',
+ 'Database Host' => 'Wêze³ Bazy Danych',
+ 'Dataset' => 'Zbiór Danych',
+ 'Incorrect Dataset version!' => 'Nieprawid³owa wersja Zbioru Danych',
+ 'Incorrect Password!' => 'Nieprawid³owe Has³o',
+ 'Licensed to' => 'ìÉÃÅÎÚÉÅÊ ÏÂÌÁÄÁÅÔ:',
+ 'Login' => 'Zarejestrój siê',
+ 'Name' => 'Nazwa',
+ 'Password' => 'Has³o',
+ 'User' => 'U¿ytkownik',
+ 'Version' => '÷ÅÒÓÉÑ',
+ 'You are logged out!' => 'You are logged out!',
+ 'You did not enter a name!' => 'Nie wstawiono nazwy!',
+ 'is not a member!' => 'Nie jest cz³onkiem',
+ 'localhost' => 'wêze³',
+};
+
+$self{subs} = {
+ 'company_logo' => 'company_logo',
+ 'login' => 'login',
+ 'login_screen' => 'login_screen',
+ 'logout' => 'logout',
+ 'zarejestrój_siê' => 'login',
+};
+
+1;
diff --git a/sql-ledger/locale/ru/menu b/sql-ledger/locale/ru/menu
new file mode 100644
index 0000000..af96c02
--- /dev/null
+++ b/sql-ledger/locale/ru/menu
@@ -0,0 +1,72 @@
+$self{texts} = {
+ 'AP' => 'òÁÓÈÏÄ',
+ 'AP Aging' => 'AP Aging',
+ 'AR' => 'äÏÈÏÄ',
+ 'AR Aging' => 'AR Aging',
+ 'Accounting Menu' => 'Accounting Menu',
+ 'Add Account' => 'îÏ×ÙÊ ÓÞÅÔ',
+ 'Add Assembly' => 'îÏ×ÙÊ ËÏÍÐÌÅËÔ',
+ 'Add Customer' => 'îÏ×ÙÊ ËÌÉÅÎÔ',
+ 'Add GIFI' => 'îÏ×ÙÊ GIFI',
+ 'Add Part' => 'îÏ×ÙÊ ÐÒÏÄÕËÔ',
+ 'Add Project' => 'Add Project',
+ 'Add Service' => 'îÏ×ÁÑ ÕÓÌÕÇÁ',
+ 'Add Transaction' => 'îÏ×ÁÑ ÐÒÏ×ÏÄËÁ',
+ 'Add Vendor' => 'îÏ×ÙÊ ÐÏÓÔÁ×ÝÉË',
+ 'Assemblies' => 'ëÏÍÐÌÅËÔÙ',
+ 'Audit Control' => 'ëÏÎÔÒÏÌØ',
+ 'Backup' => 'òÅÚÅÒ×ÎÁÑ ËÏÐÉÑ',
+ 'Balance Sheet' => 'âÁÌÁÎÓ',
+ 'Cash' => 'Cash',
+ 'Chart of Accounts' => 'ðÌÁÎ ÓÞÅÔÏ×',
+ 'Check' => 'Check',
+ 'Customers' => 'Customers',
+ 'General Ledger' => 'Ksiêga G³ówna',
+ 'Goods & Services' => 'Produkty i Us³ugi',
+ 'HTML Templates' => 'Szablony HTML',
+ 'Income Statement' => 'Rachunek Zysków i Strat',
+ 'Invoice' => 'óÞÅÔ-ÆÁËÔÕÒÁ',
+ 'LaTeX Templates' => 'Szablony LaTeX',
+ 'List Accounts' => 'Spis Kont',
+ 'List GIFI' => 'Wykaz GIFI',
+ 'Logout' => 'Wyrejestrój siê',
+ 'Order Entry' => 'Wystawianie Zamówieñ',
+ 'Packing List' => 'Wykaz Dostawy',
+ 'Parts' => 'Produkty',
+ 'Payment' => 'P³atno¶æ',
+ 'Payments' => 'Rozliczenia P³atno¶ci',
+ 'Preferences' => 'Preferencje',
+ 'Projects' => 'Projects',
+ 'Purchase Invoice' => 'Purchase Invoice',
+ 'Purchase Order' => 'Zamówienie Zakupu',
+ 'Purchase Orders' => 'Zamówienia Zakupu',
+ 'Receipt' => 'Receipt',
+ 'Receipts' => 'Receipts',
+ 'Reconciliation' => 'Reconciliation',
+ 'Reports' => 'Sprawozdania',
+ 'Sales Invoice' => 'Sales Invoice',
+ 'Sales Order' => 'Zamówienie Klienta',
+ 'Sales Orders' => 'Zamówienia Klientów',
+ 'Save to File' => 'Zapisz w zbiorze',
+ 'Send by E-Mail' => 'Wys³ano przy u¿yciu E-Mail',
+ 'Services' => 'õÓÌÕÇÉ',
+ 'Statement' => 'Statement',
+ 'Stock Assembly' => 'Wstaw Z³o¿enie',
+ 'Stylesheet' => 'ïÆÏÒÍÌÅÎÉÅ',
+ 'System' => 'óÉÓÔÅÍÁ',
+ 'Tax collected' => 'Tax collected',
+ 'Tax paid' => 'Tax paid',
+ 'Transactions' => 'Transakcje',
+ 'Trial Balance' => 'Bilans Porównawczy',
+ 'Vendors' => 'Vendors',
+ 'Version' => '÷ÅÒÓÉÑ',
+ 'localhost' => 'wêze³',
+};
+
+$self{subs} = {
+ 'acc_menu' => 'acc_menu',
+ 'display' => 'display',
+ 'section_menu' => 'section_menu',
+};
+
+1;
diff --git a/sql-ledger/locale/ru/oe b/sql-ledger/locale/ru/oe
new file mode 100644
index 0000000..24b26df
--- /dev/null
+++ b/sql-ledger/locale/ru/oe
@@ -0,0 +1,199 @@
+$self{texts} = {
+ 'Add' => 'îÏ×ÙÊ',
+ 'Add Purchase Invoice' => 'Add Purchase Invoice',
+ 'Add Purchase Order' => 'îÏ×ÙÊ ÚÁËÁÚ ÐÏÓÔÁ×ÝÉËÁ',
+ 'Add Sales Invoice' => 'Add Sales Invoice',
+ 'Add Sales Order' => 'îÏ×ÙÊ ÚÁËÁÚ ËÌÉÅÎÔÁ',
+ 'Address' => 'áÄÒÅÓ',
+ 'Amount' => 'óÕÍÍÁ',
+ 'Apr' => 'áÐÒ',
+ 'April' => 'áÐÒÅÌØ',
+ 'Are you sure you want to delete Order Number' => '÷Ù Õ×ÅÒÅÎÙ, ÞÔÏ ÈÏÔÉÔÅ ÕÄÁÌÉÔØ ÄÁÎÎÙÊ ÚÁËÁÚ?',
+ 'Attachment' => '÷ÌÏÖÅÎÉÅ',
+ 'Aug' => 'á×Ç',
+ 'August' => 'á×ÇÕÓÔ',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Bin',
+ 'C' => 'C',
+ 'Cannot delete order!' => 'Cannot delete order!',
+ 'Cannot save order!' => 'Cannot save order!',
+ 'Cc' => 'Cc',
+ 'Closed' => 'úÁËÒÙÔ',
+ 'Confirm!' => 'ðÏÄÔ×ÅÒÄÉÔØ!',
+ 'Contact' => 'ëÏÎÔÁËÔÎÏÅ ÌÉÃÏ',
+ 'Continue' => 'ðÒÏÄÏÌÖÉÔØ',
+ 'Copies' => 'ëÏÐÉÊ',
+ 'Credit Limit' => 'ìÉÍÉÔ ËÒÅÄÉÔÁ',
+ 'Curr' => '÷ÁÌÀÔÁ',
+ 'Currency' => '÷ÁÌÀÔÁ',
+ 'Customer' => 'ëÌÉÅÎÔ',
+ 'Customer missing!' => 'Customer missing!',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'äÁÔÁ',
+ 'Dec' => 'äÅË',
+ 'December' => 'äÅËÁÂÒØ',
+ 'Delete' => 'õÄÁÌÉÔØ',
+ 'Delivery Date' => 'Delivery Date',
+ 'Description' => 'ïÐÉÓÁÎÉÅ',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'îÅ ÕËÁÚÁÎ ÁÄÒÅÓ E-mail!',
+ 'Edit Purchase Order' => 'Zmiany Zamówienia Zakupu',
+ 'Edit Sales Order' => 'Zmiany Zamówienia Klienta',
+ 'Exchangerate' => 'Kurs Wymiany',
+ 'Exchangerate missing!' => 'Brakuje kursu wymiany',
+ 'Extended' => 'Extended',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Luty',
+ 'February' => 'Luty',
+ 'From' => 'Od',
+ 'ID' => 'Identyfikator',
+ 'In-line' => 'W³±czony',
+ 'Include in Report' => 'Do³±cz w Sprawozdaniu',
+ 'Invoice' => 'óÞÅÔ-ÆÁËÔÕÒÁ',
+ 'Invoice Date missing!' => 'îÅ ÕËÁÚÁÎÁ ÄÁÔÁ ×ÙÓÔÁ×ÌÅÎÉÑ ÓÞÅÔÁ-ÆÁËÔÕÒÙ',
+ 'Invoice Number missing!' => 'îÅ ÕËÁÚÁÎ ÎÏÍÅÒ ÓÞÅÔÁ-ÆÁËÔÕÒÙ',
+ 'Item not on file!' => 'Produkt nie jest w zbiorze!',
+ 'Jan' => 'ñÎ×',
+ 'January' => 'ñÎ×ÁÒØ',
+ 'Jul' => 'éÀÌ',
+ 'July' => 'éÀÌØ',
+ 'Jun' => 'éÀÎ',
+ 'June' => 'éÀÎØ',
+ 'Mar' => 'Marzec',
+ 'March' => 'Marzec',
+ 'May' => 'Maj',
+ 'May ' => 'Maj',
+ 'Message' => 'Wiadomo¶æ',
+ 'Name' => 'Nazwa',
+ 'No.' => 'No.',
+ 'Notes' => 'Noty',
+ 'Nov' => 'Listopad',
+ 'November' => 'Listopad',
+ 'Number' => 'Numer Katalogu',
+ 'Number missing in Row' => 'Brak Numeru w Rzêdzie',
+ 'O' => 'O',
+ 'Oct' => 'Pa¿dziernik',
+ 'October' => 'Pa¿dziernik',
+ 'Open' => 'Otwórz',
+ 'Order' => 'Zamówienie',
+ 'Order Date' => 'Data Zamówienia',
+ 'Order Date missing!' => 'Brak Daty Zamówienia',
+ 'Order Number' => 'Numer Zamówienia',
+ 'Order Number missing!' => 'Brak Numeru Zamówienia',
+ 'Order deleted!' => 'Order deleted!',
+ 'Order saved!' => 'Order saved!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Wykaz Dostawy',
+ 'Packing List Date missing!' => 'Brak Daty Wykazu Dostawy',
+ 'Packing List Number missing!' => 'Brak Numeru Wykazu Dostawy',
+ 'Part' => 'Produkt',
+ 'Phone' => 'Tel.',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Cena Netto',
+ 'Print' => 'Print',
+ 'Printer' => 'Drukarka',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Purchase Order' => 'Zamówienie Zakupu',
+ 'Purchase Orders' => 'Zamówienia Zakupu',
+ 'Qty' => 'Ilo¶æ',
+ 'Recd' => 'Recd',
+ 'Remaining' => 'Pozosta³e',
+ 'Required by' => 'Termin Dostawy',
+ 'Sales Order' => 'Zamówienie Klienta',
+ 'Sales Orders' => 'Zamówienia Klientów',
+ 'Save' => 'Zapisz',
+ 'Save as new' => 'Save as new',
+ 'Screen' => 'Ekran',
+ 'Select from one of the items below' => 'Wybie¿ jeden z poni¿szych artyku³ów',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sep' => 'óÅÎ',
+ 'September' => 'óÅÎÔÑÂÒØ',
+ 'Service' => 'õÓÌÕÇÁ',
+ 'Ship' => 'Ship',
+ 'Ship to' => 'Ship to',
+ 'Ship via' => 'Ship via',
+ 'Subject' => 'ôÅÍÁ',
+ 'Subtotal' => 'éÔÏÇÏ ÐÏ ÒÁÚÄÅÌÕ',
+ 'Tax' => 'îÁÌÏÇ',
+ 'Tax Included' => 'Podatek Wliczony',
+ 'Terms: Net' => 'Warunki: Netto',
+ 'To' => 'do',
+ 'Total' => 'Warto¶æ Brutto',
+ 'Unit' => 'Jednostka',
+ 'Update' => 'Update',
+ 'Vendor' => 'Dostawca',
+ 'Vendor missing!' => 'Vendor missing!',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'What type of item is this?' => 'Co to za rodzaj artyku³u',
+ 'Yes' => 'Tak',
+ 'days' => 'dni',
+ 'ea' => 'szt',
+ 'emailed to' => 'email do',
+ 'sent to printer' => 'wys³ano do drukarki',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_backorder' => 'create_backorder',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice' => 'invoice',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'order_links' => 'order_links',
+ 'orders' => 'orders',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_order' => 'prepare_order',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'save' => 'save',
+ 'save_as_new' => 'save_as_new',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'subtotal' => 'subtotal',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'îÏ×ÙÊ' => 'add',
+ 'ðÒÏÄÏÌÖÉÔØ' => 'continue',
+ 'õÄÁÌÉÔØ' => 'delete',
+ 'e_mail' => 'e_mail',
+ 'óÞÅÔ_ÆÁËÔÕÒÁ' => 'invoice',
+ 'print' => 'print',
+ 'zapisz' => 'save',
+ 'save_as_new' => 'save_as_new',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'tak' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/ru/pe b/sql-ledger/locale/ru/pe
new file mode 100644
index 0000000..2505a26
--- /dev/null
+++ b/sql-ledger/locale/ru/pe
@@ -0,0 +1,35 @@
+$self{texts} = {
+ 'Add' => 'îÏ×ÙÊ',
+ 'Add Project' => 'Add Project',
+ 'All' => '÷ÓÅ',
+ 'Continue' => 'ðÒÏÄÏÌÖÉÔØ',
+ 'Delete' => 'õÄÁÌÉÔØ',
+ 'Description' => 'ïÐÉÓÁÎÉÅ',
+ 'Edit Project' => 'Edit Project',
+ 'Number' => 'Numer Katalogu',
+ 'Orphaned' => 'Zbêdny',
+ 'Project' => 'Project',
+ 'Project Number missing!' => 'Project Number missing!',
+ 'Project deleted!' => 'Project deleted!',
+ 'Project saved!' => 'Project saved!',
+ 'Projects' => 'Projects',
+ 'Save' => 'Zapisz',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'îÏ×ÙÊ' => 'add',
+ 'ðÒÏÄÏÌÖÉÔØ' => 'continue',
+ 'õÄÁÌÉÔØ' => 'delete',
+ 'zapisz' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/ru/rc b/sql-ledger/locale/ru/rc
new file mode 100644
index 0000000..a14f22a
--- /dev/null
+++ b/sql-ledger/locale/ru/rc
@@ -0,0 +1,37 @@
+$self{texts} = {
+ 'Account' => 'óÞÅÔ',
+ 'Balance' => 'Balance',
+ 'Cleared Balance' => 'Cleared Balance',
+ 'Continue' => 'ðÒÏÄÏÌÖÉÔØ',
+ 'Date' => 'äÁÔÁ',
+ 'Deposit' => 'Deposit',
+ 'Description' => 'ïÐÉÓÁÎÉÅ',
+ 'Difference' => 'Difference',
+ 'Done' => 'Done',
+ 'Exchangerate Difference' => 'Exchangerate Difference',
+ 'From' => 'Od',
+ 'Out of balance!' => 'Out of balance!',
+ 'Payment' => 'P³atno¶æ',
+ 'Reconciliation' => 'Reconciliation',
+ 'Select all' => 'Select all',
+ 'Source' => '¯ród³o',
+ 'Statement Balance' => 'Statement Balance',
+ 'To' => 'do',
+ 'Update' => 'Update',
+};
+
+$self{subs} = {
+ 'continue' => 'continue',
+ 'display_form' => 'display_form',
+ 'done' => 'done',
+ 'get_payments' => 'get_payments',
+ 'reconciliation' => 'reconciliation',
+ 'select_all' => 'select_all',
+ 'update' => 'update',
+ 'ðÒÏÄÏÌÖÉÔØ' => 'continue',
+ 'done' => 'done',
+ 'select_all' => 'select_all',
+ 'update' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/ru/rp b/sql-ledger/locale/ru/rp
new file mode 100644
index 0000000..acea23f
--- /dev/null
+++ b/sql-ledger/locale/ru/rp
@@ -0,0 +1,117 @@
+$self{texts} = {
+ 'AP Aging' => 'AP Aging',
+ 'AR Aging' => 'AR Aging',
+ 'Account' => 'óÞÅÔ',
+ 'Accounts' => 'óÞÅÔÁ',
+ 'Amount' => 'óÕÍÍÁ',
+ 'Apr' => 'áÐÒ',
+ 'April' => 'áÐÒÅÌØ',
+ 'Attachment' => '÷ÌÏÖÅÎÉÅ',
+ 'Aug' => 'á×Ç',
+ 'August' => 'á×ÇÕÓÔ',
+ 'Balance Sheet' => 'âÁÌÁÎÓ',
+ 'Bcc' => 'Bcc',
+ 'Cash based' => 'Cash based',
+ 'Cc' => 'Cc',
+ 'Compare to' => 'óÒÁ×ÎÉÔØ Ó',
+ 'Continue' => 'ðÒÏÄÏÌÖÉÔØ',
+ 'Copies' => 'ëÏÐÉÊ',
+ 'Credit' => 'ëÒÅÄÉÔ',
+ 'Current' => 'Current',
+ 'Customer' => 'ëÌÉÅÎÔ',
+ 'Date' => 'äÁÔÁ',
+ 'Debit' => 'äÅÂÅÔ',
+ 'Dec' => 'äÅË',
+ 'December' => 'äÅËÁÂÒØ',
+ 'Decimalplaces' => 'Decimalplaces',
+ 'Description' => 'ïÐÉÓÁÎÉÅ',
+ 'Due' => 'äÏ',
+ 'E-mail' => 'E-mail',
+ 'E-mail Statement to' => 'E-mail Statement to',
+ 'Feb' => 'Luty',
+ 'February' => 'Luty',
+ 'From' => 'Od',
+ 'GIFI' => 'GIFI',
+ 'Heading' => 'òÁÚÄÅÌ',
+ 'ID' => 'Identyfikator',
+ 'In-line' => 'W³±czony',
+ 'Include in Report' => 'Do³±cz w Sprawozdaniu',
+ 'Income Statement' => 'Rachunek Zysków i Strat',
+ 'Invoice' => 'óÞÅÔ-ÆÁËÔÕÒÁ',
+ 'Jan' => 'ñÎ×',
+ 'January' => 'ñÎ×ÁÒØ',
+ 'Jul' => 'éÀÌ',
+ 'July' => 'éÀÌØ',
+ 'Jun' => 'éÀÎ',
+ 'June' => 'éÀÎØ',
+ 'Mar' => 'Marzec',
+ 'March' => 'Marzec',
+ 'May' => 'Maj',
+ 'May ' => 'Maj',
+ 'Message' => 'Wiadomo¶æ',
+ 'N/A' => 'N/A',
+ 'Nothing selected!' => 'Nothing selected!',
+ 'Nov' => 'Listopad',
+ 'November' => 'Listopad',
+ 'Oct' => 'Pa¿dziernik',
+ 'October' => 'Pa¿dziernik',
+ 'PDF' => 'PDF',
+ 'Payments' => 'Rozliczenia P³atno¶ci',
+ 'Postscript' => 'Postscript',
+ 'Print' => 'Print',
+ 'Printer' => 'Drukarka',
+ 'Receipts' => 'Receipts',
+ 'Report for' => 'Raport dla',
+ 'Retained Earnings' => 'Zysk',
+ 'Screen' => 'Ekran',
+ 'Select all' => 'Select all',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sep' => 'óÅÎ',
+ 'September' => 'óÅÎÔÑÂÒØ',
+ 'Source' => '¯ród³o',
+ 'Standard' => 'óÔÁÎÄÁÒÔÎÙÅ',
+ 'Statement' => 'Statement',
+ 'Statement sent to' => 'Statement sent to',
+ 'Statements sent to printer!' => 'Statements sent to printer!',
+ 'Subject' => 'ôÅÍÁ',
+ 'Subtotal' => 'éÔÏÇÏ ÐÏ ÒÁÚÄÅÌÕ',
+ 'Tax' => 'îÁÌÏÇ',
+ 'Tax collected' => 'Tax collected',
+ 'Tax paid' => 'Tax paid',
+ 'To' => 'do',
+ 'Total' => 'Warto¶æ Brutto',
+ 'Trial Balance' => 'Bilans Porównawczy',
+ 'Vendor' => 'Dostawca',
+ 'as at' => 'as at',
+ 'collected on sales' => 'zebranego przy sprzeda¿y',
+ 'for Period' => 'za Okres',
+ 'paid on purchases' => 'zap³aconego przy zakupach',
+ 'to' => 'to',
+};
+
+$self{subs} = {
+ 'aging' => 'aging',
+ 'continue' => 'continue',
+ 'e_mail' => 'e_mail',
+ 'generate_ap_aging' => 'generate_ap_aging',
+ 'generate_ar_aging' => 'generate_ar_aging',
+ 'generate_balance_sheet' => 'generate_balance_sheet',
+ 'generate_income_statement' => 'generate_income_statement',
+ 'generate_tax_report' => 'generate_tax_report',
+ 'generate_trial_balance' => 'generate_trial_balance',
+ 'list_payments' => 'list_payments',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'report' => 'report',
+ 'select_all' => 'select_all',
+ 'send_email' => 'send_email',
+ 'statement_details' => 'statement_details',
+ 'tax_subtotal' => 'tax_subtotal',
+ 'ðÒÏÄÏÌÖÉÔØ' => 'continue',
+ 'e_mail' => 'e_mail',
+ 'print' => 'print',
+ 'select_all' => 'select_all',
+};
+
+1;
diff --git a/sql-ledger/locale/se/COPYING b/sql-ledger/locale/se/COPYING
new file mode 100644
index 0000000..5e4eee3
--- /dev/null
+++ b/sql-ledger/locale/se/COPYING
@@ -0,0 +1,23 @@
+######################################################################
+# SQL-Ledger Accounting
+# Copyright (c) 2002
+#
+# Swedish texts:
+#
+# Author: jonny@lernbo.com
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+#######################################################################
+
diff --git a/sql-ledger/locale/se/LANGUAGE b/sql-ledger/locale/se/LANGUAGE
new file mode 100644
index 0000000..e375393
--- /dev/null
+++ b/sql-ledger/locale/se/LANGUAGE
@@ -0,0 +1 @@
+Swedish
diff --git a/sql-ledger/locale/se/admin b/sql-ledger/locale/se/admin
new file mode 100644
index 0000000..5b8e140
--- /dev/null
+++ b/sql-ledger/locale/se/admin
@@ -0,0 +1,124 @@
+$self{texts} = {
+ 'Access Control' => 'Accesskontroll',
+ 'Accounting' => 'Bokföring',
+ 'Add User' => 'Ny användare',
+ 'Address' => 'Adress',
+ 'Administration' => 'Administration',
+ 'Administrator' => 'Administratör',
+ 'All Datasets up to date!' => 'Alla dataset uppdaterade',
+ 'Change Admin Password' => 'Ändra lösenord för admin',
+ 'Change Password' => 'Ändra lösenord',
+ 'Character Set' => 'Teckenuppsättning',
+ 'Click on login name to edit!' => 'Klicka på användarnamn för att redigera!',
+ 'Company' => 'Företag',
+ 'Connect to' => 'Anslut till',
+ 'Continue' => 'Fortsätt',
+ 'Create Chart of Accounts' => 'Skapa kontoplan',
+ 'Create Dataset' => 'Skapa dataset',
+ 'DBI not installed!' => 'DBI inte installerad',
+ 'Database' => 'Databas',
+ 'Database Administration' => 'Administration av databas',
+ 'Database Driver not checked!' => 'Databasedriver icke kontrollerad',
+ 'Database User missing!' => 'Databasanvändare saknas',
+ 'Dataset' => 'Dataset',
+ 'Dataset missing!' => 'Dataset saknas',
+ 'Dataset updated!' => 'Dataset uppdaterat',
+ 'Date Format' => 'Datumformat',
+ 'Delete' => 'Radera',
+ 'Delete Dataset' => 'Radera dataset',
+ 'Directory' => 'Katalog',
+ 'Driver' => 'Driver',
+ 'Dropdown Limit' => 'Dropdown gräns',
+ 'E-mail' => 'E-Post',
+ 'Edit User' => 'Redigera användare',
+ 'Existing Datasets' => 'Existerande Dataset',
+ 'Fax' => 'Fax',
+ 'File locked!' => 'Fil låst',
+ 'Host' => 'Värd',
+ 'Hostname missing!' => 'Värdnamn saknas',
+ 'Incorrect Password!' => 'Felaktigt lösenord',
+ 'Language' => 'Språk',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Lämna värd och port fälten tomma om du inte vill göra en fjärranslutning',
+ 'Login' => 'Logga in',
+ 'Multibyte Encoding' => 'Multibytekodning',
+ 'Name' => 'Namn',
+ 'New Templates' => 'Ny mall',
+ 'No Database Drivers available!' => 'Inga databasdrivers tillgängliga',
+ 'No Dataset selected!' => 'Inget Dataset valt',
+ 'Nothing to delete!' => 'Inget att radera',
+ 'Number Format' => 'Nummerformat',
+ 'Oracle Database Administration' => 'Oracle Databasadministration',
+ 'Password' => 'Lösenord',
+ 'Password changed!' => 'Lösenord ändrat',
+ 'Pg Database Administration' => 'Administration av databas PG',
+ 'Phone' => 'Telefon',
+ 'Port' => 'Port',
+ 'Port missing!' => 'Port saknas',
+ 'Printer' => 'Skrivare',
+ 'Save' => 'Spara',
+ 'Select a Dataset to delete and press "Continue"' => 'Välj en databas att radera och klicka på "Fortsätt"',
+ 'Setup Templates' => 'Sätt upp mallar',
+ 'Ship via' => 'Skicka via',
+ 'Signature' => 'Signatur',
+ 'Stylesheet' => 'Stilmall',
+ 'Templates' => 'Mallar',
+ 'The following Datasets are not in use and can be deleted' => 'Följande Dataset är inte i bruk och kan raderas',
+ 'The following Datasets need to be updated' => 'Följande Dataset behöver uppdateras',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'Det här är en preliminär kontroll av existerande källor. Ingenting kommer att sparas eller raderas vid detta tillfälle',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'För att lägga till en användare till en grupp, editera namnet, ändra login namnet och spara. En ny användare med samma variabler sparas då under det nya namnet.',
+ 'Update Dataset' => 'Uppdatera dataset',
+ 'Use Templates' => 'Använd mallar',
+ 'User' => 'Användare',
+ 'User deleted!' => 'Användare raderad',
+ 'User saved!' => 'Användare sparad',
+ 'Version' => 'Version',
+ 'You must enter a host and port for local and remote connections!' => 'Du måste ange en värd och en port för att göra en fjärrsnslutning',
+ 'does not exist' => 'finns inte',
+ 'is already a member!' => 'är redan medlem!',
+ 'localhost' => 'localhost',
+ 'successfully created!' => 'skapades',
+ 'successfully deleted!' => 'raderades',
+ 'website' => 'website',
+};
+
+$self{subs} = {
+ 'add_user' => 'add_user',
+ 'adminlogin' => 'adminlogin',
+ 'change_admin_password' => 'change_admin_password',
+ 'change_password' => 'change_password',
+ 'check_password' => 'check_password',
+ 'continue' => 'continue',
+ 'create_dataset' => 'create_dataset',
+ 'dbcreate' => 'dbcreate',
+ 'dbdelete' => 'dbdelete',
+ 'dbdriver_defaults' => 'dbdriver_defaults',
+ 'dbselect_source' => 'dbselect_source',
+ 'dbupdate' => 'dbupdate',
+ 'delete' => 'delete',
+ 'delete_dataset' => 'delete_dataset',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'get_value' => 'get_value',
+ 'list_users' => 'list_users',
+ 'login' => 'login',
+ 'login_name' => 'login_name',
+ 'oracle_database_administration' => 'oracle_database_administration',
+ 'pg_database_administration' => 'pg_database_administration',
+ 'save' => 'save',
+ 'update_dataset' => 'update_dataset',
+ 'ny_användare' => 'add_user',
+ 'Ändra_lösenord_för_admin' => 'change_admin_password',
+ 'Ändra_lösenord' => 'change_password',
+ 'fortsätt' => 'continue',
+ 'skapa_dataset' => 'create_dataset',
+ 'radera' => 'delete',
+ 'radera_dataset' => 'delete_dataset',
+ 'logga_in' => 'login',
+ 'oracle_databasadministration' => 'oracle_database_administration',
+ 'administration_av_databas_pg' => 'pg_database_administration',
+ 'spara' => 'save',
+ 'uppdatera_dataset' => 'update_dataset',
+};
+
+1;
diff --git a/sql-ledger/locale/se/all b/sql-ledger/locale/se/all
new file mode 100644
index 0000000..dc1dd2d
--- /dev/null
+++ b/sql-ledger/locale/se/all
@@ -0,0 +1,491 @@
+# These are all the texts to build the translations files.
+# The file has the form of 'english text' => 'foreign text',
+# you can add the translation in this file or in the 'missing' file
+# run locales.pl from this directory to rebuild the translation files
+
+$self{texts} = {
+ 'AP' => 'Kredit',
+ 'AP Aging' => 'Kredit åldersfördeling',
+ 'AP Transaction' => 'Kredit verifikat',
+ 'AP Transactions' => 'Kredit verifikationer',
+ 'AR' => 'Debet',
+ 'AR Aging' => 'Debet åldersfördeling',
+ 'AR Transaction' => 'Debet verifikat',
+ 'AR Transactions' => 'Debet verifikationer',
+ 'About' => 'Om',
+ 'Access Control' => 'Accesskontroll',
+ 'Account' => 'Konto',
+ 'Account Number' => 'Kontonummer',
+ 'Account Number missing!' => 'Kontonummer saknas',
+ 'Account Type' => 'Kontotyp',
+ 'Account Type missing!' => 'Kontotyp saknas!',
+ 'Account deleted!' => 'Konto raderat!',
+ 'Account saved!' => 'Konto sparat!',
+ 'Accounting' => 'Bokföring',
+ 'Accounting Menu' => 'Konto-meny',
+ 'Accounts' => 'Konton',
+ 'Active' => 'Aktiv',
+ 'Add' => 'Lägg til',
+ 'Add Account' => 'Nytt konto',
+ 'Add Accounts Payables Transaction' => 'Lägg till kreditverifikat',
+ 'Add Accounts Receivables Transaction' => 'Lägg till debetverifikat',
+ 'Add Assembly' => 'Ny sammansätting',
+ 'Add Customer' => 'Ny kund',
+ 'Add GIFI' => 'Ny GIFI',
+ 'Add General Ledger Transaction' => 'Ny post i huvudbok',
+ 'Add Part' => 'Ny vara',
+ 'Add Project' => 'Nytt projekt',
+ 'Add Purchase Invoice' => 'Ny inköpsfaktura',
+ 'Add Purchase Order' => 'Ny inköpsorder',
+ 'Add Sales Invoice' => 'Ny säljfaktura',
+ 'Add Sales Order' => 'Ny säljorder',
+ 'Add Service' => 'Ny tjänst',
+ 'Add Transaction' => 'Ny post',
+ 'Add User' => 'Ny användare',
+ 'Add Vendor' => 'Ny leverantör',
+ 'Address' => 'Adress',
+ 'Administration' => 'Administration',
+ 'Administrator' => 'Administratör',
+ 'All' => 'Alla',
+ 'All Datasets up to date!' => 'Alla dataset uppdaterade',
+ 'Amount' => 'Belopp',
+ 'Amount Due' => 'Belopp förfallet',
+ 'Amount does not equal applied!' => 'Förfallet belopp stämmer ej med det tillagda',
+ 'Amount missing!' => 'Summa saknas',
+ 'Applied' => 'Tillagt',
+ 'Apr' => 'apr',
+ 'April' => 'april',
+ 'Are you sure you want to delete Invoice Number' => 'Är du säker på att du vill radera Faktura Nummer',
+ 'Are you sure you want to delete Order Number' => 'Är du säker på att du vill radera Order Nummer',
+ 'Are you sure you want to delete Transaction' => 'Är du säker på att du vill radera Transaktionen',
+ 'Assemblies' => 'Sammansättningar',
+ 'Assemblies restocked!' => 'Sammansättningar åter i lager',
+ 'Assembly Number missing!' => 'Sammansättningsnummer saknas',
+ 'Asset' => 'Tillgång',
+ 'Attachment' => 'Bilaga',
+ 'Audit Control' => 'Revisionskontroll',
+ 'Aug' => 'aug',
+ 'August' => 'augusti',
+ 'BOM' => 'BOM',
+ 'Backup' => 'Säkerhetkopia',
+ 'Backup sent to' => 'Säkerhetskopia har sänts till',
+ 'Balance' => 'Balans',
+ 'Balance Sheet' => 'Status',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Antal i lager',
+ 'Books are open' => 'Bokföringen är öppen för rättning',
+ 'Bought' => 'Köpt',
+ 'Business Number' => 'Organisationsnummer',
+ 'C' => 'C',
+ 'COGS' => 'Inköp',
+ 'Cannot delete account!' => 'Kan inte radera konto',
+ 'Cannot delete customer!' => 'Kan inte radera kund',
+ 'Cannot delete default account!' => 'Kan inte radera standardkonto',
+ 'Cannot delete invoice!' => 'Kan inte radera faktura',
+ 'Cannot delete item already invoiced!' => 'Kan inte radera redan fakturerade varor!',
+ 'Cannot delete item on order!' => 'Kan inte radera vara i order!',
+ 'Cannot delete item which is part of an assembly!' => 'Kan inte radera vara som är del av en sammansättning!',
+ 'Cannot delete item!' => 'Kan inte radera vara',
+ 'Cannot delete order!' => 'Kan inte radera order',
+ 'Cannot delete transaction!' => 'Kan inte radera händelse',
+ 'Cannot delete vendor!' => 'Kan inte radera Leverantör',
+ 'Cannot have a value in both Debit and Credit!' => 'Kan inte ha värde i både Debet och Kredit!',
+ 'Cannot post a transaction without a value!' => 'Kan inte lägga till en händelse utan ett värde',
+ 'Cannot post invoice for a closed period!' => 'Kan inte lägga till en faktura för en avslutad period',
+ 'Cannot post invoice!' => 'Kan inte lägga till faktura',
+ 'Cannot post payment for a closed period!' => 'Kan inte lägga till en betalning för en stängd period',
+ 'Cannot post payment!' => 'Kan inte lägga till betalning',
+ 'Cannot post transaction for a closed period!' => 'Kan inte bokföra för en stängd period',
+ 'Cannot post transaction!' => 'Kan inte lägga till händelsen',
+ 'Cannot process payment for a closed period!' => 'Kan inte processa betalning för en avslutad period',
+ 'Cannot save account!' => 'Kan inte spara konto',
+ 'Cannot save order!' => 'Kan inte spara order',
+ 'Cannot save preferences!' => 'Kan inte spara preferenser',
+ 'Cannot stock assemblies!' => 'Kan lagerföra sammansättningar',
+ 'Cash' => 'Kontant',
+ 'Cash based' => 'Kontantbaserad',
+ 'Cc' => 'Kopia',
+ 'Change Admin Password' => 'Ändra lösenord för admin',
+ 'Change Password' => 'Ändra lösenord',
+ 'Character Set' => 'Teckenuppsättning',
+ 'Chart of Accounts' => 'Kontoplan',
+ 'Check' => 'Check',
+ 'Check printed!' => 'Check utskriven',
+ 'Check printing failed!' => 'Utskrift av check misslyckades',
+ 'Cleared Balance' => 'Rensade balans',
+ 'Click on login name to edit!' => 'Klicka på användarnamn för att redigera!',
+ 'Close Books up to' => 'Avsluta bokföring fram till och med',
+ 'Closed' => 'Avslutad',
+ 'Company' => 'Företag',
+ 'Compare to' => 'Jämför med',
+ 'Confirm!' => 'Bekräfta',
+ 'Connect to' => 'Anslut till',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Fortsätt',
+ 'Copies' => 'Kopior',
+ 'Copy to COA' => 'Kopiera till COA',
+ 'Create Chart of Accounts' => 'Skapa kontoplan',
+ 'Create Dataset' => 'Skapa dataset',
+ 'Credit' => 'Kredit',
+ 'Credit Limit' => 'Kreditgräns',
+ 'Curr' => 'Val',
+ 'Currency' => 'Valuta',
+ 'Current' => 'Nuvarande',
+ 'Customer' => 'Kund',
+ 'Customer deleted!' => 'Kund raderad',
+ 'Customer missing!' => 'Kund saknas',
+ 'Customer not on file!' => 'Kund finns ej',
+ 'Customer saved!' => 'Kund sparad',
+ 'Customers' => 'Kunder',
+ 'DBI not installed!' => 'DBI inte installerad',
+ 'Database' => 'Databas',
+ 'Database Administration' => 'Administration av databas',
+ 'Database Driver not checked!' => 'Databasedriver icke kontrollerad',
+ 'Database Host' => 'Databasvärd',
+ 'Database User missing!' => 'Databasanvändare saknas',
+ 'Dataset' => 'Dataset',
+ 'Dataset missing!' => 'Dataset saknas',
+ 'Dataset updated!' => 'Dataset uppdaterat',
+ 'Date' => 'Datum',
+ 'Date Due' => 'Förfallodatum',
+ 'Date Format' => 'Datumformat',
+ 'Date Paid' => 'Betalningsdatum',
+ 'Date missing!' => 'Datum saknas',
+ 'Debit' => 'Debet',
+ 'Debit and credit out of balance!' => 'Debet och kredit måste vara lika!',
+ 'Dec' => 'dec',
+ 'December' => 'december',
+ 'Decimalplaces' => 'Decimalplaceringar',
+ 'Delete' => 'Radera',
+ 'Delete Account' => 'Radera konto',
+ 'Delete Dataset' => 'Radera dataset',
+ 'Delivery Date' => 'Leveransdatum',
+ 'Deposit' => 'Säkerhet',
+ 'Description' => 'Beskrivning',
+ 'Difference' => 'Differens',
+ 'Directory' => 'Katalog',
+ 'Discount' => 'Rabatt',
+ 'Done' => 'Klart',
+ 'Drawing' => 'Ritning',
+ 'Driver' => 'Driver',
+ 'Dropdown Limit' => 'Dropdown gräns',
+ 'Due' => 'Förfallen',
+ 'Due Date' => 'Förfallodatum',
+ 'Due Date missing!' => 'Förfallodatum saknas',
+ 'E-mail' => 'E-Post',
+ 'E-mail Statement to' => 'E-Post anmaning till',
+ 'E-mail address missing!' => 'E-Postadress saknas',
+ 'Edit' => 'Redigera',
+ 'Edit Account' => 'Redigera konto',
+ 'Edit Accounts Payables Transaction' => 'Redigera kreditkonton',
+ 'Edit Accounts Receivables Transaction' => 'Redigera debetkonton',
+ 'Edit Assembly' => 'Redigera sammansättning',
+ 'Edit Customer' => 'Redigera kund',
+ 'Edit GIFI' => 'Redigera GIFI',
+ 'Edit General Ledger Transaction' => 'Redigera en post i Huvudboken',
+ 'Edit Part' => 'Redigera vara',
+ 'Edit Preferences for' => 'Redigera inställningar för',
+ 'Edit Project' => 'Redigera projekt',
+ 'Edit Purchase Invoice' => 'Redigera inköpsfakturor',
+ 'Edit Purchase Order' => 'Redigera inköpsorder',
+ 'Edit Sales Invoice' => 'Redigera säljfakturor',
+ 'Edit Sales Order' => 'Redigera säljorder',
+ 'Edit Service' => 'Redigera tjänster',
+ 'Edit Template' => 'Redigera mall',
+ 'Edit User' => 'Redigera användare',
+ 'Edit Vendor' => 'Redigera Leverantör',
+ 'Employee' => 'Anställd',
+ 'Enforce transaction reversal for all dates' => 'Tvinga rättelser för alla konton',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Ange upp till 3 bokstäver (SEK:EUR:USD) för egen och utländsk valuta',
+ 'Equity' => 'Eget kapital',
+ 'Exch' => 'Vxl',
+ 'Exchangerate' => 'Växlingskurs',
+ 'Exchangerate Difference' => 'Differens Växlingskurs',
+ 'Exchangerate for payment missing!' => 'Växlingskurs för saknad betalning',
+ 'Exchangerate missing!' => 'Växelkurs saknas',
+ 'Existing Datasets' => 'Existerande Dataset',
+ 'Expense' => 'Utgift',
+ 'Expense Account' => 'Utgiftskonto',
+ 'Expense/Asset' => 'Utgift/Tillgång',
+ 'Extended' => 'Utökad',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Februari',
+ 'File locked!' => 'Fil låst',
+ 'Foreign Exchange Gain' => 'Vinst på valutahandel',
+ 'Foreign Exchange Loss' => 'Förlust på valutahandel',
+ 'From' => 'Från',
+ 'GIFI' => 'GIFI',
+ 'GIFI deleted!' => 'GIFI raderad',
+ 'GIFI missing!' => 'GIFI saknas',
+ 'GIFI saved!' => 'GIFI sparad',
+ 'GL Transaction' => 'GL händelse',
+ 'General Ledger' => 'Huvudbok',
+ 'Goods & Services' => 'Varor och Tjänster',
+ 'HTML Templates' => 'HTML mallar',
+ 'Heading' => 'Överskrift',
+ 'Host' => 'Värd',
+ 'Hostname missing!' => 'Värdnamn saknas',
+ 'ID' => 'ID',
+ 'Image' => 'Bild',
+ 'In-line' => 'In-line',
+ 'Include in Report' => 'Inkludera i rapport',
+ 'Include in drop-down menus' => 'Inkludera i rullgardinsmenyer',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Inkludera det här kontot för kund/leverantör för att markera kund/leverantör som momspliktig',
+ 'Income' => 'Intäkt',
+ 'Income Account' => 'Intäktskonto',
+ 'Income Statement' => 'Inkomstberäkning',
+ 'Incorrect Dataset version!' => 'Felaktig databasversion',
+ 'Incorrect Password!' => 'Felaktigt lösenord',
+ 'Individual Items' => 'Individuella enheter',
+ 'Inventory' => 'Lager',
+ 'Inventory Account' => 'Lagerkonto',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'Lagerkvantitet måste vara noll innan du kan sätta sammansättningen som utgången!',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'Lagerkvantitet måste vara noll innan du kan sätta varan som utgången!',
+ 'Inventory quantity must be zero!' => 'Lagerkvantiteten måste vara noll!',
+ 'Invoice' => 'Faktura',
+ 'Invoice Date' => 'Fakturadatum',
+ 'Invoice Date missing!' => 'Fakturadatum saknas',
+ 'Invoice Number' => 'Fakturanummer',
+ 'Invoice Number missing!' => 'Fakturanummer saknas',
+ 'Invoice deleted!' => 'Faktura raderad',
+ 'Invoice posted!' => 'Faktura postad',
+ 'Invoices' => 'Fakturor',
+ 'Is this a summary account to record' => 'Samlingskonto för',
+ 'Item deleted!' => 'Vara raderad',
+ 'Item not on file!' => 'Varan finns inte i databasen',
+ 'Jan' => 'Jan',
+ 'January' => 'Januari',
+ 'Jul' => 'Jul',
+ 'July' => 'Juli',
+ 'Jun' => 'Jun',
+ 'June' => 'Juni',
+ 'LaTeX Templates' => 'LaTeX Mallar',
+ 'Language' => 'Språk',
+ 'Last Cost' => 'Senaste kostnad',
+ 'Last Invoice Number' => 'Senaste fakturanummer',
+ 'Last Numbers & Default Accounts' => 'Senaste nummer och standardkonto',
+ 'Last Purchase Order Number' => 'Senaste inköpsordernummer',
+ 'Last Sales Order Number' => 'Senaste säljordernummer',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Lämna värd och port fälten tomma om du inte vill göra en fjärranslutning',
+ 'Liability' => 'Ansvar',
+ 'Licensed to' => 'Licensierad till',
+ 'Line Total' => 'Antal rader',
+ 'Link' => 'Referens',
+ 'Link Accounts' => 'Koppla konton',
+ 'List Accounts' => 'Lista konton',
+ 'List GIFI' => 'Lista GIFI',
+ 'List Price' => 'Inköpspris',
+ 'List Transactions' => 'Lista transaktioner',
+ 'Login' => 'Logga in',
+ 'Logout' => 'Logga ut',
+ 'Make' => 'Skapa',
+ 'Mar' => 'Mar',
+ 'March' => 'Mars',
+ 'May' => 'Maj',
+ 'May ' => 'Maj',
+ 'Message' => 'Meddelande',
+ 'Microfiche' => 'Microfiche',
+ 'Model' => 'Modell',
+ 'Multibyte Encoding' => 'Multibytekodning',
+ 'N/A' => 'N/A',
+ 'Name' => 'Namn',
+ 'Name missing!' => 'Namn saknas',
+ 'New Templates' => 'Ny mall',
+ 'No' => 'Rad',
+ 'No Database Drivers available!' => 'Inga databasdrivers tillgängliga',
+ 'No Dataset selected!' => 'Inget Dataset valt',
+ 'No email address for' => 'Ingen E-Postadress för',
+ 'No.' => 'Rad',
+ 'Notes' => 'Anmärkningar',
+ 'Nothing applied!' => 'Ingenting lades till',
+ 'Nothing selected!' => 'Ingenting valt',
+ 'Nothing to delete!' => 'Inget att radera',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Nummer',
+ 'Number Format' => 'Nummerformat',
+ 'Number missing in Row' => 'Nummer saknas i rad',
+ 'O' => 'O',
+ 'Obsolete' => 'Utgången',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktober',
+ 'On Hand' => 'I lager',
+ 'On Order' => 'På order',
+ 'Open' => 'Öppen',
+ 'Oracle Database Administration' => 'Oracle Databasadministration',
+ 'Order' => 'Order',
+ 'Order Date' => 'Orderdatum',
+ 'Order Date missing!' => 'Orderdatum saknas',
+ 'Order Entry' => 'Orderingång',
+ 'Order Number' => 'Ordernummer',
+ 'Order Number missing!' => 'Ordernummer saknas',
+ 'Order deleted!' => 'Order raderad',
+ 'Order saved!' => 'Order sparad',
+ 'Ordered' => 'Beställt',
+ 'Orphaned' => 'Fristående',
+ 'Out of balance!' => 'Ej i balans',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Packsedel',
+ 'Packing List Date missing!' => 'Packsedelsdatum saknas',
+ 'Packing List Number missing!' => 'Packsedelsnummer saknas',
+ 'Paid' => 'Betalt',
+ 'Paid in full' => 'Slutbetalt',
+ 'Part' => 'Vara',
+ 'Part Number missing!' => 'Artikelnummer saknas',
+ 'Parts' => 'Varor',
+ 'Parts Inventory' => 'Artikellista',
+ 'Password' => 'Lösenord',
+ 'Password changed!' => 'Lösenord ändrat',
+ 'Payables' => 'Utbetalningar',
+ 'Payment' => 'Betalning',
+ 'Payment date missing!' => 'Betalningsdatum saknas',
+ 'Payment posted!' => 'Betalning postad',
+ 'Payments' => 'Betalningar',
+ 'Pg Database Administration' => 'Administration av databas PG',
+ 'Phone' => 'Telefon',
+ 'Port' => 'Port',
+ 'Port missing!' => 'Port saknas',
+ 'Post' => 'Lägg till',
+ 'Post as new' => 'Lägg till som ny',
+ 'Postscript' => 'Postscript',
+ 'Preferences' => 'Inställningar',
+ 'Preferences saved!' => 'Inställningar sparade',
+ 'Price' => 'Pris',
+ 'Print' => 'Skriv ut',
+ 'Printer' => 'Skrivare',
+ 'Project' => 'Projekt',
+ 'Project Number missing!' => 'Projektnummer saknas',
+ 'Project deleted!' => 'Projekt raderat',
+ 'Project not on file!' => 'Projekt finns ej',
+ 'Project saved!' => 'Projekt sparat',
+ 'Projects' => 'Projekt',
+ 'Purchase Invoice' => 'Inköpsfaktura',
+ 'Purchase Order' => 'Inköpsorder',
+ 'Purchase Orders' => 'Inköpsordrar',
+ 'Qty' => 'Antal',
+ 'ROP' => 'Efterbeställning vid',
+ 'Rate' => 'Rate',
+ 'Recd' => 'Mottagen',
+ 'Receipt' => 'Kvitto',
+ 'Receipts' => 'Kvitton',
+ 'Receivables' => 'Inbetalningar',
+ 'Reconciliation' => 'Bankuppgörelse',
+ 'Record in' => 'Bokför på',
+ 'Reference' => 'Referens',
+ 'Reference missing!' => 'Referens saknas',
+ 'Remaining' => 'Resterar',
+ 'Report for' => 'Rapport för',
+ 'Reports' => 'Rapporter',
+ 'Required by' => 'Beställt den',
+ 'Retained Earnings' => 'Realiserat överskott',
+ 'Sales' => 'Försäljning',
+ 'Sales Invoice' => 'Säljfaktura',
+ 'Sales Order' => 'Säljorder',
+ 'Sales Orders' => 'Säljordrar',
+ 'Save' => 'Spara',
+ 'Save as new' => 'Spara som ny',
+ 'Save to File' => 'Spara till fil',
+ 'Screen' => 'Skärm',
+ 'Select a Dataset to delete and press "Continue"' => 'Välj en databas att radera och klicka på "Fortsätt"',
+ 'Select all' => 'Välj alla',
+ 'Select from one of the items below' => 'Välj en artikel nedan',
+ 'Select from one of the names below' => 'Välj ett av namnen nedan',
+ 'Select from one of the projects below' => 'Välj ett av projekten nedan',
+ 'Select postscript or PDF!' => 'Välj Postscript eller PDF',
+ 'Sell Price' => 'Försäljningspris',
+ 'Send by E-Mail' => 'Skicka via E-Post',
+ 'Sep' => 'Sep',
+ 'September' => 'September',
+ 'Service' => 'Tjänster',
+ 'Service Items' => 'Tjänsteartiklar',
+ 'Service Number missing!' => 'Tjänstenummer saknas',
+ 'Services' => 'Tjänster',
+ 'Setup Templates' => 'Sätt upp mallar',
+ 'Ship' => 'Skicka',
+ 'Ship to' => 'Skicka till',
+ 'Ship via' => 'Skicka via',
+ 'Short' => 'Kort',
+ 'Signature' => 'Signatur',
+ 'Sold' => 'Såld',
+ 'Source' => 'Källa',
+ 'Standard' => 'Standard',
+ 'Statement' => 'Anmärkning',
+ 'Statement Balance' => 'Anmärkning status',
+ 'Statement sent to' => 'Anmärkning skickad till',
+ 'Statements sent to printer!' => 'Anmärkningar skickade till skrivare',
+ 'Stock Assembly' => 'Lagersammansättning',
+ 'Stylesheet' => 'Stilmall',
+ 'Subject' => 'Ämne',
+ 'Subtotal' => 'Subtotal',
+ 'System' => 'System',
+ 'Tax' => 'Moms',
+ 'Tax Accounts' => 'Momskonton',
+ 'Tax Included' => 'Moms ingår',
+ 'Tax collected' => 'Moms total',
+ 'Tax paid' => 'Moms betalad',
+ 'Taxable' => 'Momspliktigt',
+ 'Template saved!' => 'Mall sparad',
+ 'Templates' => 'Mallar',
+ 'Terms: Net' => 'Netto',
+ 'The following Datasets are not in use and can be deleted' => 'Följande Dataset är inte i bruk och kan raderas',
+ 'The following Datasets need to be updated' => 'Följande Dataset behöver uppdateras',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'Det här är en preliminär kontroll av existerande källor. Ingenting kommer att sparas eller raderas vid detta tillfälle',
+ 'To' => 'Till',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'För att lägga till en användare till en grupp, editera namnet, ändra login namnet och spara. En ny användare med samma variabler sparas då under det nya namnet.',
+ 'Top Level' => 'Toppnivå',
+ 'Total' => 'Total',
+ 'Transaction Date missing!' => 'Transaktionsdatum saknas',
+ 'Transaction deleted!' => 'Transaktion raderad',
+ 'Transaction posted!' => 'Transaktion sparad',
+ 'Transaction reversal enforced for all dates' => 'Transaktion påtvingas för alla datum',
+ 'Transaction reversal enforced up to' => 'Transaktion påtvingas upp till',
+ 'Transactions' => 'Transaktioner',
+ 'Transactions exist, cannot delete customer!' => 'Transaktioner finns, kan inte radera kund',
+ 'Transactions exist, cannot delete vendor!' => 'Transaktioner finns, kan inte radera leverantör',
+ 'Transactions exist; cannot delete account!' => 'Transaktioner finns, kan inte radera konto',
+ 'Trial Balance' => 'Provbalans',
+ 'Unit' => 'Enhet',
+ 'Unit of measure' => 'Måttenhet',
+ 'Update' => 'Uppdatera',
+ 'Update Dataset' => 'Uppdatera dataset',
+ 'Updated' => 'Uppdaterad',
+ 'Use Templates' => 'Använd mallar',
+ 'User' => 'Användare',
+ 'User deleted!' => 'Användare raderad',
+ 'User saved!' => 'Användare sparad',
+ 'Vendor' => 'Leverantör',
+ 'Vendor deleted!' => 'Leverantör raderad',
+ 'Vendor missing!' => 'Leverantör saknas',
+ 'Vendor not on file!' => 'Leverantör finns ej',
+ 'Vendor saved!' => 'Leverantör sparad',
+ 'Vendors' => 'Leverantörer',
+ 'Version' => 'Version',
+ 'Weight' => 'Vikt',
+ 'Weight Unit' => 'Viktenhet',
+ 'What type of item is this?' => 'Vilken typ av artikel är detta?',
+ 'Year End' => 'Årsslut',
+ 'Yes' => 'Ja',
+ 'You are logged out!' => 'Du är utloggad',
+ 'You did not enter a name!' => 'Du skrev inte in något namn',
+ 'You must enter a host and port for local and remote connections!' => 'Du måste ange en värd och en port för att göra en fjärrsnslutning',
+ 'as at' => 'som vid',
+ 'collected on sales' => 'inbetalt på försäljning',
+ 'days' => 'dagar',
+ 'does not exist' => 'finns inte',
+ 'ea' => 'st',
+ 'emailed to' => 'E-Postat till',
+ 'for Period' => 'för perioden',
+ 'hr' => 'timme',
+ 'is already a member!' => 'är redan medlem!',
+ 'is not a member!' => 'är inte medlem!',
+ 'localhost' => 'localhost',
+ 'paid on purchases' => 'betalt vid köp',
+ 'sent to printer' => 'skickat till skrivare',
+ 'successfully created!' => 'skapades',
+ 'successfully deleted!' => 'raderades',
+ 'to' => 'till',
+ 'website' => 'website',
+};
+
+1;
diff --git a/sql-ledger/locale/se/am b/sql-ledger/locale/se/am
new file mode 100644
index 0000000..d8e084b
--- /dev/null
+++ b/sql-ledger/locale/se/am
@@ -0,0 +1,139 @@
+$self{texts} = {
+ 'AP' => 'Kredit',
+ 'AR' => 'Debet',
+ 'Account' => 'Konto',
+ 'Account Number' => 'Kontonummer',
+ 'Account Number missing!' => 'Kontonummer saknas',
+ 'Account Type' => 'Kontotyp',
+ 'Account Type missing!' => 'Kontotyp saknas!',
+ 'Account deleted!' => 'Konto raderat!',
+ 'Account saved!' => 'Konto sparat!',
+ 'Add Account' => 'Nytt konto',
+ 'Add GIFI' => 'Ny GIFI',
+ 'Address' => 'Adress',
+ 'Asset' => 'Tillgång',
+ 'Audit Control' => 'Revisionskontroll',
+ 'Backup sent to' => 'Säkerhetskopia har sänts till',
+ 'Books are open' => 'Bokföringen är öppen för rättning',
+ 'Business Number' => 'Organisationsnummer',
+ 'COGS' => 'Inköp',
+ 'Cannot delete account!' => 'Kan inte radera konto',
+ 'Cannot delete default account!' => 'Kan inte radera standardkonto',
+ 'Cannot save account!' => 'Kan inte spara konto',
+ 'Cannot save preferences!' => 'Kan inte spara preferenser',
+ 'Character Set' => 'Teckenuppsättning',
+ 'Chart of Accounts' => 'Kontoplan',
+ 'Close Books up to' => 'Avsluta bokföring fram till och med',
+ 'Company' => 'Företag',
+ 'Continue' => 'Fortsätt',
+ 'Copy to COA' => 'Kopiera till COA',
+ 'Credit' => 'Kredit',
+ 'Date Format' => 'Datumformat',
+ 'Debit' => 'Debet',
+ 'Delete' => 'Radera',
+ 'Delete Account' => 'Radera konto',
+ 'Description' => 'Beskrivning',
+ 'Dropdown Limit' => 'Dropdown gräns',
+ 'E-mail' => 'E-Post',
+ 'Edit' => 'Redigera',
+ 'Edit Account' => 'Redigera konto',
+ 'Edit GIFI' => 'Redigera GIFI',
+ 'Edit Preferences for' => 'Redigera inställningar för',
+ 'Edit Template' => 'Redigera mall',
+ 'Enforce transaction reversal for all dates' => 'Tvinga rättelser för alla konton',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Ange upp till 3 bokstäver (SEK:EUR:USD) för egen och utländsk valuta',
+ 'Equity' => 'Eget kapital',
+ 'Expense' => 'Utgift',
+ 'Expense Account' => 'Utgiftskonto',
+ 'Expense/Asset' => 'Utgift/Tillgång',
+ 'Fax' => 'Fax',
+ 'Foreign Exchange Gain' => 'Vinst på valutahandel',
+ 'Foreign Exchange Loss' => 'Förlust på valutahandel',
+ 'GIFI' => 'GIFI',
+ 'GIFI deleted!' => 'GIFI raderad',
+ 'GIFI missing!' => 'GIFI saknas',
+ 'GIFI saved!' => 'GIFI sparad',
+ 'Heading' => 'Överskrift',
+ 'Include in drop-down menus' => 'Inkludera i rullgardinsmenyer',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Inkludera det här kontot för kund/leverantör för att markera kund/leverantör som momspliktig',
+ 'Income' => 'Intäkt',
+ 'Income Account' => 'Intäktskonto',
+ 'Inventory' => 'Lager',
+ 'Inventory Account' => 'Lagerkonto',
+ 'Is this a summary account to record' => 'Samlingskonto för',
+ 'Language' => 'Språk',
+ 'Last Invoice Number' => 'Senaste fakturanummer',
+ 'Last Numbers & Default Accounts' => 'Senaste nummer och standardkonto',
+ 'Last Purchase Order Number' => 'Senaste inköpsordernummer',
+ 'Last Sales Order Number' => 'Senaste säljordernummer',
+ 'Liability' => 'Ansvar',
+ 'Link' => 'Referens',
+ 'Name' => 'Namn',
+ 'No' => 'Rad',
+ 'No email address for' => 'Ingen E-Postadress för',
+ 'Number' => 'Nummer',
+ 'Number Format' => 'Nummerformat',
+ 'Parts Inventory' => 'Artikellista',
+ 'Password' => 'Lösenord',
+ 'Payables' => 'Utbetalningar',
+ 'Payment' => 'Betalning',
+ 'Phone' => 'Telefon',
+ 'Preferences saved!' => 'Inställningar sparade',
+ 'Rate' => 'Rate',
+ 'Receivables' => 'Inbetalningar',
+ 'Sales' => 'Försäljning',
+ 'Save' => 'Spara',
+ 'Service Items' => 'Tjänsteartiklar',
+ 'Ship via' => 'Skicka via',
+ 'Signature' => 'Signatur',
+ 'Stylesheet' => 'Stilmall',
+ 'Tax' => 'Moms',
+ 'Tax Accounts' => 'Momskonton',
+ 'Template saved!' => 'Mall sparad',
+ 'Transaction reversal enforced for all dates' => 'Transaktion påtvingas för alla datum',
+ 'Transaction reversal enforced up to' => 'Transaktion påtvingas upp till',
+ 'Transactions exist; cannot delete account!' => 'Transaktioner finns, kan inte radera konto',
+ 'Weight Unit' => 'Viktenhet',
+ 'Year End' => 'Årsslut',
+ 'Yes' => 'Ja',
+ 'does not exist' => 'finns inte',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_gifi' => 'add_gifi',
+ 'audit_control' => 'audit_control',
+ 'backup' => 'backup',
+ 'config' => 'config',
+ 'continue' => 'continue',
+ 'copy_to_coa' => 'copy_to_coa',
+ 'delete' => 'delete',
+ 'delete_account' => 'delete_account',
+ 'delete_gifi' => 'delete_gifi',
+ 'display_form' => 'display_form',
+ 'display_stylesheet' => 'display_stylesheet',
+ 'doclose' => 'doclose',
+ 'edit' => 'edit',
+ 'edit_gifi' => 'edit_gifi',
+ 'edit_template' => 'edit_template',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gifi_footer' => 'gifi_footer',
+ 'gifi_header' => 'gifi_header',
+ 'list' => 'list',
+ 'list_gifi' => 'list_gifi',
+ 'save' => 'save',
+ 'save_account' => 'save_account',
+ 'save_gifi' => 'save_gifi',
+ 'save_preferences' => 'save_preferences',
+ 'save_template' => 'save_template',
+ 'nytt_konto' => 'add_account',
+ 'fortsätt' => 'continue',
+ 'kopiera_till_coa' => 'copy_to_coa',
+ 'radera' => 'delete',
+ 'redigera' => 'edit',
+ 'redigera_konto' => 'edit_account',
+ 'spara' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/se/ap b/sql-ledger/locale/se/ap
new file mode 100644
index 0000000..94021c9
--- /dev/null
+++ b/sql-ledger/locale/se/ap
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AP Transaction' => 'Kredit verifikat',
+ 'AP Transactions' => 'Kredit verifikationer',
+ 'Account' => 'Konto',
+ 'Add Accounts Payables Transaction' => 'Lägg till kreditverifikat',
+ 'Address' => 'Adress',
+ 'Amount' => 'Belopp',
+ 'Amount Due' => 'Belopp förfallet',
+ 'Apr' => 'apr',
+ 'April' => 'april',
+ 'Are you sure you want to delete Transaction' => 'Är du säker på att du vill radera Transaktionen',
+ 'Aug' => 'aug',
+ 'August' => 'augusti',
+ 'Cannot delete transaction!' => 'Kan inte radera händelse',
+ 'Cannot post payment for a closed period!' => 'Kan inte lägga till en betalning för en stängd period',
+ 'Cannot post transaction for a closed period!' => 'Kan inte bokföra för en stängd period',
+ 'Cannot post transaction!' => 'Kan inte lägga till händelsen',
+ 'Closed' => 'Avslutad',
+ 'Confirm!' => 'Bekräfta',
+ 'Continue' => 'Fortsätt',
+ 'Currency' => 'Valuta',
+ 'Customer not on file!' => 'Kund finns ej',
+ 'Date' => 'Datum',
+ 'Date Paid' => 'Betalningsdatum',
+ 'Dec' => 'dec',
+ 'December' => 'december',
+ 'Delete' => 'Radera',
+ 'Description' => 'Beskrivning',
+ 'Due Date' => 'Förfallodatum',
+ 'Due Date missing!' => 'Förfallodatum saknas',
+ 'Edit Accounts Payables Transaction' => 'Redigera kreditkonton',
+ 'Employee' => 'Anställd',
+ 'Exch' => 'Vxl',
+ 'Exchangerate' => 'Växlingskurs',
+ 'Exchangerate for payment missing!' => 'Växlingskurs för saknad betalning',
+ 'Exchangerate missing!' => 'Växelkurs saknas',
+ 'Feb' => 'Feb',
+ 'February' => 'Februari',
+ 'From' => 'Från',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Inkludera i rapport',
+ 'Invoice' => 'Faktura',
+ 'Invoice Date' => 'Fakturadatum',
+ 'Invoice Date missing!' => 'Fakturadatum saknas',
+ 'Invoice Number' => 'Fakturanummer',
+ 'Invoice Number missing!' => 'Fakturanummer saknas',
+ 'Jan' => 'Jan',
+ 'January' => 'Januari',
+ 'Jul' => 'Jul',
+ 'July' => 'Juli',
+ 'Jun' => 'Jun',
+ 'June' => 'Juni',
+ 'Mar' => 'Mar',
+ 'March' => 'Mars',
+ 'May' => 'Maj',
+ 'May ' => 'Maj',
+ 'Notes' => 'Anmärkningar',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Nummer',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktober',
+ 'Open' => 'Öppen',
+ 'Order' => 'Order',
+ 'Order Number' => 'Ordernummer',
+ 'Paid' => 'Betalt',
+ 'Payment date missing!' => 'Betalningsdatum saknas',
+ 'Payments' => 'Betalningar',
+ 'Post' => 'Lägg till',
+ 'Post as new' => 'Lägg till som ny',
+ 'Project' => 'Projekt',
+ 'Project not on file!' => 'Projekt finns ej',
+ 'Purchase Invoice' => 'Inköpsfaktura',
+ 'Select from one of the names below' => 'Välj ett av namnen nedan',
+ 'Select from one of the projects below' => 'Välj ett av projekten nedan',
+ 'Sep' => 'Sep',
+ 'September' => 'September',
+ 'Source' => 'Källa',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'Moms',
+ 'Tax Included' => 'Moms ingår',
+ 'To' => 'Till',
+ 'Total' => 'Total',
+ 'Transaction deleted!' => 'Transaktion raderad',
+ 'Transaction posted!' => 'Transaktion sparad',
+ 'Update' => 'Uppdatera',
+ 'Vendor' => 'Leverantör',
+ 'Vendor missing!' => 'Leverantör saknas',
+ 'Vendor not on file!' => 'Leverantör finns ej',
+ 'Yes' => 'Ja',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_subtotal' => 'ap_subtotal',
+ 'ap_transaction' => 'ap_transaction',
+ 'ap_transactions' => 'ap_transactions',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'kredit_verifikat' => 'ap_transaction',
+ 'lägg_till_kreditverifikat' => 'add_accounts_payables_transaction',
+ 'fortsätt' => 'continue',
+ 'radera' => 'delete',
+ 'redigera_kreditkonton' => 'edit_accounts_payables_transaction',
+ 'lägg_till' => 'post',
+ 'lägg_till_som_ny' => 'post_as_new',
+ 'inköpsfaktura' => 'purchase_invoice',
+ 'uppdatera' => 'update',
+ 'ja' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/se/ar b/sql-ledger/locale/se/ar
new file mode 100644
index 0000000..c72f7cf
--- /dev/null
+++ b/sql-ledger/locale/se/ar
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AR Transaction' => 'Debet verifikat',
+ 'AR Transactions' => 'Debet verifikationer',
+ 'Account' => 'Konto',
+ 'Add Accounts Receivables Transaction' => 'Lägg till debetverifikat',
+ 'Address' => 'Adress',
+ 'Amount' => 'Belopp',
+ 'Amount Due' => 'Belopp förfallet',
+ 'Apr' => 'apr',
+ 'April' => 'april',
+ 'Are you sure you want to delete Transaction' => 'Är du säker på att du vill radera Transaktionen',
+ 'Aug' => 'aug',
+ 'August' => 'augusti',
+ 'Cannot delete transaction!' => 'Kan inte radera händelse',
+ 'Cannot post payment for a closed period!' => 'Kan inte lägga till en betalning för en stängd period',
+ 'Cannot post transaction for a closed period!' => 'Kan inte bokföra för en stängd period',
+ 'Cannot post transaction!' => 'Kan inte lägga till händelsen',
+ 'Closed' => 'Avslutad',
+ 'Confirm!' => 'Bekräfta',
+ 'Continue' => 'Fortsätt',
+ 'Credit Limit' => 'Kreditgräns',
+ 'Currency' => 'Valuta',
+ 'Customer' => 'Kund',
+ 'Customer missing!' => 'Kund saknas',
+ 'Customer not on file!' => 'Kund finns ej',
+ 'Date' => 'Datum',
+ 'Date Paid' => 'Betalningsdatum',
+ 'Dec' => 'dec',
+ 'December' => 'december',
+ 'Delete' => 'Radera',
+ 'Description' => 'Beskrivning',
+ 'Due Date' => 'Förfallodatum',
+ 'Due Date missing!' => 'Förfallodatum saknas',
+ 'Edit Accounts Receivables Transaction' => 'Redigera debetkonton',
+ 'Employee' => 'Anställd',
+ 'Exch' => 'Vxl',
+ 'Exchangerate' => 'Växlingskurs',
+ 'Exchangerate for payment missing!' => 'Växlingskurs för saknad betalning',
+ 'Exchangerate missing!' => 'Växelkurs saknas',
+ 'Feb' => 'Feb',
+ 'February' => 'Februari',
+ 'From' => 'Från',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Inkludera i rapport',
+ 'Invoice' => 'Faktura',
+ 'Invoice Date' => 'Fakturadatum',
+ 'Invoice Date missing!' => 'Fakturadatum saknas',
+ 'Invoice Number' => 'Fakturanummer',
+ 'Invoice Number missing!' => 'Fakturanummer saknas',
+ 'Jan' => 'Jan',
+ 'January' => 'Januari',
+ 'Jul' => 'Jul',
+ 'July' => 'Juli',
+ 'Jun' => 'Jun',
+ 'June' => 'Juni',
+ 'Mar' => 'Mar',
+ 'March' => 'Mars',
+ 'May' => 'Maj',
+ 'May ' => 'Maj',
+ 'Notes' => 'Anmärkningar',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Nummer',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktober',
+ 'Open' => 'Öppen',
+ 'Order' => 'Order',
+ 'Order Number' => 'Ordernummer',
+ 'Paid' => 'Betalt',
+ 'Payment date missing!' => 'Betalningsdatum saknas',
+ 'Payments' => 'Betalningar',
+ 'Post' => 'Lägg till',
+ 'Post as new' => 'Lägg till som ny',
+ 'Project' => 'Projekt',
+ 'Project not on file!' => 'Projekt finns ej',
+ 'Remaining' => 'Resterar',
+ 'Sales Invoice' => 'Säljfaktura',
+ 'Select from one of the names below' => 'Välj ett av namnen nedan',
+ 'Select from one of the projects below' => 'Välj ett av projekten nedan',
+ 'Sep' => 'Sep',
+ 'September' => 'September',
+ 'Source' => 'Källa',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'Moms',
+ 'Tax Included' => 'Moms ingår',
+ 'To' => 'Till',
+ 'Total' => 'Total',
+ 'Transaction deleted!' => 'Transaktion raderad',
+ 'Transaction posted!' => 'Transaktion sparad',
+ 'Update' => 'Uppdatera',
+ 'Vendor not on file!' => 'Leverantör finns ej',
+ 'Yes' => 'Ja',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_subtotal' => 'ar_subtotal',
+ 'ar_transaction' => 'ar_transaction',
+ 'ar_transactions' => 'ar_transactions',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'debet_verifikat' => 'ar_transaction',
+ 'fortsätt' => 'continue',
+ 'radera' => 'delete',
+ 'lägg_till' => 'post',
+ 'lägg_till_som_ny' => 'post_as_new',
+ 'säljfaktura' => 'sales_invoice',
+ 'uppdatera' => 'update',
+ 'ja' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/se/arap b/sql-ledger/locale/se/arap
new file mode 100644
index 0000000..51fa73a
--- /dev/null
+++ b/sql-ledger/locale/se/arap
@@ -0,0 +1,30 @@
+$self{texts} = {
+ 'Address' => 'Adress',
+ 'Continue' => 'Fortsätt',
+ 'Customer not on file!' => 'Kund finns ej',
+ 'Description' => 'Beskrivning',
+ 'Number' => 'Nummer',
+ 'Project not on file!' => 'Projekt finns ej',
+ 'Select from one of the names below' => 'Välj ett av namnen nedan',
+ 'Select from one of the projects below' => 'Välj ett av projekten nedan',
+ 'Vendor not on file!' => 'Leverantör finns ej',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'fortsätt' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/se/ca b/sql-ledger/locale/se/ca
new file mode 100644
index 0000000..d186a62
--- /dev/null
+++ b/sql-ledger/locale/se/ca
@@ -0,0 +1,50 @@
+$self{texts} = {
+ 'Account' => 'Konto',
+ 'Apr' => 'apr',
+ 'April' => 'april',
+ 'Aug' => 'aug',
+ 'August' => 'augusti',
+ 'Balance' => 'Balans',
+ 'Chart of Accounts' => 'Kontoplan',
+ 'Credit' => 'Kredit',
+ 'Date' => 'Datum',
+ 'Debit' => 'Debet',
+ 'Dec' => 'dec',
+ 'December' => 'december',
+ 'Description' => 'Beskrivning',
+ 'Feb' => 'Feb',
+ 'February' => 'Februari',
+ 'From' => 'Från',
+ 'GIFI' => 'GIFI',
+ 'Include in Report' => 'Inkludera i rapport',
+ 'Jan' => 'Jan',
+ 'January' => 'Januari',
+ 'Jul' => 'Jul',
+ 'July' => 'Juli',
+ 'Jun' => 'Jun',
+ 'June' => 'Juni',
+ 'List Transactions' => 'Lista transaktioner',
+ 'Mar' => 'Mar',
+ 'March' => 'Mars',
+ 'May' => 'Maj',
+ 'May ' => 'Maj',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktober',
+ 'Reference' => 'Referens',
+ 'Sep' => 'Sep',
+ 'September' => 'September',
+ 'Subtotal' => 'Subtotal',
+ 'To' => 'Till',
+};
+
+$self{subs} = {
+ 'ca_subtotal' => 'ca_subtotal',
+ 'chart_of_accounts' => 'chart_of_accounts',
+ 'list' => 'list',
+ 'list_transactions' => 'list_transactions',
+ 'lista_transaktioner' => 'list_transactions',
+};
+
+1;
diff --git a/sql-ledger/locale/se/cp b/sql-ledger/locale/se/cp
new file mode 100644
index 0000000..c6b1f47
--- /dev/null
+++ b/sql-ledger/locale/se/cp
@@ -0,0 +1,75 @@
+$self{texts} = {
+ 'Account' => 'Konto',
+ 'Address' => 'Adress',
+ 'Amount' => 'Belopp',
+ 'Amount does not equal applied!' => 'Förfallet belopp stämmer ej med det tillagda',
+ 'Amount missing!' => 'Summa saknas',
+ 'Applied' => 'Tillagt',
+ 'Cannot post payment!' => 'Kan inte lägga till betalning',
+ 'Cannot process payment for a closed period!' => 'Kan inte processa betalning för en avslutad period',
+ 'Check' => 'Check',
+ 'Check printed!' => 'Check utskriven',
+ 'Check printing failed!' => 'Utskrift av check misslyckades',
+ 'Continue' => 'Fortsätt',
+ 'Currency' => 'Valuta',
+ 'Customer' => 'Kund',
+ 'Customer not on file!' => 'Kund finns ej',
+ 'Date' => 'Datum',
+ 'Date missing!' => 'Datum saknas',
+ 'Description' => 'Beskrivning',
+ 'Due' => 'Förfallen',
+ 'Exchangerate' => 'Växlingskurs',
+ 'From' => 'Från',
+ 'Invoice' => 'Faktura',
+ 'Invoices' => 'Fakturor',
+ 'Nothing applied!' => 'Ingenting lades till',
+ 'Number' => 'Nummer',
+ 'Paid in full' => 'Slutbetalt',
+ 'Payment' => 'Betalning',
+ 'Payment posted!' => 'Betalning postad',
+ 'Post' => 'Lägg till',
+ 'Print' => 'Skriv ut',
+ 'Printer' => 'Skrivare',
+ 'Project not on file!' => 'Projekt finns ej',
+ 'Receipt' => 'Kvitto',
+ 'Reference' => 'Referens',
+ 'Screen' => 'Skärm',
+ 'Select from one of the names below' => 'Välj ett av namnen nedan',
+ 'Select from one of the projects below' => 'Välj ett av projekten nedan',
+ 'To' => 'Till',
+ 'Update' => 'Uppdatera',
+ 'Vendor' => 'Leverantör',
+ 'Vendor not on file!' => 'Leverantör finns ej',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'list_invoices' => 'list_invoices',
+ 'name_selected' => 'name_selected',
+ 'payment' => 'payment',
+ 'post' => 'post',
+ 'print' => 'print',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'vendor_details' => 'vendor_details',
+ 'fortsätt' => 'continue',
+ 'lägg_till' => 'post',
+ 'skriv_ut' => 'print',
+ 'uppdatera' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/se/ct b/sql-ledger/locale/se/ct
new file mode 100644
index 0000000..16d6b64
--- /dev/null
+++ b/sql-ledger/locale/se/ct
@@ -0,0 +1,71 @@
+$self{texts} = {
+ 'Add' => 'Lägg til',
+ 'Address' => 'Adress',
+ 'All' => 'Alla',
+ 'Bcc' => 'Bcc',
+ 'Cannot delete customer!' => 'Kan inte radera kund',
+ 'Cannot delete vendor!' => 'Kan inte radera Leverantör',
+ 'Cc' => 'Kopia',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Fortsätt',
+ 'Credit Limit' => 'Kreditgräns',
+ 'Customer deleted!' => 'Kund raderad',
+ 'Customer saved!' => 'Kund sparad',
+ 'Customers' => 'Kunder',
+ 'Delete' => 'Radera',
+ 'Discount' => 'Rabatt',
+ 'E-mail' => 'E-Post',
+ 'Edit Customer' => 'Redigera kund',
+ 'Edit Vendor' => 'Redigera Leverantör',
+ 'Fax' => 'Fax',
+ 'Include in Report' => 'Inkludera i rapport',
+ 'Invoice' => 'Faktura',
+ 'Name' => 'Namn',
+ 'Name missing!' => 'Namn saknas',
+ 'Notes' => 'Anmärkningar',
+ 'Number' => 'Nummer',
+ 'Order' => 'Order',
+ 'Orphaned' => 'Fristående',
+ 'Phone' => 'Telefon',
+ 'Save' => 'Spara',
+ 'Ship to' => 'Skicka till',
+ 'Tax Included' => 'Moms ingår',
+ 'Taxable' => 'Momspliktigt',
+ 'Terms: Net' => 'Netto',
+ 'Transactions exist, cannot delete customer!' => 'Transaktioner finns, kan inte radera kund',
+ 'Transactions exist, cannot delete vendor!' => 'Transaktioner finns, kan inte radera leverantör',
+ 'Vendor deleted!' => 'Leverantör raderad',
+ 'Vendor saved!' => 'Leverantör sparad',
+ 'Vendors' => 'Leverantörer',
+ 'days' => 'dagar',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'customer_invoice' => 'customer_invoice',
+ 'customer_order' => 'customer_order',
+ 'delete' => 'delete',
+ 'delete_customer' => 'delete_customer',
+ 'delete_vendor' => 'delete_vendor',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'invoice' => 'invoice',
+ 'list_names' => 'list_names',
+ 'order' => 'order',
+ 'save' => 'save',
+ 'save_customer' => 'save_customer',
+ 'save_vendor' => 'save_vendor',
+ 'search' => 'search',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'vendor_order' => 'vendor_order',
+ 'lägg_til' => 'add',
+ 'fortsätt' => 'continue',
+ 'radera' => 'delete',
+ 'faktura' => 'invoice',
+ 'order' => 'order',
+ 'spara' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/se/gl b/sql-ledger/locale/se/gl
new file mode 100644
index 0000000..314839f
--- /dev/null
+++ b/sql-ledger/locale/se/gl
@@ -0,0 +1,124 @@
+$self{texts} = {
+ 'AP Transaction' => 'Kredit verifikat',
+ 'AR Transaction' => 'Debet verifikat',
+ 'Account' => 'Konto',
+ 'Add General Ledger Transaction' => 'Ny post i huvudbok',
+ 'Address' => 'Adress',
+ 'All' => 'Alla',
+ 'Apr' => 'apr',
+ 'April' => 'april',
+ 'Are you sure you want to delete Transaction' => 'Är du säker på att du vill radera Transaktionen',
+ 'Asset' => 'Tillgång',
+ 'Aug' => 'aug',
+ 'August' => 'augusti',
+ 'Balance' => 'Balans',
+ 'Cannot delete transaction!' => 'Kan inte radera händelse',
+ 'Cannot have a value in both Debit and Credit!' => 'Kan inte ha värde i både Debet och Kredit!',
+ 'Cannot post a transaction without a value!' => 'Kan inte lägga till en händelse utan ett värde',
+ 'Cannot post transaction for a closed period!' => 'Kan inte bokföra för en stängd period',
+ 'Confirm!' => 'Bekräfta',
+ 'Continue' => 'Fortsätt',
+ 'Credit' => 'Kredit',
+ 'Customer not on file!' => 'Kund finns ej',
+ 'Date' => 'Datum',
+ 'Debit' => 'Debet',
+ 'Debit and credit out of balance!' => 'Debet och kredit måste vara lika!',
+ 'Dec' => 'dec',
+ 'December' => 'december',
+ 'Delete' => 'Radera',
+ 'Description' => 'Beskrivning',
+ 'Edit General Ledger Transaction' => 'Redigera en post i Huvudboken',
+ 'Equity' => 'Eget kapital',
+ 'Expense' => 'Utgift',
+ 'Feb' => 'Feb',
+ 'February' => 'Februari',
+ 'From' => 'Från',
+ 'GIFI' => 'GIFI',
+ 'GL Transaction' => 'GL händelse',
+ 'General Ledger' => 'Huvudbok',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Inkludera i rapport',
+ 'Income' => 'Intäkt',
+ 'Jan' => 'Jan',
+ 'January' => 'Januari',
+ 'Jul' => 'Jul',
+ 'July' => 'Juli',
+ 'Jun' => 'Jun',
+ 'June' => 'Juni',
+ 'Liability' => 'Ansvar',
+ 'Mar' => 'Mar',
+ 'March' => 'Mars',
+ 'May' => 'Maj',
+ 'May ' => 'Maj',
+ 'Notes' => 'Anmärkningar',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Nummer',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktober',
+ 'Post' => 'Lägg till',
+ 'Post as new' => 'Lägg till som ny',
+ 'Project' => 'Projekt',
+ 'Project not on file!' => 'Projekt finns ej',
+ 'Purchase Invoice' => 'Inköpsfaktura',
+ 'Reference' => 'Referens',
+ 'Reference missing!' => 'Referens saknas',
+ 'Reports' => 'Rapporter',
+ 'Sales Invoice' => 'Säljfaktura',
+ 'Select from one of the names below' => 'Välj ett av namnen nedan',
+ 'Select from one of the projects below' => 'Välj ett av projekten nedan',
+ 'Sep' => 'Sep',
+ 'September' => 'September',
+ 'Source' => 'Källa',
+ 'Subtotal' => 'Subtotal',
+ 'To' => 'Till',
+ 'Transaction Date missing!' => 'Transaktionsdatum saknas',
+ 'Transaction deleted!' => 'Transaktion raderad',
+ 'Transaction posted!' => 'Transaktion sparad',
+ 'Update' => 'Uppdatera',
+ 'Vendor not on file!' => 'Leverantör finns ej',
+ 'Yes' => 'Ja',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'form_row' => 'form_row',
+ 'generate_report' => 'generate_report',
+ 'gl_subtotal' => 'gl_subtotal',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'kredit_verifikat' => 'ap_transaction',
+ 'debet_verifikat' => 'ar_transaction',
+ 'fortsätt' => 'continue',
+ 'radera' => 'delete',
+ 'gl_händelse' => 'gl_transaction',
+ 'lägg_till' => 'post',
+ 'lägg_till_som_ny' => 'post_as_new',
+ 'inköpsfaktura' => 'purchase_invoice',
+ 'säljfaktura' => 'sales_invoice',
+ 'uppdatera' => 'update',
+ 'ja' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/se/ic b/sql-ledger/locale/se/ic
new file mode 100644
index 0000000..176b68b
--- /dev/null
+++ b/sql-ledger/locale/se/ic
@@ -0,0 +1,205 @@
+$self{texts} = {
+ 'Active' => 'Aktiv',
+ 'Add' => 'Lägg til',
+ 'Add Assembly' => 'Ny sammansätting',
+ 'Add Part' => 'Ny vara',
+ 'Add Purchase Order' => 'Ny inköpsorder',
+ 'Add Sales Order' => 'Ny säljorder',
+ 'Add Service' => 'Ny tjänst',
+ 'Address' => 'Adress',
+ 'Apr' => 'apr',
+ 'April' => 'april',
+ 'Assemblies' => 'Sammansättningar',
+ 'Assemblies restocked!' => 'Sammansättningar åter i lager',
+ 'Assembly Number missing!' => 'Sammansättningsnummer saknas',
+ 'Attachment' => 'Bilaga',
+ 'Aug' => 'aug',
+ 'August' => 'augusti',
+ 'BOM' => 'BOM',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Antal i lager',
+ 'Bought' => 'Köpt',
+ 'COGS' => 'Inköp',
+ 'Cannot delete item already invoiced!' => 'Kan inte radera redan fakturerade varor!',
+ 'Cannot delete item on order!' => 'Kan inte radera vara i order!',
+ 'Cannot delete item which is part of an assembly!' => 'Kan inte radera vara som är del av en sammansättning!',
+ 'Cannot delete item!' => 'Kan inte radera vara',
+ 'Cannot stock assemblies!' => 'Kan lagerföra sammansättningar',
+ 'Cc' => 'Kopia',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Fortsätt',
+ 'Copies' => 'Kopior',
+ 'Dec' => 'dec',
+ 'December' => 'december',
+ 'Delete' => 'Radera',
+ 'Delivery Date' => 'Leveransdatum',
+ 'Description' => 'Beskrivning',
+ 'Drawing' => 'Ritning',
+ 'E-mail' => 'E-Post',
+ 'E-mail address missing!' => 'E-Postadress saknas',
+ 'Edit Assembly' => 'Redigera sammansättning',
+ 'Edit Part' => 'Redigera vara',
+ 'Edit Service' => 'Redigera tjänster',
+ 'Expense' => 'Utgift',
+ 'Extended' => 'Utökad',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Februari',
+ 'From' => 'Från',
+ 'Image' => 'Bild',
+ 'In-line' => 'In-line',
+ 'Include in Report' => 'Inkludera i rapport',
+ 'Income' => 'Intäkt',
+ 'Individual Items' => 'Individuella enheter',
+ 'Inventory' => 'Lager',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'Lagerkvantitet måste vara noll innan du kan sätta sammansättningen som utgången!',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'Lagerkvantitet måste vara noll innan du kan sätta varan som utgången!',
+ 'Inventory quantity must be zero!' => 'Lagerkvantiteten måste vara noll!',
+ 'Invoice' => 'Faktura',
+ 'Invoice Date missing!' => 'Fakturadatum saknas',
+ 'Invoice Number' => 'Fakturanummer',
+ 'Invoice Number missing!' => 'Fakturanummer saknas',
+ 'Item deleted!' => 'Vara raderad',
+ 'Item not on file!' => 'Varan finns inte i databasen',
+ 'Jan' => 'Jan',
+ 'January' => 'Januari',
+ 'Jul' => 'Jul',
+ 'July' => 'Juli',
+ 'Jun' => 'Jun',
+ 'June' => 'Juni',
+ 'Last Cost' => 'Senaste kostnad',
+ 'Line Total' => 'Antal rader',
+ 'Link Accounts' => 'Koppla konton',
+ 'List Price' => 'Inköpspris',
+ 'Make' => 'Skapa',
+ 'Mar' => 'Mar',
+ 'March' => 'Mars',
+ 'May' => 'Maj',
+ 'May ' => 'Maj',
+ 'Message' => 'Meddelande',
+ 'Microfiche' => 'Microfiche',
+ 'Model' => 'Modell',
+ 'Name' => 'Namn',
+ 'No.' => 'Rad',
+ 'Notes' => 'Anmärkningar',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Nummer',
+ 'Number missing in Row' => 'Nummer saknas i rad',
+ 'Obsolete' => 'Utgången',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktober',
+ 'On Hand' => 'I lager',
+ 'On Order' => 'På order',
+ 'Order' => 'Order',
+ 'Order Date missing!' => 'Orderdatum saknas',
+ 'Order Number' => 'Ordernummer',
+ 'Order Number missing!' => 'Ordernummer saknas',
+ 'Ordered' => 'Beställt',
+ 'Orphaned' => 'Fristående',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Packsedel',
+ 'Packing List Date missing!' => 'Packsedelsdatum saknas',
+ 'Packing List Number missing!' => 'Packsedelsnummer saknas',
+ 'Part' => 'Vara',
+ 'Part Number missing!' => 'Artikelnummer saknas',
+ 'Parts' => 'Varor',
+ 'Phone' => 'Telefon',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Pris',
+ 'Printer' => 'Skrivare',
+ 'Project' => 'Projekt',
+ 'Purchase Order' => 'Inköpsorder',
+ 'Qty' => 'Antal',
+ 'ROP' => 'Efterbeställning vid',
+ 'Recd' => 'Mottagen',
+ 'Required by' => 'Beställt den',
+ 'Sales' => 'Försäljning',
+ 'Sales Order' => 'Säljorder',
+ 'Save' => 'Spara',
+ 'Screen' => 'Skärm',
+ 'Select from one of the items below' => 'Välj en artikel nedan',
+ 'Select postscript or PDF!' => 'Välj Postscript eller PDF',
+ 'Sell Price' => 'Försäljningspris',
+ 'Sep' => 'Sep',
+ 'September' => 'September',
+ 'Service' => 'Tjänster',
+ 'Service Number missing!' => 'Tjänstenummer saknas',
+ 'Services' => 'Tjänster',
+ 'Ship' => 'Skicka',
+ 'Ship to' => 'Skicka till',
+ 'Short' => 'Kort',
+ 'Sold' => 'Såld',
+ 'Stock Assembly' => 'Lagersammansättning',
+ 'Subject' => 'Ämne',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'Moms',
+ 'To' => 'Till',
+ 'Top Level' => 'Toppnivå',
+ 'Total' => 'Total',
+ 'Unit' => 'Enhet',
+ 'Unit of measure' => 'Måttenhet',
+ 'Update' => 'Uppdatera',
+ 'Updated' => 'Uppdaterad',
+ 'Weight' => 'Vikt',
+ 'What type of item is this?' => 'Vilken typ av artikel är detta?',
+ 'ea' => 'st',
+ 'emailed to' => 'E-Postat till',
+ 'hr' => 'timme',
+ 'sent to printer' => 'skickat till skrivare',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'assembly_row' => 'assembly_row',
+ 'check_form' => 'check_form',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'delete_assembly' => 'delete_assembly',
+ 'delete_item' => 'delete_item',
+ 'delete_part' => 'delete_part',
+ 'delete_service' => 'delete_service',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'link_part' => 'link_part',
+ 'list_assemblies' => 'list_assemblies',
+ 'makemodel_row' => 'makemodel_row',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'parts_subtotal' => 'parts_subtotal',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'restock_assemblies' => 'restock_assemblies',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'stock_assembly' => 'stock_assembly',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'lägg_til' => 'add',
+ 'ny_sammansätting' => 'add_assembly',
+ 'ny_vara' => 'add_part',
+ 'ny_tjänst' => 'add_service',
+ 'fortsätt' => 'continue',
+ 'radera' => 'delete',
+ 'redigera_sammansättning' => 'edit_assembly',
+ 'redigera_vara' => 'edit_part',
+ 'redigera_tjänster' => 'edit_service',
+ 'spara' => 'save',
+ 'uppdatera' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/se/io b/sql-ledger/locale/se/io
new file mode 100644
index 0000000..68418c3
--- /dev/null
+++ b/sql-ledger/locale/se/io
@@ -0,0 +1,106 @@
+$self{texts} = {
+ 'Add Purchase Order' => 'Ny inköpsorder',
+ 'Add Sales Order' => 'Ny säljorder',
+ 'Address' => 'Adress',
+ 'Apr' => 'apr',
+ 'April' => 'april',
+ 'Attachment' => 'Bilaga',
+ 'Aug' => 'aug',
+ 'August' => 'augusti',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Antal i lager',
+ 'Cc' => 'Kopia',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Fortsätt',
+ 'Copies' => 'Kopior',
+ 'Dec' => 'dec',
+ 'December' => 'december',
+ 'Delivery Date' => 'Leveransdatum',
+ 'Description' => 'Beskrivning',
+ 'E-mail' => 'E-Post',
+ 'E-mail address missing!' => 'E-Postadress saknas',
+ 'Extended' => 'Utökad',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Februari',
+ 'In-line' => 'In-line',
+ 'Invoice' => 'Faktura',
+ 'Invoice Date missing!' => 'Fakturadatum saknas',
+ 'Invoice Number missing!' => 'Fakturanummer saknas',
+ 'Item not on file!' => 'Varan finns inte i databasen',
+ 'Jan' => 'Jan',
+ 'January' => 'Januari',
+ 'Jul' => 'Jul',
+ 'July' => 'Juli',
+ 'Jun' => 'Jun',
+ 'June' => 'Juni',
+ 'Mar' => 'Mar',
+ 'March' => 'Mars',
+ 'May' => 'Maj',
+ 'May ' => 'Maj',
+ 'Message' => 'Meddelande',
+ 'Name' => 'Namn',
+ 'No.' => 'Rad',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Nummer',
+ 'Number missing in Row' => 'Nummer saknas i rad',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktober',
+ 'Order' => 'Order',
+ 'Order Date missing!' => 'Orderdatum saknas',
+ 'Order Number missing!' => 'Ordernummer saknas',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Packsedel',
+ 'Packing List Date missing!' => 'Packsedelsdatum saknas',
+ 'Packing List Number missing!' => 'Packsedelsnummer saknas',
+ 'Part' => 'Vara',
+ 'Phone' => 'Telefon',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Pris',
+ 'Printer' => 'Skrivare',
+ 'Project' => 'Projekt',
+ 'Purchase Order' => 'Inköpsorder',
+ 'Qty' => 'Antal',
+ 'Recd' => 'Mottagen',
+ 'Required by' => 'Beställt den',
+ 'Sales Order' => 'Säljorder',
+ 'Screen' => 'Skärm',
+ 'Select from one of the items below' => 'Välj en artikel nedan',
+ 'Select postscript or PDF!' => 'Välj Postscript eller PDF',
+ 'Sep' => 'Sep',
+ 'September' => 'September',
+ 'Service' => 'Tjänster',
+ 'Ship' => 'Skicka',
+ 'Ship to' => 'Skicka till',
+ 'Subject' => 'Ämne',
+ 'To' => 'Till',
+ 'Unit' => 'Enhet',
+ 'What type of item is this?' => 'Vilken typ av artikel är detta?',
+ 'emailed to' => 'E-Postat till',
+ 'sent to printer' => 'skickat till skrivare',
+};
+
+$self{subs} = {
+ 'check_form' => 'check_form',
+ 'customer_details' => 'customer_details',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'fortsätt' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/se/ir b/sql-ledger/locale/se/ir
new file mode 100644
index 0000000..113fa9c
--- /dev/null
+++ b/sql-ledger/locale/se/ir
@@ -0,0 +1,178 @@
+$self{texts} = {
+ 'Account' => 'Konto',
+ 'Add Purchase Invoice' => 'Ny inköpsfaktura',
+ 'Add Purchase Order' => 'Ny inköpsorder',
+ 'Add Sales Order' => 'Ny säljorder',
+ 'Address' => 'Adress',
+ 'Amount' => 'Belopp',
+ 'Apr' => 'apr',
+ 'April' => 'april',
+ 'Are you sure you want to delete Invoice Number' => 'Är du säker på att du vill radera Faktura Nummer',
+ 'Attachment' => 'Bilaga',
+ 'Aug' => 'aug',
+ 'August' => 'augusti',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Antal i lager',
+ 'Cannot delete invoice!' => 'Kan inte radera faktura',
+ 'Cannot post invoice for a closed period!' => 'Kan inte lägga till en faktura för en avslutad period',
+ 'Cannot post invoice!' => 'Kan inte lägga till faktura',
+ 'Cannot post payment for a closed period!' => 'Kan inte lägga till en betalning för en stängd period',
+ 'Cc' => 'Kopia',
+ 'Confirm!' => 'Bekräfta',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Fortsätt',
+ 'Copies' => 'Kopior',
+ 'Currency' => 'Valuta',
+ 'Customer not on file!' => 'Kund finns ej',
+ 'Date' => 'Datum',
+ 'Date Due' => 'Förfallodatum',
+ 'Dec' => 'dec',
+ 'December' => 'december',
+ 'Delete' => 'Radera',
+ 'Delivery Date' => 'Leveransdatum',
+ 'Description' => 'Beskrivning',
+ 'E-mail' => 'E-Post',
+ 'E-mail address missing!' => 'E-Postadress saknas',
+ 'Edit Purchase Invoice' => 'Redigera inköpsfakturor',
+ 'Exch' => 'Vxl',
+ 'Exchangerate' => 'Växlingskurs',
+ 'Exchangerate for payment missing!' => 'Växlingskurs för saknad betalning',
+ 'Exchangerate missing!' => 'Växelkurs saknas',
+ 'Extended' => 'Utökad',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Februari',
+ 'In-line' => 'In-line',
+ 'Invoice' => 'Faktura',
+ 'Invoice Date' => 'Fakturadatum',
+ 'Invoice Date missing!' => 'Fakturadatum saknas',
+ 'Invoice Number' => 'Fakturanummer',
+ 'Invoice Number missing!' => 'Fakturanummer saknas',
+ 'Invoice deleted!' => 'Faktura raderad',
+ 'Invoice posted!' => 'Faktura postad',
+ 'Item not on file!' => 'Varan finns inte i databasen',
+ 'Jan' => 'Jan',
+ 'January' => 'Januari',
+ 'Jul' => 'Jul',
+ 'July' => 'Juli',
+ 'Jun' => 'Jun',
+ 'June' => 'Juni',
+ 'Mar' => 'Mar',
+ 'March' => 'Mars',
+ 'May' => 'Maj',
+ 'May ' => 'Maj',
+ 'Message' => 'Meddelande',
+ 'Name' => 'Namn',
+ 'No.' => 'Rad',
+ 'Notes' => 'Anmärkningar',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Nummer',
+ 'Number missing in Row' => 'Nummer saknas i rad',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktober',
+ 'Order' => 'Order',
+ 'Order Date missing!' => 'Orderdatum saknas',
+ 'Order Number' => 'Ordernummer',
+ 'Order Number missing!' => 'Ordernummer saknas',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Packsedel',
+ 'Packing List Date missing!' => 'Packsedelsdatum saknas',
+ 'Packing List Number missing!' => 'Packsedelsnummer saknas',
+ 'Part' => 'Vara',
+ 'Payment date missing!' => 'Betalningsdatum saknas',
+ 'Payments' => 'Betalningar',
+ 'Phone' => 'Telefon',
+ 'Post' => 'Lägg till',
+ 'Post as new' => 'Lägg till som ny',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Pris',
+ 'Printer' => 'Skrivare',
+ 'Project' => 'Projekt',
+ 'Project not on file!' => 'Projekt finns ej',
+ 'Purchase Order' => 'Inköpsorder',
+ 'Qty' => 'Antal',
+ 'Recd' => 'Mottagen',
+ 'Record in' => 'Bokför på',
+ 'Required by' => 'Beställt den',
+ 'Sales Order' => 'Säljorder',
+ 'Screen' => 'Skärm',
+ 'Select from one of the items below' => 'Välj en artikel nedan',
+ 'Select from one of the names below' => 'Välj ett av namnen nedan',
+ 'Select from one of the projects below' => 'Välj ett av projekten nedan',
+ 'Select postscript or PDF!' => 'Välj Postscript eller PDF',
+ 'Sep' => 'Sep',
+ 'September' => 'September',
+ 'Service' => 'Tjänster',
+ 'Ship' => 'Skicka',
+ 'Ship to' => 'Skicka till',
+ 'Source' => 'Källa',
+ 'Subject' => 'Ämne',
+ 'Subtotal' => 'Subtotal',
+ 'Tax Included' => 'Moms ingår',
+ 'To' => 'Till',
+ 'Total' => 'Total',
+ 'Unit' => 'Enhet',
+ 'Update' => 'Uppdatera',
+ 'Vendor' => 'Leverantör',
+ 'Vendor missing!' => 'Leverantör saknas',
+ 'Vendor not on file!' => 'Leverantör finns ej',
+ 'What type of item is this?' => 'Vilken typ av artikel är detta?',
+ 'Yes' => 'Ja',
+ 'ea' => 'st',
+ 'emailed to' => 'E-Postat till',
+ 'sent to printer' => 'skickat till skrivare',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'fortsätt' => 'continue',
+ 'radera' => 'delete',
+ 'order' => 'order',
+ 'lägg_till' => 'post',
+ 'lägg_till_som_ny' => 'post_as_new',
+ 'uppdatera' => 'update',
+ 'ja' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/se/is b/sql-ledger/locale/se/is
new file mode 100644
index 0000000..92f640a
--- /dev/null
+++ b/sql-ledger/locale/se/is
@@ -0,0 +1,185 @@
+$self{texts} = {
+ 'Account' => 'Konto',
+ 'Add Purchase Order' => 'Ny inköpsorder',
+ 'Add Sales Invoice' => 'Ny säljfaktura',
+ 'Add Sales Order' => 'Ny säljorder',
+ 'Address' => 'Adress',
+ 'Amount' => 'Belopp',
+ 'Apr' => 'apr',
+ 'April' => 'april',
+ 'Are you sure you want to delete Invoice Number' => 'Är du säker på att du vill radera Faktura Nummer',
+ 'Attachment' => 'Bilaga',
+ 'Aug' => 'aug',
+ 'August' => 'augusti',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Antal i lager',
+ 'Cannot delete invoice!' => 'Kan inte radera faktura',
+ 'Cannot post invoice for a closed period!' => 'Kan inte lägga till en faktura för en avslutad period',
+ 'Cannot post invoice!' => 'Kan inte lägga till faktura',
+ 'Cannot post payment for a closed period!' => 'Kan inte lägga till en betalning för en stängd period',
+ 'Cc' => 'Kopia',
+ 'Confirm!' => 'Bekräfta',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Fortsätt',
+ 'Copies' => 'Kopior',
+ 'Credit Limit' => 'Kreditgräns',
+ 'Currency' => 'Valuta',
+ 'Customer' => 'Kund',
+ 'Customer missing!' => 'Kund saknas',
+ 'Customer not on file!' => 'Kund finns ej',
+ 'Date' => 'Datum',
+ 'Date Due' => 'Förfallodatum',
+ 'Dec' => 'dec',
+ 'December' => 'december',
+ 'Delete' => 'Radera',
+ 'Delivery Date' => 'Leveransdatum',
+ 'Description' => 'Beskrivning',
+ 'E-mail' => 'E-Post',
+ 'E-mail address missing!' => 'E-Postadress saknas',
+ 'Edit Sales Invoice' => 'Redigera säljfakturor',
+ 'Exch' => 'Vxl',
+ 'Exchangerate' => 'Växlingskurs',
+ 'Exchangerate for payment missing!' => 'Växlingskurs för saknad betalning',
+ 'Exchangerate missing!' => 'Växelkurs saknas',
+ 'Extended' => 'Utökad',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Februari',
+ 'In-line' => 'In-line',
+ 'Invoice' => 'Faktura',
+ 'Invoice Date' => 'Fakturadatum',
+ 'Invoice Date missing!' => 'Fakturadatum saknas',
+ 'Invoice Number' => 'Fakturanummer',
+ 'Invoice Number missing!' => 'Fakturanummer saknas',
+ 'Invoice deleted!' => 'Faktura raderad',
+ 'Invoice posted!' => 'Faktura postad',
+ 'Item not on file!' => 'Varan finns inte i databasen',
+ 'Jan' => 'Jan',
+ 'January' => 'Januari',
+ 'Jul' => 'Jul',
+ 'July' => 'Juli',
+ 'Jun' => 'Jun',
+ 'June' => 'Juni',
+ 'Mar' => 'Mar',
+ 'March' => 'Mars',
+ 'May' => 'Maj',
+ 'May ' => 'Maj',
+ 'Message' => 'Meddelande',
+ 'Name' => 'Namn',
+ 'No.' => 'Rad',
+ 'Notes' => 'Anmärkningar',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Nummer',
+ 'Number missing in Row' => 'Nummer saknas i rad',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktober',
+ 'Order' => 'Order',
+ 'Order Date missing!' => 'Orderdatum saknas',
+ 'Order Number' => 'Ordernummer',
+ 'Order Number missing!' => 'Ordernummer saknas',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Packsedel',
+ 'Packing List Date missing!' => 'Packsedelsdatum saknas',
+ 'Packing List Number missing!' => 'Packsedelsnummer saknas',
+ 'Part' => 'Vara',
+ 'Payment date missing!' => 'Betalningsdatum saknas',
+ 'Payments' => 'Betalningar',
+ 'Phone' => 'Telefon',
+ 'Post' => 'Lägg till',
+ 'Post as new' => 'Lägg till som ny',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Pris',
+ 'Print' => 'Skriv ut',
+ 'Printer' => 'Skrivare',
+ 'Project' => 'Projekt',
+ 'Project not on file!' => 'Projekt finns ej',
+ 'Purchase Order' => 'Inköpsorder',
+ 'Qty' => 'Antal',
+ 'Recd' => 'Mottagen',
+ 'Record in' => 'Bokför på',
+ 'Remaining' => 'Resterar',
+ 'Required by' => 'Beställt den',
+ 'Sales Order' => 'Säljorder',
+ 'Screen' => 'Skärm',
+ 'Select from one of the items below' => 'Välj en artikel nedan',
+ 'Select from one of the names below' => 'Välj ett av namnen nedan',
+ 'Select from one of the projects below' => 'Välj ett av projekten nedan',
+ 'Select postscript or PDF!' => 'Välj Postscript eller PDF',
+ 'Sep' => 'Sep',
+ 'September' => 'September',
+ 'Service' => 'Tjänster',
+ 'Ship' => 'Skicka',
+ 'Ship to' => 'Skicka till',
+ 'Ship via' => 'Skicka via',
+ 'Source' => 'Källa',
+ 'Subject' => 'Ämne',
+ 'Subtotal' => 'Subtotal',
+ 'Tax Included' => 'Moms ingår',
+ 'To' => 'Till',
+ 'Total' => 'Total',
+ 'Unit' => 'Enhet',
+ 'Update' => 'Uppdatera',
+ 'Vendor not on file!' => 'Leverantör finns ej',
+ 'What type of item is this?' => 'Vilken typ av artikel är detta?',
+ 'Yes' => 'Ja',
+ 'ea' => 'st',
+ 'emailed to' => 'E-Postat till',
+ 'sent to printer' => 'skickat till skrivare',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'fortsätt' => 'continue',
+ 'radera' => 'delete',
+ 'e_post' => 'e_mail',
+ 'order' => 'order',
+ 'lägg_till' => 'post',
+ 'lägg_till_som_ny' => 'post_as_new',
+ 'skriv_ut' => 'print',
+ 'skicka_till' => 'ship_to',
+ 'uppdatera' => 'update',
+ 'ja' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/se/login b/sql-ledger/locale/se/login
new file mode 100644
index 0000000..2fe34aa
--- /dev/null
+++ b/sql-ledger/locale/se/login
@@ -0,0 +1,27 @@
+$self{texts} = {
+ 'About' => 'Om',
+ 'Database Host' => 'Databasvärd',
+ 'Dataset' => 'Dataset',
+ 'Incorrect Dataset version!' => 'Felaktig databasversion',
+ 'Incorrect Password!' => 'Felaktigt lösenord',
+ 'Licensed to' => 'Licensierad till',
+ 'Login' => 'Logga in',
+ 'Name' => 'Namn',
+ 'Password' => 'Lösenord',
+ 'User' => 'Användare',
+ 'Version' => 'Version',
+ 'You are logged out!' => 'Du är utloggad',
+ 'You did not enter a name!' => 'Du skrev inte in något namn',
+ 'is not a member!' => 'är inte medlem!',
+ 'localhost' => 'localhost',
+};
+
+$self{subs} = {
+ 'company_logo' => 'company_logo',
+ 'login' => 'login',
+ 'login_screen' => 'login_screen',
+ 'logout' => 'logout',
+ 'logga_in' => 'login',
+};
+
+1;
diff --git a/sql-ledger/locale/se/menu b/sql-ledger/locale/se/menu
new file mode 100644
index 0000000..2e7ae34
--- /dev/null
+++ b/sql-ledger/locale/se/menu
@@ -0,0 +1,71 @@
+$self{texts} = {
+ 'AP' => 'Kredit',
+ 'AP Aging' => 'Kredit åldersfördeling',
+ 'AR' => 'Debet',
+ 'AR Aging' => 'Debet åldersfördeling',
+ 'Accounting Menu' => 'Konto-meny',
+ 'Add Account' => 'Nytt konto',
+ 'Add Assembly' => 'Ny sammansätting',
+ 'Add Customer' => 'Ny kund',
+ 'Add GIFI' => 'Ny GIFI',
+ 'Add Part' => 'Ny vara',
+ 'Add Project' => 'Nytt projekt',
+ 'Add Service' => 'Ny tjänst',
+ 'Add Transaction' => 'Ny post',
+ 'Add Vendor' => 'Ny leverantör',
+ 'Assemblies' => 'Sammansättningar',
+ 'Audit Control' => 'Revisionskontroll',
+ 'Backup' => 'Säkerhetkopia',
+ 'Balance Sheet' => 'Status',
+ 'Cash' => 'Kontant',
+ 'Chart of Accounts' => 'Kontoplan',
+ 'Check' => 'Check',
+ 'Customers' => 'Kunder',
+ 'General Ledger' => 'Huvudbok',
+ 'Goods & Services' => 'Varor och Tjänster',
+ 'HTML Templates' => 'HTML mallar',
+ 'Income Statement' => 'Inkomstberäkning',
+ 'Invoice' => 'Faktura',
+ 'LaTeX Templates' => 'LaTeX Mallar',
+ 'List Accounts' => 'Lista konton',
+ 'List GIFI' => 'Lista GIFI',
+ 'Logout' => 'Logga ut',
+ 'Order Entry' => 'Orderingång',
+ 'Packing List' => 'Packsedel',
+ 'Parts' => 'Varor',
+ 'Payment' => 'Betalning',
+ 'Payments' => 'Betalningar',
+ 'Preferences' => 'Inställningar',
+ 'Projects' => 'Projekt',
+ 'Purchase Invoice' => 'Inköpsfaktura',
+ 'Purchase Order' => 'Inköpsorder',
+ 'Purchase Orders' => 'Inköpsordrar',
+ 'Receipt' => 'Kvitto',
+ 'Receipts' => 'Kvitton',
+ 'Reconciliation' => 'Bankuppgörelse',
+ 'Reports' => 'Rapporter',
+ 'Sales Invoice' => 'Säljfaktura',
+ 'Sales Order' => 'Säljorder',
+ 'Sales Orders' => 'Säljordrar',
+ 'Save to File' => 'Spara till fil',
+ 'Send by E-Mail' => 'Skicka via E-Post',
+ 'Services' => 'Tjänster',
+ 'Statement' => 'Anmärkning',
+ 'Stock Assembly' => 'Lagersammansättning',
+ 'Stylesheet' => 'Stilmall',
+ 'System' => 'System',
+ 'Tax collected' => 'Moms total',
+ 'Tax paid' => 'Moms betalad',
+ 'Transactions' => 'Transaktioner',
+ 'Trial Balance' => 'Provbalans',
+ 'Vendors' => 'Leverantörer',
+ 'Version' => 'Version',
+};
+
+$self{subs} = {
+ 'acc_menu' => 'acc_menu',
+ 'display' => 'display',
+ 'section_menu' => 'section_menu',
+};
+
+1;
diff --git a/sql-ledger/locale/se/oe b/sql-ledger/locale/se/oe
new file mode 100644
index 0000000..2a62a15
--- /dev/null
+++ b/sql-ledger/locale/se/oe
@@ -0,0 +1,199 @@
+$self{texts} = {
+ 'Add' => 'Lägg til',
+ 'Add Purchase Invoice' => 'Ny inköpsfaktura',
+ 'Add Purchase Order' => 'Ny inköpsorder',
+ 'Add Sales Invoice' => 'Ny säljfaktura',
+ 'Add Sales Order' => 'Ny säljorder',
+ 'Address' => 'Adress',
+ 'Amount' => 'Belopp',
+ 'Apr' => 'apr',
+ 'April' => 'april',
+ 'Are you sure you want to delete Order Number' => 'Är du säker på att du vill radera Order Nummer',
+ 'Attachment' => 'Bilaga',
+ 'Aug' => 'aug',
+ 'August' => 'augusti',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Antal i lager',
+ 'C' => 'C',
+ 'Cannot delete order!' => 'Kan inte radera order',
+ 'Cannot save order!' => 'Kan inte spara order',
+ 'Cc' => 'Kopia',
+ 'Closed' => 'Avslutad',
+ 'Confirm!' => 'Bekräfta',
+ 'Contact' => 'Kontakt',
+ 'Continue' => 'Fortsätt',
+ 'Copies' => 'Kopior',
+ 'Credit Limit' => 'Kreditgräns',
+ 'Curr' => 'Val',
+ 'Currency' => 'Valuta',
+ 'Customer' => 'Kund',
+ 'Customer missing!' => 'Kund saknas',
+ 'Customer not on file!' => 'Kund finns ej',
+ 'Date' => 'Datum',
+ 'Dec' => 'dec',
+ 'December' => 'december',
+ 'Delete' => 'Radera',
+ 'Delivery Date' => 'Leveransdatum',
+ 'Description' => 'Beskrivning',
+ 'E-mail' => 'E-Post',
+ 'E-mail address missing!' => 'E-Postadress saknas',
+ 'Edit Purchase Order' => 'Redigera inköpsorder',
+ 'Edit Sales Order' => 'Redigera säljorder',
+ 'Exchangerate' => 'Växlingskurs',
+ 'Exchangerate missing!' => 'Växelkurs saknas',
+ 'Extended' => 'Utökad',
+ 'Fax' => 'Fax',
+ 'Feb' => 'Feb',
+ 'February' => 'Februari',
+ 'From' => 'Från',
+ 'ID' => 'ID',
+ 'In-line' => 'In-line',
+ 'Include in Report' => 'Inkludera i rapport',
+ 'Invoice' => 'Faktura',
+ 'Invoice Date missing!' => 'Fakturadatum saknas',
+ 'Invoice Number missing!' => 'Fakturanummer saknas',
+ 'Item not on file!' => 'Varan finns inte i databasen',
+ 'Jan' => 'Jan',
+ 'January' => 'Januari',
+ 'Jul' => 'Jul',
+ 'July' => 'Juli',
+ 'Jun' => 'Jun',
+ 'June' => 'Juni',
+ 'Mar' => 'Mar',
+ 'March' => 'Mars',
+ 'May' => 'Maj',
+ 'May ' => 'Maj',
+ 'Message' => 'Meddelande',
+ 'Name' => 'Namn',
+ 'No.' => 'Rad',
+ 'Notes' => 'Anmärkningar',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Number' => 'Nummer',
+ 'Number missing in Row' => 'Nummer saknas i rad',
+ 'O' => 'O',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktober',
+ 'Open' => 'Öppen',
+ 'Order' => 'Order',
+ 'Order Date' => 'Orderdatum',
+ 'Order Date missing!' => 'Orderdatum saknas',
+ 'Order Number' => 'Ordernummer',
+ 'Order Number missing!' => 'Ordernummer saknas',
+ 'Order deleted!' => 'Order raderad',
+ 'Order saved!' => 'Order sparad',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Packsedel',
+ 'Packing List Date missing!' => 'Packsedelsdatum saknas',
+ 'Packing List Number missing!' => 'Packsedelsnummer saknas',
+ 'Part' => 'Vara',
+ 'Phone' => 'Telefon',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Pris',
+ 'Print' => 'Skriv ut',
+ 'Printer' => 'Skrivare',
+ 'Project' => 'Projekt',
+ 'Project not on file!' => 'Projekt finns ej',
+ 'Purchase Order' => 'Inköpsorder',
+ 'Purchase Orders' => 'Inköpsordrar',
+ 'Qty' => 'Antal',
+ 'Recd' => 'Mottagen',
+ 'Remaining' => 'Resterar',
+ 'Required by' => 'Beställt den',
+ 'Sales Order' => 'Säljorder',
+ 'Sales Orders' => 'Säljordrar',
+ 'Save' => 'Spara',
+ 'Save as new' => 'Spara som ny',
+ 'Screen' => 'Skärm',
+ 'Select from one of the items below' => 'Välj en artikel nedan',
+ 'Select from one of the names below' => 'Välj ett av namnen nedan',
+ 'Select from one of the projects below' => 'Välj ett av projekten nedan',
+ 'Select postscript or PDF!' => 'Välj Postscript eller PDF',
+ 'Sep' => 'Sep',
+ 'September' => 'September',
+ 'Service' => 'Tjänster',
+ 'Ship' => 'Skicka',
+ 'Ship to' => 'Skicka till',
+ 'Ship via' => 'Skicka via',
+ 'Subject' => 'Ämne',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'Moms',
+ 'Tax Included' => 'Moms ingår',
+ 'Terms: Net' => 'Netto',
+ 'To' => 'Till',
+ 'Total' => 'Total',
+ 'Unit' => 'Enhet',
+ 'Update' => 'Uppdatera',
+ 'Vendor' => 'Leverantör',
+ 'Vendor missing!' => 'Leverantör saknas',
+ 'Vendor not on file!' => 'Leverantör finns ej',
+ 'What type of item is this?' => 'Vilken typ av artikel är detta?',
+ 'Yes' => 'Ja',
+ 'days' => 'dagar',
+ 'ea' => 'st',
+ 'emailed to' => 'E-Postat till',
+ 'sent to printer' => 'skickat till skrivare',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_backorder' => 'create_backorder',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice' => 'invoice',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'order_links' => 'order_links',
+ 'orders' => 'orders',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_order' => 'prepare_order',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'save' => 'save',
+ 'save_as_new' => 'save_as_new',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'subtotal' => 'subtotal',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'lägg_til' => 'add',
+ 'fortsätt' => 'continue',
+ 'radera' => 'delete',
+ 'e_post' => 'e_mail',
+ 'faktura' => 'invoice',
+ 'skriv_ut' => 'print',
+ 'spara' => 'save',
+ 'spara_som_ny' => 'save_as_new',
+ 'skicka_till' => 'ship_to',
+ 'uppdatera' => 'update',
+ 'ja' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/se/pe b/sql-ledger/locale/se/pe
new file mode 100644
index 0000000..c8d5b42
--- /dev/null
+++ b/sql-ledger/locale/se/pe
@@ -0,0 +1,35 @@
+$self{texts} = {
+ 'Add' => 'Lägg til',
+ 'Add Project' => 'Nytt projekt',
+ 'All' => 'Alla',
+ 'Continue' => 'Fortsätt',
+ 'Delete' => 'Radera',
+ 'Description' => 'Beskrivning',
+ 'Edit Project' => 'Redigera projekt',
+ 'Number' => 'Nummer',
+ 'Orphaned' => 'Fristående',
+ 'Project' => 'Projekt',
+ 'Project Number missing!' => 'Projektnummer saknas',
+ 'Project deleted!' => 'Projekt raderat',
+ 'Project saved!' => 'Projekt sparat',
+ 'Projects' => 'Projekt',
+ 'Save' => 'Spara',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'lägg_til' => 'add',
+ 'fortsätt' => 'continue',
+ 'radera' => 'delete',
+ 'spara' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/se/rc b/sql-ledger/locale/se/rc
new file mode 100644
index 0000000..84df25d
--- /dev/null
+++ b/sql-ledger/locale/se/rc
@@ -0,0 +1,37 @@
+$self{texts} = {
+ 'Account' => 'Konto',
+ 'Balance' => 'Balans',
+ 'Cleared Balance' => 'Rensade balans',
+ 'Continue' => 'Fortsätt',
+ 'Date' => 'Datum',
+ 'Deposit' => 'Säkerhet',
+ 'Description' => 'Beskrivning',
+ 'Difference' => 'Differens',
+ 'Done' => 'Klart',
+ 'Exchangerate Difference' => 'Differens Växlingskurs',
+ 'From' => 'Från',
+ 'Out of balance!' => 'Ej i balans',
+ 'Payment' => 'Betalning',
+ 'Reconciliation' => 'Bankuppgörelse',
+ 'Select all' => 'Välj alla',
+ 'Source' => 'Källa',
+ 'Statement Balance' => 'Anmärkning status',
+ 'To' => 'Till',
+ 'Update' => 'Uppdatera',
+};
+
+$self{subs} = {
+ 'continue' => 'continue',
+ 'display_form' => 'display_form',
+ 'done' => 'done',
+ 'get_payments' => 'get_payments',
+ 'reconciliation' => 'reconciliation',
+ 'select_all' => 'select_all',
+ 'update' => 'update',
+ 'fortsätt' => 'continue',
+ 'klart' => 'done',
+ 'välj_alla' => 'select_all',
+ 'uppdatera' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/se/rp b/sql-ledger/locale/se/rp
new file mode 100644
index 0000000..da93e1b
--- /dev/null
+++ b/sql-ledger/locale/se/rp
@@ -0,0 +1,117 @@
+$self{texts} = {
+ 'AP Aging' => 'Kredit åldersfördeling',
+ 'AR Aging' => 'Debet åldersfördeling',
+ 'Account' => 'Konto',
+ 'Accounts' => 'Konton',
+ 'Amount' => 'Belopp',
+ 'Apr' => 'apr',
+ 'April' => 'april',
+ 'Attachment' => 'Bilaga',
+ 'Aug' => 'aug',
+ 'August' => 'augusti',
+ 'Balance Sheet' => 'Status',
+ 'Bcc' => 'Bcc',
+ 'Cash based' => 'Kontantbaserad',
+ 'Cc' => 'Kopia',
+ 'Compare to' => 'Jämför med',
+ 'Continue' => 'Fortsätt',
+ 'Copies' => 'Kopior',
+ 'Credit' => 'Kredit',
+ 'Current' => 'Nuvarande',
+ 'Customer' => 'Kund',
+ 'Date' => 'Datum',
+ 'Debit' => 'Debet',
+ 'Dec' => 'dec',
+ 'December' => 'december',
+ 'Decimalplaces' => 'Decimalplaceringar',
+ 'Description' => 'Beskrivning',
+ 'Due' => 'Förfallen',
+ 'E-mail' => 'E-Post',
+ 'E-mail Statement to' => 'E-Post anmaning till',
+ 'Feb' => 'Feb',
+ 'February' => 'Februari',
+ 'From' => 'Från',
+ 'GIFI' => 'GIFI',
+ 'Heading' => 'Överskrift',
+ 'ID' => 'ID',
+ 'In-line' => 'In-line',
+ 'Include in Report' => 'Inkludera i rapport',
+ 'Income Statement' => 'Inkomstberäkning',
+ 'Invoice' => 'Faktura',
+ 'Jan' => 'Jan',
+ 'January' => 'Januari',
+ 'Jul' => 'Jul',
+ 'July' => 'Juli',
+ 'Jun' => 'Jun',
+ 'June' => 'Juni',
+ 'Mar' => 'Mar',
+ 'March' => 'Mars',
+ 'May' => 'Maj',
+ 'May ' => 'Maj',
+ 'Message' => 'Meddelande',
+ 'N/A' => 'N/A',
+ 'Nothing selected!' => 'Ingenting valt',
+ 'Nov' => 'Nov',
+ 'November' => 'November',
+ 'Oct' => 'Okt',
+ 'October' => 'Oktober',
+ 'PDF' => 'PDF',
+ 'Payments' => 'Betalningar',
+ 'Postscript' => 'Postscript',
+ 'Print' => 'Skriv ut',
+ 'Printer' => 'Skrivare',
+ 'Receipts' => 'Kvitton',
+ 'Report for' => 'Rapport för',
+ 'Retained Earnings' => 'Realiserat överskott',
+ 'Screen' => 'Skärm',
+ 'Select all' => 'Välj alla',
+ 'Select postscript or PDF!' => 'Välj Postscript eller PDF',
+ 'Sep' => 'Sep',
+ 'September' => 'September',
+ 'Source' => 'Källa',
+ 'Standard' => 'Standard',
+ 'Statement' => 'Anmärkning',
+ 'Statement sent to' => 'Anmärkning skickad till',
+ 'Statements sent to printer!' => 'Anmärkningar skickade till skrivare',
+ 'Subject' => 'Ämne',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'Moms',
+ 'Tax collected' => 'Moms total',
+ 'Tax paid' => 'Moms betalad',
+ 'To' => 'Till',
+ 'Total' => 'Total',
+ 'Trial Balance' => 'Provbalans',
+ 'Vendor' => 'Leverantör',
+ 'as at' => 'som vid',
+ 'collected on sales' => 'inbetalt på försäljning',
+ 'for Period' => 'för perioden',
+ 'paid on purchases' => 'betalt vid köp',
+ 'to' => 'till',
+};
+
+$self{subs} = {
+ 'aging' => 'aging',
+ 'continue' => 'continue',
+ 'e_mail' => 'e_mail',
+ 'generate_ap_aging' => 'generate_ap_aging',
+ 'generate_ar_aging' => 'generate_ar_aging',
+ 'generate_balance_sheet' => 'generate_balance_sheet',
+ 'generate_income_statement' => 'generate_income_statement',
+ 'generate_tax_report' => 'generate_tax_report',
+ 'generate_trial_balance' => 'generate_trial_balance',
+ 'list_payments' => 'list_payments',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'report' => 'report',
+ 'select_all' => 'select_all',
+ 'send_email' => 'send_email',
+ 'statement_details' => 'statement_details',
+ 'tax_subtotal' => 'tax_subtotal',
+ 'fortsätt' => 'continue',
+ 'e_post' => 'e_mail',
+ 'skriv_ut' => 'print',
+ 'välj_alla' => 'select_all',
+};
+
+1;
diff --git a/sql-ledger/locale/tr/COPYING b/sql-ledger/locale/tr/COPYING
new file mode 100644
index 0000000..523dffa
--- /dev/null
+++ b/sql-ledger/locale/tr/COPYING
@@ -0,0 +1,23 @@
+######################################################################
+# SQL-Ledger Accounting
+# Copyright (c) 2001
+#
+# Turkish texts:
+#
+# Author: Mufit Eribol <meribol@deltagrup.com.tr>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+#######################################################################
+
diff --git a/sql-ledger/locale/tr/LANGUAGE b/sql-ledger/locale/tr/LANGUAGE
new file mode 100644
index 0000000..d7b2f1f
--- /dev/null
+++ b/sql-ledger/locale/tr/LANGUAGE
@@ -0,0 +1 @@
+Turkish
diff --git a/sql-ledger/locale/tr/admin b/sql-ledger/locale/tr/admin
new file mode 100644
index 0000000..5d0b0fd
--- /dev/null
+++ b/sql-ledger/locale/tr/admin
@@ -0,0 +1,122 @@
+$self{texts} = {
+ 'Access Control' => 'Giriþ Kontrol',
+ 'Accounting' => 'Muhasebe',
+ 'Add User' => 'Kullanýcý Ekle',
+ 'Address' => 'Adres',
+ 'Administration' => 'Yönetim',
+ 'Administrator' => 'Administrator',
+ 'All Datasets up to date!' => 'All Datasets up to date!',
+ 'Change Admin Password' => 'Yönetici Þifresini Deðiþtir',
+ 'Change Password' => 'Þifre Deðiþtir',
+ 'Character Set' => 'Karakter Seti',
+ 'Click on login name to edit!' => 'Düzenlemek için giriþ ismini týklayýn.',
+ 'Company' => 'Þirket',
+ 'Connect to' => 'Baðlan',
+ 'Continue' => 'Devam',
+ 'Create Chart of Accounts' => 'Hesap Planý Oluþtur',
+ 'Create Dataset' => 'Veriseti Oluþtur',
+ 'DBI not installed!' => 'DBJ kurulu deðil',
+ 'Database' => 'Veritabaný',
+ 'Database Administration' => 'Veritabani Yonetimi',
+ 'Database Driver not checked!' => 'Database Driver not checked!',
+ 'Database User missing!' => 'Veritabaný Kullanýcýsý yok!',
+ 'Dataset' => 'Veriseti',
+ 'Dataset missing!' => 'Veriseti Yok!',
+ 'Dataset updated!' => 'Dataset updated!',
+ 'Date Format' => 'Tarih Formatý',
+ 'Delete' => 'Sil',
+ 'Delete Dataset' => 'Verisetini Sil',
+ 'Directory' => 'Dizin',
+ 'Driver' => 'Sürücü',
+ 'Dropdown Limit' => 'Dropdown Limit',
+ 'E-mail' => 'Posta',
+ 'Edit User' => 'Kullanýcý Bilgilerini Düzenle',
+ 'Existing Datasets' => 'Verisetleri',
+ 'Fax' => 'Faks',
+ 'Host' => 'Host',
+ 'Hostname missing!' => 'Host yok!',
+ 'Incorrect Password!' => 'Yanlýþ Þifre!',
+ 'Language' => 'Dil',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Uzakta baglantý yapmak istemiyorsanýz host ve port alanlarýný boþ býrakýnýz.',
+ 'Login' => 'Giriþ',
+ 'Name' => 'Ýsim',
+ 'New Templates' => 'Yeni Þablonlar',
+ 'No Database Drivers available!' => 'Veritabaný Sürücüsü yok!',
+ 'No Dataset selected!' => 'Veriseti seçilmedi!',
+ 'Nothing to delete!' => 'Nothing to delete!',
+ 'Number Format' => 'Rakam Formatý',
+ 'Oracle Database Administration' => 'Oracle Veritabaný Yönetimi',
+ 'Password' => 'Þifre',
+ 'Password changed!' => 'Password changed!',
+ 'Pg Database Administration' => 'Pg Veritabaný Yönetimi',
+ 'Phone' => 'Telefon',
+ 'Port' => 'Port',
+ 'Port missing!' => 'Port yok!',
+ 'Printer' => 'Yazýcý',
+ 'Save' => 'Kaydet',
+ 'Select a Dataset to delete and press "Continue"' => 'Silmek için bir Veriseti seçin ve "Devam"ý týklayýn.',
+ 'Setup Templates' => 'Þablon Kur',
+ 'Ship via' => 'Ship via',
+ 'Signature' => 'Ýmza',
+ 'Stylesheet' => 'Düzen Sayfasý',
+ 'Templates' => 'Þablonlar',
+ 'The following Datasets are not in use and can be deleted' => 'Aþaðýdaki Verisetleri kullanýlmamaktadýr ve silinebilir',
+ 'The following Datasets need to be updated' => 'The following Datasets need to be updated',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'Mevcut fiþ bilgileri için bu bir ön kontroldür. Bu aþamada hiçbirþey oluþturulmaz ve silinemez',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'Gruba yeni kullanýcý eklemek için, giriþ ismini deðiþtirin ve kaydedin. Yeni kullanýcý yeni giriþ altýnda ayný parametrelerle kaydedilecektir.',
+ 'Update Dataset' => 'Update Dataset',
+ 'Use Templates' => 'Þablon Kullan',
+ 'User' => 'Kullanýcý',
+ 'User deleted!' => 'User deleted!',
+ 'User saved!' => 'User saved!',
+ 'Version' => 'Versiyon',
+ 'You must enter a host and port for local and remote connections!' => 'Yerel ve uzak baðlantýlar için bir host ve port girmek zorundasýnýz!',
+ 'does not exist' => 'mevcut deðil',
+ 'is already a member!' => 'üyedir!',
+ 'localhost' => 'Yerelhost',
+ 'successfully created!' => 'baþarýyla oluþturuldu!',
+ 'successfully deleted!' => 'baþarýyla silindi!',
+ 'website' => 'Websitesi',
+};
+
+$self{subs} = {
+ 'add_user' => 'add_user',
+ 'adminlogin' => 'adminlogin',
+ 'change_admin_password' => 'change_admin_password',
+ 'change_password' => 'change_password',
+ 'check_password' => 'check_password',
+ 'continue' => 'continue',
+ 'create_dataset' => 'create_dataset',
+ 'dbcreate' => 'dbcreate',
+ 'dbdelete' => 'dbdelete',
+ 'dbdriver_defaults' => 'dbdriver_defaults',
+ 'dbselect_source' => 'dbselect_source',
+ 'dbupdate' => 'dbupdate',
+ 'delete' => 'delete',
+ 'delete_dataset' => 'delete_dataset',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'get_value' => 'get_value',
+ 'list_users' => 'list_users',
+ 'login' => 'login',
+ 'login_name' => 'login_name',
+ 'oracle_database_administration' => 'oracle_database_administration',
+ 'pg_database_administration' => 'pg_database_administration',
+ 'save' => 'save',
+ 'update_dataset' => 'update_dataset',
+ 'kullanýcý_ekle' => 'add_user',
+ 'yönetici_Þifresini_deðiþtir' => 'change_admin_password',
+ 'Þifre_deðiþtir' => 'change_password',
+ 'devam' => 'continue',
+ 'veriseti_oluþtur' => 'create_dataset',
+ 'sil' => 'delete',
+ 'verisetini_sil' => 'delete_dataset',
+ 'giriþ' => 'login',
+ 'oracle_veritabaný_yönetimi' => 'oracle_database_administration',
+ 'pg_veritabaný_yönetimi' => 'pg_database_administration',
+ 'kaydet' => 'save',
+ 'update_dataset' => 'update_dataset',
+};
+
+1;
diff --git a/sql-ledger/locale/tr/all b/sql-ledger/locale/tr/all
new file mode 100644
index 0000000..2eefc62
--- /dev/null
+++ b/sql-ledger/locale/tr/all
@@ -0,0 +1,487 @@
+# These are all the texts to build the translations files.
+# The file has the form of 'english text' => 'foreign text',
+# you can add the translation in this file or in the 'missing' file
+# run locales.pl from this directory to rebuild the translation files
+
+$self{texts} = {
+ 'AP' => 'Borçlar',
+ 'AP Aging' => 'Gecikmiþ Borçlar',
+ 'AP Transaction' => '',
+ 'AP Transactions' => 'Borç Ýþlemleri',
+ 'AR' => 'Alacaklar',
+ 'AR Aging' => 'Gecikmiþ Alacaklar',
+ 'AR Transaction' => '',
+ 'AR Transactions' => 'Alacak Ýþlemleri',
+ 'About' => 'Program bilgileri',
+ 'Access Control' => 'Giriþ Kontrol',
+ 'Account' => 'Hesap',
+ 'Account Number' => 'Hesap Numarasý',
+ 'Account Number missing!' => 'Hesap Numarasý yok!',
+ 'Account Type' => 'Hesap Türü',
+ 'Account Type missing!' => 'Hesap Türü yok!',
+ 'Account deleted!' => '',
+ 'Account saved!' => '',
+ 'Accounting' => 'Muhasebe',
+ 'Accounting Menu' => 'Muhasebe Menüsü',
+ 'Accounts' => '',
+ 'Active' => '',
+ 'Add' => 'Ekle',
+ 'Add Account' => 'Hesap Ekle',
+ 'Add Accounts Payables Transaction' => '',
+ 'Add Accounts Receivables Transaction' => '',
+ 'Add Assembly' => 'Grup Ekle',
+ 'Add Customer' => 'Alýcý Ekle',
+ 'Add GIFI' => '',
+ 'Add General Ledger Transaction' => 'Defteri Kebire Ýþlem Ekle',
+ 'Add Part' => 'Parça Ekle',
+ 'Add Project' => '',
+ 'Add Purchase Invoice' => '',
+ 'Add Purchase Order' => 'Satýnalma Sip. Ekle',
+ 'Add Sales Invoice' => '',
+ 'Add Sales Order' => 'Satýþ Sipariþi Ekle',
+ 'Add Service' => 'Hizmet Ekle',
+ 'Add Transaction' => 'Ýþlem Ekle',
+ 'Add User' => 'Kullanýcý Ekle',
+ 'Add Vendor' => 'Satýcý Ekle',
+ 'Address' => 'Adres',
+ 'Administration' => 'Yönetim',
+ 'Administrator' => '',
+ 'All' => 'Hepsi',
+ 'All Datasets up to date!' => '',
+ 'Amount' => 'Miktar',
+ 'Amount Due' => '',
+ 'Amount does not equal applied!' => '',
+ 'Amount missing!' => '',
+ 'Applied' => '',
+ 'Apr' => 'Nis',
+ 'April' => 'Nisan',
+ 'Are you sure you want to delete Invoice Number' => 'Fatura Numarasýný silmek istediðinizden emin misiniz? Fiþ: ',
+ 'Are you sure you want to delete Order Number' => 'Sipariþ Numarasýný silmek istediðinizden emin misiniz? Fiþ: ',
+ 'Are you sure you want to delete Transaction' => 'Ýþlemi silmek istediðinizden emin misiniz? Fiþ: ',
+ 'Assemblies' => 'Gruplar',
+ 'Assemblies restocked!' => '',
+ 'Assembly Number missing!' => 'Grup Numarasý yok!',
+ 'Asset' => 'Aktif',
+ 'Attachment' => '',
+ 'Audit Control' => '',
+ 'Aug' => 'Aðu',
+ 'August' => 'Aðustos',
+ 'BOM' => '',
+ 'Backup' => 'Yedekleme',
+ 'Backup sent to' => '',
+ 'Balance' => '',
+ 'Balance Sheet' => 'Bilanço',
+ 'Bcc' => '',
+ 'Bin' => '',
+ 'Books are open' => '',
+ 'Bought' => 'Alýnan',
+ 'Business Number' => 'ÞirketNo',
+ 'C' => '',
+ 'COGS' => 'SMM',
+ 'Cannot delete account!' => '',
+ 'Cannot delete customer!' => '',
+ 'Cannot delete default account!' => 'Öntanýmlý hesap silinmez!',
+ 'Cannot delete invoice!' => '',
+ 'Cannot delete item already invoiced!' => 'Faturalanmýþ kalem silinemez!',
+ 'Cannot delete item on order!' => '',
+ 'Cannot delete item which is part of an assembly!' => 'Grubun parçasý olan kalem silinemez!',
+ 'Cannot delete item!' => '',
+ 'Cannot delete order!' => '',
+ 'Cannot delete transaction!' => '',
+ 'Cannot delete vendor!' => '',
+ 'Cannot have a value in both Debit and Credit!' => 'Borç ve Alacak hanelerine ayný anda deðer yazýlamaz!',
+ 'Cannot post a transaction without a value!' => '',
+ 'Cannot post invoice for a closed period!' => '',
+ 'Cannot post invoice!' => '',
+ 'Cannot post payment for a closed period!' => '',
+ 'Cannot post payment!' => '',
+ 'Cannot post transaction for a closed period!' => '',
+ 'Cannot post transaction!' => '',
+ 'Cannot process payment for a closed period!' => '',
+ 'Cannot save account!' => '',
+ 'Cannot save order!' => '',
+ 'Cannot save preferences!' => '',
+ 'Cannot stock assemblies!' => '',
+ 'Cash' => '',
+ 'Cash based' => '',
+ 'Cc' => '',
+ 'Change Admin Password' => 'Yönetici Þifresini Deðiþtir',
+ 'Change Password' => 'Þifre Deðiþtir',
+ 'Character Set' => 'Karakter Seti',
+ 'Chart of Accounts' => 'Hesap Planý',
+ 'Check' => '',
+ 'Check printed!' => '',
+ 'Check printing failed!' => '',
+ 'Cleared Balance' => '',
+ 'Click on login name to edit!' => 'Düzenlemek için giriþ ismini týklayýn.',
+ 'Close Books up to' => '',
+ 'Closed' => '',
+ 'Company' => 'Þirket',
+ 'Compare to' => '...kýyasla',
+ 'Confirm!' => 'Onayla!',
+ 'Connect to' => 'Baðlan',
+ 'Contact' => 'Kontak',
+ 'Continue' => 'Devam',
+ 'Copies' => '',
+ 'Copy to COA' => '',
+ 'Create Chart of Accounts' => 'Hesap Planý Oluþtur',
+ 'Create Dataset' => 'Veriseti Oluþtur',
+ 'Credit' => 'Alacak',
+ 'Credit Limit' => 'Kredi Limiti',
+ 'Curr' => '',
+ 'Currency' => 'Para Birimi',
+ 'Current' => '',
+ 'Customer' => 'Alýcý',
+ 'Customer deleted!' => '',
+ 'Customer missing!' => '',
+ 'Customer not on file!' => '',
+ 'Customer saved!' => '',
+ 'Customers' => '',
+ 'DBI not installed!' => 'DBJ kurulu deðil',
+ 'Database' => 'Veritabaný',
+ 'Database Administration' => 'Veritabani Yonetimi',
+ 'Database Driver not checked!' => '',
+ 'Database Host' => 'Veritabaný Hostu',
+ 'Database User missing!' => 'Veritabaný Kullanýcýsý yok!',
+ 'Dataset' => 'Veriseti',
+ 'Dataset missing!' => 'Veriseti Yok!',
+ 'Dataset updated!' => '',
+ 'Date' => 'Tarih',
+ 'Date Due' => 'Vade Tarihi',
+ 'Date Format' => 'Tarih Formatý',
+ 'Date Paid' => 'Ödendiði Tarih',
+ 'Date missing!' => '',
+ 'Debit' => 'Borç',
+ 'Debit and credit out of balance!' => 'Borç ve alacak eþit deðil!',
+ 'Dec' => 'Ara',
+ 'December' => 'Aralýk',
+ 'Decimalplaces' => '',
+ 'Delete' => 'Sil',
+ 'Delete Account' => 'Hesabý Sil',
+ 'Delete Dataset' => 'Verisetini Sil',
+ 'Delivery Date' => '',
+ 'Deposit' => '',
+ 'Description' => 'Açýklama',
+ 'Difference' => '',
+ 'Directory' => 'Dizin',
+ 'Discount' => 'Ýndirim',
+ 'Done' => '',
+ 'Drawing' => '',
+ 'Driver' => 'Sürücü',
+ 'Dropdown Limit' => '',
+ 'Due' => 'Vade',
+ 'Due Date' => 'Vade Tarihi',
+ 'Due Date missing!' => 'Vade Tarihi yok!',
+ 'E-mail' => 'Posta',
+ 'E-mail Statement to' => '',
+ 'E-mail address missing!' => 'Posta adresi yok!',
+ 'Edit' => '',
+ 'Edit Account' => 'Hesabý Düzenle',
+ 'Edit Accounts Payables Transaction' => '',
+ 'Edit Accounts Receivables Transaction' => '',
+ 'Edit Assembly' => 'Grubu Düzenle',
+ 'Edit GIFI' => '',
+ 'Edit General Ledger Transaction' => 'Defteri Kebir Ýþlemini Düzenle',
+ 'Edit Part' => 'Parçayý Düzenle',
+ 'Edit Preferences for' => 'Tercihleri Düzenle: ',
+ 'Edit Project' => '',
+ 'Edit Purchase Invoice' => '',
+ 'Edit Purchase Order' => 'Alýþ Sipariþini Düzenle',
+ 'Edit Sales Invoice' => '',
+ 'Edit Sales Order' => 'Satýþ Sipariþini Düzenle',
+ 'Edit Service' => 'Hizmeti Düzenle',
+ 'Edit Template' => 'Þablonu Düzenle',
+ 'Edit User' => 'Kullanýcý Bilgilerini Düzenle',
+ 'Employee' => '',
+ 'Enforce transaction reversal for all dates' => '',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Yerel ve yabancý para birimleri için 3 harfli tanýmlama giriniz yi týklayýnýz (USD:TRL:EUR)',
+ 'Equity' => 'Sermaye',
+ 'Exch' => 'D.Kuru',
+ 'Exchangerate' => 'Döviz Kuru',
+ 'Exchangerate Difference' => '',
+ 'Exchangerate for payment missing!' => '',
+ 'Exchangerate missing!' => '',
+ 'Existing Datasets' => 'Verisetleri',
+ 'Expense' => 'Gider',
+ 'Expense Account' => 'Gider Hesabý',
+ 'Expense/Asset' => 'Gider/Varlýklar',
+ 'Extended' => '',
+ 'Fax' => 'Faks',
+ 'Feb' => 'Þub',
+ 'February' => 'Þubat',
+ 'Foreign Exchange Gain' => 'Kur Kazancý',
+ 'Foreign Exchange Loss' => 'Kur Kaybý',
+ 'From' => 'Baþlangýç',
+ 'GIFI' => '',
+ 'GIFI deleted!' => '',
+ 'GIFI missing!' => '',
+ 'GIFI saved!' => '',
+ 'GL Transaction' => '',
+ 'General Ledger' => 'Defteri Kebir',
+ 'Goods & Services' => '',
+ 'HTML Templates' => '',
+ 'Heading' => 'Baþlýk',
+ 'Host' => 'Host',
+ 'Hostname missing!' => 'Host yok!',
+ 'ID' => '',
+ 'Image' => '',
+ 'In-line' => '',
+ 'Include in Report' => 'Raporla',
+ 'Include in drop-down menus' => 'Seçmeli Menüye dahil et',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Vergiye tabi alýcý/satýcý belirlemek için bu hesabý alýcý/aatýcý formlarýna dahil ediniz?',
+ 'Income' => 'Gelirler',
+ 'Income Account' => 'Gelir Hesabý',
+ 'Income Statement' => 'Gelir Tablosu',
+ 'Incorrect Dataset version!' => '',
+ 'Incorrect Password!' => 'Yanlýþ Þifre!',
+ 'Individual Items' => 'Farklý Kalemler',
+ 'Inventory' => 'Stok',
+ 'Inventory Account' => 'Stok Hesabý',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'Bu grubu çýkarmadan önce stok miktarý sýfýr olmalýdýr',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'Bu Parçayý çýkarmadan önce stok miktarý sýfýr olmalýdýr',
+ 'Inventory quantity must be zero!' => 'Stok miktarý sýfýr olmalý!',
+ 'Invoice' => 'Fatura',
+ 'Invoice Date' => 'Fatura Tarihi',
+ 'Invoice Date missing!' => 'Fatura Tarihi yok!',
+ 'Invoice Number' => 'Fatura No',
+ 'Invoice Number missing!' => 'Fatura Numarasý yok!',
+ 'Invoice deleted!' => '',
+ 'Invoice posted!' => '',
+ 'Invoices' => '',
+ 'Is this a summary account to record' => 'Bu kaydedilecek hesap özeti mi',
+ 'Item deleted!' => '',
+ 'Item not on file!' => 'Bu kalem dosyada yok!',
+ 'Jan' => 'Oca',
+ 'January' => 'Ocak',
+ 'Jul' => 'Tem',
+ 'July' => 'Temmuz',
+ 'Jun' => 'Haz',
+ 'June' => 'Haziran',
+ 'LaTeX Templates' => '',
+ 'Language' => 'Dil',
+ 'Last Cost' => 'Son Maliyet',
+ 'Last Invoice Number' => 'Son Fatura Numarasý',
+ 'Last Numbers & Default Accounts' => 'Son Numaralar ve Öntanýmlý Hesaplar',
+ 'Last Purchase Order Number' => 'Son Satýnalma Sipariþ Numarasý',
+ 'Last Sales Order Number' => '',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Uzakta baglantý yapmak istemiyorsanýz host ve port alanlarýný boþ býrakýnýz.',
+ 'Liability' => 'Pasif',
+ 'Licensed to' => 'Lisans Sahibi:',
+ 'Line Total' => '',
+ 'Link' => 'Baðla',
+ 'Link Accounts' => 'Baðlý Hesaplar',
+ 'List Accounts' => '',
+ 'List GIFI' => '',
+ 'List Price' => 'Liste Fiyatý',
+ 'List Transactions' => 'Ýþlemleri Listele',
+ 'Login' => 'Giriþ',
+ 'Logout' => '',
+ 'Make' => 'Marka',
+ 'Mar' => 'Mar',
+ 'March' => 'Mart',
+ 'May' => 'May',
+ 'May ' => 'Mayýs',
+ 'Message' => '',
+ 'Microfiche' => '',
+ 'Model' => 'Model',
+ 'N/A' => '',
+ 'Name' => 'Ýsim',
+ 'Name missing!' => '',
+ 'New Templates' => 'Yeni Þablonlar',
+ 'No' => 'Hayýr',
+ 'No Database Drivers available!' => 'Veritabaný Sürücüsü yok!',
+ 'No Dataset selected!' => 'Veriseti seçilmedi!',
+ 'No email address for' => 'E-posta adresi yok: ',
+ 'No.' => '',
+ 'Notes' => 'Notlar:',
+ 'Nothing applied!' => '',
+ 'Nothing selected!' => '',
+ 'Nothing to delete!' => '',
+ 'Nov' => 'Kas',
+ 'November' => 'Kasým',
+ 'Number' => 'Numara',
+ 'Number Format' => 'Rakam Formatý',
+ 'Number missing in Row' => 'Sýrada Numara yok!',
+ 'O' => '',
+ 'Obsolete' => 'Eski',
+ 'Oct' => 'Eki',
+ 'October' => 'Ekim',
+ 'On Hand' => 'Stok:',
+ 'On Order' => '',
+ 'Open' => '',
+ 'Oracle Database Administration' => 'Oracle Veritabaný Yönetimi',
+ 'Order' => 'Sipariþ',
+ 'Order Date' => 'Sipariþ Tarihi',
+ 'Order Date missing!' => 'Sipariþ Tarihi yok!',
+ 'Order Entry' => 'Sipariþ Giriþi',
+ 'Order Number' => 'Sipariþ No',
+ 'Order Number missing!' => 'Sipariþ Numarasý yok!',
+ 'Order deleted!' => '',
+ 'Order saved!' => '',
+ 'Ordered' => '',
+ 'Orphaned' => '',
+ 'Out of balance!' => '',
+ 'PDF' => '',
+ 'Packing List' => 'Paketleme Listesi',
+ 'Packing List Date missing!' => '',
+ 'Packing List Number missing!' => '',
+ 'Paid' => 'Ödendi',
+ 'Paid in full' => '',
+ 'Part' => 'Parça',
+ 'Part Number missing!' => 'Parça Numarasý yok!',
+ 'Parts' => 'Parçalar',
+ 'Parts Inventory' => 'Parça Stoðu',
+ 'Password' => 'Þifre',
+ 'Password changed!' => '',
+ 'Payables' => 'Borçlar',
+ 'Payment' => 'Ödeme',
+ 'Payment date missing!' => 'Ödeme Tarihi yok',
+ 'Payment posted!' => '',
+ 'Payments' => 'Ödemeler',
+ 'Pg Database Administration' => 'Pg Veritabaný Yönetimi',
+ 'Phone' => 'Telefon',
+ 'Port' => 'Port',
+ 'Port missing!' => 'Port yok!',
+ 'Post' => '',
+ 'Post as new' => '',
+ 'Postscript' => '',
+ 'Preferences' => 'Tercihler',
+ 'Preferences saved!' => 'Tercihler kaydedildi!',
+ 'Price' => 'Fiyat',
+ 'Print' => '',
+ 'Printer' => 'Yazýcý',
+ 'Project' => '',
+ 'Project Number missing!' => '',
+ 'Project deleted!' => '',
+ 'Project not on file!' => '',
+ 'Project saved!' => '',
+ 'Projects' => '',
+ 'Purchase Invoice' => '',
+ 'Purchase Order' => 'Satýnalma Sipariþi',
+ 'Purchase Orders' => 'Satýnalma Sipariþleri',
+ 'Qty' => 'Adet',
+ 'ROP' => '',
+ 'Rate' => 'Oran',
+ 'Recd' => '',
+ 'Receipt' => '',
+ 'Receipts' => '',
+ 'Receivables' => 'Alacaklar',
+ 'Reconciliation' => '',
+ 'Record in' => 'Kaydet',
+ 'Reference' => '',
+ 'Reference missing!' => '',
+ 'Remaining' => '',
+ 'Report for' => '',
+ 'Reports' => 'Raporlar',
+ 'Required by' => 'Talep tarihi:',
+ 'Retained Earnings' => 'Net Dönem Karý (Zararý)',
+ 'Sales' => 'Satýþlar',
+ 'Sales Invoice' => '',
+ 'Sales Order' => 'Satýþ Sipariþi',
+ 'Sales Orders' => 'Satýþ Sipariþleri',
+ 'Save' => 'Kaydet',
+ 'Save as new' => '',
+ 'Save to File' => 'Dosyaya Kaydet',
+ 'Screen' => '',
+ 'Select a Dataset to delete and press "Continue"' => 'Silmek için bir Veriseti seçin ve "Devam"ý týklayýn.',
+ 'Select all' => '',
+ 'Select from one of the items below' => 'Aþaðýdaki kalemlerden birini seç',
+ 'Select from one of the names below' => '',
+ 'Select from one of the projects below' => '',
+ 'Select postscript or PDF!' => '',
+ 'Sell Price' => 'Satýþ Fiyatý',
+ 'Send by E-Mail' => 'E-postayla gönder',
+ 'Sep' => 'Eyl',
+ 'September' => 'Eylül',
+ 'Service' => 'servis',
+ 'Service Items' => 'Hizmet Kalemleri',
+ 'Service Number missing!' => 'Hizmet Numarasý yok!',
+ 'Services' => 'Servisler',
+ 'Setup Templates' => 'Þablon Kur',
+ 'Ship' => '',
+ 'Ship to' => '',
+ 'Ship via' => '',
+ 'Short' => 'Kýsa',
+ 'Signature' => 'Ýmza',
+ 'Sold' => 'satýlan',
+ 'Source' => 'Kaynak',
+ 'Standard' => '',
+ 'Statement' => '',
+ 'Statement Balance' => '',
+ 'Statement sent to' => '',
+ 'Statements sent to printer!' => '',
+ 'Stock Assembly' => 'Grubu Stokla',
+ 'Stylesheet' => 'Düzen Sayfasý',
+ 'Subject' => '',
+ 'Subtotal' => 'Aratoplam',
+ 'System' => '',
+ 'Tax' => 'Vergi',
+ 'Tax Accounts' => 'Vergi Hesaplarý',
+ 'Tax Included' => 'Vergi Dahil',
+ 'Tax collected' => '',
+ 'Tax paid' => '',
+ 'Taxable' => 'Vergiye tabi',
+ 'Template saved!' => '',
+ 'Templates' => 'Þablonlar',
+ 'Terms: Net' => 'Þartlar: Net',
+ 'The following Datasets are not in use and can be deleted' => 'Aþaðýdaki Verisetleri kullanýlmamaktadýr ve silinebilir',
+ 'The following Datasets need to be updated' => '',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'Mevcut fiþ bilgileri için bu bir ön kontroldür. Bu aþamada hiçbirþey oluþturulmaz ve silinemez',
+ 'To' => 'Bitiþ',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'Gruba yeni kullanýcý eklemek için, giriþ ismini deðiþtirin ve kaydedin. Yeni kullanýcý yeni giriþ altýnda ayný parametrelerle kaydedilecektir.',
+ 'Top Level' => '',
+ 'Total' => 'Toplam',
+ 'Transaction Date missing!' => 'Ýþlem Tarihi yok!',
+ 'Transaction deleted!' => '',
+ 'Transaction posted!' => '',
+ 'Transaction reversal enforced for all dates' => '',
+ 'Transaction reversal enforced up to' => '',
+ 'Transactions' => 'Ýþlemler',
+ 'Transactions exist, cannot delete customer!' => 'Ýþlem var, alýcý silinemez!',
+ 'Transactions exist, cannot delete vendor!' => 'Ýþlem var, satýcý silinemez!',
+ 'Transactions exist; cannot delete account!' => 'Ýþlem var, hesap silinemez!',
+ 'Trial Balance' => 'Proforma Bilanço',
+ 'Unit' => 'Birim',
+ 'Unit of measure' => 'Ölçme Birimi',
+ 'Update' => '',
+ 'Update Dataset' => '',
+ 'Updated' => '',
+ 'Use Templates' => 'Þablon Kullan',
+ 'User' => 'Kullanýcý',
+ 'User deleted!' => '',
+ 'User saved!' => '',
+ 'Vendor' => 'Satýcý',
+ 'Vendor deleted!' => '',
+ 'Vendor missing!' => '',
+ 'Vendor not on file!' => '',
+ 'Vendor saved!' => '',
+ 'Vendors' => '',
+ 'Version' => 'Versiyon',
+ 'Weight' => 'Aðýrlýk',
+ 'Weight Unit' => 'Aðýrlýk Birimi',
+ 'What type of item is this?' => 'Bu ne çeþit bir kalemdir?',
+ 'Year End' => 'Sene Sonu',
+ 'Yes' => 'Evet',
+ 'You are logged out!' => '',
+ 'You did not enter a name!' => 'Ýsim girmediniz!',
+ 'You must enter a host and port for local and remote connections!' => 'Yerel ve uzak baðlantýlar için bir host ve port girmek zorundasýnýz!',
+ 'as at' => '',
+ 'collected on sales' => '',
+ 'days' => 'gün. ',
+ 'does not exist' => 'mevcut deðil',
+ 'ea' => 'ad',
+ 'emailed to' => '',
+ 'for Period' => 'Dönem:',
+ 'hr' => 'sa',
+ 'is already a member!' => 'üyedir!',
+ 'is not a member!' => '',
+ 'localhost' => 'Yerelhost',
+ 'paid on purchases' => '',
+ 'sent to printer' => '',
+ 'successfully created!' => 'baþarýyla oluþturuldu!',
+ 'successfully deleted!' => 'baþarýyla silindi!',
+ 'to' => '',
+ 'website' => 'Websitesi',
+};
+
+1;
diff --git a/sql-ledger/locale/tr/am b/sql-ledger/locale/tr/am
new file mode 100644
index 0000000..1ce2de0
--- /dev/null
+++ b/sql-ledger/locale/tr/am
@@ -0,0 +1,139 @@
+$self{texts} = {
+ 'AP' => 'Borçlar',
+ 'AR' => 'Alacaklar',
+ 'Account' => 'Hesap',
+ 'Account Number' => 'Hesap Numarasý',
+ 'Account Number missing!' => 'Hesap Numarasý yok!',
+ 'Account Type' => 'Hesap Türü',
+ 'Account Type missing!' => 'Hesap Türü yok!',
+ 'Account deleted!' => 'Account deleted!',
+ 'Account saved!' => 'Account saved!',
+ 'Add Account' => 'Hesap Ekle',
+ 'Add GIFI' => 'Add GIFI',
+ 'Address' => 'Adres',
+ 'Asset' => 'Aktif',
+ 'Audit Control' => 'Audit Control',
+ 'Backup sent to' => 'Backup sent to',
+ 'Books are open' => 'Books are open',
+ 'Business Number' => 'ÞirketNo',
+ 'COGS' => 'SMM',
+ 'Cannot delete account!' => 'Cannot delete account!',
+ 'Cannot delete default account!' => 'Öntanýmlý hesap silinmez!',
+ 'Cannot save account!' => 'Cannot save account!',
+ 'Cannot save preferences!' => 'Cannot save preferences!',
+ 'Character Set' => 'Karakter Seti',
+ 'Chart of Accounts' => 'Hesap Planý',
+ 'Close Books up to' => 'Close Books up to',
+ 'Company' => 'Þirket',
+ 'Continue' => 'Devam',
+ 'Copy to COA' => 'Copy to COA',
+ 'Credit' => 'Alacak',
+ 'Date Format' => 'Tarih Formatý',
+ 'Debit' => 'Borç',
+ 'Delete' => 'Sil',
+ 'Delete Account' => 'Hesabý Sil',
+ 'Description' => 'Açýklama',
+ 'Dropdown Limit' => 'Dropdown Limit',
+ 'E-mail' => 'Posta',
+ 'Edit' => 'Edit',
+ 'Edit Account' => 'Hesabý Düzenle',
+ 'Edit GIFI' => 'Edit GIFI',
+ 'Edit Preferences for' => 'Tercihleri Düzenle: ',
+ 'Edit Template' => 'Þablonu Düzenle',
+ 'Enforce transaction reversal for all dates' => 'Enforce transaction reversal for all dates',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Yerel ve yabancý para birimleri için 3 harfli tanýmlama giriniz yi týklayýnýz (USD:TRL:EUR)',
+ 'Equity' => 'Sermaye',
+ 'Expense' => 'Gider',
+ 'Expense Account' => 'Gider Hesabý',
+ 'Expense/Asset' => 'Gider/Varlýklar',
+ 'Fax' => 'Faks',
+ 'Foreign Exchange Gain' => 'Kur Kazancý',
+ 'Foreign Exchange Loss' => 'Kur Kaybý',
+ 'GIFI' => 'GIFI',
+ 'GIFI deleted!' => 'GIFI deleted!',
+ 'GIFI missing!' => 'GIFI missing!',
+ 'GIFI saved!' => 'GIFI saved!',
+ 'Heading' => 'Baþlýk',
+ 'Include in drop-down menus' => 'Seçmeli Menüye dahil et',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Vergiye tabi alýcý/satýcý belirlemek için bu hesabý alýcý/aatýcý formlarýna dahil ediniz?',
+ 'Income' => 'Gelirler',
+ 'Income Account' => 'Gelir Hesabý',
+ 'Inventory' => 'Stok',
+ 'Inventory Account' => 'Stok Hesabý',
+ 'Is this a summary account to record' => 'Bu kaydedilecek hesap özeti mi',
+ 'Language' => 'Dil',
+ 'Last Invoice Number' => 'Son Fatura Numarasý',
+ 'Last Numbers & Default Accounts' => 'Son Numaralar ve Öntanýmlý Hesaplar',
+ 'Last Purchase Order Number' => 'Son Satýnalma Sipariþ Numarasý',
+ 'Last Sales Order Number' => 'Last Sales Order Number',
+ 'Liability' => 'Pasif',
+ 'Link' => 'Baðla',
+ 'Name' => 'Ýsim',
+ 'No' => 'Hayýr',
+ 'No email address for' => 'E-posta adresi yok: ',
+ 'Number' => 'Numara',
+ 'Number Format' => 'Rakam Formatý',
+ 'Parts Inventory' => 'Parça Stoðu',
+ 'Password' => 'Þifre',
+ 'Payables' => 'Borçlar',
+ 'Payment' => 'Ödeme',
+ 'Phone' => 'Telefon',
+ 'Preferences saved!' => 'Tercihler kaydedildi!',
+ 'Rate' => 'Oran',
+ 'Receivables' => 'Alacaklar',
+ 'Sales' => 'Satýþlar',
+ 'Save' => 'Kaydet',
+ 'Service Items' => 'Hizmet Kalemleri',
+ 'Ship via' => 'Ship via',
+ 'Signature' => 'Ýmza',
+ 'Stylesheet' => 'Düzen Sayfasý',
+ 'Tax' => 'Vergi',
+ 'Tax Accounts' => 'Vergi Hesaplarý',
+ 'Template saved!' => 'Template saved!',
+ 'Transaction reversal enforced for all dates' => 'Transaction reversal enforced for all dates',
+ 'Transaction reversal enforced up to' => 'Transaction reversal enforced up to',
+ 'Transactions exist; cannot delete account!' => 'Ýþlem var, hesap silinemez!',
+ 'Weight Unit' => 'Aðýrlýk Birimi',
+ 'Year End' => 'Sene Sonu',
+ 'Yes' => 'Evet',
+ 'does not exist' => 'mevcut deðil',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_gifi' => 'add_gifi',
+ 'audit_control' => 'audit_control',
+ 'backup' => 'backup',
+ 'config' => 'config',
+ 'continue' => 'continue',
+ 'copy_to_coa' => 'copy_to_coa',
+ 'delete' => 'delete',
+ 'delete_account' => 'delete_account',
+ 'delete_gifi' => 'delete_gifi',
+ 'display_form' => 'display_form',
+ 'display_stylesheet' => 'display_stylesheet',
+ 'doclose' => 'doclose',
+ 'edit' => 'edit',
+ 'edit_gifi' => 'edit_gifi',
+ 'edit_template' => 'edit_template',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gifi_footer' => 'gifi_footer',
+ 'gifi_header' => 'gifi_header',
+ 'list' => 'list',
+ 'list_gifi' => 'list_gifi',
+ 'save' => 'save',
+ 'save_account' => 'save_account',
+ 'save_gifi' => 'save_gifi',
+ 'save_preferences' => 'save_preferences',
+ 'save_template' => 'save_template',
+ 'hesap_ekle' => 'add_account',
+ 'devam' => 'continue',
+ 'copy_to_coa' => 'copy_to_coa',
+ 'sil' => 'delete',
+ 'edit' => 'edit',
+ 'hesabý_düzenle' => 'edit_account',
+ 'kaydet' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/tr/ap b/sql-ledger/locale/tr/ap
new file mode 100644
index 0000000..f6c817f
--- /dev/null
+++ b/sql-ledger/locale/tr/ap
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AP Transaction' => 'AP Transaction',
+ 'AP Transactions' => 'Borç Ýþlemleri',
+ 'Account' => 'Hesap',
+ 'Add Accounts Payables Transaction' => 'Add Accounts Payables Transaction',
+ 'Address' => 'Adres',
+ 'Amount' => 'Miktar',
+ 'Amount Due' => 'Amount Due',
+ 'Apr' => 'Nis',
+ 'April' => 'Nisan',
+ 'Are you sure you want to delete Transaction' => 'Ýþlemi silmek istediðinizden emin misiniz? Fiþ: ',
+ 'Aug' => 'Aðu',
+ 'August' => 'Aðustos',
+ 'Cannot delete transaction!' => 'Cannot delete transaction!',
+ 'Cannot post payment for a closed period!' => 'Cannot post payment for a closed period!',
+ 'Cannot post transaction for a closed period!' => 'Cannot post transaction for a closed period!',
+ 'Cannot post transaction!' => 'Cannot post transaction!',
+ 'Closed' => 'Closed',
+ 'Confirm!' => 'Onayla!',
+ 'Continue' => 'Devam',
+ 'Currency' => 'Para Birimi',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'Tarih',
+ 'Date Paid' => 'Ödendiði Tarih',
+ 'Dec' => 'Ara',
+ 'December' => 'Aralýk',
+ 'Delete' => 'Sil',
+ 'Description' => 'Açýklama',
+ 'Due Date' => 'Vade Tarihi',
+ 'Due Date missing!' => 'Vade Tarihi yok!',
+ 'Edit Accounts Payables Transaction' => 'Edit Accounts Payables Transaction',
+ 'Employee' => 'Employee',
+ 'Exch' => 'D.Kuru',
+ 'Exchangerate' => 'Döviz Kuru',
+ 'Exchangerate for payment missing!' => 'Exchangerate for payment missing!',
+ 'Exchangerate missing!' => 'Exchangerate missing!',
+ 'Feb' => 'Þub',
+ 'February' => 'Þubat',
+ 'From' => 'Baþlangýç',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Raporla',
+ 'Invoice' => 'Fatura',
+ 'Invoice Date' => 'Fatura Tarihi',
+ 'Invoice Date missing!' => 'Fatura Tarihi yok!',
+ 'Invoice Number' => 'Fatura No',
+ 'Invoice Number missing!' => 'Fatura Numarasý yok!',
+ 'Jan' => 'Oca',
+ 'January' => 'Ocak',
+ 'Jul' => 'Tem',
+ 'July' => 'Temmuz',
+ 'Jun' => 'Haz',
+ 'June' => 'Haziran',
+ 'Mar' => 'Mar',
+ 'March' => 'Mart',
+ 'May' => 'May',
+ 'May ' => 'Mayýs',
+ 'Notes' => 'Notlar:',
+ 'Nov' => 'Kas',
+ 'November' => 'Kasým',
+ 'Number' => 'Numara',
+ 'Oct' => 'Eki',
+ 'October' => 'Ekim',
+ 'Open' => 'Open',
+ 'Order' => 'Sipariþ',
+ 'Order Number' => 'Sipariþ No',
+ 'Paid' => 'Ödendi',
+ 'Payment date missing!' => 'Ödeme Tarihi yok',
+ 'Payments' => 'Ödemeler',
+ 'Post' => 'Post',
+ 'Post as new' => 'Post as new',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Purchase Invoice' => 'Purchase Invoice',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Sep' => 'Eyl',
+ 'September' => 'Eylül',
+ 'Source' => 'Kaynak',
+ 'Subtotal' => 'Aratoplam',
+ 'Tax' => 'Vergi',
+ 'Tax Included' => 'Vergi Dahil',
+ 'To' => 'Bitiþ',
+ 'Total' => 'Toplam',
+ 'Transaction deleted!' => 'Transaction deleted!',
+ 'Transaction posted!' => 'Transaction posted!',
+ 'Update' => 'Update',
+ 'Vendor' => 'Satýcý',
+ 'Vendor missing!' => 'Vendor missing!',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'Yes' => 'Evet',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_subtotal' => 'ap_subtotal',
+ 'ap_transaction' => 'ap_transaction',
+ 'ap_transactions' => 'ap_transactions',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'ap_transaction' => 'ap_transaction',
+ 'add_accounts_payables_transaction' => 'add_accounts_payables_transaction',
+ 'devam' => 'continue',
+ 'sil' => 'delete',
+ 'edit_accounts_payables_transaction' => 'edit_accounts_payables_transaction',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'update' => 'update',
+ 'evet' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/tr/ar b/sql-ledger/locale/tr/ar
new file mode 100644
index 0000000..642c556
--- /dev/null
+++ b/sql-ledger/locale/tr/ar
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AR Transaction' => 'AR Transaction',
+ 'AR Transactions' => 'Alacak Ýþlemleri',
+ 'Account' => 'Hesap',
+ 'Add Accounts Receivables Transaction' => 'Add Accounts Receivables Transaction',
+ 'Address' => 'Adres',
+ 'Amount' => 'Miktar',
+ 'Amount Due' => 'Amount Due',
+ 'Apr' => 'Nis',
+ 'April' => 'Nisan',
+ 'Are you sure you want to delete Transaction' => 'Ýþlemi silmek istediðinizden emin misiniz? Fiþ: ',
+ 'Aug' => 'Aðu',
+ 'August' => 'Aðustos',
+ 'Cannot delete transaction!' => 'Cannot delete transaction!',
+ 'Cannot post payment for a closed period!' => 'Cannot post payment for a closed period!',
+ 'Cannot post transaction for a closed period!' => 'Cannot post transaction for a closed period!',
+ 'Cannot post transaction!' => 'Cannot post transaction!',
+ 'Closed' => 'Closed',
+ 'Confirm!' => 'Onayla!',
+ 'Continue' => 'Devam',
+ 'Credit Limit' => 'Kredi Limiti',
+ 'Currency' => 'Para Birimi',
+ 'Customer' => 'Alýcý',
+ 'Customer missing!' => 'Customer missing!',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'Tarih',
+ 'Date Paid' => 'Ödendiði Tarih',
+ 'Dec' => 'Ara',
+ 'December' => 'Aralýk',
+ 'Delete' => 'Sil',
+ 'Description' => 'Açýklama',
+ 'Due Date' => 'Vade Tarihi',
+ 'Due Date missing!' => 'Vade Tarihi yok!',
+ 'Edit Accounts Receivables Transaction' => 'Edit Accounts Receivables Transaction',
+ 'Employee' => 'Employee',
+ 'Exch' => 'D.Kuru',
+ 'Exchangerate' => 'Döviz Kuru',
+ 'Exchangerate for payment missing!' => 'Exchangerate for payment missing!',
+ 'Exchangerate missing!' => 'Exchangerate missing!',
+ 'Feb' => 'Þub',
+ 'February' => 'Þubat',
+ 'From' => 'Baþlangýç',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Raporla',
+ 'Invoice' => 'Fatura',
+ 'Invoice Date' => 'Fatura Tarihi',
+ 'Invoice Date missing!' => 'Fatura Tarihi yok!',
+ 'Invoice Number' => 'Fatura No',
+ 'Invoice Number missing!' => 'Fatura Numarasý yok!',
+ 'Jan' => 'Oca',
+ 'January' => 'Ocak',
+ 'Jul' => 'Tem',
+ 'July' => 'Temmuz',
+ 'Jun' => 'Haz',
+ 'June' => 'Haziran',
+ 'Mar' => 'Mar',
+ 'March' => 'Mart',
+ 'May' => 'May',
+ 'May ' => 'Mayýs',
+ 'Notes' => 'Notlar:',
+ 'Nov' => 'Kas',
+ 'November' => 'Kasým',
+ 'Number' => 'Numara',
+ 'Oct' => 'Eki',
+ 'October' => 'Ekim',
+ 'Open' => 'Open',
+ 'Order' => 'Sipariþ',
+ 'Order Number' => 'Sipariþ No',
+ 'Paid' => 'Ödendi',
+ 'Payment date missing!' => 'Ödeme Tarihi yok',
+ 'Payments' => 'Ödemeler',
+ 'Post' => 'Post',
+ 'Post as new' => 'Post as new',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Remaining' => 'Remaining',
+ 'Sales Invoice' => 'Sales Invoice',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Sep' => 'Eyl',
+ 'September' => 'Eylül',
+ 'Source' => 'Kaynak',
+ 'Subtotal' => 'Aratoplam',
+ 'Tax' => 'Vergi',
+ 'Tax Included' => 'Vergi Dahil',
+ 'To' => 'Bitiþ',
+ 'Total' => 'Toplam',
+ 'Transaction deleted!' => 'Transaction deleted!',
+ 'Transaction posted!' => 'Transaction posted!',
+ 'Update' => 'Update',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'Yes' => 'Evet',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_subtotal' => 'ar_subtotal',
+ 'ar_transaction' => 'ar_transaction',
+ 'ar_transactions' => 'ar_transactions',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'ar_transaction' => 'ar_transaction',
+ 'devam' => 'continue',
+ 'sil' => 'delete',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'sales_invoice' => 'sales_invoice',
+ 'update' => 'update',
+ 'evet' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/tr/arap b/sql-ledger/locale/tr/arap
new file mode 100644
index 0000000..fb56368
--- /dev/null
+++ b/sql-ledger/locale/tr/arap
@@ -0,0 +1,30 @@
+$self{texts} = {
+ 'Address' => 'Adres',
+ 'Continue' => 'Devam',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Description' => 'Açýklama',
+ 'Number' => 'Numara',
+ 'Project not on file!' => 'Project not on file!',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Vendor not on file!' => 'Vendor not on file!',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'devam' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/tr/ca b/sql-ledger/locale/tr/ca
new file mode 100644
index 0000000..f379cd6
--- /dev/null
+++ b/sql-ledger/locale/tr/ca
@@ -0,0 +1,50 @@
+$self{texts} = {
+ 'Account' => 'Hesap',
+ 'Apr' => 'Nis',
+ 'April' => 'Nisan',
+ 'Aug' => 'Aðu',
+ 'August' => 'Aðustos',
+ 'Balance' => 'Balance',
+ 'Chart of Accounts' => 'Hesap Planý',
+ 'Credit' => 'Alacak',
+ 'Date' => 'Tarih',
+ 'Debit' => 'Borç',
+ 'Dec' => 'Ara',
+ 'December' => 'Aralýk',
+ 'Description' => 'Açýklama',
+ 'Feb' => 'Þub',
+ 'February' => 'Þubat',
+ 'From' => 'Baþlangýç',
+ 'GIFI' => 'GIFI',
+ 'Include in Report' => 'Raporla',
+ 'Jan' => 'Oca',
+ 'January' => 'Ocak',
+ 'Jul' => 'Tem',
+ 'July' => 'Temmuz',
+ 'Jun' => 'Haz',
+ 'June' => 'Haziran',
+ 'List Transactions' => 'Ýþlemleri Listele',
+ 'Mar' => 'Mar',
+ 'March' => 'Mart',
+ 'May' => 'May',
+ 'May ' => 'Mayýs',
+ 'Nov' => 'Kas',
+ 'November' => 'Kasým',
+ 'Oct' => 'Eki',
+ 'October' => 'Ekim',
+ 'Reference' => 'Reference',
+ 'Sep' => 'Eyl',
+ 'September' => 'Eylül',
+ 'Subtotal' => 'Aratoplam',
+ 'To' => 'Bitiþ',
+};
+
+$self{subs} = {
+ 'ca_subtotal' => 'ca_subtotal',
+ 'chart_of_accounts' => 'chart_of_accounts',
+ 'list' => 'list',
+ 'list_transactions' => 'list_transactions',
+ 'Ýþlemleri_listele' => 'list_transactions',
+};
+
+1;
diff --git a/sql-ledger/locale/tr/cp b/sql-ledger/locale/tr/cp
new file mode 100644
index 0000000..a08a0b7
--- /dev/null
+++ b/sql-ledger/locale/tr/cp
@@ -0,0 +1,75 @@
+$self{texts} = {
+ 'Account' => 'Hesap',
+ 'Address' => 'Adres',
+ 'Amount' => 'Miktar',
+ 'Amount does not equal applied!' => 'Amount does not equal applied!',
+ 'Amount missing!' => 'Amount missing!',
+ 'Applied' => 'Applied',
+ 'Cannot post payment!' => 'Cannot post payment!',
+ 'Cannot process payment for a closed period!' => 'Cannot process payment for a closed period!',
+ 'Check' => 'Check',
+ 'Check printed!' => 'Check printed!',
+ 'Check printing failed!' => 'Check printing failed!',
+ 'Continue' => 'Devam',
+ 'Currency' => 'Para Birimi',
+ 'Customer' => 'Alýcý',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'Tarih',
+ 'Date missing!' => 'Date missing!',
+ 'Description' => 'Açýklama',
+ 'Due' => 'Vade',
+ 'Exchangerate' => 'Döviz Kuru',
+ 'From' => 'Baþlangýç',
+ 'Invoice' => 'Fatura',
+ 'Invoices' => 'Invoices',
+ 'Nothing applied!' => 'Nothing applied!',
+ 'Number' => 'Numara',
+ 'Paid in full' => 'Paid in full',
+ 'Payment' => 'Ödeme',
+ 'Payment posted!' => 'Payment posted!',
+ 'Post' => 'Post',
+ 'Print' => 'Print',
+ 'Printer' => 'Yazýcý',
+ 'Project not on file!' => 'Project not on file!',
+ 'Receipt' => 'Receipt',
+ 'Reference' => 'Reference',
+ 'Screen' => 'Screen',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'To' => 'Bitiþ',
+ 'Update' => 'Update',
+ 'Vendor' => 'Satýcý',
+ 'Vendor not on file!' => 'Vendor not on file!',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'list_invoices' => 'list_invoices',
+ 'name_selected' => 'name_selected',
+ 'payment' => 'payment',
+ 'post' => 'post',
+ 'print' => 'print',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'vendor_details' => 'vendor_details',
+ 'devam' => 'continue',
+ 'post' => 'post',
+ 'print' => 'print',
+ 'update' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/tr/ct b/sql-ledger/locale/tr/ct
new file mode 100644
index 0000000..b7b0e4f
--- /dev/null
+++ b/sql-ledger/locale/tr/ct
@@ -0,0 +1,69 @@
+$self{texts} = {
+ 'Add' => 'Ekle',
+ 'Address' => 'Adres',
+ 'All' => 'Hepsi',
+ 'Bcc' => 'Bcc',
+ 'Cannot delete customer!' => 'Cannot delete customer!',
+ 'Cannot delete vendor!' => 'Cannot delete vendor!',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Kontak',
+ 'Continue' => 'Devam',
+ 'Credit Limit' => 'Kredi Limiti',
+ 'Customer deleted!' => 'Customer deleted!',
+ 'Customer saved!' => 'Customer saved!',
+ 'Customers' => 'Customers',
+ 'Delete' => 'Sil',
+ 'Discount' => 'Ýndirim',
+ 'E-mail' => 'Posta',
+ 'Fax' => 'Faks',
+ 'Include in Report' => 'Raporla',
+ 'Invoice' => 'Fatura',
+ 'Name' => 'Ýsim',
+ 'Name missing!' => 'Name missing!',
+ 'Notes' => 'Notlar:',
+ 'Number' => 'Numara',
+ 'Order' => 'Sipariþ',
+ 'Orphaned' => 'Orphaned',
+ 'Phone' => 'Telefon',
+ 'Save' => 'Kaydet',
+ 'Ship to' => 'Ship to',
+ 'Tax Included' => 'Vergi Dahil',
+ 'Taxable' => 'Vergiye tabi',
+ 'Terms: Net' => 'Þartlar: Net',
+ 'Transactions exist, cannot delete customer!' => 'Ýþlem var, alýcý silinemez!',
+ 'Transactions exist, cannot delete vendor!' => 'Ýþlem var, satýcý silinemez!',
+ 'Vendor deleted!' => 'Vendor deleted!',
+ 'Vendor saved!' => 'Vendor saved!',
+ 'Vendors' => 'Vendors',
+ 'days' => 'gün. ',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'customer_invoice' => 'customer_invoice',
+ 'customer_order' => 'customer_order',
+ 'delete' => 'delete',
+ 'delete_customer' => 'delete_customer',
+ 'delete_vendor' => 'delete_vendor',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'invoice' => 'invoice',
+ 'list_names' => 'list_names',
+ 'order' => 'order',
+ 'save' => 'save',
+ 'save_customer' => 'save_customer',
+ 'save_vendor' => 'save_vendor',
+ 'search' => 'search',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'vendor_order' => 'vendor_order',
+ 'ekle' => 'add',
+ 'devam' => 'continue',
+ 'sil' => 'delete',
+ 'fatura' => 'invoice',
+ 'sipariþ' => 'order',
+ 'kaydet' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/tr/gl b/sql-ledger/locale/tr/gl
new file mode 100644
index 0000000..7370def
--- /dev/null
+++ b/sql-ledger/locale/tr/gl
@@ -0,0 +1,124 @@
+$self{texts} = {
+ 'AP Transaction' => 'AP Transaction',
+ 'AR Transaction' => 'AR Transaction',
+ 'Account' => 'Hesap',
+ 'Add General Ledger Transaction' => 'Defteri Kebire Ýþlem Ekle',
+ 'Address' => 'Adres',
+ 'All' => 'Hepsi',
+ 'Apr' => 'Nis',
+ 'April' => 'Nisan',
+ 'Are you sure you want to delete Transaction' => 'Ýþlemi silmek istediðinizden emin misiniz? Fiþ: ',
+ 'Asset' => 'Aktif',
+ 'Aug' => 'Aðu',
+ 'August' => 'Aðustos',
+ 'Balance' => 'Balance',
+ 'Cannot delete transaction!' => 'Cannot delete transaction!',
+ 'Cannot have a value in both Debit and Credit!' => 'Borç ve Alacak hanelerine ayný anda deðer yazýlamaz!',
+ 'Cannot post a transaction without a value!' => 'Cannot post a transaction without a value!',
+ 'Cannot post transaction for a closed period!' => 'Cannot post transaction for a closed period!',
+ 'Confirm!' => 'Onayla!',
+ 'Continue' => 'Devam',
+ 'Credit' => 'Alacak',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'Tarih',
+ 'Debit' => 'Borç',
+ 'Debit and credit out of balance!' => 'Borç ve alacak eþit deðil!',
+ 'Dec' => 'Ara',
+ 'December' => 'Aralýk',
+ 'Delete' => 'Sil',
+ 'Description' => 'Açýklama',
+ 'Edit General Ledger Transaction' => 'Defteri Kebir Ýþlemini Düzenle',
+ 'Equity' => 'Sermaye',
+ 'Expense' => 'Gider',
+ 'Feb' => 'Þub',
+ 'February' => 'Þubat',
+ 'From' => 'Baþlangýç',
+ 'GIFI' => 'GIFI',
+ 'GL Transaction' => 'GL Transaction',
+ 'General Ledger' => 'Defteri Kebir',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Raporla',
+ 'Income' => 'Gelirler',
+ 'Jan' => 'Oca',
+ 'January' => 'Ocak',
+ 'Jul' => 'Tem',
+ 'July' => 'Temmuz',
+ 'Jun' => 'Haz',
+ 'June' => 'Haziran',
+ 'Liability' => 'Pasif',
+ 'Mar' => 'Mar',
+ 'March' => 'Mart',
+ 'May' => 'May',
+ 'May ' => 'Mayýs',
+ 'Notes' => 'Notlar:',
+ 'Nov' => 'Kas',
+ 'November' => 'Kasým',
+ 'Number' => 'Numara',
+ 'Oct' => 'Eki',
+ 'October' => 'Ekim',
+ 'Post' => 'Post',
+ 'Post as new' => 'Post as new',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Purchase Invoice' => 'Purchase Invoice',
+ 'Reference' => 'Reference',
+ 'Reference missing!' => 'Reference missing!',
+ 'Reports' => 'Raporlar',
+ 'Sales Invoice' => 'Sales Invoice',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Sep' => 'Eyl',
+ 'September' => 'Eylül',
+ 'Source' => 'Kaynak',
+ 'Subtotal' => 'Aratoplam',
+ 'To' => 'Bitiþ',
+ 'Transaction Date missing!' => 'Ýþlem Tarihi yok!',
+ 'Transaction deleted!' => 'Transaction deleted!',
+ 'Transaction posted!' => 'Transaction posted!',
+ 'Update' => 'Update',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'Yes' => 'Evet',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'form_row' => 'form_row',
+ 'generate_report' => 'generate_report',
+ 'gl_subtotal' => 'gl_subtotal',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'devam' => 'continue',
+ 'sil' => 'delete',
+ 'gl_transaction' => 'gl_transaction',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'update' => 'update',
+ 'evet' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/tr/ic b/sql-ledger/locale/tr/ic
new file mode 100644
index 0000000..b069b81
--- /dev/null
+++ b/sql-ledger/locale/tr/ic
@@ -0,0 +1,205 @@
+$self{texts} = {
+ 'Active' => 'Active',
+ 'Add' => 'Ekle',
+ 'Add Assembly' => 'Grup Ekle',
+ 'Add Part' => 'Parça Ekle',
+ 'Add Purchase Order' => 'Satýnalma Sip. Ekle',
+ 'Add Sales Order' => 'Satýþ Sipariþi Ekle',
+ 'Add Service' => 'Hizmet Ekle',
+ 'Address' => 'Adres',
+ 'Apr' => 'Nis',
+ 'April' => 'Nisan',
+ 'Assemblies' => 'Gruplar',
+ 'Assemblies restocked!' => 'Assemblies restocked!',
+ 'Assembly Number missing!' => 'Grup Numarasý yok!',
+ 'Attachment' => 'Attachment',
+ 'Aug' => 'Aðu',
+ 'August' => 'Aðustos',
+ 'BOM' => 'BOM',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Bin',
+ 'Bought' => 'Alýnan',
+ 'COGS' => 'SMM',
+ 'Cannot delete item already invoiced!' => 'Faturalanmýþ kalem silinemez!',
+ 'Cannot delete item on order!' => 'Cannot delete item on order!',
+ 'Cannot delete item which is part of an assembly!' => 'Grubun parçasý olan kalem silinemez!',
+ 'Cannot delete item!' => 'Cannot delete item!',
+ 'Cannot stock assemblies!' => 'Cannot stock assemblies!',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Kontak',
+ 'Continue' => 'Devam',
+ 'Copies' => 'Copies',
+ 'Dec' => 'Ara',
+ 'December' => 'Aralýk',
+ 'Delete' => 'Sil',
+ 'Delivery Date' => 'Delivery Date',
+ 'Description' => 'Açýklama',
+ 'Drawing' => 'Drawing',
+ 'E-mail' => 'Posta',
+ 'E-mail address missing!' => 'Posta adresi yok!',
+ 'Edit Assembly' => 'Grubu Düzenle',
+ 'Edit Part' => 'Parçayý Düzenle',
+ 'Edit Service' => 'Hizmeti Düzenle',
+ 'Expense' => 'Gider',
+ 'Extended' => 'Extended',
+ 'Fax' => 'Faks',
+ 'Feb' => 'Þub',
+ 'February' => 'Þubat',
+ 'From' => 'Baþlangýç',
+ 'Image' => 'Image',
+ 'In-line' => 'In-line',
+ 'Include in Report' => 'Raporla',
+ 'Income' => 'Gelirler',
+ 'Individual Items' => 'Farklý Kalemler',
+ 'Inventory' => 'Stok',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'Bu grubu çýkarmadan önce stok miktarý sýfýr olmalýdýr',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'Bu Parçayý çýkarmadan önce stok miktarý sýfýr olmalýdýr',
+ 'Inventory quantity must be zero!' => 'Stok miktarý sýfýr olmalý!',
+ 'Invoice' => 'Fatura',
+ 'Invoice Date missing!' => 'Fatura Tarihi yok!',
+ 'Invoice Number' => 'Fatura No',
+ 'Invoice Number missing!' => 'Fatura Numarasý yok!',
+ 'Item deleted!' => 'Item deleted!',
+ 'Item not on file!' => 'Bu kalem dosyada yok!',
+ 'Jan' => 'Oca',
+ 'January' => 'Ocak',
+ 'Jul' => 'Tem',
+ 'July' => 'Temmuz',
+ 'Jun' => 'Haz',
+ 'June' => 'Haziran',
+ 'Last Cost' => 'Son Maliyet',
+ 'Line Total' => 'Line Total',
+ 'Link Accounts' => 'Baðlý Hesaplar',
+ 'List Price' => 'Liste Fiyatý',
+ 'Make' => 'Marka',
+ 'Mar' => 'Mar',
+ 'March' => 'Mart',
+ 'May' => 'May',
+ 'May ' => 'Mayýs',
+ 'Message' => 'Message',
+ 'Microfiche' => 'Microfiche',
+ 'Model' => 'Model',
+ 'Name' => 'Ýsim',
+ 'No.' => 'No.',
+ 'Notes' => 'Notlar:',
+ 'Nov' => 'Kas',
+ 'November' => 'Kasým',
+ 'Number' => 'Numara',
+ 'Number missing in Row' => 'Sýrada Numara yok!',
+ 'Obsolete' => 'Eski',
+ 'Oct' => 'Eki',
+ 'October' => 'Ekim',
+ 'On Hand' => 'Stok:',
+ 'On Order' => 'On Order',
+ 'Order' => 'Sipariþ',
+ 'Order Date missing!' => 'Sipariþ Tarihi yok!',
+ 'Order Number' => 'Sipariþ No',
+ 'Order Number missing!' => 'Sipariþ Numarasý yok!',
+ 'Ordered' => 'Ordered',
+ 'Orphaned' => 'Orphaned',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Paketleme Listesi',
+ 'Packing List Date missing!' => 'Packing List Date missing!',
+ 'Packing List Number missing!' => 'Packing List Number missing!',
+ 'Part' => 'Parça',
+ 'Part Number missing!' => 'Parça Numarasý yok!',
+ 'Parts' => 'Parçalar',
+ 'Phone' => 'Telefon',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Fiyat',
+ 'Printer' => 'Yazýcý',
+ 'Project' => 'Project',
+ 'Purchase Order' => 'Satýnalma Sipariþi',
+ 'Qty' => 'Adet',
+ 'ROP' => 'ROP',
+ 'Recd' => 'Recd',
+ 'Required by' => 'Talep tarihi:',
+ 'Sales' => 'Satýþlar',
+ 'Sales Order' => 'Satýþ Sipariþi',
+ 'Save' => 'Kaydet',
+ 'Screen' => 'Screen',
+ 'Select from one of the items below' => 'Aþaðýdaki kalemlerden birini seç',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sell Price' => 'Satýþ Fiyatý',
+ 'Sep' => 'Eyl',
+ 'September' => 'Eylül',
+ 'Service' => 'servis',
+ 'Service Number missing!' => 'Hizmet Numarasý yok!',
+ 'Services' => 'Servisler',
+ 'Ship' => 'Ship',
+ 'Ship to' => 'Ship to',
+ 'Short' => 'Kýsa',
+ 'Sold' => 'satýlan',
+ 'Stock Assembly' => 'Grubu Stokla',
+ 'Subject' => 'Subject',
+ 'Subtotal' => 'Aratoplam',
+ 'Tax' => 'Vergi',
+ 'To' => 'Bitiþ',
+ 'Top Level' => 'Top Level',
+ 'Total' => 'Toplam',
+ 'Unit' => 'Birim',
+ 'Unit of measure' => 'Ölçme Birimi',
+ 'Update' => 'Update',
+ 'Updated' => 'Updated',
+ 'Weight' => 'Aðýrlýk',
+ 'What type of item is this?' => 'Bu ne çeþit bir kalemdir?',
+ 'ea' => 'ad',
+ 'emailed to' => 'emailed to',
+ 'hr' => 'sa',
+ 'sent to printer' => 'sent to printer',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'assembly_row' => 'assembly_row',
+ 'check_form' => 'check_form',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'delete_assembly' => 'delete_assembly',
+ 'delete_item' => 'delete_item',
+ 'delete_part' => 'delete_part',
+ 'delete_service' => 'delete_service',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'link_part' => 'link_part',
+ 'list_assemblies' => 'list_assemblies',
+ 'makemodel_row' => 'makemodel_row',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'parts_subtotal' => 'parts_subtotal',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'restock_assemblies' => 'restock_assemblies',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'stock_assembly' => 'stock_assembly',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'ekle' => 'add',
+ 'grup_ekle' => 'add_assembly',
+ 'parça_ekle' => 'add_part',
+ 'hizmet_ekle' => 'add_service',
+ 'devam' => 'continue',
+ 'sil' => 'delete',
+ 'grubu_düzenle' => 'edit_assembly',
+ 'parçayý_düzenle' => 'edit_part',
+ 'hizmeti_düzenle' => 'edit_service',
+ 'kaydet' => 'save',
+ 'update' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/tr/io b/sql-ledger/locale/tr/io
new file mode 100644
index 0000000..8ce89dd
--- /dev/null
+++ b/sql-ledger/locale/tr/io
@@ -0,0 +1,106 @@
+$self{texts} = {
+ 'Add Purchase Order' => 'Satýnalma Sip. Ekle',
+ 'Add Sales Order' => 'Satýþ Sipariþi Ekle',
+ 'Address' => 'Adres',
+ 'Apr' => 'Nis',
+ 'April' => 'Nisan',
+ 'Attachment' => 'Attachment',
+ 'Aug' => 'Aðu',
+ 'August' => 'Aðustos',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Bin',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Kontak',
+ 'Continue' => 'Devam',
+ 'Copies' => 'Copies',
+ 'Dec' => 'Ara',
+ 'December' => 'Aralýk',
+ 'Delivery Date' => 'Delivery Date',
+ 'Description' => 'Açýklama',
+ 'E-mail' => 'Posta',
+ 'E-mail address missing!' => 'Posta adresi yok!',
+ 'Extended' => 'Extended',
+ 'Fax' => 'Faks',
+ 'Feb' => 'Þub',
+ 'February' => 'Þubat',
+ 'In-line' => 'In-line',
+ 'Invoice' => 'Fatura',
+ 'Invoice Date missing!' => 'Fatura Tarihi yok!',
+ 'Invoice Number missing!' => 'Fatura Numarasý yok!',
+ 'Item not on file!' => 'Bu kalem dosyada yok!',
+ 'Jan' => 'Oca',
+ 'January' => 'Ocak',
+ 'Jul' => 'Tem',
+ 'July' => 'Temmuz',
+ 'Jun' => 'Haz',
+ 'June' => 'Haziran',
+ 'Mar' => 'Mar',
+ 'March' => 'Mart',
+ 'May' => 'May',
+ 'May ' => 'Mayýs',
+ 'Message' => 'Message',
+ 'Name' => 'Ýsim',
+ 'No.' => 'No.',
+ 'Nov' => 'Kas',
+ 'November' => 'Kasým',
+ 'Number' => 'Numara',
+ 'Number missing in Row' => 'Sýrada Numara yok!',
+ 'Oct' => 'Eki',
+ 'October' => 'Ekim',
+ 'Order' => 'Sipariþ',
+ 'Order Date missing!' => 'Sipariþ Tarihi yok!',
+ 'Order Number missing!' => 'Sipariþ Numarasý yok!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Paketleme Listesi',
+ 'Packing List Date missing!' => 'Packing List Date missing!',
+ 'Packing List Number missing!' => 'Packing List Number missing!',
+ 'Part' => 'Parça',
+ 'Phone' => 'Telefon',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Fiyat',
+ 'Printer' => 'Yazýcý',
+ 'Project' => 'Project',
+ 'Purchase Order' => 'Satýnalma Sipariþi',
+ 'Qty' => 'Adet',
+ 'Recd' => 'Recd',
+ 'Required by' => 'Talep tarihi:',
+ 'Sales Order' => 'Satýþ Sipariþi',
+ 'Screen' => 'Screen',
+ 'Select from one of the items below' => 'Aþaðýdaki kalemlerden birini seç',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sep' => 'Eyl',
+ 'September' => 'Eylül',
+ 'Service' => 'servis',
+ 'Ship' => 'Ship',
+ 'Ship to' => 'Ship to',
+ 'Subject' => 'Subject',
+ 'To' => 'Bitiþ',
+ 'Unit' => 'Birim',
+ 'What type of item is this?' => 'Bu ne çeþit bir kalemdir?',
+ 'emailed to' => 'emailed to',
+ 'sent to printer' => 'sent to printer',
+};
+
+$self{subs} = {
+ 'check_form' => 'check_form',
+ 'customer_details' => 'customer_details',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'devam' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/tr/ir b/sql-ledger/locale/tr/ir
new file mode 100644
index 0000000..c62536a
--- /dev/null
+++ b/sql-ledger/locale/tr/ir
@@ -0,0 +1,178 @@
+$self{texts} = {
+ 'Account' => 'Hesap',
+ 'Add Purchase Invoice' => 'Add Purchase Invoice',
+ 'Add Purchase Order' => 'Satýnalma Sip. Ekle',
+ 'Add Sales Order' => 'Satýþ Sipariþi Ekle',
+ 'Address' => 'Adres',
+ 'Amount' => 'Miktar',
+ 'Apr' => 'Nis',
+ 'April' => 'Nisan',
+ 'Are you sure you want to delete Invoice Number' => 'Fatura Numarasýný silmek istediðinizden emin misiniz? Fiþ: ',
+ 'Attachment' => 'Attachment',
+ 'Aug' => 'Aðu',
+ 'August' => 'Aðustos',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Bin',
+ 'Cannot delete invoice!' => 'Cannot delete invoice!',
+ 'Cannot post invoice for a closed period!' => 'Cannot post invoice for a closed period!',
+ 'Cannot post invoice!' => 'Cannot post invoice!',
+ 'Cannot post payment for a closed period!' => 'Cannot post payment for a closed period!',
+ 'Cc' => 'Cc',
+ 'Confirm!' => 'Onayla!',
+ 'Contact' => 'Kontak',
+ 'Continue' => 'Devam',
+ 'Copies' => 'Copies',
+ 'Currency' => 'Para Birimi',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'Tarih',
+ 'Date Due' => 'Vade Tarihi',
+ 'Dec' => 'Ara',
+ 'December' => 'Aralýk',
+ 'Delete' => 'Sil',
+ 'Delivery Date' => 'Delivery Date',
+ 'Description' => 'Açýklama',
+ 'E-mail' => 'Posta',
+ 'E-mail address missing!' => 'Posta adresi yok!',
+ 'Edit Purchase Invoice' => 'Edit Purchase Invoice',
+ 'Exch' => 'D.Kuru',
+ 'Exchangerate' => 'Döviz Kuru',
+ 'Exchangerate for payment missing!' => 'Exchangerate for payment missing!',
+ 'Exchangerate missing!' => 'Exchangerate missing!',
+ 'Extended' => 'Extended',
+ 'Fax' => 'Faks',
+ 'Feb' => 'Þub',
+ 'February' => 'Þubat',
+ 'In-line' => 'In-line',
+ 'Invoice' => 'Fatura',
+ 'Invoice Date' => 'Fatura Tarihi',
+ 'Invoice Date missing!' => 'Fatura Tarihi yok!',
+ 'Invoice Number' => 'Fatura No',
+ 'Invoice Number missing!' => 'Fatura Numarasý yok!',
+ 'Invoice deleted!' => 'Invoice deleted!',
+ 'Invoice posted!' => 'Invoice posted!',
+ 'Item not on file!' => 'Bu kalem dosyada yok!',
+ 'Jan' => 'Oca',
+ 'January' => 'Ocak',
+ 'Jul' => 'Tem',
+ 'July' => 'Temmuz',
+ 'Jun' => 'Haz',
+ 'June' => 'Haziran',
+ 'Mar' => 'Mar',
+ 'March' => 'Mart',
+ 'May' => 'May',
+ 'May ' => 'Mayýs',
+ 'Message' => 'Message',
+ 'Name' => 'Ýsim',
+ 'No.' => 'No.',
+ 'Notes' => 'Notlar:',
+ 'Nov' => 'Kas',
+ 'November' => 'Kasým',
+ 'Number' => 'Numara',
+ 'Number missing in Row' => 'Sýrada Numara yok!',
+ 'Oct' => 'Eki',
+ 'October' => 'Ekim',
+ 'Order' => 'Sipariþ',
+ 'Order Date missing!' => 'Sipariþ Tarihi yok!',
+ 'Order Number' => 'Sipariþ No',
+ 'Order Number missing!' => 'Sipariþ Numarasý yok!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Paketleme Listesi',
+ 'Packing List Date missing!' => 'Packing List Date missing!',
+ 'Packing List Number missing!' => 'Packing List Number missing!',
+ 'Part' => 'Parça',
+ 'Payment date missing!' => 'Ödeme Tarihi yok',
+ 'Payments' => 'Ödemeler',
+ 'Phone' => 'Telefon',
+ 'Post' => 'Post',
+ 'Post as new' => 'Post as new',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Fiyat',
+ 'Printer' => 'Yazýcý',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Purchase Order' => 'Satýnalma Sipariþi',
+ 'Qty' => 'Adet',
+ 'Recd' => 'Recd',
+ 'Record in' => 'Kaydet',
+ 'Required by' => 'Talep tarihi:',
+ 'Sales Order' => 'Satýþ Sipariþi',
+ 'Screen' => 'Screen',
+ 'Select from one of the items below' => 'Aþaðýdaki kalemlerden birini seç',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sep' => 'Eyl',
+ 'September' => 'Eylül',
+ 'Service' => 'servis',
+ 'Ship' => 'Ship',
+ 'Ship to' => 'Ship to',
+ 'Source' => 'Kaynak',
+ 'Subject' => 'Subject',
+ 'Subtotal' => 'Aratoplam',
+ 'Tax Included' => 'Vergi Dahil',
+ 'To' => 'Bitiþ',
+ 'Total' => 'Toplam',
+ 'Unit' => 'Birim',
+ 'Update' => 'Update',
+ 'Vendor' => 'Satýcý',
+ 'Vendor missing!' => 'Vendor missing!',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'What type of item is this?' => 'Bu ne çeþit bir kalemdir?',
+ 'Yes' => 'Evet',
+ 'ea' => 'ad',
+ 'emailed to' => 'emailed to',
+ 'sent to printer' => 'sent to printer',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'devam' => 'continue',
+ 'sil' => 'delete',
+ 'sipariþ' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'update' => 'update',
+ 'evet' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/tr/is b/sql-ledger/locale/tr/is
new file mode 100644
index 0000000..29342c3
--- /dev/null
+++ b/sql-ledger/locale/tr/is
@@ -0,0 +1,185 @@
+$self{texts} = {
+ 'Account' => 'Hesap',
+ 'Add Purchase Order' => 'Satýnalma Sip. Ekle',
+ 'Add Sales Invoice' => 'Add Sales Invoice',
+ 'Add Sales Order' => 'Satýþ Sipariþi Ekle',
+ 'Address' => 'Adres',
+ 'Amount' => 'Miktar',
+ 'Apr' => 'Nis',
+ 'April' => 'Nisan',
+ 'Are you sure you want to delete Invoice Number' => 'Fatura Numarasýný silmek istediðinizden emin misiniz? Fiþ: ',
+ 'Attachment' => 'Attachment',
+ 'Aug' => 'Aðu',
+ 'August' => 'Aðustos',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Bin',
+ 'Cannot delete invoice!' => 'Cannot delete invoice!',
+ 'Cannot post invoice for a closed period!' => 'Cannot post invoice for a closed period!',
+ 'Cannot post invoice!' => 'Cannot post invoice!',
+ 'Cannot post payment for a closed period!' => 'Cannot post payment for a closed period!',
+ 'Cc' => 'Cc',
+ 'Confirm!' => 'Onayla!',
+ 'Contact' => 'Kontak',
+ 'Continue' => 'Devam',
+ 'Copies' => 'Copies',
+ 'Credit Limit' => 'Kredi Limiti',
+ 'Currency' => 'Para Birimi',
+ 'Customer' => 'Alýcý',
+ 'Customer missing!' => 'Customer missing!',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'Tarih',
+ 'Date Due' => 'Vade Tarihi',
+ 'Dec' => 'Ara',
+ 'December' => 'Aralýk',
+ 'Delete' => 'Sil',
+ 'Delivery Date' => 'Delivery Date',
+ 'Description' => 'Açýklama',
+ 'E-mail' => 'Posta',
+ 'E-mail address missing!' => 'Posta adresi yok!',
+ 'Edit Sales Invoice' => 'Edit Sales Invoice',
+ 'Exch' => 'D.Kuru',
+ 'Exchangerate' => 'Döviz Kuru',
+ 'Exchangerate for payment missing!' => 'Exchangerate for payment missing!',
+ 'Exchangerate missing!' => 'Exchangerate missing!',
+ 'Extended' => 'Extended',
+ 'Fax' => 'Faks',
+ 'Feb' => 'Þub',
+ 'February' => 'Þubat',
+ 'In-line' => 'In-line',
+ 'Invoice' => 'Fatura',
+ 'Invoice Date' => 'Fatura Tarihi',
+ 'Invoice Date missing!' => 'Fatura Tarihi yok!',
+ 'Invoice Number' => 'Fatura No',
+ 'Invoice Number missing!' => 'Fatura Numarasý yok!',
+ 'Invoice deleted!' => 'Invoice deleted!',
+ 'Invoice posted!' => 'Invoice posted!',
+ 'Item not on file!' => 'Bu kalem dosyada yok!',
+ 'Jan' => 'Oca',
+ 'January' => 'Ocak',
+ 'Jul' => 'Tem',
+ 'July' => 'Temmuz',
+ 'Jun' => 'Haz',
+ 'June' => 'Haziran',
+ 'Mar' => 'Mar',
+ 'March' => 'Mart',
+ 'May' => 'May',
+ 'May ' => 'Mayýs',
+ 'Message' => 'Message',
+ 'Name' => 'Ýsim',
+ 'No.' => 'No.',
+ 'Notes' => 'Notlar:',
+ 'Nov' => 'Kas',
+ 'November' => 'Kasým',
+ 'Number' => 'Numara',
+ 'Number missing in Row' => 'Sýrada Numara yok!',
+ 'Oct' => 'Eki',
+ 'October' => 'Ekim',
+ 'Order' => 'Sipariþ',
+ 'Order Date missing!' => 'Sipariþ Tarihi yok!',
+ 'Order Number' => 'Sipariþ No',
+ 'Order Number missing!' => 'Sipariþ Numarasý yok!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Paketleme Listesi',
+ 'Packing List Date missing!' => 'Packing List Date missing!',
+ 'Packing List Number missing!' => 'Packing List Number missing!',
+ 'Part' => 'Parça',
+ 'Payment date missing!' => 'Ödeme Tarihi yok',
+ 'Payments' => 'Ödemeler',
+ 'Phone' => 'Telefon',
+ 'Post' => 'Post',
+ 'Post as new' => 'Post as new',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Fiyat',
+ 'Print' => 'Print',
+ 'Printer' => 'Yazýcý',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Purchase Order' => 'Satýnalma Sipariþi',
+ 'Qty' => 'Adet',
+ 'Recd' => 'Recd',
+ 'Record in' => 'Kaydet',
+ 'Remaining' => 'Remaining',
+ 'Required by' => 'Talep tarihi:',
+ 'Sales Order' => 'Satýþ Sipariþi',
+ 'Screen' => 'Screen',
+ 'Select from one of the items below' => 'Aþaðýdaki kalemlerden birini seç',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sep' => 'Eyl',
+ 'September' => 'Eylül',
+ 'Service' => 'servis',
+ 'Ship' => 'Ship',
+ 'Ship to' => 'Ship to',
+ 'Ship via' => 'Ship via',
+ 'Source' => 'Kaynak',
+ 'Subject' => 'Subject',
+ 'Subtotal' => 'Aratoplam',
+ 'Tax Included' => 'Vergi Dahil',
+ 'To' => 'Bitiþ',
+ 'Total' => 'Toplam',
+ 'Unit' => 'Birim',
+ 'Update' => 'Update',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'What type of item is this?' => 'Bu ne çeþit bir kalemdir?',
+ 'Yes' => 'Evet',
+ 'ea' => 'ad',
+ 'emailed to' => 'emailed to',
+ 'sent to printer' => 'sent to printer',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'devam' => 'continue',
+ 'sil' => 'delete',
+ 'posta' => 'e_mail',
+ 'sipariþ' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'evet' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/tr/login b/sql-ledger/locale/tr/login
new file mode 100644
index 0000000..3c6fb0b
--- /dev/null
+++ b/sql-ledger/locale/tr/login
@@ -0,0 +1,28 @@
+$self{texts} = {
+ 'About' => 'Program bilgileri',
+ 'Accounting' => 'Muhasebe',
+ 'Database Host' => 'Veritabaný Hostu',
+ 'Dataset' => 'Veriseti',
+ 'Incorrect Dataset version!' => 'Incorrect Dataset version!',
+ 'Incorrect Password!' => 'Yanlýþ Þifre!',
+ 'Licensed to' => 'Lisans Sahibi:',
+ 'Login' => 'Giriþ',
+ 'Name' => 'Ýsim',
+ 'Password' => 'Þifre',
+ 'User' => 'Kullanýcý',
+ 'Version' => 'Versiyon',
+ 'You are logged out!' => 'You are logged out!',
+ 'You did not enter a name!' => 'Ýsim girmediniz!',
+ 'is not a member!' => 'is not a member!',
+ 'localhost' => 'Yerelhost',
+};
+
+$self{subs} = {
+ 'company_logo' => 'company_logo',
+ 'login' => 'login',
+ 'login_screen' => 'login_screen',
+ 'logout' => 'logout',
+ 'giriþ' => 'login',
+};
+
+1;
diff --git a/sql-ledger/locale/tr/menu b/sql-ledger/locale/tr/menu
new file mode 100644
index 0000000..45a4296
--- /dev/null
+++ b/sql-ledger/locale/tr/menu
@@ -0,0 +1,72 @@
+$self{texts} = {
+ 'AP' => 'Borçlar',
+ 'AP Aging' => 'Gecikmiþ Borçlar',
+ 'AR' => 'Alacaklar',
+ 'AR Aging' => 'Gecikmiþ Alacaklar',
+ 'Accounting Menu' => 'Muhasebe Menüsü',
+ 'Add Account' => 'Hesap Ekle',
+ 'Add Assembly' => 'Grup Ekle',
+ 'Add Customer' => 'Alýcý Ekle',
+ 'Add GIFI' => 'Add GIFI',
+ 'Add Part' => 'Parça Ekle',
+ 'Add Project' => 'Add Project',
+ 'Add Service' => 'Hizmet Ekle',
+ 'Add Transaction' => 'Ýþlem Ekle',
+ 'Add Vendor' => 'Satýcý Ekle',
+ 'Assemblies' => 'Gruplar',
+ 'Audit Control' => 'Audit Control',
+ 'Backup' => 'Yedekleme',
+ 'Balance Sheet' => 'Bilanço',
+ 'Cash' => 'Cash',
+ 'Chart of Accounts' => 'Hesap Planý',
+ 'Check' => 'Check',
+ 'Customers' => 'Customers',
+ 'General Ledger' => 'Defteri Kebir',
+ 'Goods & Services' => 'Goods & Services',
+ 'HTML Templates' => 'HTML Templates',
+ 'Income Statement' => 'Gelir Tablosu',
+ 'Invoice' => 'Fatura',
+ 'LaTeX Templates' => 'LaTeX Templates',
+ 'List Accounts' => 'List Accounts',
+ 'List GIFI' => 'List GIFI',
+ 'Logout' => 'Logout',
+ 'Order Entry' => 'Sipariþ Giriþi',
+ 'Packing List' => 'Paketleme Listesi',
+ 'Parts' => 'Parçalar',
+ 'Payment' => 'Ödeme',
+ 'Payments' => 'Ödemeler',
+ 'Preferences' => 'Tercihler',
+ 'Projects' => 'Projects',
+ 'Purchase Invoice' => 'Purchase Invoice',
+ 'Purchase Order' => 'Satýnalma Sipariþi',
+ 'Purchase Orders' => 'Satýnalma Sipariþleri',
+ 'Receipt' => 'Receipt',
+ 'Receipts' => 'Receipts',
+ 'Reconciliation' => 'Reconciliation',
+ 'Reports' => 'Raporlar',
+ 'Sales Invoice' => 'Sales Invoice',
+ 'Sales Order' => 'Satýþ Sipariþi',
+ 'Sales Orders' => 'Satýþ Sipariþleri',
+ 'Save to File' => 'Dosyaya Kaydet',
+ 'Send by E-Mail' => 'E-postayla gönder',
+ 'Services' => 'Servisler',
+ 'Statement' => 'Statement',
+ 'Stock Assembly' => 'Grubu Stokla',
+ 'Stylesheet' => 'Düzen Sayfasý',
+ 'System' => 'System',
+ 'Tax collected' => 'Tax collected',
+ 'Tax paid' => 'Tax paid',
+ 'Transactions' => 'Ýþlemler',
+ 'Trial Balance' => 'Proforma Bilanço',
+ 'Vendors' => 'Vendors',
+ 'Version' => 'Versiyon',
+ 'localhost' => 'Yerelhost',
+};
+
+$self{subs} = {
+ 'acc_menu' => 'acc_menu',
+ 'display' => 'display',
+ 'section_menu' => 'section_menu',
+};
+
+1;
diff --git a/sql-ledger/locale/tr/oe b/sql-ledger/locale/tr/oe
new file mode 100644
index 0000000..31415c6
--- /dev/null
+++ b/sql-ledger/locale/tr/oe
@@ -0,0 +1,199 @@
+$self{texts} = {
+ 'Add' => 'Ekle',
+ 'Add Purchase Invoice' => 'Add Purchase Invoice',
+ 'Add Purchase Order' => 'Satýnalma Sip. Ekle',
+ 'Add Sales Invoice' => 'Add Sales Invoice',
+ 'Add Sales Order' => 'Satýþ Sipariþi Ekle',
+ 'Address' => 'Adres',
+ 'Amount' => 'Miktar',
+ 'Apr' => 'Nis',
+ 'April' => 'Nisan',
+ 'Are you sure you want to delete Order Number' => 'Sipariþ Numarasýný silmek istediðinizden emin misiniz? Fiþ: ',
+ 'Attachment' => 'Attachment',
+ 'Aug' => 'Aðu',
+ 'August' => 'Aðustos',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Bin',
+ 'C' => 'C',
+ 'Cannot delete order!' => 'Cannot delete order!',
+ 'Cannot save order!' => 'Cannot save order!',
+ 'Cc' => 'Cc',
+ 'Closed' => 'Closed',
+ 'Confirm!' => 'Onayla!',
+ 'Contact' => 'Kontak',
+ 'Continue' => 'Devam',
+ 'Copies' => 'Copies',
+ 'Credit Limit' => 'Kredi Limiti',
+ 'Curr' => 'Curr',
+ 'Currency' => 'Para Birimi',
+ 'Customer' => 'Alýcý',
+ 'Customer missing!' => 'Customer missing!',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => 'Tarih',
+ 'Dec' => 'Ara',
+ 'December' => 'Aralýk',
+ 'Delete' => 'Sil',
+ 'Delivery Date' => 'Delivery Date',
+ 'Description' => 'Açýklama',
+ 'E-mail' => 'Posta',
+ 'E-mail address missing!' => 'Posta adresi yok!',
+ 'Edit Purchase Order' => 'Alýþ Sipariþini Düzenle',
+ 'Edit Sales Order' => 'Satýþ Sipariþini Düzenle',
+ 'Exchangerate' => 'Döviz Kuru',
+ 'Exchangerate missing!' => 'Exchangerate missing!',
+ 'Extended' => 'Extended',
+ 'Fax' => 'Faks',
+ 'Feb' => 'Þub',
+ 'February' => 'Þubat',
+ 'From' => 'Baþlangýç',
+ 'ID' => 'ID',
+ 'In-line' => 'In-line',
+ 'Include in Report' => 'Raporla',
+ 'Invoice' => 'Fatura',
+ 'Invoice Date missing!' => 'Fatura Tarihi yok!',
+ 'Invoice Number missing!' => 'Fatura Numarasý yok!',
+ 'Item not on file!' => 'Bu kalem dosyada yok!',
+ 'Jan' => 'Oca',
+ 'January' => 'Ocak',
+ 'Jul' => 'Tem',
+ 'July' => 'Temmuz',
+ 'Jun' => 'Haz',
+ 'June' => 'Haziran',
+ 'Mar' => 'Mar',
+ 'March' => 'Mart',
+ 'May' => 'May',
+ 'May ' => 'Mayýs',
+ 'Message' => 'Message',
+ 'Name' => 'Ýsim',
+ 'No.' => 'No.',
+ 'Notes' => 'Notlar:',
+ 'Nov' => 'Kas',
+ 'November' => 'Kasým',
+ 'Number' => 'Numara',
+ 'Number missing in Row' => 'Sýrada Numara yok!',
+ 'O' => 'O',
+ 'Oct' => 'Eki',
+ 'October' => 'Ekim',
+ 'Open' => 'Open',
+ 'Order' => 'Sipariþ',
+ 'Order Date' => 'Sipariþ Tarihi',
+ 'Order Date missing!' => 'Sipariþ Tarihi yok!',
+ 'Order Number' => 'Sipariþ No',
+ 'Order Number missing!' => 'Sipariþ Numarasý yok!',
+ 'Order deleted!' => 'Order deleted!',
+ 'Order saved!' => 'Order saved!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Paketleme Listesi',
+ 'Packing List Date missing!' => 'Packing List Date missing!',
+ 'Packing List Number missing!' => 'Packing List Number missing!',
+ 'Part' => 'Parça',
+ 'Phone' => 'Telefon',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Fiyat',
+ 'Print' => 'Print',
+ 'Printer' => 'Yazýcý',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Purchase Order' => 'Satýnalma Sipariþi',
+ 'Purchase Orders' => 'Satýnalma Sipariþleri',
+ 'Qty' => 'Adet',
+ 'Recd' => 'Recd',
+ 'Remaining' => 'Remaining',
+ 'Required by' => 'Talep tarihi:',
+ 'Sales Order' => 'Satýþ Sipariþi',
+ 'Sales Orders' => 'Satýþ Sipariþleri',
+ 'Save' => 'Kaydet',
+ 'Save as new' => 'Save as new',
+ 'Screen' => 'Screen',
+ 'Select from one of the items below' => 'Aþaðýdaki kalemlerden birini seç',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sep' => 'Eyl',
+ 'September' => 'Eylül',
+ 'Service' => 'servis',
+ 'Ship' => 'Ship',
+ 'Ship to' => 'Ship to',
+ 'Ship via' => 'Ship via',
+ 'Subject' => 'Subject',
+ 'Subtotal' => 'Aratoplam',
+ 'Tax' => 'Vergi',
+ 'Tax Included' => 'Vergi Dahil',
+ 'Terms: Net' => 'Þartlar: Net',
+ 'To' => 'Bitiþ',
+ 'Total' => 'Toplam',
+ 'Unit' => 'Birim',
+ 'Update' => 'Update',
+ 'Vendor' => 'Satýcý',
+ 'Vendor missing!' => 'Vendor missing!',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'What type of item is this?' => 'Bu ne çeþit bir kalemdir?',
+ 'Yes' => 'Evet',
+ 'days' => 'gün. ',
+ 'ea' => 'ad',
+ 'emailed to' => 'emailed to',
+ 'sent to printer' => 'sent to printer',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_backorder' => 'create_backorder',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice' => 'invoice',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'order_links' => 'order_links',
+ 'orders' => 'orders',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_order' => 'prepare_order',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'save' => 'save',
+ 'save_as_new' => 'save_as_new',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'subtotal' => 'subtotal',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'ekle' => 'add',
+ 'devam' => 'continue',
+ 'sil' => 'delete',
+ 'posta' => 'e_mail',
+ 'fatura' => 'invoice',
+ 'print' => 'print',
+ 'kaydet' => 'save',
+ 'save_as_new' => 'save_as_new',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'evet' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/tr/pe b/sql-ledger/locale/tr/pe
new file mode 100644
index 0000000..d010eca
--- /dev/null
+++ b/sql-ledger/locale/tr/pe
@@ -0,0 +1,35 @@
+$self{texts} = {
+ 'Add' => 'Ekle',
+ 'Add Project' => 'Add Project',
+ 'All' => 'Hepsi',
+ 'Continue' => 'Devam',
+ 'Delete' => 'Sil',
+ 'Description' => 'Açýklama',
+ 'Edit Project' => 'Edit Project',
+ 'Number' => 'Numara',
+ 'Orphaned' => 'Orphaned',
+ 'Project' => 'Project',
+ 'Project Number missing!' => 'Project Number missing!',
+ 'Project deleted!' => 'Project deleted!',
+ 'Project saved!' => 'Project saved!',
+ 'Projects' => 'Projects',
+ 'Save' => 'Kaydet',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'ekle' => 'add',
+ 'devam' => 'continue',
+ 'sil' => 'delete',
+ 'kaydet' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/tr/rc b/sql-ledger/locale/tr/rc
new file mode 100644
index 0000000..4e71d0c
--- /dev/null
+++ b/sql-ledger/locale/tr/rc
@@ -0,0 +1,37 @@
+$self{texts} = {
+ 'Account' => 'Hesap',
+ 'Balance' => 'Balance',
+ 'Cleared Balance' => 'Cleared Balance',
+ 'Continue' => 'Devam',
+ 'Date' => 'Tarih',
+ 'Deposit' => 'Deposit',
+ 'Description' => 'Açýklama',
+ 'Difference' => 'Difference',
+ 'Done' => 'Done',
+ 'Exchangerate Difference' => 'Exchangerate Difference',
+ 'From' => 'Baþlangýç',
+ 'Out of balance!' => 'Out of balance!',
+ 'Payment' => 'Ödeme',
+ 'Reconciliation' => 'Reconciliation',
+ 'Select all' => 'Select all',
+ 'Source' => 'Kaynak',
+ 'Statement Balance' => 'Statement Balance',
+ 'To' => 'Bitiþ',
+ 'Update' => 'Update',
+};
+
+$self{subs} = {
+ 'continue' => 'continue',
+ 'display_form' => 'display_form',
+ 'done' => 'done',
+ 'get_payments' => 'get_payments',
+ 'reconciliation' => 'reconciliation',
+ 'select_all' => 'select_all',
+ 'update' => 'update',
+ 'devam' => 'continue',
+ 'done' => 'done',
+ 'select_all' => 'select_all',
+ 'update' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/tr/rp b/sql-ledger/locale/tr/rp
new file mode 100644
index 0000000..7807262
--- /dev/null
+++ b/sql-ledger/locale/tr/rp
@@ -0,0 +1,117 @@
+$self{texts} = {
+ 'AP Aging' => 'Gecikmiþ Borçlar',
+ 'AR Aging' => 'Gecikmiþ Alacaklar',
+ 'Account' => 'Hesap',
+ 'Accounts' => 'Accounts',
+ 'Amount' => 'Miktar',
+ 'Apr' => 'Nis',
+ 'April' => 'Nisan',
+ 'Attachment' => 'Attachment',
+ 'Aug' => 'Aðu',
+ 'August' => 'Aðustos',
+ 'Balance Sheet' => 'Bilanço',
+ 'Bcc' => 'Bcc',
+ 'Cash based' => 'Cash based',
+ 'Cc' => 'Cc',
+ 'Compare to' => '...kýyasla',
+ 'Continue' => 'Devam',
+ 'Copies' => 'Copies',
+ 'Credit' => 'Alacak',
+ 'Current' => 'Current',
+ 'Customer' => 'Alýcý',
+ 'Date' => 'Tarih',
+ 'Debit' => 'Borç',
+ 'Dec' => 'Ara',
+ 'December' => 'Aralýk',
+ 'Decimalplaces' => 'Decimalplaces',
+ 'Description' => 'Açýklama',
+ 'Due' => 'Vade',
+ 'E-mail' => 'Posta',
+ 'E-mail Statement to' => 'E-mail Statement to',
+ 'Feb' => 'Þub',
+ 'February' => 'Þubat',
+ 'From' => 'Baþlangýç',
+ 'GIFI' => 'GIFI',
+ 'Heading' => 'Baþlýk',
+ 'ID' => 'ID',
+ 'In-line' => 'In-line',
+ 'Include in Report' => 'Raporla',
+ 'Income Statement' => 'Gelir Tablosu',
+ 'Invoice' => 'Fatura',
+ 'Jan' => 'Oca',
+ 'January' => 'Ocak',
+ 'Jul' => 'Tem',
+ 'July' => 'Temmuz',
+ 'Jun' => 'Haz',
+ 'June' => 'Haziran',
+ 'Mar' => 'Mar',
+ 'March' => 'Mart',
+ 'May' => 'May',
+ 'May ' => 'Mayýs',
+ 'Message' => 'Message',
+ 'N/A' => 'N/A',
+ 'Nothing selected!' => 'Nothing selected!',
+ 'Nov' => 'Kas',
+ 'November' => 'Kasým',
+ 'Oct' => 'Eki',
+ 'October' => 'Ekim',
+ 'PDF' => 'PDF',
+ 'Payments' => 'Ödemeler',
+ 'Postscript' => 'Postscript',
+ 'Print' => 'Print',
+ 'Printer' => 'Yazýcý',
+ 'Receipts' => 'Receipts',
+ 'Report for' => 'Report for',
+ 'Retained Earnings' => 'Net Dönem Karý (Zararý)',
+ 'Screen' => 'Screen',
+ 'Select all' => 'Select all',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sep' => 'Eyl',
+ 'September' => 'Eylül',
+ 'Source' => 'Kaynak',
+ 'Standard' => 'Standard',
+ 'Statement' => 'Statement',
+ 'Statement sent to' => 'Statement sent to',
+ 'Statements sent to printer!' => 'Statements sent to printer!',
+ 'Subject' => 'Subject',
+ 'Subtotal' => 'Aratoplam',
+ 'Tax' => 'Vergi',
+ 'Tax collected' => 'Tax collected',
+ 'Tax paid' => 'Tax paid',
+ 'To' => 'Bitiþ',
+ 'Total' => 'Toplam',
+ 'Trial Balance' => 'Proforma Bilanço',
+ 'Vendor' => 'Satýcý',
+ 'as at' => 'as at',
+ 'collected on sales' => 'collected on sales',
+ 'for Period' => 'Dönem:',
+ 'paid on purchases' => 'paid on purchases',
+ 'to' => 'to',
+};
+
+$self{subs} = {
+ 'aging' => 'aging',
+ 'continue' => 'continue',
+ 'e_mail' => 'e_mail',
+ 'generate_ap_aging' => 'generate_ap_aging',
+ 'generate_ar_aging' => 'generate_ar_aging',
+ 'generate_balance_sheet' => 'generate_balance_sheet',
+ 'generate_income_statement' => 'generate_income_statement',
+ 'generate_tax_report' => 'generate_tax_report',
+ 'generate_trial_balance' => 'generate_trial_balance',
+ 'list_payments' => 'list_payments',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'report' => 'report',
+ 'select_all' => 'select_all',
+ 'send_email' => 'send_email',
+ 'statement_details' => 'statement_details',
+ 'tax_subtotal' => 'tax_subtotal',
+ 'devam' => 'continue',
+ 'posta' => 'e_mail',
+ 'print' => 'print',
+ 'select_all' => 'select_all',
+};
+
+1;
diff --git a/sql-ledger/locale/tw/COPYING b/sql-ledger/locale/tw/COPYING
new file mode 100644
index 0000000..835a214
--- /dev/null
+++ b/sql-ledger/locale/tw/COPYING
@@ -0,0 +1,25 @@
+######################################################################
+# SQL-Ledger Accounting
+# Copyright (c) 2001
+#
+# Traditional Chinese texts:
+#
+# Author: ¤è²»³Ç (Jacky Fang) <jackyf@5star.com.tw>
+# Chien Hsin Chang <werther@elixus.org>
+# Autrijus Tang <autrijus@autrijus.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+#######################################################################
+
diff --git a/sql-ledger/locale/tw/LANGUAGE b/sql-ledger/locale/tw/LANGUAGE
new file mode 100644
index 0000000..b8ba9c3
--- /dev/null
+++ b/sql-ledger/locale/tw/LANGUAGE
@@ -0,0 +1 @@
+Traditional Chinese
diff --git a/sql-ledger/locale/tw/admin b/sql-ledger/locale/tw/admin
new file mode 100644
index 0000000..6c19c11
--- /dev/null
+++ b/sql-ledger/locale/tw/admin
@@ -0,0 +1,122 @@
+$self{texts} = {
+ 'Access Control' => 'Åv­­±±¨î',
+ 'Accounting' => '·|­p',
+ 'Add User' => '·s¼W¨Ï¥ÎªÌ',
+ 'Address' => '¦a§}',
+ 'Administration' => '¨t²ÎºÞ²z',
+ 'Administrator' => 'Administrator',
+ 'All Datasets up to date!' => '©Ò¦³¸ê®Æ¬Ò¤w§ó·s!',
+ 'Change Admin Password' => '§ó§ïºÞ²z­û±K½X',
+ 'Change Password' => '§ó§ï±K½X',
+ 'Character Set' => '¦r¤¸¶°',
+ 'Click on login name to edit!' => '½Ð«öµn¤J¦WºÙ¥H¶i¦æ­×§ï!',
+ 'Company' => '¤½¥q¦WºÙ',
+ 'Connect to' => '³sµ²¨ì',
+ 'Continue' => 'Ä~Äò',
+ 'Create Chart of Accounts' => '«Ø¥ß±b¤á¹Ïªí',
+ 'Create Dataset' => '«Ø¥ß¸ê®Æ¶°',
+ 'DBI not installed!' => '¥¼¦w¸Ë DBI ¼Ò²Õ!',
+ 'Database' => '¸ê®Æ®w',
+ 'Database Administration' => '¸ê®Æ®wºÞ²z',
+ 'Database Driver not checked!' => '¥¼¿ï©w¸ê®Æ®wÅX°Êµ{¦¡!',
+ 'Database User missing!' => '¥¼«ü©ú¸ê®Æ®w¨Ï¥ÎªÌ!',
+ 'Dataset' => '¸ê®Æ¶°',
+ 'Dataset missing!' => '¥¼«ü©ú¸ê®Æ¶°!',
+ 'Dataset updated!' => 'Dataset updated!',
+ 'Date Format' => '¤é´Á®æ¦¡',
+ 'Delete' => '§R°£',
+ 'Delete Dataset' => '§R°£¸ê®Æ¶°',
+ 'Directory' => '¥Ø¿ý',
+ 'Driver' => 'ÅX°Êµ{¦¡',
+ 'Dropdown Limit' => 'Dropdown Limit',
+ 'E-mail' => '¹q¤l¶l¥ó',
+ 'Edit User' => '½s¿è¨Ï¥ÎªÌ',
+ 'Existing Datasets' => '¬J¦³ªº¸ê®Æ¶°',
+ 'Fax' => '¶Ç¯u',
+ 'Host' => '¥D¾÷',
+ 'Hostname missing!' => '¥¼«ü©ú¥D¾÷¦WºÙ!',
+ 'Incorrect Password!' => '±K½X¿ù»~!',
+ 'Language' => '»y¨t',
+ 'Leave host and port field empty unless you want to make a remote connection.' => '°£«D±z·Q­n¶i¦æ»·ºÝ³s½u, §_«h½Ð±N¥D¾÷¤Î°ð¸¹¯d¥Õ.',
+ 'Login' => 'µn¤J',
+ 'Name' => '¦WºÙ',
+ 'New Templates' => '·s¼W¼Òª©',
+ 'No Database Drivers available!' => '¨S¦³¥i¥ÎªºÅX°Êµ{¦¡!',
+ 'No Dataset selected!' => '¥¼¿ï©w¸ê®Æ¶°!',
+ 'Nothing to delete!' => '¨S¦³¥i§R°£ªº¶µ¥Ø',
+ 'Number Format' => '¼Æ¦r®æ¦¡',
+ 'Oracle Database Administration' => 'Oracle ¸ê®Æ®wºÞ²z',
+ 'Password' => '±K½X',
+ 'Password changed!' => 'Password changed!',
+ 'Pg Database Administration' => 'Pg ¸ê®Æ®wºÞ²z',
+ 'Phone' => '¹q¸Ü¸¹½X',
+ 'Port' => '°ð¸¹',
+ 'Port missing!' => '¥¼«ü©ú°ð¸¹!',
+ 'Printer' => '¦Lªí¾÷',
+ 'Save' => 'Àx¦s',
+ 'Select a Dataset to delete and press "Continue"' => '½Ð¿ï¾Ü±ý§R°£ªº¸ê®Æ¶°, ¦A«ö "Ä~Äò"',
+ 'Setup Templates' => '³]©w¼Òª©',
+ 'Ship via' => 'Ship via',
+ 'Signature' => 'ñ¦W',
+ 'Stylesheet' => '¼Ë¦¡ªí',
+ 'Templates' => '¼Òª©',
+ 'The following Datasets are not in use and can be deleted' => '¤U¦C¸ê®Æ¶°¨Ã¥¼¨Ï¥Î, ¥i¥H§R°£',
+ 'The following Datasets need to be updated' => '¤U¦C¸ê®Æ¶°»Ý­n§ó·s',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => '³o¬O¹ï¬J¦s¸ê®Æ¨Ó·½ªºªì¨BÀˬd. ¦b¦¹¶¥¬q, ¤£·|§R°£©Î·s¼W¥ô¦ó¸ê®Æ!',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => '­Y­n·s¼W¸s²Õ¤ºªº¨Ï¥ÎªÌ, ½Ð½s¿è¦WºÙ, §ó§ïµn¤J¦W, µM«áÀx¦s. ³o¼Ë¤@¨Ó, ·s¨Ï¥ÎªÌ·|«O¯d¬Û¦PªºÅܼÆ, ¨Ã¥H·sªºµn¤J¦W¦s¤J.',
+ 'Update Dataset' => '§ó·s¸ê®Æ¶°',
+ 'Use Templates' => '¨Ï¥Î¼Òª©',
+ 'User' => '¨Ï¥ÎªÌ',
+ 'User deleted!' => 'User deleted!',
+ 'User saved!' => 'User saved!',
+ 'Version' => 'ª©¥»',
+ 'You must enter a host and port for local and remote connections!' => '±z¥²»ÝÁä¤J¥D¾÷¤Î°ð¸¹, ¥H¶i¦æ¥»¾÷©Î»·ºÝ³s½u!',
+ 'does not exist' => '¤£¦s¦b',
+ 'is already a member!' => '¤w¸g¬O¦¨­û¤F!',
+ 'localhost' => 'localhost',
+ 'successfully created!' => '¦¨¥\«Ø¥ß!',
+ 'successfully deleted!' => '¦¨¥\§R°£!',
+ 'website' => 'ºô¯¸',
+};
+
+$self{subs} = {
+ 'add_user' => 'add_user',
+ 'adminlogin' => 'adminlogin',
+ 'change_admin_password' => 'change_admin_password',
+ 'change_password' => 'change_password',
+ 'check_password' => 'check_password',
+ 'continue' => 'continue',
+ 'create_dataset' => 'create_dataset',
+ 'dbcreate' => 'dbcreate',
+ 'dbdelete' => 'dbdelete',
+ 'dbdriver_defaults' => 'dbdriver_defaults',
+ 'dbselect_source' => 'dbselect_source',
+ 'dbupdate' => 'dbupdate',
+ 'delete' => 'delete',
+ 'delete_dataset' => 'delete_dataset',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'get_value' => 'get_value',
+ 'list_users' => 'list_users',
+ 'login' => 'login',
+ 'login_name' => 'login_name',
+ 'oracle_database_administration' => 'oracle_database_administration',
+ 'pg_database_administration' => 'pg_database_administration',
+ 'save' => 'save',
+ 'update_dataset' => 'update_dataset',
+ '·s¼w¨Ï¥ÎªÌ' => 'add_user',
+ '§ó§ïºÞ²z­û±k½x' => 'change_admin_password',
+ '§ó§ï±k½x' => 'change_password',
+ 'Ä~Äò' => 'continue',
+ '«Ø¥ß¸ê®Æ¶°' => 'create_dataset',
+ '§r°£' => 'delete',
+ '§r°£¸ê®Æ¶°' => 'delete_dataset',
+ 'µn¤j' => 'login',
+ 'oracle_¸ê®Æ®wºÞ²z' => 'oracle_database_administration',
+ 'pg_¸ê®Æ®wºÞ²z' => 'pg_database_administration',
+ 'Àx¦s' => 'save',
+ '§ó·s¸ê®Æ¶°' => 'update_dataset',
+};
+
+1;
diff --git a/sql-ledger/locale/tw/all b/sql-ledger/locale/tw/all
new file mode 100644
index 0000000..016df2c
--- /dev/null
+++ b/sql-ledger/locale/tw/all
@@ -0,0 +1,487 @@
+# These are all the texts to build the translations files.
+# The file has the form of 'english text' => 'foreign text',
+# you can add the translation in this file or in the 'missing' file
+# run locales.pl from this directory to rebuild the translation files
+
+$self{texts} = {
+ 'AP' => 'À³¥I±b´Ú',
+ 'AP Aging' => 'À³¥I±bÄÖ¤ÀªR',
+ 'AP Transaction' => '',
+ 'AP Transactions' => 'À³¥I±b¥Ø',
+ 'AR' => 'À³¦¬±b´Ú',
+ 'AR Aging' => 'À³¦¬±bÄÖ¤ÀªR',
+ 'AR Transaction' => '',
+ 'AR Transactions' => 'À³¦¬±b¥Ø',
+ 'About' => 'Ãö©ó',
+ 'Access Control' => 'Åv­­±±¨î',
+ 'Account' => '¬ì¥Ø',
+ 'Account Number' => '¬ì¥Ø½s¸¹',
+ 'Account Number missing!' => 'º|¶ñ¬ì¥Ø½s¸¹!',
+ 'Account Type' => '¬ì¥ØÃþ§O',
+ 'Account Type missing!' => 'º|¶ñ¬ì¥ØÃþ§O!',
+ 'Account deleted!' => '',
+ 'Account saved!' => '',
+ 'Accounting' => '·|­p',
+ 'Accounting Menu' => '·|­p¿ï³æ',
+ 'Accounts' => '±b¤á',
+ 'Active' => '',
+ 'Add' => '·s¼W',
+ 'Add Account' => '·s¼W¬ì¥Ø',
+ 'Add Accounts Payables Transaction' => '',
+ 'Add Accounts Receivables Transaction' => '',
+ 'Add Assembly' => '·s¼W°Ó«~',
+ 'Add Customer' => '·s¼W«È¤á',
+ 'Add GIFI' => '·s¼W GIFI',
+ 'Add General Ledger Transaction' => '·s¼WÁ`±b',
+ 'Add Part' => '·s¼W­ì®Æ',
+ 'Add Project' => '',
+ 'Add Purchase Invoice' => '',
+ 'Add Purchase Order' => '·s¼W±ÄÁʳæ',
+ 'Add Sales Invoice' => '',
+ 'Add Sales Order' => '·s¼W¾P³f³æ',
+ 'Add Service' => '·s¼WªA°È',
+ 'Add Transaction' => '·s¼W±b¥Ø',
+ 'Add User' => '·s¼W¨Ï¥ÎªÌ',
+ 'Add Vendor' => '·s¼W¼t°Ó',
+ 'Address' => '¦a§}',
+ 'Administration' => '¨t²ÎºÞ²z',
+ 'Administrator' => '',
+ 'All' => '¥þ³¡',
+ 'All Datasets up to date!' => '©Ò¦³¸ê®Æ¬Ò¤w§ó·s!',
+ 'Amount' => 'Á`­p',
+ 'Amount Due' => '',
+ 'Amount does not equal applied!' => '',
+ 'Amount missing!' => '',
+ 'Applied' => '',
+ 'Apr' => '¥|¤ë',
+ 'April' => '¥|¤ë',
+ 'Are you sure you want to delete Invoice Number' => '±z½T©w­n§R°£µo²¼½s¸¹',
+ 'Are you sure you want to delete Order Number' => '±z¬O§_½T©w­n§R°£­q³æ',
+ 'Are you sure you want to delete Transaction' => '±z½T©w­n§R°£±b¥Ø',
+ 'Assemblies' => '°Ó«~',
+ 'Assemblies restocked!' => '',
+ 'Assembly Number missing!' => '¬dµL¦¹°Ó«~!',
+ 'Asset' => '¸ê²£',
+ 'Attachment' => 'ªþÀÉ',
+ 'Audit Control' => '½]®Ö±±¨î',
+ 'Aug' => '¤K¤ë',
+ 'August' => '¤K¤ë',
+ 'BOM' => '',
+ 'Backup' => '³Æ¥÷',
+ 'Backup sent to' => '³Æ¥÷±H°e¨ì',
+ 'Balance' => '',
+ 'Balance Sheet' => '¸ê²£­t¶Åªí',
+ 'Bcc' => '',
+ 'Bin' => '½c',
+ 'Books are open' => '±bï¤w¶}±Ò',
+ 'Bought' => '¤wÁʶR',
+ 'Business Number' => '²Î¤@½s¸¹',
+ 'C' => '',
+ 'COGS' => '³f¾P¦¨¥»',
+ 'Cannot delete account!' => '',
+ 'Cannot delete customer!' => '',
+ 'Cannot delete default account!' => '',
+ 'Cannot delete invoice!' => '',
+ 'Cannot delete item already invoiced!' => '',
+ 'Cannot delete item on order!' => 'µLªk§R°£³æ¤Wªº¶µ¥Ø!',
+ 'Cannot delete item which is part of an assembly!' => '',
+ 'Cannot delete item!' => '',
+ 'Cannot delete order!' => '',
+ 'Cannot delete transaction!' => '',
+ 'Cannot delete vendor!' => '',
+ 'Cannot have a value in both Debit and Credit!' => '',
+ 'Cannot post a transaction without a value!' => '',
+ 'Cannot post invoice for a closed period!' => '',
+ 'Cannot post invoice!' => '',
+ 'Cannot post payment for a closed period!' => '',
+ 'Cannot post payment!' => '',
+ 'Cannot post transaction for a closed period!' => 'µLªk¦b¤wÃö³¬ªº®É¬q¤º¥[¤J¥æ©ö!',
+ 'Cannot post transaction!' => '',
+ 'Cannot process payment for a closed period!' => '',
+ 'Cannot save account!' => '',
+ 'Cannot save order!' => '',
+ 'Cannot save preferences!' => '',
+ 'Cannot stock assemblies!' => '',
+ 'Cash' => '',
+ 'Cash based' => '',
+ 'Cc' => '',
+ 'Change Admin Password' => '§ó§ïºÞ²z­û±K½X',
+ 'Change Password' => '§ó§ï±K½X',
+ 'Character Set' => '¦r¤¸¶°',
+ 'Chart of Accounts' => '·|­p¬ì¥Øªí',
+ 'Check' => '',
+ 'Check printed!' => '',
+ 'Check printing failed!' => '',
+ 'Cleared Balance' => '',
+ 'Click on login name to edit!' => '½Ð«öµn¤J¦WºÙ¥H¶i¦æ­×§ï!',
+ 'Close Books up to' => 'Ãö³¬¨ì¦¹¬°¤îªº±bï',
+ 'Closed' => '¤wÃö³¬',
+ 'Company' => '¤½¥q¦WºÙ',
+ 'Compare to' => '¹ï·Ó',
+ 'Confirm!' => '¤J±b¦¨¥\!',
+ 'Connect to' => '³sµ²¨ì',
+ 'Contact' => '³sµ¸¤H',
+ 'Continue' => 'Ä~Äò',
+ 'Copies' => '«þ¨©',
+ 'Copy to COA' => '½Æ»s¨ì COA',
+ 'Create Chart of Accounts' => '«Ø¥ß±b¤á¹Ïªí',
+ 'Create Dataset' => '«Ø¥ß¸ê®Æ¶°',
+ 'Credit' => '¶U¤è',
+ 'Credit Limit' => '«H¥ÎÃB«×',
+ 'Curr' => '¥Ø«e',
+ 'Currency' => '¹ô§O',
+ 'Current' => '',
+ 'Customer' => '«È¤á',
+ 'Customer deleted!' => '',
+ 'Customer missing!' => '',
+ 'Customer not on file!' => '',
+ 'Customer saved!' => '',
+ 'Customers' => '',
+ 'DBI not installed!' => '¥¼¦w¸Ë DBI ¼Ò²Õ!',
+ 'Database' => '¸ê®Æ®w',
+ 'Database Administration' => '¸ê®Æ®wºÞ²z',
+ 'Database Driver not checked!' => '¥¼¿ï©w¸ê®Æ®wÅX°Êµ{¦¡!',
+ 'Database Host' => '¸ê®Æ®w¥D¾÷',
+ 'Database User missing!' => '¥¼«ü©ú¸ê®Æ®w¨Ï¥ÎªÌ!',
+ 'Dataset' => '¸ê®Æ¶°',
+ 'Dataset missing!' => '¥¼«ü©ú¸ê®Æ¶°!',
+ 'Dataset updated!' => '',
+ 'Date' => '¤é´Á',
+ 'Date Due' => 'À³¥I¤é´Á',
+ 'Date Format' => '¤é´Á®æ¦¡',
+ 'Date Paid' => '¥I´Ú¤é´Á',
+ 'Date missing!' => '',
+ 'Debit' => '­É¤è',
+ 'Debit and credit out of balance!' => '­É¶U¤£¥­¿Å!',
+ 'Dec' => '¤Q¤G¤ë',
+ 'December' => '¤Q¤G¤ë',
+ 'Decimalplaces' => '',
+ 'Delete' => '§R°£',
+ 'Delete Account' => '§R°£¬ì¥Ø',
+ 'Delete Dataset' => '§R°£¸ê®Æ¶°',
+ 'Delivery Date' => '',
+ 'Deposit' => '',
+ 'Description' => '»¡©ú',
+ 'Difference' => '',
+ 'Directory' => '¥Ø¿ý',
+ 'Discount' => '§é¦©',
+ 'Done' => '',
+ 'Drawing' => '',
+ 'Driver' => 'ÅX°Êµ{¦¡',
+ 'Dropdown Limit' => '',
+ 'Due' => '¨ì´Á',
+ 'Due Date' => '¨ì´Á¤é',
+ 'Due Date missing!' => 'º|¶ñ¨ì´Á¤é!',
+ 'E-mail' => '¹q¤l¶l¥ó',
+ 'E-mail Statement to' => '',
+ 'E-mail address missing!' => 'º|¶ñ¹q¤l¶l¥ó¦ì§}!',
+ 'Edit' => '',
+ 'Edit Account' => '½s¿è¬ì¥Ø',
+ 'Edit Accounts Payables Transaction' => '',
+ 'Edit Accounts Receivables Transaction' => '',
+ 'Edit Assembly' => '½s¿è°Ó«~',
+ 'Edit GIFI' => '½s¿è GIFI',
+ 'Edit General Ledger Transaction' => '½s¿èÁ`±b',
+ 'Edit Part' => '½s¿è­ì®Æ',
+ 'Edit Preferences for' => '³]©w¨Ï¥ÎªÌ',
+ 'Edit Project' => '',
+ 'Edit Purchase Invoice' => '',
+ 'Edit Purchase Order' => '½s¿è±ÄÁʳæ',
+ 'Edit Sales Invoice' => '',
+ 'Edit Sales Order' => '½s¿è¾P³f³æ',
+ 'Edit Service' => '½s¿èªA°È',
+ 'Edit Template' => '½s¿è¼Òª©',
+ 'Edit User' => '½s¿è¨Ï¥ÎªÌ',
+ 'Employee' => '',
+ 'Enforce transaction reversal for all dates' => '±j¨î©Ò¦³¤é´Áªº¥æ©ö¦^´_',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => '½ÐÁä¤J¥H«_¸¹¤À¹jªº­^¤å¦r¥À, ¨C¶µ¤£¶W¹L¤T­Ó¦r (¦p CAD:USD:EUR), §@¬°±zªº¥»°ê¤Î¥~°ê³f¹ô',
+ 'Equity' => 'ªÑÅv',
+ 'Exch' => '¶×²v',
+ 'Exchangerate' => '¶×²v',
+ 'Exchangerate Difference' => '',
+ 'Exchangerate for payment missing!' => '',
+ 'Exchangerate missing!' => '',
+ 'Existing Datasets' => '¬J¦³ªº¸ê®Æ¶°',
+ 'Expense' => '¶O¥Î',
+ 'Expense Account' => '¶O¥Î¬ì¥Ø',
+ 'Expense/Asset' => '¶O¥Î/¸ê²£',
+ 'Extended' => '',
+ 'Fax' => '¶Ç¯u',
+ 'Feb' => '¤G¤ë',
+ 'February' => '¤G¤ë',
+ 'Foreign Exchange Gain' => '¥~¶×¦¬¯q',
+ 'Foreign Exchange Loss' => '¥~¶×·l¥¢',
+ 'From' => '±q',
+ 'GIFI' => '',
+ 'GIFI deleted!' => '',
+ 'GIFI missing!' => '¥¼«ü©ú GIFI!',
+ 'GIFI saved!' => '',
+ 'GL Transaction' => '',
+ 'General Ledger' => 'Á`±b',
+ 'Goods & Services' => '³fª«¤ÎªA°È',
+ 'HTML Templates' => 'HTML ªí³æ',
+ 'Heading' => 'ªíÀY',
+ 'Host' => '¥D¾÷',
+ 'Hostname missing!' => '¥¼«ü©ú¥D¾÷¦WºÙ!',
+ 'ID' => '½s¸¹',
+ 'Image' => '',
+ 'In-line' => '¦æ¤º',
+ 'Include in Report' => '¤@¨ÖÅã¥Ü',
+ 'Include in drop-down menus' => '¥]§t¦b¤U©Ô¦¡¿ï³æ¤¤',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => '­n±N³o­Ó«È¤á/¼t°Ó¥[¤JÀ³¥[µ|²M³æ?',
+ 'Income' => '¦¬¯q',
+ 'Income Account' => '·l¯q¬ì¥Ø',
+ 'Income Statement' => '·l¯qªí',
+ 'Incorrect Dataset version!' => '¸ê®Æ¶°ª©¥»¿ù»~!',
+ 'Incorrect Password!' => '±K½X¿ù»~!',
+ 'Individual Items' => '²Õ¦¨¶µ¥Ø',
+ 'Inventory' => '®w¦s',
+ 'Inventory Account' => '¦s³f¬ì¥Ø',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => '¦b°±¥Î¦¹¶µ²Õ¦X«~¤§«e, ¦s³f¼Æ¶q¥²»Ý¬°¹s!',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => '°±¥Î¦¹¶µ¹s¥ó¤§«e, ¦s³f¼Æ¶q¥²»Ý¬°¹s!',
+ 'Inventory quantity must be zero!' => '¦s³f¼Æ¶q¥²»Ý¬°¹s!',
+ 'Invoice' => 'µo²¼',
+ 'Invoice Date' => 'µo²¼¤é´Á',
+ 'Invoice Date missing!' => 'µo²¼¤é´Á¿ù»~!',
+ 'Invoice Number' => 'µo²¼½s¸¹',
+ 'Invoice Number missing!' => 'µo²¼½s¸¹¿ù»~!',
+ 'Invoice deleted!' => '',
+ 'Invoice posted!' => '',
+ 'Invoices' => '',
+ 'Is this a summary account to record' => '¦¹¬°Á`µ²¬ì¥Ø¶Ü?',
+ 'Item deleted!' => '',
+ 'Item not on file!' => '¬dµL¦¹¶µ¥Ø',
+ 'Jan' => '¤@¤ë',
+ 'January' => '¤@¤ë',
+ 'Jul' => '¤C¤ë',
+ 'July' => '¤C¤ë',
+ 'Jun' => '¤»¤ë',
+ 'June' => '¤»¤ë',
+ 'LaTeX Templates' => 'LaTex ¼Òª©',
+ 'Language' => '»y¨t',
+ 'Last Cost' => '¤W¤@µ§¦¨¥»',
+ 'Last Invoice Number' => '¤W¤@µ§µo²¼½s¸¹',
+ 'Last Numbers & Default Accounts' => '¤W¤@µ§½s¸¹¤Î¹w³]¬ì¥Ø',
+ 'Last Purchase Order Number' => '«e¦¸±ÄÁʳ渹',
+ 'Last Sales Order Number' => '«e¦¸¾P',
+ 'Leave host and port field empty unless you want to make a remote connection.' => '°£«D±z·Q­n¶i¦æ»·ºÝ³s½u, §_«h½Ð±N¥D¾÷¤Î°ð¸¹¯d¥Õ.',
+ 'Liability' => '­t¶Å',
+ 'Licensed to' => '±ÂÅv¤©',
+ 'Line Total' => 'Á`¦C¼Æ',
+ 'Link' => '³sµ²',
+ 'Link Accounts' => '³sµ²¬ì¥Ø',
+ 'List Accounts' => '¦C¥X±b¸¹',
+ 'List GIFI' => '¦C¥X GIFI',
+ 'List Price' => '¶i»ù',
+ 'List Transactions' => '¦C¥X±b¥Ø',
+ 'Login' => 'µn¤J',
+ 'Logout' => 'µn¥X',
+ 'Make' => '»s³y',
+ 'Mar' => '¤T¤ë',
+ 'March' => '¤T¤ë',
+ 'May' => '¤­¤ë',
+ 'May ' => '¤­¤ë',
+ 'Message' => '°T®§',
+ 'Microfiche' => '',
+ 'Model' => '«¬¸¹',
+ 'N/A' => '¤£¾A¥Î',
+ 'Name' => '¦WºÙ',
+ 'Name missing!' => '',
+ 'New Templates' => '·s¼W¼Òª©',
+ 'No' => '§_',
+ 'No Database Drivers available!' => '¨S¦³¥i¥ÎªºÅX°Êµ{¦¡!',
+ 'No Dataset selected!' => '¥¼¿ï©w¸ê®Æ¶°!',
+ 'No email address for' => '¥¼«ü©ú¹q¤l¶l¥ó¦ì¸m',
+ 'No.' => '',
+ 'Notes' => '³Æµù',
+ 'Nothing applied!' => '',
+ 'Nothing selected!' => '',
+ 'Nothing to delete!' => '¨S¦³¥i§R°£ªº¶µ¥Ø',
+ 'Nov' => '¤Q¤@¤ë',
+ 'November' => '¤Q¤@¤ë',
+ 'Number' => '½s¸¹',
+ 'Number Format' => '¼Æ¦r®æ¦¡',
+ 'Number missing in Row' => '¦¹¦C¤¤¯Ê¤Ö¼Æ­È',
+ 'O' => '',
+ 'Obsolete' => '°±¥Î',
+ 'Oct' => '¤Q¤ë',
+ 'October' => '¤Q¤ë',
+ 'On Hand' => '¦s¶q',
+ 'On Order' => '',
+ 'Open' => '¶}±Ò',
+ 'Oracle Database Administration' => 'Oracle ¸ê®Æ®wºÞ²z',
+ 'Order' => '­q³æ',
+ 'Order Date' => '¤U³æ¤é´Á',
+ 'Order Date missing!' => '¥¼«ü©ú¤U³æ¤é´Á!',
+ 'Order Entry' => '¤U³æ¶µ¥Ø',
+ 'Order Number' => '­q³æ½s¸¹',
+ 'Order Number missing!' => '¥¼«ü©ú­q³æ½s¸¹!',
+ 'Order deleted!' => '',
+ 'Order saved!' => '',
+ 'Ordered' => '',
+ 'Orphaned' => 'µL¥D',
+ 'Out of balance!' => '',
+ 'PDF' => '',
+ 'Packing List' => '¥X³f³æ',
+ 'Packing List Date missing!' => '¥¼«ü©ú¥]¸Ë²M³æ¤é´Á!',
+ 'Packing List Number missing!' => '¥¼«ü©ú¥]¸Ë²M³æ½s¸¹!',
+ 'Paid' => '¤w¥I',
+ 'Paid in full' => '',
+ 'Part' => '­ì®Æ',
+ 'Part Number missing!' => 'º|¶ñ­ì®Æ½s¸¹!',
+ 'Parts' => '­ì®Æ',
+ 'Parts Inventory' => '®w¦s­ì®Æ',
+ 'Password' => '±K½X',
+ 'Password changed!' => '',
+ 'Payables' => 'À³¥I¬ì¥Ø',
+ 'Payment' => '¥I´Ú¤è¦¡',
+ 'Payment date missing!' => '¥¼«ü©ú¥I´Ú¤é´Á!',
+ 'Payment posted!' => '',
+ 'Payments' => '¥I´Ú',
+ 'Pg Database Administration' => 'Pg ¸ê®Æ®wºÞ²z',
+ 'Phone' => '¹q¸Ü¸¹½X',
+ 'Port' => '°ð¸¹',
+ 'Port missing!' => '¥¼«ü©ú°ð¸¹!',
+ 'Post' => '',
+ 'Post as new' => '',
+ 'Postscript' => '',
+ 'Preferences' => '­Ó¤H³]©w',
+ 'Preferences saved!' => '­Ó¤H³]©w¤wÀx¦s!',
+ 'Price' => '»ù®æ',
+ 'Print' => '',
+ 'Printer' => '¦Lªí¾÷',
+ 'Project' => '',
+ 'Project Number missing!' => '',
+ 'Project deleted!' => '',
+ 'Project not on file!' => '',
+ 'Project saved!' => '',
+ 'Projects' => '',
+ 'Purchase Invoice' => '',
+ 'Purchase Order' => '±ÄÁʳæ',
+ 'Purchase Orders' => '±ÄÁʳæ',
+ 'Qty' => '¼Æ¶q',
+ 'ROP' => '¦A­qÂI',
+ 'Rate' => 'µ|²v',
+ 'Recd' => '',
+ 'Receipt' => '',
+ 'Receipts' => '',
+ 'Receivables' => 'À³¦¬¬ì¥Ø',
+ 'Reconciliation' => '',
+ 'Record in' => '°O¿ý©ó',
+ 'Reference' => '',
+ 'Reference missing!' => '',
+ 'Remaining' => '©|¾l',
+ 'Report for' => '³øªí¨Ó·½',
+ 'Reports' => '³øªí',
+ 'Required by' => '¤l¶µ¥Ø',
+ 'Retained Earnings' => '«O¯d¬Õ¾l',
+ 'Sales' => '·~°È',
+ 'Sales Invoice' => '',
+ 'Sales Order' => '¾P³f³æ',
+ 'Sales Orders' => '¾P³f³æ',
+ 'Save' => 'Àx¦s',
+ 'Save as new' => '',
+ 'Save to File' => 'Àx¦s¦ÜÀÉ®×',
+ 'Screen' => '¿Ã¹õ',
+ 'Select a Dataset to delete and press "Continue"' => '½Ð¿ï¾Ü±ý§R°£ªº¸ê®Æ¶°, ¦A«ö "Ä~Äò"',
+ 'Select all' => '',
+ 'Select from one of the items below' => '©ó¤U¦C¶µ¥Ø¤¤¿ï¾Ü¤@¶µ',
+ 'Select from one of the names below' => '',
+ 'Select from one of the projects below' => '',
+ 'Select postscript or PDF!' => '',
+ 'Sell Price' => '°â»ù',
+ 'Send by E-Mail' => '¥H¹q¤l¶l¥ó±H°e',
+ 'Sep' => '¤E¤ë',
+ 'September' => '¤E¤ë',
+ 'Service' => 'ªA°È',
+ 'Service Items' => 'ªA°È¶µ¥Ø',
+ 'Service Number missing!' => 'º|¶ñªA°È½s¸¹!',
+ 'Services' => 'ªA°È',
+ 'Setup Templates' => '³]©w¼Òª©',
+ 'Ship' => '',
+ 'Ship to' => '',
+ 'Ship via' => '',
+ 'Short' => 'µu',
+ 'Signature' => 'ñ¦W',
+ 'Sold' => '¤w½æ¥X',
+ 'Source' => '¨Ó·½',
+ 'Standard' => '¼Ð·Ç',
+ 'Statement' => '',
+ 'Statement Balance' => '',
+ 'Statement sent to' => '',
+ 'Statements sent to printer!' => '',
+ 'Stock Assembly' => '½LÂI',
+ 'Stylesheet' => '¼Ë¦¡ªí',
+ 'Subject' => '¼ÐÃD',
+ 'Subtotal' => '¤p­p',
+ 'System' => '¨t²Î',
+ 'Tax' => 'µ|ª÷',
+ 'Tax Accounts' => 'µ|ª÷¬ì¥Ø',
+ 'Tax Included' => '¤£¦¬ªA°È¶O',
+ 'Tax collected' => '',
+ 'Tax paid' => '',
+ 'Taxable' => 'À³µ|',
+ 'Template saved!' => '',
+ 'Templates' => '¼Òª©',
+ 'Terms: Net' => '²¼´Á²b­p',
+ 'The following Datasets are not in use and can be deleted' => '¤U¦C¸ê®Æ¶°¨Ã¥¼¨Ï¥Î, ¥i¥H§R°£',
+ 'The following Datasets need to be updated' => '¤U¦C¸ê®Æ¶°»Ý­n§ó·s',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => '³o¬O¹ï¬J¦s¸ê®Æ¨Ó·½ªºªì¨BÀˬd. ¦b¦¹¶¥¬q, ¤£·|§R°£©Î·s¼W¥ô¦ó¸ê®Æ!',
+ 'To' => '¦Ü',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => '­Y­n·s¼W¸s²Õ¤ºªº¨Ï¥ÎªÌ, ½Ð½s¿è¦WºÙ, §ó§ïµn¤J¦W, µM«áÀx¦s. ³o¼Ë¤@¨Ó, ·s¨Ï¥ÎªÌ·|«O¯d¬Û¦PªºÅܼÆ, ¨Ã¥H·sªºµn¤J¦W¦s¤J.',
+ 'Top Level' => '',
+ 'Total' => 'Á`­p',
+ 'Transaction Date missing!' => 'º|¶ñ±b¥Ø¤é´Á!',
+ 'Transaction deleted!' => '',
+ 'Transaction posted!' => '',
+ 'Transaction reversal enforced for all dates' => '±j¨î¦^´_©Ò¦³¤é´Áªº¥æ©ö',
+ 'Transaction reversal enforced up to' => '±j¨î¦^´_¥æ©öª½¨ì',
+ 'Transactions' => '±b¥Ø',
+ 'Transactions exist, cannot delete customer!' => '¦¹«È¤á¤w¦³±b¥Ø, ¤£¯à§R°£!',
+ 'Transactions exist, cannot delete vendor!' => '¦¹¼t°Ó¤w¦³±b¥Ø, ¤£¯à§R°£!',
+ 'Transactions exist; cannot delete account!' => '©|¦³¥æ©ö¦s¦b; µLªk§R°£±b¤á!',
+ 'Trial Balance' => '¸Õºâªí',
+ 'Unit' => '³æ¦ì',
+ 'Unit of measure' => '«×¶q³æ¦ì',
+ 'Update' => '',
+ 'Update Dataset' => '§ó·s¸ê®Æ¶°',
+ 'Updated' => '',
+ 'Use Templates' => '¨Ï¥Î¼Òª©',
+ 'User' => '¨Ï¥ÎªÌ',
+ 'User deleted!' => '',
+ 'User saved!' => '',
+ 'Vendor' => '¼t°Ó',
+ 'Vendor deleted!' => '',
+ 'Vendor missing!' => '',
+ 'Vendor not on file!' => '',
+ 'Vendor saved!' => '',
+ 'Vendors' => '',
+ 'Version' => 'ª©¥»',
+ 'Weight' => '­«¶q',
+ 'Weight Unit' => '­«¶q³æ¦ì',
+ 'What type of item is this?' => '¦¹¶µ¥Øªº«¬ºA?',
+ 'Year End' => '·|­p¦~«×',
+ 'Yes' => '¬O',
+ 'You are logged out!' => '',
+ 'You did not enter a name!' => '±z¨Ã¥¼Áä¤J¦WºÙ!',
+ 'You must enter a host and port for local and remote connections!' => '±z¥²»ÝÁä¤J¥D¾÷¤Î°ð¸¹, ¥H¶i¦æ¥»¾÷©Î»·ºÝ³s½u!',
+ 'as at' => '',
+ 'collected on sales' => '¦b¾P³f®Éµ²²M',
+ 'days' => '¤é',
+ 'does not exist' => '¤£¦s¦b',
+ 'ea' => '­Ó',
+ 'emailed to' => '¤w±H¦Ü',
+ 'for Period' => '´Á¶¡',
+ 'hr' => 'hr',
+ 'is already a member!' => '¤w¸g¬O¦¨­û¤F!',
+ 'is not a member!' => '¨Ã¤£¬O¦¨­û!',
+ 'localhost' => 'localhost',
+ 'paid on purchases' => '¦b±ÄÁʮɵ²²M',
+ 'sent to printer' => '°e¦Ü¦Lªí¾÷',
+ 'successfully created!' => '¦¨¥\«Ø¥ß!',
+ 'successfully deleted!' => '¦¨¥\§R°£!',
+ 'to' => '',
+ 'website' => 'ºô¯¸',
+};
+
+1;
diff --git a/sql-ledger/locale/tw/am b/sql-ledger/locale/tw/am
new file mode 100644
index 0000000..77df0d3
--- /dev/null
+++ b/sql-ledger/locale/tw/am
@@ -0,0 +1,139 @@
+$self{texts} = {
+ 'AP' => 'À³¥I±b´Ú',
+ 'AR' => 'À³¦¬±b´Ú',
+ 'Account' => '¬ì¥Ø',
+ 'Account Number' => '¬ì¥Ø½s¸¹',
+ 'Account Number missing!' => 'º|¶ñ¬ì¥Ø½s¸¹!',
+ 'Account Type' => '¬ì¥ØÃþ§O',
+ 'Account Type missing!' => 'º|¶ñ¬ì¥ØÃþ§O!',
+ 'Account deleted!' => 'Account deleted!',
+ 'Account saved!' => 'Account saved!',
+ 'Add Account' => '·s¼W¬ì¥Ø',
+ 'Add GIFI' => '·s¼W GIFI',
+ 'Address' => '¦a§}',
+ 'Asset' => '¸ê²£',
+ 'Audit Control' => '½]®Ö±±¨î',
+ 'Backup sent to' => '³Æ¥÷±H°e¨ì',
+ 'Books are open' => '±bï¤w¶}±Ò',
+ 'Business Number' => '²Î¤@½s¸¹',
+ 'COGS' => '³f¾P¦¨¥»',
+ 'Cannot delete account!' => 'Cannot delete account!',
+ 'Cannot delete default account!' => 'Cannot delete default account!',
+ 'Cannot save account!' => 'Cannot save account!',
+ 'Cannot save preferences!' => 'Cannot save preferences!',
+ 'Character Set' => '¦r¤¸¶°',
+ 'Chart of Accounts' => '·|­p¬ì¥Øªí',
+ 'Close Books up to' => 'Ãö³¬¨ì¦¹¬°¤îªº±bï',
+ 'Company' => '¤½¥q¦WºÙ',
+ 'Continue' => 'Ä~Äò',
+ 'Copy to COA' => '½Æ»s¨ì COA',
+ 'Credit' => '¶U¤è',
+ 'Date Format' => '¤é´Á®æ¦¡',
+ 'Debit' => '­É¤è',
+ 'Delete' => '§R°£',
+ 'Delete Account' => '§R°£¬ì¥Ø',
+ 'Description' => '»¡©ú',
+ 'Dropdown Limit' => 'Dropdown Limit',
+ 'E-mail' => '¹q¤l¶l¥ó',
+ 'Edit' => 'Edit',
+ 'Edit Account' => '½s¿è¬ì¥Ø',
+ 'Edit GIFI' => '½s¿è GIFI',
+ 'Edit Preferences for' => '³]©w¨Ï¥ÎªÌ',
+ 'Edit Template' => '½s¿è¼Òª©',
+ 'Enforce transaction reversal for all dates' => '±j¨î©Ò¦³¤é´Áªº¥æ©ö¦^´_',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => '½ÐÁä¤J¥H«_¸¹¤À¹jªº­^¤å¦r¥À, ¨C¶µ¤£¶W¹L¤T­Ó¦r (¦p CAD:USD:EUR), §@¬°±zªº¥»°ê¤Î¥~°ê³f¹ô',
+ 'Equity' => 'ªÑÅv',
+ 'Expense' => '¶O¥Î',
+ 'Expense Account' => '¶O¥Î¬ì¥Ø',
+ 'Expense/Asset' => '¶O¥Î/¸ê²£',
+ 'Fax' => '¶Ç¯u',
+ 'Foreign Exchange Gain' => '¥~¶×¦¬¯q',
+ 'Foreign Exchange Loss' => '¥~¶×·l¥¢',
+ 'GIFI' => 'GIFI',
+ 'GIFI deleted!' => 'GIFI deleted!',
+ 'GIFI missing!' => '¥¼«ü©ú GIFI!',
+ 'GIFI saved!' => 'GIFI saved!',
+ 'Heading' => 'ªíÀY',
+ 'Include in drop-down menus' => '¥]§t¦b¤U©Ô¦¡¿ï³æ¤¤',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => '­n±N³o­Ó«È¤á/¼t°Ó¥[¤JÀ³¥[µ|²M³æ?',
+ 'Income' => '¦¬¯q',
+ 'Income Account' => '·l¯q¬ì¥Ø',
+ 'Inventory' => '®w¦s',
+ 'Inventory Account' => '¦s³f¬ì¥Ø',
+ 'Is this a summary account to record' => '¦¹¬°Á`µ²¬ì¥Ø¶Ü?',
+ 'Language' => '»y¨t',
+ 'Last Invoice Number' => '¤W¤@µ§µo²¼½s¸¹',
+ 'Last Numbers & Default Accounts' => '¤W¤@µ§½s¸¹¤Î¹w³]¬ì¥Ø',
+ 'Last Purchase Order Number' => '«e¦¸±ÄÁʳ渹',
+ 'Last Sales Order Number' => '«e¦¸¾P',
+ 'Liability' => '­t¶Å',
+ 'Link' => '³sµ²',
+ 'Name' => '¦WºÙ',
+ 'No' => '§_',
+ 'No email address for' => '¥¼«ü©ú¹q¤l¶l¥ó¦ì¸m',
+ 'Number' => '½s¸¹',
+ 'Number Format' => '¼Æ¦r®æ¦¡',
+ 'Parts Inventory' => '®w¦s­ì®Æ',
+ 'Password' => '±K½X',
+ 'Payables' => 'À³¥I¬ì¥Ø',
+ 'Payment' => '¥I´Ú¤è¦¡',
+ 'Phone' => '¹q¸Ü¸¹½X',
+ 'Preferences saved!' => '­Ó¤H³]©w¤wÀx¦s!',
+ 'Rate' => 'µ|²v',
+ 'Receivables' => 'À³¦¬¬ì¥Ø',
+ 'Sales' => '·~°È',
+ 'Save' => 'Àx¦s',
+ 'Service Items' => 'ªA°È¶µ¥Ø',
+ 'Ship via' => 'Ship via',
+ 'Signature' => 'ñ¦W',
+ 'Stylesheet' => '¼Ë¦¡ªí',
+ 'Tax' => 'µ|ª÷',
+ 'Tax Accounts' => 'µ|ª÷¬ì¥Ø',
+ 'Template saved!' => 'Template saved!',
+ 'Transaction reversal enforced for all dates' => '±j¨î¦^´_©Ò¦³¤é´Áªº¥æ©ö',
+ 'Transaction reversal enforced up to' => '±j¨î¦^´_¥æ©öª½¨ì',
+ 'Transactions exist; cannot delete account!' => '©|¦³¥æ©ö¦s¦b; µLªk§R°£±b¤á!',
+ 'Weight Unit' => '­«¶q³æ¦ì',
+ 'Year End' => '·|­p¦~«×',
+ 'Yes' => '¬O',
+ 'does not exist' => '¤£¦s¦b',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_gifi' => 'add_gifi',
+ 'audit_control' => 'audit_control',
+ 'backup' => 'backup',
+ 'config' => 'config',
+ 'continue' => 'continue',
+ 'copy_to_coa' => 'copy_to_coa',
+ 'delete' => 'delete',
+ 'delete_account' => 'delete_account',
+ 'delete_gifi' => 'delete_gifi',
+ 'display_form' => 'display_form',
+ 'display_stylesheet' => 'display_stylesheet',
+ 'doclose' => 'doclose',
+ 'edit' => 'edit',
+ 'edit_gifi' => 'edit_gifi',
+ 'edit_template' => 'edit_template',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gifi_footer' => 'gifi_footer',
+ 'gifi_header' => 'gifi_header',
+ 'list' => 'list',
+ 'list_gifi' => 'list_gifi',
+ 'save' => 'save',
+ 'save_account' => 'save_account',
+ 'save_gifi' => 'save_gifi',
+ 'save_preferences' => 'save_preferences',
+ 'save_template' => 'save_template',
+ '·s¼w¬ì¥Ø' => 'add_account',
+ 'Ä~Äò' => 'continue',
+ '½Æ»s¨ì_coa' => 'copy_to_coa',
+ '§r°£' => 'delete',
+ 'edit' => 'edit',
+ '½s¿è¬ì¥Ø' => 'edit_account',
+ 'Àx¦s' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/tw/ap b/sql-ledger/locale/tw/ap
new file mode 100644
index 0000000..c251797
--- /dev/null
+++ b/sql-ledger/locale/tw/ap
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AP Transaction' => 'AP Transaction',
+ 'AP Transactions' => 'À³¥I±b¥Ø',
+ 'Account' => '¬ì¥Ø',
+ 'Add Accounts Payables Transaction' => 'Add Accounts Payables Transaction',
+ 'Address' => '¦a§}',
+ 'Amount' => 'Á`­p',
+ 'Amount Due' => 'Amount Due',
+ 'Apr' => '¥|¤ë',
+ 'April' => '¥|¤ë',
+ 'Are you sure you want to delete Transaction' => '±z½T©w­n§R°£±b¥Ø',
+ 'Aug' => '¤K¤ë',
+ 'August' => '¤K¤ë',
+ 'Cannot delete transaction!' => 'Cannot delete transaction!',
+ 'Cannot post payment for a closed period!' => 'Cannot post payment for a closed period!',
+ 'Cannot post transaction for a closed period!' => 'µLªk¦b¤wÃö³¬ªº®É¬q¤º¥[¤J¥æ©ö!',
+ 'Cannot post transaction!' => 'Cannot post transaction!',
+ 'Closed' => '¤wÃö³¬',
+ 'Confirm!' => '¤J±b¦¨¥\!',
+ 'Continue' => 'Ä~Äò',
+ 'Currency' => '¹ô§O',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => '¤é´Á',
+ 'Date Paid' => '¥I´Ú¤é´Á',
+ 'Dec' => '¤Q¤G¤ë',
+ 'December' => '¤Q¤G¤ë',
+ 'Delete' => '§R°£',
+ 'Description' => '»¡©ú',
+ 'Due Date' => '¨ì´Á¤é',
+ 'Due Date missing!' => 'º|¶ñ¨ì´Á¤é!',
+ 'Edit Accounts Payables Transaction' => 'Edit Accounts Payables Transaction',
+ 'Employee' => 'Employee',
+ 'Exch' => '¶×²v',
+ 'Exchangerate' => '¶×²v',
+ 'Exchangerate for payment missing!' => 'Exchangerate for payment missing!',
+ 'Exchangerate missing!' => 'Exchangerate missing!',
+ 'Feb' => '¤G¤ë',
+ 'February' => '¤G¤ë',
+ 'From' => '±q',
+ 'ID' => '½s¸¹',
+ 'Include in Report' => '¤@¨ÖÅã¥Ü',
+ 'Invoice' => 'µo²¼',
+ 'Invoice Date' => 'µo²¼¤é´Á',
+ 'Invoice Date missing!' => 'µo²¼¤é´Á¿ù»~!',
+ 'Invoice Number' => 'µo²¼½s¸¹',
+ 'Invoice Number missing!' => 'µo²¼½s¸¹¿ù»~!',
+ 'Jan' => '¤@¤ë',
+ 'January' => '¤@¤ë',
+ 'Jul' => '¤C¤ë',
+ 'July' => '¤C¤ë',
+ 'Jun' => '¤»¤ë',
+ 'June' => '¤»¤ë',
+ 'Mar' => '¤T¤ë',
+ 'March' => '¤T¤ë',
+ 'May' => '¤­¤ë',
+ 'May ' => '¤­¤ë',
+ 'Notes' => '³Æµù',
+ 'Nov' => '¤Q¤@¤ë',
+ 'November' => '¤Q¤@¤ë',
+ 'Number' => '½s¸¹',
+ 'Oct' => '¤Q¤ë',
+ 'October' => '¤Q¤ë',
+ 'Open' => '¶}±Ò',
+ 'Order' => '­q³æ',
+ 'Order Number' => '­q³æ½s¸¹',
+ 'Paid' => '¤w¥I',
+ 'Payment date missing!' => '¥¼«ü©ú¥I´Ú¤é´Á!',
+ 'Payments' => '¥I´Ú',
+ 'Post' => 'Post',
+ 'Post as new' => 'Post as new',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Purchase Invoice' => 'Purchase Invoice',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Sep' => '¤E¤ë',
+ 'September' => '¤E¤ë',
+ 'Source' => '¨Ó·½',
+ 'Subtotal' => '¤p­p',
+ 'Tax' => 'µ|ª÷',
+ 'Tax Included' => '¤£¦¬ªA°È¶O',
+ 'To' => '¦Ü',
+ 'Total' => 'Á`­p',
+ 'Transaction deleted!' => 'Transaction deleted!',
+ 'Transaction posted!' => 'Transaction posted!',
+ 'Update' => 'Update',
+ 'Vendor' => '¼t°Ó',
+ 'Vendor missing!' => 'Vendor missing!',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'Yes' => '¬O',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_subtotal' => 'ap_subtotal',
+ 'ap_transaction' => 'ap_transaction',
+ 'ap_transactions' => 'ap_transactions',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'ap_transaction' => 'ap_transaction',
+ 'add_accounts_payables_transaction' => 'add_accounts_payables_transaction',
+ 'Ä~Äò' => 'continue',
+ '§r°£' => 'delete',
+ 'edit_accounts_payables_transaction' => 'edit_accounts_payables_transaction',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'update' => 'update',
+ '¬o' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/tw/ar b/sql-ledger/locale/tw/ar
new file mode 100644
index 0000000..a864b41
--- /dev/null
+++ b/sql-ledger/locale/tw/ar
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AR Transaction' => 'AR Transaction',
+ 'AR Transactions' => 'À³¦¬±b¥Ø',
+ 'Account' => '¬ì¥Ø',
+ 'Add Accounts Receivables Transaction' => 'Add Accounts Receivables Transaction',
+ 'Address' => '¦a§}',
+ 'Amount' => 'Á`­p',
+ 'Amount Due' => 'Amount Due',
+ 'Apr' => '¥|¤ë',
+ 'April' => '¥|¤ë',
+ 'Are you sure you want to delete Transaction' => '±z½T©w­n§R°£±b¥Ø',
+ 'Aug' => '¤K¤ë',
+ 'August' => '¤K¤ë',
+ 'Cannot delete transaction!' => 'Cannot delete transaction!',
+ 'Cannot post payment for a closed period!' => 'Cannot post payment for a closed period!',
+ 'Cannot post transaction for a closed period!' => 'µLªk¦b¤wÃö³¬ªº®É¬q¤º¥[¤J¥æ©ö!',
+ 'Cannot post transaction!' => 'Cannot post transaction!',
+ 'Closed' => '¤wÃö³¬',
+ 'Confirm!' => '¤J±b¦¨¥\!',
+ 'Continue' => 'Ä~Äò',
+ 'Credit Limit' => '«H¥ÎÃB«×',
+ 'Currency' => '¹ô§O',
+ 'Customer' => '«È¤á',
+ 'Customer missing!' => 'Customer missing!',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => '¤é´Á',
+ 'Date Paid' => '¥I´Ú¤é´Á',
+ 'Dec' => '¤Q¤G¤ë',
+ 'December' => '¤Q¤G¤ë',
+ 'Delete' => '§R°£',
+ 'Description' => '»¡©ú',
+ 'Due Date' => '¨ì´Á¤é',
+ 'Due Date missing!' => 'º|¶ñ¨ì´Á¤é!',
+ 'Edit Accounts Receivables Transaction' => 'Edit Accounts Receivables Transaction',
+ 'Employee' => 'Employee',
+ 'Exch' => '¶×²v',
+ 'Exchangerate' => '¶×²v',
+ 'Exchangerate for payment missing!' => 'Exchangerate for payment missing!',
+ 'Exchangerate missing!' => 'Exchangerate missing!',
+ 'Feb' => '¤G¤ë',
+ 'February' => '¤G¤ë',
+ 'From' => '±q',
+ 'ID' => '½s¸¹',
+ 'Include in Report' => '¤@¨ÖÅã¥Ü',
+ 'Invoice' => 'µo²¼',
+ 'Invoice Date' => 'µo²¼¤é´Á',
+ 'Invoice Date missing!' => 'µo²¼¤é´Á¿ù»~!',
+ 'Invoice Number' => 'µo²¼½s¸¹',
+ 'Invoice Number missing!' => 'µo²¼½s¸¹¿ù»~!',
+ 'Jan' => '¤@¤ë',
+ 'January' => '¤@¤ë',
+ 'Jul' => '¤C¤ë',
+ 'July' => '¤C¤ë',
+ 'Jun' => '¤»¤ë',
+ 'June' => '¤»¤ë',
+ 'Mar' => '¤T¤ë',
+ 'March' => '¤T¤ë',
+ 'May' => '¤­¤ë',
+ 'May ' => '¤­¤ë',
+ 'Notes' => '³Æµù',
+ 'Nov' => '¤Q¤@¤ë',
+ 'November' => '¤Q¤@¤ë',
+ 'Number' => '½s¸¹',
+ 'Oct' => '¤Q¤ë',
+ 'October' => '¤Q¤ë',
+ 'Open' => '¶}±Ò',
+ 'Order' => '­q³æ',
+ 'Order Number' => '­q³æ½s¸¹',
+ 'Paid' => '¤w¥I',
+ 'Payment date missing!' => '¥¼«ü©ú¥I´Ú¤é´Á!',
+ 'Payments' => '¥I´Ú',
+ 'Post' => 'Post',
+ 'Post as new' => 'Post as new',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Remaining' => '©|¾l',
+ 'Sales Invoice' => 'Sales Invoice',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Sep' => '¤E¤ë',
+ 'September' => '¤E¤ë',
+ 'Source' => '¨Ó·½',
+ 'Subtotal' => '¤p­p',
+ 'Tax' => 'µ|ª÷',
+ 'Tax Included' => '¤£¦¬ªA°È¶O',
+ 'To' => '¦Ü',
+ 'Total' => 'Á`­p',
+ 'Transaction deleted!' => 'Transaction deleted!',
+ 'Transaction posted!' => 'Transaction posted!',
+ 'Update' => 'Update',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'Yes' => '¬O',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_subtotal' => 'ar_subtotal',
+ 'ar_transaction' => 'ar_transaction',
+ 'ar_transactions' => 'ar_transactions',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'ar_transaction' => 'ar_transaction',
+ 'Ä~Äò' => 'continue',
+ '§r°£' => 'delete',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'sales_invoice' => 'sales_invoice',
+ 'update' => 'update',
+ '¬o' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/tw/arap b/sql-ledger/locale/tw/arap
new file mode 100644
index 0000000..e82552c
--- /dev/null
+++ b/sql-ledger/locale/tw/arap
@@ -0,0 +1,30 @@
+$self{texts} = {
+ 'Address' => '¦a§}',
+ 'Continue' => 'Ä~Äò',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Description' => '»¡©ú',
+ 'Number' => '½s¸¹',
+ 'Project not on file!' => 'Project not on file!',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Vendor not on file!' => 'Vendor not on file!',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'Ä~Äò' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/tw/ca b/sql-ledger/locale/tw/ca
new file mode 100644
index 0000000..677a41f
--- /dev/null
+++ b/sql-ledger/locale/tw/ca
@@ -0,0 +1,50 @@
+$self{texts} = {
+ 'Account' => '¬ì¥Ø',
+ 'Apr' => '¥|¤ë',
+ 'April' => '¥|¤ë',
+ 'Aug' => '¤K¤ë',
+ 'August' => '¤K¤ë',
+ 'Balance' => 'Balance',
+ 'Chart of Accounts' => '·|­p¬ì¥Øªí',
+ 'Credit' => '¶U¤è',
+ 'Date' => '¤é´Á',
+ 'Debit' => '­É¤è',
+ 'Dec' => '¤Q¤G¤ë',
+ 'December' => '¤Q¤G¤ë',
+ 'Description' => '»¡©ú',
+ 'Feb' => '¤G¤ë',
+ 'February' => '¤G¤ë',
+ 'From' => '±q',
+ 'GIFI' => 'GIFI',
+ 'Include in Report' => '¤@¨ÖÅã¥Ü',
+ 'Jan' => '¤@¤ë',
+ 'January' => '¤@¤ë',
+ 'Jul' => '¤C¤ë',
+ 'July' => '¤C¤ë',
+ 'Jun' => '¤»¤ë',
+ 'June' => '¤»¤ë',
+ 'List Transactions' => '¦C¥X±b¥Ø',
+ 'Mar' => '¤T¤ë',
+ 'March' => '¤T¤ë',
+ 'May' => '¤­¤ë',
+ 'May ' => '¤­¤ë',
+ 'Nov' => '¤Q¤@¤ë',
+ 'November' => '¤Q¤@¤ë',
+ 'Oct' => '¤Q¤ë',
+ 'October' => '¤Q¤ë',
+ 'Reference' => 'Reference',
+ 'Sep' => '¤E¤ë',
+ 'September' => '¤E¤ë',
+ 'Subtotal' => '¤p­p',
+ 'To' => '¦Ü',
+};
+
+$self{subs} = {
+ 'ca_subtotal' => 'ca_subtotal',
+ 'chart_of_accounts' => 'chart_of_accounts',
+ 'list' => 'list',
+ 'list_transactions' => 'list_transactions',
+ '¦c¥x±b¥Ø' => 'list_transactions',
+};
+
+1;
diff --git a/sql-ledger/locale/tw/cp b/sql-ledger/locale/tw/cp
new file mode 100644
index 0000000..af8421a
--- /dev/null
+++ b/sql-ledger/locale/tw/cp
@@ -0,0 +1,75 @@
+$self{texts} = {
+ 'Account' => '¬ì¥Ø',
+ 'Address' => '¦a§}',
+ 'Amount' => 'Á`­p',
+ 'Amount does not equal applied!' => 'Amount does not equal applied!',
+ 'Amount missing!' => 'Amount missing!',
+ 'Applied' => 'Applied',
+ 'Cannot post payment!' => 'Cannot post payment!',
+ 'Cannot process payment for a closed period!' => 'Cannot process payment for a closed period!',
+ 'Check' => 'Check',
+ 'Check printed!' => 'Check printed!',
+ 'Check printing failed!' => 'Check printing failed!',
+ 'Continue' => 'Ä~Äò',
+ 'Currency' => '¹ô§O',
+ 'Customer' => '«È¤á',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => '¤é´Á',
+ 'Date missing!' => 'Date missing!',
+ 'Description' => '»¡©ú',
+ 'Due' => '¨ì´Á',
+ 'Exchangerate' => '¶×²v',
+ 'From' => '±q',
+ 'Invoice' => 'µo²¼',
+ 'Invoices' => 'Invoices',
+ 'Nothing applied!' => 'Nothing applied!',
+ 'Number' => '½s¸¹',
+ 'Paid in full' => 'Paid in full',
+ 'Payment' => '¥I´Ú¤è¦¡',
+ 'Payment posted!' => 'Payment posted!',
+ 'Post' => 'Post',
+ 'Print' => 'Print',
+ 'Printer' => '¦Lªí¾÷',
+ 'Project not on file!' => 'Project not on file!',
+ 'Receipt' => 'Receipt',
+ 'Reference' => 'Reference',
+ 'Screen' => '¿Ã¹õ',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'To' => '¦Ü',
+ 'Update' => 'Update',
+ 'Vendor' => '¼t°Ó',
+ 'Vendor not on file!' => 'Vendor not on file!',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'list_invoices' => 'list_invoices',
+ 'name_selected' => 'name_selected',
+ 'payment' => 'payment',
+ 'post' => 'post',
+ 'print' => 'print',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'vendor_details' => 'vendor_details',
+ 'Ä~Äò' => 'continue',
+ 'post' => 'post',
+ 'print' => 'print',
+ 'update' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/tw/ct b/sql-ledger/locale/tw/ct
new file mode 100644
index 0000000..1597c9f
--- /dev/null
+++ b/sql-ledger/locale/tw/ct
@@ -0,0 +1,69 @@
+$self{texts} = {
+ 'Add' => '·s¼W',
+ 'Address' => '¦a§}',
+ 'All' => '¥þ³¡',
+ 'Bcc' => 'Bcc',
+ 'Cannot delete customer!' => 'Cannot delete customer!',
+ 'Cannot delete vendor!' => 'Cannot delete vendor!',
+ 'Cc' => 'Cc',
+ 'Contact' => '³sµ¸¤H',
+ 'Continue' => 'Ä~Äò',
+ 'Credit Limit' => '«H¥ÎÃB«×',
+ 'Customer deleted!' => 'Customer deleted!',
+ 'Customer saved!' => 'Customer saved!',
+ 'Customers' => 'Customers',
+ 'Delete' => '§R°£',
+ 'Discount' => '§é¦©',
+ 'E-mail' => '¹q¤l¶l¥ó',
+ 'Fax' => '¶Ç¯u',
+ 'Include in Report' => '¤@¨ÖÅã¥Ü',
+ 'Invoice' => 'µo²¼',
+ 'Name' => '¦WºÙ',
+ 'Name missing!' => 'Name missing!',
+ 'Notes' => '³Æµù',
+ 'Number' => '½s¸¹',
+ 'Order' => '­q³æ',
+ 'Orphaned' => 'µL¥D',
+ 'Phone' => '¹q¸Ü¸¹½X',
+ 'Save' => 'Àx¦s',
+ 'Ship to' => 'Ship to',
+ 'Tax Included' => '¤£¦¬ªA°È¶O',
+ 'Taxable' => 'À³µ|',
+ 'Terms: Net' => '²¼´Á²b­p',
+ 'Transactions exist, cannot delete customer!' => '¦¹«È¤á¤w¦³±b¥Ø, ¤£¯à§R°£!',
+ 'Transactions exist, cannot delete vendor!' => '¦¹¼t°Ó¤w¦³±b¥Ø, ¤£¯à§R°£!',
+ 'Vendor deleted!' => 'Vendor deleted!',
+ 'Vendor saved!' => 'Vendor saved!',
+ 'Vendors' => 'Vendors',
+ 'days' => '¤é',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'customer_invoice' => 'customer_invoice',
+ 'customer_order' => 'customer_order',
+ 'delete' => 'delete',
+ 'delete_customer' => 'delete_customer',
+ 'delete_vendor' => 'delete_vendor',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'invoice' => 'invoice',
+ 'list_names' => 'list_names',
+ 'order' => 'order',
+ 'save' => 'save',
+ 'save_customer' => 'save_customer',
+ 'save_vendor' => 'save_vendor',
+ 'search' => 'search',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'vendor_order' => 'vendor_order',
+ '·s¼w' => 'add',
+ 'Ä~Äò' => 'continue',
+ '§r°£' => 'delete',
+ 'µo²¼' => 'invoice',
+ '­q³æ' => 'order',
+ 'Àx¦s' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/tw/gl b/sql-ledger/locale/tw/gl
new file mode 100644
index 0000000..ce671a9
--- /dev/null
+++ b/sql-ledger/locale/tw/gl
@@ -0,0 +1,124 @@
+$self{texts} = {
+ 'AP Transaction' => 'AP Transaction',
+ 'AR Transaction' => 'AR Transaction',
+ 'Account' => '¬ì¥Ø',
+ 'Add General Ledger Transaction' => '·s¼WÁ`±b',
+ 'Address' => '¦a§}',
+ 'All' => '¥þ³¡',
+ 'Apr' => '¥|¤ë',
+ 'April' => '¥|¤ë',
+ 'Are you sure you want to delete Transaction' => '±z½T©w­n§R°£±b¥Ø',
+ 'Asset' => '¸ê²£',
+ 'Aug' => '¤K¤ë',
+ 'August' => '¤K¤ë',
+ 'Balance' => 'Balance',
+ 'Cannot delete transaction!' => 'Cannot delete transaction!',
+ 'Cannot have a value in both Debit and Credit!' => 'Cannot have a value in both Debit and Credit!',
+ 'Cannot post a transaction without a value!' => 'Cannot post a transaction without a value!',
+ 'Cannot post transaction for a closed period!' => 'µLªk¦b¤wÃö³¬ªº®É¬q¤º¥[¤J¥æ©ö!',
+ 'Confirm!' => '¤J±b¦¨¥\!',
+ 'Continue' => 'Ä~Äò',
+ 'Credit' => '¶U¤è',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => '¤é´Á',
+ 'Debit' => '­É¤è',
+ 'Debit and credit out of balance!' => '­É¶U¤£¥­¿Å!',
+ 'Dec' => '¤Q¤G¤ë',
+ 'December' => '¤Q¤G¤ë',
+ 'Delete' => '§R°£',
+ 'Description' => '»¡©ú',
+ 'Edit General Ledger Transaction' => '½s¿èÁ`±b',
+ 'Equity' => 'ªÑÅv',
+ 'Expense' => '¶O¥Î',
+ 'Feb' => '¤G¤ë',
+ 'February' => '¤G¤ë',
+ 'From' => '±q',
+ 'GIFI' => 'GIFI',
+ 'GL Transaction' => 'GL Transaction',
+ 'General Ledger' => 'Á`±b',
+ 'ID' => '½s¸¹',
+ 'Include in Report' => '¤@¨ÖÅã¥Ü',
+ 'Income' => '¦¬¯q',
+ 'Jan' => '¤@¤ë',
+ 'January' => '¤@¤ë',
+ 'Jul' => '¤C¤ë',
+ 'July' => '¤C¤ë',
+ 'Jun' => '¤»¤ë',
+ 'June' => '¤»¤ë',
+ 'Liability' => '­t¶Å',
+ 'Mar' => '¤T¤ë',
+ 'March' => '¤T¤ë',
+ 'May' => '¤­¤ë',
+ 'May ' => '¤­¤ë',
+ 'Notes' => '³Æµù',
+ 'Nov' => '¤Q¤@¤ë',
+ 'November' => '¤Q¤@¤ë',
+ 'Number' => '½s¸¹',
+ 'Oct' => '¤Q¤ë',
+ 'October' => '¤Q¤ë',
+ 'Post' => 'Post',
+ 'Post as new' => 'Post as new',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Purchase Invoice' => 'Purchase Invoice',
+ 'Reference' => 'Reference',
+ 'Reference missing!' => 'Reference missing!',
+ 'Reports' => '³øªí',
+ 'Sales Invoice' => 'Sales Invoice',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Sep' => '¤E¤ë',
+ 'September' => '¤E¤ë',
+ 'Source' => '¨Ó·½',
+ 'Subtotal' => '¤p­p',
+ 'To' => '¦Ü',
+ 'Transaction Date missing!' => 'º|¶ñ±b¥Ø¤é´Á!',
+ 'Transaction deleted!' => 'Transaction deleted!',
+ 'Transaction posted!' => 'Transaction posted!',
+ 'Update' => 'Update',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'Yes' => '¬O',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'form_row' => 'form_row',
+ 'generate_report' => 'generate_report',
+ 'gl_subtotal' => 'gl_subtotal',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'Ä~Äò' => 'continue',
+ '§r°£' => 'delete',
+ 'gl_transaction' => 'gl_transaction',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'update' => 'update',
+ '¬o' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/tw/ic b/sql-ledger/locale/tw/ic
new file mode 100644
index 0000000..7be481d
--- /dev/null
+++ b/sql-ledger/locale/tw/ic
@@ -0,0 +1,205 @@
+$self{texts} = {
+ 'Active' => 'Active',
+ 'Add' => '·s¼W',
+ 'Add Assembly' => '·s¼W°Ó«~',
+ 'Add Part' => '·s¼W­ì®Æ',
+ 'Add Purchase Order' => '·s¼W±ÄÁʳæ',
+ 'Add Sales Order' => '·s¼W¾P³f³æ',
+ 'Add Service' => '·s¼WªA°È',
+ 'Address' => '¦a§}',
+ 'Apr' => '¥|¤ë',
+ 'April' => '¥|¤ë',
+ 'Assemblies' => '°Ó«~',
+ 'Assemblies restocked!' => 'Assemblies restocked!',
+ 'Assembly Number missing!' => '¬dµL¦¹°Ó«~!',
+ 'Attachment' => 'ªþÀÉ',
+ 'Aug' => '¤K¤ë',
+ 'August' => '¤K¤ë',
+ 'BOM' => 'BOM',
+ 'Bcc' => 'Bcc',
+ 'Bin' => '½c',
+ 'Bought' => '¤wÁʶR',
+ 'COGS' => '³f¾P¦¨¥»',
+ 'Cannot delete item already invoiced!' => 'Cannot delete item already invoiced!',
+ 'Cannot delete item on order!' => 'µLªk§R°£³æ¤Wªº¶µ¥Ø!',
+ 'Cannot delete item which is part of an assembly!' => 'Cannot delete item which is part of an assembly!',
+ 'Cannot delete item!' => 'Cannot delete item!',
+ 'Cannot stock assemblies!' => 'Cannot stock assemblies!',
+ 'Cc' => 'Cc',
+ 'Contact' => '³sµ¸¤H',
+ 'Continue' => 'Ä~Äò',
+ 'Copies' => '«þ¨©',
+ 'Dec' => '¤Q¤G¤ë',
+ 'December' => '¤Q¤G¤ë',
+ 'Delete' => '§R°£',
+ 'Delivery Date' => 'Delivery Date',
+ 'Description' => '»¡©ú',
+ 'Drawing' => 'Drawing',
+ 'E-mail' => '¹q¤l¶l¥ó',
+ 'E-mail address missing!' => 'º|¶ñ¹q¤l¶l¥ó¦ì§}!',
+ 'Edit Assembly' => '½s¿è°Ó«~',
+ 'Edit Part' => '½s¿è­ì®Æ',
+ 'Edit Service' => '½s¿èªA°È',
+ 'Expense' => '¶O¥Î',
+ 'Extended' => 'Extended',
+ 'Fax' => '¶Ç¯u',
+ 'Feb' => '¤G¤ë',
+ 'February' => '¤G¤ë',
+ 'From' => '±q',
+ 'Image' => 'Image',
+ 'In-line' => '¦æ¤º',
+ 'Include in Report' => '¤@¨ÖÅã¥Ü',
+ 'Income' => '¦¬¯q',
+ 'Individual Items' => '²Õ¦¨¶µ¥Ø',
+ 'Inventory' => '®w¦s',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => '¦b°±¥Î¦¹¶µ²Õ¦X«~¤§«e, ¦s³f¼Æ¶q¥²»Ý¬°¹s!',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => '°±¥Î¦¹¶µ¹s¥ó¤§«e, ¦s³f¼Æ¶q¥²»Ý¬°¹s!',
+ 'Inventory quantity must be zero!' => '¦s³f¼Æ¶q¥²»Ý¬°¹s!',
+ 'Invoice' => 'µo²¼',
+ 'Invoice Date missing!' => 'µo²¼¤é´Á¿ù»~!',
+ 'Invoice Number' => 'µo²¼½s¸¹',
+ 'Invoice Number missing!' => 'µo²¼½s¸¹¿ù»~!',
+ 'Item deleted!' => 'Item deleted!',
+ 'Item not on file!' => '¬dµL¦¹¶µ¥Ø',
+ 'Jan' => '¤@¤ë',
+ 'January' => '¤@¤ë',
+ 'Jul' => '¤C¤ë',
+ 'July' => '¤C¤ë',
+ 'Jun' => '¤»¤ë',
+ 'June' => '¤»¤ë',
+ 'Last Cost' => '¤W¤@µ§¦¨¥»',
+ 'Line Total' => 'Á`¦C¼Æ',
+ 'Link Accounts' => '³sµ²¬ì¥Ø',
+ 'List Price' => '¶i»ù',
+ 'Make' => '»s³y',
+ 'Mar' => '¤T¤ë',
+ 'March' => '¤T¤ë',
+ 'May' => '¤­¤ë',
+ 'May ' => '¤­¤ë',
+ 'Message' => '°T®§',
+ 'Microfiche' => 'Microfiche',
+ 'Model' => '«¬¸¹',
+ 'Name' => '¦WºÙ',
+ 'No.' => 'No.',
+ 'Notes' => '³Æµù',
+ 'Nov' => '¤Q¤@¤ë',
+ 'November' => '¤Q¤@¤ë',
+ 'Number' => '½s¸¹',
+ 'Number missing in Row' => '¦¹¦C¤¤¯Ê¤Ö¼Æ­È',
+ 'Obsolete' => '°±¥Î',
+ 'Oct' => '¤Q¤ë',
+ 'October' => '¤Q¤ë',
+ 'On Hand' => '¦s¶q',
+ 'On Order' => 'On Order',
+ 'Order' => '­q³æ',
+ 'Order Date missing!' => '¥¼«ü©ú¤U³æ¤é´Á!',
+ 'Order Number' => '­q³æ½s¸¹',
+ 'Order Number missing!' => '¥¼«ü©ú­q³æ½s¸¹!',
+ 'Ordered' => 'Ordered',
+ 'Orphaned' => 'µL¥D',
+ 'PDF' => 'PDF',
+ 'Packing List' => '¥X³f³æ',
+ 'Packing List Date missing!' => '¥¼«ü©ú¥]¸Ë²M³æ¤é´Á!',
+ 'Packing List Number missing!' => '¥¼«ü©ú¥]¸Ë²M³æ½s¸¹!',
+ 'Part' => '­ì®Æ',
+ 'Part Number missing!' => 'º|¶ñ­ì®Æ½s¸¹!',
+ 'Parts' => '­ì®Æ',
+ 'Phone' => '¹q¸Ü¸¹½X',
+ 'Postscript' => 'Postscript',
+ 'Price' => '»ù®æ',
+ 'Printer' => '¦Lªí¾÷',
+ 'Project' => 'Project',
+ 'Purchase Order' => '±ÄÁʳæ',
+ 'Qty' => '¼Æ¶q',
+ 'ROP' => '¦A­qÂI',
+ 'Recd' => 'Recd',
+ 'Required by' => '¤l¶µ¥Ø',
+ 'Sales' => '·~°È',
+ 'Sales Order' => '¾P³f³æ',
+ 'Save' => 'Àx¦s',
+ 'Screen' => '¿Ã¹õ',
+ 'Select from one of the items below' => '©ó¤U¦C¶µ¥Ø¤¤¿ï¾Ü¤@¶µ',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sell Price' => '°â»ù',
+ 'Sep' => '¤E¤ë',
+ 'September' => '¤E¤ë',
+ 'Service' => 'ªA°È',
+ 'Service Number missing!' => 'º|¶ñªA°È½s¸¹!',
+ 'Services' => 'ªA°È',
+ 'Ship' => 'Ship',
+ 'Ship to' => 'Ship to',
+ 'Short' => 'µu',
+ 'Sold' => '¤w½æ¥X',
+ 'Stock Assembly' => '½LÂI',
+ 'Subject' => '¼ÐÃD',
+ 'Subtotal' => '¤p­p',
+ 'Tax' => 'µ|ª÷',
+ 'To' => '¦Ü',
+ 'Top Level' => 'Top Level',
+ 'Total' => 'Á`­p',
+ 'Unit' => '³æ¦ì',
+ 'Unit of measure' => '«×¶q³æ¦ì',
+ 'Update' => 'Update',
+ 'Updated' => 'Updated',
+ 'Weight' => '­«¶q',
+ 'What type of item is this?' => '¦¹¶µ¥Øªº«¬ºA?',
+ 'ea' => '­Ó',
+ 'emailed to' => '¤w±H¦Ü',
+ 'hr' => 'hr',
+ 'sent to printer' => '°e¦Ü¦Lªí¾÷',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'assembly_row' => 'assembly_row',
+ 'check_form' => 'check_form',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'delete_assembly' => 'delete_assembly',
+ 'delete_item' => 'delete_item',
+ 'delete_part' => 'delete_part',
+ 'delete_service' => 'delete_service',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'link_part' => 'link_part',
+ 'list_assemblies' => 'list_assemblies',
+ 'makemodel_row' => 'makemodel_row',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'parts_subtotal' => 'parts_subtotal',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'restock_assemblies' => 'restock_assemblies',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'stock_assembly' => 'stock_assembly',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ '·s¼w' => 'add',
+ '·s¼w°Ó«~' => 'add_assembly',
+ '·s¼w­ì®Æ' => 'add_part',
+ '·s¼wªa°È' => 'add_service',
+ 'Ä~Äò' => 'continue',
+ '§r°£' => 'delete',
+ '½s¿è°Ó«~' => 'edit_assembly',
+ '½s¿è­ì®Æ' => 'edit_part',
+ '½s¿èªa°È' => 'edit_service',
+ 'Àx¦s' => 'save',
+ 'update' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/tw/io b/sql-ledger/locale/tw/io
new file mode 100644
index 0000000..64c8ed7
--- /dev/null
+++ b/sql-ledger/locale/tw/io
@@ -0,0 +1,106 @@
+$self{texts} = {
+ 'Add Purchase Order' => '·s¼W±ÄÁʳæ',
+ 'Add Sales Order' => '·s¼W¾P³f³æ',
+ 'Address' => '¦a§}',
+ 'Apr' => '¥|¤ë',
+ 'April' => '¥|¤ë',
+ 'Attachment' => 'ªþÀÉ',
+ 'Aug' => '¤K¤ë',
+ 'August' => '¤K¤ë',
+ 'Bcc' => 'Bcc',
+ 'Bin' => '½c',
+ 'Cc' => 'Cc',
+ 'Contact' => '³sµ¸¤H',
+ 'Continue' => 'Ä~Äò',
+ 'Copies' => '«þ¨©',
+ 'Dec' => '¤Q¤G¤ë',
+ 'December' => '¤Q¤G¤ë',
+ 'Delivery Date' => 'Delivery Date',
+ 'Description' => '»¡©ú',
+ 'E-mail' => '¹q¤l¶l¥ó',
+ 'E-mail address missing!' => 'º|¶ñ¹q¤l¶l¥ó¦ì§}!',
+ 'Extended' => 'Extended',
+ 'Fax' => '¶Ç¯u',
+ 'Feb' => '¤G¤ë',
+ 'February' => '¤G¤ë',
+ 'In-line' => '¦æ¤º',
+ 'Invoice' => 'µo²¼',
+ 'Invoice Date missing!' => 'µo²¼¤é´Á¿ù»~!',
+ 'Invoice Number missing!' => 'µo²¼½s¸¹¿ù»~!',
+ 'Item not on file!' => '¬dµL¦¹¶µ¥Ø',
+ 'Jan' => '¤@¤ë',
+ 'January' => '¤@¤ë',
+ 'Jul' => '¤C¤ë',
+ 'July' => '¤C¤ë',
+ 'Jun' => '¤»¤ë',
+ 'June' => '¤»¤ë',
+ 'Mar' => '¤T¤ë',
+ 'March' => '¤T¤ë',
+ 'May' => '¤­¤ë',
+ 'May ' => '¤­¤ë',
+ 'Message' => '°T®§',
+ 'Name' => '¦WºÙ',
+ 'No.' => 'No.',
+ 'Nov' => '¤Q¤@¤ë',
+ 'November' => '¤Q¤@¤ë',
+ 'Number' => '½s¸¹',
+ 'Number missing in Row' => '¦¹¦C¤¤¯Ê¤Ö¼Æ­È',
+ 'Oct' => '¤Q¤ë',
+ 'October' => '¤Q¤ë',
+ 'Order' => '­q³æ',
+ 'Order Date missing!' => '¥¼«ü©ú¤U³æ¤é´Á!',
+ 'Order Number missing!' => '¥¼«ü©ú­q³æ½s¸¹!',
+ 'PDF' => 'PDF',
+ 'Packing List' => '¥X³f³æ',
+ 'Packing List Date missing!' => '¥¼«ü©ú¥]¸Ë²M³æ¤é´Á!',
+ 'Packing List Number missing!' => '¥¼«ü©ú¥]¸Ë²M³æ½s¸¹!',
+ 'Part' => '­ì®Æ',
+ 'Phone' => '¹q¸Ü¸¹½X',
+ 'Postscript' => 'Postscript',
+ 'Price' => '»ù®æ',
+ 'Printer' => '¦Lªí¾÷',
+ 'Project' => 'Project',
+ 'Purchase Order' => '±ÄÁʳæ',
+ 'Qty' => '¼Æ¶q',
+ 'Recd' => 'Recd',
+ 'Required by' => '¤l¶µ¥Ø',
+ 'Sales Order' => '¾P³f³æ',
+ 'Screen' => '¿Ã¹õ',
+ 'Select from one of the items below' => '©ó¤U¦C¶µ¥Ø¤¤¿ï¾Ü¤@¶µ',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sep' => '¤E¤ë',
+ 'September' => '¤E¤ë',
+ 'Service' => 'ªA°È',
+ 'Ship' => 'Ship',
+ 'Ship to' => 'Ship to',
+ 'Subject' => '¼ÐÃD',
+ 'To' => '¦Ü',
+ 'Unit' => '³æ¦ì',
+ 'What type of item is this?' => '¦¹¶µ¥Øªº«¬ºA?',
+ 'emailed to' => '¤w±H¦Ü',
+ 'sent to printer' => '°e¦Ü¦Lªí¾÷',
+};
+
+$self{subs} = {
+ 'check_form' => 'check_form',
+ 'customer_details' => 'customer_details',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'Ä~Äò' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/tw/ir b/sql-ledger/locale/tw/ir
new file mode 100644
index 0000000..daa90e4
--- /dev/null
+++ b/sql-ledger/locale/tw/ir
@@ -0,0 +1,178 @@
+$self{texts} = {
+ 'Account' => '¬ì¥Ø',
+ 'Add Purchase Invoice' => 'Add Purchase Invoice',
+ 'Add Purchase Order' => '·s¼W±ÄÁʳæ',
+ 'Add Sales Order' => '·s¼W¾P³f³æ',
+ 'Address' => '¦a§}',
+ 'Amount' => 'Á`­p',
+ 'Apr' => '¥|¤ë',
+ 'April' => '¥|¤ë',
+ 'Are you sure you want to delete Invoice Number' => '±z½T©w­n§R°£µo²¼½s¸¹',
+ 'Attachment' => 'ªþÀÉ',
+ 'Aug' => '¤K¤ë',
+ 'August' => '¤K¤ë',
+ 'Bcc' => 'Bcc',
+ 'Bin' => '½c',
+ 'Cannot delete invoice!' => 'Cannot delete invoice!',
+ 'Cannot post invoice for a closed period!' => 'Cannot post invoice for a closed period!',
+ 'Cannot post invoice!' => 'Cannot post invoice!',
+ 'Cannot post payment for a closed period!' => 'Cannot post payment for a closed period!',
+ 'Cc' => 'Cc',
+ 'Confirm!' => '¤J±b¦¨¥\!',
+ 'Contact' => '³sµ¸¤H',
+ 'Continue' => 'Ä~Äò',
+ 'Copies' => '«þ¨©',
+ 'Currency' => '¹ô§O',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => '¤é´Á',
+ 'Date Due' => 'À³¥I¤é´Á',
+ 'Dec' => '¤Q¤G¤ë',
+ 'December' => '¤Q¤G¤ë',
+ 'Delete' => '§R°£',
+ 'Delivery Date' => 'Delivery Date',
+ 'Description' => '»¡©ú',
+ 'E-mail' => '¹q¤l¶l¥ó',
+ 'E-mail address missing!' => 'º|¶ñ¹q¤l¶l¥ó¦ì§}!',
+ 'Edit Purchase Invoice' => 'Edit Purchase Invoice',
+ 'Exch' => '¶×²v',
+ 'Exchangerate' => '¶×²v',
+ 'Exchangerate for payment missing!' => 'Exchangerate for payment missing!',
+ 'Exchangerate missing!' => 'Exchangerate missing!',
+ 'Extended' => 'Extended',
+ 'Fax' => '¶Ç¯u',
+ 'Feb' => '¤G¤ë',
+ 'February' => '¤G¤ë',
+ 'In-line' => '¦æ¤º',
+ 'Invoice' => 'µo²¼',
+ 'Invoice Date' => 'µo²¼¤é´Á',
+ 'Invoice Date missing!' => 'µo²¼¤é´Á¿ù»~!',
+ 'Invoice Number' => 'µo²¼½s¸¹',
+ 'Invoice Number missing!' => 'µo²¼½s¸¹¿ù»~!',
+ 'Invoice deleted!' => 'Invoice deleted!',
+ 'Invoice posted!' => 'Invoice posted!',
+ 'Item not on file!' => '¬dµL¦¹¶µ¥Ø',
+ 'Jan' => '¤@¤ë',
+ 'January' => '¤@¤ë',
+ 'Jul' => '¤C¤ë',
+ 'July' => '¤C¤ë',
+ 'Jun' => '¤»¤ë',
+ 'June' => '¤»¤ë',
+ 'Mar' => '¤T¤ë',
+ 'March' => '¤T¤ë',
+ 'May' => '¤­¤ë',
+ 'May ' => '¤­¤ë',
+ 'Message' => '°T®§',
+ 'Name' => '¦WºÙ',
+ 'No.' => 'No.',
+ 'Notes' => '³Æµù',
+ 'Nov' => '¤Q¤@¤ë',
+ 'November' => '¤Q¤@¤ë',
+ 'Number' => '½s¸¹',
+ 'Number missing in Row' => '¦¹¦C¤¤¯Ê¤Ö¼Æ­È',
+ 'Oct' => '¤Q¤ë',
+ 'October' => '¤Q¤ë',
+ 'Order' => '­q³æ',
+ 'Order Date missing!' => '¥¼«ü©ú¤U³æ¤é´Á!',
+ 'Order Number' => '­q³æ½s¸¹',
+ 'Order Number missing!' => '¥¼«ü©ú­q³æ½s¸¹!',
+ 'PDF' => 'PDF',
+ 'Packing List' => '¥X³f³æ',
+ 'Packing List Date missing!' => '¥¼«ü©ú¥]¸Ë²M³æ¤é´Á!',
+ 'Packing List Number missing!' => '¥¼«ü©ú¥]¸Ë²M³æ½s¸¹!',
+ 'Part' => '­ì®Æ',
+ 'Payment date missing!' => '¥¼«ü©ú¥I´Ú¤é´Á!',
+ 'Payments' => '¥I´Ú',
+ 'Phone' => '¹q¸Ü¸¹½X',
+ 'Post' => 'Post',
+ 'Post as new' => 'Post as new',
+ 'Postscript' => 'Postscript',
+ 'Price' => '»ù®æ',
+ 'Printer' => '¦Lªí¾÷',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Purchase Order' => '±ÄÁʳæ',
+ 'Qty' => '¼Æ¶q',
+ 'Recd' => 'Recd',
+ 'Record in' => '°O¿ý©ó',
+ 'Required by' => '¤l¶µ¥Ø',
+ 'Sales Order' => '¾P³f³æ',
+ 'Screen' => '¿Ã¹õ',
+ 'Select from one of the items below' => '©ó¤U¦C¶µ¥Ø¤¤¿ï¾Ü¤@¶µ',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sep' => '¤E¤ë',
+ 'September' => '¤E¤ë',
+ 'Service' => 'ªA°È',
+ 'Ship' => 'Ship',
+ 'Ship to' => 'Ship to',
+ 'Source' => '¨Ó·½',
+ 'Subject' => '¼ÐÃD',
+ 'Subtotal' => '¤p­p',
+ 'Tax Included' => '¤£¦¬ªA°È¶O',
+ 'To' => '¦Ü',
+ 'Total' => 'Á`­p',
+ 'Unit' => '³æ¦ì',
+ 'Update' => 'Update',
+ 'Vendor' => '¼t°Ó',
+ 'Vendor missing!' => 'Vendor missing!',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'What type of item is this?' => '¦¹¶µ¥Øªº«¬ºA?',
+ 'Yes' => '¬O',
+ 'ea' => '­Ó',
+ 'emailed to' => '¤w±H¦Ü',
+ 'sent to printer' => '°e¦Ü¦Lªí¾÷',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'Ä~Äò' => 'continue',
+ '§r°£' => 'delete',
+ '­q³æ' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'update' => 'update',
+ '¬o' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/tw/is b/sql-ledger/locale/tw/is
new file mode 100644
index 0000000..1b0c6ec
--- /dev/null
+++ b/sql-ledger/locale/tw/is
@@ -0,0 +1,185 @@
+$self{texts} = {
+ 'Account' => '¬ì¥Ø',
+ 'Add Purchase Order' => '·s¼W±ÄÁʳæ',
+ 'Add Sales Invoice' => 'Add Sales Invoice',
+ 'Add Sales Order' => '·s¼W¾P³f³æ',
+ 'Address' => '¦a§}',
+ 'Amount' => 'Á`­p',
+ 'Apr' => '¥|¤ë',
+ 'April' => '¥|¤ë',
+ 'Are you sure you want to delete Invoice Number' => '±z½T©w­n§R°£µo²¼½s¸¹',
+ 'Attachment' => 'ªþÀÉ',
+ 'Aug' => '¤K¤ë',
+ 'August' => '¤K¤ë',
+ 'Bcc' => 'Bcc',
+ 'Bin' => '½c',
+ 'Cannot delete invoice!' => 'Cannot delete invoice!',
+ 'Cannot post invoice for a closed period!' => 'Cannot post invoice for a closed period!',
+ 'Cannot post invoice!' => 'Cannot post invoice!',
+ 'Cannot post payment for a closed period!' => 'Cannot post payment for a closed period!',
+ 'Cc' => 'Cc',
+ 'Confirm!' => '¤J±b¦¨¥\!',
+ 'Contact' => '³sµ¸¤H',
+ 'Continue' => 'Ä~Äò',
+ 'Copies' => '«þ¨©',
+ 'Credit Limit' => '«H¥ÎÃB«×',
+ 'Currency' => '¹ô§O',
+ 'Customer' => '«È¤á',
+ 'Customer missing!' => 'Customer missing!',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => '¤é´Á',
+ 'Date Due' => 'À³¥I¤é´Á',
+ 'Dec' => '¤Q¤G¤ë',
+ 'December' => '¤Q¤G¤ë',
+ 'Delete' => '§R°£',
+ 'Delivery Date' => 'Delivery Date',
+ 'Description' => '»¡©ú',
+ 'E-mail' => '¹q¤l¶l¥ó',
+ 'E-mail address missing!' => 'º|¶ñ¹q¤l¶l¥ó¦ì§}!',
+ 'Edit Sales Invoice' => 'Edit Sales Invoice',
+ 'Exch' => '¶×²v',
+ 'Exchangerate' => '¶×²v',
+ 'Exchangerate for payment missing!' => 'Exchangerate for payment missing!',
+ 'Exchangerate missing!' => 'Exchangerate missing!',
+ 'Extended' => 'Extended',
+ 'Fax' => '¶Ç¯u',
+ 'Feb' => '¤G¤ë',
+ 'February' => '¤G¤ë',
+ 'In-line' => '¦æ¤º',
+ 'Invoice' => 'µo²¼',
+ 'Invoice Date' => 'µo²¼¤é´Á',
+ 'Invoice Date missing!' => 'µo²¼¤é´Á¿ù»~!',
+ 'Invoice Number' => 'µo²¼½s¸¹',
+ 'Invoice Number missing!' => 'µo²¼½s¸¹¿ù»~!',
+ 'Invoice deleted!' => 'Invoice deleted!',
+ 'Invoice posted!' => 'Invoice posted!',
+ 'Item not on file!' => '¬dµL¦¹¶µ¥Ø',
+ 'Jan' => '¤@¤ë',
+ 'January' => '¤@¤ë',
+ 'Jul' => '¤C¤ë',
+ 'July' => '¤C¤ë',
+ 'Jun' => '¤»¤ë',
+ 'June' => '¤»¤ë',
+ 'Mar' => '¤T¤ë',
+ 'March' => '¤T¤ë',
+ 'May' => '¤­¤ë',
+ 'May ' => '¤­¤ë',
+ 'Message' => '°T®§',
+ 'Name' => '¦WºÙ',
+ 'No.' => 'No.',
+ 'Notes' => '³Æµù',
+ 'Nov' => '¤Q¤@¤ë',
+ 'November' => '¤Q¤@¤ë',
+ 'Number' => '½s¸¹',
+ 'Number missing in Row' => '¦¹¦C¤¤¯Ê¤Ö¼Æ­È',
+ 'Oct' => '¤Q¤ë',
+ 'October' => '¤Q¤ë',
+ 'Order' => '­q³æ',
+ 'Order Date missing!' => '¥¼«ü©ú¤U³æ¤é´Á!',
+ 'Order Number' => '­q³æ½s¸¹',
+ 'Order Number missing!' => '¥¼«ü©ú­q³æ½s¸¹!',
+ 'PDF' => 'PDF',
+ 'Packing List' => '¥X³f³æ',
+ 'Packing List Date missing!' => '¥¼«ü©ú¥]¸Ë²M³æ¤é´Á!',
+ 'Packing List Number missing!' => '¥¼«ü©ú¥]¸Ë²M³æ½s¸¹!',
+ 'Part' => '­ì®Æ',
+ 'Payment date missing!' => '¥¼«ü©ú¥I´Ú¤é´Á!',
+ 'Payments' => '¥I´Ú',
+ 'Phone' => '¹q¸Ü¸¹½X',
+ 'Post' => 'Post',
+ 'Post as new' => 'Post as new',
+ 'Postscript' => 'Postscript',
+ 'Price' => '»ù®æ',
+ 'Print' => 'Print',
+ 'Printer' => '¦Lªí¾÷',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Purchase Order' => '±ÄÁʳæ',
+ 'Qty' => '¼Æ¶q',
+ 'Recd' => 'Recd',
+ 'Record in' => '°O¿ý©ó',
+ 'Remaining' => '©|¾l',
+ 'Required by' => '¤l¶µ¥Ø',
+ 'Sales Order' => '¾P³f³æ',
+ 'Screen' => '¿Ã¹õ',
+ 'Select from one of the items below' => '©ó¤U¦C¶µ¥Ø¤¤¿ï¾Ü¤@¶µ',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sep' => '¤E¤ë',
+ 'September' => '¤E¤ë',
+ 'Service' => 'ªA°È',
+ 'Ship' => 'Ship',
+ 'Ship to' => 'Ship to',
+ 'Ship via' => 'Ship via',
+ 'Source' => '¨Ó·½',
+ 'Subject' => '¼ÐÃD',
+ 'Subtotal' => '¤p­p',
+ 'Tax Included' => '¤£¦¬ªA°È¶O',
+ 'To' => '¦Ü',
+ 'Total' => 'Á`­p',
+ 'Unit' => '³æ¦ì',
+ 'Update' => 'Update',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'What type of item is this?' => '¦¹¶µ¥Øªº«¬ºA?',
+ 'Yes' => '¬O',
+ 'ea' => '­Ó',
+ 'emailed to' => '¤w±H¦Ü',
+ 'sent to printer' => '°e¦Ü¦Lªí¾÷',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'Ä~Äò' => 'continue',
+ '§r°£' => 'delete',
+ '¹q¤l¶l¥ó' => 'e_mail',
+ '­q³æ' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ '¬o' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/tw/login b/sql-ledger/locale/tw/login
new file mode 100644
index 0000000..d934f5a
--- /dev/null
+++ b/sql-ledger/locale/tw/login
@@ -0,0 +1,28 @@
+$self{texts} = {
+ 'About' => 'Ãö©ó',
+ 'Accounting' => '·|­p',
+ 'Database Host' => '¸ê®Æ®w¥D¾÷',
+ 'Dataset' => '¸ê®Æ¶°',
+ 'Incorrect Dataset version!' => '¸ê®Æ¶°ª©¥»¿ù»~!',
+ 'Incorrect Password!' => '±K½X¿ù»~!',
+ 'Licensed to' => '±ÂÅv¤©',
+ 'Login' => 'µn¤J',
+ 'Name' => '¦WºÙ',
+ 'Password' => '±K½X',
+ 'User' => '¨Ï¥ÎªÌ',
+ 'Version' => 'ª©¥»',
+ 'You are logged out!' => 'You are logged out!',
+ 'You did not enter a name!' => '±z¨Ã¥¼Áä¤J¦WºÙ!',
+ 'is not a member!' => '¨Ã¤£¬O¦¨­û!',
+ 'localhost' => 'localhost',
+};
+
+$self{subs} = {
+ 'company_logo' => 'company_logo',
+ 'login' => 'login',
+ 'login_screen' => 'login_screen',
+ 'logout' => 'logout',
+ 'µn¤j' => 'login',
+};
+
+1;
diff --git a/sql-ledger/locale/tw/menu b/sql-ledger/locale/tw/menu
new file mode 100644
index 0000000..54a3f07
--- /dev/null
+++ b/sql-ledger/locale/tw/menu
@@ -0,0 +1,72 @@
+$self{texts} = {
+ 'AP' => 'À³¥I±b´Ú',
+ 'AP Aging' => 'À³¥I±bÄÖ¤ÀªR',
+ 'AR' => 'À³¦¬±b´Ú',
+ 'AR Aging' => 'À³¦¬±bÄÖ¤ÀªR',
+ 'Accounting Menu' => '·|­p¿ï³æ',
+ 'Add Account' => '·s¼W¬ì¥Ø',
+ 'Add Assembly' => '·s¼W°Ó«~',
+ 'Add Customer' => '·s¼W«È¤á',
+ 'Add GIFI' => '·s¼W GIFI',
+ 'Add Part' => '·s¼W­ì®Æ',
+ 'Add Project' => 'Add Project',
+ 'Add Service' => '·s¼WªA°È',
+ 'Add Transaction' => '·s¼W±b¥Ø',
+ 'Add Vendor' => '·s¼W¼t°Ó',
+ 'Assemblies' => '°Ó«~',
+ 'Audit Control' => '½]®Ö±±¨î',
+ 'Backup' => '³Æ¥÷',
+ 'Balance Sheet' => '¸ê²£­t¶Åªí',
+ 'Cash' => 'Cash',
+ 'Chart of Accounts' => '·|­p¬ì¥Øªí',
+ 'Check' => 'Check',
+ 'Customers' => 'Customers',
+ 'General Ledger' => 'Á`±b',
+ 'Goods & Services' => '³fª«¤ÎªA°È',
+ 'HTML Templates' => 'HTML ªí³æ',
+ 'Income Statement' => '·l¯qªí',
+ 'Invoice' => 'µo²¼',
+ 'LaTeX Templates' => 'LaTex ¼Òª©',
+ 'List Accounts' => '¦C¥X±b¸¹',
+ 'List GIFI' => '¦C¥X GIFI',
+ 'Logout' => 'µn¥X',
+ 'Order Entry' => '¤U³æ¶µ¥Ø',
+ 'Packing List' => '¥X³f³æ',
+ 'Parts' => '­ì®Æ',
+ 'Payment' => '¥I´Ú¤è¦¡',
+ 'Payments' => '¥I´Ú',
+ 'Preferences' => '­Ó¤H³]©w',
+ 'Projects' => 'Projects',
+ 'Purchase Invoice' => 'Purchase Invoice',
+ 'Purchase Order' => '±ÄÁʳæ',
+ 'Purchase Orders' => '±ÄÁʳæ',
+ 'Receipt' => 'Receipt',
+ 'Receipts' => 'Receipts',
+ 'Reconciliation' => 'Reconciliation',
+ 'Reports' => '³øªí',
+ 'Sales Invoice' => 'Sales Invoice',
+ 'Sales Order' => '¾P³f³æ',
+ 'Sales Orders' => '¾P³f³æ',
+ 'Save to File' => 'Àx¦s¦ÜÀÉ®×',
+ 'Send by E-Mail' => '¥H¹q¤l¶l¥ó±H°e',
+ 'Services' => 'ªA°È',
+ 'Statement' => 'Statement',
+ 'Stock Assembly' => '½LÂI',
+ 'Stylesheet' => '¼Ë¦¡ªí',
+ 'System' => '¨t²Î',
+ 'Tax collected' => 'Tax collected',
+ 'Tax paid' => 'Tax paid',
+ 'Transactions' => '±b¥Ø',
+ 'Trial Balance' => '¸Õºâªí',
+ 'Vendors' => 'Vendors',
+ 'Version' => 'ª©¥»',
+ 'localhost' => 'localhost',
+};
+
+$self{subs} = {
+ 'acc_menu' => 'acc_menu',
+ 'display' => 'display',
+ 'section_menu' => 'section_menu',
+};
+
+1;
diff --git a/sql-ledger/locale/tw/oe b/sql-ledger/locale/tw/oe
new file mode 100644
index 0000000..57dd382
--- /dev/null
+++ b/sql-ledger/locale/tw/oe
@@ -0,0 +1,199 @@
+$self{texts} = {
+ 'Add' => '·s¼W',
+ 'Add Purchase Invoice' => 'Add Purchase Invoice',
+ 'Add Purchase Order' => '·s¼W±ÄÁʳæ',
+ 'Add Sales Invoice' => 'Add Sales Invoice',
+ 'Add Sales Order' => '·s¼W¾P³f³æ',
+ 'Address' => '¦a§}',
+ 'Amount' => 'Á`­p',
+ 'Apr' => '¥|¤ë',
+ 'April' => '¥|¤ë',
+ 'Are you sure you want to delete Order Number' => '±z¬O§_½T©w­n§R°£­q³æ',
+ 'Attachment' => 'ªþÀÉ',
+ 'Aug' => '¤K¤ë',
+ 'August' => '¤K¤ë',
+ 'Bcc' => 'Bcc',
+ 'Bin' => '½c',
+ 'C' => 'C',
+ 'Cannot delete order!' => 'Cannot delete order!',
+ 'Cannot save order!' => 'Cannot save order!',
+ 'Cc' => 'Cc',
+ 'Closed' => '¤wÃö³¬',
+ 'Confirm!' => '¤J±b¦¨¥\!',
+ 'Contact' => '³sµ¸¤H',
+ 'Continue' => 'Ä~Äò',
+ 'Copies' => '«þ¨©',
+ 'Credit Limit' => '«H¥ÎÃB«×',
+ 'Curr' => '¥Ø«e',
+ 'Currency' => '¹ô§O',
+ 'Customer' => '«È¤á',
+ 'Customer missing!' => 'Customer missing!',
+ 'Customer not on file!' => 'Customer not on file!',
+ 'Date' => '¤é´Á',
+ 'Dec' => '¤Q¤G¤ë',
+ 'December' => '¤Q¤G¤ë',
+ 'Delete' => '§R°£',
+ 'Delivery Date' => 'Delivery Date',
+ 'Description' => '»¡©ú',
+ 'E-mail' => '¹q¤l¶l¥ó',
+ 'E-mail address missing!' => 'º|¶ñ¹q¤l¶l¥ó¦ì§}!',
+ 'Edit Purchase Order' => '½s¿è±ÄÁʳæ',
+ 'Edit Sales Order' => '½s¿è¾P³f³æ',
+ 'Exchangerate' => '¶×²v',
+ 'Exchangerate missing!' => 'Exchangerate missing!',
+ 'Extended' => 'Extended',
+ 'Fax' => '¶Ç¯u',
+ 'Feb' => '¤G¤ë',
+ 'February' => '¤G¤ë',
+ 'From' => '±q',
+ 'ID' => '½s¸¹',
+ 'In-line' => '¦æ¤º',
+ 'Include in Report' => '¤@¨ÖÅã¥Ü',
+ 'Invoice' => 'µo²¼',
+ 'Invoice Date missing!' => 'µo²¼¤é´Á¿ù»~!',
+ 'Invoice Number missing!' => 'µo²¼½s¸¹¿ù»~!',
+ 'Item not on file!' => '¬dµL¦¹¶µ¥Ø',
+ 'Jan' => '¤@¤ë',
+ 'January' => '¤@¤ë',
+ 'Jul' => '¤C¤ë',
+ 'July' => '¤C¤ë',
+ 'Jun' => '¤»¤ë',
+ 'June' => '¤»¤ë',
+ 'Mar' => '¤T¤ë',
+ 'March' => '¤T¤ë',
+ 'May' => '¤­¤ë',
+ 'May ' => '¤­¤ë',
+ 'Message' => '°T®§',
+ 'Name' => '¦WºÙ',
+ 'No.' => 'No.',
+ 'Notes' => '³Æµù',
+ 'Nov' => '¤Q¤@¤ë',
+ 'November' => '¤Q¤@¤ë',
+ 'Number' => '½s¸¹',
+ 'Number missing in Row' => '¦¹¦C¤¤¯Ê¤Ö¼Æ­È',
+ 'O' => 'O',
+ 'Oct' => '¤Q¤ë',
+ 'October' => '¤Q¤ë',
+ 'Open' => '¶}±Ò',
+ 'Order' => '­q³æ',
+ 'Order Date' => '¤U³æ¤é´Á',
+ 'Order Date missing!' => '¥¼«ü©ú¤U³æ¤é´Á!',
+ 'Order Number' => '­q³æ½s¸¹',
+ 'Order Number missing!' => '¥¼«ü©ú­q³æ½s¸¹!',
+ 'Order deleted!' => 'Order deleted!',
+ 'Order saved!' => 'Order saved!',
+ 'PDF' => 'PDF',
+ 'Packing List' => '¥X³f³æ',
+ 'Packing List Date missing!' => '¥¼«ü©ú¥]¸Ë²M³æ¤é´Á!',
+ 'Packing List Number missing!' => '¥¼«ü©ú¥]¸Ë²M³æ½s¸¹!',
+ 'Part' => '­ì®Æ',
+ 'Phone' => '¹q¸Ü¸¹½X',
+ 'Postscript' => 'Postscript',
+ 'Price' => '»ù®æ',
+ 'Print' => 'Print',
+ 'Printer' => '¦Lªí¾÷',
+ 'Project' => 'Project',
+ 'Project not on file!' => 'Project not on file!',
+ 'Purchase Order' => '±ÄÁʳæ',
+ 'Purchase Orders' => '±ÄÁʳæ',
+ 'Qty' => '¼Æ¶q',
+ 'Recd' => 'Recd',
+ 'Remaining' => '©|¾l',
+ 'Required by' => '¤l¶µ¥Ø',
+ 'Sales Order' => '¾P³f³æ',
+ 'Sales Orders' => '¾P³f³æ',
+ 'Save' => 'Àx¦s',
+ 'Save as new' => 'Save as new',
+ 'Screen' => '¿Ã¹õ',
+ 'Select from one of the items below' => '©ó¤U¦C¶µ¥Ø¤¤¿ï¾Ü¤@¶µ',
+ 'Select from one of the names below' => 'Select from one of the names below',
+ 'Select from one of the projects below' => 'Select from one of the projects below',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sep' => '¤E¤ë',
+ 'September' => '¤E¤ë',
+ 'Service' => 'ªA°È',
+ 'Ship' => 'Ship',
+ 'Ship to' => 'Ship to',
+ 'Ship via' => 'Ship via',
+ 'Subject' => '¼ÐÃD',
+ 'Subtotal' => '¤p­p',
+ 'Tax' => 'µ|ª÷',
+ 'Tax Included' => '¤£¦¬ªA°È¶O',
+ 'Terms: Net' => '²¼´Á²b­p',
+ 'To' => '¦Ü',
+ 'Total' => 'Á`­p',
+ 'Unit' => '³æ¦ì',
+ 'Update' => 'Update',
+ 'Vendor' => '¼t°Ó',
+ 'Vendor missing!' => 'Vendor missing!',
+ 'Vendor not on file!' => 'Vendor not on file!',
+ 'What type of item is this?' => '¦¹¶µ¥Øªº«¬ºA?',
+ 'Yes' => '¬O',
+ 'days' => '¤é',
+ 'ea' => '­Ó',
+ 'emailed to' => '¤w±H¦Ü',
+ 'sent to printer' => '°e¦Ü¦Lªí¾÷',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_backorder' => 'create_backorder',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice' => 'invoice',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'order_links' => 'order_links',
+ 'orders' => 'orders',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_order' => 'prepare_order',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'save' => 'save',
+ 'save_as_new' => 'save_as_new',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'subtotal' => 'subtotal',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ '·s¼w' => 'add',
+ 'Ä~Äò' => 'continue',
+ '§r°£' => 'delete',
+ '¹q¤l¶l¥ó' => 'e_mail',
+ 'µo²¼' => 'invoice',
+ 'print' => 'print',
+ 'Àx¦s' => 'save',
+ 'save_as_new' => 'save_as_new',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ '¬o' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/tw/pe b/sql-ledger/locale/tw/pe
new file mode 100644
index 0000000..6e7b638
--- /dev/null
+++ b/sql-ledger/locale/tw/pe
@@ -0,0 +1,35 @@
+$self{texts} = {
+ 'Add' => '·s¼W',
+ 'Add Project' => 'Add Project',
+ 'All' => '¥þ³¡',
+ 'Continue' => 'Ä~Äò',
+ 'Delete' => '§R°£',
+ 'Description' => '»¡©ú',
+ 'Edit Project' => 'Edit Project',
+ 'Number' => '½s¸¹',
+ 'Orphaned' => 'µL¥D',
+ 'Project' => 'Project',
+ 'Project Number missing!' => 'Project Number missing!',
+ 'Project deleted!' => 'Project deleted!',
+ 'Project saved!' => 'Project saved!',
+ 'Projects' => 'Projects',
+ 'Save' => 'Àx¦s',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'save' => 'save',
+ 'search' => 'search',
+ '·s¼w' => 'add',
+ 'Ä~Äò' => 'continue',
+ '§r°£' => 'delete',
+ 'Àx¦s' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/tw/rc b/sql-ledger/locale/tw/rc
new file mode 100644
index 0000000..2f813ab
--- /dev/null
+++ b/sql-ledger/locale/tw/rc
@@ -0,0 +1,37 @@
+$self{texts} = {
+ 'Account' => '¬ì¥Ø',
+ 'Balance' => 'Balance',
+ 'Cleared Balance' => 'Cleared Balance',
+ 'Continue' => 'Ä~Äò',
+ 'Date' => '¤é´Á',
+ 'Deposit' => 'Deposit',
+ 'Description' => '»¡©ú',
+ 'Difference' => 'Difference',
+ 'Done' => 'Done',
+ 'Exchangerate Difference' => 'Exchangerate Difference',
+ 'From' => '±q',
+ 'Out of balance!' => 'Out of balance!',
+ 'Payment' => '¥I´Ú¤è¦¡',
+ 'Reconciliation' => 'Reconciliation',
+ 'Select all' => 'Select all',
+ 'Source' => '¨Ó·½',
+ 'Statement Balance' => 'Statement Balance',
+ 'To' => '¦Ü',
+ 'Update' => 'Update',
+};
+
+$self{subs} = {
+ 'continue' => 'continue',
+ 'display_form' => 'display_form',
+ 'done' => 'done',
+ 'get_payments' => 'get_payments',
+ 'reconciliation' => 'reconciliation',
+ 'select_all' => 'select_all',
+ 'update' => 'update',
+ 'Ä~Äò' => 'continue',
+ 'done' => 'done',
+ 'select_all' => 'select_all',
+ 'update' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/tw/rp b/sql-ledger/locale/tw/rp
new file mode 100644
index 0000000..603745b
--- /dev/null
+++ b/sql-ledger/locale/tw/rp
@@ -0,0 +1,117 @@
+$self{texts} = {
+ 'AP Aging' => 'À³¥I±bÄÖ¤ÀªR',
+ 'AR Aging' => 'À³¦¬±bÄÖ¤ÀªR',
+ 'Account' => '¬ì¥Ø',
+ 'Accounts' => '±b¤á',
+ 'Amount' => 'Á`­p',
+ 'Apr' => '¥|¤ë',
+ 'April' => '¥|¤ë',
+ 'Attachment' => 'ªþÀÉ',
+ 'Aug' => '¤K¤ë',
+ 'August' => '¤K¤ë',
+ 'Balance Sheet' => '¸ê²£­t¶Åªí',
+ 'Bcc' => 'Bcc',
+ 'Cash based' => 'Cash based',
+ 'Cc' => 'Cc',
+ 'Compare to' => '¹ï·Ó',
+ 'Continue' => 'Ä~Äò',
+ 'Copies' => '«þ¨©',
+ 'Credit' => '¶U¤è',
+ 'Current' => 'Current',
+ 'Customer' => '«È¤á',
+ 'Date' => '¤é´Á',
+ 'Debit' => '­É¤è',
+ 'Dec' => '¤Q¤G¤ë',
+ 'December' => '¤Q¤G¤ë',
+ 'Decimalplaces' => 'Decimalplaces',
+ 'Description' => '»¡©ú',
+ 'Due' => '¨ì´Á',
+ 'E-mail' => '¹q¤l¶l¥ó',
+ 'E-mail Statement to' => 'E-mail Statement to',
+ 'Feb' => '¤G¤ë',
+ 'February' => '¤G¤ë',
+ 'From' => '±q',
+ 'GIFI' => 'GIFI',
+ 'Heading' => 'ªíÀY',
+ 'ID' => '½s¸¹',
+ 'In-line' => '¦æ¤º',
+ 'Include in Report' => '¤@¨ÖÅã¥Ü',
+ 'Income Statement' => '·l¯qªí',
+ 'Invoice' => 'µo²¼',
+ 'Jan' => '¤@¤ë',
+ 'January' => '¤@¤ë',
+ 'Jul' => '¤C¤ë',
+ 'July' => '¤C¤ë',
+ 'Jun' => '¤»¤ë',
+ 'June' => '¤»¤ë',
+ 'Mar' => '¤T¤ë',
+ 'March' => '¤T¤ë',
+ 'May' => '¤­¤ë',
+ 'May ' => '¤­¤ë',
+ 'Message' => '°T®§',
+ 'N/A' => '¤£¾A¥Î',
+ 'Nothing selected!' => 'Nothing selected!',
+ 'Nov' => '¤Q¤@¤ë',
+ 'November' => '¤Q¤@¤ë',
+ 'Oct' => '¤Q¤ë',
+ 'October' => '¤Q¤ë',
+ 'PDF' => 'PDF',
+ 'Payments' => '¥I´Ú',
+ 'Postscript' => 'Postscript',
+ 'Print' => 'Print',
+ 'Printer' => '¦Lªí¾÷',
+ 'Receipts' => 'Receipts',
+ 'Report for' => '³øªí¨Ó·½',
+ 'Retained Earnings' => '«O¯d¬Õ¾l',
+ 'Screen' => '¿Ã¹õ',
+ 'Select all' => 'Select all',
+ 'Select postscript or PDF!' => 'Select postscript or PDF!',
+ 'Sep' => '¤E¤ë',
+ 'September' => '¤E¤ë',
+ 'Source' => '¨Ó·½',
+ 'Standard' => '¼Ð·Ç',
+ 'Statement' => 'Statement',
+ 'Statement sent to' => 'Statement sent to',
+ 'Statements sent to printer!' => 'Statements sent to printer!',
+ 'Subject' => '¼ÐÃD',
+ 'Subtotal' => '¤p­p',
+ 'Tax' => 'µ|ª÷',
+ 'Tax collected' => 'Tax collected',
+ 'Tax paid' => 'Tax paid',
+ 'To' => '¦Ü',
+ 'Total' => 'Á`­p',
+ 'Trial Balance' => '¸Õºâªí',
+ 'Vendor' => '¼t°Ó',
+ 'as at' => 'as at',
+ 'collected on sales' => '¦b¾P³f®Éµ²²M',
+ 'for Period' => '´Á¶¡',
+ 'paid on purchases' => '¦b±ÄÁʮɵ²²M',
+ 'to' => 'to',
+};
+
+$self{subs} = {
+ 'aging' => 'aging',
+ 'continue' => 'continue',
+ 'e_mail' => 'e_mail',
+ 'generate_ap_aging' => 'generate_ap_aging',
+ 'generate_ar_aging' => 'generate_ar_aging',
+ 'generate_balance_sheet' => 'generate_balance_sheet',
+ 'generate_income_statement' => 'generate_income_statement',
+ 'generate_tax_report' => 'generate_tax_report',
+ 'generate_trial_balance' => 'generate_trial_balance',
+ 'list_payments' => 'list_payments',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'report' => 'report',
+ 'select_all' => 'select_all',
+ 'send_email' => 'send_email',
+ 'statement_details' => 'statement_details',
+ 'tax_subtotal' => 'tax_subtotal',
+ 'Ä~Äò' => 'continue',
+ '¹q¤l¶l¥ó' => 'e_mail',
+ 'print' => 'print',
+ 'select_all' => 'select_all',
+};
+
+1;
diff --git a/sql-ledger/locale/ua/COPYING b/sql-ledger/locale/ua/COPYING
new file mode 100644
index 0000000..001a4f8
--- /dev/null
+++ b/sql-ledger/locale/ua/COPYING
@@ -0,0 +1,23 @@
+######################################################################
+# SQL-Ledger Accounting
+# Copyright (c) 2003
+#
+# Ukrainian texts:
+#
+# Author: Ivan Petrouchtchak <impe@telus.net>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+#######################################################################
+
diff --git a/sql-ledger/locale/ua/LANGUAGE b/sql-ledger/locale/ua/LANGUAGE
new file mode 100644
index 0000000..368ad3b
--- /dev/null
+++ b/sql-ledger/locale/ua/LANGUAGE
@@ -0,0 +1 @@
+Ukrainian
diff --git a/sql-ledger/locale/ua/admin b/sql-ledger/locale/ua/admin
new file mode 100644
index 0000000..2ba71b0
--- /dev/null
+++ b/sql-ledger/locale/ua/admin
@@ -0,0 +1,124 @@
+$self{texts} = {
+ 'Access Control' => 'ëÏÎÔÒÏÌØ äÏÓÔÕÐÕ',
+ 'Accounting' => 'ïÂ̦Ë',
+ 'Add User' => 'îÏ×ÉÊ ËÏÒÉÓÔÕ×ÁÞ',
+ 'Address' => 'áÄÒÅÓÁ',
+ 'Administration' => 'áÄͦΦÓÔÒÕ×ÁÎÎÑ',
+ 'Administrator' => 'áÄͦΦÓÔÒÁÔÏÒ',
+ 'All Datasets up to date!' => 'âÁÚÉ äÁÎÉÈ ÎÅ ÐÏÔÒÅÂÕÀÔØ ÐÏÎÏ×ÌÅÎÎÑ!',
+ 'Change Admin Password' => 'úͦÎÉÔÉ ÐÁÒÏÌØ áÄͦΦÓÔÒÁÔÏÒÁ',
+ 'Change Password' => 'úͦÎÉÔÉ ÐÁÒÏÌØ',
+ 'Character Set' => 'ëÏÄÉÒÏ×ËÁ',
+ 'Click on login name to edit!' => 'îÁÔÉÓΦÔØ ÎÁ ÎÁÚ×Õ ËÏÒÉÓÔÕ×ÁÞÁ, ÝÏ ÚÒÏÂÉÔÉ ÚͦÎÉ!',
+ 'Company' => 'ð¦ÄÐÒɤÍÓÔ×Ï',
+ 'Connect to' => 'ð¦ÄËÌÀÞÉÔÉÓØ ÄÏ',
+ 'Continue' => 'ðÒÏÄÏ×ÖÉÔÉ',
+ 'Create Chart of Accounts' => 'óÔ×ÏÒÉÔÉ ðÌÁÎ òÁÈÕÎ˦×',
+ 'Create Dataset' => 'óÔ×ÏÒÉÔÉ âÁÚÕ äÁÎÉÈ',
+ 'DBI not installed!' => 'îÅ ×ÓÔÁÎÏ×ÌÅÎÉÊ ÄÒÁÊ×ÅÒ DBI!',
+ 'Database' => 'âÁÚÁ äÁÎÉÈ',
+ 'Database Administration' => 'áÄͦΦÓÔÒÕ×ÁÎÎÑ ÂÁÚÉ ÄÁÎÉÈ',
+ 'Database Driver not checked!' => 'îÅ ÚÁÚÎÁÞÅÎÉÊ ÄÒÁÊ×ÅÒ âÁÚÉ äÁÎÉÈ (Pg)!',
+ 'Database User missing!' => 'îÅ ×ËÁÚÁÎÉÊ ëÏÒÉÓÔÕ×ÁÞ âÁÚÉ äÁÎÉÈ!',
+ 'Dataset' => 'âÁÚÁ äÁÎÉÈ',
+ 'Dataset missing!' => 'îÅ ×ËÁÚÁÎÁ âÁÚÁ äÁÎÉÈ!',
+ 'Dataset updated!' => 'âÁÚÁ äÁÎÉÈ ÐÏÎÏ×ÌÅÎÁ!',
+ 'Date Format' => 'æÏÒÍÁÔ ÄÁÔÉ',
+ 'Delete' => '÷ÉÄÁÌÉÔÉ',
+ 'Delete Dataset' => '÷ÉÄÁÌÉÔÉ âÁÚÕ äÁÎÉÈ',
+ 'Directory' => 'ëÁÔÁÌÏÇ',
+ 'Driver' => 'äÒÁÊ×ÅÒ',
+ 'Dropdown Limit' => 'ïÂÍÅÖÅÎÎÑ ÌÉÓÔÏ×ÏÇÏ ÍÅÎÀ',
+ 'E-mail' => 'åÌ. ÐÏÛÔÁ',
+ 'Edit User' => '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ ëÏÒÉÓÔÕ×ÁÞÁ',
+ 'Existing Datasets' => '¶ÓÎÕÀÞ¦ âÁÚÉ äÁÎÉÈ',
+ 'Fax' => 'æÁÈ',
+ 'Host' => 'íÁÛÉÎÁ/Host',
+ 'Hostname missing!' => 'îÅ ×ËÁÚÁÎÁ ÎÁÚ×Á ÍÁÛÉÎÉ!',
+ 'Incorrect Password!' => 'îÅצÒÎÉÊ ðÁÒÏÌØ!',
+ 'Language' => 'íÏ×Á',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'ñËÝÏ ×É ÎÅ ÂÁÖÁ¤ÔÅ ×ÓÔÁÎÏ×ÉÔÉ ×¦ÄÄÁÌÅÎÉÊ Ú×ÑÚÏË, ÎÅ ÚÁÐÏ×ÎÀÊÔÅ ÐÏÌÑ ÍÁÛÉÎÉ ¦ ÐÏÒÔÕ.',
+ 'Login' => 'ðÏÞÁÔÏË óÅÁÎÓÕ',
+ 'Multibyte Encoding' => 'íÕÌØÔÉÂÉÔÎÅ ëÏÄÕ×ÁÎÎÑ',
+ 'Name' => '¶Í\'Ñ / îÁÚ×Á',
+ 'New Templates' => 'îÏצ ûÁÂÌÏÎÉ',
+ 'No Database Drivers available!' => 'îÅÄÏÓÔÕÐÎÉÊ ÄÒÁÊ×ÅÒ âÁÚÉ äÁÎÉÈ!',
+ 'No Dataset selected!' => 'îÅ ÐÏÚÎÁÞÅÎÏ ×ÉÂÒÁÎÕ âÁÚÕ äÁÎÉÈ!',
+ 'Nothing to delete!' => 'îÅÍÁ ÝÏ ×ÉÄÁÌÉÔÉ!',
+ 'Number Format' => 'æÏÒÍÁÔ þÉÓÌÁ',
+ 'Oracle Database Administration' => 'áÄͦΦÓÔÒÁÃ¦Ñ âÁÚÉ äÁÎÉÈ Oracle',
+ 'Password' => 'ðÁÒÏÌØ',
+ 'Password changed!' => 'ðÁÒÏÌØ ÚͦÎÅÎÏ!',
+ 'Pg Database Administration' => 'áÄͦΦÓÔÒÁÃ¦Ñ âÁÚÉ äÁÎÉÈ Pg',
+ 'Phone' => 'ôÅÌ.',
+ 'Port' => 'ðÏÒÔ',
+ 'Port missing!' => 'ðÏÒÔ ÎÅ ×ËÁÚÁÎÏ!',
+ 'Printer' => 'ðÒÉÎÔÅÒ',
+ 'Save' => 'úÂÅÒÅÇÔÉ',
+ 'Select a Dataset to delete and press "Continue"' => '÷ÉÂÅÒ¦ÔØ âÁÚÕ äÁÎÉÈ ÄÌÑ ×ÉÄÁÌÅÎÎÑ ¦ ÎÁÔÉÓΦÔØ "ðÒÏÄÏ×ÖÉÔÉ"',
+ 'Setup Templates' => 'îÁÌÁÛÔÕ×ÁÔÉ ûÁÂÌÏÎÉ',
+ 'Ship via' => 'ðÏÓÌÁÔÉ ÞÅÒÅÚ',
+ 'Signature' => 'ð¦ÄÐÉÓ',
+ 'Stylesheet' => 'ïÆÏÒÍÌÅÎÎÎÑ',
+ 'Templates' => 'ûÁÂÌÏÎÉ',
+ 'The following Datasets are not in use and can be deleted' => 'îÁÓÔÕÐΦ âÁÚÉ äÁÎÉÈ ÎÅ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ¦ ÍÏÖÕÔØ ÂÕÔÉ ×ÉÄÁÌÅΦ',
+ 'The following Datasets need to be updated' => 'îÁÓÔÕÐΦ âÁÚÉ äÁÎÉÈ ÐÏ×ÉÎΦ ÂÕÔÉ ÐÏÎÏ×ÌÅΦ',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'ðÏÐÅÒÅÄÎÑ ÐÅÒÅצÒËÁ ¦ÓÎÕÀÞÉÈ ÄÖÅÒÅÌ. ðÏËÉ ÝÏ Î¦ÞÏÇÏ ÎÅ ÂÕÄÅ ÓÔ×ÏÒÅÎÏ ÁÂÏ ×ÉÄÁÌÅÎÏ!',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'ýÏ ÄÏÄÁÔÉ ËÏÒÉÓÔÕ×ÁÞÁ ÄÏ ÇÒÕÐÉ, ÔÒÅÂÁ ÐÏͦÎÑÔÉ ¦Í\'Ñ, login/××ÏÄÎÅ ¦ÍÑ ¦ ÚÂÅÒÅÇÔÉ. îÏ×ÉÊ ËÏÒÉÓÔÕ×ÁÞÁ ¦Ú ÏÄÎÁËÏ×ÉÍÉ ÐÁÒÁÍÅÔÒÁÍÉ ÂÕÄÅ ÚÂÅÒÅÖÅÎÏ Ð¦Ä ÎÏ×ÉÍ login/××ÏÄÎÉÍ ¦Í\'ÑÍ.',
+ 'Update Dataset' => 'ðÏÎÏ×ÉÔÉ âÁÚÕ äÁÎÉÈ',
+ 'Use Templates' => '÷ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ûÁÂÌÏÎÉ',
+ 'User' => 'ëÏÒÉÓÔÕ×ÁÞ',
+ 'User deleted!' => 'ëÏÒÉÓÔÕ×ÁÞ ÷ÉÄÁÌÅÎÉÊ',
+ 'User saved!' => 'ëÏÒÉÓÔÕ×ÁÞ ÚÂÅÒÅÖÅÎÉÊ',
+ 'Version' => '÷ÅÒÓ¦Ñ',
+ 'You must enter a host and port for local and remote connections!' => 'íÕÓÉÔÅ ××ÅÓÔÉ ÎÁÚ×Õ ÍÁÛÉÎÉ ¦ ÐÏÒÔÁ ÄÌÑ Í¦ÓÃÅ×ÏÇÏ ¦ צÄÄÁÌÅÎÏÇÏ Ú×ÑÚËÕ!',
+ 'does not exist' => 'ÎÅ ¦ÓÎÕ¤',
+ 'is already a member!' => '×ÖÅ ¤ ÞÌÅÎÏÍ!',
+ 'localhost' => 'localhost',
+ 'locked!' => 'ÚÁÍËÎÕÔÉÊ!',
+ 'successfully created!' => 'ÕÓЦÛÎÏ ÓÔ×ÏÒÅÎÏ!',
+ 'successfully deleted!' => 'ÕÓЦÛÎÏ ×ÉÄÁÌÅÎÏ!',
+ 'website' => '×ÅÂ-ÓÔÏÒ¦ÎËÁ',
+};
+
+$self{subs} = {
+ 'add_user' => 'add_user',
+ 'adminlogin' => 'adminlogin',
+ 'change_admin_password' => 'change_admin_password',
+ 'change_password' => 'change_password',
+ 'check_password' => 'check_password',
+ 'continue' => 'continue',
+ 'create_dataset' => 'create_dataset',
+ 'dbcreate' => 'dbcreate',
+ 'dbdelete' => 'dbdelete',
+ 'dbdriver_defaults' => 'dbdriver_defaults',
+ 'dbselect_source' => 'dbselect_source',
+ 'dbupdate' => 'dbupdate',
+ 'delete' => 'delete',
+ 'delete_dataset' => 'delete_dataset',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'get_value' => 'get_value',
+ 'list_users' => 'list_users',
+ 'login' => 'login',
+ 'login_name' => 'login_name',
+ 'oracle_database_administration' => 'oracle_database_administration',
+ 'pg_database_administration' => 'pg_database_administration',
+ 'save' => 'save',
+ 'update_dataset' => 'update_dataset',
+ 'îÏ×ÉÊ_ËÏÒÉÓÔÕ×ÁÞ' => 'add_user',
+ 'úͦÎÉÔÉ_ÐÁÒÏÌØ_áÄͦΦÓÔÒÁÔÏÒÁ' => 'change_admin_password',
+ 'úͦÎÉÔÉ_ÐÁÒÏÌØ' => 'change_password',
+ 'ðÒÏÄÏ×ÖÉÔÉ' => 'continue',
+ 'óÔ×ÏÒÉÔÉ_âÁÚÕ_äÁÎÉÈ' => 'create_dataset',
+ '÷ÉÄÁÌÉÔÉ' => 'delete',
+ '÷ÉÄÁÌÉÔÉ_âÁÚÕ_äÁÎÉÈ' => 'delete_dataset',
+ 'ðÏÞÁÔÏË_óÅÁÎÓÕ' => 'login',
+ 'áÄͦΦÓÔÒÁæÑ_âÁÚÉ_äÁÎÉÈ_oracle' => 'oracle_database_administration',
+ 'áÄͦΦÓÔÒÁæÑ_âÁÚÉ_äÁÎÉÈ_pg' => 'pg_database_administration',
+ 'úÂÅÒÅÇÔÉ' => 'save',
+ 'ðÏÎÏ×ÉÔÉ_âÁÚÕ_äÁÎÉÈ' => 'update_dataset',
+};
+
+1;
diff --git a/sql-ledger/locale/ua/all b/sql-ledger/locale/ua/all
new file mode 100644
index 0000000..c863ea3
--- /dev/null
+++ b/sql-ledger/locale/ua/all
@@ -0,0 +1,495 @@
+# These are all the texts to build the translations files.
+# The file has the form of 'english text' => 'foreign text',
+# you can add the translation in this file or in the 'missing' file
+# run locales.pl from this directory to rebuild the translation files
+
+$self{texts} = {
+ 'AP' => '÷ÉÔÒÁÔÉ',
+ 'AP Aging' => 'AP Aging (×ÉÔÒÁÔÉ)',
+ 'AP Transaction' => 'ïÐÅÒÁæ§ ÷ÉÔÒÁÔ',
+ 'AP Transactions' => 'ïÐÅÒÁæ§ ÷ÉÔÒÁÔ',
+ 'AR' => 'äÏÈÏÄÉ',
+ 'AR Aging' => 'AR Aging (ÄÏÈÏÄÉ)',
+ 'AR Transaction' => 'ïÐÅÒÁÃ¦Ñ äÏÈÏĦ×',
+ 'AR Transactions' => 'ïÐÅÒÁÃ¦Ñ äÏÈÏĦ×',
+ 'About' => 'ðÒÏ ÐÒÏÇÒÁÍÕ',
+ 'Access Control' => 'ëÏÎÔÒÏÌØ äÏÓÔÕÐÕ',
+ 'Account' => 'òÁÈÕÎÏË',
+ 'Account Number' => 'îÏÍÅÒ òÁÈÕÎËÕ',
+ 'Account Number missing!' => 'îÅ ×ËÁÚÁÎÉÊ ÎÏÍÅÒ ÒÁÈÕÎËÕ!',
+ 'Account Type' => '÷ÉÄ ÒÁÈÕÎËÕ',
+ 'Account Type missing!' => 'îÅ ×ËÁÚÁÎÉÊ ×ÉÄ ÒÁÈÕÎËÕ!',
+ 'Account deleted!' => 'òÁÈÕÎÏË ×ÉÄÁÌÅÎÉÊ',
+ 'Account saved!' => 'òÁÈÕÎÏË ÚÂÅÒÅÖÅÎÏ',
+ 'Accounting' => 'ïÂ̦Ë',
+ 'Accounting Menu' => 'íÅÎÀ ïÂ̦ËÕ',
+ 'Accounts' => 'òÁÈÕÎËÉ',
+ 'Active' => 'áËÔÉ×ÎÉÊ',
+ 'Add' => 'îÏ×ÉÊ',
+ 'Add Account' => 'îÏ×ÉÊ ÒÁÈÕÎÏË',
+ 'Add Accounts Payables Transaction' => 'îÏ×Á ÏÐÅÒÁÃ¦Ñ ×ÉÔÒÁÔ',
+ 'Add Accounts Receivables Transaction' => 'îÏ×Á ÏÐÅÒÁÃ¦Ñ ÄÏÈÏĦ×',
+ 'Add Assembly' => 'îÏ×ÉÊ ËÏÍÐÌÅËÔ',
+ 'Add Customer' => 'îÏ×ÉÊ Ë̦¤ÎÔ',
+ 'Add GIFI' => 'îÏ×ÉÊ GIFI',
+ 'Add General Ledger Transaction' => 'îÏ×Á ÏÐÅÒÁæÑ',
+ 'Add Part' => 'îÏ×ÉÊ ôÏ×ÁÒ',
+ 'Add Project' => 'îÏ×ÉÊ ðÒÏÅËÔ',
+ 'Add Purchase Invoice' => 'îÏ×ÉÊ ëÕЦ×ÅÌØÎÉÊ òÁÈÕÎÏË-ÆÁËÔÕÒÁ',
+ 'Add Purchase Order' => 'îÏ×Å ÚÁÍÏ×ÌÅÎÎÑ ÎÁ ËÕЦ×ÌÀ',
+ 'Add Sales Invoice' => 'îÏ×ÉÊ òÁÈÕÎÏ-ÆÁËÔÕÒÁ',
+ 'Add Sales Order' => 'îÏ×Å ÚÁÍÏ×ÌÅÎÎÑ ÎÁ ÐÒÏÄÁÖ',
+ 'Add Service' => 'îÏ×Á ÐÏÓÌÕÇÁ',
+ 'Add Transaction' => 'îÏ×Á ÏÐÅÒÁæÑ',
+ 'Add User' => 'îÏ×ÉÊ ËÏÒÉÓÔÕ×ÁÞ',
+ 'Add Vendor' => 'îÏ×ÉÊ ÐÏÓÔÁÞÁÌØÎÉË',
+ 'Address' => 'áÄÒÅÓÁ',
+ 'Administration' => 'áÄͦΦÓÔÒÕ×ÁÎÎÑ',
+ 'Administrator' => 'áÄͦΦÓÔÒÁÔÏÒ',
+ 'All' => '÷Ó¦',
+ 'All Datasets up to date!' => 'âÁÚÉ äÁÎÉÈ ÎÅ ÐÏÔÒÅÂÕÀÔØ ÐÏÎÏ×ÌÅÎÎÑ!',
+ 'Amount' => 'óÕÍÁ',
+ 'Amount Due' => 'úÁÐÌÁÔÉÔÉ óÕÍÕ',
+ 'Amount does not equal applied!' => 'óÕÍÁ ÎÅ ÄÏÒ¦×ÎÀ¤ ÚÁÓÔÏÓÏ×ÁΦÊ!',
+ 'Amount missing!' => 'îÅ ×ËÁÚÁÎÁ ÓÕÍÁ!',
+ 'Applied' => 'úÁÓÔÏÓÏ×ÁÎÏ',
+ 'Apr' => 'ËצÔÎÑ',
+ 'April' => 'ëצÔÅÎØ',
+ 'Are you sure you want to delete Invoice Number' => '÷É ÐÅ×Φ, ÝÏ ÈÏÞÅÔÅ ×ÉÄÁÌÉÔÉ ÄÁÎÉÊ ÒÁÈÕÎÏË?',
+ 'Are you sure you want to delete Order Number' => '÷É ÐÅ×Φ, ÝÏ ÈÏÞÅÔÅ ×ÉÄÁÌÉÔÉ ÄÁÎÅ ÚÁÍÏ×ÌÅÎÎÑ?',
+ 'Are you sure you want to delete Transaction' => '÷É ÐÅ×Φ, ÝÏ ÈÏÞÅÔÅ ×ÉÄÁÌÉÔÉ ÄÁÎÕ ÏÐÅÒÁæÀ?',
+ 'Assemblies' => 'ëÏÍÐÌÅËÔÉ',
+ 'Assemblies restocked!' => 'ëÏÍÐÌÅËÔÉ ¦Î×ÅÎÔÁÒÉÚÏ×ÁΦ!',
+ 'Assembly Number missing!' => 'îÅ ×ËÁÚÁÎÉÊ ÎÏÍÅÒ ËÏÍÐÌÅËÔÕ!',
+ 'Asset' => 'áËÔÉ×',
+ 'Attachment' => 'äÏÄÁÔÏË',
+ 'Audit Control' => 'ëÏÎÔÒÏÌØ',
+ 'Aug' => 'ÓÅÒÐÎÑ',
+ 'August' => 'óÅÒÐÅÎØ',
+ 'BOM' => 'BOM',
+ 'Backup' => 'òÅÚÅÒ×ÎÁ ËÏЦÑ',
+ 'Backup sent to' => 'òÅÚÅÒ×ÎÁ ËÏÐ¦Ñ ÐÏÓÌÁÎÁ ÄÏ',
+ 'Balance' => 'âÁÌÁÎÓ',
+ 'Balance Sheet' => 'âÁÌÁÎÓ',
+ 'Bcc' => 'ðÒÉ×ÁÔÎÁ ËÏÐ¦Ñ ÄÏ',
+ 'Bin' => 'Bin',
+ 'Books are open' => 'ëÎÉÇÁ צÄËÒÉÔÁ',
+ 'Bought' => 'ëÕÐÌÅÎÏ',
+ 'Business Number' => 'â¦ÚÎÅÓ-ÎÏÍÅÒ',
+ 'C' => 'ó',
+ 'COGS' => 'COGS',
+ 'Cannot delete account!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÄÁÌÉÔÉ ÒÁÈÕÎÏË',
+ 'Cannot delete customer!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÄÁÌÉÔÉ Ë̦¤ÎÔÁ',
+ 'Cannot delete default account!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÄÁÌÉÔÉ ÏÓÎÏ×ÎÉÊ ÒÁÈÕÎÏË!',
+ 'Cannot delete invoice!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÄÁÌÉÔÉ ÒÁÈÕÎÏË-ÆÁËÔÕÒÕ',
+ 'Cannot delete item already invoiced!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÄÁÌÉÔÉ ÔÏ×ÁÒ, ÎÁ ÑËÉÊ ×ÖÅ ×ÉÐÉÓÁÎÁ ÒÁÈÕÎÏË-ÆÁËÔÕÒÁ!',
+ 'Cannot delete item on order!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÄÁÌÉÔÉ Ò¦Þ ¦Ú ÚÁÍÏ×ÌÅÎÎÑ!',
+ 'Cannot delete item which is part of an assembly!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÄÁÌÉÔÉ ÔÏ×ÁÒ, ÑËÉÊ ¤ ÞÁÓÔÉÎÏÀ ËÏÍÐÌÅËÔÕ!',
+ 'Cannot delete item!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÄÁÌÉÔÉ ÃÅÊ ÅÌÅÍÅÎÔ',
+ 'Cannot delete order!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÄÁÌÉÔÉ ÚÁÍÏ×ÌÅÎÎÑ!',
+ 'Cannot delete transaction!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÄÁÌÉÔÉ ÏÒÅ!',
+ 'Cannot delete vendor!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÄÁÌÉÔÉ ÐÏÓÔÁÞÁÌØÎÉËÁ!',
+ 'Cannot have a value in both Debit and Credit!' => 'îÅ ÍÏÖÎÁ ÏÄÎÏÞÁÓÎÏ ÍÁÔÉ ÓÕÍÉ × äÅÂÉÔ¦ ¦ ëÒÅÄÉÔ¦',
+ 'Cannot post a transaction without a value!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÓÔÁ×ÉÔÉ ÏÐÅÒÁæÀ ÂÅÚ ×ÁÒÔÏÓÔ¦!',
+ 'Cannot post invoice for a closed period!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÓÔÁ×ÉÔÉ ÒÁÈÕÎÏË-ÆÁËÔÕÒÕ ÄÌÑ ÚÁËÒÉÔÏÇÏ ÐÅÒ¦ÏÄÕ!',
+ 'Cannot post invoice!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÓÔÁ×ÉÔÉ ÒÁÈÕÎÏË-ÆÁËÔÕÒÕ!',
+ 'Cannot post payment for a closed period!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÓÔÁ×ÉÔÉ ÐÌÁÔ¦Ö ÄÌÑ ÚÁËÒÉÔÏÇÏ ÐÅÒ¦ÏÄÕ!',
+ 'Cannot post payment!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÓÔÁ×ÉÔÉ ÐÌÁÔ¦Ö!',
+ 'Cannot post transaction for a closed period!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÓÔÁ×ÉÔÉ ÏÐÅÒÁæÀ ÄÌÑ ÚÁËÒÉÔÏÇÏ ÐÅÒ¦ÏÄÕ!',
+ 'Cannot post transaction!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÓÔÁ×ÉÔÉ ÏÐÅÒÁæÀ!',
+ 'Cannot process payment for a closed period!' => 'îÅ ÍÏÖÌÉ×Ï ÐÒÏ×ÅÓÔÉ ÐÌÁÔ¦Ö ÄÌÑ ÚÁËÒÉÔÏÇÏ ÐÅÒ¦ÏÄÕ!',
+ 'Cannot save account!' => 'îÅ ÍÏÖÌÉ×Ï ÚÂÅÒÅÇÔÉ ÒÁÈÕÎÏË!',
+ 'Cannot save order!' => 'îÅ ÍÏÖÌÉ×Ï ÚÂÅÒÅÇÔÉ ÚÁÍÏ×ÌÅÎÎÑ!',
+ 'Cannot save preferences!' => 'îÅ ÍÏÖÌÉ×Ï ÚÂÅÒÅÇÔÉ ÎÁÓÔÒÏÊËÉ!',
+ 'Cannot stock assemblies!' => 'îÅ ÍÏÖÌÉ×Ï ¦Î×ÅÎÔÁÒÉÚÕ×ÁÔÉ ËÏÍÐÌÅËÔÉ!',
+ 'Cash' => 'çÏÔ¦×ËÁ',
+ 'Cash based' => 'çÏÔ¦×ËÏ×ÉÊ',
+ 'Cc' => 'ëÏÐ¦Ñ ÄÏ',
+ 'Change Admin Password' => 'úͦÎÉÔÉ ÐÁÒÏÌØ áÄͦΦÓÔÒÁÔÏÒÁ',
+ 'Change Password' => 'úͦÎÉÔÉ ÐÁÒÏÌØ',
+ 'Character Set' => 'ëÏÄÉÒÏ×ËÁ',
+ 'Chart of Accounts' => 'ðÌÁÎ òÁÈÕÎ˦×',
+ 'Check' => 'þÅË',
+ 'Check printed!' => 'þÅË ÎÁÄÒÕËÏ×ÁÎÏ!',
+ 'Check printing failed!' => 'äÒÕË ÞÅËÕ ÎÅ ×ÄÁ×ÓÑ!',
+ 'Cleared Balance' => 'ë¦ÎÃÅ×Å óÁÌØÄÏ',
+ 'Click on login name to edit!' => 'îÁÔÉÓΦÔØ ÎÁ ÎÁÚ×Õ ËÏÒÉÓÔÕ×ÁÞÁ, ÝÏ ÚÒÏÂÉÔÉ ÚͦÎÉ!',
+ 'Close Books up to' => 'úÁËÒÉÔÉ ëÎÉÇÉ ÄÏ',
+ 'Closed' => 'úÁËÒÉÔÏ',
+ 'Company' => 'ð¦ÄÐÒɤÍÓÔ×Ï',
+ 'Compare to' => 'ðÏÒ¦×ÎÑÔÉ Ú',
+ 'Confirm!' => 'ð¦ÄÔ×ÅÒĦÔØ!',
+ 'Connect to' => 'ð¦ÄËÌÀÞÉÔÉÓØ ÄÏ',
+ 'Contact' => 'ëÏÎÔÁËÔÎÁ ÏÓÏÂÁ',
+ 'Continue' => 'ðÒÏÄÏ×ÖÉÔÉ',
+ 'Copies' => 'ëÏЦÊ',
+ 'Copy to COA' => 'óËÏЦÀ×ÁÔÉ ÄÏ ðÌÁÎÕ òÁÈÕÎ˦×',
+ 'Create Chart of Accounts' => 'óÔ×ÏÒÉÔÉ ðÌÁÎ òÁÈÕÎ˦×',
+ 'Create Dataset' => 'óÔ×ÏÒÉÔÉ âÁÚÕ äÁÎÉÈ',
+ 'Credit' => 'ëÒÅÄÉÔ',
+ 'Credit Limit' => 'ì¦Í¦Ô ËÒÅÄÉÔÕ',
+ 'Curr' => '÷ÁÌÀÔÁ',
+ 'Currency' => '÷ÁÌÀÔÁ',
+ 'Current' => 'ðÏÔÏÞÎÉÊ',
+ 'Customer' => 'ë̦¤ÎÔ',
+ 'Customer deleted!' => 'ë̦¤ÎÔÁ ×ÉÄÁÌÅÎÏ!',
+ 'Customer missing!' => 'îÅ ×ËÁÚÁÎÉÊ Ë̦¤ÎÔ!',
+ 'Customer not on file!' => 'ë̦¤ÎÔÁ ÎÅÍÁ × ÓÐÉÓËÕ!',
+ 'Customer saved!' => 'ë̦¤ÎÔÁ ÚÂÅÒÅÖÅÎÏ!',
+ 'Customers' => 'ë̦¤ÎÔÉ',
+ 'DBI not installed!' => 'îÅ ×ÓÔÁÎÏ×ÌÅÎÉÊ ÄÒÁÊ×ÅÒ DBI!',
+ 'Database' => 'âÁÚÁ äÁÎÉÈ',
+ 'Database Administration' => 'áÄͦΦÓÔÒÕ×ÁÎÎÑ ÂÁÚÉ ÄÁÎÉÈ',
+ 'Database Driver not checked!' => 'îÅ ÚÁÚÎÁÞÅÎÉÊ ÄÒÁÊ×ÅÒ âÁÚÉ äÁÎÉÈ (Pg)!',
+ 'Database Host' => 'íÁÛÉÎÁ âÁÚÉ äÁÎÉÈ',
+ 'Database User missing!' => 'îÅ ×ËÁÚÁÎÉÊ ëÏÒÉÓÔÕ×ÁÞ âÁÚÉ äÁÎÉÈ!',
+ 'Dataset' => 'âÁÚÁ äÁÎÉÈ',
+ 'Dataset missing!' => 'îÅ ×ËÁÚÁÎÁ âÁÚÁ äÁÎÉÈ!',
+ 'Dataset updated!' => 'âÁÚÁ äÁÎÉÈ ÐÏÎÏ×ÌÅÎÁ!',
+ 'Date' => 'äÁÔÁ',
+ 'Date Due' => 'úÁÐÌÁÔÉÔÉ ÄÏ',
+ 'Date Format' => 'æÏÒÍÁÔ ÄÁÔÉ',
+ 'Date Paid' => 'äÁÔÁ ÏÐÌÁÔÉ',
+ 'Date missing!' => 'îÅ ×ËÁÚÁÎÁ ÄÁÔÁ!',
+ 'Debit' => 'äÅÂÉÔ',
+ 'Debit and credit out of balance!' => 'äÅÂÉÔ ¦ ËÒÅÄÉÔ ÎÅ ÚÂÁÌÁÎÓÏ×ÁΦ!',
+ 'Dec' => 'ÇÒÕÄÎÑ',
+ 'December' => 'çÒÕÄÅÎØ',
+ 'Decimalplaces' => 'äÅÓÑÔÉÞΦ ͦÓÃÑ',
+ 'Delete' => '÷ÉÄÁÌÉÔÉ',
+ 'Delete Account' => '÷ÉÄÁÌÉÔÉ ÒÁÈÕÎÏË',
+ 'Delete Dataset' => '÷ÉÄÁÌÉÔÉ âÁÚÕ äÁÎÉÈ',
+ 'Delivery Date' => 'äÁÔÁ ÄÏÓÔÁ×ËÉ',
+ 'Department' => '',
+ 'Deposit' => 'äÅÐÏÚÉÔ/÷ËÌÁÄ',
+ 'Description' => 'ïÐÉÓ',
+ 'Difference' => 'ò¦ÚÎÉÃÑ',
+ 'Directory' => 'ëÁÔÁÌÏÇ',
+ 'Discount' => 'óËÉÄËÁ',
+ 'Done' => 'úÒÏÂÌÅÎÏ',
+ 'Drawing' => 'íÁÌÀÎÏË',
+ 'Driver' => 'äÒÁÊ×ÅÒ',
+ 'Dropdown Limit' => 'ïÂÍÅÖÅÎÎÑ ÌÉÓÔÏ×ÏÇÏ ÍÅÎÀ',
+ 'Due' => 'äÏ',
+ 'Due Date' => 'úÁÐÌÁÔÉÔÉ ÄÏ',
+ 'Due Date missing!' => 'îÅ ×ËÁÚÁÎÉÊ ÔÅÒͦΠÏÐÌÁÔÉ!',
+ 'E-mail' => 'åÌ. ÐÏÛÔÁ',
+ 'E-mail Statement to' => 'ðÏÓÌÁÔÉ ÐÏ ÅÌ. ÐÏÛÔ¦ ÄÏ',
+ 'E-mail address missing!' => 'îÅ ×ËÁÚÁÎÁ ÁÄÒÅÓÁ ÅÌ. ÐÏÛÔÉ!',
+ 'Edit' => '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ',
+ 'Edit Account' => '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ òÁÈÕÎÏË',
+ 'Edit Accounts Payables Transaction' => '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ ðÒÏ×ÏÄËÕ ÷ÉÔÒÁÔ',
+ 'Edit Accounts Receivables Transaction' => '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ ðÒÏ×ÏÄËÕ äÏÈÏĦ×',
+ 'Edit Assembly' => '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ ËÏÍÐÌÅËÔ',
+ 'Edit Customer' => '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ ë̦¤ÎÔÁ',
+ 'Edit GIFI' => '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ GIFI',
+ 'Edit General Ledger Transaction' => '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ ïÐÅÒÁæÀ çÏÌÏ×Îϧ ëÎÉÇÉ',
+ 'Edit Part' => '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ ôÏ×ÁÒ',
+ 'Edit Preferences for' => '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ îÁÓÔÒÏÊËÉ',
+ 'Edit Project' => '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ ðÒÏÅËÔ',
+ 'Edit Purchase Invoice' => '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ ëÕЦ×ÅÌØÎÉÊ òÁÈÕÎÏË-ÆÁËÔÕÒÕ',
+ 'Edit Purchase Order' => '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ ëÕЦ×ÅÌØÎÅ úÁÍÏ×ÌÅÎÎÑ',
+ 'Edit Sales Invoice' => '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ òÁÈÕÎÏË-ÆÁËÔÕÒÕ',
+ 'Edit Sales Order' => '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ îÁËÌÁÄÎÕ ðÒÏÄÁÖÕ',
+ 'Edit Service' => '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ ÐÏÓÌÕÇÕ',
+ 'Edit Template' => '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ ûÁÂÌÏÎ',
+ 'Edit User' => '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ ëÏÒÉÓÔÕ×ÁÞÁ',
+ 'Edit Vendor' => '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ ðÏÓÔÁÞÁÌØÎÉËÁ',
+ 'Employee' => 'ðÒÁæ×ÎÉË',
+ 'Enforce transaction reversal for all dates' => 'úÁÓÔÁ×ÉÔÉ Ú×ÏÒÏÔÎÕ ÚͦÎÕ ÐÒÏ×ÏÄÏË ÄÌÑ ×Ó¦È ÄÁÔ',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => '÷×ÅĦÔØ ÄÏ 3 ̦ÔÅÒ ÒÏÚĦÌÅÎÉÈ Ä×ÏËÒÁÐËÁÍÉ (i.e CAD:USD:EUR) ÄÌÑ ÐÏÚÎÁÞÅÎÎÑ Í¦ÓÃÅ×ϧ ¦ ¦ÎÏÚÅÍÎÉÈ ÇÒÏÛÏ×ÉÈ ÏÄÉÎÉÃØ',
+ 'Equity' => 'ëÁЦÔÁÌ',
+ 'Exch' => 'ëÕÒÓ',
+ 'Exchangerate' => 'ëÕÒÓ ×ÁÌÀÔÉ',
+ 'Exchangerate Difference' => 'ò¦ÚÎÉÃÑ ëÕÒÓÕ ×ÁÌÀÔÉ',
+ 'Exchangerate for payment missing!' => 'îÅ ×ËÁÚÁÎÉÊ ËÕÒÓ ×ÁÌÀÔÉ ÄÌÑ ÐÌÁÔÅÖÕ!',
+ 'Exchangerate missing!' => 'îÅ ×ËÁÚÁÎÉÊ ËÕÒÓ ×ÁÌÀÔÉ!',
+ 'Existing Datasets' => '¶ÓÎÕÀÞ¦ âÁÚÉ äÁÎÉÈ',
+ 'Expense' => '÷ÉÄÁÔËÉ',
+ 'Expense Account' => 'òÁÈÕÎÏË ÷ÉÄÁÔ˦×',
+ 'Expense/Asset' => '÷ÉÄÁÔÏË/áËÔÉ×',
+ 'Extended' => 'ðÒÏÄÏ×ÖÅÎÏ',
+ 'Fax' => 'æÁÈ',
+ 'Feb' => 'ÌÀÔÏÇÏ',
+ 'February' => 'ìÀÔÉÊ',
+ 'Foreign Exchange Gain' => 'ðÒÉÂÕÔÏË Ú ïÂͦÎÕ ÷ÁÌÀÔÉ',
+ 'Foreign Exchange Loss' => '÷ÔÒÁÔÁ ÎÁ ïÂͦΦ ÷ÁÌÀÔÉ',
+ 'From' => '÷¦Ä / Ú',
+ 'GIFI' => 'GIFI',
+ 'GIFI deleted!' => 'GIFI ×ÉÄÁÌÅÎÏ!',
+ 'GIFI missing!' => 'îÅ ×ËÁÚÁÎÏ GIFI!',
+ 'GIFI saved!' => 'GIFI ÚÂÅÒÅÖÅÎÏ!',
+ 'GL Transaction' => 'çë ïÐÅÒÁæÑ',
+ 'General Ledger' => 'çÏÌÏ×ÎÁ ëÎÉÇÁ',
+ 'Goods & Services' => 'ôÏ×ÁÒÉ ¦ ðÏÓÌÕÇÉ',
+ 'HTML Templates' => 'HTML ûÁÂÌÏÎÉ ',
+ 'Heading' => 'òÏÚĦÌ',
+ 'Host' => 'íÁÛÉÎÁ/Host',
+ 'Hostname missing!' => 'îÅ ×ËÁÚÁÎÁ ÎÁÚ×Á ÍÁÛÉÎÉ!',
+ 'ID' => '¶ÄÅÎÔÉƦËÁæÊÎÉÊ ÎÏÍÅÒ',
+ 'Image' => 'úÏÂÒÁÖÅÎÎÑ',
+ 'In-line' => '÷ËÌÀÞÅÎÏ (In-line)',
+ 'Include in Report' => 'äÏÄÁÔÉ ÄÏ úצÔÕ',
+ 'Include in drop-down menus' => 'äÏÄÁÔÉ ÄÏ ÌÉÓÔÏ×ÉÈ ÍÅÎÀ',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'äÏÄÁÔÉ ÒÁÈÕÎÏË ÄÏ ÆÏÒÍ Ë̦¤ÎÔ¦×/ÐÏÓÔÁÞÁÌØÎÉ˦×, ÝÏ ÐÏÚÎÁÞÁÔÉ Ë̦¤ÎÔ¦×/ÐÏÓÔÁÞÁÌØÎÉË¦× Ú ÑËÉÈ ÓÔÑÇÕÀÔØÓÑ ÐÏÄÁÔËÉ?',
+ 'Income' => 'ðÒÉÂÕÔÏË',
+ 'Income Account' => 'òÁÈÕÎÏË ðÒÉÂÕÔ˦×',
+ 'Income Statement' => 'ú×¦Ô ÐÒÏ ÄÏÈÏÄÉ ¦ ×ÉÄÁÔËÉ',
+ 'Incorrect Dataset version!' => 'îÅצÒÎÁ ×ÅÒÓ¦Ñ âÁÚÉ äÁÎÉÈ!',
+ 'Incorrect Password!' => 'îÅצÒÎÉÊ ðÁÒÏÌØ!',
+ 'Individual Items' => '¶ÎÄÉצÄÕÁÌØΦ þÁÓÔÉÎÉ',
+ 'Inventory' => '¶Î×ÅÎÔÁÒ',
+ 'Inventory Account' => '¶Î×ÅÎÔÁÒÎÉÊ ÒÁÈÕÎÏË',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'ë¦ÌØ˦ÓÔØ × ¦Î×ÅÎÔÁÒ¦ ÐÏ×ÉÎÎÁ ÂÕÔÉ ÎÕÌØ, ÐÅÒÛ Î¦Ö ÍÏÖÎÁ ÐÏÚÎÁÞÉÔÉ ËÏÍÐÌÅËÔ ÚÁÓÔÁÒ¦ÌÉÍ!',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'ë¦ÌØ˦ÓÔØ × ¦Î×ÅÎÔÁÒ¦ ÐÏ×ÉÎÎÁ ÂÕÔÉ ÎÕÌØ, ÐÅÒÛ Î¦Ö ÍÏÖÎÁ ÐÏÚÎÁÞÉÔÉ ÃÉÊ ÔÏ×ÁÒ ÚÁÓÔÁÒ¦ÌÉÍ!',
+ 'Inventory quantity must be zero!' => 'ë¦ÌØ˦ÓÔØ × ¦Î×ÅÎÔÁÒ¦ ÐÏ×ÉÎÎÁ ÂÕÔÉ ÎÕÌØ!',
+ 'Invoice' => 'òÁÈÕÎÏË-ÆÁËÔÕÒÁ',
+ 'Invoice Date' => 'äÁÔÁ ×ÉÓÔÁ×ÌÅÎÎÑ',
+ 'Invoice Date missing!' => 'îÅ ×ËÁÚÁÎÁ ÄÁÔÁ ×ÉÓÔÁ×ÌÅÎÎÑ ÒÁÈÕÎËÁ-ÆÁËÔÕÒÉ!',
+ 'Invoice Number' => 'îÏÍÅÒ ÒÁÈÕÎËÁ-ÆÁËÔÕÒÉ',
+ 'Invoice Number missing!' => 'îÅ ×ËÁÚÁÎÉÊ ÎÏÍÅÒ ÒÁÈÕÎËÁ-ÆÁËÔÕÒÉ!',
+ 'Invoice deleted!' => 'òÁÈÕÎÏË-ÆÁËÔÕÒÁ ×ÉÄÁÌÅÎÉÊ!',
+ 'Invoice posted!' => 'òÁÈÕÎÏË-ÆÁËÔÕÒÁ ×ÉÓÔÁ×ÌÅÎÉÊ!',
+ 'Invoices' => 'òÁÈÕÎËÉ-ÆÁËÔÕÒÉ',
+ 'Is this a summary account to record' => 'þÉ ÃŠЦÄÓÕÍËÏ×ÉÊ ÒÁÈÕÎÏË ÄÌÑ ÚÁÐÉÓÕ?',
+ 'Item deleted!' => 'ò¦Þ ×ÉÄÁÌÅÎÏ!',
+ 'Item not on file!' => 'òÅÞ¦ ÎÅÍÁ × ÓÐÉÓËÕ!',
+ 'Jan' => 'Ó¦ÞÎÑ',
+ 'January' => 'Ó¦ÞÅÎØ',
+ 'Jul' => 'ÌÉÐÎÑ',
+ 'July' => 'ìÉÐÅÎØ',
+ 'Jun' => 'ÞÅÒ×ÎÑ',
+ 'June' => 'þÅÒ×ÅÎØ',
+ 'LaTeX Templates' => 'LaTeX ûÁÂÌÏÎÉ',
+ 'Language' => 'íÏ×Á',
+ 'Last Cost' => 'ëÕЦ×ÅÌØÎÁ ã¦ÎÁ',
+ 'Last Invoice Number' => 'îÏÍÅÒ ïÓÔÁÎÎØÏÇÏ òÁÈÕÎËÕ-æÁËÔÕÒÉ',
+ 'Last Numbers & Default Accounts' => 'ïÓÔÁÎΦ îÏÍÅÒÉ ¦ ôÉÐÏצ òÁÈÕÎËÉ',
+ 'Last Purchase Order Number' => 'îÏÍÅÒ ÏÓÔÁÎÎØÏÇÏ úÁÍÏ×ÌÅÎÎÑ ÎÁ ðÏÓÔÁÞÕ',
+ 'Last Sales Order Number' => 'îÏÍÅÒ ÏÓÔÁÎÎØϧ ðÒÏÄÁÖÎϧ îÁËÌÁÄÎϧ',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'ñËÝÏ ×É ÎÅ ÂÁÖÁ¤ÔÅ ×ÓÔÁÎÏ×ÉÔÉ ×¦ÄÄÁÌÅÎÉÊ Ú×ÑÚÏË, ÎÅ ÚÁÐÏ×ÎÀÊÔÅ ÐÏÌÑ ÍÁÛÉÎÉ ¦ ÐÏÒÔÕ.',
+ 'Liability' => 'ðÁÓÓÉ×',
+ 'Licensed to' => 'ì¦ÃÅÎÚ¦¤À ×ÏÌÏĦ¤:',
+ 'Line Total' => 'úÁÇÁÌØÎÁ óÕÍÁ',
+ 'Link' => 'ðÏÓÉÌÁÎÎÑ',
+ 'Link Accounts' => 'ðÏ×ÑÚÁÔÉ òÁÈÕÎËÉ',
+ 'List Accounts' => 'óÐÉÓÏË òÁÈÕÎ˦×',
+ 'List GIFI' => 'óÐÉÓÏË GIFI',
+ 'List Price' => 'ã¦ÎÁ',
+ 'List Transactions' => 'óÐÉÓÏË ðÒÏ×ÏÄÏË',
+ 'Login' => 'ðÏÞÁÔÏË óÅÁÎÓÕ',
+ 'Logout' => 'ë¦ÎÅÃØ óÅÁÎÓÕ',
+ 'Make' => '÷ÉÒÏÂÎÉÃÔ×Ï',
+ 'Mar' => 'ÂÅÒÅÚÎÑ',
+ 'March' => 'âÅÒÅÚÅÎØ',
+ 'May' => 'ÔÒÁ×ÎÑ',
+ 'May ' => 'ôÒÁ×ÅÎØ',
+ 'Message' => 'ðÏצÄÏÍÌÅÎÎÑ',
+ 'Microfiche' => 'í¦ËÒÏƦÛÁ',
+ 'Model' => 'íÏÄÅÌØ',
+ 'Multibyte Encoding' => 'íÕÌØÔÉÂÉÔÎÅ ëÏÄÕ×ÁÎÎÑ',
+ 'N/A' => 'îÅ óÔÏÓÕ¤ÔØÓÑ',
+ 'Name' => '¶Í\'Ñ / îÁÚ×Á',
+ 'Name missing!' => 'îÅ ×ËÁÚÁÎÅ ¦Í\'Ñ (ÎÁÚ×Á)!',
+ 'New Templates' => 'îÏצ ûÁÂÌÏÎÉ',
+ 'No' => 'î¦',
+ 'No Database Drivers available!' => 'îÅÄÏÓÔÕÐÎÉÊ ÄÒÁÊ×ÅÒ âÁÚÉ äÁÎÉÈ!',
+ 'No Dataset selected!' => 'îÅ ÐÏÚÎÁÞÅÎÏ ×ÉÂÒÁÎÕ âÁÚÕ äÁÎÉÈ!',
+ 'No email address for' => 'îÅ ×ËÁÚÁÎÁ ÁÄÒÅÓÁ ÅÌ. ÐÏÛÔÉ ÄÌÑ',
+ 'No.' => 'No.',
+ 'Notes' => 'ðÒÉͦÔËÉ',
+ 'Nothing applied!' => 'î¦ÞÏÇÏ ÎÅ ÚÁÓÔÏÓÏ×ÁÎÏ!',
+ 'Nothing selected!' => 'î¦ÞÏÇÏ ÎÅ ×ÉÂÒÁÎÏ!',
+ 'Nothing to delete!' => 'îÅÍÁ ÝÏ ×ÉÄÁÌÉÔÉ!',
+ 'Nov' => 'ÌÉÓÔÏÐÁÄÁ',
+ 'November' => 'ìÉÓÔÏÐÁÄ',
+ 'Number' => 'îÏÍÅÒ',
+ 'Number Format' => 'æÏÒÍÁÔ þÉÓÌÁ',
+ 'Number missing in Row' => 'îÅ ×ËÁÚÁÎÉÊ ÎÏÍÅÒ Õ ÒÑÄËÕ',
+ 'O' => 'ï',
+ 'Obsolete' => 'úÁÓÔÁÒ¦ÌÅ',
+ 'Oct' => 'ÖÏ×ÔÎÑ',
+ 'October' => 'öÏ×ÔÅÎØ',
+ 'On Hand' => 'îÁ òÕËÁÈ',
+ 'On Order' => 'îÁ úÁÍÏ×ÌÅÎΦ',
+ 'Open' => '÷¦ÄËÒÉÔÏ',
+ 'Oracle Database Administration' => 'áÄͦΦÓÔÒÁÃ¦Ñ âÁÚÉ äÁÎÉÈ Oracle',
+ 'Order' => 'úÁÍÏ×ÌÅÎÎÑ',
+ 'Order Date' => 'äÁÔÁ úÁÍÏ×ÌÅÎÎÑ',
+ 'Order Date missing!' => 'îÅ ×ËÁÚÁÎÁ äÁÔÁ úÁÍÏ×ÌÅÎÎÑ!',
+ 'Order Entry' => '÷ÉÓÔÁ×ÌÅÎÎÑ úÁÍÏ×ÌÅÎÎÑ',
+ 'Order Number' => 'îÏÍÅÒ úÁÍÏ×ÌÅÎÎÑ',
+ 'Order Number missing!' => 'îÅ ×ËÁÚÁÎÏ îÏÍÅÒ úÁÍÏ×ÌÅÎÎÑ',
+ 'Order deleted!' => 'úÁÍÏ×ÌÅÎÎÑ ×ÉÄÁÌÅÎÏ!',
+ 'Order saved!' => 'úÁÍÏ×ÌÅÎÎÑ ÚÂÅÒÅÖÅÎÏ!',
+ 'Ordered' => 'úÁÍÏ×ÌÅÎÏ',
+ 'Orphaned' => '÷¦ÄÏËÒÅÍÌÅÎÉÊ/ïÓÉÒÏÔ¦ÌÉÊ',
+ 'Out of balance!' => 'îÅ ÚÂÁÌÁÎÓÏ×ÁÎÏ!',
+ 'PDF' => 'PDF ÆÏÒÍÁÔ',
+ 'Packing List' => 'ðÁËÕ×ÁÌØÎÉÊ óÐÉÓÏË',
+ 'Packing List Date missing!' => 'îÅ ×ËÁÚÁÎÁ äÁÔÁ ðÁËÕ×ÁÌØÎÏÇÏ óÐÉÓÏËÕ',
+ 'Packing List Number missing!' => 'îÅ ×ËÁÚÁÎÉÊ îÏÍÅÒ ðÁËÕ×ÁÌØÎÏÇÏ óÐÉÓÏËÕ',
+ 'Paid' => 'úÁÐÌÁÞÅÎÏ',
+ 'Paid in full' => 'úÁÐÌÁÞÅÎÏ ×ÐÏ×Φ',
+ 'Part' => 'ôÏ×ÁÒ',
+ 'Part Number missing!' => 'îÅ ×ËÁÚÁÎÏ îÏÍÅÒ ôÏ×ÁÒÕ!',
+ 'Parts' => 'ÔÏ×ÁÒÉ',
+ 'Parts Inventory' => '¶Î×ÅÎÔÁÒ ôÏ×ÁÒ¦×',
+ 'Password' => 'ðÁÒÏÌØ',
+ 'Password changed!' => 'ðÁÒÏÌØ ÚͦÎÅÎÏ!',
+ 'Payables' => 'úÏÂÏ×ÑÚÁÎÎÑ (ÐÌÁÔ¦ÖΦ)',
+ 'Payment' => 'ðÌÁÔ¦Ö',
+ 'Payment date missing!' => 'îÅ ×ËÁÚÁÎÏ ÄÁÔÕ ðÌÁÔÅÖÕ!',
+ 'Payment posted!' => 'ðÌÁÔ¦Ö ×ÉÓÔÁ×ÌÅÎÏ!',
+ 'Payments' => 'ðÌÁÔÅÖ¦',
+ 'Pg Database Administration' => 'áÄͦΦÓÔÒÁÃ¦Ñ âÁÚÉ äÁÎÉÈ Pg',
+ 'Phone' => 'ôÅÌ.',
+ 'Port' => 'ðÏÒÔ',
+ 'Port missing!' => 'ðÏÒÔ ÎÅ ×ËÁÚÁÎÏ!',
+ 'Post' => '÷ÉÓÔÁ×ÉÔÉ',
+ 'Post as new' => '÷ÉÓÔÁ×ÉÔÉ ÑË ÎÏ×ÉÊ',
+ 'Postscript' => 'Postscript',
+ 'Preferences' => 'îÁÓÔÒÏÊËÉ',
+ 'Preferences saved!' => 'îÁÓÔÒÏÊËÉ ÚÂÅÒÅÖÅÎÏ!',
+ 'Price' => 'ã¦ÎÁ',
+ 'Print' => 'îÁÄÒÕËÕ×ÁÔÉ',
+ 'Printer' => 'ðÒÉÎÔÅÒ',
+ 'Project' => 'ðÒÏÅËÔ',
+ 'Project Number' => '',
+ 'Project Number missing!' => 'îÅ ×ËÁÚÁÎÉÊ ÎÏÍÅÒ ÐÒÏÅËÔÕ!',
+ 'Project deleted!' => 'ðÒÏÅËÔ ×ÉÄÁÌÅÎÏ!',
+ 'Project not on file!' => 'ðÒÏÅËÔÕ ÎÅÍÁ × ÓÐÉÓËÕ!',
+ 'Project saved!' => 'ðÒÏÅËÔ ÚÂÅÒÅÖÅÎÏ!',
+ 'Projects' => 'ðÒÏÅËÔÉ',
+ 'Purchase Invoice' => 'òÁÈÕÎÏË-ÆÁËÔÕÒÁ',
+ 'Purchase Order' => 'ëÕЦ×ÅÌØÎÅ úÁÍÏ×ÌÅÎÎÑ',
+ 'Purchase Orders' => 'ëÕЦ×ÅÌØΦ úÁÍÏ×ÌÅÎÎÑ',
+ 'Qty' => 'ë¦ÌØ˦ÓÔØ',
+ 'ROP' => 'ROP',
+ 'Rate' => 'òÏÚæÎËÁ',
+ 'Recd' => 'ïÔÒÉÍÁÎÏ',
+ 'Receipt' => 'ë×ÉÔÁÎæÑ',
+ 'Receipt printed!' => '',
+ 'Receipt printing failed!' => '',
+ 'Receipts' => 'ë×ÉÔÁÎæ§',
+ 'Receivables' => 'îÁÌÅÖÎÏÓÔ¦ (ÄÅÂÉÔÉ)',
+ 'Reconciliation' => 'õÚÇÏÄÖÅÎÎÑ',
+ 'Record in' => '÷ÎÅÓÔÉ ×',
+ 'Reference' => 'úÓÉÌËÁ',
+ 'Reference missing!' => 'îÅ ×ËÁÚÁÎÁ ÚÓÉÌËÁ!',
+ 'Remaining' => 'úÁÌÉÛÉÌÏÓØ',
+ 'Report for' => 'ú×¦Ô ÄÌÑ',
+ 'Reports' => 'úצÔÉ',
+ 'Required by' => 'ôÅÒͦΠÄÏÓÔÁ×ËÉ',
+ 'Retained Earnings' => 'ðÒÉÂÕÔÏË (ÎÅÒÏÚÐÏĦÌÅÎÉÊ)',
+ 'Sales' => 'úÂÕÔ',
+ 'Sales Invoice' => 'òÁÈÕÎÏË-ÆÁËÔÕÒÁ',
+ 'Sales Order' => 'îÁËÌÁÄÎÁ ðÒÏÄÁÖÕ ',
+ 'Sales Orders' => 'îÁËÌÁÄΦ ðÒÏÄÁÖÕ',
+ 'Save' => 'úÂÅÒÅÇÔÉ',
+ 'Save as new' => 'úÂÅÒÅÇÔÉ ÑË ÎÏ×Å',
+ 'Save to File' => 'úÂÅÒÅÇÔÉ Õ æÁÊ̦',
+ 'Screen' => 'åËÒÁÎ',
+ 'Select a Dataset to delete and press "Continue"' => '÷ÉÂÅÒ¦ÔØ âÁÚÕ äÁÎÉÈ ÄÌÑ ×ÉÄÁÌÅÎÎÑ ¦ ÎÁÔÉÓΦÔØ "ðÒÏÄÏ×ÖÉÔÉ"',
+ 'Select all' => '÷ÉÂÒÁÔÉ ×ÓÅ',
+ 'Select from one of the items below' => '÷ÉÂÅÒ¦ÔØ ÏÄÎÕ ¦Ú ÎÁÓÔÕÐÎÉÈ ÒÅÞÅÊ',
+ 'Select from one of the names below' => '÷ÉÂÅÒ¦ÔØ ÏÄÎÅ ¦Ú ÎÁÓÔÕÐÎÉÈ ¦ÍÅÎ/ÎÁÚ×',
+ 'Select from one of the projects below' => '÷ÉÂÅÒ¦ÔØ ÏÄÉÎ ¦Ú ÎÁÓÔÕÐÎÉÈ ÐÒÏÅËÔ¦×',
+ 'Select postscript or PDF!' => '÷ÉÂÅÒ¦ÔØ postscript ÁÂÏ PDF ÆÏÒÍÁÔ!',
+ 'Sell Price' => '÷¦ÄÐÕÓËÎÁ ã¦ÎÁ',
+ 'Send by E-Mail' => '÷ÉÓÌÁÔÉ ÐÏ ÅÌ. ÐÏÛÔ¦',
+ 'Sep' => '×ÅÒÅÓÎÑ',
+ 'September' => '÷ÅÒÅÓÅÎØ',
+ 'Service' => 'ðÏÓÌÕÇÁ',
+ 'Service Items' => 'ðÏÓÌÕÇÉ',
+ 'Service Number missing!' => 'îÏÍÅÒ ðÏÓÌÕÇÉ ÎÅ ×ËÁÚÁÎÏ',
+ 'Services' => 'ðÏÓÌÕÇÉ',
+ 'Setup Templates' => 'îÁÌÁÛÔÕ×ÁÔÉ ûÁÂÌÏÎÉ',
+ 'Ship' => 'ðÏÓÌÁÔÉ',
+ 'Ship to' => 'ðÏÓÌÁÔÉ ÄÏ',
+ 'Ship via' => 'ðÏÓÌÁÔÉ ÞÅÒÅÚ',
+ 'Short' => 'óËÏÒÏÞÅÎÏ',
+ 'Signature' => 'ð¦ÄÐÉÓ',
+ 'Sold' => 'ðÒÏÄÁÎÏ',
+ 'Source' => 'äÖÅÒÅÌÏ',
+ 'Standard' => 'óÔÁÎÄÁÒÔΦ',
+ 'Statement' => 'úצÔ',
+ 'Statement Balance' => 'âÁÌÁÎÓÏ×ÉÊ úצÔ',
+ 'Statement sent to' => 'ú×¦Ô ÐÏÓÌÁÎÏ ÄÏ',
+ 'Statements sent to printer!' => 'ú×¦Ô ÐÏÓÌÁÎÏ ÄÏ ÐÒÉÎÔÅÒÁ!',
+ 'Stock Assembly' => '¶Î×ÅÎÔÁÒ ëÏÍÐÌÅËÔÕ',
+ 'Stylesheet' => 'ïÆÏÒÍÌÅÎÎÎÑ',
+ 'Subject' => 'ôÅÍÁ',
+ 'Subtotal' => 'ð¦ÄÓÕÍÏË ÐÏ ÒÏÚĦÌÕ',
+ 'System' => 'óÉÓÔÅÍÁ',
+ 'Tax' => 'ðÏÄÁÔÏË',
+ 'Tax Accounts' => 'ðÏÄÁÔËÏצ òÁÈÕÎËÉ',
+ 'Tax Included' => 'ðÏÄÁÔÏË ×ËÌÀÞÅÎÏ',
+ 'Tax collected' => 'ú¦ÂÒÁÎÏ ÐÏÄÁÔË¦× ',
+ 'Tax paid' => 'ðÏÄÁÔÏË ÚÁÐÌÁÞÅÎÏ',
+ 'Taxable' => 'ïÐÏÄÁÔËÏ×Õ¤ÔØÓÑ',
+ 'Template saved!' => 'ûÁÂÌÏÎ ÚÂÅÒÅÖÅÎÏ!',
+ 'Templates' => 'ûÁÂÌÏÎÉ',
+ 'Terms: Net' => 'õÍÏ×É: úÁÐÌÁÔÉÔÉ',
+ 'The following Datasets are not in use and can be deleted' => 'îÁÓÔÕÐΦ âÁÚÉ äÁÎÉÈ ÎÅ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ¦ ÍÏÖÕÔØ ÂÕÔÉ ×ÉÄÁÌÅΦ',
+ 'The following Datasets need to be updated' => 'îÁÓÔÕÐΦ âÁÚÉ äÁÎÉÈ ÐÏ×ÉÎΦ ÂÕÔÉ ÐÏÎÏ×ÌÅΦ',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'ðÏÐÅÒÅÄÎÑ ÐÅÒÅצÒËÁ ¦ÓÎÕÀÞÉÈ ÄÖÅÒÅÌ. ðÏËÉ ÝÏ Î¦ÞÏÇÏ ÎÅ ÂÕÄÅ ÓÔ×ÏÒÅÎÏ ÁÂÏ ×ÉÄÁÌÅÎÏ!',
+ 'To' => 'äÏ',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'ýÏ ÄÏÄÁÔÉ ËÏÒÉÓÔÕ×ÁÞÁ ÄÏ ÇÒÕÐÉ, ÔÒÅÂÁ ÐÏͦÎÑÔÉ ¦Í\'Ñ, login/××ÏÄÎÅ ¦ÍÑ ¦ ÚÂÅÒÅÇÔÉ. îÏ×ÉÊ ËÏÒÉÓÔÕ×ÁÞÁ ¦Ú ÏÄÎÁËÏ×ÉÍÉ ÐÁÒÁÍÅÔÒÁÍÉ ÂÕÄÅ ÚÂÅÒÅÖÅÎÏ Ð¦Ä ÎÏ×ÉÍ login/××ÏÄÎÉÍ ¦Í\'ÑÍ.',
+ 'Top Level' => '÷ÅÒÈÎ¦Ê ò¦×ÅÎØ',
+ 'Total' => 'úÁÇÁÌØÎÁ óÕÍÁ',
+ 'Transaction Date missing!' => 'îÅ ×ËÁÚÁÎÁ ÄÁÔÁ ÏÐÅÒÁæ§',
+ 'Transaction deleted!' => 'ïÐÅÒÁÃ¦Ñ ×ÉÄÁÌÅÎÁ',
+ 'Transaction posted!' => 'ïÐÅÒÁÃ¦Ñ ÚĦÊÓÎÅÎÁ',
+ 'Transaction reversal enforced for all dates' => 'ðÒÉÚÎÁÞÅÎÏ ÒÅ×ÅÓÉ×ÎÕ ÚͦÎÕ ÏÐÅÒÁÃ¦Ê ÄÌÑ ×Ó¦È ÄÁÔ',
+ 'Transaction reversal enforced up to' => ' ðÒÉÚÎÁÞÅÎÏ ÒÅ×ÅÓÉ×ÎÕ ÚͦÎÁ ÏÐÅÒÁÃ¦Ê ÁÖ ÄÏ',
+ 'Transactions' => 'ïÐÅÒÁæ§',
+ 'Transactions exist, cannot delete customer!' => '¶ÓÎÕÀÔØ ÏÐÅÒÁæ§, ÎÅ ÍÏÖÎÁ ×ÉÄÁÌÉÔÉ Ë̦¤ÎÔÁ',
+ 'Transactions exist, cannot delete vendor!' => '¶ÓÎÕÀÔØ ÏÐÅÒÁæ§, ÎÅ ÍÏÖÎÁ ×ÉÄÁÌÉÔÉ ÐÏÓÔÁÞÁÌØÎÉËÁ',
+ 'Transactions exist; cannot delete account!' => '¶ÓÎÕÀÔØ ÏÐÅÒÁæ§, ÎÅ ÍÏÖÎÁ ×ÉÄÁÌÉÔÉ ÒÁÈÕÎÏË',
+ 'Trial Balance' => 'ðÒÏÂÎÉÊ âÁÌÁÎÓ',
+ 'Unit' => 'ïÄÉÎÉÃÑ',
+ 'Unit of measure' => 'ïÄÉÎÉÃÑ ×ÉͦÒÕ',
+ 'Update' => 'ðÏÎÏ×ÉÔÉ',
+ 'Update Dataset' => 'ðÏÎÏ×ÉÔÉ âÁÚÕ äÁÎÉÈ',
+ 'Updated' => 'ðÏÎÏ×ÌÅÎÏ',
+ 'Use Templates' => '÷ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ûÁÂÌÏÎÉ',
+ 'User' => 'ëÏÒÉÓÔÕ×ÁÞ',
+ 'User deleted!' => 'ëÏÒÉÓÔÕ×ÁÞ ÷ÉÄÁÌÅÎÉÊ',
+ 'User saved!' => 'ëÏÒÉÓÔÕ×ÁÞ ÚÂÅÒÅÖÅÎÉÊ',
+ 'Vendor' => 'ðÏÓÔÁÞÁÌØÎÉË',
+ 'Vendor deleted!' => 'ðÏÓÔÁÞÁÌØÎÉË ×ÉÄÁÌÅÎÉÊ',
+ 'Vendor missing!' => 'ðÏÓÔÁÞÁÌØÎÉË ÎÅ ¦ÓÎÕ¤',
+ 'Vendor not on file!' => 'ðÏÔÁÞÁÌØÎÉËÁ ÎÅÍÁ Õ ÓÐÉÓËÕ ',
+ 'Vendor saved!' => 'ðÏÓÔÁÞÁÌØÎÉËÁ ÚÂÅÒÅÖÅÎÏ',
+ 'Vendors' => 'ðÏÓÔÁÞÁÌØÎÉËÉ',
+ 'Version' => '÷ÅÒÓ¦Ñ',
+ 'Weight' => '÷ÁÇÁ',
+ 'Weight Unit' => 'ïÄÉÎÉÃÑ ÷ÁÇÉ',
+ 'What type of item is this?' => 'ñËÉÊ ÃÅ ×ÉÄ/ÔÉÐ ÔÏ×ÁÒÕ',
+ 'Year End' => 'ë¦ÎÅÃØ æ¦ÎÁÎÓÏ×ÏÇÏ òÏËÕ',
+ 'Yes' => 'Tak',
+ 'You are logged out!' => '÷ÁÛ ÓÅÁÎÓ ÚÁ˦ÎÞÉ×ÓÑ!',
+ 'You did not enter a name!' => 'îÅ ××ÅÄÅÎÏ ¦Í\'Ñ/ÎÁÚ×Õ',
+ 'You must enter a host and port for local and remote connections!' => 'íÕÓÉÔÅ ××ÅÓÔÉ ÎÁÚ×Õ ÍÁÛÉÎÉ ¦ ÐÏÒÔÁ ÄÌÑ Í¦ÓÃÅ×ÏÇÏ ¦ צÄÄÁÌÅÎÏÇÏ Ú×ÑÚËÕ!',
+ 'as at' => 'ÑË ×',
+ 'collected on sales' => 'Ú¦ÂÒÁÎÏ ÐÒÉ ÐÒÏÄÁÖÕ',
+ 'days' => 'ÄΦ×',
+ 'does not exist' => 'ÎÅ ¦ÓÎÕ¤',
+ 'ea' => 'ÛÔ.',
+ 'emailed to' => 'ÐÏÓÌÁÎÏ ÐÏ ÅÌ. ÐÏÛÔ¦ ÄÏ',
+ 'for Period' => 'ÚÁ ðÅÒ¦ÏÄ',
+ 'hr' => 'ÇÏÄ.',
+ 'is already a member!' => '×ÖÅ ¤ ÞÌÅÎÏÍ!',
+ 'is not a member!' => 'ÎÅ ¤ ÞÌÅÎÏÍ!',
+ 'localhost' => 'localhost',
+ 'locked!' => 'ÚÁÍËÎÕÔÉÊ!',
+ 'paid on purchases' => 'ÚÁÐÌÁÞÅÎÏ ÎÁ ÐÏËÕÐËÉ',
+ 'sent to printer' => 'ÐÏÓÌÁÎÏ ÄÏ ÐÒÉÎÔÅÒÁ',
+ 'successfully created!' => 'ÕÓЦÛÎÏ ÓÔ×ÏÒÅÎÏ!',
+ 'successfully deleted!' => 'ÕÓЦÛÎÏ ×ÉÄÁÌÅÎÏ!',
+ 'to' => 'ÄÏ',
+ 'website' => '×ÅÂ-ÓÔÏÒ¦ÎËÁ',
+};
+
+1;
diff --git a/sql-ledger/locale/ua/am b/sql-ledger/locale/ua/am
new file mode 100644
index 0000000..9064301
--- /dev/null
+++ b/sql-ledger/locale/ua/am
@@ -0,0 +1,139 @@
+$self{texts} = {
+ 'AP' => '÷ÉÔÒÁÔÉ',
+ 'AR' => 'äÏÈÏÄÉ',
+ 'Account' => 'òÁÈÕÎÏË',
+ 'Account Number' => 'îÏÍÅÒ òÁÈÕÎËÕ',
+ 'Account Number missing!' => 'îÅ ×ËÁÚÁÎÉÊ ÎÏÍÅÒ ÒÁÈÕÎËÕ!',
+ 'Account Type' => '÷ÉÄ ÒÁÈÕÎËÕ',
+ 'Account Type missing!' => 'îÅ ×ËÁÚÁÎÉÊ ×ÉÄ ÒÁÈÕÎËÕ!',
+ 'Account deleted!' => 'òÁÈÕÎÏË ×ÉÄÁÌÅÎÉÊ',
+ 'Account saved!' => 'òÁÈÕÎÏË ÚÂÅÒÅÖÅÎÏ',
+ 'Add Account' => 'îÏ×ÉÊ ÒÁÈÕÎÏË',
+ 'Add GIFI' => 'îÏ×ÉÊ GIFI',
+ 'Address' => 'áÄÒÅÓÁ',
+ 'Asset' => 'áËÔÉ×',
+ 'Audit Control' => 'ëÏÎÔÒÏÌØ',
+ 'Backup sent to' => 'òÅÚÅÒ×ÎÁ ËÏÐ¦Ñ ÐÏÓÌÁÎÁ ÄÏ',
+ 'Books are open' => 'ëÎÉÇÁ צÄËÒÉÔÁ',
+ 'Business Number' => 'â¦ÚÎÅÓ-ÎÏÍÅÒ',
+ 'COGS' => 'COGS',
+ 'Cannot delete account!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÄÁÌÉÔÉ ÒÁÈÕÎÏË',
+ 'Cannot delete default account!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÄÁÌÉÔÉ ÏÓÎÏ×ÎÉÊ ÒÁÈÕÎÏË!',
+ 'Cannot save account!' => 'îÅ ÍÏÖÌÉ×Ï ÚÂÅÒÅÇÔÉ ÒÁÈÕÎÏË!',
+ 'Cannot save preferences!' => 'îÅ ÍÏÖÌÉ×Ï ÚÂÅÒÅÇÔÉ ÎÁÓÔÒÏÊËÉ!',
+ 'Character Set' => 'ëÏÄÉÒÏ×ËÁ',
+ 'Chart of Accounts' => 'ðÌÁÎ òÁÈÕÎ˦×',
+ 'Close Books up to' => 'úÁËÒÉÔÉ ëÎÉÇÉ ÄÏ',
+ 'Company' => 'ð¦ÄÐÒɤÍÓÔ×Ï',
+ 'Continue' => 'ðÒÏÄÏ×ÖÉÔÉ',
+ 'Copy to COA' => 'óËÏЦÀ×ÁÔÉ ÄÏ ðÌÁÎÕ òÁÈÕÎ˦×',
+ 'Credit' => 'ëÒÅÄÉÔ',
+ 'Date Format' => 'æÏÒÍÁÔ ÄÁÔÉ',
+ 'Debit' => 'äÅÂÉÔ',
+ 'Delete' => '÷ÉÄÁÌÉÔÉ',
+ 'Delete Account' => '÷ÉÄÁÌÉÔÉ ÒÁÈÕÎÏË',
+ 'Description' => 'ïÐÉÓ',
+ 'Dropdown Limit' => 'ïÂÍÅÖÅÎÎÑ ÌÉÓÔÏ×ÏÇÏ ÍÅÎÀ',
+ 'E-mail' => 'åÌ. ÐÏÛÔÁ',
+ 'Edit' => '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ',
+ 'Edit Account' => '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ òÁÈÕÎÏË',
+ 'Edit GIFI' => '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ GIFI',
+ 'Edit Preferences for' => '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ îÁÓÔÒÏÊËÉ',
+ 'Edit Template' => '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ ûÁÂÌÏÎ',
+ 'Enforce transaction reversal for all dates' => 'úÁÓÔÁ×ÉÔÉ Ú×ÏÒÏÔÎÕ ÚͦÎÕ ÐÒÏ×ÏÄÏË ÄÌÑ ×Ó¦È ÄÁÔ',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => '÷×ÅĦÔØ ÄÏ 3 ̦ÔÅÒ ÒÏÚĦÌÅÎÉÈ Ä×ÏËÒÁÐËÁÍÉ (i.e CAD:USD:EUR) ÄÌÑ ÐÏÚÎÁÞÅÎÎÑ Í¦ÓÃÅ×ϧ ¦ ¦ÎÏÚÅÍÎÉÈ ÇÒÏÛÏ×ÉÈ ÏÄÉÎÉÃØ',
+ 'Equity' => 'ëÁЦÔÁÌ',
+ 'Expense' => '÷ÉÄÁÔËÉ',
+ 'Expense Account' => 'òÁÈÕÎÏË ÷ÉÄÁÔ˦×',
+ 'Expense/Asset' => '÷ÉÄÁÔÏË/áËÔÉ×',
+ 'Fax' => 'æÁÈ',
+ 'Foreign Exchange Gain' => 'ðÒÉÂÕÔÏË Ú ïÂͦÎÕ ÷ÁÌÀÔÉ',
+ 'Foreign Exchange Loss' => '÷ÔÒÁÔÁ ÎÁ ïÂͦΦ ÷ÁÌÀÔÉ',
+ 'GIFI' => 'GIFI',
+ 'GIFI deleted!' => 'GIFI ×ÉÄÁÌÅÎÏ!',
+ 'GIFI missing!' => 'îÅ ×ËÁÚÁÎÏ GIFI!',
+ 'GIFI saved!' => 'GIFI ÚÂÅÒÅÖÅÎÏ!',
+ 'Heading' => 'òÏÚĦÌ',
+ 'Include in drop-down menus' => 'äÏÄÁÔÉ ÄÏ ÌÉÓÔÏ×ÉÈ ÍÅÎÀ',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'äÏÄÁÔÉ ÒÁÈÕÎÏË ÄÏ ÆÏÒÍ Ë̦¤ÎÔ¦×/ÐÏÓÔÁÞÁÌØÎÉ˦×, ÝÏ ÐÏÚÎÁÞÁÔÉ Ë̦¤ÎÔ¦×/ÐÏÓÔÁÞÁÌØÎÉË¦× Ú ÑËÉÈ ÓÔÑÇÕÀÔØÓÑ ÐÏÄÁÔËÉ?',
+ 'Income' => 'ðÒÉÂÕÔÏË',
+ 'Income Account' => 'òÁÈÕÎÏË ðÒÉÂÕÔ˦×',
+ 'Inventory' => '¶Î×ÅÎÔÁÒ',
+ 'Inventory Account' => '¶Î×ÅÎÔÁÒÎÉÊ ÒÁÈÕÎÏË',
+ 'Is this a summary account to record' => 'þÉ ÃŠЦÄÓÕÍËÏ×ÉÊ ÒÁÈÕÎÏË ÄÌÑ ÚÁÐÉÓÕ?',
+ 'Language' => 'íÏ×Á',
+ 'Last Invoice Number' => 'îÏÍÅÒ ïÓÔÁÎÎØÏÇÏ òÁÈÕÎËÕ-æÁËÔÕÒÉ',
+ 'Last Numbers & Default Accounts' => 'ïÓÔÁÎΦ îÏÍÅÒÉ ¦ ôÉÐÏצ òÁÈÕÎËÉ',
+ 'Last Purchase Order Number' => 'îÏÍÅÒ ÏÓÔÁÎÎØÏÇÏ úÁÍÏ×ÌÅÎÎÑ ÎÁ ðÏÓÔÁÞÕ',
+ 'Last Sales Order Number' => 'îÏÍÅÒ ÏÓÔÁÎÎØϧ ðÒÏÄÁÖÎϧ îÁËÌÁÄÎϧ',
+ 'Liability' => 'ðÁÓÓÉ×',
+ 'Link' => 'ðÏÓÉÌÁÎÎÑ',
+ 'Name' => '¶Í\'Ñ / îÁÚ×Á',
+ 'No' => 'î¦',
+ 'No email address for' => 'îÅ ×ËÁÚÁÎÁ ÁÄÒÅÓÁ ÅÌ. ÐÏÛÔÉ ÄÌÑ',
+ 'Number' => 'îÏÍÅÒ',
+ 'Number Format' => 'æÏÒÍÁÔ þÉÓÌÁ',
+ 'Parts Inventory' => '¶Î×ÅÎÔÁÒ ôÏ×ÁÒ¦×',
+ 'Password' => 'ðÁÒÏÌØ',
+ 'Payables' => 'úÏÂÏ×ÑÚÁÎÎÑ (ÐÌÁÔ¦ÖΦ)',
+ 'Payment' => 'ðÌÁÔ¦Ö',
+ 'Phone' => 'ôÅÌ.',
+ 'Preferences saved!' => 'îÁÓÔÒÏÊËÉ ÚÂÅÒÅÖÅÎÏ!',
+ 'Rate' => 'òÏÚæÎËÁ',
+ 'Receivables' => 'îÁÌÅÖÎÏÓÔ¦ (ÄÅÂÉÔÉ)',
+ 'Sales' => 'úÂÕÔ',
+ 'Save' => 'úÂÅÒÅÇÔÉ',
+ 'Service Items' => 'ðÏÓÌÕÇÉ',
+ 'Ship via' => 'ðÏÓÌÁÔÉ ÞÅÒÅÚ',
+ 'Signature' => 'ð¦ÄÐÉÓ',
+ 'Stylesheet' => 'ïÆÏÒÍÌÅÎÎÎÑ',
+ 'Tax' => 'ðÏÄÁÔÏË',
+ 'Tax Accounts' => 'ðÏÄÁÔËÏצ òÁÈÕÎËÉ',
+ 'Template saved!' => 'ûÁÂÌÏÎ ÚÂÅÒÅÖÅÎÏ!',
+ 'Transaction reversal enforced for all dates' => 'ðÒÉÚÎÁÞÅÎÏ ÒÅ×ÅÓÉ×ÎÕ ÚͦÎÕ ÏÐÅÒÁÃ¦Ê ÄÌÑ ×Ó¦È ÄÁÔ',
+ 'Transaction reversal enforced up to' => ' ðÒÉÚÎÁÞÅÎÏ ÒÅ×ÅÓÉ×ÎÕ ÚͦÎÁ ÏÐÅÒÁÃ¦Ê ÁÖ ÄÏ',
+ 'Transactions exist; cannot delete account!' => '¶ÓÎÕÀÔØ ÏÐÅÒÁæ§, ÎÅ ÍÏÖÎÁ ×ÉÄÁÌÉÔÉ ÒÁÈÕÎÏË',
+ 'Weight Unit' => 'ïÄÉÎÉÃÑ ÷ÁÇÉ',
+ 'Year End' => 'ë¦ÎÅÃØ æ¦ÎÁÎÓÏ×ÏÇÏ òÏËÕ',
+ 'Yes' => 'Tak',
+ 'does not exist' => 'ÎÅ ¦ÓÎÕ¤',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_gifi' => 'add_gifi',
+ 'audit_control' => 'audit_control',
+ 'backup' => 'backup',
+ 'config' => 'config',
+ 'continue' => 'continue',
+ 'copy_to_coa' => 'copy_to_coa',
+ 'delete' => 'delete',
+ 'delete_account' => 'delete_account',
+ 'delete_gifi' => 'delete_gifi',
+ 'display_form' => 'display_form',
+ 'display_stylesheet' => 'display_stylesheet',
+ 'doclose' => 'doclose',
+ 'edit' => 'edit',
+ 'edit_gifi' => 'edit_gifi',
+ 'edit_template' => 'edit_template',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gifi_footer' => 'gifi_footer',
+ 'gifi_header' => 'gifi_header',
+ 'list' => 'list',
+ 'list_gifi' => 'list_gifi',
+ 'save' => 'save',
+ 'save_account' => 'save_account',
+ 'save_gifi' => 'save_gifi',
+ 'save_preferences' => 'save_preferences',
+ 'save_template' => 'save_template',
+ 'îÏ×ÉÊ_ÒÁÈÕÎÏË' => 'add_account',
+ 'ðÒÏÄÏ×ÖÉÔÉ' => 'continue',
+ 'óËÏЦÀ×ÁÔÉ_ÄÏ_ðÌÁÎÕ_òÁÈÕÎ˦×' => 'copy_to_coa',
+ '÷ÉÄÁÌÉÔÉ' => 'delete',
+ '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ' => 'edit',
+ '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ_òÁÈÕÎÏË' => 'edit_account',
+ 'úÂÅÒÅÇÔÉ' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/ua/ap b/sql-ledger/locale/ua/ap
new file mode 100644
index 0000000..a5ec52d
--- /dev/null
+++ b/sql-ledger/locale/ua/ap
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AP Transaction' => 'ïÐÅÒÁæ§ ÷ÉÔÒÁÔ',
+ 'AP Transactions' => 'ïÐÅÒÁæ§ ÷ÉÔÒÁÔ',
+ 'Account' => 'òÁÈÕÎÏË',
+ 'Add Accounts Payables Transaction' => 'îÏ×Á ÏÐÅÒÁÃ¦Ñ ×ÉÔÒÁÔ',
+ 'Address' => 'áÄÒÅÓÁ',
+ 'Amount' => 'óÕÍÁ',
+ 'Amount Due' => 'úÁÐÌÁÔÉÔÉ óÕÍÕ',
+ 'Apr' => 'ËצÔÎÑ',
+ 'April' => 'ëצÔÅÎØ',
+ 'Are you sure you want to delete Transaction' => '÷É ÐÅ×Φ, ÝÏ ÈÏÞÅÔÅ ×ÉÄÁÌÉÔÉ ÄÁÎÕ ÏÐÅÒÁæÀ?',
+ 'Aug' => 'ÓÅÒÐÎÑ',
+ 'August' => 'óÅÒÐÅÎØ',
+ 'Cannot delete transaction!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÄÁÌÉÔÉ ÏÒÅ!',
+ 'Cannot post payment for a closed period!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÓÔÁ×ÉÔÉ ÐÌÁÔ¦Ö ÄÌÑ ÚÁËÒÉÔÏÇÏ ÐÅÒ¦ÏÄÕ!',
+ 'Cannot post transaction for a closed period!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÓÔÁ×ÉÔÉ ÏÐÅÒÁæÀ ÄÌÑ ÚÁËÒÉÔÏÇÏ ÐÅÒ¦ÏÄÕ!',
+ 'Cannot post transaction!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÓÔÁ×ÉÔÉ ÏÐÅÒÁæÀ!',
+ 'Closed' => 'úÁËÒÉÔÏ',
+ 'Confirm!' => 'ð¦ÄÔ×ÅÒĦÔØ!',
+ 'Continue' => 'ðÒÏÄÏ×ÖÉÔÉ',
+ 'Currency' => '÷ÁÌÀÔÁ',
+ 'Customer not on file!' => 'ë̦¤ÎÔÁ ÎÅÍÁ × ÓÐÉÓËÕ!',
+ 'Date' => 'äÁÔÁ',
+ 'Date Paid' => 'äÁÔÁ ÏÐÌÁÔÉ',
+ 'Dec' => 'ÇÒÕÄÎÑ',
+ 'December' => 'çÒÕÄÅÎØ',
+ 'Delete' => '÷ÉÄÁÌÉÔÉ',
+ 'Description' => 'ïÐÉÓ',
+ 'Due Date' => 'úÁÐÌÁÔÉÔÉ ÄÏ',
+ 'Due Date missing!' => 'îÅ ×ËÁÚÁÎÉÊ ÔÅÒͦΠÏÐÌÁÔÉ!',
+ 'Edit Accounts Payables Transaction' => '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ ðÒÏ×ÏÄËÕ ÷ÉÔÒÁÔ',
+ 'Employee' => 'ðÒÁæ×ÎÉË',
+ 'Exch' => 'ëÕÒÓ',
+ 'Exchangerate' => 'ëÕÒÓ ×ÁÌÀÔÉ',
+ 'Exchangerate for payment missing!' => 'îÅ ×ËÁÚÁÎÉÊ ËÕÒÓ ×ÁÌÀÔÉ ÄÌÑ ÐÌÁÔÅÖÕ!',
+ 'Exchangerate missing!' => 'îÅ ×ËÁÚÁÎÉÊ ËÕÒÓ ×ÁÌÀÔÉ!',
+ 'Feb' => 'ÌÀÔÏÇÏ',
+ 'February' => 'ìÀÔÉÊ',
+ 'From' => '÷¦Ä / Ú',
+ 'ID' => '¶ÄÅÎÔÉƦËÁæÊÎÉÊ ÎÏÍÅÒ',
+ 'Include in Report' => 'äÏÄÁÔÉ ÄÏ úצÔÕ',
+ 'Invoice' => 'òÁÈÕÎÏË-ÆÁËÔÕÒÁ',
+ 'Invoice Date' => 'äÁÔÁ ×ÉÓÔÁ×ÌÅÎÎÑ',
+ 'Invoice Date missing!' => 'îÅ ×ËÁÚÁÎÁ ÄÁÔÁ ×ÉÓÔÁ×ÌÅÎÎÑ ÒÁÈÕÎËÁ-ÆÁËÔÕÒÉ!',
+ 'Invoice Number' => 'îÏÍÅÒ ÒÁÈÕÎËÁ-ÆÁËÔÕÒÉ',
+ 'Invoice Number missing!' => 'îÅ ×ËÁÚÁÎÉÊ ÎÏÍÅÒ ÒÁÈÕÎËÁ-ÆÁËÔÕÒÉ!',
+ 'Jan' => 'Ó¦ÞÎÑ',
+ 'January' => 'Ó¦ÞÅÎØ',
+ 'Jul' => 'ÌÉÐÎÑ',
+ 'July' => 'ìÉÐÅÎØ',
+ 'Jun' => 'ÞÅÒ×ÎÑ',
+ 'June' => 'þÅÒ×ÅÎØ',
+ 'Mar' => 'ÂÅÒÅÚÎÑ',
+ 'March' => 'âÅÒÅÚÅÎØ',
+ 'May' => 'ÔÒÁ×ÎÑ',
+ 'May ' => 'ôÒÁ×ÅÎØ',
+ 'Notes' => 'ðÒÉͦÔËÉ',
+ 'Nov' => 'ÌÉÓÔÏÐÁÄÁ',
+ 'November' => 'ìÉÓÔÏÐÁÄ',
+ 'Number' => 'îÏÍÅÒ',
+ 'Oct' => 'ÖÏ×ÔÎÑ',
+ 'October' => 'öÏ×ÔÅÎØ',
+ 'Open' => '÷¦ÄËÒÉÔÏ',
+ 'Order' => 'úÁÍÏ×ÌÅÎÎÑ',
+ 'Order Number' => 'îÏÍÅÒ úÁÍÏ×ÌÅÎÎÑ',
+ 'Paid' => 'úÁÐÌÁÞÅÎÏ',
+ 'Payment date missing!' => 'îÅ ×ËÁÚÁÎÏ ÄÁÔÕ ðÌÁÔÅÖÕ!',
+ 'Payments' => 'ðÌÁÔÅÖ¦',
+ 'Post' => '÷ÉÓÔÁ×ÉÔÉ',
+ 'Post as new' => '÷ÉÓÔÁ×ÉÔÉ ÑË ÎÏ×ÉÊ',
+ 'Project' => 'ðÒÏÅËÔ',
+ 'Project not on file!' => 'ðÒÏÅËÔÕ ÎÅÍÁ × ÓÐÉÓËÕ!',
+ 'Purchase Invoice' => 'òÁÈÕÎÏË-ÆÁËÔÕÒÁ',
+ 'Select from one of the names below' => '÷ÉÂÅÒ¦ÔØ ÏÄÎÅ ¦Ú ÎÁÓÔÕÐÎÉÈ ¦ÍÅÎ/ÎÁÚ×',
+ 'Select from one of the projects below' => '÷ÉÂÅÒ¦ÔØ ÏÄÉÎ ¦Ú ÎÁÓÔÕÐÎÉÈ ÐÒÏÅËÔ¦×',
+ 'Sep' => '×ÅÒÅÓÎÑ',
+ 'September' => '÷ÅÒÅÓÅÎØ',
+ 'Source' => 'äÖÅÒÅÌÏ',
+ 'Subtotal' => 'ð¦ÄÓÕÍÏË ÐÏ ÒÏÚĦÌÕ',
+ 'Tax' => 'ðÏÄÁÔÏË',
+ 'Tax Included' => 'ðÏÄÁÔÏË ×ËÌÀÞÅÎÏ',
+ 'Total' => 'úÁÇÁÌØÎÁ óÕÍÁ',
+ 'Transaction deleted!' => 'ïÐÅÒÁÃ¦Ñ ×ÉÄÁÌÅÎÁ',
+ 'Transaction posted!' => 'ïÐÅÒÁÃ¦Ñ ÚĦÊÓÎÅÎÁ',
+ 'Update' => 'ðÏÎÏ×ÉÔÉ',
+ 'Vendor' => 'ðÏÓÔÁÞÁÌØÎÉË',
+ 'Vendor missing!' => 'ðÏÓÔÁÞÁÌØÎÉË ÎÅ ¦ÓÎÕ¤',
+ 'Vendor not on file!' => 'ðÏÔÁÞÁÌØÎÉËÁ ÎÅÍÁ Õ ÓÐÉÓËÕ ',
+ 'Yes' => 'Tak',
+ 'to' => 'ÄÏ',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_subtotal' => 'ap_subtotal',
+ 'ap_transaction' => 'ap_transaction',
+ 'ap_transactions' => 'ap_transactions',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'ïÐÅÒÁæ§_÷ÉÔÒÁÔ' => 'ap_transaction',
+ 'îÏ×Á_ÏÐÅÒÁæÑ_×ÉÔÒÁÔ' => 'add_accounts_payables_transaction',
+ 'ðÒÏÄÏ×ÖÉÔÉ' => 'continue',
+ '÷ÉÄÁÌÉÔÉ' => 'delete',
+ '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ_ðÒÏ×ÏÄËÕ_÷ÉÔÒÁÔ' => 'edit_accounts_payables_transaction',
+ '÷ÉÓÔÁ×ÉÔÉ' => 'post',
+ '÷ÉÓÔÁ×ÉÔÉ_ÑË_ÎÏ×ÉÊ' => 'post_as_new',
+ 'òÁÈÕÎÏË_ÆÁËÔÕÒÁ' => 'purchase_invoice',
+ 'ðÏÎÏ×ÉÔÉ' => 'update',
+ 'tak' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/ua/ar b/sql-ledger/locale/ua/ar
new file mode 100644
index 0000000..cbbc5b1
--- /dev/null
+++ b/sql-ledger/locale/ua/ar
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AR Transaction' => 'ïÐÅÒÁÃ¦Ñ äÏÈÏĦ×',
+ 'AR Transactions' => 'ïÐÅÒÁÃ¦Ñ äÏÈÏĦ×',
+ 'Account' => 'òÁÈÕÎÏË',
+ 'Add Accounts Receivables Transaction' => 'îÏ×Á ÏÐÅÒÁÃ¦Ñ ÄÏÈÏĦ×',
+ 'Address' => 'áÄÒÅÓÁ',
+ 'Amount' => 'óÕÍÁ',
+ 'Amount Due' => 'úÁÐÌÁÔÉÔÉ óÕÍÕ',
+ 'Apr' => 'ËצÔÎÑ',
+ 'April' => 'ëצÔÅÎØ',
+ 'Are you sure you want to delete Transaction' => '÷É ÐÅ×Φ, ÝÏ ÈÏÞÅÔÅ ×ÉÄÁÌÉÔÉ ÄÁÎÕ ÏÐÅÒÁæÀ?',
+ 'Aug' => 'ÓÅÒÐÎÑ',
+ 'August' => 'óÅÒÐÅÎØ',
+ 'Cannot delete transaction!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÄÁÌÉÔÉ ÏÒÅ!',
+ 'Cannot post payment for a closed period!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÓÔÁ×ÉÔÉ ÐÌÁÔ¦Ö ÄÌÑ ÚÁËÒÉÔÏÇÏ ÐÅÒ¦ÏÄÕ!',
+ 'Cannot post transaction for a closed period!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÓÔÁ×ÉÔÉ ÏÐÅÒÁæÀ ÄÌÑ ÚÁËÒÉÔÏÇÏ ÐÅÒ¦ÏÄÕ!',
+ 'Cannot post transaction!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÓÔÁ×ÉÔÉ ÏÐÅÒÁæÀ!',
+ 'Closed' => 'úÁËÒÉÔÏ',
+ 'Confirm!' => 'ð¦ÄÔ×ÅÒĦÔØ!',
+ 'Continue' => 'ðÒÏÄÏ×ÖÉÔÉ',
+ 'Credit Limit' => 'ì¦Í¦Ô ËÒÅÄÉÔÕ',
+ 'Currency' => '÷ÁÌÀÔÁ',
+ 'Customer' => 'ë̦¤ÎÔ',
+ 'Customer missing!' => 'îÅ ×ËÁÚÁÎÉÊ Ë̦¤ÎÔ!',
+ 'Customer not on file!' => 'ë̦¤ÎÔÁ ÎÅÍÁ × ÓÐÉÓËÕ!',
+ 'Date' => 'äÁÔÁ',
+ 'Date Paid' => 'äÁÔÁ ÏÐÌÁÔÉ',
+ 'Dec' => 'ÇÒÕÄÎÑ',
+ 'December' => 'çÒÕÄÅÎØ',
+ 'Delete' => '÷ÉÄÁÌÉÔÉ',
+ 'Description' => 'ïÐÉÓ',
+ 'Due Date' => 'úÁÐÌÁÔÉÔÉ ÄÏ',
+ 'Due Date missing!' => 'îÅ ×ËÁÚÁÎÉÊ ÔÅÒͦΠÏÐÌÁÔÉ!',
+ 'Edit Accounts Receivables Transaction' => '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ ðÒÏ×ÏÄËÕ äÏÈÏĦ×',
+ 'Employee' => 'ðÒÁæ×ÎÉË',
+ 'Exch' => 'ëÕÒÓ',
+ 'Exchangerate' => 'ëÕÒÓ ×ÁÌÀÔÉ',
+ 'Exchangerate for payment missing!' => 'îÅ ×ËÁÚÁÎÉÊ ËÕÒÓ ×ÁÌÀÔÉ ÄÌÑ ÐÌÁÔÅÖÕ!',
+ 'Exchangerate missing!' => 'îÅ ×ËÁÚÁÎÉÊ ËÕÒÓ ×ÁÌÀÔÉ!',
+ 'Feb' => 'ÌÀÔÏÇÏ',
+ 'February' => 'ìÀÔÉÊ',
+ 'From' => '÷¦Ä / Ú',
+ 'ID' => '¶ÄÅÎÔÉƦËÁæÊÎÉÊ ÎÏÍÅÒ',
+ 'Include in Report' => 'äÏÄÁÔÉ ÄÏ úצÔÕ',
+ 'Invoice' => 'òÁÈÕÎÏË-ÆÁËÔÕÒÁ',
+ 'Invoice Date' => 'äÁÔÁ ×ÉÓÔÁ×ÌÅÎÎÑ',
+ 'Invoice Date missing!' => 'îÅ ×ËÁÚÁÎÁ ÄÁÔÁ ×ÉÓÔÁ×ÌÅÎÎÑ ÒÁÈÕÎËÁ-ÆÁËÔÕÒÉ!',
+ 'Invoice Number' => 'îÏÍÅÒ ÒÁÈÕÎËÁ-ÆÁËÔÕÒÉ',
+ 'Invoice Number missing!' => 'îÅ ×ËÁÚÁÎÉÊ ÎÏÍÅÒ ÒÁÈÕÎËÁ-ÆÁËÔÕÒÉ!',
+ 'Jan' => 'Ó¦ÞÎÑ',
+ 'January' => 'Ó¦ÞÅÎØ',
+ 'Jul' => 'ÌÉÐÎÑ',
+ 'July' => 'ìÉÐÅÎØ',
+ 'Jun' => 'ÞÅÒ×ÎÑ',
+ 'June' => 'þÅÒ×ÅÎØ',
+ 'Mar' => 'ÂÅÒÅÚÎÑ',
+ 'March' => 'âÅÒÅÚÅÎØ',
+ 'May' => 'ÔÒÁ×ÎÑ',
+ 'May ' => 'ôÒÁ×ÅÎØ',
+ 'Notes' => 'ðÒÉͦÔËÉ',
+ 'Nov' => 'ÌÉÓÔÏÐÁÄÁ',
+ 'November' => 'ìÉÓÔÏÐÁÄ',
+ 'Number' => 'îÏÍÅÒ',
+ 'Oct' => 'ÖÏ×ÔÎÑ',
+ 'October' => 'öÏ×ÔÅÎØ',
+ 'Open' => '÷¦ÄËÒÉÔÏ',
+ 'Order' => 'úÁÍÏ×ÌÅÎÎÑ',
+ 'Order Number' => 'îÏÍÅÒ úÁÍÏ×ÌÅÎÎÑ',
+ 'Paid' => 'úÁÐÌÁÞÅÎÏ',
+ 'Payment date missing!' => 'îÅ ×ËÁÚÁÎÏ ÄÁÔÕ ðÌÁÔÅÖÕ!',
+ 'Payments' => 'ðÌÁÔÅÖ¦',
+ 'Post' => '÷ÉÓÔÁ×ÉÔÉ',
+ 'Post as new' => '÷ÉÓÔÁ×ÉÔÉ ÑË ÎÏ×ÉÊ',
+ 'Project' => 'ðÒÏÅËÔ',
+ 'Project not on file!' => 'ðÒÏÅËÔÕ ÎÅÍÁ × ÓÐÉÓËÕ!',
+ 'Remaining' => 'úÁÌÉÛÉÌÏÓØ',
+ 'Sales Invoice' => 'òÁÈÕÎÏË-ÆÁËÔÕÒÁ',
+ 'Select from one of the names below' => '÷ÉÂÅÒ¦ÔØ ÏÄÎÅ ¦Ú ÎÁÓÔÕÐÎÉÈ ¦ÍÅÎ/ÎÁÚ×',
+ 'Select from one of the projects below' => '÷ÉÂÅÒ¦ÔØ ÏÄÉÎ ¦Ú ÎÁÓÔÕÐÎÉÈ ÐÒÏÅËÔ¦×',
+ 'Sep' => '×ÅÒÅÓÎÑ',
+ 'September' => '÷ÅÒÅÓÅÎØ',
+ 'Source' => 'äÖÅÒÅÌÏ',
+ 'Subtotal' => 'ð¦ÄÓÕÍÏË ÐÏ ÒÏÚĦÌÕ',
+ 'Tax' => 'ðÏÄÁÔÏË',
+ 'Tax Included' => 'ðÏÄÁÔÏË ×ËÌÀÞÅÎÏ',
+ 'Total' => 'úÁÇÁÌØÎÁ óÕÍÁ',
+ 'Transaction deleted!' => 'ïÐÅÒÁÃ¦Ñ ×ÉÄÁÌÅÎÁ',
+ 'Transaction posted!' => 'ïÐÅÒÁÃ¦Ñ ÚĦÊÓÎÅÎÁ',
+ 'Update' => 'ðÏÎÏ×ÉÔÉ',
+ 'Vendor not on file!' => 'ðÏÔÁÞÁÌØÎÉËÁ ÎÅÍÁ Õ ÓÐÉÓËÕ ',
+ 'Yes' => 'Tak',
+ 'to' => 'ÄÏ',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_subtotal' => 'ar_subtotal',
+ 'ar_transaction' => 'ar_transaction',
+ 'ar_transactions' => 'ar_transactions',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'ïÐÅÒÁæÑ_äÏÈÏĦ×' => 'ar_transaction',
+ 'ðÒÏÄÏ×ÖÉÔÉ' => 'continue',
+ '÷ÉÄÁÌÉÔÉ' => 'delete',
+ '÷ÉÓÔÁ×ÉÔÉ' => 'post',
+ '÷ÉÓÔÁ×ÉÔÉ_ÑË_ÎÏ×ÉÊ' => 'post_as_new',
+ 'òÁÈÕÎÏË_ÆÁËÔÕÒÁ' => 'sales_invoice',
+ 'ðÏÎÏ×ÉÔÉ' => 'update',
+ 'tak' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/ua/arap b/sql-ledger/locale/ua/arap
new file mode 100644
index 0000000..64f47c5
--- /dev/null
+++ b/sql-ledger/locale/ua/arap
@@ -0,0 +1,30 @@
+$self{texts} = {
+ 'Address' => 'áÄÒÅÓÁ',
+ 'Continue' => 'ðÒÏÄÏ×ÖÉÔÉ',
+ 'Customer not on file!' => 'ë̦¤ÎÔÁ ÎÅÍÁ × ÓÐÉÓËÕ!',
+ 'Description' => 'ïÐÉÓ',
+ 'Number' => 'îÏÍÅÒ',
+ 'Project not on file!' => 'ðÒÏÅËÔÕ ÎÅÍÁ × ÓÐÉÓËÕ!',
+ 'Select from one of the names below' => '÷ÉÂÅÒ¦ÔØ ÏÄÎÅ ¦Ú ÎÁÓÔÕÐÎÉÈ ¦ÍÅÎ/ÎÁÚ×',
+ 'Select from one of the projects below' => '÷ÉÂÅÒ¦ÔØ ÏÄÉÎ ¦Ú ÎÁÓÔÕÐÎÉÈ ÐÒÏÅËÔ¦×',
+ 'Vendor not on file!' => 'ðÏÔÁÞÁÌØÎÉËÁ ÎÅÍÁ Õ ÓÐÉÓËÕ ',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'ðÒÏÄÏ×ÖÉÔÉ' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/ua/ca b/sql-ledger/locale/ua/ca
new file mode 100644
index 0000000..64f42dd
--- /dev/null
+++ b/sql-ledger/locale/ua/ca
@@ -0,0 +1,50 @@
+$self{texts} = {
+ 'Account' => 'òÁÈÕÎÏË',
+ 'Apr' => 'ËצÔÎÑ',
+ 'April' => 'ëצÔÅÎØ',
+ 'Aug' => 'ÓÅÒÐÎÑ',
+ 'August' => 'óÅÒÐÅÎØ',
+ 'Balance' => 'âÁÌÁÎÓ',
+ 'Chart of Accounts' => 'ðÌÁÎ òÁÈÕÎ˦×',
+ 'Credit' => 'ëÒÅÄÉÔ',
+ 'Date' => 'äÁÔÁ',
+ 'Debit' => 'äÅÂÉÔ',
+ 'Dec' => 'ÇÒÕÄÎÑ',
+ 'December' => 'çÒÕÄÅÎØ',
+ 'Description' => 'ïÐÉÓ',
+ 'Feb' => 'ÌÀÔÏÇÏ',
+ 'February' => 'ìÀÔÉÊ',
+ 'From' => '÷¦Ä / Ú',
+ 'GIFI' => 'GIFI',
+ 'Include in Report' => 'äÏÄÁÔÉ ÄÏ úצÔÕ',
+ 'Jan' => 'Ó¦ÞÎÑ',
+ 'January' => 'Ó¦ÞÅÎØ',
+ 'Jul' => 'ÌÉÐÎÑ',
+ 'July' => 'ìÉÐÅÎØ',
+ 'Jun' => 'ÞÅÒ×ÎÑ',
+ 'June' => 'þÅÒ×ÅÎØ',
+ 'List Transactions' => 'óÐÉÓÏË ðÒÏ×ÏÄÏË',
+ 'Mar' => 'ÂÅÒÅÚÎÑ',
+ 'March' => 'âÅÒÅÚÅÎØ',
+ 'May' => 'ÔÒÁ×ÎÑ',
+ 'May ' => 'ôÒÁ×ÅÎØ',
+ 'Nov' => 'ÌÉÓÔÏÐÁÄÁ',
+ 'November' => 'ìÉÓÔÏÐÁÄ',
+ 'Oct' => 'ÖÏ×ÔÎÑ',
+ 'October' => 'öÏ×ÔÅÎØ',
+ 'Reference' => 'úÓÉÌËÁ',
+ 'Sep' => '×ÅÒÅÓÎÑ',
+ 'September' => '÷ÅÒÅÓÅÎØ',
+ 'Subtotal' => 'ð¦ÄÓÕÍÏË ÐÏ ÒÏÚĦÌÕ',
+ 'to' => 'ÄÏ',
+};
+
+$self{subs} = {
+ 'ca_subtotal' => 'ca_subtotal',
+ 'chart_of_accounts' => 'chart_of_accounts',
+ 'list' => 'list',
+ 'list_transactions' => 'list_transactions',
+ 'óÐÉÓÏË_ðÒÏ×ÏÄÏË' => 'list_transactions',
+};
+
+1;
diff --git a/sql-ledger/locale/ua/cp b/sql-ledger/locale/ua/cp
new file mode 100644
index 0000000..0a74130
--- /dev/null
+++ b/sql-ledger/locale/ua/cp
@@ -0,0 +1,77 @@
+$self{texts} = {
+ 'Account' => 'òÁÈÕÎÏË',
+ 'Address' => 'áÄÒÅÓÁ',
+ 'Amount' => 'óÕÍÁ',
+ 'Amount does not equal applied!' => 'óÕÍÁ ÎÅ ÄÏÒ¦×ÎÀ¤ ÚÁÓÔÏÓÏ×ÁΦÊ!',
+ 'Amount missing!' => 'îÅ ×ËÁÚÁÎÁ ÓÕÍÁ!',
+ 'Applied' => 'úÁÓÔÏÓÏ×ÁÎÏ',
+ 'Cannot post payment!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÓÔÁ×ÉÔÉ ÐÌÁÔ¦Ö!',
+ 'Cannot process payment for a closed period!' => 'îÅ ÍÏÖÌÉ×Ï ÐÒÏ×ÅÓÔÉ ÐÌÁÔ¦Ö ÄÌÑ ÚÁËÒÉÔÏÇÏ ÐÅÒ¦ÏÄÕ!',
+ 'Check' => 'þÅË',
+ 'Check printed!' => 'þÅË ÎÁÄÒÕËÏ×ÁÎÏ!',
+ 'Check printing failed!' => 'äÒÕË ÞÅËÕ ÎÅ ×ÄÁ×ÓÑ!',
+ 'Continue' => 'ðÒÏÄÏ×ÖÉÔÉ',
+ 'Currency' => '÷ÁÌÀÔÁ',
+ 'Customer' => 'ë̦¤ÎÔ',
+ 'Customer not on file!' => 'ë̦¤ÎÔÁ ÎÅÍÁ × ÓÐÉÓËÕ!',
+ 'Date' => 'äÁÔÁ',
+ 'Date missing!' => 'îÅ ×ËÁÚÁÎÁ ÄÁÔÁ!',
+ 'Description' => 'ïÐÉÓ',
+ 'Due' => 'äÏ',
+ 'Exchangerate' => 'ëÕÒÓ ×ÁÌÀÔÉ',
+ 'From' => '÷¦Ä / Ú',
+ 'Invoice' => 'òÁÈÕÎÏË-ÆÁËÔÕÒÁ',
+ 'Invoices' => 'òÁÈÕÎËÉ-ÆÁËÔÕÒÉ',
+ 'Nothing applied!' => 'î¦ÞÏÇÏ ÎÅ ÚÁÓÔÏÓÏ×ÁÎÏ!',
+ 'Number' => 'îÏÍÅÒ',
+ 'Paid in full' => 'úÁÐÌÁÞÅÎÏ ×ÐÏ×Φ',
+ 'Payment' => 'ðÌÁÔ¦Ö',
+ 'Payment posted!' => 'ðÌÁÔ¦Ö ×ÉÓÔÁ×ÌÅÎÏ!',
+ 'Post' => '÷ÉÓÔÁ×ÉÔÉ',
+ 'Print' => 'îÁÄÒÕËÕ×ÁÔÉ',
+ 'Printer' => 'ðÒÉÎÔÅÒ',
+ 'Project not on file!' => 'ðÒÏÅËÔÕ ÎÅÍÁ × ÓÐÉÓËÕ!',
+ 'Receipt' => 'ë×ÉÔÁÎæÑ',
+ 'Receipt printed!' => 'Receipt printed!',
+ 'Receipt printing failed!' => 'Receipt printing failed!',
+ 'Reference' => 'úÓÉÌËÁ',
+ 'Screen' => 'åËÒÁÎ',
+ 'Select from one of the names below' => '÷ÉÂÅÒ¦ÔØ ÏÄÎÅ ¦Ú ÎÁÓÔÕÐÎÉÈ ¦ÍÅÎ/ÎÁÚ×',
+ 'Select from one of the projects below' => '÷ÉÂÅÒ¦ÔØ ÏÄÉÎ ¦Ú ÎÁÓÔÕÐÎÉÈ ÐÒÏÅËÔ¦×',
+ 'Update' => 'ðÏÎÏ×ÉÔÉ',
+ 'Vendor' => 'ðÏÓÔÁÞÁÌØÎÉË',
+ 'Vendor not on file!' => 'ðÏÔÁÞÁÌØÎÉËÁ ÎÅÍÁ Õ ÓÐÉÓËÕ ',
+ 'to' => 'ÄÏ',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'list_invoices' => 'list_invoices',
+ 'name_selected' => 'name_selected',
+ 'payment' => 'payment',
+ 'post' => 'post',
+ 'print' => 'print',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'vendor_details' => 'vendor_details',
+ 'ðÒÏÄÏ×ÖÉÔÉ' => 'continue',
+ '÷ÉÓÔÁ×ÉÔÉ' => 'post',
+ 'îÁÄÒÕËÕ×ÁÔÉ' => 'print',
+ 'ðÏÎÏ×ÉÔÉ' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/ua/ct b/sql-ledger/locale/ua/ct
new file mode 100644
index 0000000..80db8df
--- /dev/null
+++ b/sql-ledger/locale/ua/ct
@@ -0,0 +1,71 @@
+$self{texts} = {
+ 'Add' => 'îÏ×ÉÊ',
+ 'Address' => 'áÄÒÅÓÁ',
+ 'All' => '÷Ó¦',
+ 'Bcc' => 'ðÒÉ×ÁÔÎÁ ËÏÐ¦Ñ ÄÏ',
+ 'Cannot delete customer!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÄÁÌÉÔÉ Ë̦¤ÎÔÁ',
+ 'Cannot delete vendor!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÄÁÌÉÔÉ ÐÏÓÔÁÞÁÌØÎÉËÁ!',
+ 'Cc' => 'ëÏÐ¦Ñ ÄÏ',
+ 'Contact' => 'ëÏÎÔÁËÔÎÁ ÏÓÏÂÁ',
+ 'Continue' => 'ðÒÏÄÏ×ÖÉÔÉ',
+ 'Credit Limit' => 'ì¦Í¦Ô ËÒÅÄÉÔÕ',
+ 'Customer deleted!' => 'ë̦¤ÎÔÁ ×ÉÄÁÌÅÎÏ!',
+ 'Customer saved!' => 'ë̦¤ÎÔÁ ÚÂÅÒÅÖÅÎÏ!',
+ 'Customers' => 'ë̦¤ÎÔÉ',
+ 'Delete' => '÷ÉÄÁÌÉÔÉ',
+ 'Discount' => 'óËÉÄËÁ',
+ 'E-mail' => 'åÌ. ÐÏÛÔÁ',
+ 'Edit Customer' => '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ ë̦¤ÎÔÁ',
+ 'Edit Vendor' => '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ ðÏÓÔÁÞÁÌØÎÉËÁ',
+ 'Fax' => 'æÁÈ',
+ 'Include in Report' => 'äÏÄÁÔÉ ÄÏ úצÔÕ',
+ 'Invoice' => 'òÁÈÕÎÏË-ÆÁËÔÕÒÁ',
+ 'Name' => '¶Í\'Ñ / îÁÚ×Á',
+ 'Name missing!' => 'îÅ ×ËÁÚÁÎÅ ¦Í\'Ñ (ÎÁÚ×Á)!',
+ 'Notes' => 'ðÒÉͦÔËÉ',
+ 'Number' => 'îÏÍÅÒ',
+ 'Order' => 'úÁÍÏ×ÌÅÎÎÑ',
+ 'Orphaned' => '÷¦ÄÏËÒÅÍÌÅÎÉÊ/ïÓÉÒÏÔ¦ÌÉÊ',
+ 'Phone' => 'ôÅÌ.',
+ 'Save' => 'úÂÅÒÅÇÔÉ',
+ 'Ship to' => 'ðÏÓÌÁÔÉ ÄÏ',
+ 'Tax Included' => 'ðÏÄÁÔÏË ×ËÌÀÞÅÎÏ',
+ 'Taxable' => 'ïÐÏÄÁÔËÏ×Õ¤ÔØÓÑ',
+ 'Terms: Net' => 'õÍÏ×É: úÁÐÌÁÔÉÔÉ',
+ 'Transactions exist, cannot delete customer!' => '¶ÓÎÕÀÔØ ÏÐÅÒÁæ§, ÎÅ ÍÏÖÎÁ ×ÉÄÁÌÉÔÉ Ë̦¤ÎÔÁ',
+ 'Transactions exist, cannot delete vendor!' => '¶ÓÎÕÀÔØ ÏÐÅÒÁæ§, ÎÅ ÍÏÖÎÁ ×ÉÄÁÌÉÔÉ ÐÏÓÔÁÞÁÌØÎÉËÁ',
+ 'Vendor deleted!' => 'ðÏÓÔÁÞÁÌØÎÉË ×ÉÄÁÌÅÎÉÊ',
+ 'Vendor saved!' => 'ðÏÓÔÁÞÁÌØÎÉËÁ ÚÂÅÒÅÖÅÎÏ',
+ 'Vendors' => 'ðÏÓÔÁÞÁÌØÎÉËÉ',
+ 'days' => 'ÄΦ×',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'customer_invoice' => 'customer_invoice',
+ 'customer_order' => 'customer_order',
+ 'delete' => 'delete',
+ 'delete_customer' => 'delete_customer',
+ 'delete_vendor' => 'delete_vendor',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'invoice' => 'invoice',
+ 'list_names' => 'list_names',
+ 'order' => 'order',
+ 'save' => 'save',
+ 'save_customer' => 'save_customer',
+ 'save_vendor' => 'save_vendor',
+ 'search' => 'search',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'vendor_order' => 'vendor_order',
+ 'îÏ×ÉÊ' => 'add',
+ 'ðÒÏÄÏ×ÖÉÔÉ' => 'continue',
+ '÷ÉÄÁÌÉÔÉ' => 'delete',
+ 'òÁÈÕÎÏË_ÆÁËÔÕÒÁ' => 'invoice',
+ 'úÁÍÏ×ÌÅÎÎÑ' => 'order',
+ 'úÂÅÒÅÇÔÉ' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/ua/gl b/sql-ledger/locale/ua/gl
new file mode 100644
index 0000000..77e0736
--- /dev/null
+++ b/sql-ledger/locale/ua/gl
@@ -0,0 +1,124 @@
+$self{texts} = {
+ 'AP Transaction' => 'ïÐÅÒÁæ§ ÷ÉÔÒÁÔ',
+ 'AR Transaction' => 'ïÐÅÒÁÃ¦Ñ äÏÈÏĦ×',
+ 'Account' => 'òÁÈÕÎÏË',
+ 'Add General Ledger Transaction' => 'îÏ×Á ÏÐÅÒÁæÑ',
+ 'Address' => 'áÄÒÅÓÁ',
+ 'All' => '÷Ó¦',
+ 'Apr' => 'ËצÔÎÑ',
+ 'April' => 'ëצÔÅÎØ',
+ 'Are you sure you want to delete Transaction' => '÷É ÐÅ×Φ, ÝÏ ÈÏÞÅÔÅ ×ÉÄÁÌÉÔÉ ÄÁÎÕ ÏÐÅÒÁæÀ?',
+ 'Asset' => 'áËÔÉ×',
+ 'Aug' => 'ÓÅÒÐÎÑ',
+ 'August' => 'óÅÒÐÅÎØ',
+ 'Balance' => 'âÁÌÁÎÓ',
+ 'Cannot delete transaction!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÄÁÌÉÔÉ ÏÒÅ!',
+ 'Cannot have a value in both Debit and Credit!' => 'îÅ ÍÏÖÎÁ ÏÄÎÏÞÁÓÎÏ ÍÁÔÉ ÓÕÍÉ × äÅÂÉÔ¦ ¦ ëÒÅÄÉÔ¦',
+ 'Cannot post a transaction without a value!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÓÔÁ×ÉÔÉ ÏÐÅÒÁæÀ ÂÅÚ ×ÁÒÔÏÓÔ¦!',
+ 'Cannot post transaction for a closed period!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÓÔÁ×ÉÔÉ ÏÐÅÒÁæÀ ÄÌÑ ÚÁËÒÉÔÏÇÏ ÐÅÒ¦ÏÄÕ!',
+ 'Confirm!' => 'ð¦ÄÔ×ÅÒĦÔØ!',
+ 'Continue' => 'ðÒÏÄÏ×ÖÉÔÉ',
+ 'Credit' => 'ëÒÅÄÉÔ',
+ 'Customer not on file!' => 'ë̦¤ÎÔÁ ÎÅÍÁ × ÓÐÉÓËÕ!',
+ 'Date' => 'äÁÔÁ',
+ 'Debit' => 'äÅÂÉÔ',
+ 'Debit and credit out of balance!' => 'äÅÂÉÔ ¦ ËÒÅÄÉÔ ÎÅ ÚÂÁÌÁÎÓÏ×ÁΦ!',
+ 'Dec' => 'ÇÒÕÄÎÑ',
+ 'December' => 'çÒÕÄÅÎØ',
+ 'Delete' => '÷ÉÄÁÌÉÔÉ',
+ 'Description' => 'ïÐÉÓ',
+ 'Edit General Ledger Transaction' => '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ ïÐÅÒÁæÀ çÏÌÏ×Îϧ ëÎÉÇÉ',
+ 'Equity' => 'ëÁЦÔÁÌ',
+ 'Expense' => '÷ÉÄÁÔËÉ',
+ 'Feb' => 'ÌÀÔÏÇÏ',
+ 'February' => 'ìÀÔÉÊ',
+ 'From' => '÷¦Ä / Ú',
+ 'GIFI' => 'GIFI',
+ 'GL Transaction' => 'çë ïÐÅÒÁæÑ',
+ 'General Ledger' => 'çÏÌÏ×ÎÁ ëÎÉÇÁ',
+ 'ID' => '¶ÄÅÎÔÉƦËÁæÊÎÉÊ ÎÏÍÅÒ',
+ 'Include in Report' => 'äÏÄÁÔÉ ÄÏ úצÔÕ',
+ 'Income' => 'ðÒÉÂÕÔÏË',
+ 'Jan' => 'Ó¦ÞÎÑ',
+ 'January' => 'Ó¦ÞÅÎØ',
+ 'Jul' => 'ÌÉÐÎÑ',
+ 'July' => 'ìÉÐÅÎØ',
+ 'Jun' => 'ÞÅÒ×ÎÑ',
+ 'June' => 'þÅÒ×ÅÎØ',
+ 'Liability' => 'ðÁÓÓÉ×',
+ 'Mar' => 'ÂÅÒÅÚÎÑ',
+ 'March' => 'âÅÒÅÚÅÎØ',
+ 'May' => 'ÔÒÁ×ÎÑ',
+ 'May ' => 'ôÒÁ×ÅÎØ',
+ 'Notes' => 'ðÒÉͦÔËÉ',
+ 'Nov' => 'ÌÉÓÔÏÐÁÄÁ',
+ 'November' => 'ìÉÓÔÏÐÁÄ',
+ 'Number' => 'îÏÍÅÒ',
+ 'Oct' => 'ÖÏ×ÔÎÑ',
+ 'October' => 'öÏ×ÔÅÎØ',
+ 'Post' => '÷ÉÓÔÁ×ÉÔÉ',
+ 'Post as new' => '÷ÉÓÔÁ×ÉÔÉ ÑË ÎÏ×ÉÊ',
+ 'Project' => 'ðÒÏÅËÔ',
+ 'Project not on file!' => 'ðÒÏÅËÔÕ ÎÅÍÁ × ÓÐÉÓËÕ!',
+ 'Purchase Invoice' => 'òÁÈÕÎÏË-ÆÁËÔÕÒÁ',
+ 'Reference' => 'úÓÉÌËÁ',
+ 'Reference missing!' => 'îÅ ×ËÁÚÁÎÁ ÚÓÉÌËÁ!',
+ 'Reports' => 'úצÔÉ',
+ 'Sales Invoice' => 'òÁÈÕÎÏË-ÆÁËÔÕÒÁ',
+ 'Select from one of the names below' => '÷ÉÂÅÒ¦ÔØ ÏÄÎÅ ¦Ú ÎÁÓÔÕÐÎÉÈ ¦ÍÅÎ/ÎÁÚ×',
+ 'Select from one of the projects below' => '÷ÉÂÅÒ¦ÔØ ÏÄÉÎ ¦Ú ÎÁÓÔÕÐÎÉÈ ÐÒÏÅËÔ¦×',
+ 'Sep' => '×ÅÒÅÓÎÑ',
+ 'September' => '÷ÅÒÅÓÅÎØ',
+ 'Source' => 'äÖÅÒÅÌÏ',
+ 'Subtotal' => 'ð¦ÄÓÕÍÏË ÐÏ ÒÏÚĦÌÕ',
+ 'Transaction Date missing!' => 'îÅ ×ËÁÚÁÎÁ ÄÁÔÁ ÏÐÅÒÁæ§',
+ 'Transaction deleted!' => 'ïÐÅÒÁÃ¦Ñ ×ÉÄÁÌÅÎÁ',
+ 'Transaction posted!' => 'ïÐÅÒÁÃ¦Ñ ÚĦÊÓÎÅÎÁ',
+ 'Update' => 'ðÏÎÏ×ÉÔÉ',
+ 'Vendor not on file!' => 'ðÏÔÁÞÁÌØÎÉËÁ ÎÅÍÁ Õ ÓÐÉÓËÕ ',
+ 'Yes' => 'Tak',
+ 'to' => 'ÄÏ',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'form_row' => 'form_row',
+ 'generate_report' => 'generate_report',
+ 'gl_subtotal' => 'gl_subtotal',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'ïÐÅÒÁæ§_÷ÉÔÒÁÔ' => 'ap_transaction',
+ 'ïÐÅÒÁæÑ_äÏÈÏĦ×' => 'ar_transaction',
+ 'ðÒÏÄÏ×ÖÉÔÉ' => 'continue',
+ '÷ÉÄÁÌÉÔÉ' => 'delete',
+ 'çë_ïÐÅÒÁæÑ' => 'gl_transaction',
+ '÷ÉÓÔÁ×ÉÔÉ' => 'post',
+ '÷ÉÓÔÁ×ÉÔÉ_ÑË_ÎÏ×ÉÊ' => 'post_as_new',
+ 'òÁÈÕÎÏË_ÆÁËÔÕÒÁ' => 'purchase_invoice',
+ 'òÁÈÕÎÏË_ÆÁËÔÕÒÁ' => 'sales_invoice',
+ 'ðÏÎÏ×ÉÔÉ' => 'update',
+ 'tak' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/ua/ic b/sql-ledger/locale/ua/ic
new file mode 100644
index 0000000..9a32568
--- /dev/null
+++ b/sql-ledger/locale/ua/ic
@@ -0,0 +1,206 @@
+$self{texts} = {
+ 'Active' => 'áËÔÉ×ÎÉÊ',
+ 'Add' => 'îÏ×ÉÊ',
+ 'Add Assembly' => 'îÏ×ÉÊ ËÏÍÐÌÅËÔ',
+ 'Add Part' => 'îÏ×ÉÊ ôÏ×ÁÒ',
+ 'Add Purchase Order' => 'îÏ×Å ÚÁÍÏ×ÌÅÎÎÑ ÎÁ ËÕЦ×ÌÀ',
+ 'Add Sales Order' => 'îÏ×Å ÚÁÍÏ×ÌÅÎÎÑ ÎÁ ÐÒÏÄÁÖ',
+ 'Add Service' => 'îÏ×Á ÐÏÓÌÕÇÁ',
+ 'Address' => 'áÄÒÅÓÁ',
+ 'Apr' => 'ËצÔÎÑ',
+ 'April' => 'ëצÔÅÎØ',
+ 'Assemblies' => 'ëÏÍÐÌÅËÔÉ',
+ 'Assemblies restocked!' => 'ëÏÍÐÌÅËÔÉ ¦Î×ÅÎÔÁÒÉÚÏ×ÁΦ!',
+ 'Assembly Number missing!' => 'îÅ ×ËÁÚÁÎÉÊ ÎÏÍÅÒ ËÏÍÐÌÅËÔÕ!',
+ 'Attachment' => 'äÏÄÁÔÏË',
+ 'Aug' => 'ÓÅÒÐÎÑ',
+ 'August' => 'óÅÒÐÅÎØ',
+ 'BOM' => 'BOM',
+ 'Bcc' => 'ðÒÉ×ÁÔÎÁ ËÏÐ¦Ñ ÄÏ',
+ 'Bin' => 'Bin',
+ 'Bought' => 'ëÕÐÌÅÎÏ',
+ 'COGS' => 'COGS',
+ 'Cannot delete item already invoiced!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÄÁÌÉÔÉ ÔÏ×ÁÒ, ÎÁ ÑËÉÊ ×ÖÅ ×ÉÐÉÓÁÎÁ ÒÁÈÕÎÏË-ÆÁËÔÕÒÁ!',
+ 'Cannot delete item on order!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÄÁÌÉÔÉ Ò¦Þ ¦Ú ÚÁÍÏ×ÌÅÎÎÑ!',
+ 'Cannot delete item which is part of an assembly!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÄÁÌÉÔÉ ÔÏ×ÁÒ, ÑËÉÊ ¤ ÞÁÓÔÉÎÏÀ ËÏÍÐÌÅËÔÕ!',
+ 'Cannot delete item!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÄÁÌÉÔÉ ÃÅÊ ÅÌÅÍÅÎÔ',
+ 'Cannot stock assemblies!' => 'îÅ ÍÏÖÌÉ×Ï ¦Î×ÅÎÔÁÒÉÚÕ×ÁÔÉ ËÏÍÐÌÅËÔÉ!',
+ 'Cc' => 'ëÏÐ¦Ñ ÄÏ',
+ 'Contact' => 'ëÏÎÔÁËÔÎÁ ÏÓÏÂÁ',
+ 'Continue' => 'ðÒÏÄÏ×ÖÉÔÉ',
+ 'Copies' => 'ëÏЦÊ',
+ 'Dec' => 'ÇÒÕÄÎÑ',
+ 'December' => 'çÒÕÄÅÎØ',
+ 'Delete' => '÷ÉÄÁÌÉÔÉ',
+ 'Delivery Date' => 'äÁÔÁ ÄÏÓÔÁ×ËÉ',
+ 'Description' => 'ïÐÉÓ',
+ 'Drawing' => 'íÁÌÀÎÏË',
+ 'E-mail' => 'åÌ. ÐÏÛÔÁ',
+ 'E-mail address missing!' => 'îÅ ×ËÁÚÁÎÁ ÁÄÒÅÓÁ ÅÌ. ÐÏÛÔÉ!',
+ 'Edit Assembly' => '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ ËÏÍÐÌÅËÔ',
+ 'Edit Part' => '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ ôÏ×ÁÒ',
+ 'Edit Service' => '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ ÐÏÓÌÕÇÕ',
+ 'Expense' => '÷ÉÄÁÔËÉ',
+ 'Extended' => 'ðÒÏÄÏ×ÖÅÎÏ',
+ 'Fax' => 'æÁÈ',
+ 'Feb' => 'ÌÀÔÏÇÏ',
+ 'February' => 'ìÀÔÉÊ',
+ 'From' => '÷¦Ä / Ú',
+ 'Image' => 'úÏÂÒÁÖÅÎÎÑ',
+ 'In-line' => '÷ËÌÀÞÅÎÏ (In-line)',
+ 'Include in Report' => 'äÏÄÁÔÉ ÄÏ úצÔÕ',
+ 'Income' => 'ðÒÉÂÕÔÏË',
+ 'Individual Items' => '¶ÎÄÉצÄÕÁÌØΦ þÁÓÔÉÎÉ',
+ 'Inventory' => '¶Î×ÅÎÔÁÒ',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'ë¦ÌØ˦ÓÔØ × ¦Î×ÅÎÔÁÒ¦ ÐÏ×ÉÎÎÁ ÂÕÔÉ ÎÕÌØ, ÐÅÒÛ Î¦Ö ÍÏÖÎÁ ÐÏÚÎÁÞÉÔÉ ËÏÍÐÌÅËÔ ÚÁÓÔÁÒ¦ÌÉÍ!',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'ë¦ÌØ˦ÓÔØ × ¦Î×ÅÎÔÁÒ¦ ÐÏ×ÉÎÎÁ ÂÕÔÉ ÎÕÌØ, ÐÅÒÛ Î¦Ö ÍÏÖÎÁ ÐÏÚÎÁÞÉÔÉ ÃÉÊ ÔÏ×ÁÒ ÚÁÓÔÁÒ¦ÌÉÍ!',
+ 'Inventory quantity must be zero!' => 'ë¦ÌØ˦ÓÔØ × ¦Î×ÅÎÔÁÒ¦ ÐÏ×ÉÎÎÁ ÂÕÔÉ ÎÕÌØ!',
+ 'Invoice' => 'òÁÈÕÎÏË-ÆÁËÔÕÒÁ',
+ 'Invoice Date missing!' => 'îÅ ×ËÁÚÁÎÁ ÄÁÔÁ ×ÉÓÔÁ×ÌÅÎÎÑ ÒÁÈÕÎËÁ-ÆÁËÔÕÒÉ!',
+ 'Invoice Number' => 'îÏÍÅÒ ÒÁÈÕÎËÁ-ÆÁËÔÕÒÉ',
+ 'Invoice Number missing!' => 'îÅ ×ËÁÚÁÎÉÊ ÎÏÍÅÒ ÒÁÈÕÎËÁ-ÆÁËÔÕÒÉ!',
+ 'Item deleted!' => 'ò¦Þ ×ÉÄÁÌÅÎÏ!',
+ 'Item not on file!' => 'òÅÞ¦ ÎÅÍÁ × ÓÐÉÓËÕ!',
+ 'Jan' => 'Ó¦ÞÎÑ',
+ 'January' => 'Ó¦ÞÅÎØ',
+ 'Jul' => 'ÌÉÐÎÑ',
+ 'July' => 'ìÉÐÅÎØ',
+ 'Jun' => 'ÞÅÒ×ÎÑ',
+ 'June' => 'þÅÒ×ÅÎØ',
+ 'Last Cost' => 'ëÕЦ×ÅÌØÎÁ ã¦ÎÁ',
+ 'Line Total' => 'úÁÇÁÌØÎÁ óÕÍÁ',
+ 'Link Accounts' => 'ðÏ×ÑÚÁÔÉ òÁÈÕÎËÉ',
+ 'List Price' => 'ã¦ÎÁ',
+ 'Make' => '÷ÉÒÏÂÎÉÃÔ×Ï',
+ 'Mar' => 'ÂÅÒÅÚÎÑ',
+ 'March' => 'âÅÒÅÚÅÎØ',
+ 'May' => 'ÔÒÁ×ÎÑ',
+ 'May ' => 'ôÒÁ×ÅÎØ',
+ 'Message' => 'ðÏצÄÏÍÌÅÎÎÑ',
+ 'Microfiche' => 'í¦ËÒÏƦÛÁ',
+ 'Model' => 'íÏÄÅÌØ',
+ 'Name' => '¶Í\'Ñ / îÁÚ×Á',
+ 'No.' => 'No.',
+ 'Notes' => 'ðÒÉͦÔËÉ',
+ 'Nov' => 'ÌÉÓÔÏÐÁÄÁ',
+ 'November' => 'ìÉÓÔÏÐÁÄ',
+ 'Number' => 'îÏÍÅÒ',
+ 'Number missing in Row' => 'îÅ ×ËÁÚÁÎÉÊ ÎÏÍÅÒ Õ ÒÑÄËÕ',
+ 'Obsolete' => 'úÁÓÔÁÒ¦ÌÅ',
+ 'Oct' => 'ÖÏ×ÔÎÑ',
+ 'October' => 'öÏ×ÔÅÎØ',
+ 'On Hand' => 'îÁ òÕËÁÈ',
+ 'On Order' => 'îÁ úÁÍÏ×ÌÅÎΦ',
+ 'Order' => 'úÁÍÏ×ÌÅÎÎÑ',
+ 'Order Date missing!' => 'îÅ ×ËÁÚÁÎÁ äÁÔÁ úÁÍÏ×ÌÅÎÎÑ!',
+ 'Order Number' => 'îÏÍÅÒ úÁÍÏ×ÌÅÎÎÑ',
+ 'Order Number missing!' => 'îÅ ×ËÁÚÁÎÏ îÏÍÅÒ úÁÍÏ×ÌÅÎÎÑ',
+ 'Ordered' => 'úÁÍÏ×ÌÅÎÏ',
+ 'Orphaned' => '÷¦ÄÏËÒÅÍÌÅÎÉÊ/ïÓÉÒÏÔ¦ÌÉÊ',
+ 'PDF' => 'PDF ÆÏÒÍÁÔ',
+ 'Packing List' => 'ðÁËÕ×ÁÌØÎÉÊ óÐÉÓÏË',
+ 'Packing List Date missing!' => 'îÅ ×ËÁÚÁÎÁ äÁÔÁ ðÁËÕ×ÁÌØÎÏÇÏ óÐÉÓÏËÕ',
+ 'Packing List Number missing!' => 'îÅ ×ËÁÚÁÎÉÊ îÏÍÅÒ ðÁËÕ×ÁÌØÎÏÇÏ óÐÉÓÏËÕ',
+ 'Part' => 'ôÏ×ÁÒ',
+ 'Part Number missing!' => 'îÅ ×ËÁÚÁÎÏ îÏÍÅÒ ôÏ×ÁÒÕ!',
+ 'Parts' => 'ÔÏ×ÁÒÉ',
+ 'Phone' => 'ôÅÌ.',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'ã¦ÎÁ',
+ 'Printer' => 'ðÒÉÎÔÅÒ',
+ 'Project' => 'ðÒÏÅËÔ',
+ 'Purchase Order' => 'ëÕЦ×ÅÌØÎÅ úÁÍÏ×ÌÅÎÎÑ',
+ 'Qty' => 'ë¦ÌØ˦ÓÔØ',
+ 'ROP' => 'ROP',
+ 'Recd' => 'ïÔÒÉÍÁÎÏ',
+ 'Required by' => 'ôÅÒͦΠÄÏÓÔÁ×ËÉ',
+ 'Sales' => 'úÂÕÔ',
+ 'Sales Order' => 'îÁËÌÁÄÎÁ ðÒÏÄÁÖÕ ',
+ 'Save' => 'úÂÅÒÅÇÔÉ',
+ 'Screen' => 'åËÒÁÎ',
+ 'Select from one of the items below' => '÷ÉÂÅÒ¦ÔØ ÏÄÎÕ ¦Ú ÎÁÓÔÕÐÎÉÈ ÒÅÞÅÊ',
+ 'Select postscript or PDF!' => '÷ÉÂÅÒ¦ÔØ postscript ÁÂÏ PDF ÆÏÒÍÁÔ!',
+ 'Sell Price' => '÷¦ÄÐÕÓËÎÁ ã¦ÎÁ',
+ 'Sep' => '×ÅÒÅÓÎÑ',
+ 'September' => '÷ÅÒÅÓÅÎØ',
+ 'Service' => 'ðÏÓÌÕÇÁ',
+ 'Service Number missing!' => 'îÏÍÅÒ ðÏÓÌÕÇÉ ÎÅ ×ËÁÚÁÎÏ',
+ 'Services' => 'ðÏÓÌÕÇÉ',
+ 'Ship' => 'ðÏÓÌÁÔÉ',
+ 'Ship to' => 'ðÏÓÌÁÔÉ ÄÏ',
+ 'Short' => 'óËÏÒÏÞÅÎÏ',
+ 'Sold' => 'ðÒÏÄÁÎÏ',
+ 'Stock Assembly' => '¶Î×ÅÎÔÁÒ ëÏÍÐÌÅËÔÕ',
+ 'Subject' => 'ôÅÍÁ',
+ 'Subtotal' => 'ð¦ÄÓÕÍÏË ÐÏ ÒÏÚĦÌÕ',
+ 'Tax' => 'ðÏÄÁÔÏË',
+ 'To' => 'äÏ',
+ 'Top Level' => '÷ÅÒÈÎ¦Ê ò¦×ÅÎØ',
+ 'Total' => 'úÁÇÁÌØÎÁ óÕÍÁ',
+ 'Unit' => 'ïÄÉÎÉÃÑ',
+ 'Unit of measure' => 'ïÄÉÎÉÃÑ ×ÉͦÒÕ',
+ 'Update' => 'ðÏÎÏ×ÉÔÉ',
+ 'Updated' => 'ðÏÎÏ×ÌÅÎÏ',
+ 'Weight' => '÷ÁÇÁ',
+ 'What type of item is this?' => 'ñËÉÊ ÃÅ ×ÉÄ/ÔÉÐ ÔÏ×ÁÒÕ',
+ 'ea' => 'ÛÔ.',
+ 'emailed to' => 'ÐÏÓÌÁÎÏ ÐÏ ÅÌ. ÐÏÛÔ¦ ÄÏ',
+ 'hr' => 'ÇÏÄ.',
+ 'sent to printer' => 'ÐÏÓÌÁÎÏ ÄÏ ÐÒÉÎÔÅÒÁ',
+ 'to' => 'ÄÏ',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'assembly_row' => 'assembly_row',
+ 'check_form' => 'check_form',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'delete_assembly' => 'delete_assembly',
+ 'delete_item' => 'delete_item',
+ 'delete_part' => 'delete_part',
+ 'delete_service' => 'delete_service',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'link_part' => 'link_part',
+ 'list_assemblies' => 'list_assemblies',
+ 'makemodel_row' => 'makemodel_row',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'parts_subtotal' => 'parts_subtotal',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'restock_assemblies' => 'restock_assemblies',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'stock_assembly' => 'stock_assembly',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'îÏ×ÉÊ' => 'add',
+ 'îÏ×ÉÊ_ËÏÍÐÌÅËÔ' => 'add_assembly',
+ 'îÏ×ÉÊ_ôÏ×ÁÒ' => 'add_part',
+ 'îÏ×Á_ÐÏÓÌÕÇÁ' => 'add_service',
+ 'ðÒÏÄÏ×ÖÉÔÉ' => 'continue',
+ '÷ÉÄÁÌÉÔÉ' => 'delete',
+ '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ_ËÏÍÐÌÅËÔ' => 'edit_assembly',
+ '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ_ôÏ×ÁÒ' => 'edit_part',
+ '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ_ÐÏÓÌÕÇÕ' => 'edit_service',
+ 'úÂÅÒÅÇÔÉ' => 'save',
+ 'ðÏÎÏ×ÉÔÉ' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/ua/io b/sql-ledger/locale/ua/io
new file mode 100644
index 0000000..dba8567
--- /dev/null
+++ b/sql-ledger/locale/ua/io
@@ -0,0 +1,106 @@
+$self{texts} = {
+ 'Add Purchase Order' => 'îÏ×Å ÚÁÍÏ×ÌÅÎÎÑ ÎÁ ËÕЦ×ÌÀ',
+ 'Add Sales Order' => 'îÏ×Å ÚÁÍÏ×ÌÅÎÎÑ ÎÁ ÐÒÏÄÁÖ',
+ 'Address' => 'áÄÒÅÓÁ',
+ 'Apr' => 'ËצÔÎÑ',
+ 'April' => 'ëצÔÅÎØ',
+ 'Attachment' => 'äÏÄÁÔÏË',
+ 'Aug' => 'ÓÅÒÐÎÑ',
+ 'August' => 'óÅÒÐÅÎØ',
+ 'Bcc' => 'ðÒÉ×ÁÔÎÁ ËÏÐ¦Ñ ÄÏ',
+ 'Bin' => 'Bin',
+ 'Cc' => 'ëÏÐ¦Ñ ÄÏ',
+ 'Contact' => 'ëÏÎÔÁËÔÎÁ ÏÓÏÂÁ',
+ 'Continue' => 'ðÒÏÄÏ×ÖÉÔÉ',
+ 'Copies' => 'ëÏЦÊ',
+ 'Dec' => 'ÇÒÕÄÎÑ',
+ 'December' => 'çÒÕÄÅÎØ',
+ 'Delivery Date' => 'äÁÔÁ ÄÏÓÔÁ×ËÉ',
+ 'Description' => 'ïÐÉÓ',
+ 'E-mail' => 'åÌ. ÐÏÛÔÁ',
+ 'E-mail address missing!' => 'îÅ ×ËÁÚÁÎÁ ÁÄÒÅÓÁ ÅÌ. ÐÏÛÔÉ!',
+ 'Extended' => 'ðÒÏÄÏ×ÖÅÎÏ',
+ 'Fax' => 'æÁÈ',
+ 'Feb' => 'ÌÀÔÏÇÏ',
+ 'February' => 'ìÀÔÉÊ',
+ 'In-line' => '÷ËÌÀÞÅÎÏ (In-line)',
+ 'Invoice' => 'òÁÈÕÎÏË-ÆÁËÔÕÒÁ',
+ 'Invoice Date missing!' => 'îÅ ×ËÁÚÁÎÁ ÄÁÔÁ ×ÉÓÔÁ×ÌÅÎÎÑ ÒÁÈÕÎËÁ-ÆÁËÔÕÒÉ!',
+ 'Invoice Number missing!' => 'îÅ ×ËÁÚÁÎÉÊ ÎÏÍÅÒ ÒÁÈÕÎËÁ-ÆÁËÔÕÒÉ!',
+ 'Item not on file!' => 'òÅÞ¦ ÎÅÍÁ × ÓÐÉÓËÕ!',
+ 'Jan' => 'Ó¦ÞÎÑ',
+ 'January' => 'Ó¦ÞÅÎØ',
+ 'Jul' => 'ÌÉÐÎÑ',
+ 'July' => 'ìÉÐÅÎØ',
+ 'Jun' => 'ÞÅÒ×ÎÑ',
+ 'June' => 'þÅÒ×ÅÎØ',
+ 'Mar' => 'ÂÅÒÅÚÎÑ',
+ 'March' => 'âÅÒÅÚÅÎØ',
+ 'May' => 'ÔÒÁ×ÎÑ',
+ 'May ' => 'ôÒÁ×ÅÎØ',
+ 'Message' => 'ðÏצÄÏÍÌÅÎÎÑ',
+ 'Name' => '¶Í\'Ñ / îÁÚ×Á',
+ 'No.' => 'No.',
+ 'Nov' => 'ÌÉÓÔÏÐÁÄÁ',
+ 'November' => 'ìÉÓÔÏÐÁÄ',
+ 'Number' => 'îÏÍÅÒ',
+ 'Number missing in Row' => 'îÅ ×ËÁÚÁÎÉÊ ÎÏÍÅÒ Õ ÒÑÄËÕ',
+ 'Oct' => 'ÖÏ×ÔÎÑ',
+ 'October' => 'öÏ×ÔÅÎØ',
+ 'Order' => 'úÁÍÏ×ÌÅÎÎÑ',
+ 'Order Date missing!' => 'îÅ ×ËÁÚÁÎÁ äÁÔÁ úÁÍÏ×ÌÅÎÎÑ!',
+ 'Order Number missing!' => 'îÅ ×ËÁÚÁÎÏ îÏÍÅÒ úÁÍÏ×ÌÅÎÎÑ',
+ 'PDF' => 'PDF ÆÏÒÍÁÔ',
+ 'Packing List' => 'ðÁËÕ×ÁÌØÎÉÊ óÐÉÓÏË',
+ 'Packing List Date missing!' => 'îÅ ×ËÁÚÁÎÁ äÁÔÁ ðÁËÕ×ÁÌØÎÏÇÏ óÐÉÓÏËÕ',
+ 'Packing List Number missing!' => 'îÅ ×ËÁÚÁÎÉÊ îÏÍÅÒ ðÁËÕ×ÁÌØÎÏÇÏ óÐÉÓÏËÕ',
+ 'Part' => 'ôÏ×ÁÒ',
+ 'Phone' => 'ôÅÌ.',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'ã¦ÎÁ',
+ 'Printer' => 'ðÒÉÎÔÅÒ',
+ 'Project' => 'ðÒÏÅËÔ',
+ 'Purchase Order' => 'ëÕЦ×ÅÌØÎÅ úÁÍÏ×ÌÅÎÎÑ',
+ 'Qty' => 'ë¦ÌØ˦ÓÔØ',
+ 'Recd' => 'ïÔÒÉÍÁÎÏ',
+ 'Required by' => 'ôÅÒͦΠÄÏÓÔÁ×ËÉ',
+ 'Sales Order' => 'îÁËÌÁÄÎÁ ðÒÏÄÁÖÕ ',
+ 'Screen' => 'åËÒÁÎ',
+ 'Select from one of the items below' => '÷ÉÂÅÒ¦ÔØ ÏÄÎÕ ¦Ú ÎÁÓÔÕÐÎÉÈ ÒÅÞÅÊ',
+ 'Select postscript or PDF!' => '÷ÉÂÅÒ¦ÔØ postscript ÁÂÏ PDF ÆÏÒÍÁÔ!',
+ 'Sep' => '×ÅÒÅÓÎÑ',
+ 'September' => '÷ÅÒÅÓÅÎØ',
+ 'Service' => 'ðÏÓÌÕÇÁ',
+ 'Ship' => 'ðÏÓÌÁÔÉ',
+ 'Ship to' => 'ðÏÓÌÁÔÉ ÄÏ',
+ 'Subject' => 'ôÅÍÁ',
+ 'To' => 'äÏ',
+ 'Unit' => 'ïÄÉÎÉÃÑ',
+ 'What type of item is this?' => 'ñËÉÊ ÃÅ ×ÉÄ/ÔÉÐ ÔÏ×ÁÒÕ',
+ 'emailed to' => 'ÐÏÓÌÁÎÏ ÐÏ ÅÌ. ÐÏÛÔ¦ ÄÏ',
+ 'sent to printer' => 'ÐÏÓÌÁÎÏ ÄÏ ÐÒÉÎÔÅÒÁ',
+};
+
+$self{subs} = {
+ 'check_form' => 'check_form',
+ 'customer_details' => 'customer_details',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'ðÒÏÄÏ×ÖÉÔÉ' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/ua/ir b/sql-ledger/locale/ua/ir
new file mode 100644
index 0000000..8caf3fd
--- /dev/null
+++ b/sql-ledger/locale/ua/ir
@@ -0,0 +1,178 @@
+$self{texts} = {
+ 'Account' => 'òÁÈÕÎÏË',
+ 'Add Purchase Invoice' => 'îÏ×ÉÊ ëÕЦ×ÅÌØÎÉÊ òÁÈÕÎÏË-ÆÁËÔÕÒÁ',
+ 'Add Purchase Order' => 'îÏ×Å ÚÁÍÏ×ÌÅÎÎÑ ÎÁ ËÕЦ×ÌÀ',
+ 'Add Sales Order' => 'îÏ×Å ÚÁÍÏ×ÌÅÎÎÑ ÎÁ ÐÒÏÄÁÖ',
+ 'Address' => 'áÄÒÅÓÁ',
+ 'Amount' => 'óÕÍÁ',
+ 'Apr' => 'ËצÔÎÑ',
+ 'April' => 'ëצÔÅÎØ',
+ 'Are you sure you want to delete Invoice Number' => '÷É ÐÅ×Φ, ÝÏ ÈÏÞÅÔÅ ×ÉÄÁÌÉÔÉ ÄÁÎÉÊ ÒÁÈÕÎÏË?',
+ 'Attachment' => 'äÏÄÁÔÏË',
+ 'Aug' => 'ÓÅÒÐÎÑ',
+ 'August' => 'óÅÒÐÅÎØ',
+ 'Bcc' => 'ðÒÉ×ÁÔÎÁ ËÏÐ¦Ñ ÄÏ',
+ 'Bin' => 'Bin',
+ 'Cannot delete invoice!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÄÁÌÉÔÉ ÒÁÈÕÎÏË-ÆÁËÔÕÒÕ',
+ 'Cannot post invoice for a closed period!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÓÔÁ×ÉÔÉ ÒÁÈÕÎÏË-ÆÁËÔÕÒÕ ÄÌÑ ÚÁËÒÉÔÏÇÏ ÐÅÒ¦ÏÄÕ!',
+ 'Cannot post invoice!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÓÔÁ×ÉÔÉ ÒÁÈÕÎÏË-ÆÁËÔÕÒÕ!',
+ 'Cannot post payment for a closed period!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÓÔÁ×ÉÔÉ ÐÌÁÔ¦Ö ÄÌÑ ÚÁËÒÉÔÏÇÏ ÐÅÒ¦ÏÄÕ!',
+ 'Cc' => 'ëÏÐ¦Ñ ÄÏ',
+ 'Confirm!' => 'ð¦ÄÔ×ÅÒĦÔØ!',
+ 'Contact' => 'ëÏÎÔÁËÔÎÁ ÏÓÏÂÁ',
+ 'Continue' => 'ðÒÏÄÏ×ÖÉÔÉ',
+ 'Copies' => 'ëÏЦÊ',
+ 'Currency' => '÷ÁÌÀÔÁ',
+ 'Customer not on file!' => 'ë̦¤ÎÔÁ ÎÅÍÁ × ÓÐÉÓËÕ!',
+ 'Date' => 'äÁÔÁ',
+ 'Date Due' => 'úÁÐÌÁÔÉÔÉ ÄÏ',
+ 'Dec' => 'ÇÒÕÄÎÑ',
+ 'December' => 'çÒÕÄÅÎØ',
+ 'Delete' => '÷ÉÄÁÌÉÔÉ',
+ 'Delivery Date' => 'äÁÔÁ ÄÏÓÔÁ×ËÉ',
+ 'Description' => 'ïÐÉÓ',
+ 'E-mail' => 'åÌ. ÐÏÛÔÁ',
+ 'E-mail address missing!' => 'îÅ ×ËÁÚÁÎÁ ÁÄÒÅÓÁ ÅÌ. ÐÏÛÔÉ!',
+ 'Edit Purchase Invoice' => '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ ëÕЦ×ÅÌØÎÉÊ òÁÈÕÎÏË-ÆÁËÔÕÒÕ',
+ 'Exch' => 'ëÕÒÓ',
+ 'Exchangerate' => 'ëÕÒÓ ×ÁÌÀÔÉ',
+ 'Exchangerate for payment missing!' => 'îÅ ×ËÁÚÁÎÉÊ ËÕÒÓ ×ÁÌÀÔÉ ÄÌÑ ÐÌÁÔÅÖÕ!',
+ 'Exchangerate missing!' => 'îÅ ×ËÁÚÁÎÉÊ ËÕÒÓ ×ÁÌÀÔÉ!',
+ 'Extended' => 'ðÒÏÄÏ×ÖÅÎÏ',
+ 'Fax' => 'æÁÈ',
+ 'Feb' => 'ÌÀÔÏÇÏ',
+ 'February' => 'ìÀÔÉÊ',
+ 'In-line' => '÷ËÌÀÞÅÎÏ (In-line)',
+ 'Invoice' => 'òÁÈÕÎÏË-ÆÁËÔÕÒÁ',
+ 'Invoice Date' => 'äÁÔÁ ×ÉÓÔÁ×ÌÅÎÎÑ',
+ 'Invoice Date missing!' => 'îÅ ×ËÁÚÁÎÁ ÄÁÔÁ ×ÉÓÔÁ×ÌÅÎÎÑ ÒÁÈÕÎËÁ-ÆÁËÔÕÒÉ!',
+ 'Invoice Number' => 'îÏÍÅÒ ÒÁÈÕÎËÁ-ÆÁËÔÕÒÉ',
+ 'Invoice Number missing!' => 'îÅ ×ËÁÚÁÎÉÊ ÎÏÍÅÒ ÒÁÈÕÎËÁ-ÆÁËÔÕÒÉ!',
+ 'Invoice deleted!' => 'òÁÈÕÎÏË-ÆÁËÔÕÒÁ ×ÉÄÁÌÅÎÉÊ!',
+ 'Invoice posted!' => 'òÁÈÕÎÏË-ÆÁËÔÕÒÁ ×ÉÓÔÁ×ÌÅÎÉÊ!',
+ 'Item not on file!' => 'òÅÞ¦ ÎÅÍÁ × ÓÐÉÓËÕ!',
+ 'Jan' => 'Ó¦ÞÎÑ',
+ 'January' => 'Ó¦ÞÅÎØ',
+ 'Jul' => 'ÌÉÐÎÑ',
+ 'July' => 'ìÉÐÅÎØ',
+ 'Jun' => 'ÞÅÒ×ÎÑ',
+ 'June' => 'þÅÒ×ÅÎØ',
+ 'Mar' => 'ÂÅÒÅÚÎÑ',
+ 'March' => 'âÅÒÅÚÅÎØ',
+ 'May' => 'ÔÒÁ×ÎÑ',
+ 'May ' => 'ôÒÁ×ÅÎØ',
+ 'Message' => 'ðÏצÄÏÍÌÅÎÎÑ',
+ 'Name' => '¶Í\'Ñ / îÁÚ×Á',
+ 'No.' => 'No.',
+ 'Notes' => 'ðÒÉͦÔËÉ',
+ 'Nov' => 'ÌÉÓÔÏÐÁÄÁ',
+ 'November' => 'ìÉÓÔÏÐÁÄ',
+ 'Number' => 'îÏÍÅÒ',
+ 'Number missing in Row' => 'îÅ ×ËÁÚÁÎÉÊ ÎÏÍÅÒ Õ ÒÑÄËÕ',
+ 'Oct' => 'ÖÏ×ÔÎÑ',
+ 'October' => 'öÏ×ÔÅÎØ',
+ 'Order' => 'úÁÍÏ×ÌÅÎÎÑ',
+ 'Order Date missing!' => 'îÅ ×ËÁÚÁÎÁ äÁÔÁ úÁÍÏ×ÌÅÎÎÑ!',
+ 'Order Number' => 'îÏÍÅÒ úÁÍÏ×ÌÅÎÎÑ',
+ 'Order Number missing!' => 'îÅ ×ËÁÚÁÎÏ îÏÍÅÒ úÁÍÏ×ÌÅÎÎÑ',
+ 'PDF' => 'PDF ÆÏÒÍÁÔ',
+ 'Packing List' => 'ðÁËÕ×ÁÌØÎÉÊ óÐÉÓÏË',
+ 'Packing List Date missing!' => 'îÅ ×ËÁÚÁÎÁ äÁÔÁ ðÁËÕ×ÁÌØÎÏÇÏ óÐÉÓÏËÕ',
+ 'Packing List Number missing!' => 'îÅ ×ËÁÚÁÎÉÊ îÏÍÅÒ ðÁËÕ×ÁÌØÎÏÇÏ óÐÉÓÏËÕ',
+ 'Part' => 'ôÏ×ÁÒ',
+ 'Payment date missing!' => 'îÅ ×ËÁÚÁÎÏ ÄÁÔÕ ðÌÁÔÅÖÕ!',
+ 'Payments' => 'ðÌÁÔÅÖ¦',
+ 'Phone' => 'ôÅÌ.',
+ 'Post' => '÷ÉÓÔÁ×ÉÔÉ',
+ 'Post as new' => '÷ÉÓÔÁ×ÉÔÉ ÑË ÎÏ×ÉÊ',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'ã¦ÎÁ',
+ 'Printer' => 'ðÒÉÎÔÅÒ',
+ 'Project' => 'ðÒÏÅËÔ',
+ 'Project not on file!' => 'ðÒÏÅËÔÕ ÎÅÍÁ × ÓÐÉÓËÕ!',
+ 'Purchase Order' => 'ëÕЦ×ÅÌØÎÅ úÁÍÏ×ÌÅÎÎÑ',
+ 'Qty' => 'ë¦ÌØ˦ÓÔØ',
+ 'Recd' => 'ïÔÒÉÍÁÎÏ',
+ 'Record in' => '÷ÎÅÓÔÉ ×',
+ 'Required by' => 'ôÅÒͦΠÄÏÓÔÁ×ËÉ',
+ 'Sales Order' => 'îÁËÌÁÄÎÁ ðÒÏÄÁÖÕ ',
+ 'Screen' => 'åËÒÁÎ',
+ 'Select from one of the items below' => '÷ÉÂÅÒ¦ÔØ ÏÄÎÕ ¦Ú ÎÁÓÔÕÐÎÉÈ ÒÅÞÅÊ',
+ 'Select from one of the names below' => '÷ÉÂÅÒ¦ÔØ ÏÄÎÅ ¦Ú ÎÁÓÔÕÐÎÉÈ ¦ÍÅÎ/ÎÁÚ×',
+ 'Select from one of the projects below' => '÷ÉÂÅÒ¦ÔØ ÏÄÉÎ ¦Ú ÎÁÓÔÕÐÎÉÈ ÐÒÏÅËÔ¦×',
+ 'Select postscript or PDF!' => '÷ÉÂÅÒ¦ÔØ postscript ÁÂÏ PDF ÆÏÒÍÁÔ!',
+ 'Sep' => '×ÅÒÅÓÎÑ',
+ 'September' => '÷ÅÒÅÓÅÎØ',
+ 'Service' => 'ðÏÓÌÕÇÁ',
+ 'Ship' => 'ðÏÓÌÁÔÉ',
+ 'Ship to' => 'ðÏÓÌÁÔÉ ÄÏ',
+ 'Source' => 'äÖÅÒÅÌÏ',
+ 'Subject' => 'ôÅÍÁ',
+ 'Subtotal' => 'ð¦ÄÓÕÍÏË ÐÏ ÒÏÚĦÌÕ',
+ 'Tax Included' => 'ðÏÄÁÔÏË ×ËÌÀÞÅÎÏ',
+ 'To' => 'äÏ',
+ 'Total' => 'úÁÇÁÌØÎÁ óÕÍÁ',
+ 'Unit' => 'ïÄÉÎÉÃÑ',
+ 'Update' => 'ðÏÎÏ×ÉÔÉ',
+ 'Vendor' => 'ðÏÓÔÁÞÁÌØÎÉË',
+ 'Vendor missing!' => 'ðÏÓÔÁÞÁÌØÎÉË ÎÅ ¦ÓÎÕ¤',
+ 'Vendor not on file!' => 'ðÏÔÁÞÁÌØÎÉËÁ ÎÅÍÁ Õ ÓÐÉÓËÕ ',
+ 'What type of item is this?' => 'ñËÉÊ ÃÅ ×ÉÄ/ÔÉÐ ÔÏ×ÁÒÕ',
+ 'Yes' => 'Tak',
+ 'ea' => 'ÛÔ.',
+ 'emailed to' => 'ÐÏÓÌÁÎÏ ÐÏ ÅÌ. ÐÏÛÔ¦ ÄÏ',
+ 'sent to printer' => 'ÐÏÓÌÁÎÏ ÄÏ ÐÒÉÎÔÅÒÁ',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'ðÒÏÄÏ×ÖÉÔÉ' => 'continue',
+ '÷ÉÄÁÌÉÔÉ' => 'delete',
+ 'úÁÍÏ×ÌÅÎÎÑ' => 'order',
+ '÷ÉÓÔÁ×ÉÔÉ' => 'post',
+ '÷ÉÓÔÁ×ÉÔÉ_ÑË_ÎÏ×ÉÊ' => 'post_as_new',
+ 'ðÏÎÏ×ÉÔÉ' => 'update',
+ 'tak' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/ua/is b/sql-ledger/locale/ua/is
new file mode 100644
index 0000000..f62cc69
--- /dev/null
+++ b/sql-ledger/locale/ua/is
@@ -0,0 +1,185 @@
+$self{texts} = {
+ 'Account' => 'òÁÈÕÎÏË',
+ 'Add Purchase Order' => 'îÏ×Å ÚÁÍÏ×ÌÅÎÎÑ ÎÁ ËÕЦ×ÌÀ',
+ 'Add Sales Invoice' => 'îÏ×ÉÊ òÁÈÕÎÏ-ÆÁËÔÕÒÁ',
+ 'Add Sales Order' => 'îÏ×Å ÚÁÍÏ×ÌÅÎÎÑ ÎÁ ÐÒÏÄÁÖ',
+ 'Address' => 'áÄÒÅÓÁ',
+ 'Amount' => 'óÕÍÁ',
+ 'Apr' => 'ËצÔÎÑ',
+ 'April' => 'ëצÔÅÎØ',
+ 'Are you sure you want to delete Invoice Number' => '÷É ÐÅ×Φ, ÝÏ ÈÏÞÅÔÅ ×ÉÄÁÌÉÔÉ ÄÁÎÉÊ ÒÁÈÕÎÏË?',
+ 'Attachment' => 'äÏÄÁÔÏË',
+ 'Aug' => 'ÓÅÒÐÎÑ',
+ 'August' => 'óÅÒÐÅÎØ',
+ 'Bcc' => 'ðÒÉ×ÁÔÎÁ ËÏÐ¦Ñ ÄÏ',
+ 'Bin' => 'Bin',
+ 'Cannot delete invoice!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÄÁÌÉÔÉ ÒÁÈÕÎÏË-ÆÁËÔÕÒÕ',
+ 'Cannot post invoice for a closed period!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÓÔÁ×ÉÔÉ ÒÁÈÕÎÏË-ÆÁËÔÕÒÕ ÄÌÑ ÚÁËÒÉÔÏÇÏ ÐÅÒ¦ÏÄÕ!',
+ 'Cannot post invoice!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÓÔÁ×ÉÔÉ ÒÁÈÕÎÏË-ÆÁËÔÕÒÕ!',
+ 'Cannot post payment for a closed period!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÓÔÁ×ÉÔÉ ÐÌÁÔ¦Ö ÄÌÑ ÚÁËÒÉÔÏÇÏ ÐÅÒ¦ÏÄÕ!',
+ 'Cc' => 'ëÏÐ¦Ñ ÄÏ',
+ 'Confirm!' => 'ð¦ÄÔ×ÅÒĦÔØ!',
+ 'Contact' => 'ëÏÎÔÁËÔÎÁ ÏÓÏÂÁ',
+ 'Continue' => 'ðÒÏÄÏ×ÖÉÔÉ',
+ 'Copies' => 'ëÏЦÊ',
+ 'Credit Limit' => 'ì¦Í¦Ô ËÒÅÄÉÔÕ',
+ 'Currency' => '÷ÁÌÀÔÁ',
+ 'Customer' => 'ë̦¤ÎÔ',
+ 'Customer missing!' => 'îÅ ×ËÁÚÁÎÉÊ Ë̦¤ÎÔ!',
+ 'Customer not on file!' => 'ë̦¤ÎÔÁ ÎÅÍÁ × ÓÐÉÓËÕ!',
+ 'Date' => 'äÁÔÁ',
+ 'Date Due' => 'úÁÐÌÁÔÉÔÉ ÄÏ',
+ 'Dec' => 'ÇÒÕÄÎÑ',
+ 'December' => 'çÒÕÄÅÎØ',
+ 'Delete' => '÷ÉÄÁÌÉÔÉ',
+ 'Delivery Date' => 'äÁÔÁ ÄÏÓÔÁ×ËÉ',
+ 'Description' => 'ïÐÉÓ',
+ 'E-mail' => 'åÌ. ÐÏÛÔÁ',
+ 'E-mail address missing!' => 'îÅ ×ËÁÚÁÎÁ ÁÄÒÅÓÁ ÅÌ. ÐÏÛÔÉ!',
+ 'Edit Sales Invoice' => '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ òÁÈÕÎÏË-ÆÁËÔÕÒÕ',
+ 'Exch' => 'ëÕÒÓ',
+ 'Exchangerate' => 'ëÕÒÓ ×ÁÌÀÔÉ',
+ 'Exchangerate for payment missing!' => 'îÅ ×ËÁÚÁÎÉÊ ËÕÒÓ ×ÁÌÀÔÉ ÄÌÑ ÐÌÁÔÅÖÕ!',
+ 'Exchangerate missing!' => 'îÅ ×ËÁÚÁÎÉÊ ËÕÒÓ ×ÁÌÀÔÉ!',
+ 'Extended' => 'ðÒÏÄÏ×ÖÅÎÏ',
+ 'Fax' => 'æÁÈ',
+ 'Feb' => 'ÌÀÔÏÇÏ',
+ 'February' => 'ìÀÔÉÊ',
+ 'In-line' => '÷ËÌÀÞÅÎÏ (In-line)',
+ 'Invoice' => 'òÁÈÕÎÏË-ÆÁËÔÕÒÁ',
+ 'Invoice Date' => 'äÁÔÁ ×ÉÓÔÁ×ÌÅÎÎÑ',
+ 'Invoice Date missing!' => 'îÅ ×ËÁÚÁÎÁ ÄÁÔÁ ×ÉÓÔÁ×ÌÅÎÎÑ ÒÁÈÕÎËÁ-ÆÁËÔÕÒÉ!',
+ 'Invoice Number' => 'îÏÍÅÒ ÒÁÈÕÎËÁ-ÆÁËÔÕÒÉ',
+ 'Invoice Number missing!' => 'îÅ ×ËÁÚÁÎÉÊ ÎÏÍÅÒ ÒÁÈÕÎËÁ-ÆÁËÔÕÒÉ!',
+ 'Invoice deleted!' => 'òÁÈÕÎÏË-ÆÁËÔÕÒÁ ×ÉÄÁÌÅÎÉÊ!',
+ 'Invoice posted!' => 'òÁÈÕÎÏË-ÆÁËÔÕÒÁ ×ÉÓÔÁ×ÌÅÎÉÊ!',
+ 'Item not on file!' => 'òÅÞ¦ ÎÅÍÁ × ÓÐÉÓËÕ!',
+ 'Jan' => 'Ó¦ÞÎÑ',
+ 'January' => 'Ó¦ÞÅÎØ',
+ 'Jul' => 'ÌÉÐÎÑ',
+ 'July' => 'ìÉÐÅÎØ',
+ 'Jun' => 'ÞÅÒ×ÎÑ',
+ 'June' => 'þÅÒ×ÅÎØ',
+ 'Mar' => 'ÂÅÒÅÚÎÑ',
+ 'March' => 'âÅÒÅÚÅÎØ',
+ 'May' => 'ÔÒÁ×ÎÑ',
+ 'May ' => 'ôÒÁ×ÅÎØ',
+ 'Message' => 'ðÏצÄÏÍÌÅÎÎÑ',
+ 'Name' => '¶Í\'Ñ / îÁÚ×Á',
+ 'No.' => 'No.',
+ 'Notes' => 'ðÒÉͦÔËÉ',
+ 'Nov' => 'ÌÉÓÔÏÐÁÄÁ',
+ 'November' => 'ìÉÓÔÏÐÁÄ',
+ 'Number' => 'îÏÍÅÒ',
+ 'Number missing in Row' => 'îÅ ×ËÁÚÁÎÉÊ ÎÏÍÅÒ Õ ÒÑÄËÕ',
+ 'Oct' => 'ÖÏ×ÔÎÑ',
+ 'October' => 'öÏ×ÔÅÎØ',
+ 'Order' => 'úÁÍÏ×ÌÅÎÎÑ',
+ 'Order Date missing!' => 'îÅ ×ËÁÚÁÎÁ äÁÔÁ úÁÍÏ×ÌÅÎÎÑ!',
+ 'Order Number' => 'îÏÍÅÒ úÁÍÏ×ÌÅÎÎÑ',
+ 'Order Number missing!' => 'îÅ ×ËÁÚÁÎÏ îÏÍÅÒ úÁÍÏ×ÌÅÎÎÑ',
+ 'PDF' => 'PDF ÆÏÒÍÁÔ',
+ 'Packing List' => 'ðÁËÕ×ÁÌØÎÉÊ óÐÉÓÏË',
+ 'Packing List Date missing!' => 'îÅ ×ËÁÚÁÎÁ äÁÔÁ ðÁËÕ×ÁÌØÎÏÇÏ óÐÉÓÏËÕ',
+ 'Packing List Number missing!' => 'îÅ ×ËÁÚÁÎÉÊ îÏÍÅÒ ðÁËÕ×ÁÌØÎÏÇÏ óÐÉÓÏËÕ',
+ 'Part' => 'ôÏ×ÁÒ',
+ 'Payment date missing!' => 'îÅ ×ËÁÚÁÎÏ ÄÁÔÕ ðÌÁÔÅÖÕ!',
+ 'Payments' => 'ðÌÁÔÅÖ¦',
+ 'Phone' => 'ôÅÌ.',
+ 'Post' => '÷ÉÓÔÁ×ÉÔÉ',
+ 'Post as new' => '÷ÉÓÔÁ×ÉÔÉ ÑË ÎÏ×ÉÊ',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'ã¦ÎÁ',
+ 'Print' => 'îÁÄÒÕËÕ×ÁÔÉ',
+ 'Printer' => 'ðÒÉÎÔÅÒ',
+ 'Project' => 'ðÒÏÅËÔ',
+ 'Project not on file!' => 'ðÒÏÅËÔÕ ÎÅÍÁ × ÓÐÉÓËÕ!',
+ 'Purchase Order' => 'ëÕЦ×ÅÌØÎÅ úÁÍÏ×ÌÅÎÎÑ',
+ 'Qty' => 'ë¦ÌØ˦ÓÔØ',
+ 'Recd' => 'ïÔÒÉÍÁÎÏ',
+ 'Record in' => '÷ÎÅÓÔÉ ×',
+ 'Remaining' => 'úÁÌÉÛÉÌÏÓØ',
+ 'Required by' => 'ôÅÒͦΠÄÏÓÔÁ×ËÉ',
+ 'Sales Order' => 'îÁËÌÁÄÎÁ ðÒÏÄÁÖÕ ',
+ 'Screen' => 'åËÒÁÎ',
+ 'Select from one of the items below' => '÷ÉÂÅÒ¦ÔØ ÏÄÎÕ ¦Ú ÎÁÓÔÕÐÎÉÈ ÒÅÞÅÊ',
+ 'Select from one of the names below' => '÷ÉÂÅÒ¦ÔØ ÏÄÎÅ ¦Ú ÎÁÓÔÕÐÎÉÈ ¦ÍÅÎ/ÎÁÚ×',
+ 'Select from one of the projects below' => '÷ÉÂÅÒ¦ÔØ ÏÄÉÎ ¦Ú ÎÁÓÔÕÐÎÉÈ ÐÒÏÅËÔ¦×',
+ 'Select postscript or PDF!' => '÷ÉÂÅÒ¦ÔØ postscript ÁÂÏ PDF ÆÏÒÍÁÔ!',
+ 'Sep' => '×ÅÒÅÓÎÑ',
+ 'September' => '÷ÅÒÅÓÅÎØ',
+ 'Service' => 'ðÏÓÌÕÇÁ',
+ 'Ship' => 'ðÏÓÌÁÔÉ',
+ 'Ship to' => 'ðÏÓÌÁÔÉ ÄÏ',
+ 'Ship via' => 'ðÏÓÌÁÔÉ ÞÅÒÅÚ',
+ 'Source' => 'äÖÅÒÅÌÏ',
+ 'Subject' => 'ôÅÍÁ',
+ 'Subtotal' => 'ð¦ÄÓÕÍÏË ÐÏ ÒÏÚĦÌÕ',
+ 'Tax Included' => 'ðÏÄÁÔÏË ×ËÌÀÞÅÎÏ',
+ 'To' => 'äÏ',
+ 'Total' => 'úÁÇÁÌØÎÁ óÕÍÁ',
+ 'Unit' => 'ïÄÉÎÉÃÑ',
+ 'Update' => 'ðÏÎÏ×ÉÔÉ',
+ 'Vendor not on file!' => 'ðÏÔÁÞÁÌØÎÉËÁ ÎÅÍÁ Õ ÓÐÉÓËÕ ',
+ 'What type of item is this?' => 'ñËÉÊ ÃÅ ×ÉÄ/ÔÉÐ ÔÏ×ÁÒÕ',
+ 'Yes' => 'Tak',
+ 'ea' => 'ÛÔ.',
+ 'emailed to' => 'ÐÏÓÌÁÎÏ ÐÏ ÅÌ. ÐÏÛÔ¦ ÄÏ',
+ 'sent to printer' => 'ÐÏÓÌÁÎÏ ÄÏ ÐÒÉÎÔÅÒÁ',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'ðÒÏÄÏ×ÖÉÔÉ' => 'continue',
+ '÷ÉÄÁÌÉÔÉ' => 'delete',
+ 'åÌ._ÐÏÛÔÁ' => 'e_mail',
+ 'úÁÍÏ×ÌÅÎÎÑ' => 'order',
+ '÷ÉÓÔÁ×ÉÔÉ' => 'post',
+ '÷ÉÓÔÁ×ÉÔÉ_ÑË_ÎÏ×ÉÊ' => 'post_as_new',
+ 'îÁÄÒÕËÕ×ÁÔÉ' => 'print',
+ 'ðÏÓÌÁÔÉ_ÄÏ' => 'ship_to',
+ 'ðÏÎÏ×ÉÔÉ' => 'update',
+ 'tak' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/ua/login b/sql-ledger/locale/ua/login
new file mode 100644
index 0000000..4810b07
--- /dev/null
+++ b/sql-ledger/locale/ua/login
@@ -0,0 +1,27 @@
+$self{texts} = {
+ 'About' => 'ðÒÏ ÐÒÏÇÒÁÍÕ',
+ 'Database Host' => 'íÁÛÉÎÁ âÁÚÉ äÁÎÉÈ',
+ 'Dataset' => 'âÁÚÁ äÁÎÉÈ',
+ 'Incorrect Dataset version!' => 'îÅצÒÎÁ ×ÅÒÓ¦Ñ âÁÚÉ äÁÎÉÈ!',
+ 'Incorrect Password!' => 'îÅצÒÎÉÊ ðÁÒÏÌØ!',
+ 'Licensed to' => 'ì¦ÃÅÎÚ¦¤À ×ÏÌÏĦ¤:',
+ 'Login' => 'ðÏÞÁÔÏË óÅÁÎÓÕ',
+ 'Name' => '¶Í\'Ñ / îÁÚ×Á',
+ 'Password' => 'ðÁÒÏÌØ',
+ 'User' => 'ëÏÒÉÓÔÕ×ÁÞ',
+ 'Version' => '÷ÅÒÓ¦Ñ',
+ 'You are logged out!' => '÷ÁÛ ÓÅÁÎÓ ÚÁ˦ÎÞÉ×ÓÑ!',
+ 'You did not enter a name!' => 'îÅ ××ÅÄÅÎÏ ¦Í\'Ñ/ÎÁÚ×Õ',
+ 'is not a member!' => 'ÎÅ ¤ ÞÌÅÎÏÍ!',
+ 'localhost' => 'localhost',
+};
+
+$self{subs} = {
+ 'company_logo' => 'company_logo',
+ 'login' => 'login',
+ 'login_screen' => 'login_screen',
+ 'logout' => 'logout',
+ 'ðÏÞÁÔÏË_óÅÁÎÓÕ' => 'login',
+};
+
+1;
diff --git a/sql-ledger/locale/ua/menu b/sql-ledger/locale/ua/menu
new file mode 100644
index 0000000..0417db0
--- /dev/null
+++ b/sql-ledger/locale/ua/menu
@@ -0,0 +1,71 @@
+$self{texts} = {
+ 'AP' => '÷ÉÔÒÁÔÉ',
+ 'AP Aging' => 'AP Aging (×ÉÔÒÁÔÉ)',
+ 'AR' => 'äÏÈÏÄÉ',
+ 'AR Aging' => 'AR Aging (ÄÏÈÏÄÉ)',
+ 'Accounting Menu' => 'íÅÎÀ ïÂ̦ËÕ',
+ 'Add Account' => 'îÏ×ÉÊ ÒÁÈÕÎÏË',
+ 'Add Assembly' => 'îÏ×ÉÊ ËÏÍÐÌÅËÔ',
+ 'Add Customer' => 'îÏ×ÉÊ Ë̦¤ÎÔ',
+ 'Add GIFI' => 'îÏ×ÉÊ GIFI',
+ 'Add Part' => 'îÏ×ÉÊ ôÏ×ÁÒ',
+ 'Add Project' => 'îÏ×ÉÊ ðÒÏÅËÔ',
+ 'Add Service' => 'îÏ×Á ÐÏÓÌÕÇÁ',
+ 'Add Transaction' => 'îÏ×Á ÏÐÅÒÁæÑ',
+ 'Add Vendor' => 'îÏ×ÉÊ ÐÏÓÔÁÞÁÌØÎÉË',
+ 'Assemblies' => 'ëÏÍÐÌÅËÔÉ',
+ 'Audit Control' => 'ëÏÎÔÒÏÌØ',
+ 'Backup' => 'òÅÚÅÒ×ÎÁ ËÏЦÑ',
+ 'Balance Sheet' => 'âÁÌÁÎÓ',
+ 'Cash' => 'çÏÔ¦×ËÁ',
+ 'Chart of Accounts' => 'ðÌÁÎ òÁÈÕÎ˦×',
+ 'Check' => 'þÅË',
+ 'Customers' => 'ë̦¤ÎÔÉ',
+ 'General Ledger' => 'çÏÌÏ×ÎÁ ëÎÉÇÁ',
+ 'Goods & Services' => 'ôÏ×ÁÒÉ ¦ ðÏÓÌÕÇÉ',
+ 'HTML Templates' => 'HTML ûÁÂÌÏÎÉ ',
+ 'Income Statement' => 'ú×¦Ô ÐÒÏ ÄÏÈÏÄÉ ¦ ×ÉÄÁÔËÉ',
+ 'Invoice' => 'òÁÈÕÎÏË-ÆÁËÔÕÒÁ',
+ 'LaTeX Templates' => 'LaTeX ûÁÂÌÏÎÉ',
+ 'List Accounts' => 'óÐÉÓÏË òÁÈÕÎ˦×',
+ 'List GIFI' => 'óÐÉÓÏË GIFI',
+ 'Logout' => 'ë¦ÎÅÃØ óÅÁÎÓÕ',
+ 'Order Entry' => '÷ÉÓÔÁ×ÌÅÎÎÑ úÁÍÏ×ÌÅÎÎÑ',
+ 'Packing List' => 'ðÁËÕ×ÁÌØÎÉÊ óÐÉÓÏË',
+ 'Parts' => 'ÔÏ×ÁÒÉ',
+ 'Payment' => 'ðÌÁÔ¦Ö',
+ 'Payments' => 'ðÌÁÔÅÖ¦',
+ 'Preferences' => 'îÁÓÔÒÏÊËÉ',
+ 'Projects' => 'ðÒÏÅËÔÉ',
+ 'Purchase Invoice' => 'òÁÈÕÎÏË-ÆÁËÔÕÒÁ',
+ 'Purchase Order' => 'ëÕЦ×ÅÌØÎÅ úÁÍÏ×ÌÅÎÎÑ',
+ 'Purchase Orders' => 'ëÕЦ×ÅÌØΦ úÁÍÏ×ÌÅÎÎÑ',
+ 'Receipt' => 'ë×ÉÔÁÎæÑ',
+ 'Receipts' => 'ë×ÉÔÁÎæ§',
+ 'Reconciliation' => 'õÚÇÏÄÖÅÎÎÑ',
+ 'Reports' => 'úצÔÉ',
+ 'Sales Invoice' => 'òÁÈÕÎÏË-ÆÁËÔÕÒÁ',
+ 'Sales Order' => 'îÁËÌÁÄÎÁ ðÒÏÄÁÖÕ ',
+ 'Sales Orders' => 'îÁËÌÁÄΦ ðÒÏÄÁÖÕ',
+ 'Save to File' => 'úÂÅÒÅÇÔÉ Õ æÁÊ̦',
+ 'Send by E-Mail' => '÷ÉÓÌÁÔÉ ÐÏ ÅÌ. ÐÏÛÔ¦',
+ 'Services' => 'ðÏÓÌÕÇÉ',
+ 'Statement' => 'úצÔ',
+ 'Stock Assembly' => '¶Î×ÅÎÔÁÒ ëÏÍÐÌÅËÔÕ',
+ 'Stylesheet' => 'ïÆÏÒÍÌÅÎÎÎÑ',
+ 'System' => 'óÉÓÔÅÍÁ',
+ 'Tax collected' => 'ú¦ÂÒÁÎÏ ÐÏÄÁÔË¦× ',
+ 'Tax paid' => 'ðÏÄÁÔÏË ÚÁÐÌÁÞÅÎÏ',
+ 'Transactions' => 'ïÐÅÒÁæ§',
+ 'Trial Balance' => 'ðÒÏÂÎÉÊ âÁÌÁÎÓ',
+ 'Vendors' => 'ðÏÓÔÁÞÁÌØÎÉËÉ',
+ 'Version' => '÷ÅÒÓ¦Ñ',
+};
+
+$self{subs} = {
+ 'acc_menu' => 'acc_menu',
+ 'display' => 'display',
+ 'section_menu' => 'section_menu',
+};
+
+1;
diff --git a/sql-ledger/locale/ua/oe b/sql-ledger/locale/ua/oe
new file mode 100644
index 0000000..16c9707
--- /dev/null
+++ b/sql-ledger/locale/ua/oe
@@ -0,0 +1,200 @@
+$self{texts} = {
+ 'Add' => 'îÏ×ÉÊ',
+ 'Add Purchase Invoice' => 'îÏ×ÉÊ ëÕЦ×ÅÌØÎÉÊ òÁÈÕÎÏË-ÆÁËÔÕÒÁ',
+ 'Add Purchase Order' => 'îÏ×Å ÚÁÍÏ×ÌÅÎÎÑ ÎÁ ËÕЦ×ÌÀ',
+ 'Add Sales Invoice' => 'îÏ×ÉÊ òÁÈÕÎÏ-ÆÁËÔÕÒÁ',
+ 'Add Sales Order' => 'îÏ×Å ÚÁÍÏ×ÌÅÎÎÑ ÎÁ ÐÒÏÄÁÖ',
+ 'Address' => 'áÄÒÅÓÁ',
+ 'Amount' => 'óÕÍÁ',
+ 'Apr' => 'ËצÔÎÑ',
+ 'April' => 'ëצÔÅÎØ',
+ 'Are you sure you want to delete Order Number' => '÷É ÐÅ×Φ, ÝÏ ÈÏÞÅÔÅ ×ÉÄÁÌÉÔÉ ÄÁÎÅ ÚÁÍÏ×ÌÅÎÎÑ?',
+ 'Attachment' => 'äÏÄÁÔÏË',
+ 'Aug' => 'ÓÅÒÐÎÑ',
+ 'August' => 'óÅÒÐÅÎØ',
+ 'Bcc' => 'ðÒÉ×ÁÔÎÁ ËÏÐ¦Ñ ÄÏ',
+ 'Bin' => 'Bin',
+ 'C' => 'ó',
+ 'Cannot delete order!' => 'îÅ ÍÏÖÌÉ×Ï ×ÉÄÁÌÉÔÉ ÚÁÍÏ×ÌÅÎÎÑ!',
+ 'Cannot save order!' => 'îÅ ÍÏÖÌÉ×Ï ÚÂÅÒÅÇÔÉ ÚÁÍÏ×ÌÅÎÎÑ!',
+ 'Cc' => 'ëÏÐ¦Ñ ÄÏ',
+ 'Closed' => 'úÁËÒÉÔÏ',
+ 'Confirm!' => 'ð¦ÄÔ×ÅÒĦÔØ!',
+ 'Contact' => 'ëÏÎÔÁËÔÎÁ ÏÓÏÂÁ',
+ 'Continue' => 'ðÒÏÄÏ×ÖÉÔÉ',
+ 'Copies' => 'ëÏЦÊ',
+ 'Credit Limit' => 'ì¦Í¦Ô ËÒÅÄÉÔÕ',
+ 'Curr' => '÷ÁÌÀÔÁ',
+ 'Currency' => '÷ÁÌÀÔÁ',
+ 'Customer' => 'ë̦¤ÎÔ',
+ 'Customer missing!' => 'îÅ ×ËÁÚÁÎÉÊ Ë̦¤ÎÔ!',
+ 'Customer not on file!' => 'ë̦¤ÎÔÁ ÎÅÍÁ × ÓÐÉÓËÕ!',
+ 'Date' => 'äÁÔÁ',
+ 'Dec' => 'ÇÒÕÄÎÑ',
+ 'December' => 'çÒÕÄÅÎØ',
+ 'Delete' => '÷ÉÄÁÌÉÔÉ',
+ 'Delivery Date' => 'äÁÔÁ ÄÏÓÔÁ×ËÉ',
+ 'Description' => 'ïÐÉÓ',
+ 'E-mail' => 'åÌ. ÐÏÛÔÁ',
+ 'E-mail address missing!' => 'îÅ ×ËÁÚÁÎÁ ÁÄÒÅÓÁ ÅÌ. ÐÏÛÔÉ!',
+ 'Edit Purchase Order' => '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ ëÕЦ×ÅÌØÎÅ úÁÍÏ×ÌÅÎÎÑ',
+ 'Edit Sales Order' => '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ îÁËÌÁÄÎÕ ðÒÏÄÁÖÕ',
+ 'Exchangerate' => 'ëÕÒÓ ×ÁÌÀÔÉ',
+ 'Exchangerate missing!' => 'îÅ ×ËÁÚÁÎÉÊ ËÕÒÓ ×ÁÌÀÔÉ!',
+ 'Extended' => 'ðÒÏÄÏ×ÖÅÎÏ',
+ 'Fax' => 'æÁÈ',
+ 'Feb' => 'ÌÀÔÏÇÏ',
+ 'February' => 'ìÀÔÉÊ',
+ 'From' => '÷¦Ä / Ú',
+ 'ID' => '¶ÄÅÎÔÉƦËÁæÊÎÉÊ ÎÏÍÅÒ',
+ 'In-line' => '÷ËÌÀÞÅÎÏ (In-line)',
+ 'Include in Report' => 'äÏÄÁÔÉ ÄÏ úצÔÕ',
+ 'Invoice' => 'òÁÈÕÎÏË-ÆÁËÔÕÒÁ',
+ 'Invoice Date missing!' => 'îÅ ×ËÁÚÁÎÁ ÄÁÔÁ ×ÉÓÔÁ×ÌÅÎÎÑ ÒÁÈÕÎËÁ-ÆÁËÔÕÒÉ!',
+ 'Invoice Number missing!' => 'îÅ ×ËÁÚÁÎÉÊ ÎÏÍÅÒ ÒÁÈÕÎËÁ-ÆÁËÔÕÒÉ!',
+ 'Item not on file!' => 'òÅÞ¦ ÎÅÍÁ × ÓÐÉÓËÕ!',
+ 'Jan' => 'Ó¦ÞÎÑ',
+ 'January' => 'Ó¦ÞÅÎØ',
+ 'Jul' => 'ÌÉÐÎÑ',
+ 'July' => 'ìÉÐÅÎØ',
+ 'Jun' => 'ÞÅÒ×ÎÑ',
+ 'June' => 'þÅÒ×ÅÎØ',
+ 'Mar' => 'ÂÅÒÅÚÎÑ',
+ 'March' => 'âÅÒÅÚÅÎØ',
+ 'May' => 'ÔÒÁ×ÎÑ',
+ 'May ' => 'ôÒÁ×ÅÎØ',
+ 'Message' => 'ðÏצÄÏÍÌÅÎÎÑ',
+ 'Name' => '¶Í\'Ñ / îÁÚ×Á',
+ 'No.' => 'No.',
+ 'Notes' => 'ðÒÉͦÔËÉ',
+ 'Nov' => 'ÌÉÓÔÏÐÁÄÁ',
+ 'November' => 'ìÉÓÔÏÐÁÄ',
+ 'Number' => 'îÏÍÅÒ',
+ 'Number missing in Row' => 'îÅ ×ËÁÚÁÎÉÊ ÎÏÍÅÒ Õ ÒÑÄËÕ',
+ 'O' => 'ï',
+ 'Oct' => 'ÖÏ×ÔÎÑ',
+ 'October' => 'öÏ×ÔÅÎØ',
+ 'Open' => '÷¦ÄËÒÉÔÏ',
+ 'Order' => 'úÁÍÏ×ÌÅÎÎÑ',
+ 'Order Date' => 'äÁÔÁ úÁÍÏ×ÌÅÎÎÑ',
+ 'Order Date missing!' => 'îÅ ×ËÁÚÁÎÁ äÁÔÁ úÁÍÏ×ÌÅÎÎÑ!',
+ 'Order Number' => 'îÏÍÅÒ úÁÍÏ×ÌÅÎÎÑ',
+ 'Order Number missing!' => 'îÅ ×ËÁÚÁÎÏ îÏÍÅÒ úÁÍÏ×ÌÅÎÎÑ',
+ 'Order deleted!' => 'úÁÍÏ×ÌÅÎÎÑ ×ÉÄÁÌÅÎÏ!',
+ 'Order saved!' => 'úÁÍÏ×ÌÅÎÎÑ ÚÂÅÒÅÖÅÎÏ!',
+ 'PDF' => 'PDF ÆÏÒÍÁÔ',
+ 'Packing List' => 'ðÁËÕ×ÁÌØÎÉÊ óÐÉÓÏË',
+ 'Packing List Date missing!' => 'îÅ ×ËÁÚÁÎÁ äÁÔÁ ðÁËÕ×ÁÌØÎÏÇÏ óÐÉÓÏËÕ',
+ 'Packing List Number missing!' => 'îÅ ×ËÁÚÁÎÉÊ îÏÍÅÒ ðÁËÕ×ÁÌØÎÏÇÏ óÐÉÓÏËÕ',
+ 'Part' => 'ôÏ×ÁÒ',
+ 'Phone' => 'ôÅÌ.',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'ã¦ÎÁ',
+ 'Print' => 'îÁÄÒÕËÕ×ÁÔÉ',
+ 'Printer' => 'ðÒÉÎÔÅÒ',
+ 'Project' => 'ðÒÏÅËÔ',
+ 'Project not on file!' => 'ðÒÏÅËÔÕ ÎÅÍÁ × ÓÐÉÓËÕ!',
+ 'Purchase Order' => 'ëÕЦ×ÅÌØÎÅ úÁÍÏ×ÌÅÎÎÑ',
+ 'Purchase Orders' => 'ëÕЦ×ÅÌØΦ úÁÍÏ×ÌÅÎÎÑ',
+ 'Qty' => 'ë¦ÌØ˦ÓÔØ',
+ 'Recd' => 'ïÔÒÉÍÁÎÏ',
+ 'Remaining' => 'úÁÌÉÛÉÌÏÓØ',
+ 'Required by' => 'ôÅÒͦΠÄÏÓÔÁ×ËÉ',
+ 'Sales Order' => 'îÁËÌÁÄÎÁ ðÒÏÄÁÖÕ ',
+ 'Sales Orders' => 'îÁËÌÁÄΦ ðÒÏÄÁÖÕ',
+ 'Save' => 'úÂÅÒÅÇÔÉ',
+ 'Save as new' => 'úÂÅÒÅÇÔÉ ÑË ÎÏ×Å',
+ 'Screen' => 'åËÒÁÎ',
+ 'Select from one of the items below' => '÷ÉÂÅÒ¦ÔØ ÏÄÎÕ ¦Ú ÎÁÓÔÕÐÎÉÈ ÒÅÞÅÊ',
+ 'Select from one of the names below' => '÷ÉÂÅÒ¦ÔØ ÏÄÎÅ ¦Ú ÎÁÓÔÕÐÎÉÈ ¦ÍÅÎ/ÎÁÚ×',
+ 'Select from one of the projects below' => '÷ÉÂÅÒ¦ÔØ ÏÄÉÎ ¦Ú ÎÁÓÔÕÐÎÉÈ ÐÒÏÅËÔ¦×',
+ 'Select postscript or PDF!' => '÷ÉÂÅÒ¦ÔØ postscript ÁÂÏ PDF ÆÏÒÍÁÔ!',
+ 'Sep' => '×ÅÒÅÓÎÑ',
+ 'September' => '÷ÅÒÅÓÅÎØ',
+ 'Service' => 'ðÏÓÌÕÇÁ',
+ 'Ship' => 'ðÏÓÌÁÔÉ',
+ 'Ship to' => 'ðÏÓÌÁÔÉ ÄÏ',
+ 'Ship via' => 'ðÏÓÌÁÔÉ ÞÅÒÅÚ',
+ 'Subject' => 'ôÅÍÁ',
+ 'Subtotal' => 'ð¦ÄÓÕÍÏË ÐÏ ÒÏÚĦÌÕ',
+ 'Tax' => 'ðÏÄÁÔÏË',
+ 'Tax Included' => 'ðÏÄÁÔÏË ×ËÌÀÞÅÎÏ',
+ 'Terms: Net' => 'õÍÏ×É: úÁÐÌÁÔÉÔÉ',
+ 'To' => 'äÏ',
+ 'Total' => 'úÁÇÁÌØÎÁ óÕÍÁ',
+ 'Unit' => 'ïÄÉÎÉÃÑ',
+ 'Update' => 'ðÏÎÏ×ÉÔÉ',
+ 'Vendor' => 'ðÏÓÔÁÞÁÌØÎÉË',
+ 'Vendor missing!' => 'ðÏÓÔÁÞÁÌØÎÉË ÎÅ ¦ÓÎÕ¤',
+ 'Vendor not on file!' => 'ðÏÔÁÞÁÌØÎÉËÁ ÎÅÍÁ Õ ÓÐÉÓËÕ ',
+ 'What type of item is this?' => 'ñËÉÊ ÃÅ ×ÉÄ/ÔÉÐ ÔÏ×ÁÒÕ',
+ 'Yes' => 'Tak',
+ 'days' => 'ÄΦ×',
+ 'ea' => 'ÛÔ.',
+ 'emailed to' => 'ÐÏÓÌÁÎÏ ÐÏ ÅÌ. ÐÏÛÔ¦ ÄÏ',
+ 'sent to printer' => 'ÐÏÓÌÁÎÏ ÄÏ ÐÒÉÎÔÅÒÁ',
+ 'to' => 'ÄÏ',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_backorder' => 'create_backorder',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice' => 'invoice',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'order_links' => 'order_links',
+ 'orders' => 'orders',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_order' => 'prepare_order',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'save' => 'save',
+ 'save_as_new' => 'save_as_new',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'subtotal' => 'subtotal',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'îÏ×ÉÊ' => 'add',
+ 'ðÒÏÄÏ×ÖÉÔÉ' => 'continue',
+ '÷ÉÄÁÌÉÔÉ' => 'delete',
+ 'åÌ._ÐÏÛÔÁ' => 'e_mail',
+ 'òÁÈÕÎÏË_ÆÁËÔÕÒÁ' => 'invoice',
+ 'îÁÄÒÕËÕ×ÁÔÉ' => 'print',
+ 'úÂÅÒÅÇÔÉ' => 'save',
+ 'úÂÅÒÅÇÔÉ_ÑË_ÎÏ×Å' => 'save_as_new',
+ 'ðÏÓÌÁÔÉ_ÄÏ' => 'ship_to',
+ 'ðÏÎÏ×ÉÔÉ' => 'update',
+ 'tak' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/ua/pe b/sql-ledger/locale/ua/pe
new file mode 100644
index 0000000..3f4e959
--- /dev/null
+++ b/sql-ledger/locale/ua/pe
@@ -0,0 +1,35 @@
+$self{texts} = {
+ 'Add' => 'îÏ×ÉÊ',
+ 'Add Project' => 'îÏ×ÉÊ ðÒÏÅËÔ',
+ 'All' => '÷Ó¦',
+ 'Continue' => 'ðÒÏÄÏ×ÖÉÔÉ',
+ 'Delete' => '÷ÉÄÁÌÉÔÉ',
+ 'Description' => 'ïÐÉÓ',
+ 'Edit Project' => '÷¦ÄÒÅÄÁÇÕ×ÁÔÉ ðÒÏÅËÔ',
+ 'Number' => 'îÏÍÅÒ',
+ 'Orphaned' => '÷¦ÄÏËÒÅÍÌÅÎÉÊ/ïÓÉÒÏÔ¦ÌÉÊ',
+ 'Project' => 'ðÒÏÅËÔ',
+ 'Project Number missing!' => 'îÅ ×ËÁÚÁÎÉÊ ÎÏÍÅÒ ÐÒÏÅËÔÕ!',
+ 'Project deleted!' => 'ðÒÏÅËÔ ×ÉÄÁÌÅÎÏ!',
+ 'Project saved!' => 'ðÒÏÅËÔ ÚÂÅÒÅÖÅÎÏ!',
+ 'Projects' => 'ðÒÏÅËÔÉ',
+ 'Save' => 'úÂÅÒÅÇÔÉ',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'îÏ×ÉÊ' => 'add',
+ 'ðÒÏÄÏ×ÖÉÔÉ' => 'continue',
+ '÷ÉÄÁÌÉÔÉ' => 'delete',
+ 'úÂÅÒÅÇÔÉ' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/ua/rc b/sql-ledger/locale/ua/rc
new file mode 100644
index 0000000..0a91d00
--- /dev/null
+++ b/sql-ledger/locale/ua/rc
@@ -0,0 +1,37 @@
+$self{texts} = {
+ 'Account' => 'òÁÈÕÎÏË',
+ 'Balance' => 'âÁÌÁÎÓ',
+ 'Cleared Balance' => 'ë¦ÎÃÅ×Å óÁÌØÄÏ',
+ 'Continue' => 'ðÒÏÄÏ×ÖÉÔÉ',
+ 'Date' => 'äÁÔÁ',
+ 'Deposit' => 'äÅÐÏÚÉÔ/÷ËÌÁÄ',
+ 'Description' => 'ïÐÉÓ',
+ 'Difference' => 'ò¦ÚÎÉÃÑ',
+ 'Done' => 'úÒÏÂÌÅÎÏ',
+ 'Exchangerate Difference' => 'ò¦ÚÎÉÃÑ ëÕÒÓÕ ×ÁÌÀÔÉ',
+ 'From' => '÷¦Ä / Ú',
+ 'Out of balance!' => 'îÅ ÚÂÁÌÁÎÓÏ×ÁÎÏ!',
+ 'Payment' => 'ðÌÁÔ¦Ö',
+ 'Reconciliation' => 'õÚÇÏÄÖÅÎÎÑ',
+ 'Select all' => '÷ÉÂÒÁÔÉ ×ÓÅ',
+ 'Source' => 'äÖÅÒÅÌÏ',
+ 'Statement Balance' => 'âÁÌÁÎÓÏ×ÉÊ úצÔ',
+ 'Update' => 'ðÏÎÏ×ÉÔÉ',
+ 'to' => 'ÄÏ',
+};
+
+$self{subs} = {
+ 'continue' => 'continue',
+ 'display_form' => 'display_form',
+ 'done' => 'done',
+ 'get_payments' => 'get_payments',
+ 'reconciliation' => 'reconciliation',
+ 'select_all' => 'select_all',
+ 'update' => 'update',
+ 'ðÒÏÄÏ×ÖÉÔÉ' => 'continue',
+ 'úÒÏÂÌÅÎÏ' => 'done',
+ '÷ÉÂÒÁÔÉ_×ÓÅ' => 'select_all',
+ 'ðÏÎÏ×ÉÔÉ' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/ua/rp b/sql-ledger/locale/ua/rp
new file mode 100644
index 0000000..0553ba6
--- /dev/null
+++ b/sql-ledger/locale/ua/rp
@@ -0,0 +1,120 @@
+$self{texts} = {
+ 'AP Aging' => 'AP Aging (×ÉÔÒÁÔÉ)',
+ 'AR Aging' => 'AR Aging (ÄÏÈÏÄÉ)',
+ 'Account' => 'òÁÈÕÎÏË',
+ 'Accounts' => 'òÁÈÕÎËÉ',
+ 'Amount' => 'óÕÍÁ',
+ 'Apr' => 'ËצÔÎÑ',
+ 'April' => 'ëצÔÅÎØ',
+ 'Attachment' => 'äÏÄÁÔÏË',
+ 'Aug' => 'ÓÅÒÐÎÑ',
+ 'August' => 'óÅÒÐÅÎØ',
+ 'Balance' => 'âÁÌÁÎÓ',
+ 'Balance Sheet' => 'âÁÌÁÎÓ',
+ 'Bcc' => 'ðÒÉ×ÁÔÎÁ ËÏÐ¦Ñ ÄÏ',
+ 'Cash based' => 'çÏÔ¦×ËÏ×ÉÊ',
+ 'Cc' => 'ëÏÐ¦Ñ ÄÏ',
+ 'Compare to' => 'ðÏÒ¦×ÎÑÔÉ Ú',
+ 'Continue' => 'ðÒÏÄÏ×ÖÉÔÉ',
+ 'Copies' => 'ëÏЦÊ',
+ 'Credit' => 'ëÒÅÄÉÔ',
+ 'Current' => 'ðÏÔÏÞÎÉÊ',
+ 'Customer' => 'ë̦¤ÎÔ',
+ 'Date' => 'äÁÔÁ',
+ 'Debit' => 'äÅÂÉÔ',
+ 'Dec' => 'ÇÒÕÄÎÑ',
+ 'December' => 'çÒÕÄÅÎØ',
+ 'Decimalplaces' => 'äÅÓÑÔÉÞΦ ͦÓÃÑ',
+ 'Department' => 'Department',
+ 'Description' => 'ïÐÉÓ',
+ 'Due' => 'äÏ',
+ 'E-mail' => 'åÌ. ÐÏÛÔÁ',
+ 'E-mail Statement to' => 'ðÏÓÌÁÔÉ ÐÏ ÅÌ. ÐÏÛÔ¦ ÄÏ',
+ 'Feb' => 'ÌÀÔÏÇÏ',
+ 'February' => 'ìÀÔÉÊ',
+ 'From' => '÷¦Ä / Ú',
+ 'GIFI' => 'GIFI',
+ 'Heading' => 'òÏÚĦÌ',
+ 'ID' => '¶ÄÅÎÔÉƦËÁæÊÎÉÊ ÎÏÍÅÒ',
+ 'In-line' => '÷ËÌÀÞÅÎÏ (In-line)',
+ 'Include in Report' => 'äÏÄÁÔÉ ÄÏ úצÔÕ',
+ 'Income Statement' => 'ú×¦Ô ÐÒÏ ÄÏÈÏÄÉ ¦ ×ÉÄÁÔËÉ',
+ 'Invoice' => 'òÁÈÕÎÏË-ÆÁËÔÕÒÁ',
+ 'Jan' => 'Ó¦ÞÎÑ',
+ 'January' => 'Ó¦ÞÅÎØ',
+ 'Jul' => 'ÌÉÐÎÑ',
+ 'July' => 'ìÉÐÅÎØ',
+ 'Jun' => 'ÞÅÒ×ÎÑ',
+ 'June' => 'þÅÒ×ÅÎØ',
+ 'Mar' => 'ÂÅÒÅÚÎÑ',
+ 'March' => 'âÅÒÅÚÅÎØ',
+ 'May' => 'ÔÒÁ×ÎÑ',
+ 'May ' => 'ôÒÁ×ÅÎØ',
+ 'Message' => 'ðÏצÄÏÍÌÅÎÎÑ',
+ 'N/A' => 'îÅ óÔÏÓÕ¤ÔØÓÑ',
+ 'Nothing selected!' => 'î¦ÞÏÇÏ ÎÅ ×ÉÂÒÁÎÏ!',
+ 'Nov' => 'ÌÉÓÔÏÐÁÄÁ',
+ 'November' => 'ìÉÓÔÏÐÁÄ',
+ 'Oct' => 'ÖÏ×ÔÎÑ',
+ 'October' => 'öÏ×ÔÅÎØ',
+ 'PDF' => 'PDF ÆÏÒÍÁÔ',
+ 'Payments' => 'ðÌÁÔÅÖ¦',
+ 'Postscript' => 'Postscript',
+ 'Print' => 'îÁÄÒÕËÕ×ÁÔÉ',
+ 'Printer' => 'ðÒÉÎÔÅÒ',
+ 'Project Number' => 'Project Number',
+ 'Receipts' => 'ë×ÉÔÁÎæ§',
+ 'Report for' => 'ú×¦Ô ÄÌÑ',
+ 'Retained Earnings' => 'ðÒÉÂÕÔÏË (ÎÅÒÏÚÐÏĦÌÅÎÉÊ)',
+ 'Screen' => 'åËÒÁÎ',
+ 'Select all' => '÷ÉÂÒÁÔÉ ×ÓÅ',
+ 'Select postscript or PDF!' => '÷ÉÂÅÒ¦ÔØ postscript ÁÂÏ PDF ÆÏÒÍÁÔ!',
+ 'Sep' => '×ÅÒÅÓÎÑ',
+ 'September' => '÷ÅÒÅÓÅÎØ',
+ 'Source' => 'äÖÅÒÅÌÏ',
+ 'Standard' => 'óÔÁÎÄÁÒÔΦ',
+ 'Statement' => 'úצÔ',
+ 'Statement sent to' => 'ú×¦Ô ÐÏÓÌÁÎÏ ÄÏ',
+ 'Statements sent to printer!' => 'ú×¦Ô ÐÏÓÌÁÎÏ ÄÏ ÐÒÉÎÔÅÒÁ!',
+ 'Subject' => 'ôÅÍÁ',
+ 'Subtotal' => 'ð¦ÄÓÕÍÏË ÐÏ ÒÏÚĦÌÕ',
+ 'Tax' => 'ðÏÄÁÔÏË',
+ 'Tax collected' => 'ú¦ÂÒÁÎÏ ÐÏÄÁÔË¦× ',
+ 'Tax paid' => 'ðÏÄÁÔÏË ÚÁÐÌÁÞÅÎÏ',
+ 'Total' => 'úÁÇÁÌØÎÁ óÕÍÁ',
+ 'Trial Balance' => 'ðÒÏÂÎÉÊ âÁÌÁÎÓ',
+ 'Vendor' => 'ðÏÓÔÁÞÁÌØÎÉË',
+ 'as at' => 'ÑË ×',
+ 'collected on sales' => 'Ú¦ÂÒÁÎÏ ÐÒÉ ÐÒÏÄÁÖÕ',
+ 'for Period' => 'ÚÁ ðÅÒ¦ÏÄ',
+ 'paid on purchases' => 'ÚÁÐÌÁÞÅÎÏ ÎÁ ÐÏËÕÐËÉ',
+ 'to' => 'ÄÏ',
+};
+
+$self{subs} = {
+ 'aging' => 'aging',
+ 'continue' => 'continue',
+ 'e_mail' => 'e_mail',
+ 'generate_ap_aging' => 'generate_ap_aging',
+ 'generate_ar_aging' => 'generate_ar_aging',
+ 'generate_balance_sheet' => 'generate_balance_sheet',
+ 'generate_income_statement' => 'generate_income_statement',
+ 'generate_tax_report' => 'generate_tax_report',
+ 'generate_trial_balance' => 'generate_trial_balance',
+ 'list_accounts' => 'list_accounts',
+ 'list_payments' => 'list_payments',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'report' => 'report',
+ 'select_all' => 'select_all',
+ 'send_email' => 'send_email',
+ 'statement_details' => 'statement_details',
+ 'tax_subtotal' => 'tax_subtotal',
+ 'ðÒÏÄÏ×ÖÉÔÉ' => 'continue',
+ 'åÌ._ÐÏÛÔÁ' => 'e_mail',
+ 'îÁÄÒÕËÕ×ÁÔÉ' => 'print',
+ '÷ÉÂÒÁÔÉ_×ÓÅ' => 'select_all',
+};
+
+1;
diff --git a/sql-ledger/locale/ve/COPYING b/sql-ledger/locale/ve/COPYING
new file mode 100644
index 0000000..11c55f3
--- /dev/null
+++ b/sql-ledger/locale/ve/COPYING
@@ -0,0 +1,23 @@
+######################################################################
+# SQL-Ledger, Accounting Software
+# Copyright (c) 2001
+#
+# Spanish Texts (Venezuela):
+#
+# Author: John Stoddart <jstypo@imagencolor.com.ve>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+#######################################################################
+
diff --git a/sql-ledger/locale/ve/LANGUAGE b/sql-ledger/locale/ve/LANGUAGE
new file mode 100644
index 0000000..182ea84
--- /dev/null
+++ b/sql-ledger/locale/ve/LANGUAGE
@@ -0,0 +1 @@
+Venezuelan Spanish
diff --git a/sql-ledger/locale/ve/admin b/sql-ledger/locale/ve/admin
new file mode 100644
index 0000000..19be1bf
--- /dev/null
+++ b/sql-ledger/locale/ve/admin
@@ -0,0 +1,124 @@
+$self{texts} = {
+ 'Access Control' => 'Control de Acceso',
+ 'Accounting' => 'Contabilidad',
+ 'Add User' => 'Agregar Usuario',
+ 'Address' => 'Dirección',
+ 'Administration' => 'Administración',
+ 'Administrator' => 'Administrador',
+ 'All Datasets up to date!' => 'Bases de datos actualizadas!',
+ 'Change Admin Password' => 'Cambiar contraseña del Administrador',
+ 'Change Password' => 'Cambiar Contraseña',
+ 'Character Set' => 'Conjunto de Caracteres',
+ 'Click on login name to edit!' => 'Haga click sobre el login para editar',
+ 'Company' => 'Compañía',
+ 'Connect to' => 'Conectar a',
+ 'Continue' => 'Continuar',
+ 'Create Chart of Accounts' => 'Crear Plan de Cuentas',
+ 'Create Dataset' => 'Crear base de datos',
+ 'DBI not installed!' => 'DBI no ha sido instalado!',
+ 'Database' => 'Base de Datos',
+ 'Database Administration' => 'Administración de base de datos',
+ 'Database Driver not checked!' => 'Manejador no seleccionado!',
+ 'Database User missing!' => 'Falta usuario de base de datos!',
+ 'Dataset' => 'Base de datos',
+ 'Dataset missing!' => 'Falta base de datos!',
+ 'Dataset updated!' => 'Base de datos actualizada!',
+ 'Date Format' => 'Formato Fecha',
+ 'Delete' => 'Borrar',
+ 'Delete Dataset' => 'Borrar base de datos',
+ 'Directory' => 'Directorio',
+ 'Driver' => 'Manejador',
+ 'Dropdown Limit' => 'Límite menu dropdown',
+ 'E-mail' => 'E-mail',
+ 'Edit User' => 'Editar Usuario',
+ 'Existing Datasets' => 'Bases de datos existentes',
+ 'Fax' => 'Fax',
+ 'Host' => 'Host',
+ 'Hostname missing!' => 'Falta nombre del Host!',
+ 'Incorrect Password!' => 'Contraseña equivocada',
+ 'Language' => 'Idioma',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Deje en blanco los campos Host y Puerto si no requiere una conección remota',
+ 'Login' => 'Login',
+ 'Multibyte Encoding' => 'Codificación conjunto de caracteres',
+ 'Name' => 'Nombre',
+ 'New Templates' => 'Plantillas Nuevas',
+ 'No Database Drivers available!' => 'No hay manejadores para base de datos!',
+ 'No Dataset selected!' => 'Base de datos no seleccionada!',
+ 'Nothing to delete!' => 'Nada para borrar!',
+ 'Number Format' => 'Formato Numérico',
+ 'Oracle Database Administration' => 'Administración bases de datos Oracle',
+ 'Password' => 'Contraseña',
+ 'Password changed!' => 'Contraseña cambiada!',
+ 'Pg Database Administration' => 'Administración bases de datos Pg',
+ 'Phone' => 'Teléfono',
+ 'Port' => 'Número de Puerto',
+ 'Port missing!' => 'Falta número de puerto',
+ 'Printer' => 'Impresora',
+ 'Save' => 'Guardar',
+ 'Select a Dataset to delete and press "Continue"' => 'Seleccione base de datos a borrar y pulse "Continue"',
+ 'Setup Templates' => 'Configurar Plantillas',
+ 'Ship via' => 'Envía vía',
+ 'Signature' => 'Firma',
+ 'Stylesheet' => 'Hoja de Estilo',
+ 'Templates' => 'Plantillas',
+ 'The following Datasets are not in use and can be deleted' => 'Las siguientes bases de datos no están en uso y pueden ser borradas',
+ 'The following Datasets need to be updated' => 'Las siguientes bases de datos requieren actualización',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'Chequeo preliminar. En esta etapa no se creará ni se borrará nada!',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'Para agregar un usuario a un grupo, edite un nombre, cambie el login y guárdelo de nuevo. Un nuevo usuario con las mismas variables se creará bajo el nuevo login.',
+ 'Update Dataset' => 'Actualizar base de datos',
+ 'Use Templates' => 'Use Plantilla',
+ 'User' => 'Usuario',
+ 'User deleted!' => 'Usuario borrado!',
+ 'User saved!' => 'Usuario guardado!',
+ 'Version' => 'Versión',
+ 'You must enter a host and port for local and remote connections!' => 'Debe ingresar un host y un puerto para conecciones locales y remotas!',
+ 'does not exist' => 'no existe',
+ 'is already a member!' => 'ya es miembro!',
+ 'localhost' => 'localhost',
+ 'locked!' => 'locked!',
+ 'successfully created!' => 'creado!',
+ 'successfully deleted!' => 'borrado!',
+ 'website' => 'en internet',
+};
+
+$self{subs} = {
+ 'add_user' => 'add_user',
+ 'adminlogin' => 'adminlogin',
+ 'change_admin_password' => 'change_admin_password',
+ 'change_password' => 'change_password',
+ 'check_password' => 'check_password',
+ 'continue' => 'continue',
+ 'create_dataset' => 'create_dataset',
+ 'dbcreate' => 'dbcreate',
+ 'dbdelete' => 'dbdelete',
+ 'dbdriver_defaults' => 'dbdriver_defaults',
+ 'dbselect_source' => 'dbselect_source',
+ 'dbupdate' => 'dbupdate',
+ 'delete' => 'delete',
+ 'delete_dataset' => 'delete_dataset',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'get_value' => 'get_value',
+ 'list_users' => 'list_users',
+ 'login' => 'login',
+ 'login_name' => 'login_name',
+ 'oracle_database_administration' => 'oracle_database_administration',
+ 'pg_database_administration' => 'pg_database_administration',
+ 'save' => 'save',
+ 'update_dataset' => 'update_dataset',
+ 'agregar_usuario' => 'add_user',
+ 'cambiar_contraseña_del_administrador' => 'change_admin_password',
+ 'cambiar_contraseña' => 'change_password',
+ 'continuar' => 'continue',
+ 'crear_base_de_datos' => 'create_dataset',
+ 'borrar' => 'delete',
+ 'borrar_base_de_datos' => 'delete_dataset',
+ 'login' => 'login',
+ 'administración_bases_de_datos_oracle' => 'oracle_database_administration',
+ 'administración_bases_de_datos_pg' => 'pg_database_administration',
+ 'guardar' => 'save',
+ 'actualizar_base_de_datos' => 'update_dataset',
+};
+
+1;
diff --git a/sql-ledger/locale/ve/all b/sql-ledger/locale/ve/all
new file mode 100644
index 0000000..b422b8c
--- /dev/null
+++ b/sql-ledger/locale/ve/all
@@ -0,0 +1,491 @@
+# These are all the texts to build the translations files.
+# The file has the form of 'english text' => 'foreign text',
+# you can add the translation in this file or in the 'missing' file
+# run locales.pl from this directory to rebuild the translation files
+
+$self{texts} = {
+ 'AP' => 'CXP',
+ 'AP Aging' => 'Vencimientos',
+ 'AP Transaction' => 'Cuenta por Pagar',
+ 'AP Transactions' => 'Cuentas por Pagar',
+ 'AR' => 'CXC',
+ 'AR Aging' => 'Vencimientos',
+ 'AR Transaction' => 'Cuenta por Cobrar',
+ 'AR Transactions' => 'Cuentas por Cobrar',
+ 'About' => 'Acerca de',
+ 'Access Control' => 'Control de Acceso',
+ 'Account' => 'Cuenta',
+ 'Account Number' => 'Número de Cuenta',
+ 'Account Number missing!' => 'Falta Número de Cuenta!',
+ 'Account Type' => 'Tipo de Cuenta',
+ 'Account Type missing!' => 'Falta Tipo de Cuenta!',
+ 'Account deleted!' => 'Cuenta borrada!',
+ 'Account saved!' => 'Cuenta guardada!',
+ 'Accounting' => 'Contabilidad',
+ 'Accounting Menu' => 'Menú de Contabilidad',
+ 'Accounts' => 'Cuentas',
+ 'Active' => 'Activa',
+ 'Add' => 'Agregar',
+ 'Add Account' => 'Agregar Cuenta',
+ 'Add Accounts Payables Transaction' => 'Agregar Cuenta por Pagar',
+ 'Add Accounts Receivables Transaction' => 'Agregar Cuenta por Cobrar',
+ 'Add Assembly' => 'Agregar Conjunto',
+ 'Add Customer' => 'Agregar Cliente',
+ 'Add GIFI' => 'Agregar GIFI',
+ 'Add General Ledger Transaction' => 'Agregar Transacción al Mayor General',
+ 'Add Part' => 'Agregar Item',
+ 'Add Project' => 'Agregar Proyecto',
+ 'Add Purchase Invoice' => 'Agregar Factura de Compra',
+ 'Add Purchase Order' => 'Agregar Orden de Compra',
+ 'Add Sales Invoice' => 'Agregar Factura de Venta',
+ 'Add Sales Order' => 'Agregar Pedido',
+ 'Add Service' => 'Agregar Servicio',
+ 'Add Transaction' => 'Agregar Transacción',
+ 'Add User' => 'Agregar Usuario',
+ 'Add Vendor' => 'Agregar Proveedor',
+ 'Address' => 'Dirección',
+ 'Administration' => 'Administración',
+ 'Administrator' => 'Administrador',
+ 'All' => 'Todos',
+ 'All Datasets up to date!' => 'Bases de datos actualizadas!',
+ 'Amount' => 'Monto',
+ 'Amount Due' => 'Monto Vencido',
+ 'Amount does not equal applied!' => 'Monto no es igual!',
+ 'Amount missing!' => 'Falta monto!',
+ 'Applied' => 'Aplicado',
+ 'Apr' => 'abr',
+ 'April' => 'de abril',
+ 'Are you sure you want to delete Invoice Number' => '¿Seguro que desea borrar Factura?',
+ 'Are you sure you want to delete Order Number' => '¿Seguro que desea borrar Orden de Compra/Pedido?',
+ 'Are you sure you want to delete Transaction' => '¿Seguro que desea borrar Transacción?',
+ 'Assemblies' => 'Conjuntos',
+ 'Assemblies restocked!' => 'Conjuntos re-inventariados',
+ 'Assembly Number missing!' => 'Falta Número Conjunto!',
+ 'Asset' => 'Activo',
+ 'Attachment' => 'Anexo',
+ 'Audit Control' => 'Control de Auditoría',
+ 'Aug' => 'ago',
+ 'August' => 'de agosto',
+ 'BOM' => 'Lista de Materiales',
+ 'Backup' => 'Respaldos',
+ 'Backup sent to' => 'Respaldo enviado a',
+ 'Balance' => 'Balance',
+ 'Balance Sheet' => 'Hoja de Balance',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Ubicación',
+ 'Books are open' => 'Libros aperturados',
+ 'Bought' => 'Comprado',
+ 'Business Number' => 'RIF/NIT/CI',
+ 'C' => 'C',
+ 'COGS' => 'Costo Perpetuo',
+ 'Cannot delete account!' => 'No puede borrar cuenta!',
+ 'Cannot delete customer!' => 'No puede borrar cliente!',
+ 'Cannot delete default account!' => 'No puede borrar cuenta "default"!',
+ 'Cannot delete invoice!' => 'No puede borraar factura!',
+ 'Cannot delete item already invoiced!' => 'No puede borrar ítem facturado!',
+ 'Cannot delete item on order!' => 'No puede borrar ítem pedido!',
+ 'Cannot delete item which is part of an assembly!' => 'No puede borrar ítem parte de conjunto!',
+ 'Cannot delete item!' => 'No puede borrar ítem!',
+ 'Cannot delete order!' => 'No puede borrar pedido!',
+ 'Cannot delete transaction!' => 'No puede borrar transacción!',
+ 'Cannot delete vendor!' => 'No puede borrar proveedor!',
+ 'Cannot have a value in both Debit and Credit!' => 'No puede haber Débito y Crédito simultáneamente!',
+ 'Cannot post a transaction without a value!' => 'No puede registrar transacción sin monto!',
+ 'Cannot post invoice for a closed period!' => 'No puede registrar factura para ejercicio cerrado!',
+ 'Cannot post invoice!' => 'No puede registrar factura!',
+ 'Cannot post payment for a closed period!' => 'No puede registrar pago para ejercicio cerrado',
+ 'Cannot post payment!' => 'No puede registrar pago!',
+ 'Cannot post transaction for a closed period!' => 'No puede registrar transacción para ejercicio cerrado!',
+ 'Cannot post transaction!' => 'No puede registrar transacción!',
+ 'Cannot process payment for a closed period!' => 'No puede procesar pago para ejercicio cerrado!',
+ 'Cannot save account!' => 'No puede guardar cuenta!',
+ 'Cannot save order!' => 'No puede guardar órden!',
+ 'Cannot save preferences!' => 'No puede guardar preferencias!',
+ 'Cannot stock assemblies!' => 'No puede inventariar conjuntos!',
+ 'Cash' => 'Caja',
+ 'Cash based' => 'Cash based',
+ 'Cc' => 'Cc',
+ 'Change Admin Password' => 'Cambiar contraseña del Administrador',
+ 'Change Password' => 'Cambiar Contraseña',
+ 'Character Set' => 'Conjunto de Caracteres',
+ 'Chart of Accounts' => 'Plan de Cuentas',
+ 'Check' => 'Cheque',
+ 'Check printed!' => 'Cheque impreso!',
+ 'Check printing failed!' => 'No se pudo imprimir cheque!',
+ 'Cleared Balance' => 'Cleared Balance',
+ 'Click on login name to edit!' => 'Haga click sobre el login para editar',
+ 'Close Books up to' => 'Cerrar ejercicio hasta',
+ 'Closed' => 'Cerrado',
+ 'Company' => 'Compañía',
+ 'Compare to' => 'Comparar a',
+ 'Confirm!' => 'Confirmar!',
+ 'Connect to' => 'Conectar a',
+ 'Contact' => 'Contacto',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Copias',
+ 'Copy to COA' => 'Copiar a Plan de Cuentas',
+ 'Create Chart of Accounts' => 'Crear Plan de Cuentas',
+ 'Create Dataset' => 'Crear base de datos',
+ 'Credit' => 'Crédito',
+ 'Credit Limit' => 'Límite de Crédito',
+ 'Curr' => 'Div',
+ 'Currency' => 'Divisa',
+ 'Current' => 'Actual',
+ 'Customer' => 'Cliente',
+ 'Customer deleted!' => 'Cliente borrado!',
+ 'Customer missing!' => 'Falta cliente!',
+ 'Customer not on file!' => 'Cliente no existe en archivo!',
+ 'Customer saved!' => 'Cliente guardado!',
+ 'Customers' => 'Clientes',
+ 'DBI not installed!' => 'DBI no ha sido instalado!',
+ 'Database' => 'Base de Datos',
+ 'Database Administration' => 'Administración de base de datos',
+ 'Database Driver not checked!' => 'Manejador no seleccionado!',
+ 'Database Host' => 'Servidor de base de datos',
+ 'Database User missing!' => 'Falta usuario de base de datos!',
+ 'Dataset' => 'Base de datos',
+ 'Dataset missing!' => 'Falta base de datos!',
+ 'Dataset updated!' => 'Base de datos actualizada!',
+ 'Date' => 'Fecha',
+ 'Date Due' => 'Vencimiento',
+ 'Date Format' => 'Formato Fecha',
+ 'Date Paid' => 'Fecha Pago',
+ 'Date missing!' => 'Falta fecha!',
+ 'Debit' => 'Débito',
+ 'Debit and credit out of balance!' => 'Débito y Crédito fuera de balance!',
+ 'Dec' => 'dic',
+ 'December' => 'de diciembre',
+ 'Decimalplaces' => 'Posiciones decimales',
+ 'Delete' => 'Borrar',
+ 'Delete Account' => 'Borrar Cuenta',
+ 'Delete Dataset' => 'Borrar base de datos',
+ 'Delivery Date' => 'Fecha de Entrega',
+ 'Deposit' => 'Deposit',
+ 'Description' => 'Descripción',
+ 'Difference' => 'Diferencia',
+ 'Directory' => 'Directorio',
+ 'Discount' => 'Descuento',
+ 'Done' => 'Listo',
+ 'Drawing' => 'Retiro',
+ 'Driver' => 'Manejador',
+ 'Dropdown Limit' => 'Límite menu dropdown',
+ 'Due' => 'Vence',
+ 'Due Date' => 'Vencimiento',
+ 'Due Date missing!' => 'Falta Vencimiento!',
+ 'E-mail' => 'E-mail',
+ 'E-mail Statement to' => 'Enviar estado de cuenta por E-mail a',
+ 'E-mail address missing!' => 'Falta dirección E-mail!',
+ 'Edit' => 'Editar',
+ 'Edit Account' => 'Editar Cuenta',
+ 'Edit Accounts Payables Transaction' => 'Editar Transacción Cuentas por Pagar',
+ 'Edit Accounts Receivables Transaction' => 'Editar Transacción Cuentas por Cobrar',
+ 'Edit Assembly' => 'Editar Conjunto',
+ 'Edit Customer' => 'Editar Cliente',
+ 'Edit GIFI' => 'Editar GIFI',
+ 'Edit General Ledger Transaction' => 'Editar Transacción de Mayor General',
+ 'Edit Part' => 'Editar Item',
+ 'Edit Preferences for' => 'Editar Preferencias para',
+ 'Edit Project' => 'Editar Proyecto',
+ 'Edit Purchase Invoice' => 'Editar Factura de Compra',
+ 'Edit Purchase Order' => 'Editar Orden de Compra',
+ 'Edit Sales Invoice' => 'Editar Factura de Venta',
+ 'Edit Sales Order' => 'Editar Pedido',
+ 'Edit Service' => 'Editar Servicio',
+ 'Edit Template' => 'Editar Plantilla',
+ 'Edit User' => 'Editar Usuario',
+ 'Edit Vendor' => 'Editar Proveedor',
+ 'Employee' => 'Empleado',
+ 'Enforce transaction reversal for all dates' => 'Obligar reverso de transacciones para todas las fechas',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Ingrese símbolo de hasta 3 letras para divisas nativa y extranjeras',
+ 'Equity' => 'Capital',
+ 'Exch' => 'Tasa',
+ 'Exchangerate' => 'Tasa de Cambio',
+ 'Exchangerate Difference' => 'Diferencial Dambiario',
+ 'Exchangerate for payment missing!' => 'No se encuentra pago por cambio de moneda',
+ 'Exchangerate missing!' => 'No se encuentra cambio de moneda',
+ 'Existing Datasets' => 'Bases de datos existentes',
+ 'Expense' => 'Egreso',
+ 'Expense Account' => 'Cuenta de Gasto',
+ 'Expense/Asset' => 'Egreso/Activo',
+ 'Extended' => 'Extendido',
+ 'Fax' => 'Fax',
+ 'Feb' => 'feb',
+ 'February' => 'de febrero',
+ 'Foreign Exchange Gain' => 'Ganancia Cambiaria',
+ 'Foreign Exchange Loss' => 'Pérdida Cambiaria',
+ 'From' => 'Desde',
+ 'GIFI' => 'GIFI',
+ 'GIFI deleted!' => 'GIFI borrado!',
+ 'GIFI missing!' => 'Falta GIFI!',
+ 'GIFI saved!' => 'GIFI guardado!',
+ 'GL Transaction' => 'Transacción de mayor',
+ 'General Ledger' => 'Mayor General',
+ 'Goods & Services' => 'Bienes y Servicios',
+ 'HTML Templates' => 'Plantillas HTML',
+ 'Heading' => 'Encabezado',
+ 'Host' => 'Host',
+ 'Hostname missing!' => 'Falta nombre del Host!',
+ 'ID' => 'ID',
+ 'Image' => 'Imagen',
+ 'In-line' => 'Incorporado',
+ 'Include in Report' => 'Incluya en Reporte',
+ 'Include in drop-down menus' => 'Incluya en menús "drop-down"',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Incluir cuenta en pantallas Cliente/Proveedor para señalar como contribuyente?',
+ 'Income' => 'Ingreso',
+ 'Income Account' => 'Cuenta de Ingreso',
+ 'Income Statement' => 'Estado de Cuentas de Ingreso',
+ 'Incorrect Dataset version!' => 'Versión incorrecta de base de datos!',
+ 'Incorrect Password!' => 'Contraseña equivocada',
+ 'Individual Items' => 'Items Individuales',
+ 'Inventory' => 'Inventario',
+ 'Inventory Account' => 'Cuenta de Inventario',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'Existencia debe ser cero antes de hacer obsoleto a este conjunto!',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'Existencia debe ser cero antes de hacer obsoleto este ítem!',
+ 'Inventory quantity must be zero!' => 'Existencia debe ser cero!',
+ 'Invoice' => 'Factura',
+ 'Invoice Date' => 'Fecha Factura',
+ 'Invoice Date missing!' => 'Falta Fecha Factura!',
+ 'Invoice Number' => 'Número Factura',
+ 'Invoice Number missing!' => 'Falta Número Factura!',
+ 'Invoice deleted!' => 'Factura borrada!',
+ 'Invoice posted!' => 'Factura registrada!',
+ 'Invoices' => 'Facturas',
+ 'Is this a summary account to record' => 'Registrar en cuenta de resumen ',
+ 'Item deleted!' => 'Item borrado!',
+ 'Item not on file!' => 'Item no archivado!',
+ 'Jan' => 'ene',
+ 'January' => 'de enero',
+ 'Jul' => 'jul',
+ 'July' => 'de julio',
+ 'Jun' => 'jun',
+ 'June' => 'de junio',
+ 'LaTeX Templates' => 'Plantillas LaTeX',
+ 'Language' => 'Idioma',
+ 'Last Cost' => 'Ultimo Costo',
+ 'Last Invoice Number' => 'Ultima Factura Emitida',
+ 'Last Numbers & Default Accounts' => 'Ultimos Números y Cuentas por Defecto',
+ 'Last Purchase Order Number' => 'Ultimo número Orden de Compra',
+ 'Last Sales Order Number' => 'Ultimo número Pedido',
+ 'Leave host and port field empty unless you want to make a remote connection.' => 'Deje en blanco los campos Host y Puerto si no requiere una conección remota',
+ 'Liability' => 'Pasivo',
+ 'Licensed to' => 'Licenciatario',
+ 'Line Total' => 'Total línea',
+ 'Link' => 'Vinculado a',
+ 'Link Accounts' => 'Vincular Cuentas',
+ 'List Accounts' => 'Listar cuentas',
+ 'List GIFI' => 'Listar GIFI',
+ 'List Price' => 'Precio de Lista',
+ 'List Transactions' => 'Listar Transacciones',
+ 'Login' => 'Login',
+ 'Logout' => 'Salir del sistema',
+ 'Make' => 'Marca',
+ 'Mar' => 'mar',
+ 'March' => 'de marzo',
+ 'May' => 'may',
+ 'May ' => 'de mayo',
+ 'Message' => 'Mensaje',
+ 'Microfiche' => 'Microficha',
+ 'Model' => 'Modelo',
+ 'Multibyte Encoding' => 'Codificación conjunto de caracteres',
+ 'N/A' => 'N/D',
+ 'Name' => 'Nombre',
+ 'Name missing!' => 'Falta nombre!',
+ 'New Templates' => 'Plantillas Nuevas',
+ 'No' => ' No ',
+ 'No Database Drivers available!' => 'No hay manejadores para base de datos!',
+ 'No Dataset selected!' => 'Base de datos no seleccionada!',
+ 'No email address for' => 'Falta dirección email para',
+ 'No.' => 'No.',
+ 'Notes' => 'Comentario',
+ 'Nothing applied!' => 'Nada aplicado!',
+ 'Nothing selected!' => 'Nada seleccionado!',
+ 'Nothing to delete!' => 'Nada para borrar!',
+ 'Nov' => 'nov',
+ 'November' => 'de noviembre',
+ 'Number' => 'Número',
+ 'Number Format' => 'Formato Numérico',
+ 'Number missing in Row' => 'Falta número en Hilera',
+ 'O' => 'O',
+ 'Obsolete' => 'Obsoleto',
+ 'Oct' => 'oct',
+ 'October' => 'de octubre',
+ 'On Hand' => 'Existencia',
+ 'On Order' => 'Pedido',
+ 'Open' => 'Abierto',
+ 'Oracle Database Administration' => 'Administración bases de datos Oracle',
+ 'Order' => 'Orden',
+ 'Order Date' => 'Fecha Pedido',
+ 'Order Date missing!' => 'Falta Fecha Pedido!',
+ 'Order Entry' => 'Pedidos<br>Ordenes de Compra',
+ 'Order Number' => 'Orden Número',
+ 'Order Number missing!' => 'Falta Número de Orden',
+ 'Order deleted!' => 'Orden borrada!',
+ 'Order saved!' => 'Orden guardada!',
+ 'Ordered' => 'Pedido',
+ 'Orphaned' => 'Huérfano',
+ 'Out of balance!' => 'Fuera de balance!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Lista de Empaque',
+ 'Packing List Date missing!' => 'Falta Fecha en Nota de Entrega',
+ 'Packing List Number missing!' => 'Falta Número en Nota de Entrega',
+ 'Paid' => 'Pagado',
+ 'Paid in full' => 'Cancelado',
+ 'Part' => 'Item',
+ 'Part Number missing!' => 'Falta Número de Item!',
+ 'Parts' => 'Items',
+ 'Parts Inventory' => 'Inventario de Items',
+ 'Password' => 'Contraseña',
+ 'Password changed!' => 'Contraseña cambiada!',
+ 'Payables' => 'X Pagar',
+ 'Payment' => 'Pago',
+ 'Payment date missing!' => 'Falta Fecha de Pago',
+ 'Payment posted!' => 'Pago registrado!',
+ 'Payments' => 'Pagos',
+ 'Pg Database Administration' => 'Administración bases de datos Pg',
+ 'Phone' => 'Teléfono',
+ 'Port' => 'Número de Puerto',
+ 'Port missing!' => 'Falta número de puerto',
+ 'Post' => 'Registrar',
+ 'Post as new' => 'Registrar como nuevo',
+ 'Postscript' => 'Postscript',
+ 'Preferences' => 'Preferencias',
+ 'Preferences saved!' => 'Preferencias guardadas!',
+ 'Price' => 'Precio',
+ 'Print' => 'Imprimir',
+ 'Printer' => 'Impresora',
+ 'Project' => 'Proyecto',
+ 'Project Number missing!' => 'Falta número de proyecto!',
+ 'Project deleted!' => 'Proyecto borrado!',
+ 'Project not on file!' => 'Proyecto no archivado!',
+ 'Project saved!' => 'Proyecto guardado!',
+ 'Projects' => 'Proyectos',
+ 'Purchase Invoice' => 'Factura de Compra',
+ 'Purchase Order' => 'Orden de Compra',
+ 'Purchase Orders' => 'Ordenes de Compra',
+ 'Qty' => 'Cnt',
+ 'ROP' => 'Existencia mínima',
+ 'Rate' => 'Tasa',
+ 'Recd' => 'Rec',
+ 'Receipt' => 'Ingreso',
+ 'Receipts' => 'Ingresos',
+ 'Receivables' => 'X Cobrar',
+ 'Reconciliation' => 'Conciliación',
+ 'Record in' => 'Registrar en',
+ 'Reference' => 'Referencia',
+ 'Reference missing!' => 'Falta referencia!',
+ 'Remaining' => 'Quedan',
+ 'Report for' => 'Reporte de',
+ 'Reports' => 'Reportes',
+ 'Required by' => 'Requerido para el',
+ 'Retained Earnings' => 'Ganancias Retenidas',
+ 'Sales' => 'Ventas',
+ 'Sales Invoice' => 'Factura de Venta',
+ 'Sales Order' => 'Pedido',
+ 'Sales Orders' => 'Pedidos',
+ 'Save' => 'Guardar',
+ 'Save as new' => 'Guardar como nuevo',
+ 'Save to File' => 'Respaldar a Archivo',
+ 'Screen' => 'Pantalla',
+ 'Select a Dataset to delete and press "Continue"' => 'Seleccione base de datos a borrar y pulse "Continue"',
+ 'Select all' => 'Seleccione todos',
+ 'Select from one of the items below' => 'Seleccione uno de los ítems listados',
+ 'Select from one of the names below' => 'Seleccione de uno de los nombres a continuación',
+ 'Select from one of the projects below' => 'Seleccione de uno de los proyectos a continuación',
+ 'Select postscript or PDF!' => 'Seleccione postscript o PDF',
+ 'Sell Price' => 'Precio de Venta',
+ 'Send by E-Mail' => 'Enviar por E-Mail',
+ 'Sep' => 'sep',
+ 'September' => 'de septiembre',
+ 'Service' => 'Servicio',
+ 'Service Items' => 'Inventario de Servicios',
+ 'Service Number missing!' => 'Falta Número de Servicio!',
+ 'Services' => 'Servicios',
+ 'Setup Templates' => 'Configurar Plantillas',
+ 'Ship' => 'Envíe',
+ 'Ship to' => 'Envíe a',
+ 'Ship via' => 'Envía vía',
+ 'Short' => 'Corto',
+ 'Signature' => 'Firma',
+ 'Sold' => 'Vendido',
+ 'Source' => 'Referencia',
+ 'Standard' => 'Standard',
+ 'Statement' => 'Estado de Cuenta',
+ 'Statement Balance' => 'Balance Estado de Cuenta',
+ 'Statement sent to' => 'Estado de Cuenta enviado a',
+ 'Statements sent to printer!' => 'Estados de Cuenta enviados a impresora!',
+ 'Stock Assembly' => 'Reponer Conjuntos',
+ 'Stylesheet' => 'Hoja de Estilo',
+ 'Subject' => 'Materia',
+ 'Subtotal' => 'Subtotal',
+ 'System' => 'Sistema',
+ 'Tax' => 'ISV',
+ 'Tax Accounts' => 'Cuentas de Impuesto',
+ 'Tax Included' => 'Impuesto Incluido',
+ 'Tax collected' => 'Impuesto recaudado',
+ 'Tax paid' => 'Impuesto pagado',
+ 'Taxable' => 'Base imponible',
+ 'Template saved!' => 'Plantilla guardada!',
+ 'Templates' => 'Plantillas',
+ 'Terms: Net' => 'Crédito a',
+ 'The following Datasets are not in use and can be deleted' => 'Las siguientes bases de datos no están en uso y pueden ser borradas',
+ 'The following Datasets need to be updated' => 'Las siguientes bases de datos requieren actualización',
+ 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' => 'Chequeo preliminar. En esta etapa no se creará ni se borrará nada!',
+ 'To' => 'Hasta',
+ 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' => 'Para agregar un usuario a un grupo, edite un nombre, cambie el login y guárdelo de nuevo. Un nuevo usuario con las mismas variables se creará bajo el nuevo login.',
+ 'Top Level' => 'Nivel superior',
+ 'Total' => 'Total',
+ 'Transaction Date missing!' => 'Falta Fecha Transacción!',
+ 'Transaction deleted!' => 'Transacción borrada!',
+ 'Transaction posted!' => 'Transacción registrada!',
+ 'Transaction reversal enforced for all dates' => 'Reverso de transacciones obligadas para todas la fechas',
+ 'Transaction reversal enforced up to' => 'Reverso de transacciones obligadas hasta',
+ 'Transactions' => 'Transacciones',
+ 'Transactions exist, cannot delete customer!' => 'No podemos borrar cliente, existen transacciones!',
+ 'Transactions exist, cannot delete vendor!' => 'No podemos borrar proveedor, existen transacciones!',
+ 'Transactions exist; cannot delete account!' => 'No podemos borrar cuenta, existen transacciones!',
+ 'Trial Balance' => 'Balance de Comprobación',
+ 'Unit' => 'Unidad',
+ 'Unit of measure' => 'Unidad de medida',
+ 'Update' => 'Actualizar',
+ 'Update Dataset' => 'Actualizar base de datos',
+ 'Updated' => 'Actalizado',
+ 'Use Templates' => 'Use Plantilla',
+ 'User' => 'Usuario',
+ 'User deleted!' => 'Usuario borrado!',
+ 'User saved!' => 'Usuario guardado!',
+ 'Vendor' => 'Proveedor',
+ 'Vendor deleted!' => 'Proveedor borrado!',
+ 'Vendor missing!' => 'Falta proveedor',
+ 'Vendor not on file!' => 'Proveedor no está en archivo!',
+ 'Vendor saved!' => 'Proveedor guardado!',
+ 'Vendors' => 'Proveedores',
+ 'Version' => 'Versión',
+ 'Weight' => 'Peso',
+ 'Weight Unit' => 'Unidad de Peso',
+ 'What type of item is this?' => '¿Qué tipo de ítem es éste?',
+ 'Year End' => 'Cierre',
+ 'Yes' => ' Sí ',
+ 'You are logged out!' => 'Ha salido del sistema!',
+ 'You did not enter a name!' => 'No se ingresó un nombre!',
+ 'You must enter a host and port for local and remote connections!' => 'Debe ingresar un host y un puerto para conecciones locales y remotas!',
+ 'as at' => 'Al',
+ 'collected on sales' => 'recaudado sobre ventas',
+ 'days' => 'días',
+ 'does not exist' => 'no existe',
+ 'ea' => 'cu',
+ 'emailed to' => 'enviado por email a',
+ 'for Period' => 'para el período',
+ 'hr' => 'hr',
+ 'is already a member!' => 'ya es miembro!',
+ 'is not a member!' => 'no es miembro!',
+ 'localhost' => 'localhost',
+ 'locked!' => '',
+ 'paid on purchases' => 'pagado sobre compras',
+ 'sent to printer' => 'enviado a impresora',
+ 'successfully created!' => 'creado!',
+ 'successfully deleted!' => 'borrado!',
+ 'to' => 'a',
+ 'website' => 'en internet',
+};
+
+1;
diff --git a/sql-ledger/locale/ve/am b/sql-ledger/locale/ve/am
new file mode 100644
index 0000000..3002447
--- /dev/null
+++ b/sql-ledger/locale/ve/am
@@ -0,0 +1,139 @@
+$self{texts} = {
+ 'AP' => 'CXP',
+ 'AR' => 'CXC',
+ 'Account' => 'Cuenta',
+ 'Account Number' => 'Número de Cuenta',
+ 'Account Number missing!' => 'Falta Número de Cuenta!',
+ 'Account Type' => 'Tipo de Cuenta',
+ 'Account Type missing!' => 'Falta Tipo de Cuenta!',
+ 'Account deleted!' => 'Cuenta borrada!',
+ 'Account saved!' => 'Cuenta guardada!',
+ 'Add Account' => 'Agregar Cuenta',
+ 'Add GIFI' => 'Agregar GIFI',
+ 'Address' => 'Dirección',
+ 'Asset' => 'Activo',
+ 'Audit Control' => 'Control de Auditoría',
+ 'Backup sent to' => 'Respaldo enviado a',
+ 'Books are open' => 'Libros aperturados',
+ 'Business Number' => 'RIF/NIT/CI',
+ 'COGS' => 'Costo Perpetuo',
+ 'Cannot delete account!' => 'No puede borrar cuenta!',
+ 'Cannot delete default account!' => 'No puede borrar cuenta "default"!',
+ 'Cannot save account!' => 'No puede guardar cuenta!',
+ 'Cannot save preferences!' => 'No puede guardar preferencias!',
+ 'Character Set' => 'Conjunto de Caracteres',
+ 'Chart of Accounts' => 'Plan de Cuentas',
+ 'Close Books up to' => 'Cerrar ejercicio hasta',
+ 'Company' => 'Compañía',
+ 'Continue' => 'Continuar',
+ 'Copy to COA' => 'Copiar a Plan de Cuentas',
+ 'Credit' => 'Crédito',
+ 'Date Format' => 'Formato Fecha',
+ 'Debit' => 'Débito',
+ 'Delete' => 'Borrar',
+ 'Delete Account' => 'Borrar Cuenta',
+ 'Description' => 'Descripción',
+ 'Dropdown Limit' => 'Límite menu dropdown',
+ 'E-mail' => 'E-mail',
+ 'Edit' => 'Editar',
+ 'Edit Account' => 'Editar Cuenta',
+ 'Edit GIFI' => 'Editar GIFI',
+ 'Edit Preferences for' => 'Editar Preferencias para',
+ 'Edit Template' => 'Editar Plantilla',
+ 'Enforce transaction reversal for all dates' => 'Obligar reverso de transacciones para todas las fechas',
+ 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' => 'Ingrese símbolo de hasta 3 letras para divisas nativa y extranjeras',
+ 'Equity' => 'Capital',
+ 'Expense' => 'Egreso',
+ 'Expense Account' => 'Cuenta de Gasto',
+ 'Expense/Asset' => 'Egreso/Activo',
+ 'Fax' => 'Fax',
+ 'Foreign Exchange Gain' => 'Ganancia Cambiaria',
+ 'Foreign Exchange Loss' => 'Pérdida Cambiaria',
+ 'GIFI' => 'GIFI',
+ 'GIFI deleted!' => 'GIFI borrado!',
+ 'GIFI missing!' => 'Falta GIFI!',
+ 'GIFI saved!' => 'GIFI guardado!',
+ 'Heading' => 'Encabezado',
+ 'Include in drop-down menus' => 'Incluya en menús "drop-down"',
+ 'Include this account on the customer/vendor forms to flag customer/vendor as taxable?' => 'Incluir cuenta en pantallas Cliente/Proveedor para señalar como contribuyente?',
+ 'Income' => 'Ingreso',
+ 'Income Account' => 'Cuenta de Ingreso',
+ 'Inventory' => 'Inventario',
+ 'Inventory Account' => 'Cuenta de Inventario',
+ 'Is this a summary account to record' => 'Registrar en cuenta de resumen ',
+ 'Language' => 'Idioma',
+ 'Last Invoice Number' => 'Ultima Factura Emitida',
+ 'Last Numbers & Default Accounts' => 'Ultimos Números y Cuentas por Defecto',
+ 'Last Purchase Order Number' => 'Ultimo número Orden de Compra',
+ 'Last Sales Order Number' => 'Ultimo número Pedido',
+ 'Liability' => 'Pasivo',
+ 'Link' => 'Vinculado a',
+ 'Name' => 'Nombre',
+ 'No' => ' No ',
+ 'No email address for' => 'Falta dirección email para',
+ 'Number' => 'Número',
+ 'Number Format' => 'Formato Numérico',
+ 'Parts Inventory' => 'Inventario de Items',
+ 'Password' => 'Contraseña',
+ 'Payables' => 'X Pagar',
+ 'Payment' => 'Pago',
+ 'Phone' => 'Teléfono',
+ 'Preferences saved!' => 'Preferencias guardadas!',
+ 'Rate' => 'Tasa',
+ 'Receivables' => 'X Cobrar',
+ 'Sales' => 'Ventas',
+ 'Save' => 'Guardar',
+ 'Service Items' => 'Inventario de Servicios',
+ 'Ship via' => 'Envía vía',
+ 'Signature' => 'Firma',
+ 'Stylesheet' => 'Hoja de Estilo',
+ 'Tax' => 'ISV',
+ 'Tax Accounts' => 'Cuentas de Impuesto',
+ 'Template saved!' => 'Plantilla guardada!',
+ 'Transaction reversal enforced for all dates' => 'Reverso de transacciones obligadas para todas la fechas',
+ 'Transaction reversal enforced up to' => 'Reverso de transacciones obligadas hasta',
+ 'Transactions exist; cannot delete account!' => 'No podemos borrar cuenta, existen transacciones!',
+ 'Weight Unit' => 'Unidad de Peso',
+ 'Year End' => 'Cierre',
+ 'Yes' => ' Sí ',
+ 'does not exist' => 'no existe',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_gifi' => 'add_gifi',
+ 'audit_control' => 'audit_control',
+ 'backup' => 'backup',
+ 'config' => 'config',
+ 'continue' => 'continue',
+ 'copy_to_coa' => 'copy_to_coa',
+ 'delete' => 'delete',
+ 'delete_account' => 'delete_account',
+ 'delete_gifi' => 'delete_gifi',
+ 'display_form' => 'display_form',
+ 'display_stylesheet' => 'display_stylesheet',
+ 'doclose' => 'doclose',
+ 'edit' => 'edit',
+ 'edit_gifi' => 'edit_gifi',
+ 'edit_template' => 'edit_template',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gifi_footer' => 'gifi_footer',
+ 'gifi_header' => 'gifi_header',
+ 'list' => 'list',
+ 'list_gifi' => 'list_gifi',
+ 'save' => 'save',
+ 'save_account' => 'save_account',
+ 'save_gifi' => 'save_gifi',
+ 'save_preferences' => 'save_preferences',
+ 'save_template' => 'save_template',
+ 'agregar_cuenta' => 'add_account',
+ 'continuar' => 'continue',
+ 'copiar_a_plan_de_cuentas' => 'copy_to_coa',
+ 'borrar' => 'delete',
+ 'editar' => 'edit',
+ 'editar_cuenta' => 'edit_account',
+ 'guardar' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/ve/ap b/sql-ledger/locale/ve/ap
new file mode 100644
index 0000000..754f856
--- /dev/null
+++ b/sql-ledger/locale/ve/ap
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AP Transaction' => 'Cuenta por Pagar',
+ 'AP Transactions' => 'Cuentas por Pagar',
+ 'Account' => 'Cuenta',
+ 'Add Accounts Payables Transaction' => 'Agregar Cuenta por Pagar',
+ 'Address' => 'Dirección',
+ 'Amount' => 'Monto',
+ 'Amount Due' => 'Monto Vencido',
+ 'Apr' => 'abr',
+ 'April' => 'de abril',
+ 'Are you sure you want to delete Transaction' => '¿Seguro que desea borrar Transacción?',
+ 'Aug' => 'ago',
+ 'August' => 'de agosto',
+ 'Cannot delete transaction!' => 'No puede borrar transacción!',
+ 'Cannot post payment for a closed period!' => 'No puede registrar pago para ejercicio cerrado',
+ 'Cannot post transaction for a closed period!' => 'No puede registrar transacción para ejercicio cerrado!',
+ 'Cannot post transaction!' => 'No puede registrar transacción!',
+ 'Closed' => 'Cerrado',
+ 'Confirm!' => 'Confirmar!',
+ 'Continue' => 'Continuar',
+ 'Currency' => 'Divisa',
+ 'Customer not on file!' => 'Cliente no existe en archivo!',
+ 'Date' => 'Fecha',
+ 'Date Paid' => 'Fecha Pago',
+ 'Dec' => 'dic',
+ 'December' => 'de diciembre',
+ 'Delete' => 'Borrar',
+ 'Description' => 'Descripción',
+ 'Due Date' => 'Vencimiento',
+ 'Due Date missing!' => 'Falta Vencimiento!',
+ 'Edit Accounts Payables Transaction' => 'Editar Transacción Cuentas por Pagar',
+ 'Employee' => 'Empleado',
+ 'Exch' => 'Tasa',
+ 'Exchangerate' => 'Tasa de Cambio',
+ 'Exchangerate for payment missing!' => 'No se encuentra pago por cambio de moneda',
+ 'Exchangerate missing!' => 'No se encuentra cambio de moneda',
+ 'Feb' => 'feb',
+ 'February' => 'de febrero',
+ 'From' => 'Desde',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Incluya en Reporte',
+ 'Invoice' => 'Factura',
+ 'Invoice Date' => 'Fecha Factura',
+ 'Invoice Date missing!' => 'Falta Fecha Factura!',
+ 'Invoice Number' => 'Número Factura',
+ 'Invoice Number missing!' => 'Falta Número Factura!',
+ 'Jan' => 'ene',
+ 'January' => 'de enero',
+ 'Jul' => 'jul',
+ 'July' => 'de julio',
+ 'Jun' => 'jun',
+ 'June' => 'de junio',
+ 'Mar' => 'mar',
+ 'March' => 'de marzo',
+ 'May' => 'may',
+ 'May ' => 'de mayo',
+ 'Notes' => 'Comentario',
+ 'Nov' => 'nov',
+ 'November' => 'de noviembre',
+ 'Number' => 'Número',
+ 'Oct' => 'oct',
+ 'October' => 'de octubre',
+ 'Open' => 'Abierto',
+ 'Order' => 'Orden',
+ 'Order Number' => 'Orden Número',
+ 'Paid' => 'Pagado',
+ 'Payment date missing!' => 'Falta Fecha de Pago',
+ 'Payments' => 'Pagos',
+ 'Post' => 'Registrar',
+ 'Post as new' => 'Registrar como nuevo',
+ 'Project' => 'Proyecto',
+ 'Project not on file!' => 'Proyecto no archivado!',
+ 'Purchase Invoice' => 'Factura de Compra',
+ 'Select from one of the names below' => 'Seleccione de uno de los nombres a continuación',
+ 'Select from one of the projects below' => 'Seleccione de uno de los proyectos a continuación',
+ 'Sep' => 'sep',
+ 'September' => 'de septiembre',
+ 'Source' => 'Referencia',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'ISV',
+ 'Tax Included' => 'Impuesto Incluido',
+ 'Total' => 'Total',
+ 'Transaction deleted!' => 'Transacción borrada!',
+ 'Transaction posted!' => 'Transacción registrada!',
+ 'Update' => 'Actualizar',
+ 'Vendor' => 'Proveedor',
+ 'Vendor missing!' => 'Falta proveedor',
+ 'Vendor not on file!' => 'Proveedor no está en archivo!',
+ 'Yes' => ' Sí ',
+ 'to' => 'a',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_subtotal' => 'ap_subtotal',
+ 'ap_transaction' => 'ap_transaction',
+ 'ap_transactions' => 'ap_transactions',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'cuenta_por_pagar' => 'ap_transaction',
+ 'agregar_cuenta_por_pagar' => 'add_accounts_payables_transaction',
+ 'continuar' => 'continue',
+ 'borrar' => 'delete',
+ 'editar_transacción_cuentas_por_pagar' => 'edit_accounts_payables_transaction',
+ 'registrar' => 'post',
+ 'registrar_como_nuevo' => 'post_as_new',
+ 'factura_de_compra' => 'purchase_invoice',
+ 'actualizar' => 'update',
+ '_sí_' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/ve/ar b/sql-ledger/locale/ve/ar
new file mode 100644
index 0000000..55da07b
--- /dev/null
+++ b/sql-ledger/locale/ve/ar
@@ -0,0 +1,133 @@
+$self{texts} = {
+ 'AR Transaction' => 'Cuenta por Cobrar',
+ 'AR Transactions' => 'Cuentas por Cobrar',
+ 'Account' => 'Cuenta',
+ 'Add Accounts Receivables Transaction' => 'Agregar Cuenta por Cobrar',
+ 'Address' => 'Dirección',
+ 'Amount' => 'Monto',
+ 'Amount Due' => 'Monto Vencido',
+ 'Apr' => 'abr',
+ 'April' => 'de abril',
+ 'Are you sure you want to delete Transaction' => '¿Seguro que desea borrar Transacción?',
+ 'Aug' => 'ago',
+ 'August' => 'de agosto',
+ 'Cannot delete transaction!' => 'No puede borrar transacción!',
+ 'Cannot post payment for a closed period!' => 'No puede registrar pago para ejercicio cerrado',
+ 'Cannot post transaction for a closed period!' => 'No puede registrar transacción para ejercicio cerrado!',
+ 'Cannot post transaction!' => 'No puede registrar transacción!',
+ 'Closed' => 'Cerrado',
+ 'Confirm!' => 'Confirmar!',
+ 'Continue' => 'Continuar',
+ 'Credit Limit' => 'Límite de Crédito',
+ 'Currency' => 'Divisa',
+ 'Customer' => 'Cliente',
+ 'Customer missing!' => 'Falta cliente!',
+ 'Customer not on file!' => 'Cliente no existe en archivo!',
+ 'Date' => 'Fecha',
+ 'Date Paid' => 'Fecha Pago',
+ 'Dec' => 'dic',
+ 'December' => 'de diciembre',
+ 'Delete' => 'Borrar',
+ 'Description' => 'Descripción',
+ 'Due Date' => 'Vencimiento',
+ 'Due Date missing!' => 'Falta Vencimiento!',
+ 'Edit Accounts Receivables Transaction' => 'Editar Transacción Cuentas por Cobrar',
+ 'Employee' => 'Empleado',
+ 'Exch' => 'Tasa',
+ 'Exchangerate' => 'Tasa de Cambio',
+ 'Exchangerate for payment missing!' => 'No se encuentra pago por cambio de moneda',
+ 'Exchangerate missing!' => 'No se encuentra cambio de moneda',
+ 'Feb' => 'feb',
+ 'February' => 'de febrero',
+ 'From' => 'Desde',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Incluya en Reporte',
+ 'Invoice' => 'Factura',
+ 'Invoice Date' => 'Fecha Factura',
+ 'Invoice Date missing!' => 'Falta Fecha Factura!',
+ 'Invoice Number' => 'Número Factura',
+ 'Invoice Number missing!' => 'Falta Número Factura!',
+ 'Jan' => 'ene',
+ 'January' => 'de enero',
+ 'Jul' => 'jul',
+ 'July' => 'de julio',
+ 'Jun' => 'jun',
+ 'June' => 'de junio',
+ 'Mar' => 'mar',
+ 'March' => 'de marzo',
+ 'May' => 'may',
+ 'May ' => 'de mayo',
+ 'Notes' => 'Comentario',
+ 'Nov' => 'nov',
+ 'November' => 'de noviembre',
+ 'Number' => 'Número',
+ 'Oct' => 'oct',
+ 'October' => 'de octubre',
+ 'Open' => 'Abierto',
+ 'Order' => 'Orden',
+ 'Order Number' => 'Orden Número',
+ 'Paid' => 'Pagado',
+ 'Payment date missing!' => 'Falta Fecha de Pago',
+ 'Payments' => 'Pagos',
+ 'Post' => 'Registrar',
+ 'Post as new' => 'Registrar como nuevo',
+ 'Project' => 'Proyecto',
+ 'Project not on file!' => 'Proyecto no archivado!',
+ 'Remaining' => 'Quedan',
+ 'Sales Invoice' => 'Factura de Venta',
+ 'Select from one of the names below' => 'Seleccione de uno de los nombres a continuación',
+ 'Select from one of the projects below' => 'Seleccione de uno de los proyectos a continuación',
+ 'Sep' => 'sep',
+ 'September' => 'de septiembre',
+ 'Source' => 'Referencia',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'ISV',
+ 'Tax Included' => 'Impuesto Incluido',
+ 'Total' => 'Total',
+ 'Transaction deleted!' => 'Transacción borrada!',
+ 'Transaction posted!' => 'Transacción registrada!',
+ 'Update' => 'Actualizar',
+ 'Vendor not on file!' => 'Proveedor no está en archivo!',
+ 'Yes' => ' Sí ',
+ 'to' => 'a',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_subtotal' => 'ar_subtotal',
+ 'ar_transaction' => 'ar_transaction',
+ 'ar_transactions' => 'ar_transactions',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_links' => 'create_links',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'cuenta_por_cobrar' => 'ar_transaction',
+ 'continuar' => 'continue',
+ 'borrar' => 'delete',
+ 'registrar' => 'post',
+ 'registrar_como_nuevo' => 'post_as_new',
+ 'factura_de_venta' => 'sales_invoice',
+ 'actualizar' => 'update',
+ '_sí_' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/ve/arap b/sql-ledger/locale/ve/arap
new file mode 100644
index 0000000..deba2e5
--- /dev/null
+++ b/sql-ledger/locale/ve/arap
@@ -0,0 +1,30 @@
+$self{texts} = {
+ 'Address' => 'Dirección',
+ 'Continue' => 'Continuar',
+ 'Customer not on file!' => 'Cliente no existe en archivo!',
+ 'Description' => 'Descripción',
+ 'Number' => 'Número',
+ 'Project not on file!' => 'Proyecto no archivado!',
+ 'Select from one of the names below' => 'Seleccione de uno de los nombres a continuación',
+ 'Select from one of the projects below' => 'Seleccione de uno de los proyectos a continuación',
+ 'Vendor not on file!' => 'Proveedor no está en archivo!',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'continuar' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/ve/ca b/sql-ledger/locale/ve/ca
new file mode 100644
index 0000000..8de34b6
--- /dev/null
+++ b/sql-ledger/locale/ve/ca
@@ -0,0 +1,50 @@
+$self{texts} = {
+ 'Account' => 'Cuenta',
+ 'Apr' => 'abr',
+ 'April' => 'de abril',
+ 'Aug' => 'ago',
+ 'August' => 'de agosto',
+ 'Balance' => 'Balance',
+ 'Chart of Accounts' => 'Plan de Cuentas',
+ 'Credit' => 'Crédito',
+ 'Date' => 'Fecha',
+ 'Debit' => 'Débito',
+ 'Dec' => 'dic',
+ 'December' => 'de diciembre',
+ 'Description' => 'Descripción',
+ 'Feb' => 'feb',
+ 'February' => 'de febrero',
+ 'From' => 'Desde',
+ 'GIFI' => 'GIFI',
+ 'Include in Report' => 'Incluya en Reporte',
+ 'Jan' => 'ene',
+ 'January' => 'de enero',
+ 'Jul' => 'jul',
+ 'July' => 'de julio',
+ 'Jun' => 'jun',
+ 'June' => 'de junio',
+ 'List Transactions' => 'Listar Transacciones',
+ 'Mar' => 'mar',
+ 'March' => 'de marzo',
+ 'May' => 'may',
+ 'May ' => 'de mayo',
+ 'Nov' => 'nov',
+ 'November' => 'de noviembre',
+ 'Oct' => 'oct',
+ 'October' => 'de octubre',
+ 'Reference' => 'Referencia',
+ 'Sep' => 'sep',
+ 'September' => 'de septiembre',
+ 'Subtotal' => 'Subtotal',
+ 'to' => 'a',
+};
+
+$self{subs} = {
+ 'ca_subtotal' => 'ca_subtotal',
+ 'chart_of_accounts' => 'chart_of_accounts',
+ 'list' => 'list',
+ 'list_transactions' => 'list_transactions',
+ 'listar_transacciones' => 'list_transactions',
+};
+
+1;
diff --git a/sql-ledger/locale/ve/cp b/sql-ledger/locale/ve/cp
new file mode 100644
index 0000000..91c9350
--- /dev/null
+++ b/sql-ledger/locale/ve/cp
@@ -0,0 +1,75 @@
+$self{texts} = {
+ 'Account' => 'Cuenta',
+ 'Address' => 'Dirección',
+ 'Amount' => 'Monto',
+ 'Amount does not equal applied!' => 'Monto no es igual!',
+ 'Amount missing!' => 'Falta monto!',
+ 'Applied' => 'Aplicado',
+ 'Cannot post payment!' => 'No puede registrar pago!',
+ 'Cannot process payment for a closed period!' => 'No puede procesar pago para ejercicio cerrado!',
+ 'Check' => 'Cheque',
+ 'Check printed!' => 'Cheque impreso!',
+ 'Check printing failed!' => 'No se pudo imprimir cheque!',
+ 'Continue' => 'Continuar',
+ 'Currency' => 'Divisa',
+ 'Customer' => 'Cliente',
+ 'Customer not on file!' => 'Cliente no existe en archivo!',
+ 'Date' => 'Fecha',
+ 'Date missing!' => 'Falta fecha!',
+ 'Description' => 'Descripción',
+ 'Due' => 'Vence',
+ 'Exchangerate' => 'Tasa de Cambio',
+ 'From' => 'Desde',
+ 'Invoice' => 'Factura',
+ 'Invoices' => 'Facturas',
+ 'Nothing applied!' => 'Nada aplicado!',
+ 'Number' => 'Número',
+ 'Paid in full' => 'Cancelado',
+ 'Payment' => 'Pago',
+ 'Payment posted!' => 'Pago registrado!',
+ 'Post' => 'Registrar',
+ 'Print' => 'Imprimir',
+ 'Printer' => 'Impresora',
+ 'Project not on file!' => 'Proyecto no archivado!',
+ 'Receipt' => 'Ingreso',
+ 'Reference' => 'Referencia',
+ 'Screen' => 'Pantalla',
+ 'Select from one of the names below' => 'Seleccione de uno de los nombres a continuación',
+ 'Select from one of the projects below' => 'Seleccione de uno de los proyectos a continuación',
+ 'Update' => 'Actualizar',
+ 'Vendor' => 'Proveedor',
+ 'Vendor not on file!' => 'Proveedor no está en archivo!',
+ 'to' => 'a',
+};
+
+$self{subs} = {
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'list_invoices' => 'list_invoices',
+ 'name_selected' => 'name_selected',
+ 'payment' => 'payment',
+ 'post' => 'post',
+ 'print' => 'print',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'vendor_details' => 'vendor_details',
+ 'continuar' => 'continue',
+ 'registrar' => 'post',
+ 'imprimir' => 'print',
+ 'actualizar' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/ve/ct b/sql-ledger/locale/ve/ct
new file mode 100644
index 0000000..60f585b
--- /dev/null
+++ b/sql-ledger/locale/ve/ct
@@ -0,0 +1,71 @@
+$self{texts} = {
+ 'Add' => 'Agregar',
+ 'Address' => 'Dirección',
+ 'All' => 'Todos',
+ 'Bcc' => 'Bcc',
+ 'Cannot delete customer!' => 'No puede borrar cliente!',
+ 'Cannot delete vendor!' => 'No puede borrar proveedor!',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Contacto',
+ 'Continue' => 'Continuar',
+ 'Credit Limit' => 'Límite de Crédito',
+ 'Customer deleted!' => 'Cliente borrado!',
+ 'Customer saved!' => 'Cliente guardado!',
+ 'Customers' => 'Clientes',
+ 'Delete' => 'Borrar',
+ 'Discount' => 'Descuento',
+ 'E-mail' => 'E-mail',
+ 'Edit Customer' => 'Editar Cliente',
+ 'Edit Vendor' => 'Editar Proveedor',
+ 'Fax' => 'Fax',
+ 'Include in Report' => 'Incluya en Reporte',
+ 'Invoice' => 'Factura',
+ 'Name' => 'Nombre',
+ 'Name missing!' => 'Falta nombre!',
+ 'Notes' => 'Comentario',
+ 'Number' => 'Número',
+ 'Order' => 'Orden',
+ 'Orphaned' => 'Huérfano',
+ 'Phone' => 'Teléfono',
+ 'Save' => 'Guardar',
+ 'Ship to' => 'Envíe a',
+ 'Tax Included' => 'Impuesto Incluido',
+ 'Taxable' => 'Base imponible',
+ 'Terms: Net' => 'Crédito a',
+ 'Transactions exist, cannot delete customer!' => 'No podemos borrar cliente, existen transacciones!',
+ 'Transactions exist, cannot delete vendor!' => 'No podemos borrar proveedor, existen transacciones!',
+ 'Vendor deleted!' => 'Proveedor borrado!',
+ 'Vendor saved!' => 'Proveedor guardado!',
+ 'Vendors' => 'Proveedores',
+ 'days' => 'días',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'customer_invoice' => 'customer_invoice',
+ 'customer_order' => 'customer_order',
+ 'delete' => 'delete',
+ 'delete_customer' => 'delete_customer',
+ 'delete_vendor' => 'delete_vendor',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'invoice' => 'invoice',
+ 'list_names' => 'list_names',
+ 'order' => 'order',
+ 'save' => 'save',
+ 'save_customer' => 'save_customer',
+ 'save_vendor' => 'save_vendor',
+ 'search' => 'search',
+ 'vendor_invoice' => 'vendor_invoice',
+ 'vendor_order' => 'vendor_order',
+ 'agregar' => 'add',
+ 'continuar' => 'continue',
+ 'borrar' => 'delete',
+ 'factura' => 'invoice',
+ 'orden' => 'order',
+ 'guardar' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/ve/gl b/sql-ledger/locale/ve/gl
new file mode 100644
index 0000000..06c4137
--- /dev/null
+++ b/sql-ledger/locale/ve/gl
@@ -0,0 +1,124 @@
+$self{texts} = {
+ 'AP Transaction' => 'Cuenta por Pagar',
+ 'AR Transaction' => 'Cuenta por Cobrar',
+ 'Account' => 'Cuenta',
+ 'Add General Ledger Transaction' => 'Agregar Transacción al Mayor General',
+ 'Address' => 'Dirección',
+ 'All' => 'Todos',
+ 'Apr' => 'abr',
+ 'April' => 'de abril',
+ 'Are you sure you want to delete Transaction' => '¿Seguro que desea borrar Transacción?',
+ 'Asset' => 'Activo',
+ 'Aug' => 'ago',
+ 'August' => 'de agosto',
+ 'Balance' => 'Balance',
+ 'Cannot delete transaction!' => 'No puede borrar transacción!',
+ 'Cannot have a value in both Debit and Credit!' => 'No puede haber Débito y Crédito simultáneamente!',
+ 'Cannot post a transaction without a value!' => 'No puede registrar transacción sin monto!',
+ 'Cannot post transaction for a closed period!' => 'No puede registrar transacción para ejercicio cerrado!',
+ 'Confirm!' => 'Confirmar!',
+ 'Continue' => 'Continuar',
+ 'Credit' => 'Crédito',
+ 'Customer not on file!' => 'Cliente no existe en archivo!',
+ 'Date' => 'Fecha',
+ 'Debit' => 'Débito',
+ 'Debit and credit out of balance!' => 'Débito y Crédito fuera de balance!',
+ 'Dec' => 'dic',
+ 'December' => 'de diciembre',
+ 'Delete' => 'Borrar',
+ 'Description' => 'Descripción',
+ 'Edit General Ledger Transaction' => 'Editar Transacción de Mayor General',
+ 'Equity' => 'Capital',
+ 'Expense' => 'Egreso',
+ 'Feb' => 'feb',
+ 'February' => 'de febrero',
+ 'From' => 'Desde',
+ 'GIFI' => 'GIFI',
+ 'GL Transaction' => 'Transacción de mayor',
+ 'General Ledger' => 'Mayor General',
+ 'ID' => 'ID',
+ 'Include in Report' => 'Incluya en Reporte',
+ 'Income' => 'Ingreso',
+ 'Jan' => 'ene',
+ 'January' => 'de enero',
+ 'Jul' => 'jul',
+ 'July' => 'de julio',
+ 'Jun' => 'jun',
+ 'June' => 'de junio',
+ 'Liability' => 'Pasivo',
+ 'Mar' => 'mar',
+ 'March' => 'de marzo',
+ 'May' => 'may',
+ 'May ' => 'de mayo',
+ 'Notes' => 'Comentario',
+ 'Nov' => 'nov',
+ 'November' => 'de noviembre',
+ 'Number' => 'Número',
+ 'Oct' => 'oct',
+ 'October' => 'de octubre',
+ 'Post' => 'Registrar',
+ 'Post as new' => 'Registrar como nuevo',
+ 'Project' => 'Proyecto',
+ 'Project not on file!' => 'Proyecto no archivado!',
+ 'Purchase Invoice' => 'Factura de Compra',
+ 'Reference' => 'Referencia',
+ 'Reference missing!' => 'Falta referencia!',
+ 'Reports' => 'Reportes',
+ 'Sales Invoice' => 'Factura de Venta',
+ 'Select from one of the names below' => 'Seleccione de uno de los nombres a continuación',
+ 'Select from one of the projects below' => 'Seleccione de uno de los proyectos a continuación',
+ 'Sep' => 'sep',
+ 'September' => 'de septiembre',
+ 'Source' => 'Referencia',
+ 'Subtotal' => 'Subtotal',
+ 'Transaction Date missing!' => 'Falta Fecha Transacción!',
+ 'Transaction deleted!' => 'Transacción borrada!',
+ 'Transaction posted!' => 'Transacción registrada!',
+ 'Update' => 'Actualizar',
+ 'Vendor not on file!' => 'Proveedor no está en archivo!',
+ 'Yes' => ' Sí ',
+ 'to' => 'a',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'form_row' => 'form_row',
+ 'generate_report' => 'generate_report',
+ 'gl_subtotal' => 'gl_subtotal',
+ 'gl_transaction' => 'gl_transaction',
+ 'name_selected' => 'name_selected',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'search' => 'search',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'update' => 'update',
+ 'yes' => 'yes',
+ 'cuenta_por_pagar' => 'ap_transaction',
+ 'cuenta_por_cobrar' => 'ar_transaction',
+ 'continuar' => 'continue',
+ 'borrar' => 'delete',
+ 'transacción_de_mayor' => 'gl_transaction',
+ 'registrar' => 'post',
+ 'registrar_como_nuevo' => 'post_as_new',
+ 'factura_de_compra' => 'purchase_invoice',
+ 'factura_de_venta' => 'sales_invoice',
+ 'actualizar' => 'update',
+ '_sí_' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/ve/ic b/sql-ledger/locale/ve/ic
new file mode 100644
index 0000000..9c4e9c8
--- /dev/null
+++ b/sql-ledger/locale/ve/ic
@@ -0,0 +1,206 @@
+$self{texts} = {
+ 'Active' => 'Activa',
+ 'Add' => 'Agregar',
+ 'Add Assembly' => 'Agregar Conjunto',
+ 'Add Part' => 'Agregar Item',
+ 'Add Purchase Order' => 'Agregar Orden de Compra',
+ 'Add Sales Order' => 'Agregar Pedido',
+ 'Add Service' => 'Agregar Servicio',
+ 'Address' => 'Dirección',
+ 'Apr' => 'abr',
+ 'April' => 'de abril',
+ 'Assemblies' => 'Conjuntos',
+ 'Assemblies restocked!' => 'Conjuntos re-inventariados',
+ 'Assembly Number missing!' => 'Falta Número Conjunto!',
+ 'Attachment' => 'Anexo',
+ 'Aug' => 'ago',
+ 'August' => 'de agosto',
+ 'BOM' => 'Lista de Materiales',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Ubicación',
+ 'Bought' => 'Comprado',
+ 'COGS' => 'Costo Perpetuo',
+ 'Cannot delete item already invoiced!' => 'No puede borrar ítem facturado!',
+ 'Cannot delete item on order!' => 'No puede borrar ítem pedido!',
+ 'Cannot delete item which is part of an assembly!' => 'No puede borrar ítem parte de conjunto!',
+ 'Cannot delete item!' => 'No puede borrar ítem!',
+ 'Cannot stock assemblies!' => 'No puede inventariar conjuntos!',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Contacto',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Copias',
+ 'Dec' => 'dic',
+ 'December' => 'de diciembre',
+ 'Delete' => 'Borrar',
+ 'Delivery Date' => 'Fecha de Entrega',
+ 'Description' => 'Descripción',
+ 'Drawing' => 'Retiro',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'Falta dirección E-mail!',
+ 'Edit Assembly' => 'Editar Conjunto',
+ 'Edit Part' => 'Editar Item',
+ 'Edit Service' => 'Editar Servicio',
+ 'Expense' => 'Egreso',
+ 'Extended' => 'Extendido',
+ 'Fax' => 'Fax',
+ 'Feb' => 'feb',
+ 'February' => 'de febrero',
+ 'From' => 'Desde',
+ 'Image' => 'Imagen',
+ 'In-line' => 'Incorporado',
+ 'Include in Report' => 'Incluya en Reporte',
+ 'Income' => 'Ingreso',
+ 'Individual Items' => 'Items Individuales',
+ 'Inventory' => 'Inventario',
+ 'Inventory quantity must be zero before you can set this assembly obsolete!' => 'Existencia debe ser cero antes de hacer obsoleto a este conjunto!',
+ 'Inventory quantity must be zero before you can set this part obsolete!' => 'Existencia debe ser cero antes de hacer obsoleto este ítem!',
+ 'Inventory quantity must be zero!' => 'Existencia debe ser cero!',
+ 'Invoice' => 'Factura',
+ 'Invoice Date missing!' => 'Falta Fecha Factura!',
+ 'Invoice Number' => 'Número Factura',
+ 'Invoice Number missing!' => 'Falta Número Factura!',
+ 'Item deleted!' => 'Item borrado!',
+ 'Item not on file!' => 'Item no archivado!',
+ 'Jan' => 'ene',
+ 'January' => 'de enero',
+ 'Jul' => 'jul',
+ 'July' => 'de julio',
+ 'Jun' => 'jun',
+ 'June' => 'de junio',
+ 'Last Cost' => 'Ultimo Costo',
+ 'Line Total' => 'Total línea',
+ 'Link Accounts' => 'Vincular Cuentas',
+ 'List Price' => 'Precio de Lista',
+ 'Make' => 'Marca',
+ 'Mar' => 'mar',
+ 'March' => 'de marzo',
+ 'May' => 'may',
+ 'May ' => 'de mayo',
+ 'Message' => 'Mensaje',
+ 'Microfiche' => 'Microficha',
+ 'Model' => 'Modelo',
+ 'Name' => 'Nombre',
+ 'No.' => 'No.',
+ 'Notes' => 'Comentario',
+ 'Nov' => 'nov',
+ 'November' => 'de noviembre',
+ 'Number' => 'Número',
+ 'Number missing in Row' => 'Falta número en Hilera',
+ 'Obsolete' => 'Obsoleto',
+ 'Oct' => 'oct',
+ 'October' => 'de octubre',
+ 'On Hand' => 'Existencia',
+ 'On Order' => 'Pedido',
+ 'Order' => 'Orden',
+ 'Order Date missing!' => 'Falta Fecha Pedido!',
+ 'Order Number' => 'Orden Número',
+ 'Order Number missing!' => 'Falta Número de Orden',
+ 'Ordered' => 'Pedido',
+ 'Orphaned' => 'Huérfano',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Lista de Empaque',
+ 'Packing List Date missing!' => 'Falta Fecha en Nota de Entrega',
+ 'Packing List Number missing!' => 'Falta Número en Nota de Entrega',
+ 'Part' => 'Item',
+ 'Part Number missing!' => 'Falta Número de Item!',
+ 'Parts' => 'Items',
+ 'Phone' => 'Teléfono',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Precio',
+ 'Printer' => 'Impresora',
+ 'Project' => 'Proyecto',
+ 'Purchase Order' => 'Orden de Compra',
+ 'Qty' => 'Cnt',
+ 'ROP' => 'Existencia mínima',
+ 'Recd' => 'Rec',
+ 'Required by' => 'Requerido para el',
+ 'Sales' => 'Ventas',
+ 'Sales Order' => 'Pedido',
+ 'Save' => 'Guardar',
+ 'Screen' => 'Pantalla',
+ 'Select from one of the items below' => 'Seleccione uno de los ítems listados',
+ 'Select postscript or PDF!' => 'Seleccione postscript o PDF',
+ 'Sell Price' => 'Precio de Venta',
+ 'Sep' => 'sep',
+ 'September' => 'de septiembre',
+ 'Service' => 'Servicio',
+ 'Service Number missing!' => 'Falta Número de Servicio!',
+ 'Services' => 'Servicios',
+ 'Ship' => 'Envíe',
+ 'Ship to' => 'Envíe a',
+ 'Short' => 'Corto',
+ 'Sold' => 'Vendido',
+ 'Stock Assembly' => 'Reponer Conjuntos',
+ 'Subject' => 'Materia',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'ISV',
+ 'To' => 'Hasta',
+ 'Top Level' => 'Nivel superior',
+ 'Total' => 'Total',
+ 'Unit' => 'Unidad',
+ 'Unit of measure' => 'Unidad de medida',
+ 'Update' => 'Actualizar',
+ 'Updated' => 'Actalizado',
+ 'Weight' => 'Peso',
+ 'What type of item is this?' => '¿Qué tipo de ítem es éste?',
+ 'ea' => 'cu',
+ 'emailed to' => 'enviado por email a',
+ 'hr' => 'hr',
+ 'sent to printer' => 'enviado a impresora',
+ 'to' => 'a',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'assembly_row' => 'assembly_row',
+ 'check_form' => 'check_form',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'delete_assembly' => 'delete_assembly',
+ 'delete_item' => 'delete_item',
+ 'delete_part' => 'delete_part',
+ 'delete_service' => 'delete_service',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'link_part' => 'link_part',
+ 'list_assemblies' => 'list_assemblies',
+ 'makemodel_row' => 'makemodel_row',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'parts_subtotal' => 'parts_subtotal',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'restock_assemblies' => 'restock_assemblies',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'stock_assembly' => 'stock_assembly',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'agregar' => 'add',
+ 'agregar_conjunto' => 'add_assembly',
+ 'agregar_item' => 'add_part',
+ 'agregar_servicio' => 'add_service',
+ 'continuar' => 'continue',
+ 'borrar' => 'delete',
+ 'editar_conjunto' => 'edit_assembly',
+ 'editar_item' => 'edit_part',
+ 'editar_servicio' => 'edit_service',
+ 'guardar' => 'save',
+ 'actualizar' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/ve/io b/sql-ledger/locale/ve/io
new file mode 100644
index 0000000..9370f8f
--- /dev/null
+++ b/sql-ledger/locale/ve/io
@@ -0,0 +1,106 @@
+$self{texts} = {
+ 'Add Purchase Order' => 'Agregar Orden de Compra',
+ 'Add Sales Order' => 'Agregar Pedido',
+ 'Address' => 'Dirección',
+ 'Apr' => 'abr',
+ 'April' => 'de abril',
+ 'Attachment' => 'Anexo',
+ 'Aug' => 'ago',
+ 'August' => 'de agosto',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Ubicación',
+ 'Cc' => 'Cc',
+ 'Contact' => 'Contacto',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Copias',
+ 'Dec' => 'dic',
+ 'December' => 'de diciembre',
+ 'Delivery Date' => 'Fecha de Entrega',
+ 'Description' => 'Descripción',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'Falta dirección E-mail!',
+ 'Extended' => 'Extendido',
+ 'Fax' => 'Fax',
+ 'Feb' => 'feb',
+ 'February' => 'de febrero',
+ 'In-line' => 'Incorporado',
+ 'Invoice' => 'Factura',
+ 'Invoice Date missing!' => 'Falta Fecha Factura!',
+ 'Invoice Number missing!' => 'Falta Número Factura!',
+ 'Item not on file!' => 'Item no archivado!',
+ 'Jan' => 'ene',
+ 'January' => 'de enero',
+ 'Jul' => 'jul',
+ 'July' => 'de julio',
+ 'Jun' => 'jun',
+ 'June' => 'de junio',
+ 'Mar' => 'mar',
+ 'March' => 'de marzo',
+ 'May' => 'may',
+ 'May ' => 'de mayo',
+ 'Message' => 'Mensaje',
+ 'Name' => 'Nombre',
+ 'No.' => 'No.',
+ 'Nov' => 'nov',
+ 'November' => 'de noviembre',
+ 'Number' => 'Número',
+ 'Number missing in Row' => 'Falta número en Hilera',
+ 'Oct' => 'oct',
+ 'October' => 'de octubre',
+ 'Order' => 'Orden',
+ 'Order Date missing!' => 'Falta Fecha Pedido!',
+ 'Order Number missing!' => 'Falta Número de Orden',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Lista de Empaque',
+ 'Packing List Date missing!' => 'Falta Fecha en Nota de Entrega',
+ 'Packing List Number missing!' => 'Falta Número en Nota de Entrega',
+ 'Part' => 'Item',
+ 'Phone' => 'Teléfono',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Precio',
+ 'Printer' => 'Impresora',
+ 'Project' => 'Proyecto',
+ 'Purchase Order' => 'Orden de Compra',
+ 'Qty' => 'Cnt',
+ 'Recd' => 'Rec',
+ 'Required by' => 'Requerido para el',
+ 'Sales Order' => 'Pedido',
+ 'Screen' => 'Pantalla',
+ 'Select from one of the items below' => 'Seleccione uno de los ítems listados',
+ 'Select postscript or PDF!' => 'Seleccione postscript o PDF',
+ 'Sep' => 'sep',
+ 'September' => 'de septiembre',
+ 'Service' => 'Servicio',
+ 'Ship' => 'Envíe',
+ 'Ship to' => 'Envíe a',
+ 'Subject' => 'Materia',
+ 'To' => 'Hasta',
+ 'Unit' => 'Unidad',
+ 'What type of item is this?' => '¿Qué tipo de ítem es éste?',
+ 'emailed to' => 'enviado por email a',
+ 'sent to printer' => 'enviado a impresora',
+};
+
+$self{subs} = {
+ 'check_form' => 'check_form',
+ 'customer_details' => 'customer_details',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post_as_new' => 'post_as_new',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'select_item' => 'select_item',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'continuar' => 'continue',
+};
+
+1;
diff --git a/sql-ledger/locale/ve/ir b/sql-ledger/locale/ve/ir
new file mode 100644
index 0000000..29eec22
--- /dev/null
+++ b/sql-ledger/locale/ve/ir
@@ -0,0 +1,178 @@
+$self{texts} = {
+ 'Account' => 'Cuenta',
+ 'Add Purchase Invoice' => 'Agregar Factura de Compra',
+ 'Add Purchase Order' => 'Agregar Orden de Compra',
+ 'Add Sales Order' => 'Agregar Pedido',
+ 'Address' => 'Dirección',
+ 'Amount' => 'Monto',
+ 'Apr' => 'abr',
+ 'April' => 'de abril',
+ 'Are you sure you want to delete Invoice Number' => '¿Seguro que desea borrar Factura?',
+ 'Attachment' => 'Anexo',
+ 'Aug' => 'ago',
+ 'August' => 'de agosto',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Ubicación',
+ 'Cannot delete invoice!' => 'No puede borraar factura!',
+ 'Cannot post invoice for a closed period!' => 'No puede registrar factura para ejercicio cerrado!',
+ 'Cannot post invoice!' => 'No puede registrar factura!',
+ 'Cannot post payment for a closed period!' => 'No puede registrar pago para ejercicio cerrado',
+ 'Cc' => 'Cc',
+ 'Confirm!' => 'Confirmar!',
+ 'Contact' => 'Contacto',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Copias',
+ 'Currency' => 'Divisa',
+ 'Customer not on file!' => 'Cliente no existe en archivo!',
+ 'Date' => 'Fecha',
+ 'Date Due' => 'Vencimiento',
+ 'Dec' => 'dic',
+ 'December' => 'de diciembre',
+ 'Delete' => 'Borrar',
+ 'Delivery Date' => 'Fecha de Entrega',
+ 'Description' => 'Descripción',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'Falta dirección E-mail!',
+ 'Edit Purchase Invoice' => 'Editar Factura de Compra',
+ 'Exch' => 'Tasa',
+ 'Exchangerate' => 'Tasa de Cambio',
+ 'Exchangerate for payment missing!' => 'No se encuentra pago por cambio de moneda',
+ 'Exchangerate missing!' => 'No se encuentra cambio de moneda',
+ 'Extended' => 'Extendido',
+ 'Fax' => 'Fax',
+ 'Feb' => 'feb',
+ 'February' => 'de febrero',
+ 'In-line' => 'Incorporado',
+ 'Invoice' => 'Factura',
+ 'Invoice Date' => 'Fecha Factura',
+ 'Invoice Date missing!' => 'Falta Fecha Factura!',
+ 'Invoice Number' => 'Número Factura',
+ 'Invoice Number missing!' => 'Falta Número Factura!',
+ 'Invoice deleted!' => 'Factura borrada!',
+ 'Invoice posted!' => 'Factura registrada!',
+ 'Item not on file!' => 'Item no archivado!',
+ 'Jan' => 'ene',
+ 'January' => 'de enero',
+ 'Jul' => 'jul',
+ 'July' => 'de julio',
+ 'Jun' => 'jun',
+ 'June' => 'de junio',
+ 'Mar' => 'mar',
+ 'March' => 'de marzo',
+ 'May' => 'may',
+ 'May ' => 'de mayo',
+ 'Message' => 'Mensaje',
+ 'Name' => 'Nombre',
+ 'No.' => 'No.',
+ 'Notes' => 'Comentario',
+ 'Nov' => 'nov',
+ 'November' => 'de noviembre',
+ 'Number' => 'Número',
+ 'Number missing in Row' => 'Falta número en Hilera',
+ 'Oct' => 'oct',
+ 'October' => 'de octubre',
+ 'Order' => 'Orden',
+ 'Order Date missing!' => 'Falta Fecha Pedido!',
+ 'Order Number' => 'Orden Número',
+ 'Order Number missing!' => 'Falta Número de Orden',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Lista de Empaque',
+ 'Packing List Date missing!' => 'Falta Fecha en Nota de Entrega',
+ 'Packing List Number missing!' => 'Falta Número en Nota de Entrega',
+ 'Part' => 'Item',
+ 'Payment date missing!' => 'Falta Fecha de Pago',
+ 'Payments' => 'Pagos',
+ 'Phone' => 'Teléfono',
+ 'Post' => 'Registrar',
+ 'Post as new' => 'Registrar como nuevo',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Precio',
+ 'Printer' => 'Impresora',
+ 'Project' => 'Proyecto',
+ 'Project not on file!' => 'Proyecto no archivado!',
+ 'Purchase Order' => 'Orden de Compra',
+ 'Qty' => 'Cnt',
+ 'Recd' => 'Rec',
+ 'Record in' => 'Registrar en',
+ 'Required by' => 'Requerido para el',
+ 'Sales Order' => 'Pedido',
+ 'Screen' => 'Pantalla',
+ 'Select from one of the items below' => 'Seleccione uno de los ítems listados',
+ 'Select from one of the names below' => 'Seleccione de uno de los nombres a continuación',
+ 'Select from one of the projects below' => 'Seleccione de uno de los proyectos a continuación',
+ 'Select postscript or PDF!' => 'Seleccione postscript o PDF',
+ 'Sep' => 'sep',
+ 'September' => 'de septiembre',
+ 'Service' => 'Servicio',
+ 'Ship' => 'Envíe',
+ 'Ship to' => 'Envíe a',
+ 'Source' => 'Referencia',
+ 'Subject' => 'Materia',
+ 'Subtotal' => 'Subtotal',
+ 'Tax Included' => 'Impuesto Incluido',
+ 'To' => 'Hasta',
+ 'Total' => 'Total',
+ 'Unit' => 'Unidad',
+ 'Update' => 'Actualizar',
+ 'Vendor' => 'Proveedor',
+ 'Vendor missing!' => 'Falta proveedor',
+ 'Vendor not on file!' => 'Proveedor no está en archivo!',
+ 'What type of item is this?' => '¿Qué tipo de ítem es éste?',
+ 'Yes' => ' Sí ',
+ 'ea' => 'cu',
+ 'emailed to' => 'enviado por email a',
+ 'sent to printer' => 'enviado a impresora',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'continuar' => 'continue',
+ 'borrar' => 'delete',
+ 'orden' => 'order',
+ 'registrar' => 'post',
+ 'registrar_como_nuevo' => 'post_as_new',
+ 'actualizar' => 'update',
+ '_sí_' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/ve/is b/sql-ledger/locale/ve/is
new file mode 100644
index 0000000..28d7abd
--- /dev/null
+++ b/sql-ledger/locale/ve/is
@@ -0,0 +1,185 @@
+$self{texts} = {
+ 'Account' => 'Cuenta',
+ 'Add Purchase Order' => 'Agregar Orden de Compra',
+ 'Add Sales Invoice' => 'Agregar Factura de Venta',
+ 'Add Sales Order' => 'Agregar Pedido',
+ 'Address' => 'Dirección',
+ 'Amount' => 'Monto',
+ 'Apr' => 'abr',
+ 'April' => 'de abril',
+ 'Are you sure you want to delete Invoice Number' => '¿Seguro que desea borrar Factura?',
+ 'Attachment' => 'Anexo',
+ 'Aug' => 'ago',
+ 'August' => 'de agosto',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Ubicación',
+ 'Cannot delete invoice!' => 'No puede borraar factura!',
+ 'Cannot post invoice for a closed period!' => 'No puede registrar factura para ejercicio cerrado!',
+ 'Cannot post invoice!' => 'No puede registrar factura!',
+ 'Cannot post payment for a closed period!' => 'No puede registrar pago para ejercicio cerrado',
+ 'Cc' => 'Cc',
+ 'Confirm!' => 'Confirmar!',
+ 'Contact' => 'Contacto',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Copias',
+ 'Credit Limit' => 'Límite de Crédito',
+ 'Currency' => 'Divisa',
+ 'Customer' => 'Cliente',
+ 'Customer missing!' => 'Falta cliente!',
+ 'Customer not on file!' => 'Cliente no existe en archivo!',
+ 'Date' => 'Fecha',
+ 'Date Due' => 'Vencimiento',
+ 'Dec' => 'dic',
+ 'December' => 'de diciembre',
+ 'Delete' => 'Borrar',
+ 'Delivery Date' => 'Fecha de Entrega',
+ 'Description' => 'Descripción',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'Falta dirección E-mail!',
+ 'Edit Sales Invoice' => 'Editar Factura de Venta',
+ 'Exch' => 'Tasa',
+ 'Exchangerate' => 'Tasa de Cambio',
+ 'Exchangerate for payment missing!' => 'No se encuentra pago por cambio de moneda',
+ 'Exchangerate missing!' => 'No se encuentra cambio de moneda',
+ 'Extended' => 'Extendido',
+ 'Fax' => 'Fax',
+ 'Feb' => 'feb',
+ 'February' => 'de febrero',
+ 'In-line' => 'Incorporado',
+ 'Invoice' => 'Factura',
+ 'Invoice Date' => 'Fecha Factura',
+ 'Invoice Date missing!' => 'Falta Fecha Factura!',
+ 'Invoice Number' => 'Número Factura',
+ 'Invoice Number missing!' => 'Falta Número Factura!',
+ 'Invoice deleted!' => 'Factura borrada!',
+ 'Invoice posted!' => 'Factura registrada!',
+ 'Item not on file!' => 'Item no archivado!',
+ 'Jan' => 'ene',
+ 'January' => 'de enero',
+ 'Jul' => 'jul',
+ 'July' => 'de julio',
+ 'Jun' => 'jun',
+ 'June' => 'de junio',
+ 'Mar' => 'mar',
+ 'March' => 'de marzo',
+ 'May' => 'may',
+ 'May ' => 'de mayo',
+ 'Message' => 'Mensaje',
+ 'Name' => 'Nombre',
+ 'No.' => 'No.',
+ 'Notes' => 'Comentario',
+ 'Nov' => 'nov',
+ 'November' => 'de noviembre',
+ 'Number' => 'Número',
+ 'Number missing in Row' => 'Falta número en Hilera',
+ 'Oct' => 'oct',
+ 'October' => 'de octubre',
+ 'Order' => 'Orden',
+ 'Order Date missing!' => 'Falta Fecha Pedido!',
+ 'Order Number' => 'Orden Número',
+ 'Order Number missing!' => 'Falta Número de Orden',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Lista de Empaque',
+ 'Packing List Date missing!' => 'Falta Fecha en Nota de Entrega',
+ 'Packing List Number missing!' => 'Falta Número en Nota de Entrega',
+ 'Part' => 'Item',
+ 'Payment date missing!' => 'Falta Fecha de Pago',
+ 'Payments' => 'Pagos',
+ 'Phone' => 'Teléfono',
+ 'Post' => 'Registrar',
+ 'Post as new' => 'Registrar como nuevo',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Precio',
+ 'Print' => 'Imprimir',
+ 'Printer' => 'Impresora',
+ 'Project' => 'Proyecto',
+ 'Project not on file!' => 'Proyecto no archivado!',
+ 'Purchase Order' => 'Orden de Compra',
+ 'Qty' => 'Cnt',
+ 'Recd' => 'Rec',
+ 'Record in' => 'Registrar en',
+ 'Remaining' => 'Quedan',
+ 'Required by' => 'Requerido para el',
+ 'Sales Order' => 'Pedido',
+ 'Screen' => 'Pantalla',
+ 'Select from one of the items below' => 'Seleccione uno de los ítems listados',
+ 'Select from one of the names below' => 'Seleccione de uno de los nombres a continuación',
+ 'Select from one of the projects below' => 'Seleccione de uno de los proyectos a continuación',
+ 'Select postscript or PDF!' => 'Seleccione postscript o PDF',
+ 'Sep' => 'sep',
+ 'September' => 'de septiembre',
+ 'Service' => 'Servicio',
+ 'Ship' => 'Envíe',
+ 'Ship to' => 'Envíe a',
+ 'Ship via' => 'Envía vía',
+ 'Source' => 'Referencia',
+ 'Subject' => 'Materia',
+ 'Subtotal' => 'Subtotal',
+ 'Tax Included' => 'Impuesto Incluido',
+ 'To' => 'Hasta',
+ 'Total' => 'Total',
+ 'Unit' => 'Unidad',
+ 'Update' => 'Actualizar',
+ 'Vendor not on file!' => 'Proveedor no está en archivo!',
+ 'What type of item is this?' => '¿Qué tipo de ítem es éste?',
+ 'Yes' => ' Sí ',
+ 'ea' => 'cu',
+ 'emailed to' => 'enviado por email a',
+ 'sent to printer' => 'enviado a impresora',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice_links' => 'invoice_links',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'post' => 'post',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_invoice' => 'prepare_invoice',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'continuar' => 'continue',
+ 'borrar' => 'delete',
+ 'e_mail' => 'e_mail',
+ 'orden' => 'order',
+ 'registrar' => 'post',
+ 'registrar_como_nuevo' => 'post_as_new',
+ 'imprimir' => 'print',
+ 'envíe_a' => 'ship_to',
+ 'actualizar' => 'update',
+ '_sí_' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/ve/login b/sql-ledger/locale/ve/login
new file mode 100644
index 0000000..0546b90
--- /dev/null
+++ b/sql-ledger/locale/ve/login
@@ -0,0 +1,27 @@
+$self{texts} = {
+ 'About' => 'Acerca de',
+ 'Database Host' => 'Servidor de base de datos',
+ 'Dataset' => 'Base de datos',
+ 'Incorrect Dataset version!' => 'Versión incorrecta de base de datos!',
+ 'Incorrect Password!' => 'Contraseña equivocada',
+ 'Licensed to' => 'Licenciatario',
+ 'Login' => 'Login',
+ 'Name' => 'Nombre',
+ 'Password' => 'Contraseña',
+ 'User' => 'Usuario',
+ 'Version' => 'Versión',
+ 'You are logged out!' => 'Ha salido del sistema!',
+ 'You did not enter a name!' => 'No se ingresó un nombre!',
+ 'is not a member!' => 'no es miembro!',
+ 'localhost' => 'localhost',
+};
+
+$self{subs} = {
+ 'company_logo' => 'company_logo',
+ 'login' => 'login',
+ 'login_screen' => 'login_screen',
+ 'logout' => 'logout',
+ 'login' => 'login',
+};
+
+1;
diff --git a/sql-ledger/locale/ve/menu b/sql-ledger/locale/ve/menu
new file mode 100644
index 0000000..063e0af
--- /dev/null
+++ b/sql-ledger/locale/ve/menu
@@ -0,0 +1,71 @@
+$self{texts} = {
+ 'AP' => 'CXP',
+ 'AP Aging' => 'Vencimientos',
+ 'AR' => 'CXC',
+ 'AR Aging' => 'Vencimientos',
+ 'Accounting Menu' => 'Menú de Contabilidad',
+ 'Add Account' => 'Agregar Cuenta',
+ 'Add Assembly' => 'Agregar Conjunto',
+ 'Add Customer' => 'Agregar Cliente',
+ 'Add GIFI' => 'Agregar GIFI',
+ 'Add Part' => 'Agregar Item',
+ 'Add Project' => 'Agregar Proyecto',
+ 'Add Service' => 'Agregar Servicio',
+ 'Add Transaction' => 'Agregar Transacción',
+ 'Add Vendor' => 'Agregar Proveedor',
+ 'Assemblies' => 'Conjuntos',
+ 'Audit Control' => 'Control de Auditoría',
+ 'Backup' => 'Respaldos',
+ 'Balance Sheet' => 'Hoja de Balance',
+ 'Cash' => 'Caja',
+ 'Chart of Accounts' => 'Plan de Cuentas',
+ 'Check' => 'Cheque',
+ 'Customers' => 'Clientes',
+ 'General Ledger' => 'Mayor General',
+ 'Goods & Services' => 'Bienes y Servicios',
+ 'HTML Templates' => 'Plantillas HTML',
+ 'Income Statement' => 'Estado de Cuentas de Ingreso',
+ 'Invoice' => 'Factura',
+ 'LaTeX Templates' => 'Plantillas LaTeX',
+ 'List Accounts' => 'Listar cuentas',
+ 'List GIFI' => 'Listar GIFI',
+ 'Logout' => 'Salir del sistema',
+ 'Order Entry' => 'Pedidos<br>Ordenes de Compra',
+ 'Packing List' => 'Lista de Empaque',
+ 'Parts' => 'Items',
+ 'Payment' => 'Pago',
+ 'Payments' => 'Pagos',
+ 'Preferences' => 'Preferencias',
+ 'Projects' => 'Proyectos',
+ 'Purchase Invoice' => 'Factura de Compra',
+ 'Purchase Order' => 'Orden de Compra',
+ 'Purchase Orders' => 'Ordenes de Compra',
+ 'Receipt' => 'Ingreso',
+ 'Receipts' => 'Ingresos',
+ 'Reconciliation' => 'Conciliación',
+ 'Reports' => 'Reportes',
+ 'Sales Invoice' => 'Factura de Venta',
+ 'Sales Order' => 'Pedido',
+ 'Sales Orders' => 'Pedidos',
+ 'Save to File' => 'Respaldar a Archivo',
+ 'Send by E-Mail' => 'Enviar por E-Mail',
+ 'Services' => 'Servicios',
+ 'Statement' => 'Estado de Cuenta',
+ 'Stock Assembly' => 'Reponer Conjuntos',
+ 'Stylesheet' => 'Hoja de Estilo',
+ 'System' => 'Sistema',
+ 'Tax collected' => 'Impuesto recaudado',
+ 'Tax paid' => 'Impuesto pagado',
+ 'Transactions' => 'Transacciones',
+ 'Trial Balance' => 'Balance de Comprobación',
+ 'Vendors' => 'Proveedores',
+ 'Version' => 'Versión',
+};
+
+$self{subs} = {
+ 'acc_menu' => 'acc_menu',
+ 'display' => 'display',
+ 'section_menu' => 'section_menu',
+};
+
+1;
diff --git a/sql-ledger/locale/ve/oe b/sql-ledger/locale/ve/oe
new file mode 100644
index 0000000..899747c
--- /dev/null
+++ b/sql-ledger/locale/ve/oe
@@ -0,0 +1,200 @@
+$self{texts} = {
+ 'Add' => 'Agregar',
+ 'Add Purchase Invoice' => 'Agregar Factura de Compra',
+ 'Add Purchase Order' => 'Agregar Orden de Compra',
+ 'Add Sales Invoice' => 'Agregar Factura de Venta',
+ 'Add Sales Order' => 'Agregar Pedido',
+ 'Address' => 'Dirección',
+ 'Amount' => 'Monto',
+ 'Apr' => 'abr',
+ 'April' => 'de abril',
+ 'Are you sure you want to delete Order Number' => '¿Seguro que desea borrar Orden de Compra/Pedido?',
+ 'Attachment' => 'Anexo',
+ 'Aug' => 'ago',
+ 'August' => 'de agosto',
+ 'Bcc' => 'Bcc',
+ 'Bin' => 'Ubicación',
+ 'C' => 'C',
+ 'Cannot delete order!' => 'No puede borrar pedido!',
+ 'Cannot save order!' => 'No puede guardar órden!',
+ 'Cc' => 'Cc',
+ 'Closed' => 'Cerrado',
+ 'Confirm!' => 'Confirmar!',
+ 'Contact' => 'Contacto',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Copias',
+ 'Credit Limit' => 'Límite de Crédito',
+ 'Curr' => 'Div',
+ 'Currency' => 'Divisa',
+ 'Customer' => 'Cliente',
+ 'Customer missing!' => 'Falta cliente!',
+ 'Customer not on file!' => 'Cliente no existe en archivo!',
+ 'Date' => 'Fecha',
+ 'Dec' => 'dic',
+ 'December' => 'de diciembre',
+ 'Delete' => 'Borrar',
+ 'Delivery Date' => 'Fecha de Entrega',
+ 'Description' => 'Descripción',
+ 'E-mail' => 'E-mail',
+ 'E-mail address missing!' => 'Falta dirección E-mail!',
+ 'Edit Purchase Order' => 'Editar Orden de Compra',
+ 'Edit Sales Order' => 'Editar Pedido',
+ 'Exchangerate' => 'Tasa de Cambio',
+ 'Exchangerate missing!' => 'No se encuentra cambio de moneda',
+ 'Extended' => 'Extendido',
+ 'Fax' => 'Fax',
+ 'Feb' => 'feb',
+ 'February' => 'de febrero',
+ 'From' => 'Desde',
+ 'ID' => 'ID',
+ 'In-line' => 'Incorporado',
+ 'Include in Report' => 'Incluya en Reporte',
+ 'Invoice' => 'Factura',
+ 'Invoice Date missing!' => 'Falta Fecha Factura!',
+ 'Invoice Number missing!' => 'Falta Número Factura!',
+ 'Item not on file!' => 'Item no archivado!',
+ 'Jan' => 'ene',
+ 'January' => 'de enero',
+ 'Jul' => 'jul',
+ 'July' => 'de julio',
+ 'Jun' => 'jun',
+ 'June' => 'de junio',
+ 'Mar' => 'mar',
+ 'March' => 'de marzo',
+ 'May' => 'may',
+ 'May ' => 'de mayo',
+ 'Message' => 'Mensaje',
+ 'Name' => 'Nombre',
+ 'No.' => 'No.',
+ 'Notes' => 'Comentario',
+ 'Nov' => 'nov',
+ 'November' => 'de noviembre',
+ 'Number' => 'Número',
+ 'Number missing in Row' => 'Falta número en Hilera',
+ 'O' => 'O',
+ 'Oct' => 'oct',
+ 'October' => 'de octubre',
+ 'Open' => 'Abierto',
+ 'Order' => 'Orden',
+ 'Order Date' => 'Fecha Pedido',
+ 'Order Date missing!' => 'Falta Fecha Pedido!',
+ 'Order Number' => 'Orden Número',
+ 'Order Number missing!' => 'Falta Número de Orden',
+ 'Order deleted!' => 'Orden borrada!',
+ 'Order saved!' => 'Orden guardada!',
+ 'PDF' => 'PDF',
+ 'Packing List' => 'Lista de Empaque',
+ 'Packing List Date missing!' => 'Falta Fecha en Nota de Entrega',
+ 'Packing List Number missing!' => 'Falta Número en Nota de Entrega',
+ 'Part' => 'Item',
+ 'Phone' => 'Teléfono',
+ 'Postscript' => 'Postscript',
+ 'Price' => 'Precio',
+ 'Print' => 'Imprimir',
+ 'Printer' => 'Impresora',
+ 'Project' => 'Proyecto',
+ 'Project not on file!' => 'Proyecto no archivado!',
+ 'Purchase Order' => 'Orden de Compra',
+ 'Purchase Orders' => 'Ordenes de Compra',
+ 'Qty' => 'Cnt',
+ 'Recd' => 'Rec',
+ 'Remaining' => 'Quedan',
+ 'Required by' => 'Requerido para el',
+ 'Sales Order' => 'Pedido',
+ 'Sales Orders' => 'Pedidos',
+ 'Save' => 'Guardar',
+ 'Save as new' => 'Guardar como nuevo',
+ 'Screen' => 'Pantalla',
+ 'Select from one of the items below' => 'Seleccione uno de los ítems listados',
+ 'Select from one of the names below' => 'Seleccione de uno de los nombres a continuación',
+ 'Select from one of the projects below' => 'Seleccione de uno de los proyectos a continuación',
+ 'Select postscript or PDF!' => 'Seleccione postscript o PDF',
+ 'Sep' => 'sep',
+ 'September' => 'de septiembre',
+ 'Service' => 'Servicio',
+ 'Ship' => 'Envíe',
+ 'Ship to' => 'Envíe a',
+ 'Ship via' => 'Envía vía',
+ 'Subject' => 'Materia',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'ISV',
+ 'Tax Included' => 'Impuesto Incluido',
+ 'Terms: Net' => 'Crédito a',
+ 'To' => 'Hasta',
+ 'Total' => 'Total',
+ 'Unit' => 'Unidad',
+ 'Update' => 'Actualizar',
+ 'Vendor' => 'Proveedor',
+ 'Vendor missing!' => 'Falta proveedor',
+ 'Vendor not on file!' => 'Proveedor no está en archivo!',
+ 'What type of item is this?' => '¿Qué tipo de ítem es éste?',
+ 'Yes' => ' Sí ',
+ 'days' => 'días',
+ 'ea' => 'cu',
+ 'emailed to' => 'enviado por email a',
+ 'sent to printer' => 'enviado a impresora',
+ 'to' => 'a',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'add_transaction' => 'add_transaction',
+ 'ap_transaction' => 'ap_transaction',
+ 'ar_transaction' => 'ar_transaction',
+ 'check_form' => 'check_form',
+ 'check_name' => 'check_name',
+ 'check_project' => 'check_project',
+ 'continue' => 'continue',
+ 'create_backorder' => 'create_backorder',
+ 'customer_details' => 'customer_details',
+ 'delete' => 'delete',
+ 'display_form' => 'display_form',
+ 'display_row' => 'display_row',
+ 'e_mail' => 'e_mail',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'gl_transaction' => 'gl_transaction',
+ 'invoice' => 'invoice',
+ 'invoicetotal' => 'invoicetotal',
+ 'item_selected' => 'item_selected',
+ 'name_selected' => 'name_selected',
+ 'new_item' => 'new_item',
+ 'order' => 'order',
+ 'order_links' => 'order_links',
+ 'orders' => 'orders',
+ 'post_as_new' => 'post_as_new',
+ 'prepare_order' => 'prepare_order',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'project_selected' => 'project_selected',
+ 'purchase_invoice' => 'purchase_invoice',
+ 'sales_invoice' => 'sales_invoice',
+ 'save' => 'save',
+ 'save_as_new' => 'save_as_new',
+ 'search' => 'search',
+ 'select_item' => 'select_item',
+ 'select_name' => 'select_name',
+ 'select_project' => 'select_project',
+ 'send_email' => 'send_email',
+ 'ship_to' => 'ship_to',
+ 'subtotal' => 'subtotal',
+ 'update' => 'update',
+ 'validate_items' => 'validate_items',
+ 'vendor_details' => 'vendor_details',
+ 'yes' => 'yes',
+ 'agregar' => 'add',
+ 'continuar' => 'continue',
+ 'borrar' => 'delete',
+ 'e_mail' => 'e_mail',
+ 'factura' => 'invoice',
+ 'imprimir' => 'print',
+ 'guardar' => 'save',
+ 'guardar_como_nuevo' => 'save_as_new',
+ 'envíe_a' => 'ship_to',
+ 'actualizar' => 'update',
+ '_sí_' => 'yes',
+};
+
+1;
diff --git a/sql-ledger/locale/ve/pe b/sql-ledger/locale/ve/pe
new file mode 100644
index 0000000..cafe0af
--- /dev/null
+++ b/sql-ledger/locale/ve/pe
@@ -0,0 +1,35 @@
+$self{texts} = {
+ 'Add' => 'Agregar',
+ 'Add Project' => 'Agregar Proyecto',
+ 'All' => 'Todos',
+ 'Continue' => 'Continuar',
+ 'Delete' => 'Borrar',
+ 'Description' => 'Descripción',
+ 'Edit Project' => 'Editar Proyecto',
+ 'Number' => 'Número',
+ 'Orphaned' => 'Huérfano',
+ 'Project' => 'Proyecto',
+ 'Project Number missing!' => 'Falta número de proyecto!',
+ 'Project deleted!' => 'Proyecto borrado!',
+ 'Project saved!' => 'Proyecto guardado!',
+ 'Projects' => 'Proyectos',
+ 'Save' => 'Guardar',
+};
+
+$self{subs} = {
+ 'add' => 'add',
+ 'continue' => 'continue',
+ 'delete' => 'delete',
+ 'edit' => 'edit',
+ 'form_footer' => 'form_footer',
+ 'form_header' => 'form_header',
+ 'generate_report' => 'generate_report',
+ 'save' => 'save',
+ 'search' => 'search',
+ 'agregar' => 'add',
+ 'continuar' => 'continue',
+ 'borrar' => 'delete',
+ 'guardar' => 'save',
+};
+
+1;
diff --git a/sql-ledger/locale/ve/rc b/sql-ledger/locale/ve/rc
new file mode 100644
index 0000000..caeb32a
--- /dev/null
+++ b/sql-ledger/locale/ve/rc
@@ -0,0 +1,37 @@
+$self{texts} = {
+ 'Account' => 'Cuenta',
+ 'Balance' => 'Balance',
+ 'Cleared Balance' => 'Cleared Balance',
+ 'Continue' => 'Continuar',
+ 'Date' => 'Fecha',
+ 'Deposit' => 'Deposit',
+ 'Description' => 'Descripción',
+ 'Difference' => 'Diferencia',
+ 'Done' => 'Listo',
+ 'Exchangerate Difference' => 'Diferencial Dambiario',
+ 'From' => 'Desde',
+ 'Out of balance!' => 'Fuera de balance!',
+ 'Payment' => 'Pago',
+ 'Reconciliation' => 'Conciliación',
+ 'Select all' => 'Seleccione todos',
+ 'Source' => 'Referencia',
+ 'Statement Balance' => 'Balance Estado de Cuenta',
+ 'Update' => 'Actualizar',
+ 'to' => 'a',
+};
+
+$self{subs} = {
+ 'continue' => 'continue',
+ 'display_form' => 'display_form',
+ 'done' => 'done',
+ 'get_payments' => 'get_payments',
+ 'reconciliation' => 'reconciliation',
+ 'select_all' => 'select_all',
+ 'update' => 'update',
+ 'continuar' => 'continue',
+ 'listo' => 'done',
+ 'seleccione_todos' => 'select_all',
+ 'actualizar' => 'update',
+};
+
+1;
diff --git a/sql-ledger/locale/ve/rp b/sql-ledger/locale/ve/rp
new file mode 100644
index 0000000..bdc2bb6
--- /dev/null
+++ b/sql-ledger/locale/ve/rp
@@ -0,0 +1,116 @@
+$self{texts} = {
+ 'AP Aging' => 'Vencimientos',
+ 'AR Aging' => 'Vencimientos',
+ 'Account' => 'Cuenta',
+ 'Accounts' => 'Cuentas',
+ 'Amount' => 'Monto',
+ 'Apr' => 'abr',
+ 'April' => 'de abril',
+ 'Attachment' => 'Anexo',
+ 'Aug' => 'ago',
+ 'August' => 'de agosto',
+ 'Balance Sheet' => 'Hoja de Balance',
+ 'Bcc' => 'Bcc',
+ 'Cash based' => 'Cash based',
+ 'Cc' => 'Cc',
+ 'Compare to' => 'Comparar a',
+ 'Continue' => 'Continuar',
+ 'Copies' => 'Copias',
+ 'Credit' => 'Crédito',
+ 'Current' => 'Actual',
+ 'Customer' => 'Cliente',
+ 'Date' => 'Fecha',
+ 'Debit' => 'Débito',
+ 'Dec' => 'dic',
+ 'December' => 'de diciembre',
+ 'Decimalplaces' => 'Posiciones decimales',
+ 'Description' => 'Descripción',
+ 'Due' => 'Vence',
+ 'E-mail' => 'E-mail',
+ 'E-mail Statement to' => 'Enviar estado de cuenta por E-mail a',
+ 'Feb' => 'feb',
+ 'February' => 'de febrero',
+ 'From' => 'Desde',
+ 'GIFI' => 'GIFI',
+ 'Heading' => 'Encabezado',
+ 'ID' => 'ID',
+ 'In-line' => 'Incorporado',
+ 'Include in Report' => 'Incluya en Reporte',
+ 'Income Statement' => 'Estado de Cuentas de Ingreso',
+ 'Invoice' => 'Factura',
+ 'Jan' => 'ene',
+ 'January' => 'de enero',
+ 'Jul' => 'jul',
+ 'July' => 'de julio',
+ 'Jun' => 'jun',
+ 'June' => 'de junio',
+ 'Mar' => 'mar',
+ 'March' => 'de marzo',
+ 'May' => 'may',
+ 'May ' => 'de mayo',
+ 'Message' => 'Mensaje',
+ 'N/A' => 'N/D',
+ 'Nothing selected!' => 'Nada seleccionado!',
+ 'Nov' => 'nov',
+ 'November' => 'de noviembre',
+ 'Oct' => 'oct',
+ 'October' => 'de octubre',
+ 'PDF' => 'PDF',
+ 'Payments' => 'Pagos',
+ 'Postscript' => 'Postscript',
+ 'Print' => 'Imprimir',
+ 'Printer' => 'Impresora',
+ 'Receipts' => 'Ingresos',
+ 'Report for' => 'Reporte de',
+ 'Retained Earnings' => 'Ganancias Retenidas',
+ 'Screen' => 'Pantalla',
+ 'Select all' => 'Seleccione todos',
+ 'Select postscript or PDF!' => 'Seleccione postscript o PDF',
+ 'Sep' => 'sep',
+ 'September' => 'de septiembre',
+ 'Source' => 'Referencia',
+ 'Standard' => 'Standard',
+ 'Statement' => 'Estado de Cuenta',
+ 'Statement sent to' => 'Estado de Cuenta enviado a',
+ 'Statements sent to printer!' => 'Estados de Cuenta enviados a impresora!',
+ 'Subject' => 'Materia',
+ 'Subtotal' => 'Subtotal',
+ 'Tax' => 'ISV',
+ 'Tax collected' => 'Impuesto recaudado',
+ 'Tax paid' => 'Impuesto pagado',
+ 'Total' => 'Total',
+ 'Trial Balance' => 'Balance de Comprobación',
+ 'Vendor' => 'Proveedor',
+ 'as at' => 'Al',
+ 'collected on sales' => 'recaudado sobre ventas',
+ 'for Period' => 'para el período',
+ 'paid on purchases' => 'pagado sobre compras',
+ 'to' => 'a',
+};
+
+$self{subs} = {
+ 'aging' => 'aging',
+ 'continue' => 'continue',
+ 'e_mail' => 'e_mail',
+ 'generate_ap_aging' => 'generate_ap_aging',
+ 'generate_ar_aging' => 'generate_ar_aging',
+ 'generate_balance_sheet' => 'generate_balance_sheet',
+ 'generate_income_statement' => 'generate_income_statement',
+ 'generate_tax_report' => 'generate_tax_report',
+ 'generate_trial_balance' => 'generate_trial_balance',
+ 'list_payments' => 'list_payments',
+ 'print' => 'print',
+ 'print_form' => 'print_form',
+ 'print_options' => 'print_options',
+ 'report' => 'report',
+ 'select_all' => 'select_all',
+ 'send_email' => 'send_email',
+ 'statement_details' => 'statement_details',
+ 'tax_subtotal' => 'tax_subtotal',
+ 'continuar' => 'continue',
+ 'e_mail' => 'e_mail',
+ 'imprimir' => 'print',
+ 'seleccione_todos' => 'select_all',
+};
+
+1;
diff --git a/sql-ledger/login.pl b/sql-ledger/login.pl
new file mode 100755
index 0000000..726c780
--- /dev/null
+++ b/sql-ledger/login.pl
@@ -0,0 +1,132 @@
+#!/usr/bin/perl
+#
+######################################################################
+# SQL-Ledger Accounting
+# Copyright (C) 2001
+#
+# Author: Dieter Simader
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+# Contributors:
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#######################################################################
+#
+# this script sets up the terminal and runs the scripts
+# in bin/$terminal directory
+# admin.pl is linked to this script
+#
+#######################################################################
+
+
+# setup defaults, these are overidden by sql-ledger.conf
+# DO NOT CHANGE
+$userspath = "users";
+$templates = "templates";
+$memberfile = "users/members";
+$sendmail = "| /usr/sbin/sendmail -t";
+########## end ###########################################
+
+
+$| = 1;
+
+eval { require "sql-ledger.conf"; };
+
+if (-e "$userspath/nologin") {
+ print "
+Login disabled!\n";
+
+ exit;
+}
+
+
+if ($ENV{CONTENT_LENGTH}) {
+ read(STDIN, $_, $ENV{CONTENT_LENGTH});
+}
+
+if ($ENV{QUERY_STRING}) {
+ $_ = $ENV{QUERY_STRING};
+}
+
+if ($ARGV[0]) {
+ $_ = $ARGV[0];
+}
+
+
+%form = split /[&=]/;
+
+# fix for apache 2.0
+map { $form{$_} =~ s/\\$// } keys %form;
+
+# name of this script
+$0 =~ tr/\\/\//;
+$pos = rindex $0, '/';
+$script = substr($0, $pos + 1);
+
+
+if ($form{path}) {
+ $form{path} =~ s/%2[fF]/\//g;
+ $form{path} =~ s/\.\.\///g;
+
+ if ($form{path} !~ /^bin\//) {
+ print "
+Invalid path!\n";
+ die;
+ }
+
+
+ $ARGV[0] = "$_&script=$script";
+ require "$form{path}/$script";
+} else {
+
+ if (!$form{terminal}) {
+ if ($ENV{HTTP_USER_AGENT}) {
+ # web browser
+ if ($ENV{HTTP_USER_AGENT} =~ /(mozilla|links|opera|w3m)/i) {
+ $form{terminal} = "mozilla";
+ }
+
+ if ($ENV{HTTP_USER_AGENT} =~ /lynx/i) {
+ $form{terminal} = "lynx";
+ }
+ } else {
+ if ($ENV{TERM} =~ /xterm/) {
+ $form{terminal} = "xterm";
+ }
+ if ($ENV{TERM} =~ /(console|linux|vt.*)/i) {
+ $form{terminal} = "console";
+ }
+ }
+ }
+
+
+ if ($form{terminal}) {
+
+ $ARGV[0] = "path=bin/$form{terminal}&script=$script";
+ map { $ARGV[0] .= "&${_}=$form{$_}" } keys %form;
+
+ require "bin/$form{terminal}/$script";
+
+ } else {
+
+ print qq|
+ Unknown terminal
+ |;
+ }
+
+}
+
+# end of main
+
diff --git a/sql-ledger/menu.ini b/sql-ledger/menu.ini
new file mode 100644
index 0000000..8720798
--- /dev/null
+++ b/sql-ledger/menu.ini
@@ -0,0 +1,394 @@
+[AR]
+
+[AR--Add Transaction]
+module=ar.pl
+action=add
+
+[AR--Sales Invoice]
+module=is.pl
+action=add
+type=invoice
+
+[AR--Reports]
+module=menu.pl
+action=acc_menu
+target=acc_menu
+submenu=1
+
+[AR--Reports--Transactions]
+module=ar.pl
+action=search
+nextsub=ar_transactions
+
+[AR--Reports--AR Aging]
+module=rp.pl
+action=report
+report=ar_aging
+
+[AR--Reports--Tax collected]
+module=rp.pl
+action=report
+report=tax_collected
+
+[AR--Customers]
+module=menu.pl
+action=acc_menu
+target=acc_menu
+submenu=1
+
+[AR--Customers--Add Customer]
+module=ct.pl
+action=add
+db=customer
+
+[AR--Customers--Reports]
+module=ct.pl
+action=search
+db=customer
+
+[AP]
+
+[AP--Add Transaction]
+module=ap.pl
+action=add
+
+[AP--Vendor Invoice]
+module=ir.pl
+action=add
+type=invoice
+
+[AP--Reports]
+module=menu.pl
+action=acc_menu
+target=acc_menu
+submenu=1
+
+[AP--Reports--Transactions]
+module=ap.pl
+action=search
+nextsub=ap_transactions
+
+[AP--Reports--AP Aging]
+module=rp.pl
+action=report
+report=ap_aging
+
+[AP--Reports--Tax paid]
+module=rp.pl
+action=report
+report=tax_paid
+
+[AP--Vendors]
+module=menu.pl
+action=acc_menu
+target=acc_menu
+submenu=1
+
+[AP--Vendors--Add Vendor]
+module=ct.pl
+action=add
+db=vendor
+
+[AP--Vendors--Reports]
+module=ct.pl
+action=search
+db=vendor
+
+[Cash]
+
+[Cash--Receipt]
+module=cp.pl
+action=payment
+vc=customer
+
+[Cash--Payment]
+module=cp.pl
+action=payment
+vc=vendor
+
+[Cash--Reports]
+module=menu.pl
+action=acc_menu
+target=acc_menu
+submenu=1
+
+[Cash--Reports--Receipts]
+module=rp.pl
+action=report
+report=receipts
+
+[Cash--Reports--Payments]
+module=rp.pl
+action=report
+report=payments
+
+[Cash--Reconciliation]
+module=rc.pl
+action=reconciliation
+
+[Order Entry]
+
+[Order Entry--Sales Order]
+module=oe.pl
+action=add
+type=sales_order
+
+[Order Entry--Purchase Order]
+module=oe.pl
+action=add
+type=purchase_order
+
+[Order Entry--Reports]
+module=menu.pl
+action=acc_menu
+target=acc_menu
+submenu=1
+
+[Order Entry--Reports--Sales Orders]
+module=oe.pl
+action=search
+type=sales_order
+
+[Order Entry--Reports--Purchase Orders]
+module=oe.pl
+action=search
+type=purchase_order
+
+[General Ledger]
+
+[General Ledger--Add Transaction]
+module=gl.pl
+action=add
+
+[General Ledger--Reports]
+module=gl.pl
+action=search
+
+[Goods & Services]
+
+[Goods & Services--Add Part]
+module=ic.pl
+action=add
+item=part
+
+[Goods & Services--Add Service]
+module=ic.pl
+action=add
+item=service
+
+[Goods & Services--Add Assembly]
+module=ic.pl
+action=add
+item=assembly
+
+[Goods & Services--Add Group]
+module=pe.pl
+action=add
+type=partsgroup
+
+[Goods & Services--Stock Assembly]
+module=ic.pl
+action=stock_assembly
+
+[Goods & Services--Reports]
+module=menu.pl
+action=acc_menu
+target=acc_menu
+submenu=1
+
+[Goods & Services--Reports--Parts]
+module=ic.pl
+action=search
+searchitems=part
+
+[Goods & Services--Reports--Services]
+module=ic.pl
+action=search
+searchitems=service
+
+[Goods & Services--Reports--Assemblies]
+module=ic.pl
+action=search
+searchitems=assembly
+
+[Goods & Services--Reports--Groups]
+module=pe.pl
+action=search
+type=partsgroup
+
+[Projects]
+
+[Projects--Add Project]
+module=pe.pl
+action=add
+type=project
+
+[Projects--Reports]
+module=pe.pl
+action=search
+type=project
+
+[Reports]
+
+[Reports--Chart of Accounts]
+module=ca.pl
+action=chart_of_accounts
+
+[Reports--Trial Balance]
+module=rp.pl
+action=report
+report=trial_balance
+
+[Reports--Income Statement]
+module=rp.pl
+action=report
+report=income_statement
+
+[Reports--Balance Sheet]
+module=rp.pl
+action=report
+report=balance_sheet
+
+[System]
+
+[System--Chart of Accounts]
+module=menu.pl
+action=acc_menu
+target=acc_menu
+submenu=1
+
+[System--Chart of Accounts--Add Account]
+module=am.pl
+action=add
+
+[System--Chart of Accounts--List Accounts]
+module=am.pl
+action=list
+
+[System--Chart of Accounts--Add GIFI]
+module=am.pl
+action=add_gifi
+
+[System--Chart of Accounts--List GIFI]
+module=am.pl
+action=list_gifi
+
+[System--HTML Templates]
+module=menu.pl
+action=acc_menu
+target=acc_menu
+submenu=1
+
+[System--HTML Templates--Income Statement]
+module=am.pl
+action=display_form
+file=templates=income_statement.html
+
+[System--HTML Templates--Balance Sheet]
+module=am.pl
+action=display_form
+file=templates=balance_sheet.html
+
+[System--HTML Templates--Invoice]
+module=am.pl
+action=display_form
+file=templates=invoice.html
+
+[System--HTML Templates--Packing List]
+module=am.pl
+action=display_form
+file=templates=packing_list.html
+
+[System--HTML Templates--Sales Order]
+module=am.pl
+action=display_form
+file=templates=sales_order.html
+
+[System--HTML Templates--Purchase Order]
+module=am.pl
+action=display_form
+file=templates=purchase_order.html
+
+[System--HTML Templates--Statement]
+module=am.pl
+action=display_form
+file=templates=statement.html
+
+[System--LaTeX Templates]
+module=menu.pl
+action=acc_menu
+target=acc_menu
+submenu=1
+
+[System--LaTeX Templates--Invoice]
+module=am.pl
+action=display_form
+file=templates=invoice.tex
+
+[System--LaTeX Templates--Packing List]
+module=am.pl
+action=display_form
+file=templates=packing_list.tex
+
+[System--LaTeX Templates--Sales Order]
+module=am.pl
+action=display_form
+file=templates=sales_order.tex
+
+[System--LaTeX Templates--Purchase Order]
+module=am.pl
+action=display_form
+file=templates=purchase_order.tex
+
+[System--LaTeX Templates--Statement]
+module=am.pl
+action=display_form
+file=templates=statement.tex
+
+[System--LaTeX Templates--Check]
+module=am.pl
+action=display_form
+file=templates=check.tex
+
+[System--LaTeX Templates--Receipt]
+module=am.pl
+action=display_form
+file=templates=receipt.tex
+
+[System--Stylesheet]
+module=am.pl
+action=display_stylesheet
+
+[System--Backup]
+module=menu.pl
+action=acc_menu
+target=acc_menu
+submenu=1
+
+[System--Backup--Send by E-Mail]
+module=am.pl
+action=backup
+media=email
+
+[System--Backup--Save to File]
+module=am.pl
+action=backup
+media=file
+
+[System--Audit Control]
+module=am.pl
+action=audit_control
+
+[System--Preferences]
+module=am.pl
+action=config
+
+[Version]
+module=login.pl
+action=company_logo
+
+[Logout]
+module=login.pl
+action=logout
+target=_top
+
diff --git a/sql-ledger/setup.pl b/sql-ledger/setup.pl
new file mode 100755
index 0000000..740a869
--- /dev/null
+++ b/sql-ledger/setup.pl
@@ -0,0 +1,594 @@
+#!/usr/bin/perl
+#
+######################################################################
+# SQL-Ledger, Accounting Software Installer
+# Copyright (c) 2002, Dieter Simader
+#
+# Email: dsimader@sql-ledger.org
+# Web: http://www.sql-ledger.org
+#
+#######################################################################
+
+$| = 1;
+
+if ($ENV{HTTP_USER_AGENT}) {
+ print "
+This does not work yet!
+use $0 from the command line";
+ exit;
+}
+
+$lynx = `lynx -version`; # if LWP is not installed use lynx
+$gzip = `gzip -V 2>&1`; # gz decompression utility
+$tar = `tar --version 2>&1`; # tar archiver
+$latex = `latex -version`;
+
+@source = ( "http://unc.dl.sourceforge.net/sourceforge/sql-ledger",
+ "http://www.sql-ledger.org/source",
+ "http://abacus.sql-ledger.org/source" );
+
+$userspath = "users"; # default for new installation
+
+eval { require "sql-ledger.conf"; };
+
+$filename = shift;
+
+# is LWP installed
+eval { require LWP::Simple; };
+$lwp = !($@);
+
+unless ($lwp || $lynx || $filename) {
+ die "You must have either lynx or LWP installed
+or specify a filename.
+perl $0 filename\n";
+}
+
+if ($filename) {
+ # extract version
+ die "Not a SQL-Ledger archive\n" if ($filename !~ /^sql-ledger/);
+
+ $version = $filename;
+ $version =~ s/sql-ledger-(\d+\.\d+\.\d+).*$/$1/;
+
+ $newinstall = 1;
+}
+
+if (!$filename && -f "VERSION") {
+ # get installed version from VERSION file
+ open(FH, "VERSION");
+ @a = <FH>;
+ close(FH);
+ $version = $a[0];
+ chomp $version;
+
+ $newinstall = !$version;
+} else {
+ $newinstall = 1;
+}
+
+
+$webowner = $<;
+$webgroup = $(;
+
+if ($httpd = `find /etc /usr/local/etc -type f -name 'httpd.conf'`) {
+ chomp $httpd;
+ $webowner = `grep "^User " $httpd`;
+ $webgroup = `grep "^Group " $httpd`;
+ $serverroot = `grep "^ServerRoot " $httpd`;
+
+ chomp $webowner;
+ chomp $webgroup;
+ chomp $serverroot;
+
+ ($null, $webowner) = split / /, $webowner;
+ ($null, $webgroup) = split / /, $webgroup;
+ ($null, $serverroot) = split / /, $serverroot;
+
+ $serverroot =~ s/"//g;
+
+}
+
+system("tput clear");
+
+if ($filename) {
+ $install = "\ninstall $version from (f)ile\n";
+}
+
+# check for latest version
+&get_latest_version;
+
+if (!$newinstall) {
+
+ $install .= "\n(r)einstall $version\n";
+
+}
+
+if ($version && $latest_version) {
+ if (!$filename && $version ne $latest_version) {
+ if (substr($version, 0, rindex($version, ".")) eq substr($latest_version, 0, rindex($latest_version, "."))) {
+ $install .= "\n(u)pgrade to $latest_version\n";
+ }
+ }
+}
+
+
+$install .= "\n(i)nstall $latest_version (from Internet)\n" if $latest_version;
+
+$install .= "\n(d)ownload $latest_version (no installation)" unless $filename;
+
+ print qq|
+
+
+ SQL-Ledger Accounting Software Installation
+
+
+
+$install
+
+
+Enter: |;
+
+$a = <STDIN>;
+chomp $a;
+
+exit unless $a;
+$a = lc $a;
+
+ if ($newinstall && ($a =~ /(i|r|f)/)) {
+
+ print qq|\nEnter httpd owner [$webowner] : |;
+ $web = <STDIN>;
+ chomp $web;
+ $webowner = $web if $web;
+
+ print qq|\nEnter httpd group [$webgroup] : |;
+ $web = <STDIN>;
+ chomp $web;
+ $webgroup = $web if $web;
+
+ }
+
+if ($a eq 'd') {
+ &download;
+}
+if ($a eq 'i') {
+ &install;
+}
+if ($a eq 'r') {
+ $latest_version = $version;
+ &install;
+}
+if ($a eq 'u') {
+ &upgrade;
+}
+
+if ($a eq 'f') {
+ &install;
+}
+
+exit;
+# end main
+
+
+sub download {
+
+ &get_source_code;
+
+}
+
+
+sub get_latest_version {
+
+ print "Checking for latest version number .... ";
+
+ if ($filename) {
+ print "skipping, filename supplied\n";
+ return;
+ }
+
+ if ($lwp) {
+ foreach $source (@source) {
+ $host = $source;
+ $host =~ s/(\w\/).*/$1/g;
+ chop $host;
+ print "\nTrying $host ... ";
+
+ $latest_version = LWP::Simple::get("$source/latest_version");
+
+ if ($latest_version) {
+ last;
+ } else {
+ print "not found";
+ }
+ }
+ } else {
+ if (!$lynx) {
+ print "\nYou must have either lynx or LWP installed";
+ exit 1;
+ }
+
+ foreach $source (@source) {
+ $host = $source;
+ $host =~ s/(\w\/).*/$1/g;
+ chop $host;
+ print "\nTrying $host ... ";
+ $ok = `lynx -dump -head $source/latest_version`;
+ if ($ok = ($ok =~ s/HTTP.*?200 OK//g)) {
+ $latest_version = `lynx -dump $source/latest_version`;
+ chomp $latest_version;
+ last;
+ } else {
+ print "not found";
+ }
+ }
+ die unless $ok;
+ }
+
+ chomp $latest_version;
+ if ($latest_version) {
+ print "ok\n";
+ 1;
+ }
+
+}
+
+
+sub get_source_code {
+
+ $err = 0;
+
+ if ($latest_version) {
+ # download it
+ $latest_version = "sql-ledger-${latest_version}.tar.gz";
+
+ print "\nStatus\n";
+ print "Downloading $latest_version .... ";
+
+ foreach $source (@source) {
+ $host = $source;
+ $host =~ s/(\w\/).*/$1/g;
+ chop $host;
+ print "\nTrying $host .... ";
+
+ if ($lwp) {
+ $err = LWP::Simple::getstore("$source/$latest_version", "$latest_version");
+ $err -= 200;
+ } else {
+ $ok = `lynx -dump -head $source/$latest_version`;
+ $err = !($ok =~ s/HTTP.*?200 OK//);
+
+ if (!$err) {
+ $err = system("lynx -dump $source/$latest_version > $latest_version");
+ }
+ }
+
+ last unless $err;
+
+ }
+
+ } else {
+ $err = -1;
+ }
+
+ if ($err) {
+ die "Cannot get $latest_version";
+ } else {
+ print "ok\n";
+ }
+
+ $latest_version;
+
+}
+
+
+sub install {
+
+ if ($filename) {
+ $latest_version = $filename;
+ } else {
+ $latest_version = &get_source_code;
+ }
+
+ &decompress;
+
+ if ($upgrade) {
+ print qq|
+
+Don't forget to upgrade the datasets!
+
+Load the admin panel in your web browser
+|;
+ }
+
+ if ($newinstall) {
+ # if this is not root, check if user is part of $webgroup
+ if ($>) {
+ if ($permset = ($) =~ getgrnam $webgroup)) {
+ `chown -R :$webgroup *`;
+ }
+ } else {
+ `chown -R $webowner:$webgroup *`;
+ }
+
+ chmod 0771, 'users', 'templates';
+
+ open(FH, "sql-ledger.conf.default");
+ @f = <FH>;
+ close(FH);
+ unless ($latex) {
+ grep { s/^\$latex.*/\$latex = 0;/ } @f;
+ }
+ open(FH, ">sql-ledger.conf");
+ print FH @f;
+ close(FH);
+
+ $alias = $absolutealias = $ENV{'PWD'};
+ $alias =~ s/.*\///g;
+
+ $httpddir = `dirname $httpd`;
+ chomp $httpddir;
+ $filename = "sql-ledger-httpd.conf";
+
+ # do we have write permission?
+ if (!open(FH, ">>$httpddir/$filename")) {
+ open(FH, ">$filename");
+ $norw = 1;
+ }
+
+ $directives = qq|
+Alias /$alias/ $absolutealias/
+<Directory $absolutealias>
+ AllowOverride All
+ AddHandler cgi-script .pl
+ Options ExecCGI Includes FollowSymlinks
+ Order Allow,Deny
+ Allow from All
+</Directory>
+
+<Directory $absolutealias/users>
+ Order Deny,Allow
+ Deny from All
+</Directory>
+
+|;
+
+ print FH $directives;
+ close(FH);
+
+ print qq|
+This is a new installation.
+
+|;
+
+ if ($norw) {
+ print qq|
+Webserver directives were written to $filename
+
+Copy $filename to $httpddir and add
+|;
+
+ # strip serverroot off httpddir
+ $httpddir =~ s/$serverroot\///;
+
+ print qq|
+Include $httpddir/$filename
+
+to $httpd
+
+Don't forget to restart your webserver!
+|;
+
+ if (!$permset) {
+ print qq|
+WARNING: permissions for templates and users directory
+could not be set. Login as root and set permissions
+
+# chown $webowner:$webgroup users templates
+# chmod 771 users templates
+
+|;
+ }
+
+ } else {
+
+ if (!(`grep "^# SQL-Ledger" $httpd`)) {
+ # append Include directive
+ $httpddir =~ s/$serverroot\///;
+
+ open(FH, ">>$httpd");
+
+ print FH qq|
+
+# SQL-Ledger
+Include $httpddir/$filename
+|;
+ close(FH);
+
+ print qq|
+Webserver directives were written to
+
+ $httpddir/$filename
+|;
+ }
+ }
+
+ if (!$>) {
+ # send SIGHUP to httpd
+ $pid = `cat /var/run/httpd.pid`;
+ chomp $pid;
+ system("kill -s HUP $pid") if $pid;
+ }
+ }
+
+ unlink "sql-ledger.conf.default";
+
+ &cleanup;
+
+ while ($a !~ /(Y|N)/) {
+ print qq|\nDisplay README (Y/n) : |;
+ $a = <STDIN>;
+ chomp $a;
+ $a = ($a) ? uc $a : 'Y';
+
+ if ($a eq 'Y') {
+ @args = ("more", "doc/README");
+ system(@args);
+ }
+ }
+
+}
+
+
+sub decompress {
+
+ die "Error: gzip not installed\n" unless ($gzip);
+ die "Error: tar not installed\n" unless ($tar);
+
+ &create_lockfile;
+
+ # ungzip and extract source code
+ print "Decompressing $latest_version ... ";
+
+ if (system("gzip -df $latest_version")) {
+ print "Error: Could not decompress $latest_version\n";
+ &remove_lockfile;
+ exit;
+ } else {
+ print "done\n";
+ }
+
+ # strip gz from latest_version
+ $latest_version =~ s/\.gz//;
+
+ # now untar it
+ print "Unpacking $latest_version ... ";
+ if (system("tar -xf $latest_version")) {
+ print "Error: Could not unpack $latest_version\n";
+ &remove_lockfile;
+ exit;
+ } else {
+ # now we have a copy in sql-ledger
+ if (system("tar -cf $latest_version -C sql-ledger .")) {
+ print "Error: Could not create archive for $latest_version\n";
+ &remove_lockfile;
+ exit;
+ } else {
+ if (system("tar -xf $latest_version")) {
+ print "Error: Could not unpack $latest_version\n";
+ &remove_lockfile;
+ exit;
+ } else {
+ print "done\n";
+ print "cleaning up ... ";
+ `rm -rf sql-ledger`;
+ print "done\n";
+ }
+ }
+ }
+}
+
+
+sub create_lockfile {
+
+ if (-d "$userspath") {
+ open(FH, ">$userspath/nologin");
+ close(FH);
+ $upgrade = 1;
+ }
+
+}
+
+
+sub cleanup {
+
+ unlink "$latest_version";
+ unlink "$userspath/members.default" if (-f "$userspath/members.default");
+
+ &remove_lockfile;
+
+}
+
+
+sub remove_lockfile { unlink "$userspath/nologin" if (-f "$userspath/nologin") };
+
+
+sub upgrade {
+
+ $latest_version = &get_patch;
+
+ &decompress;
+
+ &cleanup;
+
+ # if this is not root, check if user is part of $webgroup
+ if ($>) {
+ if ($permset = ($) =~ getgrnam $webgroup)) {
+ `chown -R :$webgroup *`;
+ }
+ } else {
+ `chown -R $webowner:$webgroup *`;
+ }
+
+ chmod 0771, 'users', 'templates';
+
+
+ print qq|
+
+Don't forget to upgrade your datasets and read
+the upgrade file in the doc directory.
+
+|;
+
+}
+
+
+
+sub get_patch {
+
+ $err = 0;
+
+ if ($version) {
+ # download the patch
+ $patchfile = "patch-${latest_version}.tar.gz";
+
+ print "Status\n";
+ print "Downloading $patchfile .... ";
+
+ foreach $source (@source) {
+ $host = $source;
+ $host =~ s/(\w\/).*/$1/g;
+ chop $host;
+ print "\nTrying $host .... ";
+
+ if ($lwp) {
+ $err = LWP::Simple::getstore("$source/$patchfile", "$patchfile");
+ $err -= 200;
+ } else {
+ $ok = `lynx -dump -head $source/$patchfile`;
+ $err = !($ok =~ /HTTP.*?200 OK/);
+
+ if (!$err) {
+ $err = system("lynx -dump $source/$patchfile > $patchfile");
+ }
+ }
+
+ last unless $err;
+
+ }
+
+ } else {
+ $err = -1;
+ }
+
+ if ($err) {
+ print "Cannot get $patchfile\n";
+ exit;
+ } else {
+ print "ok\n";
+ }
+
+ $patchfile;
+
+}
+
+
diff --git a/sql-ledger/sql-ledger.conf.default b/sql-ledger/sql-ledger.conf.default
new file mode 100644
index 0000000..96fb9b8
--- /dev/null
+++ b/sql-ledger/sql-ledger.conf.default
@@ -0,0 +1,33 @@
+use vars qw($userspath $memberfile $templates $sendmail $language $sid);
+
+# path to user configuration files
+# you may use an absolute path i.e. /var/tmp
+$userspath = "users";
+
+# templates base directory; this one needs to be here for now
+$templates = "templates";
+
+# member file, could also be in "/usr/local/etc/slusers"
+$memberfile = "users/members";
+
+# location of sendmail
+$sendmail = "| /usr/sbin/sendmail -t";
+
+# set language for login and admin; two letter code
+$language = "";
+
+# Oracle
+$sid = "T80509";
+$ENV{"ORACLE_HOME"} = "/usr/local/oracle";
+
+# if you have latex installed set to 1
+$latex = 1;
+
+# if the server can't find latex, dvips or pdflatex, add the path
+$ENV{PATH} .= ":/usr/local/bin";
+
+# on mac os X using Fink's Perl libs, add the path
+$ENV{PERL5LIB} .= ":/sw/lib/perl5";
+
+
+1;
diff --git a/sql-ledger/sql-ledger.png b/sql-ledger/sql-ledger.png
new file mode 100644
index 0000000..0297a1b
--- /dev/null
+++ b/sql-ledger/sql-ledger.png
Binary files differ
diff --git a/sql-ledger/sql/Austria-chart.sql b/sql-ledger/sql/Austria-chart.sql
new file mode 100644
index 0000000..85810c5
--- /dev/null
+++ b/sql-ledger/sql/Austria-chart.sql
@@ -0,0 +1,143 @@
+-- Kontoplan für Österreich
+-- Ferdinand Gassauer, Tue, 5 Feb 2002
+-- checked and completed, Thu, 7 Feb 2002, Dieter Simader
+--
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('0000','AUFWENDUNGEN FÜR INGANGSETZEN UND ERWEITERN DES BETRIEBES','H','00','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('0010','Firmenwert','A','015','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('0100','IMMATERIELLE VERMÖGENSGEGENSTÄNDE','H','01','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('0110','Rechte','A','011','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('0200','GRUNDSTÜCKE','H','02-03','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('0210','unbebaute Grundstücke','A','020','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('0220','bebaute Grundstücke','A','021','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('0229','kum. Abschreibung bebaute Grundstücke','A','039','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('0400','MASCHINEN','H','04-05','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('0410','Maschinen','A','041','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('0419','kum. Abschreibung Maschinen','A','069','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('0500','FAHRZEUGE','H','06','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('0510','Fahrzeuge','A','063','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('0519','kum. Abschreibung Fahrzeuge','A','069','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('0600','BETRIEBS- UND GESCHÄFTSAUSSTATTUNG','H','06','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('0620','Büroeinrichtungen','A','066','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('0625','kum. Abschreibung Betriebs- und Geschäftsausstattung','A','069','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('0700','GELEISTETE ANZAHLUNGEN','H','07','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('0800','FINANZANLAGEN','H','08-09','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('0810','Beteiligungen','A','081','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('0820','Wertpapiere','A','080','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1100','ROHSTOFFE','H','1','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1120','Vorräte - Rohstoffe','A','110-119','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1200','BEZOGENE TEILE','H','1','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1220','Vorräte - bezogene Teile','A','120-129','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1300','HILFS- UND BETRIEBSSTOFFE','H','1','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1320','Hilfsstoffe','A','130-134','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1350','Betriebssstoffe','A','135-139','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1400','UNFERTIGE ERZEUGNISSE','H','1','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1420','Vorräte - unfertige Erzeugnisse','A','140-149','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1500','FERTIGE ERZEUGNISSE','H','1','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1520','Vorräte - Hardware','A','150-159','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1530','Vorräte - Software','A','150-159','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1540','Vorräte - Ersatzteile','A','150-159','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1600','WAREN','H','1','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1700','NOCH NICHT ABGERECHNETE LEISTUNGEN','H','1','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1800','GELEISTETE ANZAHLUNGEN','H','1','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1900','WERTBERICHTIGUNGEN','H','1','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2000','FORDEUNGEN AUS LIEFERUNGEN UND LEISTUNGEN','H','2','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2010','Forderungen Lieferung & Leistung','A','200-207','A','AR');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2019','Wertberichtigung uneinbringliche Forderungen','A','20-21','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2300','SONSTIGE FORDERUNGEN','H','2','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2320','sonstige Forderungen','A','23-24','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2500','FORDERUNGEN AUS ABGABENVERRECHNUNG','H','2','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2520','sonstige Forderungen aus Abgebenverrechnung','A','25','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2600','WERTPAPIERE UND ANTEILE','H','2','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2620','Wertpapiere Umlaufvermögen','A','26','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2700','KASSABESTAND','H','2','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2701','Kassa','A','27-28','A','AR_paid:AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2800','SCHECKS, GUTHABEN BEI KREDITINSTITUTEN','H','2','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2810','Schecks','A','27-28','A','AR_paid:AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2820','Bankguthaben','A','280-288','A','AR_paid:AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3100','LANGFRISTIGE VERBINDLICHKEITEN','H','3','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3110','Bank Verbindlichkeiten','A','31','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3120','Kredite von Eigentümern','A','310','L','AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3300','VERBINDLICHKEITEN AUS LIEFERUNGEN UND LEISTUNGEN','H','33','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3310','Verbindlichkeiten aus Lieferungen und Leistungen','A','330-335','L','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3500','VERBINDLICHKEITEN FINANZAMT','H','35','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3510','Finanzamt Verrechnung Körperschaftssteuer','A','350-359','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3520','Finanzamt Verrechnung Umsatzsteuer','A','350-359','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3530','Mehrwertsteuer 0%','A','350-359','L','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3531','Mehrwertsteuer 10%','A','350-359','L','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3532','Mehrwertsteuer 20%','A','350-359','L','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3540','Vorsteuer 0%','A','350-359','L','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3541','Vorsteuer 10%','A','350-359','L','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3542','Vorsteuer 20%','A','350-359','L','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4000','UMSATZ','H','4','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4020','Verkauf - Hardware','A','40-44','I','AR_amount:IC_sale');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4030','Verkauf - Software ','A','40-44','I','AR_amount:IC_sale');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4040','Verkauf - Ersatzteile','A','40-44','I','AR_amount:IC_sale');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4300','UMSATZ BERATUNG','H','4','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4320','Erlöse Beratung','A','40-44','I','AR_amount:IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4330','Erlöse Programmierung','A','40-44','I','AR_amount:IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4600','SONSTIGE ERLÖSE','H','4','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4630','Frachterlöse','A','46-49','I','IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5000','WARENEINSATZ','H','5','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5020','Wareneinsatz / Hardware','A','500-509','E','AP_amount:IC_cogs');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5030','Wareneinsatz / Software','A','500-509','E','AP_amount:IC_cogs');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5040','Wareneinsatz / Ersatzteile','A','520-529','E','AP_amount:IC_cogs');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5600','VERBRAUCH BRENN- UND TREIBSTOFFEN, ENERGIE UND WASSER','H','5','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5610','Energie, Wasser','A','560-569','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6000','LOHNAUFWAND','H','6','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6010','Lohn ','A','600-619','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6200','GEAHLTSAUFWAND','H','6','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6210','Gehalt ','A','620-639','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6500','GESETZLICHER SOZIALAUFWAND','H','6','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6510','Dienstgeberanteile','A','645-649','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6700','FREIWILLIGER SOZIALAUFWAND','H','6','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6710','freiwilliger Sozialaufwand','A','660-665','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7000','ABSCHREIBUNGEN','H','7','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7010','Abschreibungen','A','700','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7020','geringwertige Wirtschaftsgüter','A','701-708','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7100','SONSTIGE STEUERN','H','71','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7110','Ertragssteuern','A','710-719','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7120','Grundsteuern','A','710-719','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7200','INSTANDHALTUNGSAUFWAND','H','7','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7210','Reparatur und Instandhaltung','A','720-729','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7300','TRANSPORTKOSTEN','H','73','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7310','Frachtaufwand','A','730-731','E','AP_amount:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7400','MIET-,PACHT-,LEASING-, LIZENZAUFWAND','H','74','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7410','Miete','A','740-743','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7411','Lizenzen','A','748-749','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7600','VERWALTUNGSKOSTEN','H','76','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7610','Beratungsaufwand','A','775-776','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7611','Büromaterialien','A','760','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7615','Werbung und Marketing','A','765-768','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7620','uneinbringliche Forderungen','A','799','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7630','Telephonkosten','A','738-739','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7631','Internetkosten','A','738-739','E','AP_amount:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7632','Reise- und Repräsentationsaufwand','A','734-735','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7634','Registrierungsgebühren','A','748-749','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7700','VERSICHERUNGEN','H','77-78','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7710','Versicherung','A','770-774','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('8000','FINANZERTRÄGE UND FINANZAUFWENDUNGEN','H','8','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('8020','Bankzinsen und Gebühren','A','80-83','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('8100','BETEILIGUNGSERTRÄGE','H','8','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('8110','Erträge aus Beteiligungen','A','800-804','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('9000','KAPITAL','H','9','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('9010','Aktien, Geschäftsanteile','A','900-918','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('9020','nicht einbezahltes Kapital','A','919','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('9200','KAPITALRÜCKLAGEN','H','9','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('9210','freie Rücklage','A','920-929','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('9300','GEWINN','H','939','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('9310','Gewinnvortrag Vorjahr','A','980','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('9320','Jahresgewinn','A','985','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('9400','RÜCKSTELLUNGEN','H','3','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('9420','Abfertigungsrückstellung','A','300','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('9430','Urlaubsrückstellung','A','304-309','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('9700','EINLAGEN STILLER GESELLSCHAFTER','H','9','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('9800','EB,SB,G+V KONTEN','H','9','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4640','Devisengewinne','A','80-83','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('8050','Devisenverluste','A','80-83','E','');
+--
+insert into tax (chart_id,rate) values ((select id from chart where accno = '3530'),0.00);
+insert into tax (chart_id,rate) values ((select id from chart where accno = '3531'),0.10);
+insert into tax (chart_id,rate) values ((select id from chart where accno = '3532'),0.20);
+--
+update defaults set inventory_accno_id = (select id from chart where accno = '1520'), income_accno_id = (select id from chart where accno = '4020'), expense_accno_id = (select id from chart where accno = '7610'), fxgain_accno_id = (select id from chart where accno = '4640'), fxloss_accno_id = (select id from chart where accno = '8050'), invnumber = '1000', sonumber = '1000', ponumber = '1000', curr = 'EUR:USD', weightunit = 'kg';
+--
diff --git a/sql-ledger/sql/Austria-gifi.sql b/sql-ledger/sql/Austria-gifi.sql
new file mode 100644
index 0000000..43f213f
--- /dev/null
+++ b/sql-ledger/sql/Austria-gifi.sql
@@ -0,0 +1,334 @@
+-- Österreichischer Einheitskontenrahmen / Kontenplan (ÖSV Österreichischer Steuerverein)
+--
+INSERT INTO gifi (accno, description) VALUES ('0', 'Anlagevermögen und Aufwendungen für das Ingangsetzen und Erweitern eines Betriebes');
+--
+INSERT INTO gifi (accno, description) VALUES ('00', 'Aufwendungen für das Ingangsetzen und Erweitern eines Betriebes');
+INSERT INTO gifi (accno, description) VALUES ('001', 'Aufwendungen für das Ingangsetzen und Erweitern eines Betriebes');
+INSERT INTO gifi (accno, description) VALUES ('009', 'Kumulierte Abschreibungen');
+--
+INSERT INTO gifi (accno, description) VALUES ('01', 'Immaterielle Vermögensgegenstände');
+INSERT INTO gifi (accno, description) VALUES ('010', 'Konzessionen');
+INSERT INTO gifi (accno, description) VALUES ('011', 'Patentrechte und Lizenzen');
+INSERT INTO gifi (accno, description) VALUES ('012', 'Datenverarbeitungsprogramme');
+INSERT INTO gifi (accno, description) VALUES ('013', 'Marken, Warenzeichen und Musterschutzrechte, sonstige Urheberrechte');
+INSERT INTO gifi (accno, description) VALUES ('014', 'Pacht- und Mietrechte');
+INSERT INTO gifi (accno, description) VALUES ('015', 'Geschäfts(Firmen)wert');
+INSERT INTO gifi (accno, description) VALUES ('018', 'Geleistete Anzahlungen');
+INSERT INTO gifi (accno, description) VALUES ('019', 'Kumulierte Abschreibungen');
+--
+INSERT INTO gifi (accno, description) VALUES ('02-03', 'Grundstücke, grundstücksgleiche Rechte und Bauten, einschließlich der Bauten auf fremden Grund');
+INSERT INTO gifi (accno, description) VALUES ('020', 'Unbebaute Grundstücke');
+INSERT INTO gifi (accno, description) VALUES ('021', 'Bebaute Grundstücke (Grundwert)');
+INSERT INTO gifi (accno, description) VALUES ('022', 'Grundstücksgleiche Rechte');
+INSERT INTO gifi (accno, description) VALUES ('030', 'Betriebs- und Geschäftsgebäude auf eigenem Grund');
+INSERT INTO gifi (accno, description) VALUES ('031', 'Wohn- und Sozialgebäude auf eigenem Grund');
+INSERT INTO gifi (accno, description) VALUES ('032', 'Betriebs- und Geschäftsgebäude auf fremdem Grund');
+INSERT INTO gifi (accno, description) VALUES ('033', 'Wohn- und Sozialgebäude auf fremdem Grund');
+INSERT INTO gifi (accno, description) VALUES ('034', 'Grundstückseinrichtungen auf eigenem Grund');
+INSERT INTO gifi (accno, description) VALUES ('035', 'Grundstückseinrichtungen auf fremdem Grund');
+INSERT INTO gifi (accno, description) VALUES ('036', 'Bauliche Investitionen in fremden (gepachteten) Betriebs- und Geschäftsgebäuden');
+INSERT INTO gifi (accno, description) VALUES ('037', 'Bauliche Investitionen in fremden (gepachteten) Wohn- und Sozialgebäuden');
+INSERT INTO gifi (accno, description) VALUES ('039', 'Kumulierte Abschreibungen');
+--
+INSERT INTO gifi (accno, description) VALUES ('04-05', 'Technische Anlagen und Maschinen');
+INSERT INTO gifi (accno, description) VALUES ('040', 'Fertigungsmaschinen');
+INSERT INTO gifi (accno, description) VALUES ('041', 'Antriebsmaschinen');
+INSERT INTO gifi (accno, description) VALUES ('042', 'Energieversorgungsanlagen');
+INSERT INTO gifi (accno, description) VALUES ('043', 'Transportanlagen');
+INSERT INTO gifi (accno, description) VALUES ('044-049', 'Sonstige Maschinen und maschinelle Anlagen');
+INSERT INTO gifi (accno, description) VALUES ('050', 'Maschinenwerkzeuge');
+INSERT INTO gifi (accno, description) VALUES ('051', 'Allgemeine Werkzeuge und Handwerkzeuge');
+INSERT INTO gifi (accno, description) VALUES ('052', 'Vorrichtungen, Formen und Modelle');
+INSERT INTO gifi (accno, description) VALUES ('053', 'Andere Erzeugungshilfsmittel');
+INSERT INTO gifi (accno, description) VALUES ('054', 'Hebezeuge und Montageanlagen');
+INSERT INTO gifi (accno, description) VALUES ('055', 'Geringwertige Vermögensgegenstände, soweit im Erzeugungsprozeß verwendet');
+--
+INSERT INTO gifi (accno, description) VALUES ('06', 'Andere Anlagen, Betriebs- und Geschäftsausstattung');
+INSERT INTO gifi (accno, description) VALUES ('060', 'Beheizungs- und Beleuchtungsanlagen');
+INSERT INTO gifi (accno, description) VALUES ('061', 'Nachrichten- und Kontrollanlagen');
+INSERT INTO gifi (accno, description) VALUES ('062', 'Büromaschinen, EDV-Anlagen');
+INSERT INTO gifi (accno, description) VALUES ('063', 'PKW');
+INSERT INTO gifi (accno, description) VALUES ('064', 'LKW');
+INSERT INTO gifi (accno, description) VALUES ('065', 'Andere Beförderungsmittel');
+INSERT INTO gifi (accno, description) VALUES ('066', 'Andere Betriebs- und Geschäftsausstattung');
+INSERT INTO gifi (accno, description) VALUES ('067', 'Gebinde');
+INSERT INTO gifi (accno, description) VALUES ('068', 'Geringwertige Vermögensgegenstände, soweit nicht im Erzeugungsprozeß verwendet');
+INSERT INTO gifi (accno, description) VALUES ('069', 'Kumulierte Abschreibungen');
+--
+INSERT INTO gifi (accno, description) VALUES ('07', 'Geleistete Anzahlungen und Anlagen in Bau');
+INSERT INTO gifi (accno, description) VALUES ('070', 'Geleistete Anzahlungen');
+INSERT INTO gifi (accno, description) VALUES ('071', 'Anlagen in Bau');
+INSERT INTO gifi (accno, description) VALUES ('079', 'Kumulierte Abschreibungen');
+--
+INSERT INTO gifi (accno, description) VALUES ('08-09', 'Finanzanlagen');
+INSERT INTO gifi (accno, description) VALUES ('080', 'Anteile an verbundenen Unternehmen');
+INSERT INTO gifi (accno, description) VALUES ('081', 'Beteiligungen an Gemeinschaftsunternehmen');
+INSERT INTO gifi (accno, description) VALUES ('082', 'Beteiligungen an angeschlossenen (assoziierten) Unternehmen');
+INSERT INTO gifi (accno, description) VALUES ('083', 'Sonstige Beteiligungen');
+INSERT INTO gifi (accno, description) VALUES ('084', 'Ausleihungen an verbundene Unternehmen');
+INSERT INTO gifi (accno, description) VALUES ('085', 'Ausleihungen an Unternehmen, mit denen ein Beteiligungsverhältnis besteht');
+INSERT INTO gifi (accno, description) VALUES ('086', 'Sonstige Ausleihungen');
+INSERT INTO gifi (accno, description) VALUES ('087', 'Anteile an Kapitalgesellschaften ohne Beteiligungscharakter');
+INSERT INTO gifi (accno, description) VALUES ('088', 'Anteile an Personengesellschaften ohne Beteiligungscharakter');
+INSERT INTO gifi (accno, description) VALUES ('090', 'Genossenschaftsanteile ohne Beteiligungscharakter');
+INSERT INTO gifi (accno, description) VALUES ('091', 'Anteile an Investmentfonds');
+INSERT INTO gifi (accno, description) VALUES ('092-093', 'Festverzinsliche Wertpapiere des Anlagevermögens');
+INSERT INTO gifi (accno, description) VALUES ('094-097', 'Sonstige Finanzanlagen, Wertrechte');
+INSERT INTO gifi (accno, description) VALUES ('098', 'Geleistete Anzahlungen');
+INSERT INTO gifi (accno, description) VALUES ('099', 'Kumulierte Abschreibungen');
+--
+INSERT INTO gifi (accno, description) VALUES ('1', 'Vorräte');
+INSERT INTO gifi (accno, description) VALUES ('100-109', 'Bezugsverrechnung');
+INSERT INTO gifi (accno, description) VALUES ('110-119', 'Rohstoffe');
+INSERT INTO gifi (accno, description) VALUES ('120-129', 'Bezogene Teile');
+INSERT INTO gifi (accno, description) VALUES ('130-134', 'Hilfsstoffe');
+INSERT INTO gifi (accno, description) VALUES ('135-139', 'Betriebsstoffe');
+INSERT INTO gifi (accno, description) VALUES ('140-149', 'Unfertige Erzeugnisse');
+INSERT INTO gifi (accno, description) VALUES ('150-159', 'Fertige Erzeugnisse');
+INSERT INTO gifi (accno, description) VALUES ('160-169', 'Waren');
+INSERT INTO gifi (accno, description) VALUES ('170-179', 'Noch nicht abrechenbare Leistungen');
+INSERT INTO gifi (accno, description) VALUES ('180', 'Geleistete Anzahlungen');
+INSERT INTO gifi (accno, description) VALUES ('190-199', 'Wertberichtigungen');
+--
+INSERT INTO gifi (accno, description) VALUES ('2', 'Sonstiges Umlaufvermögen, Rechnungsabgrenzungsposten');
+INSERT INTO gifi (accno, description) VALUES ('20-21', 'Forderungen aus Lieferungen und Leistungen');
+INSERT INTO gifi (accno, description) VALUES ('200-207', 'Forderungen aus Lieferungen und Leistungen Inland');
+INSERT INTO gifi (accno, description) VALUES ('208', 'Einzelwertberichtigungen zu Forderungen aus Lieferungen und Leistungen Inland');
+INSERT INTO gifi (accno, description) VALUES ('209', 'Pauschalwertberichtigungen zu Forderungen aus Lieferungen und Leistungen Inland');
+INSERT INTO gifi (accno, description) VALUES ('210-212', 'Forderungen aus Lieferungen und Leistungen Währungsunion');
+INSERT INTO gifi (accno, description) VALUES ('213', 'Einzelwertberichtigungen zu Forderungen aus Lieferungen und Leistungen Währungsunion');
+INSERT INTO gifi (accno, description) VALUES ('214', 'Pauschalwertberichtigungen zu Forderungen aus Lieferungen und Leistungen Währungsunion');
+INSERT INTO gifi (accno, description) VALUES ('215-217', 'Forderungen aus Lieferungen und Leistungen sonstiges Ausland');
+INSERT INTO gifi (accno, description) VALUES ('218', 'Einzelwertberichtigungen zu Forderungen aus Lieferungen und Leistungen sonstiges Ausland');
+INSERT INTO gifi (accno, description) VALUES ('219', 'Pauschalwertberichtigungen zu Forderungen aus Lieferungen und Leistungen sonstiges Ausland');
+--
+INSERT INTO gifi (accno, description) VALUES ('22', 'Forderungen gegenüber verbundenen Unternehmen und Unternehmen, mit denen ein Beteiligungsverhältnis besteht');
+INSERT INTO gifi (accno, description) VALUES ('220-222', 'Forderungen gegenüber verbundenen Unternehmen');
+INSERT INTO gifi (accno, description) VALUES ('223', 'Einzelwertberichtigungen zu Forderungen gegenüber verbundenen Unternehmen');
+INSERT INTO gifi (accno, description) VALUES ('224', 'Pauschalwertberichtigungen zu Forderungen gegenüber verbundenen Unternehmen');
+INSERT INTO gifi (accno, description) VALUES ('225-227', 'Forderungen gegenüber Unternehmen, mit denen ein Beteiligungsverhältnis besteht');
+INSERT INTO gifi (accno, description) VALUES ('228', 'Einzelwertberichtigungen zu Forderungen gegenüber Unternehmen, mit denen ein Beteiligungsverhältnis besteht');
+INSERT INTO gifi (accno, description) VALUES ('229', 'Pauschalwertberichtigungen zu Forderungen gegenüber Unternehmen, mit denen ein Beteiligungsverhältnis besteht');
+--
+INSERT INTO gifi (accno, description) VALUES ('23-24', 'Sonstige Forderungen und Vermögensgegenstände');
+INSERT INTO gifi (accno, description) VALUES ('230-246', 'Sonstige Forderungen und Vermögensgegenstände');
+INSERT INTO gifi (accno, description) VALUES ('247', 'Eingeforderte, aber noch nicht eingezahlte Einlagen');
+INSERT INTO gifi (accno, description) VALUES ('248', 'Einzelwertberichtigungen zu sonstigen Forderungen und Vermögensgegenständen');
+INSERT INTO gifi (accno, description) VALUES ('249', 'Pauschalwertberichtigungen zu sonstigen Forderungen und Vermögensgegenständen');
+--
+INSERT INTO gifi (accno, description) VALUES ('25', 'Forderungen aus der Abgabenverrechnung');
+INSERT INTO gifi (accno, description) VALUES ('250-259', 'Forderungen aus der Abgabenverrechnung');
+--
+INSERT INTO gifi (accno, description) VALUES ('26', 'Wertpapiere und Anteile');
+INSERT INTO gifi (accno, description) VALUES ('260', 'Eigene Anteile');
+INSERT INTO gifi (accno, description) VALUES ('261', 'Anteile an verbundenen Unternehmen');
+INSERT INTO gifi (accno, description) VALUES ('262', 'Sonstige Anteile');
+INSERT INTO gifi (accno, description) VALUES ('263-267', 'Sonstige Wertpapiere');
+INSERT INTO gifi (accno, description) VALUES ('268', 'Besitzwechsel, soweit dem Unternehmen nicht die der Ausstellung zugrundeliegenden Forderungen zustehen');
+INSERT INTO gifi (accno, description) VALUES ('269', 'Wertberichtigungen');
+--
+INSERT INTO gifi (accno, description) VALUES ('27-28', 'Kassenbestand, Schecks, Guthaben bei Kreditinstituten');
+INSERT INTO gifi (accno, description) VALUES ('270-272', 'Kassenbestände in Inlandswährung');
+INSERT INTO gifi (accno, description) VALUES ('273', 'Postwertzeichen');
+INSERT INTO gifi (accno, description) VALUES ('274', 'Stempelmarken');
+INSERT INTO gifi (accno, description) VALUES ('275-277', 'Kassenbestände in Fremdwährung');
+INSERT INTO gifi (accno, description) VALUES ('278', 'Schecks in Inlandswährung');
+INSERT INTO gifi (accno, description) VALUES ('280-288', 'Guthaben bei Kreditinstituten');
+INSERT INTO gifi (accno, description) VALUES ('289', 'Wertberichtigungen');
+--
+INSERT INTO gifi (accno, description) VALUES ('29', 'Rechnungsabgrenzungsposten');
+INSERT INTO gifi (accno, description) VALUES ('290', 'Aktive Rechnungsabgrenzungsposten');
+INSERT INTO gifi (accno, description) VALUES ('295', 'Disagio');
+INSERT INTO gifi (accno, description) VALUES ('296', 'Unterschiedsbetrag zur gebotenen Pensionsrückstellung');
+INSERT INTO gifi (accno, description) VALUES ('297', 'Unterschiedsbetrag gem. Abschnitt XII Pensionskassengesetz');
+INSERT INTO gifi (accno, description) VALUES ('298', 'Steuerabgrenzung');
+--
+INSERT INTO gifi (accno, description) VALUES ('3', 'Rückstellungen, Verbindlichkeiten und Rechnungsabgrenzungsposten');
+--
+INSERT INTO gifi (accno, description) VALUES ('30', 'Rückstellungen');
+INSERT INTO gifi (accno, description) VALUES ('300', 'Rückstellungen für Abfertigungen');
+INSERT INTO gifi (accno, description) VALUES ('301', 'Rückstellungen für Pensionen');
+INSERT INTO gifi (accno, description) VALUES ('302-303', 'Steuerrückstellungen');
+INSERT INTO gifi (accno, description) VALUES ('304-309', 'Sonstige Rückstellungen');
+--
+INSERT INTO gifi (accno, description) VALUES ('31', 'Anleihen, Verbindlichkeiten gegenüber Kreditinstituten und Finanzinstituten');
+INSERT INTO gifi (accno, description) VALUES ('310', 'Anleihen (einschließlich konvertibler)');
+INSERT INTO gifi (accno, description) VALUES ('311-317', 'Verbindlichkeiten gegenüber Kreditinstituten');
+INSERT INTO gifi (accno, description) VALUES ('318-319', 'Verbindlichkeiten gegenüber Finanzinstituten');
+--
+INSERT INTO gifi (accno, description) VALUES ('32', 'Erhaltene Anzahlungen auf Bestellungen');
+INSERT INTO gifi (accno, description) VALUES ('320', 'Erhaltene Anzahlungen auf Bestellungen');
+INSERT INTO gifi (accno, description) VALUES ('321', 'Umsatzsteuer-Evidenzkonto für erhaltene Anzahlungen auf Bestellungen');
+--
+INSERT INTO gifi (accno, description) VALUES ('33', 'Verbindlichkeiten aus Lieferungen und Leistungen, Verbindlichkeiten aus der Annahme gezogener und der Ausstellung eigener Wechsel');
+INSERT INTO gifi (accno, description) VALUES ('330-335', 'Verbindlichkeiten aus Lieferungen und Leistungen Inland');
+INSERT INTO gifi (accno, description) VALUES ('336', 'Verbindlichkeiten aus Lieferungen und Leistungen Währungsunion');
+INSERT INTO gifi (accno, description) VALUES ('337', 'Verbindlichkeiten aus Lieferungen und Leistungen sonstiges Ausland');
+INSERT INTO gifi (accno, description) VALUES ('338-339', 'Verbindlichkeiten aus der Annahme gezogener Wechsel und der Ausstellung eigener Wechsel');
+--
+INSERT INTO gifi (accno, description) VALUES ('34', 'Verbindlichkeiten gegenüber verbundenen Unternehmen, gegenüber Unternehmen, mit denen ein Beteiligungsverhältnis besteht und gegenüber Gesellschaftern');
+INSERT INTO gifi (accno, description) VALUES ('340-347', 'Verbindlichkeiten gegenüber verbundenen Unternehmen, Verbindlichkeiten gegenüber Unternehmen, mit denen ein Beteiligungsverhältnis besteht');
+INSERT INTO gifi (accno, description) VALUES ('348', 'Verbindlichkeiten gegenüber Gesellschaftern');
+--
+INSERT INTO gifi (accno, description) VALUES ('35', 'Verbindlichkeiten aus Steuern');
+INSERT INTO gifi (accno, description) VALUES ('350-359', 'Verbindlichkeiten aus Steuern');
+--
+INSERT INTO gifi (accno, description) VALUES ('36', 'Verbindlichkeiten im Rahmen der sozialen Sicherheit');
+INSERT INTO gifi (accno, description) VALUES ('360-369', 'Verbindlichkeiten im Rahmen der sozialen Sicherheit');
+--
+INSERT INTO gifi (accno, description) VALUES ('37-38', 'Übrige sonstige Verbindlichkeiten');
+INSERT INTO gifi (accno, description) VALUES ('370-389', 'Übrige sonstige Verbindlichkeiten');
+--
+INSERT INTO gifi (accno, description) VALUES ('39', 'Rechnungsabgrenzungsposten');
+INSERT INTO gifi (accno, description) VALUES ('390-399', 'Passive Rechnungsabgrenzungsposten');
+--
+INSERT INTO gifi (accno, description) VALUES ('4', 'Betriebliche Erträge');
+--
+INSERT INTO gifi (accno, description) VALUES ('40-44', 'Brutto-Umsatzerlöse und Erlösschmälerungen');
+INSERT INTO gifi (accno, description) VALUES ('400-439', 'Brutto-Umsatzerlöse');
+INSERT INTO gifi (accno, description) VALUES ('440-449', 'Erlösschmälerungen');
+--
+INSERT INTO gifi (accno, description) VALUES ('45', 'Bestandsveränderungen und aktivierte Eigenleistungen');
+INSERT INTO gifi (accno, description) VALUES ('450-457', 'Veränderungen des Bestandes an fertigen und unfertigen Erzeugnissen sowie an noch nicht abrechenbaren Leistungen');
+INSERT INTO gifi (accno, description) VALUES ('458-459', 'andere aktivierte Eigenleistungen');
+--
+INSERT INTO gifi (accno, description) VALUES ('46-49', 'Sonstige betriebliche Erträge');
+INSERT INTO gifi (accno, description) VALUES ('460-462', 'Erlöse aus dem Abgang vom Anlagevermögen, ausgenommen Finanzanlagen');
+INSERT INTO gifi (accno, description) VALUES ('463-465', 'Erträge aus dem Abgang vom Anlagevermögen, ausgenommen Finanzanlagen');
+INSERT INTO gifi (accno, description) VALUES ('466-467', 'Erträge aus der Zuschreibung zum Anlagevermögen, ausgenommen Finanzanlagen');
+INSERT INTO gifi (accno, description) VALUES ('470-479', 'Erträge aus der Auflösung von Rückstellungen');
+INSERT INTO gifi (accno, description) VALUES ('480-499', 'Übrige betriebliche Erträge');
+--
+INSERT INTO gifi (accno, description) VALUES ('5', 'Materialaufwand und sonstige bezogene Herstellungsleistungen');
+INSERT INTO gifi (accno, description) VALUES ('500-509', 'Wareneinsatz');
+INSERT INTO gifi (accno, description) VALUES ('510-519', 'Verbrauch von Rohstoffen');
+INSERT INTO gifi (accno, description) VALUES ('520-529', 'Verbrauch von bezogenen Fertig- und Einzelteilen');
+INSERT INTO gifi (accno, description) VALUES ('530-539', 'Verbrauch von Hilfsstoffen');
+INSERT INTO gifi (accno, description) VALUES ('540-549', 'Verbrauch von Betriebsstoffen');
+INSERT INTO gifi (accno, description) VALUES ('550-559', 'Verbrauch von Werkzeugen und anderen Erzeugungshilfsmitteln');
+INSERT INTO gifi (accno, description) VALUES ('560-569', 'Verbrauch von Brenn- und Treibstoffen, Energie und Wasser');
+INSERT INTO gifi (accno, description) VALUES ('570-579', 'Sonstige bezogene Herstellungsleistungen');
+INSERT INTO gifi (accno, description) VALUES ('580', 'Skontoerträge auf Materialaufwand');
+INSERT INTO gifi (accno, description) VALUES ('581', 'Skontoerträge auf sonstige bezogene Herstellungsleistungen');
+INSERT INTO gifi (accno, description) VALUES ('590', 'Aufwandsstellenrechnung');
+--
+INSERT INTO gifi (accno, description) VALUES ('6', 'Personalaufwand');
+INSERT INTO gifi (accno, description) VALUES ('600-619', 'Löhne');
+INSERT INTO gifi (accno, description) VALUES ('620-639', 'Gehälter');
+INSERT INTO gifi (accno, description) VALUES ('640-644', 'Aufwendungen für Abfertigungen');
+INSERT INTO gifi (accno, description) VALUES ('645-649', 'Aufwendungen für Altersversorgung');
+INSERT INTO gifi (accno, description) VALUES ('650-655', 'Gesetzlicher Sozialaufwand Arbeiter');
+INSERT INTO gifi (accno, description) VALUES ('656-659', 'Gesetzlicher Sozialaufwand Angestellte');
+INSERT INTO gifi (accno, description) VALUES ('660-665', 'Lohnabhängige Abgaben und Pflichtbeiträge');
+INSERT INTO gifi (accno, description) VALUES ('666-669', 'Gehaltsabhängige Abgaben und Pflichtbeiträge');
+INSERT INTO gifi (accno, description) VALUES ('670-689', 'Sonstige Sozialaufwendungen');
+INSERT INTO gifi (accno, description) VALUES ('690', 'Aufwandsstellenrechnung');
+--
+INSERT INTO gifi (accno, description) VALUES ('7', 'Abschreibungen und sonstige betriebliche Aufwendunge');
+--
+INSERT INTO gifi (accno, description) VALUES ('70', 'Abschreibungen');
+INSERT INTO gifi (accno, description) VALUES ('700', 'Abschreibungen auf aktivierte Aufwendungen für das Ingangsetzen und Erweitern eines Betriebes');
+INSERT INTO gifi (accno, description) VALUES ('701-708', 'Abschreibungen auf das Anlagevermögen (ausgenommen Finanzanlagen)');
+INSERT INTO gifi (accno, description) VALUES ('709', 'Abschreibungen vom Umlaufvermögen, soweit diese die im Unternehmen üblichen Abschreibungen übersteigen');
+--
+INSERT INTO gifi (accno, description) VALUES ('71', 'Sonstige Steuern');
+INSERT INTO gifi (accno, description) VALUES ('710-719', 'Sonstige Steuern');
+--
+INSERT INTO gifi (accno, description) VALUES ('72-78', 'Übrige betriebliche Aufwendungen');
+--
+INSERT INTO gifi (accno, description) VALUES ('72', 'Instandhaltung und Reinigung durch Dritte, Entsorgung, Beleuchtung');
+INSERT INTO gifi (accno, description) VALUES ('720-729', 'Instandhaltung und Reinigung durch Dritte, Entsorgung, Beleuchtung');
+--
+INSERT INTO gifi (accno, description) VALUES ('73', 'Transport-, Reise- und Fahrtaufwand, Nachrichtenaufwand');
+INSERT INTO gifi (accno, description) VALUES ('730-731', 'Transporte durch Dritte');
+INSERT INTO gifi (accno, description) VALUES ('732-733', 'Kfz-Aufwand');
+INSERT INTO gifi (accno, description) VALUES ('734-735', 'Reise- und Fahrtaufwand');
+INSERT INTO gifi (accno, description) VALUES ('736-737', 'Tag- und Nächtigungsgelder');
+INSERT INTO gifi (accno, description) VALUES ('738-739', 'Nachrichtenaufwand');
+--
+INSERT INTO gifi (accno, description) VALUES ('74', 'Miet-, Pacht-, Leasing- und Lizenzaufwand');
+INSERT INTO gifi (accno, description) VALUES ('740-743', 'Miet- und Pachtaufwand');
+INSERT INTO gifi (accno, description) VALUES ('744-747', 'Leasingaufwand');
+INSERT INTO gifi (accno, description) VALUES ('748-749', 'Lizenzaufwand');
+--
+INSERT INTO gifi (accno, description) VALUES ('75', 'Aufwand für beigestelltes Personal, Provisionen an Dritte, Aufsichtsratsvergütungen');
+INSERT INTO gifi (accno, description) VALUES ('750-753', 'Aufwand für beigestelltes Personal');
+INSERT INTO gifi (accno, description) VALUES ('754-757', 'Provisionen an Dritte');
+INSERT INTO gifi (accno, description) VALUES ('758-759', 'Aufsichtsratsvergütungen');
+--
+INSERT INTO gifi (accno, description) VALUES ('76', 'Büro-, Werbe- und Repräsentationsaufwand');
+INSERT INTO gifi (accno, description) VALUES ('760', 'Büromaterial und Drucksorten');
+INSERT INTO gifi (accno, description) VALUES ('761-762', 'Druckerzeugnisse und Vervielfältigungen');
+INSERT INTO gifi (accno, description) VALUES ('763', 'Fachliteratur und Zeitungen');
+INSERT INTO gifi (accno, description) VALUES ('765-768', 'Werbung und Repräsentation');
+INSERT INTO gifi (accno, description) VALUES ('769', 'Spenden und Trinkgelder');
+--
+INSERT INTO gifi (accno, description) VALUES ('77-78', 'Versicherungen, Übrige Aufwendungen');
+INSERT INTO gifi (accno, description) VALUES ('770-774', 'Versicherungen');
+INSERT INTO gifi (accno, description) VALUES ('775-776', 'Beratungs- und Prüfungsaufwand');
+INSERT INTO gifi (accno, description) VALUES ('777', 'Aus- und Fortbildung');
+INSERT INTO gifi (accno, description) VALUES ('778', 'Mitgliedsbeiträge');
+INSERT INTO gifi (accno, description) VALUES ('779', 'Spesen des Geldverkehrs');
+INSERT INTO gifi (accno, description) VALUES ('780-781', 'Schadensfälle');
+INSERT INTO gifi (accno, description) VALUES ('782', 'Buchwert abgegangener Anlagen, ausgenommen Finanzanlagen');
+INSERT INTO gifi (accno, description) VALUES ('783', 'Verluste aus dem Abgang vom Anlagevermögen, ausgenommen Finanzanlagen');
+INSERT INTO gifi (accno, description) VALUES ('784-788', 'Verschiedene betriebliche Aufwendungen');
+INSERT INTO gifi (accno, description) VALUES ('789', 'Skontoerträge auf sonstige betriebliche Aufwendungen');
+--
+INSERT INTO gifi (accno, description) VALUES ('79', 'Konten für das Umsatzkostenverfahren');
+INSERT INTO gifi (accno, description) VALUES ('790', 'Aufwandsstellenrechnung');
+INSERT INTO gifi (accno, description) VALUES ('791-799', 'Aufwandsstellen im Rahmen des Umsatzkostenverfahrens');
+INSERT INTO gifi (accno, description) VALUES ('791-795', 'Aufwandsstellen der Herstellung');
+INSERT INTO gifi (accno, description) VALUES ('796', 'Herstellungskosten der zur Erzielung der Umsatzerlöse erbrachten Leistungen');
+INSERT INTO gifi (accno, description) VALUES ('797', 'Vertriebskosten');
+INSERT INTO gifi (accno, description) VALUES ('798', 'Verwaltungskosten');
+INSERT INTO gifi (accno, description) VALUES ('799', 'Sonstige betriebliche Aufwendungen');
+--
+INSERT INTO gifi (accno, description) VALUES ('8', 'Finanzerträge und Finanzaufwendungen, a.o. Erträge und a.o. Aufwendungen, Steuern vom Einkommen und vom Ertrag, Rücklagenbewegung');
+--
+INSERT INTO gifi (accno, description) VALUES ('80-83', 'Finanzerträge und Finanzaufwendungen');
+INSERT INTO gifi (accno, description) VALUES ('800-804', 'Erträge aus Beteiligungen');
+INSERT INTO gifi (accno, description) VALUES ('805-809', 'Erträge aus anderen Wertpapieren und Ausleihungen des Finanzanlagevermögens');
+INSERT INTO gifi (accno, description) VALUES ('810-813', 'Sonstige Zinsen und ähnliche Erträge');
+INSERT INTO gifi (accno, description) VALUES ('814', 'Erlöse aus dem Abgang von Beteiligungen');
+INSERT INTO gifi (accno, description) VALUES ('815', 'Erlöse aus dem Abgang von sonstigen Finanzanlagen');
+INSERT INTO gifi (accno, description) VALUES ('816', 'Erlöse aus dem Abgang von Wertpapieren des Umlaufvermögens');
+INSERT INTO gifi (accno, description) VALUES ('817', 'Buchwert abgegangener Beteiligungen');
+INSERT INTO gifi (accno, description) VALUES ('818', 'Buchwert abgegangener sonstiger Finanzanlagen');
+INSERT INTO gifi (accno, description) VALUES ('819', 'Buchwert abgegangener Wertpapiere des Umlaufvermögens');
+INSERT INTO gifi (accno, description) VALUES ('820', 'Erträge aus dem Abgang von und der Zuschreibung zu Finanzanlagen');
+INSERT INTO gifi (accno, description) VALUES ('821', 'Erträge aus dem Abgang von und der Zuschreibung zu Wertpapieren des Umlaufvermögens');
+INSERT INTO gifi (accno, description) VALUES ('822-825', 'Aufwendungen aus Beteiligungen');
+INSERT INTO gifi (accno, description) VALUES ('826-827', 'Aufwendungen aus sonstigen Finanzanlagen und aus Wertpapieren des Umlaufvermögens');
+INSERT INTO gifi (accno, description) VALUES ('828-834', 'Zinsen und ähnliche Aufwendungen');
+INSERT INTO gifi (accno, description) VALUES ('835', 'Nicht ausgenützte Lieferantenskonti');
+--
+INSERT INTO gifi (accno, description) VALUES ('84', 'Außerordentliche Erträge und außerordentliche Aufwendungen');
+INSERT INTO gifi (accno, description) VALUES ('840-844', 'Außerordentliche Erträge');
+INSERT INTO gifi (accno, description) VALUES ('845-849', 'Außerordentliche Aufwendungen');
+--
+INSERT INTO gifi (accno, description) VALUES ('85', 'Steuern vom Einkommen und vom Ertrag');
+INSERT INTO gifi (accno, description) VALUES ('850-859', 'Steuern vom Einkommen und vom Ertrag');
+--
+INSERT INTO gifi (accno, description) VALUES ('86-89', 'Rücklagenbewegung, Ergebnisüberrechnung');
+INSERT INTO gifi (accno, description) VALUES ('860-869', 'Auflösung unversteuerter Rücklagen');
+INSERT INTO gifi (accno, description) VALUES ('870-874', 'Auflösung von Kapitalrücklagen');
+INSERT INTO gifi (accno, description) VALUES ('875-879', 'Auflösung von Gewinnrücklagen');
+INSERT INTO gifi (accno, description) VALUES ('880-889', 'Zuweisung zu unversteuerten Rücklagen');
+INSERT INTO gifi (accno, description) VALUES ('890-895', 'Zuweisung zu Gewinnrücklagen');
+INSERT INTO gifi (accno, description) VALUES ('899', 'Gewinnabfuhr bzw. Verlustüberrechnung aus Ergebnisabführungsverträgen');
+--
+INSERT INTO gifi (accno, description) VALUES ('9', 'Eigenkapital, unversteuerte Rücklagen, Einlagen Stiller Gesellschafter, Abschluß- und Evidenzkonten');
+--
+INSERT INTO gifi (accno, description) VALUES ('900-918', 'Gezeichnetes bzw. gewidmetes Kapital');
+INSERT INTO gifi (accno, description) VALUES ('919', 'Nicht eingeforderte ausstehende Einlagen');
+INSERT INTO gifi (accno, description) VALUES ('920-929', 'Kapitalrücklagen');
+INSERT INTO gifi (accno, description) VALUES ('930-938', 'Gewinnrücklagen');
+INSERT INTO gifi (accno, description) VALUES ('939', 'Bilanzgewinn (-verlust)');
+INSERT INTO gifi (accno, description) VALUES ('940-959', 'Bewertungsreserven und sonstige unversteuerte Rücklagen');
+INSERT INTO gifi (accno, description) VALUES ('960-969', 'Privat- und Verrechnungskonten bei Einzelunternehmen und Personengesellschaften');
+INSERT INTO gifi (accno, description) VALUES ('970-979', 'Einlagen Stiller Gesellschafter');
+INSERT INTO gifi (accno, description) VALUES ('980', 'Eröffnungsbilanz');
+INSERT INTO gifi (accno, description) VALUES ('985', 'Schlußbilanz');
+INSERT INTO gifi (accno, description) VALUES ('989', 'Gewinn- und Verlustrechnung');
+INSERT INTO gifi (accno, description) VALUES ('990-999', 'Evidenzkonten');
diff --git a/sql-ledger/sql/Brazil_General-chart.sql b/sql-ledger/sql/Brazil_General-chart.sql
new file mode 100644
index 0000000..1c983e6
--- /dev/null
+++ b/sql-ledger/sql/Brazil_General-chart.sql
@@ -0,0 +1,70 @@
+-- General Brazilien Portuguese COA
+-- sample only
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1000','RECURSOS ATUAIS','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1060','Checando Cliente','A','','A','AR_paid:AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1065','Caixa Baixo','A','','A','AR_paid:AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1200','Contas a Receber','A','','A','AR');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1205','Provisão para devedors duvidosos','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1500','INVENTÁRIO DE CLIENTES','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1520','Inventário / Geral','A','','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1530','Inventário / Mercado Secundário','A','','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1540','Inventário / Computer Parts','A','','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1800','CAPITAL ASSETS','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1820','Escritório Móvel & Equipamentos','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1825','Accum. Amort. -Móvel. & Equip.','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1840','Veículo','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1845','Accum. Amort. -Veículo','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2000','BALANÇO ATUAL','H','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2100','Contas a Pagar','A','','L','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2170','Taxas federais','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2310','VAT (7%)','A','','L','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2320','VAT (8%)','A','','L','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2380','Contas a pagar de férias','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2400','DEDUÇÕES DE FOLHA DE PAGAMENTO','H','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2450','Imposto de Renda Devido','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2600','Passivi exigível a longo prazo','H','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2620','Empréstimo bancário','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2680','Empréstimo de Acionistas','A','','L','AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3300','DIVISÃO DE CAPITAL','H','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3350','Divisão comum','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4000','VENDAS RECEITAS','H','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4020','Vendas Gerais','A','','I','AR_amount:IC_sale');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4030','Partes para mercado secundário','A','','I','AR_amount:IC_sale');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4040','Parte Computacional','A','','I','AR_amount:IC_sale');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4300','CONSULTANDO FONTES DE RENDA','H','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4320','Consultando','A','','I','AR_amount:IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4330','Programando','A','','I','AR_amount:IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4340','Loja','A','','I','AR_amount:IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4400','OUTRAS RENDAS','H','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4430','Transporte & Taxa','A','','I','IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4440','Juros Acumulados','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4450','Ganho de câmbio estrangeiro','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5000','CUSTO DE VENDAS DE PRODUTOS','H','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5010','Compras','A','','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5050','Mercado Secundário','A','','E','AP_amount:IC_cogs');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5060','Parte Computacional','A','','E','AP_amount:IC_cogs');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5100','Frete','A','','E','AP_amount:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5400','DESPESAS E FOLHA DE PAGAMENTO','H','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5410','Salários','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5600','GERAL E DESPESAS ADMINISTRATIVAS','H','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5610','Contabilidade & Leis','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5615','Publicidade & Promoções','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5620','Balanço','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5660','Amortização','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5680','Imposto de Renda','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5685','Seguro','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5690','Interesses & Encargos Bancários','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5700','Materiais de Escritório','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5760','Aluguel','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5765','Manutenção & Reparos','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5780','Telefone','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5785','Cursos & Entretenimentos','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5790','Serviços Públicos','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5800','Licenciamento para exportações','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5810','Troca com Estrangeiro','A','','E','');
+--
+insert into tax (chart_id,rate) values ((select id from chart where accno = '2310'),0.07);
+insert into tax (chart_id,rate) values ((select id from chart where accno = '2320'),0.08);
+--
+update defaults set inventory_accno_id = (select id from chart where accno = '1520'), income_accno_id = (select id from chart where accno = '4020'), expense_accno_id = (select id from chart where accno = '5010'), fxgain_accno_id = (select id from chart where accno = '4450'), fxloss_accno_id = (select id from chart where accno = '5810'), invnumber = '1000', sonumber = '1000', ponumber = '1000', curr = 'R$:EUR:USD', weightunit = 'kg';
+--
diff --git a/sql-ledger/sql/Canada-gifi.sql b/sql-ledger/sql/Canada-gifi.sql
new file mode 100644
index 0000000..fe9641c
--- /dev/null
+++ b/sql-ledger/sql/Canada-gifi.sql
@@ -0,0 +1,754 @@
+-- GIFI codes as set by the Canadian Government
+-- It's a dirty job, but it seems somebody allready did it
+-- PDF Tammes, Tue , 02 Apr 2002
+-- remarks or questions to finance@bermuda-holding.com
+--
+-- From the GIFI documentation:
+--
+-- The GIFI information has to balance. We use the following rules to verify the information you provide.
+-- total assets = total liabilities + total shareholder equity
+-- total revenue - total expenses = net non-farming income
+-- total farm revenue - total farm expenses = net farm income
+--
+-- You have to provide certain line items so that we can verify the above equations. Each GIFI must include:
+-- balance sheet
+-- Item 2599 Total assets
+-- Item 3499 Total liabilities
+-- Item 3620 Total shareholder equity
+-- non-farming income and expenses
+-- Item 8299 Total revenue
+-- Item 9368 Total expenses
+-- and/or
+-- farming income and expenses
+-- Item 9659 Total farm revenue
+-- Item 9898 Total farm expenses
+-- when reporting a breakdown of retained earnings
+-- Item 3849 Retained earnings/deficit end
+-- extraordinary items and income taxes
+-- Item 9999 Net income/loss after taxes and extraordinary items
+-- If the amount of a required item is NIL, you have to enter 0.
+--
+INSERT INTO gifi (accno,description) VALUES ('1000', 'Cash & Deposits');
+INSERT INTO gifi (accno,description) VALUES ('1001', 'Cash');
+INSERT INTO gifi (accno,description) VALUES ('1002', 'Deposits In Canadian Banks And Institutions - Canadian Currency');
+INSERT INTO gifi (accno,description) VALUES ('1003', 'Deposits In Canadian Banks And Institutions - Foreign Currency');
+INSERT INTO gifi (accno,description) VALUES ('1004', 'Deposits In Foreign Banks - Canadian Currency');
+INSERT INTO gifi (accno,description) VALUES ('1005', 'Deposits In Foreign Banks - Foreign Currency');
+INSERT INTO gifi (accno,description) VALUES ('1006', 'Credit Union Central Deposits');
+INSERT INTO gifi (accno,description) VALUES ('1007', 'Other Cash Like Instruments - Gold Bullion, Silver Bullion');
+INSERT INTO gifi (accno,description) VALUES ('1060', 'Accounts Receivable');
+INSERT INTO gifi (accno,description) VALUES ('1061', 'Allowance For Doubtfull Accounts Receivable');
+INSERT INTO gifi (accno,description) VALUES ('1062', 'Trade Accounts Receivable');
+INSERT INTO gifi (accno,description) VALUES ('1063', 'Allowance For Doubtfull Trade Accounts Receivable');
+INSERT INTO gifi (accno,description) VALUES ('1064', 'Trade Accounts Receivable Related Parties');
+INSERT INTO gifi (accno,description) VALUES ('1065', 'Allowance For Doubtfull Trade Accounts Receivable Related Parties');
+INSERT INTO gifi (accno,description) VALUES ('1066', 'Taxes Receivable');
+INSERT INTO gifi (accno,description) VALUES ('1067', 'Intrest Receivable');
+INSERT INTO gifi (accno,description) VALUES ('1068', 'Holdbacks Receivable');
+INSERT INTO gifi (accno,description) VALUES ('1069', 'Leases Receivable');
+INSERT INTO gifi (accno,description) VALUES ('1070', 'Allowance For Doubtfull Leases Receivable');
+INSERT INTO gifi (accno,description) VALUES ('1071', 'Accounts Receivable Employees');
+INSERT INTO gifi (accno,description) VALUES ('1072', 'Allowance For Doubtfull Accounts Receivable Employees');
+INSERT INTO gifi (accno,description) VALUES ('1073', 'Accounts Receivable From Members Of NPO');
+INSERT INTO gifi (accno,description) VALUES ('1120', 'Inventories');
+INSERT INTO gifi (accno,description) VALUES ('1121', 'Inventory Of Goods For Sale/Finished Goods');
+INSERT INTO gifi (accno,description) VALUES ('1122', 'Inventory Of Parts And Supplies');
+INSERT INTO gifi (accno,description) VALUES ('1125', 'Work In Progress');
+INSERT INTO gifi (accno,description) VALUES ('1126', 'Raw Materials');
+INSERT INTO gifi (accno,description) VALUES ('1180', 'Short Term Investments');
+INSERT INTO gifi (accno,description) VALUES ('1181', 'Canadian Term Deposits');
+INSERT INTO gifi (accno,description) VALUES ('1182', 'Canadian Shares');
+INSERT INTO gifi (accno,description) VALUES ('1183', 'Canadian Bonds');
+INSERT INTO gifi (accno,description) VALUES ('1184', 'Canadian Treasury Bills');
+INSERT INTO gifi (accno,description) VALUES ('1185', 'Securities Purchased Under Resale Agreement');
+INSERT INTO gifi (accno,description) VALUES ('1186', 'Other Short Term Canadian Investments');
+INSERT INTO gifi (accno,description) VALUES ('1187', 'Short Term Foreign Investments');
+INSERT INTO gifi (accno,description) VALUES ('1240', 'Loans & Notes Receivable');
+INSERT INTO gifi (accno,description) VALUES ('1241', 'Demand Loans Receivable');
+INSERT INTO gifi (accno,description) VALUES ('1242', 'Other Loans Receivable');
+INSERT INTO gifi (accno,description) VALUES ('1243', 'Notes Receivable');
+INSERT INTO gifi (accno,description) VALUES ('1244', 'Mortgages Receivable');
+INSERT INTO gifi (accno,description) VALUES ('1300', 'Due From Shareholder(s)/Director(s)');
+INSERT INTO gifi (accno,description) VALUES ('1301', 'Due From Individual Shareholder(s)');
+INSERT INTO gifi (accno,description) VALUES ('1302', 'Due From Corporate Shareholder(s)');
+INSERT INTO gifi (accno,description) VALUES ('1303', 'Due From Director(s)');
+INSERT INTO gifi (accno,description) VALUES ('1360', 'Investment In Joint Venture(s)/Partnership(s)');
+INSERT INTO gifi (accno,description) VALUES ('1380', 'Due From Joint Venture(s)/Partnership(s)');
+INSERT INTO gifi (accno,description) VALUES ('1400', 'Due From/Investment In Related Parties');
+INSERT INTO gifi (accno,description) VALUES ('1401', 'Demand Notes From Related Parties');
+INSERT INTO gifi (accno,description) VALUES ('1402', 'Interest Receivable From Related Parties');
+INSERT INTO gifi (accno,description) VALUES ('1403', 'Loans/Advances Due From Related Parties');
+INSERT INTO gifi (accno,description) VALUES ('1480', 'Other Current Assets');
+INSERT INTO gifi (accno,description) VALUES ('1481', 'Deferred Income Taxes');
+INSERT INTO gifi (accno,description) VALUES ('1482', 'Accrued Investment Income');
+INSERT INTO gifi (accno,description) VALUES ('1483', 'Taxes Recoverable/Refundable');
+INSERT INTO gifi (accno,description) VALUES ('1484', 'Prepaid Expenses');
+INSERT INTO gifi (accno,description) VALUES ('1485', 'Drilling Advances');
+INSERT INTO gifi (accno,description) VALUES ('1486', 'Security Deposits');
+INSERT INTO gifi (accno,description) VALUES ('1599', 'Total Current Assets');
+INSERT INTO gifi (accno,description) VALUES ('1600', 'Land');
+INSERT INTO gifi (accno,description) VALUES ('1601', 'Land Improvement');
+INSERT INTO gifi (accno,description) VALUES ('1602', 'Accumulated Amortization Of Land & Land Improvement');
+INSERT INTO gifi (accno,description) VALUES ('1620', 'Depletable Assets');
+INSERT INTO gifi (accno,description) VALUES ('1621', 'Accumulated Amortization Of Depletable Assets');
+INSERT INTO gifi (accno,description) VALUES ('1622', 'Petroleum & Natural Gas Properties');
+INSERT INTO gifi (accno,description) VALUES ('1623', 'Accumulated Amortization Of Petroleum & Natural Gas Properties');
+INSERT INTO gifi (accno,description) VALUES ('1624', 'Mining Properties');
+INSERT INTO gifi (accno,description) VALUES ('1625', 'Accumulated Amortization Of Mining Properties');
+INSERT INTO gifi (accno,description) VALUES ('1626', 'Deferred Exporation & Development charges');
+INSERT INTO gifi (accno,description) VALUES ('1627', 'Accumulated Amortization Of Petroleum & Deferred Exporation & Development charges');
+INSERT INTO gifi (accno,description) VALUES ('1628', 'Quarries');
+INSERT INTO gifi (accno,description) VALUES ('1629', 'Accumulated Amortization Of Quarries');
+INSERT INTO gifi (accno,description) VALUES ('1630', 'Gravel Pits');
+INSERT INTO gifi (accno,description) VALUES ('1631', 'Accumulated Amortization Of Gravel Pits');
+INSERT INTO gifi (accno,description) VALUES ('1632', 'Timber Limits');
+INSERT INTO gifi (accno,description) VALUES ('1633', 'Accumulated Amortization Of Timber Limits');
+INSERT INTO gifi (accno,description) VALUES ('1680', 'Buildings');
+INSERT INTO gifi (accno,description) VALUES ('1681', 'Accumulated Amortization Of Buildings');
+INSERT INTO gifi (accno,description) VALUES ('1682', 'Manufacturing And Processing Plant');
+INSERT INTO gifi (accno,description) VALUES ('1683', 'Accumulated Amortization Of Manufacturing and Processing Plant');
+INSERT INTO gifi (accno,description) VALUES ('1684', 'Buildings Under Construction');
+INSERT INTO gifi (accno,description) VALUES ('1740', 'Machinery, Equipment, furniture & fixtures');
+INSERT INTO gifi (accno,description) VALUES ('1741', 'Accumulated Amortization Of Machinery, Equipment, furniture & fixtures');
+INSERT INTO gifi (accno,description) VALUES ('1742', 'Motor Vehicles');
+INSERT INTO gifi (accno,description) VALUES ('1743', 'Accumulated Amortization Of Motor Vehicles');
+INSERT INTO gifi (accno,description) VALUES ('1744', 'Tools and Dies');
+INSERT INTO gifi (accno,description) VALUES ('1745', 'Accumulated Amortization Of Tools and Dies');
+INSERT INTO gifi (accno,description) VALUES ('1746', 'Construction & Excavating Equipment');
+INSERT INTO gifi (accno,description) VALUES ('1747', 'Accumulated Amortization Of Construction & Excavating Equipment');
+INSERT INTO gifi (accno,description) VALUES ('1748', 'Forestry & Logging Equipment');
+INSERT INTO gifi (accno,description) VALUES ('1749', 'Accumulated Amortization Of Forestry & Logging Equipment');
+INSERT INTO gifi (accno,description) VALUES ('1750', 'Fishing Gear & Nets');
+INSERT INTO gifi (accno,description) VALUES ('1751', 'Accumulated Amortization Of Fishing Gear & Nets');
+INSERT INTO gifi (accno,description) VALUES ('1752', 'Mining Equipment');
+INSERT INTO gifi (accno,description) VALUES ('1753', 'Accumulated Amortization Of Mining Equipment');
+INSERT INTO gifi (accno,description) VALUES ('1754', 'Oil & Gas Systems');
+INSERT INTO gifi (accno,description) VALUES ('1755', 'Accumulated Amortization Of Oil & Gas Systems');
+INSERT INTO gifi (accno,description) VALUES ('1756', 'Production Equipment for resource industries');
+INSERT INTO gifi (accno,description) VALUES ('1757', 'Accumulated Amortization Of Production Equipment for resource industries');
+INSERT INTO gifi (accno,description) VALUES ('1758', 'Production Equipment for other industries');
+INSERT INTO gifi (accno,description) VALUES ('1759', 'Accumulated Amortization Of Production Equipment for other industries');
+INSERT INTO gifi (accno,description) VALUES ('1760', 'Exploration Equipment');
+INSERT INTO gifi (accno,description) VALUES ('1761', 'Accumulated Amortization Of Exploration Equipment');
+INSERT INTO gifi (accno,description) VALUES ('1762', 'Shipping Equipment');
+INSERT INTO gifi (accno,description) VALUES ('1763', 'Accumulated Amortization Of Shipping Equipment');
+INSERT INTO gifi (accno,description) VALUES ('1764', 'Ships & Boats');
+INSERT INTO gifi (accno,description) VALUES ('1765', 'Accumulated Amortization Of Ships & Boats');
+INSERT INTO gifi (accno,description) VALUES ('1766', 'Aircraft');
+INSERT INTO gifi (accno,description) VALUES ('1767', 'Accumulated Amortization Of Aircraft');
+INSERT INTO gifi (accno,description) VALUES ('1768', 'Signs');
+INSERT INTO gifi (accno,description) VALUES ('1769', 'Accumulated Amortization Of Signs');
+INSERT INTO gifi (accno,description) VALUES ('1770', 'Small Tools');
+INSERT INTO gifi (accno,description) VALUES ('1771', 'Accumulated Amortization Of Small Tools');
+INSERT INTO gifi (accno,description) VALUES ('1772', 'Radio & Communication Equipment');
+INSERT INTO gifi (accno,description) VALUES ('1773', 'Accumulated Amortization Of Radio & Communication Equipment');
+INSERT INTO gifi (accno,description) VALUES ('1774', 'Computer Equipment/Software');
+INSERT INTO gifi (accno,description) VALUES ('1775', 'Accumulated Amortization Of Computer Equipment/software');
+INSERT INTO gifi (accno,description) VALUES ('1776', 'Musical Instruments');
+INSERT INTO gifi (accno,description) VALUES ('1777', 'Accumulated Amortization Of Musical Instruments');
+INSERT INTO gifi (accno,description) VALUES ('1778', 'Satellites');
+INSERT INTO gifi (accno,description) VALUES ('1779', 'Accumulated Amortization Of Satellites');
+INSERT INTO gifi (accno,description) VALUES ('1780', 'Earth Stations');
+INSERT INTO gifi (accno,description) VALUES ('1781', 'Accumulated Amortization Of Earth Stations');
+INSERT INTO gifi (accno,description) VALUES ('1782', 'Machinery & Equipment Under Construction');
+INSERT INTO gifi (accno,description) VALUES ('1783', 'Transportation Equipment');
+INSERT INTO gifi (accno,description) VALUES ('1784', 'Accumulated Amortization Of Transportation Equipment');
+INSERT INTO gifi (accno,description) VALUES ('1785', 'Other Machinery & Equipment');
+INSERT INTO gifi (accno,description) VALUES ('1786', 'Accumulated Amortization Of Other Machinery & Equipment');
+INSERT INTO gifi (accno,description) VALUES ('1787', 'Furniture & Fixtures');
+INSERT INTO gifi (accno,description) VALUES ('1788', 'Accumulated Amortization Of Furniture & Fixtures');
+INSERT INTO gifi (accno,description) VALUES ('1900', 'Other Tangible Capital Assets');
+INSERT INTO gifi (accno,description) VALUES ('1901', 'Accumulated Amortization Of Other Tangible Capital Assets');
+INSERT INTO gifi (accno,description) VALUES ('1902', 'Logging Roads');
+INSERT INTO gifi (accno,description) VALUES ('1903', 'Accumulated Amortization Of Logging Roads');
+INSERT INTO gifi (accno,description) VALUES ('1904', 'Asphalt & Parking Areas');
+INSERT INTO gifi (accno,description) VALUES ('1905', 'Accumulated Amortization Of Asphalt & Parking Areas');
+INSERT INTO gifi (accno,description) VALUES ('1906', 'Wharves, Docks & Marinas');
+INSERT INTO gifi (accno,description) VALUES ('1907', 'Accumulated Amortization Of Wharves, Docks & Marinas');
+INSERT INTO gifi (accno,description) VALUES ('1908', 'Fences');
+INSERT INTO gifi (accno,description) VALUES ('1909', 'Accumulated Amortization Of Fences');
+INSERT INTO gifi (accno,description) VALUES ('1910', 'Capital Leases - Buildings');
+INSERT INTO gifi (accno,description) VALUES ('1911', 'Accumulated Amortization Of Capital Leases - Buildings');
+INSERT INTO gifi (accno,description) VALUES ('1912', 'Capital Leases - Equipment');
+INSERT INTO gifi (accno,description) VALUES ('1913', 'Accumulated Amortization Of Capital Leases - Equipment');
+INSERT INTO gifi (accno,description) VALUES ('1914', 'Capital Leases - Vehicles');
+INSERT INTO gifi (accno,description) VALUES ('1915', 'Accumulated Amortization Of Capital Leases - Vehicles');
+INSERT INTO gifi (accno,description) VALUES ('1916', 'Capital Leases - Other');
+INSERT INTO gifi (accno,description) VALUES ('1917', 'Accumulated Amortization Of Capital Leases - Other');
+INSERT INTO gifi (accno,description) VALUES ('1918', 'Leasehold Improvements');
+INSERT INTO gifi (accno,description) VALUES ('1919', 'Accumulated Amortization Of Leasehold Improvements');
+INSERT INTO gifi (accno,description) VALUES ('1920', 'Other Capital Assets Under Construction');
+INSERT INTO gifi (accno,description) VALUES ('1921', 'Campsites');
+INSERT INTO gifi (accno,description) VALUES ('1922', 'Accumulated Amortization Of Campsites');
+INSERT INTO gifi (accno,description) VALUES ('2008', 'Total Tangible Capital Assets');
+INSERT INTO gifi (accno,description) VALUES ('2009', 'Total Accumulated Amortization Of Tangible Capital Assets');
+INSERT INTO gifi (accno,description) VALUES ('2010', 'Intangible Assets');
+INSERT INTO gifi (accno,description) VALUES ('2011', 'Accumulated Amortization Of Intangible Assets');
+INSERT INTO gifi (accno,description) VALUES ('2012', 'Goodwill');
+INSERT INTO gifi (accno,description) VALUES ('2013', 'Accumulated Amortization Of Goodwill');
+INSERT INTO gifi (accno,description) VALUES ('2014', 'Quota');
+INSERT INTO gifi (accno,description) VALUES ('2015', 'Accumulated Amortization Of Quota');
+INSERT INTO gifi (accno,description) VALUES ('2016', 'Licences');
+INSERT INTO gifi (accno,description) VALUES ('2017', 'Accumulated Amortization Of Licences');
+INSERT INTO gifi (accno,description) VALUES ('2018', 'Incorporation Costs');
+INSERT INTO gifi (accno,description) VALUES ('2019', 'Accumulated Amortization Of Incorporation Costs');
+INSERT INTO gifi (accno,description) VALUES ('2020', 'Trademarks & Patents');
+INSERT INTO gifi (accno,description) VALUES ('2021', 'Accumulated Amortization Of Trademarks & Patents');
+INSERT INTO gifi (accno,description) VALUES ('2022', 'Customer Lists');
+INSERT INTO gifi (accno,description) VALUES ('2023', 'Accumulated Amortization Of Customer Lists');
+INSERT INTO gifi (accno,description) VALUES ('2024', 'Rights');
+INSERT INTO gifi (accno,description) VALUES ('2025', 'Accumulated Amortization Of Rights');
+INSERT INTO gifi (accno,description) VALUES ('2026', 'Research & Development');
+INSERT INTO gifi (accno,description) VALUES ('2027', 'Accumulated Amortization Of Research & Development');
+INSERT INTO gifi (accno,description) VALUES ('2070', 'Resource Rights');
+INSERT INTO gifi (accno,description) VALUES ('2071', 'Accumulated Amortization Of Resource Rights');
+INSERT INTO gifi (accno,description) VALUES ('2072', 'Timber Rights');
+INSERT INTO gifi (accno,description) VALUES ('2073', 'Accumulated Amortization Of Timber Rights');
+INSERT INTO gifi (accno,description) VALUES ('2074', 'Mining Rights');
+INSERT INTO gifi (accno,description) VALUES ('2075', 'Accumulated Amortization Of Mining Rights');
+INSERT INTO gifi (accno,description) VALUES ('2076', 'Oil & Gas Rights');
+INSERT INTO gifi (accno,description) VALUES ('2077', 'Accumulated Amortization Of Oil & Gas Rights');
+INSERT INTO gifi (accno,description) VALUES ('2078', 'Total Intangible Capital Assets');
+INSERT INTO gifi (accno,description) VALUES ('2079', 'Total Accumulated Amortization Of Intangible Capital Assets');
+INSERT INTO gifi (accno,description) VALUES ('2180', 'Long Term Due From Shareholder(s)/Director(s)');
+INSERT INTO gifi (accno,description) VALUES ('2181', 'Long Term Due From Individual Shareholder(s)');
+INSERT INTO gifi (accno,description) VALUES ('2182', 'Long Term Due From Corporate Shareholder(s)');
+INSERT INTO gifi (accno,description) VALUES ('2183', 'Long Term Due From Director(s)');
+INSERT INTO gifi (accno,description) VALUES ('2200', 'Long Term Investment In Joint Venture(s)/Partnership(s)');
+INSERT INTO gifi (accno,description) VALUES ('2220', 'Long Term Due From Joint Venture(s)/Partnership(s)');
+INSERT INTO gifi (accno,description) VALUES ('2240', 'Long Term Due From/Investment In Related Parties');
+INSERT INTO gifi (accno,description) VALUES ('2241', 'Due From/Investment In Canadian Related Parties');
+INSERT INTO gifi (accno,description) VALUES ('2242', 'Shares In Canadian Related Corporations');
+INSERT INTO gifi (accno,description) VALUES ('2243', 'Loans/Advances To Canadian Related Corporations');
+INSERT INTO gifi (accno,description) VALUES ('2244', 'Investment In Canadian Related Corporations At Cost');
+INSERT INTO gifi (accno,description) VALUES ('2245', 'Investment In Canadian Related Corporations At Equity');
+INSERT INTO gifi (accno,description) VALUES ('2246', 'Due From/Investment In Foreign Related Parties');
+INSERT INTO gifi (accno,description) VALUES ('2247', 'Shares In Foreign Related Corporations');
+INSERT INTO gifi (accno,description) VALUES ('2248', 'Loans/Advances To Foreign Related Corporations');
+INSERT INTO gifi (accno,description) VALUES ('2249', 'Investment In Foreign Related Corporations At Cost');
+INSERT INTO gifi (accno,description) VALUES ('2250', 'Investment In Foreign Related Corporations At Equity');
+INSERT INTO gifi (accno,description) VALUES ('2280', 'Investment In Co-Tenancy');
+INSERT INTO gifi (accno,description) VALUES ('2300', 'Long Term Investments');
+INSERT INTO gifi (accno,description) VALUES ('2301', 'Foreign Shares');
+INSERT INTO gifi (accno,description) VALUES ('2302', 'Other Type Of Foreign Investments');
+INSERT INTO gifi (accno,description) VALUES ('2303', 'Canadian Shares');
+INSERT INTO gifi (accno,description) VALUES ('2304', 'Government Of Canada Debt');
+INSERT INTO gifi (accno,description) VALUES ('2305', 'Canadian Provinvial & Municipal Government Debt');
+INSERT INTO gifi (accno,description) VALUES ('2306', 'Canadian Corporate Bonds & Debentures');
+INSERT INTO gifi (accno,description) VALUES ('2307', 'Debt Securities');
+INSERT INTO gifi (accno,description) VALUES ('2308', 'Equity Securities');
+INSERT INTO gifi (accno,description) VALUES ('2309', 'Securities Purchased Under Resale Agreements');
+INSERT INTO gifi (accno,description) VALUES ('2310', 'Central Credit Union Shares');
+INSERT INTO gifi (accno,description) VALUES ('2311', 'Other Long Term Canadian Investments');
+INSERT INTO gifi (accno,description) VALUES ('2360', 'Long Term Loans');
+INSERT INTO gifi (accno,description) VALUES ('2361', 'Mortgages');
+INSERT INTO gifi (accno,description) VALUES ('2362', 'Personal & Credit Card Loans');
+INSERT INTO gifi (accno,description) VALUES ('2363', 'Business & Government Loans');
+INSERT INTO gifi (accno,description) VALUES ('2364', 'Line Of Credit');
+INSERT INTO gifi (accno,description) VALUES ('2420', 'Other Long Term Assets');
+INSERT INTO gifi (accno,description) VALUES ('2421', 'Deferred Income Taxes / Tax Reserves');
+INSERT INTO gifi (accno,description) VALUES ('2422', 'Deferred Pension Charges');
+INSERT INTO gifi (accno,description) VALUES ('2423', 'Deferred Unrealized Exchange Losses');
+INSERT INTO gifi (accno,description) VALUES ('2424', 'Other Deferred Items/Charges');
+INSERT INTO gifi (accno,description) VALUES ('2425', 'Accumulated Amortization Of Deferred Charges');
+INSERT INTO gifi (accno,description) VALUES ('2426', 'Reserve Fund');
+INSERT INTO gifi (accno,description) VALUES ('2427', 'Cash Surrender Value Of Life Insurance');
+INSERT INTO gifi (accno,description) VALUES ('2589', 'Total Long Term Assets');
+INSERT INTO gifi (accno,description) VALUES ('2590', 'Assets Held In Trust');
+INSERT INTO gifi (accno,description) VALUES ('2599', 'Total Assets');
+INSERT INTO gifi (accno,description) VALUES ('2600', 'Bank Overdraft');
+INSERT INTO gifi (accno,description) VALUES ('2620', 'Amounts Payable & Accrued Liabilities');
+INSERT INTO gifi (accno,description) VALUES ('2621', 'Accounts Payable Trade');
+INSERT INTO gifi (accno,description) VALUES ('2622', 'Accounts Payable To Related Parties');
+INSERT INTO gifi (accno,description) VALUES ('2623', 'Holdbacks Payable');
+INSERT INTO gifi (accno,description) VALUES ('2624', 'Wages Payable');
+INSERT INTO gifi (accno,description) VALUES ('2625', 'Management Fees Payable');
+INSERT INTO gifi (accno,description) VALUES ('2626', 'Bonuses Payable');
+INSERT INTO gifi (accno,description) VALUES ('2627', 'Employee Deductions Payable');
+INSERT INTO gifi (accno,description) VALUES ('2628', 'Withholding Taxes Payable');
+INSERT INTO gifi (accno,description) VALUES ('2629', 'Intrest Payable');
+INSERT INTO gifi (accno,description) VALUES ('2680', 'Taxes Payable');
+INSERT INTO gifi (accno,description) VALUES ('2681', 'Capital Taxes Payable');
+INSERT INTO gifi (accno,description) VALUES ('2682', 'Foreign Taxes Payable');
+INSERT INTO gifi (accno,description) VALUES ('2683', 'Federal Taxes Payable');
+INSERT INTO gifi (accno,description) VALUES ('2684', 'Provincial Taxes Payable');
+INSERT INTO gifi (accno,description) VALUES ('2685', 'GST Payable');
+INSERT INTO gifi (accno,description) VALUES ('2686', 'PST Payable');
+INSERT INTO gifi (accno,description) VALUES ('2700', 'Short Term Debt');
+INSERT INTO gifi (accno,description) VALUES ('2701', 'Loans From Canadian Banks');
+INSERT INTO gifi (accno,description) VALUES ('2702', 'Liability For Securities Sold Short');
+INSERT INTO gifi (accno,description) VALUES ('2703', 'Liability For Securities Sold Under Repurchase Agreements');
+INSERT INTO gifi (accno,description) VALUES ('2704', 'Gold & Silver Certificates');
+INSERT INTO gifi (accno,description) VALUES ('2705', 'Cheques & Other Items In Transit');
+INSERT INTO gifi (accno,description) VALUES ('2706', 'Lien Notes');
+INSERT INTO gifi (accno,description) VALUES ('2770', 'Deferred Income');
+INSERT INTO gifi (accno,description) VALUES ('2780', 'Due To Shareholder(s)/Director(s)');
+INSERT INTO gifi (accno,description) VALUES ('2781', 'Due To Individual Shareholder(s)');
+INSERT INTO gifi (accno,description) VALUES ('2782', 'Due To Corporate Shareholder(s)');
+INSERT INTO gifi (accno,description) VALUES ('2783', 'Due To Director(s)');
+INSERT INTO gifi (accno,description) VALUES ('2840', 'Due To Joint Venture(s)/Partnership(s)');
+INSERT INTO gifi (accno,description) VALUES ('2860', 'Due To Related Parties');
+INSERT INTO gifi (accno,description) VALUES ('2861', 'Demand Notes Due To Related Parties');
+INSERT INTO gifi (accno,description) VALUES ('2862', 'Interest Payable To Related Parties');
+INSERT INTO gifi (accno,description) VALUES ('2863', 'Advances Due To Related Parties');
+INSERT INTO gifi (accno,description) VALUES ('2920', 'Current Portion Of Long Term Liability');
+INSERT INTO gifi (accno,description) VALUES ('2960', 'Other Current Liabilities');
+INSERT INTO gifi (accno,description) VALUES ('2961', 'Deposits Received');
+INSERT INTO gifi (accno,description) VALUES ('2962', 'Dividends Payable');
+INSERT INTO gifi (accno,description) VALUES ('2963', 'Deferred Income Taxes');
+INSERT INTO gifi (accno,description) VALUES ('2964', 'Reserves For Guarantees, Warranties Or Indemnities');
+INSERT INTO gifi (accno,description) VALUES ('2965', 'General Reserves / Provisions');
+INSERT INTO gifi (accno,description) VALUES ('2966', 'Crew Shares');
+INSERT INTO gifi (accno,description) VALUES ('3139', 'Total Current Liabilities');
+INSERT INTO gifi (accno,description) VALUES ('3140', 'Long Term Debt');
+INSERT INTO gifi (accno,description) VALUES ('3141', 'Mortgages');
+INSERT INTO gifi (accno,description) VALUES ('3142', 'Farm Credit Corporation Loan');
+INSERT INTO gifi (accno,description) VALUES ('3143', 'Chartered Bank Loan');
+INSERT INTO gifi (accno,description) VALUES ('3144', 'Credit Union/Caisse Populaire Loan');
+INSERT INTO gifi (accno,description) VALUES ('3145', 'Provincial Government Loan');
+INSERT INTO gifi (accno,description) VALUES ('3146', 'Supply Company Loan');
+INSERT INTO gifi (accno,description) VALUES ('3147', 'Private Loan');
+INSERT INTO gifi (accno,description) VALUES ('3148', 'Central, Leagues And Federation Loans');
+INSERT INTO gifi (accno,description) VALUES ('3149', 'Line Of Credit');
+INSERT INTO gifi (accno,description) VALUES ('3150', 'Liability For Securities Sold Short');
+INSERT INTO gifi (accno,description) VALUES ('3151', 'Liability For Securities Sold Under Repurchase Agreements');
+INSERT INTO gifi (accno,description) VALUES ('3152', 'Lien Notes');
+INSERT INTO gifi (accno,description) VALUES ('3210', 'Bonds And Debentures');
+INSERT INTO gifi (accno,description) VALUES ('3220', 'Deferred Income');
+INSERT INTO gifi (accno,description) VALUES ('3240', 'Deferred Income Taxes');
+INSERT INTO gifi (accno,description) VALUES ('3260', 'Long Term Due To Shareholder(s)/Director(s)');
+INSERT INTO gifi (accno,description) VALUES ('3261', 'Long Term Due To Individual Shareholder(s)');
+INSERT INTO gifi (accno,description) VALUES ('3262', 'Long Term Due To Corporate Shareholder(s)');
+INSERT INTO gifi (accno,description) VALUES ('3263', 'Long Term Due To Director(s)');
+INSERT INTO gifi (accno,description) VALUES ('3280', 'Long Term Due To Joint Venture(s)/Partnership(s)');
+INSERT INTO gifi (accno,description) VALUES ('3300', 'Long Term Due To Related Parties');
+INSERT INTO gifi (accno,description) VALUES ('3301', 'Amounts Owing To Related Canadian Parties');
+INSERT INTO gifi (accno,description) VALUES ('3302', 'Amounts Owing To Related Foreign Parties');
+INSERT INTO gifi (accno,description) VALUES ('3320', 'Other Long Term Liabilities');
+INSERT INTO gifi (accno,description) VALUES ('3321', 'Long Term Obligations/Commitments/Leases');
+INSERT INTO gifi (accno,description) VALUES ('3322', 'Reserves For Guarantees, Warranties Or Indemnities');
+INSERT INTO gifi (accno,description) VALUES ('3323', 'Provision For Site Restoration');
+INSERT INTO gifi (accno,description) VALUES ('3324', 'Contributions To Qualifying Environmental Trust');
+INSERT INTO gifi (accno,description) VALUES ('3325', 'General Provisions / Reserves');
+INSERT INTO gifi (accno,description) VALUES ('3326', 'Preference Shares Restated');
+INSERT INTO gifi (accno,description) VALUES ('3327', 'Member Allocations');
+INSERT INTO gifi (accno,description) VALUES ('3328', 'Deferred Income From Incomplete Contracts');
+INSERT INTO gifi (accno,description) VALUES ('3450', 'Total Long Term Liabilities');
+INSERT INTO gifi (accno,description) VALUES ('3460', 'Subordinated Debt');
+INSERT INTO gifi (accno,description) VALUES ('3470', 'Amounts Held In Trust');
+INSERT INTO gifi (accno,description) VALUES ('3499', 'Total Liabilities');
+INSERT INTO gifi (accno,description) VALUES ('3500', 'Common Shares');
+INSERT INTO gifi (accno,description) VALUES ('3520', 'Preferred Shares');
+INSERT INTO gifi (accno,description) VALUES ('3540', 'Contributed & Other Surplus');
+INSERT INTO gifi (accno,description) VALUES ('3541', 'Contributed Surplus');
+INSERT INTO gifi (accno,description) VALUES ('3542', 'Appraisal Surplus');
+INSERT INTO gifi (accno,description) VALUES ('3543', 'General Reserve');
+INSERT INTO gifi (accno,description) VALUES ('3570', 'Head Office Account');
+INSERT INTO gifi (accno,description) VALUES ('3600', 'Retained Earnings/Deficit');
+INSERT INTO gifi (accno,description) VALUES ('3620', 'Total Shareholder Equity');
+INSERT INTO gifi (accno,description) VALUES ('3640', 'Total Liabilities & Shareholder Equity');
+INSERT INTO gifi (accno,description) VALUES ('3660', 'Retained Earnings/Deficit Start');
+INSERT INTO gifi (accno,description) VALUES ('3680', 'Net Income/Loss');
+INSERT INTO gifi (accno,description) VALUES ('3700', 'Dividend Declared');
+INSERT INTO gifi (accno,description) VALUES ('3701', 'Cash Dividend');
+INSERT INTO gifi (accno,description) VALUES ('3702', 'Patronage Dividend');
+INSERT INTO gifi (accno,description) VALUES ('3720', 'Prior Year Adjustments');
+INSERT INTO gifi (accno,description) VALUES ('3740', 'Other Items Affecting Retained Earnings');
+INSERT INTO gifi (accno,description) VALUES ('3741', 'Share Redemptions');
+INSERT INTO gifi (accno,description) VALUES ('3742', 'Special Reserves');
+INSERT INTO gifi (accno,description) VALUES ('3743', 'Currency Adjustments');
+INSERT INTO gifi (accno,description) VALUES ('3744', 'Unusual Revenue Items');
+INSERT INTO gifi (accno,description) VALUES ('3745', 'Interfund Transfers (NPO)');
+INSERT INTO gifi (accno,description) VALUES ('3849', 'Retained Earnings/Deficit End');
+INSERT INTO gifi (accno,description) VALUES ('8000', 'Trade Sales of Goods and Services');
+INSERT INTO gifi (accno,description) VALUES ('8020', 'Sales To Related Parties');
+INSERT INTO gifi (accno,description) VALUES ('8030', 'Interdivisional Sales');
+INSERT INTO gifi (accno,description) VALUES ('8040', 'Sales From Resource Properties');
+INSERT INTO gifi (accno,description) VALUES ('8041', 'Petroleum & Natural Gas Sales');
+INSERT INTO gifi (accno,description) VALUES ('8042', 'Petroleum & Natural Gas Sales To Related Parties');
+INSERT INTO gifi (accno,description) VALUES ('8043', 'Gas Marketing');
+INSERT INTO gifi (accno,description) VALUES ('8044', 'Processing Revenue');
+INSERT INTO gifi (accno,description) VALUES ('8045', 'Pipeline Revenue');
+INSERT INTO gifi (accno,description) VALUES ('8046', 'Seismic Sales');
+INSERT INTO gifi (accno,description) VALUES ('8047', 'Mining Revenue');
+INSERT INTO gifi (accno,description) VALUES ('8048', 'Coal Revenue');
+INSERT INTO gifi (accno,description) VALUES ('8049', 'Oil Sands Revenue');
+INSERT INTO gifi (accno,description) VALUES ('8050', 'Royalty Income');
+INSERT INTO gifi (accno,description) VALUES ('8051', 'Oil & Gas Partnership/Joint Venture Income/Loss');
+INSERT INTO gifi (accno,description) VALUES ('8052', 'Mining Partnership/Joint Venture Income/Loss');
+INSERT INTO gifi (accno,description) VALUES ('8053', 'Other Production Revenue');
+INSERT INTO gifi (accno,description) VALUES ('8089', 'Total Sales Of Goods And Services');
+INSERT INTO gifi (accno,description) VALUES ('8090', 'Investment Revenue');
+INSERT INTO gifi (accno,description) VALUES ('8091', 'Interest From Foreign Sources');
+INSERT INTO gifi (accno,description) VALUES ('8092', 'Interest From Canadian Bonds And Debentures');
+INSERT INTO gifi (accno,description) VALUES ('8093', 'Interest From Canadian Mortgage Loans');
+INSERT INTO gifi (accno,description) VALUES ('8094', 'Interest From Other Canadian Sources');
+INSERT INTO gifi (accno,description) VALUES ('8095', 'Dividend Income');
+INSERT INTO gifi (accno,description) VALUES ('8096', 'Dividend From Canadian Sources');
+INSERT INTO gifi (accno,description) VALUES ('8097', 'Interest From Foreign Sources');
+INSERT INTO gifi (accno,description) VALUES ('8120', 'Commission Revenue');
+INSERT INTO gifi (accno,description) VALUES ('8121', 'Commission Income On Real Estate Transactions');
+INSERT INTO gifi (accno,description) VALUES ('8140', 'Rental Revenue');
+INSERT INTO gifi (accno,description) VALUES ('8141', 'Real Estate Rental Revenue');
+INSERT INTO gifi (accno,description) VALUES ('8150', 'Vehicle Leasing');
+INSERT INTO gifi (accno,description) VALUES ('8160', 'Fishing Revenue');
+INSERT INTO gifi (accno,description) VALUES ('8161', 'Fish Products');
+INSERT INTO gifi (accno,description) VALUES ('8162', 'Other Marine Products');
+INSERT INTO gifi (accno,description) VALUES ('8163', 'Fishing Grants, Credits & Rebates');
+INSERT INTO gifi (accno,description) VALUES ('8164', 'Fishing Subsidies');
+INSERT INTO gifi (accno,description) VALUES ('8165', 'Compensation For Loss Of Fishing Income/Property');
+INSERT INTO gifi (accno,description) VALUES ('8166', 'Sharesman Income');
+INSERT INTO gifi (accno,description) VALUES ('8210', 'Realized Gains/Losses On Disposal Of Assets');
+INSERT INTO gifi (accno,description) VALUES ('8211', 'Realized Gains/Losses On Sale Of Investments');
+INSERT INTO gifi (accno,description) VALUES ('8212', 'Realized Gains/Losses On Sale Of Resource Properties');
+INSERT INTO gifi (accno,description) VALUES ('8220', 'NPO Amounts Received');
+INSERT INTO gifi (accno,description) VALUES ('8221', 'Membership Fees');
+INSERT INTO gifi (accno,description) VALUES ('8222', 'Assessments');
+INSERT INTO gifi (accno,description) VALUES ('8223', 'Gifts');
+INSERT INTO gifi (accno,description) VALUES ('8224', 'Gross Sales And Revenues From Organizational Activities');
+INSERT INTO gifi (accno,description) VALUES ('8230', 'Other Revenue');
+INSERT INTO gifi (accno,description) VALUES ('8231', 'Foreign Exchange Gains/Losses');
+INSERT INTO gifi (accno,description) VALUES ('8232', 'Income/Loss Of Subsidiaries/Affiliates');
+INSERT INTO gifi (accno,description) VALUES ('8233', 'Income/Loss Of Other Divisions');
+INSERT INTO gifi (accno,description) VALUES ('8234', 'Income/Loss Of Joint Ventures');
+INSERT INTO gifi (accno,description) VALUES ('8235', 'Income/Loss Of Partnerships');
+INSERT INTO gifi (accno,description) VALUES ('8236', 'RealizaTion Of Deferred Revenues');
+INSERT INTO gifi (accno,description) VALUES ('8237', 'Royalty Income Other Than Resource');
+INSERT INTO gifi (accno,description) VALUES ('8238', 'Alberta Royalty Tax Credits');
+INSERT INTO gifi (accno,description) VALUES ('8239', 'Management & Administration Fees');
+INSERT INTO gifi (accno,description) VALUES ('8240', 'Telecommunications Revenues');
+INSERT INTO gifi (accno,description) VALUES ('8241', 'Consulting Fees');
+INSERT INTO gifi (accno,description) VALUES ('8242', 'Subsidies & Grants');
+INSERT INTO gifi (accno,description) VALUES ('8243', 'Sale Of By-Products');
+INSERT INTO gifi (accno,description) VALUES ('8244', 'Deposit Services');
+INSERT INTO gifi (accno,description) VALUES ('8245', 'Credit Services');
+INSERT INTO gifi (accno,description) VALUES ('8246', 'Card Services');
+INSERT INTO gifi (accno,description) VALUES ('8247', 'Patronage Dividends');
+INSERT INTO gifi (accno,description) VALUES ('8248', 'Insurance Recoveries');
+INSERT INTO gifi (accno,description) VALUES ('8249', 'Expense Recoveries');
+INSERT INTO gifi (accno,description) VALUES ('8250', 'Bad Debt Recoveries');
+INSERT INTO gifi (accno,description) VALUES ('8299', 'Total Revenue');
+INSERT INTO gifi (accno,description) VALUES ('8300', 'Opening Inventory');
+INSERT INTO gifi (accno,description) VALUES ('8301', 'Opening Inventory - finished goods');
+INSERT INTO gifi (accno,description) VALUES ('8302', 'Opening Inventory - raw materials');
+INSERT INTO gifi (accno,description) VALUES ('8303', 'Opening Inventory - goods in process');
+INSERT INTO gifi (accno,description) VALUES ('8304', 'Opening Inventory - work in process');
+INSERT INTO gifi (accno,description) VALUES ('8320', 'Purchases / Cost of Materials');
+INSERT INTO gifi (accno,description) VALUES ('8321', 'Purchases Product A');
+INSERT INTO gifi (accno,description) VALUES ('8322', 'Purchases Product B');
+INSERT INTO gifi (accno,description) VALUES ('8331', 'Price Differences & Discounts On Purchases');
+INSERT INTO gifi (accno,description) VALUES ('8340', 'Direct Wages');
+INSERT INTO gifi (accno,description) VALUES ('8350', 'Benefits On Direct Wages');
+INSERT INTO gifi (accno,description) VALUES ('8360', 'Trades & Sub-contracts');
+INSERT INTO gifi (accno,description) VALUES ('8370', 'Production Costs Other Than Resource');
+INSERT INTO gifi (accno,description) VALUES ('8400', 'Resource Production Costs');
+INSERT INTO gifi (accno,description) VALUES ('8401', 'Pipeline Operations');
+INSERT INTO gifi (accno,description) VALUES ('8402', 'Drilling');
+INSERT INTO gifi (accno,description) VALUES ('8403', 'Site Restoration Costs');
+INSERT INTO gifi (accno,description) VALUES ('8404', 'Gross Overriding Royalty');
+INSERT INTO gifi (accno,description) VALUES ('8405', 'Freehold Royalties');
+INSERT INTO gifi (accno,description) VALUES ('8406', 'Other Producing Properties Rental');
+INSERT INTO gifi (accno,description) VALUES ('8407', 'Prospect & Geological');
+INSERT INTO gifi (accno,description) VALUES ('8408', 'Well Operating, Fuel & Equipment');
+INSERT INTO gifi (accno,description) VALUES ('8409', 'Well Abandonment & Dry Holes');
+INSERT INTO gifi (accno,description) VALUES ('8410', 'Other Lease Rentals');
+INSERT INTO gifi (accno,description) VALUES ('8411', 'Exploration Expenses, Aerial Surveys');
+INSERT INTO gifi (accno,description) VALUES ('8412', 'Development Expenses, stripping costs');
+INSERT INTO gifi (accno,description) VALUES ('8435', 'Crown Charges');
+INSERT INTO gifi (accno,description) VALUES ('8436', 'Crown royalties');
+INSERT INTO gifi (accno,description) VALUES ('8437', 'Crown lease rentals');
+INSERT INTO gifi (accno,description) VALUES ('8438', 'Freehold mineral tax');
+INSERT INTO gifi (accno,description) VALUES ('8439', 'Mining taxes');
+INSERT INTO gifi (accno,description) VALUES ('8440', 'Oil and Sand leases');
+INSERT INTO gifi (accno,description) VALUES ('8441', 'Saskatchewan resource surcharge');
+INSERT INTO gifi (accno,description) VALUES ('8450', 'Other Direct Costs');
+INSERT INTO gifi (accno,description) VALUES ('8451', 'Equipment Hire & Operation');
+INSERT INTO gifi (accno,description) VALUES ('8452', 'Log Yard');
+INSERT INTO gifi (accno,description) VALUES ('8453', 'Forestry costs');
+INSERT INTO gifi (accno,description) VALUES ('8454', 'Logging Road costs');
+INSERT INTO gifi (accno,description) VALUES ('8455', 'Stumpage costs');
+INSERT INTO gifi (accno,description) VALUES ('8456', 'Royalty costs');
+INSERT INTO gifi (accno,description) VALUES ('8457', 'Freight In & Customs Duty');
+INSERT INTO gifi (accno,description) VALUES ('8458', 'Inventory Write Down');
+INSERT INTO gifi (accno,description) VALUES ('8459', 'Direct cost amortization of tangible assets');
+INSERT INTO gifi (accno,description) VALUES ('8460', 'Direct cost amortization of natural resource assets');
+INSERT INTO gifi (accno,description) VALUES ('8461', 'Overhead expenses allocated to cost of sales');
+INSERT INTO gifi (accno,description) VALUES ('8500', 'Closing Inventory');
+INSERT INTO gifi (accno,description) VALUES ('8501', 'Closing Inventory - Finished Goods');
+INSERT INTO gifi (accno,description) VALUES ('8502', 'Closing Inventory - Raw Materials');
+INSERT INTO gifi (accno,description) VALUES ('8503', 'Closing Inventory - Goods In Process');
+INSERT INTO gifi (accno,description) VALUES ('8504', 'Closing Inventory - Work In Process');
+INSERT INTO gifi (accno,description) VALUES ('8518', 'Cost Of Sales');
+INSERT INTO gifi (accno,description) VALUES ('8519', 'Gross Profit/Loss');
+INSERT INTO gifi (accno,description) VALUES ('8520', 'Advertising & Promotion');
+INSERT INTO gifi (accno,description) VALUES ('8521', 'Advertising');
+INSERT INTO gifi (accno,description) VALUES ('8522', 'Donations');
+INSERT INTO gifi (accno,description) VALUES ('8523', 'Meals & Entertainment');
+INSERT INTO gifi (accno,description) VALUES ('8524', 'Promotion');
+INSERT INTO gifi (accno,description) VALUES ('8570', 'Amortization Of Intangible Assets');
+INSERT INTO gifi (accno,description) VALUES ('8590', 'Bad Debt Expense');
+INSERT INTO gifi (accno,description) VALUES ('8610', 'Loan Losses');
+INSERT INTO gifi (accno,description) VALUES ('8611', 'Provision for Loan Losses');
+INSERT INTO gifi (accno,description) VALUES ('8620', 'Employee Benefits');
+INSERT INTO gifi (accno,description) VALUES ('8621', 'Group Insurance Benefits');
+INSERT INTO gifi (accno,description) VALUES ('8622', 'Employers Portion Of Employee Benefits');
+INSERT INTO gifi (accno,description) VALUES ('8623', 'Contributions To Deferred Income Plans');
+INSERT INTO gifi (accno,description) VALUES ('8650', 'Amortization Of Natural Resource Assets');
+INSERT INTO gifi (accno,description) VALUES ('8670', 'Amortization Of Tangible Assets');
+INSERT INTO gifi (accno,description) VALUES ('8690', 'Insurance');
+INSERT INTO gifi (accno,description) VALUES ('8691', 'Life Insurance On Executives');
+INSERT INTO gifi (accno,description) VALUES ('8710', 'Interest & Bank Charges');
+INSERT INTO gifi (accno,description) VALUES ('8711', 'Interest On Short Term Debt');
+INSERT INTO gifi (accno,description) VALUES ('8712', 'Interest On Bonds And Debentures');
+INSERT INTO gifi (accno,description) VALUES ('8713', 'Interest On Mortgages');
+INSERT INTO gifi (accno,description) VALUES ('8714', 'Interest On Long Term Debt');
+INSERT INTO gifi (accno,description) VALUES ('8715', 'Bank Charges');
+INSERT INTO gifi (accno,description) VALUES ('8716', 'Credit Card Charges');
+INSERT INTO gifi (accno,description) VALUES ('8717', 'Collection & Credit costs');
+INSERT INTO gifi (accno,description) VALUES ('8760', 'Business Taxes, Licences & Memberships');
+INSERT INTO gifi (accno,description) VALUES ('8761', 'Memberships');
+INSERT INTO gifi (accno,description) VALUES ('8762', 'Business Taxes');
+INSERT INTO gifi (accno,description) VALUES ('8763', 'Franchise Fees');
+INSERT INTO gifi (accno,description) VALUES ('8764', 'Government Fees');
+INSERT INTO gifi (accno,description) VALUES ('8780', 'New Brunswick Tax On Large Corporations');
+INSERT INTO gifi (accno,description) VALUES ('8790', 'Nova Scotia Tax On Large Corporations');
+INSERT INTO gifi (accno,description) VALUES ('8810', 'Office Expenses');
+INSERT INTO gifi (accno,description) VALUES ('8811', 'Office Stationary And Supplies');
+INSERT INTO gifi (accno,description) VALUES ('8812', 'Office Utilities');
+INSERT INTO gifi (accno,description) VALUES ('8813', 'Data Processing');
+INSERT INTO gifi (accno,description) VALUES ('8860', 'Professional Fees');
+INSERT INTO gifi (accno,description) VALUES ('8861', 'Legal Fees');
+INSERT INTO gifi (accno,description) VALUES ('8862', 'Accounting Fees');
+INSERT INTO gifi (accno,description) VALUES ('8863', 'Consulting Fees');
+INSERT INTO gifi (accno,description) VALUES ('8864', 'Architect Fees');
+INSERT INTO gifi (accno,description) VALUES ('8865', 'Appraisal Fees');
+INSERT INTO gifi (accno,description) VALUES ('8866', 'Laboratory Fees');
+INSERT INTO gifi (accno,description) VALUES ('8867', 'Medical Fees');
+INSERT INTO gifi (accno,description) VALUES ('8868', 'Veterinary Fees');
+INSERT INTO gifi (accno,description) VALUES ('8869', 'Brokerage Fees');
+INSERT INTO gifi (accno,description) VALUES ('8870', 'Transfer Fees');
+INSERT INTO gifi (accno,description) VALUES ('8871', 'Management & Administration Fees');
+INSERT INTO gifi (accno,description) VALUES ('8872', 'Refining & Assay');
+INSERT INTO gifi (accno,description) VALUES ('8873', 'Registrar & Transfer Agent Fees');
+INSERT INTO gifi (accno,description) VALUES ('8874', 'Restructuring Costs');
+INSERT INTO gifi (accno,description) VALUES ('8875', 'Security & Exchange Commission Fees');
+INSERT INTO gifi (accno,description) VALUES ('8876', 'Training Expense');
+INSERT INTO gifi (accno,description) VALUES ('8877', 'Studio & Recording');
+INSERT INTO gifi (accno,description) VALUES ('8910', 'Rental');
+INSERT INTO gifi (accno,description) VALUES ('8911', 'Real Estate Rental');
+INSERT INTO gifi (accno,description) VALUES ('8912', 'Occupancy Costs');
+INSERT INTO gifi (accno,description) VALUES ('8913', 'Condominium Fees');
+INSERT INTO gifi (accno,description) VALUES ('8914', 'Equipment Rental');
+INSERT INTO gifi (accno,description) VALUES ('8915', 'Motor Vehicle Rental');
+INSERT INTO gifi (accno,description) VALUES ('8916', 'Moorage (Boat)');
+INSERT INTO gifi (accno,description) VALUES ('8917', 'Storage');
+INSERT INTO gifi (accno,description) VALUES ('8918', 'Quota Rental');
+INSERT INTO gifi (accno,description) VALUES ('8960', 'Repairs & Maintenance - Aircraft');
+INSERT INTO gifi (accno,description) VALUES ('8961', 'Repairs & Maintenance - Buildings');
+INSERT INTO gifi (accno,description) VALUES ('8962', 'Repairs & Maintenance - Vehicles');
+INSERT INTO gifi (accno,description) VALUES ('8963', 'Repairs & Maintenance - Boats');
+INSERT INTO gifi (accno,description) VALUES ('8964', 'Repairs & Maintenance - Machinery & Equipment');
+INSERT INTO gifi (accno,description) VALUES ('9010', 'Other Repairs & Maintenance - Janitor & Yard');
+INSERT INTO gifi (accno,description) VALUES ('9011', 'Machine Shop Expense');
+INSERT INTO gifi (accno,description) VALUES ('9012', 'Road Costs');
+INSERT INTO gifi (accno,description) VALUES ('9013', 'Security');
+INSERT INTO gifi (accno,description) VALUES ('9014', 'Garbage Removal');
+INSERT INTO gifi (accno,description) VALUES ('9060', 'Salaries & Wages');
+INSERT INTO gifi (accno,description) VALUES ('9061', 'Commissions');
+INSERT INTO gifi (accno,description) VALUES ('9062', 'Crew Share');
+INSERT INTO gifi (accno,description) VALUES ('9063', 'Bonuses');
+INSERT INTO gifi (accno,description) VALUES ('9064', 'Director''s Fees');
+INSERT INTO gifi (accno,description) VALUES ('9065', 'Management Salaries');
+INSERT INTO gifi (accno,description) VALUES ('9066', 'Employee Salaries');
+INSERT INTO gifi (accno,description) VALUES ('9110', 'Sub-Contracts');
+INSERT INTO gifi (accno,description) VALUES ('9130', 'Supplies');
+INSERT INTO gifi (accno,description) VALUES ('9131', 'Small Tools');
+INSERT INTO gifi (accno,description) VALUES ('9132', 'Shop Expense');
+INSERT INTO gifi (accno,description) VALUES ('9133', 'Uniforms');
+INSERT INTO gifi (accno,description) VALUES ('9134', 'Laundry');
+INSERT INTO gifi (accno,description) VALUES ('9135', 'Food & Catering');
+INSERT INTO gifi (accno,description) VALUES ('9136', 'Fishing Gear');
+INSERT INTO gifi (accno,description) VALUES ('9137', 'Nets & Traps');
+INSERT INTO gifi (accno,description) VALUES ('9138', 'Salt, Bait & Ice');
+INSERT INTO gifi (accno,description) VALUES ('9139', 'Camp Supplies');
+INSERT INTO gifi (accno,description) VALUES ('9150', 'Computer Related Expenses');
+INSERT INTO gifi (accno,description) VALUES ('9151', 'Upgrade');
+INSERT INTO gifi (accno,description) VALUES ('9152', 'Internet');
+INSERT INTO gifi (accno,description) VALUES ('9180', 'Property Taxes');
+INSERT INTO gifi (accno,description) VALUES ('9200', 'Travel Expenses');
+INSERT INTO gifi (accno,description) VALUES ('9201', 'Meetings & Conventions');
+INSERT INTO gifi (accno,description) VALUES ('9220', 'Utilities');
+INSERT INTO gifi (accno,description) VALUES ('9221', 'Electricity');
+INSERT INTO gifi (accno,description) VALUES ('9222', 'Water');
+INSERT INTO gifi (accno,description) VALUES ('9223', 'Heat');
+INSERT INTO gifi (accno,description) VALUES ('9224', 'Fuel Costs');
+INSERT INTO gifi (accno,description) VALUES ('9225', 'Telephone & Communications');
+INSERT INTO gifi (accno,description) VALUES ('9270', 'Other Expenses');
+INSERT INTO gifi (accno,description) VALUES ('9271', 'Cash Over/Short');
+INSERT INTO gifi (accno,description) VALUES ('9272', 'Reimbursement Of Parent Company Expense');
+INSERT INTO gifi (accno,description) VALUES ('9273', 'Selling Expenses');
+INSERT INTO gifi (accno,description) VALUES ('9274', 'Shipping & Warehouse Expenses');
+INSERT INTO gifi (accno,description) VALUES ('9275', 'Delivery, Freight & Express');
+INSERT INTO gifi (accno,description) VALUES ('9276', 'Warranty Expenses');
+INSERT INTO gifi (accno,description) VALUES ('9277', 'Royalty Expenses - Resident');
+INSERT INTO gifi (accno,description) VALUES ('9278', 'Royalty Expenses - Non-Resident');
+INSERT INTO gifi (accno,description) VALUES ('9279', 'Dumping Charges');
+INSERT INTO gifi (accno,description) VALUES ('9280', 'Land Fill Fees');
+INSERT INTO gifi (accno,description) VALUES ('9281', 'Vehicle Expenses');
+INSERT INTO gifi (accno,description) VALUES ('9282', 'Research & Development');
+INSERT INTO gifi (accno,description) VALUES ('9283', 'Withholding Taxes');
+INSERT INTO gifi (accno,description) VALUES ('9284', 'General & Administrative Expenses');
+INSERT INTO gifi (accno,description) VALUES ('9285', 'Interdivisional Expenses');
+INSERT INTO gifi (accno,description) VALUES ('9286', 'Interfund Transfer (NPO)');
+INSERT INTO gifi (accno,description) VALUES ('9367', 'Total Operating Expenses');
+INSERT INTO gifi (accno,description) VALUES ('9368', 'Total Expenses');
+INSERT INTO gifi (accno,description) VALUES ('9369', 'Net Non-Farming Income');
+INSERT INTO gifi (accno,description) VALUES ('9370', 'Grains And Oilseeds');
+INSERT INTO gifi (accno,description) VALUES ('9371', 'Wheat');
+INSERT INTO gifi (accno,description) VALUES ('9372', 'Oats');
+INSERT INTO gifi (accno,description) VALUES ('9373', 'Barley');
+INSERT INTO gifi (accno,description) VALUES ('9374', 'Mixed Grains');
+INSERT INTO gifi (accno,description) VALUES ('9375', 'Corn');
+INSERT INTO gifi (accno,description) VALUES ('9376', 'Canola');
+INSERT INTO gifi (accno,description) VALUES ('9377', 'Flaxseed');
+INSERT INTO gifi (accno,description) VALUES ('9378', 'Soya Beans');
+INSERT INTO gifi (accno,description) VALUES ('9379', 'Wheat Board Payments');
+INSERT INTO gifi (accno,description) VALUES ('9420', 'Other Crop Revenues');
+INSERT INTO gifi (accno,description) VALUES ('9321', 'Fruit');
+INSERT INTO gifi (accno,description) VALUES ('9322', 'Potatoes');
+INSERT INTO gifi (accno,description) VALUES ('9323', 'Vegetables');
+INSERT INTO gifi (accno,description) VALUES ('9324', 'Tobacco');
+INSERT INTO gifi (accno,description) VALUES ('9325', 'Greenhouse & Nursery Products');
+INSERT INTO gifi (accno,description) VALUES ('9326', 'Forage Crops');
+INSERT INTO gifi (accno,description) VALUES ('9470', 'Livestock & Animal Products Revenue');
+INSERT INTO gifi (accno,description) VALUES ('9471', 'Cattle');
+INSERT INTO gifi (accno,description) VALUES ('9472', 'Swine');
+INSERT INTO gifi (accno,description) VALUES ('9473', 'Poultry');
+INSERT INTO gifi (accno,description) VALUES ('9474', 'Sheep & Lambs');
+INSERT INTO gifi (accno,description) VALUES ('9475', 'Pregnant Mare Urine (PMU)');
+INSERT INTO gifi (accno,description) VALUES ('9476', 'Milk & Cream - Excluding Dairy Subsidies');
+INSERT INTO gifi (accno,description) VALUES ('9477', 'Eggs For Consumption');
+INSERT INTO gifi (accno,description) VALUES ('9478', 'Hatching Eggs');
+INSERT INTO gifi (accno,description) VALUES ('9479', 'Aquaculture');
+INSERT INTO gifi (accno,description) VALUES ('9480', 'Horses - Breeding & Meat');
+INSERT INTO gifi (accno,description) VALUES ('9520', 'Other Commodities');
+INSERT INTO gifi (accno,description) VALUES ('9521', 'Maple Products');
+INSERT INTO gifi (accno,description) VALUES ('9522', 'Artificial Insemination (AI)');
+INSERT INTO gifi (accno,description) VALUES ('9523', 'Semen Production');
+INSERT INTO gifi (accno,description) VALUES ('9524', 'Embryo Production');
+INSERT INTO gifi (accno,description) VALUES ('9540', 'Program Payment Revenues');
+INSERT INTO gifi (accno,description) VALUES ('9541', 'Dairy Subsidies');
+INSERT INTO gifi (accno,description) VALUES ('9542', 'Crop Insurance');
+INSERT INTO gifi (accno,description) VALUES ('9543', 'NISA Payments');
+INSERT INTO gifi (accno,description) VALUES ('9544', 'Disaster Assistance Program Payments');
+INSERT INTO gifi (accno,description) VALUES ('9570', 'Rebates');
+INSERT INTO gifi (accno,description) VALUES ('9571', 'Rebates - Fuel');
+INSERT INTO gifi (accno,description) VALUES ('9572', 'Rebates - Interest');
+INSERT INTO gifi (accno,description) VALUES ('9573', 'Rebates - Property Taxes');
+INSERT INTO gifi (accno,description) VALUES ('9574', 'Resales, Rebates, GST For NISA Eligible Expenses');
+INSERT INTO gifi (accno,description) VALUES ('9575', 'Rebates, GST For NISA Non-Eligible Expenses');
+INSERT INTO gifi (accno,description) VALUES ('9600', 'Other Farm Revenues/Losses');
+INSERT INTO gifi (accno,description) VALUES ('9601', 'Custom Or Contract Work');
+INSERT INTO gifi (accno,description) VALUES ('9602', 'Wood Sales');
+INSERT INTO gifi (accno,description) VALUES ('9603', 'Horse Racing');
+INSERT INTO gifi (accno,description) VALUES ('9604', 'Insurance Proceeds');
+INSERT INTO gifi (accno,description) VALUES ('9605', 'Patronage Dividends');
+INSERT INTO gifi (accno,description) VALUES ('9606', 'Rental Income');
+INSERT INTO gifi (accno,description) VALUES ('9607', 'Interest Income');
+INSERT INTO gifi (accno,description) VALUES ('9608', 'Dividend Income');
+INSERT INTO gifi (accno,description) VALUES ('9609', 'Gains/Losses On Disposal Of Assets');
+INSERT INTO gifi (accno,description) VALUES ('9610', 'Gravel');
+INSERT INTO gifi (accno,description) VALUES ('9611', 'Trucking');
+INSERT INTO gifi (accno,description) VALUES ('9612', 'Resale Of Commodities Purchased');
+INSERT INTO gifi (accno,description) VALUES ('9613', 'Leases');
+INSERT INTO gifi (accno,description) VALUES ('9614', 'Machine Rentals');
+INSERT INTO gifi (accno,description) VALUES ('9615', 'Farming Partnership Income/Loss');
+INSERT INTO gifi (accno,description) VALUES ('9616', 'Farming Joint Venture Income/Loss');
+INSERT INTO gifi (accno,description) VALUES ('9650', 'Non-Farming Income');
+INSERT INTO gifi (accno,description) VALUES ('9659', 'Total Farm Revenue');
+INSERT INTO gifi (accno,description) VALUES ('9660', 'Crop Expenses');
+INSERT INTO gifi (accno,description) VALUES ('9661', 'Containers, Twine And Baling Wire');
+INSERT INTO gifi (accno,description) VALUES ('9662', 'Fertilizers And Lime');
+INSERT INTO gifi (accno,description) VALUES ('9663', 'Pesticides');
+INSERT INTO gifi (accno,description) VALUES ('9664', 'Seeds & Plants');
+INSERT INTO gifi (accno,description) VALUES ('9665', 'Insurance Premiums (Crop) NISA ACS');
+INSERT INTO gifi (accno,description) VALUES ('9710', 'Livestock Expenses');
+INSERT INTO gifi (accno,description) VALUES ('9711', 'Feed, Supplements, Straw & Bedding');
+INSERT INTO gifi (accno,description) VALUES ('9712', 'Livestock Purchases');
+INSERT INTO gifi (accno,description) VALUES ('9713', 'Veterinary Fees, Medicine & Breeding Fees');
+INSERT INTO gifi (accno,description) VALUES ('9760', 'Machinery Expenses');
+INSERT INTO gifi (accno,description) VALUES ('9761', 'Machinery Insurance');
+INSERT INTO gifi (accno,description) VALUES ('9762', 'Machinery Licences');
+INSERT INTO gifi (accno,description) VALUES ('9763', 'Machinery Repairs');
+INSERT INTO gifi (accno,description) VALUES ('9764', 'Machinery Fuel');
+INSERT INTO gifi (accno,description) VALUES ('9765', 'Machinery Lease');
+INSERT INTO gifi (accno,description) VALUES ('9790', 'General Farm Expenses');
+INSERT INTO gifi (accno,description) VALUES ('9791', 'Amortization Of Tangible Assets');
+INSERT INTO gifi (accno,description) VALUES ('9792', 'Advertising, Marketing Costs & Promotion');
+INSERT INTO gifi (accno,description) VALUES ('9793', 'Bad Debt');
+INSERT INTO gifi (accno,description) VALUES ('9794', 'Benefits Related To Employee Salaries');
+INSERT INTO gifi (accno,description) VALUES ('9795', 'Building Repairs & Maintenance');
+INSERT INTO gifi (accno,description) VALUES ('9796', 'Clearing, Levelling & Draining Land');
+INSERT INTO gifi (accno,description) VALUES ('9797', 'Crop Insurance, GRIP and Stabilization Premiums');
+INSERT INTO gifi (accno,description) VALUES ('9798', 'Custom Or Contract Work');
+INSERT INTO gifi (accno,description) VALUES ('9799', 'Electricity');
+INSERT INTO gifi (accno,description) VALUES ('9800', 'Fence Repairs & Maintenance');
+INSERT INTO gifi (accno,description) VALUES ('9801', 'Freight & Trucking');
+INSERT INTO gifi (accno,description) VALUES ('9802', 'Heating Fuel & Curing Fuel');
+INSERT INTO gifi (accno,description) VALUES ('9803', 'Insurance Program Overpayment Recapture');
+INSERT INTO gifi (accno,description) VALUES ('9804', 'Other Insurance Premiums');
+INSERT INTO gifi (accno,description) VALUES ('9805', 'Interest & Bank Charges');
+INSERT INTO gifi (accno,description) VALUES ('9806', 'Marketing Board Fees');
+INSERT INTO gifi (accno,description) VALUES ('9807', 'Membership/Subscription Fees');
+INSERT INTO gifi (accno,description) VALUES ('9808', 'Office Expenses');
+INSERT INTO gifi (accno,description) VALUES ('9809', 'Professional Fees');
+INSERT INTO gifi (accno,description) VALUES ('9810', 'Property Taxes');
+INSERT INTO gifi (accno,description) VALUES ('9811', 'Rent - Land & Buildings');
+INSERT INTO gifi (accno,description) VALUES ('9812', 'Rent - Machinery');
+INSERT INTO gifi (accno,description) VALUES ('9813', 'Other Rental Expenses');
+INSERT INTO gifi (accno,description) VALUES ('9814', 'Salaries & Wages');
+INSERT INTO gifi (accno,description) VALUES ('9815', 'Salaries & Wages Other Than Spouse Or Dependants');
+INSERT INTO gifi (accno,description) VALUES ('9816', 'Salaries & Wages Paid To Dependants');
+INSERT INTO gifi (accno,description) VALUES ('9817', 'Selling Costs');
+INSERT INTO gifi (accno,description) VALUES ('9818', 'Supplies');
+INSERT INTO gifi (accno,description) VALUES ('9819', 'Motor Vehicle Expenses');
+INSERT INTO gifi (accno,description) VALUES ('9820', 'Small Tools');
+INSERT INTO gifi (accno,description) VALUES ('9821', 'Soil Testing');
+INSERT INTO gifi (accno,description) VALUES ('9822', 'Storage/Drying');
+INSERT INTO gifi (accno,description) VALUES ('9823', 'Licences/Permits');
+INSERT INTO gifi (accno,description) VALUES ('9824', 'Telephone');
+INSERT INTO gifi (accno,description) VALUES ('9825', 'Quota Rental');
+INSERT INTO gifi (accno,description) VALUES ('9826', 'Gravel');
+INSERT INTO gifi (accno,description) VALUES ('9827', 'Purchases Of Commodities Resold');
+INSERT INTO gifi (accno,description) VALUES ('9828', 'Salaries & Wages Paid To Spouse');
+INSERT INTO gifi (accno,description) VALUES ('9829', 'Motor Vehicle Interest And Leasing Costs');
+INSERT INTO gifi (accno,description) VALUES ('9830', 'Prepared Feed');
+INSERT INTO gifi (accno,description) VALUES ('9831', 'Custom Feed');
+INSERT INTO gifi (accno,description) VALUES ('9832', 'Amortization Of Intangible Assets');
+INSERT INTO gifi (accno,description) VALUES ('9833', 'Amortization Of Milk Quota');
+INSERT INTO gifi (accno,description) VALUES ('9834', 'Travel Expenses');
+INSERT INTO gifi (accno,description) VALUES ('9835', 'Capital/Business Taxes');
+INSERT INTO gifi (accno,description) VALUES ('9850', 'Non-Farming Expenses');
+INSERT INTO gifi (accno,description) VALUES ('9870', 'Net Inventory Adjustment');
+INSERT INTO gifi (accno,description) VALUES ('9898', 'Total Farm Expenses');
+INSERT INTO gifi (accno,description) VALUES ('9899', 'Net Farm Income');
+INSERT INTO gifi (accno,description) VALUES ('9970', 'Net Income/Loss Before Taxes And Extraordinary Items');
+INSERT INTO gifi (accno,description) VALUES ('9975', 'Extraordinary Items');
+INSERT INTO gifi (accno,description) VALUES ('9976', 'Legal Settlements');
+INSERT INTO gifi (accno,description) VALUES ('9980', 'Unrealized Gains/Losses');
+INSERT INTO gifi (accno,description) VALUES ('9985', 'Unusual Items');
+INSERT INTO gifi (accno,description) VALUES ('9990', 'Current Income Taxes');
+INSERT INTO gifi (accno,description) VALUES ('9995', 'Deferred Income Tax Provision');
+INSERT INTO gifi (accno,description) VALUES ('9999', 'Net Income/Loss After Taxes And Extraordinary Items');
+-- This item represents the net amount of:
+-- Item 9970 - Net income/loss before taxes and extraordinary items minus
+-- Item 9975 - Extraordinary item(s) minus
+-- Item 9976 - Legal settlements plus
+-- Item 9980 - Unrealized gains/losses minus
+-- Item 9985 - Unusual items minus
+-- Item 9990 - Current income taxes minus
+-- Item 9995 - Deferred income tax provision
+-- and must be reported.
+-- Any amount reported in this item should be equal to the amount reported at Item 3680 - Net income/loss,
+-- in the retained earnings section.
+--
diff --git a/sql-ledger/sql/Canada_General-chart.sql b/sql-ledger/sql/Canada_General-chart.sql
new file mode 100644
index 0000000..a0b9e7f
--- /dev/null
+++ b/sql-ledger/sql/Canada_General-chart.sql
@@ -0,0 +1,77 @@
+-- General Canadian COA
+-- sample only
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1000','CURRENT ASSETS','H','1000','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1060','Chequing Account','A','1002','A','AR_paid:AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1065','Petty Cash','A','1001','A','AR_paid:AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1200','Accounts Receivables','A','1060','A','AR');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1205','Allowance for doubtful accounts','A','1063','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1500','INVENTORY ASSETS','H','1120','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1520','Inventory / General','A','1122','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1530','Inventory / Aftermarket Parts','A','1122','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1540','Inventory / Computer Parts','A','1122','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1800','CAPITAL ASSETS','H','1900','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1820','Office Furniture & Equipment','A','1787','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1825','Accum. Amort. -Furn. & Equip.','A','1788','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1840','Vehicle','A','1742','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1845','Accum. Amort. -Vehicle','A','1743','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2000','CURRENT LIABILITIES','H','2620','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2100','Accounts Payable','A','2621','L','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2160','Federal Taxes Payable','A','2683','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2170','Provincial Taxes Payable','A','2684','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2310','GST','A','2685','L','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2320','PST','A','2686','L','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2380','Vacation Pay Payable','A','2624','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2390','WCB Payable','A','2627','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2400','PAYROLL DEDUCTIONS','H','2620','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2410','EI Payable','A','2627','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2420','CPP Payable','A','2627','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2450','Income Tax Payable','A','2628','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2600','LONG TERM LIABILITIES','H','3140','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2620','Bank Loans','A','2701','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2680','Loans from Shareholders','A','2780','L','AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3300','SHARE CAPITAL','H','3500','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3350','Common Shares','A','3500','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4000','SALES REVENUE','H','8000','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4020','General Sales','A','8000','I','AR_amount:IC_sale');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4030','Aftermarket Parts','A','8000','I','AR_amount:IC_sale');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4040','Computer Parts','A','8000','I','AR_amount:IC_sale');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4300','CONSULTING REVENUE','H','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4320','Consulting','A','8241','I','AR_amount:IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4330','Programming','A','8000','I','AR_amount:IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4340','Shop Labour','A','8000','I','AR_amount:IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4400','OTHER REVENUE','H','8090','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4430','Shipping & Handling','A','8457','I','IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4440','Interest','A','8090','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4450','Foreign Exchange Gain','A','8231','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5000','COST OF GOODS SOLD','H','8515','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5010','Purchases','A','8320','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5050','Aftermarket Parts','A','8320','E','AP_amount:IC_cogs');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5060','Computer Parts','A','8320','E','AP_amount:IC_cogs');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5100','Freight','A','8457','E','AP_amount:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5400','PAYROLL EXPENSES','H','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5410','Wages & Salaries','A','9060','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5420','EI Expense','A','8622','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5430','CPP Expense','A','8622','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5440','WCB Expense','A','8622','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5600','GENERAL & ADMINISTRATIVE EXPENSES','H','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5610','Accounting & Legal','A','8862','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5615','Advertising & Promotions','A','8520','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5620','Bad Debts','A','8590','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5660','Amortization Expense','A','8670','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5680','Income Taxes','A','9990','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5685','Insurance','A','9804','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5690','Interest & Bank Charges','A','9805','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5700','Office Supplies','A','8811','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5760','Rent','A','9811','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5765','Repair & Maintenance','A','8964','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5780','Telephone','A','9225','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5785','Travel & Entertainment','A','8523','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5790','Utilities','A','8812','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5800','Licenses','A','8760','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5810','Foreign Exchange Loss','A','8231','E','');
+--
+insert into tax (chart_id,rate) values ((select id from chart where accno = '2310'),0.07);
+insert into tax (chart_id,rate) values ((select id from chart where accno = '2320'),0.08);
+--
+update defaults set inventory_accno_id = (select id from chart where accno = '1520'), income_accno_id = (select id from chart where accno = '4020'), expense_accno_id = (select id from chart where accno = '5010'), fxgain_accno_id = (select id from chart where accno = '4450'), fxloss_accno_id = (select id from chart where accno = '5810'), invnumber = '1000', sonumber = '1000', ponumber = '1000', curr = 'CAD:USD:EUR', weightunit = 'kg';
+--
diff --git a/sql-ledger/sql/Czech_Republic-chart.sql b/sql-ledger/sql/Czech_Republic-chart.sql
new file mode 100644
index 0000000..c43fed4
--- /dev/null
+++ b/sql-ledger/sql/Czech_Republic-chart.sql
@@ -0,0 +1,317 @@
+-- Czech chart of accounts
+-- Tomas.Fencl@centrum.cz
+-- Kompletní úètová osnova platná v roce 2001
+-- Osnova má 2 místa pro tvorbu analytik
+--
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1000', 'Dlouhodobý nehmotný majetek','A','','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1100', 'Zøizovací výdaje','A','','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1200', 'Nehmotné výsledky výzkumu a vývoje','A','','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1300', 'Software','A','','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1400', 'Ocenitelná práva','A','','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1800', 'Drobný dlouhodobý nehmotný majetek','A','','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1900', 'Ostatní dlouhodobý nehmotný majetek','A','','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2000', 'Dlouhodobý Hmotný majetek odpisovaný','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2100', 'Stavby','A','','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2200', 'Samostatné movité vìci a soubory movitých vìcí','A','','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2500', 'Pìstitelské celky trvalých porostù','A','','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2600', 'Základní stádo a ta¾ná zvíøata','A','','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2800', 'Drobný dlouhodobý hmotný majetek','A','','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2900', 'Ostatní dlouhodobý hmotný majetek','A','','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3000', 'Dlouhodobý hmotný majetek neodpisovaný','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3100', 'Pozemky','A','','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3200', 'Umìlecká díla a sbírky','A','','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4000', 'Poøízení dlouhodobého nehmotného a hmotného majetku','A','','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4100', 'Poøízení dlouhodobého nehmotného majetku','A','','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4200', 'Poøízení dlouhodobého hmotného majetku','A','','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5000', 'Poskytnuté zálohy na dlouhodobý nehmotný a hmotný majetek','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5100', 'Poskytnuté zálohy na dlouhodobý nehmotný majetek','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5200', 'Poskytnuté zálohy na dlouhodobý hmotný majetek','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6000', 'Dlouhodobý finanèní majetek','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6100', 'Podílové cenné papíry a vklady v podnicích s rozhodujícím','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6200', 'Podílové cenné papíry a vklady v podnicích s podstatným','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6300', 'Ostatní dlouhodobé cenné papíry a vklady','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6600', 'Pùjèky podnikùm ve skupinì','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6700', 'Ostatní pùjèky','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6900', 'Ostatní dlouhodobý finanèní majetek','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7000', 'Oprávky k dlouhodobému nehmotnému majetku','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7100', 'Oprávky ke zøizovacím výdajùm','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7200', 'Oprávky k nehmotným výsledkùm výzkumu a vývoje','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7300', 'Oprávky k softwaru','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7400', 'Oprávky k ocenitelným právùm','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7800', 'Oprávky k drobnému dlouhodobému nehmotnému majetku','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7900', 'Oprávky k ostatnímu dlouhodobému nehmotnému majetku','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('8000', 'Oprávky k dlouhodobému hmotnému majetku','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('8100', 'Oprávky ke stavbám','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('8200', 'Oprávky k samostatným movitým vìcem a souborùm movitých vìcí','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('8500', 'Oprávky k pìstitelským celkùm trvalých porostù','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('8600', 'Oprávky k základnímu stádu a ta¾ným zvíøatùm','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('8800', 'Oprávky k drobnému dlouhodobému hmotnému majetku','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('8900', 'Oprávky k ostatnímu dlouhodobému hmotnému majetku','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('9000', 'Opravné polo¾ky k dlouhodobému majetku','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('9100', 'Opravná polo¾ka k dlouhodobému nehmotnému majetku','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('9200', 'Opravná polo¾ka k dlouhodobému hmotnému majetku','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('9300', 'Opravná polo¾ka k dlouhodobému nedokonèenému nehmotnému','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('9400', 'Opravná polo¾ka k dlouhodobému nedokonèenému hmotnému','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('9500', 'Opravná polo¾ka k poskytnutým zálohám','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('9600', 'Opravná polo¾ka k dlouhodobému finanènímu majetku','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('9700', 'Opravná polo¾ka k nabytému majetku','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('9800', 'Oprávky k opravné polo¾ce k nabytému majetku','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('10000', 'Zásoby','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('11000', 'Materiál','H','','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('11100', 'Poøízení materiálu','A','','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('11200', 'Materiál na skladì','A','','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('11900', 'Materiál na cestì','A','','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('12000', 'Zásoby vlastní výroby','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('12100', 'Nedokonèená výroba','A','','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('12200', 'Polotovary vlastní výroby','A','','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('12300', 'Výrobky','A','','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('12400', 'Zvíøata','A','','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('13000', 'Zbo¾í','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('13100', 'Poøízení zbo¾í','A','','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('13200', 'Zbo¾í na skladì a v prodejnách','A','','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('13900', 'Zbo¾í na cestì','A','','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('19000', 'Opravné polo¾ky k zásobám','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('19100', 'Opravná polo¾ka k materiálu','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('19200', 'Opravná polo¾ka k nedokonèené výrobì','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('19300', 'Opravná polo¾ka k polotovarùm vlastní výroby','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('19400', 'Opravná polo¾ka k výrobkùm','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('19500', 'Opravná polo¾ka ke zvíøatùm','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('19600', 'Opravná polo¾ka ke zbo¾í','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('20000', 'Finanèní úèty','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('21000', 'Peníze','A','','A','AR_paid:AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('21100', 'Pokladna','A','','A','AR_paid:AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('21300', 'Ceniny','A','','A','AR_paid:AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('22000', 'Úèty v bankách','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('22100', 'Bankovní úèty','A','','A','AR_paid:AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('22200', 'Bankovní úèty klientù','A','','A','AR_paid:AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('23000', 'Bì¾né bankovní úvìry','H','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('23100', 'Krátkodobé bankovní úvìry','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('23200', 'Eskontní úvìry','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('24000', 'Jiné krátkodobé finanèní výpomoci','H','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('24100', 'Emitované krátkodobé dluhopisy','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('24900', 'Ostatní krátkodobé finanèní výpomoci','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('25000', 'Krátkodobý finanèní majetek','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('25100', 'Majetkové cenné papíry','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('25200', 'Vlastní akcie a vlastní obchodní podíly','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('25300', 'Dlu¾né cenné papíry','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('25500', 'Vlastní dluhopisy','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('25600', 'Ostatní cenné papíry','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('26000', 'Pøevody mezi finanèními úèty','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('26100', 'Peníze na cestì','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('29000', 'Opravné polo¾ky ke krátkodobému finanènímu majetku','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('29100', 'Opravná polo¾ka k majetkovým cenným papírùm','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('29300', 'Opravná polo¾ka k dlu¾ným cenným papírùm','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('30000', 'Zúètovací vztahy','H','','H','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('31000', 'Pohledávky','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('31100', 'Odbìratelé','A','','A','AR');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('31200', 'Smìnky k inkasu','A','','A','AR');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('31300', 'Pohledávky za eskontované cenné papíry','A','','A','AR');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('31400', 'Poskytnuté provozní zálohy','A','','A','AR');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('31500', 'Ostatní pohledávky','A','','A','AR');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('32000', 'Závazky','H','','L','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('32100', 'Dodavatelé','A','','L','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('32200', 'Smìnky k úhradì','A','','L','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('32400', 'Pøijaté zálohy','A','','L','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('32500', 'Ostatní závazky','A','','L','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('32600', ' Závazky vùèi klientùm','A','','L','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('32700', ' Závazky vùèi trhùm','A','','L','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('33000', 'Zúètování se zamìstnanci a institucemi','H','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('33100', 'Zamìstnanci','A','','L','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('33300', 'Ostatní závazky vùèi zamìstnancùm','A','','L','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('33500', 'Pohledávky za zamìstnanci','A','','A','AR');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('33600', 'Zúètování s institucemi sociálního zabezpeèení a zdravotního','A','','L','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('34000', 'Zúètování daní a dotací','H','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('34100', 'Daò z pøíjmù','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('34200', 'Ostatní pøímé danì','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('34300', 'Daò z pøidané hodnoty - zúètování','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('34311', 'DPH 5% vstup','A','','L','AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('34312', 'DPH 22% vstup','A','','L','AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('34321', 'DPH 5% výstup','A','','L','AR_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('34322', 'DPH 22% výstup','A','','L','AR_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('34500', 'Ostatní danì a poplatky','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('34600', 'Dotace ze státního rozpoètu','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('34700', 'Ostatní dotace','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('35000', 'Pohledávky ke spoleèníkùm a sdru¾ení','H','','A','AR');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('35100', 'Pohledávky k podnikùm ve skupinì','A','','A','AR');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('35300', 'Pohledávky za upsaný vlastní kapitál','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('35400', 'Pohledávky za spoleèníky pøi úhradì ztráty','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('35500', 'Ostatní pohledávky za spoleèníky','A','','A','AR');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('35800', 'Pohledávky k úèastníkùm sdru¾ení','A','','A','AR');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('36000', 'Závazky ke spoleèníkùm a sdru¾ení','H','','L','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('36100', 'Závazky k podnikùm ve skupinì','A','','L','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('36400', 'Závazky ke spoleèníkùm pøi rozdìlování zisku','A','','L','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('36500', 'Ostatní závazky ke spoleèníkùm','A','','L','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('36600', 'Závazky ke spoleèníkùm a èlenùm dru¾stva ze závislé','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('36700', 'Závazky z upsaných nesplacených cenných papírù a vkladù','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('36800', 'Závazky k úèastníkùm sdru¾ení','A','','L','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('37000', 'Jiné pohledávky a závazky','H','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('37100', 'Odlo¾ená daòová pohledávka a závazek','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('37300', 'Nakoupené opce','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('37400', 'Prodané opce','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('37500', 'Pohledávky z emitovaných dluhopisù','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('37700', ' Zúètování obchodù','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('37800', 'Jiné pohledávky','A','','A','AR');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('37900', 'Jiné závazky','A','','L','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('38000', 'Pøechodné úèty aktiv a pasív','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('38100', 'Náklady pøí¹tích období','A','','A','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('38200', 'Komplexní náklady pøí¹tích období','A','','A','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('38300', 'Výdaje pøí¹tích období','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('38400', 'Výnosy pøí¹tích období','A','','L','AR');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('38500', 'Pøíjmy pøí¹tích období','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('38600', 'Kursové rozdíly aktivní','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('38700', 'Kursové rozdíly pasívní','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('38800', 'Dohadné úèty aktivní','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('38900', 'Dohadné úèty pasívní','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('39000', 'Opravná polo¾ka k zúètovacím vztahùm a vnitøní zúètování','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('39100', 'Opravná polo¾ka k pohledávkám','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('39500', 'Vnitøní zúètování','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('39800', 'Spojovací úèet pøi sdru¾ení','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('40000', 'Kapitálové úèty a dlouhodobé závazky','H','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('41000', 'Základní kapitál a kapitálové fondy','H','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('41100', 'Základní kapitál','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('41200', 'Emisní á¾io','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('41300', 'Ostatní kapitálové fondy','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('41400', 'Oceòovací rozdíly z pøecenìní majetku a závazkù','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('42000', 'Fondy ze zisku a pøevedené hospodáøské výsledky','H','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('42100', 'Zákonný rezervní fond','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('42200', 'Nedìlitelný fond','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('42300', 'Statutární fondy','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('42700', 'Ostatní fondy','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('42800', 'Nerozdìlený zisk minulých let','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('42900', 'Neuhrazená ztráta minulých let','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('43000', 'Hospodáøský výsledek','H','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('43100', 'Hospodáøský výsledek ve schvalovacím øízení','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('45000', 'Rezervy','H','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('45100', 'Rezervy zákonné','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('45400', 'Rezerva na kursové ztráty','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('45900', 'Ostatní rezervy','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('46000', 'Bankovní úvìry','H','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('46100', 'Bankovní úvìry','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('47000', 'Dlouhodobé závazky','H','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('47100', 'Dlouhodobé závazky k podnikùm ve skupinì','A','','L','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('47300', 'Emitované dluhopisy','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('47400', 'Závazky z pronájmu','A','','L','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('47500', 'Dlouhodobé pøijaté zálohy','A','','L','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('47800', 'Dlouhodobé smìnky k úhradì','A','','L','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('47900', 'Ostatní dlouhodobé závazky','A','','L','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('49000', 'Individuální podnikatel','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('49100', 'Úèet individuálního podnikatele','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('50000', 'Spotøebované nákupy','A','','E','AP_amount:IC_COGS');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('50100', 'Spotøeba materiálu','A','','E','AP_amount:IC_COGS');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('50200', 'Spotøeba energie','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('50300', 'Spotøeba ostatních neskladovatelných dodávek','A','','E','AP_amount:IC_COGS');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('50400', 'Prodané zbo¾í','A','','E','AP_amount:IC_COGS');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('51000', 'Slu¾by','A','','E','AP_amount:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('51100', 'Opravy a udr¾ování','A','','E','AP_amount:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('51200', 'Cestovné','A','','E','AP_amount:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('51300', 'Náklady na reprezentaci','A','','E','AP_amount:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('51800', 'Ostatní slu¾by','A','','E','AP_amount:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('52000', 'Osobní náklady','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('52100', 'Mzdové náklady','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('52200', 'Pøíjmy spoleèníkù a èlenù dru¾stva ze závislé èinnosti','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('52300', 'Odmìny èlenùm orgánù spoleènosti a dru¾stva','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('52400', 'Zákonné sociální poji¹tìní','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('52500', 'Ostatní sociální poji¹tìní','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('52600', 'Sociální náklady individuálního podnikatele','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('52700', 'Zákonné sociální náklady','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('52800', 'Ostatní sociální náklady','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('53000', 'Danì a poplatky','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('53100', 'Daò silnièní','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('53200', 'Daò z nemovitostí','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('53800', 'Ostatní danì a poplatky','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('54000', 'Jiné provozní náklady','A','','E','AP_amount:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('54100', 'Zùstatková cena prodaného dlouhodobého nehmotného a hmotného','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('54200', 'Prodaný materiál','A','','E','IC_COGS');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('54300', 'Dary','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('54400', 'Smluvní pokuty a úroky z prodlení','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('54500', 'Ostatní pokuty a penále','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('54600', 'Odpis pohledávky','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('54800', 'Ostatní provozní náklady','A','','E','AP_amount:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('55000', 'Odpisy, rezervy a opravné polo¾ky provozních nákladù','H','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('55100', 'Odpisy dlouhodobého nehmotného a hmotného majetku','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('55200', 'Tvorba zákonných rezerv','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('55400', 'Tvorba ostatních rezerv','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('55500', 'Zúètování komplexních nákladù pøí¹tích období','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('55700', 'Zúètování oprávky k opravné polo¾ce k nabytému majetku','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('55800', 'Tvorba zákonných opravných polo¾ek','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('55900', 'Tvorba opravných polo¾ek','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('56000', 'Finanèní náklady','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('56100', 'Prodané cenné papíry a vklady','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('56200', 'Úroky','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('56300', 'Kursové ztráty','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('56800', 'Ostatní finanèní náklady','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('57000', 'Rezervy a opravné polo¾ky finanèních nákladù','H','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('57400', 'Tvorba rezerv','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('57900', 'Tvorba opravných polo¾ek','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('58000', 'Mimoøádné náklady','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('58100', 'Náklady na zmìnu metody','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('58200', 'Manka a ¹kody','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('58400', 'Tvorba rezerv','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('58800', 'Ostatní mimoøádné náklady','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('58900', 'Tvorba opravných polo¾ek','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('59000', 'Danì z pøíjmù a pøevodové úèty','H','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('59100', 'Daò z pøíjmù z bì¾né èinnosti - splatná','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('59200', 'Daò z pøíjmù z bì¾né èinnosti - odlo¾ená','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('59300', 'Daò z pøíjmù z mimoøádné èinnosti - splatná','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('59400', 'Daò z pøíjmù z mimoøádné èinnosti - odlo¾ené','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('59500', 'Dodateèné odvody danì z pøíjmù','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('59600', 'Pøevod podílu na hospodáøském výsledku spoleèníkùm','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('59700', 'Pøevod provozních nákladù','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('59800', 'Pøevod finanèních nákladù','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('60000', 'Tr¾by za vlastní výkony a zbo¾í','A','','I','AR_amount:IC_sale:IC_Income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('60100', 'Tr¾by za vlastní výrobky','A','','I','AR_amount:IC_sale');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('60200', 'Tr¾by z prodeje slu¾eb','A','','I','AR_amount:IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('60400', 'Tr¾by za zbo¾í','A','','I','AR_amount:IC_sale');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('61000', 'Zmìny stavu vnitropodnikových zásob','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('61100', 'Zmìna stavu nedokonèené výroby','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('61200', 'Zmìna stavu polotovarù','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('61300', 'Zmìna stavu výrobkù','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('61400', 'Zmìna stavu zvíøat','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('62000', 'Aktivace','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('62100', 'Aktivace materiálu a zbo¾í','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('62200', 'Aktivace vnitropodnikových slu¾eb','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('62300', 'Aktivace dlouhodobého nehmotného majetku','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('62400', 'Aktivace dlouhodobého hmotného majetku','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('64000', 'Jiné provozní výnosy.','A','','I','AR_amount:IC_sale:IC_Income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('64100', 'Tr¾by z prodeje dlouhodobého nehmotného a hmotného majetku','A','','I','AR_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('64200', 'Tr¾by z prodeje materiálu','A','','I','AR_amount:IC_sale');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('64400', 'Smluvní pokuty a úroky z prodlení','A','','I','AR_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('64600', 'Výnosy z odepsaných pohledávek','A','','I','AR_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('64800', 'Jiné provozní výnosy','A','','I','AR_amount:IC_sale:IC_Income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('65000', 'Zúètování rezerv a opravných polo¾ek provozních výnosù','H','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('65200', 'Zúètování zákonných rezerv','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('65400', 'Zúètování ostatních rezerv','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('65500', 'Zúètování komplexních nákladù pøí¹tích období','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('65700', 'Zúètování oprávky k opravné polo¾ce k nabytému majetku','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('65800', 'Zúètování zákonných opravných polo¾ek','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('65900', 'Zúètování opravných polo¾ek','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('66000', 'Finanèní výnosy','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('66100', 'Tr¾by z prodeje cenných papírù a vkladù','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('66200', 'Úroky','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('66300', 'Kursové zisky','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('66500', 'Výnosy z dlouhodobého finanèního majetku','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('66600', 'Výnosy z krátkodobého finanèního majetku','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('66800', 'Ostatní finanèní výnosy','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('67000', 'Zúètování rezerv a opravných polo¾ek finanèních výnosù','H','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('67400', 'Zúètování rezerv','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('67900', 'Zúètování opravných polo¾ek','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('68000', 'Mimoøádné výnosy','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('68100', 'Výnosy ze zmìny metody','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('68400', 'Zúètování rezerv','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('68800', 'Ostatní mimoøádné výnosy','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('68900', 'Zúètování opravných polo¾ek','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('69000', 'Pøevodové úèty','H','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('69700', 'Pøevod provozních výnosù','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('69800', 'Pøevod finanèních výnosù','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('70000', 'Úèty rozva¾né','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('70100', 'Poèáteèní úèet rozva¾ný','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('70200', 'Koneèný úèet rozva¾ný','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('71000', 'Úèet ziskù a ztrát','A','','A','');
+--
+insert into tax (chart_id,rate) values ((select id from chart where accno = '34311'),0.05);
+insert into tax (chart_id,rate) values ((select id from chart where accno = '34312'),0.22);
+insert into tax (chart_id,rate) values ((select id from chart where accno = '34321'),0.05);
+insert into tax (chart_id,rate) values ((select id from chart where accno = '34322'),0.22);
+--
+update defaults set inventory_accno_id = (select id from chart where accno = '13200'), income_accno_id = (select id from chart where accno = '60000'), expense_accno_id = (select id from chart where accno = '50000'), fxgain_accno_id = (select id from chart where accno = '99998'), fxloss_accno_id = (select id from chart where accno = '99999'), invnumber = '1000', sonumber = '5000', ponumber = '1000', curr = 'Kè', weightunit = 'kg';
+--
diff --git a/sql-ledger/sql/Danish_Default-chart.sql b/sql-ledger/sql/Danish_Default-chart.sql
new file mode 100644
index 0000000..aafcfb0
--- /dev/null
+++ b/sql-ledger/sql/Danish_Default-chart.sql
@@ -0,0 +1,75 @@
+-- Default chart of accounts
+-- sample only
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1000','KORTFRISTEDE AKTIVER','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1061','Bank','A','','A','AR_paid:AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1065','Kasse','A','','A','AR_paid:AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1200','Indbetalinger','A','','A','AR');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1205','Hensættelser til formodet gæld','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1210','Moms indgående','A','','A','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1500','LAGER-AKTIVER','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1520','Lager / udstyr','A','','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1530','Lager / programmel','A','','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1540','Lager / tillægssalg','A','','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1550','Lager / arrangementer','A','','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1800','AKTIVER','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1820','Kontorinventar og -udstyr','A','','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1825','Samlede afskrivninger, inventar, udstyr','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1840','Køretøjer','A','','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1845','Samlede afskrivninger, køretøjer','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2000','KORTFRISTET GÆLD','H','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2100','Udbetalinger','A','','L','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2160','Selskabsskat','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2190','Afgifter','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2311','Moms udgående','A','','L','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2600','LANGFRISTET GÆLD','H','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2620','Banklån','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3300','AKTIEKAPITAL','H','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3350','Almindelige aktier','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3500','EGENKAPITAL','H','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3510','Egenkapital primo','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3600','Årets resultat','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4000','SALGSINDTÆGT','H','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4020','Salg / udstyr','A','','I','AR_amount:IC_sale');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4030','Salg / programmel','A','','I','AR_amount:IC_sale');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4040','Salg / tillægssalg','A','','I','AR_amount:IC_sale');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4050','Salg / arrangementer','A','','I','AR_amount:IC_sale');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4300','KONSULENTINDTÆGT','H','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4320','Konsulentbistand','A','','I','AR_amount:IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4330','Programmering','A','','I','AR_amount:IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4400','ANDEN INDTÆGT','H','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4440','Renter','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4450','Foreign Exchange Gain','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5000','SALGSOMKOSTNINGER','H','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5020','Omkostninger / udstyr','A','','E','AP_amount:IC_cogs');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5010','Anskaffelser under 8.000','A','','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5011','Anskaffelser over 8.000','A','','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5030','Omkostninger / programmel','A','','E','AP_amount:IC_cogs');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5040','Omkostninger / tillægssalg','A','','E','AP_amount:IC_cogs');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5050','Omkostninger / arrangementer','A','','E','AP_amount:IC_cogs');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5100','Fragt, post','A','','E','AP_amount:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5400','LØNUDGIFTER','H','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5410','Lønninger og honorarer','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5420','ATP','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5470','Personalegoder','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5600','GENERELLE & ADMINISTRATIVE UDGIFTER','H','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5610','Bogføring, revision, advokat','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5615','Marketing','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5620','Dårlige skyldnere','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5660','Afdrag på lån','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5680','A-skat','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5685','Forsikringer','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5690','Renter og bankgebyrer','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5700','Kontorudgifter','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5760','Husleje','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5765','Vedligeholdelse og reparation','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5780','Telefon','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5785','Rejser & repræsentation','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5790','El, vand, varme','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5800','Licenser','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5810','Foreign Exchange Loss','A','','E','');
+--
+insert into tax (chart_id,rate) values ((select id from chart where accno = '1210'),0.25);
+insert into tax (chart_id,rate) values ((select id from chart where accno = '2311'),0.25);
+--
+update defaults set inventory_accno_id = (select id from chart where accno = '1520'), income_accno_id = (select id from chart where accno = '4020'), expense_accno_id = (select id from chart where accno = '5010'), fxgain_accno_id = (select id from chart where accno = '4450'), fxloss_accno_id = (select id from chart where accno = '5810'), invnumber = '1000', sonumber = '1000', ponumber = '1000', curr = 'DKK', weightunit = 'kg';
+--
diff --git a/sql-ledger/sql/Default-chart.sql b/sql-ledger/sql/Default-chart.sql
new file mode 100644
index 0000000..c85d41b
--- /dev/null
+++ b/sql-ledger/sql/Default-chart.sql
@@ -0,0 +1,81 @@
+-- Default chart of accounts
+-- sample only
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1000','CURRENT ASSETS','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1060','Chequing Account','A','','A','AR_paid:AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1065','Petty Cash','A','','A','AR_paid:AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1200','Accounts Receivables','A','','A','AR');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1205','Allowance for doubtful accounts','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1500','INVENTORY ASSETS','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1520','Inventory / Computer Parts','A','','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1530','Inventory / Software','A','','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1540','Inventory / Aftermarket Parts','A','','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1800','CAPITAL ASSETS','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1820','Office Furniture & Equipment','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1825','Accum. Amort. -Furn. & Equip.','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1840','Vehicle','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1845','Accum. Amort. -Vehicle','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2000','CURRENT LIABILITIES','H','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2100','Accounts Payable','A','','L','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2160','Corporate Taxes Payable','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2190','Federal Income Tax Payable','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2210','Workers Comp Payable','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2220','Vacation Pay Payable','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2250','Pension Plan Payable','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2260','Employment Insurance Payable','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2280','Payroll Taxes Payable','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2310','VAT (10%)','A','','L','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2320','VAT (14%)','A','','L','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2330','VAT (30%)','A','','L','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2600','LONG TERM LIABILITIES','H','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2620','Bank Loans','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2680','Loans from Shareholders','A','','L','AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3300','SHARE CAPITAL','H','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3350','Common Shares','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4000','SALES REVENUE','H','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4020','Sales / Hardware','A','','I','AR_amount:IC_sale');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4030','Sales / Software','A','','I','AR_amount:IC_sale');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4040','Sales / Aftermarket Parts','A','','I','AR_amount:IC_sale');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4300','CONSULTING REVENUE','H','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4320','Consulting','A','','I','AR_amount:IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4330','Programming','A','','I','AR_amount:IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4400','OTHER REVENUE','H','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4430','Shipping & Handling','A','','I','IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4440','Interest','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4450','Foreign Exchange Gain','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5000','COST OF GOODS SOLD','H','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5010','Purchases','A','','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5020','COGS / Hardware','A','','E','AP_amount:IC_cogs');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5030','COGS / Software','A','','E','AP_amount:IC_cogs');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5040','COGS / Aftermarket Parts','A','','E','AP_amount:IC_cogs');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5100','Freight','A','','E','AP_amount:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5400','PAYROLL EXPENSES','H','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5410','Wages & Salaries','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5420','Employment Insurance Expense','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5430','Pension Plan Expense','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5440','Workers Comp Expense','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5470','Employee Benefits','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5600','GENERAL & ADMINISTRATIVE EXPENSES','H','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5610','Accounting & Legal','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5615','Advertising & Promotions','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5620','Bad Debts','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5650','Capital Cost Allowance Expense','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5660','Amortization Expense','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5680','Income Taxes','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5685','Insurance','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5690','Interest & Bank Charges','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5700','Office Supplies','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5760','Rent','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5765','Repair & Maintenance','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5780','Telephone','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5785','Travel & Entertainment','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5790','Utilities','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5795','Registrations','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5800','Licenses','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5810','Foreign Exchange Loss','A','','E','');
+--
+insert into tax (chart_id,rate) values ((select id from chart where accno = '2310'),0.1);
+insert into tax (chart_id,rate) values ((select id from chart where accno = '2320'),0.14);
+insert into tax (chart_id,rate) values ((select id from chart where accno = '2330'),0.3);
+--
+update defaults set inventory_accno_id = (select id from chart where accno = '1520'), income_accno_id = (select id from chart where accno = '4020'), expense_accno_id = (select id from chart where accno = '5010'), fxgain_accno_id = (select id from chart where accno = '4450'), fxloss_accno_id = (select id from chart where accno = '5810'), invnumber = '1000', sonumber = '1000', ponumber = '1000', curr = 'USD:CAD:EUR', weightunit = 'kg';
+--
diff --git a/sql-ledger/sql/Dutch_Default-chart.sql b/sql-ledger/sql/Dutch_Default-chart.sql
new file mode 100644
index 0000000..758d6d4
--- /dev/null
+++ b/sql-ledger/sql/Dutch_Default-chart.sql
@@ -0,0 +1,80 @@
+--
+-- Dutch Chart of Accounts
+-- AJ Hettema, Mon, 20 Aug 2001
+--
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1000','HUIDIGE ACTIVA','H','','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1061','Bank','A','','A','AR_paid:AP_paid');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1065','Kas','A','','A','AR_paid:AP_paid');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1200','Debiteuren','A','','A','AR');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1205','Toelage voor precaire rekeningen','A','','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1500','VOORRAAD ACTIVA','H','','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1520','Voorraad / Hardware','A','','A','IC');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1530','Voorraad / Software','A','','A','IC');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1540','Voorraad / Aftermarket Parts','A','','A','IC');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1800','LANGE TERMIJN ACTIVA','H','','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1820','Inventaris','A','','A','AP_amount');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1825','Afschrijving inventaris','A','','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1840','Auto','A','','A','AP_amount');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1845','Afschrijving auto','A','','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('2000','HUIDIGE PASSIVA','H','','L','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('2100','Crediteuren','A','','L','AP');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('2160','Niet-rijks Belastingen','A','','L','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('2170','Omzetbelasting','A','','L','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('2190','Vennootschapsbelasting','A','','L','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('2310','BTW hoog','A','','L','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('2311','BTW laag','A','','L','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('2600','LANGE TERMIJN PASSIVA','H','','L','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('2620','Bank Leningen','A','','L','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('2680','Aandelenvermogen','A','','L','AP_paid');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('3300','AANDELEN KAPITAAL','H','','Q','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('3350','Aandelen in portefeuille','A','','Q','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('3500','WINSTRESERVE','H','','Q','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('3590','Winstreserve voorgaande jaren','A','','Q','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('3600','Huidige winstreserve','A','','Q','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4000','VERKOOP INKOMSTEN','H','','I','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4020','Verkoop / Hardware','A','','I','AR_amount:IC_sale');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4030','Verkoop / Software','A','','I','AR_amount:IC_sale');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4040','Verkoop / Aftermarket Parts','A','','I','AR_amount:IC_sale');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4300','CONSULTANCY INKOMSTEN','H','','I','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4320','Consultancy','A','','I','AR_amount:IC_income');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4330','Programmeren','A','','I','AR_amount:IC_income');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4400','ANDERE INKOMSTEN','H','','I','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4430','Verzend & Administratie','A','','I','IC_income');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4440','Rente','A','','I','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4450','Foreign Exchange Gain','A','','I','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('5000','INKOOPPRIJS VERKOPEN','H','','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('5010','Inkoopkosten algemeen','A','','E','AP_amount:IC_cogs:IC_expense');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('5020','Inkoopkosten / Hardware','A','','E','AP_amount:IC_cogs');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('5030','Inkoopkosten / Software','A','','E','AP_amount:IC_cogs');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('5040','Inkoopkosten / Aftermarket Parts','A','','E','AP_amount:IC_cogs');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('5100','Vrachtkosten','A','','E','AP_amount:IC_expense');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('5400','PERSONEELS KOSTEN','H','','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('5410','Salarissen','A','','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('5420','EI Expense','A','','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('5430','CPP Expense','A','','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('5440','WCB Expense','A','','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('5470','Employee Benefits','A','','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('5600','GENERAL & ADMINISTRATIVE EXPENSES','H','','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('5610','Boekhouding- & Rechtkosten','A','','E','AP_amount');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('5615','Reclame- & Promotiekosten','A','','E','AP_amount');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('5620','Slechte Schulden','A','','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('5660','Afschrijvingskosten','A','','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('5680','Inkomsten Belastingen','A','','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('5685','Verzekeringen','A','','E','AP_amount');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('5690','Rente & Bankkosten','A','','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('5700','Kantoorvoorzieningen','A','','E','AP_amount');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('5760','Huurkosten','A','','E','AP_amount');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('5765','Reparatie- & Onderhoudskosten','A','','E','AP_amount');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('5780','Telefoonkosten','A','','E','AP_amount');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('5781','Internetkosten','A','','E','AP_amount:IC_expense');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('5785','Reis- & Vermaakkosten','A','','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('5790','NUTS Kosten','A','','E','AP_amount');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('5795','Registratie''s','A','','E','AP_amount');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('5800','Licenties','A','','E','AP_amount');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('5810','Foreign Exchange Loss','A','','E','');
+--
+insert into tax (chart_id,rate) values ((select id from chart where accno = '2310'),0.19);
+insert into tax (chart_id,rate) values ((select id from chart where accno = '2311'),0.06);
+--
+update defaults set inventory_accno_id = (select id from chart where accno = '1520'), income_accno_id = (select id from chart where accno = '4020'), expense_accno_id = (select id from chart where accno = '5010'), fxgain_accno_id = (select id from chart where accno = '4450'), fxloss_accno_id = (select id from chart where accno = '5810'), invnumber = '1000', sonumber = '1000', ponumber = '1000', curr = 'EUR:USD', weightunit = 'kg';
+--
diff --git a/sql-ledger/sql/Dutch_Standard-chart.sql b/sql-ledger/sql/Dutch_Standard-chart.sql
new file mode 100644
index 0000000..cd7c8eb
--- /dev/null
+++ b/sql-ledger/sql/Dutch_Standard-chart.sql
@@ -0,0 +1,233 @@
+-- Nederlandstalig Rekeningschema conform het Decimaal Stelsel.
+-- Dutch Chart of Accounts following the Decimal Standards as set by the famous Philips Accounting Department
+-- PDF Tammes, Fri, 29 Mar 2002 ( remarks or questions to finance@bermuda-holding.com )
+-- Just delete any accounts not needed after importing the scheme, beats entering all manually (or add -- at the beginning)
+-- Account groups (first number in accountnumber defines to which group it belongs)
+-- 0 : Vaste Activa, Eigen Vermogen, Voorzieningen en lang vreemd vermogen => Fixed Assets, Capital, Accruals and long term loans
+-- 1 : Financiele Rekeningen => Financial Accounts
+-- 2 : Tussenrekeningen => Intermediate Accounts
+-- 3 : Voorraad grond- en hulpstoffen => Stocks (minerals, parts not yet assembled etc)
+-- 4 : Kostenrekeningen => Costs Accounts
+-- 5 : Verdeling Directe kosten => Accounts to recharge several Direct Costs to separate departments
+-- 6 : Fabricagekosten => Assembly Costs
+-- 7 : Voorraad gereed produkt en product in bewerking => Stocks (Trade Articles, half-finished assemblies, projects under construction)
+-- 8 : Rekeningen voor vaststelling van het verkoopresultaat => Accounts for dediding Sales Result
+-- 9 : Rekeningen voor vaststelling van de resultatenrekening => Accounts for dediding Profit & Loss (P/L)
+-- The general idea is to allocate all costs to the 4/5/6 accounts, all stock transactions to 7 and sales related to 8. At the end of the
+-- year you clean out the seperate accounts via x999 and kick the result to the relevant 9xxx series. That way you have a specialized
+-- P/L in the seperate accounts and an overview/shirt version of the P/L in the 9 series, where also various results not related to normal
+-- operations is recorded (tax, donations, that kind of thing. Finally the 9999 account is used to kick the result to retained earnings and
+-- related accounts in the balance sheet, and we are ready for the next year
+--
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('0000','Vaste Activa & Eigen Vermogen','H','0000','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('0010','Terreinen','A','0010','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('0015','Afschrijving Terreinen','A','0015','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('0200','Gebouwen','A','0200','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('0205','Afschrijving Gebouwen','A','0205','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('0230','Inventaris','A','0230','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('0235','Afschrijving Inventaris','A','0235','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('0240','Computers','A','0240','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('0245','Afschrijving Computers','A','0245','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('0250','Auto','A','0250','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('0255','Afschrijving Auto','A','0255','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('0260','Machines','A','0260','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('0265','Afschrijving Machines','A','0265','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('0290','Goodwill','A','0290','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('0295','Afschrijving Goodwill','A','0295','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('0370','Overige Leningen u/g','A','0370','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('0380','Aandelen & Effecten','A','0380','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('0381','Beleggingen Spaarbeleg','A','0381','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('0390','Beleggingen Legiolease','A','0390','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('0400','Aandelenkapitaal','A','0400','Q','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('0410','Aandelen in portefeuille','A','0410','Q','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('0420','Aandelen uit te reiken','A','0420','Q','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('0430','Agioreserve','A','0430','Q','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('0440','Winstreserve','A','0440','Q','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('0450','Herwaarderingsreserve','A','0450','Q','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('0470','Oprichtingskosten','A','0470','Q','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('0480','Winst na belasting lopend jaar','A','0480','Q','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('0500','Eigen Vermogen','A','0500','Q','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('0510','Prive','A','0510','Q','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('0550','Onverdeeld Resultaat','A','0550','Q','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('0600','Voorziening Onderhoud','A','0600','Q','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('0610','Voorziening Garantie','A','0610','Q','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('0620','Voorziening Assurantie','A','0620','Q','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('0630','Voorziening Debiteuren','A','0630','Q','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('0700','Obligatielening','A','0700','Q','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('0710','Obligaties in portefeuille','A','0710','Q','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('0720','Converteerbare Obligatielening','A','0720','Q','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('0730','Agio op Obligaties','A','0730','Q','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('0740','Disagio op Obligaties','A','0740','Q','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('0800','Hypothecaire lening o/g','A','0800','L','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1000','Financiele Rekeningen','H','1000','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1001','Kas','A','1001','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1050','Contante Verkopen','A','1050','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1100','Interbank','A','1100','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1110','ABN-AMRO','A','1110','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1119','Postbank Plus','A','1119','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1120','Postbank Giro','A','1120','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1121','Postbank Kapitaal','A','1121','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1122','Postbank Leeuw','A','1122','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1139','Postbank Effectenrekening','A','1139','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1140','Rabobank','A','1140','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1141','Rabobank Rendementrekening','A','1141','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1160','van Lanschotbank','A','1160','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1170','Finansbank','A','1170','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1180','VISA Creditcard','A','1180','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1190','Kruisposten','A','1190','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1200','Debiteuren','A','1200','A','AR');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1205','Dubieuze Debiteuren','A','1205','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1321','Rekening Courant < A','A','1321','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1322','Rekening Courant < B','A','1322','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1340','Goederen ontvangen / GO','A','1340','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1500','Te betalen loonheffing','A','1500','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1520','Te betalen Sociale Lasten','A','1520','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1530','Te betalen Pensioenpremies','A','1530','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1600','Crediteuren','A','1600','L','AP');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1605','Nog te Ontvangen Facturen / NOF','A','1605','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1610','Te betalen tantiemes','A','1610','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1615','Te betalen Vennootschapsbelasting','A','1615','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1620','Interimdividend','A','1620','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1630','Te betalen dividend','A','1630','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1640','Te betalen dividendbelasting','A','1640','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1650','Aandeelhouders nog te storten','A','1650','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1700','Te betalen interest','A','1700','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1710','Te betalen coupons','A','1710','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1770','Uitgelote obligaties','A','1770','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1800','Te vorderen BTW hoog','A','1800','L','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1801','Te vorderen BTW laag','A','1801','L','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1810','Te betalen BTW hoog','A','1810','L','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1811','Te betalen BTW laag','A','1811','L','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1850','Saldo BTW','A','1850','L','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1941','Rekening Courant > A','A','1941','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1942','Rekening Courant > B','A','1942','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1960','Vooruitbetaalde bedragen','A','1960','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1970','Vooruitontvangen bedragen','A','1970','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1980','Nog te ontvangen bedragen','A','1980','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('1990','Nog te betalen bedragen','A','1990','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('2000','Tussenrekeningen','H','2000','L','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('2100','Vraagposten','A','2100','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('2400','Onbekende betalingen','A','2400','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('2800','Tussenrekening Lonen','A','2800','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('2900','Tussenrekening Beginbalans','A','2900','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('3000','Voorraad Grond- en Hulpstoffen','H','3000','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('3010','Voorraad Grondstof A','A','3010','A','IC');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4000','Kostenrekeningen','H','4000','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4001','Verbruik Grondstoffen','A','4001','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4100','Directe Loonkosten','A','4100','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4110','Indirecte Loonkosten','A','4110','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4120','Sociale Lasten','A','4120','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4130','Kosten Pensioenen','A','4130','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4190','Overige Personeelskosten','A','4190','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4200','Kosten externe medewerkers','A','4200','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4210','Kosten Personeelsuitjes','A','4210','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4220','Kantinekosten','A','4220','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4240','Lief en Leedpot externe medewerkers','A','4240','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4300','Afschrijvingskosten Gebouwen','A','4300','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4330','Afschrijvingskosten Inventaris','A','4330','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4340','Afschrijvingskosten Computers','A','4340','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4350','Afschrijvingskosten Autos','A','4350','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4360','Afschrijvingskosten Machines','A','4360','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4390','Afschrijvingskosten Goodwill','A','4390','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4400','Huurkosten','A','4400','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4410','Asurantiekosten','A','4410','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4520','Gas, Licht & Water','A','4520','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4530','Vaste Lasten','A','4530','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4540','Reparatie- & Onderhoudskosten','A','4540','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4560','Verzekering en Beveiliging Pand','A','4560','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4600','Directe Verkoopkosten','A','4600','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4650','Indirecte Verkoopkosten','A','4650','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4730','Relatiegeschenken','A','4730','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4740','Reis en Verblijfkosten','A','4740','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4800','Kasverschillen','A','4800','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4810','Voorraadverschillen','A','4810','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4900','Telefoon & Faxkosten','A','4900','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4910','Contributies & Abonnementen','A','4910','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4920','Verzekeringen Algemeen','A','4920','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4930','Kantoorartikelen','A','4930','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4931','Kantoorbenodigdheden','A','4931','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4932','Vakliteratuur','A','4932','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4940','Licenties & Software','A','4940','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4941','Administratie & Acountantskosten','A','4941','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4943','Notaris & Advocaatkosten','A','4943','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4950','Drukwerk & Papier','A','4950','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4970','Porti','A','4970','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4980','Bankkosten','A','4980','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4981','Bankprovisie Effectenhandel','A','4981','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4990','Overige Algemene Kosten','A','4990','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4991','Bijzondere baten en lasten','A','4991','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('4999','Overboekingsrekening Rubriek 4','A','4999','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('5000','Verdeling Indirecte Kosten','H','5000','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('5400','Indirecte fabricagekosten','A','5400','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('5450','Opslag Indirecte fabricagekosten','A','5450','I','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('5500','Indirecte verkoopkosten','A','5500','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('5550','Opslag Indirecte verkoopkosten','A','5550','I','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('5999','Overboekingsrekening Rubriek 5','A','5999','I','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('6000','Fabricagerekeningen','H','6000','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('6001','Verbruik Grondstoffen','A','6001','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('6010','Directe Lonen','A','6010','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('6020','Toeslag Indirecte fabricagekosten','A','6020','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('6101','Standaard Verbruik Grondstoffen','A','6101','I','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('6110','Standaard Directe Lonen','A','6110','I','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('6120','Standaard Toeslag Indirecte fabricagekosten','A','6120','I','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('6999','Overboekingsrekening Rubriek 6','A','6999','I','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('7000','Voorraden gereed product','H','7000','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('7001','Voorraad A','A','7001','A','IC');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('7002','Voorraad B','A','7002','A','IC');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('7003','Voorraad C','A','7003','A','IC');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('7010','Voorraad Incourante goederen','A','7010','A','IC');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('7015','Afschrijving Incourante goederen','A','7015','L','IC');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('7200','Voorraad Goederen in bewerking','A','7200','A','IC');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('7300','Nog te Ontvangen Goederen / NOG','A','7300','A','IC');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('7350','Nog af te leveren goederen','A','7350','L','IC');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('7400','Prijsverschillen bij inkoop','A','7400','I','IC');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('7999','Overboekingsrekening Rubriek 7','A','7999','I','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('8000','Rekeningen tbv Verkoopresultaat','H','8000','I','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('8010','Inkoopkosten algemeen','A','8010','E','AP_amount:IC_cogs:IC_expense');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('8020','Kostprijs Verkopen A','A','8020','E','AP_amount:IC_cogs');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('8030','Kostprijs Verkopen B','A','8030','E','AP_amount:IC_cogs');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('8040','Kostprijs Verkopen C','A','8040','E','AP_amount:IC_cogs');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('8100','Directe Verkoopkosten','A','8100','E','AP_amount:IC_expense');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('8150','Toeslag Indirecte Verkoopkosten','E','8150','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('8300','Kortingen bij Verkoop','A','8300','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('8520','Opbrengst Verkopen A','A','8520','I','AR_amount:IC_sale');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('8530','Opbrengst Verkopen B','A','8530','I','AR_amount:IC_sale');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('8540','Opbrengst Verkopen C','A','8540','I','AR_amount:IC_sale');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('8999','Overboekingsrekening Rubriek 8','A','8999','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('9000','Rekeningen tbv Resultatenrekening','H','9000','I','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('9010','Resultaat Indirecte Kosten','A','9010','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('9011','Resultaat Fabricage','A','9011','I','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('9012','Resultaat Verkoop','A','9012','I','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('9015','Resultaat Prijsverschillen','A','9015','I','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('9030','Rente bate deposito','A','9030','I','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('9040','Rente bate lening u/g','A','9040','I','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('9050','Rente bate bank','A','9050','I','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('9080','Rente bate Fiscus','A','9080','I','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('9100','Rente last hypothecaire lening','A','9100','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('9110','Rente last lening bank','A','9110','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('9130','Rente last lening o/g','A','9130','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('9150','Rente last bank','A','9150','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('9180','Rente last Fiscus','A','9180','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('9190','Rente last overig','A','9190','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('9200','Ontvangen Dividend (bruto)','A','9200','I','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('9205','Ingehouden Dividendbelasting','A','9205','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('9210','Koersresultaat Effecten)','A','9210','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('9220','Valutaresultaat','A','9220','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('9300','Huuropbrengsten','A','9300','I','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('9400','Resultaat tgv inhaalafschrijvingen','A','9400','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('9500','Incidentele Resultaten','A','9500','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('9600','Giften en Donaties','A','9600','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('9700','Tantiemes','A','9700','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('9800','Belasting Lopend Jaar','A','9800','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('9810','Belasting Voorgaande Jaren','A','9810','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('9900','Vennootschapsbelasting','A','9900','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('9999','Overboekingsrekening','A','9999','I','');
+--
+--
+insert into tax (chart_id,rate) values ((select id from chart where accno = '1800'),0.19);
+insert into tax (chart_id,rate) values ((select id from chart where accno = '1801'),0.06);
+insert into tax (chart_id,rate) values ((select id from chart where accno = '1810'),0.19);
+insert into tax (chart_id,rate) values ((select id from chart where accno = '1811'),0.06);
+--
+update defaults set inventory_accno_id = (select id from chart where accno = '7001'), income_accno_id = (select id from chart where accno = '8520'), expense_accno_id = (select id from chart where accno = '8010'), fxgain_accno_id = (select id from chart where accno = '9220'), fxloss_accno_id = (select id from chart where accno = '9220'), invnumber = '0000', sonumber = '0000', ponumber = '0000', curr = 'EUR:USD', weightunit = 'kg';
+--
diff --git a/sql-ledger/sql/France-chart.sql b/sql-ledger/sql/France-chart.sql
new file mode 100644
index 0000000..a34e013
--- /dev/null
+++ b/sql-ledger/sql/France-chart.sql
@@ -0,0 +1,951 @@
+-- Chart of Accounts for France
+-- From: Oscar Buijten <oscar@elbie.com>
+-- Mon, 6 Aug 2001
+--
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('101000', 'CAPITAL', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('101100', 'CAPITAL SOUSCRIT NON APPELE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('101200', 'CAPITAL SOUSCRIT APPELE NON VERSE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('101300', 'CAPITAL SOUSCRIT APPELE VERSE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('101310', 'CAPITAL NON AMORTI', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('101320', 'CAPITAL AMORTI', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('101800', 'CAPITAL SOUSCR. A REGLEM. PART.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('104000', 'PRIMES LIEES AU CAPITAL SOCIAL', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('104100', 'PRIMES D\'EMISSION', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('104200', 'PRIMES DE FUSION', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('104300', 'PRIMES D\'APPORT', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('104400', 'PRIMES CONVERS. OBLIGAT. ACTIONS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('104500', 'BONS DE SOUSCRIPTION D\'ACTION', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('105000', 'ECARTS DE REEVALUATION', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('105100', 'RESERVE SPECIALE DE REEVALUATION', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('105200', 'ECART DE REEVALUATION LIBRE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('105300', 'RESERVE DE REEVALUATION', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('105500', 'ECARTS REEVAL. (AUT. OPER. LEG.)', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('105700', 'AUT. ECARTS REEVAL. EN FRANCE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('105800', 'AUT. ECARTS REEVAL. A L\'ETRANGER', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('106000', 'RESERVES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('106100', 'RESERVE LEGALE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('106110', 'RESERVE LEGALE PROPREMENT DITE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('106120', 'PLUS-VALUES NETTES A LONG TERME', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('106200', 'RESERVES INDISPONIBLES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('106300', 'RESERVES STATUT. OU CONTRACTUELLES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('106400', 'RESERVES REGLEMENTEES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('106410', 'PLUS-VALUES NETTES A LONG TERME', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('106430', 'RESER. CONSEC. OCTROI SUBV. INVEST', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('106480', 'AUTRES RESERVES REGLEMENTEES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('106800', 'AUTRES RESERVES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('106810', 'RESERVE DE PROPRE ASSUREUR', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('106880', 'RESERVES DIVERSES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('107000', 'ECART D\'EQUIVALENCE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('109000', 'ACTIONN. CAPITAL SOUSC. NON APPELE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('110000', 'REPORT A NOUVEAU (SOLDE CREDITEUR)', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('119000', 'REPORT A NOUVEAU (SOLDE DEBITEUR)', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('120000', 'RESULTAT DE L\'EXERCICE (BENEFICE)', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('129000', 'RESULTAT DE L\'EXERCICE (PERTE)', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('131000', 'SUBVENTIONS D\'EQUIPEMENT', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('131100', 'ETAT', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('131200', 'REGIONS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('131300', 'DEPARTEMENTS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('131400', 'COMMUNES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('131500', 'COLLECTIVITES PUBLIQUES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('131600', 'ENTREPRISES PUBLIQUES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('131700', 'ENTREPRISES ET ORGANISMES PRIVES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('131800', 'AUTRES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('138000', 'AUTRES SUBVENTIONS D\'INVESTIS.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('139000', 'SUBV. INVES. INSC. AU CPTE RESULT.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('139100', 'SUBVENTIONS D\'EQUIPEMENT', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('139110', 'ETAT', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('139120', 'REGIONS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('139130', 'DEPARTEMENTS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('139140', 'COMMUNES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('139150', 'COLLECTIVITES PUBLIQUES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('139160', 'ENTREPRISES PUBLIQUES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('139170', 'ENTREPRISES ET ORGANISMES PRIVES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('139180', 'AUTRES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('139800', 'AUTRES SUBVENTIONS D\'INVESTIS.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('142000', 'PROVIS. REGLEM. RELATIV. AUX IMMO.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('142300', 'PROVIS. POUR RECONSTITUTION GIS.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('142400', 'PROVIS. INVESTIS. (PARTIC. SALAR.)', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('143000', 'PROVIS. REGLEMENT. RELATIV. STOCKS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('143100', 'HAUSSE DES PRIX', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('143200', 'FLUCTUATION DES COURS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('144000', 'PROVIS. REGLEM. RELAT. ELEM. ACTIF', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('145000', 'AMORTISSEMENTS DEROGATOIRES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('146000', 'PROVISION SPECIALE DE REEVALUATION', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('147000', 'PLUS-VALUES REINVESTIES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('148000', 'AUTRES PROVISIONS REGLEMENTEES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('151000', 'PROVISIONS POUR RISQUES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('151100', 'PROVISIONS POUR LITIGES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('151200', 'PROV. GARANT. DONNEES AUX CLIENTS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('151300', 'PROV. PERTES SUR MARCHES A TERME.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('151400', 'PROVIS. POUR AMENDES ET PENALITES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('151500', 'PROVIS. POUR PERTES DE CHANGE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('151800', 'AUTRES PROVISIONS POUR RISQUES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('153000', 'PROVIS. PENSIONS ET OBLIG. SIMIL.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('155000', 'PROVISIONS POUR IMPOTS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('156000', 'PROVIS. RENOUV. IMMO (ETS CONCESS)', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('157000', 'PROV. CHARG. A REPART. SUR EXERC.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('157200', 'PROVIS. POUR GROSSES REPARATIONS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('158000', 'AUTRES PROVISIONS POUR CHARGES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('158200', 'PROVIS. CHARG. SOCIA. FISC. SUR CP', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('161000', 'EMPRUNTS OBLIGATOIRES CONVERTIBLES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('163000', 'AUTRES EMPRUNTS OBLIGATAIRES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('164000', 'EMPRUNTS AUPRES ETABLIS. DE CREDIT', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('165000', 'DEPOTS ET CAUTIONNEMENTS RECUS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('165100', 'DEPOTS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('165500', 'CAUTIONNEMENTS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('166000', 'PARTICIP. SALARIES AUX RESULTAS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('166100', 'COMPTES BLOQUES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('166200', 'FONDS DE PARTICIPATION', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('167000', 'EMPR. DETTES ASSORT. CONDIT. PART.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('167100', 'EMISSION DE TITRES PARTICIPATIFS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('167400', 'AVANCES CONDITIONNEES DE L\'ETAT', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('167500', 'EMPRUNTS PARTICIPATIFS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('168000', 'AUTRES EMPR. ET DETTES ASSIMILEES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('168100', 'AUTRES EMPRUNTS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('168500', 'RENTES VIAGERES CAPITALISEES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('168700', 'AUTRES DETTES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('168800', 'INTERETS COURUS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('168810', 'SUR EMPR. OBLIGATAIR. CONVERTIBLES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('168830', 'SUR AUTRES EMPRUNTS OBLIGATAIRES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('168840', 'SUR EMPRUNTS AUPRES ETABLI. CREDIT', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('168850', 'SUR DEPOTS ET CAUTIONNEMENTS RECUS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('168860', 'SUR PARTICIP. SALAR. RESULTATS ETS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('168870', 'SUR EMPR. DETTES ASSOR. COND. PART', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('168880', 'SUR AUTRES EMPR. DETTES ASSIMILEES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('169000', 'PRIMES REMBOURSEMENT OBLIGATIONS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('171000', 'DETTES RATTACH. A PARTIC. (GROUPE)', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('174000', 'DETTES RATT. A PART. (HORS GROUPE)', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('178000', 'DETTES RATTACH. A STES EN PARTIC.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('178100', 'PRINCIPAL', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('178800', 'INTERETS COURUS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('181000', 'COMPTE DE LIAISON ETABLISSEMENTS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('186000', 'BIENS PREST. SERV. ECH. (CHARGES)', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('187000', 'BIENS PREST. SERV. ECH. (PRODUITS)', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('188000', 'COMPTES DE LIAISON STES EN PARTIC.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('201100', 'FRAIS DE CONSTITUTION', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('201200', 'FRAIS DE PREMIER ETABLISSEMENT', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('201210', 'FRAIS DE PROSPECTION', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('201220', 'FRAIS DE PUBLICITE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('201300', 'FRAIS AUGMEN. CAPIT. OPER. DIVERS.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('203000', 'FRAIS RECHERCHE ET DEVELOPPEMENT', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('205000', 'CONCESSIONS ET DROITS SIMILAIRES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('206000', 'DROIT AU BAIL', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('207000', 'FONDS COMMERCIAL', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('208000', 'AUTRES IMMOBILISATIONS INCORPOR.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('211000', 'TERRAINS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('211100', 'TERRAINS NUS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('211200', 'TERRAINS AMENAGES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('211300', 'SOUS-SOLS ET SUR-SOLS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('211400', 'TERRAINS DE GISEMENT', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('211410', 'CARRIERES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('211500', 'TERRAINS BATIS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('211510', 'ENSEMBLES IMMOBILIERS INDUSTRIELS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('211550', 'ENSEMBLES IMMOB. ADM. ET COMMERC.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('211580', 'AUTRES ENSEMBLES IMMOBILIERS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('211581', 'AFFECTES AUX OPERAT. PROFESSION.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('211588', 'AFFECTES AUX OPERAT. NON PROF.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('211600', 'COMPTE D\'ORDRE SUR IMMOBILISATIONS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('212000', 'AGENCEMENTS AMENAGEMENTS TERRAINS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('213000', 'CONSTRUCTIONS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('213100', 'BATIMENTS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('213110', 'ENSEMBLES IMMOB. INDUSTRIELS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('213150', 'ENSEMBLES IMMOB. ADM. ET COMMERC.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('213180', 'AUTRES ENSEMBLES IMMOBILIERS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('213181', 'AFFECTES AUX OPERAT. PROFESSION.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('213188', 'AFFECTES AUX OPERAT. NON PROF.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('213500', 'INSTALLATIONS GENERALES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('213800', 'OUVRAGES D\'INFRASTRUCTURE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('213810', 'VOIES DE TERRE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('213820', 'VOIES DE FER', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('213830', 'VOIES D\'EAU', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('213840', 'BARRAGES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('213850', 'PISTES D\'AERODROMES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('214000', 'CONSTRUCTIONS SUR SOL D\'AUTRUI', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('215000', 'INSTALL. TECH. MAT. OUTIL. INDUS.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('215100', 'INSTALL. COMPLEXES SPECIALISEES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('215110', 'SUR SOL PROPRE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('215140', 'SUR SOL D\'AUTRUI', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('215300', 'INSTALL. A CARACTERE SPECIFIQUE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('215310', 'SUR SOL PROPRE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('215340', 'SUR SOL D\'AUTRUI', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('215400', 'MATERIEL INDUSTRIEL', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('215500', 'OUTILLAGE INDUSTRIEL', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('215700', 'AGENCEM. AMENAG. MAT. OUTIL. INDUS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('218000', 'AUTRES IMMOBILISATIONS CORPORELLES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('218100', 'INSTALL. GENE. AGENC. AMENAG. DIV.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('218200', 'MATERIEL DE TRANSPORT', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('218300', 'MATERIEL DE BUREAU ET INFORMATIQUE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('218400', 'MOBILIER', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('218500', 'CHEPTEL', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('218600', 'EMBALLAGES RECUPERABLES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('231000', 'IMMOBILISAT. CORPORELLES EN COURS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('231200', 'TERRAINS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('231300', 'CONSTRUCTIONS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('231500', 'INSTALL. TECH. MAT. OUTIL. INDUST.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('231800', 'AUTRES IMMOBILISATIONS CORPORELLES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('232000', 'IMMO. INCORPORELLES EN COURS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('237000', 'AVANC. ACOMPT. VERSES SUR IMM. INC', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('238000', 'AVANC. ACOMP. VERSES CDES IMM. COR', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('238200', 'TERRAINS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('238300', 'CONSTRUCTIONS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('238500', 'INSTALL. TECH. MAT. OUTIL. INDUST.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('238800', 'AUTRES IMMOBILISATIONS CORPORELLES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('261000', 'TITRES DE PARTICIPATION', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('261100', 'ACTIONS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('261800', 'AUTRES TITRES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('266000', 'AUTRES FORMES DE PARTICIPATION', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('267000', 'CREANCES RATTACHEES A PARTICIPAT.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('267100', 'CREANCES RATT. A PART. (GROUPE)', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('267400', 'CREANC. RATT. PART. (HORS GROUPE)', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('267500', 'VERSEM. D\'APPORTS NON CAPITALISES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('267600', 'AVANCES CONSOLIDABLES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('267700', 'AUTRES CREANCES RATT. A PART.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('267800', 'INTERETS COURUS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('268000', 'CREANCES RATT. A STE EN PART.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('268100', 'PRINCIPAL', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('268800', 'INTERETS COURUS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('269000', 'VERS. REST. A EFFECT. SUR T.P.N.L.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('271000', 'TITRES IMMOBILISES (DROIT PROP.)', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('271100', 'ACTIONS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('271800', 'AUTRES TITRES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('272000', 'TITRES IMMOBILISES (DROIT CREANCE)', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('272100', 'OBLIGATIONS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('272200', 'BONS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('273000', 'TITRES IMMOBILISES DE L\'ACT. DE PORTEF.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('274000', 'PRETS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('274100', 'PRETS PARTICIPATIFS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('274200', 'PRETS AUX ASSOCIES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('274300', 'PRETS AU PERSONNEL', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('274800', 'AUTRES PRETS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('275000', 'DEPOTS ET CAUTIONNEMENTS VERSES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('275100', 'DEPOTS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('275500', 'CAUTIONNEMENTS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('276000', 'AUTRES CREANCES IMMOBILISEES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('276100', 'CREANCES DIVERSES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('276800', 'INTERETS COURUS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('276820', 'SUR TITRES IMMOB. (DROIT CREANCE)', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('276840', 'SUR PRETS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('276850', 'SUR DEPOTS ET CAUTIONNEMENTS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('276880', 'SUR CREANCES DIVERSES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('277100', 'ACTIONS PROPRES OU PARTS PROPRES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('277200', 'ACT. PRO. OU PARTS PRO. VOIE D\'ANNUL.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('279000', 'VERSEM. A EFFECT. SUR T.I.N.L.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('280000', 'AMORTISS. IMMOBILISATIONS INCORP.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('280100', 'FRAIS D\'ETABLISSEMENT', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('280300', 'FRAIS DE RECHERCHE ET DEVELOPP.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('280500', 'CONCESSIONS ET DROITS SIMILAIRES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('280700', 'FONDS COMMERCIAL', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('280800', 'AUTRES IMMOBILISATIONS INCORPOR.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('281000', 'AMORTISS. IMMOBILISATIONS CORPOR.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('281100', 'TERRAINS DE GISEMENT', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('281200', 'AGENCEMENTS AMENAGEMENTS TERRAINS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('281300', 'CONSTRUCTIONS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('281400', 'CONSTRUCTIONS SUR SOL D\'AUTRUI', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('281500', 'INSTALL TECH. MAT. OUTIL. INDUST.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('281800', 'AUTRES IMMOBILISATIONS CORPORELLES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('282000', 'AMORTISS. IMMOBIL. EN CONCESSION', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('290000', 'PROVIS. DEPRECIATION IMMOB. INCORP', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('290500', 'MARQUES PROCEDES DROITS ET VALEURS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('290600', 'DROIT AU BAIL', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('290700', 'FONDS COMMERCIAL', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('290800', 'AUTRES IMMOB. INCORPORELLES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('291000', 'PROVIS. DEPRECIATION IMMOB. CORPOR', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('291100', 'TERRAINS (AUTRES QUE GISEMENT)', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('292000', 'PROVIS. DEPRECIAT. IMMOB. CONCESS.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('293000', 'PROVIS. DEPRECIAT. IMMOB. EN COURS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('293100', 'IMMOBILISATIONS CORPOR. EN COURS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('293200', 'IMMO. INCORPORELLES EN COURS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('296000', 'PROV. DEPREC. PART ET CREANC. PART', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('296100', 'TITRES DE PARTICIPATION', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('296600', 'AUTRES FORMES DE PARTICIPATION', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('296700', 'CREANCES RATT. A PARTICIPATION', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('296800', 'CREANCES RATT. A STE EN PARTICIP.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('297000', 'PROVIS. DEPRECIATION AUTRES IMMOB.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('297100', 'TITRES IMMOBILISES DROIT PROPRIETE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('297200', 'TITRES IMMOBILISES DROIT CREANCE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('297300', 'TITRES IMMO. DE L\'ACT. DE PORTEF.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('297400', 'PRETS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('297500', 'DEPOTS ET CAUTIONNEMENTS VERSES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('297600', 'AUTRES CREANCES IMMOBILISEES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('311000', 'MATIERE (OU GROUPE) A', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('312000', 'MATIERE (OU GROUPE) B', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('317000', 'FOURNITURES A, B, C...', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('321000', 'MATIERES CONSOMMABLES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('321100', 'MATIERE (OU GROUPE) C', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('321200', 'MATIERE (OU GROUPE) D', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('322000', 'FOURNITURES CONSOMMABLES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('322100', 'COMBUSTIBLES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('322200', 'PRODUITS D\'ENTRETIEN', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('322300', 'FOURNITURES D\'ATELIER ET D\'USINE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('322400', 'FOURNITURES DE MAGASIN', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('322500', 'FOURNITURES DE BUREAU', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('326000', 'EMBALLAGES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('326100', 'EMBALLAGES PERDUS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('326500', 'EMBAL. RECUPER. NON IDENTIFIABLES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('326700', 'EMBALLAGES A USAGE MIXTE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('331000', 'PRODUITS EN COURS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('331100', 'PRODUITS EN COURS P1', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('331200', 'PRODUITS EN COURS P2', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('335000', 'TRAVAUX EN COURS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('335100', 'TRAVAUX EN COURS T1', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('335200', 'TRAVAUX EN COURS T2', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('341000', 'ETUDES EN COURS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('341100', 'ETUDE EN COURS E1', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('341200', 'ETUDE EN COURS E2', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('345000', 'PRESTATIONS DE SERVICES EN COURS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('345100', 'PRESTATION DE SERVICES S1', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('345200', 'PRESTATION DE SERVICES S2', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('351000', 'PRODUITS INTERMEDIAIRES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('351100', 'PRODUIT INTERMEDIAIRE (OU GRPE) A', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('351200', 'PRODUIT INTERMEDIAIRE (OU GRPE) B', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('355000', 'PRODUITS FINIS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('355100', 'PRODUIT FINI (OU GROUPE) A', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('355200', 'PRODUIT FINI (OU GROUPE) B', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('358000', 'PROD. RESIDUELS (OU MAT. RECUP.)', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('358100', 'DECHETS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('358500', 'REBUTS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('358600', 'MATIERES DE RECUPERATION', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('371000', 'MARCHANDISE (OU GROUPE) A', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('372000', 'MARCHANDISE (OU GROUPE) B', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('391000', 'PROVIS. POUR DEPRECIAT. MAT. PREM.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('391100', 'MATIERE (OU GROUPE) A', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('391200', 'MATIERE (OU GROUPE) B', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('391700', 'FOURNITURE A, B, C...', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('392000', 'PROVIS. POUR DEPRECIAT. AUT. APPRO', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('392100', 'MATIERES CONSOMMABLES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('392200', 'FOURNITURES CONSOMMABLES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('392600', 'EMBALLAGES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('393000', 'PROV. DEPREC. EN-COURS PROD. BIENS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('393100', 'PRODUITS EN COURS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('393500', 'TRAVAUX EN COURS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('394000', 'PROV. DEPREC. EN-COURS PROD. SERV.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('394100', 'ETUDES EN COURS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('394500', 'PRESTATIONS DE SERVICES EN COURS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('395000', 'PROV. POUR DEPREC. STOCKS DE PROD.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('395100', 'PRODUITS INTERMEDIAIRES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('395500', 'PRODUITS FINIS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('397000', 'PROV. POUR DEPREC. STOCKS MARCHAN.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('397100', 'MARCHANDISE OU GROUPE A', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('397200', 'MARCHANDISE OU GROUPE B', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('401000', 'FOURNISSEURS DIVERS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('403000', 'FOURNISSEURS - EFFETS A PAYER', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('404000', 'FOURNISSEURS D\'IMMOBILISATIONS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('404100', 'FOURNISSEURS ACHATS D\'IMMOBILISAT.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('404700', 'FOURNIS. D\'IMMOB. RETENUES DE GAR.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('405000', 'FOURNIS. D\'IMMOB. EFFETS A PAYER', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('408000', 'FOURNIS. FACTURES NON PARVENUES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('408100', 'FOURNISSEURS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('408400', 'FOURNISSEURS D\'IMMOBILISATIONS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('408800', 'FOURNISSEURS INTERETS COURUS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('409000', 'FOURNISSEURS DEBITEURS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('409100', 'FOURNIS. AVANC. & ACOMPT. SUR CDES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('409600', 'FOURN. CREAN. EMB. & MAT. A RENDRE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('409700', 'FOURNISSEURS AUTRES AVOIRS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('409710', 'FOURNISSEURS D\'EXPLOITATION', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('409740', 'FOURNISSEURS D\'IMMOBILISATIONS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('409800', 'RABAIS REMISES RISTOUR. A OBTENIR', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('410000', 'CLIENTS ET COMPTES RATTACHES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('411000', 'CLIENTS DIVERS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('413000', 'CLIENTS EFFETS A RECEVOIR', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('416000', 'CLIENTS DOUTEUX OU LITIGIEUX', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('417000', 'CREANC. SUR TRAV. NON ENCORE FACT.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('418000', 'CLIENTS PRODUITS NON ENCORE FACT.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('418100', 'CLIENTS FACTURES A ETABLIR', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('418800', 'CLIENTS INTERETS COURUS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('419000', 'CLIENTS CREDITEURS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('419100', 'CLTS AVANC. & ACOMP. RECUS SUR CDE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('419600', 'CLTS DETT. POUR EMB. & MAT. CONSIG', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('419700', 'CLIENTS - AUTRES AVOIRS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('419800', 'RABAIS REMISES RIST. A ACCORDER', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('421000', 'PERSONNEL REMUNERATIONS DUES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('422000', 'COMITES D\'ENTREPRISE, D\'ETABLIS.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('424000', 'PARTICIP. DES SALAR. AUX RESULTATS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('424600', 'RESERVE SPECIALE (ART L442.2)', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('424800', 'COMPTES COURANTS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('425000', 'PERSONNEL AVANCES ET ACOMPTES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('426000', 'PERSONNEL DEPOTS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('427000', 'PERSONNEL OPPOSITIONS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('428000', 'PERS. CHARG. A PAY. & PROD. A REC.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('428200', 'DETTES PROVISIO. POUR CONGES PAYES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('428400', 'DETT. PROV. PART. SAL. AUX RESULT.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('428600', 'AUTRES CHARGES A PAYER', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('428700', 'PRODUITS A RECEVOIR', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('438000', 'ORG. SOC. CHARG. A PAY. & PROD.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('438200', 'CHARGES SOCIALES SUR CONGES PAYES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('438700', 'PRODUITS A RECEVOIR', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('441000', 'ETATS SUBVENTIONS A RECEVOIR', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('441100', 'SUBVENTIONS D\'INVESTISSEMENT', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('441700', 'SUBVENTIONS D\'EXPLOITATION', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('441800', 'SUBVENTIONS D\'EQUILIBRE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('441900', 'AVANCES SUR SUBVENTIONS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('442000', 'ETAT IMP. & TAX. RECOUV. SUR TIERS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('442400', 'OBLIGATAIRES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('442500', 'ASSOCIES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('443000', 'OPERATIONS PART. AVEC L\'ETAT,...', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('443100', 'CREANCES ETAT SUPPR. DECAL. TVA', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('443800', 'INTERES COURUS CREANCES CPTE 443100', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('444000', 'ETAT IMPOTS SUR LES BENEFICES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('444500', 'ETAT TAXES SUR LE CHIFFRE D\'AFF.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('445200', 'TVA DUE INTRACOMMUNAUTAIRE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('445510', 'TVA A DECAISSER', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('445580', 'TAXES ASSIMILEES A TVA', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('445600', 'TAXES SUR LE CA DEDUCTIBLES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('445621', 'TVA SUR IMMO. 5.5%', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('445622', 'TVA SUR IMMO. 20.6%', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('445623', 'TVA SUR IMMO. 19.6%', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('445630', 'TVA TRANSFEREE PAR D\'AUTRES ETS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('445662', 'TVA DEDUCTIBLE 20.6%', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('445670', 'CREDIT DE TVA A REPORTER', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('445680', 'TAXES ASSIMILEES A LA TVA', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('445700', 'TAXE SUR LE C.A. COLLECT. ENTREPR.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('445712', 'TVA COLLECTEE 20.6%', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('445800', 'TAXES SUR CA A REGULAR. OU EN ATT.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('445810', 'ACOMPTES REGIME SIMPLIFIE D\'IMPOS.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('445820', 'ACOMPTES REGIME DU FORFAIT', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('445830', 'REMBOURS. TAXES SUR CA DEMANDE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('445840', 'TVA RECUPEREE D\'AVANCE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('445861', 'TVA EN ATTENTE DEDUCTIBLE 5.5%', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('445862', 'TVA EN ATTENTE DEDUCTIBLE 20.6%', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('445863', 'TVA EN ATTENTE DEDUCTIBLE 19.6%', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('445871', 'TVA EN ATTENTE COLLECTEE 5.5%', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('445872', 'TVA EN ATTENTE COLLECTEE 20.6%', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('445873', 'TVA EN ATTENTE COLLECTEE 19.6%', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('446000', 'TITRES SUR TVA', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('446100', 'OBLIGATIONS CAUTIONNEES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('446900', 'CREANCE TVA DECALAGE D\'UN MOIS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('447000', 'AUTRES IMPOTS, TAX. ET VERS. ASSIM', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('448000', 'ETAT CHARG. A PAY. & PROD. A RECEV', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('448200', 'CHARGES FISCALES SUR CONG. A PAYER', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('448600', 'AUTRES CHARGES A PAYER', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('448700', 'PRODUITS A RECEVOIR', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('451000', 'GROUPE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('455000', 'ASSOCIES COMPTES COURANTS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('455100', 'PRINCIPAL', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('455780', 'TAXES ASSIMILEES A LA TVA', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('455800', 'INTERETS COURUS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('456000', 'ASSOCIES OPERATIONS SUR LE CAPITAL', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('456100', 'ASSOCIES COMPTES D\'APPORT EN STE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('456110', 'APPORTS EN NATURE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('456150', 'APPORTS EN NUMERAIRE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('456200', 'APPORTEURS CAPIT. APPELE NON VERSE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('456210', 'ACTION. CAP. SOUSC. APP. NON VERSE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('456250', 'ASSOCIES CAPITAL APPELE NON VERSE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('456300', 'ASSOC. VERS. RECUS SUR AUGM. CAPIT', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('456400', 'ASSOCIES VERSEMENTS ANTICIPES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('456600', 'ACTIONNAIRES DEFAILLANTS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('456700', 'ASSOCIES CAPITAL A REMBOURSER', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('457000', 'ASSOCIES DIVIDENDES A PAYER', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('458000', 'ASSOC. OPERAT. EN COMMUN ET EN GIE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('458100', 'OPERATIONS COURANTES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('458800', 'INTERETS COURUS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('462000', 'CREANCES SUR CESSIONS D\'IMMOBILIS.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('464000', 'DETTES SUR ACQUIS. VALEURS MOBI.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('465000', 'CREANC. SUR CESSIONS VALEURS MOB.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('467000', 'AUTRES COMPTES DEBIT. OU CREDIT.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('467200', 'DEBOURS PAYES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('468000', 'DIVERS CHARG. A PAY. & PROD. A REC', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('468600', 'CHARGES A PAYER', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('468700', 'PRODUITS A RECEVOIR', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('471000', 'COMPTES D\'ATTENTE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('471100', 'REIMPUTATION', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('476000', 'DIFFERENCES DE CONVERSION ACTIF', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('476100', 'DIMINUTION DES CREANCES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('476200', 'AUGMENTATION DES DETTES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('476800', 'DIFFER. COMPENS. PAR COUV. CHANGE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('477000', 'DIFFERENCES DE CONVERSION PASSIF', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('477100', 'AUGMENTATION DES CREANCES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('477200', 'DIMINUTION DES DETTES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('477800', 'DIFFER. COMPENS. PAR COUV. CHANGE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('478000', 'AUTRES COMPTES TRANSITOIRES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('481000', 'CHARG. A REPART. SUR PLUS. EXERC.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('481100', 'CHARGES DIFFEREES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('481200', 'FRAIS D\'ACQUISITION DES IMMOBILIS.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('481600', 'FRAIS D\'EMISSION DES EMPRUNTS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('481800', 'CHARGES A ETALER', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('486000', 'CHARGES CONSTATEES D\'AVANCE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('487000', 'PRODUITS CONSTATES D\'AVANCE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('488000', 'CPTES REPART. PERIO. CHARG. & PROD', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('488600', 'CHARGES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('488700', 'PRODUITS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('491000', 'PROVIS. POUR DEPREC. CPTES CLIENTS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('495000', 'PROV. POUR DEPREC. CPTES GRPE ASS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('495100', 'COMPTES DU GROUPE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('495500', 'COMPTES COURANTS DES ASSOCIES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('495800', 'OPERAT. FAITES EN COMMUN & EN GIE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('496000', 'PROVIS. POUR DEPREC. CPTES DEBIT.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('496200', 'CREANCES SUR CESSIONS D\'IMMOBILIS.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('496500', 'CREANC. SUR CESSIONS VALEURS MOB.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('496700', 'AUTRES COMPTES DEBITEURS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('501000', 'PARTS DANS DES ENTREPRISES LIEES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('502000', 'ACTIONS PROPRES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('503000', 'ACTIONS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('503100', 'TITRES COTES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('503500', 'TITRES NON COTES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('504000', 'AUTRES TITRES CONFERANT DROIT PROP', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('505000', 'OBLIG. & BONS EMIS PAR LA SOCIETE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('506000', 'OBLIGATIONS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('506100', 'TITRES COTES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('506500', 'TITRES NON COTES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('507000', 'BONS TRESOR & BONS CAISSE A CT', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('508000', 'AUTRES VALEURS MOB. ET CREANC. ASS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('508100', 'AUTRES VALEURS MOBILIERES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('508200', 'BONS DE SOUSCRIPTION', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('508800', 'INTER. COURUS SUR OBLIGATIONS BONS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('509000', 'VERS. A EFFECT. SUR VALEURS MOBIL.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('511000', 'VALEURS A L\'ENCAISSEMENT', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('511100', 'COUPONS ECHUS A L\'ENCAISSEMENT', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('511200', 'CHEQUES A ENCAISSER', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('511300', 'EFFETS A L\'ENCAISSEMENT', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('511400', 'EFFETS A L\'ESCOMPTE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('512100', 'COMPTES EN MONNAIE NATIONALE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('512400', 'COMPTES EN DEVISES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('514000', 'CHEQUES POSTAUX', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('515000', 'CAISSES DU TRESOR ET ETS PUBLICS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('516000', 'SOCIETE DE BOURSE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('517000', 'AUTRES ORGANISMES FINANCIERS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('518000', 'INTERETS EN COURS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('518600', 'INTERETS COURUS A PAYER', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('518700', 'INTERETS COURUS A RECEVOIR', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('519000', 'CONCOURS BANCAIRES COURANTS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('519100', 'CREDIT MOBIL. CREANC. CCIALES CMCC', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('519300', 'MOBIL. CREANCES NEES A L\'ETRANGER', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('519800', 'INT. COURUS SUR CONCOURS BANCAIRES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('520000', 'INSTRUMENTS DE TRESORERIE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('531000', 'CAISSE SIEGE SOCIAL', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('531100', 'CAISSE EN MONNAIE NATIONALE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('531400', 'CAISSE EN DEVISES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('532000', 'CAISSE SUCCURSALE (OU USINE) A', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('533000', 'CAISSE SUCCURSALE (OU USINE) B', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('580100', 'VIREMENT DE TRESORERIE A TRESORERIE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('590000', 'PROVIS. POUR DEPREC. VALEURS MOB.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('590300', 'ACTIONS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('590400', 'AUTRES TIT. CONFERANT DROIT PROP.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('590600', 'OBLIGATIONS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('590800', 'AUTRES VALEURS MOB. & CREANC. ASS.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('601100', 'MATIERE (OU GROUPE) A', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('601200', 'MATIERE (OU GROUPE) B', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('601700', 'FOURNITURES A, B, C...', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('602000', 'ACHATS STOCKES AUTRES APPROV.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('602100', 'MATIERES CONSOMMABLES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('602110', 'MATIERE (OU GROUPE) C', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('602120', 'MATIERE (OU GROUPE) D', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('602200', 'FOURNITURES CONSOMMABLES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('602210', 'COMBUSTIBLES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('602220', 'PRODUITS D\'ENTRETIEN', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('602230', 'FOURNITURES D\'ATELIER / USINES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('602240', 'FOURNITURES DE MAGASINS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('602250', 'FOURNITURES DE BUREAU', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('602600', 'EMBALLAGES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('602610', 'EMBALLAGES PERDUS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('602650', 'EMBALL. RECUPERA. NON IDENTIF.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('602670', 'EMBALLAGES A USAGE MIXTE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('603000', 'VARIATION DES STOCKS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('603100', 'VARIAT. STOCKS MAT. PREM. ET FOURN', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('603200', 'VARIAT. STOCKS AUTRES APPROVISION.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('603700', 'VARIATION STOCKS DE MARCHANDISES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('604000', 'ACHATS ETUDES ET PRESTAT. SERVICES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('605000', 'ACHATS MATERIEL EQUIPEM. TRAVAUX', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('606000', 'ACHATS NON STOCKES DE MAT. PREM.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('606400', 'FOURNITURES ADMINISTRATIVES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('606500', 'ACHATS SPECIAUX', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('606800', 'AUTRES MATIERES ET FOURNITURES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('607100', 'MARCHANDISE (OU GROUPE) A', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('607200', 'MARCHANDISE (OU GROUPE) B', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('608000', 'FRAIS ACCESSOIRES D\'ACHAT', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('609000', 'RABAIS REMISES RIST. SUR ACHATS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('609100', 'DE MATIERES PREMIERES (ET FOURN.)', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('609200', 'D\'AUTRES APPROVISIONN. STOCKES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('609500', 'DE MATERIEL EQUIPEMENTS DE TRAVAUX', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('609600', 'D\'APPROVISIONNEMENTS NON STOCKES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('609700', 'DE MARCHANDISES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('609800', 'RABAIS REMISES RIST. NON AFFECTES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('612000', 'REDEVANCES DE CREDIT-BAIL', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('612200', 'CREDIT-BAIL MOBILIER', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('612500', 'CREDIT-BAIL IMMOBILIER', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('613000', 'LOCATIONS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('613600', 'MALIS SUR EMBALLAGES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('614000', 'CHARGES LOCATIVES & DE COPROPRIETE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('615200', 'SUR BIENS IMMOBILIERS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('615500', 'SUR BIENS MOBILIERS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('615600', 'MAINTENANCE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('616100', 'MULTIRISQUES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('616200', 'ASSUR. OBLIGAT. DOMMAGE-CONSTRUCT.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('616300', 'ASSURANCE-TRANSPORT', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('616360', 'SUR ACHATS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('616370', 'SUR VENTES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('616380', 'SUR AUTRES BIENS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('616400', 'RISQUES D\'EXPLOITATION', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('616500', 'INSOLVABILITE CLIENTS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('618000', 'DIVERS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('618100', 'DOCUMENTATION GENERALE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('618500', 'FRAIS DE COLLOQUES, SEMIN., CONFER', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('619000', 'RABAIS REMISES RIST. SUR SERV. EXT', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('621000', 'PERSONNEL EXTERIEUR A L\'ENTREPRISE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('621400', 'PERSONNEL DETACHE OU PRETE A L\'ETS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('622000', 'REMUNERAT. D\'INTERM. ET HONORAIRES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('622100', 'COMMISSIONS & COURTAGES SUR ACHATS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('622200', 'COMMISSIONS & COURTAGES SUR VENTES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('622400', 'REMUNERATIONS DES TRANSITAIRES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('622500', 'REMUNERATIONS D\'AFFACTURAGE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('622800', 'DIVERS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('623000', 'PUBLICITE PUBLICAT. RELAT. PUBLIQ.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('623100', 'ANNONCES ET INSERTIONS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('623200', 'ECHANTILLONS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('623300', 'FOIRES ET EXPOSITIONS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('623500', 'PRIMES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('623600', 'CATALOGUES ET IMPRIMES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('623700', 'PUBLICATIONS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('623800', 'DIVERS (POURBOIRES, DONS COURANTS)', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('624000', 'TRANSP. BIENS & TRANSP. COLL. PERS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('624100', 'TRANSPORTS SUR ACHATS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('624200', 'TRANSPORTS SUR VENTES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('624300', 'TRANSPORTS ENTRE ETS OU CHANTIERS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('624400', 'TRANSPORTS ADMINISTRATIFS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('624700', 'TRANSPORTS COLLECTIFS DU PERSONNEL', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('624800', 'DIVERS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('625000', 'DEPLACEM. MISSIONS ET RECEPTIONS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('625500', 'FRAIS DE DEMENAGEMENT', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('625700', 'RECEPTIONS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('627000', 'SERVICES BANCAIRES ET ASSIMILES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('627100', 'FRAIS SUR TITRES (ACHAT, VENTE,.).', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('627200', 'COMMISSIONS & FRAIS SUR EMPRUNTS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('627500', 'FRAIS SUR EFFETS (COMM. D\'ENDOS,.)', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('627600', 'LOCATION DE COFFRES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('627800', 'AUTRES FRAIS & COMM. PREST. SERV.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('628000', 'DIVERS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('628400', 'FRAIS DE RECRUTEMENT DU PERSONNEL', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('629000', 'RABAIS REMISES RIST. SUR SERV. EXT', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('631000', 'IMPOTS TAXES & VERS. SUR REMUNER.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('631100', 'TAXE SUR LES SALAIRES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('631200', 'TAXE D\'APPRENTISSAGE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('631300', 'PART. EMPLOY. A FORM. PROF. CONT.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('631400', 'COTIS. DEFAUT INVEST. DANS CONST.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('631800', 'AUTRES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('633000', 'IMPOTS TAXES & VERS. SUR REMUNER.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('633100', 'VERSEMENT SUR LE TRANSPORT', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('633200', 'ALLOCATION LOGEMENT', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('633300', 'PART. EMPLOY. A FORM. PROF. CONT.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('633400', 'PART. EMPLOY. A EFFORT CONSTRUCT.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('633500', 'VERS. LIBERAT. A EXONER. TAXE APP.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('635000', 'AUTRES IMPOTS TAXES & VERS. ASS.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('635100', 'IMPOTS DIRECTS (SAUF IMPOT BENEF.)', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('635120', 'TAXES FONCIERES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('635130', 'AUTRES IMPOTS LOCAUX', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('635140', 'TAXE SUR LES VEHICULES SOCIETES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('635200', 'TAXES SUR CA NON RECUPERABLES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('635300', 'IMPOTS INDIRECTS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('635400', 'DROITS D\'ENREGISTREMENT ET TIMBRE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('635410', 'DROIT DE MUTATION', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('635800', 'AUTRES DROITS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('637000', 'AUTRES IMPOTS TAXES ET VERS. ASS.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('637100', 'CONTRIB. SOC. SOLID. A CHARGE STES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('637200', 'TAXES PERCUES PAR ORG. PUBLICS INT', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('637400', 'IMPOTS & TAXES EXIGIB. A L\'ETRANG.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('637800', 'TAXES DIVERSES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('641100', 'SALAIRES APPOINT. COMMIS. DE BASE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('641200', 'CONGES PAYES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('641300', 'PRIMES ET GRATIFICATIONS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('641400', 'SALAIRES, APPOINTEMENTS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('641500', 'SUPPLEMENT FAMILIAL', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('644000', 'REMUNERATION TRAVAIL DE L\'EXPLOIT.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('647000', 'AUTRES CHARGES SOCIALES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('647100', 'PRESTATIONS DIRECTES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('647200', 'VERS. AUX COMITES D\'ETS & D\'ETAB.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('647300', 'VERS. AUX COMITES HYGIENE ET SECUR', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('647400', 'VERSEMENTS AUX OEUVRES SOCIALES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('647500', 'MEDECINE DU TRAVAIL, PHARMACIE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('648000', 'AUTRES CHARGES DE PERSONNEL', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('651000', 'REDEVANC. CONCESS. BREV. LICENC,..', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('651100', 'REDEV. CONCESS. BREV, LIC, MARQ,..', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('651600', 'DROITS D\'AUTEUR ET DE REPRODUCT.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('651800', 'AUTRES DROITS & VALEURS SIMILAIRES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('653000', 'JETONS DE PRESENCE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('654000', 'PERTES SUR CREANCES IRRECOUVRAB.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('654100', 'CREANCES DE L\'EXERCICE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('654400', 'CREANCES DES EXERCICES ANTERIEURS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('655000', 'QUOTE-PARTS RESULT. OPER. EN COMM.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('655100', 'Q-P BENEF. TRANSF. (CPTA GERANT)', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('655500', 'QUOTE-PART PERTE SUPP. (CPTA ASS)', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('658000', 'CHARGES DIVERSES GESTION COURANTE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('661000', 'CHARGES D\'INTERETS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('661100', 'INTERETS DES EMPRUNTS ET DETTES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('661160', 'DES EMPRUNTS ET DETTES ASSIMILEES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('661170', 'DES DETTES RATT. A PARTICIPATIONS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('661500', 'INTERETS CPTES COUR. & DEP. CREDIT', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('661600', 'INTERETS BANC. & SUR OPER. FINANC.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('661700', 'INTERETS OBLIGATIONS CAUTIONNEES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('661800', 'INTERETS DES AUTRES DETTES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('661810', 'DES DETTES COMMERCIALES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('661880', 'DES DETTES DIVERSES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('664000', 'PERTES CREANCES LIEES A PARTICIP.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('665000', 'ESCOMPTES ACCORDES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('667000', 'CHARG. NETTES SUR CESS. VAL. MOBIL', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('668000', 'AUTRES CHARGES FINANCIERES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('668800', 'ECART DE CONVERSION', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('671000', 'CHARG. EXCEPT. SUR OPERAT. GESTION', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('671100', 'PENALITES SUR MARCHES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('671200', 'PENALITES AMENDES FISC. & PENALES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('671300', 'DONS, LIBERALITES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('671400', 'CREANC. DEVEN. IRRECOUV. SUR BENEF', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('671500', 'SUBVENTIONS ACCORDEES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('671700', 'RAPPEL D\'IMPOTS (AUTRE QUE BENEF)', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('671800', 'AUT. CHARG. EXCEP. SUR OPER. GEST.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('672000', 'CHARGES SUR EXERCICES ANTERIEURS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('675000', 'VAL. COMPT. DES ELEM. ACTIF CEDES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('675100', 'IMMOBILISATIONS INCORPORELLES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('675200', 'IMMOBILISATIONS CORPORELLES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('675600', 'IMMOBILISATIONS FINANCIERES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('675800', 'AUTRES ELEMENTS D\'ACTIF', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('678000', 'AUTRES CHARGES EXCEPTIONNELLES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('678100', 'MALIS PROVENANT DE CLAUSES INDEXAT', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('678200', 'LOTS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('678300', 'MALIS DU RACHAT PAR ETS D\'ACTIONS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('678800', 'CHARGES EXCEPTIONNELLES DIVERSES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('681100', 'DOTAT. AUX AMORT. DES IMMOB. CORPO', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('681110', 'IMMOBILISATIONS INCORPORELLES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('681120', 'IMMOBILISATIONS CORPORELLES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('681200', 'DOTAT. AUX AMORT. CHARG. EXPLOIT.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('681500', 'DOTAT. AUX PROV. RISQ. & CHARG. EX', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('681600', 'DOTAT. AUX PROV. DEPREC. IMMOB.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('681610', 'IMMOBILISATIONS INCORPORELLES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('681620', 'IMMOBILISATIONS CORPORELLES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('681700', 'DOTAT. AUX PROV. DEPREC. ACTIFS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('681740', 'CREANCES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('686000', 'DOTAT. AUX AMORT. ET AUX PROVIS.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('686100', 'DOT. AUX AMORT. PRIME REMB. OBLIG.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('686500', 'DOT. AUX PROV. RISQ. & CHARG. FIN.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('686600', 'DOT. AUX PROV. DEPREC. ELEM. FINAN', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('686620', 'IMMOBILISATIONS FINANCIERES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('686650', 'VALEURS MOBILIERES DE PLACEMENT', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('686800', 'AUTRES DOTATIONS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('687000', 'DOTAT. AUX AMORT. ET PROVISIONS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('687100', 'DOTAT. AUX AMORT. EXCEPT. IMMOB.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('687200', 'DOTAT. AUX PROV. REGLEM. (IMMOB)', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('687250', 'AMORTISSEMENTS DEROGATOIRES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('687300', 'DOTAT. AUX PROV. REGLEM. (STOCKS)', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('687400', 'DOTAT. AUX AUTRES PROV. REGLEMENT.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('687500', 'DOTAT. PROV. RISQ. & CHARG. EXCEP.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('691000', 'PARTICIPATIONS DES SALARIES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('695200', 'CONTRIB. ADDITIO. IMPOT BENEFICES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('695400', 'IMPOTS DUS A L\'ETRANGER', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('696000', 'SUPPLEMENT D\'IMPOTS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('697000', 'IMPOSITION FORF. ANUELLE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('698000', 'INTEGRATION FISCALE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('698100', 'INTEGRATION FISCALE - CHARGES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('698900', 'INTEGRATION FISCALE - PRODUITS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('699000', 'PRODUITS REP. EN ARR. DES DEFICITS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('701000', 'VENTES DE PRODUITS FINIS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('701100', 'PRODUIT FINI (OU GROUPE) A', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('701200', 'PRODUIT FINI (OU GROUPE) B', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('702000', 'VENTES DE PRODUITS INTERMEDIAIRES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('703000', 'VENTES DE PRODUITS RESIDUELS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('704000', 'TRAVAUX', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('704100', 'TRAVAUX DE CATEG. (OU ACTIV.) A', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('704200', 'TRAVAUX DE CATEG. (OU ACTIV.) B', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('705000', 'ETUDES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('707100', 'MARCHANDISE (OU GROUPE) A', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('707200', 'MARCHANDISE (OU GROUPE) B', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('708000', 'PRODUITS DES ACTIVITES ANNEXES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('708100', 'PROD. SERV. EXPLOIT. INTER. PERSON', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('708200', 'COMMISSIONS ET COURTAGES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('708300', 'LOCATIONS DIVERSES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('708400', 'MISE A DISPOS. PERSONNEL FACTUREE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('708500', 'PORTS ET FRAIS ACCESSOIRES FACT.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('708600', 'BONIS SUR REPRISES EMBALL. CONSIG.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('708700', 'BONIFICAT. CLTS & PRIMES VENTES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('708800', 'AUTRES PRODUITS ACTIVITES ANNEXES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('709000', 'RABAIS REMISES RIST. ACCORD. A ETS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('709100', 'SUR VENTES DE PRODUITS FINIS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('709200', 'SUR VENTES PRODUITS INTERMEDIAIRES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('709400', 'SUR TRAVAUX', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('709500', 'SUR ETUDES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('709600', 'SUR PRESTATIONS DE SERVICES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('709700', 'SUR VENTES MARCHANDISES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('709800', 'SUR PRODUITS ACTIVITES ANNEXES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('713000', 'VARIAT. STOCKS (EN-COURS PRODUCT.)', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('713300', 'VARIATION EN-COURS PRODUC. BIENS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('713310', 'PRODUITS EN COURS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('713350', 'TRAVAUX EN COURS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('713400', 'VARIATION EN-COURS PROD. SERVICES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('713410', 'ETUDES EN COURS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('713450', 'PRESTATIONS SERVICES EN COURS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('713500', 'VARIATION STOCKS DE PRODUITS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('713510', 'PRODUITS INTERMEDIAIRES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('713550', 'PRODUITS FINIS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('713580', 'PRODUITS RESIDUELS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('721000', 'IMMOBILISATIONS INCORPORELLES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('722000', 'IMMOBILISATIONS CORPORELLES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('731000', 'PROD. NETS PART. SUR OP. EN COURS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('739000', 'PROD. NETS PART. SUR OP. TERMINEES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('751000', 'REDEV. POUR CONCES. BREV. LIC....', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('751100', 'REDEV. POUR CONCES. BREV. LIC...', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('751600', 'DROITS D\'AUTEUR ET DE REPRODUCTION', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('751800', 'AUTRES DROITS & VALEURS SIMILAIRES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('752000', 'REV. IMMEUB. NON AFFECT. ACT. PROF', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('753000', 'JETONS PRESENCE ET REMUN. ADMINIST', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('754000', 'RISTOURNES PERCUES COOPERATIVES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('755000', 'QUOTES-PARTS RESULT. OP. EN COMMUN', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('755100', 'QUOTE-PART PERTE TRANSFEREE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('755500', 'QUOTE-PART BENEFICE ATTRIBUEE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('758000', 'PRODUITS DIVERS GESTION COURANTE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('761000', 'PRODUITS DE PARTICIPATIONS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('761100', 'REVENUS TITRES DE PARTICIPATION', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('761600', 'REVENUS AUTRES FORMES PARTICIP.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('762000', 'PRODUITS AUTRES IMMOB. FINANC.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('762100', 'REVENUS DES TITRES IMMOBILISES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('762400', 'REVENUS DES PRETS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('762700', 'REVENUS CREANCES IMMOBILISEES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('763000', 'REVENUS DES AUTRES CREANCES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('763100', 'REVENUS CREANCES COMMERCIALES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('763800', 'REVENUS DES CREANCES DIVERSES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('764000', 'REVENUS VALEURS MOBIL. PLACEMENT', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('765000', 'ESCOMPTES OBTENUS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('767000', 'PROD. NETS SUR CESS. VALEURS MOB.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('767100', 'REVENUS CRE. RATT. PARTICIPATIONS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('768000', 'AUTRES PRODUITS FINANCIERS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('771000', 'PRODUITS EXCEPT. SUR OPER. GESTION', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('771100', 'DEDITS PENAL. SUR ACHATS & VENTES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('771300', 'LIBERALITES PERCUES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('771400', 'RENTREES SUR CREANCES AMORTIES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('771500', 'SUBVENTIONS D\'EQUILIBRE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('771700', 'DEGREVEM. IMPOTS (AUT. IMP. BENEF)', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('771800', 'AUTRES PROD. EXCEPT. SUR OP. GEST.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('772000', 'PRODUITS SUR EXERCICES ANTERIEURS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('775000', 'PRODUITS CESSIONS ELEMENTS D\'ACTIF', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('775100', 'IMMOBILISATIONS INCORPORELLES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('775200', 'IMMOBILISATIONS CORPORELLES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('775600', 'IMMOBILISATIONS FINANCIERES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('775800', 'AUTRES ELEMENTS D\'ACTIF', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('777000', 'Q-P SUBV. INVEST. AU RESULT. EXERC', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('778000', 'AUTRES PRODUITS EXCEPTIONNELS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('778100', 'BONIS PROVENANT CLAUSES D\'INDEXAT.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('778200', 'LOTS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('778300', 'BONIS RACHAT PAR ETS ACT. & OBLIG.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('778800', 'PRODUITS EXCEPTIONNELS DIVERS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('781000', 'REPRISES SUR AMORTISS. & PROVIS.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('781100', 'REPRIS. AMORT. IMMOB. CORP. & INC', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('781110', 'IMMOBILISATIONS INCORPORELLES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('781120', 'IMMOBILISATIONS CORPORELLES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('781500', 'REPRIS. PROVIS. RISQ. & CH. EXPLOI', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('781600', 'REP. PROV. DEPREC. IMM. CORP & INC', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('781610', 'IMMOBILISATIONS INCORPORELLES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('781620', 'IMMOBILISATIONS CORPORELLES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('781700', 'REPRIS. PROV. DEPREC. ACT. CIRCUL.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('781730', 'STOCKS ET EN-COURS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('781740', 'CREANCES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('786000', 'REPRISES SUR PROVIS. POUR RISQUES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('786500', 'REP. PROV. RISQ. & CHARG. FINANC.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('786600', 'REPRIS. PROV. DEPREC. ELEM. FINANC', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('786620', 'IMMOBILISATIONS FINANCIERES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('786650', 'VALEURS MOBILIERES DE PLACEMENT', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('787000', 'REPRISES SUR PROVISIONS', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('787200', 'REPRISES SUR PROV. REGLEMENTEES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('787250', 'AMORTISSEMENTS DEROGATOIRES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('787260', 'PROVISION SPECIALE DE REEVALUATION', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('787270', 'PLUS-VALUES REINVESTIES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('787300', 'REPRISES SUR PROV. REGLEMENTEES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('787400', 'REPRIS. SUR AUTRES PROV. REGLEMENT', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('787500', 'REPRIS. PROV. RISQ. & CHARG. EXPL.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('787600', 'REPRIS. PROV. POUR DEPREC. EXCEPT.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('791000', 'TRANSFERTS DE CHARGES D\'EXPLOIT.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('796000', 'TRANSFERTS DE CHARGES FINANC.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('797000', 'TRANSFERTS DE CHARGES EXCEPT.', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('201000', 'FRAIS D\'ETABLISSEMENT', 'A', '', 'E', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('209000', 'SORTIE D\'IMMOBILISATION', 'A', '', 'I', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('474100', 'DIVERS A REINTEGRER', 'A', '', 'I', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('474200', 'BENEFICE SCM', 'A', '', 'I', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('475000', 'PLUS VALUES A COURT TERME', 'A', '', 'I', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('530000', 'CAISSE', 'A', '', 'I', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('760000', 'PRODUITS FINANCIERS', 'A', '', 'I', 'AR_amount');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('770000', 'PRODUITS EXCEPTIONNELS', 'A', '', 'I', 'AR_amount');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('530010', 'CAISSE', 'A', '', 'E', 'AP_amount');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('607000', 'ACHATS DE MARCHANDISES', 'A', '', 'E', 'AP_amount');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('622700', 'FRAIS D\'ACTES ET DE CONTENTIEUX', 'A', '', 'E', 'AP_amount');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('438600', 'AUTRES CHARGES A PAYER', 'A', '', 'E', 'AP_amount');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('473000', 'DIVERS A DEDUIRE', 'A', '', 'E', 'AP_amount');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('613200', 'LOCATIONS IMMOBILIERES', 'A', '', 'E', 'AP_amount');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('616000', 'PRIMES D\'ASSURANCE', 'A', '', 'E', 'AP_amount');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('633800', 'AUTRES', 'A', '', 'E', 'AP_amount');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('695000', 'IMPOTS SUR LES BENEFICES', 'A', '', 'E', 'AP_amount');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('108100', 'COMPTE DE LEXPLOITANT', 'A', '', 'E', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('512030', 'EPARGNE', 'A', '', 'A', 'AR_paid:AP_paid');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('100000', 'CLASSE 1', 'H', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('300000', 'CLASSE 3', 'H', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('500000', 'CLASSE 5', 'H', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('600000', 'CLASSE 6', 'H', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('700000', 'CLASSE 7', 'H', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('108000', 'COMPTE DE LEXPLOITANT', 'A', '', 'I', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('200001', 'IMMOBILISATION', 'A', '', 'E', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('200000', 'CLASSE 2', 'H', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('400001', 'FOURNISSEURS ET COMPTES RATTACHES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('400000', 'CLASSE 4', 'H', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('695100', 'IMPOTS DUS EN FRANCE', 'A', '', 'E', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('646000', 'COTIS. SOCIAL. PERSON. EXPLOITANT', 'A', '', 'E', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('645000', 'CHARGES DE SECUR. SOC. ET PREVOY.', 'A', '', 'E', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('617000', 'ETUDES ET RECHERCHES', 'A', '', 'E', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('615000', 'ENTRETIEN ET REPARATIONS', 'A', '', 'E', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('613500', 'LOCATIONS MOBILIERES', 'A', '', 'E', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('611000', 'SOUS-TRAITANCE GENERALE', 'A', '', 'E', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('695500', 'DEBOURS PAYES POUR LE COMPTE', 'A', '', 'E', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('690000', 'PARTICIP. SAL. / IMPOTS SUR BEN.', 'A', '', 'E', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('687600', 'DOTAT. AUX PROV. DEPREC. EXCEPT.', 'A', '', 'E', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('681000', 'DOTATIONS AUX AMORT. & AUX PROVIS.', 'A', '', 'E', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('628100', 'CONCOURS DIVERS (COTISATIONS,...)', 'A', '', 'E', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('625600', 'MISSIONS', 'A', '', 'E', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('645800', 'COTISATIONS AUX AUTRES ORG. SOC.', 'A', '', 'E', 'AP_amount');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('641000', 'REMUNERATIONS DU PERSONNEL', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('625020', 'DEPLACEMENTS MOTO', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('622600', 'HONORAIRES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('621100', 'PERSONNEL INTERIMAIRE', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('445500', 'TAXES SUR CA A DECAISSER', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('706000', 'PRESTATIONS DE SERVICES', 'A', '', 'I', 'IC_income');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('707000', 'VENTES DE MARCHANDISES', 'A', '', 'I', 'IC_sale');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('445713', 'TVA COLLECTEE 19.6%', 'A', '', 'I', 'AR_tax:IC_taxpart:IC_taxservice:CT_tax');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('512020', 'BANQUE DEBIT', 'A', '', 'E', 'AP');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('445711', 'TVA COLLECTEE 5.5%', 'A', '', 'I', 'AR_tax:IC_taxpart:IC_taxservice:CT_tax');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('445661', 'TVA DEDUCTIBLE 5.5%', 'A', '', 'E', 'AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('512010', 'BANQUE CREDIT', 'A', '', 'I', 'AR:AR_amount');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('681730', 'STOCKS ET EN-COURS', 'A', '', 'A', 'IC');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('580010', 'VIREMENT INTERNE', 'A', '', 'E', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('580000', 'VIREMENT INTERNE', 'A', '', 'E', 'AP_amount');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('766000', 'GAINS DE CHANGE', 'A', '', 'I', 'AR_amount:IC_income');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('472000', 'MOINS VALUES A COURT TERME', 'A', '', 'E', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('474000', 'DEFICIT SCM', 'A', '', 'E', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('670000', 'CHARGES FINANCIERES', 'A', '', 'E', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('645100', 'COTISATIONS A L\'URSSAF', 'A', '', 'E', 'AP_amount');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('645200', 'COTISATIONS AUX MUTUELES', 'A', '', 'E', 'AP_amount');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('645300', 'COTISATIONS AUX CAISSES RETR.', 'A', '', 'E', 'AP_amount');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('646400', 'COTISATIONS AUX ASSEDIC', 'A', '', 'E', 'AP_amount');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('623400', 'CADEAUX A LA CLIENTELE', 'A', '', 'E', 'AP_amount');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('437000', 'AUTRES ORGANISMES SOCIAUX', 'A', '', 'E', 'AP_amount');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('606100', 'FOURNITURES NON STOCK. EAU ENERG.', 'A', '', 'E', 'AP_amount');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('606300', 'FOURNIT. ENTRETIEN & PETIT EQUIP.', 'A', '', 'E', 'AP_amount');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('625010', 'DEPLACEMENTS AUTO', 'A', '', 'E', 'AP_amount');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('635110', 'TAXE PROFESSIONNELLE', 'A', '', 'E', 'AP_amount');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('645001', 'CSG', 'A', '', 'E', 'AP_amount');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('660000', 'CHARGES FINANCIERES', 'A', '', 'E', 'AP_amount');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('666000', 'PERTES DE CHANGE', 'A', '', 'E', 'AP_amount');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('512040', 'EXPLOITANT', 'A', '', 'E', 'AP_paid');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('431000', 'SECURITE SOCIALE', 'A', '', 'E', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('609400', 'D\'ETUDES & PRESTATIONS DE SERVICES', 'A', '', '', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('625100', 'VOYAGES ET DEPLACEMENTS', 'A', '', 'E', 'AP_amount');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('618300', 'DOCUMENTATION TECHNIQUE', 'A', '', 'E', 'AP_amount');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('445663', 'TVA DEDUCTIBLE 19.6%', 'A', '', 'E', 'AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('601000', 'ACHATS STOCKES MAT. PREM. (FOURN.)', 'A', '', 'E', 'AP_amount:IC_cogs');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('626000', 'FRAIS POSTAUX ET TELECOMMUNIC.', 'A', '', 'E', 'AP_amount');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('512000', 'BANQUE', 'A', '', 'A', 'AR_paid:AP_paid');
+--
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('999000', 'Foreign Exchange Gain', 'A', '', 'I', '');
+INSERT INTO "chart" ("accno", "description", "charttype", "gifi_accno", "category", "link") VALUES ('999010', 'Foreign Exchange Loss', 'A', '', 'E', '');
+--
+-- insert taxes
+--
+INSERT INTO "tax" ("chart_id", "rate") VALUES ((SELECT id FROM chart WHERE accno = '445661'), 0.055);
+INSERT INTO "tax" ("chart_id", "rate") VALUES ((SELECT id FROM chart WHERE accno = '445663'), 0.196);
+INSERT INTO "tax" ("chart_id", "rate") VALUES ((SELECT id FROM chart WHERE accno = '445711'), 0.055);
+INSERT INTO "tax" ("chart_id", "rate") VALUES ((SELECT id FROM chart WHERE accno = '445713'), 0.196);
+--
+-- update defaults
+--
+update defaults set inventory_accno_id = (select id from chart where accno = '681730'), income_accno_id = (select id from chart where accno = '707000'), expense_accno_id = (select id from chart where accno = '601000'), fxgain_accno_id = (select id from chart where accno = '999000'), fxloss_accno_id = (select id from chart where accno = '999010'), invnumber = '1000', sonumber = '1000', ponumber = '1000', curr = 'EUR', weightunit = 'kg';
+--
diff --git a/sql-ledger/sql/German-Sample-chart.sql b/sql-ledger/sql/German-Sample-chart.sql
new file mode 100644
index 0000000..3ebfdec
--- /dev/null
+++ b/sql-ledger/sql/German-Sample-chart.sql
@@ -0,0 +1,216 @@
+-- Einfacher Deutscher Kontenrahmen => Very Easy German Default Chart
+-- Vorbereitet von / Prepared by Paul Tammes May 9th, 2002. Kommentar / Comments : finance@bermuda-holding.com
+-- Englische Texte für eigene Zwecke und um Refernz in SQL-Ledger Dokumentation zu erleichtern.
+-- English terms used mostly for my own reference and to make lookup in SQL-Ledger documentation easier.
+-- GIFI-codes werden benutzt/misbraucht um die art der Rechnung zu deuten, Fehler nicht ausgeschlossen denn
+-- Ich bin kein Deutscher Steuerberater ;-(
+-- GIFI field codes re-used for following specs:
+-- Link: Achtung, sehr wenig benutzt da mir die Kentnisse zum Deutschen System fehlen. Sehr gut aufpassen und wenn
+-- Ihr Fehler oder Praktische TIPS hat: gerne!
+-- Link: used to a minimum, update and customization may well be needed!
+-- A0 = Anlagevermögen / Fixed Assets
+-- A1-1 = Warenbestand / Inventory
+-- A1-2 = Forderungen / Liabilities
+-- A1-3 = Liquide Mittel / Assets
+-- A1-4 = Aktive Rechnungsabgrenzung / Closing Account results
+-- E = Erträge / Income
+-- K0 = Wareneinsatz / COGS
+-- K1 = Personalkosten / Salaries etc
+-- K2 = Raumkosten / Rental etc
+-- K3 = Sonstige Kosten / Various costs
+-- NA = Neutrale Aufwendungen / Neutral Costs
+-- NE - Neutrale Erlöse / Neutral Income
+-- P0 = Eigenkapital / Equity
+-- P1 = Rückstellungen / Reserves
+-- P2 = Fremdkapital Langfristig / Liabilities Long Term
+-- P3 = Fremdkapital Kurzfristig / Liabilities Short Term
+-- P4 = Passive Rechnungsabgrenzung / Closing Account results
+--
+-- A0
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('0000','ANLAGEVERMÖGEN','H','A0','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('0100','Konzessionen & Lizenzen','A','A0','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('0135','EDV-Programme','A','A0','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('0440','Maschinen','A','A0','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('0500','Betriebsausstattung','A','A0','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('0520','PKW','A','A0','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('0650','Büroeinrichtung','A','A0','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('0670','GWG','A','A0','A','');
+-- A1-1
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1100','WARENBESTAND','H','A1-1','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1140','Warenbestand','A','A1-1','A','IC');
+-- A1-2
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1200','FORDERUNGEN','H','A1-2','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1201','Geleistete Anzahlungen','A','A1-2','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1210','Forderungen ohne Kontokorrent','A','A1-2','A','AR');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1300','Sonstige Forderungen','A','A1-2','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1400','Anrechenbare Vorsteuer','A','A1-2','A','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1401','Anrechenbare Vorsteuer 7%','A','A1-2','A','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1402','Vorsteuer ig Erwerb','A','A1-2','A','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1403','Vorsteuer ig Erwerb 16%','A','A1-2','A','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1405','Anrechenbare Vorsteuer 16%','A','A1-2','A','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1406','Anrechenbare Vorsteuer 15%','A','A1-2','A','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1433','bezahlte Einfuhrumsatzsteuer','A','A1-2','A','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1370','Ungeklärte Posten','A','A1-2','A','');
+-- A1-3
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1600','LIQUIDE MITTEL','H','A1-3','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1601','Kasse','A','A1-3','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1700','Postgiro','A','A1-3','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1800','Bank','A','A1-3','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1810','Bank USD','A','A1-3','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1820','Kreditkarten','A','A1-3','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1890','Geldtransit','A','A1-3','A','');
+-- A1-4
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1900','Aktive Rechnungsabgrenzung','A','A1-4','A','');
+-- P0
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2000','EIGENKAPITAL','H','P0','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2001','Eigenkapital','A','P0','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2100','Privatentnahmen','A','P0','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2150','Privatsteuern','A','P0','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2180','Privateinlagen','A','P0','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2200','Sonderausgaben beschr.abzugsf.','A','P0','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2900','Gezeichnetes Kapital','A','P0','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2910','Ausstehende Einlagen','A','P0','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2970','Gewinnvortrag vor Verwendung','A','P0','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2978','Verlustvortrag vor Verwendung','A','P0','Q','');
+-- P1
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3000','RÜCKSTELLUNGEN','H','P1','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3030','Gewerbesteuerrückstellung','A','P1','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3070','Sonstige Rückstellungen','A','P1','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3095','Rückstellung für Abschlusskosten','A','P1','L','');
+-- P2
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3100','FREMDKAPITAL LANGFRISTIG','H','P2','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3160','Bankdarlehen','A','P2','L','');
+-- P3
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3200','FREMDKAPITAL KURZFRISTIG','H','P3','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3280','Erhaltene Anzahlungen','A','P3','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3310','Kreditoren ohne Kontokorrent','A','P3','L','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3500','Sonstige Verbindlichkeiten','A','P3','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3560','Darlehen','A','P3','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3700','Verbindl. Betr.steuern u.Abgaben','A','P3','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3720','Verbindlichkeiten Löhne und Gehälter','A','P3','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3730','Verbindlichkeiten Lohnsteuer','A','P3','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3740','Verbindlichkeiten Sozialversicherung','A','P3','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3800','Umsatzsteuer','A','P3','L','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3801','Umsatzsteuer 7%','A','P3','L','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3802','Umsatzsteuer ig. Erwerb','A','P3','L','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3803','Umsatzsteuer ig. Erwerb 16%','A','P3','L','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3805','Umsatzsteuer 16%','A','P3','L','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3806','Umsatzsteuer 15%','A','P3','L','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3815','Umsatzsteuer nicht fällig 16%','A','P3','L','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3816','Umsatzsteuer nicht fällig 15%','A','P3','L','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3820','Umsatzsteuer-Vorauszahlungen','A','P3','L','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3841','Umsatzsteuer Vorjahr','A','P3','L','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+-- P4
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3900','Aktive Rechnungsabgrenzung','A','P4','L','');
+-- K0
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5100','WARENEINGANG','H','K0','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5200','Wareneingang ohne Vorsteuer','A','K0','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5300','Wareneingang 7%','A','K0','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5400','Wareneingang 15%','A','K0','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5420','ig.Erwerb 7% VoSt. und 7% USt.','A','K0','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5425','ig.Erwerb 15% VoSt. und 15% USt.','A','K0','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5731','Erhaltene Skonti 7% Vorsteuer','A','K0','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5736','Erhaltene Skonti 15% Vorsteuer','A','K0','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5800','Anschaffungsnebenkosten','A','K0','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5900','Fremdarbeiten','A','K0','E','AP_amount:IC_cogs:IC_expense');
+-- K1
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6000','PERSONALKOSTEN','H','K1','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6001','Personalkosten','H','K1','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6010','Löhne','A','K1','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6020','Gehälter','A','K1','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6030','Aushilfslöhne','A','K1','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6040','Lohnsteuer Aushilfen','A','K1','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6080','Vermögenswirksame Leistungen','A','K1','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6090','Fahrtkostenerst.Whg./Arbeitsstätte','A','K1','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6110','Sozialversicherung','A','K1','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6120','Berufsgenossenschaft','A','K1','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6130','Freiw. Soz. Aufw. LSt- u. Soz.Vers.frei','A','K1','E','');
+-- K2
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6300','RAUMKOSTEN','H','K2','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6310','Miete','A','K2','E','AP_amount:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6315','Pacht','A','K2','E','AP_amount:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6320','Heizung','A','K2','E','AP_amount:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6325','Gas Strom Wasser','A','K2','E','AP_amount:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6330','Reinigung','A','K2','E','AP_amount:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6335','Instandhaltung betriebliche Räume','A','K2','E','AP_amount:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6345','Sonstige Raumkosten','A','K2','E','AP_amount:IC_expense');
+-- K3
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6400','SONSTIGE KOSTEN','H','K3','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6402','Abschreibungen','A','K3','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6403','Kaufleasing','A','K3','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6404','Sofortabschreibung GWG','A','K3','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6405','Sonstige Kosten','A','K3','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6410','Versicherung','A','K3','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6420','Beiträge und Gebühren','A','K3','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6430','Sonstige Abgaben','A','K3','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6470','Rep. und Instandhaltung BGA','A','K3','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6520','Kfz-Versicherung','A','K3','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6530','Lfd. Kfz-Kosten','A','K3','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6540','Kfz-Reparaturen','A','K3','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6560','Fremdfahrzeuge','A','K3','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6570','Sonstige Kfz-Kosten','A','K3','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6600','Werbung','A','K3','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6610','Kundengeschenke bis DM 75.','A','K3','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6620','Kundengeschenke über DM 75.-','A','K3','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6630','Repräsentationkosten','A','K3','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6640','Bewirtungskosten','A','K3','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6644','Nicht abzugsf.Bewirtungskosten','A','K3','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6650','Reisekosten Arbeitnehmer','A','K3','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6660','Reisekosten Arbeitnehmer 12.3%','A','K3','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6665','Reisekosten Arbeitnehmer 9.8%','A','K3','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6670','Reisekosten Unternehmer','A','K3','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6680','Reisekosten Unternehmer 12.3%','A','K3','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6685','Reisekosten Unternehmer 9.8%','A','K3','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6688','Reisekosten Unternehmer 5.7%','A','K3','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6690','Km-Geld-Erstattung 8.2%','A','K3','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6710','Verpackungsmaterial','A','K3','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6740','Ausgangsfrachten','A','K3','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6780','Fremdarbeiten','A','K3','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6800','Porto','A','K3','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6805','Telefon','A','K3','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6815','Bürobedarf','A','K3','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6820','Zeitschriften & Bücher','A','K3','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6825','Rechts- und Beratungskosten','A','K3','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6835','Mieten für Einrichtungen','A','K3','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6840','Mietleasing','A','K3','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6845','Werkzeuge und Kleingeräte','A','K3','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6850','Betriebsbedarf','A','K3','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6852','Gastättenbedarf','A','K3','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6855','Nebenkosten des Geldverkehrs','A','K3','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6880','Aufwendungen aus Kursdifferenzen','A','K3','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6885','Erlöse aus Anlageverk.(Buchverlust)','A','K3','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7610','Gewerbesteuer','A','K3','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7685','Kfz-Steuer','A','K3','E','AP_amount:IC_cogs:IC_expense');
+-- E
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('8100','ERTRÄGE','H','E','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('8120','Steuerfreie Umsätze 4 Nr. 1a UStG.','A','E','I','AR_amount:IC_sale:IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('8125','Steuerfreie ig. Lieferungen 1b UStG.','A','E','I','AR_amount:IC_sale:IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('8200','Erlöse ohne Umsatzsteuer','A','E','I','AR_amount:IC_sale:IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('8300','Erlöse 7% Umsatzsteuer','A','E','I','AR_amount:IC_sale:IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('8400','Erlöse 15% Umsatzsteuer','A','E','I','AR_amount:IC_sale:IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('8500','Provisionserlöse','A','E','I','AR_amount:IC_sale:IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('8630','Entnahme sonstg. Leistungen 7% USt.','A','E','I','AR_amount:IC_sale:IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('8640','Entnahme sonstg. Leistungen 15% USt.','A','E','I','AR_amount:IC_sale:IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('8731','Gew. Skonti 7% USt.','A','E','I','AR_amount:IC_sale:IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('8736','Gew. Skonti 15% USt.','A','E','I','AR_amount:IC_sale:IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('8840','Erträge aus Kursdifferenzen','A','E','I','AR_amount:IC_sale:IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('8845','Erlöse aus Anlageverk. (Buchgewinn)','A','E','I','AR_amount:IC_sale:IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('8900','Erträge aus Abgang von Anlageverm.','A','E','I','AR_amount:IC_sale:IC_income');
+-- NA
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('9300','NEUTRALE AUFWENDUNGEN','H','NA','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('9310','Zinsen kurzfr. Verbindlichkeiten','A','NA','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('9320','Zinsen langfr. Verbindlichkeiten','A','NA','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('9500','Ausserordentl.Aufwendungen','A','NA','E','');
+-- NE
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('9600','NEUTRALE ERTRÄGE','H','NE','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('9610','Guthabenzinsen','H','NE','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('9700','Ausserordentl.Erträge','H','NE','I','');
+--
+-- Default settings
+--
+insert into tax (chart_id,rate) values ((select id from chart where accno = '3801'),0.07);
+insert into tax (chart_id,rate) values ((select id from chart where accno = '3805'),0.16);
+insert into tax (chart_id,rate) values ((select id from chart where accno = '3806'),0.15);
+--
+update defaults set inventory_accno_id = (select id from chart where accno = '1140'), income_accno_id = (select id from chart where accno = '8120'), expense_accno_id = (select id from chart where accno = '5800'), fxgain_accno_id = (select id from chart where accno = '8840'), fxloss_accno_id = (select id from chart where accno = '6880'), invnumber = '0000', sonumber = '0000', ponumber = '0000', curr = 'EUR', weightunit = 'kg';
+--
diff --git a/sql-ledger/sql/German-Sample-gifi.sql b/sql-ledger/sql/German-Sample-gifi.sql
new file mode 100644
index 0000000..78eaed4
--- /dev/null
+++ b/sql-ledger/sql/German-Sample-gifi.sql
@@ -0,0 +1,19 @@
+-- Einfacher Kontoplan für Deutschland
+--
+INSERT INTO gifi (accno,description) VALUES ('A0', 'Anlagevermögen');
+INSERT INTO gifi (accno,description) VALUES ('A1-1', 'Warenbestand');
+INSERT INTO gifi (accno,description) VALUES ('A1-2', 'Forderungen');
+INSERT INTO gifi (accno,description) VALUES ('A1-3', 'Liquide Mittel');
+INSERT INTO gifi (accno,description) VALUES ('A1-4', 'Aktive Rechnungsabgrenzung');
+INSERT INTO gifi (accno,description) VALUES ('E', 'Erträge');
+INSERT INTO gifi (accno,description) VALUES ('K0', 'Wareneinsatz');
+INSERT INTO gifi (accno,description) VALUES ('K1', 'Personalkosten');
+INSERT INTO gifi (accno,description) VALUES ('K2', 'Raumkosten');
+INSERT INTO gifi (accno,description) VALUES ('K3', 'Sonstige Kosten');
+INSERT INTO gifi (accno,description) VALUES ('NA', 'Neutrale Aufwendungen');
+INSERT INTO gifi (accno,description) VALUES ('NE', 'Neutrale Erlöse');
+INSERT INTO gifi (accno,description) VALUES ('P0', 'Eigenkapital');
+INSERT INTO gifi (accno,description) VALUES ('P1', 'Rückstellungen');
+INSERT INTO gifi (accno,description) VALUES ('P2', 'Fremdkapital Langfristig');
+INSERT INTO gifi (accno,description) VALUES ('P3', 'Fremdkapital Kurzfristig');
+INSERT INTO gifi (accno,description) VALUES ('P4', 'Passive Rechnungsabgrenzung');
diff --git a/sql-ledger/sql/Germany-DATEV-SKR03-chart.sql b/sql-ledger/sql/Germany-DATEV-SKR03-chart.sql
new file mode 100644
index 0000000..126ce22
--- /dev/null
+++ b/sql-ledger/sql/Germany-DATEV-SKR03-chart.sql
@@ -0,0 +1,262 @@
+-- DATEV-SKR03 - Kontenrahmen
+-- Mon, 10 Feb 2003
+-- Yvonne Einberger
+
+
+-- Jetzt beginnt der Kontenrahmen !
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0002700','EDV-Software','A','A','','0002700');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0010000','Fabrikbauten','A','A','','0010000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0011000','Garagen','A','A','','0011000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0011100','Außenanlagen','A','A','','0011100');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0011200','Hof-und Wegebefestigung','A','A','','0011200');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0011500','Andere Bauten','A','A','','0011500');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0016500','Geschäftsbauten','A','A','','0016500');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0008500','Grundstückswert eige.bebau.Grundst.','A','A','','0008500');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0009000','Geschäftsbauten','A','A','','0009000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0017000','Fabrikbauten','A','A','','0017000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0017500','Garagen','A','A','','0017500');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0017600','Außenanlage','A','A','','0017600');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0021000','Maschinen','A','A','','0021000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0022000','Maschinengebundene Werkzeuge','A','A','','0022000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0024000','Maschinelle Anlagen','A','A','','0024000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0028000','Betriebsvorrichtung','A','A','','0028000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0031000','Andere Anlagen','A','A','','0031000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0032000','PKW','A','A','','0032000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0035000','LKW','A','A','','0035000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0040000','Betriebsausstattung','A','A','','0040000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0041000','Geschäftsausstattung','A','A','','0041000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0042000','Büroeinrichtung','A','A','','0042000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0043000','Ladeneinrichtung','A','A','','0043000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0049000','Sons.Betriebs- Geschäftsausstattung','A','A','','0049000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0050400','Ant.a.herr.o.m.Mehrh.bet.Ges.schaft','A','A','','0050400');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0051300','Typisch stille Beteiligungen','A','A','','0051300');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0063100','- Restlaufzeit bis 1 Jahr','A','L','','0063100');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0051600','Atypische stille Beteiligungen','A','A','','0051600');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0064000','- Restlaufzeit 1 bis 5 Jahre','A','L','','0064000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0065000','- Restlaufzeit größer als 5 Jahre','A','L','','0065000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0099600','Pauschalwertb.m.Restlaufzeit v. 1J.','A','A','','0099600');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0140000','Ford. a.Lieferungen und Leistungen','A','A','AR','0140000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0153000','Forderungen gegen Personal','A','A','','0153000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0154500','Umsatzsteuerforderungen','A','A','','0154500');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0100000','Kasse','A','A','AR_paid:AP_paid','0100000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0120000','Bank','A','A','AR_paid:AP_paid','0120000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0096300','Körperschaftssteuerrückstellung','A','Q','','0096300');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0095700','Gewerbesteuerrückstellung','A','Q','','0095700');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0051000','Beteiligungen','A','A','','0051000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0063000','Verbindl.gegenüber Kreditinstituten','A','L','','0063000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0097000','Sonstige Rückstellungen','A','L','','0097000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0097400','Rückstellungen für Gewährleistungen','A','L','','0097400');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0097800','Aufwandsrückstellungen','A','L','','0097800');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0099800','Einzelwertber.m.Restlaufzeit v.1 J.','A','A','','0099800');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0146000','Zweifelhafte Forderungen','A','A','','0146000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0151100','Geleistete Anzahlungen 7%','A','A','','0151100');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0151700','Geleistete Anzahlung 16%','A','A','','0151700');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0152500','Kautionen','A','A','','0152500');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0154000','Steuerüberzahlungen','A','A','','0154000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0157000','Abziehbare Vorsteuer','A','A','AR_tax:AP_tax','0157000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0160000','Verbindlichkeiten aus Lief.u.Leist.','A','L','AP','0160000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0174100','Verbindl.a.Lohn-und Kirchensteuer','A','L','','0174100');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0178100','Umsatzsteuer-Vorauszahlung 1/11','A','L','','0178100');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0178900','Umsatzsteuer laufendes Jahr','A','L','','0178900');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0179000','Umsatzsteuer Vorjahr','A','L','','0179000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0179100','Umsatzsteuer frühere Jahre','A','L','','0179100');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0180000','Privatentnahme allgemein','A','Q','','0180000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0189000','Privateinlagen','A','Q','','0189000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0211000','Zinsaufwendung f.kurzf.Verbindlichk','A','E','','0211000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0212000','Zinsaufwendung f.langf.Verbindlichk','A','E','','0212000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0221000','Kapitalertragssteuer','A','E','','0221000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0231000','Anlagenabgänge - bei Buchverlust','A','E','','0231000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0231500','Anlagenabgänge-Buchgewinn','A','I','','0231500');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0237500','Grundsteuer','A','E','','0237500');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0245000','Einstell.i.d.Pauschalwertbe.z.Forde','A','E','','0245000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0245100','Einstell.i.d.Einzelwertb.z.Forderun','A','E','','0245100');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0250000','Außerordentliche Erträge','A','I','','0250000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0251000','Betriebsfremde Erträge n.außerorden','A','I','','0251000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0252000','Periodenfremde Erträge nicht außero','A','I','','0252000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0273000','Ertr.a.Herab.d.Pauschal.z.Forderung','A','I','','0273000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0273100','Ertr.a.Herab.d.Einzelw.z.Forderunge','A','I','','0273100');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0273200','Ertr. aus abgeschriebenen Forderung','A','I','','0273200');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0274200','Versicherungsentschädigungen','A','I','','0274200');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0286800','Verlustvortrag nach Verwendung','A','L','','0286800');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0286900','Vortrag auf neue Rechnungen','A','L','','0286900');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0375000','Erhaltene Boni 7% Vorsteuer','A','I','','0375000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0376000','Erhaltene Boni 16% Vorsteuer','A','I','','0376000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0380000','Anschaffungsnebenkosten','A','E','IC_cogs:IC_expense','0380000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0385000','Zölle und Einfuhrabgaben','A','E','IC_cogs:IC_expense','0385000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0396000','Bestandsver.Roh-,Hilfs-.Betriebs.','A','E','','0396000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0397000','Bestand Roh-,Hilfs-,u.Betriebsstoff','A','A','IC','0397000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0399000','Verrechnete Stoffkosten','A','E','IC_cogs:IC_expense','0399000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0400000','Material-und Stoffverbrauch','A','E','IC_cogs:IC_expense','0400000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0410000','Löhne und Gehälter','A','E','AP_amount','0410000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0412500','Ehegattengehalt','A','E','AP_amount','0412500');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0342000','Innergemein.Erwerb 7% VorSt u. Ust','A','E','AP_amount','0342000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0342500','Innergem.Erwerb 16% VorSt u. Ust','A','E','AP_amount','0342500');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0373100','Erhaltene Skonti 7% Vorsteuer','A','I','AP_paid','0373100');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0373500','Erhaltene Skonti 16% Vorsteuer','A','I','AP_paid','0373500');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0330000','Wareneingang 7% Vorsteuer','A','E','AP_amount','0330000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0413000','Gesetzlich soziale Aufwendungen','A','E','AP_amount','0413000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0413800','Beiträge zur Berufsgenossenschaftr','A','E','AP_amount','0413800');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0414500','Freiwillige sozi.Aufw.lohnsteuerfr.','A','E','AP_amount','0414500');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0414900','Pauschale Lohnsteuera.sons.Bezüge','A','E','AP_amount','0414900');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0416500','Aufwendung f.Altersversorgung','A','E','AP_amount','0416500');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0417000','Vermögenswirksame Leistungen','A','E','AP_amount','0417000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0420000','Raumkosten','A','E','AP_amount:AP_tax','0420000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0417500','Fahrtkostenerst.Wohnung/Arbeitsstät','A','E','AP_amount','0417500');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0419000','Aushilfslöhne','A','E','AP_amount','0419000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0419900','Lohnsteuer für Aushilfe','A','E','AP_amount','0419900');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0159000','Durchlaufende Posten','A','A','','0159000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0422000','Pacht','A','E','AP_amount','0422000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0423000','Heizung','A','E','AP_amount','0423000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0424000','Gas,Strom, Wasser','A','E','AP_amount','0424000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0425000','Reinigung','A','E','AP_amount','0425000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0426000','Instandhaltung betrieb.Räume','A','E','AP_amount','0426000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0428000','Sonstige Raumkosten','A','E','AP_amount','0428000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0432000','Gewerbesteuer','A','E','AP_amount','0432000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0439000','Sonstige Abgaben','A','E','AP_amount','0439000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0453000','Laufende Kfz-Betriebskosten','A','E','AP_amount','0453000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0454000','Kfz-Reparaturen','A','E','AP_amount','0454000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0455000','Garagenmiete','A','E','AP_amount','0455000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0457000','Fremdfahrzeuge','A','E','AP_amount','0457000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0458000','Sonstige Kfz-Kosten','A','E','AP_amount','0458000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0461000','Werbekosten','A','E','AP_amount','0461000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0463000','Geschenke bis 40 EUR','A','E','AP_amount','0463000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0463500','Geschenke über 40 EUR','A','E','AP_amount','0463500');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0464000','Repräsentationskosten','A','E','AP_amount','0464000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0465000','Bewirtungskosten','A','E','AP_amount','0465000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0465400','Nicht abzugsfähige Bewirtungskosten','A','E','AP_amount','0465400');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0465500','Nicht abzugsfähige Betriebsausgaben','A','E','','0465500');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0466300','Reisekosten Arbeitn.m.Vorsteuerabzu','A','E','AP_amount','0466300');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0466600','Reisekosten Arbeitn.Übernachtungsau','A','E','','0466600');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0466800','Kilometerentgelderstattung Arbeitne','A','E','','0466800');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0467400','Reisekosten Untern.Verpflegungsmehr','A','E','','0467400');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0467600','Reisekosten Untern.Übernachtungsauf','A','E','','0467600');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0467800','Kilometererstattungsgeld Unternehme','A','E','','0467800');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0470000','Kosten der Warenabgabe','A','E','IC_cogs','0470000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0471000','Verpackungsmaterial','A','E','IC_cogs','0471000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0473000','Ausgangsfracht','A','E','IC_cogs','0473000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0475000','Transportversicherung','A','E','IC_cogs','0475000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0476000','Verkaufsprovision','A','E','IC_cogs','0476000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0478000','Fremdarbeiten','A','E','IC_cogs','0478000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0479000','Aufwand für Gewährleistungen','A','E','','0479000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0480900','Sonstige Reparaturen u.Instandhalt.','A','E','AP_amount','0480900');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0481000','Mietleasing','A','E','AP_amount','0481000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0481500','Kaufleasing','A','E','AP_amount','0481500');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0482000','AfA a.Aufw.f.d.Inga.u.Erw.Geschäfts','A','E','AP_amount','0482000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0482100','AfA a.Aufw.f.d.Währungsumst.a.Euro','A','E','AP_amount','0482100');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0483000','Abschreibungen auf Sachanlagen','A','E','AP_amount','0483000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0485500','Sofortabschreibung GWG','A','E','AP_amount','0485500');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0491000','Porto','A','E','AP_amount','0491000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0492000','Telefon','A','E','AP_amount','0492000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0492500','Telefax','A','E','AP_amount','0492500');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0493000','Bürobedarf','A','E','AP_amount','0493000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0494000','Zeitschriften, Bücher','A','E','AP_amount','0494000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0494500','Fortbildungskosten','A','E','AP_amount','0494500');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0494600','Freiwillige Sozialleistungen','A','E','','0494600');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0495000','Rechts- und Beratungskosten','A','E','AP_amount','0495000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0495500','Buchführungskosten','A','E','AP_amount','0495500');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0495700','Abschluß- und Prüfungskosten','A','E','AP_amount','0495700');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0496000','Mieten für Einrichtungen','A','E','AP_amount','0496000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0497000','Nebenkosten des Geldverkehrs','A','E','','0497000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0498000','Betriebsbedarf','A','E','AP_amount','0498000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0498500','Werkzeuge und Kleingeräte','A','E','AP_amount','0498500');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0498600','Sonstige Aufwendungen (Ausbuchung)','A','E','AP_amount','0498600');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0136000','Geldtransit','A','A','','0136000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0705000','Unfertige Erzeugnisse','A','A','IC','0705000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0708000','Unfertige Leistungen','A','A','IC','0708000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0711000','Fertige Erzeugnisse (Bestand)','A','A','IC','0711000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0714000','Waren (Bestand)','A','A','IC','0714000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0873100','Gewährte Skonti 7% USt','A','I','AP_paid','0873100');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0873500','Gewährte Skonti 16% USt.','A','I','AP_paid','0873500');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0875000','Gewährte Boni 7% USt.','A','I','','0875000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0876000','Gewährte Boni 16% USt.','A','I','','0876000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0882000','Erlöse aus Anlageverkäufen 16%Ust','A','I','IC_sale','0882000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0895500','Umsatzsteuervergütungen','A','I','','0895500');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0890500','Entnahme v. Gegenst.o.USt.','A','I','','0890500');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0266000','Erträge aus Kursdifferenzen','A','I','','0266000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0215000','Aufwendungen aus Kursdifferenzen','A','E','','0215000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0850000','Provisionserlöse','A','I','AR_amount:IC_income','0850000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0830000','Erlöse 7%USt','A','I','AR_amount:IC_sale:IC_income','0830000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0840000','Erlöse 16% USt.','A','I','AR_amount:IC_sale:IC_income','0840000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0177100','Umsatzsteuer 7%','A','L','AR_tax:IC_taxpart:IC_taxservice:CT_tax','0177100');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0177500','Umsatzsteuer 16%','A','L','AR_tax:IC_taxpart:IC_taxservice:CT_tax','0177500');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0178000','Umsatzsteuer-Vorauszahlungen','A','L','AP_amount','0178000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0157100','Abziebare Vorsteuer 7%','A','A','AP_tax:IC_taxpart:IC_taxservice:CT_tax','0157100');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0398000','Bestand Waren','A','A','IC','0398000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0340000','Wareneingang 16% Vorsteuer','A','E','AP_amount:IC_cogs','0340000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0383000','Leergut','A','E','IC_cogs','0383000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0492700','Internetkosten','A','E','AP_amount:IC_expense','0492700');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0451000','Kfz-Steuer','A','E','AP_amount','0451000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0452000','Kfz-Versicherungen','A','E','AP_amount','0452000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0492100','Telefon D1 Handy','A','E','AP_amount:IC_expense','0492000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0157500','Abziehbare Vorsteuer 16%','A','A','AP_tax:IC_taxpart:IC_taxservice:CT_tax','0157500');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0900000','Saldenvorträge,Sachkonten','A','L','','0900000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0286000','Gewinnvortrag nach Verwendung','A','L','','0286000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0320000','Wareneingang o.Steuer','A','E','AP_amount','0320000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0084000','Kapitalrücklage','A','Q','','0084000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0086000','Gewinnvortrag vor Verwendung','A','Q','','0086000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0086800','Verlustvortrag vor Verwendung','A','L','','0086800');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0086900','Vortrag auf neue Rechnungen','A','Q','','0086900');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0081000','Ausstehende Einlagen a.d.gez.Kapital eingefordert','A','A','','0081000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0080100','Ausst.Einl.a.d.gezeichnete Kapital n.eingef.','A','A','','0080100');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0093000','Sonderposten mit Rücklagenanteil steuerf.Rückl.','A','L','','0093000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0095000','Rückstellungen f.Pensionen u.ähnl.Verpflichtungen','A','Q','','0095000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0098300','Abgrenzung aktive latente Steuern','A','A','','0098300');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0098600','Damnum/Disagio','A','A','','0098600');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0099200','Wertberichtigungen','A','A','','0099200');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0016000','Bauten auf fremden Grundstücken','A','A','','0016000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0020000','Techn.Anlagen und Maschinen','A','A','','0020000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0030000','Andere Anlagen,Betrieb-und Geschäftsaus','A','A','','0030000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0050000','Finanzanlagen','A','A','','0050000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0060000','Verbindlichkeiten','A','L','','0060000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0080000','Gezeichnetes Kapital','A','Q','','0080000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0095500','Steuerrückstellung','A','Q','','0095500');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0098000','Aktive Rechnungsabgrenzung','A','A','','0098000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0099000','Passive Rechnungsabgrenzung','A','L','','0099000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0134500','Eigene Anteile','A','A','','0134500');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0134800','Sonstige Wertpapiere','A','A','','0134800');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0150000','Sonstige Vermögensgegenstände','A','A','','0150000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0151000','Geleistete Anzahlung auf Vorräte','A','A','','0151000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0159400','Forderungen geg. verb. Unternehmen','A','A','','0159400');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0171000','Erhaltene Anzahlungen-Verbindlichke','A','L','','0171000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0175500','Lohn-und Gehaltsverrechnung','A','L','','0175500');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0210000','Zinsen und ähnl.Aufwendungen','A','E','','0210000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0230000','Sonstige Aufwendungen','A','E','','0230000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0240000','Forderungsverlust-übliche Höhe','A','E','','0240000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0260000','Erträge aus Beteiligten','A','I','','0260000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0262000','Erträge a.and.Wertpap.u.Ausl.des FinanzAV','A','I','','0262000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0265000','Sonstige Zinsen und ähnliche Erträg','A','I','','0265000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0270000','Sonstige Erträge','A','I','','0270000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0310000','Fremdleistungen','A','E','','0310000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0421000','Miete','A','E','AP_amount','0421000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0048000','Geringwertige WG bis 410EUR','A','A','AP_amount','0048000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0097700','Rückstellung.f.Abschluß-u.Prüfungskosten','A','L','','0097700');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0087000','Festkapital','A','Q','','0087000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0088000','Variables Kapital','A','Q','','0088000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0093100','Sonderpost.m.Rücklageanteil nach §6bEStG','A','Q','','0093100');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0093200','Sonderpost.m.Rücklageanteil n.35 EStR','A','Q','','0093200');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0130000','Wechsel a. Lieferungen u.Leistungen','A','A','','0130000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0131000','Besitzwechsel geg.verb.Unternehmen','A','A','','0131000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0132000','Besitzw.geg.Untern.m.Beteiligungsve','A','A','','0132000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0132700','Finanzwechsel','A','A','','0132700');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0133000','Schecks ','A','A','','0133000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0134000','Anteile verb.Untern.-Umlaufvermögen','A','A','','0134000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0272500','Erträge a.d.Abgang.v.Geg.d.UV','A','I','','0272500');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0272000','Erträge a.d.Abgang v.Geg.d.AV','A','I','','0272000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0434000','Sonstige Betriebssteuern','A','E','AP_amount','0434000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0436000','Versicherungen','A','E','AP_amount','0436000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0438000','Beiträge','A','E','AP_amount','0438000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0450000','Fahrzugkosten','A','E','AP_amount','0450000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0700000','Unfertige Erzeugnisse unfert.Leistungen','A','A','','0700000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0900800','Saldenvorträge,Debitoren','A','L','','0900800');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('0900900','Saldenvorträge,Kreditoren','A','L','','0900900');
+--
+-- Taxes
+--
+update defaults set inventory_accno_id = (select id from chart where accno = '0397000'), income_accno_id = (select id from chart where accno = '0840000'), expense_accno_id = (select id from chart where accno = '0400000'), fxgain_accno_id = (select id from chart where accno = '0266000'), fxloss_accno_id = (select id from chart where accno = '0215000'), invnumber = '1000', sonumber = '1000', ponumber = '1000', curr = 'EUR:USD', weightunit = 'kg';
+--
+INSERT INTO tax (chart_id,rate) VALUES ((SELECT id FROM chart WHERE accno = '0157100'),0.07);
+INSERT INTO tax (chart_id,rate) VALUES ((SELECT id FROM chart WHERE accno = '0157500'),0.16);
+INSERT INTO tax (chart_id,rate) VALUES ((SELECT id FROM chart WHERE accno = '0177100'),0.07);
+INSERT INTO tax (chart_id,rate) VALUES ((SELECT id FROM chart WHERE accno = '0177500'),0.16);
+
+
diff --git a/sql-ledger/sql/Germany-DATEV-SKR03-gifi.sql b/sql-ledger/sql/Germany-DATEV-SKR03-gifi.sql
new file mode 100644
index 0000000..36d11ab
--- /dev/null
+++ b/sql-ledger/sql/Germany-DATEV-SKR03-gifi.sql
@@ -0,0 +1,550 @@
+-- DATEV SKR03
+--
+INSERT INTO gifi (accno,description) VALUES ('0000100', 'Aufwand Geschäftsbetrieb');
+INSERT INTO gifi (accno,description) VALUES ('0000200', 'Aufwendungen Umstellung a.d.Euro');
+INSERT INTO gifi (accno,description) VALUES ('0001000', 'Konzession,gewerb.Schutzre.u.Werten');
+INSERT INTO gifi (accno,description) VALUES ('0001500', 'Konzessionen');
+INSERT INTO gifi (accno,description) VALUES ('0002700', 'EDV-Software');
+INSERT INTO gifi (accno,description) VALUES ('0003500', 'Geschäfts-oder Firmenwert');
+INSERT INTO gifi (accno,description) VALUES ('0003800', 'Anzahlungen a.Geschäft-o.Firmenwert');
+INSERT INTO gifi (accno,description) VALUES ('0003900', 'Anz.a.immaterielle Vermögsgegenstän');
+INSERT INTO gifi (accno,description) VALUES ('0004000', 'Verschmelzungsmehrwert');
+INSERT INTO gifi (accno,description) VALUES ('0005000', 'Grundstücke,grundstücksgl.Rechte..');
+INSERT INTO gifi (accno,description) VALUES ('0006000', 'Grundstücke u.grundstgl.Rech.o.Baut');
+INSERT INTO gifi (accno,description) VALUES ('0008000', 'Bauten a.eig. Grundstücken,Grgl.Rec');
+INSERT INTO gifi (accno,description) VALUES ('0008500', 'Grundstückswert eige.bebau.Grundst.');
+INSERT INTO gifi (accno,description) VALUES ('0009000', 'Geschäftsbauten');
+INSERT INTO gifi (accno,description) VALUES ('0010000', 'Fabrikbauten');
+INSERT INTO gifi (accno,description) VALUES ('0011000', 'Garagen');
+INSERT INTO gifi (accno,description) VALUES ('0011100', 'Außenanlagen');
+INSERT INTO gifi (accno,description) VALUES ('0011200', 'Hof-und Wegebefestigung');
+INSERT INTO gifi (accno,description) VALUES ('0011500', 'Andere Bauten');
+INSERT INTO gifi (accno,description) VALUES ('0012000', 'Geschäfts-,Fabrik-,andere Bau.imBau');
+INSERT INTO gifi (accno,description) VALUES ('0012900', 'Anz.Geschäfts-,Fabrik u. and.Bauten');
+INSERT INTO gifi (accno,description) VALUES ('0015000', 'Wohnbauten im Bau');
+INSERT INTO gifi (accno,description) VALUES ('0016000', 'Bauten auf fremden Grundstücken');
+INSERT INTO gifi (accno,description) VALUES ('0016500', 'Geschäftsbauten');
+INSERT INTO gifi (accno,description) VALUES ('0017000', 'Fabrikbauten');
+INSERT INTO gifi (accno,description) VALUES ('0017500', 'Garagen');
+INSERT INTO gifi (accno,description) VALUES ('0017600', 'Außenanlage');
+INSERT INTO gifi (accno,description) VALUES ('0020000', 'Techn.Anlagen und Maschinen');
+INSERT INTO gifi (accno,description) VALUES ('0021000', 'Maschinen');
+INSERT INTO gifi (accno,description) VALUES ('0022000', 'Maschinengebundene Werkzeuge');
+INSERT INTO gifi (accno,description) VALUES ('0024000', 'Maschinelle Anlagen');
+INSERT INTO gifi (accno,description) VALUES ('0028000', 'Betriebsvorrichtung');
+INSERT INTO gifi (accno,description) VALUES ('0029000', 'Techn.Anlagen u.Maschinen im Bau');
+INSERT INTO gifi (accno,description) VALUES ('0029900', 'Anz.a.techn.Anlagen und Maschinen');
+INSERT INTO gifi (accno,description) VALUES ('0030000', 'Andere Anlagen,Betrieb-Geschäftsaus');
+INSERT INTO gifi (accno,description) VALUES ('0031000', 'Andere Anlagen');
+INSERT INTO gifi (accno,description) VALUES ('0032000', 'PKW');
+INSERT INTO gifi (accno,description) VALUES ('0035000', 'LKW');
+INSERT INTO gifi (accno,description) VALUES ('0040000', 'Betriebsausstattung');
+INSERT INTO gifi (accno,description) VALUES ('0041000', 'Geschäftsausstattung');
+INSERT INTO gifi (accno,description) VALUES ('0042000', 'Büroeinrichtung');
+INSERT INTO gifi (accno,description) VALUES ('0043000', 'Ladeneinrichtung');
+INSERT INTO gifi (accno,description) VALUES ('0048000', 'Geringwertige Wirtschaftsg.b.800DM');
+INSERT INTO gifi (accno,description) VALUES ('0049000', 'Sons.Betriebs- Geschäftsausstattung');
+INSERT INTO gifi (accno,description) VALUES ('0049800', 'And. Anlagen,Betrieb/Geschäf.im Bau');
+INSERT INTO gifi (accno,description) VALUES ('0049900', 'Anz.and.Anlagen,Betrieb.Geschäftsau');
+INSERT INTO gifi (accno,description) VALUES ('0050000', 'Anteile a.verb.Unternehmen');
+INSERT INTO gifi (accno,description) VALUES ('0050400', 'Ant.a.herr.o.m.Mehrh.bet.Ges.schaft');
+INSERT INTO gifi (accno,description) VALUES ('0050500', 'Ausleihung an verb.Unternehmen');
+INSERT INTO gifi (accno,description) VALUES ('0051000', 'Beteiligungen');
+INSERT INTO gifi (accno,description) VALUES ('0051300', 'Typisch stille Beteiligungen');
+INSERT INTO gifi (accno,description) VALUES ('0051600', 'Atypische stille Beteiligungen');
+INSERT INTO gifi (accno,description) VALUES ('0052000', 'Ausl.a.Untern.m.Beteiligungsverhält');
+INSERT INTO gifi (accno,description) VALUES ('0052500', 'Wertpapiere des Anlagevermögens');
+INSERT INTO gifi (accno,description) VALUES ('0054000', 'Sonstige Ausleihungen');
+INSERT INTO gifi (accno,description) VALUES ('0057000', 'Genossenschaftsan.z.langf.Verbleib');
+INSERT INTO gifi (accno,description) VALUES ('0059500', 'Rückdeckansp.Lebensvers.langf.Verbl');
+INSERT INTO gifi (accno,description) VALUES ('0060000', 'Anleihen-nicht konvertibel');
+INSERT INTO gifi (accno,description) VALUES ('0063000', 'Verbindl.gegenüber Kreditinstituten');
+INSERT INTO gifi (accno,description) VALUES ('0070000', 'Verbind.gegenüber verb.Unternehmern');
+INSERT INTO gifi (accno,description) VALUES ('0071500', 'Verbind.gegen.Untern.m.Beteili.Verh');
+INSERT INTO gifi (accno,description) VALUES ('0073000', 'Verbindlichkeiten gegen. Gesellscha');
+INSERT INTO gifi (accno,description) VALUES ('0076000', 'Darl.typ.stiller Gesellschafter');
+INSERT INTO gifi (accno,description) VALUES ('0078000', 'Partiarische Darlehen');
+INSERT INTO gifi (accno,description) VALUES ('0080000', 'Gezeichnetes Kapital');
+INSERT INTO gifi (accno,description) VALUES ('0080100', 'Ausst.Einl.a.d.gezeichnete Kapital');
+INSERT INTO gifi (accno,description) VALUES ('0084000', 'Kapitalrücklage');
+INSERT INTO gifi (accno,description) VALUES ('0084600', 'Gesetzliche Rücklage');
+INSERT INTO gifi (accno,description) VALUES ('0085000', 'Rücklage für eigene Anteile');
+INSERT INTO gifi (accno,description) VALUES ('0085100', 'Satzungsmäßige Rücklagen');
+INSERT INTO gifi (accno,description) VALUES ('0086000', 'Gewinnvortrag vor Verwendung');
+INSERT INTO gifi (accno,description) VALUES ('0086800', 'Verlustvortrag vor Verwendung');
+INSERT INTO gifi (accno,description) VALUES ('0086900', 'Vortrag auf neue Rechnungen');
+INSERT INTO gifi (accno,description) VALUES ('0087000', 'Festkapital');
+INSERT INTO gifi (accno,description) VALUES ('0088000', 'Variables Kapital');
+INSERT INTO gifi (accno,description) VALUES ('0089000', 'Gesellschafter-Darlehen');
+INSERT INTO gifi (accno,description) VALUES ('0090000', 'Kommandit-Kapital');
+INSERT INTO gifi (accno,description) VALUES ('0091000', 'Verlustausgleichskonto');
+INSERT INTO gifi (accno,description) VALUES ('0092000', 'Gesellschafter-Darlehen');
+INSERT INTO gifi (accno,description) VALUES ('0093000', 'Sonderposten mit Rücklagenanteil');
+INSERT INTO gifi (accno,description) VALUES ('0093100', 'Sopo m.Rückl.ant.nach §6b EstG');
+INSERT INTO gifi (accno,description) VALUES ('0093200', 'Sopo m.Rückl.ant.Abschn.35 EstR');
+INSERT INTO gifi (accno,description) VALUES ('0093500', 'Sopo aus Währungsumstellung Euro');
+INSERT INTO gifi (accno,description) VALUES ('0094700', 'Sopo m.Rückl.ant. §7g Abs.1 EstG');
+INSERT INTO gifi (accno,description) VALUES ('0094800', 'Sopo m.Rückl.ant. §7g Abs.3,7 EstG');
+INSERT INTO gifi (accno,description) VALUES ('0095500', 'Steuerrückstellung');
+INSERT INTO gifi (accno,description) VALUES ('0095700', 'Gewerbesteuerrückstellung');
+INSERT INTO gifi (accno,description) VALUES ('0096300', 'Körperschaftssteuerrückstellung');
+INSERT INTO gifi (accno,description) VALUES ('0096900', 'Rückstellung für latente Steuern');
+INSERT INTO gifi (accno,description) VALUES ('0097000', 'Sonstige Rückstellungen');
+INSERT INTO gifi (accno,description) VALUES ('0097400', 'Rückstellungen für Gewährleistungen');
+INSERT INTO gifi (accno,description) VALUES ('0097600', 'Rücks.f.drohe.Verl.schweb.Geschäft');
+INSERT INTO gifi (accno,description) VALUES ('0097700', 'Rücks.f.Abschluß-u.Prüfungskosten');
+INSERT INTO gifi (accno,description) VALUES ('0097800', 'Aufwandsrückstellungen');
+INSERT INTO gifi (accno,description) VALUES ('0098000', 'Aktive Rechnungsabgrenzung');
+INSERT INTO gifi (accno,description) VALUES ('0098300', 'Abgrenzung aktive latente Steuern');
+INSERT INTO gifi (accno,description) VALUES ('0098600', 'Damnum/Disagio');
+INSERT INTO gifi (accno,description) VALUES ('0099000', 'Passive Rechnungsabgrenzung');
+INSERT INTO gifi (accno,description) VALUES ('0099200', 'Wertberichtigungen');
+INSERT INTO gifi (accno,description) VALUES ('0099600', 'Pauschalwertb.m.Restlaufzeit v. 1J.');
+INSERT INTO gifi (accno,description) VALUES ('0099800', 'Einzelwertber.m.Restlaufzeit v.1 J.');
+INSERT INTO gifi (accno,description) VALUES ('0100000', 'Kasse');
+INSERT INTO gifi (accno,description) VALUES ('0110000', 'Postbank');
+INSERT INTO gifi (accno,description) VALUES ('0120000', 'Bank');
+INSERT INTO gifi (accno,description) VALUES ('0121000', 'Dresdner Bank AG');
+INSERT INTO gifi (accno,description) VALUES ('0121009', 'Verrechnungskonto Dresdner Bank AG');
+INSERT INTO gifi (accno,description) VALUES ('0122000', 'Deutsche Bank AG');
+INSERT INTO gifi (accno,description) VALUES ('0130000', 'Wechsel a. Lieferungen u.Leistungen');
+INSERT INTO gifi (accno,description) VALUES ('0131000', 'Besitzwechsel geg.verb.Unternehmen');
+INSERT INTO gifi (accno,description) VALUES ('0132000', 'Besitzw.geg.Untern.m.Beteiligungsve');
+INSERT INTO gifi (accno,description) VALUES ('0132700', 'Finanzwechsel');
+INSERT INTO gifi (accno,description) VALUES ('0133000', 'Schecks (Eingang)');
+INSERT INTO gifi (accno,description) VALUES ('0133300', 'Schecks (Ausgang)');
+INSERT INTO gifi (accno,description) VALUES ('0133500', 'Überweisungen (unterwegs)');
+INSERT INTO gifi (accno,description) VALUES ('0134000', 'Anteile verb.Untern.-Umlaufvermögen');
+INSERT INTO gifi (accno,description) VALUES ('0134400', 'Anteil an herr.m.betei.Gesellschaft');
+INSERT INTO gifi (accno,description) VALUES ('0134500', 'Eigene Anteile');
+INSERT INTO gifi (accno,description) VALUES ('0134800', 'Sonstige Wertpapiere');
+INSERT INTO gifi (accno,description) VALUES ('0136000', 'Geldtransit');
+INSERT INTO gifi (accno,description) VALUES ('0136100', 'Geldtransit (Überweisungen)');
+INSERT INTO gifi (accno,description) VALUES ('0136200', 'Geldtransit,Bankeinzug/Lastschrift');
+INSERT INTO gifi (accno,description) VALUES ('0136300', 'Scheck / Wechsel');
+INSERT INTO gifi (accno,description) VALUES ('0140000', 'Ford. a.Lieferungen und Leistungen');
+INSERT INTO gifi (accno,description) VALUES ('0141100', 'Forderungssammelkonto Vorausre.');
+INSERT INTO gifi (accno,description) VALUES ('0141200', 'Forderungssammelkonto Anzahlungen');
+INSERT INTO gifi (accno,description) VALUES ('0146000', 'Zweifelhafte Forderungen');
+INSERT INTO gifi (accno,description) VALUES ('0147000', 'Forder.a.Liefe.u.Leis.geg.verb.Unte');
+INSERT INTO gifi (accno,description) VALUES ('0147800', 'Wertb.a.Ford.m.Rest.1j.geg.verb.Unt');
+INSERT INTO gifi (accno,description) VALUES ('0148000', 'Lief.u.Leis.geg.Untern.m.Beteiligve');
+INSERT INTO gifi (accno,description) VALUES ('0148800', 'Wertb.a.Ford.m.Rest.1j.Beteiligungs');
+INSERT INTO gifi (accno,description) VALUES ('0149000', 'Forderung a.Leis.u.Lief.geg.Gesells');
+INSERT INTO gifi (accno,description) VALUES ('0150000', 'Sonstige Vermögensgegenstände');
+INSERT INTO gifi (accno,description) VALUES ('0150300', 'Forde.geg.Vorstandsm.u.Geschäftsfüh');
+INSERT INTO gifi (accno,description) VALUES ('0150800', 'Forderungen gegen Gesellschafter');
+INSERT INTO gifi (accno,description) VALUES ('0151000', 'Geleistete Anzahlung auf Vorräte');
+INSERT INTO gifi (accno,description) VALUES ('0151100', 'Geleistete Anzahlungen 7%');
+INSERT INTO gifi (accno,description) VALUES ('0151700', 'Geleistete Anzahlung 16%');
+INSERT INTO gifi (accno,description) VALUES ('0152500', 'Kautionen');
+INSERT INTO gifi (accno,description) VALUES ('0153000', 'Forderungen gegen Personal');
+INSERT INTO gifi (accno,description) VALUES ('0154000', 'Steuerüberzahlungen');
+INSERT INTO gifi (accno,description) VALUES ('0154500', 'Umsatzsteuerforderungen');
+INSERT INTO gifi (accno,description) VALUES ('0154800', 'Vorsteuer im Folgejahr abziehbar');
+INSERT INTO gifi (accno,description) VALUES ('0154900', 'Körperschaftsteuerrückforderung');
+INSERT INTO gifi (accno,description) VALUES ('0155000', 'Darlehen');
+INSERT INTO gifi (accno,description) VALUES ('0156000', 'Aufzuteilende Vorsteuer');
+INSERT INTO gifi (accno,description) VALUES ('0156500', 'Aufzuteilende Vorsteuer 16%');
+INSERT INTO gifi (accno,description) VALUES ('0157000', 'Abziehbare Vorsteuer');
+INSERT INTO gifi (accno,description) VALUES ('0157100', 'Abziebare Vorsteuer 7%');
+INSERT INTO gifi (accno,description) VALUES ('0157200', 'Abziehb. VorSt innergemein. Erwerb');
+INSERT INTO gifi (accno,description) VALUES ('0157300', 'Abziehb.VorSt. innergem.Erwerb 16%');
+INSERT INTO gifi (accno,description) VALUES ('0157500', 'Abziehbare Vorsteuer 16%');
+INSERT INTO gifi (accno,description) VALUES ('0157800', 'Berichtigung d.Vorstabzugs früh.J.');
+INSERT INTO gifi (accno,description) VALUES ('0157900', 'Vorsteuer 0%');
+INSERT INTO gifi (accno,description) VALUES ('0158400', 'abziehb.VorSt IG Erwerb Neufahrzeug');
+INSERT INTO gifi (accno,description) VALUES ('0158800', 'Bezahlte Einfuhrumsatzsteuer');
+INSERT INTO gifi (accno,description) VALUES ('0159000', 'Durchlaufende Posten');
+INSERT INTO gifi (accno,description) VALUES ('0159400', 'Forderungen geg. verb. Unternehmen');
+INSERT INTO gifi (accno,description) VALUES ('0159700', 'Ford.geg.Untern.m.Beteiligungsverh.');
+INSERT INTO gifi (accno,description) VALUES ('0160000', 'Verbindlichkeiten aus Lief.u.Leist.');
+INSERT INTO gifi (accno,description) VALUES ('0160100', 'Verbindlichkeiten a.Lief.und Leist.');
+INSERT INTO gifi (accno,description) VALUES ('0163000', 'Verbindl.Lief.u.Leist.gegü.verb.Unt');
+INSERT INTO gifi (accno,description) VALUES ('0164000', 'Verb.L.u.L gegü.Unter.Beteiligungsv');
+INSERT INTO gifi (accno,description) VALUES ('0165000', 'Verb.L.u.L gegü.Gesellschaftern');
+INSERT INTO gifi (accno,description) VALUES ('0166000', 'Schuldwechsel');
+INSERT INTO gifi (accno,description) VALUES ('0170000', 'Sonstige Verbindlichkeiten');
+INSERT INTO gifi (accno,description) VALUES ('0170500', 'Darlehen');
+INSERT INTO gifi (accno,description) VALUES ('0170900', 'Gewinnverfügungskonto stiller Ges.');
+INSERT INTO gifi (accno,description) VALUES ('0171000', 'Erhaltene Anzahlungen-Verbindlichke');
+INSERT INTO gifi (accno,description) VALUES ('0171100', 'Erhaltene,versteuert Anzahlungen 7%');
+INSERT INTO gifi (accno,description) VALUES ('0171700', 'Erhaltene,versteuerte Anzahl. 16%');
+INSERT INTO gifi (accno,description) VALUES ('0171900', 'Erhaltene Anzahlungen bis 1j.');
+INSERT INTO gifi (accno,description) VALUES ('0172200', 'Erhaltene Anzahlung');
+INSERT INTO gifi (accno,description) VALUES ('0172300', 'Verbindlichkeiten S-konto Vorausre.');
+INSERT INTO gifi (accno,description) VALUES ('0173200', 'Erhaltene Kautionen');
+INSERT INTO gifi (accno,description) VALUES ('0174100', 'Verbindl.a.Lohn-und Kirchensteuer');
+INSERT INTO gifi (accno,description) VALUES ('0175500', 'Lohn-und Gehaltsverrechnung');
+INSERT INTO gifi (accno,description) VALUES ('0175800', 'USt-Abzugsverfahren 16%');
+INSERT INTO gifi (accno,description) VALUES ('0175900', 'Ust 0%');
+INSERT INTO gifi (accno,description) VALUES ('0176000', 'Umsatzsteuer nicht fällig');
+INSERT INTO gifi (accno,description) VALUES ('0176100', 'Umsatzsteuer nicht fällig 7%');
+INSERT INTO gifi (accno,description) VALUES ('0176200', 'Umsatzsteuer nicht fällig EG Lief.');
+INSERT INTO gifi (accno,description) VALUES ('0177000', 'Umsatzsteuer');
+INSERT INTO gifi (accno,description) VALUES ('0177100', 'Umsatzsteuer 7%');
+INSERT INTO gifi (accno,description) VALUES ('0177200', 'Umsatzsteuer aus innergem. Erwerb');
+INSERT INTO gifi (accno,description) VALUES ('0177300', 'Umsatzsteuer innergem.Erwerb 16%');
+INSERT INTO gifi (accno,description) VALUES ('0177500', 'Umsatzsteuer 16%');
+INSERT INTO gifi (accno,description) VALUES ('0177700', 'Ust aus im Inland stpfl. EG-Lief16%');
+INSERT INTO gifi (accno,description) VALUES ('0178000', 'Umsatzsteuer-Vorauszahlungen');
+INSERT INTO gifi (accno,description) VALUES ('0178100', 'Umsatzsteuer-Vorauszahlung 1/11');
+INSERT INTO gifi (accno,description) VALUES ('0178300', 'In Rechn unberecht.ausgew.gesch Ust');
+INSERT INTO gifi (accno,description) VALUES ('0178400', 'Ust IG Erwerb Neufahrzeug o.Ust ID');
+INSERT INTO gifi (accno,description) VALUES ('0178800', 'Einfuhrumsatzsteuer augeschoben bis');
+INSERT INTO gifi (accno,description) VALUES ('0178900', 'Umsatzsteuer laufendes Jahr');
+INSERT INTO gifi (accno,description) VALUES ('0179000', 'Umsatzsteuer Vorjahr');
+INSERT INTO gifi (accno,description) VALUES ('0179100', 'Umsatzsteuer frühere Jahre');
+INSERT INTO gifi (accno,description) VALUES ('0179200', 'Sonstige Verrechnungskonten');
+INSERT INTO gifi (accno,description) VALUES ('0180000', 'Privatentnahme allgemein');
+INSERT INTO gifi (accno,description) VALUES ('0181000', 'Privatsteuern');
+INSERT INTO gifi (accno,description) VALUES ('0189000', 'Privateinlagen');
+INSERT INTO gifi (accno,description) VALUES ('0200000', 'Außerordentliche Aufwendung');
+INSERT INTO gifi (accno,description) VALUES ('0201000', 'Betriebsfremde Aufwendungen');
+INSERT INTO gifi (accno,description) VALUES ('0202000', 'Periodenfremde Aufwendungen');
+INSERT INTO gifi (accno,description) VALUES ('0210000', 'Zinsen und ähnl.Aufwendungen');
+INSERT INTO gifi (accno,description) VALUES ('0210300', 'Steuerl.abzugsfähig,and.Nebenl.Steu');
+INSERT INTO gifi (accno,description) VALUES ('0210400', 'Steuerl.nicht.abzugsf.ande.Nl.z.Ste');
+INSERT INTO gifi (accno,description) VALUES ('0210700', 'Zinsaufwendung-betriebliche Steuern');
+INSERT INTO gifi (accno,description) VALUES ('0210800', 'Zinsaufwendung-Personsteuer');
+INSERT INTO gifi (accno,description) VALUES ('0210900', 'Zinsaufwendungen an verb.Unternehm.');
+INSERT INTO gifi (accno,description) VALUES ('0211000', 'Zinsaufwendung f.kurzf.Verbindlichk');
+INSERT INTO gifi (accno,description) VALUES ('0212000', 'Zinsaufwendung f.langf.Verbindlichk');
+INSERT INTO gifi (accno,description) VALUES ('0213000', 'Diskontaufwendung');
+INSERT INTO gifi (accno,description) VALUES ('0215000', 'Aufwendungen aus Kursdifferenzen');
+INSERT INTO gifi (accno,description) VALUES ('0216500', 'Aufw.a.d.Währungsumstell.a.d.Euro');
+INSERT INTO gifi (accno,description) VALUES ('0217000', 'Nicht abziehbare Vorsteuer');
+INSERT INTO gifi (accno,description) VALUES ('0217100', 'Nicht abziehbare Vorsteuer 7%');
+INSERT INTO gifi (accno,description) VALUES ('0217500', 'Nicht abziehbare Vorsteuer 16%');
+INSERT INTO gifi (accno,description) VALUES ('0220000', 'Körperschaftssteuer');
+INSERT INTO gifi (accno,description) VALUES ('0220300', 'Körperschaftssteuer für Vorjahr');
+INSERT INTO gifi (accno,description) VALUES ('0220500', 'Anrechb.Körperschaftsst.vereinn.Kap');
+INSERT INTO gifi (accno,description) VALUES ('0220800', 'Solidaritätszuschlag');
+INSERT INTO gifi (accno,description) VALUES ('0220900', 'Solidaritätszuschlag für Vorjahr');
+INSERT INTO gifi (accno,description) VALUES ('0221000', 'Kapitalertragssteuer');
+INSERT INTO gifi (accno,description) VALUES ('0221300', 'Anrechb.Solidaritätszusch.a.Zinsabs');
+INSERT INTO gifi (accno,description) VALUES ('0221500', 'Zinsabschlagsteuer');
+INSERT INTO gifi (accno,description) VALUES ('0221800', 'Anrechb.Solidari.zuschlag a.Zinsabs');
+INSERT INTO gifi (accno,description) VALUES ('0228000', 'Stnachzahl.Vorj.v.Einkomm u.Ertrag');
+INSERT INTO gifi (accno,description) VALUES ('0228200', 'Sterstat.Vorj.Steuer v.Eink.u.Ertra');
+INSERT INTO gifi (accno,description) VALUES ('0228400', 'Ertr.a.d.Aufl.v.Rücks.f.St.v.Ein.Er');
+INSERT INTO gifi (accno,description) VALUES ('0228500', 'Steuernachzahlung Vorj.f.sons.Steue');
+INSERT INTO gifi (accno,description) VALUES ('0228700', 'Steuererstattung Vorj.f.sons.Steuer');
+INSERT INTO gifi (accno,description) VALUES ('0228900', 'Erträge a.d.Aufl.v. Rück.f.sons.Ste');
+INSERT INTO gifi (accno,description) VALUES ('0230000', 'Sonstige Aufwendungen');
+INSERT INTO gifi (accno,description) VALUES ('0231000', 'Anlagenabgänge - bei Buchverlust');
+INSERT INTO gifi (accno,description) VALUES ('0231500', 'Anlagenabgänge-Buchgewinn');
+INSERT INTO gifi (accno,description) VALUES ('0232000', 'Verluste Abgang Gegenst.d.Anlagever');
+INSERT INTO gifi (accno,description) VALUES ('0232500', 'Verlust a.d.Abg.v.Gegens.d.Umlaufve');
+INSERT INTO gifi (accno,description) VALUES ('0234000', 'Einstellungen Sopo m.Rückanlageant.');
+INSERT INTO gifi (accno,description) VALUES ('0234500', 'Einstellungen Sopo m.R.(Sonderafa)');
+INSERT INTO gifi (accno,description) VALUES ('0237500', 'Grundsteuer');
+INSERT INTO gifi (accno,description) VALUES ('0240000', 'Forderungsverlust-übliche Höhe');
+INSERT INTO gifi (accno,description) VALUES ('0241000', 'Einstellungen Sopo m.Rückl.(§7g )');
+INSERT INTO gifi (accno,description) VALUES ('0243000', 'Forderungsverluste-unüblich hoch');
+INSERT INTO gifi (accno,description) VALUES ('0245000', 'Einstell.i.d.Pauschalwertbe.z.Forde');
+INSERT INTO gifi (accno,description) VALUES ('0245100', 'Einstell.i.d.Einzelwertb.z.Forderun');
+INSERT INTO gifi (accno,description) VALUES ('0249000', 'Aufwendung aus Verlustübernahme');
+INSERT INTO gifi (accno,description) VALUES ('0249200', 'Abgef.Gewinn aufgr.e.Gewinngemeinsc');
+INSERT INTO gifi (accno,description) VALUES ('0249300', 'Abgef.Gewinnant.an stille Gesellsch');
+INSERT INTO gifi (accno,description) VALUES ('0249500', 'Einst.Kapitalrückl.n.Vorschr.vere.K');
+INSERT INTO gifi (accno,description) VALUES ('0249600', 'Einstellungen in die gesetzl.Rückla');
+INSERT INTO gifi (accno,description) VALUES ('0250000', 'Außerordentliche Erträge');
+INSERT INTO gifi (accno,description) VALUES ('0251000', 'Betriebsfremde Erträge n.außerorden');
+INSERT INTO gifi (accno,description) VALUES ('0252000', 'Periodenfremde Erträge nicht außero');
+INSERT INTO gifi (accno,description) VALUES ('0260000', 'Erträge aus Beteiligten');
+INSERT INTO gifi (accno,description) VALUES ('0261700', 'Gewinn a.Anteila.nicht stbef.Kapita');
+INSERT INTO gifi (accno,description) VALUES ('0261900', 'Erträge a.Beteil.a.verb.Untérnehmer');
+INSERT INTO gifi (accno,description) VALUES ('0262000', 'Erträge a.anderen Wertp u.Ausl.Fina');
+INSERT INTO gifi (accno,description) VALUES ('0265000', 'Sonstige Zinsen und ähnliche Erträg');
+INSERT INTO gifi (accno,description) VALUES ('0265700', 'Zinserträge-betriebliche Steuern');
+INSERT INTO gifi (accno,description) VALUES ('0265800', 'Zinserträge-Körperschaftssteuer');
+INSERT INTO gifi (accno,description) VALUES ('0265900', 'Sons.Zinsen u.ähl.Ertr.a.verb.Unter');
+INSERT INTO gifi (accno,description) VALUES ('0266000', 'Erträge aus Kursdifferenzen');
+INSERT INTO gifi (accno,description) VALUES ('0266500', 'Erträge a.d.Währungumst.a.d. Euro');
+INSERT INTO gifi (accno,description) VALUES ('0267000', 'Diskonerträge');
+INSERT INTO gifi (accno,description) VALUES ('0270000', 'Sonstige Erträge');
+INSERT INTO gifi (accno,description) VALUES ('0270500', 'Sons.Erträge betrieb. u. regelmäßig');
+INSERT INTO gifi (accno,description) VALUES ('0271000', 'Ertrag a.d.Zuschreib.d.Anlagevermög');
+INSERT INTO gifi (accno,description) VALUES ('0271500', 'Ertr.a.Zuschreib.d.Umlaufvermögens');
+INSERT INTO gifi (accno,description) VALUES ('0272000', 'Ertr.a.d.Abgang v.Gegens.d.Anlageve');
+INSERT INTO gifi (accno,description) VALUES ('0272500', 'Ertä.a.d.Abg.v.Gegenst.d.Umlaufverm');
+INSERT INTO gifi (accno,description) VALUES ('0273000', 'Ertr.a.Herab.d.Pauschal.z.Forderung');
+INSERT INTO gifi (accno,description) VALUES ('0273100', 'Ertr.a.Herab.d.Einzelw.z.Forderunge');
+INSERT INTO gifi (accno,description) VALUES ('0273200', 'Ertr. aus abgeschriebenen Forderung');
+INSERT INTO gifi (accno,description) VALUES ('0273500', 'Ertr.a.d.Auflösung v.Rückstellungen');
+INSERT INTO gifi (accno,description) VALUES ('0273600', 'Ertr.a.d.steuerl.niedrig.Bewertung');
+INSERT INTO gifi (accno,description) VALUES ('0273700', 'Ertr.a.d..Aufl.v.Sonderp.m.Rücklage');
+INSERT INTO gifi (accno,description) VALUES ('0273800', 'Ertr.a.d.Aufl.v.Sopo.m.Rücklageant.');
+INSERT INTO gifi (accno,description) VALUES ('0273900', 'Erträge Aufl. Sopo m.R.(Ansparafa)');
+INSERT INTO gifi (accno,description) VALUES ('0274000', 'Erträge Auflösung Sopo (stfreie Rü)');
+INSERT INTO gifi (accno,description) VALUES ('0274100', 'Ertr.a.d.Aufl.v.Sonderp.m.Rücklagen');
+INSERT INTO gifi (accno,description) VALUES ('0274200', 'Versicherungsentschädigungen');
+INSERT INTO gifi (accno,description) VALUES ('0274300', 'Investitionszuschüsse-steuerpflicht');
+INSERT INTO gifi (accno,description) VALUES ('0274400', 'Investitionszulage-steuerfrei');
+INSERT INTO gifi (accno,description) VALUES ('0274500', 'Erträge aus Kapitalherabsetzung');
+INSERT INTO gifi (accno,description) VALUES ('0279000', 'Erträge aus Verlustübernahme');
+INSERT INTO gifi (accno,description) VALUES ('0279200', 'Erhalt.Gewinne aufgr.e.Gewinngemein');
+INSERT INTO gifi (accno,description) VALUES ('0279400', 'Erhalt.Gewinn aufgr.e.GAV-TeilGAV');
+INSERT INTO gifi (accno,description) VALUES ('0279500', 'Entnahme aus der Kapitalrücklage');
+INSERT INTO gifi (accno,description) VALUES ('0279600', 'Entnahme a.d. gesetzlichen Rücklage');
+INSERT INTO gifi (accno,description) VALUES ('0286000', 'Gewinnvortrag nach Verwendung');
+INSERT INTO gifi (accno,description) VALUES ('0286800', 'Verlustvortrag nach Verwendung');
+INSERT INTO gifi (accno,description) VALUES ('0286900', 'Vortrag auf neue Rechnungen');
+INSERT INTO gifi (accno,description) VALUES ('0287000', 'Vorabausschüttung');
+INSERT INTO gifi (accno,description) VALUES ('0289200', 'Verrechnete kalkulatorische Zinsen');
+INSERT INTO gifi (accno,description) VALUES ('0289300', 'Verrechnete kalkulatorische AfA');
+INSERT INTO gifi (accno,description) VALUES ('0299000', 'Aufwendung/Erträge Umrechnungsdiff');
+INSERT INTO gifi (accno,description) VALUES ('0300000', 'Roh,-Hilfs,-und Betriebsstoffe');
+INSERT INTO gifi (accno,description) VALUES ('0309000', 'Energiestoffe (Fertigung)');
+INSERT INTO gifi (accno,description) VALUES ('0310000', 'Fremdleistungen');
+INSERT INTO gifi (accno,description) VALUES ('0315000', 'Leist.v.ausländ.Untern.(0-Regelung)');
+INSERT INTO gifi (accno,description) VALUES ('0320000', 'Wareneingang');
+INSERT INTO gifi (accno,description) VALUES ('0330000', 'Wareneingang 7% Vorsteuer');
+INSERT INTO gifi (accno,description) VALUES ('0340000', 'Wareneingang 16% Vorsteuer');
+INSERT INTO gifi (accno,description) VALUES ('0342000', 'Innergemein.Erwerb 7% VorSt u. Ust');
+INSERT INTO gifi (accno,description) VALUES ('0342500', 'Innergem.Erwerb 16% VorSt u. Ust');
+INSERT INTO gifi (accno,description) VALUES ('0355000', 'Steuerfreier innergem.Erwerb');
+INSERT INTO gifi (accno,description) VALUES ('0360000', 'Nicht abziehbare Vorsteuer');
+INSERT INTO gifi (accno,description) VALUES ('0370000', 'Nachlässe');
+INSERT INTO gifi (accno,description) VALUES ('0371000', 'Nachlässe 7% Vorsteuer');
+INSERT INTO gifi (accno,description) VALUES ('0372000', 'Nachlässe 16% Vorsteuer');
+INSERT INTO gifi (accno,description) VALUES ('0373000', 'Erhaltene Skonti');
+INSERT INTO gifi (accno,description) VALUES ('0373100', 'Erhaltene Skonti 7% Vorsteuer');
+INSERT INTO gifi (accno,description) VALUES ('0373500', 'Erhaltene Skonti 16% Vorsteuer');
+INSERT INTO gifi (accno,description) VALUES ('0374000', 'Erhaltene Boni');
+INSERT INTO gifi (accno,description) VALUES ('0375000', 'Erhaltene Boni 7% Vorsteuer');
+INSERT INTO gifi (accno,description) VALUES ('0376000', 'Erhaltene Boni 16% Vorsteuer');
+INSERT INTO gifi (accno,description) VALUES ('0377000', 'Erhaltene Rabatte');
+INSERT INTO gifi (accno,description) VALUES ('0378000', 'Erhaltene Rabatte 7% Vorsteuer');
+INSERT INTO gifi (accno,description) VALUES ('0379000', 'Erhaltene Rabatte 16% Vorsteuer');
+INSERT INTO gifi (accno,description) VALUES ('0380000', 'Anschaffungsnebenkosten');
+INSERT INTO gifi (accno,description) VALUES ('0383000', 'Leergut');
+INSERT INTO gifi (accno,description) VALUES ('0385000', 'Zölle und Einfuhrabgaben');
+INSERT INTO gifi (accno,description) VALUES ('0396000', 'Bestandsver.Roh-,Hilfs-.Betriebs.');
+INSERT INTO gifi (accno,description) VALUES ('0397000', 'Bestand Roh-,Hilfs-,u.Betriebsstoff');
+INSERT INTO gifi (accno,description) VALUES ('0398000', 'Bestand Waren');
+INSERT INTO gifi (accno,description) VALUES ('0399000', 'Verrechnete Stoffkosten');
+INSERT INTO gifi (accno,description) VALUES ('0400000', 'Material-und Stoffverbrauch');
+INSERT INTO gifi (accno,description) VALUES ('0410000', 'Löhne und Gehälter');
+INSERT INTO gifi (accno,description) VALUES ('0412400', 'Geschäftsführ.gehälter GmbH-Gesell.');
+INSERT INTO gifi (accno,description) VALUES ('0412500', 'Ehegattengehalt');
+INSERT INTO gifi (accno,description) VALUES ('0412600', 'Tantiemen');
+INSERT INTO gifi (accno,description) VALUES ('0412700', 'Geschäftsführergehälter');
+INSERT INTO gifi (accno,description) VALUES ('0412800', 'Vergütung a.angestellte Mitunterneh');
+INSERT INTO gifi (accno,description) VALUES ('0413000', 'Gesetzlich soziale Aufwendungen');
+INSERT INTO gifi (accno,description) VALUES ('0413700', 'Gesetz.sozi.Aufw.f.Mitunternehmen');
+INSERT INTO gifi (accno,description) VALUES ('0413800', 'Beiträge zur Berufsgenossenschaftr');
+INSERT INTO gifi (accno,description) VALUES ('0414500', 'Freiwillige sozi.Aufw.lohnsteuerfr.');
+INSERT INTO gifi (accno,description) VALUES ('0414900', 'Pauschale Lohnsteuera.sons.Bezüge');
+INSERT INTO gifi (accno,description) VALUES ('0415000', 'Krankengeldzuschüsse');
+INSERT INTO gifi (accno,description) VALUES ('0416000', 'Versorgungskasse');
+INSERT INTO gifi (accno,description) VALUES ('0416500', 'Aufwendung f.Altersversorgung');
+INSERT INTO gifi (accno,description) VALUES ('0417000', 'Vermögenswirksame Leistungen');
+INSERT INTO gifi (accno,description) VALUES ('0417500', 'Fahrtkostenerst.Wohnung/Arbeitsstät');
+INSERT INTO gifi (accno,description) VALUES ('0419000', 'Aushilfslöhne');
+INSERT INTO gifi (accno,description) VALUES ('0419900', 'Lohnsteuer für Aushilfe');
+INSERT INTO gifi (accno,description) VALUES ('0420000', 'Raumkosten');
+INSERT INTO gifi (accno,description) VALUES ('0421000', 'Miete');
+INSERT INTO gifi (accno,description) VALUES ('0422000', 'Pacht');
+INSERT INTO gifi (accno,description) VALUES ('0423000', 'Heizung');
+INSERT INTO gifi (accno,description) VALUES ('0424000', 'Gas,Strom, Wasser');
+INSERT INTO gifi (accno,description) VALUES ('0425000', 'Reinigung');
+INSERT INTO gifi (accno,description) VALUES ('0426000', 'Instandhaltung betrieb.Räume');
+INSERT INTO gifi (accno,description) VALUES ('0427000', 'Abgaben f.betrieb.genutz.Grundstück');
+INSERT INTO gifi (accno,description) VALUES ('0428000', 'Sonstige Raumkosten');
+INSERT INTO gifi (accno,description) VALUES ('0430000', 'Nicht abziehbare Vorsteuer');
+INSERT INTO gifi (accno,description) VALUES ('0430100', 'Nicht abziehbare Vorsteuer 7%');
+INSERT INTO gifi (accno,description) VALUES ('0430500', 'Nicht abziehbare Vorsteuer 16%');
+INSERT INTO gifi (accno,description) VALUES ('0432000', 'Gewerbesteuer');
+INSERT INTO gifi (accno,description) VALUES ('0434000', 'Sonstige Betriebssteuern');
+INSERT INTO gifi (accno,description) VALUES ('0435000', 'Verbrauchssteuer');
+INSERT INTO gifi (accno,description) VALUES ('0435500', 'Ökosteuer');
+INSERT INTO gifi (accno,description) VALUES ('0436000', 'Versicherungen');
+INSERT INTO gifi (accno,description) VALUES ('0437000', 'Nettoprä.f.Rückd.künf.Versorgungsle');
+INSERT INTO gifi (accno,description) VALUES ('0438000', 'Beiträge');
+INSERT INTO gifi (accno,description) VALUES ('0439000', 'Sonstige Abgaben');
+INSERT INTO gifi (accno,description) VALUES ('0439600', 'Steuerl.abzugs.Verspä.u.Zwangsgelde');
+INSERT INTO gifi (accno,description) VALUES ('0450000', 'Fahrzugkosten');
+INSERT INTO gifi (accno,description) VALUES ('0451000', 'Kfz-Steuer');
+INSERT INTO gifi (accno,description) VALUES ('0452000', 'Kfz-Versicherungen');
+INSERT INTO gifi (accno,description) VALUES ('0453000', 'Laufende Kfz-Betriebskosten');
+INSERT INTO gifi (accno,description) VALUES ('0454000', 'Kfz-Reparaturen');
+INSERT INTO gifi (accno,description) VALUES ('0455000', 'Garagenmiete');
+INSERT INTO gifi (accno,description) VALUES ('0457000', 'Fremdfahrzeuge');
+INSERT INTO gifi (accno,description) VALUES ('0458000', 'Sonstige Kfz-Kosten');
+INSERT INTO gifi (accno,description) VALUES ('0460000', 'Werbe-und Reisekosten');
+INSERT INTO gifi (accno,description) VALUES ('0461000', 'Werbekosten');
+INSERT INTO gifi (accno,description) VALUES ('0463000', 'Geschenke bis 75 DM');
+INSERT INTO gifi (accno,description) VALUES ('0463500', 'Geschenke bis 75 DM');
+INSERT INTO gifi (accno,description) VALUES ('0463800', 'Geschenke ausschließl.betrieb.genut');
+INSERT INTO gifi (accno,description) VALUES ('0464000', 'Repräsentationskosten');
+INSERT INTO gifi (accno,description) VALUES ('0465000', 'Bewirtungskosten');
+INSERT INTO gifi (accno,description) VALUES ('0465300', 'Aufmerksamkeiten');
+INSERT INTO gifi (accno,description) VALUES ('0465400', 'Nicht abzugsfähige Bewirtungskosten');
+INSERT INTO gifi (accno,description) VALUES ('0465500', 'Nicht abzugsfähige Betriebsausgaben');
+INSERT INTO gifi (accno,description) VALUES ('0466000', 'Reisekosten Arbeitnehmer');
+INSERT INTO gifi (accno,description) VALUES ('0466300', 'Reisekosten Arbeitn.m.Vorsteuerabzu');
+INSERT INTO gifi (accno,description) VALUES ('0466400', 'Reisekosten Arbeitn.Verpflegungmehr');
+INSERT INTO gifi (accno,description) VALUES ('0466600', 'Reisekosten Arbeitn.Übernachtungsau');
+INSERT INTO gifi (accno,description) VALUES ('0466800', 'Kilometerentgelderstattung Arbeitne');
+INSERT INTO gifi (accno,description) VALUES ('0467000', 'Reisekosten Unternehmer');
+INSERT INTO gifi (accno,description) VALUES ('0467400', 'Reisekosten Untern.Verpflegungsmehr');
+INSERT INTO gifi (accno,description) VALUES ('0467600', 'Reisekosten Untern.Übernachtungsauf');
+INSERT INTO gifi (accno,description) VALUES ('0467800', 'Kilometererstattungsgeld Unternehme');
+INSERT INTO gifi (accno,description) VALUES ('0470000', 'Kosten der Warenabgabe');
+INSERT INTO gifi (accno,description) VALUES ('0471000', 'Verpackungsmaterial');
+INSERT INTO gifi (accno,description) VALUES ('0473000', 'Ausgangsfracht');
+INSERT INTO gifi (accno,description) VALUES ('0475000', 'Transportversicherung');
+INSERT INTO gifi (accno,description) VALUES ('0476000', 'Verkaufsprovision');
+INSERT INTO gifi (accno,description) VALUES ('0478000', 'Fremdarbeiten');
+INSERT INTO gifi (accno,description) VALUES ('0479000', 'Aufwand für Gewährleistungen');
+INSERT INTO gifi (accno,description) VALUES ('0480900', 'Sonstige Reparaturen u.Instandhalt.');
+INSERT INTO gifi (accno,description) VALUES ('0481000', 'Mietleasing');
+INSERT INTO gifi (accno,description) VALUES ('0481500', 'Kaufleasing');
+INSERT INTO gifi (accno,description) VALUES ('0482000', 'AfA a.Aufw.f.d.Inga.u.Erw.Geschäfts');
+INSERT INTO gifi (accno,description) VALUES ('0482100', 'AfA a.Aufw.f.d.Währungsumst.a.Euro');
+INSERT INTO gifi (accno,description) VALUES ('0482200', 'Abschreibungen a.immat.Vermögensgeg');
+INSERT INTO gifi (accno,description) VALUES ('0482400', 'Abschreibung a.d.Geschäft-o.Firmenw');
+INSERT INTO gifi (accno,description) VALUES ('0482600', 'Außerplan.AfA a.immat.Vermögensgeg.');
+INSERT INTO gifi (accno,description) VALUES ('0483000', 'Abschreibungen auf Sachanlagen');
+INSERT INTO gifi (accno,description) VALUES ('0484000', 'Außerplanmäßig Abschr.a.Sachanlagen');
+INSERT INTO gifi (accno,description) VALUES ('0485000', 'Abschr.a.Sachanl.steuerl.Sondervors');
+INSERT INTO gifi (accno,description) VALUES ('0485500', 'Sofortabschreibung GWG');
+INSERT INTO gifi (accno,description) VALUES ('0486000', 'Abschreibungen auf aktivierte GWG');
+INSERT INTO gifi (accno,description) VALUES ('0487000', 'Abschreibungen auf Finanzanlagen');
+INSERT INTO gifi (accno,description) VALUES ('0487500', 'Abschr.a.Wertp.d.Umlaufvermögens');
+INSERT INTO gifi (accno,description) VALUES ('0490000', 'Sonstige betriebliche Aufwendungen');
+INSERT INTO gifi (accno,description) VALUES ('0490500', 'Sons.Aufw.betriebl. und regelmäßig');
+INSERT INTO gifi (accno,description) VALUES ('0490900', 'Fremdleistungen');
+INSERT INTO gifi (accno,description) VALUES ('0491000', 'Porto');
+INSERT INTO gifi (accno,description) VALUES ('0492000', 'Telefon');
+INSERT INTO gifi (accno,description) VALUES ('0492500', 'Telefax');
+INSERT INTO gifi (accno,description) VALUES ('0493000', 'Bürobedarf');
+INSERT INTO gifi (accno,description) VALUES ('0494000', 'Zeitschriften, Bücher');
+INSERT INTO gifi (accno,description) VALUES ('0494500', 'Fortbildungskosten');
+INSERT INTO gifi (accno,description) VALUES ('0494600', 'Freiwillige Sozialleistungen');
+INSERT INTO gifi (accno,description) VALUES ('0495000', 'Rechts- und Beratungskosten');
+INSERT INTO gifi (accno,description) VALUES ('0495500', 'Buchführungskosten');
+INSERT INTO gifi (accno,description) VALUES ('0495700', 'Abschluß- und Prüfungskosten');
+INSERT INTO gifi (accno,description) VALUES ('0496000', 'Mieten für Einrichtungen');
+INSERT INTO gifi (accno,description) VALUES ('0497000', 'Nebenkosten des Geldverkehrs');
+INSERT INTO gifi (accno,description) VALUES ('0498000', 'Betriebsbedarf');
+INSERT INTO gifi (accno,description) VALUES ('0498500', 'Werkzeuge und Kleingeräte');
+INSERT INTO gifi (accno,description) VALUES ('0498600', 'Sonstige Aufwendungen (Ausbuchung)');
+INSERT INTO gifi (accno,description) VALUES ('0499000', 'Kalkulatorischer Unternehmerlohn');
+INSERT INTO gifi (accno,description) VALUES ('0499200', 'Kalkulatorische Zinsen');
+INSERT INTO gifi (accno,description) VALUES ('0499300', 'Kalkulatorische Aschreibungen');
+INSERT INTO gifi (accno,description) VALUES ('0499600', 'Herstellungskosten');
+INSERT INTO gifi (accno,description) VALUES ('0499700', 'Verwaltungskosten');
+INSERT INTO gifi (accno,description) VALUES ('0499800', 'Vertriebskosten');
+INSERT INTO gifi (accno,description) VALUES ('0700000', 'Unfertige Erzeu.unfert.Leistungen');
+INSERT INTO gifi (accno,description) VALUES ('0705000', 'Unfertige Erzeugnisse');
+INSERT INTO gifi (accno,description) VALUES ('0708000', 'Unfertige Leistungen');
+INSERT INTO gifi (accno,description) VALUES ('0709000', 'In Ausführung befindl. Bauaufträge');
+INSERT INTO gifi (accno,description) VALUES ('0709500', 'In Arbeit befindliche Aufträge');
+INSERT INTO gifi (accno,description) VALUES ('0710000', 'Fertige Erzeugnisse und Waren');
+INSERT INTO gifi (accno,description) VALUES ('0711000', 'Fertige Erzeugnisse (Bestand)');
+INSERT INTO gifi (accno,description) VALUES ('0714000', 'Waren (Bestand)');
+INSERT INTO gifi (accno,description) VALUES ('0810000', 'Steuerfreie Umsätze §4Nr.8ff UstG');
+INSERT INTO gifi (accno,description) VALUES ('0811000', 'Sonstige steuerfreie Umsätze Inland');
+INSERT INTO gifi (accno,description) VALUES ('0812000', 'Steuerfreie Umsätze §4Nr.1a UstG');
+INSERT INTO gifi (accno,description) VALUES ('0812500', 'Steuerfrei innergem. Lieferungen');
+INSERT INTO gifi (accno,description) VALUES ('0813000', 'Liefe.d.1.Abnehm.innergem.Dreiecksg');
+INSERT INTO gifi (accno,description) VALUES ('0815000', 'Sonstige steuerfreie Umsätze');
+INSERT INTO gifi (accno,description) VALUES ('0819000', 'Sonstige Erlöse (Ausbuchung 0%)');
+INSERT INTO gifi (accno,description) VALUES ('0819100', 'Sonstige Erlöse (Ausbuchung 16%)');
+INSERT INTO gifi (accno,description) VALUES ('0819200', 'Sonstige Erlöse (Ausbuchung 7%)');
+INSERT INTO gifi (accno,description) VALUES ('0820000', 'Erlöse');
+INSERT INTO gifi (accno,description) VALUES ('0830000', 'Erlöse 7%USt');
+INSERT INTO gifi (accno,description) VALUES ('0831000', 'Erlöse Inland stpfl. EG-Lieferung7%');
+INSERT INTO gifi (accno,description) VALUES ('0831500', 'Erlös Inland stpfl.EG-Lieferung 16%');
+INSERT INTO gifi (accno,description) VALUES ('0833900', 'Erl.EG-Land stpfl.so.Leist.(0-Regl)');
+INSERT INTO gifi (accno,description) VALUES ('0840000', 'Erlöse 16% USt.');
+INSERT INTO gifi (accno,description) VALUES ('0850000', 'Provisionserlöse');
+INSERT INTO gifi (accno,description) VALUES ('0852000', 'Erlöse Abfallverwertung');
+INSERT INTO gifi (accno,description) VALUES ('0854000', 'Erlös Leergut');
+INSERT INTO gifi (accno,description) VALUES ('0859000', 'Verrechnete sons. Sachbezüge');
+INSERT INTO gifi (accno,description) VALUES ('0859100', 'Sachbezüge 7% Ust (Waren)');
+INSERT INTO gifi (accno,description) VALUES ('0859500', 'Sachbezüge 16% Ust (Waren)');
+INSERT INTO gifi (accno,description) VALUES ('0860000', 'Sonstige Erlöse betriebl.u.regelmäß');
+INSERT INTO gifi (accno,description) VALUES ('0861000', 'Verrechnete sonstige Sachbezüge');
+INSERT INTO gifi (accno,description) VALUES ('0861100', 'Verr.sons.Sachbezüge 16%USt(Kfz-Ge)');
+INSERT INTO gifi (accno,description) VALUES ('0861400', 'Verrechnete sons.Sachbezüge o. USt');
+INSERT INTO gifi (accno,description) VALUES ('0862500', 'Sons. Erlöse betriebl.u.reg.steuerf');
+INSERT INTO gifi (accno,description) VALUES ('0865000', 'Erlöse Zinsen und Diskotspesen');
+INSERT INTO gifi (accno,description) VALUES ('0870000', 'Erlösschmälerungen');
+INSERT INTO gifi (accno,description) VALUES ('0871000', 'Erlösschmälerung 7% USt.');
+INSERT INTO gifi (accno,description) VALUES ('0872000', 'Erlösschmälerung 16% USt.');
+INSERT INTO gifi (accno,description) VALUES ('0872400', 'Erlösschmäler.a.stfrei.IG Lieferung');
+INSERT INTO gifi (accno,description) VALUES ('0872500', 'Erlösschmä.Inl.stpfl.EG-Lief. 7%USt');
+INSERT INTO gifi (accno,description) VALUES ('0872600', 'Erlösschmä.Inl.stpfl.EG-Lief.16%USt');
+INSERT INTO gifi (accno,description) VALUES ('0872700', 'Erlösschmä.and.EG Land stpfl.Liefer');
+INSERT INTO gifi (accno,description) VALUES ('0873000', 'Gewährte Skonti');
+INSERT INTO gifi (accno,description) VALUES ('0873100', 'Gewährte Skonti 7% USt');
+INSERT INTO gifi (accno,description) VALUES ('0873500', 'Gewährte Skonti 16% USt.');
+INSERT INTO gifi (accno,description) VALUES ('0874000', 'Gewährte Boni');
+INSERT INTO gifi (accno,description) VALUES ('0875000', 'Gewährte Boni 7% USt.');
+INSERT INTO gifi (accno,description) VALUES ('0876000', 'Gewährte Boni 16% USt.');
+INSERT INTO gifi (accno,description) VALUES ('0877000', 'Gewährte Rabatte');
+INSERT INTO gifi (accno,description) VALUES ('0878000', 'Gewährte Rabatte 7% USt.');
+INSERT INTO gifi (accno,description) VALUES ('0879000', 'Gewährte Rabatte 16% Ust.');
+INSERT INTO gifi (accno,description) VALUES ('0880000', 'Erlöse aus Anlagenverkäufen');
+INSERT INTO gifi (accno,description) VALUES ('0880100', 'Erlöse aus Anlagenverkäufen 16%USt.');
+INSERT INTO gifi (accno,description) VALUES ('0882000', 'Erlöse aus Anlageverkäufen 16%Ust');
+INSERT INTO gifi (accno,description) VALUES ('0882900', 'Erl.a.Anlagenverk.bei Buchgewinn');
+INSERT INTO gifi (accno,description) VALUES ('0890000', 'Unentgeldliche Wertabgaben');
+INSERT INTO gifi (accno,description) VALUES ('0890500', 'Entnahme v. Gegenst.o.USt.');
+INSERT INTO gifi (accno,description) VALUES ('0891000', 'Entnahme außerhalb d.Untern.16%USt.');
+INSERT INTO gifi (accno,description) VALUES ('0891500', 'Entnah.d.U.Zweckaußerh.d.Untn 7%USt');
+INSERT INTO gifi (accno,description) VALUES ('0891800', 'Entn.d.Untern.außerh.d.Untern.o.USt');
+INSERT INTO gifi (accno,description) VALUES ('0892000', 'Verw.v.Gegens.außerh.Untern.16%USt.');
+INSERT INTO gifi (accno,description) VALUES ('0892500', 'Unentgeldl.Erbring.sons.Leis.16%USt');
+INSERT INTO gifi (accno,description) VALUES ('0893200', 'Unentgelt.Erbring.sons.Leist. 7%Ust');
+INSERT INTO gifi (accno,description) VALUES ('0893500', 'Unentgeltl.Zuwend.v.Gegens. 16% Ust');
+INSERT INTO gifi (accno,description) VALUES ('0893900', 'Unentgeldl.Zuw.v.Gegens.ohne Ust');
+INSERT INTO gifi (accno,description) VALUES ('0894000', 'Unentgeltl.Zuw.v Waren 16% Ust');
+INSERT INTO gifi (accno,description) VALUES ('0894500', 'Unentgeltl.Zuw.von Waren 7% Ust');
+INSERT INTO gifi (accno,description) VALUES ('0895000', 'Nicht steuerbare Umsätze');
+INSERT INTO gifi (accno,description) VALUES ('0895500', 'Umsatzsteuervergütungen');
+INSERT INTO gifi (accno,description) VALUES ('0896000', 'Bestandsveränderung-unfertige Erzeu');
+INSERT INTO gifi (accno,description) VALUES ('0897000', 'Bestandsveränderung-unfertige Leist');
+INSERT INTO gifi (accno,description) VALUES ('0897500', 'Bestandsverä.i.Ausfü.befi.Bauaufträ');
+INSERT INTO gifi (accno,description) VALUES ('0897700', 'Bestandsverä.i.Arbeit befindl.Auftr');
+INSERT INTO gifi (accno,description) VALUES ('0898000', 'Bestandsverä.fertige Erzeugnisse');
+INSERT INTO gifi (accno,description) VALUES ('0899000', 'Andere aktivierte Eigenleistungen');
+INSERT INTO gifi (accno,description) VALUES ('0900000', 'Saldenverträge,Sachkonten');
+INSERT INTO gifi (accno,description) VALUES ('0900800', 'Saldenverträge,Debitoren');
+INSERT INTO gifi (accno,description) VALUES ('0900900', 'Saldenverträge,Kreditoren');
+INSERT INTO gifi (accno,description) VALUES ('0906000', 'Offene Posten aus 1990');
+INSERT INTO gifi (accno,description) VALUES ('0906900', 'Offene Posten aus 1999');
+INSERT INTO gifi (accno,description) VALUES ('0907000', 'Offene Posten aus 2000');
+INSERT INTO gifi (accno,description) VALUES ('0909000', 'Summenvortragskonto');
+INSERT INTO gifi (accno,description) VALUES ('0922000', 'Gezeichnetes kapital in DM');
+INSERT INTO gifi (accno,description) VALUES ('0922100', 'Gezeichnetes Kapital in Euro');
+INSERT INTO gifi (accno,description) VALUES ('0923000', 'Baukostenzuschüsse');
+INSERT INTO gifi (accno,description) VALUES ('0923200', 'Investitionszulagen');
+INSERT INTO gifi (accno,description) VALUES ('0923400', 'Investitionszuschüsse');
+INSERT INTO gifi (accno,description) VALUES ('0924500', 'Forde.a.Anlageverk.sons.Vermögensge');
+INSERT INTO gifi (accno,description) VALUES ('0925000', 'Eigenkapitalersetzende Ges''terdarl.');
+INSERT INTO gifi (accno,description) VALUES ('0926000', 'Kurzfristige Rückstellung');
+INSERT INTO gifi (accno,description) VALUES ('0926200', 'Mittelfristige Rückstellung');
+INSERT INTO gifi (accno,description) VALUES ('0926400', 'Langfristige Rückstellungen');
+INSERT INTO gifi (accno,description) VALUES ('0928000', 'Bemessungsgrundlage IG Erwerb 16%');
+INSERT INTO gifi (accno,description) VALUES ('0928100', 'Gegenkonto Bmsgrl. IG Erwerb 16%');
+INSERT INTO gifi (accno,description) VALUES ('0928200', 'Bemessungsgrundlage IG Erwerb 7%');
+INSERT INTO gifi (accno,description) VALUES ('0928400', 'Gegenkonto Bmsgrl. IG Erwerb 7%');
+INSERT INTO gifi (accno,description) VALUES ('0988100', 'Verrechnungskonto Abgang');
+INSERT INTO gifi (accno,description) VALUES ('0988200', 'Verrechnungskonto erh. Anzahlungen');
+INSERT INTO gifi (accno,description) VALUES ('0988210', 'Verrechnungskto Anzahlungen netto');
+INSERT INTO gifi (accno,description) VALUES ('0988220', 'Verrechnungskto.Anzahlungen brutto');
+INSERT INTO gifi (accno,description) VALUES ('0988300', 'Verrechnungskonto gel.Anzahlungen');
+INSERT INTO gifi (accno,description) VALUES ('0988400', 'Statistisches Konto Konzern AfA');
+INSERT INTO gifi (accno,description) VALUES ('0988500', 'Statistisches Konto kalkulator.AfA');
+INSERT INTO gifi (accno,description) VALUES ('0988600', 'Statistisches Konto außerplanm AfA');
+INSERT INTO gifi (accno,description) VALUES ('0988700', 'Statistisches Konto AfA (Konzern)');
+INSERT INTO gifi (accno,description) VALUES ('0988800', 'Statistisches Konto Sonderafa');
+INSERT INTO gifi (accno,description) VALUES ('0988900', 'Statistisches Konto AfA (SBil)');
+INSERT INTO gifi (accno,description) VALUES ('0989800', 'Statistisches Konto AfA (Kalkul.)');
+INSERT INTO gifi (accno,description) VALUES ('0989900', 'Statistisches Konto AfA');
+INSERT INTO gifi (accno,description) VALUES ('0999999', 'Fehlerauffangkonto');
diff --git a/sql-ledger/sql/Germany-SKR03-chart.sql b/sql-ledger/sql/Germany-SKR03-chart.sql
new file mode 100644
index 0000000..a7f87e2
--- /dev/null
+++ b/sql-ledger/sql/Germany-SKR03-chart.sql
@@ -0,0 +1,267 @@
+-- General COA
+-- provided by Yvonne
+-- June 13, 2002
+--
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('420','Büroeinrichtung','A','A','','420');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('430','Ladeneinrichtung','A','A','','430');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('440','Werkzeuge','A','A','','440');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('450','Einbauten','A','A','','450');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('460','Gerüst- und Schalungsmaterial','A','A','','460');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('480','Geringwertige Wirtschaftsgüter bis DM 800,-','A','A','','480');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('490','Sonstige Betriebs- und Geschäftsausstattung','A','A','','490');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('650','Verb. gg. Kreditinstituten - Restlaufz. größer 5 Jahre','A','L','','650');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('1000','Kasse','A','A','AR_paid:AP_paid','1000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('1200','Bank-Giro','A','A','AR_paid:AP_paid','1200');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('1400','Forderungen aus Lief. und Leist. Kundengruppe 0','A','A','AR','1400');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('1540','Steuerüberzahlungen','A','A','AR','1540');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('1542','Steuererstattungsansprüche gg. anderen EU-Ländern','A','A','AR','1542');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('1545','Umsatzsteuerforderungen','A','A','AR','1545');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('1548','Vorsteuer im Folgejahr abziehbar','A','A','AR','1548');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('1570','Abziehbare Vorsteuer','A','A','AR_tax:AP_tax:CT_tax','1570');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('1571','Abziehbare Vorsteuer, 7%','A','A','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax','1571');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('1575','Abziehbare Vorsteuer, 16%','A','A','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax','1575');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('1576','Abziehbare Vorsteuer, 15%','A','A','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax','1576');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('1577','Vorsteuer nach allg. Durchschnittssätzen UStVA KZ 63','A','A','AR_tax:AP_tax:CT_tax','1577');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('1775','Umsatzsteuer, 16%','A','L','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax','1775');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('1776','Umsatzsteuer, 15%','A','L','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax','1776');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('1780','Umsatzsteuer - Vorauszahlungen','A','L','','1780');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('1781','Umsatzsteuer - Vorauszahlungen 1/11','A','L','','1781');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('1782','Nachsteuer, UStVA KZ 65','A','L','','1782');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('1789','Umsatzsteuer laufendes Jahr','A','L','','1789');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('1790','Umsatzsteuer Vorjahr','A','L','','1790');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('1791','Umsatzsteuer frühere Jahre','A','L','','1791');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('1820','Sonderausg. beschr. abzugsf. (Privat Vollhaft./Einzelu.)','A','','','1820');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('1830','Sonderausg. unbeschr. abzugsf. (Privat Vollhaft./Einzelu.)','A','','','1830');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('1840','Privatspenden (Privat Vollhafter / Einzelunternehmer)','A','','','1840');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('1850','Außergewöhnliche Belastungen (Privat Vollhaft. / Einzelunt.)','A','','','1850');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('1890','Privateinlagen (Privat Vollhafter / Einzelunternehmer)','A','','','1890');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('2010','Betriebsfremde Aufw. (soweit nicht außerordentlich)','A','','','2010');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('2020','Periodenfremde Aufw. (soweit nicht außerordentlich)','A','','','2020');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('2100','Zinsen und ähnliche Aufwendungen','A','','','2100');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('2103','Steuerlich abzugsfähige, andere Nebenleistungen zu Steuern','A','','','2103');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('2104','Steuerlich nicht abzugsfähige, andere Nebenleistungen zu Steuern','A','','','2104');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('2107','Zinsaufwendungen §233a AO betriebliche Steuern','A','','','2107');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('2108','Zinsaufw. §233a, §234, §237 AO Personenst. §8 GewStG','A','','','2108');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('2109','Zinsaufwendungen an verbundene Unternehmen','A','','','2109');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('2110','Zinsaufwendungen für kurzfristige Verbindlichkeiten','A','','','2110');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('3410','Wareneingang, 16% Vorsteuer','A','','','3410');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('3736','Erhaltene Skonti, 16% Vorsteuer','A','','','3736');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('3740','Erhaltene Boni','A','','','3740');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('3750','Erhaltene Boni, 7% Vorsteuer','A','','','3750');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('3760','Erhaltene Boni, 15%+16% Vorsteuer','A','','','3760');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('3762','Erhaltene Boni, 16% Vorsteuer','A','','','3762');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('3764','Erhaltene Boni, 15% Vorsteuer','A','','','3764');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('3800','Anschaffungsnebenkosten','A','','','3800');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('3830','Leergut','A','','','3830');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('3850','Zölle und Einfuhrabgaben','A','','','3850');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('3960','Bestandsv. Roh-, Hilfs- u. Betriebsstoffe / bezogene Waren','A','','','3960');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('3970','Bestand Roh-, Hilfs- und Betriebsstoffe','A','','','3970');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('3980','Bestand Waren','A','','','3980');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('3990','Verrechnete Stoffkosten','A','','','3990');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4000','Material- und Stoffverbrauch','A','E','AP_amount','4000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4100','Löhne und Gehälter','A','E','AP_amount','4100');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4110','Löhne','A','E','AP_amount','4110');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4120','Gehälter','A','E','AP_amount','4120');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4124','Geschäftsführergehälter der GmbH-Gesellschafter','A','E','AP_amount','4124');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4125','Ehegattengehalt','A','E','AP_amount','4125');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4126','Tantiemen','A','E','AP_amount','4126');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4127','Geschäftsführergehälter','A','E','AP_amount','4127');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4128','Vergütungen an angestellte Mitunternehmer §15 EStG','A','E','AP_amount','4128');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4130','Gesetzliche soziale Aufwendungen','A','E','AP_amount','4130');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4137','Gesetzliche soziale Aufw. für Mitunternehmer §15 EStG','A','E','AP_amount','4137');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4138','Beiträge zur Berufsgenossenschaft','A','E','AP_amount','4138');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('1360','Geldtransit Bank 1','A','A','','1360');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4140','Freiw. soziale Aufwendungen (lohnsteuerfrei)','A','E','AP_amount','4140');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4145','Freiw. soziale Aufwendungen (lohnsteuerpflichtig)','A','E','AP_amount','4145');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4149','Pauschale Lohnsteuer auf s. Bezüge (z.B. Fahrtkostenzuschuß)','A','E','AP_amount','4149');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4150','Krankengeldzuschüsse','A','E','AP_amount','4150');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4160','Versorgungskassen','A','E','AP_amount','4160');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4165','Aufwendungen für die Altersversorgung','A','E','AP_amount','4165');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4167','Pauschale Lohnsteuer auf s. Bezüge (z.B. Direktversicherung)','A','E','AP_amount','4167');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4168','Aufw. f. die Altersversorgung f. Mitunternehmer §15 EStG','A','E','AP_amount','4168');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4169','Aufwendungen für Unterstützung','A','E','AP_amount','4169');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4170','Vermögenswirksame Leistungen','A','E','AP_amount','4170');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4175','Fahrtkostenerstattung - Wohnung / Arbeitsstätte','A','E','AP_amount','4175');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4180','Bedienungsgelder','A','E','AP_amount','4180');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4190','Aushilfslöhne','A','E','AP_amount','4190');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4199','Lohnsteuer für Aushilfen','A','E','AP_amount','4199');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4200','Raumkosten','A','E','AP_amount','4200');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4210','Miete','A','E','AP_amount','4210');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4218','Gewerbesteuerlich zu berücks. Miete §8 GewStG','A','E','AP_amount','4218');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4219','Vergütung an Mitu. f. mietw. Überl. v. Wirtschaftsg. §15EStG','A','E','AP_amount','4219');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4220','Pacht','A','E','AP_amount','4220');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4228','Gewerbesteuerlich zu berücks. Pacht §8 GewStG','A','E','AP_amount','4228');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4229','Vergütung an Mitu. f. pachtw. Überl. v. Wirtschaftsg.§15EStG','A','E','AP_amount','4229');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4230','Heizung','A','E','AP_amount','4230');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4240','Gas, Strom, Wasser (Verwaltung, Vertrieb)','A','E','AP_amount','4240');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4250','Reinigung','A','E','AP_amount','4250');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4260','Instandhaltung betrieblicher Räume','A','E','AP_amount','4260');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4270','Abgaben für betrieblich genutzten Grundbesitz','A','E','AP_amount','4270');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4280','Sonstige Raumkosten','A','E','AP_amount','4280');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4320','Gewerbesteuer (Vorauszahlung)','A','E','AP_amount','4320');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4330','Gewerbeertragsteuer','A','E','AP_amount','4330');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4335','Gewerbekapitalsteuer','A','E','AP_amount','4335');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4340','Sonstige Betriebsteuern','A','E','AP_amount','4340');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4350','Verbrauchsteuer','A','E','AP_amount','4350');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4360','Versicherungen','A','E','AP_amount','4360');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4380','Beiträge','A','E','AP_amount','4380');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4390','Sonstige Abgaben','A','E','AP_amount','4390');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4396','Steuerlich abzugsfähige Verspätungszuschläge und Zwangsgelder','A','E','AP_amount','4396');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4397','Steuerlich nicht abzugsfähige Verspätungszuschläge und Zwangsgelder','A','E','AP_amount','4397');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4400','Besondere Kosten (zur freien Verfügung)','A','E','AP_amount','4400');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4500','Fahrzeugkosten','A','E','AP_amount','4500');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4510','Kfz-Steuern','A','E','AP_amount','4510');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4520','Kfz-Versicherungen','A','E','AP_amount','4520');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4530','Laufende Kfz-Betriebskosten','A','E','AP_amount','4530');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4540','Kfz-Reparaturen','A','E','AP_amount','4540');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4550','Garagenmieten','A','E','AP_amount','4550');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4570','Fremdfahrzeuge','A','E','AP_amount','4570');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4580','Sonstige Kfz-Kosten','A','E','AP_amount','4580');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4600','Werbe- und Reisekosten','A','E','AP_amount','4600');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4610','Werbekosten','A','E','AP_amount','4610');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4630','Geschenke bis DM 75,00','A','E','AP_amount','4630');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4635','Geschenke über DM 75,00','A','E','AP_amount','4635');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4638','Geschenke ausschließlich betrieblich genutzt','A','E','AP_amount','4638');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4640','Repräsentationskosten','A','E','AP_amount','4640');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4650','Bewirtungskosten','A','E','AP_amount','4650');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4653','Aufwerksamkeiten','A','E','AP_amount','4653');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4654','Nicht abzugsfähige Bewirtungskosten','A','E','AP_amount','4654');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4655','Nicht abzugsfähige Betriebsausgaben','A','E','AP_amount','4655');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4660','Reisekosten Arbeitnehmer','A','E','AP_amount','4660');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4666','Reisekost. Arbeitn., 12,3%/13,1% VSt Verpfl.Mehr- / Übern.Aufw.','A','E','AP_amount','4666');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4667','Reisekost. Arbeitn., 9,8%/10,5% VSt Gesamtpauschal.','A','E','AP_amount','4667');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4670','Reisekosten Unternehmer','A','E','AP_amount','4670');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4675','Reisekosten Unternehmer, 9,8/10,5% VSt sonst.Gesamtpauschal.','A','E','AP_amount','4675');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4676','Reisekost. Untern., 12,3%/13,1% VSt Verpfl.Mehr- / Übern.Aufw.','A','E','AP_amount','4676');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4677','Reisekosten Unternehmer, 9,8%/10,5% VSt Verpfl.Mehraufw. Gesamtpauschal.','A','E','AP_amount','4677');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4678','Km-Geld Erstattung, Unternehmer, 5,7%/6,1% VSt','A','E','AP_amount','4678');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4685','Km-Geld-Erstattung, Arbeitnehmer 8,2%/8,7% VSt','A','E','AP_amount','4685');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4700','Kosten der Warenabgabe','A','E','AP_amount:IC_expense:IC_cogs','4700');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4710','Verpackungsmaterial','A','E','AP_amount','4710');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4730','Ausgangsfrachten','A','E','AP_amount','4730');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4750','Transportversicherungen','A','E','AP_amount','4750');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4760','Verkaufsprovisionen','A','E','AP_amount','4760');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4780','Fremdarbeiten','A','E','AP_amount','4780');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4790','Aufwand für Gewährleistungen','A','E','AP_amount','4790');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4800','Reparat. u. Inst. v. Maschinen u. technischen Anlagen','A','E','AP_amount','4800');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4805','Reparat. u. Inst. v. and. Anl. d. Betr.- u. Geschäftsausst.','A','E','AP_amount','4805');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4809','Sonstige Reparaturen und Instandhaltungen','A','E','AP_amount','4809');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4810','Mietleasing','A','E','AP_amount','4810');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4815','Kaufleasing','A','E','AP_amount','4815');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4820','Abschr. a. Aufw. f.d. Ingangs. u. Erw. des Geschäftsbetr.','A','E','AP_amount','4820');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4822','Abschr. a. immaterielle Vermögensgegenstände','A','E','AP_amount','4822');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4824','Abschreibung auf den Geschäfts- oder Firmenwert','A','E','AP_amount','4824');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4826','Außerplanm. Abschr. a. immaterielle Vermögensgegenstände','A','E','AP_amount','4826');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4830','Abschreibungen auf Sachanlagen','A','E','AP_amount','4830');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4840','Außerplanm. Abschreibungen auf Sachanlagen','A','E','AP_amount','4840');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4850','Abschr. a. Sachanl. aufgrund steuerl. Sondervorschriften','A','E','AP_amount','4850');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4855','Sofortabschreibung geringwertiger Wirtschaftsgüter','A','E','AP_amount','4855');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4860','Abschreibung auf aktivierte, geringwertige Wirtschaftsgüter','A','E','AP_amount','4860');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4865','Außerplanmäßige Abschr. a. aktivierte GWG','A','E','AP_amount','4865');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4870','Abschreibungen auf Finanzanlagen','A','E','AP_amount','4870');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4872','Abschr. aufgrund v. Verlustant. an Mitunt. §8 GewStG','A','E','AP_amount','4872');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4874','Abschr. a. Finanzanl. aufgrund steuerl. Sondervorschriften','A','E','AP_amount','4874');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4875','Abschreibungen auf Wertpapiere des Umlaufvermögens','A','E','AP_amount','4875');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4880','Abschr. a. Umlaufv. ohne Wertpapiere (soweit unübl. Höhe)','A','E','AP_amount','4880');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4882','Abschr. a. Umlaufv. steuerrechtl. bedingt (unübl. Höhe)','A','E','AP_amount','4882');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4887','Abschr. a. Umlaufv., steuerrechtlich bedingt (übl. Höhe)','A','E','AP_amount','4887');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4890','Vorwegn. künftiger Wertschw. im Umlaufv. (unübl. Höhe)','A','E','AP_amount','4890');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4900','Sonstige betriebliche Aufwendungen','A','E','AP_amount','4900');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4905','Sonstige Aufwendungen betrieblich und regelmäßig','A','E','AP_amount','4905');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4910','Porto','A','E','AP_amount','4910');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4920','Telefon','A','E','AP_amount','4920');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4925','Telefax, Fernschreiber','A','E','AP_amount','4925');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4930','Bürobedarf','A','E','AP_amount','4930');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4940','Zeitschriften, Bücher','A','E','AP_amount','4940');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4945','Fortbildungskosten','A','E','AP_amount','4945');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4946','Freiwillige Sozialleistungen','A','E','AP_amount','4946');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4948','Vergütungen an freiberufliche Mitunternehmer §15 EStG','A','E','AP_amount','4948');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4950','Rechts- und Beratungskosten','A','E','AP_amount','4950');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4955','Buchführungskosten','A','E','AP_amount','4955');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4957','Abschluß- und Prüfungskosten','A','E','AP_amount','4957');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4960','Mieten für Einrichtungen','A','E','AP_amount','4960');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4968','Gewerbest. zu berücks. Miete f. Einrichtungen §8 GewStG','A','','','4968');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4969','Aufwendungen für Abraum- und Abfallbeseitigung','A','E','AP_amount','4969');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4970','Nebenkosten des Geldverkehrs','A','E','AP_amount','4970');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4980','Betriebsbedarf','A','E','AP_amount','4980');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4985','Werkzeuge und Kleingeräte','A','E','AP_amount','4985');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4996','Herstellungskosten','A','E','AP_amount','4996');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4997','Verwaltungskosten','A','E','AP_amount','4997');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4998','Vertriebskosten','A','E','AP_amount','4998');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('4999','Gegenkonto 49960-49980','A','','','4999');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('7140','Fertige Waren (Bestand)','A','A','IC','7140');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8100','Steuerfreie Umsätze o. VSt-Abzug §4 Nr.8 ff. UStG','A','I','AR_amount:IC_sale','8100');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8500','Provisionserlöse','A','I','AR_amount:IC_sale','8500');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8504','Provisionserlöse steuerfrei (§4 Nr.8ff UStG)','A','I','AR_amount:IC_sale','8504');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8505','Provisionserlöse steuerfrei (§4 Nr.5 UStG)','A','I','AR_amount:IC_sale','8505');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8506','Provisionserlöse, 7% USt','A','I','AR_amount:IC_sale','8506');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8507','Provisionserlöse, 15% Ust','A','I','AR_amount:IC_sale','8507');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8508','Provisionserlöse, 15%/16% USt','A','I','AR_amount:IC_sale','8508');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8509','Provisionserlöse, 16% Ust','A','I','AR_amount:IC_sale','8509');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8591','Sachbezüge, 7% USt (Waren)','A','I','AR_amount:IC_sale','8591');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8595','Sachbezüge, 15%/16% USt (Waren)','A','I','AR_amount:IC_sale','8595');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8596','Sachbezüge, 16% USt (Waren)','A','I','AR_amount:IC_sale','8596');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8597','Sachbezüge, 15% USt (Waren)','A','I','AR_amount:IC_sale','8597');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8630','Sonstige Erlöse betrieblich und regelmäßig, 7% USt','A','I','AR_amount:IC_sale','8630');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8645','Sonstige Erlöse betrieblich und regelmäßig, 16% Ust','A','I','AR_amount:IC_sale','8645');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8730','Gewährte Skonti','A','','','8730');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8731','Gewährte Skonti, 7% USt','A','','','8731');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8735','Gewährte Skonti, 16% Ust','A','','','8735');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8740','Gewährte Boni','A','','','8740');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8750','Gewährte Boni, 7% USt','A','','','8750');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8762','Gewährte Boni, 16% Ust','A','','','8762');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8770','Gewährte Rabatte','A','','','8770');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8780','Gewährte Rabatte, 7% USt','A','','','8780');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8792','Gewährte Rabatte, 16% Ust','A','','','8792');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8800','Erlöse aus Anlagenverkäufen','A','','','8800');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8801','Erlöse aus Anlagenverkäufen 15%/16% USt (bei Buchverlust)','A','','','8801');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8810','Erlöse aus Anlagenverkäufen 16% USt (bei Buchverlust)','A','','','8810');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8815','Erlöse aus Anlagenverkäufen 15% USt (bei Buchverlust)','A','','','8815');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8820','Erlöse aus Anlagenverkäufen 15%/16% USt (bei Buchgewinn)','A','','','8820');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8829','Erlöse aus Anlagenverkäufen (bei Buchgewinn)','A','','','8829');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8830','Erlöse aus Anlagenverkäufen 16% USt (bei Buchgewinn)','A','','','8830');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8835','Erlöse aus Anlagenverkäufen 15% USt (bei Buchgewinn)','A','','','8835');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8900','Eigenverbrauch','A','','','8900');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8905','Entnahme Gegenstände ohne USt','A','','','8905');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8908','Entnahme von Gegenstände, 16% USt §1 Abs.1 Nr.2a UStG','A','','','8908');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8909','Entnahme von Gegenstände, 15% USt §1 Abs.1 Nr.2a UStG','A','','','8909');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8910','Entnahme von Gegenstände, 15%/16% USt §1 Abs.1 Nr.2a UStG','A','','','8910');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8915','Entnahme von Gegenstände, 7% USt §1 Abs.1 Nr.2a UStG','A','','','8915');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8920','Entnahme v. sonst. Leist., 15%/16% USt §1 A.1 Nr.2b UStG','A','','','8920');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8930','Entnahme v. sonst. Leist., 7% USt §1 A.1 Nr.2b UStG','A','','','8930');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8937','Entnahme v. sonst. Leist., 16% USt §1 A.1 Nr.2b UStG','A','','','8937');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8938','Entnahme v. sonst. Leist., 15% USt §1 A.1 Nr.2b UStG','A','','','8938');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8939','Entnahme v. sonst. Leist., ohne USt §1 A.1 Nr.2b UStG','A','','','8939');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8941','Eigenverbr., 7% Ust §4 A.1 Nr.5 1-7, A.7 EStG','A','','','8941');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8942','Eigenverbr., 16% Ust §4 A.1 Nr.5 1-7, A.7 EStG','A','','','8942');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8944','Eigenverbr., ohne Ust §4 A.1 Nr.5 1-7, A.7 EStG','A','','','8944');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8950','Nicht steuerbare Umsätze','A','','','8950');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8955','Umsatzsteuervergütungen','A','','','8955');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8960','Bestandsveränd. - unfertige Erzeugnisse','A','','','8960');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8970','Bestandsveränd. - unfertige Leistungen','A','','','8970');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8975','Bestandsveränd. - in Ausführung befindliche Bauaufträge','A','','','8975');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8977','Bestandsveränd. - in Arbeit befindliche Aufträge','A','','','8977');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8980','Bestandsveränd. - fertige Erzeugnisse','A','','','8980');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8990','Bestandsveränd. - andere aktivierte Eigenleistungen','A','','','8990');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('9000','Saldenvorträge Sachkonten','A','','','9000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('9008','Saldenvorträge Debitoren','A','','','9008');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('9009','Saldenvorträge Kreditoren','A','','','9009');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('9100','Saldovortragskonto der Statistikkonten','A','','','9100');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('1800','Privatentn. allg. (Privat Vollhafter / Einzelunternehmer)','A','Q','','1800');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('2000','Außerordentliche Aufwendungen','A','A','','2000');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('1600','Verb. aus Lief. und Leist. Lieferantengruppe 0','A','L','AP:CT_tax','1600');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('3400','Wareneingang, 16% Vorsteuer','A','E','AP_amount:CT_tax','3400');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8400','Umsatzerlöse 16%','A','I','AR_amount:IC_sale:CT_tax','8400');
+INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('8840','Ertrge aus Kursdifferenzen','A','I','AR_amount:IC_sale:IC_income','8840');
+--
+insert into tax (chart_id,rate) values ((select id from chart where accno = '1571'),0.07);
+insert into tax (chart_id,rate) values ((select id from chart where accno = '1575'),0.16);
+insert into tax (chart_id,rate) values ((select id from chart where accno = '1576'),0.15);
+insert into tax (chart_id,rate) values ((select id from chart where accno = '1775'),0.16);
+insert into tax (chart_id,rate) values ((select id from chart where accno = '1776'),0.15);
+insert into tax (chart_id,rate) values ((select id from chart where accno = '3400'),0.16);
+insert into tax (chart_id,rate) values ((select id from chart where accno = '8400'),0.16);
+--
+update defaults set inventory_accno_id = (select id from chart where accno = '7140'), income_accno_id = (select id from chart where accno = '8400'), expense_accno_id = (select id from chart where accno = '4700'), fxgain_accno_id = (select id from chart where accno = '8840'), fxloss_accno_id = (select id from chart where accno = '8840'), invnumber = '1000', sonumber = '1000', ponumber = '1000', curr = 'EUR:USD', weightunit = 'kg';
+--
+
diff --git a/sql-ledger/sql/Germany-SKR03-gifi.sql b/sql-ledger/sql/Germany-SKR03-gifi.sql
new file mode 100644
index 0000000..7fc0ff6
--- /dev/null
+++ b/sql-ledger/sql/Germany-SKR03-gifi.sql
@@ -0,0 +1,1083 @@
+-- Kontenrahmen für Deutschland
+--
+INSERT INTO gifi (accno,description) VALUES ('0001', 'Aufw. f. die Ingangsetzung u. Erweit. des Geschäftsbetr.');
+INSERT INTO gifi (accno,description) VALUES ('0002', 'Aufw. f. die Währungsumstellung auf den EURO');
+INSERT INTO gifi (accno,description) VALUES ('0010', 'Konzess., gew. Schutzr. u. ähnl. Rechte/Werte sowie Liz.');
+INSERT INTO gifi (accno,description) VALUES ('0015', 'Konzessionen');
+INSERT INTO gifi (accno,description) VALUES ('0020', 'Gewerbliche Schutzrechte');
+INSERT INTO gifi (accno,description) VALUES ('0025', 'Ähnliche Rechte und Werte');
+INSERT INTO gifi (accno,description) VALUES ('0027', 'EDV-Software');
+INSERT INTO gifi (accno,description) VALUES ('0030', 'Lizenzen an gewerbl. Schutzr. u. ähnl. Rechten u. Werten');
+INSERT INTO gifi (accno,description) VALUES ('0035', 'Geschäfts- oder Firmenwert');
+INSERT INTO gifi (accno,description) VALUES ('0038', 'Anzahlungen auf Geschäfts- oder Firmenwert');
+INSERT INTO gifi (accno,description) VALUES ('0039', 'Anzahlungen auf immaterielle Vermögensgegenstände');
+INSERT INTO gifi (accno,description) VALUES ('0040', 'Verschmelzungsmehrwert');
+INSERT INTO gifi (accno,description) VALUES ('0050', 'Grundst., gl. Rechte/Bauten einschl. Bauten a. fr. Grundst.');
+INSERT INTO gifi (accno,description) VALUES ('0060', 'Grundstücke und grundstücksgleiche Rechte ohne Bauten');
+INSERT INTO gifi (accno,description) VALUES ('0065', 'Unbebaute Grundstücke');
+INSERT INTO gifi (accno,description) VALUES ('0070', 'Grundstücksgleiche Rechte (Erbbaurecht, Dauerwohnrecht)');
+INSERT INTO gifi (accno,description) VALUES ('0075', 'Grundstücke mit Substanzverzehr');
+INSERT INTO gifi (accno,description) VALUES ('0079', 'Anzahl. a. Grundst. u. grundstücksgl. Rechte ohne Bauten');
+INSERT INTO gifi (accno,description) VALUES ('0080', 'Bauten auf eigenen Grundst. und grundstücksgl. Rechten');
+INSERT INTO gifi (accno,description) VALUES ('0085', 'Grundstückswerte eigener bebauter Grundsstücke');
+INSERT INTO gifi (accno,description) VALUES ('0090', 'Geschäftsbauten');
+INSERT INTO gifi (accno,description) VALUES ('0100', 'Fabrikbauten');
+INSERT INTO gifi (accno,description) VALUES ('0110', 'Garagen');
+INSERT INTO gifi (accno,description) VALUES ('0111', 'Außenanlagen');
+INSERT INTO gifi (accno,description) VALUES ('0112', 'Hof- u. Wegebefestigungen');
+INSERT INTO gifi (accno,description) VALUES ('0113', 'Einrichtungen für Geschäfts- u. Fabrikbauten');
+INSERT INTO gifi (accno,description) VALUES ('0115', 'Andere Bauten');
+INSERT INTO gifi (accno,description) VALUES ('0120', 'Geschäfts-, Fabrik- u. andere Bauten im Bau');
+INSERT INTO gifi (accno,description) VALUES ('0129', 'Anz. a. Geschäfts-, Fabrik-, u.a. Bauten a. eig. Grundst+Rechte');
+INSERT INTO gifi (accno,description) VALUES ('0140', 'Wohnbauten');
+INSERT INTO gifi (accno,description) VALUES ('0145', 'Garagen');
+INSERT INTO gifi (accno,description) VALUES ('0146', 'Außenanlagen');
+INSERT INTO gifi (accno,description) VALUES ('0147', 'Hof- und Wegebefestigungen');
+INSERT INTO gifi (accno,description) VALUES ('0148', 'Einrichtungen für Wohnbauten');
+INSERT INTO gifi (accno,description) VALUES ('0150', 'Wohnbauten im Bau');
+INSERT INTO gifi (accno,description) VALUES ('0159', 'Anz. auf Wohnbauten auf eig. Grundstücken u. grundst.gl. Rechten');
+INSERT INTO gifi (accno,description) VALUES ('0160', 'Bauten auf fremden Grundstücken');
+INSERT INTO gifi (accno,description) VALUES ('0165', 'Geschäftsbauten');
+INSERT INTO gifi (accno,description) VALUES ('0170', 'Fabrikbauten');
+INSERT INTO gifi (accno,description) VALUES ('0175', 'Garagen');
+INSERT INTO gifi (accno,description) VALUES ('0176', 'Außenanlagen');
+INSERT INTO gifi (accno,description) VALUES ('0177', 'Hof- und Wegebefestigen');
+INSERT INTO gifi (accno,description) VALUES ('0178', 'Einrichtungen für Geschäfts- und Fabrikbauten');
+INSERT INTO gifi (accno,description) VALUES ('0179', 'Andere Bauten');
+INSERT INTO gifi (accno,description) VALUES ('0180', 'Geschäfts-, Fabrik- und andere Bauten im Bau');
+INSERT INTO gifi (accno,description) VALUES ('0189', 'Anzahl. a. Geschäfts-, Fabrik-, u.a. Bauten a. fr. Grundst.');
+INSERT INTO gifi (accno,description) VALUES ('0190', 'Wohnbauten');
+INSERT INTO gifi (accno,description) VALUES ('0191', 'Garagen');
+INSERT INTO gifi (accno,description) VALUES ('0192', 'Außenanlagen');
+INSERT INTO gifi (accno,description) VALUES ('0193', 'Hof- und Wegebefestigungen');
+INSERT INTO gifi (accno,description) VALUES ('0194', 'Einrichtungen für Wohnbauten');
+INSERT INTO gifi (accno,description) VALUES ('0195', 'Wohnbauten im Bau');
+INSERT INTO gifi (accno,description) VALUES ('0199', 'Anzahlungen auf Wohnbauten auf fremden Grundstücken');
+INSERT INTO gifi (accno,description) VALUES ('0200', 'Technische Anlagen und Maschinen');
+INSERT INTO gifi (accno,description) VALUES ('0210', 'Maschinen');
+INSERT INTO gifi (accno,description) VALUES ('0220', 'Maschinengebundene Werkzeuge');
+INSERT INTO gifi (accno,description) VALUES ('0240', 'Maschinelle Anlagen');
+INSERT INTO gifi (accno,description) VALUES ('0260', 'Transportanlagen und ähnliches');
+INSERT INTO gifi (accno,description) VALUES ('0280', 'Betriebsvorrichtungen');
+INSERT INTO gifi (accno,description) VALUES ('0290', 'Technische Anlagen und Maschinen im Bau');
+INSERT INTO gifi (accno,description) VALUES ('0299', 'Anzahlungen auf technische Anlagen und Maschinen');
+INSERT INTO gifi (accno,description) VALUES ('0300', 'Andere Anlagen, Betriebs- und Geschäftsausstattung');
+INSERT INTO gifi (accno,description) VALUES ('0310', 'Andere Anlagen');
+INSERT INTO gifi (accno,description) VALUES ('0320', 'Pkw');
+INSERT INTO gifi (accno,description) VALUES ('0350', 'Lkw');
+INSERT INTO gifi (accno,description) VALUES ('0380', 'Sonstige Transportmittel');
+INSERT INTO gifi (accno,description) VALUES ('0400', 'Betriebsausstattung');
+INSERT INTO gifi (accno,description) VALUES ('0410', 'Geschäftsausstattung');
+INSERT INTO gifi (accno,description) VALUES ('0420', 'Büroeinrichtung');
+INSERT INTO gifi (accno,description) VALUES ('0430', 'Ladeneinrichtung');
+INSERT INTO gifi (accno,description) VALUES ('0440', 'Werkzeuge');
+INSERT INTO gifi (accno,description) VALUES ('0450', 'Einbauten');
+INSERT INTO gifi (accno,description) VALUES ('0460', 'Gerüst- und Schalungsmaterial');
+INSERT INTO gifi (accno,description) VALUES ('0480', 'Geringwertige Wirtschaftsgüter bis DM 800,-');
+INSERT INTO gifi (accno,description) VALUES ('0490', 'Sonstige Betriebs- und Geschäftsausstattung');
+INSERT INTO gifi (accno,description) VALUES ('0498', 'Andere Anlagen, Betriebs- und Geschäftsausstatt. im Bau');
+INSERT INTO gifi (accno,description) VALUES ('0499', 'Anzahl. a. andere Anlagen, Betriebs- u. Geschäftsausstatt.');
+INSERT INTO gifi (accno,description) VALUES ('0500', 'Anteile an verbundenen Unternehmen (Anlagevermögen)');
+INSERT INTO gifi (accno,description) VALUES ('0504', 'Anteile an herrschender oder mit Mehrheit beteiligter Gesellschaft');
+INSERT INTO gifi (accno,description) VALUES ('0505', 'Ausleihungen an verbundene Unternehmen');
+INSERT INTO gifi (accno,description) VALUES ('0510', 'Beteiligungen');
+INSERT INTO gifi (accno,description) VALUES ('0513', 'Typisch stille Beteiligungen');
+INSERT INTO gifi (accno,description) VALUES ('0516', 'Atypisch stille Beteiligungen');
+INSERT INTO gifi (accno,description) VALUES ('0517', 'Andere Beteiligungen an Kapitalgesellschaften');
+INSERT INTO gifi (accno,description) VALUES ('0518', 'Andere Beteiligungen an Personengesellschaften');
+INSERT INTO gifi (accno,description) VALUES ('0519', 'Beteiligung einer GmbH&CoKG an einer Komplementär GmbH');
+INSERT INTO gifi (accno,description) VALUES ('0520', 'Ausleihung an Untern. m.d.e. Beteiligungsverhältnis besteht');
+INSERT INTO gifi (accno,description) VALUES ('0525', 'Wertpapiere des Anlagevermögens');
+INSERT INTO gifi (accno,description) VALUES ('0530', 'Wertpapiere mit Gewinnbeteiligungsansprüchen');
+INSERT INTO gifi (accno,description) VALUES ('0535', 'Festverzinsliche Wertpapiere');
+INSERT INTO gifi (accno,description) VALUES ('0540', 'Sonstige Ausleihungen');
+INSERT INTO gifi (accno,description) VALUES ('0550', 'Darlehen / Sonstige Ausleihungen');
+INSERT INTO gifi (accno,description) VALUES ('0570', 'Genossenschaftsanteile zum langfristigen Verbleib');
+INSERT INTO gifi (accno,description) VALUES ('0580', 'Ausleihungen an Gesellschafter');
+INSERT INTO gifi (accno,description) VALUES ('0590', 'Ausleihungen an nahestehende Personen');
+INSERT INTO gifi (accno,description) VALUES ('0595', 'Rückdeckungsanspr. a. Lebensvers. z. langfrist. Verbleib');
+INSERT INTO gifi (accno,description) VALUES ('0600', 'Anleihen nicht konvertibel');
+INSERT INTO gifi (accno,description) VALUES ('0601', 'Anleihen nicht konvertibel - Restlaufzeit bis 1 Jahr');
+INSERT INTO gifi (accno,description) VALUES ('0605', 'Anleihen nicht konvertibel - Restlaufzeit 1 bis 5 Jahre');
+INSERT INTO gifi (accno,description) VALUES ('0610', 'Anleihen nicht konvertibel - Restlaufzeit größer 5 Jahre');
+INSERT INTO gifi (accno,description) VALUES ('0615', 'Anleihen konvertibel');
+INSERT INTO gifi (accno,description) VALUES ('0616', 'Anleihen konvertibel - Restlaufzeit bis 1 Jahr');
+INSERT INTO gifi (accno,description) VALUES ('0620', 'Anleihen konvertibel - Restlaufzeit 1 bis 5 Jahre');
+INSERT INTO gifi (accno,description) VALUES ('0625', 'Anleihen konvertibel - Restlaufzeit größer 5 Jahre');
+INSERT INTO gifi (accno,description) VALUES ('0630', 'Verbindlichkeiten gegenüber Kreditinstituten');
+INSERT INTO gifi (accno,description) VALUES ('0631', 'Verb. gg. Kreditinstituten - Restlaufz. bis 1 Jahr');
+INSERT INTO gifi (accno,description) VALUES ('0640', 'Verb. gg. Kreditinstituten - Restlaufz. 1 bis 5 Jahre');
+INSERT INTO gifi (accno,description) VALUES ('0650', 'Verb. gg. Kreditinstituten - Restlaufz. größer 5 Jahre');
+INSERT INTO gifi (accno,description) VALUES ('0660', 'Verbindlichkeiten gg. Kreditinst. aus TZ-Verträgen');
+INSERT INTO gifi (accno,description) VALUES ('0661', 'Verb. gg. Kreditinst. aus TZ-Verträgen - Restl. bis 1 J.');
+INSERT INTO gifi (accno,description) VALUES ('0670', 'Verb. gg. Kreditinst. aus TZ-Verträgen - Restl. 1 bis 5 J.');
+INSERT INTO gifi (accno,description) VALUES ('0680', 'Verb. gg. Kreditinst. aus TZ-Verträgen - Restl. größer 5 J.');
+INSERT INTO gifi (accno,description) VALUES ('0700', 'Verbindlichkeiten gg. verbundenen Unternehmen');
+INSERT INTO gifi (accno,description) VALUES ('0701', 'Verb. gg. verbundenen Unternehmen - Restlaufz. b. 1 J.');
+INSERT INTO gifi (accno,description) VALUES ('0705', 'Verb. gg. verbundenen Unternehmen - Restlaufz. 1 b. 5 J.');
+INSERT INTO gifi (accno,description) VALUES ('0710', 'Verb. gg. verb. Untern. - Restlaufz. gr. 5 J.');
+INSERT INTO gifi (accno,description) VALUES ('0715', 'Verb. gg. Untern. mit denen ein Beteiligungsverh. besteht');
+INSERT INTO gifi (accno,description) VALUES ('0716', 'Verb. gg. U. m.d.e. Beteiligungsv. best. - Restl. b. 1 J');
+INSERT INTO gifi (accno,description) VALUES ('0720', 'Verb. gg. U. m.d.e. Beteiligungsv. best. - Restl. 1 b. 5 J');
+INSERT INTO gifi (accno,description) VALUES ('0725', 'Verb. gg. U. m.d.e. Beteiligungsv. best. - Restl. gr. 5 J');
+INSERT INTO gifi (accno,description) VALUES ('0730', 'Verbindlichkeiten gegenüber Gesellschaftern');
+INSERT INTO gifi (accno,description) VALUES ('0731', 'Verb. gg. Gesellschaftern - Restlaufz. bis 1 Jahr');
+INSERT INTO gifi (accno,description) VALUES ('0740', 'Verb. gg. Gesellschaftern - Restlaufz. 1 bis 5 Jahre');
+INSERT INTO gifi (accno,description) VALUES ('0750', 'Verb. gg. Gesellschaftern - Restlaufz. größer 5 Jahre');
+INSERT INTO gifi (accno,description) VALUES ('0755', 'Verb. gg. Gesellschaftern für offene Ausschüttungen');
+INSERT INTO gifi (accno,description) VALUES ('0760', 'Darlehen typisch stiller Gesellschafter');
+INSERT INTO gifi (accno,description) VALUES ('0761', 'Darlehen typ. stiller Gesellschafter - Restlaufz. bis 1 Jahr');
+INSERT INTO gifi (accno,description) VALUES ('0764', 'Darlehen typ. stiller Gesellschafter - Restlaufz. 1 bis 5 J.');
+INSERT INTO gifi (accno,description) VALUES ('0767', 'Darlehen typ. stiller Gesellschafter - Restlaufz. größer 5 J.');
+INSERT INTO gifi (accno,description) VALUES ('0770', 'Darlehen atypisch stiller Gesellschafter');
+INSERT INTO gifi (accno,description) VALUES ('0771', 'Darlehen atyp. stiller Gesellsch.- Restlaufz. bis 1 J.');
+INSERT INTO gifi (accno,description) VALUES ('0774', 'Darlehen atyp. stiller Gesellsch.- Restlaufz. 1 bis 5 J.');
+INSERT INTO gifi (accno,description) VALUES ('0777', 'Darlehen atyp. stiller Gesellsch.- Restlaufz. größer 5 J.');
+INSERT INTO gifi (accno,description) VALUES ('0780', 'Partiarische Darlehen');
+INSERT INTO gifi (accno,description) VALUES ('0781', 'Partiarische Darlehen - Restlaufzeit bis 1 Jahr');
+INSERT INTO gifi (accno,description) VALUES ('0784', 'Partiarische Darlehen - Restlaufzeit 1 bis 5 Jahre');
+INSERT INTO gifi (accno,description) VALUES ('0787', 'Partiarische Darlehen - Restlaufzeit größer 5 Jahre');
+INSERT INTO gifi (accno,description) VALUES ('0800', 'Gezeichnetes Kapital');
+INSERT INTO gifi (accno,description) VALUES ('0801', 'Ausst. Einl. a.d. gez. Kapital, nicht eingef. (Aktivausw.)');
+INSERT INTO gifi (accno,description) VALUES ('0810', 'Ausst. Einl. a.d. gez. Kapital, eingeford. (Aktivausw.)');
+INSERT INTO gifi (accno,description) VALUES ('0820', 'Ausst. Einl. a.d. gez. Kapital, nicht eingef. (Passivausw.)');
+INSERT INTO gifi (accno,description) VALUES ('0830', 'Ausst. Einl. a.d. gez. Kapital, eingef. (Passivausw.)');
+INSERT INTO gifi (accno,description) VALUES ('0839', 'Eingeforderte Nachschüsse');
+INSERT INTO gifi (accno,description) VALUES ('0840', 'Kapitalrücklage');
+INSERT INTO gifi (accno,description) VALUES ('0841', 'Kapitalrückl. durch Ausgabe von Anteilen über Nennbetrag');
+INSERT INTO gifi (accno,description) VALUES ('0842', 'Kap.Rückl. Schuldver. f. Wandl.- u. Optionsr. z. Erw. v. Ant');
+INSERT INTO gifi (accno,description) VALUES ('0843', 'Kapitalrückl. d. Zuzahl. gg. Gewähr e. Vorzuges f. Anteile');
+INSERT INTO gifi (accno,description) VALUES ('0844', 'Kapitalrückl. d. andere Zuzahlungen in das Eigenkapital');
+INSERT INTO gifi (accno,description) VALUES ('0845', 'Eingefordertes Nachschußkapital');
+INSERT INTO gifi (accno,description) VALUES ('0846', 'Gesetzliche Rücklage');
+INSERT INTO gifi (accno,description) VALUES ('0847', 'Gesetzliche Rücklage 50/45% Vorbelastung');
+INSERT INTO gifi (accno,description) VALUES ('0848', 'Gesetzliche Rücklage 30% Vorbelastung');
+INSERT INTO gifi (accno,description) VALUES ('0849', 'Gesetzliche Rücklage 0% Vorbelastung');
+INSERT INTO gifi (accno,description) VALUES ('0850', 'Rücklage für eigene Anteile');
+INSERT INTO gifi (accno,description) VALUES ('0851', 'Satzungsmäßige Rücklagen');
+INSERT INTO gifi (accno,description) VALUES ('0852', 'Satzungsmäßige Rücklage 50/45% Vorbelastung');
+INSERT INTO gifi (accno,description) VALUES ('0853', 'Satzungsmäßige Rücklage 30% Vorbelastung');
+INSERT INTO gifi (accno,description) VALUES ('0854', 'Satzungsmäßige Rücklage 0% Vorbelastung');
+INSERT INTO gifi (accno,description) VALUES ('0855', 'Andere Gewinnrücklagen 50/45% Vorbelastung');
+INSERT INTO gifi (accno,description) VALUES ('0856', 'Eigenkapitalanteil von Wertaufholungen');
+INSERT INTO gifi (accno,description) VALUES ('0857', 'Eigenkapitalanteil von Preissteigerungsrücklagen');
+INSERT INTO gifi (accno,description) VALUES ('0858', 'Andere Gewinnrücklagen 30% Vorbelastung');
+INSERT INTO gifi (accno,description) VALUES ('0859', 'Andere Gewinnrücklagen 0% Vorbelastung');
+INSERT INTO gifi (accno,description) VALUES ('0860', 'Gewinnvortrag vor Verwendung');
+INSERT INTO gifi (accno,description) VALUES ('0862', 'Gewinnvortrag 50/45% Vorbelastung');
+INSERT INTO gifi (accno,description) VALUES ('0864', 'Gewinnvortrag 30% Vorbelastung');
+INSERT INTO gifi (accno,description) VALUES ('0866', 'Gewinnvortrag 0% Vorbelastung');
+INSERT INTO gifi (accno,description) VALUES ('0868', 'Verlustvortrag vor Verwendung');
+INSERT INTO gifi (accno,description) VALUES ('0869', 'Vorträge auf neue Rechnung (Bilanz)');
+INSERT INTO gifi (accno,description) VALUES ('0870', 'Festkapital (Personenges. Vollhafter / Einzelu.)');
+INSERT INTO gifi (accno,description) VALUES ('0880', 'Variables Kapital (Personenges. Vollhaft. / Einzelu.)');
+INSERT INTO gifi (accno,description) VALUES ('0890', 'Gesellsch.-Darlehen (Personenges. Vollhaft. / Einzelu.)');
+INSERT INTO gifi (accno,description) VALUES ('0900', 'Kommandit-Kapital (Personenges. Teilhafter)');
+INSERT INTO gifi (accno,description) VALUES ('0910', 'Verlustausgleichskonto (Personenges. Teilhafter)');
+INSERT INTO gifi (accno,description) VALUES ('0920', 'Gesellschafter-Darlehen (Personenges. Teilhafter)');
+INSERT INTO gifi (accno,description) VALUES ('0930', 'Sonderposten mit Rücklageanteil');
+INSERT INTO gifi (accno,description) VALUES ('0931', 'Sonderposten mit Rücklageanteil §6b EStG');
+INSERT INTO gifi (accno,description) VALUES ('0932', 'Sonderposten mit Rücklageanteil Abschnitt 35 EStR');
+INSERT INTO gifi (accno,description) VALUES ('0933', 'Sonderposten mit Rücklageanteil §6dEStG');
+INSERT INTO gifi (accno,description) VALUES ('0934', 'Sonderposten mit Rücklageanteil §1 EntwLStG');
+INSERT INTO gifi (accno,description) VALUES ('0935', 'Sonderposten mit Rücklageanteil §3 Ausl-InvG');
+INSERT INTO gifi (accno,description) VALUES ('0936', 'Sonderposten mit Rücklageanteil §7d EStG');
+INSERT INTO gifi (accno,description) VALUES ('0937', 'Sonderposten mit Rücklageanteil §79 EStDV');
+INSERT INTO gifi (accno,description) VALUES ('0938', 'Sonderposten mit Rücklageanteil §80 EStDV');
+INSERT INTO gifi (accno,description) VALUES ('0939', 'Sonderposten mit Rücklageanteil §81 EStDV');
+INSERT INTO gifi (accno,description) VALUES ('0940', 'Sonderposten mit Rücklageanteil §82 EStDV');
+INSERT INTO gifi (accno,description) VALUES ('0941', 'Sonderposten mit Rücklageanteil §82a EStDV');
+INSERT INTO gifi (accno,description) VALUES ('0942', 'Sonderposten mit Rücklageanteil §82d EStDV');
+INSERT INTO gifi (accno,description) VALUES ('0943', 'Sonderposten mit Rücklageanteil §82e EStDV');
+INSERT INTO gifi (accno,description) VALUES ('0944', 'Sonderposten mit Rücklageanteil §14 BerlinFG');
+INSERT INTO gifi (accno,description) VALUES ('0945', 'Sonderposten mit Rücklageanteil §3 ZonenRFG / §4-6 FördergebietsG');
+INSERT INTO gifi (accno,description) VALUES ('0946', 'Sonderposten mit Rücklageanteil §52 Abs. 5 EStG');
+INSERT INTO gifi (accno,description) VALUES ('0947', 'Sonderposten mit Rücklageanteil §7g Abs. 1 EStG');
+INSERT INTO gifi (accno,description) VALUES ('0948', 'Sonderposten mit Rücklageanteil §7g Abs. 3 EStG');
+INSERT INTO gifi (accno,description) VALUES ('0949', 'Sonderposten mit Rücklageanteil §74 EStDV');
+INSERT INTO gifi (accno,description) VALUES ('0950', 'Rückstellungen für Pensionen und ähnliche Verpflichtungen');
+INSERT INTO gifi (accno,description) VALUES ('0955', 'Steuerrückstellungen');
+INSERT INTO gifi (accno,description) VALUES ('0957', 'Gewerbesteuerrückstellung');
+INSERT INTO gifi (accno,description) VALUES ('0963', 'Körperschaftsteuerrückstellung');
+INSERT INTO gifi (accno,description) VALUES ('0969', 'Rückstellungen für latente Steuern');
+INSERT INTO gifi (accno,description) VALUES ('0970', 'Sonstige Rückstellungen');
+INSERT INTO gifi (accno,description) VALUES ('0971', 'Rückst. unterl. Aufw. Instandhalt., Nachhol. in 3 Mon');
+INSERT INTO gifi (accno,description) VALUES ('0972', 'Rückst. unterl. Aufw. Instandhalt., Nachhol. in 4-12 Mon');
+INSERT INTO gifi (accno,description) VALUES ('0973', 'Rückstellungen für Abraum- und Abfallbeseitigung');
+INSERT INTO gifi (accno,description) VALUES ('0974', 'Rückstellungen für Gewährleistungen');
+INSERT INTO gifi (accno,description) VALUES ('0976', 'Rückst. f. drohende Verluste a. schwebenden Geschäften');
+INSERT INTO gifi (accno,description) VALUES ('0977', 'Rückstellungen für Abschluß- und Prüfungskosten');
+INSERT INTO gifi (accno,description) VALUES ('0978', 'Aufwandsrückstellungen gemäß § 249 Abs. 2 HGB');
+INSERT INTO gifi (accno,description) VALUES ('0979', 'Rückstellungen für den Umweltschutz');
+INSERT INTO gifi (accno,description) VALUES ('0980', 'Aktive Rechnungsabgrenzung');
+INSERT INTO gifi (accno,description) VALUES ('0983', 'Abgrenzung aktive latente Steuern');
+INSERT INTO gifi (accno,description) VALUES ('0984', 'Als Aufwand berücks. Zölle u. Verbrauchsst. a. Vorräte');
+INSERT INTO gifi (accno,description) VALUES ('0985', 'Als Aufwand berücks. Umsatzsteuer auf Anzahlungen');
+INSERT INTO gifi (accno,description) VALUES ('0986', 'Damnum / Disagio');
+INSERT INTO gifi (accno,description) VALUES ('0990', 'Passive Rechnungsabgrenzung');
+INSERT INTO gifi (accno,description) VALUES ('0992', 'Wertber.n (zur unterjährigen Kostenverrechnung f. BWA)');
+INSERT INTO gifi (accno,description) VALUES ('0996', 'Pauschalwertberichtigung a. Ford. - Restlaufz. bis 1 Jahr');
+INSERT INTO gifi (accno,description) VALUES ('0997', 'Pauschalwertberichtigung a. Ford. - Restlaufz. größer 1 Jahr');
+INSERT INTO gifi (accno,description) VALUES ('0998', 'Einzelwertberichtigung a. Ford. - Restlaufz. bis 1 Jahr');
+INSERT INTO gifi (accno,description) VALUES ('0999', 'Einzelwertberichtigung a. Ford. - Restlaufz. größer 1 Jahr');
+INSERT INTO gifi (accno,description) VALUES ('1000', 'Kasse');
+INSERT INTO gifi (accno,description) VALUES ('1010', 'Nebenkasse 1');
+INSERT INTO gifi (accno,description) VALUES ('1020', 'Nebenkasse 2');
+INSERT INTO gifi (accno,description) VALUES ('1100', 'Postgiro');
+INSERT INTO gifi (accno,description) VALUES ('1110', 'Postgiro 1');
+INSERT INTO gifi (accno,description) VALUES ('1120', 'Postgiro 2');
+INSERT INTO gifi (accno,description) VALUES ('1130', 'Postgiro 3');
+INSERT INTO gifi (accno,description) VALUES ('1190', 'LZB-Guthaben');
+INSERT INTO gifi (accno,description) VALUES ('1195', 'Bundesbankguthaben');
+INSERT INTO gifi (accno,description) VALUES ('1200', 'Bank-Giro');
+INSERT INTO gifi (accno,description) VALUES ('1210', 'Bank-Giro 1');
+INSERT INTO gifi (accno,description) VALUES ('1220', 'Bank-Giro 2');
+INSERT INTO gifi (accno,description) VALUES ('1230', 'Bank-Giro 3');
+INSERT INTO gifi (accno,description) VALUES ('1300', 'Wechsel aus Lieferungen und Leistungen');
+INSERT INTO gifi (accno,description) VALUES ('1301', 'Wechsel aus Lieferungen u. Leistungen - Restlaufz. bis 1 J.');
+INSERT INTO gifi (accno,description) VALUES ('1302', 'Wechsel aus Lieferungen u. Leistungen - Restl. größer 1 J.');
+INSERT INTO gifi (accno,description) VALUES ('1305', 'Wechsel aus Lieferungen u. Leistungen, bundesbankfähig');
+INSERT INTO gifi (accno,description) VALUES ('1310', 'Besitzwechsel gg. verbundenen Unternehmen');
+INSERT INTO gifi (accno,description) VALUES ('1311', 'Besitzwechsel gg. verbundenen Untern. - Restl. b. 1 J.');
+INSERT INTO gifi (accno,description) VALUES ('1312', 'Besitzwechsel gg. verbundenen Untern. - Restl. gr. 1 J.');
+INSERT INTO gifi (accno,description) VALUES ('1315', 'Besitzwechsel gg. verb. Unternehmen, bundesbankfähig');
+INSERT INTO gifi (accno,description) VALUES ('1320', 'Besitzwechsel gg. Untern. m.d.e. Beteiligungsverh. best.');
+INSERT INTO gifi (accno,description) VALUES ('1321', 'Besitzwechsel gg. U. m.d.e. Beteilig. best. - Restl. b. 1 J');
+INSERT INTO gifi (accno,description) VALUES ('1322', 'Besitzwechsel gg. U. m.d.e. Beteilig. best. - Restl. gr. 1 J');
+INSERT INTO gifi (accno,description) VALUES ('1325', 'Besitzwechsel gg. U. m.d.e. Beteilig. best., bundsbankfähig');
+INSERT INTO gifi (accno,description) VALUES ('1327', 'Finanzwechsel');
+INSERT INTO gifi (accno,description) VALUES ('1330', 'Schecks');
+INSERT INTO gifi (accno,description) VALUES ('1340', 'Anteile an verb. Unternehmen (Umlaufvermögen)');
+INSERT INTO gifi (accno,description) VALUES ('1344', 'Anteile an herrschender oder mit Mehrheit beteiligter Gesellschaft');
+INSERT INTO gifi (accno,description) VALUES ('1345', 'Eigene Anteile');
+INSERT INTO gifi (accno,description) VALUES ('1348', 'Sonstige Wertpapiere');
+INSERT INTO gifi (accno,description) VALUES ('1350', 'GmbH-Anteile zum kurzfristigen Verbleib');
+INSERT INTO gifi (accno,description) VALUES ('1352', 'Genossenschaftsanteile zum kurzfristigen Verbleib');
+INSERT INTO gifi (accno,description) VALUES ('1355', 'Ansprüche aus Rückdeckungsversicherungen');
+INSERT INTO gifi (accno,description) VALUES ('1360', 'Geldtransit Bank');
+INSERT INTO gifi (accno,description) VALUES ('1361', 'Geldtransit Bank 1');
+INSERT INTO gifi (accno,description) VALUES ('1362', 'Geldtransit Bank 2');
+INSERT INTO gifi (accno,description) VALUES ('1363', 'Geldtransit Bank 3');
+INSERT INTO gifi (accno,description) VALUES ('1369', 'Interne Umbuchung');
+INSERT INTO gifi (accno,description) VALUES ('1370', 'Verrechnungskonto Gewinnermittlung §4/3 EStG, ergebniswirksam');
+INSERT INTO gifi (accno,description) VALUES ('1371', 'Verrechnungskonto für Gewinnermittl. §4/3EStG, nicht ergebniswirksam');
+INSERT INTO gifi (accno,description) VALUES ('1380', 'Überleitungskonto Kostenstelle');
+INSERT INTO gifi (accno,description) VALUES ('1390', 'Verrechnungskonto Ist-Versteuerung');
+INSERT INTO gifi (accno,description) VALUES ('1400', 'Forderungen aus Lief. und Leist. Kundengruppe 0');
+INSERT INTO gifi (accno,description) VALUES ('1401', 'Forderungen aus Lief. und Leist. Kundengruppe 1');
+INSERT INTO gifi (accno,description) VALUES ('1402', 'Forderungen aus Lief. und Leist. Kundengruppe 2');
+INSERT INTO gifi (accno,description) VALUES ('1410', 'Forderungen aus Lief. und Leist. ohne Kontokorrent');
+INSERT INTO gifi (accno,description) VALUES ('1450', 'Forderungen nach §11, Abs.1 Satz 2 EStG für § 4/3 EStG');
+INSERT INTO gifi (accno,description) VALUES ('1451', 'Ford.a.Lief.u.Leist. ohne Kontokorrent - Restlaufz. b. 1 J.');
+INSERT INTO gifi (accno,description) VALUES ('1455', 'Ford.a.Lief.u.Leist. ohne Kontokorrent - Restlaufz. gr.1 J.');
+INSERT INTO gifi (accno,description) VALUES ('1460', 'Zweifelhafte Forderungen');
+INSERT INTO gifi (accno,description) VALUES ('1461', 'Zweifelhafte Forderungen - Restlaufzeit bis 1 Jahr');
+INSERT INTO gifi (accno,description) VALUES ('1465', 'Zweifelhafte Forderungen - Restlaufzeit größer 1 Jahr');
+INSERT INTO gifi (accno,description) VALUES ('1470', 'Ford.a.Lief.u.Leist. gg. verbundenen Unternehmen');
+INSERT INTO gifi (accno,description) VALUES ('1471', 'Ford.a.Lief.u.Leist. gg. verb. Untern. - Restl. bis 1 J.');
+INSERT INTO gifi (accno,description) VALUES ('1475', 'Ford.a.Lief.u.Leist. gg. verb. Untern. - Restl. größer 1 J.');
+INSERT INTO gifi (accno,description) VALUES ('1478', 'Wertber. a. Ford.a.L.u.L. gg. verb. U. - Restl. b. 1 J.');
+INSERT INTO gifi (accno,description) VALUES ('1479', 'Wertber. a. Ford.a.L.u.L. gg. verb. U. - Restl. gr. 1 J.');
+INSERT INTO gifi (accno,description) VALUES ('1480', 'Ford.a.L.u.L. gg. Untern. m.d.e. Beteiligungsverh. best.');
+INSERT INTO gifi (accno,description) VALUES ('1481', 'Ford.a.L.u.L. gg. U. m.d.e. Beteilig. best. - Restl. b. 1 J');
+INSERT INTO gifi (accno,description) VALUES ('1485', 'Ford.a.L.u.L. gg. U. m.d.e. Beteilig. best. - Restl. gr. 1 J');
+INSERT INTO gifi (accno,description) VALUES ('1488', 'Wertber. a. Ford. Restl. b. 1 J. gg. U. m.d.e. Beteilig.');
+INSERT INTO gifi (accno,description) VALUES ('1489', 'Wertber. a. Ford. Restl. gr. 1 J. gg. U. m.d.e. Beteilig.');
+INSERT INTO gifi (accno,description) VALUES ('1490', 'Ford.a.Lief.u.Leist. gegen Gesellschafter');
+INSERT INTO gifi (accno,description) VALUES ('1491', 'Ford.a.Lief.u.Leist. gg. Gesellsch.- Restlaufz. bis 1 J.');
+INSERT INTO gifi (accno,description) VALUES ('1495', 'Ford.a.Lief.u.Leist. gg. Gesellsch.- Restlaufz. größer 1 J.');
+INSERT INTO gifi (accno,description) VALUES ('1499', 'Gegenkonto 14510-14980 bei Aufteilung Debitoren');
+INSERT INTO gifi (accno,description) VALUES ('1500', 'Sonstige Vermögensgegenstände');
+INSERT INTO gifi (accno,description) VALUES ('1501', 'Sonstige Vermögensgegenstände - Restlaufz. bis 1 Jahr');
+INSERT INTO gifi (accno,description) VALUES ('1502', 'Sonstige Vermögensgegenstände - Restlaufz. größer 1 Jahr');
+INSERT INTO gifi (accno,description) VALUES ('1503', 'Ford. gg. Vorstandsmitgl. u. Geschäftsf. - Restl. b. 1 J.');
+INSERT INTO gifi (accno,description) VALUES ('1504', 'Ford. gg. Vorstandsmitgl. u. Geschäftsf. - Restl. gr. 1 J.');
+INSERT INTO gifi (accno,description) VALUES ('1505', 'Ford. gg. Aufsichtsrats- u. Beiratsmitgl. - Restl. b. 1 J.');
+INSERT INTO gifi (accno,description) VALUES ('1506', 'Ford. gg. Aufsichtsrats- u. Beiratsmitgl. - Restl. gr. 1 J.');
+INSERT INTO gifi (accno,description) VALUES ('1507', 'Ford. gg. Gesellschafter - Restlaufzeit bis 1 Jahr');
+INSERT INTO gifi (accno,description) VALUES ('1508', 'Ford. gg. Gesellschafter - Restlaufzeit größer 1 Jahr');
+INSERT INTO gifi (accno,description) VALUES ('1510', 'Geleistete Anzahlungen auf Vorräte');
+INSERT INTO gifi (accno,description) VALUES ('1511', 'Geleistete Anzahlungen, 7% Vorsteuer');
+INSERT INTO gifi (accno,description) VALUES ('1516', 'Geleistete Anzahlungen, 15% Vorsteuer');
+INSERT INTO gifi (accno,description) VALUES ('1517', 'Geleistete Anzahlungen, 16% Vorsteuer');
+INSERT INTO gifi (accno,description) VALUES ('1521', 'Agenturwarenabrechnung');
+INSERT INTO gifi (accno,description) VALUES ('1525', 'Kautionen');
+INSERT INTO gifi (accno,description) VALUES ('1526', 'Kautionen - Restlaufzeit bis 1 Jahr');
+INSERT INTO gifi (accno,description) VALUES ('1527', 'Kautionen - Restlaufzeit größer 1 Jahr');
+INSERT INTO gifi (accno,description) VALUES ('1530', 'Forderungen gegen Personal');
+INSERT INTO gifi (accno,description) VALUES ('1531', 'Forderungen gegen Personal - Restlaufzeit bis 1 Jahr');
+INSERT INTO gifi (accno,description) VALUES ('1537', 'Forderungen gegen Personal - Restlaufzeit größer 1 Jahr');
+INSERT INTO gifi (accno,description) VALUES ('1540', 'Steuerüberzahlungen');
+INSERT INTO gifi (accno,description) VALUES ('1542', 'Steuererstattungsansprüche gg. anderen EU-Ländern');
+INSERT INTO gifi (accno,description) VALUES ('1545', 'Umsatzsteuerforderungen');
+INSERT INTO gifi (accno,description) VALUES ('1547', 'Forderungen aus entrichteten Verbrauchssteuern');
+INSERT INTO gifi (accno,description) VALUES ('1548', 'Vorsteuer im Folgejahr abziehbar');
+INSERT INTO gifi (accno,description) VALUES ('1549', 'Körperschaftsteuerrückforderung');
+INSERT INTO gifi (accno,description) VALUES ('1550', 'Darlehen');
+INSERT INTO gifi (accno,description) VALUES ('1551', 'Darlehen - Restlaufzeit bis 1 Jahr');
+INSERT INTO gifi (accno,description) VALUES ('1555', 'Darlehen - Restlaufzeit größer 1 Jahr');
+INSERT INTO gifi (accno,description) VALUES ('1560', 'Aufzuteilende Vorsteuer');
+INSERT INTO gifi (accno,description) VALUES ('1561', 'Aufzuteilende Vorsteuer, 7%');
+INSERT INTO gifi (accno,description) VALUES ('1562', 'Aufzuteilende Vorsteuer aus ig. Erwerb');
+INSERT INTO gifi (accno,description) VALUES ('1565', 'Aufzuteilende Vorsteuer, 16 %');
+INSERT INTO gifi (accno,description) VALUES ('1566', 'Aufzuteilende Vorsteuer, 15 %');
+INSERT INTO gifi (accno,description) VALUES ('1570', 'Abziehbare Vorsteuer');
+INSERT INTO gifi (accno,description) VALUES ('1571', 'Abziehbare Vorsteuer, 7%');
+INSERT INTO gifi (accno,description) VALUES ('1572', 'Abziehbare Vorsteuer aus ig. Erwerb');
+INSERT INTO gifi (accno,description) VALUES ('1573', 'Abziehbare Vorsteuer aus ig. Erwerb, 16%');
+INSERT INTO gifi (accno,description) VALUES ('1575', 'Abziehbare Vorsteuer, 16%');
+INSERT INTO gifi (accno,description) VALUES ('1576', 'Abziehbare Vorsteuer, 15%');
+INSERT INTO gifi (accno,description) VALUES ('1577', 'Vorsteuer nach allg. Durchschnittssätzen UStVA KZ 63');
+INSERT INTO gifi (accno,description) VALUES ('1578', 'Berichtigung des VSt-Abzugs früherer Jahre UStVA KZ 64');
+INSERT INTO gifi (accno,description) VALUES ('1580', 'Gegenkonto Vorsteuer § 4/3 EStG');
+INSERT INTO gifi (accno,description) VALUES ('1581', 'Auflösung Vorsteuer aus Vorjahr § 4/3 EStG');
+INSERT INTO gifi (accno,description) VALUES ('1584', 'Abziehb. VSt. a. ig. Erw. v. Neufahrz. v. Lief. ohne USt-ID');
+INSERT INTO gifi (accno,description) VALUES ('1586', 'Kürzung BerlinFG');
+INSERT INTO gifi (accno,description) VALUES ('1588', 'Bezahlte Einfuhrumsatzsteuer');
+INSERT INTO gifi (accno,description) VALUES ('1590', 'Durchlaufende Posten');
+INSERT INTO gifi (accno,description) VALUES ('1593', 'Verrechnungskto erhalt. Anzahl. b. Buchung ü. Kundenkto');
+INSERT INTO gifi (accno,description) VALUES ('1594', 'Forderungen gegen verbundene Unternehmen');
+INSERT INTO gifi (accno,description) VALUES ('1595', 'Ford. gg. verbundene Unternehmen - Restlaufz. b. 1 J.');
+INSERT INTO gifi (accno,description) VALUES ('1596', 'Ford. gg. verbundene Unternehmen - Restlaufz. gr. 1 J.');
+INSERT INTO gifi (accno,description) VALUES ('1597', 'Ford. gg. Untern. mit denen ein Beteiligungsverh. besteht');
+INSERT INTO gifi (accno,description) VALUES ('1598', 'Ford. gg. U. m.d.e. Beteiligungsv. best. - Restl. b. 1 J.');
+INSERT INTO gifi (accno,description) VALUES ('1599', 'Ford. gg. U. m.d.e. Beteiligungsv. best. - Restl. gr. 1 J.');
+INSERT INTO gifi (accno,description) VALUES ('1600', 'Verb. aus Lief. und Leist. Lieferantengruppe 0');
+INSERT INTO gifi (accno,description) VALUES ('1601', 'Verb. aus Lief. und Leist. Lieferantengruppe 1');
+INSERT INTO gifi (accno,description) VALUES ('1602', 'Verb. aus Lief. und Leist. Lieferantengruppe 2');
+INSERT INTO gifi (accno,description) VALUES ('1610', 'Verb.a.L.u.L. ohne Kontokorrent');
+INSERT INTO gifi (accno,description) VALUES ('1624', 'Verbindlichkeiten aus Lief. u. Leist. für Investitionen für §4/3 EStG');
+INSERT INTO gifi (accno,description) VALUES ('1625', 'Verb.a.L.u.L. ohne Kontokorrent - Restl. b. 1 J.');
+INSERT INTO gifi (accno,description) VALUES ('1626', 'Verb.a.L.u.L. ohne Kontokorrent - Restlaufz. 1 bis 5 J.');
+INSERT INTO gifi (accno,description) VALUES ('1628', 'Verb.a.L.u.L. ohne Kontokorrent - Restlaufz. größer 5 J.');
+INSERT INTO gifi (accno,description) VALUES ('1630', 'Verb.a.Lief.u.Leist. gg. verbundenen Unternehmen');
+INSERT INTO gifi (accno,description) VALUES ('1631', 'Verb.a.L.u.L. gg. verb. Untern. - Restlaufz. bis 1 J.');
+INSERT INTO gifi (accno,description) VALUES ('1635', 'Verb.a.L.u.L. gg. verb. Untern. - Restlaufz. 1 bis 5 J.');
+INSERT INTO gifi (accno,description) VALUES ('1638', 'Verb.a.L.u.L. gg. verb. Untern. - Restlaufz. größer 5 J.');
+INSERT INTO gifi (accno,description) VALUES ('1640', 'Verb.a.L.u.L. gg. Untern. m.d.e. Beteiligungsverh. best.');
+INSERT INTO gifi (accno,description) VALUES ('1641', 'Verb.a.L.u.L. gg. U. m.d.e. Beteilig. best. - Restl. b. 1 J');
+INSERT INTO gifi (accno,description) VALUES ('1645', 'Verb.a.L.u.L. gg. U. m.d.e. Beteilig. best. - Restl. 1 b 5 J');
+INSERT INTO gifi (accno,description) VALUES ('1648', 'Verb.a.L.u.L. gg. U. m.d.e. Beteilig. best. - Restl. gr. 5 J');
+INSERT INTO gifi (accno,description) VALUES ('1650', 'Verb.a.Lief.u.Leist. gegen Gesellschaftern');
+INSERT INTO gifi (accno,description) VALUES ('1651', 'Verb.a.Lief.u.Leist. gg. Gesellsch. - Restl. bis 1 J.');
+INSERT INTO gifi (accno,description) VALUES ('1655', 'Verb.a.Lief.u.Leist. gg. Gesellsch. - Restl. 1 bis 5 J.');
+INSERT INTO gifi (accno,description) VALUES ('1658', 'Verb.a.Lief.u.Leist. gg. Gesellsch. - Restl. größer 5 J.');
+INSERT INTO gifi (accno,description) VALUES ('1659', 'Gegenkonto 16250-16580 bei Aufteilung Kreditoren-Konto');
+INSERT INTO gifi (accno,description) VALUES ('1660', 'Schuldwechsel');
+INSERT INTO gifi (accno,description) VALUES ('1661', 'Schuldwechsel - Restlaufzeit bis 1 Jahr');
+INSERT INTO gifi (accno,description) VALUES ('1680', 'Schuldwechsel - Restlaufzeit 1 bis 5 Jahre');
+INSERT INTO gifi (accno,description) VALUES ('1690', 'Schuldwechsel - Restlaufzeit größer 5 Jahre');
+INSERT INTO gifi (accno,description) VALUES ('1700', 'Sonstige Verbindlichkeiten');
+INSERT INTO gifi (accno,description) VALUES ('1701', 'Sonstige Verbindlichkeiten - Restlaufzeit bis 1 Jahr');
+INSERT INTO gifi (accno,description) VALUES ('1702', 'Sonstige Verbindlichkeiten - Restlaufzeit 1 bis 5 Jahre');
+INSERT INTO gifi (accno,description) VALUES ('1703', 'Sonstige Verbindlichkeiten - Restlaufzeit größer 5 Jahre');
+INSERT INTO gifi (accno,description) VALUES ('1704', 'Sonstige Verbindlichkeiten, z.B. nach §11,Abs.2,2 EStG für §4/3');
+INSERT INTO gifi (accno,description) VALUES ('1705', 'Darlehen');
+INSERT INTO gifi (accno,description) VALUES ('1706', 'Darlehen - Restlaufzeit bis 1 Jahr');
+INSERT INTO gifi (accno,description) VALUES ('1707', 'Darlehen - Restlaufzeit 1 bis 5 Jahre');
+INSERT INTO gifi (accno,description) VALUES ('1708', 'Darlehen - Restlaufzeit größer 5 Jahre');
+INSERT INTO gifi (accno,description) VALUES ('1709', 'Gewinnverfügungskonto stiller Gesellschafter');
+INSERT INTO gifi (accno,description) VALUES ('1710', 'Erhaltene Anzahlungen (Verbindlichkeiten)');
+INSERT INTO gifi (accno,description) VALUES ('1711', 'Erhaltene verst. Anzahl., 7% USt (Verbindlichkeiten)');
+INSERT INTO gifi (accno,description) VALUES ('1716', 'Erhaltene verst. Anzahl., 15% USt (Verbindlichkeiten)');
+INSERT INTO gifi (accno,description) VALUES ('1717', 'Erhaltene verst. Anzahl., 16% USt (Verbindlichkeiten)');
+INSERT INTO gifi (accno,description) VALUES ('1719', 'Erhaltene Anzahlungen - Restlaufzeit bis 1 Jahr');
+INSERT INTO gifi (accno,description) VALUES ('1720', 'Erhaltene Anzahlungen - Restlaufzeit 1 bis 5 Jahre');
+INSERT INTO gifi (accno,description) VALUES ('1721', 'Erhaltene Anzahlungen - Restlaufzeit größer 5 Jahre');
+INSERT INTO gifi (accno,description) VALUES ('1722', 'Erhaltene Anzahlungen (von Vorräten offen abgesetzt)');
+INSERT INTO gifi (accno,description) VALUES ('1731', 'Agenturwarenabrechnung');
+INSERT INTO gifi (accno,description) VALUES ('1732', 'Erhaltene Kautionen');
+INSERT INTO gifi (accno,description) VALUES ('1733', 'Erhaltene Kautionen - Restlaufzeit bis 1 Jahr');
+INSERT INTO gifi (accno,description) VALUES ('1734', 'Erhaltene Kautionen - Restlaufzeit 1 bis 5 Jahre');
+INSERT INTO gifi (accno,description) VALUES ('1735', 'Erhaltene Kautionen - Restlaufzeit größer 5 Jahre');
+INSERT INTO gifi (accno,description) VALUES ('1736', 'Verbindlichkeiten aus Betriebsteuern und Abgaben');
+INSERT INTO gifi (accno,description) VALUES ('1737', 'Verb. aus Betriebsteuern u. Abgaben - Restlaufz. bis 1 J.');
+INSERT INTO gifi (accno,description) VALUES ('1738', 'Verb. aus Betriebsteuern u. Abgaben - Restlaufz. 1 bis 5 J.');
+INSERT INTO gifi (accno,description) VALUES ('1739', 'Verb. aus Betriebsteuern u. Abgaben - Restl. größer 5 J.');
+INSERT INTO gifi (accno,description) VALUES ('1740', 'Verbindlichkeiten aus Lohn und Gehalt');
+INSERT INTO gifi (accno,description) VALUES ('1741', 'Verbindlichkeiten aus Lohn- und Kirchensteuer');
+INSERT INTO gifi (accno,description) VALUES ('1742', 'Verbindlichkeiten im Rahmen der sozialen Sicherheit');
+INSERT INTO gifi (accno,description) VALUES ('1743', 'Verb. im Rahmen der sozialen Sicherheit - Restl. bis 1 J.');
+INSERT INTO gifi (accno,description) VALUES ('1744', 'Verb. im Rahmen der sozialen Sicherheit - Restl. 1 bis 5 J.');
+INSERT INTO gifi (accno,description) VALUES ('1745', 'Verb. im Rahmen der sozialen Sicherheit - Restl. gr. 5 J.');
+INSERT INTO gifi (accno,description) VALUES ('1746', 'Verbindlichkeiten aus Einbehaltungen');
+INSERT INTO gifi (accno,description) VALUES ('1747', 'Verbindlichkeiten für Verbrauchssteuern');
+INSERT INTO gifi (accno,description) VALUES ('1750', 'Verbindlichkeiten aus Vermögensbildung');
+INSERT INTO gifi (accno,description) VALUES ('1751', 'Verb. aus Vermögensbildung - Restlaufz. bis 1 Jahr');
+INSERT INTO gifi (accno,description) VALUES ('1752', 'Verb. aus Vermögensbildung - Restlaufz. 1 bis 5 Jahre');
+INSERT INTO gifi (accno,description) VALUES ('1753', 'Verb. aus Vermögensbildung - Restlaufz. größer 5 Jahre');
+INSERT INTO gifi (accno,description) VALUES ('1755', 'Lohn- und Gehaltsverrechnung');
+INSERT INTO gifi (accno,description) VALUES ('1758', 'Umsatzsteuerabzugsverfahren, 16% Umsatzsteuer');
+INSERT INTO gifi (accno,description) VALUES ('1759', 'Umsatzsteuerabzugsverfahren, 15% Umsatzsteuer');
+INSERT INTO gifi (accno,description) VALUES ('1760', 'Umsatzsteuer nicht fällig');
+INSERT INTO gifi (accno,description) VALUES ('1761', 'Umsatzsteuer nicht fällig , 7%');
+INSERT INTO gifi (accno,description) VALUES ('1762', 'Umsatzsteuer nicht fällig a.i. Inland steuerpfl. EU-Lief.');
+INSERT INTO gifi (accno,description) VALUES ('1763', 'Umsatzsteuer nicht fällig a.i. Inland steuerpfl. EU-Lief., 16%');
+INSERT INTO gifi (accno,description) VALUES ('1765', 'Umsatzsteuer nicht fällig, 16%');
+INSERT INTO gifi (accno,description) VALUES ('1766', 'Umsatzsteuer nicht fällig, 15%');
+INSERT INTO gifi (accno,description) VALUES ('1767', 'Umsatzsteuer a.i. and. EU-Land steuerpfl. Lief.');
+INSERT INTO gifi (accno,description) VALUES ('1768', 'Umsatzsteuer a.i. and. EU-Land steuerpfl. sonst. Lief./Werkl.');
+INSERT INTO gifi (accno,description) VALUES ('1769', 'Steuerzahlungen an andere EU-Länder');
+INSERT INTO gifi (accno,description) VALUES ('1770', 'Umsatzsteuer');
+INSERT INTO gifi (accno,description) VALUES ('1771', 'Umsatzsteuer, 7%');
+INSERT INTO gifi (accno,description) VALUES ('1772', 'Umsatzsteuer aus ig. Erwerb');
+INSERT INTO gifi (accno,description) VALUES ('1773', 'Umsatzsteuer aus ig. Erwerb, 16%');
+INSERT INTO gifi (accno,description) VALUES ('1775', 'Umsatzsteuer, 16%');
+INSERT INTO gifi (accno,description) VALUES ('1776', 'Umsatzsteuer, 15%');
+INSERT INTO gifi (accno,description) VALUES ('1777', 'Umsatzsteuer aus im Inland steuerpfl. EU-Lieferungen');
+INSERT INTO gifi (accno,description) VALUES ('1778', 'Umsatzsteuer aus im Inland steuerpfl. EU-Lieferungen, 16%');
+INSERT INTO gifi (accno,description) VALUES ('1779', 'Umsatzsteuer aus ig. Erwerb ohne Vorsteuerabzug');
+INSERT INTO gifi (accno,description) VALUES ('1780', 'Umsatzsteuer - Vorauszahlungen');
+INSERT INTO gifi (accno,description) VALUES ('1781', 'Umsatzsteuer - Vorauszahlungen 1/11');
+INSERT INTO gifi (accno,description) VALUES ('1782', 'Nachsteuer, UStVA KZ 65');
+INSERT INTO gifi (accno,description) VALUES ('1783', 'In Rechnung unber. ausgewiesene und geschuldete Steuer, UStVA KZ 69');
+INSERT INTO gifi (accno,description) VALUES ('1784', 'Umsatzsteuer aus ig. Erw. v. Neufahrz. v. Lief. ohne USt-ID');
+INSERT INTO gifi (accno,description) VALUES ('1788', 'Einfuhrumsatzsteuer aufgeschoben bis');
+INSERT INTO gifi (accno,description) VALUES ('1789', 'Umsatzsteuer laufendes Jahr');
+INSERT INTO gifi (accno,description) VALUES ('1790', 'Umsatzsteuer Vorjahr');
+INSERT INTO gifi (accno,description) VALUES ('1791', 'Umsatzsteuer frühere Jahre');
+INSERT INTO gifi (accno,description) VALUES ('1792', 'Abgrenzung für Grundstücke');
+INSERT INTO gifi (accno,description) VALUES ('1794', 'Abgrenzung für immaterielle Vermögensgegenstände');
+INSERT INTO gifi (accno,description) VALUES ('1795', 'Abgrenzung für Bauten auf eigenen Grundstücken');
+INSERT INTO gifi (accno,description) VALUES ('1796', 'Abgrenzung für andere Anlagen, B.u.G. Ausstattung');
+INSERT INTO gifi (accno,description) VALUES ('1797', 'Abgrenzung für Bauten auf fremden Grundstücken');
+INSERT INTO gifi (accno,description) VALUES ('1798', 'Abgrenzung für technische Anlagen und Maschinen');
+INSERT INTO gifi (accno,description) VALUES ('1799', 'Sonstige Verrechnungskonten (Interimskonten)');
+INSERT INTO gifi (accno,description) VALUES ('1793', 'Verrechnungskto geleist. Anzahl. bei Buchung über Lief.Kto.');
+INSERT INTO gifi (accno,description) VALUES ('1800', 'Privatentn. allg. (Privat Vollhafter / Einzelunternehmer)');
+INSERT INTO gifi (accno,description) VALUES ('1810', 'Privatsteuern (Privat Vollhafter / Einzelunternehmer)');
+INSERT INTO gifi (accno,description) VALUES ('1820', 'Sonderausg. beschr. abzugsf. (Privat Vollhaft./Einzelu.)');
+INSERT INTO gifi (accno,description) VALUES ('1830', 'Sonderausg. unbeschr. abzugsf. (Privat Vollhaft./Einzelu.)');
+INSERT INTO gifi (accno,description) VALUES ('1840', 'Privatspenden (Privat Vollhafter / Einzelunternehmer)');
+INSERT INTO gifi (accno,description) VALUES ('1850', 'Außergewöhnliche Belastungen (Privat Vollhaft. / Einzelunt.)');
+INSERT INTO gifi (accno,description) VALUES ('1860', 'Grundstücksaufwand (Privat Vollhafter / Einzelunternehmer)');
+INSERT INTO gifi (accno,description) VALUES ('1870', 'Grundstücksertrag (Privat Vollhafter / Einzelunternehmer)');
+INSERT INTO gifi (accno,description) VALUES ('1880', 'Eigenverbrauch (Privat Vollhafter / Einzelunternehmer)');
+INSERT INTO gifi (accno,description) VALUES ('1890', 'Privateinlagen (Privat Vollhafter / Einzelunternehmer)');
+INSERT INTO gifi (accno,description) VALUES ('1900', 'Privatentnahmen allgemein (Privat Teilhafter)');
+INSERT INTO gifi (accno,description) VALUES ('1910', 'Privatsteuern (Privat Teilhafter)');
+INSERT INTO gifi (accno,description) VALUES ('1920', 'Sonderausgaben beschränkt abzugsf. (Privat Teilhafter)');
+INSERT INTO gifi (accno,description) VALUES ('1930', 'Sonderausgaben unbeschränkt abzugsf. (Privat Teilhafter)');
+INSERT INTO gifi (accno,description) VALUES ('1940', 'Privatspenden (Privat Teilhafter)');
+INSERT INTO gifi (accno,description) VALUES ('1950', 'Außergewöhnliche Belastungen (Privat Teilhafter)');
+INSERT INTO gifi (accno,description) VALUES ('1960', 'Grundstücksaufwand (Privat Teilhafter)');
+INSERT INTO gifi (accno,description) VALUES ('1970', 'Grundstücksertrag (Privat Teilhafter)');
+INSERT INTO gifi (accno,description) VALUES ('1980', 'Eigenverbrauch (Privat Teilhafter)');
+INSERT INTO gifi (accno,description) VALUES ('1990', 'Privateinlagen (Privat Teilhafter)');
+INSERT INTO gifi (accno,description) VALUES ('2000', 'Außerordentliche Aufwendungen');
+INSERT INTO gifi (accno,description) VALUES ('2010', 'Betriebsfremde Aufw. (soweit nicht außerordentlich)');
+INSERT INTO gifi (accno,description) VALUES ('2020', 'Periodenfremde Aufw. (soweit nicht außerordentlich)');
+INSERT INTO gifi (accno,description) VALUES ('2100', 'Zinsen und ähnliche Aufwendungen');
+INSERT INTO gifi (accno,description) VALUES ('2103', 'Steuerlich abzugsfähige, andere Nebenleistungen zu Steuern');
+INSERT INTO gifi (accno,description) VALUES ('2104', 'Steuerlich nicht abzugsfähige, andere Nebenleistungen zu Steuern');
+INSERT INTO gifi (accno,description) VALUES ('2107', 'Zinsaufwendungen §233a AO betriebliche Steuern');
+INSERT INTO gifi (accno,description) VALUES ('2108', 'Zinsaufw. §233a, §234, §237 AO Personenst. §8 GewStG');
+INSERT INTO gifi (accno,description) VALUES ('2109', 'Zinsaufwendungen an verbundene Unternehmen');
+INSERT INTO gifi (accno,description) VALUES ('2110', 'Zinsaufwendungen für kurzfristige Verbindlichkeiten');
+INSERT INTO gifi (accno,description) VALUES ('2118', 'In Dauerschuldzins. umqualif. Zinsen a. kurzfristige Verb.');
+INSERT INTO gifi (accno,description) VALUES ('2119', 'Zinsaufw. f. kurzfristige Verb. an verbunden Unternehmen');
+INSERT INTO gifi (accno,description) VALUES ('2120', 'Zinsaufwendungen für langfristige Verbindlichkeiten');
+INSERT INTO gifi (accno,description) VALUES ('2127', 'Renten u. dauernde Last. a. Gründung/Erwerb §8GewStG');
+INSERT INTO gifi (accno,description) VALUES ('2128', 'Zinsaufw. an Mitu. f. Hingabe v. langfrist. Kapital §15 EStG');
+INSERT INTO gifi (accno,description) VALUES ('2129', 'Zinsaufw. f. langfristige Verb. an verbundene Unternehmen');
+INSERT INTO gifi (accno,description) VALUES ('2130', 'Diskontaufwendungen');
+INSERT INTO gifi (accno,description) VALUES ('2139', 'Diskontaufwendungen an verbundene Unternehmen');
+INSERT INTO gifi (accno,description) VALUES ('2140', 'Zinsähnliche Aufwendungen');
+INSERT INTO gifi (accno,description) VALUES ('2149', 'Zinsähnliche Aufwendungen an verbundene Unternehmen');
+INSERT INTO gifi (accno,description) VALUES ('2150', 'Aufwendungen aus Kursdifferenzen');
+INSERT INTO gifi (accno,description) VALUES ('2170', 'Nicht abziehb. VSt a. Zinsen u. ähnl. Aufw.');
+INSERT INTO gifi (accno,description) VALUES ('2171', 'Nicht abziehb. VSt, 7% a. Zinsen u. ähnl. Aufw.');
+INSERT INTO gifi (accno,description) VALUES ('2175', 'Nicht abziehb. VSt. 16% a. Zinsen u. ähnl. Aufw.');
+INSERT INTO gifi (accno,description) VALUES ('2176', 'Nicht abziehb. VSt, 15% a. Zinsen u. ähnl. Aufw.');
+INSERT INTO gifi (accno,description) VALUES ('2200', 'Körperschaftsteuer');
+INSERT INTO gifi (accno,description) VALUES ('2203', 'Körperschaftsteuer für Vorjahre');
+INSERT INTO gifi (accno,description) VALUES ('2205', 'Anrechenbare Körperschaftssteuer auf vereinnahmte Kapitalerträge');
+INSERT INTO gifi (accno,description) VALUES ('2208', 'Solidaritätszuschlag');
+INSERT INTO gifi (accno,description) VALUES ('2209', 'Solidaritätszuschlag für Vorjahre');
+INSERT INTO gifi (accno,description) VALUES ('2210', 'Kapitalertragsteuer');
+INSERT INTO gifi (accno,description) VALUES ('2213', 'Anrechenbarer Solidaritätszuschlag auf Kapitalertragssteuer');
+INSERT INTO gifi (accno,description) VALUES ('2215', 'Zinsabschlagsteuer');
+INSERT INTO gifi (accno,description) VALUES ('2218', 'Anrechenbarer Solidaritätszuschlag auf Zinsabschlagsteuer');
+INSERT INTO gifi (accno,description) VALUES ('2223', 'Vermögensteuer für Vorjahre');
+INSERT INTO gifi (accno,description) VALUES ('2280', 'Steuernachz. Vorjahre f. Steuern v. Einkommen u. Ertrag');
+INSERT INTO gifi (accno,description) VALUES ('2282', 'Steuererstatt. Vorjahre f. Steuern v. Einkommen u. Ertrag');
+INSERT INTO gifi (accno,description) VALUES ('2284', 'Erträge a. Aufl. v. Rückst. f. Steuern v. Eink. u. Ertrag');
+INSERT INTO gifi (accno,description) VALUES ('2285', 'Steuernachzahlung Vorjahre für sonstige Steuern');
+INSERT INTO gifi (accno,description) VALUES ('2287', 'Steuererstattung Vorjahre für sonstige Steuern');
+INSERT INTO gifi (accno,description) VALUES ('2289', 'Erträge a. d. Auflösung v. Rückstell. f. sonstige Steuern');
+INSERT INTO gifi (accno,description) VALUES ('2300', 'Sonstige Aufwendungen');
+INSERT INTO gifi (accno,description) VALUES ('2307', 'Sonstige Aufwendungen betriebsfremd und regelmäßig');
+INSERT INTO gifi (accno,description) VALUES ('2309', 'Sonstige Aufwendungen unregelmäßig');
+INSERT INTO gifi (accno,description) VALUES ('2310', 'Anlagenabgänge (Restbuchwert und Buchverlust)');
+INSERT INTO gifi (accno,description) VALUES ('2315', 'Anlagenabgänge (Restbuchwert bei Buchgewinn)');
+INSERT INTO gifi (accno,description) VALUES ('2320', 'Verluste a. Abgang v. Gegenst. d. Anlagevermögens');
+INSERT INTO gifi (accno,description) VALUES ('2325', 'Verluste a. Abgang v. Gegenst. d. Umlaufv. (außer Vorräte)');
+INSERT INTO gifi (accno,description) VALUES ('2340', 'Einstell. in Sonderpost. m. Rücklageant. (steuerfr. Rückl.)');
+INSERT INTO gifi (accno,description) VALUES ('2341', 'Einstell. in Sonderpost. m. Rücklageant. (Ansparabschreibungen)');
+INSERT INTO gifi (accno,description) VALUES ('2345', 'Einstell. in Sonderpost. m. Rücklageant. (Sonderabschr.)');
+INSERT INTO gifi (accno,description) VALUES ('2350', 'Grundstücksaufwendungen');
+INSERT INTO gifi (accno,description) VALUES ('2375', 'Grundsteuer');
+INSERT INTO gifi (accno,description) VALUES ('2380', 'Spenden, steuerlich nicht absetzbar');
+INSERT INTO gifi (accno,description) VALUES ('2381', 'Beiträge u. Spenden f. wissenschaftl. u. kulturelle Zwecke');
+INSERT INTO gifi (accno,description) VALUES ('2382', 'Beiträge u. Spenden f. mildtätige Zwecke');
+INSERT INTO gifi (accno,description) VALUES ('2383', 'Beiträge u. Spenden f. kirchl., religiöse u. gemeinn. Zwecke');
+INSERT INTO gifi (accno,description) VALUES ('2384', 'Beiträge u. Spenden an politische Parteien');
+INSERT INTO gifi (accno,description) VALUES ('2385', 'Nicht abziehbare Hälfte der Aufsichtsratsvergütungen');
+INSERT INTO gifi (accno,description) VALUES ('2386', 'Abziehbare Aufsichtsratsvergütungen');
+INSERT INTO gifi (accno,description) VALUES ('2400', 'Forderungsverluste (übliche Höhe)');
+INSERT INTO gifi (accno,description) VALUES ('2401', 'Forderungsverluste, 7% USt (übliche Höhe)');
+INSERT INTO gifi (accno,description) VALUES ('2402', 'Ford.Verl. a. steuerfr. EU-Lief. (übliche Höhe)');
+INSERT INTO gifi (accno,description) VALUES ('2403', 'Ford.Verl. a.i. Inl. steuerpfl. EU-Lief., 7% USt (übl. Höhe)');
+INSERT INTO gifi (accno,description) VALUES ('2404', 'Ford.Verl. a.i. Inl. steuerpfl. EU-Lief., 15%+16%USt (übl. Höhe)');
+INSERT INTO gifi (accno,description) VALUES ('2405', 'Forderungsverluste, 15%+16% USt (übliche Höhe)');
+INSERT INTO gifi (accno,description) VALUES ('2406', 'Forderungsverluste, 16% USt (übliche Höhe)');
+INSERT INTO gifi (accno,description) VALUES ('2407', 'Forderungsverluste, 15% USt (übliche Höhe)');
+INSERT INTO gifi (accno,description) VALUES ('2408', 'Ford.Verl. a.i. Inl. steuerpfl. EU-Lief., 16%USt (übl. Höhe)');
+INSERT INTO gifi (accno,description) VALUES ('2409', 'Ford.Verl. a.i. Inl. steuerpfl. EU-Lief., 15%USt (übl. Höhe)');
+INSERT INTO gifi (accno,description) VALUES ('2430', 'Forderungsverlust unüblich hoch');
+INSERT INTO gifi (accno,description) VALUES ('2450', 'Einstellungen in Pauschalwertberichtigung zu Forderungen');
+INSERT INTO gifi (accno,description) VALUES ('2451', 'Einstellungen in Einzelwertberichtigung zu Forderungen');
+INSERT INTO gifi (accno,description) VALUES ('2490', 'Aufwendungen aus Verlustübernahme');
+INSERT INTO gifi (accno,description) VALUES ('2492', 'Abgef. Gew. aufgrund einer Gewinngemeinschaft');
+INSERT INTO gifi (accno,description) VALUES ('2493', 'Abgef. Gew. a. stille Gesellschafter §8 GewStG');
+INSERT INTO gifi (accno,description) VALUES ('2494', 'Abgef. Gew. a. Gewinn- oder Teilgewinnabführungsvertr.');
+INSERT INTO gifi (accno,description) VALUES ('2495', 'Einst. in die Kapitalrückl. n. Vorschr. d. vereinf. Kap.Herabs.');
+INSERT INTO gifi (accno,description) VALUES ('2496', 'Einst. in die gesetzliche Rücklage');
+INSERT INTO gifi (accno,description) VALUES ('2497', 'Einst. in die satzungsmäßige Rücklage');
+INSERT INTO gifi (accno,description) VALUES ('2498', 'Einst. in die Rücklage für eigene Anteile');
+INSERT INTO gifi (accno,description) VALUES ('2499', 'Einst. in andere Gewinnrücklagen');
+INSERT INTO gifi (accno,description) VALUES ('2500', 'Außerordentliche Erträge');
+INSERT INTO gifi (accno,description) VALUES ('2510', 'Betriebsfremde Erträge (soweit nicht außerordentlich)');
+INSERT INTO gifi (accno,description) VALUES ('2520', 'Periodenfremde Erträge (soweit nicht außerordentlich)');
+INSERT INTO gifi (accno,description) VALUES ('2600', 'Erträge aus Beteiligungen');
+INSERT INTO gifi (accno,description) VALUES ('2617', 'Gewinne a.Ant. an nicht steuerbefr. inländischen KG §9Nr.2aGewStG');
+INSERT INTO gifi (accno,description) VALUES ('2618', 'Gewinnanteile aus Mitunternehmerschaften §9 GewStG');
+INSERT INTO gifi (accno,description) VALUES ('2619', 'Erträge aus Beteiligungen an verbundenen Unternehmen');
+INSERT INTO gifi (accno,description) VALUES ('2620', 'Ertr. a. and. Wertpap. u. Ausl. d. Finanzanlageverm.');
+INSERT INTO gifi (accno,description) VALUES ('2649', 'Ertr. a. and. Wertpap. u. Ausl. d. Fin.Anl.Verm. a. verb. U.');
+INSERT INTO gifi (accno,description) VALUES ('2650', 'Sonstige Zinsen und ähnliche Erträge');
+INSERT INTO gifi (accno,description) VALUES ('2657', 'Zinserträge §233a AO betriebliche Steuern');
+INSERT INTO gifi (accno,description) VALUES ('2658', 'Zinserträge §233a AO Körperschaftsteuer / Vermögensteuer');
+INSERT INTO gifi (accno,description) VALUES ('2659', 'Sonstige Zinsen u. ähnliche Erträge aus verb. Unternehmen');
+INSERT INTO gifi (accno,description) VALUES ('2660', 'Erträge aus Kursdifferenzen');
+INSERT INTO gifi (accno,description) VALUES ('2670', 'Diskonterträge');
+INSERT INTO gifi (accno,description) VALUES ('2679', 'Diskonterträge aus verbundenen Unternehmen');
+INSERT INTO gifi (accno,description) VALUES ('2680', 'Zinsähnliche Erträge');
+INSERT INTO gifi (accno,description) VALUES ('2689', 'Zinsähnliche Erträge aus verbundenen Unternehmen');
+INSERT INTO gifi (accno,description) VALUES ('2700', 'Sonstige Erträge');
+INSERT INTO gifi (accno,description) VALUES ('2705', 'Sonstige Erträge betrieblich und regelmäßig');
+INSERT INTO gifi (accno,description) VALUES ('2707', 'Sonstige Erträge betriebsfremd und regelmäßig');
+INSERT INTO gifi (accno,description) VALUES ('2709', 'Sonstige Erträge unregelmäßig');
+INSERT INTO gifi (accno,description) VALUES ('2710', 'Erträge aus Zuschreibungen des Anlagevermögens');
+INSERT INTO gifi (accno,description) VALUES ('2715', 'Erträge aus Zuschreibungen des Umlaufvermögens');
+INSERT INTO gifi (accno,description) VALUES ('2720', 'Ertr. a. Abgang v. Gegenst. d. Anlagevermögens');
+INSERT INTO gifi (accno,description) VALUES ('2725', 'Ertr. a. Abgang v. Gegenst. d. Umlaufv.s (außer Vorräte)');
+INSERT INTO gifi (accno,description) VALUES ('2730', 'Ertr. a. Herabs. d. Pauschalwertber. zu Forderungen');
+INSERT INTO gifi (accno,description) VALUES ('2731', 'Ertr. a. Herabs. d. Einzelwertber. zu Forderungen');
+INSERT INTO gifi (accno,description) VALUES ('2732', 'Erträge aus abgeschriebenen Forderungen');
+INSERT INTO gifi (accno,description) VALUES ('2735', 'Erträge aus der Auflösung von Rückstellungen');
+INSERT INTO gifi (accno,description) VALUES ('2739', 'Erträge aus der Auflösung von Sonderpost. m. Rücklageant. (Ansparabschr.)');
+INSERT INTO gifi (accno,description) VALUES ('2740', 'Ertr. a. Aufl. v. Sonderp. m. Rückl.Ant. (steuerfr. Rückl.)');
+INSERT INTO gifi (accno,description) VALUES ('2741', 'Ertr. a. Aufl. v. Sonderp. m. Rückl.Ant. (Sonderabschr.)');
+INSERT INTO gifi (accno,description) VALUES ('2742', 'Versicherungsentschädigungen');
+INSERT INTO gifi (accno,description) VALUES ('2743', 'Investitionszuschüsse (steuerpflichtig)');
+INSERT INTO gifi (accno,description) VALUES ('2744', 'Investitionszulagen (steuerfrei)');
+INSERT INTO gifi (accno,description) VALUES ('2745', 'Erträge aus Kapitalherabsetzung');
+INSERT INTO gifi (accno,description) VALUES ('2750', 'Grundstückserträge');
+INSERT INTO gifi (accno,description) VALUES ('2780', 'Steuererstattung Vorjahre f. Steuern vom Eink. u. Ertrag');
+INSERT INTO gifi (accno,description) VALUES ('2785', 'Steuererstattung Vorjahre f. sonstige Steuern');
+INSERT INTO gifi (accno,description) VALUES ('2790', 'Erträge aus Verlustübernahme');
+INSERT INTO gifi (accno,description) VALUES ('2792', 'Erh. Gew. aufgrund einer Gewinngemeinschaft');
+INSERT INTO gifi (accno,description) VALUES ('2794', 'Erh. Gew. aufgrund eines Gew.- oder Teilgew.Abführ.Vertr.');
+INSERT INTO gifi (accno,description) VALUES ('2795', 'Entnahmen aus der Kapitalrücklage');
+INSERT INTO gifi (accno,description) VALUES ('2796', 'Entnahmen aus der gesetzlichen Rücklage');
+INSERT INTO gifi (accno,description) VALUES ('2797', 'Entnahmen aus satzungsgemäßen Rücklagen');
+INSERT INTO gifi (accno,description) VALUES ('2798', 'Entnahmen aus der Rücklage für eigene Anteile');
+INSERT INTO gifi (accno,description) VALUES ('2799', 'Entnahmen aus anderen Gewinnrücklagen');
+INSERT INTO gifi (accno,description) VALUES ('2860', 'Gewinnvortrag nach Verwendung');
+INSERT INTO gifi (accno,description) VALUES ('2862', 'Gewinnvortrag 50/45% Vorbelastung');
+INSERT INTO gifi (accno,description) VALUES ('2864', 'Gewinnvortrag 30% Vorbelastung');
+INSERT INTO gifi (accno,description) VALUES ('2866', 'Gewinnvortrag 0% Vorbelastung');
+INSERT INTO gifi (accno,description) VALUES ('2868', 'Verlustvortrag nach Verwendung');
+INSERT INTO gifi (accno,description) VALUES ('2869', 'Vorträge auf neue Rechnung (GuV)');
+INSERT INTO gifi (accno,description) VALUES ('2870', 'Ausschüttung');
+INSERT INTO gifi (accno,description) VALUES ('2890', 'Verrechneter kalkulatorischer Unternehmerlohn');
+INSERT INTO gifi (accno,description) VALUES ('2891', 'Verrechnete kalkulatorische Miete und Pacht');
+INSERT INTO gifi (accno,description) VALUES ('2892', 'Verrechnete kalkulatorische Zinsen');
+INSERT INTO gifi (accno,description) VALUES ('2893', 'Verrechnete kalkulatorische Abschreibung');
+INSERT INTO gifi (accno,description) VALUES ('2894', 'Verrechnete kalkulatorische Wagnisse');
+INSERT INTO gifi (accno,description) VALUES ('2895', 'Verrechneter kalkulatorischer Lohn für unentgeltliche Mitarbeiter');
+INSERT INTO gifi (accno,description) VALUES ('3000', 'Roh-, Hilfs- und Betriebsstoffe');
+INSERT INTO gifi (accno,description) VALUES ('3090', 'Energiestoffe (Fertigung)');
+INSERT INTO gifi (accno,description) VALUES ('3100', 'Fremdleistungen');
+INSERT INTO gifi (accno,description) VALUES ('3150', 'Leistungen von ausländischen Unternehmen (Nullregelung)');
+INSERT INTO gifi (accno,description) VALUES ('3200', 'Wareneingang');
+INSERT INTO gifi (accno,description) VALUES ('3300', 'Wareneingang, 7% Vorsteuer');
+INSERT INTO gifi (accno,description) VALUES ('3340', 'Wareneingang, 15% Vorsteuer');
+INSERT INTO gifi (accno,description) VALUES ('3400', 'Wareneingang, 15%+16% Vorsteuer');
+INSERT INTO gifi (accno,description) VALUES ('3410', 'Wareneingang, 16% Vorsteuer');
+INSERT INTO gifi (accno,description) VALUES ('3420', 'Innergem. Erwerb, 7% VSt u. 7% USt');
+INSERT INTO gifi (accno,description) VALUES ('3425', 'Innergem. Erwerb, 15%+16% VSt u. 15%+16% USt');
+INSERT INTO gifi (accno,description) VALUES ('3430', 'Innergem. Erwerb, ohne VSt-Abzug u. 7% USt');
+INSERT INTO gifi (accno,description) VALUES ('3431', 'Innergem. Erwerb, 16% VSt u. 16% Ust');
+INSERT INTO gifi (accno,description) VALUES ('3433', 'Innergem. Erwerb, 15% VSt u. 15% Ust');
+INSERT INTO gifi (accno,description) VALUES ('3435', 'Innergem. Erwerb, ohne VSt-Abzug u. 15%+16% USt');
+INSERT INTO gifi (accno,description) VALUES ('3436', 'Innergem. Erwerb, ohne VSt-Abzug u. 16% Ust');
+INSERT INTO gifi (accno,description) VALUES ('3437', 'Innergem. Erwerb, ohne VSt-Abzug u. 15% Ust');
+INSERT INTO gifi (accno,description) VALUES ('3440', 'Innergem. Erw. v. Neufahrz. v. Lief. ohne USt-ID, 15%+16% USt');
+INSERT INTO gifi (accno,description) VALUES ('3441', 'Innergem. Erw. v. Neufahrz. v. Lief. ohne USt-ID, 16% Ust');
+INSERT INTO gifi (accno,description) VALUES ('3442', 'Innergem. Erw. v. Neufahrz. v. Lief. ohne USt-ID, 15% Ust');
+INSERT INTO gifi (accno,description) VALUES ('3500', 'Wareneingang, 5% Vorsteuer');
+INSERT INTO gifi (accno,description) VALUES ('3530', 'Wareneingang, 9% Vorsteuer');
+INSERT INTO gifi (accno,description) VALUES ('3540', 'Wareneingang, 9,5% Vorsteuer');
+INSERT INTO gifi (accno,description) VALUES ('3550', 'Steuerfreier innergemeinschaftlicher Erwerb');
+INSERT INTO gifi (accno,description) VALUES ('3600', 'Nicht abziehbare Vorsteuer');
+INSERT INTO gifi (accno,description) VALUES ('3610', 'Nicht abziehbare Vorsteuer, 7%');
+INSERT INTO gifi (accno,description) VALUES ('3650', 'Nicht abziehbare Vorsteuer, 16%');
+INSERT INTO gifi (accno,description) VALUES ('3660', 'Nicht abziehbare Vorsteuer, 15%');
+INSERT INTO gifi (accno,description) VALUES ('3700', 'Nachlässe');
+INSERT INTO gifi (accno,description) VALUES ('3710', 'Nachlässe, 7% Vorsteuer');
+INSERT INTO gifi (accno,description) VALUES ('3720', 'Nachlässe, 15%+16% Vorsteuer');
+INSERT INTO gifi (accno,description) VALUES ('3722', 'Nachlässe, 16% Vorsteuer');
+INSERT INTO gifi (accno,description) VALUES ('3723', 'Nachlässe, 15% Vorsteuer');
+INSERT INTO gifi (accno,description) VALUES ('3724', 'Nachlässe aus ig. Erwerb, 7% VSt und 7% USt');
+INSERT INTO gifi (accno,description) VALUES ('3725', 'Nachlässe aus ig. Erwerb, 15%+16% VSt und 15%+16% USt');
+INSERT INTO gifi (accno,description) VALUES ('3726', 'Nachlässe aus ig. Erwerb, 16% VSt und 16% Ust');
+INSERT INTO gifi (accno,description) VALUES ('3727', 'Nachlässe aus ig. Erwerb, 15% VSt und 15% Ust');
+INSERT INTO gifi (accno,description) VALUES ('3730', 'Erhaltene Skonti');
+INSERT INTO gifi (accno,description) VALUES ('3731', 'Erhaltene Skonti, 7% Vorsteuer');
+INSERT INTO gifi (accno,description) VALUES ('3735', 'Erhaltene Skonti, 16% Vorsteuer');
+INSERT INTO gifi (accno,description) VALUES ('3736', 'Erhaltene Skonti, 15% Vorsteuer');
+INSERT INTO gifi (accno,description) VALUES ('3740', 'Erhaltene Boni');
+INSERT INTO gifi (accno,description) VALUES ('3750', 'Erhaltene Boni, 7% Vorsteuer');
+INSERT INTO gifi (accno,description) VALUES ('3760', 'Erhaltene Boni, 15%+16% Vorsteuer');
+INSERT INTO gifi (accno,description) VALUES ('3762', 'Erhaltene Boni, 16% Vorsteuer');
+INSERT INTO gifi (accno,description) VALUES ('3764', 'Erhaltene Boni, 15% Vorsteuer');
+INSERT INTO gifi (accno,description) VALUES ('3770', 'Erhaltene Rabatte');
+INSERT INTO gifi (accno,description) VALUES ('3780', 'Erhaltene Rabatte, 7% Vorsteuer');
+INSERT INTO gifi (accno,description) VALUES ('3790', 'Erhaltene Rabatte, 15%+16% Vorsteuer');
+INSERT INTO gifi (accno,description) VALUES ('3792', 'Erhaltene Rabatte, 16% Vorsteuer');
+INSERT INTO gifi (accno,description) VALUES ('3794', 'Erhaltene Rabatte, 15% Vorsteuer');
+INSERT INTO gifi (accno,description) VALUES ('3800', 'Anschaffungsnebenkosten');
+INSERT INTO gifi (accno,description) VALUES ('3830', 'Leergut');
+INSERT INTO gifi (accno,description) VALUES ('3850', 'Zölle und Einfuhrabgaben');
+INSERT INTO gifi (accno,description) VALUES ('3960', 'Bestandsv. Roh-, Hilfs- u. Betriebsstoffe / bezogene Waren');
+INSERT INTO gifi (accno,description) VALUES ('3970', 'Bestand Roh-, Hilfs- und Betriebsstoffe');
+INSERT INTO gifi (accno,description) VALUES ('3980', 'Bestand Waren');
+INSERT INTO gifi (accno,description) VALUES ('3990', 'Verrechnete Stoffkosten');
+INSERT INTO gifi (accno,description) VALUES ('4000', 'Material- und Stoffverbrauch');
+INSERT INTO gifi (accno,description) VALUES ('4100', 'Löhne und Gehälter');
+INSERT INTO gifi (accno,description) VALUES ('4110', 'Löhne');
+INSERT INTO gifi (accno,description) VALUES ('4120', 'Gehälter');
+INSERT INTO gifi (accno,description) VALUES ('4124', 'Geschäftsführergehälter der GmbH-Gesellschafter');
+INSERT INTO gifi (accno,description) VALUES ('4125', 'Ehegattengehalt');
+INSERT INTO gifi (accno,description) VALUES ('4126', 'Tantiemen');
+INSERT INTO gifi (accno,description) VALUES ('4127', 'Geschäftsführergehälter');
+INSERT INTO gifi (accno,description) VALUES ('4128', 'Vergütungen an angestellte Mitunternehmer §15 EStG');
+INSERT INTO gifi (accno,description) VALUES ('4130', 'Gesetzliche soziale Aufwendungen');
+INSERT INTO gifi (accno,description) VALUES ('4137', 'Gesetzliche soziale Aufw. für Mitunternehmer §15 EStG');
+INSERT INTO gifi (accno,description) VALUES ('4138', 'Beiträge zur Berufsgenossenschaft');
+INSERT INTO gifi (accno,description) VALUES ('4139', 'Ausgleichsabgabe i. S. d. Schwerbehindertengesetzes');
+INSERT INTO gifi (accno,description) VALUES ('4140', 'Freiw. soziale Aufwendungen (lohnsteuerfrei)');
+INSERT INTO gifi (accno,description) VALUES ('4145', 'Freiw. soziale Aufwendungen (lohnsteuerpflichtig)');
+INSERT INTO gifi (accno,description) VALUES ('4149', 'Pauschale Lohnsteuer auf s. Bezüge (z.B. Fahrtkostenzuschuß)');
+INSERT INTO gifi (accno,description) VALUES ('4150', 'Krankengeldzuschüsse');
+INSERT INTO gifi (accno,description) VALUES ('4160', 'Versorgungskassen');
+INSERT INTO gifi (accno,description) VALUES ('4165', 'Aufwendungen für die Altersversorgung');
+INSERT INTO gifi (accno,description) VALUES ('4167', 'Pauschale Lohnsteuer auf s. Bezüge (z.B. Direktversicherung)');
+INSERT INTO gifi (accno,description) VALUES ('4168', 'Aufw. f. die Altersversorgung f. Mitunternehmer §15 EStG');
+INSERT INTO gifi (accno,description) VALUES ('4169', 'Aufwendungen für Unterstützung');
+INSERT INTO gifi (accno,description) VALUES ('4170', 'Vermögenswirksame Leistungen');
+INSERT INTO gifi (accno,description) VALUES ('4175', 'Fahrtkostenerstattung - Wohnung / Arbeitsstätte');
+INSERT INTO gifi (accno,description) VALUES ('4180', 'Bedienungsgelder');
+INSERT INTO gifi (accno,description) VALUES ('4190', 'Aushilfslöhne');
+INSERT INTO gifi (accno,description) VALUES ('4199', 'Lohnsteuer für Aushilfen');
+INSERT INTO gifi (accno,description) VALUES ('4200', 'Raumkosten');
+INSERT INTO gifi (accno,description) VALUES ('4210', 'Miete');
+INSERT INTO gifi (accno,description) VALUES ('4218', 'Gewerbesteuerlich zu berücks. Miete §8 GewStG');
+INSERT INTO gifi (accno,description) VALUES ('4219', 'Vergütung an Mitu. f. mietw. Überl. v. Wirtschaftsg. §15EStG');
+INSERT INTO gifi (accno,description) VALUES ('4220', 'Pacht');
+INSERT INTO gifi (accno,description) VALUES ('4228', 'Gewerbesteuerlich zu berücks. Pacht §8 GewStG');
+INSERT INTO gifi (accno,description) VALUES ('4229', 'Vergütung an Mitu. f. pachtw. Überl. v. Wirtschaftsg.§15EStG');
+INSERT INTO gifi (accno,description) VALUES ('4230', 'Heizung');
+INSERT INTO gifi (accno,description) VALUES ('4240', 'Gas, Strom, Wasser (Verwaltung, Vertrieb)');
+INSERT INTO gifi (accno,description) VALUES ('4250', 'Reinigung');
+INSERT INTO gifi (accno,description) VALUES ('4260', 'Instandhaltung betrieblicher Räume');
+INSERT INTO gifi (accno,description) VALUES ('4270', 'Abgaben für betrieblich genutzten Grundbesitz');
+INSERT INTO gifi (accno,description) VALUES ('4280', 'Sonstige Raumkosten');
+INSERT INTO gifi (accno,description) VALUES ('4300', 'Nicht abziehb. VSt a. sonst. betriebl. Aufw./AfA');
+INSERT INTO gifi (accno,description) VALUES ('4301', 'Nicht abziehb. VSt, 7% a. sonst. betriebl. Aufw./AfA');
+INSERT INTO gifi (accno,description) VALUES ('4305', 'Nicht abziehb. VSt, 16% a. sonst. betriebl. Aufw./AfA');
+INSERT INTO gifi (accno,description) VALUES ('4306', 'Nicht abziehb. VSt, 15% a. sonst. betriebl. Aufw./AfA');
+INSERT INTO gifi (accno,description) VALUES ('4320', 'Gewerbesteuer (Vorauszahlung)');
+INSERT INTO gifi (accno,description) VALUES ('4330', 'Gewerbeertragsteuer');
+INSERT INTO gifi (accno,description) VALUES ('4335', 'Gewerbekapitalsteuer');
+INSERT INTO gifi (accno,description) VALUES ('4340', 'Sonstige Betriebsteuern');
+INSERT INTO gifi (accno,description) VALUES ('4350', 'Verbrauchsteuer');
+INSERT INTO gifi (accno,description) VALUES ('4360', 'Versicherungen');
+INSERT INTO gifi (accno,description) VALUES ('4370', 'Nettoprämie für Rückdeckung künftiger Versorgungsleistungen');
+INSERT INTO gifi (accno,description) VALUES ('4380', 'Beiträge');
+INSERT INTO gifi (accno,description) VALUES ('4390', 'Sonstige Abgaben');
+INSERT INTO gifi (accno,description) VALUES ('4396', 'Steuerlich abzugsfähige Verspätungszuschläge und Zwangsgelder');
+INSERT INTO gifi (accno,description) VALUES ('4397', 'Steuerlich nicht abzugsfähige Verspätungszuschläge und Zwangsgelder');
+INSERT INTO gifi (accno,description) VALUES ('4400', 'Besondere Kosten (zur freien Verfügung)');
+INSERT INTO gifi (accno,description) VALUES ('4500', 'Fahrzeugkosten');
+INSERT INTO gifi (accno,description) VALUES ('4510', 'Kfz-Steuern');
+INSERT INTO gifi (accno,description) VALUES ('4520', 'Kfz-Versicherungen');
+INSERT INTO gifi (accno,description) VALUES ('4530', 'Laufende Kfz-Betriebskosten');
+INSERT INTO gifi (accno,description) VALUES ('4540', 'Kfz-Reparaturen');
+INSERT INTO gifi (accno,description) VALUES ('4550', 'Garagenmieten');
+INSERT INTO gifi (accno,description) VALUES ('4570', 'Fremdfahrzeuge');
+INSERT INTO gifi (accno,description) VALUES ('4580', 'Sonstige Kfz-Kosten');
+INSERT INTO gifi (accno,description) VALUES ('4600', 'Werbe- und Reisekosten');
+INSERT INTO gifi (accno,description) VALUES ('4610', 'Werbekosten');
+INSERT INTO gifi (accno,description) VALUES ('4630', 'Geschenke bis DM 75,00');
+INSERT INTO gifi (accno,description) VALUES ('4635', 'Geschenke über DM 75,00');
+INSERT INTO gifi (accno,description) VALUES ('4638', 'Geschenke ausschließlich betrieblich genutzt');
+INSERT INTO gifi (accno,description) VALUES ('4640', 'Repräsentationskosten');
+INSERT INTO gifi (accno,description) VALUES ('4650', 'Bewirtungskosten');
+INSERT INTO gifi (accno,description) VALUES ('4653', 'Aufwerksamkeiten');
+INSERT INTO gifi (accno,description) VALUES ('4654', 'Nicht abzugsfähige Bewirtungskosten');
+INSERT INTO gifi (accno,description) VALUES ('4655', 'Nicht abzugsfähige Betriebsausgaben');
+INSERT INTO gifi (accno,description) VALUES ('4660', 'Reisekosten Arbeitnehmer');
+INSERT INTO gifi (accno,description) VALUES ('4666', 'Reisekost. Arbeitn., 12,3%/13,1% VSt Verpfl.Mehr- / Übern.Aufw.');
+INSERT INTO gifi (accno,description) VALUES ('4667', 'Reisekost. Arbeitn., 9,8%/10,5% VSt Gesamtpauschal.');
+INSERT INTO gifi (accno,description) VALUES ('4670', 'Reisekosten Unternehmer');
+INSERT INTO gifi (accno,description) VALUES ('4675', 'Reisekosten Unternehmer, 9,8/10,5% VSt sonst.Gesamtpauschal.');
+INSERT INTO gifi (accno,description) VALUES ('4676', 'Reisekost. Untern., 12,3%/13,1% VSt Verpfl.Mehr- / Übern.Aufw.');
+INSERT INTO gifi (accno,description) VALUES ('4677', 'Reisekosten Unternehmer, 9,8%/10,5% VSt Verpfl.Mehraufw. Gesamtpauschal.');
+INSERT INTO gifi (accno,description) VALUES ('4678', 'Km-Geld Erstattung, Unternehmer, 5,7%/6,1% VSt');
+INSERT INTO gifi (accno,description) VALUES ('4685', 'Km-Geld-Erstattung, Arbeitnehmer 8,2%/8,7% VSt');
+INSERT INTO gifi (accno,description) VALUES ('4700', 'Kosten der Warenabgabe');
+INSERT INTO gifi (accno,description) VALUES ('4710', 'Verpackungsmaterial');
+INSERT INTO gifi (accno,description) VALUES ('4730', 'Ausgangsfrachten');
+INSERT INTO gifi (accno,description) VALUES ('4750', 'Transportversicherungen');
+INSERT INTO gifi (accno,description) VALUES ('4760', 'Verkaufsprovisionen');
+INSERT INTO gifi (accno,description) VALUES ('4780', 'Fremdarbeiten');
+INSERT INTO gifi (accno,description) VALUES ('4790', 'Aufwand für Gewährleistungen');
+INSERT INTO gifi (accno,description) VALUES ('4800', 'Reparat. u. Inst. v. Maschinen u. technischen Anlagen');
+INSERT INTO gifi (accno,description) VALUES ('4805', 'Reparat. u. Inst. v. and. Anl. d. Betr.- u. Geschäftsausst.');
+INSERT INTO gifi (accno,description) VALUES ('4809', 'Sonstige Reparaturen und Instandhaltungen');
+INSERT INTO gifi (accno,description) VALUES ('4810', 'Mietleasing');
+INSERT INTO gifi (accno,description) VALUES ('4814', 'Gewerbesteuerl. zu berücksicht. Mietleasing §8 GewStG');
+INSERT INTO gifi (accno,description) VALUES ('4815', 'Kaufleasing');
+INSERT INTO gifi (accno,description) VALUES ('4820', 'Abschr. a. Aufw. f.d. Ingangs. u. Erw. des Geschäftsbetr.');
+INSERT INTO gifi (accno,description) VALUES ('4822', 'Abschr. a. immaterielle Vermögensgegenstände');
+INSERT INTO gifi (accno,description) VALUES ('4824', 'Abschreibung auf den Geschäfts- oder Firmenwert');
+INSERT INTO gifi (accno,description) VALUES ('4826', 'Außerplanm. Abschr. a. immaterielle Vermögensgegenstände');
+INSERT INTO gifi (accno,description) VALUES ('4830', 'Abschreibungen auf Sachanlagen');
+INSERT INTO gifi (accno,description) VALUES ('4840', 'Außerplanm. Abschreibungen auf Sachanlagen');
+INSERT INTO gifi (accno,description) VALUES ('4850', 'Abschr. a. Sachanl. aufgrund steuerl. Sondervorschriften');
+INSERT INTO gifi (accno,description) VALUES ('4855', 'Sofortabschreibung geringwertiger Wirtschaftsgüter');
+INSERT INTO gifi (accno,description) VALUES ('4860', 'Abschreibung auf aktivierte, geringwertige Wirtschaftsgüter');
+INSERT INTO gifi (accno,description) VALUES ('4865', 'Außerplanmäßige Abschr. a. aktivierte GWG');
+INSERT INTO gifi (accno,description) VALUES ('4870', 'Abschreibungen auf Finanzanlagen');
+INSERT INTO gifi (accno,description) VALUES ('4872', 'Abschr. aufgrund v. Verlustant. an Mitunt. §8 GewStG');
+INSERT INTO gifi (accno,description) VALUES ('4874', 'Abschr. a. Finanzanl. aufgrund steuerl. Sondervorschriften');
+INSERT INTO gifi (accno,description) VALUES ('4875', 'Abschreibungen auf Wertpapiere des Umlaufvermögens');
+INSERT INTO gifi (accno,description) VALUES ('4879', 'Vorwegn. künft. Wertschw. bei Wertpapieren des Umlaufv.');
+INSERT INTO gifi (accno,description) VALUES ('4880', 'Abschr. a. Umlaufv. ohne Wertpapiere (soweit unübl. Höhe)');
+INSERT INTO gifi (accno,description) VALUES ('4882', 'Abschr. a. Umlaufv. steuerrechtl. bedingt (unübl. Höhe)');
+INSERT INTO gifi (accno,description) VALUES ('4885', 'Vorwegn. künft. Wertschw. Uml.V. auß. Vorr./Wertp. d. Uml.V.');
+INSERT INTO gifi (accno,description) VALUES ('4886', 'Abschr. a. Uml.V. auß. Vorr./Wertp. d. Uml.V. (übl. Höhe)');
+INSERT INTO gifi (accno,description) VALUES ('4887', 'Abschr. a. Umlaufv., steuerrechtlich bedingt (übl. Höhe)');
+INSERT INTO gifi (accno,description) VALUES ('4890', 'Vorwegn. künftiger Wertschw. im Umlaufv. (unübl. Höhe)');
+INSERT INTO gifi (accno,description) VALUES ('4900', 'Sonstige betriebliche Aufwendungen');
+INSERT INTO gifi (accno,description) VALUES ('4905', 'Sonstige Aufwendungen betrieblich und regelmäßig');
+INSERT INTO gifi (accno,description) VALUES ('4910', 'Porto');
+INSERT INTO gifi (accno,description) VALUES ('4920', 'Telefon');
+INSERT INTO gifi (accno,description) VALUES ('4925', 'Telefax, Fernschreiber');
+INSERT INTO gifi (accno,description) VALUES ('4930', 'Bürobedarf');
+INSERT INTO gifi (accno,description) VALUES ('4940', 'Zeitschriften, Bücher');
+INSERT INTO gifi (accno,description) VALUES ('4945', 'Fortbildungskosten');
+INSERT INTO gifi (accno,description) VALUES ('4946', 'Freiwillige Sozialleistungen');
+INSERT INTO gifi (accno,description) VALUES ('4948', 'Vergütungen an freiberufliche Mitunternehmer §15 EStG');
+INSERT INTO gifi (accno,description) VALUES ('4950', 'Rechts- und Beratungskosten');
+INSERT INTO gifi (accno,description) VALUES ('4955', 'Buchführungskosten');
+INSERT INTO gifi (accno,description) VALUES ('4957', 'Abschluß- und Prüfungskosten');
+INSERT INTO gifi (accno,description) VALUES ('4960', 'Mieten für Einrichtungen');
+INSERT INTO gifi (accno,description) VALUES ('4968', 'Gewerbest. zu berücks. Miete f. Einrichtungen §8 GewStG');
+INSERT INTO gifi (accno,description) VALUES ('4969', 'Aufwendungen für Abraum- und Abfallbeseitigung');
+INSERT INTO gifi (accno,description) VALUES ('4970', 'Nebenkosten des Geldverkehrs');
+INSERT INTO gifi (accno,description) VALUES ('4980', 'Betriebsbedarf');
+INSERT INTO gifi (accno,description) VALUES ('4985', 'Werkzeuge und Kleingeräte');
+INSERT INTO gifi (accno,description) VALUES ('4990', 'Kalkulatorischer Unternehmerlohn');
+INSERT INTO gifi (accno,description) VALUES ('4991', 'Kalkulatorische Miete und Pacht');
+INSERT INTO gifi (accno,description) VALUES ('4992', 'Kalkulatorischer Zinsen');
+INSERT INTO gifi (accno,description) VALUES ('4993', 'Kalkulatorische Abschreibungen');
+INSERT INTO gifi (accno,description) VALUES ('4994', 'Kalkulatorische Wagnisse');
+INSERT INTO gifi (accno,description) VALUES ('4995', 'Kalkulatorischer Lohn für unentgeltliche Mitarbeiter');
+INSERT INTO gifi (accno,description) VALUES ('4996', 'Herstellungskosten');
+INSERT INTO gifi (accno,description) VALUES ('4997', 'Verwaltungskosten');
+INSERT INTO gifi (accno,description) VALUES ('4998', 'Vertriebskosten');
+INSERT INTO gifi (accno,description) VALUES ('4999', 'Gegenkonto 49960-49980');
+INSERT INTO gifi (accno,description) VALUES ('7000', 'Unfertige Erzeugnisse, unfertige Leistungen (Bestand)');
+INSERT INTO gifi (accno,description) VALUES ('7050', 'Unfertige Erzeugnisse (Bestand)');
+INSERT INTO gifi (accno,description) VALUES ('7080', 'Unfertige Leistungen (Bestand)');
+INSERT INTO gifi (accno,description) VALUES ('7090', 'In Ausführung befindliche Bauaufträge');
+INSERT INTO gifi (accno,description) VALUES ('7095', 'In Arbeit befindliche Bauaufträge');
+INSERT INTO gifi (accno,description) VALUES ('7100', 'Fertige Erzeugnisse und Waren (Bestand)');
+INSERT INTO gifi (accno,description) VALUES ('7110', 'Fertige Erzeugnisse (Bestand)');
+INSERT INTO gifi (accno,description) VALUES ('7140', 'Fertige Waren (Bestand)');
+INSERT INTO gifi (accno,description) VALUES ('8000', 'Erlöse (zur freien Verfügung)');
+INSERT INTO gifi (accno,description) VALUES ('8100', 'Steuerfreie Umsätze o. VSt-Abzug §4 Nr.8 ff. UStG');
+INSERT INTO gifi (accno,description) VALUES ('8110', 'Sonstige steuerfreie o. VSt-Abzug Umsätze Inland');
+INSERT INTO gifi (accno,description) VALUES ('8120', 'Steuerfreie Umsätze m. VSt-Abzug §4 Nr.1a, 1c, 2-7 UStG');
+INSERT INTO gifi (accno,description) VALUES ('8125', 'Steuerfreie innergem. Lief. §4 Nr.1b UStG');
+INSERT INTO gifi (accno,description) VALUES ('8130', 'Lieferung d. ersten Abnehmers bei innergem. Dreiecksgesch. §25 b Abs. 2 UStG');
+INSERT INTO gifi (accno,description) VALUES ('8135', 'Steuerfreie ig. Lief. v. Neufahrz. an Abn. ohne UST-ID');
+INSERT INTO gifi (accno,description) VALUES ('8140', 'Steuerfreie Umsätze Offshore usw.');
+INSERT INTO gifi (accno,description) VALUES ('8150', 'Sonstige steuerfreie Umsätze Ausland (§4,2-7)');
+INSERT INTO gifi (accno,description) VALUES ('8195', 'Erlöse aus Geldspielautomaten, 16% Ust');
+INSERT INTO gifi (accno,description) VALUES ('8196', 'Erlöse aus Geldspielautomaten, 15%/16% USt');
+INSERT INTO gifi (accno,description) VALUES ('8197', 'Erlöse aus Geldspielautomaten, 15% Ust');
+INSERT INTO gifi (accno,description) VALUES ('8200', 'Erlöse');
+INSERT INTO gifi (accno,description) VALUES ('8300', 'Erlöse, 7% USt');
+INSERT INTO gifi (accno,description) VALUES ('8310', 'Erlöse a.i.Inland steuerpfl. EU-Lieferungen, 7% USt');
+INSERT INTO gifi (accno,description) VALUES ('8315', 'Erlöse a.i.Inland steuerpfl. EU-Lieferungen, 15%/16% USt');
+INSERT INTO gifi (accno,description) VALUES ('8320', 'Erlöse a.i. anderen EU-Land steuerpfl. Lieferungen');
+INSERT INTO gifi (accno,description) VALUES ('8330', 'Erlöse a.i.Inland steuerpfl. EU-Lieferungen, 16% Ust');
+INSERT INTO gifi (accno,description) VALUES ('8335', 'Erlöse a.i.Inland steuerpfl. EU-Lieferungen, 15% Ust');
+INSERT INTO gifi (accno,description) VALUES ('8339', 'Erlöse a.i. and. EU-Land steuerpfl. sonst. Leist. (Nullreg.)');
+INSERT INTO gifi (accno,description) VALUES ('8340', 'Erlöse, 15% Ust');
+INSERT INTO gifi (accno,description) VALUES ('8400', 'Erlöse, 15%/16% USt');
+INSERT INTO gifi (accno,description) VALUES ('8410', 'Erlöse, 16% Ust');
+INSERT INTO gifi (accno,description) VALUES ('8500', 'Provisionserlöse');
+INSERT INTO gifi (accno,description) VALUES ('8504', 'Provisionserlöse steuerfrei (§4 Nr.8ff UStG)');
+INSERT INTO gifi (accno,description) VALUES ('8505', 'Provisionserlöse steuerfrei (§4 Nr.5 UStG)');
+INSERT INTO gifi (accno,description) VALUES ('8506', 'Provisionserlöse, 7% USt');
+INSERT INTO gifi (accno,description) VALUES ('8507', 'Provisionserlöse, 15% Ust');
+INSERT INTO gifi (accno,description) VALUES ('8508', 'Provisionserlöse, 15%/16% USt');
+INSERT INTO gifi (accno,description) VALUES ('8509', 'Provisionserlöse, 16% Ust');
+INSERT INTO gifi (accno,description) VALUES ('8520', 'Erlöse Abfallverwertung');
+INSERT INTO gifi (accno,description) VALUES ('8540', 'Erlöse Leergut');
+INSERT INTO gifi (accno,description) VALUES ('8590', 'Verrechnete Sachbezüge (keine Waren)');
+INSERT INTO gifi (accno,description) VALUES ('8591', 'Sachbezüge, 7% USt (Waren)');
+INSERT INTO gifi (accno,description) VALUES ('8595', 'Sachbezüge, 15%/16% USt (Waren)');
+INSERT INTO gifi (accno,description) VALUES ('8596', 'Sachbezüge, 16% USt (Waren)');
+INSERT INTO gifi (accno,description) VALUES ('8597', 'Sachbezüge, 15% USt (Waren)');
+INSERT INTO gifi (accno,description) VALUES ('8600', 'Sonstige Erlöse betrieblich und regelmäßig');
+INSERT INTO gifi (accno,description) VALUES ('8610', 'Verrechnete sonstige Sachbezüge');
+INSERT INTO gifi (accno,description) VALUES ('8611', 'Verrechnete sonstige Sachbezüge 15%/16% USt (z.B. Kfz. Gestellung)');
+INSERT INTO gifi (accno,description) VALUES ('8612', 'Verrechnete sonstige Sachbezüge 16% USt (z.B. Kfz. Gestellung)');
+INSERT INTO gifi (accno,description) VALUES ('8613', 'Verrechnete sonstige Sachbezüge 15% USt (z.B. Kfz. Gestellung)');
+INSERT INTO gifi (accno,description) VALUES ('8614', 'Verrechnete sonstige Sachbezüge, ohne Umsatzsteuer');
+INSERT INTO gifi (accno,description) VALUES ('8625', 'Sonstige Erlöse betrieblich und regelmäßig, steuerfrei');
+INSERT INTO gifi (accno,description) VALUES ('8630', 'Sonstige Erlöse betrieblich und regelmäßig, 7% USt');
+INSERT INTO gifi (accno,description) VALUES ('8640', 'Sonstige Erlöse betrieblich und regelmäßig, 15%/16% USt');
+INSERT INTO gifi (accno,description) VALUES ('8645', 'Sonstige Erlöse betrieblich und regelmäßig, 16% Ust');
+INSERT INTO gifi (accno,description) VALUES ('8647', 'Sonstige Erlöse betrieblich und regelmäßig, 15% Ust');
+INSERT INTO gifi (accno,description) VALUES ('8650', 'Erlöse Zinsen und Diskontspesen');
+INSERT INTO gifi (accno,description) VALUES ('8660', 'Erlöse Zinsen und Diskontspesen aus verbundenen Unternehmen');
+INSERT INTO gifi (accno,description) VALUES ('8700', 'Erlösschmälerungen');
+INSERT INTO gifi (accno,description) VALUES ('8705', 'Erlösschmälerungen aus steuerfreien Umsätzen §4 Nr. 1a UStG');
+INSERT INTO gifi (accno,description) VALUES ('8710', 'Erlösschmälerungen, 7% USt');
+INSERT INTO gifi (accno,description) VALUES ('8720', 'Erlösschmälerungen, 15%/16% USt');
+INSERT INTO gifi (accno,description) VALUES ('8722', 'Erlösschmälerungen, 16% Ust');
+INSERT INTO gifi (accno,description) VALUES ('8723', 'Erlösschmälerungen, 15% Ust');
+INSERT INTO gifi (accno,description) VALUES ('8724', 'Erlösschmälerungen aus steuerfreien innergm. Lieferungen');
+INSERT INTO gifi (accno,description) VALUES ('8725', 'Erlösschmäl. a. im Inland steuerpfl. EU-Lieferungen, 7% USt');
+INSERT INTO gifi (accno,description) VALUES ('8726', 'Erlösschmäl. a. im Inland steuerpfl. EU-Lieferungen, 15%/16% USt');
+INSERT INTO gifi (accno,description) VALUES ('8727', 'Erlösschmäl. a. im anderen EU-Land steuerpfl. Lief.');
+INSERT INTO gifi (accno,description) VALUES ('8728', 'Erlösschmäl. a. im Inland steuerpfl. EU-Lieferungen, 16% Ust');
+INSERT INTO gifi (accno,description) VALUES ('8729', 'Erlösschmäl. a. im Inland steuerpfl. EU-Lieferungen, 15% Ust');
+INSERT INTO gifi (accno,description) VALUES ('8730', 'Gewährte Skonti');
+INSERT INTO gifi (accno,description) VALUES ('8731', 'Gewährte Skonti, 7% USt');
+INSERT INTO gifi (accno,description) VALUES ('8735', 'Gewährte Skonti, 16% Ust');
+INSERT INTO gifi (accno,description) VALUES ('8736', 'Gewährte Skonti, 15% USt');
+INSERT INTO gifi (accno,description) VALUES ('8740', 'Gewährte Boni');
+INSERT INTO gifi (accno,description) VALUES ('8750', 'Gewährte Boni, 7% USt');
+INSERT INTO gifi (accno,description) VALUES ('8760', 'Gewährte Boni, 15%/16% USt');
+INSERT INTO gifi (accno,description) VALUES ('8762', 'Gewährte Boni, 16% Ust');
+INSERT INTO gifi (accno,description) VALUES ('8764', 'Gewährte Boni, 15% Ust');
+INSERT INTO gifi (accno,description) VALUES ('8770', 'Gewährte Rabatte');
+INSERT INTO gifi (accno,description) VALUES ('8780', 'Gewährte Rabatte, 7% USt');
+INSERT INTO gifi (accno,description) VALUES ('8790', 'Gewährte Rabatte, 15%/16% USt');
+INSERT INTO gifi (accno,description) VALUES ('8792', 'Gewährte Rabatte, 16% Ust');
+INSERT INTO gifi (accno,description) VALUES ('8794', 'Gewährte Rabatte, 15% Ust');
+INSERT INTO gifi (accno,description) VALUES ('8800', 'Erlöse aus Anlagenverkäufen');
+INSERT INTO gifi (accno,description) VALUES ('8801', 'Erlöse aus Anlagenverkäufen 15%/16% USt (bei Buchverlust)');
+INSERT INTO gifi (accno,description) VALUES ('8810', 'Erlöse aus Anlagenverkäufen 16% USt (bei Buchverlust)');
+INSERT INTO gifi (accno,description) VALUES ('8815', 'Erlöse aus Anlagenverkäufen 15% USt (bei Buchverlust)');
+INSERT INTO gifi (accno,description) VALUES ('8820', 'Erlöse aus Anlagenverkäufen 15%/16% USt (bei Buchgewinn)');
+INSERT INTO gifi (accno,description) VALUES ('8829', 'Erlöse aus Anlagenverkäufen (bei Buchgewinn)');
+INSERT INTO gifi (accno,description) VALUES ('8830', 'Erlöse aus Anlagenverkäufen 16% USt (bei Buchgewinn)');
+INSERT INTO gifi (accno,description) VALUES ('8835', 'Erlöse aus Anlagenverkäufen 15% USt (bei Buchgewinn)');
+INSERT INTO gifi (accno,description) VALUES ('8840', 'Erträge aus Kursdifferenzen');
+INSERT INTO gifi (accno,description) VALUES ('8900', 'Eigenverbrauch');
+INSERT INTO gifi (accno,description) VALUES ('8905', 'Entnahme Gegenstände ohne USt');
+INSERT INTO gifi (accno,description) VALUES ('8908', 'Entnahme von Gegenstände, 16% USt §1 Abs.1 Nr.2a UStG');
+INSERT INTO gifi (accno,description) VALUES ('8909', 'Entnahme von Gegenstände, 15% USt §1 Abs.1 Nr.2a UStG');
+INSERT INTO gifi (accno,description) VALUES ('8910', 'Entnahme von Gegenstände, 15%/16% USt §1 Abs.1 Nr.2a UStG');
+INSERT INTO gifi (accno,description) VALUES ('8915', 'Entnahme von Gegenstände, 7% USt §1 Abs.1 Nr.2a UStG');
+INSERT INTO gifi (accno,description) VALUES ('8920', 'Entnahme v. sonst. Leist., 15%/16% USt §1 A.1 Nr.2b UStG');
+INSERT INTO gifi (accno,description) VALUES ('8930', 'Entnahme v. sonst. Leist., 7% USt §1 A.1 Nr.2b UStG');
+INSERT INTO gifi (accno,description) VALUES ('8937', 'Entnahme v. sonst. Leist., 16% USt §1 A.1 Nr.2b UStG');
+INSERT INTO gifi (accno,description) VALUES ('8938', 'Entnahme v. sonst. Leist., 15% USt §1 A.1 Nr.2b UStG');
+INSERT INTO gifi (accno,description) VALUES ('8939', 'Entnahme v. sonst. Leist., ohne USt §1 A.1 Nr.2b UStG');
+INSERT INTO gifi (accno,description) VALUES ('8940', 'Eigenverbr., 15%/16% Ust §4 A.1 Nr.5 1-7, A.7 EStG');
+INSERT INTO gifi (accno,description) VALUES ('8941', 'Eigenverbr., 7% Ust §4 A.1 Nr.5 1-7, A.7 EStG');
+INSERT INTO gifi (accno,description) VALUES ('8942', 'Eigenverbr., 16% Ust §4 A.1 Nr.5 1-7, A.7 EStG');
+INSERT INTO gifi (accno,description) VALUES ('8943', 'Eigenverbr., 15% Ust §4 A.1 Nr.5 1-7, A.7 EStG');
+INSERT INTO gifi (accno,description) VALUES ('8944', 'Eigenverbr., ohne Ust §4 A.1 Nr.5 1-7, A.7 EStG');
+INSERT INTO gifi (accno,description) VALUES ('8945', 'Unentgeltl. Leist. v. Ges. an Ges., 15%/16% USt §1A.1 Nr.3 UStG');
+INSERT INTO gifi (accno,description) VALUES ('8946', 'Unentgeltl. Leist. v. Ges. an Ges., 7% USt §1A.1 Nr.3 UStG');
+INSERT INTO gifi (accno,description) VALUES ('8947', 'Unentgeltl. Leist. v. Ges. an Ges., 16% USt §1A.1 Nr.3 UStG');
+INSERT INTO gifi (accno,description) VALUES ('8948', 'Unentgeltl. Leist. v. Ges. an Ges., 15% USt §1A.1 Nr.3 UStG');
+INSERT INTO gifi (accno,description) VALUES ('8949', 'Unentgeltl. Leist. v. Ges. an Ges., ohne USt §1A.1 Nr.3 UStG');
+INSERT INTO gifi (accno,description) VALUES ('8950', 'Nicht steuerbare Umsätze');
+INSERT INTO gifi (accno,description) VALUES ('8955', 'Umsatzsteuervergütungen');
+INSERT INTO gifi (accno,description) VALUES ('8960', 'Bestandsveränd. - unfertige Erzeugnisse');
+INSERT INTO gifi (accno,description) VALUES ('8970', 'Bestandsveränd. - unfertige Leistungen');
+INSERT INTO gifi (accno,description) VALUES ('8975', 'Bestandsveränd. - in Ausführung befindliche Bauaufträge');
+INSERT INTO gifi (accno,description) VALUES ('8977', 'Bestandsveränd. - in Arbeit befindliche Aufträge');
+INSERT INTO gifi (accno,description) VALUES ('8980', 'Bestandsveränd. - fertige Erzeugnisse');
+INSERT INTO gifi (accno,description) VALUES ('8990', 'Bestandsveränd. - andere aktivierte Eigenleistungen');
+INSERT INTO gifi (accno,description) VALUES ('9000', 'Saldenvorträge Sachkonten');
+INSERT INTO gifi (accno,description) VALUES ('9008', 'Saldenvorträge Debitoren');
+INSERT INTO gifi (accno,description) VALUES ('9009', 'Saldenvorträge Kreditoren');
+INSERT INTO gifi (accno,description) VALUES ('9060', 'Offene Posten aus 1990');
+INSERT INTO gifi (accno,description) VALUES ('9085', 'Offene Posten aus 1985');
+INSERT INTO gifi (accno,description) VALUES ('9086', 'Offene Posten aus 1986');
+INSERT INTO gifi (accno,description) VALUES ('9087', 'Offene Posten aus 1987');
+INSERT INTO gifi (accno,description) VALUES ('9088', 'Offene Posten aus 1988');
+INSERT INTO gifi (accno,description) VALUES ('9089', 'Offene Posten aus 1989');
+INSERT INTO gifi (accno,description) VALUES ('9090', 'Summenvortragskonto');
+INSERT INTO gifi (accno,description) VALUES ('9091', 'Offene Posten aus 1991');
+INSERT INTO gifi (accno,description) VALUES ('9092', 'Offene Posten aus 1992');
+INSERT INTO gifi (accno,description) VALUES ('9093', 'Offene Posten aus 1993');
+INSERT INTO gifi (accno,description) VALUES ('9094', 'Offene Posten aus 1994');
+INSERT INTO gifi (accno,description) VALUES ('9095', 'Offene Posten aus 1995');
+INSERT INTO gifi (accno,description) VALUES ('9096', 'Offene Posten aus 1996');
+INSERT INTO gifi (accno,description) VALUES ('9097', 'Offene Posten aus 1997');
+INSERT INTO gifi (accno,description) VALUES ('9098', 'Offene Posten aus 1998');
+INSERT INTO gifi (accno,description) VALUES ('9100', 'Saldovortragskonto der Statistikkonten');
+INSERT INTO gifi (accno,description) VALUES ('9101', 'Verkaufstage');
+INSERT INTO gifi (accno,description) VALUES ('9102', 'Anzahl der Barkunden');
+INSERT INTO gifi (accno,description) VALUES ('9103', 'Beschäftigte Personen');
+INSERT INTO gifi (accno,description) VALUES ('9104', 'Unbezahlte Personen');
+INSERT INTO gifi (accno,description) VALUES ('9105', 'Verkaufskräfte');
+INSERT INTO gifi (accno,description) VALUES ('9106', 'Geschäftsraum qm');
+INSERT INTO gifi (accno,description) VALUES ('9107', 'Verkaufsraum qm');
+INSERT INTO gifi (accno,description) VALUES ('9108', 'Veränderungsrate positiv');
+INSERT INTO gifi (accno,description) VALUES ('9109', 'Veränderungsrate negativ');
+INSERT INTO gifi (accno,description) VALUES ('9110', 'Plan-WE (in Prozent)');
+INSERT INTO gifi (accno,description) VALUES ('9120', 'Erweiterungsinvestitionen');
+INSERT INTO gifi (accno,description) VALUES ('9135', 'Auftragseingang im Geschäftsjahr');
+INSERT INTO gifi (accno,description) VALUES ('9140', 'Auftragsbestand');
+INSERT INTO gifi (accno,description) VALUES ('9190', 'Gegenkonto für statistische Mengeneinheiten Konten 91010-91190');
+INSERT INTO gifi (accno,description) VALUES ('9199', 'Gegenkonto zu 91200, 91350-91400');
+INSERT INTO gifi (accno,description) VALUES ('9200', 'Beschäftigte Personen');
+INSERT INTO gifi (accno,description) VALUES ('9209', 'Gegenkonto zu 92000');
+INSERT INTO gifi (accno,description) VALUES ('9210', 'Produktive Löhne');
+INSERT INTO gifi (accno,description) VALUES ('9219', 'Gegenkonto zu 92100');
+INSERT INTO gifi (accno,description) VALUES ('9230', 'Baukostenzuschüsse');
+INSERT INTO gifi (accno,description) VALUES ('9232', 'Investitionszulagen');
+INSERT INTO gifi (accno,description) VALUES ('9234', 'Investitionszuschüsse');
+INSERT INTO gifi (accno,description) VALUES ('9239', 'Gegenkonto zu 92300-92380');
+INSERT INTO gifi (accno,description) VALUES ('9240', 'Investitionsverbindlichkeiten bei den Leistungsverbindlichkeiten');
+INSERT INTO gifi (accno,description) VALUES ('9244', 'Gegenkonto zu 92400');
+INSERT INTO gifi (accno,description) VALUES ('9245', 'Forderungen aus Anlagenverkäufen bei den sonstigen Vermögensgegenst.');
+INSERT INTO gifi (accno,description) VALUES ('9249', 'Gegenkonto zu 92450');
+INSERT INTO gifi (accno,description) VALUES ('9250', 'Eigenkapitalersetzende Gesellschafterdarlehen');
+INSERT INTO gifi (accno,description) VALUES ('9255', 'Ungesicherte Gesellschafterdarlehen mit Restlaufzeit > 5 Jahre');
+INSERT INTO gifi (accno,description) VALUES ('9259', 'Gegenkonto zu 92500-92580');
+INSERT INTO gifi (accno,description) VALUES ('9260', 'Kurzfristige Rückstellungen');
+INSERT INTO gifi (accno,description) VALUES ('9262', 'Mittelfristige Rückstellungen');
+INSERT INTO gifi (accno,description) VALUES ('9264', 'Langfristige Rückstellungen');
+INSERT INTO gifi (accno,description) VALUES ('9269', 'Gegenkonto zu 92600-92680');
+INSERT INTO gifi (accno,description) VALUES ('9270', 'Gegenkonto zu 92710-92780');
+INSERT INTO gifi (accno,description) VALUES ('9271', 'Verb. a. d. Begebung u. Übertragung v. Wechseln');
+INSERT INTO gifi (accno,description) VALUES ('9272', 'Verb. a. d. Begebung u. Übertr. v. Wechseln gg. verb. U.');
+INSERT INTO gifi (accno,description) VALUES ('9273', 'Verb. a. Bürgsch., Wechsel- u. Scheckbürgsch.');
+INSERT INTO gifi (accno,description) VALUES ('9274', 'Verb. a. Bürgsch., Wechsel- u. Scheckbürgsch. gg. verb. U.');
+INSERT INTO gifi (accno,description) VALUES ('9275', 'Verb. aus Gewährleistungsverträgen');
+INSERT INTO gifi (accno,description) VALUES ('9276', 'Verb. aus Gewährleistungsverträgen gg. verbund. Untern.');
+INSERT INTO gifi (accno,description) VALUES ('9277', 'Haftung a. d. Best. von Sicherheiten für fremde Verbindl.');
+INSERT INTO gifi (accno,description) VALUES ('9278', 'Haftung a.d. Best. v. Sicherh. f. fr. Verbindl. gg. verb. U.');
+INSERT INTO gifi (accno,description) VALUES ('9280', 'Gegenkonto zu 92810-92840');
+INSERT INTO gifi (accno,description) VALUES ('9281', 'Verpflichtungen aus Miet- und Leasingverträgen');
+INSERT INTO gifi (accno,description) VALUES ('9282', 'Verpflichtungen aus Miet- und Leasingverträgen gg. verb. Unternehm.');
+INSERT INTO gifi (accno,description) VALUES ('9283', 'Andere Verpflichtungen gem. §285 Nr.3 HGB');
+INSERT INTO gifi (accno,description) VALUES ('9284', 'Andere Verpflichtungen gem. §285 Nr.3 HGB gg. verb. Unternehmen');
+INSERT INTO gifi (accno,description) VALUES ('9410', 'Aussteh. Einl. §26 A.3 DMBilG nicht eingef. (Aktivausw.)');
+INSERT INTO gifi (accno,description) VALUES ('9411', 'Aussteh. Einl. §26 A.3 DMBilG eingef. (Aktivausweis)');
+INSERT INTO gifi (accno,description) VALUES ('9413', 'Aufw. f. Ingangs. u. Erw. d. Gesch.Betr. §31A.1 Nr.2 DMBilG');
+INSERT INTO gifi (accno,description) VALUES ('9415', 'Nichtentgeltl. erw. immat. Verm.Gegenst. §31A.1 Nr.1 DMBilG');
+INSERT INTO gifi (accno,description) VALUES ('9416', 'Nutzungsrechte gem. § 9 Abs.3 Satz 2 DMBilG');
+INSERT INTO gifi (accno,description) VALUES ('9420', 'Ford. gg. verb. Untern. a. Ausgleichsverb. gem. §25 DMBilG');
+INSERT INTO gifi (accno,description) VALUES ('9421', 'Ford. gg. verb. U. a. Ausgl.Verb. §25 DMBilG Restl. b. 1 J.');
+INSERT INTO gifi (accno,description) VALUES ('9422', 'Ford. gg. verb. U. a. Ausgl.Verb. §25 DMBilG Restl. gr. 1 J.');
+INSERT INTO gifi (accno,description) VALUES ('9426', 'Eingeforderte Einlagen §26 Abs. 3 DMBilG');
+INSERT INTO gifi (accno,description) VALUES ('9427', 'Ausgleichsforderungen §24 DMBilG');
+INSERT INTO gifi (accno,description) VALUES ('9428', 'Ausgleichsford. §24 DMBilG - Restlaufz. bis 1 Jahr');
+INSERT INTO gifi (accno,description) VALUES ('9429', 'Ausgleichsford. §24 DMBilG - Restlaufz. größer 1 Jahr');
+INSERT INTO gifi (accno,description) VALUES ('9430', 'Ford. nach dem VermG §7 Abs. 6 DMBilG');
+INSERT INTO gifi (accno,description) VALUES ('9431', 'Ford. nach dem VermG §7 A.6 DMBilG - Restl. bis 1 J.');
+INSERT INTO gifi (accno,description) VALUES ('9432', 'Ford. nach dem VermG §7 A.6 DMBilG - Restl. gr. 1 J.');
+INSERT INTO gifi (accno,description) VALUES ('9433', 'Vermögensvorteile §31 Abs.1 Nr. 3 DMBilG');
+INSERT INTO gifi (accno,description) VALUES ('9434', 'Kapitalentwertungskonto');
+INSERT INTO gifi (accno,description) VALUES ('9435', 'Kapitalentwertungskonto §28 Abs.1 DMBilG');
+INSERT INTO gifi (accno,description) VALUES ('9436', 'Kapitalentwertungskonto §26 Abs.4 DMBilG');
+INSERT INTO gifi (accno,description) VALUES ('9438', 'Sonderverlustkonto aus Rückstellungen §17 Abs.4 DMBilG');
+INSERT INTO gifi (accno,description) VALUES ('9440', 'Beteiligunsentwertungskonto §24 Abs.5 DMBilG');
+INSERT INTO gifi (accno,description) VALUES ('9445', 'Vorläufige Gewinnrücklage §31 Abs.1 DMBilG');
+INSERT INTO gifi (accno,description) VALUES ('9446', 'Sonderrücklage §7 Abs.6 Satz 2 DMBilG');
+INSERT INTO gifi (accno,description) VALUES ('9447', 'Sonderrücklage §17 Abs.4 Satz 3 DMBilG');
+INSERT INTO gifi (accno,description) VALUES ('9448', 'Sonderrücklage §24 Abs. 5 Satz 3 DMBilG');
+INSERT INTO gifi (accno,description) VALUES ('9449', 'Sonderrücklage §27 Abs. 2 Satz 3 DMBilG');
+INSERT INTO gifi (accno,description) VALUES ('9450', 'Rückst. f. Umweltbeeinträchtigung §17 A.2a DMBilG');
+INSERT INTO gifi (accno,description) VALUES ('9451', 'Nachrangiges Kapital §16 Abs. 3 Satz 2 DMBilG');
+INSERT INTO gifi (accno,description) VALUES ('9453', 'Berichtig. v. Wertans. §36 DMBilG - Erhöhung d. Aktiva');
+INSERT INTO gifi (accno,description) VALUES ('9454', 'Berichtig. v. Wertans. §36 DMBilG - Verm. d. Aktivp.');
+INSERT INTO gifi (accno,description) VALUES ('9455', 'Berichtig. v. Wertans. §36 DMBilG - Erhöhung d. Passiva');
+INSERT INTO gifi (accno,description) VALUES ('9456', 'Berichtig. v. Wertans. §36 DMBilG - Verm. d. Passivp.');
+INSERT INTO gifi (accno,description) VALUES ('9457', 'Verb. gg. verb. Untern. a. Ausgleichsford. gem. §24 DMBilG');
+INSERT INTO gifi (accno,description) VALUES ('9458', 'Verb. gg. verb. U. a. Ausgl.Ford. §24 DMBilG Restl. b. 1 J.');
+INSERT INTO gifi (accno,description) VALUES ('9459', 'Verb. gg. verb. U. a. Ausgl.Ford. §24 DMBilG Restl. 1 b. 5 J');
+INSERT INTO gifi (accno,description) VALUES ('9460', 'Verb. gg. verb. U. a. Ausgl.Ford. §24 DMBilG Restl. gr. 5 J');
+INSERT INTO gifi (accno,description) VALUES ('9462', 'Verb. gg. verb. Untern. §26 DMBilG');
+INSERT INTO gifi (accno,description) VALUES ('9463', 'Verb. gg. verb. Untern. §26 DMBilG - Restl. bis 1 J.');
+INSERT INTO gifi (accno,description) VALUES ('9464', 'Verb. gg. verb. Untern. §26 DMBilG - Restl. 1 bis 5 J.');
+INSERT INTO gifi (accno,description) VALUES ('9465', 'Verb. gg. verb. Untern. §26 DMBilG - Restl. größer 5 J.');
+INSERT INTO gifi (accno,description) VALUES ('9467', 'Ausgleichsverbindlichkeiten §25 Abs.1 DMBilG');
+INSERT INTO gifi (accno,description) VALUES ('9468', 'Ausgleichsverb. §25 Abs.1 DMBilG - Restlaufz. bis 1 J.');
+INSERT INTO gifi (accno,description) VALUES ('9469', 'Ausgleichsverb. §25 A.1 DMBilG - Restlaufz. 1 bis 5 J.');
+INSERT INTO gifi (accno,description) VALUES ('9470', 'Ausgleichsverb. §25 A.1 DMBilG - Restlaufz. größer 5 J.');
+INSERT INTO gifi (accno,description) VALUES ('9472', 'Verb. nach dem VermG §7 Abs.6 DMBilG');
+INSERT INTO gifi (accno,description) VALUES ('9473', 'Verb. nach dem VermG §7 A.6 DMBilG - Restl. bis 1 J.');
+INSERT INTO gifi (accno,description) VALUES ('9474', 'Verb. nach dem VermG §7 A.6 DMBilG - Restl. 1 bis 5 J.');
+INSERT INTO gifi (accno,description) VALUES ('9475', 'Verb. nach dem VermG §7 A.6 DMBilG - Restl. größer 5 J.');
+INSERT INTO gifi (accno,description) VALUES ('9476', 'Verb. aus Rückzahlungsverpfl. 17 Abs.4a DMBilG');
+INSERT INTO gifi (accno,description) VALUES ('9477', 'Verb. a. Rückzahlg.Verpfl. - Restl. b. 1 J. §17 A.4a DMBilG');
+INSERT INTO gifi (accno,description) VALUES ('9478', 'Verb. a. Rückzahlg.Verpfl. - Restl. 1 b. 5 J. §17A.4a DMBilG');
+INSERT INTO gifi (accno,description) VALUES ('9479', 'Verb. a. Rückzahlg.Verpfl. - Restl. gr. 5 J. §17 A.4a DMBilG');
+INSERT INTO gifi (accno,description) VALUES ('9480', 'Auflösung Kapitalentwertungskonto §28 A.2 Satz 4 DMBilG');
+INSERT INTO gifi (accno,description) VALUES ('9481', 'Entnahmen a. vorläufigen Gewinnrücklagen §31 A.6 DMBilG');
+INSERT INTO gifi (accno,description) VALUES ('9482', 'Entnahmen a. Sonderrückl. zum Ausgleich von Verlusten');
+INSERT INTO gifi (accno,description) VALUES ('9486', 'Abschreibungen auf Ausgleichsforderungen DMBilG');
+INSERT INTO gifi (accno,description) VALUES ('9487', 'Erträge aus der Auflösung von Rückstellungen DMBilG');
+INSERT INTO gifi (accno,description) VALUES ('9500', 'Anteil für Konto 09000-09090');
+INSERT INTO gifi (accno,description) VALUES ('9510', 'Anteil für Konto 09100-09190');
+INSERT INTO gifi (accno,description) VALUES ('9520', 'Anteil für Konto 09200-09290');
+INSERT INTO gifi (accno,description) VALUES ('9530', 'Anteil für Konto 08300-08390');
+INSERT INTO gifi (accno,description) VALUES ('9540', 'Anteil für Konto 08100-08190');
+INSERT INTO gifi (accno,description) VALUES ('9570', 'Anteil für Konto 08700-08790');
+INSERT INTO gifi (accno,description) VALUES ('9580', 'Anteil für Konto 08800-08890');
+INSERT INTO gifi (accno,description) VALUES ('9590', 'Anteil für Konto 08900-08990');
+INSERT INTO gifi (accno,description) VALUES ('9600', 'Name des Gesellschafters (Vollhafter)');
+INSERT INTO gifi (accno,description) VALUES ('9610', 'Tätigkeitsvergütung (Vollhafter)');
+INSERT INTO gifi (accno,description) VALUES ('9620', 'Tantieme (Vollhafter)');
+INSERT INTO gifi (accno,description) VALUES ('9630', 'Darlehensverzinsung (Vollhafter)');
+INSERT INTO gifi (accno,description) VALUES ('9640', 'Gebrauchsüberlassung (Vollhafter)');
+INSERT INTO gifi (accno,description) VALUES ('9650', 'Sonstige Vergütungen (Vollhafter)');
+INSERT INTO gifi (accno,description) VALUES ('9690', 'Restanteil (Vollhafter)');
+INSERT INTO gifi (accno,description) VALUES ('9700', 'Name des Gesellschafters (Teilhafter)');
+INSERT INTO gifi (accno,description) VALUES ('9710', 'Tätigkeitsvergütung (Teilhafter)');
+INSERT INTO gifi (accno,description) VALUES ('9720', 'Tantieme (Teilhafter)');
+INSERT INTO gifi (accno,description) VALUES ('9730', 'Darlehensverzinsung (Teilhafter)');
+INSERT INTO gifi (accno,description) VALUES ('9740', 'Gebrauchsüberlassung (Teilhafter)');
+INSERT INTO gifi (accno,description) VALUES ('9750', 'Sonstige Vergütungen (Teilhafter)');
+INSERT INTO gifi (accno,description) VALUES ('9790', 'Restanteil (Teilhafter)');
+INSERT INTO gifi (accno,description) VALUES ('9890', 'Statistisches Konto für passive Lohnveredelung');
+INSERT INTO gifi (accno,description) VALUES ('9899', 'Gegenkonto zu 9890');
diff --git a/sql-ledger/sql/Italy-chart.sql b/sql-ledger/sql/Italy-chart.sql
new file mode 100644
index 0000000..0af8e9f
--- /dev/null
+++ b/sql-ledger/sql/Italy-chart.sql
@@ -0,0 +1,179 @@
+--
+-- Chart of Accounts for Italy
+--
+-- From: Luca Venturini <luca@yepa.com>
+-- 9 Oct 2001
+--
+-- ('2001101'5 Conto ('6470005' diventa tassa (negativa)
+-- ('2001102'5 IVA su acquisti diventa Iva su acq. (20%)
+-- ('2001102'5 Introdotto un conto per ogni aliquota IVA
+-- ('2001102'7 Modificato numero di conto per la Ritenuta d'acconto
+-- ('2001103'1 Inseriti Fornitore-test e Consulente-test
+-- ('2001111'5 Invertito i ruoli di ('6470005' e ('6470010' (erano sbagliati)
+-- ('2001111'5 Eliminata l'applicabilita' della RA al cliente test
+-- ('2001112'0 Aggiunto IC_expense al conto ('7005005' (mancava un conto di default per i servizi)
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2010000','COSTI DI RICERCA, DI SVILUPPO E DI PUBBLICITA\'','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2010005','Spese di ricerca e di sviluppo','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2010010','Spese di pubblicita\'','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2015000','DIRITTI DI BREV. IND. E DIRITTI DI UTILIZZ DELLE OPERE DELL\'INGEGNO','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2015005','Brevetti','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2020005','Concessioni, licenze e diritti simili','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2025005','Avviamento','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2245000','TERRENI E FABBRICATI','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2245010','Fabbricati civili','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2250000','IMPIANTI E MACCHINARI','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2250005','Impianti generici','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2255000','ATTREZZATURE INDUSTRIALI E COMMERCIALI','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2255005','Attrezzature','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2255010','Mobili','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2255015','Macchine d\'ufficio','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2255025','Autovetture','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3005000','RIMANENZE MATERIE PRIME, SUSSIDIARIE E DI CONSUMO','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3005005','Rimanenze materie prime','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3020000','RIMANENZE PRODOTTI FINITI E MERCI','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3020005','Rimanenze prodotti finiti','A','','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4001000','CREDITI VERSO CL. PER FATT. EM. ESIGIBILI ENTRO L\'ESER. SUCC.','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4001001','Crediti verso clienti per fatture emesse','A','','A','AR');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4064000','CREDITI VERSO ALTRI - CREDITI D\'IMPOSTA','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4064005','IRPEF acconto','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4064020','IRPEG acconto','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4064800','Credito verso erario per IVA','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4400000','DISPONIBILITA\' LIQUIDE','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4480105','Banca ...c/c','A','','A','AR_paid:AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4480400','Assegni','A','','A','AR_paid:AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4480500','Cassa e valori','A','','A','AR_paid:AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5005000','CAPITALE','H','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5005005','Capitale sociale','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5005010','Versamenti in conto capitale','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5020000','RISERVA LEGALE','H','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5020005','Riserva legale','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5080000','UTILI (PERDITE) PORTATI A NUOVO','H','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5080005','Utili esercizi precedenti','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5080010','Perdite esercizi precedenti','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5090000','UTILE (PERDITA) DELL\'ESERCIZIO','H','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5090005','Utile dell\'esercizio','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5090010','Perdita dell\'esercizio','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6200000','TRATTAMENTO DI FINE RAPPORTO DI LAVORO SUBORDINATO','H','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6220005','Trattamento di fine rapporto di lavoro subordinato','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6220010','Anticipazioni erogate su trattamento di fine rapporto di lavoro subordinato','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6435000','DEBITI VERSO BANCHE ESIGIBILI ENTRO ES. SUCC.','H','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6435005','Banca di ... c/c','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6436000','DEBITI VERSO BANCHE ESIGIBILI OLTRE ES. SUCC.','H','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6436005','Mutuo banca di ...','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6450000','DEBITI VERSO FORNITORI FATT. RICEVUTE ESIGIBILI ENTRO ES. SUCC.','H','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6450001','Debiti verso fornitori per fatture ricevute','A','','L','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6470000','DEBITI TRIBUTARI','H','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6470005','IRPEF dipendenti','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6470010','IRPEF terzi','A','','L','AP_tax:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6470015','IVA da versare','A','','L','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6470020','IVA in sospeso','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6470025','IRPEG sul reddito d\'esercizio','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6470030','ILOR sul reddito d\'esercizio','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6470050','Imposta patrimoniale','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6475000','DEBITI VERSO ISTITUTI PREV. ESIGIBILI ENTRO ES. SUCC.','H','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6475005','INPS','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6475010','INAIL','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6475020','Servizio sanitario nazionale (S.S.N.)','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6475025','ENASARCO','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6480000','ALTRI DEBITI - IVA C/ERARIO','H','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6480003','IVA su acquisti (4%)','A','','L','AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6480004','IVA su acquisti (10%)','A','','L','AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6480005','IVA su acquisti (20%)','A','','L','AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6480006','IVA a credito su acquisti U.E.','A','','L','AP_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6480010','IVA su fatture emesse','A','','L','AR_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6480011','IVA a debito su acquisti U.E.','A','','L','AR_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6480015','IVA su corrispettivi','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6480020','IVA versata','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6480025','IVA acconto','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6480030','IVA a credito','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6480035','IVA ulteriore detrazione','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6480040','Crediti d\'imposta diversi','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6480045','IVA pro-rata indetraibile','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6480050','IVA da contabilità separata','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6480055','IVA c/riepilogativo','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6600000','RATEI E RISCONTI PASSIVI','H','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6690005','Ratei passivi','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('6692005','Risconti passivi','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7005000','COSTI PER MATERIE PRIME, SUSSIDIARIE, DI CONSUMO E DI MERCI','H','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7005005','Materie prime','A','','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7005015','Merci destinate alla rivendita','A','','E','AP_amount:IC_cogs');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7005020','Materiali di consumo destinati alla produzione','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7005030','Materiali di pulizia','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7005035','Combustibile per riscaldamento','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7005040','Cancelleria','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7005045','Materiale pubblicitario','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7005050','Carburanti e lubrificanti','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7025000','SPESE DI GESTIONE','H','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7025005','Energia elettrica','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7025015','Spese telefoniche','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7025025','Spese pubblicità/propaganda','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7025030','Spese di assicurazione','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7025040','Pulizia locali','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7025055','Viaggi e soggiorni amministratori','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7025060','Spese di rappresentanza per servizi interamente detraibili','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7025065','Altre spese di rappresentanza','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7025100','Altri servizi','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7028000','CARBURANTI E LUBRIFICANTI PER AUTOTRAZIONE','H','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7028005','Carburanti e lubrificanti autovetture','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7028010','Carburanti e lubrificanti autocarri etc.','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7030000','COMPENSI PROFESSIONALI','H','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7030005','Consulenza fiscale e tributaria','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7030015','Consulenza legale','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7030030','Compenso amministratori','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7035000','COSTI PER GODIMENTO BENI DI TERZI','H','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7035005','Fitti passivi','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7035050','Canoni di leasing','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7040000','COSTI PER IL PERSONALE','H','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7040005','Salari e stipendi','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7040010','Oneri sociali INPS','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7040015','Oneri sociali INAIL','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7040020','Oneri sociali C.E.','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7043000','AMMORTAMENTI E SVALUTAZIONI','H','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7043005','Ammortamenti immobilizzazioni immateriali','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7043100','Ammortamenti immobilizzazioni materiali','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7056000','ONERI DIVERSI DI GESTIONE','H','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7056010','Imposta di registro, bolli ,CC.GG., etc.','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7056015','Imposta camerale','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7056025','Tributi locali diversi','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7056040','Tassa possesso autoveicoli','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7260000','INTERESSI E ONERI FINANZIARI','H','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7260020','Interessi passivi bancari','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7260025','Interessi passivi mutui','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7875000','IMPOSTE SUL REDDITO DELL\'ESERCIZIO','H','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7875005','IRPEG corrente','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('7875020','IRPEG differita','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('8005000','RICAVI DELLE VENDITE','H','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('8005005','Ricavi cessione beni','A','','I','AR_amount:IC_sale');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('8015000','RICAVI DELLE PRESTAZIONI','H','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('8015005','Ricavi per prestazioni a terzi','A','','I','AR_amount:IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('8015015','Noleggio impianti e macchinari','A','','I','AR_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('8041000','INCREMENTI IMMOBILIZZAZIONI IMMATERIALI','H','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('8041005','Brevetti','A','','I','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('8041010','Spese di costituzione società','A','','I','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('8041020','Spese pubblicità e propaganda','A','','I','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('8045000','ALTRI RICAVI E PROVENTI','H','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('8045001','Cessione di materie prime, sussidiarie e semilavorati','A','','I','AR_amount');
+--
+-- foreign exchange gain / loss
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('9990000','Foreign Exchange Gain','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('9990010','Foreign Exchange Loss','A','','E','');
+--
+-- insert taxes
+--
+--Ritenuta d'acconto
+INSERT INTO tax (chart_id, rate) VALUES ((SELECT id FROM chart WHERE accno = '6470010'), -0.2);
+--IVA Acquisti 4%
+INSERT INTO tax (chart_id, rate) VALUES ((SELECT id FROM chart WHERE accno = '6480003'), 0.04);
+--IVA Acquisti 10%
+INSERT INTO tax (chart_id, rate) VALUES ((SELECT id FROM chart WHERE accno = '6480004'), 0.1);
+--IVA Acquisti 20%
+INSERT INTO tax (chart_id, rate) VALUES ((SELECT id FROM chart WHERE accno = '6480005'), 0.2);
+--IVA Fatture Emesse
+INSERT INTO tax (chart_id, rate) VALUES ((SELECT id FROM chart WHERE accno = '6480010'), 0.2);
+--IVA su corrispettivi
+INSERT INTO tax (chart_id, rate) VALUES ((SELECT id FROM chart WHERE accno = '6480015'), 0.2);
+--
+-- update defaults
+--
+update defaults set inventory_accno_id = (select id from chart where accno = '3020005'), income_accno_id = (select id from chart where accno = '8005005'), expense_accno_id = (select id from chart where accno = '7005005'), fxgain_accno_id = (select id from chart where accno = '9990000'), fxloss_accno_id = (select id from chart where accno = '9990010'), invnumber = '20010000', sonumber = '1000', ponumber = '1000', curr = 'EUR', weightunit = 'kg';
+--
diff --git a/sql-ledger/sql/Oracle-indices.sql b/sql-ledger/sql/Oracle-indices.sql
new file mode 100644
index 0000000..e55915b
--- /dev/null
+++ b/sql-ledger/sql/Oracle-indices.sql
@@ -0,0 +1,57 @@
+create index acc_trans_trans_id_key on acc_trans (trans_id);
+create index acc_trans_chart_id_key on acc_trans (chart_id);
+create index acc_trans_transdate_key on acc_trans (transdate);
+create index acc_trans_source_key on acc_trans (source);
+create index ap_id_key on ap (id);
+create index ap_transdate_key on ap (transdate);
+create index ap_invnumber_key on ap (invnumber);
+create index ap_ordnumber_key on ap (ordnumber);
+create index ap_vendor_id_key on ap (vendor_id);
+create index ap_employee_id_key on ap (employee_id);
+create index ar_id_key on ar (id);
+create index ar_transdate_key on ar (transdate);
+create index ar_invnumber_key on ar (invnumber);
+create index ar_ordnumber_key on ar (ordnumber);
+create index ar_customer_id_key on ar (customer_id);
+create index ar_employee_id_key on ar (employee_id);
+create index assembly_id_key on assembly (id);
+create index chart_id_key on chart (id);
+create unique index chart_accno_key on chart (accno);
+create index chart_category_key on chart (category);
+create index chart_link_key on chart (link);
+create index chart_gifi_accno_key on chart (gifi_accno);
+create index customer_id_key on customer (id);
+create index customer_customer_id_key on customertax (customer_id);
+create index customer_customernumber_key on customer (customernumber);
+create index customer_name_key on customer (name);
+create index customer_contact_key on customer (contact);
+create index employee_id_key on employee (id);
+create unique index employee_login_key on employee (login);
+create index employee_name_key on employee (name);
+create index exchangerate_ct_key on exchangerate (curr, transdate);
+create unique index gifi_accno_key on gifi (accno);
+create index gl_id_key on gl (id);
+create index gl_transdate_key on gl (transdate);
+create index gl_reference_key on gl (reference);
+create index gl_description_key on gl (description);
+create index gl_employee_id_key on gl (employee_id);
+create index invoice_id_key on invoice (id);
+create index invoice_trans_id_key on invoice (trans_id);
+create index makemodel_parts_id_key on makemodel (parts_id);
+create index oe_id_key on oe (id);
+create index oe_transdate_key on oe (transdate);
+create index oe_ordnumber_key on oe (ordnumber);
+create index oe_employee_id_key on oe (employee_id);
+create index orderitems_trans_id_key on orderitems (trans_id);
+create index parts_id_key on parts (id);
+create index parts_partnumber_key on parts (partnumber);
+create index parts_description_key on parts (description);
+create index partstax_parts_id_key on partstax (parts_id);
+create index vendor_id_key on vendor (id);
+create index vendor_name_key on vendor (name);
+create index vendor_vendornumber_key on vendor (vendornumber);
+create index vendor_contact_key on vendor (contact);
+create index vendortax_vendor_id_key on vendortax (vendor_id);
+create index shipto_trans_id_key on shipto (trans_id);
+create index project_id_key on project (id);
+create index partsgroup_id_key on partsgroup (id);
diff --git a/sql-ledger/sql/Oracle-tables.sql b/sql-ledger/sql/Oracle-tables.sql
new file mode 100644
index 0000000..d2bf7c7
--- /dev/null
+++ b/sql-ledger/sql/Oracle-tables.sql
@@ -0,0 +1,388 @@
+-- Oracle-tables.sql
+-- Paulo Rodrigues: added functions and triggers, Oct. 31, 2001
+--
+-- Modified for use with SL 2.0 and Oracle 9i2, Dec 13, 2002
+--
+ALTER SESSION SET NLS_DATE_FORMAT = 'YYYY-MM-DD';
+--
+CREATE SEQUENCE id START WITH 10000 INCREMENT BY 1 MAXVALUE 2147483647 MINVALUE 1 CACHE 2;
+SELECT ID.NEXTVAL FROM DUAL;
+--
+CREATE TABLE makemodel (
+ parts_id INTEGER,
+ name VARCHAR2(100)
+);
+--
+CREATE TABLE gl (
+ id INTEGER,
+ reference VARCHAR2(50),
+ description VARCHAR2(100),
+ transdate DATE DEFAULT SYSDATE,
+ employee_id INTEGER,
+ notes VARCHAR2(4000)
+);
+--
+CREATE TABLE chart (
+ id INTEGER,
+ accno VARCHAR2(20) NOT NULL,
+ description VARCHAR2(100),
+ charttype CHAR(1) DEFAULT 'A',
+ category CHAR(1),
+ link VARCHAR2(100),
+ gifi_accno VARCHAR2(20)
+);
+--
+CREATE TABLE gifi (
+ accno VARCHAR2(20),
+ description VARCHAR2(100)
+);
+--
+CREATE TABLE defaults (
+ inventory_accno_id INTEGER,
+ income_accno_id INTEGER,
+ expense_accno_id INTEGER,
+ fxgain_accno_id INTEGER,
+ fxloss_accno_id INTEGER,
+ invnumber VARCHAR2(30),
+ sonumber VARCHAR2(30),
+ yearend VARCHAR2(5),
+ weightunit VARCHAR2(5),
+ businessnumber VARCHAR2(30),
+ version VARCHAR2(8),
+ curr VARCHAR2(500),
+ closedto DATE,
+ revtrans CHAR(1) DEFAULT '0',
+ ponumber VARCHAR2(30)
+);
+INSERT INTO defaults (version) VALUES ('2.0.8');
+--
+CREATE TABLE acc_trans (
+ trans_id INTEGER,
+ chart_id INTEGER,
+ amount FLOAT,
+ transdate DATE DEFAULT SYSDATE,
+ source VARCHAR2(20),
+ cleared CHAR(1) DEFAULT '0',
+ fx_transaction CHAR(1) DEFAULT '0',
+ project_id INTEGER
+);
+--
+CREATE TABLE invoice (
+ id INTEGER,
+ trans_id INTEGER,
+ parts_id INTEGER,
+ description VARCHAR2(4000),
+ qty FLOAT,
+ allocated FLOAT,
+ sellprice FLOAT,
+ fxsellprice FLOAT,
+ discount FLOAT,
+ assemblyitem CHAR(1) DEFAULT '0',
+ unit VARCHAR2(5),
+ project_id INTEGER,
+ deliverydate DATE
+);
+--
+CREATE TABLE vendor (
+ id INTEGER,
+ name VARCHAR2(35),
+ addr1 VARCHAR2(35),
+ addr2 VARCHAR2(35),
+ addr3 VARCHAR2(35),
+ addr4 VARCHAR2(35),
+ contact VARCHAR2(35),
+ phone VARCHAR2(20),
+ fax VARCHAR2(20),
+ email VARCHAR2(50),
+ notes VARCHAR2(4000),
+ terms INTEGER DEFAULT 0,
+ taxincluded CHAR(1),
+ vendornumber VARCHAR2(40),
+ cc VARCHAR2(50),
+ bcc VARCHAR2(50)
+);
+--
+CREATE TABLE customer (
+ id INTEGER,
+ name VARCHAR2(35),
+ addr1 VARCHAR2(35),
+ addr2 VARCHAR2(35),
+ addr3 VARCHAR2(35),
+ addr4 VARCHAR2(35),
+ contact VARCHAR2(35),
+ phone VARCHAR2(20),
+ fax VARCHAR2(20),
+ email VARCHAR2(50),
+ notes VARCHAR2(4000),
+ discount FLOAT,
+ taxincluded CHAR(1),
+ creditlimit FLOAT,
+ terms INTEGER DEFAULT 0,
+ customernumber VARCHAR2(40),
+ cc VARCHAR2(50),
+ bcc VARCHAR2(50)
+);
+--
+CREATE TABLE parts (
+ id INTEGER,
+ partnumber VARCHAR2(30),
+ description VARCHAR2(4000),
+ unit VARCHAR2(5),
+ listprice FLOAT,
+ sellprice FLOAT,
+ lastcost FLOAT,
+ priceupdate DATE DEFAULT SYSDATE,
+ weight FLOAT,
+ onhand FLOAT DEFAULT 0,
+ notes VARCHAR2(4000),
+ makemodel CHAR(1) DEFAULT '0',
+ assembly CHAR(1) DEFAULT '0',
+ alternate CHAR(1) DEFAULT '0',
+ rop FLOAT,
+ inventory_accno_id INTEGER,
+ income_accno_id INTEGER,
+ expense_accno_id INTEGER,
+ bin VARCHAR2(20),
+ obsolete CHAR(1) DEFAULT '0',
+ bom CHAR(1) DEFAULT '0',
+ image VARCHAR2(100),
+ drawing VARCHAR2(100),
+ microfiche VARCHAR2(100),
+ partsgroup_id INTEGER
+);
+--
+CREATE TABLE assembly (
+ id INTEGER,
+ parts_id INTEGER,
+ qty FLOAT,
+ bom CHAR(1)
+);
+--
+CREATE TABLE ar (
+ id INTEGER,
+ invnumber VARCHAR2(30),
+ transdate DATE DEFAULT SYSDATE,
+ customer_id INTEGER,
+ taxincluded CHAR(1),
+ amount FLOAT,
+ netamount FLOAT,
+ paid FLOAT,
+ datepaid DATE,
+ duedate DATE,
+ invoice CHAR(1) DEFAULT '0',
+ shippingpoint VARCHAR2(100),
+ terms INTEGER DEFAULT 0,
+ notes VARCHAR2(4000),
+ curr CHAR(3),
+ ordnumber VARCHAR2(30),
+ employee_id INTEGER
+);
+--
+CREATE TABLE ap (
+ id INTEGER,
+ invnumber VARCHAR2(30),
+ transdate DATE DEFAULT SYSDATE,
+ vendor_id INTEGER,
+ taxincluded CHAR(1) DEFAULT '0',
+ amount FLOAT,
+ netamount FLOAT,
+ paid FLOAT,
+ datepaid DATE,
+ duedate DATE,
+ invoice CHAR(1) DEFAULT '0',
+ ordnumber VARCHAR2(30),
+ curr CHAR(3),
+ notes VARCHAR2(4000),
+ employee_id INTEGER
+);
+--
+CREATE TABLE partstax (
+ parts_id INTEGER,
+ chart_id INTEGER
+);
+--
+CREATE TABLE tax (
+ chart_id INTEGER,
+ rate FLOAT,
+ taxnumber VARCHAR2(30)
+);
+--
+CREATE TABLE customertax (
+ customer_id INTEGER,
+ chart_id INTEGER
+);
+--
+CREATE TABLE vendortax (
+ vendor_id INTEGER,
+ chart_id INTEGER
+);
+--
+CREATE TABLE oe (
+ id INTEGER,
+ ordnumber VARCHAR2(30),
+ transdate DATE DEFAULT SYSDATE,
+ vendor_id INTEGER,
+ customer_id INTEGER,
+ amount FLOAT,
+ netamount FLOAT,
+ reqdate DATE,
+ taxincluded CHAR(1),
+ shippingpoint VARCHAR2(100),
+ notes VARCHAR2(4000),
+ curr CHAR(3),
+ employee_id INTEGER,
+ closed CHAR(1) DEFAULT '0'
+);
+--
+CREATE TABLE orderitems (
+ trans_id INTEGER,
+ parts_id INTEGER,
+ description VARCHAR2(4000),
+ qty FLOAT,
+ sellprice FLOAT,
+ discount FLOAT,
+ unit VARCHAR2(5),
+ project_id INTEGER,
+ reqdate DATE
+);
+--
+CREATE TABLE exchangerate (
+ curr CHAR(3),
+ transdate DATE,
+ buy FLOAT,
+ sell FLOAT
+);
+--
+CREATE TABLE employee (
+ id INTEGER,
+ login VARCHAR2(20),
+ name VARCHAR2(35),
+ addr1 VARCHAR2(35),
+ addr2 VARCHAR2(35),
+ addr3 VARCHAR2(35),
+ addr4 VARCHAR2(35),
+ workphone VARCHAR2(20),
+ homephone VARCHAR2(20),
+ startdate DATE DEFAULT SYSDATE,
+ enddate DATE,
+ notes VARCHAR2(4000)
+);
+--
+CREATE TABLE shipto (
+ trans_id INTEGER,
+ shiptoname VARCHAR2(35),
+ shiptoaddr1 VARCHAR2(35),
+ shiptoaddr2 VARCHAR2(35),
+ shiptoaddr3 VARCHAR2(35),
+ shiptoaddr4 VARCHAR2(35),
+ shiptocontact VARCHAR2(35),
+ shiptophone VARCHAR2(20),
+ shiptofax VARCHAR2(20),
+ shiptoemail VARCHAR2(50)
+);
+--
+CREATE TABLE project (
+ id INTEGER,
+ projectnumber VARCHAR2(50),
+ description VARCHAR2(4000)
+);
+--
+CREATE TABLE partsgroup (
+ id INTEGER,
+ partsgroup VARCHAR2(100)
+);
+--
+-- functions
+--
+CREATE OR REPLACE FUNCTION current_date RETURN date AS
+BEGIN
+ return(sysdate);--
+END;;
+--
+-- triggers
+--
+CREATE OR REPLACE TRIGGER glid BEFORE INSERT ON gl FOR EACH ROW
+BEGIN
+ SELECT id.nextval
+ INTO :new.id
+ FROM DUAL;--
+END;;
+--
+CREATE OR REPLACE TRIGGER chartid BEFORE INSERT ON chart FOR EACH ROW
+BEGIN
+ SELECT id.nextval
+ INTO :new.id
+ FROM DUAL;--
+END;;
+--
+CREATE OR REPLACE TRIGGER invoiceid BEFORE INSERT ON invoice FOR EACH ROW
+BEGIN
+ SELECT id.nextval
+ INTO :new.id
+ FROM DUAL;--
+END;;
+--
+CREATE OR REPLACE TRIGGER vendorid BEFORE INSERT ON vendor FOR EACH ROW
+BEGIN
+ SELECT id.nextval
+ INTO :new.id
+ FROM DUAL;--
+END;;
+--
+CREATE OR REPLACE TRIGGER customerid BEFORE INSERT ON customer FOR EACH ROW
+BEGIN
+ SELECT id.nextval
+ INTO :new.id
+ FROM DUAL;--
+END;;
+--
+CREATE OR REPLACE TRIGGER partsid BEFORE INSERT ON parts FOR EACH ROW
+BEGIN
+ SELECT id.nextval
+ INTO :new.id
+ FROM DUAL;--
+END;;
+--
+CREATE OR REPLACE TRIGGER arid BEFORE INSERT ON ar FOR EACH ROW
+BEGIN
+ SELECT id.nextval
+ INTO :new.id
+ FROM DUAL;--
+END;;
+--
+CREATE OR REPLACE TRIGGER apid BEFORE INSERT ON ap FOR EACH ROW
+BEGIN
+ SELECT id.nextval
+ INTO :new.id
+ FROM DUAL;--
+END;;
+--
+CREATE OR REPLACE TRIGGER oeid BEFORE INSERT ON oe FOR EACH ROW
+BEGIN
+ SELECT id.nextval
+ INTO :new.id
+ FROM DUAL;--
+END;;
+--
+CREATE OR REPLACE TRIGGER employeeid BEFORE INSERT ON employee FOR EACH ROW
+BEGIN
+ SELECT id.nextval
+ INTO :new.id
+ FROM DUAL;--
+END;;
+--
+CREATE OR REPLACE TRIGGER projectid BEFORE INSERT ON project FOR EACH ROW
+BEGIN
+ SELECT id.nextval
+ INTO :new.id
+ FROM DUAL;--
+END;;
+--
+CREATE OR REPLACE TRIGGER partsgroupid BEFORE INSERT ON partsgroup FOR EACH ROW
+BEGIN
+ SELECT id.nextval
+ INTO :new.id
+ FROM DUAL;--
+END;;
+--
+
diff --git a/sql-ledger/sql/Oracle-upgrade-1.8.0-1.8.4.sql b/sql-ledger/sql/Oracle-upgrade-1.8.0-1.8.4.sql
new file mode 100644
index 0000000..a3293a6
--- /dev/null
+++ b/sql-ledger/sql/Oracle-upgrade-1.8.0-1.8.4.sql
@@ -0,0 +1,28 @@
+--
+ALTER TABLE chart ADD gifi_accno VARCHAR2(20);
+--
+CREATE TABLE gifi (
+ accno VARCHAR2(20),
+ description VARCHAR2(100)
+);
+--
+CREATE UNIQUE INDEX chart_accno_key ON chart (accno);
+--
+CREATE TABLE mtemp (
+ parts_id INTEGER,
+ name VARCHAR2(100)
+);
+INSERT INTO mtemp SELECT parts_id, name FROM makemodel;
+DROP TABLE makemodel;
+ALTER TABLE mtemp RENAME TO makemodel;
+--
+ALTER TABLE defaults ADD closedto DATE;
+ALTER TABLE defaults ADD revtrans CHAR(1);
+--
+ALTER TABLE ap ADD notes VARCHAR2(4000);
+--
+ALTER TABLE customer ADD businessnumber VARCHAR2(40);
+ALTER TABLE vendor ADD businessnumber VARCHAR2(40);
+--
+UPDATE defaults SET version = '1.8.4', revtrans = '0';
+--
diff --git a/sql-ledger/sql/Oracle-upgrade-1.8.4-1.8.5.sql b/sql-ledger/sql/Oracle-upgrade-1.8.4-1.8.5.sql
new file mode 100644
index 0000000..d228b9e
--- /dev/null
+++ b/sql-ledger/sql/Oracle-upgrade-1.8.4-1.8.5.sql
@@ -0,0 +1,77 @@
+--
+ALTER TABLE customer ADD (customernumber VARCHAR2(40));
+UPDATE customer SET customernumber = businessnumber;
+ALTER TABLE customer DROP COLUMN businessnumber;
+CREATE INDEX customer_customernumber_key ON customer (customernumber);
+--
+ALTER TABLE vendor ADD (vendornumber VARCHAR2(40));
+UPDATE vendor SET vendornumber = businessnumber;
+ALTER TABLE vendor DROP COLUMN businessnumber;
+CREATE INDEX vendor_vendornumber_key ON vendor (vendornumber);
+--
+CREATE TABLE employee (
+ id INTEGER,
+ login VARCHAR2(20),
+ name VARCHAR2(35),
+ addr1 VARCHAR2(35),
+ addr2 VARCHAR2(35),
+ addr3 VARCHAR2(35),
+ addr4 VARCHAR2(35),
+ workphone VARCHAR2(20),
+ homephone VARCHAR2(20),
+ startdate DATE DEFAULT SYSDATE,
+ enddate DATE,
+ notes VARCHAR2(4000)
+);
+--
+CREATE OR REPLACE TRIGGER employeeid BEFORE INSERT ON employee FOR EACH ROW
+BEGIN
+ SELECT id.nextval
+ INTO :new.id
+ FROM DUAL;--
+END;;
+--
+CREATE INDEX employee_id_key ON employee (id);
+CREATE UNIQUE INDEX employee_login_key ON employee (login);
+CREATE INDEX employee_name_key ON employee (name);
+--
+ALTER TABLE gl ADD (employee_id INTEGER);
+CREATE INDEX gl_employee_id_key ON gl (employee_id);
+ALTER TABLE ar ADD (employee_id INTEGER);
+CREATE INDEX ar_employee_id_key ON ar (employee_id);
+ALTER TABLE ap ADD (employee_id INTEGER);
+CREATE INDEX ap_employee_id_key ON ap (employee_id);
+ALTER TABLE oe ADD (employee_id INTEGER);
+CREATE INDEX oe_employee_id_key ON oe (employee_id);
+--
+ALTER TABLE invoice ADD (unit VARCHAR2(5));
+ALTER TABLE orderitems ADD (unit VARCHAR2(5));
+--
+UPDATE chart SET gifi_accno = '' WHERE gifi_accno = NULL;
+ALTER TABLE chart RENAME TO chartold;
+CREATE TABLE chart (
+ id INTEGER,
+ accno VARCHAR2(20) NOT NULL,
+ description VARCHAR2(100),
+ charttype CHAR(1) DEFAULT 'A',
+ category CHAR(1),
+ link VARCHAR2(100),
+ gifi_accno VARCHAR2(20)
+);
+INSERT INTO chart (id, accno, description, charttype, category, link, gifi_accno) SELECT id, accno, description, charttype, category, link, gifi_accno from chartold;
+DROP TABLE chartold;
+CREATE INDEX chart_id_key ON chart (id);
+CREATE UNIQUE INDEX chart_accno_key ON chart (accno);
+CREATE INDEX chart_category_key ON chart (category);
+CREATE INDEX chart_link_key ON chart (link);
+CREATE INDEX chart_gifi_accno_key ON chart (gifi_accno);
+--
+ALTER TABLE parts MODIFY inventory_accno_id;
+--
+ALTER TABLE defaults ADD (sonumber VARCHAR2(30));
+UPDATE defaults SET sonumber = ordnumber;
+ALTER TABLE defaults DROP COLUMN ordnumber;
+ALTER TABLE defaults ADD (ponumber VARCHAR2(30));
+--
+UPDATE defaults SET version = '1.8.5';
+--
diff --git a/sql-ledger/sql/Oracle-upgrade-1.8.5-2.0.0.sql b/sql-ledger/sql/Oracle-upgrade-1.8.5-2.0.0.sql
new file mode 100644
index 0000000..2d2231b
--- /dev/null
+++ b/sql-ledger/sql/Oracle-upgrade-1.8.5-2.0.0.sql
@@ -0,0 +1,100 @@
+--
+alter table customer add (cc VARCHAR2(50));
+alter table customer add (bcc VARCHAR2(50));
+--
+alter table vendor add (cc VARCHAR2(50));
+alter table vendor add (bcc VARCHAR2(50));
+--
+create table shipto (
+ trans_id integer,
+ shiptoname varchar2(35),
+ shiptoaddr1 varchar2(35),
+ shiptoaddr2 varchar2(35),
+ shiptoaddr3 varchar2(35),
+ shiptoaddr4 varchar2(35),
+ shiptocontact varchar2(35),
+ shiptophone varchar2(20),
+ shiptofax varchar2(20),
+ shiptoemail VARCHAR2(50)
+);
+--
+insert into shipto (trans_id, shiptoname, shiptoaddr1, shiptoaddr2, shiptoaddr3, shiptoaddr4, shiptocontact, shiptophone, shiptofax, shiptoemail) select id, shiptoname, shiptoaddr1, shiptoaddr2, shiptoaddr3, shiptoaddr4, shiptocontact, shiptophone, shiptofax, shiptoemail from customer where shiptoname != '' or shiptoname is not null;
+--
+insert into shipto (trans_id, shiptoname, shiptoaddr1, shiptoaddr2, shiptoaddr3, shiptoaddr4, shiptocontact, shiptophone, shiptofax, shiptoemail) select distinct on (a.id) a.id, c.shiptoname, c.shiptoaddr1, c.shiptoaddr2, c.shiptoaddr3, c.shiptoaddr4, c.shiptocontact, c.shiptophone, c.shiptofax, c.shiptoemail from customer c, ar a where a.customer_id = c.id;
+--
+insert into shipto (trans_id, shiptoname, shiptoaddr1, shiptoaddr2, shiptoaddr3, shiptoaddr4, shiptocontact, shiptophone, shiptofax, shiptoemail) select distinct on (o.id) o.id, c.shiptoname, c.shiptoaddr1, c.shiptoaddr2, c.shiptoaddr3, c.shiptoaddr4, c.shiptocontact, c.shiptophone, c.shiptofax, c.shiptoemail from customer c, oe o where o.customer_id = c.id;
+--
+create index shipto_trans_id_key on shipto (trans_id);
+--
+create table custome (
+ id integer,
+ name varchar2(35),
+ addr1 varchar2(35),
+ addr2 varchar2(35),
+ addr3 varchar2(35),
+ addr4 varchar2(35),
+ contact varchar2(35),
+ phone varchar2(20),
+ fax varchar2(20),
+ email VARCHAR2(50),
+ notes RCHAR2(4000),
+ discount float,
+ taxincluded char(1),
+ creditlimit float DEFAULT 0,
+ terms integer DEFAULT 0,
+ customernumber VARCHAR2(40),
+ cc VARCHAR2(50),
+ bcc VARCHAR2(50)
+);
+insert into custome (id, name, addr1, addr2, addr3, addr4, contact, phone, fax, email, notes, discount, taxincluded, creditlimit, terms, customernumber) select id, name, addr1, addr2, addr3, addr4, contact, phone, fax, email, notes, discount, taxincluded, creditlimit, terms, customernumber from customer;
+--
+drop table customer;
+alter table custome rename to customer;
+create index customer_id_key on customer (id);
+create index customer_name_key on customer (name);
+create index customer_contact_key on customer (contact);
+--
+alter table parts add (bom char(1) default '0');
+update parts set bom = '0';
+update parts set bom = '1' where assembly = '1';
+alter table parts add (image VARCHAR2(100));
+alter table parts add (drawing VARCHAR2(100));
+alter table parts add (microfiche VARCHAR2(100));
+--
+alter table gl add (notes VARCHAR2(4000));
+--
+alter table oe add (closed char(1) default '0');
+update oe set closed = '0';
+--
+create table project (
+ id integer,
+ projectnumber VARCHAR2(50),
+ description VARCHAR2(4000)
+);
+--
+create index project_id_key on project (id);
+--
+alter table acc_trans add (project_id integer);
+update acc_trans set cleared = '0' where cleared = '1';
+--
+alter table invoice add (project_id integer);
+alter table invoice add (deliverydate date);
+alter table orderitems add (project_id integer);
+alter table orderitems add (reqdate date);
+--
+CREATE OR REPLACE TRIGGER projectid BEFORE INSERT ON project FOR EACH ROW
+BEGIN
+ SELECT id.nextval
+ INTO :new.id
+ FROM DUAL;--
+END;;
+--
+alter table gl add (reference VARCHAR2(50));
+update gl set reference = source;
+alter table gl drop column source;
+--
+create index gl_reference_key on gl (reference);
+create index acc_trans_source_key on acc_trans (source);
+--
+update defaults set version = '2.0.0';
+--
diff --git a/sql-ledger/sql/Oracle-upgrade-2.0.0-2.0.8.sql b/sql-ledger/sql/Oracle-upgrade-2.0.0-2.0.8.sql
new file mode 100644
index 0000000..eb65e9c
--- /dev/null
+++ b/sql-ledger/sql/Oracle-upgrade-2.0.0-2.0.8.sql
@@ -0,0 +1,19 @@
+--
+create table partsgroup (id integer, partsgroup varchar2(100));
+create index partsgroup_id_key on partsgroup (id);
+--
+alter table parts add (partsgroup_id integer);
+--
+alter table assembly add (bom char(1));
+update assembly set bom = '0' where assembly.id = parts.id and parts.bom = '0';
+update assembly set bom = '1' where assembly.id = parts.id and parts.bom = '1';
+--
+CREATE OR REPLACE TRIGGER partsgroupid BEFORE INSERT ON partsgroup FOR EACH ROW
+BEGIN
+ SELECT id.nextval
+ INTO :new.id
+FROM DUAL;--
+END;;
+--
+update defaults set version = '2.0.8';
+--
diff --git a/sql-ledger/sql/Pg-indices.sql b/sql-ledger/sql/Pg-indices.sql
new file mode 100644
index 0000000..27a9e43
--- /dev/null
+++ b/sql-ledger/sql/Pg-indices.sql
@@ -0,0 +1,57 @@
+create index acc_trans_trans_id_key on acc_trans (trans_id);
+create index acc_trans_chart_id_key on acc_trans (chart_id);
+create index acc_trans_transdate_key on acc_trans (transdate);
+create index acc_trans_source_key on acc_trans (lower(source));
+create index ap_id_key on ap (id);
+create index ap_transdate_key on ap (transdate);
+create index ap_invnumber_key on ap (lower(invnumber));
+create index ap_ordnumber_key on ap (lower(ordnumber));
+create index ap_vendor_id_key on ap (vendor_id);
+create index ap_employee_id_key on ap (employee_id);
+create index ar_id_key on ar (id);
+create index ar_transdate_key on ar (transdate);
+create index ar_invnumber_key on ar (lower(invnumber));
+create index ar_ordnumber_key on ar (lower(ordnumber));
+create index ar_customer_id_key on ar (customer_id);
+create index ar_employee_id_key on ar (employee_id);
+create index assembly_id_key on assembly (id);
+create index chart_id_key on chart (id);
+create unique index chart_accno_key on chart (accno);
+create index chart_category_key on chart (category);
+create index chart_link_key on chart (link);
+create index chart_gifi_accno_key on chart (gifi_accno);
+create index customer_id_key on customer (id);
+create index customer_customer_id_key on customertax (customer_id);
+create index customer_customernumber_key on customer (customernumber);
+create index customer_name_key on customer (name);
+create index customer_contact_key on customer (contact);
+create index employee_id_key on employee (id);
+create unique index employee_login_key on employee (login);
+create index employee_name_key on employee (name);
+create index exchangerate_ct_key on exchangerate (curr, transdate);
+create unique index gifi_accno_key on gifi (accno);
+create index gl_id_key on gl (id);
+create index gl_transdate_key on gl (transdate);
+create index gl_reference_key on gl (lower(reference));
+create index gl_description_key on gl (lower(description));
+create index gl_employee_id_key on gl (employee_id);
+create index invoice_id_key on invoice (id);
+create index invoice_trans_id_key on invoice (trans_id);
+create index makemodel_parts_id_key on makemodel (parts_id);
+create index oe_id_key on oe (id);
+create index oe_transdate_key on oe (transdate);
+create index oe_ordnumber_key on oe (lower(ordnumber));
+create index oe_employee_id_key on oe (employee_id);
+create index orderitems_trans_id_key on orderitems (trans_id);
+create index parts_id_key on parts (id);
+create index parts_partnumber_key on parts (lower(partnumber));
+create index parts_description_key on parts (lower(description));
+create index partstax_parts_id_key on partstax (parts_id);
+create index vendor_id_key on vendor (id);
+create index vendor_name_key on vendor (name);
+create index vendor_vendornumber_key on vendor (vendornumber);
+create index vendor_contact_key on vendor (contact);
+create index vendortax_vendor_id_key on vendortax (vendor_id);
+create index shipto_trans_id_key on shipto (trans_id);
+create index project_id_key on project (id);
+create index partsgroup_id_key on partsgroup (id);
diff --git a/sql-ledger/sql/Pg-tables.sql b/sql-ledger/sql/Pg-tables.sql
new file mode 100644
index 0000000..aed9787
--- /dev/null
+++ b/sql-ledger/sql/Pg-tables.sql
@@ -0,0 +1,289 @@
+CREATE SEQUENCE id
+ start 10000;
+--
+SELECT nextval ('id');
+--
+CREATE TABLE makemodel (
+ parts_id int,
+ name text
+);
+--
+CREATE TABLE gl (
+ id int DEFAULT nextval ( 'id' ),
+ reference text,
+ description text,
+ transdate date DEFAULT current_date,
+ employee_id int,
+ notes text
+);
+--
+CREATE TABLE chart (
+ id int DEFAULT nextval ( 'id' ),
+ accno text NOT NULL,
+ description text,
+ charttype char(1) DEFAULT 'A',
+ category char(1),
+ link text,
+ gifi_accno text
+);
+--
+CREATE TABLE gifi (
+ accno text,
+ description text
+);
+--
+CREATE TABLE defaults (
+ inventory_accno_id int,
+ income_accno_id int,
+ expense_accno_id int,
+ fxgain_accno_id int,
+ fxloss_accno_id int,
+ invnumber text,
+ sonumber text,
+ yearend varchar(5),
+ weightunit varchar(5),
+ businessnumber text,
+ version varchar(8),
+ curr text,
+ closedto date,
+ revtrans bool DEFAULT 'f',
+ ponumber text
+);
+INSERT INTO defaults (version) VALUES ('2.0.8');
+--
+CREATE TABLE acc_trans (
+ trans_id int,
+ chart_id int,
+ amount float,
+ transdate date DEFAULT current_date,
+ source text,
+ cleared bool DEFAULT 'f',
+ fx_transaction bool DEFAULT 'f',
+ project_id int
+);
+--
+CREATE TABLE invoice (
+ id int DEFAULT nextval ( 'id' ),
+ trans_id int,
+ parts_id int,
+ description text,
+ qty float4,
+ allocated float4,
+ sellprice float,
+ fxsellprice float,
+ discount float4,
+ assemblyitem bool DEFAULT 'f',
+ unit varchar(5),
+ project_id int,
+ deliverydate date
+);
+--
+CREATE TABLE vendor (
+ id int DEFAULT nextval ( 'id' ),
+ name varchar(35),
+ addr1 varchar(35),
+ addr2 varchar(35),
+ addr3 varchar(35),
+ addr4 varchar(35),
+ contact varchar(35),
+ phone varchar(20),
+ fax varchar(20),
+ email text,
+ notes text,
+ terms int2 DEFAULT 0,
+ taxincluded bool,
+ vendornumber text,
+ cc text,
+ bcc text
+);
+--
+CREATE TABLE customer (
+ id int DEFAULT nextval ( 'id' ),
+ name varchar(35),
+ addr1 varchar(35),
+ addr2 varchar(35),
+ addr3 varchar(35),
+ addr4 varchar(35),
+ contact varchar(35),
+ phone varchar(20),
+ fax varchar(20),
+ email text,
+ notes text,
+ discount float4,
+ taxincluded bool,
+ creditlimit float DEFAULT 0,
+ terms int2 DEFAULT 0,
+ customernumber text,
+ cc text,
+ bcc text
+);
+--
+CREATE TABLE parts (
+ id int DEFAULT nextval ( 'id' ),
+ partnumber text,
+ description text,
+ unit varchar(5),
+ listprice float,
+ sellprice float,
+ lastcost float,
+ priceupdate date DEFAULT current_date,
+ weight float4,
+ onhand float4 DEFAULT 0,
+ notes text,
+ makemodel bool DEFAULT 'f',
+ assembly bool DEFAULT 'f',
+ alternate bool DEFAULT 'f',
+ rop float4,
+ inventory_accno_id int,
+ income_accno_id int,
+ expense_accno_id int,
+ bin text,
+ obsolete bool DEFAULT 'f',
+ bom bool DEFAULT 'f',
+ image text,
+ drawing text,
+ microfiche text,
+ partsgroup_id int
+);
+--
+CREATE TABLE assembly (
+ id int,
+ parts_id int,
+ qty float,
+ bom bool
+);
+--
+CREATE TABLE ar (
+ id int DEFAULT nextval ( 'id' ),
+ invnumber text,
+ transdate date DEFAULT current_date,
+ customer_id int,
+ taxincluded bool,
+ amount float,
+ netamount float,
+ paid float,
+ datepaid date,
+ duedate date,
+ invoice bool DEFAULT 'f',
+ shippingpoint text,
+ terms int2 DEFAULT 0,
+ notes text,
+ curr char(3),
+ ordnumber text,
+ employee_id int
+);
+--
+CREATE TABLE ap (
+ id int DEFAULT nextval ( 'id' ),
+ invnumber text,
+ transdate date DEFAULT current_date,
+ vendor_id int,
+ taxincluded bool DEFAULT 'f',
+ amount float,
+ netamount float,
+ paid float,
+ datepaid date,
+ duedate date,
+ invoice bool DEFAULT 'f',
+ ordnumber text,
+ curr char(3),
+ notes text,
+ employee_id int
+);
+--
+CREATE TABLE partstax (
+ parts_id int,
+ chart_id int
+);
+--
+CREATE TABLE tax (
+ chart_id int,
+ rate float,
+ taxnumber text
+);
+--
+CREATE TABLE customertax (
+ customer_id int,
+ chart_id int
+);
+--
+CREATE TABLE vendortax (
+ vendor_id int,
+ chart_id int
+);
+--
+CREATE TABLE oe (
+ id int default nextval('id'),
+ ordnumber text,
+ transdate date default current_date,
+ vendor_id int,
+ customer_id int,
+ amount float8,
+ netamount float8,
+ reqdate date,
+ taxincluded bool,
+ shippingpoint text,
+ notes text,
+ curr char(3),
+ employee_id int,
+ closed bool default 'f'
+);
+--
+CREATE TABLE orderitems (
+ trans_id int,
+ parts_id int,
+ description text,
+ qty float4,
+ sellprice float8,
+ discount float4,
+ unit varchar(5),
+ project_id int,
+ reqdate date
+);
+--
+CREATE TABLE exchangerate (
+ curr char(3),
+ transdate date,
+ buy float8,
+ sell float8
+);
+--
+CREATE TABLE employee (
+ id int DEFAULT nextval ('id'),
+ login text,
+ name Varchar(35),
+ addr1 varchar(35),
+ addr2 varchar(35),
+ addr3 varchar(35),
+ addr4 varchar(35),
+ workphone varchar(20),
+ homephone varchar(20),
+ startdate date default current_date,
+ enddate date,
+ notes text
+);
+--
+create table shipto (
+ trans_id int,
+ shiptoname varchar(35),
+ shiptoaddr1 varchar(35),
+ shiptoaddr2 varchar(35),
+ shiptoaddr3 varchar(35),
+ shiptoaddr4 varchar(35),
+ shiptocontact varchar(35),
+ shiptophone varchar(20),
+ shiptofax varchar(20),
+ shiptoemail text
+);
+--
+create table project (
+ id int default nextval('id'),
+ projectnumber text,
+ description text
+);
+--
+create table partsgroup (
+ id int default nextval('id'),
+ partsgroup text
+);
+--
diff --git a/sql-ledger/sql/Pg-upgrade-1.2.6-1.2.7.sql b/sql-ledger/sql/Pg-upgrade-1.2.6-1.2.7.sql
new file mode 100644
index 0000000..159f31b
--- /dev/null
+++ b/sql-ledger/sql/Pg-upgrade-1.2.6-1.2.7.sql
@@ -0,0 +1,4 @@
+--
+-- add the field shiptoemail to the customer table
+--
+alter table customer add column shiptoemail text;
diff --git a/sql-ledger/sql/Pg-upgrade-1.2.7-1.4.0.sql b/sql-ledger/sql/Pg-upgrade-1.2.7-1.4.0.sql
new file mode 100644
index 0000000..04e1a79
--- /dev/null
+++ b/sql-ledger/sql/Pg-upgrade-1.2.7-1.4.0.sql
@@ -0,0 +1,173 @@
+--
+CREATE TABLE newap (
+ id int DEFAULT nextval ( 'id' ),
+ invnumber text,
+ transdate date DEFAULT current_date,
+ vendor int,
+ taxincluded bool DEFAULT FALSE,
+ amount float,
+ netamount float,
+ paid float,
+ datepaid date,
+ duedate date,
+ invoice bool DEFAULT FALSE,
+ ordnumber text
+);
+--
+INSERT INTO newap (id, invnumber, transdate, vendor, amount, netamount, paid,
+datepaid, duedate, invoice, ordnumber)
+SELECT id, invnumber, transdate, vendor, amount, netamount, paid,
+datepaid, duedate, invoice, ordnumber
+FROM ap;
+--
+DROP TABLE ap;
+ALTER TABLE newap RENAME TO ap;
+--
+CREATE TABLE newar (
+ id int DEFAULT nextval ( 'id' ),
+ invnumber text,
+ transdate date DEFAULT current_date,
+ customer int,
+ taxincluded bool DEFAULT FALSE,
+ amount float,
+ netamount float,
+ paid float,
+ datepaid date,
+ duedate date,
+ invoice bool DEFAULT FALSE,
+ shippingpoint text,
+ terms int2,
+ notes text
+);
+--
+INSERT INTO newar (id, invnumber, transdate, customer, amount, netamount, paid,
+datepaid, duedate, invoice, shippingpoint, terms, notes)
+SELECT id, invnumber, transdate, customer, amount, netamount, paid,
+datepaid, duedate, invoice, shippingpoint, terms, notes
+FROM ar;
+--
+DROP TABLE ar;
+ALTER TABLE newar RENAME TO ar;
+--
+CREATE TABLE newcustomer (
+ id int DEFAULT nextval ( 'id' ),
+ name varchar(35),
+ addr1 varchar(35),
+ addr2 varchar(35),
+ addr3 varchar(35),
+ contact varchar(35),
+ phone varchar(20),
+ fax varchar(20),
+ email text,
+ notes text,
+ ytd float,
+ discount float4,
+ taxincluded bool,
+ creditlimit float,
+ terms int2,
+ shiptoname varchar(35),
+ shiptoaddr1 varchar(35),
+ shiptoaddr2 varchar(35),
+ shiptoaddr3 varchar(35),
+ shiptocontact varchar(20),
+ shiptophone varchar(20),
+ shiptofax varchar(20),
+ shiptoemail text
+);
+INSERT INTO newcustomer (
+id, name, addr1, addr2, addr3, contact, phone, fax, email, notes, ytd,
+discount, creditlimit, terms, shiptoname, shiptoaddr1, shiptoaddr2,
+shiptoaddr3, shiptocontact, shiptophone, shiptofax, shiptoemail )
+SELECT id, name, addr1, addr2, addr3, contact, phone, fax, email, notes, ytd,
+discount, creditlimit, terms, shiptoname, shiptoaddr1, shiptoaddr2,
+shiptoaddr3, shiptocontact, shiptophone, shiptofax, shiptoemail
+FROM customer;
+--
+DROP TABLE customer;
+ALTER TABLE newcustomer RENAME TO customer;
+--
+CREATE TABLE customertax (
+ customer_id int,
+ chart_id int
+);
+--
+CREATE TABLE newdefaults (
+ inventory_accno int,
+ income_accno int,
+ expense_accno int,
+ invnumber text,
+ ponumber text,
+ yearend varchar(5),
+ nativecurr varchar(3),
+ weightunit varchar(5)
+);
+--
+INSERT INTO newdefaults (
+inventory_accno, income_accno, expense_accno, invnumber, ponumber)
+SELECT inventory_accno, income_accno, expense_accno, invnumber, ponumber
+FROM defaults;
+--
+DROP TABLE defaults;
+ALTER TABLE newdefaults RENAME TO defaults;
+UPDATE defaults SET yearend = '1/31', nativecurr = 'CAD', weightunit = 'kg';
+--
+CREATE TABLE partstax (
+ parts_id int,
+ chart_id int
+);
+--
+CREATE TABLE tax (
+ chart_id int,
+ rate float,
+ number text
+);
+--
+CREATE TABLE newvendor (
+ id int DEFAULT nextval ( 'id' ),
+ name varchar(35),
+ addr1 varchar(35),
+ addr2 varchar(35),
+ addr3 varchar(35),
+ contact varchar(35),
+ phone varchar(20),
+ fax varchar(20),
+ email text,
+ notes text,
+ ytd float,
+ discount float4,
+ taxincluded bool,
+ creditlimit float,
+ terms int2
+);
+--
+INSERT INTO newvendor (
+id, name, addr1, addr2, addr3, contact, phone, fax, email, notes, ytd )
+SELECT id, name, addr1, addr2, addr3, contact, phone, fax, email, notes, ytd
+FROM vendor;
+--
+DROP TABLE vendor;
+ALTER TABLE newvendor RENAME TO vendor;
+--
+CREATE TABLE vendortax (
+ vendor_id int,
+ chart_id int
+);
+--
+ALTER TABLE chart RENAME TO oldchart;
+--
+CREATE TABLE chart (
+ id int DEFAULT nextval( 'id' ),
+ accno int UNIQUE,
+ description text,
+ balance float,
+ type char(1),
+ gifi int,
+ category char(1),
+ link text
+);
+--
+INSERT INTO chart SELECT * FROM oldchart;
+--
+DROP TABLE oldchart;
+--
+
diff --git a/sql-ledger/sql/Pg-upgrade-1.4.0-1.6.0.sql b/sql-ledger/sql/Pg-upgrade-1.4.0-1.6.0.sql
new file mode 100644
index 0000000..e0a3892
--- /dev/null
+++ b/sql-ledger/sql/Pg-upgrade-1.4.0-1.6.0.sql
@@ -0,0 +1,126 @@
+alter table acc_trans rename column accno to chart_id;
+update acc_trans set chart_id =
+ (select id from chart where accno = acc_trans.chart_id);
+--
+alter table parts rename column inventory_accno to inventory_accno_id;
+alter table parts rename column income_accno to income_accno_id;
+alter table parts rename column expense_accno to expense_accno_id;
+alter table parts rename column number to partnumber;
+update parts set inventory_accno_id =
+ (select id from chart where chart.accno = parts.inventory_accno_id);
+update parts set income_accno_id =
+ (select id from chart where chart.accno = parts.income_accno_id);
+update parts set expense_accno_id =
+ (select id from chart where chart.accno = parts.expense_accno_id);
+--
+create table assembly (id int, parts_id int, qty float);
+--
+alter table defaults rename column inventory_accno to inventory_accno_id;
+alter table defaults rename column income_accno to income_accno_id;
+alter table defaults rename column expense_accno to expense_accno_id;
+alter table defaults add column businessnumber text;
+alter table defaults add column version varchar(8);
+update defaults set inventory_accno_id =
+ (select id from chart where chart.accno = defaults.inventory_accno_id);
+update defaults set income_accno_id =
+ (select id from chart where chart.accno = defaults.income_accno_id);
+update defaults set expense_accno_id =
+ (select id from chart where chart.accno = defaults.expense_accno_id);
+update defaults set version = '1.6.0';
+--
+alter table invoice rename column inventory_accno to inventory_accno_id;
+alter table invoice rename column income_accno to income_accno_id;
+alter table invoice rename column expense_accno to expense_accno_id;
+alter table invoice rename column number to partnumber;
+alter table invoice add column assemblyitem bool;
+update invoice set assemblyitem = 'f';
+update invoice set inventory_accno_id =
+ (select id from chart where invoice.inventory_accno_id = chart.accno);
+update invoice set income_accno_id =
+ (select id from chart where invoice.income_accno_id = chart.accno);
+update invoice set expense_accno_id =
+ (select id from chart where invoice.expense_accno_id = chart.accno);
+--
+alter table gl rename column comment to description;
+--
+create table newvendor (
+ id int default nextval ( 'id' ),
+ name varchar(35),
+ addr1 varchar(35),
+ addr2 varchar(35),
+ addr3 varchar(35),
+ addr4 varchar(35),
+ contact varchar(35),
+ phone varchar(20),
+ fax varchar(20),
+ email text,
+ notes text,
+ terms int2,
+ taxincluded bool
+);
+insert into newvendor (
+ id, name, addr1, addr2, addr3, contact, phone, fax, email, notes, terms,
+ taxincluded)
+ select
+ id, name, addr1, addr2, addr3, contact, phone, fax, email, notes, terms,
+ taxincluded from vendor;
+drop table vendor;
+alter table newvendor rename to vendor;
+--
+create table newcustomer (
+ id int default nextval ( 'id' ),
+ name varchar(35),
+ addr1 varchar(35),
+ addr2 varchar(35),
+ addr3 varchar(35),
+ addr4 varchar(35),
+ contact varchar(35),
+ phone varchar(20),
+ fax varchar(20),
+ email text,
+ notes text,
+ discount float4,
+ taxincluded bool,
+ creditlimit float,
+ terms int2,
+ shiptoname varchar(35),
+ shiptoaddr1 varchar(35),
+ shiptoaddr2 varchar(35),
+ shiptoaddr3 varchar(35),
+ shiptoaddr4 varchar(35),
+ shiptocontact varchar(20),
+ shiptophone varchar(20),
+ shiptofax varchar(20),
+ shiptoemail text
+);
+insert into newcustomer (
+ id, name, addr1, addr2, addr3, contact, phone, fax, email, notes, discount,
+ taxincluded, creditlimit, terms, shiptoname, shiptoaddr1, shiptoaddr2,
+ shiptoaddr3, shiptocontact, shiptophone, shiptofax, shiptoemail
+ )
+ select
+ id, name, addr1, addr2, addr3, contact, phone, fax, email, notes, discount,
+ taxincluded, creditlimit, terms, shiptoname, shiptoaddr1, shiptoaddr2,
+ shiptoaddr3, shiptocontact, shiptophone, shiptofax, shiptoemail
+ from customer;
+drop table customer;
+alter table newcustomer rename to customer;
+--
+drop index chart_accno_key;
+alter table chart rename to oldchart;
+create table chart (
+ id int default nextval('id'),
+ accno int unique,
+ description text,
+ charttype char(1),
+ gifi int,
+ category char(1),
+ link text
+);
+insert into chart (id, accno, description, charttype, gifi, category, link)
+ select id, accno, description, type, gifi, category, link from oldchart;
+drop table oldchart;
+--
+alter table tax rename column number to taxnumber;
+--
+-- apply
diff --git a/sql-ledger/sql/Pg-upgrade-1.6.0-1.8.0.sql b/sql-ledger/sql/Pg-upgrade-1.6.0-1.8.0.sql
new file mode 100644
index 0000000..4e98e1f
--- /dev/null
+++ b/sql-ledger/sql/Pg-upgrade-1.6.0-1.8.0.sql
@@ -0,0 +1,104 @@
+--
+create table def (
+ inventory_accno_id int,
+ income_accno_id int,
+ expense_accno_id int,
+ fxgain_accno_id int,
+ fxloss_accno_id int,
+ invnumber text,
+ ordnumber text,
+ yearend varchar(5),
+ weightunit varchar(5),
+ businessnumber text,
+ version varchar(8),
+ curr text
+);
+insert into def (inventory_accno_id, income_accno_id, expense_accno_id, invnumber, ordnumber, yearend, weightunit, businessnumber, version, curr) select inventory_accno_id, income_accno_id, expense_accno_id, invnumber, ponumber, yearend, weightunit, businessnumber, version, nativecurr from defaults;
+drop table defaults;
+alter table def rename to defaults;
+update defaults set version = '1.8.0';
+--
+-- create a default accno for exchange rate gain and loss
+--
+select accno into temp from chart where category = 'I' order by accno desc limit 1;
+update temp set accno = accno + 1;
+insert into chart (accno) select accno from temp;
+update chart set description = 'Foreign Exchange Gain', category = 'I', charttype = 'A' where accno = (select accno from temp);
+update defaults set fxgain_accno_id = (select id from chart where chart.accno = temp.accno);
+drop table temp;
+select accno into temp from chart where category = 'E' order by accno desc limit 1;
+update temp set accno = accno + 1;
+insert into chart (accno) select accno from temp;
+update chart set description = 'Foreign Exchange Loss', category = 'E', charttype = 'A' where accno = (select accno from temp);
+update defaults set fxloss_accno_id = (select id from chart where chart.accno = temp.accno);
+drop table temp;
+--
+alter table parts add column bin text;
+alter table parts alter column onhand set default 0;
+update parts set onhand = 0 where onhand = NULL;
+alter table parts add column obsolete bool;
+alter table parts alter column obsolete set default 'f';
+update parts set obsolete = 'f';
+--
+alter table ap rename column vendor to vendor_id;
+alter table ap add column curr char(3);
+--
+alter table ar rename column customer to customer_id;
+alter table ar add column curr char(3);
+alter table ar add column ordnumber text;
+--
+alter table acc_trans add column source text;
+alter table acc_trans add column cleared bool;
+alter table acc_trans alter column cleared set default 'f';
+alter table acc_trans add column fx_transaction bool;
+alter table acc_trans alter column fx_transaction set default 'f';
+update acc_trans set cleared = 'f', fx_transaction = 'f';
+--
+create table oe (
+ id int default nextval('id'),
+ ordnumber text,
+ transdate date default current_date,
+ vendor_id int,
+ customer_id int,
+ amount float8,
+ netamount float8,
+ reqdate date,
+ taxincluded bool,
+ shippingpoint text,
+ notes text,
+ curr char(3)
+);
+--
+create table orderitems (
+ trans_id int,
+ parts_id int,
+ description text,
+ qty float4,
+ sellprice float8,
+ discount float4
+);
+--
+alter table invoice rename to invoiceold;
+create table invoice (
+ id int default nextval('id'),
+ trans_id int,
+ parts_id int,
+ description text,
+ qty float4,
+ allocated float4,
+ sellprice float8,
+ fxsellprice float8,
+ discount float4,
+ assemblyitem bool default 'f'
+);
+insert into invoice (id, trans_id, parts_id, description, qty, allocated, sellprice, fxsellprice, discount, assemblyitem) select id, trans_id, parts_id, description, qty, allocated, sellprice, sellprice, discount, assemblyitem from invoiceold;
+update invoice set assemblyitem = 'f' where assemblyitem = NULL;
+drop table invoiceold;
+--
+create table exchangerate (
+ curr char(3),
+ transdate date,
+ buy float8,
+ sell float8
+);
+--
diff --git a/sql-ledger/sql/Pg-upgrade-1.8.0-1.8.4.sql b/sql-ledger/sql/Pg-upgrade-1.8.0-1.8.4.sql
new file mode 100644
index 0000000..57b24f1
--- /dev/null
+++ b/sql-ledger/sql/Pg-upgrade-1.8.0-1.8.4.sql
@@ -0,0 +1,21 @@
+--
+alter table chart add column gifi_accno text;
+--
+create table gifi (accno text, description text);
+create unique index gifi_accno_key on gifi (accno);
+--
+create table mtemp (parts_id int, name text);
+insert into mtemp select parts_id, name from makemodel;
+drop table makemodel;
+alter table mtemp rename to makemodel;
+--
+alter table defaults add column closedto date;
+alter table defaults add column revtrans bool;
+--
+alter table ap add column notes text;
+--
+alter table customer add column businessnumber text;
+alter table vendor add column businessnumber text;
+--
+update defaults set version = '1.8.4', revtrans = 'f';
+--
diff --git a/sql-ledger/sql/Pg-upgrade-1.8.4-1.8.5.sql b/sql-ledger/sql/Pg-upgrade-1.8.4-1.8.5.sql
new file mode 100644
index 0000000..807857a
--- /dev/null
+++ b/sql-ledger/sql/Pg-upgrade-1.8.4-1.8.5.sql
@@ -0,0 +1,63 @@
+--
+alter table customer rename column businessnumber to customernumber;
+create index customer_customernumber_key on customer (customernumber);
+alter table vendor rename column businessnumber to vendornumber;
+create index vendor_vendornumber_key on vendor (vendornumber);
+--
+CREATE TABLE employee (
+ id int DEFAULT nextval ('id'),
+ login text,
+ name varchar(35),
+ addr1 varchar(35),
+ addr2 varchar(35),
+ addr3 varchar(35),
+ addr4 varchar(35),
+ workphone varchar(20),
+ homephone varchar(20),
+ startdate date default current_date,
+ enddate date,
+ notes text
+);
+--
+create index employee_id_key on employee (id);
+create unique index employee_login_key on employee (login);
+create index employee_name_key on employee (name);
+--
+alter table gl add column employee_id int;
+create index gl_employee_id_key on gl (employee_id);
+alter table ar add column employee_id int;
+create index ar_employee_id_key on ar (employee_id);
+alter table ap add column employee_id int;
+create index ap_employee_id_key on ap (employee_id);
+alter table oe add column employee_id int;
+create index oe_employee_id_key on oe (employee_id);
+--
+alter table invoice add column unit varchar(5);
+alter table orderitems add column unit varchar(5);
+--
+update chart set gifi_accno = '' where gifi_accno = NULL;
+alter table chart rename to chartold;
+CREATE TABLE chart (
+ id int DEFAULT nextval ('id'),
+ accno text NOT NULL,
+ description text,
+ charttype char(1) DEFAULT 'A',
+ category char(1),
+ link text,
+ gifi_accno text
+);
+insert into chart (id, accno, description, charttype, category, link, gifi_accno) select id, accno, description, charttype, category, link, gifi_accno from chartold;
+drop table chartold;
+create index chart_id_key on chart (id);
+create unique index chart_accno_key on chart (accno);
+create index chart_category_key on chart (category);
+create index chart_link_key on chart (link);
+create index chart_gifi_accno_key on chart (gifi_accno);
+--
+alter table parts alter column inventory_accno_id drop default;
+--
+alter table defaults rename ordnumber to sonumber;
+alter table defaults add column ponumber text;
+--
+update defaults set version = '1.8.5', ponumber = sonumber;
+--
diff --git a/sql-ledger/sql/Pg-upgrade-1.8.5-2.0.0.sql b/sql-ledger/sql/Pg-upgrade-1.8.5-2.0.0.sql
new file mode 100644
index 0000000..ebc1d07
--- /dev/null
+++ b/sql-ledger/sql/Pg-upgrade-1.8.5-2.0.0.sql
@@ -0,0 +1,92 @@
+--
+alter table customer add column cc text;
+alter table customer add column bcc text;
+--
+alter table vendor add column cc text;
+alter table vendor add column bcc text;
+--
+create table shipto (
+ trans_id int,
+ shiptoname varchar(35),
+ shiptoaddr1 varchar(35),
+ shiptoaddr2 varchar(35),
+ shiptoaddr3 varchar(35),
+ shiptoaddr4 varchar(35),
+ shiptocontact varchar(35),
+ shiptophone varchar(20),
+ shiptofax varchar(20),
+ shiptoemail text
+);
+--
+insert into shipto (trans_id, shiptoname, shiptoaddr1, shiptoaddr2, shiptoaddr3, shiptoaddr4, shiptocontact, shiptophone, shiptofax, shiptoemail) select id, shiptoname, shiptoaddr1, shiptoaddr2, shiptoaddr3, shiptoaddr4, shiptocontact, shiptophone, shiptofax, shiptoemail from customer where shiptoname != '' or shiptoname is not null;
+--
+insert into shipto (trans_id, shiptoname, shiptoaddr1, shiptoaddr2, shiptoaddr3, shiptoaddr4, shiptocontact, shiptophone, shiptofax, shiptoemail) select distinct on (a.id) a.id, c.shiptoname, c.shiptoaddr1, c.shiptoaddr2, c.shiptoaddr3, c.shiptoaddr4, c.shiptocontact, c.shiptophone, c.shiptofax, c.shiptoemail from customer c, ar a where a.customer_id = c.id;
+--
+insert into shipto (trans_id, shiptoname, shiptoaddr1, shiptoaddr2, shiptoaddr3, shiptoaddr4, shiptocontact, shiptophone, shiptofax, shiptoemail) select distinct on (o.id) o.id, c.shiptoname, c.shiptoaddr1, c.shiptoaddr2, c.shiptoaddr3, c.shiptoaddr4, c.shiptocontact, c.shiptophone, c.shiptofax, c.shiptoemail from customer c, oe o where o.customer_id = c.id;
+--
+create index shipto_trans_id_key on shipto (trans_id);
+--
+create table custome (
+ id int default nextval('id'),
+ name varchar(35),
+ addr1 varchar(35),
+ addr2 varchar(35),
+ addr3 varchar(35),
+ addr4 varchar(35),
+ contact varchar(35),
+ phone varchar(20),
+ fax varchar(20),
+ email text,
+ notes text,
+ discount float4,
+ taxincluded bool,
+ creditlimit float DEFAULT 0,
+ terms int2 DEFAULT 0,
+ customernumber text,
+ cc text,
+ bcc text
+);
+insert into custome (id, name, addr1, addr2, addr3, addr4, contact, phone, fax, email, notes, discount, taxincluded, creditlimit, terms, customernumber) select id, name, addr1, addr2, addr3, addr4, contact, phone, fax, email, notes, discount, taxincluded, creditlimit, terms, customernumber from customer;
+--
+drop table customer;
+alter table custome rename to customer;
+create index customer_id_key on customer (id);
+create index customer_name_key on customer (name);
+create index customer_contact_key on customer (contact);
+--
+alter table parts add column bom boolean;
+alter table parts alter column bom set default 'f';
+update parts set bom = 'f';
+update parts set bom = 't' where assembly;
+alter table parts add column image text;
+alter table parts add column drawing text;
+alter table parts add column microfiche text;
+--
+alter table gl add column notes text;
+--
+alter table oe add column closed bool;
+alter table oe alter column closed set default 'f';
+update oe set closed = 'f';
+--
+create table project (
+ id int default nextval('id'),
+ projectnumber text,
+ description text
+);
+--
+create index project_id_key on project (id);
+--
+alter table acc_trans add column project_id int;
+update acc_trans set cleared = '0' where cleared = '1';
+--
+alter table invoice add column project_id int;
+alter table invoice add column deliverydate date;
+alter table orderitems add column project_id int;
+alter table orderitems add column reqdate date;
+--
+alter table gl rename source to reference;
+create index gl_reference_key on gl (reference);
+create index acc_trans_source_key on acc_trans (lower(source));
+--
+update defaults set version = '2.0.0';
+--
diff --git a/sql-ledger/sql/Pg-upgrade-2.0.0-2.0.8.sql b/sql-ledger/sql/Pg-upgrade-2.0.0-2.0.8.sql
new file mode 100644
index 0000000..ef73b1c
--- /dev/null
+++ b/sql-ledger/sql/Pg-upgrade-2.0.0-2.0.8.sql
@@ -0,0 +1,12 @@
+--
+create table partsgroup (id int default nextval('id'), partsgroup text);
+create index partsgroup_id_key on partsgroup (id);
+--
+alter table parts add partsgroup_id int;
+--
+alter table assembly add bom bool;
+update assembly set bom = '0' where assembly.id = parts.id and parts.bom = '0';
+update assembly set bom = '1' where assembly.id = parts.id and parts.bom = '1';
+--
+update defaults set version = '2.0.8';
+--
diff --git a/sql-ledger/sql/Poland-chart.sql b/sql-ledger/sql/Poland-chart.sql
new file mode 100644
index 0000000..64960ca
--- /dev/null
+++ b/sql-ledger/sql/Poland-chart.sql
@@ -0,0 +1,337 @@
+-- Chart of Account for Poland
+-- From: Peter Dabrowski <meritage@mail.com>
+-- Sun, 23 March 2003
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('000000000','Aktywa Trwa³e','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('001000000','¦rodki Trwa³e','A','','A','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('001010000','Grunty w³asne i prawa wieczystego u¿ytkowania gruntów','A','','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('001020000','Budynki, locale i obiekty in¿ynierii l±dowej i wodnej','A','','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('001030000','Urz±dzenia techniczne i maszyny','A','','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('001040000','¦rodki transportu','A','','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('001050000','Inne ¶rodki trwa³e','A','','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('002000000','Warto¶ci niematerialne i prawne','A','','A','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('002010000','Koszty zakoñczonych prac rozwojowych','A','','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('002020000','Nabyta warto¶æ firmy','A','','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('002080000','Inne warto¶ci niematerialne i prawne','A','','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('002090000','Zaliczki na warto¶ci niematerialne i prawne','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('003000000','D³ugoterminowe aktywa finansowe','A','','A','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('003010000','W jednostkach powi±zanych','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('003010100','Udzia³y lub akcje','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('003010200','Inne papiery warto¶ciowe','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('003010300','Udzielone porzyczki','A','','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('003010400','Inne d³ugoterminowe aktywa finansowe','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('003020000','W pozosta³ych jednostkach','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('003020100','Udzia³y lub akcje','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('003020200','Inne papiery warto¶ciowe','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('003020300','Udzielone po¿yczki','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('003020400','Inne d³ugoterminowe aktywa finansowe','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('003090000','Inne investycje d³ugoterminowe','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('003090100','Inne rodzaje d³ugoterminowych aktywów finansowych','A','','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('004000000','Investycje w nieruchomo¶ci i prawa','A','','A','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('004010000','Nieruchomo¶ci','A','','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('004020000','Warto¶ci niematerialne i prawne','A','','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('005000000','D³ugoterminowe rozliczenia miêdzyokresowe','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('005010000','Aktywa z tytu³u odroczonego podatku dochodowego','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('005020000','Inne rozliczenia miêdzyokresowe','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('006000000','Nale¿no¶ci d³ugoterminowe','A','','A','AR');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('006010000','Od jednostek powi±zanych','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('006020000','Od pozosta³ych jednostek','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('007000000','Odpisy umorzeniowe ¶rodków trwa³ych oraz warto¶ci niematerialnych i prawnych','A','','A','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('007010000','Odpisy umorzeniowe warto¶ci gruntów i prawa wieczystego u¿ytkowania gruntów','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('007020000','Odpisy umorzeniowe budynków, lokali i obiektów in¿ynierii l±dowej i wodnej','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('007030000','Odpisy umorzeniowe urz±dzeñ technicznych i maszyn','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('007040000','Odpisy umorzeniowe ¶rodków transportu','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('007050000','Odpisy umorzeniowe ulepszeñ obcych ¶rodków trwa³ych','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('007090000','Odpisy umorzeniowe innych ¶rodków trwa³ych','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('008000000','¦rodki trwa³e w budowie','A','','A','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('008010000','Inwestycje budowy ¶rodka trwa³ego','A','','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('008020000','Ulepszenia ¶rodka trwa³ego','A','','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('008030000','Nak³ady na budowê ¶rodka trwa³ego','A','','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('008040000','Zaliczki na ¶rodki trwa³e w budowie','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('008050000','Ulepszenia obcych ¶rodków trwa³ych','A','','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('009000000','Odpisy aktualizuj±ce d³ugoterminowe aktywa finansowe','A','','A','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('009010000','Odpisy aktualizuj±ce udzia³y i akcje w obcych jednostkach','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('009020000','Odpisy aktualizuj±ce lokaty','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('009030000','Odpisy aktualizuj±ce udzielone porzyczki d³ugoterminowe','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('009090000','Odpisy aktualizuj±ce inne rodzaje d³ugoterminowych aktywów finansowych','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('100000000','¦rodki pieniê¿ne, rachunki bankowe oraz inne krótkoterminowe aktywa finansowe','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('110000000','¦rodki pieniê¿ne w kasie','A','','A','AR:AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('110010000','Kasa krajowych ¶rodków pieniê¿nych','A','','A','AR_paid:AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('110020000','Kasa zagranicznych ¶rodków pieniê¿nych','A','','A','AR_paid:AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('113000000','Rachunki i kredyty bankowe','A','','A','AR:AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('113010000','Rachunek bie¿±cy','A','','A','AR_paid:AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('113020000','Rachunek ¶rodków wyodrêbnionych i zablokowanych','A','','A','AR_paid:AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('113030000','Rachunki kredytów bankowych','A','','A','AR_paid:AP_amount:AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('113040000','Rachunek ¶rodków walutowych','A','','A','AR_paid:AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('114000000','Krótkoterminowe aktywa finansowe','A','','A','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('114010000','Krótkoterminowe aktywa finansowe w jednostkach powi±zanych','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('114010100','Udzia³y lub akcje','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('114010200','Inne papiery warto¶ciowe','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('114010300','Udzielone po¿yczki','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('114010400','Inne krótkoterminowe aktywa finansowe','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('114020000','Krótkoterminowe aktywa finansowe w pozosta³ych jednostkach','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('114020100','Udzia³y lub akcje','A','','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('114020200','Inne papiery warto¶ciowe','A','','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('114020400','Inne krótkoterminowe aktywa finansowe','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('115000000','Inne ¶rodki pieniê¿ne','A','','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('116000000','Inne aktywa pieniê¿ne','A','','A','AR_paid:AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('117000000','Inne inwestycje krótkoterminowe','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('118000000','Krótkoterminowe rozliczenia miêdzyokresowe','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('200000000','Rozrachunki i roszczenia','H','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('220000000','Nale¿no¶ci krótkoterminowe','A','','L','AR');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('220010000','Nale¿no¶ci od jednostek powi±zanych','A','','L','AR_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('220010100','Nale¿no¶ci z tytu³u dostaw i us³ug','A','','L','AR_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('220010110','Nale¿no¶ci z tytu³u dostaw i us³ug, o okresie sp³aty do 12 miesiêcy','A','','L','AR_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('220010120','Nale¿no¶ci z tytu³u dostaw i us³ug, o okresie sp³aty powy¿ej 12 miesiêcy','A','','L','AR_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('220010200','Inne nale¿no¶ci','A','','L','AR_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('220010210','Zobowi±zania z tytu³u pokrycia kosztów ogólnego zarz±du','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('220010220','Zobowi±zania z tytu³u rozliczeñ VAT','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('221010000','Nale¿no¶ci od pozosta³ych jednostek','A','','L','AR');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('221020100','Nale¿no¶ci z tytu³u dostaw i us³ug','A','','L','AR');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('221020110','Nale¿no¶ci z tytu³u dostaw i us³ug, o okresie sp³aty do 12 miesiêcy','A','','L','AR_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('221020120','Nale¿no¶ci z tytu³u dostaw i us³ug, o okresie sp³aty powy¿ej 12 miesiêcy','A','','L','AR_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('221020200','Nale¿no¶ci z tytu³u podatków, dotacji, ce³, ubezpieczeñ spo³ecznych i zdrowotnych oraz innych ¶wiadczeñ','A','','L','AR_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('221020300','Zaliczki przekazane dostawcom','A','','L','AR_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('221020400','Nale¿no¶ci dochodzone na drodze s±dowej','A','','L','AR_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('221020500','Inne nale¿no¶ci','A','','L','AR_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('222000000','Zobowi±zania krótkoterminowe','A','','L','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('222010000','Zobowi±zania wobec jednostek powiazanych','A','','L','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('222010100','Zobowi±zania z tytu³u dostaw i us³ug','A','','L','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('222010200','Zobowi±zania o okresie wymagalno¶ci do 12 miesiêcy','A','','L','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('222010300','Zobowi±zania o okresie wymagalno¶ci powy¿ej 12 miesiêcy','A','','L','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('222010400','Inne zobowi±zania','A','','L','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('222020000','Zobowi±zania wobec pozosta³ych jednostek','A','','L','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('222020100','Kredyty i po¿yczki','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('222020200','Zobowi±zania z tytu³u emisji d³u¿nych papierów warto¶ciowych','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('222020300','Inne zobowi±zania finasowe','A','','L','AP_Amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('222020400','Zobowiazania z tytu³u dostaw i us³ug','A','','L','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('222020500','Zobowi±zania o okresie wymagalno¶ci do 12 miesiêcy ','A','','L','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('222020600','Zobowi±zania o okresie wymagalno¶ci powy¿ej 12 miesiêy','A','','L','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('222020700','Zaliczki otrzmane na dostawy','A','','L','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('222020800','Zobowi±zania wekslowe','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('222020900','Zobowi±zania z tytu³u podatków, ce³, ubezpieczeñ i innych ¶wiadczeñ','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('222021000','Zobowi±zania z tytu³u wynagrodzeñ','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('222021100','Inne zobowi±zania','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('223000000','Rozrachunki publicznoprawne','A','','L','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('223010000','Rozrachunki z urzêdem skarbowym z tytu³u VAT','A','','L','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('223020000','Rozliczenie nale¿nego VAT','A','','L','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('223020100','Rozliczenie nale¿nego VAT-22%','A','','L','AR_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('223020200','Rozliczenie nale¿nego VAT-7%','A','','L','AR_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('223020300','Rozliczenie nale¿nego VAT-0%','A','','L','AR_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('223030000','Rozliczenie naliczonego VAT','A','','L','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('223030100','Rozliczenie naliczonego VAT-22%','A','','L','AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('223030200','Rozliczenie naliczonego VAT-7%','A','','L','AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('223030300','Rozliczenie naliczonego VAT-0%','A','','L','AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('223040000','Korekty naliczonego VAT','A','','L','AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('223050000','Rozrachunki z Urzêdem Celnym','A','','L','AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('223060000','Rozrachunki z Urzêdem Skarbowym z tytu³u znaków akcyzy','A','','L','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('223070000','Rozrachunki z Urzêdem Skarbowym z tytu³u podatku akcyzowego','A','','L','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('223080000','Rozliczenie znaków akcyzy','A','','L','AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('223090000','Rozrachunki z ZUS','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('223100000','Rozrachunki z Urzêdem Skarbowym z tytu³u podatku dochodowego od osób prawnych','A','','L','AR_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('224000000','Rozrachunki z pracownikami','A','','L','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('224010000','Rozrachunki z tytu³u wynagrodzeñ','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('224020000','Rozrachunki z tytu³u po¿yczek udzielonych pracownikom','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('224090000','Inne rozrachunki z pracownikami','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('225000000','Zobowi±zania d³ugoterminowe','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('225010000','Zobowi±zania wobec jednostek powi±zanych','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('225010100','Zobowi±zania z tytu³u wyodrêbnienia sk³adników maj±tkowych','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('225010200','Zobowi±zania z tytu³u podzia³u zysku','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('225020000','Zobowi±zania wobec pozosta³ych jednostek','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('225020100','Kredyty i po¿yczki otrzymane','A','','L','AR_amount:AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('225020200','Kredyty i po¿yczki udzielone','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('225020300','Zobowi±zania z tytu³u emisji d³u¿nych papierów warto¶ciowych','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('225020400','Inne zobowi±zania kredytowe','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('225020500','Inne zobowi±zania','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('225030000','Rozrachunki z tytu³u wp³at na kapita³ zak³adowy','A','','L','AR_amount:APamount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('225040000','Rozrachunki z tytu³u wk³adów niepieniê¿nych na kapita³ zak³adowy','A','','L','AR_amount:AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('225050000','Rozrachunki z tytu³u podwy¿szenia kapita³u ze ¶rodków w³asnych spó³ki','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('225060000','Rozrachunki z tytu³u umorzenia udzia³ów w³asnych','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('225070000','Rozrachunki z tytu³u dywident','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('225080000','Rozrachunki z tytu³u dop³at i zwrotu dop³at','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('225090000','Pozosta³e rozrachunki ze wspólnikami','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('229000000','Odpisy aktualizuj±ce rozrachunki','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('300000000','Materia³y i towary','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('330000000','Rozliczenie zakupu','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('330010000','Rozliczenie warto¶ci materia³ów i towarów w drodze','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('330020000','Warto¶ci dostaw niefakturowanych','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('330030000','Przychody wszelkich dostaw i us³ug i ich rozliczanie','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('330040000','Odhylenia cen ewidencyjnych od rzeczywistych cen nabycia lub zakupu','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('330050000','Koszty zakupu zawarte w fakturach dostawców','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('330060000','Op³aty manipulacyjne policzone przez Urz±d Celny','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('330070000','Niedobory, szkody i nadwy¿ki w transporcie','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('330080000','Znaki akcyzy wed³ug dokumentu SAD','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('330090000','Reklamacje faktur dostawców','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('331000000','Materia³y','A','','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('331010000','Materia³y w magazynach w³asnych','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('331020000','Materia³y w magazynach obcych','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('331030000','Materia³y w przerobie','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('333000000','Towary','A','','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('333010000','Towary w magazynach w³asnych','A','','A','IC_sale');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('333020000','Towary w magazynach obcych','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('333030000','Towary w detalu','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('334000000','Odchylenia od cen ewidencyjnych materia³ów i towarów','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('334010000','Odpisy aktualizuj±ce warto¶æ materia³ów','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('334020000','Odpisy aktualizuj±ce warto¶æ towarów','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('400000000','Koszty wed³ug rodzajów i ich rozliczeñ','H','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('440000000','Koszty wed³ug rodzajów','A','','E','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('440010000','Zu¿ycie materia³ów i energii','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('440010100','Zu¿ycie materia³ów biurowych','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('440020000','Us³ugi obce','A','','E','AP_amount:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('440020100','Us³ugi celne','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('440020200','Us³ugi telekomunikacyjne','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('440020300','Us³ugi pocztowe','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('440020400','Us³ugi kurierskie i transportowe','A','','E','AP_amount:IC_cogs');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('440020500','Analizy sanitarne','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('440020600','Us³ugi graficzne i drukarskie','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('440030000','Podatki i op³aty','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('440030100','Op³aty i prowizje bankowe','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('440030200','Op³aty s±dowe, prawnicze i notarialne','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('440030300','Op³aty skarbowe','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('440030400','Koncesje','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('440040000','Wynagrodzenia za pracê','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('441000000','¦wiadczenia na rzecz pracowników','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('442000000','Amortyzacja','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('443000000','Pozosta³e','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('449000000','Rozliczenie kosztów','A','','E','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('449010000','Nie podlegaj±ce rozliczeniu w czasie','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('449020000','Przypadaj±ce na przysz³e okresy','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('449030000','Koszty zgromadzone','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('449040000','Koszty nie wliczane do warto¶ci sprzeda¿y','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('500000000','Koszty wed³ug typów dzia³alno¶ci i ich rozliczenie','H','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('550000000','Koszty dzia³alno¶ci podstawowej-produkcyjnej','A','','E','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('550010000','Rozliczone koszta dzia³alno¶ci','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('550020000','Koszty nie zakoñczonych d³ugotrwa³ych us³ug','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('550030000','Straty zwi±zane z wykonaniem d³ugotrwa³ych us³ug','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('552000000','Koszty dzia³alno¶ci podstawowej-handlowej','A','','E','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('552010000','Koszty utrzymania punktów sprzeda¼y detalicznej','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('550200000','Koszty utrzymania hurtowni','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('552030000','Koszty sprzeda¿y wyrobów','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('552040000','Podatek akcyzowy','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('552050000','Op³aty celne','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('553000000','Koszty dzia³alno¶ci pomocniczej','A','','E','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('553010000','¦wiadczenia us³ug transportowych','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('555000000','Koszty zarz±du','A','','E','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('555010000','Koszty zarz±dzania jednostk±','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('555020000','¦wiadczenia us³ug na potrzeby reprezentacji i reklamy','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('558000000','Rozliczenie kosztów dzia³alno¶ci','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('600000000','Produkty i rozliczenia miêdzyokresowe','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('660000000','Pó³produkty i produkty w toku','A','','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('661000000','Produkty gotowe','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('661010000','Wyroby gotowe','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('661020000','Wyroby poza jednostk±','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('662000000','Odchylenia od cen ewidencyjnych produktów','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('662010000','Odchylenia od cen evidencyjnych wyrobów gotowych','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('662020000','Odhylenia od cen evidencyjnych pó³fabrykatów','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('664000000','Rozliczenia miêdzyokresowe kosztów','A','','L','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('664010000','Czynne rozliczenia miêdzyokresowe kosztów','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('664020000','Bierne rozliczenia miêdzyokresowe kosztów','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('665000000','Pozosta³e rozliczenia miêdzyokresowe','A','','L','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('665010000','Czynne rozliczenia przysz³ych okresów','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('665020000','Bierne rozliczenia przysz³ych okresów','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('700000000','Przychody i koszty zwi±zane z ich osi±gniêciem','H','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('770000000','Sprzeda¿ produktów','A','','I','AR');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('770010000','Sprzeda¿ produktów na kraj','A','','I','AR_amount:IC_sale');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('770020000','Sprzeda¿ produktów na eksport','A','','I','AR_amount:IC_sale');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('770030000','Sprzeda¿ us³ug na kraj','A','','I','AR_amount:IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('770040000','Sprzeda¿ us³ug na eksport','A','','I','AR_amount:IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('770100000','Koszty sprzedanych produktów','A','','E','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('770110000','Koszt w³asny sprzeda¿y produktów na kraj','A','','E','IC_cogs');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('770120000','Koszt w³asny sprzeda¿y produktów na eksport','A','','E','IC_cogs');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('770130000','Koszt w³asny sprzeda¿y us³ug na kraj','A','','E','IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('770140000','Koszt w³asny sprzeda¿y us³ug na export','A','','E','IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('773000000','Sprzeda¿ towarów','A','','I','AR');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('773010000','Sprzeda¿ hurtowa towarów','A','','I','AR_amount:IC_sale');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('773020000','Sprzeda¿ detaliczna towarów','A','','I','AR_amount:IC_sale');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('773030000','Sprzeda¿ wysy³kowa towarów','A','','I','AR_amount:IC_sale');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('773040000','Prowizja komisowa','A','','I','AR_amount:IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('773100000','Warto¶æ sprzedanych towarów w cenach zakupu','A','','E','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('773110000','Warto¶æ sprzedanych towarów w sprzeda¿y hurtowej','A','','E','IC_cogs');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('773120000','Warto¶æ sprzedanych towarów w sprzeda¿y detalicznej','A','','E','IC_cogs');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('773130000','Warto¶æ sprzedanych towarów w sprzeda¿y wysy³kowej','A','','E','IC_cogs');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('773140000','Prowizja komisowa','A','','E','AP_amount:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('774000000','Sprzeda¿ materia³ów','A','','I','AR');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('774010000','Materia³y','A','','I','AP_amount:IC_sale');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('774020000','Opakowania','A','','I','AR_amount:IC_sale');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('774030000','Odpady','A','','I','AR_amount:IC_sale');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('774100000','Warto¶æ sprzedanych materia³ów','A','','E','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('774110000','Warto¶æ w cenach zakupu sprzedanych materia³ów','A','','E','IC_cogs');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('774120000','Warto¶æ w cenach zakupu sprzedanych opakowañ','A','','E','IC_cogs');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('774130000','Warto¶æ w cenach zakupu sprzedanych odpadów','A','','E','IC_cogs');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('775000000','Przychody finansowe','A','','I','AR');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('775010000','Kwoty nale¿ne ze sprzeda¿y aktywów finansowych','A','','I','AR_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('775020000','Kwoty nale¿ne z tytu³u dywident','A','','I','AR_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('775030000','Otrzymane odsetki','A','','I','AR_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('775040000','Przychody ze zbycia investycji','A','','I','AR_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('775050000','Aktualizacja warto¶ci investycji-przychody','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('775060000','Dodatnie ró¿nice kursu walut','A','','I','AR_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('775070000','Pozosta³e przychody finansowe','A','','I','AR_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('775100000','Koszty finansowe','A','','E','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('775110000','Warto¶æ sprzedanych investycji','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('775120000','Odpisy z tytu³u utraty warto¶ci investycji-koszty','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('775130000','Odsetki zap³acone','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('775140000','Ujemne ró¿nice kursu walut','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('775190000','Pozosta³e koszty finansowe','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('776000000','Pozosta³e przychody operacyjne','A','','I','AR');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('776010000','Przychody ze zbycia niefinansowych aktywów trwa³ych','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('776020000','Otrzymane dotacje','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('776030000','Przychody z us³ug socjalnych','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('776040000','Przychody ze wzrostu warto¶ci niefinansowych aktywów trwa³ych','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('776090000','Inne pozosta³e przychody operacyjne','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('776100000','Pozosta³e koszty operacyjne','A','','E','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('776110000','Warto¶æ sprzedanych niefinansowych aktywów trwa³ych','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('776120000','Dotacje przekazane','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('776130000','Odpisy z tytu³u utraty warto¶ci aktywów niefinansowych','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('776140000','Inne pozosta³e koszty operacyjne','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('777000000','Zyski nadzwyczajne','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('777100000','Straty nadzwyczajne','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('779000000','Obroty wewnêtrzne','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('779010000','Koszt wyrobów w³asnej produkcji wydanych do w³asnych sklepów','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('779020000','¦wiadczenia na rzecz ¶rodków trwa³ych w budowie','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('779040000','Koszt niedoborów produktów','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('779050000','Koszt zaniechania okre¶lonego rodzaju dzia³alno¶ci','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('779100000','Koszt obrotów wewnêtrznych','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('779110000','Koszt wytworzenia wyrobów gotowych wydanych do w³asnych sklepów','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('779120000','Koszt wytworzenia ¶wiadczeñ na rzecz ¶rodków trwa³ych w budowie','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('779130000','Koszt wytworzenia zakoñczonych prac rozwojowych','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('779140000','Koszt wytworzenia produktów uznanych za niedobory','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('779150000','Koszt zaniechania okre¶lonego rodzaju dzia³alno¶ci','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('800000000','Kapita³y w³asne i wynik finansowy','H','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('880000000','Kapita³ podstawowy','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('880010000','Kapita³ zak³adowy','A','','Q','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('881000000','Fundusze wydzielone jednostkom zale¿nym','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('882000000','Nale¿ne wp³aty na kapita³ podstawowy','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('883000000','Fundusze wydzielone jednostkom zale¿nym','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('884000000','Kapita³ zapasowy','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('885000000','Kapita³ rezerwowy','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('886000000','Kapita³ z aktualizacji wyceny','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('887000000','Rozliczenia wyniku finansowego','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('888000000','Rezerwy','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('888010000','Rezerwa z tytu³u odroczonego podatku dochodowego','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('888020000','Rezerwa na ¶wiadczenia','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('888020100','Rezerwa d³ugoterminowa na ¶wiadczenia emerytalne i podobne','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('888020200','Rezerwa krótkoterminowa na ¶wiadczenia emerytalne i podobne','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('889090000','Pozosta³e rezerwy','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('889090100','Pozosta³e rezerwy d³ugoterminowe','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('889090200','Pozosta³e rezerwy krótkoterminowe','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('890000000','Rozliczenia miêdzyokresowe','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('890010000','Ujemna warto¶æ firmy','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('890020000','Inne rozliczenia miêdzyokresowe','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('890020100','Inne rozliczenia miêdzyokresowe d³ugoterminowe','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('890020200','Inne rozliczenia miêdzyokresowe krótkoterminowe','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('891000000','Fundusze specjalne','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('892000000','Wynik finansowy','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('893000000','Odpisy z zysku netto w ci±gu roku obrotowego','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('893010000','Podatek dochodowy','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('893020000','Inne obowi±zkowe obci±¿enia wyniku finansowego','A','','Q','');
+--
+insert into tax (chart_id,rate) values ((select id from chart where accno = '223020100'),0.22);
+insert into tax (chart_id,rate) values ((select id from chart where accno = '223020200'),0.07);
+insert into tax (chart_id,rate) values ((select id from chart where accno = '223020300'),0);
+insert into tax (chart_id,rate) values ((select id from chart where accno = '223030100'),0.22);
+insert into tax (chart_id,rate) values ((select id from chart where accno = '223030200'),0.07);
+insert into tax (chart_id,rate) values ((select id from chart where accno = '223030300'),0);
+--
+update defaults set inventory_accno_id = (select id from chart where accno = '333000000'), income_accno_id = (select id from chart where accno = '773010000'), expense_accno_id = (select id from chart where accno = '773110000'), fxgain_accno_id = (select id from chart where accno = '775060000'), fxloss_accno_id = (select id from chart where accno = '775140000'), invnumber = '1000', sonumber = '1000', ponumber = '1000', curr = 'PLN:USD:EUR', weightunit = 'kg';
+--
+
+
diff --git a/sql-ledger/sql/Simplified_Chinese_Default-chart.sql b/sql-ledger/sql/Simplified_Chinese_Default-chart.sql
new file mode 100644
index 0000000..680adb8
--- /dev/null
+++ b/sql-ledger/sql/Simplified_Chinese_Default-chart.sql
@@ -0,0 +1,78 @@
+-- Default chart of accounts -- sample only
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2190','Ó¦¸¶ËùµÃË°','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2600','³¤ÆÚ¸ºÕ®','H','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3300','¹É·Ý×ʱ¾','H','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3500','±£ÁôÓ¯âÅ','H','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4000','ÏúÊÛÓ¯âÅ','H','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4300','ÚÑѯӯâÅ','H','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4400','ÆäËüÓ¯âÅ','H','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5000','»õÏú³É±¾','H','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5400','н×ÊÖ§³ö','H','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5600','ÈÕ³£¼°¹ÜÀíÖ§³ö','H','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1205','´ôÕʱ¸µÖ','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1000','Á÷¶¯×ʲú','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1800','×ʱ¾×ʲú','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1825','ÀۼƷÖÆÚ¸¶¿î - װ諼°É豸.','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1845','ÀۼƷÖÆÚ¸¶¿î - ÔËÊ乤¾ß','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2000','Á÷¶¯¸ºÕ®','H','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2620','ÒøÐнè¿î','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3600','Á÷¶¯Ó¯âÅ','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2160','Ó¦¸¶¹«Ë¾Ë°','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3590','±£ÁôÓ¯âÅ - È¥Äê¶È','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3350','ÆÕͨ¹É·Ý','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1500','´æ»õ×ʲú','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5615','¹ã¸æÐÐÏú','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5790','¹¤¾ß','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5700','°ì¹«ÓÃÆ·','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5800','ȨÀû½ð','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5610','»á¼Æ·¨Îñ','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5685','±£ÏÕ','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5660','·ÖÆÚÖ§³ö','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5620','»µÕÊ','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5680','ËùµÃË°','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5690','ÀûÏ¢¼°ÒøÐÐÊÖÐø·Ñ','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5410','н×Ê','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5420','±£ÏÕÖ§³ö','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5430','ÍËÐݽðÖ§³ö','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5440','²¹³¥½ðÖ§³ö','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5470','Ô±¹¤¸£Àû','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4030','ÏúÊÛ / ÈíÌå','A','','I','AR_amount:IC_sale');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4440','ÀûÏ¢','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5100','ÔË·Ñ','A','','E','AP_amount:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5760','×â½ð','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1530','¿â´æ / ÈíÌå','A','','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1540','¿â´æ / ¶þ¼¶Êг¡Áã¼þ','A','','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4040','ÏúÊÛ / ¶þ¼¶Êг¡Áã¼þ','A','','I','AR_amount:IC_sale');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5030','»õÏú³É±¾ / ÈíÌå','A','','E','AP_amount:IC_cogs');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5010','²É¹º','A','','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5040','»õÏú³É±¾ / ¶þ¼¶Êг¡Áã¼þ','A','','E','AP_amount:IC_cogs');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1065','ÁãÓýð','A','','A','AR_paid:AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1820','°ì¹«ÊÒװ諼°É豸','A','','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5785','Â÷Ѽ°ÓéÀÖ','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2680','¹É¶«´û¿î','A','','L','AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5795','×¢²á·Ñ','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5780','µçÐÅ·Ñ','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5781','Íø·Á¬Ïß·Ñ','A','','E','AP_amount:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5765','άÐÞ¹ÜÀí·Ñ','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2311','µØ·½Ë°','A','','L','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4430','ÔËÏú·Ñ','A','','I','IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1520','¿â´æ / Ó²Ìå','A','','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5020','»õÏú³É±¾ / Ó²Ìå','A','','E','AP_amount:IC_cogs');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2100','Ó¦¸¶ÕÊ¿î','A','','L','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1840','ÔËÊ乤¾ß','A','','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4330','³ÌʽÉè¼Æ','A','','I','AR_amount:IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4020','ÏúÊÛ / Ó²Ìå','A','','I','AR_amount:IC_sale');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4320','ÚÑѯ','A','','I','AR_amount:IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1200','Ó¦ÊÕÕÊ¿î','A','','A','AR');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1061','֧Ʊ»§Í·','A','','A','AR_paid:AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2310','ÉÌÆ··þÎñË°','A','','L','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+--
+-- exchange rate
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4450','Foreign Exchange Gain','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5810','Foreign Exchange Loss','A','','E','');
+--
+insert into tax (chart_id,rate) values ((select id from chart where accno = '2310'),0.07);
+insert into tax (chart_id,rate) values ((select id from chart where accno = '2311'),0.08);
+--
+update defaults set inventory_accno_id = (select id from chart where accno = '1520'), income_accno_id = (select id from chart where accno = '4020'), expense_accno_id = (select id from chart where accno = '5010'), fxgain_accno_id = (select id from chart where accno = '4450'), fxloss_accno_id = (select id from chart where accno = '5810'), invnumber = '1000', sonumber = '1000', ponumber = '1000', curr = 'CAD', weightunit = 'kg';
+--
diff --git a/sql-ledger/sql/Spain-chart.sql b/sql-ledger/sql/Spain-chart.sql
new file mode 100644
index 0000000..8c304a8
--- /dev/null
+++ b/sql-ledger/sql/Spain-chart.sql
@@ -0,0 +1,132 @@
+-- Chart of Accounts for Spain (Cuadro del Plan de Contabilidad español)
+-- From: Federico Montesino Pouzols <fedemp@arrok.com>
+-- 23 Apr 2002
+--
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('099999999','Grupo 1: financiación básica','H','','','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('100000000','Capital','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('110000000','Reservas','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('120000000','Resultados pendientes de aplicación','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('130000000','Ingresos a distribuir en varios ejercicios','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('140000000','Provisiones para riesgos y gastos','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('150000000','Empréstitos y otras emisiones análogas','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('160000000','Deudas a largo plazo con empresas del grupo y asociadas','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('170000000','Deudas a largo plazo por prestamos recibidos y otros conceptos','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('180000000','Fianzas y depósitos recibidos a largo plazo','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('190000000','Situaciones transitorias de financiación','A','','A','');
+--
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('199999999','Grupo 2: inmovilizado','H','','','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('200000000','Gastos de establecimiento','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('210000000','Inmovilizaciones inmateriales','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('220000000','Inmovilizaciones materiales','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('230000000','Inmovilizaciones materiales en curso','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('240000000','Inversiones financieras en empresas del grupo y asociadas','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('250000000','Otras inversiones financieras permanentes','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('260000000','Fianzas y depósitos constituidos a largo plazo','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('270000000','Gastos a distribuir en varios ejercicios','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('280000000','Amortización acumulada del inmovilizado','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('290000000','Provisiones de inmovilizado','A','','A','');
+--
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('299999999','Grupo 3: existencias','H','','','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('300000000','Comerciales','A','','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('310000000','Materias primas','A','','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('320000000','Otros aprovisionamientos','A','','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('330000000','Productos en curso','A','','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('340000000','Productos semiterminados','A','','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('350000000','Productos terminados','A','','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('360000000','Subproductos, residuos y materiales recuperados','A','','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('390000000','Provisiones por depreciación de existencias','A','','A','');
+--
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('399999999','Grupo 4: acreedores y deudores por operaciones de tráfico','H','','','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('400000000','Proveedores','A','','P','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('410000000','Acreedores varios','A','','P','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('430000000','Clientes','A','','P','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('431000000','Clientes, efectos comerciales a cobrar','A','','P','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('440000000','Deudores varios','A','','P','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('460000000','Personal','A','','P','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('470000000','Administraciones públicas','A','','P','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('472000000','Hacienda Pública, IVA soportado','A','','P','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('472000001','IVA soportado 4%','A','','P','AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('472000002','IVA soportado 7%','A','','P','AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('472000003','IVA soportado 16%','A','','P','AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('475100000','Hacienda Pública, acreedor por retenciones practicadas','A','','P','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('473000000','Hacienda Pública, retenciones y pagos a cuenta','A','','P','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('477000000','Hacienda Pública, IVA repercutido','A','','P','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('477000001','IVA repercutido 4%','A','','P','AR_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('477000002','IVA repercutido 7%','A','','P','AR_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('477000003','IVA repercutido 16%','A','','P','AR_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('480000000','Ajustes por periodificación','A','','P','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('490000000','Provisiones por operaciones de tráfico','A','','P','');
+--
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('499999999','Grupo 5: cuentas financieras','H','','','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('500000000','Empréstitos y otras emisiones análogas a corto plazo','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('510000000','Deudas a corto plazo con empresas del grupo y asociadas','A','','P','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('520000000','Deudas a corto plazo por préstamos recibidos y otros conceptos','A','','P','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('530000000','Inversiones financieras a corto plazo en empresas del grupo y asociadas','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('540000000','Otras inversiones financieras temporales','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('550000000','Otras cuentas no bancarias','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('560000000','Fianzas y depósitos recibidos y constituidos a corto plazo','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('569000000','Tesorería','A','','A','AR_paid:AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('570000000','Caja, euros','A','','A','AR_paid:AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('571000000','Caja, moneda extranjera','A','','A','AR_paid:AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('572000000','Bancos e instituciones de crédito, c/c. vista, euros','A','','A','AR_paid:AP_paid:AP_amount:AR_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('573000000','Bancos e instituciones de crédito, c/c. vista, moneda extranjera','A','','A','AR_paid:AP_paid:AP_amount:AR_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('574000000','Bancos e instituciones de crédito, cuentas de ahorro, euros','A','','A','AR_paid:AP_paid:AP_amount:AR_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('575000000','Bancos e instituciones de crédito, cuentas de ahorro, moneda extranjera','A','','A','AR_paid:AP_paid:AP_amount:AR_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('580000000','Ajustes por periodificación','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('590000000','Provisiones financieras','A','','P','');
+--
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('599999999','Grupo 6: compras y gastos','H','','','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('600000000','Compras','A','','E','AP:IC_cogs');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('608000000','Devoluciones de compras y operaciones similares','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('610000000','Variación de existencias','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('620000000','Servicios exteriores','A','','E','IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('630000000','Tributos','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('640000000','Gastos de personal','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('650000000','Otros gastos de gestión','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('660000000','Gastos financieros','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('665000000','Descuentos sobre ventas por pronto pago','A','','E','IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('668000000','Diferencias negativas de cambio','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('670000000','Pérdidas procedentes del inmovilizado y gastos excepcionales','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('680000000','Dotaciones para amortizaciones','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('690000000','Dotaciones a las provisiones','A','','E','');
+--
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('699999999','Grupo 7: ventas e ingresos','H','','','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('700000000','Ventas de mercaderías, de producción propia, de servicios, etc.','A','','I','AR:IC_sale:IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('708000000','Devoluciones de ventas y operaciones similares','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('710000000','Variación de existencias','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('730000000','Trabajos realizados para la empresa','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('740000000','Subvenciones a la explotación','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('750000000','Otros ingresos de gestión','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('760000000','Ingresos financieros','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('765000000','Descuentos sobre compras por pronto pago','A','','I','IC_sale:IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('768000000','Diferencias positivas de cambio','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('770000000','Beneficios procedentes de inmovilizados e ingresos excepcionales','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('790000000','Excesos y aplicaciones de provisiones','A','','I','');
+--
+-- Taxes in Spain
+--
+-- IVA: 4, 7 or 16%
+-- IVA soportado
+INSERT INTO "tax" ("chart_id", "rate") VALUES ((SELECT id FROM chart WHERE accno = '472000000'), 0.0);
+INSERT INTO "tax" ("chart_id", "rate") VALUES ((SELECT id FROM chart WHERE accno = '472000001'), 0.04);
+INSERT INTO "tax" ("chart_id", "rate") VALUES ((SELECT id FROM chart WHERE accno = '472000002'), 0.07);
+INSERT INTO "tax" ("chart_id", "rate") VALUES ((SELECT id FROM chart WHERE accno = '472000003'), 0.16);
+-- Recargo equivalente: 0.5, 1 or 4%
+INSERT INTO "tax" ("chart_id", "rate") VALUES ((SELECT id FROM chart WHERE accno = '472000004'), 0.005);
+INSERT INTO "tax" ("chart_id", "rate") VALUES ((SELECT id FROM chart WHERE accno = '472000005'), 0.01);
+INSERT INTO "tax" ("chart_id", "rate") VALUES ((SELECT id FROM chart WHERE accno = '472000006'), 0.04);
+--
+-- IVA repercutido
+INSERT INTO "tax" ("chart_id", "rate") VALUES ((SELECT id FROM chart WHERE accno = '477000000'), 0.0);
+INSERT INTO "tax" ("chart_id", "rate") VALUES ((SELECT id FROM chart WHERE accno = '477000001'), 0.04);
+INSERT INTO "tax" ("chart_id", "rate") VALUES ((SELECT id FROM chart WHERE accno = '477000002'), 0.07);
+INSERT INTO "tax" ("chart_id", "rate") VALUES ((SELECT id FROM chart WHERE accno = '477000003'), 0.16);
+-- Recargo equivalente: 0.5, 1 or 4%
+INSERT INTO "tax" ("chart_id", "rate") VALUES ((SELECT id FROM chart WHERE accno = '477000004'), 0.005);
+INSERT INTO "tax" ("chart_id", "rate") VALUES ((SELECT id FROM chart WHERE accno = '477000005'), 0.01);
+INSERT INTO "tax" ("chart_id", "rate") VALUES ((SELECT id FROM chart WHERE accno = '477000006'), 0.04);
+--
+-- update defaults
+--
+update defaults set inventory_accno_id = (select id from chart where accno = '300000000'), income_accno_id = (select id from chart where accno = '700000000'), expense_accno_id = (select id from chart where accno = '600000000'), fxgain_accno_id = (select id from chart where accno = '768000000'), fxloss_accno_id = (select id from chart where accno = '668000000'), invnumber = 'F00000000', sonumber = '100000000', ponumber = '100000000', yearend = '31/12', curr = 'EUR', weightunit = 'Kg', businessnumber = '';
+--
diff --git a/sql-ledger/sql/Swiss-German-chart.sql b/sql-ledger/sql/Swiss-German-chart.sql
new file mode 100644
index 0000000..75959ef
--- /dev/null
+++ b/sql-ledger/sql/Swiss-German-chart.sql
@@ -0,0 +1,160 @@
+-- Swiss chart of accounts
+-- adapted to numeric representation of chart no.
+--
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('10000','AKTIVEN','H','1','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('11000','UMLAUFSVERMÖGEN','H','10000','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('11100','Flüssige Mittel','H','11000','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('11102','Bank CS Kt. 177929-11','A','11100','A','AR_paid:AP_paid');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('11110','Forderungen','H','11000','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('11120','Vorräte und angefangene Arbeiten','H','11000','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('11128','Angefangene Arbeiten','A','11120','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('11130','Aktive Rechnungsabgrenzung','A','11000','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('14000','ANLAGEVERMÖGEN','H','10000','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('18000','AKTIVIERTER AUFWAND UND AKTIVE BERICHTIGUNGSPOSTEN','H','10000','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('18182','Entwicklungsaufwand','A','18000','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('20000','PASSIVEN','H','2','L','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('21000','FREMDKAPITAL KURZFRISTIG','H','20000','L','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('21200','Kurzfristige Verbindlichkeiten aus Lieferungen und Leistungen','H','21000','L','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('21201','Lieferanten','A','21200','L','AP');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('21202','Personalaufwand','A','21200','L','AP');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('21203','Sozialversicherungen','A','21200','L','AP');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('21205','Leasing','A','21200','L','AP');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('21210','Kurzfristige Finanzverbindlichkeiten','H','21000','L','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('21220','Andere kurzfristige Verbindlichkeiten','H','21000','L','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('21222','MWST (3,6)','A','21220','L','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('21229','Gewinnausschüttung','A','21220','L','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('21230','Passive Rechnungsabgrenzung, kurzfristige Rückstellungen','H','21000','L','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('21235','Rückstellungen','A','21230','L','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('24000','FREMDKAPITAL LANGFRISTIG','H','20000','L','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('24256','Gesellschafter','A','24000','L','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('28000','EIGENKAPITAL','H','20000','Q','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('28280','Stammkapital','A','28000','Q','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('28290','Reserven, Bilanzgewinn','H','28000','Q','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('28291','Reserven','A','28290','Q','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('28295','Gewinnvortrag','A','28290','Q','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('28296','Jahresgewinn','A','28290','Q','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('30000','BETRIEBSERTRAG AUS LIEFERUNGEN UND LEISTUNGEN','H','30000','I','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('31000','PRODUKTIONSERTRAG','H','30000','I','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('31001','Computer','A','31000','I','AR_amount:IC_sale');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('31005','Übrige Produkte','A','31000','I','AR_amount:IC_sale');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('32000','HANDELSERTRAG','H','30000','I','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('32001','Hardware','A','32000','I','AR_amount:IC_sale');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('32002','Software OSS','A','32000','I','AR_amount:IC_sale');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('32003','Software kommerz.','A','32000','I','AR_amount:IC_sale');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('32005','Übrige','A','32000','I','AR_amount:IC_sale');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('34000','DIENSTLEISTUNGSERTRAG','H','30000','I','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('34001','Beratung','A','34000','I','AR_amount:IC_income');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('34002','Installation','A','34000','I','AR_amount:IC_income');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('36000','ÜBRIGER ERTRAG','H','30000','I','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('37000','EIGENLEISTUNGEN UND EIGENVERBRAUCH','H','30000','I','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('37001','Eigenleistungen','A','37000','I','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('37002','Eigenverbrauch','A','37000','I','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('38000','BESTANDESÄNDERUNGEN ANGEFANGENE UND FERTIGGESTELLTE ARBEITUNG AUS PRODUKTION UND DIENSTLEISTUNG','H','30000','I','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('38001','Bestandesänderungen','A','38000','I','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('39000','ERTRAGSMINDERUNGEN AUS PRODUKTIONS-, HANDELS- UND DIENSTLEISTUNGSERTRÄGEN','H','30000','I','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('40000','AUFWAND FÜR MATERIAL, WAREN UND DIENSTLEISTUNGEN','H','40000','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('41000','MATERIALAUFWAND','H','40000','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('41001','Computer','A','41000','E','AP_amount:IC_cogs');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('41005','Übrige Produkte','A','41000','E','AP_amount:IC_cogs');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('42000','HANDELSWARENAUFWAND','H','40000','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('42001','Hardware','A','42000','E','AP_amount:IC_cogs');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('42002','Software OSS','A','32000','I','AP_amount:IC_cogs');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('42003','Software kommerz.','A','42000','I','AP_amount:IC_cogs');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('42005','Übrige','A','42000','E','AP_amount:IC_cogs');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('44000','AUFWAND FÜR DRITTLEISTUNGEN','H','40000','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('46000','ÜBRIGER AUFWAND','H','40000','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('47000','DIREKTE EINKAUFSSPESEN','H','40000','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('47001','Einkaufsspesen','A','47000','E','AP_amount:IC_expense');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('48000','BESTANDESVERÄNDERUNGEN, MATERIAL- UND WARENVERLUSTE','H','40000','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('48001','Bestandesänderungen','A','48000','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('49000','AUFWANDMINDERUNGEN','H','40000','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('49005','Aufwandminderungen','A','49000','E','AP_amount:IC_expense');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('50000','PERSONALAUFWAND','H','50000','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('57000','SOZIALVERSICHERUNGSAUFWAND','H','50000','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('58000','ÜBRIGER PERSONALAUFWAND','H','58000','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('58005','Sonstiger Personalaufwand','A','58000','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('59000','ARBEITSLEISTUNGEN DRITTER','H','50000','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('60000','SONSTIGER BETRIEBSAUFWAND','H','60000','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('61000','RAUMAUFWAND','H','60000','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('61900','UNTERHALT, REPARATUREN, ERSATZ, LEASINGAUFWAND MOBILE SACHANLAGEN','H','60000','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('61901','Unterhalt','A','61900','E','AP_amount');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('62000','FAHRZEUG- UND TRANSPORTAUFWAND','H','60000','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('62002','Transportaufwand','A','62000','E','AP_amount');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('63000','SACHVERSICHERUNGEN, ABGABEN, GEBÜHREN, BEWILLIGUNGEN','H','60000','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('65000','VERWALTUNGS- UND INFORMATIKAUFWAND','H','60000','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('66000','WERBEAUFWAND','H','60000','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('67000','ÜBRIGER BETRIEBSAUFWAND','H','60000','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('67001','Übriger Betriebsaufwand','A','67000','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('68000','FINANZERFOLG','H','60000','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('68001','Finanzaufwand','A','68000','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('68002','Bankspesen','A','68000','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('68005','Finanzertrag','A','68000','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('69000','ABSCHREIBUNGEN','H','60000','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('69001','Abschreibungen','A','69000','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('80000','AUSSERORDENTLICHER UND BETRIEBSFREMDER ERFOLG, STEUERN','H','80000','I','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('80001','Ausserordentlicher Ertrag','A','80000','I','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('80002','Ausserordentlicher Aufwand','A','80000','I','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('89000','STEUERAUFWAND','H','80000','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('89001','Steuern','A','80000','E','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('90000','ABSCHLUSS','H','90000','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('91000','ERFOLGSRECHNUNG','H','91000','I','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('92000','BILANZ','H','92000','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('93000','GEWINNVERWENDUNG','H','93000','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('99000','SAMMEL- UND FEHLBUCHUNGEN','H','99000','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('11121','Warenvorräte','A','11120','A','IC');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('44001','Aufwand für Drittleistungen','A','44000','E','AP_amount:IC_expense');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('63001','Betriebsversicherungen','A','63000','E','AP_amount:IC_expense');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('57004','Unfallversicherung','A','57000','E','AP_amount:IC_expense');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('57005','Krankentaggeldversicherung','A','57000','E','AP_amount:IC_expense');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('57003','Berufliche Vorsorge','A','57000','E','AP_amount:IC_expense');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('57002','FAK','A','57000','E','AP_amount:IC_income:IC_expense');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('65009','Übriger Verwaltungsaufwand','A','65000','E','AP_amount:IC_expense');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('65003','Porti','A','65000','E','AP_amount:IC_expense');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('65002','Telekomm','A','65000','E','AP_amount:IC_expense');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('65001','Büromaterial','A','65000','E','AP_amount:IC_expense');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('18181','Gründungsaufwand','A','18000','A','IC_expense');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('50001','Löhne und Gehälter','A','50000','E','IC_expense');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('50002','Erfolgsbeteiligungen','A','50000','E','IC_expense');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('21216','Gesellschafter','A','21210','L','AP');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('62001','Fahrzeugaufwand','A','62000','E','AP_amount:IC_expense');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('58003','Spesen','A','58000','E','IC_expense');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('65004','Fachliteratur','A','65000','E','AP_amount:IC_expense');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('39001','Skonti','A','39000','I','IC_sale:IC_cogs:IC_income:IC_expense');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('39002','Rabatte, Preisnachlässe','A','39000','I','IC_sale:IC_cogs:IC_income:IC_expense');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('36005','Kursgewinn','A','39000','I','IC_sale:IC_cogs:IC_income');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('39006','Kursverlust','A','39000','E','IC_sale:IC_cogs:IC_expense');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('39005','Verluste aus Forderungen','A','39000','E','IC_sale:IC_cogs:IC_expense');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('14151','Mobiliar und Einrichtungen','A','14150','A','IC');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('14152','Büromaschinen, EDV','A','14150','A','IC');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('11119','Verrechnungssteuer','A','11110','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('11118','MWST Vorsteuer auf Investitionen','A','11110','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('36004','Versand','A','36000','I','IC_income');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('36001','Reisezeit','A','36000','I','IC_income');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('36002','Reise (Fahrt)','A','36000','I','IC_income');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('11117','MWST Vorsteuer auf Aufwand','A','11110','A','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('21228','Geschuldete Steuern','A','21220','L','AP');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('21223','MWST (7,6)','A','21220','L','AR_tax:AP_tax:IC_taxpart:IC_expense:IC_taxservice:CT_tax');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('57001','AHV, IV, EO, ALV','A','57000','E','AP_amount:IC_income:IC_expense');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('21221','MWST (2,4)','A','21220','L','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('21224','MWST (7.6) 1/2','A','21220','L','AR_tax:AP_tax:IC_taxpart:IC_expense:IC_taxservice:CT_tax');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('66001','Werbeaufwand','A','66000','E','AP_amount:IC_expense');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('21217','Privat','A','21210','L','AP');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('11101','Kasse','A','11100','A','AR_paid:AP_paid');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('50005','Leistungen von Sozialversicherung','A','50000','E','AP_amount:IC_income:IC_expense');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('65005','Informatikaufwand','A','65000','E','AP_amount:IC_expense');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('39004','Rundungsdifferenzen','A','39000','I','AR_paid:AP_paid');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('11111','Debitoren','A','11110','A','AR');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('61001','Miete','A','61000','E','IC_expense');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('61002','Reinigung','A','61000','E','IC_expense');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('61005','Übriger Raumaufwand','A','61000','E','IC_expense');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('36003','Essen','A','36000','I','IC_income');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('21231','Passive Rechnungsabgrenzung','A','21230','L','');
+INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES ('67002','Produkteentwicklung','A','67000','E','');
+--
+insert into tax (chart_id,rate) values ((select id from chart where accno = '21222'),0.036);
+insert into tax (chart_id,rate) values ((select id from chart where accno = '21223'),0.076);
+insert into tax (chart_id,rate) values ((select id from chart where accno = '21221'),0.024);
+insert into tax (chart_id,rate) values ((select id from chart where accno = '21224'),0.076);
+--
+update defaults set inventory_accno_id = (select id from chart where accno = '11121'), income_accno_id = (select id from chart where accno = '34002'), expense_accno_id = (select id from chart where accno = '42005'), fxgain_accno_id = (select id from chart where accno = '36005'), fxloss_accno_id = (select id from chart where accno = '39006'), invnumber = '2002000', sonumber = '2002000', ponumber = '2002000', curr = 'EUR:USD', weightunit = 'kg';
+--
diff --git a/sql-ledger/sql/Swiss-German-gifi.sql b/sql-ledger/sql/Swiss-German-gifi.sql
new file mode 100644
index 0000000..ecd526d
--- /dev/null
+++ b/sql-ledger/sql/Swiss-German-gifi.sql
@@ -0,0 +1,55 @@
+--
+INSERT INTO gifi (accno,description) VALUES ('1','AKTIVEN');
+INSERT INTO gifi (accno,description) VALUES ('2','PASSIVEN');
+INSERT INTO gifi (accno,description) VALUES ('4','AUFWAND FÜR MATERIAL, WAREN UND DIENSTLEISTUNGEN');
+INSERT INTO gifi (accno,description) VALUES ('5','PERSONALAUFWAND');
+INSERT INTO gifi (accno,description) VALUES ('10000','ANLAGEVERMÖGEN');
+INSERT INTO gifi (accno,description) VALUES ('11000','Forderungen');
+INSERT INTO gifi (accno,description) VALUES ('11100','Bank');
+INSERT INTO gifi (accno,description) VALUES ('11110','MWST Vorsteuer auf Investitionen');
+INSERT INTO gifi (accno,description) VALUES ('11120','Angefangene Arbeiten');
+INSERT INTO gifi (accno,description) VALUES ('14150','Büromaschinen, EDV');
+INSERT INTO gifi (accno,description) VALUES ('18000','Gründungsaufwand');
+INSERT INTO gifi (accno,description) VALUES ('20000','FREMDKAPITAL LANGFRISTIG');
+INSERT INTO gifi (accno,description) VALUES ('21000','Kurzfristige Finanzverbindlichkeiten');
+INSERT INTO gifi (accno,description) VALUES ('21200','Sozialversicherungen');
+INSERT INTO gifi (accno,description) VALUES ('21210','Gesellschafter');
+INSERT INTO gifi (accno,description) VALUES ('21220','MWST (3,6)');
+INSERT INTO gifi (accno,description) VALUES ('21230','Passive Rechnungsabgrenzung');
+INSERT INTO gifi (accno,description) VALUES ('24000','Gesellschafter');
+INSERT INTO gifi (accno,description) VALUES ('28000','Stammkapital');
+INSERT INTO gifi (accno,description) VALUES ('28290','Gewinnvortrag');
+INSERT INTO gifi (accno,description) VALUES ('30000','ÜBRIGER ERTRAG');
+INSERT INTO gifi (accno,description) VALUES ('31000','Computer');
+INSERT INTO gifi (accno,description) VALUES ('32000','Software kommerz.');
+INSERT INTO gifi (accno,description) VALUES ('34000','Beratung');
+INSERT INTO gifi (accno,description) VALUES ('36000','Essen');
+INSERT INTO gifi (accno,description) VALUES ('37000','Eigenleistungen');
+INSERT INTO gifi (accno,description) VALUES ('38000','Bestandesänderungen');
+INSERT INTO gifi (accno,description) VALUES ('39000','Rabatte, Preisnachlässe');
+INSERT INTO gifi (accno,description) VALUES ('40000','AUFWANDMINDERUNGEN');
+INSERT INTO gifi (accno,description) VALUES ('41000','Übrige Produkte');
+INSERT INTO gifi (accno,description) VALUES ('42000','Software kommerz.');
+INSERT INTO gifi (accno,description) VALUES ('44000','Aufwand für Drittleistungen');
+INSERT INTO gifi (accno,description) VALUES ('47000','Einkaufsspesen');
+INSERT INTO gifi (accno,description) VALUES ('48000','Bestandesänderungen');
+INSERT INTO gifi (accno,description) VALUES ('49000','Aufwandminderungen');
+INSERT INTO gifi (accno,description) VALUES ('50000','Löhne und Gehälter');
+INSERT INTO gifi (accno,description) VALUES ('57000','FAK');
+INSERT INTO gifi (accno,description) VALUES ('58000','Spesen');
+INSERT INTO gifi (accno,description) VALUES ('60000','VERWALTUNGS- UND INFORMATIKAUFWAND');
+INSERT INTO gifi (accno,description) VALUES ('61000','Reinigung');
+INSERT INTO gifi (accno,description) VALUES ('61900','Unterhalt');
+INSERT INTO gifi (accno,description) VALUES ('62000','Fahrzeugaufwand');
+INSERT INTO gifi (accno,description) VALUES ('63000','Betriebsversicherungen');
+INSERT INTO gifi (accno,description) VALUES ('65000','Übriger Verwaltungsaufwand');
+INSERT INTO gifi (accno,description) VALUES ('66000','Werbeaufwand');
+INSERT INTO gifi (accno,description) VALUES ('67000','Produkteentwicklung');
+INSERT INTO gifi (accno,description) VALUES ('68000','Finanzaufwand');
+INSERT INTO gifi (accno,description) VALUES ('69000','Abschreibungen');
+INSERT INTO gifi (accno,description) VALUES ('80000','AUSSERORDENTLICHER UND BETRIEBSFREMDER ERFOLG, STEUERN');
+INSERT INTO gifi (accno,description) VALUES ('90000','ABSCHLUSS');
+INSERT INTO gifi (accno,description) VALUES ('91000','ERFOLGSRECHNUNG');
+INSERT INTO gifi (accno,description) VALUES ('92000','BILANZ');
+INSERT INTO gifi (accno,description) VALUES ('93000','GEWINNVERWENDUNG');
+INSERT INTO gifi (accno,description) VALUES ('99000','SAMMEL- UND FEHLBUCHUNGEN');
diff --git a/sql-ledger/sql/Traditional_Chinese_Default-chart.sql b/sql-ledger/sql/Traditional_Chinese_Default-chart.sql
new file mode 100644
index 0000000..68ebeac
--- /dev/null
+++ b/sql-ledger/sql/Traditional_Chinese_Default-chart.sql
@@ -0,0 +1,78 @@
+-- Default chart of accounts -- sample only
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2190','À³¥I©Ò±oµ|','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2600','ªø´Á­t¶Å','H','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3300','ªÑ¥÷¸ê¥»','H','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3500','«O¯d¬Õ¾l','H','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4000','¾P°â¬Õ¾l','H','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4300','¿Ô¸ß¬Õ¾l','H','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4400','¨ä¥¦¬Õ¾l','H','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5000','³f¾P¦¨¥»','H','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5400','Á~¸ê¤ä¥X','H','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5600','¤é±`¤ÎºÞ²z¤ä¥X','H','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1205','§b±b³Æ©è','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1000','¬y°Ê¸ê²£','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1800','¸ê¥»¸ê²£','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1825','²Ö­p¤À´Á¥I´Ú - ¸Ë¿X¤Î³]³Æ.','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1845','²Ö­p¤À´Á¥I´Ú - ¹B¿é¤u¨ã','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2000','¬y°Ê­t¶Å','H','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2620','»È¦æ­É´Ú','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3600','¬y°Ê¬Õ¾l','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2160','À³¥I¤½¥qµ|','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3590','«O¯d¬Õ¾l - ¥h¦~«×','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3350','´¶³qªÑ¥÷','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1500','¦s³f¸ê²£','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5615','¼s§i¦æ¾P','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5790','¤u¨ã','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5700','¿ì¤½¥Î«~','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5800','Åv§Qª÷','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5610','·|­pªk°È','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5685','«OÀI','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5660','¤À´Á¤ä¥X','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5620','Ãa±b','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5680','©Ò±oµ|','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5690','§Q®§¤Î»È¦æ¤âÄò¶O','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5410','Á~¸ê','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5420','«OÀI¤ä¥X','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5430','°h¥ðª÷¤ä¥X','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5440','¸ÉÀvª÷¤ä¥X','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5470','­û¤uºÖ§Q','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4030','¾P°â / ³nÅé','A','','I','AR_amount:IC_sale');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4440','§Q®§','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5100','¹B¶O','A','','E','AP_amount:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5760','¯²ª÷','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1530','®w¦s / ³nÅé','A','','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1540','®w¦s / ¤G¯Å¥«³õ¹s¥ó','A','','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4040','¾P°â / ¤G¯Å¥«³õ¹s¥ó','A','','I','AR_amount:IC_sale');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5030','³f¾P¦¨¥» / ³nÅé','A','','E','AP_amount:IC_cogs');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5010','±ÄÁÊ','A','','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5040','³f¾P¦¨¥» / ¤G¯Å¥«³õ¹s¥ó','A','','E','AP_amount:IC_cogs');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1065','¹s¥Îª÷','A','','A','AR_paid:AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1820','¿ì¤½«Ç¸Ë¿X¤Î³]³Æ','A','','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5785','®È¶O¤Î®T¼Ö','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2680','ªÑªF¶U´Ú','A','','L','AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5795','µù¥U¶O','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5780','¹q«H¶O','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5781','ºô¸ô³s½u¶O','A','','E','AP_amount:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5765','ºû­×ºÞ²z¶O','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2311','¦a¤èµ|','A','','L','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4430','¹B¾P¶O','A','','I','IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1520','®w¦s / µwÅé','A','','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5020','³f¾P¦¨¥» / µwÅé','A','','E','AP_amount:IC_cogs');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2100','À³¥I±b´Ú','A','','L','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1840','¹B¿é¤u¨ã','A','','A','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4330','µ{¦¡³]­p','A','','I','AR_amount:IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4020','¾P°â / µwÅé','A','','I','AR_amount:IC_sale');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4320','¿Ô¸ß','A','','I','AR_amount:IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1200','À³¦¬±b´Ú','A','','A','AR');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1061','¤ä²¼¤áÀY','A','','A','AR_paid:AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2310','°Ó«~ªA°Èµ|','A','','L','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+--
+-- exchange rate
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4450','Foreign Exchange Gain','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5810','Foreign Exchange Loss','A','','E','');
+--
+insert into tax (chart_id,rate) values ((select id from chart where accno = '2310'),0.07);
+insert into tax (chart_id,rate) values ((select id from chart where accno = '2311'),0.08);
+--
+update defaults set inventory_accno_id = (select id from chart where accno = '1520'), income_accno_id = (select id from chart where accno = '4020'), expense_accno_id = (select id from chart where accno = '5010'), fxgain_accno_id = (select id from chart where accno = '4450'), fxloss_accno_id = (select id from chart where accno = '5810'), invnumber = '1000', sonumber = '1000', ponumber = '1000', curr = 'USD', weightunit = 'kg';
+--
diff --git a/sql-ledger/sql/US_General-chart.sql b/sql-ledger/sql/US_General-chart.sql
new file mode 100644
index 0000000..4506a71
--- /dev/null
+++ b/sql-ledger/sql/US_General-chart.sql
@@ -0,0 +1,98 @@
+-- US_General COA
+-- modify as needed
+--
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1000','CURRENT ASSETS','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1060','Checking Account','A','','A','AR_paid:AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1065','Petty Cash','A','','A','AR_paid:AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1200','Accounts Receivables','A','','A','AR');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1205','Allowance for doubtful accounts','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1500','INVENTORY ASSETS','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1520','Inventory / Hardware','A','','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1530','Inventory / Software','A','','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1540','Inventory / Aftermarket Parts','A','','A','IC');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1800','CAPITAL ASSETS','H','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1820','Office Furniture & Equipment','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1825','Accum. Amort. -Furn. & Equip.','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1840','Vehicle','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1845','Accum. Amort. -Vehicle','A','','A','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2000','CURRENT LIABILITIES','H','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2100','Accounts Payable','A','','L','AP');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2600','LONG TERM LIABILITIES','H','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2620','Bank Loans','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2680','Loans from Shareholders','A','','L','AP_paid');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3300','SHARE CAPITAL','H','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3350','Common Shares','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3500','RETAINED EARNINGS','H','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3590','Retained Earnings - prior years','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('3600','Current Earnings','A','','Q','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4000','SALES REVENUE','H','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4020','Sales / Hardware','A','','I','AR_amount:IC_sale');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4030','Sales / Software','A','','I','AR_amount:IC_sale');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4040','Sales / Aftermarket Parts','A','','I','AR_amount:IC_sale');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4300','CONSULTING REVENUE','H','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4320','Consulting','A','','I','AR_amount:IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4330','Programming','A','','I','AR_amount:IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4400','OTHER REVENUE','H','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4430','Shipping & Handling','A','','I','IC_income');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4440','Interest','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('4450','Foreign Exchange Gain','A','','I','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5000','COST OF GOODS SOLD','H','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5010','Purchases','A','','E','AP_amount:IC_cogs:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5020','COGS / Hardware','A','','E','AP_amount:IC_cogs');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5030','COGS / Software','A','','E','AP_amount:IC_cogs');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5040','COGS / Aftermarket Parts','A','','E','AP_amount:IC_cogs');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5100','Freight','A','','E','AP_amount:IC_expense');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5400','PAYROLL EXPENSES','H','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5410','Wages & Salaries','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5600','GENERAL & ADMINISTRATIVE EXPENSES','H','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5610','Accounting & Legal','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5615','Advertising & Promotions','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5620','Bad Debts','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5660','Amortization Expense','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5685','Insurance','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5690','Interest & Bank Charges','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5700','Office Supplies','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5760','Rent','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5765','Repair & Maintenance','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5780','Telephone','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5785','Travel & Entertainment','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5790','Utilities','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5795','Registrations','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5800','Licenses','A','','E','AP_amount');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5810','Foreign Exchange Loss','A','','E','');
+--
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2110','Accrued Income Tax - Federal','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2120','Accrued Income Tax - State','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2130','Accrued Franchise Tax','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2140','Accrued Real & Personal Prop Tax','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2150','Sales Tax','A','','L','AR_tax:AP_tax:IC_taxpart:IC_taxservice:CT_tax');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2160','Accrued Use Tax Payable','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2210','Accrued Wages','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2220','Accrued Comp Time','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2230','Accrued Holiday Pay','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2240','Accrued Vacation Pay','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2310','Accr. Benefits - 401K','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2320','Accr. Benefits - Stock Purchase','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2330','Accr. Benefits - Med, Den','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2340','Accr. Benefits - Payroll Taxes','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2350','Accr. Benefits - Credit Union','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2360','Accr. Benefits - Savings Bond','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2370','Accr. Benefits - Garnish','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('2380','Accr. Benefits - Charity Cont.','A','','L','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5420','Wages - Overtime','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5430','Benefits - Comp Time','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5440','Benefits - Payroll Taxes','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5450','Benefits - Workers Comp','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5460','Benefits - Pension','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5470','Benefits - General Benefits','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5510','Inc Tax Exp - Federal','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5520','Inc Tax Exp - State','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5530','Taxes - Real Estate','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5540','Taxes - Personal Property','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5550','Taxes - Franchise','A','','E','');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('5560','Taxes - Foreign Withholding','A','','E','');
+--
+insert into tax (chart_id,rate) values ((select id from chart where accno = '2150'),0.05);
+--
+update defaults set inventory_accno_id = (select id from chart where accno = '1520'), income_accno_id = (select id from chart where accno = '4020'), expense_accno_id = (select id from chart where accno = '5020'), fxgain_accno_id = (select id from chart where accno = '4450'), fxloss_accno_id = (select id from chart where accno = '5810'), invnumber = '1000', sonumber = '1000', ponumber = '1000', curr = 'USD:CAD:EUR', weightunit = 'lbs';
+--
diff --git a/sql-ledger/templates/Brazilian_Portuguese-balance_sheet.html b/sql-ledger/templates/Brazilian_Portuguese-balance_sheet.html
new file mode 100644
index 0000000..20c3c51
--- /dev/null
+++ b/sql-ledger/templates/Brazilian_Portuguese-balance_sheet.html
@@ -0,0 +1,103 @@
+
+<body bgcolor=ffffff>
+
+<h2 align=center>
+<%company%>
+<br><%address%>
+
+ <p>BALAN&Ccedil;O<br>
+ <%period%>
+</h2>
+
+<table border=0>
+<tr>
+ <th align=left width=400 colspan=2>VALORES<br>
+ <hr align=left width=250 size=5 noshade></th>
+ <th><%this_period%></th>
+ <th><%last_period%></th>
+</tr>
+
+<%foreach asset_account%>
+<tr>
+ <td> </td>
+ <td><%asset_account%></td>
+ <td align=right><%asset_this_period%></td>
+ <td align=right><%asset_last_period%></td>
+</tr>
+<%end asset_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <th align=left colspan=2>TOTAL</th>
+ <td align=right><%total_assets_this_period%><hr noshade size=2></td>
+ <td align=right><%total_assets_last_period%><hr noshade size=2></td>
+</tr>
+
+<tr>
+ <th align=left colspan=4>BALAN&Ccedil;O<b>
+ <hr align=left width=250 size=5 noshade></b></th>
+</tr>
+
+<%foreach liability_account%>
+<tr>
+ <td></td>
+ <td><%liability_account%></td>
+ <td align=right><%liability_this_period%></td>
+ <td align=right><%liability_last_period%></td>
+</tr>
+<%end liability_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <td></td>
+ <th align=left>Total</th>
+ <td align=right><%total_liabilities_this_period%><br><hr noshade size=2></td>
+ <td align=right><%total_liabilities_last_period%><br><hr noshade size=2></td>
+</tr>
+
+<tr>
+ <th align=left colspan=4>S&Oacute;CIOS (%)<br>
+ <hr align=left width=250 size=5 noshade></th>
+</tr>
+
+<%foreach equity_account%>
+<tr>
+ <td></td>
+ <td><%equity_account%></td>
+ <td align=right><%equity_this_period%></td>
+ <td align=right><%equity_last_period%></td>
+</tr>
+<%end equity_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <td></td>
+ <th align=left>Total</th>
+ <td align=right><%total_equity_this_period%><br><hr noshade size=2></td>
+ <td align=right><%total_equity_last_period%><br><hr noshade size=2></td>
+</tr>
+
+<tr valign=top>
+ <th align=left colspan=2>TOTAIS</th>
+ <td align=right><%total_this_period%><br><hr noshade size=2></td>
+ <td align=right><%total_last_period%><br><hr noshade size=2></td>
+</tr>
+</table>
+
+
+
diff --git a/sql-ledger/templates/Brazilian_Portuguese-check.tex b/sql-ledger/templates/Brazilian_Portuguese-check.tex
new file mode 100644
index 0000000..ea62b00
--- /dev/null
+++ b/sql-ledger/templates/Brazilian_Portuguese-check.tex
@@ -0,0 +1,71 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.4cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.0cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+
+\fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont
+
+\parbox[t]{12cm}{
+ <%company%>
+
+ <%address%>}
+\hfill
+\parbox[t]{6cm}{\hfill <%source%>}
+
+\vspace*{0.6cm}
+
+<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill}
+
+\vspace{0.5cm}
+
+\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%>
+
+\vspace{0.5cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{2.8cm}
+
+<%company%>
+
+\vspace{0.5cm}
+
+<%name%> \hfill <%datepaid%> \hfill <%source%>
+
+\vspace{0.5cm}
+\begin{tabularx}{\textwidth}{lXrr@{}}
+\textbf{Número da Fatura} & \textbf{Data da Fatura}
+ & \textbf{Prazo} & \textbf{Aplicação} \\
+<%foreach invnumber%>
+<%invnumber%> & <%invdate%> \dotfill
+ & <%due%> & <%paid%> \\
+<%end invnumber%>
+\end{tabularx}
+
+\vfill
+
+\end{document}
+
diff --git a/sql-ledger/templates/Brazilian_Portuguese-income_statement.html b/sql-ledger/templates/Brazilian_Portuguese-income_statement.html
new file mode 100644
index 0000000..3531122
--- /dev/null
+++ b/sql-ledger/templates/Brazilian_Portuguese-income_statement.html
@@ -0,0 +1,77 @@
+
+<body bgcolor=ffffff>
+
+<h2 align=center>
+<%company%>
+<br><%address%>
+
+ <p>DECLARA&Ccedil;&Atilde;O DE RENDIMENTOS<br>
+ <%period%>
+</h2>
+
+
+<table width=100% border=0>
+<tr>
+ <th width=400 align=left colspan=2>RENDIMENTOS<br>
+ <hr width=300 size=5 align=left noshade></th>
+ <th><%this_period%></th>
+ <th><%last_period%></th>
+</tr>
+
+<%foreach income_account%>
+<tr>
+ <td width=4> </td>
+ <td><%income_account%></td>
+ <td align=right><%income_this_period%></td>
+ <td align=right><%income_last_period%></td>
+</tr>
+<%end income_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <td> </td>
+ <th align=left>Total</th>
+ <td align=right><%total_income_this_period%><hr noshade size=2></td>
+ <td align=right><%total_income_last_period%><hr noshade size=2></td>
+</tr>
+
+<tr>
+ <th align=left colspan=2>DESPESAS<br>
+ <hr width=300 size=5 align=left noshade></th>
+</tr>
+
+<%foreach expense_account%>
+<tr>
+ <td> </td>
+ <td><%expense_account%></td>
+ <td align=right><%expenses_this_period%></td>
+ <td align=right><%expenses_last_period%></td>
+</tr>
+<%end expense_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <td> </td>
+ <th align=left>Total</th>
+ <td align=right><%total_expenses_this_period%><br><hr noshade size=2></td>
+ <td align=right><%total_expenses_last_period%><br><hr noshade size=2></td>
+</tr>
+
+<tr valign=top>
+ <th align=left colspan=2>RENDIMENTOS / (PREJUIZO)</th>
+ <td align=right><%total_this_period%><br><hr noshade size=2></td>
+ <td align=right><%total_last_period%><br><hr noshade size=2></td>
+</tr>
+
+</table>
+
diff --git a/sql-ledger/templates/Brazilian_Portuguese-invoice.html b/sql-ledger/templates/Brazilian_Portuguese-invoice.html
new file mode 100644
index 0000000..2871238
--- /dev/null
+++ b/sql-ledger/templates/Brazilian_Portuguese-invoice.html
@@ -0,0 +1,315 @@
+
+<body bgcolor=ffffff>
+
+<table width=100%>
+<tr valign=bottom>
+ <td width=10>&nbsp;</td>
+ <td>
+
+ <table width=100%>
+ <tr>
+ <td>
+ <h4>
+ <%company%>
+ <br><%address%>
+ </h4>
+ </td>
+
+ <td align=right>
+ <h4> Telefone:
+ <%tel%>
+ <br>
+ Fax:
+ <%fax%>
+ </h4>
+ </td>
+ </tr>
+
+ <tr>
+ <th colspan=3>
+ <h4>FATURA</h4>
+ </th>
+ </tr>
+
+ </table>
+
+
+ <table width=100% callspacing=0 cellpadding=0>
+
+ <tr>
+ <td align=right>
+ <table>
+ <tr>
+ <th align=right> Data</th>
+ <td width=10>&nbsp;</td><td><%invdate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Entrega</th>
+ <td width=10>&nbsp;</td><td><%duedate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>N&uacute;mero</th>
+ <td>&nbsp;</td><td><%invnumber%></td></tr>
+ </table></tr>
+
+<!--
+ <tr>
+ <th align=right>Clerk:</th><td>&nbsp;</td><td><%employee%></td>
+ </tr>
+-->
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+ </table></td>
+ </table>
+
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <th align=left><font color="ffffff">Para:</font></th>
+ <th align=left><font color="ffffff">Transportar Para:</font></th>
+ </tr>
+
+<!--
+ other variables which can be use:
+ contact, shiptocontact, shiptophone, shiptofax
+-->
+
+ <tr valign=top>
+ <td><%name%>
+ <br><%addr1%>
+ <br><%addr2%>
+ <br><%addr3%>
+ <br><%addr4%>
+ </td>
+
+ <td><%shiptoname%>
+ <br><%shiptoaddr1%>
+ <br><%shiptoaddr2%>
+ <br><%shiptoaddr3%>
+ <br><%shiptoaddr4%>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+<!-- <th align=right><font color=ffffff>No.</th> -->
+ <th align=left><font color=ffffff>N&uacute;mero</font></th>
+ <th align=left><font color=ffffff>Descri&ccedil;&atilde;o</font></th>
+ <th><font color=ffffff>Quant.</font></th>
+ <th>&nbsp;</th>
+ <th><font color=ffffff>Pre&ccedil;o</font></th>
+ <th><font color=ffffff>Disc.</font></th>
+ <th><font color="ffffff">Total</font></th>
+ </tr>
+
+<%foreach number%>
+ <tr valign=top>
+<!-- <td align=right><%runningnumber%>.</td>
+adjust the colspan if you include this to shift subtotal one to the right
+-->
+ <td><%number%></td>
+ <td><%description%></td>
+ <td align=right><%qty%></td>
+ <td><%unit%></td>
+ <td align=right><%sellprice%></td>
+ <td align=right><%discount%></td>
+ <td align=right><%linetotal%></td>
+ </tr>
+<%end number%>
+
+<!--
+you can also use netprice instead of sellprice if you
+don't want to show the discount
+netprice = sellprice - discount
+-->
+
+ <tr>
+ <td colspan=7><hr noshade></td>
+ </tr>
+
+ <tr>
+<%if taxincluded%>
+ <th colspan=5 align=right>Total</th>
+ <td colspan=2 align=right><%invtotal%></td>
+<%end taxincluded%>
+<%if not taxincluded%>
+ <th colspan=5 align=right>Subtotal</th>
+ <td colspan=2 align=right><%subtotal%></td>
+<%end taxincluded%>
+ </tr>
+
+<%foreach tax%>
+ <tr>
+ <th colspan=5 align=right>
+ <%taxdescription%>
+ em
+ <%taxbase%>
+ @
+ <%taxrate%>
+ %</th>
+ <td colspan=2 align=right><%tax%></td>
+ </tr>
+<%end tax%>
+
+<%if paid%>
+ <tr>
+ <th colspan=5 align=right>Pago</th>
+ <td colspan=2 align=right>- <%paid%></td>
+ </tr>
+<%end paid%>
+
+ <tr>
+ <td colspan=3>&nbsp;</td>
+ <td colspan=4><hr noshade></td>
+ </tr>
+
+ <tr>
+ <td colspan=3>Fatura para<b>
+ <%terms%>
+ </b> dias</td>
+ <th colspan=2 align=right>Pendente</th>
+ <th colspan=2 align=right><%total%></th>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+<%if notes%>
+ <td>Obs.:</td>
+ <td><%notes%></td>
+<%end notes%>
+ <td align=right> Pre&ccedil;os em<b>
+ <%currency%>
+ </b> <br>
+ <%shippingpoint%>
+ </td>
+ </tr>
+
+ </table>
+ </td>
+</tr>
+
+<tr><td>&nbsp;</td></tr>
+
+<%if paid%>
+<tr>
+ <td colspan=7>
+ <table width=60%>
+ <tr>
+ <th align=left>Pagamentos</th>
+ </tr>
+ <tr>
+ <td colspan=4>
+ <hr noshade>
+ </td>
+ </tr>
+ <tr>
+ <th align=left>Data</th>
+ <th align=left>Conta</th>
+ <th align=left>Origem</th>
+ <th align=left>Total</th>
+ </tr>
+<%end paid%>
+
+<%foreach payment%>
+ <tr>
+ <td><%paymentdate%></td>
+ <td><%paymentaccount%></td>
+ <td><%paymentsource%></td>
+ <td><%payment%></td>
+ </tr>
+<%end payment%>
+
+<%if paid%>
+ </table>
+ </td>
+</tr>
+
+<tr>
+ <td>&nbsp;</td>
+</tr>
+<%end paid%>
+
+<tr>
+ <th colspan=7>
+ <br>
+ Obrigado por estarmos fazendo neg&oacute;cio! </th>
+</tr>
+
+<tr><td>&nbsp;</td></tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td><font size=-3> </font> </td>
+ <td width=150>
+ X <hr noshade>
+ </td>
+ </tr>
+ </table>
+ </td>
+</tr>
+
+<%foreach tax%>
+ <tr>
+
+ <th colspan=7 align=left><font size=-2>
+ <%taxdescription%>
+ Registro
+ <%taxnumber%>
+ </font></th>
+ </tr>
+<%end tax%>
+
+<%if taxincluded%>
+ <tr>
+
+ <th colspan=7 align=left><font size="-2">Impostos Inclusos.</font></th>
+ </tr>
+<%end taxincluded%>
+
+<!-- business number
+ <tr>
+ <th colspan=7 align=left><font size=-2>Business Number: <%businessnumber%></font></th>
+ </tr>
+-->
+
+<!-- banking information
+ <tr>
+ <th colspan=7 align=left>Banking Information:
+ <br>Bank
+ <br>Transit No.
+ <br>Account No.
+ </td>
+ </tr>
+-->
+
+
+</body>
+</html>
+
diff --git a/sql-ledger/templates/Brazilian_Portuguese-invoice.tex b/sql-ledger/templates/Brazilian_Portuguese-invoice.tex
new file mode 100644
index 0000000..15c407b
--- /dev/null
+++ b/sql-ledger/templates/Brazilian_Portuguese-invoice.tex
@@ -0,0 +1,223 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.5cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.5cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
+
+\newsavebox{\hdr}
+\sbox{\hdr}{
+ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+ \parbox{\textwidth}{
+ \parbox[b]{12cm}{
+ <%company%>
+
+ <%address%>}\hfill
+ \begin{tabular}[b]{rr@{}}
+ Telefone & <%tel%>\\
+ Fax & <%fax%>
+ \end{tabular}
+
+ \rule[1.5ex]{\textwidth}{0.5pt}
+ }
+}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}}
+
+\pagestyle{myheadings}
+%\thispagestyle{empty} use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+
+ \rule{\textwidth}{2pt}
+
+ \hfill
+ \begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
+ \end{tabularx}
+
+\newpage
+
+\markright{<%company%>\hfill <%invnumber%>}
+
+\vspace*{-12pt}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
+ \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
+ \textbf{Unit} & \textbf{Price} & \textbf{Disc} & \textbf{Amount} \\
+ & carried forward from page <%lastpage%> & & & & & <%sumcarriedforward%> \\
+<%end pagebreak%>
+
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\vspace*{0.5cm}
+
+\parbox[t]{1cm}{\hfill}
+ \parbox[t]{10.5cm}{
+ \textbf{To}
+ \vspace{0.5cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{0.3cm}
+
+%<%if contact%>
+%Attn: <%contact%>
+%\vspace{0.3cm}
+%<%end contact%>
+\vspace{0.5cm}
+
+<%if customerphone%>
+Tel: <%customerphone%>
+<%end customerphone%>
+
+<%if customerfax%>
+Fax: <%customerfax%>
+<%end customerfax%>
+
+<%email%>
+}
+\parbox[t]{7.5cm}{
+\textbf{Ship To}
+\vspace{0.5cm}
+
+<%shiptoname%>
+
+<%shiptoaddr1%>
+
+<%shiptoaddr2%>
+
+<%shiptoaddr3%>
+
+<%shiptoaddr4%>
+
+\vspace{0.3cm}
+
+\vspace{0.3cm}
+
+<%if shiptocontact%>
+Attn: <%shiptocontact%>
+\vspace{0.3cm}
+<%end shiptocontact%>
+
+<%if shiptophone%>
+Tel: <%shiptophone%>
+<%end shiptophone%>
+
+<%if shiptofax%>
+Fax: <%shiptofax%>
+<%end shiptofax%>
+
+<%shiptoemail%>
+}
+\hfill
+
+\vspace{1cm}
+
+\textbf{F A T U R A}
+\hfill
+
+\vspace{1cm}
+
+\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
+ \textbf{Data} & <%invdate%> \\
+ \textbf{Número} & <%invnumber%> \\
+ \textbf{Pedido} & <%ordnumber%> \\
+ \textbf{Produto} & <%employee%>
+\end{tabular}
+
+\vspace{1cm}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
+ \textbf{Número} & \textbf{Descrição} & \textbf{Quant.} &
+ \textbf{Unid.} & \textbf{Preço} & \textbf{Disc.} & \textbf{Total} \\
+<%foreach number%>
+ <%number%> & <%description%> & <%qty%> &
+ <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\
+<%end number%>
+\end{tabular*}
+
+
+\parbox{\textwidth}{
+\rule{\textwidth}{2pt}
+
+\vspace{0.2cm}
+
+\hfill
+\begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Subtotal} & \textbf{<%subtotal%>} \\
+<%foreach tax%>
+ <%taxdescription%> em <%taxbase%> & <%tax%> \\
+<%end tax%>
+<%if paid%>
+ \textbf{Pago} & - <%paid%> \\
+<%end paid%>
+ \hline
+ \textbf{Pendente} & \textbf{<%total%>} \\
+\end{tabularx}
+
+\vspace{0.3cm}
+
+\hfill
+ Preços em \textbf{<%currency%>}.
+
+\vspace{12pt}
+
+<%if notes%>
+ <%notes%>
+<%end if%>
+
+}
+
+\vfill
+
+<%if paid%>
+\begin{tabularx}{10cm}{@{}lXlr@{}}
+ \textbf{Pagamentos} & & & \\
+ \hline
+ \textbf{Data} & \textbf{Conta} & \textbf{Origem} & \textbf{Total} \\
+<%end paid%>
+<%foreach payment%>
+ <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%payment%> \\
+<%end payment%>
+<%if paid%>
+\end{tabularx}
+<%end paid%>
+
+\vspace{1cm}
+
+\centerline{\textbf{Obrigado por estarmos fazendo negócio!}}
+
+\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+\end{document}
+
+
+
diff --git a/sql-ledger/templates/Brazilian_Portuguese-packing_list.html b/sql-ledger/templates/Brazilian_Portuguese-packing_list.html
new file mode 100644
index 0000000..4cdee74
--- /dev/null
+++ b/sql-ledger/templates/Brazilian_Portuguese-packing_list.html
@@ -0,0 +1,143 @@
+
+<body bgcolor=ffffff>
+
+<table width=100%>
+<tr>
+ <td width=10>
+ </td>
+ <td>
+
+ <table width=100%>
+ <tr>
+ <td>
+ <h4>
+ <%company%>
+ <br><%address%>
+ </h4>
+ </td>
+
+ <th colspan=2>
+ <h4 align=center>LISTA DE PRODUTOS</h4>
+ </th>
+ </tr>
+
+ </table>
+
+
+ <table width=100% callspacing=0 cellpadding=0>
+
+ <tr>
+ <td align=right>
+ <table>
+ <tr>
+ <th align=right>Data</th>
+ <td width=10> </td><td><%invdate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>N&uacute;mero</th>
+ <td></td><td><%invnumber%></td></tr>
+ </table></tr>
+
+ <tr>
+ <td>
+ </td>
+ </tr>
+ </table></td>
+ </table>
+
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <th align=left><font color="ffffff">Para:</font></th>
+ </tr>
+
+ <tr>
+ <td><%shiptoname%>
+ <br><%shiptoaddr1%>
+ <br><%shiptoaddr2%>
+ <br><%shiptoaddr3%>
+ <br><%shiptoaddr4%>
+<%if shiptocontact%>
+ <p>Obs.:
+ <%shiptocontact%>
+ <%end shiptocontact%>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <th align=left><font color=ffffff>N&uacute;mero</font></th>
+ <th align=left><font color=ffffff>Descri&ccedil;&atilde;o</font></th>
+ <th><font color="ffffff">Quant.</font></th>
+ <th>&nbsp;</th>
+ </tr>
+
+<%foreach number%>
+ <tr valign=top>
+ <td><%number%></td>
+ <td><%description%></td>
+ <td align=right><%qty%></td>
+ <td><%unit%></td>
+ </tr>
+<%end number%>
+
+ <tr>
+ <td colspan=4><hr noshade></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+<%if notes%>
+ <td>Obs.:</td>
+ <td><pre><%notes%></pre></td>
+<%end notes%>
+ <td align=right>
+ <%shippingpoint%>
+ </td>
+ </tr>
+
+ </table>
+ </td>
+</tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td><font size=-3> </font> </td>
+ <td width=150>
+ X <hr noshade>
+ </td>
+ </tr>
+ </table>
+ </td>
+</tr>
+
+
+
+
+
+
+
+</body>
+</html>
+
diff --git a/sql-ledger/templates/Brazilian_Portuguese-packing_list.tex b/sql-ledger/templates/Brazilian_Portuguese-packing_list.tex
new file mode 100644
index 0000000..4810230
--- /dev/null
+++ b/sql-ledger/templates/Brazilian_Portuguese-packing_list.tex
@@ -0,0 +1,116 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.5cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.5cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
+
+\newsavebox{\hdr}
+\sbox{\hdr}{
+ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+ \parbox{\textwidth}{
+ \parbox[b]{12cm}{
+ <%company%>
+
+ <%address%>}\hfill
+ \begin{tabular}[b]{rr@{}}
+ Telephone & <%tel%>\\
+ Facsimile & <%fax%>
+ \end{tabular}
+
+ \rule[1.5ex]{\textwidth}{0.5pt}
+ }
+}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}}
+
+\pagestyle{myheadings}
+%\thispagestyle{empty} use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+
+\newpage
+
+\markright{<%company%>\hfill <%invnumber%>}
+
+\vspace*{-12pt}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}}
+ \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
+ \textbf{Unit} & \textbf{Bin} \\
+<%end pagebreak%>
+
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\vspace*{2cm}
+
+<%shiptoname%>
+
+<%shiptoaddr1%>
+
+<%shiptoaddr2%>
+
+<%shiptoaddr3%>
+
+<%shiptoaddr4%>
+
+\vspace{3.5cm}
+
+\textbf{LISTA DE PRODUTOS} \parbox{0.3cm}{\hfill} \textbf{L I S T}
+
+\hfill
+\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
+ \textbf{Data} & <%invdate%> \\
+ \textbf{Número} & <%invnumber%> \\
+ \textbf{Cliente} & <%customer_id%>
+\end{tabular}
+
+\vspace{1cm}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}}
+ \textbf{Número} & \textbf{Descrição} & \textbf{Quant.} &
+ \textbf{Unid.} & \textbf{Bin} \\
+<%foreach number%>
+ <%number%> & <%description%> & <%qty%> &
+ <%unit%> & <%bin%> \\
+<%end number%>
+\end{tabular*}
+
+
+\parbox{\textwidth}{
+\rule{\textwidth}{2pt}
+
+\vspace{12pt}
+
+<%if notes%>
+ <%notes%>
+<%end if%>
+
+}
+
+\vfill
+\centerline{\textbf{ }}
+
+\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+\end{document}
+
diff --git a/sql-ledger/templates/Brazilian_Portuguese-purchase_order.html b/sql-ledger/templates/Brazilian_Portuguese-purchase_order.html
new file mode 100644
index 0000000..54b25f3
--- /dev/null
+++ b/sql-ledger/templates/Brazilian_Portuguese-purchase_order.html
@@ -0,0 +1,187 @@
+
+<body bgcolor=ffffff>
+
+<table width=100%>
+<tr valign=bottom>
+ <td width=10>&nbsp;</td>
+ <td>
+
+ <table width=100%>
+ <tr>
+ <td>
+ <h4>
+ <%company%>
+ <br><%address%>
+ </h4>
+ </td>
+
+ <td align=right>
+ <h4>
+ Tel: <%tel%>
+ <br>Fax: <%fax%>
+ </h4>
+ </td>
+ </tr>
+
+ <tr>
+ <th colspan=3>
+ <h4> O R D E M &nbsp;&nbsp; D E &nbsp;&nbsp; C O M P R A</h4>
+ </th>
+ </tr>
+
+ </table>
+
+
+ <table width=100% callspacing=0 cellpadding=0>
+
+ <tr>
+ <td align=right>
+ <table>
+ <tr>
+ <th align=right>Data</th><td width=10>&nbsp;</td><td><%orddate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Requerido por</th><td width=10>&nbsp;</td><td><%reqdate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>N&uacutemero</th><td>&nbsp;</td><td><%ordnumber%></td></tr>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+ </td>
+ </table>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <th align=left><font color=ffffff>Para:</th>
+ </tr>
+
+ <tr>
+ <td><%name%>
+ <br><%addr1%>
+ <br><%addr2%>
+ <br><%addr3%>
+ <br><%addr4%>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+<!-- <th align=right><font color=ffffff>No.</th> -->
+ <th align=left><font color=ffffff>N&uacutemero</th>
+ <th align=left><font color=ffffff>Descri&ccedil&atildeo</th>
+ <th><font color=ffffff>Quant.</th>
+ <th>&nbsp;</th>
+ <th><font color=ffffff>Pre&ccedilo (unit.)</th>
+ <th><font color=ffffff>Total</th>
+ </tr>
+
+<%foreach number%>
+ <tr valign=top>
+<!-- <td align=right><%runningnumber%>.</td>
+adjust the colspan if you include this to shift subtotal one to the right
+-->
+ <td><%number%></td>
+ <td><%description%></td>
+ <td align=right><%qty%></td>
+ <td><%unit%></td>
+ <td align=right><%sellprice%></td>
+ <td align=right><%linetotal%></td>
+ </tr>
+<%end number%>
+
+ <tr>
+ <td colspan=6><hr noshade></td>
+ </tr>
+
+ <tr>
+ <th colspan=4 align=right>Subtotal</th>
+ <td colspan=2 align=right><%subtotal%></td>
+ </tr>
+
+<%foreach tax%>
+ <tr>
+ <th colspan=4 align=right><%taxdescription%> @ <%taxrate%> %</th>
+ <td colspan=2 align=right><%tax%></td>
+ </tr>
+<%end tax%>
+
+ <tr>
+ <td colspan=2>&nbsp;</td>
+ <td colspan=4><hr noshade></td>
+ </tr>
+
+ <tr>
+ <td colspan=2>Faturado em <b><%terms%></b> dias</td>
+ <th colspan=2 align=right>Total</th>
+ <th colspan=2 align=right><%ordtotal%></th>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+<%if notes%>
+ <td>Obs.:</td>
+ <td><pre><%notes%></pre></td>
+<%end notes%>
+ <td align=right>
+ Todos os pre&ccedilos em <b><%currency%></b>
+ <br><%shippingpoint%>
+ </td>
+ </tr>
+
+ </table>
+ </td>
+</tr>
+
+<tr><td>&nbsp;</td></tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td><font size=-3>
+ </font>
+ </td>
+ <td width=150>
+ X <hr noshade>
+ </td>
+ </tr>
+ </table>
+ </td>
+</tr>
+
+</table>
+
+</td>
+</tr>
+</table>
+
+</body>
+</html>
+
diff --git a/sql-ledger/templates/Brazilian_Portuguese-purchase_order.tex b/sql-ledger/templates/Brazilian_Portuguese-purchase_order.tex
new file mode 100644
index 0000000..61bb518
--- /dev/null
+++ b/sql-ledger/templates/Brazilian_Portuguese-purchase_order.tex
@@ -0,0 +1,198 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.5cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.5cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
+
+\newsavebox{\hdr}
+\sbox{\hdr}{
+ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+ \parbox{\textwidth}{
+ \parbox[b]{12cm}{
+ <%company%>
+
+ <%address%>}\hfill
+ \begin{tabular}[b]{rr@{}}
+ Telefone & <%tel%>\\
+ Fax & <%fax%>
+ \end{tabular}
+
+ \rule[1.5ex]{\textwidth}{0.5pt}
+ }
+}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\markboth{<%company%>\hfill <%ordnumber%>}{\usebox{\hdr}}
+
+\pagestyle{myheadings}
+%\thispagestyle{empty} use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+
+ \rule{\textwidth}{2pt}
+
+ \hfill
+ \begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
+ \end{tabularx}
+
+\newpage
+
+\markright{<%company%>\hfill <%ordnumber%>}
+
+\vspace*{-12pt}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}}
+ \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
+ \textbf{Unit} & \textbf{Price} & \textbf{Amount} \\
+ & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\
+<%end pagebreak%>
+
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\vspace*{0.5cm}
+
+\parbox[t]{1cm}{\hfill}
+\parbox[t]{10.5cm}{
+\textbf{To}
+\vspace{0.5cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{0.3cm}
+
+<%if contact%>
+Attn: <%contact%>
+\vspace{0.3cm}
+<%end contact%>
+
+<%if customerphone%>
+Tel: <%customerphone%>
+<%end customerphone%>
+
+<%if customerfax%>
+Fax: <%customerfax%>
+<%end customerfax%>
+
+<%email%>
+}
+\parbox[t]{7.5cm}{
+\textbf{Ship To}
+\vspace{0.3cm}
+
+<%shiptoname%>
+
+<%shiptoaddr1%>
+
+<%shiptoaddr2%>
+
+<%shiptoaddr3%>
+
+<%shiptoaddr4%>
+
+\vspace{0.3cm}
+
+<%if shiptocontact%>
+Attn: <%shiptocontact%>
+\vspace{0.3cm}
+<%end shiptocontact%>
+
+<%if shiptophone%>
+Tel: <%shiptophone%>
+<%end shiptophone%>
+
+<%if shiptofax%>
+Fax: <%shiptofax%>
+<%end shiptofax%>
+
+<%shiptoemail%>
+}
+\hfill
+
+\vspace{1cm}
+
+\textbf{ORDEM DE COMPRA} \parbox{0.3cm}{\hfill} \textbf{O R D E R}
+\hfill
+\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
+ \textbf{Data} & <%orddate%> \\
+<%if reqdate%>
+ \textbf{Requerido por} & <%reqdate%> \\
+<%end reqdate%>
+ \textbf{Número} & <%ordnumber%>
+\end{tabular}
+
+\vspace{1cm}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}}
+ \textbf{Número} & \textbf{Descrição} & \textbf{Quant.} &
+ \textbf{Unid.} & \textbf{Preço} & \textbf{Total} \\
+<%foreach number%>
+ <%number%> & <%description%> & <%qty%> &
+ <%unit%> & <%sellprice%> & <%linetotal%> \\
+<%end number%>
+\end{tabular*}
+
+
+\parbox{\textwidth}{
+\rule{\textwidth}{2pt}
+
+\vspace{0.2cm}
+
+\hfill
+\begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Subtotal} & \textbf{<%subtotal%>} \\
+<%foreach tax%>
+ <%taxdescription%> em <%taxbase%> & <%tax%>\\
+<%end tax%>
+ \hline
+ \textbf{Total} & \textbf{<%ordtotal%>}\\
+\end{tabularx}
+
+\vspace{0.3cm}
+
+\hfill
+ Preços em \textbf{<%currency%>}.
+
+\vspace{12pt}
+
+<%if notes%>
+ <%notes%>
+<%end if%>
+
+}
+
+
+%\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+%\footnotetext[1]{\tiny }
+
+\end{document}
+
+
diff --git a/sql-ledger/templates/Brazilian_Portuguese-receipt.tex b/sql-ledger/templates/Brazilian_Portuguese-receipt.tex
new file mode 100644
index 0000000..ea62b00
--- /dev/null
+++ b/sql-ledger/templates/Brazilian_Portuguese-receipt.tex
@@ -0,0 +1,71 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.4cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.0cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+
+\fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont
+
+\parbox[t]{12cm}{
+ <%company%>
+
+ <%address%>}
+\hfill
+\parbox[t]{6cm}{\hfill <%source%>}
+
+\vspace*{0.6cm}
+
+<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill}
+
+\vspace{0.5cm}
+
+\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%>
+
+\vspace{0.5cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{2.8cm}
+
+<%company%>
+
+\vspace{0.5cm}
+
+<%name%> \hfill <%datepaid%> \hfill <%source%>
+
+\vspace{0.5cm}
+\begin{tabularx}{\textwidth}{lXrr@{}}
+\textbf{Número da Fatura} & \textbf{Data da Fatura}
+ & \textbf{Prazo} & \textbf{Aplicação} \\
+<%foreach invnumber%>
+<%invnumber%> & <%invdate%> \dotfill
+ & <%due%> & <%paid%> \\
+<%end invnumber%>
+\end{tabularx}
+
+\vfill
+
+\end{document}
+
diff --git a/sql-ledger/templates/Brazilian_Portuguese-sales_order.html b/sql-ledger/templates/Brazilian_Portuguese-sales_order.html
new file mode 100644
index 0000000..480dc63
--- /dev/null
+++ b/sql-ledger/templates/Brazilian_Portuguese-sales_order.html
@@ -0,0 +1,221 @@
+
+<body bgcolor=ffffff>
+
+<table width=100%>
+<tr valign=bottom>
+ <td width=10>&nbsp;</td>
+ <td>
+
+ <table width=100%>
+ <tr>
+ <td>
+ <h4>
+ <%company%>
+ <br><%address%>
+ </h4>
+ </td>
+
+ <td align=right>
+ <h4> Telefone:
+ <%tel%>
+ <br>
+ Fax:
+ <%fax%>
+ </h4>
+ </td>
+ </tr>
+
+ <tr>
+ <th colspan=3>
+ <h4>ORDEM DE VENDA</h4>
+ </th>
+ </tr>
+
+ </table>
+
+
+ <table width=100% callspacing=0 cellpadding=0>
+
+ <tr>
+ <td align=right>
+ <table>
+ <tr>
+ <th align=right>Data</th>
+ <td width=10>&nbsp;</td><td><%orddate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Requerido por</th>
+ <td width=10>&nbsp;</td><td><%reqdate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>N&uacute;mero</th>
+ <td>&nbsp;</td><td><%ordnumber%></td></tr>
+ </table></tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+ </table></td>
+ </table>
+
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <th align=left><font color="ffffff">Para:</font></th>
+ <th align=left><font color="ffffff">Transportar para:</font></th>
+ </tr>
+
+ <tr>
+ <td><%name%>
+ <br><%addr1%>
+ <br><%addr2%>
+ <br><%addr3%>
+ <br><%addr4%>
+ </td>
+
+ <td><%shiptoname%>
+ <br><%shiptoaddr1%>
+ <br><%shiptoaddr2%>
+ <br><%shiptoaddr3%>
+ <br><%shiptoaddr4%>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+<!-- <th align=right><font color=ffffff>No.</th> -->
+ <th align=left><font color=ffffff>N&uacute;mero</font></th>
+ <th align=left><font color=ffffff>Descri&ccedil;&atilde;o</font></th>
+ <th><font color=ffffff>Quant.</font></th>
+ <th>&nbsp;</th>
+ <th><font color=ffffff>Pre&ccedil;o</font></th>
+ <th><font color=ffffff>Disc.</font></th>
+ <th><font color="ffffff">Total</font></th>
+ </tr>
+
+<%foreach number%>
+ <tr valign=top>
+<!-- <td align=right><%runningnumber%>.</td>
+adjust the colspan if you include this to shift subtotal one to the right
+-->
+ <td><%number%></td>
+ <td><%description%></td>
+ <td align=right><%qty%></td>
+ <td><%unit%></td>
+ <td align=right><%sellprice%></td>
+ <td align=right><%discount%></td>
+ <td align=right><%linetotal%></td>
+ </tr>
+<%end number%>
+
+ <tr>
+ <td colspan=7><hr noshade></td>
+ </tr>
+
+ <tr>
+<%if taxincluded%>
+ <th colspan=5 align=right>Total</th>
+ <td colspan=2 align=right><%ordtotal%></td>
+<%end taxincluded%>
+
+<%if not taxincluded%>
+ <th colspan=5 align=right>Subtotal</th>
+ <td colspan=2 align=right><%subtotal%></td>
+<%end taxincluded%>
+ </tr>
+
+<%foreach tax%>
+ <tr>
+ <th colspan=5 align=right>
+ <%taxdescription%>
+ em
+ <%taxbase%>
+ @
+ <%taxrate%>
+ %</th>
+ <td colspan=2 align=right><%tax%></td>
+ </tr>
+<%end tax%>
+
+ <tr>
+ <td colspan=2>&nbsp;</td>
+ <td colspan=5><hr noshade></td>
+ </tr>
+
+ <tr>
+ <td colspan=3>Faturar para<b>
+ <%terms%>
+ </b> dias</td>
+ <th colspan=2 align=right>Total</th>
+ <th colspan=2 align=right><%ordtotal%></th>
+ </tr>
+<%if taxincluded%>
+ <tr>
+ <td colspan=3>Impostos inclusos do total</td>
+ </tr>
+<%end taxincluded%>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+<%if notes%>
+ <td>Obs.:</td>
+ <td><pre><%notes%></pre></td>
+<%end notes%>
+ <td align=right> Pre&ccedil;os em<b>
+ <%currency%>
+ </b><br>
+ <%shippingpoint%>
+ </td>
+ </tr>
+
+ </table>
+ </td>
+</tr>
+
+<tr><td>&nbsp;</td></tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td><font size=-3> </font> </td>
+ <td width=150>
+ X <hr noshade>
+ </td>
+ </tr>
+ </table>
+ </td>
+</tr>
+
+
+
+
+
+
+
+</body>
+</html>
+
diff --git a/sql-ledger/templates/Brazilian_Portuguese-sales_order.tex b/sql-ledger/templates/Brazilian_Portuguese-sales_order.tex
new file mode 100644
index 0000000..4267143
--- /dev/null
+++ b/sql-ledger/templates/Brazilian_Portuguese-sales_order.tex
@@ -0,0 +1,137 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.5cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.5cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
+
+\newsavebox{\hdr}
+\sbox{\hdr}{
+ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+ \parbox{\textwidth}{
+ \parbox[b]{12cm}{
+ <%company%>
+
+ <%address%>}\hfill
+ \begin{tabular}[b]{rr@{}}
+ Telefone & <%tel%>\\
+ Fax & <%fax%>
+ \end{tabular}
+
+ \rule[1.5ex]{\textwidth}{0.5pt}
+ }
+}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\markboth{<%company%>\hfill <%ordnumber%>}{\usebox{\hdr}}
+
+\pagestyle{myheadings}
+%\thispagestyle{empty} use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+
+ \rule{\textwidth}{2pt}
+
+ \hfill
+ \begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
+ \end{tabularx}
+
+\newpage
+
+\markright{<%company%>\hfill <%ordnumber%>}
+
+\vspace*{-12pt}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
+ \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
+ \textbf{Unit} & \textbf{Price} & \textbf{Disc} & \textbf{Amount} \\
+ & carried forward from <%lastpage%> & & & & & <%sumcarriedforward%> \\
+<%end pagebreak%>
+
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\vspace*{2cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{3.5cm}
+
+\textbf{ORDEM DE VENDA} \parbox{0.3cm}{\hfill} \textbf{O R D E R}
+\hfill
+\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
+ \textbf{Data} & <%orddate%> \\
+ \textbf{Número} & <%ordnumber%>
+\end{tabular}
+
+\vspace{1cm}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
+ \textbf{Número} & \textbf{Descrição} & \textbf{Quant.} &
+ \textbf{Unid.} & \textbf{Preço} & \textbf{Disc.} & \textbf{Total} \\
+<%foreach number%>
+ <%number%> & <%description%> & <%qty%> &
+ <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\
+<%end number%>
+\end{tabular*}
+
+
+\parbox{\textwidth}{
+\rule{\textwidth}{2pt}
+
+\vspace{0.2cm}
+
+\hfill
+\begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Subtotal} & \textbf{<%subtotal%>} \\
+<%foreach tax%>
+ <%taxdescription%> em <%taxbase%> & <%tax%>\\
+<%end tax%>
+ \hline
+ \textbf{Total} & \textbf{<%ordtotal%>}\\
+\end{tabularx}
+
+\vspace{0.3cm}
+
+\hfill
+ Preços em \textbf{<%currency%>}.
+
+\vspace{12pt}
+
+<%if notes%>
+ <%notes%>
+<%end if%>
+
+}
+
+
+\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+\end{document}
+
diff --git a/sql-ledger/templates/Brazilian_Portuguese-statement.html b/sql-ledger/templates/Brazilian_Portuguese-statement.html
new file mode 100644
index 0000000..963f658
--- /dev/null
+++ b/sql-ledger/templates/Brazilian_Portuguese-statement.html
@@ -0,0 +1,125 @@
+
+<body bgcolor=ffffff>
+
+<table width=100%>
+ <tr>
+ <td width=10>&nbsp;</td>
+ <td>
+ <table width=100%>
+ <tr>
+ <td>
+ <h4>
+ <%company%>
+ <br><%address%>
+ </h4>
+ </td>
+ <th><img src=http://www.sql-ledger.org/images/sql-ledger.png border=0 width=64 height=58></th>
+ <td align=right>
+ <h4>
+ Tel: <%tel%>
+ <br>Fax: <%fax%>
+ </h4>
+ </td>
+ </tr>
+ <tr>
+ <th colspan=3>
+ <h4>RELAT&Oacute;RIO</h4>
+ </th>
+ </tr>
+ <tr>
+ <td colspan=3 align=right><%statementdate%></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td><%name%>
+ <br><%addr1%>
+ <br><%addr2%>
+ <br><%addr3%>
+ <br><%addr4%>
+ <br>
+<%if customerphone%>
+ <br>Tel: <%customerphone%>
+<%end customerphone%>
+<%if customerfax%>
+ <br>Fax: <%customerfax%>
+<%end customerfax%>
+<%if email%>
+ <br><%email%>
+<%end email%>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr height=10></tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td>
+ <table width=100%>
+ <tr>
+ <th align=left>N&uacute;mero da Fatura</th>
+ <th width=15%>Data</th>
+ <th width=15%>Prazo</th>
+ <th width=10%>Atual</th>
+ <th width=10%>30</th>
+ <th width=10%>60</th>
+ <th width=10%>90+</th>
+ </tr>
+<%foreach invnumber%>
+ <tr>
+ <td><%invnumber%></td>
+ <td><%invdate%></td>
+ <td><%duedate%></td>
+ <td align=right><%c0%></td>
+ <td align=right><%c30%></td>
+ <td align=right><%c60%></td>
+ <td align=right><%c90%></td>
+ </tr>
+<%end invnumber%>
+ <tr>
+ <td colspan=7><hr size=1></td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td>&nbsp;</td>
+ <td>&nbsp;</td>
+ <th align=right><%c0total%></table></td>
+ <th align=right><%c30total%>
+ <th align=right><%c60total%>
+ <th align=right><%c90total%>
+ </tr>
+ </table>
+
+
+ <tr height=10></tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td align=right>
+ <table width=50%>
+ <tr>
+ <th>Total</th>
+ <th align=right><%total%></th>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td><hr noshade></td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+
+ <td>Porfavor pagar com<b>
+ <%company%>
+ </b>. </td>
+ </tr>
+ <tr height=20></tr>
+
+
diff --git a/sql-ledger/templates/Brazilian_Portuguese-statement.tex b/sql-ledger/templates/Brazilian_Portuguese-statement.tex
new file mode 100644
index 0000000..fbc5b03
--- /dev/null
+++ b/sql-ledger/templates/Brazilian_Portuguese-statement.tex
@@ -0,0 +1,137 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.5cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.5cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
+
+\newsavebox{\hdr}
+\sbox{\hdr}{
+ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+ \parbox{\textwidth}{
+ \parbox[b]{12cm}{
+ <%company%>
+
+ <%address%>}\hfill
+ \begin{tabular}[b]{rrr@{}}
+ Tel & <%tel%>\\
+ Fax & <%fax%>
+ \end{tabular}
+
+ \rule[1.5ex]{\textwidth}{0.5pt}
+ }
+}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\markboth{<%company%>\hfill <%statementdate%>}{\usebox{\hdr}}
+
+\pagestyle{myheadings}
+%\thispagestyle{empty} use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+
+ \rule{\textwidth}{2pt}
+
+ \hfill
+ \begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
+ \end{tabularx}
+
+\newpage
+
+\markright{<%company%>\hfill <%statementdate%>}
+
+\vspace*{-12pt}
+
+\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}}
+ \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} &
+ \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\
+ carried forward from <%lastpage%> & & & & & & <%sumcarriedforward%> \\
+<%end pagebreak%>
+
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\vspace*{1.5cm}
+
+\parbox[t]{1cm}{\hfill}
+\parbox[t]{10.5cm}{
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+}
+\parbox[t]{7.5cm}{
+<%if customerphone%>
+Tel: <%customerphone%>
+<%end customerphone%>
+
+<%if customerfax%>
+Fax: <%customerfax%>
+<%end customerfax%>
+
+<%email%>
+}
+\hfill
+
+\vspace{1cm}
+
+\textbf{RELATÓRIO} \hfill
+
+\hfill <%statementdate%>
+
+\vspace{2cm}
+
+\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}}
+ \textbf{Número da Fatura \#} & \textbf{Data} & \textbf{Prazo} &
+ \textbf{Atual} & \textbf{30} & \textbf{60} & \textbf{90+} \\
+<%foreach invnumber%>
+ <%invnumber%> & <%invdate%> & <%duedate%> &
+ <%c0%> & <%c30%> & <%c60%> & <%c90%> \\
+<%end invnumber%>
+\textbf{Subtotal} & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%>
+\end{tabular*}
+\rule{\textwidth}{1pt}
+
+\vspace{1cm}
+
+\hfill
+\begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Totais} & <%total%>
+\end{tabularx}
+
+\vfill
+
+Favor pagar com <%company%>
+
+\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+\footnotetext[1]{\tiny
+}
+
+\end{document}
+
diff --git a/sql-ledger/templates/Danish-balance_sheet.html b/sql-ledger/templates/Danish-balance_sheet.html
new file mode 100644
index 0000000..61929ed
--- /dev/null
+++ b/sql-ledger/templates/Danish-balance_sheet.html
@@ -0,0 +1,96 @@
+<body bgcolor=ffffff>
+
+<h2 align=center>
+<%company%>
+<br><%address%>
+
+<p>STATUS
+<br><%period%>
+</h2>
+
+<table border=0>
+<tr>
+ <th align=left width=400 colspan=2>AKTIVER<br><hr align=left width=250 size=5 noshade></th>
+ <th><%this_period%></th>
+ <th><%last_period%></th>
+</tr>
+
+<%foreach asset_account%>
+<tr>
+ <td> </td>
+ <td><%asset_account%></td>
+ <td align=right><%asset_this_period%></td>
+ <td align=right><%asset_last_period%></td>
+</tr>
+<%end asset_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <th align=left colspan=2>SAMLEDE AKTIVER</th>
+ <td align=right><%total_assets_this_period%><hr noshade size=2></td>
+ <td align=right><%total_assets_last_period%><hr noshade size=2></td>
+</tr>
+
+<tr>
+ <th align=left colspan=4>PASSIVER<b><hr align=left width=250 size=5 noshade></th>
+</tr>
+
+<%foreach liability_account%>
+<tr>
+ <td></td>
+ <td><%liability_account%></td>
+ <td align=right><%liability_this_period%></td>
+ <td align=right><%liability_last_period%></td>
+</tr>
+<%end liability_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <td></td>
+ <th align=left>Samlet gæld</th>
+ <td align=right><%total_liabilities_this_period%><br><hr noshade size=2</td>
+ <td align=right><%total_liabilities_last_period%><br><hr noshade size=2</td>
+</tr>
+
+<tr>
+ <th align=left colspan=4>KAPITAL<br><hr align=left width=250 size=5 noshade></th>
+</tr>
+
+<%foreach equity_account%>
+<tr>
+ <td></td>
+ <td><%equity_account%></td>
+ <td align=right><%equity_this_period%></td>
+ <td align=right><%equity_last_period%></td>
+</tr>
+<%end equity_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <td></td>
+ <th align=left>Samlet egenkapital</th>
+ <td align=right><%total_equity_this_period%><br><hr noshade size=2</td>
+ <td align=right><%total_equity_last_period%><br><hr noshade size=2</td>
+</tr>
+
+<tr valign=top>
+ <th align=left colspan=2>SAMLET GÆLD OG EGENKAPITAL</th>
+ <td align=right><%total_this_period%><br><hr noshade size=2></td>
+ <td align=right><%total_last_period%><br><hr noshade size=2></td>
+</tr>
+</table>
diff --git a/sql-ledger/templates/Danish-check.tex b/sql-ledger/templates/Danish-check.tex
new file mode 100644
index 0000000..5b64e81
--- /dev/null
+++ b/sql-ledger/templates/Danish-check.tex
@@ -0,0 +1,71 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.4cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.0cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+
+\fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont
+
+\parbox[t]{12cm}{
+ <%company%>
+
+ <%address%>}
+\hfill
+\parbox[t]{6cm}{\hfill <%source%>}
+
+\vspace*{0.6cm}
+
+<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill}
+
+\vspace{0.5cm}
+
+\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%>
+
+\vspace{0.5cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{2.8cm}
+
+<%company%>
+
+\vspace{0.5cm}
+
+<%name%> \hfill <%datepaid%> \hfill <%source%>
+
+\vspace{0.5cm}
+\begin{tabularx}{\textwidth}{lXrr@{}}
+\textbf{Invoice No.} & \textbf{Invoice Date}
+ & \textbf{Due} & \textbf{Applied} \\
+<%foreach invnumber%>
+<%invnumber%> & <%invdate%> \dotfill
+ & <%due%> & <%paid%> \\
+<%end invnumber%>
+\end{tabularx}
+
+\vfill
+
+\end{document}
+
diff --git a/sql-ledger/templates/Danish-income_statement.html b/sql-ledger/templates/Danish-income_statement.html
new file mode 100644
index 0000000..c065297
--- /dev/null
+++ b/sql-ledger/templates/Danish-income_statement.html
@@ -0,0 +1,73 @@
+<body bgcolor=ffffff>
+
+<h2 align=center>
+<%company%>
+<br><%address%>
+
+<p>DRIFTSREGNSKAB
+<br><%period%>
+</h2>
+
+
+<table width=100% border=0>
+<tr>
+ <th width=400 align=left colspan=2>INDTÆGTER<br><hr width=300 size=5 align=left noshade></th>
+ <th><%this_period%></th>
+ <th><%last_period%></th>
+</tr>
+
+<%foreach income_account%>
+<tr>
+ <td width=4> </td>
+ <td><%income_account%></td>
+ <td align=right><%income_this_period%></td>
+ <td align=right><%income_last_period%></td>
+</tr>
+<%end income_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <td> </td>
+ <th align=left>Samlede indtægter</th>
+ <td align=right><%total_income_this_period%><hr noshade size=2></td>
+ <td align=right><%total_income_last_period%><hr noshade size=2></td>
+</tr>
+
+<tr>
+ <th align=left colspan=2>UDGIFTER<br><hr width=300 size=5 align=left noshade></th>
+</tr>
+
+<%foreach expense_account%>
+<tr>
+ <td> </td>
+ <td><%expense_account%></td>
+ <td align=right><%expenses_this_period%></td>
+ <td align=right><%expenses_last_period%></td>
+</tr>
+<%end expense_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <td> </td>
+ <th align=left>Samlede udgifter</th>
+ <td align=right><%total_expenses_this_period%><br><hr noshade size=2</td>
+ <td align=right><%total_expenses_last_period%><br><hr noshade size=2</td>
+</tr>
+
+<tr valign=top>
+ <th align=left colspan=2>RESULTAT</th>
+ <td align=right><%total_this_period%><br><hr noshade size=2></td>
+ <td align=right><%total_last_period%><br><hr noshade size=2></td>
+</tr>
+
+</table>
diff --git a/sql-ledger/templates/Danish-invoice.html b/sql-ledger/templates/Danish-invoice.html
new file mode 100644
index 0000000..d150a84
--- /dev/null
+++ b/sql-ledger/templates/Danish-invoice.html
@@ -0,0 +1,273 @@
+
+<body bgcolor=ffffff>
+
+<table width=100%>
+<tr valign=bottom>
+ <td width=10>&nbsp;</td>
+ <td>
+
+ <table width=100%>
+ <tr>
+ <td>
+ <h4>
+ <%company%>
+ <br><%address%>
+ </h4>
+ </td>
+
+ <td align=right>
+ <h4>
+ Tlf.: <%tel%>
+ <br>Fax: <%fax%>
+ </h4>
+ </td>
+ </tr>
+
+ <tr>
+ <th colspan=3>
+ <h4>F A K T U R A</h4>
+ </th>
+ </tr>
+
+ </table>
+
+
+ <table width=100% callspacing=0 cellpadding=0>
+
+ <tr>
+ <td align=right>
+ <table>
+ <tr>
+ <th align=right>Fakturadato</th><td width=10>&nbsp;</td><td><%invdate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Betalingsdato</th><td width=10>&nbsp;</td><td><%duedate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Fakturanummer</th><td>&nbsp;</td><td><%invnumber%></td></tr>
+ </tr>
+
+<!--
+ <tr>
+ <th align=right>Ekspederet af:</th><td>&nbsp;</td><td><%username%></td>
+ </tr>
+-->
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+ </td>
+ </table>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <th align=left><font color=ffffff>Faktureringsadresse:</th>
+ <%if shiptoname%>
+ <th align=left><font color=ffffff>Leveringsadresse:</th>
+ <%end shiptoname%>
+ </tr>
+
+<!--
+ other variables which can be use:
+ contact, shiptocontact, shiptophone, shiptofax
+-->
+
+ <tr>
+ <td><%name%>
+ <br><%addr1%>
+ <br><%addr2%>
+ <br><%addr3%>
+ <br><%addr4%>
+ </td>
+
+ <%if shiptoname%>
+ <td><%shiptoname%>
+ <br><%shiptoaddr1%>
+ <br><%shiptoaddr2%>
+ <br><%shiptoaddr3%>
+ <br><%shiptoaddr4%>
+ </td>
+ <%end shiptoname%>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+<!-- <th align=right><font color=ffffff>No.</th> -->
+ <th align=left><font color=ffffff>Varenummer</th>
+ <th align=left><font color=ffffff>Beskrivelse</th>
+ <th><font color=ffffff>Antal</th>
+ <th>&nbsp;</th>
+ <th><font color=ffffff>Pris</th>
+ <th><font color=ffffff>Rabat</th>
+ <th><font color=ffffff>Beløb</th>
+ </tr>
+
+<%foreach number%>
+ <tr valign=top>
+<!-- <td align=right><%runningnumber%>.</td>
+adjust the colspan if you include this to shift subtotal one to the right
+-->
+ <td><%number%></td>
+ <td><%description%></td>
+ <td align=right><%qty%></td>
+ <td><%unit%></td>
+ <td align=right><%sellprice%></td>
+ <td align=right><%discount%></td>
+ <td align=right><%linetotal%></td>
+ </tr>
+<%end number%>
+
+<!--
+you can also use netprice instead of sellprice if you
+don't want to show the discount
+netprice = sellprice - discount
+-->
+
+ <tr>
+ <td colspan=7><hr noshade></td>
+ </tr>
+
+ <tr>
+<%if taxincluded%>
+ <th colspan=5 align=right>Total</th>
+ <td colspan=2 align=right><%invtotal%></td>
+<%end taxincluded%>
+<%if not taxincluded%>
+ <th colspan=5 align=right>Subtotal</th>
+ <td colspan=2 align=right><%subtotal%></td>
+<%end taxincluded%>
+ </tr>
+
+<%foreach tax%>
+ <tr>
+ <th colspan=5 align=right><%taxdescription%> på <%taxbase%> @ <%taxrate%> %</th>
+ <td colspan=2 align=right><%tax%></td>
+ </tr>
+<%end tax%>
+
+<%if paid%>
+ <tr>
+ <th colspan=5 align=right>Allerede betalt</th>
+ <td colspan=2 align=right>- <%paid%></td>
+ </tr>
+<%end paid%>
+
+ <tr>
+ <td colspan=3>&nbsp;</td>
+ <td colspan=4><hr noshade></td>
+ </tr>
+
+ <tr>
+ <td colspan=3>Betalingsfrist <b><%terms%></b> dage</td>
+ <th colspan=2 align=right>At betale</th>
+ <th colspan=2 align=right><%total%></th>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+<%if notes%>
+ <td>Bemærkninger</td>
+ <td><%notes%></td>
+<%end notes%>
+ <td align=right>
+ Alle priser i <b><%currency%></b>.
+ <br><%shippingpoint%>
+ </td>
+ </tr>
+
+ </table>
+ </td>
+</tr>
+
+<tr><td>&nbsp;</td></tr>
+
+<tr>
+ <th colspan=7>
+ <br>Tak for handelen!
+ </th>
+</tr>
+
+<tr><td>&nbsp;</td></tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td><font size=-3>
+ Betalingsfrist <%terms%> dage fra fakturadato. Betaling herefter påregnes
+ 1.5% per påbegyndt måned startende <%duedate%> og indtil det fulde beløb
+ er betalt. Returnerede varer modregnes 10% i ekspeditionsgebyr.
+ Et returnummer skal tildeles af <%company%> før varer returneres.
+ Returvarer skal forsendes forudbetalt og forsvarligt forsikret.
+ <%company%> kan ikke drages til ansvar for skade under transport.
+ </font>
+ </td>
+ <td width=150>
+ X <hr noshade>
+ </td>
+ </tr>
+ </table>
+ </td>
+</tr>
+
+<%foreach tax%>
+ <tr>
+ <th colspan=7 align=left><font size=-2><%taxdescription%> noteret som <%taxnumber%></th>
+ </tr>
+<%end tax%>
+
+<%if taxincluded%>
+ <tr>
+ <th colspan=7 align=left><font size=-2>Alle beløb er inklusive moms.</th>
+ </tr>
+<%end taxincluded%>
+
+<!-- business number
+ <tr>
+ <th colspan=7 align=left><font size=-2>CVR-nummer: <%businessnumber%></font></th>
+ </tr>
+-->
+
+<!-- banking information
+ <tr>
+ <th colspan=7 align=left>Bank-oplysninger:
+ <br>Bank
+ <br>Banknummer
+ <br>Kontonummer
+ </td>
+ </tr>
+-->
+
+</table>
+
+</td>
+</tr>
+</table>
+
+</body>
+</html>
+
diff --git a/sql-ledger/templates/Danish-invoice.tex b/sql-ledger/templates/Danish-invoice.tex
new file mode 100644
index 0000000..6c3fa8b
--- /dev/null
+++ b/sql-ledger/templates/Danish-invoice.tex
@@ -0,0 +1,152 @@
+\documentclass[a4paper,twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\usepackage[T1]{fontenc}
+\usepackage[danish]{babel}
+\setlength{\voffset}{0.5cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.5cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
+
+\newsavebox{\hdr}
+\sbox{\hdr}{
+ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+ \parbox{\textwidth}{
+ \parbox[b]{12cm}{
+ <%company%>
+
+ <%address%>}\hfill
+ \begin{tabular}[b]{rr@{}}
+ Tlf. & <%tel%>\\
+ Fax & <%fax%>
+ \end{tabular}
+
+ \rule[1.5ex]{\textwidth}{0.5pt}
+ }
+}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}}
+
+\pagestyle{myheadings}
+%\thispagestyle{empty} use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+
+ \rule{\textwidth}{2pt}
+
+ \hfill
+ \begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
+ \end{tabularx}
+
+\newpage
+
+\markright{<%company%>\hfill <%invnumber%>}
+
+\vspace*{-12pt}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
+ \textbf{Nummer} & \textbf{Beskrivelse} & \textbf{Antal} &
+ \textbf{Enhed} & \textbf{Pris} & \textbf{Rabat} & \textbf{Beløb} \\
+ & overført fra side <%lastpage%> & & & & & <%sumcarriedforward%> \\
+<%end pagebreak%>
+
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\vspace*{2cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{3.5cm}
+
+\textbf{F A K T U R A}
+\hfill
+\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
+ \textbf{Dato} & <%invdate%> \\
+ \textbf{Nummer} & <%invnumber%> \\
+ \textbf{Kunde} & <%customer_id%>
+\end{tabular}
+
+\vspace{1cm}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
+ \textbf{Nummer} & \textbf{Beskrivelse} & \textbf{Antal} &
+ \textbf{Enhed} & \textbf{Pris} & \textbf{Rabat} & \textbf{Beløb} \\
+<%foreach number%>
+ <%number%> & <%description%> & <%qty%> &
+ <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\
+<%end number%>
+\end{tabular*}
+
+
+\parbox{\textwidth}{
+\rule{\textwidth}{2pt}
+
+\vspace{0.2cm}
+
+\hfill
+\begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Subtotal} & \textbf{<%subtotal%>} \\
+<%foreach tax%>
+ <%taxdescription%> på <%taxbase%> & <%tax%> \\
+<%end tax%>
+<%if paid%>
+ \textbf{Betalt} & - <%paid%> \\
+<%end paid%>
+ \hline
+ \textbf{At betale} & \textbf{<%total%>} \\
+\end{tabularx}
+
+\vspace{0.3cm}
+
+\hfill
+ Alle priser i \textbf{<%currency%>}.
+
+\vspace{12pt}
+
+<%if notes%>
+ <%notes%>
+<%end if%>
+
+}
+
+\vfill
+\centerline{\textbf{Tak for handelen!}}
+
+\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+\footnotetext[1]{\tiny
+Betalingsfrist <%terms%> dage fra fakturadato. Betaling herefter påregnes
+1.5\% per påbegyndt måned startende <%duedate%> og indtil det fulde beløb
+er betalt. Returnerede varer modregnes 10\% i ekspeditionsgebyr.
+Et returnummer skal tildeles af <%company%> før varer returneres.
+Returvarer skal forsendes forudbetalt og forsvarligt forsikret.
+<%company%> kan ikke drages til ansvar for skade under transport.}
+
+\end{document}
diff --git a/sql-ledger/templates/Danish-packing_list.html b/sql-ledger/templates/Danish-packing_list.html
new file mode 100644
index 0000000..76e02b4
--- /dev/null
+++ b/sql-ledger/templates/Danish-packing_list.html
@@ -0,0 +1,145 @@
+<body bgcolor=ffffff>
+
+<table width=100%>
+<tr>
+ <td width=10>
+ </td>
+ <td>
+
+ <table width=100%>
+ <tr>
+ <td>
+ <h4>
+ <%company%>
+ <br><%address%>
+ </h4>
+ </td>
+
+ <th colspan=2>
+ <h4 align=center>F Ø L G E S E D D E L</h4>
+ </th>
+ </tr>
+
+ </table>
+
+
+ <table width=100% callspacing=0 cellpadding=0>
+
+ <tr>
+ <td align=right>
+ <table>
+ <tr>
+ <th align=right>Dato</th><td width=10> </td><td><%invdate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Nummer</th><td></td><td><%invnumber%></td></tr>
+ </tr>
+
+ <tr>
+ <td>
+ </td>
+ </tr>
+ </td>
+ </table>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <th align=left><font color=ffffff>Leveringsadresse:</th>
+ </tr>
+
+ <tr>
+ <td><%shiptoname%>
+ <br><%shiptoaddr1%>
+ <br><%shiptoaddr2%>
+ <br><%shiptoaddr3%>
+ <br><%shiptoaddr4%>
+<%if shiptocontact%>
+ <p>Att.: <%shiptocontact%>
+<%end shiptocontact%>
+
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <th align=left><font color=ffffff>Varenummer</th>
+ <th align=left><font color=ffffff>Beskrivelse</th>
+ <th><font color=ffffff>Antal</th>
+ <th>&nbsp;</th>
+ </tr>
+
+<%foreach number%>
+ <tr valign=top>
+ <td><%number%></td>
+ <td><%description%></td>
+ <td align=right><%qty%></td>
+ <td><%unit%></td>
+ </tr>
+<%end number%>
+
+ <tr>
+ <td colspan=4><hr noshade></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+<%if notes%>
+ <td>Bemærkninger</td>
+ <td><pre><%notes%></pre></td>
+<%end notes%>
+ <td align=right>
+ <%shippingpoint%>
+ </td>
+ </tr>
+
+ </table>
+ </td>
+</tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td><font size=-3>
+ Returnerede varer modregnes 10% i ekspeditionsgebyr.
+ Et returnummer skal tildeles af <%company%> før varer returneres.
+ Returvarer skal forsendes forudbetalt og forsvarligt forsikret.
+ <%company%> kan ikke drages til ansvar for skade under transport.
+ </font>
+ </td>
+ <td width=150>
+ X <hr noshade>
+ </td>
+ </tr>
+ </table>
+ </td>
+</tr>
+
+</table>
+
+</td>
+</tr>
+</table>
+
+</body>
+</html>
diff --git a/sql-ledger/templates/Danish-packing_list.tex b/sql-ledger/templates/Danish-packing_list.tex
new file mode 100644
index 0000000..0d6bfc4
--- /dev/null
+++ b/sql-ledger/templates/Danish-packing_list.tex
@@ -0,0 +1,123 @@
+\documentclass[a4paper,twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\usepackage[T1]{fontenc}
+\usepackage[danish]{babel}
+\setlength{\voffset}{0.5cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.5cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
+
+\newsavebox{\hdr}
+\sbox{\hdr}{
+ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+ \parbox{\textwidth}{
+ \parbox[b]{12cm}{
+ <%company%>
+
+ <%address%>}\hfill
+ \begin{tabular}[b]{rr@{}}
+ Tlf. & <%tel%>\\
+ Fax & <%fax%>
+ \end{tabular}
+
+ \rule[1.5ex]{\textwidth}{0.5pt}
+ }
+}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}}
+
+\pagestyle{myheadings}
+%\thispagestyle{empty} use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+
+\newpage
+
+\markright{<%company%>\hfill <%invnumber%>}
+
+\vspace*{-12pt}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}}
+ \textbf{Nummer} & \textbf{Beskrivelse} & \textbf{Antal} &
+ \textbf{Enhed} & \textbf{Varelager} \\
+<%end pagebreak%>
+
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\vspace*{2cm}
+
+<%shiptoname%>
+
+<%shiptoaddr1%>
+
+<%shiptoaddr2%>
+
+<%shiptoaddr3%>
+
+<%shiptoaddr4%>
+
+\vspace{3.5cm}
+
+\textbf{F Ø L G E S E D D E L}
+
+\hfill
+\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
+ \textbf{Dato} & <%invdate%> \\
+ \textbf{Nummer} & <%invnumber%> \\
+ \textbf{Kunde} & <%customer_id%>
+\end{tabular}
+
+\vspace{1cm}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}}
+ \textbf{Nummer} & \textbf{Beskrivelse} & \textbf{Antal} &
+ \textbf{Enhed} & \textbf{Varelager} \\
+<%foreach number%>
+ <%number%> & <%description%> & <%qty%> &
+ <%unit%> & <%bin%> \\
+<%end number%>
+\end{tabular*}
+
+
+\parbox{\textwidth}{
+\rule{\textwidth}{2pt}
+
+\vspace{12pt}
+
+<%if notes%>
+ <%notes%>
+<%end if%>
+
+}
+
+\vfill
+\centerline{\textbf{Tak for ordren!}}
+
+\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+\footnotetext[1]{\tiny
+Returnerede varer modregnes 10\% i ekspeditionsgebyr.
+Et returnummer skal tildeles af <%company%> før varer returneres.
+Returvarer skal forsendes forudbetalt og forsvarligt forsikret.
+<%company%> kan ikke drages til ansvar for skade under transport.}
+
+\end{document}
diff --git a/sql-ledger/templates/Danish-purchase_order.html b/sql-ledger/templates/Danish-purchase_order.html
new file mode 100644
index 0000000..f9f21cd
--- /dev/null
+++ b/sql-ledger/templates/Danish-purchase_order.html
@@ -0,0 +1,191 @@
+<body bgcolor=ffffff>
+
+<table width=100%>
+<tr valign=bottom>
+ <td width=10>&nbsp;</td>
+ <td>
+
+ <table width=100%>
+ <tr>
+ <td>
+ <h4>
+ <%company%>
+ <br><%address%>
+ </h4>
+ </td>
+
+ <td align=right>
+ <h4>
+ Tlf.: <%tel%>
+ <br>Fax: <%fax%>
+ </h4>
+ </td>
+ </tr>
+
+ <tr>
+ <th colspan=3>
+ <h4>I N D K Ø B S O R D R E</h4>
+ </th>
+ </tr>
+
+ </table>
+
+
+ <table width=100% callspacing=0 cellpadding=0>
+
+ <tr>
+ <td align=right>
+ <table>
+ <tr>
+ <th align=right>Ordredato</th><td width=10>&nbsp;</td><td><%orddate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Ønsket leveringsdato</th><td width=10>&nbsp;</td><td><%reqdate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Ordrenummer</th><td>&nbsp;</td><td><%ordnumber%></td></tr>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+ </td>
+ </table>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <th align=left><font color=ffffff>Til:</th>
+ </tr>
+
+ <tr>
+ <td><%name%>
+ <br><%addr1%>
+ <br><%addr2%>
+ <br><%addr3%>
+ <br><%addr4%>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+<!-- <th align=right><font color=ffffff>No.</th> -->
+ <th align=left><font color=ffffff>Varenummer</th>
+ <th align=left><font color=ffffff>Beskrivelse</th>
+ <th><font color=ffffff>Antal</th>
+ <th>&nbsp;</th>
+ <th><font color=ffffff>Pris</th>
+ <th><font color=ffffff>Beløb</th>
+ </tr>
+
+<%foreach number%>
+ <tr valign=top>
+<!-- <td align=right><%runningnumber%>.</td>
+adjust the colspan if you include this to shift subtotal one to the right
+-->
+ <td><%number%></td>
+ <td><%description%></td>
+ <td align=right><%qty%></td>
+ <td><%unit%></td>
+ <td align=right><%sellprice%></td>
+ <td align=right><%linetotal%></td>
+ </tr>
+<%end number%>
+
+ <tr>
+ <td colspan=6><hr noshade></td>
+ </tr>
+
+ <tr>
+ <th colspan=4 align=right>Subtotal</th>
+ <td colspan=2 align=right><%subtotal%></td>
+ </tr>
+
+<%foreach tax%>
+ <tr>
+ <th colspan=4 align=right><%taxdescription%> @ <%taxrate%> %</th>
+ <td colspan=2 align=right><%tax%></td>
+ </tr>
+<%end tax%>
+
+ <tr>
+ <td colspan=2>&nbsp;</td>
+ <td colspan=4><hr noshade></td>
+ </tr>
+
+ <tr>
+ <td colspan=2>Betalingsfrist <b><%terms%></b> dage</td>
+ <th colspan=2 align=right>Total</th>
+ <th colspan=2 align=right><%total%></th>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+<%if notes%>
+ <td>Bemærkninger</td>
+ <td><pre><%notes%></pre></td>
+<%end notes%>
+ <td align=right>
+ Alle priser i <b><%currency%></b>
+ <br><%shippingpoint%>
+ </td>
+ </tr>
+
+ </table>
+ </td>
+</tr>
+
+<tr><td>&nbsp;</td></tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td><font size=-3>
+ Betalingsfrist <%terms%> dage fra fakturadato. Betaling herefter påregnes
+ 1.5% per påbegyndt måned startende <%duedate%> og indtil det fulde beløb
+ er betalt. Returnerede varer modregnes 10% i ekspeditionsgebyr.
+ Et returnummer skal tildeles af <%company%> før varer returneres.
+ Returvarer skal forsendes forudbetalt og forsvarligt forsikret.
+ <%company%> kan ikke drages til ansvar for skade under transport.
+ </font>
+ </td>
+ <td width=150>
+ X <hr noshade>
+ </td>
+ </tr>
+ </table>
+ </td>
+</tr>
+
+</table>
+
+</td>
+</tr>
+</table>
+
+</body>
+</html>
diff --git a/sql-ledger/templates/Danish-purchase_order.tex b/sql-ledger/templates/Danish-purchase_order.tex
new file mode 100644
index 0000000..bdd7416
--- /dev/null
+++ b/sql-ledger/templates/Danish-purchase_order.tex
@@ -0,0 +1,143 @@
+\documentclass[a4paper,twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\usepackage[T1]{fontenc}
+\usepackage[danish]{babel}
+\setlength{\voffset}{0.5cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.5cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
+
+\newsavebox{\hdr}
+\sbox{\hdr}{
+ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+ \parbox{\textwidth}{
+ \parbox[b]{12cm}{
+ <%company%>
+
+ <%address%>}\hfill
+ \begin{tabular}[b]{rr@{}}
+ Tlf. & <%tel%>\\
+ Fax & <%fax%>
+ \end{tabular}
+
+ \rule[1.5ex]{\textwidth}{0.5pt}
+ }
+}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\markboth{<%company%>\hfill <%ordnumber%>}{\usebox{\hdr}}
+
+\pagestyle{myheadings}
+%\thispagestyle{empty} use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+
+ \rule{\textwidth}{2pt}
+
+ \hfill
+ \begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
+ \end{tabularx}
+
+\newpage
+
+\markright{<%company%>\hfill <%ordnumber%>}
+
+\vspace*{-12pt}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}}
+ \textbf{Nummer} & \textbf{Beskrivelse} & \textbf{Antal} &
+ \textbf{Enhed} & \textbf{Pris} & \textbf{Beløb} \\
+ & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\
+<%end pagebreak%>
+
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\vspace*{2cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{3.5cm}
+
+\textbf{I N D K Ø B S O R D R E}
+\hfill
+\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
+ \textbf{Dato} & <%orddate%> \\
+<%if reqdate%>
+ \textbf{Ønsket leveringsdato} & <%reqdate%> \\
+<%end reqdate%>
+ \textbf{Ordrenummer} & <%ordnumber%>
+\end{tabular}
+
+\vspace{1cm}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}}
+ \textbf{Varenummer} & \textbf{Beskrivelse} & \textbf{Antal} &
+ \textbf{Enhed} & \textbf{Pris} & \textbf{Beløb} \\
+<%foreach number%>
+ <%number%> & <%description%> & <%qty%> &
+ <%unit%> & <%sellprice%> & <%linetotal%> \\
+<%end number%>
+\end{tabular*}
+
+
+\parbox{\textwidth}{
+\rule{\textwidth}{2pt}
+
+\vspace{0.2cm}
+
+\hfill
+\begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Subtotal} & \textbf{<%subtotal%>} \\
+<%foreach tax%>
+ <%taxdescription%> on <%taxbase%> & <%tax%>\\
+<%end tax%>
+ \hline
+ \textbf{Total} & \textbf{<%ordtotal%>}\\
+\end{tabularx}
+
+\vspace{0.3cm}
+
+\hfill
+ Alle priser i \textbf{<%currency%>}.
+
+\vspace{12pt}
+
+<%if notes%>
+ <%notes%>
+<%end if%>
+
+}
+
+
+%\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+%\footnotetext[1]{\tiny }
+
+\end{document}
diff --git a/sql-ledger/templates/Danish-receipt.tex b/sql-ledger/templates/Danish-receipt.tex
new file mode 100644
index 0000000..5b64e81
--- /dev/null
+++ b/sql-ledger/templates/Danish-receipt.tex
@@ -0,0 +1,71 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.4cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.0cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+
+\fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont
+
+\parbox[t]{12cm}{
+ <%company%>
+
+ <%address%>}
+\hfill
+\parbox[t]{6cm}{\hfill <%source%>}
+
+\vspace*{0.6cm}
+
+<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill}
+
+\vspace{0.5cm}
+
+\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%>
+
+\vspace{0.5cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{2.8cm}
+
+<%company%>
+
+\vspace{0.5cm}
+
+<%name%> \hfill <%datepaid%> \hfill <%source%>
+
+\vspace{0.5cm}
+\begin{tabularx}{\textwidth}{lXrr@{}}
+\textbf{Invoice No.} & \textbf{Invoice Date}
+ & \textbf{Due} & \textbf{Applied} \\
+<%foreach invnumber%>
+<%invnumber%> & <%invdate%> \dotfill
+ & <%due%> & <%paid%> \\
+<%end invnumber%>
+\end{tabularx}
+
+\vfill
+
+\end{document}
+
diff --git a/sql-ledger/templates/Danish-sales_order.html b/sql-ledger/templates/Danish-sales_order.html
new file mode 100644
index 0000000..f256522
--- /dev/null
+++ b/sql-ledger/templates/Danish-sales_order.html
@@ -0,0 +1,210 @@
+<body bgcolor=ffffff>
+
+<table width=100%>
+<tr valign=bottom>
+ <td width=10>&nbsp;</td>
+ <td>
+
+ <table width=100%>
+ <tr>
+ <td>
+ <h4>
+ <%company%>
+ <br><%address%>
+ </h4>
+ </td>
+
+ <td align=right>
+ <h4>
+ Tlf.: <%tel%>
+ <br>Fax: <%fax%>
+ </h4>
+ </td>
+ </tr>
+
+ <tr>
+ <th colspan=3>
+ <h4>S A L G S O R D R E</h4>
+ </th>
+ </tr>
+
+ </table>
+
+
+ <table width=100% callspacing=0 cellpadding=0>
+
+ <tr>
+ <td align=right>
+ <table>
+ <tr>
+ <th align=right>Ordredato</th><td width=10>&nbsp;</td><td><%orddate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Ønsket leveringsdato</th><td width=10>&nbsp;</td><td><%reqdate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Ordrenummer</th><td>&nbsp;</td><td><%ordnumber%></td></tr>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+ </td>
+ </table>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <th align=left><font color=ffffff>Til:</th>
+ <th align=left><font color=ffffff>Leveringsadresse:</th>
+ </tr>
+
+ <tr>
+ <td><%name%>
+ <br><%addr1%>
+ <br><%addr2%>
+ <br><%addr3%>
+ <br><%addr4%>
+ </td>
+
+ <td><%shiptoname%>
+ <br><%shiptoaddr1%>
+ <br><%shiptoaddr2%>
+ <br><%shiptoaddr3%>
+ <br><%shiptoaddr4%>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+<!-- <th align=right><font color=ffffff>No.</th> -->
+ <th align=left><font color=ffffff>Varenummer</th>
+ <th align=left><font color=ffffff>Beskrivelse</th>
+ <th><font color=ffffff>Antal</th>
+ <th>&nbsp;</th>
+ <th><font color=ffffff>Pris</th>
+ <th><font color=ffffff>Rabat</th>
+ <th><font color=ffffff>Beløb</th>
+ </tr>
+
+<%foreach number%>
+ <tr valign=top>
+<!-- <td align=right><%runningnumber%>.</td>
+adjust the colspan if you include this to shift subtotal one to the right
+-->
+ <td><%number%></td>
+ <td><%description%></td>
+ <td align=right><%qty%></td>
+ <td><%unit%></td>
+ <td align=right><%sellprice%></td>
+ <td align=right><%discount%></td>
+ <td align=right><%linetotal%></td>
+ </tr>
+<%end number%>
+
+ <tr>
+ <td colspan=7><hr noshade></td>
+ </tr>
+
+ <tr>
+<%if taxincluded%>
+ <th colspan=5 align=right>Total</th>
+ <td colspan=2 align=right><%ordtotal%></td>
+<%end taxincluded%>
+
+<%if not taxincluded%>
+ <th colspan=5 align=right>Subtotal</th>
+ <td colspan=2 align=right><%subtotal%></td>
+<%end taxincluded%>
+ </tr>
+
+<%foreach tax%>
+ <tr>
+ <th colspan=5 align=right><%taxdescription%> på <%taxbase%> @ <%taxrate%> %</th>
+ <td colspan=2 align=right><%tax%></td>
+ </tr>
+<%end tax%>
+
+ <tr>
+ <td colspan=2>&nbsp;</td>
+ <td colspan=5><hr noshade></td>
+ </tr>
+
+ <tr>
+ <td colspan=3>Betalingsfrist netto <b><%terms%></b> dage</td>
+ <th colspan=2 align=right>Total</th>
+ <th colspan=2 align=right><%ordtotal%></th>
+ </tr>
+<%if taxincluded%>
+ <tr>
+ <td colspan=3>Total er inklusive moms</td>
+ </tr>
+<%end taxincluded%>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+<%if notes%>
+ <td>Bemærkninger</td>
+ <td><pre><%notes%></pre></td>
+<%end notes%>
+ <td align=right>
+ Alle priser i <b><%currency%></b>
+ <br><%shippingpoint%>
+ </td>
+ </tr>
+
+ </table>
+ </td>
+</tr>
+
+<tr><td>&nbsp;</td></tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td><font size=-3>
+ Et gebyr for annullering af ordre på 10% vil blive tillagt alle specialtilbud
+ og produkter som er blevet tilpasset, forbedret eller opgraderet på kundens anmodning.<br>
+ Varer som ikke kan returneres er anført ovenfor.
+ </font>
+ </td>
+ <td width=150>
+ X <hr noshade>
+ </td>
+ </tr>
+ </table>
+ </td>
+</tr>
+
+</table>
+
+</td>
+</tr>
+</table>
+
+</body>
+</html>
diff --git a/sql-ledger/templates/Danish-sales_order.tex b/sql-ledger/templates/Danish-sales_order.tex
new file mode 100644
index 0000000..d7307cd
--- /dev/null
+++ b/sql-ledger/templates/Danish-sales_order.tex
@@ -0,0 +1,144 @@
+\documentclass[a4paper,twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\usepackage[T1]{fontenc}
+\usepackage[danish]{babel}
+\setlength{\voffset}{0.5cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.5cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
+
+\newsavebox{\hdr}
+\sbox{\hdr}{
+ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+ \parbox{\textwidth}{
+ \parbox[b]{12cm}{
+ <%company%>
+
+ <%address%>}\hfill
+ \begin{tabular}[b]{rr@{}}
+ Tlf. & <%tel%>\\
+ Fax & <%fax%>
+ \end{tabular}
+
+ \rule[1.5ex]{\textwidth}{0.5pt}
+ }
+}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\markboth{<%company%>\hfill <%ordnumber%>}{\usebox{\hdr}}
+
+\pagestyle{myheadings}
+%\thispagestyle{empty} use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+
+ \rule{\textwidth}{2pt}
+
+ \hfill
+ \begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
+ \end{tabularx}
+
+\newpage
+
+\markright{<%company%>\hfill <%ordnumber%>}
+
+\vspace*{-12pt}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
+ \textbf{Nummer} & \textbf{Beskrivelse} & \textbf{Antal} &
+ \textbf{Enhed} & \textbf{Pris} & \textbf{Rabat} & \textbf{Beløb} \\
+ & Overført fra side <%lastpage%> & & & & & <%sumcarriedforward%> \\
+<%end pagebreak%>
+
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\vspace*{2cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{3.5cm}
+
+\textbf{S A L G S O R D R E}
+\hfill
+\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
+ \textbf{Dato} & <%orddate%> \\
+ \textbf{Ordrenummer} & <%ordnumber%>
+\end{tabular}
+
+\vspace{1cm}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
+ \textbf{Varenummer} & \textbf{Beskrivelse} & \textbf{Antal} &
+ \textbf{Enhed} & \textbf{Pris} & \textbf{Rabat} & \textbf{Beløb} \\
+<%foreach number%>
+ <%number%> & <%description%> & <%qty%> &
+ <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\
+<%end number%>
+\end{tabular*}
+
+
+\parbox{\textwidth}{
+\rule{\textwidth}{2pt}
+
+\vspace{0.2cm}
+
+\hfill
+\begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Subtotal} & \textbf{<%subtotal%>} \\
+<%foreach tax%>
+ <%taxdescription%> på <%taxbase%> & <%tax%>\\
+<%end tax%>
+ \hline
+ \textbf{Total} & \textbf{<%ordtotal%>}\\
+\end{tabularx}
+
+\vspace{0.3cm}
+
+\hfill
+ Alle priser i \textbf{<%currency%>}.
+
+\vspace{12pt}
+
+<%if notes%>
+ <%notes%>
+<%end if%>
+
+}
+
+
+\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+\footnotetext[1]{\tiny
+Et gebyr for annullering af ordre på 10\% vil blive tillagt alle specialtilbud
+og produkter som er blevet tilpasset, forbedret eller opgraderet på kundens anmodning.
+Varer som ikke kan returneres er anført ovenfor.
+}
+
+\end{document}
diff --git a/sql-ledger/templates/Danish-statement.html b/sql-ledger/templates/Danish-statement.html
new file mode 100644
index 0000000..6fca322
--- /dev/null
+++ b/sql-ledger/templates/Danish-statement.html
@@ -0,0 +1,121 @@
+
+<body bgcolor=ffffff>
+
+<table width=100%>
+ <tr>
+ <td width=10>&nbsp;</td>
+ <td>
+ <table width=100%>
+ <tr>
+ <td>
+ <h4>
+ <%company%>
+ <br><%address%>
+ </h4>
+ </td>
+ <th><img src=http://www.sql-ledger.org/images/sql-ledger.png border=0 width=64 height=58></th>
+ <td align=right>
+ <h4>
+ Tel: <%tel%>
+ <br>Fax: <%fax%>
+ </h4>
+ </td>
+ </tr>
+ <tr>
+ <th colspan=3><h4>S T A T E M E N T</h4></th>
+ </tr>
+ <tr>
+ <td colspan=3 align=right><%statementdate%></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td><%name%>
+ <br><%addr1%>
+ <br><%addr2%>
+ <br><%addr3%>
+ <br><%addr4%>
+ <br>
+<%if customerphone%>
+ <br>Tel: <%customerphone%>
+<%end customerphone%>
+<%if customerfax%>
+ <br>Fax: <%customerfax%>
+<%end customerfax%>
+<%if email%>
+ <br><%email%>
+<%end email%>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr height=10></tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td>
+ <table width=100%>
+ <tr>
+ <th align=left>Invoice #</th>
+ <th width=15%>Date</th>
+ <th width=15%>Due</th>
+ <th width=10%>Current</th>
+ <th width=10%>30</th>
+ <th width=10%>60</th>
+ <th width=10%>90+</th>
+ </tr>
+<%foreach invnumber%>
+ <tr>
+ <td><%invnumber%></td>
+ <td><%invdate%></td>
+ <td><%duedate%></td>
+ <td align=right><%c0%></td>
+ <td align=right><%c30%></td>
+ <td align=right><%c60%></td>
+ <td align=right><%c90%></td>
+ </tr>
+<%end invnumber%>
+ <tr>
+ <td colspan=7><hr size=1></td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td>&nbsp;</td>
+ <td>&nbsp;</td>
+ <th align=right><%c0total%></td>
+ <th align=right><%c30total%></td>
+ <th align=right><%c60total%></td>
+ <th align=right><%c90total%></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr height=10></tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td align=right>
+ <table width=50%>
+ <tr>
+ <th>Total Outstanding</th>
+ <th align=right><%total%></th>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td><hr noshade></td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td>Please make check payable to <b><%company%></b>.
+ </td>
+ </tr>
+ <tr height=20></tr>
+</table>
+
diff --git a/sql-ledger/templates/Danish-statement.tex b/sql-ledger/templates/Danish-statement.tex
new file mode 100644
index 0000000..0b63f75
--- /dev/null
+++ b/sql-ledger/templates/Danish-statement.tex
@@ -0,0 +1,137 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.5cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.5cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
+
+\newsavebox{\hdr}
+\sbox{\hdr}{
+ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+ \parbox{\textwidth}{
+ \parbox[b]{12cm}{
+ <%company%>
+
+ <%address%>}\hfill
+ \begin{tabular}[b]{rrr@{}}
+ Tel & <%tel%>\\
+ Fax & <%fax%>
+ \end{tabular}
+
+ \rule[1.5ex]{\textwidth}{0.5pt}
+ }
+}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\markboth{<%company%>\hfill <%statementdate%>}{\usebox{\hdr}}
+
+\pagestyle{myheadings}
+%\thispagestyle{empty} use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+
+ \rule{\textwidth}{2pt}
+
+ \hfill
+ \begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
+ \end{tabularx}
+
+\newpage
+
+\markright{<%company%>\hfill <%statementdate%>}
+
+\vspace*{-12pt}
+
+\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}}
+ \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} &
+ \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\
+ carried forward from <%lastpage%> & & & & & & <%sumcarriedforward%> \\
+<%end pagebreak%>
+
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\vspace*{1.5cm}
+
+\parbox[t]{1cm}{\hfill}
+\parbox[t]{10.5cm}{
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+}
+\parbox[t]{7.5cm}{
+<%if customerphone%>
+Tel: <%customerphone%>
+<%end customerphone%>
+
+<%if customerfax%>
+Fax: <%customerfax%>
+<%end customerfax%>
+
+<%email%>
+}
+\hfill
+
+\vspace{1cm}
+
+\textbf{S T A T E M E N T} \hfill
+
+\hfill <%statementdate%>
+
+\vspace{2cm}
+
+\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}}
+ \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} &
+ \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\
+<%foreach invnumber%>
+ <%invnumber%> & <%invdate%> & <%duedate%> &
+ <%c0%> & <%c30%> & <%c60%> & <%c90%> \\
+<%end invnumber%>
+\textbf{Subtotal} & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%>
+\end{tabular*}
+\rule{\textwidth}{1pt}
+
+\vspace{1cm}
+
+\hfill
+\begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Total outstanding} & <%total%>
+\end{tabularx}
+
+\vfill
+
+Please make check payable to <%company%>
+
+\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+\footnotetext[1]{\tiny
+}
+
+\end{document}
+
diff --git a/sql-ledger/templates/Default-balance_sheet.html b/sql-ledger/templates/Default-balance_sheet.html
new file mode 100644
index 0000000..478caab
--- /dev/null
+++ b/sql-ledger/templates/Default-balance_sheet.html
@@ -0,0 +1,100 @@
+
+<body bgcolor=ffffff>
+
+<h2 align=center>
+<%company%>
+<br><%address%>
+
+<p>BALANCE SHEET
+<br><%period%>
+</h2>
+
+<table border=0>
+<tr>
+ <th align=left width=400 colspan=2>ASSETS<br><hr align=left width=250 size=5 noshade></th>
+ <th><%this_period%></th>
+ <th><%last_period%></th>
+</tr>
+
+<%foreach asset_account%>
+<tr>
+ <td> </td>
+ <td><%asset_account%></td>
+ <td align=right><%asset_this_period%></td>
+ <td align=right><%asset_last_period%></td>
+</tr>
+<%end asset_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <th align=left colspan=2>TOTAL ASSETS</th>
+ <td align=right><%total_assets_this_period%><hr noshade size=2></td>
+ <td align=right><%total_assets_last_period%><hr noshade size=2></td>
+</tr>
+
+<tr>
+ <th align=left colspan=4>LIABILITIES<b><hr align=left width=250 size=5 noshade></th>
+</tr>
+
+<%foreach liability_account%>
+<tr>
+ <td></td>
+ <td><%liability_account%></td>
+ <td align=right><%liability_this_period%></td>
+ <td align=right><%liability_last_period%></td>
+</tr>
+<%end liability_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <td></td>
+ <th align=left>Total Liabilities</th>
+ <td align=right><%total_liabilities_this_period%><br><hr noshade size=2</td>
+ <td align=right><%total_liabilities_last_period%><br><hr noshade size=2</td>
+</tr>
+
+<tr>
+ <th align=left colspan=4>SHAREHOLDER'S EQUITY<br><hr align=left width=250 size=5 noshade></th>
+</tr>
+
+<%foreach equity_account%>
+<tr>
+ <td></td>
+ <td><%equity_account%></td>
+ <td align=right><%equity_this_period%></td>
+ <td align=right><%equity_last_period%></td>
+</tr>
+<%end equity_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <td></td>
+ <th align=left>Total Equity</th>
+ <td align=right><%total_equity_this_period%><br><hr noshade size=2</td>
+ <td align=right><%total_equity_last_period%><br><hr noshade size=2</td>
+</tr>
+
+<tr valign=top>
+ <th align=left colspan=2>TOTAL LIABILITIES & EQUITY</th>
+ <td align=right><%total_this_period%><br><hr noshade size=2></td>
+ <td align=right><%total_last_period%><br><hr noshade size=2></td>
+</tr>
+</table>
+
+
+
diff --git a/sql-ledger/templates/Default-check.tex b/sql-ledger/templates/Default-check.tex
new file mode 100644
index 0000000..a1ab201
--- /dev/null
+++ b/sql-ledger/templates/Default-check.tex
@@ -0,0 +1,77 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.4cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.0cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+
+\fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont
+
+\parbox[t]{12cm}{
+ <%company%>
+
+ <%address%>}
+\hfill
+\parbox[t]{6cm}{\hfill <%source%>}
+
+\vspace*{0.6cm}
+
+<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill}
+
+\vspace{0.5cm}
+
+\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%>
+
+\vspace{0.5cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{1.8cm}
+
+<%notes%>
+
+\vspace{0.8cm}
+
+<%company%>
+
+\vspace{0.5cm}
+
+<%name%> \hfill <%datepaid%> \hfill <%source%>
+
+\vspace{0.5cm}
+\begin{tabularx}{\textwidth}{lXrr@{}}
+\textbf{Invoice No.} & \textbf{Invoice Date}
+ & \textbf{Due} & \textbf{Applied} \\
+<%foreach invnumber%>
+<%invnumber%> & <%invdate%> \dotfill
+ & <%due%> & <%paid%> \\
+<%end invnumber%>
+\end{tabularx}
+
+\vfill
+
+\end{document}
+
+
+
diff --git a/sql-ledger/templates/Default-income_statement.html b/sql-ledger/templates/Default-income_statement.html
new file mode 100644
index 0000000..e9d6a40
--- /dev/null
+++ b/sql-ledger/templates/Default-income_statement.html
@@ -0,0 +1,82 @@
+
+<body bgcolor=ffffff>
+
+<h2 align=center>
+<%company%>
+<br><%address%>
+
+<p>INCOME STATEMENT
+<br><%period%>
+</h2>
+
+
+<table width=100% border=0>
+<tr>
+ <th width=400 align=left colspan=2>INCOME<br><hr width=300 size=5 align=left noshade></th>
+ <th><%this_period%></th>
+ <th><%last_period%></th>
+</tr>
+
+<%foreach income_account%>
+<tr>
+ <td width=4> </td>
+ <td><%income_account%></td>
+ <td align=right><%income_this_period%></td>
+ <td align=right><%income_last_period%></td>
+</tr>
+<%end income_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <td> </td>
+ <th align=left>Total Income</th>
+ <td align=right><%total_income_this_period%><hr noshade size=2></td>
+ <td align=right><%total_income_last_period%><hr noshade size=2></td>
+</tr>
+
+<tr>
+ <th align=left colspan=2>EXPENSES<br><hr width=300 size=5 align=left noshade></th>
+</tr>
+
+<%foreach expense_account%>
+<tr>
+ <td> </td>
+ <td><%expense_account%></td>
+ <td align=right><%expenses_this_period%></td>
+ <td align=right><%expenses_last_period%></td>
+</tr>
+<%end expense_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <td> </td>
+ <th align=left>Total Expenses</th>
+ <td align=right><%total_expenses_this_period%><br><hr noshade size=2</td>
+ <td align=right><%total_expenses_last_period%><br><hr noshade size=2</td>
+</tr>
+
+<tr valign=top>
+ <th align=left colspan=2>INCOME / (LOSS)</th>
+ <td align=right><%total_this_period%><br><hr noshade size=2></td>
+ <td align=right><%total_last_period%><br><hr noshade size=2></td>
+</tr>
+
+</table>
+
+
+
+
+
+
+
+
diff --git a/sql-ledger/templates/Default-invoice.html b/sql-ledger/templates/Default-invoice.html
new file mode 100644
index 0000000..0ba06cc
--- /dev/null
+++ b/sql-ledger/templates/Default-invoice.html
@@ -0,0 +1,309 @@
+
+<body bgcolor=ffffff>
+
+<table width=100%>
+<tr valign=bottom>
+ <td width=10>&nbsp;</td>
+ <td>
+
+ <table width=100%>
+ <tr>
+ <td>
+ <h4>
+ <%company%>
+ <br><%address%>
+ </h4>
+ </td>
+
+ <td align=right>
+ <h4>
+ Telephone: <%tel%>
+ <br>Facsimile: <%fax%>
+ </h4>
+ </td>
+ </tr>
+
+ <tr>
+ <th colspan=3>
+ <h4>I N V O I C E</h4>
+ </th>
+ </tr>
+
+ </table>
+
+
+ <table width=100% callspacing=0 cellpadding=0>
+
+ <tr>
+ <td align=right>
+ <table>
+ <tr>
+ <th align=right>Invoice Date</th><td width=10>&nbsp;</td><td><%invdate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Due Date</th><td width=10>&nbsp;</td><td><%duedate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Number</th><td>&nbsp;</td><td><%invnumber%></td></tr>
+ </tr>
+
+<!--
+ <tr>
+ <th align=right>Clerk:</th><td>&nbsp;</td><td><%employee%></td>
+ </tr>
+-->
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+ </td>
+ </table>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <th align=left><font color=ffffff>To:</th>
+ <th align=left><font color=ffffff>Ship To:</th>
+ </tr>
+
+<!--
+ other variables which can be use:
+ contact, shiptocontact, shiptophone, shiptofax
+-->
+
+ <tr valign=top>
+ <td><%name%>
+ <br><%addr1%>
+ <br><%addr2%>
+ <br><%addr3%>
+ <br><%addr4%>
+ </td>
+
+ <td><%shiptoname%>
+ <br><%shiptoaddr1%>
+ <br><%shiptoaddr2%>
+ <br><%shiptoaddr3%>
+ <br><%shiptoaddr4%>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+<!-- <th align=right><font color=ffffff>No.</th> -->
+ <th align=left><font color=ffffff>Number</th>
+ <th align=left><font color=ffffff>Description</th>
+ <th><font color=ffffff>Qt'y</th>
+ <th>&nbsp;</th>
+ <th><font color=ffffff>Price</th>
+ <th><font color=ffffff>Disc</th>
+ <th><font color=ffffff>Amount</th>
+ </tr>
+
+<%foreach number%>
+ <tr valign=top>
+<!-- <td align=right><%runningnumber%>.</td>
+adjust the colspan if you include this to shift subtotal one to the right
+-->
+ <td><%number%></td>
+ <td><%description%></td>
+ <td align=right><%qty%></td>
+ <td><%unit%></td>
+ <td align=right><%sellprice%></td>
+ <td align=right><%discount%></td>
+ <td align=right><%linetotal%></td>
+ </tr>
+<%end number%>
+
+<!--
+you can also use netprice instead of sellprice if you
+don't want to show the discount
+netprice = sellprice - discount
+-->
+
+ <tr>
+ <td colspan=7><hr noshade></td>
+ </tr>
+
+ <tr>
+<%if taxincluded%>
+ <th colspan=5 align=right>Total</th>
+ <td colspan=2 align=right><%invtotal%></td>
+<%end taxincluded%>
+<%if not taxincluded%>
+ <th colspan=5 align=right>Subtotal</th>
+ <td colspan=2 align=right><%subtotal%></td>
+<%end taxincluded%>
+ </tr>
+
+<%foreach tax%>
+ <tr>
+ <th colspan=5 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th>
+ <td colspan=2 align=right><%tax%></td>
+ </tr>
+<%end tax%>
+
+<%if paid%>
+ <tr>
+ <th colspan=5 align=right>Paid</th>
+ <td colspan=2 align=right>- <%paid%></td>
+ </tr>
+<%end paid%>
+
+ <tr>
+ <td colspan=3>&nbsp;</td>
+ <td colspan=4><hr noshade></td>
+ </tr>
+
+ <tr>
+ <td colspan=3>Terms Net <b><%terms%></b> days</td>
+ <th colspan=2 align=right>Outstanding</th>
+ <th colspan=2 align=right><%total%></th>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+<%if notes%>
+ <td>Notes</td>
+ <td><%notes%></td>
+<%end notes%>
+ <td align=right>
+ All prices in <b><%currency%></b> Funds
+ <br><%shippingpoint%>
+ </td>
+ </tr>
+
+ </table>
+ </td>
+</tr>
+
+<tr><td>&nbsp;</td></tr>
+
+<%if paid%>
+<tr>
+ <td colspan=7>
+ <table width=60%>
+ <tr>
+ <th align=left>Payments</th>
+ </tr>
+ <tr>
+ <td colspan=4>
+ <hr noshade>
+ </td>
+ </tr>
+ <tr>
+ <th align=left>Date</th>
+ <th align=left>Account</th>
+ <th align=left>Source</th>
+ <th align=left>Amount</th>
+ </tr>
+<%end paid%>
+
+<%foreach payment%>
+ <tr>
+ <td><%paymentdate%></td>
+ <td><%paymentaccount%></td>
+ <td><%paymentsource%></td>
+ <td><%payment%></td>
+ </tr>
+<%end payment%>
+
+<%if paid%>
+ </table>
+ </td>
+</tr>
+
+<tr>
+ <td>&nbsp;</td>
+</tr>
+<%end paid%>
+
+<tr>
+ <th colspan=7>
+ <br>Thank you for your valued business!
+ </th>
+</tr>
+
+<tr><td>&nbsp;</td></tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td><font size=-3>
+ Payment due NET <%terms%> Days from date of Invoice.
+ Interest on overdue amounts will acrue at the rate of 1.5% per month
+ from due date until paid in full. Items returned are subject to
+ a 10% restocking charge. A return authorization must be obtained
+ from <%company%> before goods are returned. Returns must be shipped
+ prepaid and properly insured. <%company%> will not be responsible
+ for damages during transit.
+ </font>
+ </td>
+ <td width=150>
+ X <hr noshade>
+ </td>
+ </tr>
+ </table>
+ </td>
+</tr>
+
+<%foreach tax%>
+ <tr>
+ <th colspan=7 align=left><font size=-2><%taxdescription%> Registration <%taxnumber%></th>
+ </tr>
+<%end tax%>
+
+<%if taxincluded%>
+ <tr>
+ <th colspan=7 align=left><font size=-2>Taxes shown are included in price.</th>
+ </tr>
+<%end taxincluded%>
+
+<!-- business number
+ <tr>
+ <th colspan=7 align=left><font size=-2>Business Number: <%businessnumber%></font></th>
+ </tr>
+-->
+
+<!-- banking information
+ <tr>
+ <th colspan=7 align=left>Banking Information:
+ <br>Bank
+ <br>Transit No.
+ <br>Account No.
+ </td>
+ </tr>
+-->
+
+</table>
+
+</td>
+</tr>
+</table>
+
+</body>
+</html>
+
diff --git a/sql-ledger/templates/Default-invoice.tex b/sql-ledger/templates/Default-invoice.tex
new file mode 100644
index 0000000..58a340d
--- /dev/null
+++ b/sql-ledger/templates/Default-invoice.tex
@@ -0,0 +1,231 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.5cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.5cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
+
+\newsavebox{\hdr}
+\sbox{\hdr}{
+ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+ \parbox{\textwidth}{
+ \parbox[b]{12cm}{
+ <%company%>
+
+ <%address%>}\hfill
+ \begin{tabular}[b]{rr@{}}
+ Telephone & <%tel%>\\
+ Facsimile & <%fax%>
+ \end{tabular}
+
+ \rule[1.5ex]{\textwidth}{0.5pt}
+ }
+}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}}
+
+\pagestyle{myheadings}
+%\thispagestyle{empty} use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+
+ \rule{\textwidth}{2pt}
+
+ \hfill
+ \begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
+ \end{tabularx}
+
+\newpage
+
+\markright{<%company%>\hfill <%invnumber%>}
+
+\vspace*{-12pt}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
+ \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
+ \textbf{Unit} & \textbf{Price} & \textbf{Disc} & \textbf{Amount} \\
+ & carried forward from page <%lastpage%> & & & & & <%sumcarriedforward%> \\
+<%end pagebreak%>
+
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\vspace*{0.5cm}
+
+\parbox[t]{1cm}{\hfill}
+ \parbox[t]{10.5cm}{
+ \textbf{To}
+ \vspace{0.5cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{0.3cm}
+
+%<%if contact%>
+%Attn: <%contact%>
+%\vspace{0.3cm}
+%<%end contact%>
+\vspace{0.5cm}
+
+<%if customerphone%>
+Tel: <%customerphone%>
+<%end customerphone%>
+
+<%if customerfax%>
+Fax: <%customerfax%>
+<%end customerfax%>
+
+<%email%>
+}
+\parbox[t]{7.5cm}{
+\textbf{Ship To}
+\vspace{0.5cm}
+
+<%shiptoname%>
+
+<%shiptoaddr1%>
+
+<%shiptoaddr2%>
+
+<%shiptoaddr3%>
+
+<%shiptoaddr4%>
+
+\vspace{0.3cm}
+
+\vspace{0.3cm}
+
+<%if shiptocontact%>
+Attn: <%shiptocontact%>
+\vspace{0.3cm}
+<%end shiptocontact%>
+
+<%if shiptophone%>
+Tel: <%shiptophone%>
+<%end shiptophone%>
+
+<%if shiptofax%>
+Fax: <%shiptofax%>
+<%end shiptofax%>
+
+<%shiptoemail%>
+}
+\hfill
+
+\vspace{1cm}
+
+\textbf{I N V O I C E}
+\hfill
+
+\vspace{1cm}
+
+\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
+ \textbf{Date} & <%invdate%> \\
+ \textbf{Number} & <%invnumber%> \\
+ \textbf{Order} & <%ordnumber%> \\
+ \textbf{Clerk} & <%employee%>
+\end{tabular}
+
+\vspace{1cm}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
+ \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
+ \textbf{Unit} & \textbf{Price} & \textbf{Disc} & \textbf{Amount} \\
+<%foreach number%>
+ <%number%> & <%description%> & <%qty%> &
+ <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\
+<%end number%>
+\end{tabular*}
+
+
+\parbox{\textwidth}{
+\rule{\textwidth}{2pt}
+
+\vspace{0.2cm}
+
+\hfill
+\begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Subtotal} & \textbf{<%subtotal%>} \\
+<%foreach tax%>
+ <%taxdescription%> on <%taxbase%> & <%tax%> \\
+<%end tax%>
+<%if paid%>
+ \textbf{Paid} & - <%paid%> \\
+<%end paid%>
+ \hline
+ \textbf{Balance Owing} & \textbf{<%total%>} \\
+\end{tabularx}
+
+\vspace{0.3cm}
+
+\hfill
+ All prices in \textbf{<%currency%>} funds.
+
+\vspace{12pt}
+
+<%if notes%>
+ <%notes%>
+<%end if%>
+
+}
+
+\vfill
+
+<%if paid%>
+\begin{tabularx}{10cm}{@{}lXlr@{}}
+ \textbf{Payments} & & & \\
+ \hline
+ \textbf{Date} & \textbf{Account} & \textbf{Source} & \textbf{Amount} \\
+<%end paid%>
+<%foreach payment%>
+ <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%payment%> \\
+<%end payment%>
+<%if paid%>
+\end{tabularx}
+<%end paid%>
+
+\vspace{1cm}
+
+\centerline{\textbf{Thank You for your valued business!}}
+
+\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+\footnotetext[1]{\tiny
+Payment due NET <%terms%> Days from date of Invoice. Interest on overdue
+amounts will acrue at the rate of 1.5\% per month starting <%duedate%>
+until paid in full. Items returned are subject to a 10\% restocking charge.
+A return authorization must be obtained from <%company%> before goods are
+returned. Returns must be shipped prepaid and properly insured.
+<%company%> will not be responsible for damages during transit.}
+
+\end{document}
+
+
+
diff --git a/sql-ledger/templates/Default-packing_list.html b/sql-ledger/templates/Default-packing_list.html
new file mode 100644
index 0000000..07ba8d6
--- /dev/null
+++ b/sql-ledger/templates/Default-packing_list.html
@@ -0,0 +1,148 @@
+
+<body bgcolor=ffffff>
+
+<table width=100%>
+<tr>
+ <td width=10>
+ </td>
+ <td>
+
+ <table width=100%>
+ <tr>
+ <td>
+ <h4>
+ <%company%>
+ <br><%address%>
+ </h4>
+ </td>
+
+ <th colspan=2>
+ <h4 align=center>P A C K I N G &nbsp;&nbsp; L I S T</h4>
+ </th>
+ </tr>
+
+ </table>
+
+
+ <table width=100% callspacing=0 cellpadding=0>
+
+ <tr>
+ <td align=right>
+ <table>
+ <tr>
+ <th align=right>Date</th><td width=10> </td><td><%invdate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Number</th><td></td><td><%invnumber%></td></tr>
+ </tr>
+
+ <tr>
+ <td>
+ </td>
+ </tr>
+ </td>
+ </table>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <th align=left><font color=ffffff>Ship To:</th>
+ </tr>
+
+ <tr>
+ <td><%shiptoname%>
+ <br><%shiptoaddr1%>
+ <br><%shiptoaddr2%>
+ <br><%shiptoaddr3%>
+ <br><%shiptoaddr4%>
+<%if shiptocontact%>
+ <p>Attn: <%shiptocontact%>
+<%end shiptocontact%>
+
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <th align=left><font color=ffffff>Number</th>
+ <th align=left><font color=ffffff>Description</th>
+ <th><font color=ffffff>Qt'y</th>
+ <th>&nbsp;</th>
+ </tr>
+
+<%foreach number%>
+ <tr valign=top>
+ <td><%number%></td>
+ <td><%description%></td>
+ <td align=right><%qty%></td>
+ <td><%unit%></td>
+ </tr>
+<%end number%>
+
+ <tr>
+ <td colspan=4><hr noshade></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+<%if notes%>
+ <td>Notes</td>
+ <td><pre><%notes%></pre></td>
+<%end notes%>
+ <td align=right>
+ <%shippingpoint%>
+ </td>
+ </tr>
+
+ </table>
+ </td>
+</tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td><font size=-3>
+ Items returned are subject to
+ a 10% restocking charge. A return authorization must be obtained
+ from <%company%> before goods are returned. Returns must be shipped
+ prepaid and properly insured. <%company%> will not be responsible
+ for damages during transit.
+ </font>
+ </td>
+ <td width=150>
+ X <hr noshade>
+ </td>
+ </tr>
+ </table>
+ </td>
+</tr>
+
+</table>
+
+</td>
+</tr>
+</table>
+
+</body>
+</html>
+
diff --git a/sql-ledger/templates/Default-packing_list.tex b/sql-ledger/templates/Default-packing_list.tex
new file mode 100644
index 0000000..fce1782
--- /dev/null
+++ b/sql-ledger/templates/Default-packing_list.tex
@@ -0,0 +1,122 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.5cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.5cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
+
+\newsavebox{\hdr}
+\sbox{\hdr}{
+ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+ \parbox{\textwidth}{
+ \parbox[b]{12cm}{
+ <%company%>
+
+ <%address%>}\hfill
+ \begin{tabular}[b]{rr@{}}
+ Telephone & <%tel%>\\
+ Facsimile & <%fax%>
+ \end{tabular}
+
+ \rule[1.5ex]{\textwidth}{0.5pt}
+ }
+}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}}
+
+\pagestyle{myheadings}
+%\thispagestyle{empty} use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+
+\newpage
+
+\markright{<%company%>\hfill <%invnumber%>}
+
+\vspace*{-12pt}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}}
+ \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
+ \textbf{Unit} & \textbf{Bin} \\
+<%end pagebreak%>
+
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\vspace*{2cm}
+
+<%shiptoname%>
+
+<%shiptoaddr1%>
+
+<%shiptoaddr2%>
+
+<%shiptoaddr3%>
+
+<%shiptoaddr4%>
+
+\vspace{3.5cm}
+
+\textbf{P A C K I N G} \parbox{0.3cm}{\hfill} \textbf{L I S T}
+
+\hfill
+\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
+ \textbf{Date} & <%invdate%> \\
+ \textbf{Number} & <%invnumber%> \\
+ \textbf{Customer} & <%customer_id%>
+\end{tabular}
+
+\vspace{1cm}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}}
+ \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
+ \textbf{Unit} & \textbf{Bin} \\
+<%foreach number%>
+ <%number%> & <%description%> & <%qty%> &
+ <%unit%> & <%bin%> \\
+<%end number%>
+\end{tabular*}
+
+
+\parbox{\textwidth}{
+\rule{\textwidth}{2pt}
+
+\vspace{12pt}
+
+<%if notes%>
+ <%notes%>
+<%end if%>
+
+}
+
+\vfill
+\centerline{\textbf{Thank You for your valued business!}}
+
+\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+\footnotetext[1]{\tiny
+Items returned are subject to a 10\% restocking charge.
+A return authorization must be obtained from <%company%> before goods are
+returned. Returns must be shipped prepaid and properly insured.
+<%company%> will not be responsible for damages during transit.}
+
+\end{document}
+
diff --git a/sql-ledger/templates/Default-purchase_order.html b/sql-ledger/templates/Default-purchase_order.html
new file mode 100644
index 0000000..7df399e
--- /dev/null
+++ b/sql-ledger/templates/Default-purchase_order.html
@@ -0,0 +1,224 @@
+
+<body bgcolor=ffffff>
+
+<table width=100%>
+<tr valign=bottom>
+ <td width=10>&nbsp;</td>
+ <td>
+
+ <table width=100%>
+ <tr>
+ <td>
+ <h4>
+ <%company%>
+ <br><%address%>
+ </h4>
+ </td>
+
+ <td align=right>
+ <h4>
+ Telephone: <%tel%>
+ <br>Facsimile: <%fax%>
+ </h4>
+ </td>
+ </tr>
+
+ <tr>
+ <th colspan=3>
+ <h4>P U R C H A S E &nbsp;&nbsp; O R D E R</h4>
+ </th>
+ </tr>
+
+ </table>
+
+
+ <table width=100% callspacing=0 cellpadding=0>
+
+ <tr>
+ <td align=right>
+ <table>
+ <tr>
+ <th align=right>Order Date</th><td width=10>&nbsp;</td><td><%orddate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Required by</th><td width=10>&nbsp;</td><td><%reqdate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Number</th><td>&nbsp;</td><td><%ordnumber%></td></tr>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+ </td>
+ </table>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <th align=left width=50%><font color=ffffff>To:</th>
+ <th align=left width=50%><font color=ffffff>Ship To:</th>
+ </tr>
+
+ <tr valign=top>
+ <td><%name%>
+ <br><%addr1%>
+ <br><%addr2%>
+ <br><%addr3%>
+ <br><%addr4%>
+
+<br>
+<%if contact%>
+<br>Attn: <%contact%>
+<%end contact%>
+<%if vendorphone%>
+<br>Tel: <%vendorphone%>
+<%end vendorphone%>
+<%if vendorfax%>
+<br>Fax: <%vendorfax%>
+<%end vendorfax%>
+ </td>
+
+ <td><%shiptoname%>
+ <br><%shiptoaddr1%>
+ <br><%shiptoaddr2%>
+ <br><%shiptoaddr3%>
+ <br><%shiptoaddr4%>
+
+<br>
+<%if shiptocontact%>
+<br>Attn: <%shiptocontact%>
+<%end shiptocontact%>
+<%if shiptophone%>
+<br>Tel: <%shiptophone%>
+<%end shiptophone%>
+<%if shiptofax%>
+<br>Fax: <%shiptofax%>
+<%end shiptofax%>
+
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+<!-- <th align=right><font color=ffffff>No.</th> -->
+ <th align=left><font color=ffffff>Number</th>
+ <th align=left><font color=ffffff>Description</th>
+ <th><font color=ffffff>Qt'y</th>
+ <th>&nbsp;</th>
+ <th><font color=ffffff>Price</th>
+ <th><font color=ffffff>Amount</th>
+ </tr>
+
+<%foreach number%>
+ <tr valign=top>
+<!-- <td align=right><%runningnumber%>.</td>
+adjust the colspan if you include this to shift subtotal one to the right
+-->
+ <td><%number%></td>
+ <td><%description%></td>
+ <td align=right><%qty%></td>
+ <td><%unit%></td>
+ <td align=right><%sellprice%></td>
+ <td align=right><%linetotal%></td>
+ </tr>
+<%end number%>
+
+ <tr>
+ <td colspan=6><hr noshade></td>
+ </tr>
+
+ <tr>
+ <th colspan=4 align=right>Subtotal</th>
+ <td colspan=2 align=right><%subtotal%></td>
+ </tr>
+
+<%foreach tax%>
+ <tr>
+ <th colspan=4 align=right><%taxdescription%> @ <%taxrate%> %</th>
+ <td colspan=2 align=right><%tax%></td>
+ </tr>
+<%end tax%>
+
+ <tr>
+ <td colspan=2>&nbsp;</td>
+ <td colspan=4><hr noshade></td>
+ </tr>
+
+ <tr>
+ <td colspan=2>Terms Net <b><%terms%></b> days</td>
+ <th colspan=2 align=right>Total</th>
+ <th colspan=2 align=right><%ordtotal%></th>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+<%if notes%>
+ <td>Notes</td>
+ <td><pre><%notes%></pre></td>
+<%end notes%>
+ <td align=right>
+ All prices in <b><%currency%></b> Funds
+ <br><%shippingpoint%>
+ </td>
+ </tr>
+
+ </table>
+ </td>
+</tr>
+
+<tr><td>&nbsp;</td></tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td><font size=-3>
+ Payment due NET <%terms%> Days from date of Invoice.
+ Interest on overdue amounts will acrue at the rate of 1.5% per month
+ from due date until paid in full. Items returned are subject to
+ a 10% restocking charge. A return authorization must be obtained
+ from <%company%> before goods are returned. Returns must be shipped
+ prepaid and properly insured. <%company%> will not be responsible
+ for damages during transit.
+ </font>
+ </td>
+ <td width=150>
+ X <hr noshade>
+ </td>
+ </tr>
+ </table>
+ </td>
+</tr>
+
+</table>
+
+</td>
+</tr>
+</table>
+
+</body>
+</html>
+
diff --git a/sql-ledger/templates/Default-purchase_order.tex b/sql-ledger/templates/Default-purchase_order.tex
new file mode 100644
index 0000000..4e1deb2
--- /dev/null
+++ b/sql-ledger/templates/Default-purchase_order.tex
@@ -0,0 +1,198 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.5cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.5cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
+
+\newsavebox{\hdr}
+\sbox{\hdr}{
+ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+ \parbox{\textwidth}{
+ \parbox[b]{12cm}{
+ <%company%>
+
+ <%address%>}\hfill
+ \begin{tabular}[b]{rr@{}}
+ Telephone & <%tel%>\\
+ Facsimile & <%fax%>
+ \end{tabular}
+
+ \rule[1.5ex]{\textwidth}{0.5pt}
+ }
+}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\markboth{<%company%>\hfill <%ordnumber%>}{\usebox{\hdr}}
+
+\pagestyle{myheadings}
+%\thispagestyle{empty} use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+
+ \rule{\textwidth}{2pt}
+
+ \hfill
+ \begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
+ \end{tabularx}
+
+\newpage
+
+\markright{<%company%>\hfill <%ordnumber%>}
+
+\vspace*{-12pt}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}}
+ \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
+ \textbf{Unit} & \textbf{Price} & \textbf{Amount} \\
+ & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\
+<%end pagebreak%>
+
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\vspace*{0.5cm}
+
+\parbox[t]{1cm}{\hfill}
+\parbox[t]{10.5cm}{
+\textbf{To}
+\vspace{0.5cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{0.3cm}
+
+<%if contact%>
+Attn: <%contact%>
+\vspace{0.3cm}
+<%end contact%>
+
+<%if vendorphone%>
+Tel: <%vendorphone%>
+<%end vendorphone%>
+
+<%if vendorfax%>
+Fax: <%vendorfax%>
+<%end vendorfax%>
+
+<%email%>
+}
+\parbox[t]{7.5cm}{
+\textbf{Ship To}
+\vspace{0.3cm}
+
+<%shiptoname%>
+
+<%shiptoaddr1%>
+
+<%shiptoaddr2%>
+
+<%shiptoaddr3%>
+
+<%shiptoaddr4%>
+
+\vspace{0.3cm}
+
+<%if shiptocontact%>
+Attn: <%shiptocontact%>
+\vspace{0.3cm}
+<%end shiptocontact%>
+
+<%if shiptophone%>
+Tel: <%shiptophone%>
+<%end shiptophone%>
+
+<%if shiptofax%>
+Fax: <%shiptofax%>
+<%end shiptofax%>
+
+<%shiptoemail%>
+}
+\hfill
+
+\vspace{1cm}
+
+\textbf{P U R C H A S E} \parbox{0.3cm}{\hfill} \textbf{O R D E R}
+\hfill
+\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
+ \textbf{Date} & <%orddate%> \\
+<%if reqdate%>
+ \textbf{Required by} & <%reqdate%> \\
+<%end reqdate%>
+ \textbf{Number} & <%ordnumber%>
+\end{tabular}
+
+\vspace{1cm}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}}
+ \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
+ \textbf{Unit} & \textbf{Price} & \textbf{Amount} \\
+<%foreach number%>
+ <%number%> & <%description%> & <%qty%> &
+ <%unit%> & <%sellprice%> & <%linetotal%> \\
+<%end number%>
+\end{tabular*}
+
+
+\parbox{\textwidth}{
+\rule{\textwidth}{2pt}
+
+\vspace{0.2cm}
+
+\hfill
+\begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Subtotal} & \textbf{<%subtotal%>} \\
+<%foreach tax%>
+ <%taxdescription%> on <%taxbase%> & <%tax%>\\
+<%end tax%>
+ \hline
+ \textbf{Total} & \textbf{<%ordtotal%>}\\
+\end{tabularx}
+
+\vspace{0.3cm}
+
+\hfill
+ All prices in \textbf{<%currency%>} funds.
+
+\vspace{12pt}
+
+<%if notes%>
+ <%notes%>
+<%end if%>
+
+}
+
+
+%\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+%\footnotetext[1]{\tiny }
+
+\end{document}
+
+
diff --git a/sql-ledger/templates/Default-receipt.tex b/sql-ledger/templates/Default-receipt.tex
new file mode 100644
index 0000000..24427b3
--- /dev/null
+++ b/sql-ledger/templates/Default-receipt.tex
@@ -0,0 +1,74 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.4cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.0cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+
+\fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont
+
+\parbox[t]{12cm}{
+ <%company%>
+
+ <%address%>}
+\hfill
+\parbox[t]{6cm}{\hfill <%source%>}
+
+\vspace*{0.6cm}
+
+<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill}
+
+\vspace{0.5cm}
+
+\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%>
+
+\vspace{0.5cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{1.8cm}
+
+<%notes%>
+
+\vspace{0.8cm}
+
+<%company%>
+
+\vspace{0.5cm}
+
+<%name%> \hfill <%datepaid%> \hfill <%source%>
+
+\vspace{0.5cm}
+\begin{tabularx}{\textwidth}{lXrr@{}}
+\textbf{Invoice No.} & \textbf{Invoice Date}
+ & \textbf{Due} & \textbf{Applied} \\
+<%foreach invnumber%>
+<%invnumber%> & <%invdate%> \dotfill
+ & <%due%> & <%paid%> \\
+<%end invnumber%>
+\end{tabularx}
+
+\vfill
+
+\end{document}
diff --git a/sql-ledger/templates/Default-sales_order.html b/sql-ledger/templates/Default-sales_order.html
new file mode 100644
index 0000000..c09e13a
--- /dev/null
+++ b/sql-ledger/templates/Default-sales_order.html
@@ -0,0 +1,212 @@
+
+<body bgcolor=ffffff>
+
+<table width=100%>
+<tr valign=bottom>
+ <td width=10>&nbsp;</td>
+ <td>
+
+ <table width=100%>
+ <tr>
+ <td>
+ <h4>
+ <%company%>
+ <br><%address%>
+ </h4>
+ </td>
+
+ <td align=right>
+ <h4>
+ Telephone: <%tel%>
+ <br>Facsimile: <%fax%>
+ </h4>
+ </td>
+ </tr>
+
+ <tr>
+ <th colspan=3>
+ <h4>S A L E S &nbsp;&nbsp; O R D E R</h4>
+ </th>
+ </tr>
+
+ </table>
+
+
+ <table width=100% callspacing=0 cellpadding=0>
+
+ <tr>
+ <td align=right>
+ <table>
+ <tr>
+ <th align=right>Order Date</th><td width=10>&nbsp;</td><td><%orddate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Required by</th><td width=10>&nbsp;</td><td><%reqdate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Number</th><td>&nbsp;</td><td><%ordnumber%></td></tr>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+ </td>
+ </table>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <th align=left><font color=ffffff>To:</th>
+ <th align=left><font color=ffffff>Ship To:</th>
+ </tr>
+
+ <tr>
+ <td><%name%>
+ <br><%addr1%>
+ <br><%addr2%>
+ <br><%addr3%>
+ <br><%addr4%>
+ </td>
+
+ <td><%shiptoname%>
+ <br><%shiptoaddr1%>
+ <br><%shiptoaddr2%>
+ <br><%shiptoaddr3%>
+ <br><%shiptoaddr4%>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+<!-- <th align=right><font color=ffffff>No.</th> -->
+ <th align=left><font color=ffffff>Number</th>
+ <th align=left><font color=ffffff>Description</th>
+ <th><font color=ffffff>Qt'y</th>
+ <th>&nbsp;</th>
+ <th><font color=ffffff>Price</th>
+ <th><font color=ffffff>Disc</th>
+ <th><font color=ffffff>Amount</th>
+ </tr>
+
+<%foreach number%>
+ <tr valign=top>
+<!-- <td align=right><%runningnumber%>.</td>
+adjust the colspan if you include this to shift subtotal one to the right
+-->
+ <td><%number%></td>
+ <td><%description%></td>
+ <td align=right><%qty%></td>
+ <td><%unit%></td>
+ <td align=right><%sellprice%></td>
+ <td align=right><%discount%></td>
+ <td align=right><%linetotal%></td>
+ </tr>
+<%end number%>
+
+ <tr>
+ <td colspan=7><hr noshade></td>
+ </tr>
+
+ <tr>
+<%if taxincluded%>
+ <th colspan=5 align=right>Total</th>
+ <td colspan=2 align=right><%ordtotal%></td>
+<%end taxincluded%>
+
+<%if not taxincluded%>
+ <th colspan=5 align=right>Subtotal</th>
+ <td colspan=2 align=right><%subtotal%></td>
+<%end taxincluded%>
+ </tr>
+
+<%foreach tax%>
+ <tr>
+ <th colspan=5 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th>
+ <td colspan=2 align=right><%tax%></td>
+ </tr>
+<%end tax%>
+
+ <tr>
+ <td colspan=2>&nbsp;</td>
+ <td colspan=5><hr noshade></td>
+ </tr>
+
+ <tr>
+ <td colspan=3>Terms Net <b><%terms%></b> days</td>
+ <th colspan=2 align=right>Total</th>
+ <th colspan=2 align=right><%ordtotal%></th>
+ </tr>
+<%if taxincluded%>
+ <tr>
+ <td colspan=3>Tax is included in Total</td>
+ </tr>
+<%end taxincluded%>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+<%if notes%>
+ <td>Notes</td>
+ <td><pre><%notes%></pre></td>
+<%end notes%>
+ <td align=right>
+ All prices in <b><%currency%></b> Funds
+ <br><%shippingpoint%>
+ </td>
+ </tr>
+
+ </table>
+ </td>
+</tr>
+
+<tr><td>&nbsp;</td></tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td><font size=-3>
+ A 10% order cancellation fee will be applied for any special order
+ products or products that have been customized, enhanced or
+ upgraded at customers request.
+ </font>
+ </td>
+ <td width=150>
+ X <hr noshade>
+ </td>
+ </tr>
+ </table>
+ </td>
+</tr>
+
+</table>
+
+</td>
+</tr>
+</table>
+
+</body>
+</html>
+
diff --git a/sql-ledger/templates/Default-sales_order.tex b/sql-ledger/templates/Default-sales_order.tex
new file mode 100644
index 0000000..d5ac40c
--- /dev/null
+++ b/sql-ledger/templates/Default-sales_order.tex
@@ -0,0 +1,143 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.5cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.5cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
+
+\newsavebox{\hdr}
+\sbox{\hdr}{
+ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+ \parbox{\textwidth}{
+ \parbox[b]{12cm}{
+ <%company%>
+
+ <%address%>}\hfill
+ \begin{tabular}[b]{rr@{}}
+ Telephone & <%tel%>\\
+ Facsimile & <%fax%>
+ \end{tabular}
+
+ \rule[1.5ex]{\textwidth}{0.5pt}
+ }
+}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\markboth{<%company%>\hfill <%ordnumber%>}{\usebox{\hdr}}
+
+\pagestyle{myheadings}
+%\thispagestyle{empty} use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+
+ \rule{\textwidth}{2pt}
+
+ \hfill
+ \begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
+ \end{tabularx}
+
+\newpage
+
+\markright{<%company%>\hfill <%ordnumber%>}
+
+\vspace*{-12pt}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
+ \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
+ \textbf{Unit} & \textbf{Price} & \textbf{Disc} & \textbf{Amount} \\
+ & carried forward from <%lastpage%> & & & & & <%sumcarriedforward%> \\
+<%end pagebreak%>
+
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\vspace*{2cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{3.5cm}
+
+\textbf{S A L E S} \parbox{0.3cm}{\hfill} \textbf{O R D E R}
+\hfill
+\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
+ \textbf{Date} & <%orddate%> \\
+ \textbf{Number} & <%ordnumber%>
+\end{tabular}
+
+\vspace{1cm}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
+ \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
+ \textbf{Unit} & \textbf{Price} & \textbf{Disc} & \textbf{Amount} \\
+<%foreach number%>
+ <%number%> & <%description%> & <%qty%> &
+ <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\
+<%end number%>
+\end{tabular*}
+
+
+\parbox{\textwidth}{
+\rule{\textwidth}{2pt}
+
+\vspace{0.2cm}
+
+\hfill
+\begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Subtotal} & \textbf{<%subtotal%>} \\
+<%foreach tax%>
+ <%taxdescription%> on <%taxbase%> & <%tax%>\\
+<%end tax%>
+ \hline
+ \textbf{Total} & \textbf{<%ordtotal%>}\\
+\end{tabularx}
+
+\vspace{0.3cm}
+
+\hfill
+ All prices in \textbf{<%currency%>} funds.
+
+\vspace{12pt}
+
+<%if notes%>
+ <%notes%>
+<%end if%>
+
+}
+
+
+\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+\footnotetext[1]{\tiny
+A 10\% order cancellation fee will be applied for any special order products or
+products that have been customized, enhanced or upgraded at customers request.
+Items which are non-returnable are indicated above.
+}
+
+\end{document}
+
diff --git a/sql-ledger/templates/Default-statement.html b/sql-ledger/templates/Default-statement.html
new file mode 100644
index 0000000..6fca322
--- /dev/null
+++ b/sql-ledger/templates/Default-statement.html
@@ -0,0 +1,121 @@
+
+<body bgcolor=ffffff>
+
+<table width=100%>
+ <tr>
+ <td width=10>&nbsp;</td>
+ <td>
+ <table width=100%>
+ <tr>
+ <td>
+ <h4>
+ <%company%>
+ <br><%address%>
+ </h4>
+ </td>
+ <th><img src=http://www.sql-ledger.org/images/sql-ledger.png border=0 width=64 height=58></th>
+ <td align=right>
+ <h4>
+ Tel: <%tel%>
+ <br>Fax: <%fax%>
+ </h4>
+ </td>
+ </tr>
+ <tr>
+ <th colspan=3><h4>S T A T E M E N T</h4></th>
+ </tr>
+ <tr>
+ <td colspan=3 align=right><%statementdate%></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td><%name%>
+ <br><%addr1%>
+ <br><%addr2%>
+ <br><%addr3%>
+ <br><%addr4%>
+ <br>
+<%if customerphone%>
+ <br>Tel: <%customerphone%>
+<%end customerphone%>
+<%if customerfax%>
+ <br>Fax: <%customerfax%>
+<%end customerfax%>
+<%if email%>
+ <br><%email%>
+<%end email%>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr height=10></tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td>
+ <table width=100%>
+ <tr>
+ <th align=left>Invoice #</th>
+ <th width=15%>Date</th>
+ <th width=15%>Due</th>
+ <th width=10%>Current</th>
+ <th width=10%>30</th>
+ <th width=10%>60</th>
+ <th width=10%>90+</th>
+ </tr>
+<%foreach invnumber%>
+ <tr>
+ <td><%invnumber%></td>
+ <td><%invdate%></td>
+ <td><%duedate%></td>
+ <td align=right><%c0%></td>
+ <td align=right><%c30%></td>
+ <td align=right><%c60%></td>
+ <td align=right><%c90%></td>
+ </tr>
+<%end invnumber%>
+ <tr>
+ <td colspan=7><hr size=1></td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td>&nbsp;</td>
+ <td>&nbsp;</td>
+ <th align=right><%c0total%></td>
+ <th align=right><%c30total%></td>
+ <th align=right><%c60total%></td>
+ <th align=right><%c90total%></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr height=10></tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td align=right>
+ <table width=50%>
+ <tr>
+ <th>Total Outstanding</th>
+ <th align=right><%total%></th>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td><hr noshade></td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td>Please make check payable to <b><%company%></b>.
+ </td>
+ </tr>
+ <tr height=20></tr>
+</table>
+
diff --git a/sql-ledger/templates/Default-statement.tex b/sql-ledger/templates/Default-statement.tex
new file mode 100644
index 0000000..0b63f75
--- /dev/null
+++ b/sql-ledger/templates/Default-statement.tex
@@ -0,0 +1,137 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.5cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.5cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
+
+\newsavebox{\hdr}
+\sbox{\hdr}{
+ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+ \parbox{\textwidth}{
+ \parbox[b]{12cm}{
+ <%company%>
+
+ <%address%>}\hfill
+ \begin{tabular}[b]{rrr@{}}
+ Tel & <%tel%>\\
+ Fax & <%fax%>
+ \end{tabular}
+
+ \rule[1.5ex]{\textwidth}{0.5pt}
+ }
+}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\markboth{<%company%>\hfill <%statementdate%>}{\usebox{\hdr}}
+
+\pagestyle{myheadings}
+%\thispagestyle{empty} use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+
+ \rule{\textwidth}{2pt}
+
+ \hfill
+ \begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
+ \end{tabularx}
+
+\newpage
+
+\markright{<%company%>\hfill <%statementdate%>}
+
+\vspace*{-12pt}
+
+\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}}
+ \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} &
+ \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\
+ carried forward from <%lastpage%> & & & & & & <%sumcarriedforward%> \\
+<%end pagebreak%>
+
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\vspace*{1.5cm}
+
+\parbox[t]{1cm}{\hfill}
+\parbox[t]{10.5cm}{
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+}
+\parbox[t]{7.5cm}{
+<%if customerphone%>
+Tel: <%customerphone%>
+<%end customerphone%>
+
+<%if customerfax%>
+Fax: <%customerfax%>
+<%end customerfax%>
+
+<%email%>
+}
+\hfill
+
+\vspace{1cm}
+
+\textbf{S T A T E M E N T} \hfill
+
+\hfill <%statementdate%>
+
+\vspace{2cm}
+
+\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}}
+ \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} &
+ \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\
+<%foreach invnumber%>
+ <%invnumber%> & <%invdate%> & <%duedate%> &
+ <%c0%> & <%c30%> & <%c60%> & <%c90%> \\
+<%end invnumber%>
+\textbf{Subtotal} & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%>
+\end{tabular*}
+\rule{\textwidth}{1pt}
+
+\vspace{1cm}
+
+\hfill
+\begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Total outstanding} & <%total%>
+\end{tabularx}
+
+\vfill
+
+Please make check payable to <%company%>
+
+\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+\footnotetext[1]{\tiny
+}
+
+\end{document}
+
diff --git a/sql-ledger/templates/Dutch-balance_sheet.html b/sql-ledger/templates/Dutch-balance_sheet.html
new file mode 100644
index 0000000..16ede70
--- /dev/null
+++ b/sql-ledger/templates/Dutch-balance_sheet.html
@@ -0,0 +1,104 @@
+
+<body bgcolor=ffffff>
+
+<h2 align=center>
+<%company%>
+<br><%address%>
+
+<p>BALANS
+<br><%period%>
+</h2>
+
+<table border=0>
+<tr>
+ <th align=left width=400 colspan=2>ACTIVA<br><hr align=left width=250 size=5 noshade></th>
+ <th><%this_period%></th>
+ <th><%last_period%></th>
+</tr>
+
+<%foreach asset_account%>
+<tr>
+ <td> </td>
+ <td><%asset_account%></td>
+ <td align=right><%asset_this_period%></td>
+ <td align=right><%asset_last_period%></td>
+</tr>
+<%end asset_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <th align=left colspan=2>Totaal Activa</th>
+ <td align=right><%total_assets_this_period%><hr noshade size=2></td>
+ <td align=right><%total_assets_last_period%><hr noshade size=2></td>
+</tr>
+
+<tr>
+ <th align=left colspan=4>PASSIVA<b><hr align=left width=250 size=5 noshade></th>
+</tr>
+
+<%foreach liability_account%>
+<tr>
+ <td></td>
+ <td><%liability_account%></td>
+ <td align=right><%liability_this_period%></td>
+ <td align=right><%liability_last_period%></td>
+</tr>
+<%end liability_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <td></td>
+ <th align=left>Totaal Passiva</th>
+ <td align=right><%total_liabilities_this_period%><br><hr noshade size=2</td>
+ <td align=right><%total_liabilities_last_period%><br><hr noshade size=2</td>
+</tr>
+
+<tr>
+ <th align=left colspan=4>ONVERDEELD RESULTAAT<br><hr align=left width=250 size=5 noshade></th>
+</tr>
+
+<%foreach equity_account%>
+<tr>
+ <td></td>
+ <td><%equity_account%></td>
+ <td align=right><%equity_this_period%></td>
+ <td align=right><%equity_last_period%></td>
+</tr>
+<%end equity_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <td></td>
+ <th align=left>Totaal Opbrengst</th>
+ <td align=right><%total_equity_this_period%><br><hr noshade size=2</td>
+ <td align=right><%total_equity_last_period%><br><hr noshade size=2</td>
+</tr>
+
+<tr valign=top>
+ <th align=left colspan=2>TOTAAL PASSIVA & RESULTAAT</th>
+ <td align=right><%total_this_period%><br><hr noshade size=2></td>
+ <td align=right><%total_last_period%><br><hr noshade size=2></td>
+</tr>
+</table>
+
+
+
+
+
+
+
diff --git a/sql-ledger/templates/Dutch-check.tex b/sql-ledger/templates/Dutch-check.tex
new file mode 100644
index 0000000..5b64e81
--- /dev/null
+++ b/sql-ledger/templates/Dutch-check.tex
@@ -0,0 +1,71 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.4cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.0cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+
+\fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont
+
+\parbox[t]{12cm}{
+ <%company%>
+
+ <%address%>}
+\hfill
+\parbox[t]{6cm}{\hfill <%source%>}
+
+\vspace*{0.6cm}
+
+<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill}
+
+\vspace{0.5cm}
+
+\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%>
+
+\vspace{0.5cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{2.8cm}
+
+<%company%>
+
+\vspace{0.5cm}
+
+<%name%> \hfill <%datepaid%> \hfill <%source%>
+
+\vspace{0.5cm}
+\begin{tabularx}{\textwidth}{lXrr@{}}
+\textbf{Invoice No.} & \textbf{Invoice Date}
+ & \textbf{Due} & \textbf{Applied} \\
+<%foreach invnumber%>
+<%invnumber%> & <%invdate%> \dotfill
+ & <%due%> & <%paid%> \\
+<%end invnumber%>
+\end{tabularx}
+
+\vfill
+
+\end{document}
+
diff --git a/sql-ledger/templates/Dutch-income_statement.html b/sql-ledger/templates/Dutch-income_statement.html
new file mode 100644
index 0000000..ce4fd24
--- /dev/null
+++ b/sql-ledger/templates/Dutch-income_statement.html
@@ -0,0 +1,83 @@
+
+<body bgcolor=ffffff>
+
+<h2 align=center>
+<%company%>
+<br><%address%>
+
+<p>INKOMSTEN OVERZICHT
+<br><%period%>
+</h2>
+
+
+<table width=100% border=0>
+<tr>
+ <th width=400 align=left colspan=2>INKOMSTEN<br><hr width=300 size=5 align=left noshade></th>
+ <th><%this_period%></th>
+ <th><%last_period%></th>
+</tr>
+
+<%foreach income_account%>
+<tr>
+ <td width=4> </td>
+ <td><%income_account%></td>
+ <td align=right><%income_this_period%></td>
+ <td align=right><%income_last_period%></td>
+</tr>
+<%end income_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <td> </td>
+ <th align=left>Totaal Inkomsten</th>
+ <td align=right><%total_income_this_period%><hr noshade size=2></td>
+ <td align=right><%total_income_last_period%><hr noshade size=2></td>
+</tr>
+
+<tr>
+ <th align=left colspan=2>ONKOSTEN<br><hr width=300 size=5 align=left noshade></th>
+</tr>
+
+<%foreach expense_account%>
+<tr>
+ <td> </td>
+ <td><%expense_account%></td>
+ <td align=right><%expenses_this_period%></td>
+ <td align=right><%expenses_last_period%></td>
+</tr>
+<%end expense_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <td> </td>
+ <th align=left>Totaal Onkosten</th>
+ <td align=right><%total_expenses_this_period%><br><hr noshade size=2</td>
+ <td align=right><%total_expenses_last_period%><br><hr noshade size=2</td>
+</tr>
+
+<tr valign=top>
+ <th align=left colspan=2>WINST / (VERLIES)</th>
+ <td align=right><%total_this_period%><br><hr noshade size=2></td>
+ <td align=right><%total_last_period%><br><hr noshade size=2></td>
+</tr>
+
+</table>
+
+
+
+
+
+
+
+
+
diff --git a/sql-ledger/templates/Dutch-invoice.html b/sql-ledger/templates/Dutch-invoice.html
new file mode 100644
index 0000000..9dc656c
--- /dev/null
+++ b/sql-ledger/templates/Dutch-invoice.html
@@ -0,0 +1,239 @@
+
+<body bgcolor=ffffff>
+
+<table width=100%>
+<tr valign=bottom>
+ <td width=10>&nbsp;</td>
+ <td>
+
+ <table width=100%>
+ <tr>
+ <td>
+ <h4>
+ <%company%>
+ <br><%address%>
+ </h4>
+ </td>
+
+ <td align=right>
+ <h4>
+ Tel: <%tel%>
+ <br>Fax: <%fax%>
+ </h4>
+ </td>
+ </tr>
+
+ <tr>
+ <th colspan=3>
+ <h4>F A C T U U R</h4>
+ </th>
+ </tr>
+
+ </table>
+
+
+ <table width=100% callspacing=0 cellpadding=0>
+
+ <tr>
+ <td align=right>
+ <table>
+ <tr>
+ <th align=right>Factuurdatum</th><td width=10>&nbsp;</td><td><%invdate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Vervaldatum</th><td width=10>&nbsp;</td><td><%duedate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Factuurnummer</th><td>&nbsp;</td><td><%invnumber%></td></tr>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+ </td>
+ </table>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <th align=left><font color=ffffff>Factuuradres:</th>
+ <th align=left><font color=ffffff>Verzendadres:</th>
+ </tr>
+
+ <tr>
+ <td><%name%>
+ <br><%addr1%>
+ <br><%addr2%>
+ <br><%addr3%>
+ <br><%addr4%>
+ </td>
+
+ <td><%shiptoname%>
+ <br><%shiptoaddr1%>
+ <br><%shiptoaddr2%>
+ <br><%shiptoaddr3%>
+ <br><%shiptoaddr4%>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+<!-- <th align=right><font color=ffffff>Regel</th> -->
+ <th align=left><font color=ffffff>Artikelnummer</th>
+ <th align=left><font color=ffffff>Omschrijving</th>
+ <th><font color=ffffff>Aantal</th>
+ <th>&nbsp;</th>
+ <th><font color=ffffff>Prijs</th>
+ <th><font color=ffffff>Korting</th>
+ <th><font color=ffffff>Totaal</th>
+ </tr>
+
+<%foreach number%>
+ <tr valign=top>
+<!-- <td align=right><%runningnumber%>.</td>
+adjust the colspan if you include this to shift subtotal one to the right
+-->
+ <td><%number%></td>
+ <td><%description%></td>
+ <td align=right><%qty%></td>
+ <td><%unit%></td>
+ <td align=right><%sellprice%></td>
+ <td align=right><%discount%></td>
+ <td align=right><%linetotal%></td>
+ </tr>
+<%end number%>
+
+<!--
+you can also use netprice instead of sellprice if you
+don't want to show the discount
+netprice = sellprice - discount
+-->
+
+ <tr>
+ <td colspan=7><hr noshade></td>
+ </tr>
+
+ <tr>
+ <th colspan=5 align=right>Subtotaal</th>
+ <td colspan=2 align=right><%subtotal%></td>
+ </tr>
+
+<%foreach tax%>
+ <tr>
+ <th colspan=5 align=right>BTW <%taxrate%>%</th>
+ <td colspan=2 align=right><%tax%></td>
+ </tr>
+<%end tax%>
+
+<%if paid%>
+ <tr>
+ <th colspan=5 align=right>Betaald</th>
+ <td colspan=2 align=right>- <%paid%></td>
+ </tr>
+<%end paid%>
+
+ <tr>
+ <td colspan=3>&nbsp;</td>
+ <td colspan=4><hr noshade></td>
+ </tr>
+
+ <tr>
+ <td colspan=3>Betalen binnen <b><%terms%></b> dagen</td>
+ <th colspan=2 align=right>Openstaand</th>
+ <th colspan=2 align=right><%total%></th>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+<%if notes%>
+ <td>Opmerkingen</td>
+ <td><pre><%notes%></pre></td>
+<%end notes%>
+ <td align=right>
+ Alle prijzen in <b><%currency%></b>
+ <br><%shippingpoint%>
+ </td>
+ </tr>
+
+ </table>
+ </td>
+</tr>
+
+<tr><td>&nbsp;</td></tr>
+
+<tr>
+ <th colspan=7>
+ Gaarne u betaling overmaken op onderstaande giro- of bankrekening
+ <br>ten name van <%company%>
+ <br>onder vermelding van het factuurnummer.
+ </th>
+</tr>
+
+<tr><td>&nbsp;</td></tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td><font size=-3>
+ Op al onze aanbiedingen/leveringen zijn, met uitsluiting van eventuele inkoop- of andere voorwaarden van de opdrachtgever,
+<br>de Algemene Voorwaarden van <%company%> van toepassing.
+<br>Deze Algemene Voorwaarden zijn gedeponeerd bij de Kamer van Koophandel te ........
+ </font>
+ </td>
+ <td width=150>
+ X <hr noshade>
+ </td>
+ </tr>
+ </table>
+ </td>
+</tr>
+
+ <tr>
+ <th colspan=7 align=left><font size=-2>BTW nummer:<%taxnumber%></th>
+ </tr>
+
+ <tr>
+ <th colspan=7 align=left><font size=-2>Kamer van Koophandel te ...... nummer:<%businessnumber%></th>
+ </tr>
+
+ <tr>
+ <th colspan=7 align=left><font size=-2>Girorekening:.........</th>
+ </tr>
+
+ <tr>
+ <th colspan=7 align=left><font size=-2>Bankrekening:..........</th>
+ </tr>
+
+</table>
+
+</td>
+</tr>
+</table>
+
+</body>
+</html>
+
diff --git a/sql-ledger/templates/Dutch-invoice.tex b/sql-ledger/templates/Dutch-invoice.tex
new file mode 100644
index 0000000..c19d8e2
--- /dev/null
+++ b/sql-ledger/templates/Dutch-invoice.tex
@@ -0,0 +1,138 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.5cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.5cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
+
+\newsavebox{\hdr}
+\sbox{\hdr}{
+ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+ \parbox{\textwidth}{
+ \parbox[b]{12cm}{
+ <%company%>
+
+ <%address%>}\hfill
+ \begin{tabular}[b]{rr@{}}
+ Telephone & <%tel%>\\
+ Facsimile & <%fax%>
+ \end{tabular}
+
+ \rule[1.5ex]{\textwidth}{0.5pt}
+ }
+}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}}
+
+\pagestyle{myheadings}
+%\thispagestyle{empty} use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+
+ \rule{\textwidth}{2pt}
+
+ \hfill
+ \begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
+ \end{tabularx}
+
+\newpage
+
+\markright{<%company%>\hfill <%invnumber%>}
+
+\vspace*{-12pt}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
+ \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
+ \textbf{Unit} & \textbf{Price} & \textbf{Disc} & \textbf{Amount} \\
+ & carried forward from page <%lastpage%> & & & & & <%sumcarriedforward%> \\
+<%end pagebreak%>
+
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\vspace*{2cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{3.5cm}
+
+\textbf{F A K T U U R}
+\hfill
+\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
+ \textbf{Datum} & <%invdate%> \\
+ \textbf{Faktuurnummer} & <%invnumber%> \\
+ \textbf{Klantnummer} & <%customer_id%>
+\end{tabular}
+
+\vspace{1cm}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
+ \textbf{Artikelnr} & \textbf{Omschrijving} & \textbf{Aantal} &
+ \textbf{Eenheid} & \textbf{Prijs} & \textbf{Korting} & \textbf{Bedrag} \\
+<%foreach number%>
+ <%number%> & <%description%> & <%qty%> &
+ <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\
+<%end number%>
+\end{tabular*}
+
+
+\parbox{\textwidth}{
+\rule{\textwidth}{2pt}
+
+\vspace{0.2cm}
+
+\hfill
+\begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Subtotaal} & \textbf{<%subtotal%>} \\
+<%foreach tax%>
+ <%taxdescription%> on <%taxbase%> & <%tax%>\\
+<%end tax%>
+ \hline
+ \textbf{Totaal} & \textbf{<%total%>}\\
+\end{tabularx}
+
+\vspace{0.3cm}
+
+\hfill
+ Alle prijzen in \textbf{<%currency%>}.
+
+\vspace{12pt}
+
+<%if notes%>
+ <%notes%>
+<%end if%>
+
+}
+
+\vfill
+\centerline{\textbf{Dank voor uw gewaardeerde klandizie!}}
+
+\end{document}
+
diff --git a/sql-ledger/templates/Dutch-packing_list.html b/sql-ledger/templates/Dutch-packing_list.html
new file mode 100644
index 0000000..aea6ba7
--- /dev/null
+++ b/sql-ledger/templates/Dutch-packing_list.html
@@ -0,0 +1,121 @@
+
+<body bgcolor=ffffff>
+
+<table width=100%>
+<tr>
+ <td width=10>
+ </td>
+ <td>
+
+ <table width=100%>
+ <tr>
+ <td>
+ <h4>
+ <%company%>
+ <br><%address%>
+ </h4>
+ </td>
+
+ <th colspan=2>
+ <h4 align=center>P A K B O N</h4>
+ </th>
+ </tr>
+
+ </table>
+
+
+ <table width=100% callspacing=0 cellpadding=0>
+
+ <tr>
+ <td align=right>
+ <table>
+ <tr>
+ <th align=right>Factuurdatum</th><td width=10> </td><td><%invdate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Factuurnummer</th><td></td><td><%invnumber%></td></tr>
+ </tr>
+
+ <tr>
+ <td>
+ </td>
+ </tr>
+ </td>
+ </table>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <th align=left><font color=ffffff>Verzendadres:</th>
+ </tr>
+
+ <tr>
+ <td><%shiptoname%>
+ <br><%shiptoaddr1%>
+ <br><%shiptoaddr2%>
+ <br><%shiptoaddr3%>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <th align=left><font color=ffffff>Artikelnummer</th>
+ <th align=left><font color=ffffff>Omschrijving</th>
+ <th><font color=ffffff>Aantal</th>
+ <th>&nbsp;</th>
+ </tr>
+
+<%foreach number%>
+ <tr valign=top>
+ <td><%number%></td>
+ <td><%description%></td>
+ <td align=right><%qty%></td>
+ <td><%unit%></td>
+ </tr>
+<%end number%>
+
+ <tr>
+ <td colspan=4><hr noshade></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+<%if notes%>
+ <td>Opmerkingen</td>
+ <td><pre><%notes%></pre></td>
+<%end notes%>
+ <td align=right>
+ <%shippingpoint%>
+ </td>
+ </tr>
+
+ </table>
+ </td>
+</tr>
+
+</table>
+
+</td>
+</tr>
+</table>
+
+
diff --git a/sql-ledger/templates/Dutch-packing_list.tex b/sql-ledger/templates/Dutch-packing_list.tex
new file mode 100644
index 0000000..84289bc
--- /dev/null
+++ b/sql-ledger/templates/Dutch-packing_list.tex
@@ -0,0 +1,114 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.5cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.5cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
+
+\newsavebox{\hdr}
+\sbox{\hdr}{
+ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+ \parbox{\textwidth}{
+ \parbox[b]{12cm}{
+ <%company%>
+
+ <%address%>}\hfill
+ \begin{tabular}[b]{rr@{}}
+ Telefoon & <%tel%>\\
+ Fax & <%fax%>
+ \end{tabular}
+
+ \rule[1.5ex]{\textwidth}{0.5pt}
+ }
+}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}}
+
+\pagestyle{myheadings}
+%\thispagestyle{empty} use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+
+\newpage
+
+\markright{<%company%>\hfill <%invnumber%>}
+
+\vspace*{-12pt}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}}
+ \textbf{Nummer} & \textbf{Omschrijving} & \textbf{Aantal} &
+ \textbf{Eenheid} & \textbf{Bin} \\
+<%end pagebreak%>
+
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\vspace*{2cm}
+
+<%shiptoname%>
+
+<%shiptoaddr1%>
+
+<%shiptoaddr2%>
+
+<%shiptoaddr3%>
+
+<%shiptoaddr4%>
+
+\vspace{3.5cm}
+
+\textbf{P A K B O N} \parbox{0.3cm}{\hfill} \textbf{L I S T}
+
+\hfill
+\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
+ \textbf{Datum} & <%invdate%> \\
+ \textbf{Faktuurnummer} & <%invnumber%> \\
+ \textbf{Klantnummer} & <%customer_id%>
+\end{tabular}
+
+\vspace{1cm}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}}
+ \textbf{Nummer} & \textbf{Omschrijving} & \textbf{Aantal} &
+ \textbf{Eenheid} & \textbf{Bin} \\
+<%foreach number%>
+ <%number%> & <%description%> & <%qty%> &
+ <%unit%> & <%bin%> \\
+<%end number%>
+\end{tabular*}
+
+
+\parbox{\textwidth}{
+\rule{\textwidth}{2pt}
+
+\vspace{12pt}
+
+<%if notes%>
+ <%notes%>
+<%end if%>
+
+}
+
+\vfill
+\centerline{\textbf{Dank voor uw gewaardeerde klandizie!}}
+
+\end{document}
+
diff --git a/sql-ledger/templates/Dutch-purchase_order.html b/sql-ledger/templates/Dutch-purchase_order.html
new file mode 100644
index 0000000..0cb58d7
--- /dev/null
+++ b/sql-ledger/templates/Dutch-purchase_order.html
@@ -0,0 +1,186 @@
+
+<body bgcolor=ffffff>
+
+<table width=100%>
+<tr valign=bottom>
+ <td width=10>&nbsp;</td>
+ <td>
+
+ <table width=100%>
+ <tr>
+ <td>
+ <h4>
+ <%company%>
+ <br><%address%>
+ </h4>
+ </td>
+
+ <td align=right>
+ <h4>
+ Tel: <%tel%>
+ <br>Fax: <%fax%>
+ </h4>
+ </td>
+ </tr>
+
+ <tr>
+ <th colspan=3>
+ <h4>I N K O O P&nbsp;&nbsp;B E S T E L L I N G</h4>
+ </th>
+ </tr>
+
+ </table>
+
+
+ <table width=100% callspacing=0 cellpadding=0>
+
+ <tr>
+ <td align=right>
+ <table>
+ <tr>
+ <th align=right>Bestel Datum</th><td width=10>&nbsp;</td><td><%orddate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Lever datum</th><td width=10>&nbsp;</td><td><%reqdate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Bestel nummer</th><td>&nbsp;</td><td><%ordnumber%></td></tr>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+ </td>
+ </table>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <th align=left><font color=ffffff>To:</th>
+ </tr>
+
+ <tr>
+ <td><%name%>
+ <br><%addr1%>
+ <br><%addr2%>
+ <br><%addr3%>
+ <br><%addr4%>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+<!-- <th align=right><font color=ffffff>No.</th> -->
+ <th align=left><font color=ffffff>Nummer</th>
+ <th align=left><font color=ffffff>Omschrijving</th>
+ <th><font color=ffffff>Aantal</th>
+ <th>&nbsp;</th>
+ <th><font color=ffffff>Prijs</th>
+ <th><font color=ffffff>Bedrag</th>
+ </tr>
+
+<%foreach number%>
+ <tr valign=top>
+<!-- <td align=right><%runningnumber%>.</td>
+adjust the colspan if you include this to shift subtotal one to the right
+-->
+ <td><%number%></td>
+ <td><%description%></td>
+ <td align=right><%qty%></td>
+ <td><%unit%></td>
+ <td align=right><%sellprice%></td>
+ <td align=right><%linetotal%></td>
+ </tr>
+<%end number%>
+
+ <tr>
+ <td colspan=6><hr noshade></td>
+ </tr>
+
+ <tr>
+ <th colspan=4 align=right>Subtotaal</th>
+ <td colspan=2 align=right><%subtotal%></td>
+ </tr>
+
+<%foreach tax%>
+ <tr>
+ <th colspan=4 align=right><%taxdescription%> @ <%taxrate%> %</th>
+ <td colspan=2 align=right><%tax%></td>
+ </tr>
+<%end tax%>
+
+ <tr>
+ <td colspan=2>&nbsp;</td>
+ <td colspan=4><hr noshade></td>
+ </tr>
+
+ <tr>
+ <td colspan=2>Betalings termijn <b><%terms%></b> dagen</td>
+ <th colspan=2 align=right>Totaal</th>
+ <th colspan=2 align=right><%total%></th>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+<%if notes%>
+ <td>Notes</td>
+ <td><pre><%notes%></pre></td>
+<%end notes%>
+ <td align=right>
+ Alle prijzen in <b><%currency%></b>'s
+ <br><%shippingpoint%>
+ </td>
+ </tr>
+
+ </table>
+ </td>
+</tr>
+
+<tr><td>&nbsp;</td></tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td>&nbsp;
+ </td>
+ <td width=150>
+ X <hr noshade>
+ </td>
+ </tr>
+ </table>
+ </td>
+</tr>
+
+</table>
+
+</td>
+</tr>
+</table>
+
+</body>
+</html>
+
diff --git a/sql-ledger/templates/Dutch-purchase_order.tex b/sql-ledger/templates/Dutch-purchase_order.tex
new file mode 100644
index 0000000..c6c68d1
--- /dev/null
+++ b/sql-ledger/templates/Dutch-purchase_order.tex
@@ -0,0 +1,137 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.5cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.5cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
+
+\newsavebox{\hdr}
+\sbox{\hdr}{
+ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+ \parbox{\textwidth}{
+ \parbox[b]{12cm}{
+ <%company%>
+
+ <%address%>}\hfill
+ \begin{tabular}[b]{rr@{}}
+ Telefoon & <%tel%>\\
+ Fax & <%fax%>
+ \end{tabular}
+
+ \rule[1.5ex]{\textwidth}{0.5pt}
+ }
+}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\markboth{<%company%>\hfill <%ordnumber%>}{\usebox{\hdr}}
+
+\pagestyle{myheadings}
+%\thispagestyle{empty} use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+
+ \rule{\textwidth}{2pt}
+
+ \hfill
+ \begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Subtotaal} & \textbf{<%sumcarriedforward%>} \\
+ \end{tabularx}
+
+\newpage
+
+\markright{<%company%>\hfill <%ordnumber%>}
+
+\vspace*{-12pt}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}}
+ \textbf{Bestel Nummer} & \textbf{Omschrijving} & \textbf{Aantal} &
+ \textbf{Eenheid} & \textbf{Prijs} & \textbf{Bedrag} \\
+ & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\
+<%end pagebreak%>
+
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\vspace*{2cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{3.5cm}
+
+\textbf{I N K O O P B E S T E L L I N G} \parbox{0.3cm}{\hfill} \textbf{O R D E R}
+\hfill
+\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
+ \textbf{Datum} & <%orddate%> \\
+<%if reqdate%>
+ \textbf{Gewenste Leverdatum} & <%reqdate%> \\
+<%end reqdate%>
+ \textbf{Bestel Nummer} & <%ordnumber%>
+\end{tabular}
+
+\vspace{1cm}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}}
+ \textbf{Nummer} & \textbf{Omschrijving} & \textbf{Aantal} &
+ \textbf{Eenheid} & \textbf{Prijs} & \textbf{Bedrag} \\
+<%foreach number%>
+ <%number%> & <%description%> & <%qty%> &
+ <%unit%> & <%sellprice%> & <%linetotal%> \\
+<%end number%>
+\end{tabular*}
+
+
+\parbox{\textwidth}{
+\rule{\textwidth}{2pt}
+
+\vspace{0.2cm}
+
+\hfill
+\begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Subtotaal} & \textbf{<%subtotal%>} \\
+<%foreach tax%>
+ <%taxdescription%> on <%taxbase%> & <%tax%>\\
+<%end tax%>
+ \hline
+ \textbf{Total} & \textbf{<%ordtotal%>}\\
+\end{tabularx}
+
+\vspace{0.3cm}
+
+\hfill
+ Alle prijzen in \textbf{<%currency%>}.
+
+\vspace{12pt}
+
+<%if notes%>
+ <%notes%>
+<%end if%>
+
+}
+
+\end{document}
+
diff --git a/sql-ledger/templates/Dutch-receipt.tex b/sql-ledger/templates/Dutch-receipt.tex
new file mode 100644
index 0000000..5b64e81
--- /dev/null
+++ b/sql-ledger/templates/Dutch-receipt.tex
@@ -0,0 +1,71 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.4cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.0cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+
+\fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont
+
+\parbox[t]{12cm}{
+ <%company%>
+
+ <%address%>}
+\hfill
+\parbox[t]{6cm}{\hfill <%source%>}
+
+\vspace*{0.6cm}
+
+<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill}
+
+\vspace{0.5cm}
+
+\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%>
+
+\vspace{0.5cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{2.8cm}
+
+<%company%>
+
+\vspace{0.5cm}
+
+<%name%> \hfill <%datepaid%> \hfill <%source%>
+
+\vspace{0.5cm}
+\begin{tabularx}{\textwidth}{lXrr@{}}
+\textbf{Invoice No.} & \textbf{Invoice Date}
+ & \textbf{Due} & \textbf{Applied} \\
+<%foreach invnumber%>
+<%invnumber%> & <%invdate%> \dotfill
+ & <%due%> & <%paid%> \\
+<%end invnumber%>
+\end{tabularx}
+
+\vfill
+
+\end{document}
+
diff --git a/sql-ledger/templates/Dutch-sales_order.html b/sql-ledger/templates/Dutch-sales_order.html
new file mode 100644
index 0000000..42b20a9
--- /dev/null
+++ b/sql-ledger/templates/Dutch-sales_order.html
@@ -0,0 +1,208 @@
+
+<body bgcolor=ffffff>
+
+<table width=100%>
+<tr valign=bottom>
+ <td width=10>&nbsp;</td>
+ <td>
+
+ <table width=100%>
+ <tr>
+ <td>
+ <h4>
+ <%company%>
+ <br><%address%>
+ </h4>
+ </td>
+
+ <td align=right>
+ <h4>
+ Tel: <%tel%>
+ <br>Fax: <%fax%>
+ </h4>
+ </td>
+ </tr>
+
+ <tr>
+ <th colspan=3>
+ <h4>V E R K O O P&nbsp;&nbsp;B E S T E L L I N G</h4>
+ </th>
+ </tr>
+
+ </table>
+
+
+ <table width=100% callspacing=0 cellpadding=0>
+
+ <tr>
+ <td align=right>
+ <table>
+ <tr>
+ <th align=right>Bestel Datum</th><td width=10>&nbsp;</td><td><%orddate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Gewenste Leverdatum</th><td width=10>&nbsp;</td><td><%reqdate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Bestel Nummer</th><td>&nbsp;</td><td><%ordnumber%></td></tr>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+ </td>
+ </table>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <th align=left><font color=ffffff>Aan:</th>
+ <th align=left><font color=ffffff>Verzenden aan:</th>
+ </tr>
+
+ <tr>
+ <td><%name%>
+ <br><%addr1%>
+ <br><%addr2%>
+ <br><%addr3%>
+ <br><%addr4%>
+ </td>
+
+ <td><%shiptoname%>
+ <br><%shiptoaddr1%>
+ <br><%shiptoaddr2%>
+ <br><%shiptoaddr3%>
+ <br><%shiptoaddr4%>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+<!-- <th align=right><font color=ffffff>No.</th> -->
+ <th align=left><font color=ffffff>Nummer</th>
+ <th align=left><font color=ffffff>Omschrijving</th>
+ <th><font color=ffffff>Aantal</th>
+ <th>&nbsp;</th>
+ <th><font color=ffffff>Prijs</th>
+ <th><font color=ffffff>Korting</th>
+ <th><font color=ffffff>Bedrag</th>
+ </tr>
+
+<%foreach number%>
+ <tr valign=top>
+<!-- <td align=right><%runningnumber%>.</td>
+adjust the colspan if you include this to shift subtotal one to the right
+-->
+ <td><%number%></td>
+ <td><%description%></td>
+ <td align=right><%qty%></td>
+ <td><%unit%></td>
+ <td align=right><%sellprice%></td>
+ <td align=right><%discount%></td>
+ <td align=right><%linetotal%></td>
+ </tr>
+<%end number%>
+
+ <tr>
+ <td colspan=7><hr noshade></td>
+ </tr>
+
+ <tr>
+<%if taxincluded%>
+ <th colspan=5 align=right>Totaal</th>
+ <td colspan=2 align=right><%ordtotal%></td>
+<%end taxincluded%>
+
+<%if not taxincluded%>
+ <th colspan=5 align=right>Subtotaal</th>
+ <td colspan=2 align=right><%subtotal%></td>
+<%end taxincluded%>
+ </tr>
+
+<%foreach tax%>
+ <tr>
+ <th colspan=5 align=right><%taxdescription%> over <%taxbase%> @ <%taxrate%> %</th>
+ <td colspan=2 align=right><%tax%></td>
+ </tr>
+<%end tax%>
+
+ <tr>
+ <td colspan=2>&nbsp;</td>
+ <td colspan=5><hr noshade></td>
+ </tr>
+
+ <tr>
+ <td colspan=3>Betalingstermijn <b><%terms%></b> dagen</td>
+ <th colspan=2 align=right>Totaal</th>
+ <th colspan=2 align=right><%ordtotal%></th>
+ </tr>
+<%if taxincluded%>
+ <tr>
+ <td colspan=3>Totaal bedrag is inclusief BTW.</td>
+ </tr>
+<%end taxincluded%>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+<%if notes%>
+ <td>Opmerkingen:</td>
+ <td><pre><%notes%></pre></td>
+<%end notes%>
+ <td align=right>
+ Alle prijzen in <b><%currency%></b>'s
+ <br><%shippingpoint%>
+ </td>
+ </tr>
+
+ </table>
+ </td>
+</tr>
+
+<tr><td>&nbsp;</td></tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td>&nbsp;
+ </td>
+ <td width=150>
+ X <hr noshade>
+ </td>
+ </tr>
+ </table>
+ </td>
+</tr>
+
+</table>
+
+</td>
+</tr>
+</table>
+
+</body>
+</html>
+
diff --git a/sql-ledger/templates/Dutch-sales_order.tex b/sql-ledger/templates/Dutch-sales_order.tex
new file mode 100644
index 0000000..79acb4d
--- /dev/null
+++ b/sql-ledger/templates/Dutch-sales_order.tex
@@ -0,0 +1,134 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.5cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.5cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
+
+\newsavebox{\hdr}
+\sbox{\hdr}{
+ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+ \parbox{\textwidth}{
+ \parbox[b]{12cm}{
+ <%company%>
+
+ <%address%>}\hfill
+ \begin{tabular}[b]{rr@{}}
+ Telefoon & <%tel%>\\
+ Fax & <%fax%>
+ \end{tabular}
+
+ \rule[1.5ex]{\textwidth}{0.5pt}
+ }
+}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\markboth{<%company%>\hfill <%ordnumber%>}{\usebox{\hdr}}
+
+\pagestyle{myheadings}
+%\thispagestyle{empty} use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+
+ \rule{\textwidth}{2pt}
+
+ \hfill
+ \begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Subtotaal} & \textbf{<%sumcarriedforward%>} \\
+ \end{tabularx}
+
+\newpage
+
+\markright{<%company%>\hfill <%ordnumber%>}
+
+\vspace*{-12pt}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
+ \textbf{Nummer} & \textbf{Omschrijving} & \textbf{Aantal} &
+ \textbf{Eenheid} & \textbf{Prijs} & \textbf{Korting} & \textbf{Bedrag} \\
+ & Transport van <%lastpage%> & & & & & <%sumcarriedforward%> \\
+<%end pagebreak%>
+
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\vspace*{2cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{3.5cm}
+
+\textbf{V E R K O O P} \parbox{0.3cm}{\hfill} \textbf{B E S T E L L I N G}
+\hfill
+\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
+ \textbf{Datum} & <%orddate%> \\
+ \textbf{Bestel Nummer} & <%ordnumber%>
+\end{tabular}
+
+\vspace{1cm}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
+ \textbf{Nummer} & \textbf{Omschrijving} & \textbf{Aantal} &
+ \textbf{Eenheid} & \textbf{Prijs} & \textbf{Korting} & \textbf{Bedrag} \\
+<%foreach number%>
+ <%number%> & <%description%> & <%qty%> &
+ <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\
+<%end number%>
+\end{tabular*}
+
+
+\parbox{\textwidth}{
+\rule{\textwidth}{2pt}
+
+\vspace{0.2cm}
+
+\hfill
+\begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Subtotaal} & \textbf{<%subtotal%>} \\
+<%foreach tax%>
+ <%taxdescription%> over <%taxbase%> & <%tax%>\\
+<%end tax%>
+ \hline
+ \textbf{Totaal} & \textbf{<%ordtotal%>}\\
+\end{tabularx}
+
+\vspace{0.3cm}
+
+\hfill
+ Alle prijzen in \textbf{<%currency%>}.
+
+\vspace{12pt}
+
+<%if notes%>
+ <%notes%>
+<%end if%>
+
+}
+
+\end{document}
+
diff --git a/sql-ledger/templates/Dutch-statement.html b/sql-ledger/templates/Dutch-statement.html
new file mode 100644
index 0000000..599a2f5
--- /dev/null
+++ b/sql-ledger/templates/Dutch-statement.html
@@ -0,0 +1,121 @@
+
+<body bgcolor=ffffff>
+
+<table width=100%>
+ <tr>
+ <td width=10>&nbsp;</td>
+ <td>
+ <table width=100%>
+ <tr>
+ <td>
+ <h4>
+ <%company%>
+ <br><%address%>
+ </h4>
+ </td>
+ <th><img src=http://www.sql-ledger.org/images/sql-ledger.png border=0 width=64 height=58></th>
+ <td align=right>
+ <h4>
+ Tel: <%tel%>
+ <br>Fax: <%fax%>
+ </h4>
+ </td>
+ </tr>
+ <tr>
+ <th colspan=3><h4>O P E N S T A A N D E &nbsp;&nbsp;F A C T U R E N</h4></th>
+ </tr>
+ <tr>
+ <td colspan=3 align=right><%statementdate%></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td><%name%>
+ <br><%addr1%>
+ <br><%addr2%>
+ <br><%addr3%>
+ <br><%addr4%>
+ <br>
+<%if customerphone%>
+ <br>Tel: <%customerphone%>
+<%end customerphone%>
+<%if customerfax%>
+ <br>Fax: <%customerfax%>
+<%end customerfax%>
+<%if email%>
+ <br><%email%>
+<%end email%>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr height=10></tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td>
+ <table width=100%>
+ <tr>
+ <th align=left>Factuur #</th>
+ <th width=15%>Datum</th>
+ <th width=15%>Vervaldatum</th>
+ <th width=10%>Huidig</th>
+ <th width=10%>30</th>
+ <th width=10%>60</th>
+ <th width=10%>90+</th>
+ </tr>
+<%foreach invnumber%>
+ <tr>
+ <td><%invnumber%></td>
+ <td><%invdate%></td>
+ <td><%duedate%></td>
+ <td align=right><%c0%></td>
+ <td align=right><%c30%></td>
+ <td align=right><%c60%></td>
+ <td align=right><%c90%></td>
+ </tr>
+<%end invnumber%>
+ <tr>
+ <td colspan=7><hr size=1></td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td>&nbsp;</td>
+ <td>&nbsp;</td>
+ <th align=right><%c0total%></td>
+ <th align=right><%c30total%></td>
+ <th align=right><%c60total%></td>
+ <th align=right><%c90total%></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr height=10></tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td align=right>
+ <table width=50%>
+ <tr>
+ <th>Totaal Openstaand</th>
+ <th align=right><%total%></th>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td><hr noshade></td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td>Maak de betalingen over aan<b><%company%></b>.
+ </td>
+ </tr>
+ <tr height=20></tr>
+</table>
+
diff --git a/sql-ledger/templates/Dutch-statement.tex b/sql-ledger/templates/Dutch-statement.tex
new file mode 100644
index 0000000..470bb1b
--- /dev/null
+++ b/sql-ledger/templates/Dutch-statement.tex
@@ -0,0 +1,137 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.5cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.5cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
+
+\newsavebox{\hdr}
+\sbox{\hdr}{
+ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+ \parbox{\textwidth}{
+ \parbox[b]{12cm}{
+ <%company%>
+
+ <%address%>}\hfill
+ \begin{tabular}[b]{rrr@{}}
+ Tel & <%tel%>\\
+ Fax & <%fax%>
+ \end{tabular}
+
+ \rule[1.5ex]{\textwidth}{0.5pt}
+ }
+}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\markboth{<%company%>\hfill <%statementdate%>}{\usebox{\hdr}}
+
+\pagestyle{myheadings}
+%\thispagestyle{empty} use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+
+ \rule{\textwidth}{2pt}
+
+ \hfill
+ \begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
+ \end{tabularx}
+
+\newpage
+
+\markright{<%company%>\hfill <%statementdate%>}
+
+\vspace*{-12pt}
+
+\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}}
+ \textbf{Factuur \#} & \textbf{Datum} & \textbf{Vervaldatum} &
+ \textbf{Huidig} & \textbf{30} & \textbf{60} & \textbf{90+} \\
+ carried forward from <%lastpage%> & & & & & & <%sumcarriedforward%> \\
+<%end pagebreak%>
+
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\vspace*{1.5cm}
+
+\parbox[t]{1cm}{\hfill}
+\parbox[t]{10.5cm}{
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+}
+\parbox[t]{7.5cm}{
+<%if customerphone%>
+Tel: <%customerphone%>
+<%end customerphone%>
+
+<%if customerfax%>
+Fax: <%customerfax%>
+<%end customerfax%>
+
+<%email%>
+}
+\hfill
+
+\vspace{1cm}
+
+\textbf{O P E N S T A A N D E F A C T U R E N} \hfill
+
+\hfill <%statementdate%>
+
+\vspace{2cm}
+
+\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}}
+ \textbf{Factuur \#} & \textbf{Datum} & \textbf{Vervaldatum} &
+ \textbf{Huidig} & \textbf{30} & \textbf{60} & \textbf{90+} \\
+<%foreach invnumber%>
+ <%invnumber%> & <%invdate%> & <%duedate%> &
+ <%c0%> & <%c30%> & <%c60%> & <%c90%> \\
+<%end invnumber%>
+\textbf{Subtotal} & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%>
+\end{tabular*}
+\rule{\textwidth}{1pt}
+
+\vspace{1cm}
+
+\hfill
+\begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Totaal openstaand} & <%total%>
+\end{tabularx}
+
+\vfill
+
+Maak U betalingen over aan <%company%>
+
+\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+\footnotetext[1]{\tiny
+}
+
+\end{document}
+
diff --git a/sql-ledger/templates/Estonian-balance_sheet.html b/sql-ledger/templates/Estonian-balance_sheet.html
new file mode 100644
index 0000000..dcfa40b
--- /dev/null
+++ b/sql-ledger/templates/Estonian-balance_sheet.html
@@ -0,0 +1,103 @@
+<head>
+ <title>Bilanss</title>
+</head>
+
+<body bgcolor=ffffff>
+
+<h2 align=center>
+<%company%>
+<br><%address%>
+
+<p>BILANSS
+<br><%period%>
+</h2>
+
+<table border=0>
+<tr>
+ <th align=left width=400 colspan=2>AKTIVA<br><hr align=left width=250 size=5 noshade></th>
+ <th><%this_period%></th>
+ <th><%last_period%></th>
+</tr>
+
+<%foreach asset_account%>
+<tr>
+ <td> </td>
+ <td><%asset_account%></td>
+ <td align=right><%asset_this_period%></td>
+ <td align=right><%asset_last_period%></td>
+</tr>
+<%end asset_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <th align=left colspan=2>AKTIVA KOKKU</th>
+ <td align=right><%total_assets_this_period%><hr noshade size=2></td>
+ <td align=right><%total_assets_last_period%><hr noshade size=2></td>
+</tr>
+
+<tr>
+ <th align=left colspan=4>PASSIVA<b><hr align=left width=250 size=5 noshade></th>
+</tr>
+
+<%foreach liability_account%>
+<tr>
+ <td></td>
+ <td><%liability_account%></td>
+ <td align=right><%liability_this_period%></td>
+ <td align=right><%liability_last_period%></td>
+</tr>
+<%end liability_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <td></td>
+ <th align=left>Passiva kokku</th>
+ <td align=right><%total_liabilities_this_period%><br><hr noshade size=2</td>
+ <td align=right><%total_liabilities_last_period%><br><hr noshade size=2</td>
+</tr>
+
+<tr>
+ <th align=left colspan=4>AKTSIAKAPITAL<br><hr align=left width=250 size=5 noshade></th>
+</tr>
+
+<%foreach equity_account%>
+<tr>
+ <td></td>
+ <td><%equity_account%></td>
+ <td align=right><%equity_this_period%></td>
+ <td align=right><%equity_last_period%></td>
+</tr>
+<%end equity_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <td></td>
+ <th align=left>Aktsiakapital kokku</th>
+ <td align=right><%total_equity_this_period%><br><hr noshade size=2</td>
+ <td align=right><%total_equity_last_period%><br><hr noshade size=2</td>
+</tr>
+
+<tr valign=top>
+ <th align=left colspan=2>KOKKU PASSIVA JA AKTSIAKAPITAL</th>
+ <td align=right><%total_this_period%><br><hr noshade size=2></td>
+ <td align=right><%total_last_period%><br><hr noshade size=2></td>
+</tr>
+</table>
+
+
+
diff --git a/sql-ledger/templates/Estonian-check.tex b/sql-ledger/templates/Estonian-check.tex
new file mode 100644
index 0000000..5b64e81
--- /dev/null
+++ b/sql-ledger/templates/Estonian-check.tex
@@ -0,0 +1,71 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.4cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.0cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+
+\fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont
+
+\parbox[t]{12cm}{
+ <%company%>
+
+ <%address%>}
+\hfill
+\parbox[t]{6cm}{\hfill <%source%>}
+
+\vspace*{0.6cm}
+
+<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill}
+
+\vspace{0.5cm}
+
+\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%>
+
+\vspace{0.5cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{2.8cm}
+
+<%company%>
+
+\vspace{0.5cm}
+
+<%name%> \hfill <%datepaid%> \hfill <%source%>
+
+\vspace{0.5cm}
+\begin{tabularx}{\textwidth}{lXrr@{}}
+\textbf{Invoice No.} & \textbf{Invoice Date}
+ & \textbf{Due} & \textbf{Applied} \\
+<%foreach invnumber%>
+<%invnumber%> & <%invdate%> \dotfill
+ & <%due%> & <%paid%> \\
+<%end invnumber%>
+\end{tabularx}
+
+\vfill
+
+\end{document}
+
diff --git a/sql-ledger/templates/Estonian-income_statement.html b/sql-ledger/templates/Estonian-income_statement.html
new file mode 100644
index 0000000..b0594ea
--- /dev/null
+++ b/sql-ledger/templates/Estonian-income_statement.html
@@ -0,0 +1,84 @@
+<head>
+ <title>Kasumiaruanne</title>
+</head>
+
+<body bgcolor=ffffff>
+
+<h2 align=center>
+<%company%>
+<br><%address%>
+
+<p>KASUMIARUANNE
+<br><%period%>
+</h2>
+
+
+<table width=100% border=0>
+<tr>
+ <th width=400 align=left colspan=2>TULUD<br><hr width=300 size=5 align=left noshade></th>
+ <th><%this_period%></th>
+ <th><%last_period%></th>
+</tr>
+
+<%foreach income_account%>
+<tr>
+ <td width=4> </td>
+ <td><%income_account%></td>
+ <td align=right><%income_this_period%></td>
+ <td align=right><%income_last_period%></td>
+</tr>
+<%end income_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <td> </td>
+ <th align=left>Tulud kokku</th>
+ <td align=right><%total_income_this_period%><hr noshade size=2></td>
+ <td align=right><%total_income_last_period%><hr noshade size=2></td>
+</tr>
+
+<tr>
+ <th align=left colspan=2>KULUD<br><hr width=300 size=5 align=left noshade></th>
+</tr>
+
+<%foreach expense_account%>
+<tr>
+ <td> </td>
+ <td><%expense_account%></td>
+ <td align=right><%expenses_this_period%></td>
+ <td align=right><%expenses_last_period%></td>
+</tr>
+<%end expense_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <td> </td>
+ <th align=left>Kulud kokku</th>
+ <td align=right><%total_expenses_this_period%><br><hr noshade size=2</td>
+ <td align=right><%total_expenses_last_period%><br><hr noshade size=2</td>
+</tr>
+
+<tr valign=top>
+ <th align=left colspan=2>KASUM / (KAHJUM)</th>
+ <td align=right><%total_this_period%><br><hr noshade size=2></td>
+ <td align=right><%total_last_period%><br><hr noshade size=2></td>
+</tr>
+
+</table>
+
+
+
+
+
+
+
diff --git a/sql-ledger/templates/Estonian-invoice.html b/sql-ledger/templates/Estonian-invoice.html
new file mode 100644
index 0000000..8660fb8
--- /dev/null
+++ b/sql-ledger/templates/Estonian-invoice.html
@@ -0,0 +1,215 @@
+<head>
+ <title>Arve</title>
+</head>
+
+<body bgcolor=ffffff>
+
+<table width=100%>
+<tr>
+ <td width=10>
+ </td>
+ <td>
+
+ <table width=100%>
+ <tr>
+ <td>
+ <h4>
+ <%company%>
+ <br><%address%>
+ </h4>
+ </td>
+
+ <th colspan=2>
+ <h4 align=center>A R V E</h4>
+ </th>
+ </tr>
+
+ </table>
+
+<!-- other variables you can use include
+tel, fax, signature, username, businessnumber -->
+
+ <table width=100% callspacing=0 cellpadding=0>
+
+ <tr>
+ <td align=right>
+ <table>
+ <tr>
+ <th align=right>Kuupäev</th><td width=10> </td><td><%invdate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Arve Nr.</th><td></td><td><%invnumber%></td></tr>
+ </tr>
+
+ </td>
+ </table>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <th align=left><font color=ffffff>Arve aadress:</th>
+ <th align=left><font color=ffffff>Tarneaadress:</th>
+ </tr>
+
+ <tr>
+ <td><%name%>
+ <br><%addr1%>
+ <br><%addr2%>
+ <br><%addr3%>
+ <br><%addr4%>
+ </td>
+
+ <td><%shiptoname%>
+ <br><%shiptoaddr1%>
+ <br><%shiptoaddr2%>
+ <br><%shiptoaddr3%>
+ <br><%shiptoaddr4%>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <th align=left><font color=ffffff>Kood</th>
+ <th align=left><font color=ffffff>Selgitus</th>
+ <th colspan=2><font color=ffffff>Kogus</th>
+ <th><font color=ffffff>Hind</th>
+ <th><font color=ffffff>Alh%</th>
+ <th><font color=ffffff>Kogus</th>
+ </tr>
+
+<%foreach number%>
+ <tr valign=top>
+ <td><%number%></td>
+ <td><%description%></td>
+ <td align=right><%qty%></td>
+ <td><%unit%></td>
+ <td align=right><%sellprice%></td>
+ <td align=right><%discount%></td>
+ <td align=right><%linetotal%></td>
+ </tr>
+<%end number%>
+
+<!--
+you can also use netprice instead of sellprice if you
+don't want to show the discount
+netprice = sellprice - discount
+-->
+
+ <tr>
+ <td colspan=7><hr noshade></td>
+ </tr>
+
+ <tr>
+ <th colspan=5 align=right>Summa</th>
+ <td colspan=2 align=right><%subtotal%></td>
+ </tr>
+
+<%foreach tax%>
+ <tr>
+ <th colspan=5 align=right><%taxdescription%> @ <%taxrate%> %</th>
+ <td colspan=2 align=right><%tax%></td>
+ </tr>
+<%end tax%>
+
+<%if paid%>
+ <tr>
+ <th colspan=5 align=right>Makstud</th>
+ <td colspan=2 align=right>- <%paid%></td>
+ </tr>
+<%end paid%>
+
+ <tr>
+ <td colspan=3> </td>
+ <td colspan=4><hr noshade></td>
+ </tr>
+
+ <tr>
+ <td colspan=3>Maksetingimus <b><%terms%></b> päeva</td>
+ <th colspan=2 align=right>Lõppsumma</th>
+ <th colspan=2 align=right><%total%></th>
+ </tr>
+
+ <tr>
+ <td>
+ </td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+<%if notes%>
+ <td>Märkused</td>
+ <td><pre><%notes%></pre></td>
+<%end notes%>
+ <td align=right>
+ Kõik hinnad: <b><%currency%></b>
+ <br><%shippingpoint%>
+ </td>
+ </tr>
+
+ </table>
+ </td>
+</tr>
+
+<tr><td colspan=7 align=right>Summa sõnadega: <%sum_as_words_ee%> </td></tr>
+
+<tr><td> </td></tr>
+
+<tr>
+ <th colspan=7>
+ Palun märkige pangatsheki saajaks <%company%>
+ <br>Täname meeldiva koostöö eest!
+ </th>
+</tr>
+
+
+<tr><td> </td></tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td><font size=-3>
+ Maksetähtaeg <%terms%> päeva alates arve kuupäevast.
+ Intress tasumata summadelt on 1.5% kuus kuni arve täeliku tasumiseni.
+ Tagastatud toodetele kehtib 10% tagastamistasu. Enne toodete tagastamist on vajalik
+<%company%> nõusolek. Tagastavad tooted peavad olema makstud ning kindlustatud,
+<%company%> ei vastuta transpordi käigus tekkinud kahjude eest.
+ </font>
+ </td>
+ <td width=150>
+ X <hr noshade>
+ </td>
+ </tr>
+ </table>
+ </td>
+</tr>
+
+<%foreach tax%>
+<tr>
+ <th colspan=7 align=left><font size=-2><%taxdescription%> Registration <%taxnumber%></th>
+</tr>
+<%end tax%>
+
+</table>
+
+</td>
+</tr>
+</table>
+
+</body>
+</html>
+
diff --git a/sql-ledger/templates/Estonian-invoice.tex b/sql-ledger/templates/Estonian-invoice.tex
new file mode 100644
index 0000000..bfa2f7a
--- /dev/null
+++ b/sql-ledger/templates/Estonian-invoice.tex
@@ -0,0 +1,147 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.5cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.5cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
+
+\newsavebox{\hdr}
+\sbox{\hdr}{
+ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+ \parbox{\textwidth}{
+ \parbox[b]{12cm}{
+ <%company%>
+
+ <%address%>}\hfill
+ \begin{tabular}[b]{rr@{}}
+ Telefon & <%tel%>\\
+ Faks & <%fax%>
+ \end{tabular}
+
+ \rule[1.5ex]{\textwidth}{0.5pt}
+ }
+}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}}
+
+\pagestyle{myheadings}
+%\thispagestyle{empty} use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+
+ \rule{\textwidth}{2pt}
+
+ \hfill
+ \begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Vahesumma} & \textbf{<%sumcarriedforward%>} \\
+ \end{tabularx}
+
+\newpage
+
+\markright{<%company%>\hfill <%invnumber%>}
+
+\vspace*{-12pt}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
+ \textbf{Kood} & \textbf{Kirjeldus} & \textbf{Kogus} &
+ \textbf{Ühik} & \textbf{Hind} & \textbf{Alh} & \textbf{Kokku} \\
+ & edasi kantud lehelt <%lastpage%> & & & & & <%sumcarriedforward%> \\
+<%end pagebreak%>
+
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\vspace*{2cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{3.5cm}
+
+\textbf{A R V E}
+\hfill
+\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
+ \textbf{Kuupäev} & <%invdate%> \\
+ \textbf{Number} & <%invnumber%> \\
+ \textbf{Klient} & <%customer_id%>
+\end{tabular}
+
+\vspace{1cm}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
+ \textbf{Kood} & \textbf{Kirjeldus} & \textbf{Kogus} &
+ \textbf{Ühik} & \textbf{Hind} & \textbf{Alh} & \textbf{Kokku} \\
+<%foreach number%>
+ <%number%> & <%description%> & <%qty%> &
+ <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\
+<%end number%>
+\end{tabular*}
+
+
+\parbox{\textwidth}{
+\rule{\textwidth}{2pt}
+
+\vspace{0.2cm}
+
+\hfill
+\begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Vahesumma} & \textbf{<%subtotal%>} \\
+<%foreach tax%>
+ <%taxdescription%> on <%taxbase%> & <%tax%>\\
+<%end tax%>
+ \hline
+ \textbf{Summa} & \textbf{<%total%>}\\
+\end{tabularx}
+
+\vspace{0.3cm}
+
+\hfill
+ Kõik hinnad \textbf{<%currency%>} funds.
+
+\vspace{12pt}
+
+<%if notes%>
+ <%notes%>
+<%end if%>
+
+}
+
+\vfill
+\centerline{\textbf{Täname meeldiva koostöö eest!}}
+
+\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+\footnotetext[1]{\tiny
+Maksetähtaeg <%terms%> päeva alates arve kuupäevast.
+ Intress tasumata summadelt on 1.5\% kuus kuni arve täeliku tasumiseni.
+ Tagastatud toodetele kehtib 10\% tagastamistasu. Enne toodete tagastamist on vajalik <%company%> nõusolek. Tagastavad tooted peavad olema makstud ning kindlustatud, <%company%> ei vastuta transpordi käigus tekkinud kahjude eest.}
+
+\end{document}
+
+
+
diff --git a/sql-ledger/templates/Estonian-packing_list.html b/sql-ledger/templates/Estonian-packing_list.html
new file mode 100644
index 0000000..0006307
--- /dev/null
+++ b/sql-ledger/templates/Estonian-packing_list.html
@@ -0,0 +1,147 @@
+<head>
+ <title>Saateleht</title>
+</head>
+
+<body bgcolor=ffffff>
+
+<table width=100%>
+<tr>
+ <td width=10>
+ </td>
+ <td>
+
+ <table width=100%>
+ <tr>
+ <td>
+ <h4>
+ <%company%>
+ <br><%address%>
+ </h4>
+ </td>
+
+ <th colspan=2>
+ <h4 align=center>S A A T E L E H T</h4>
+ </th>
+ </tr>
+
+ </table>
+
+
+ <table width=100% callspacing=0 cellpadding=0>
+
+ <tr>
+ <td align=right>
+ <table>
+ <tr>
+ <th align=right>Kuupäev</th><td width=10> </td><td><%invdate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Number</th><td></td><td><%invnumber%></td></tr>
+ </tr>
+
+ <tr>
+ <td>
+ </td>
+ </tr>
+ </td>
+ </table>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <th align=left><font color=ffffff>Tarneaadress:</th>
+ </tr>
+
+ <tr>
+ <td><%shiptoname%>
+ <br><%shiptoaddr1%>
+ <br><%shiptoaddr2%>
+ <br><%shiptoaddr3%>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <th align=left><font color=ffffff>Kood</th>
+ <th align=left><font color=ffffff>Selgitus</th>
+ <th><font color=ffffff>Kogus</th>
+ <th> </th>
+ </tr>
+
+<%foreach number%>
+ <tr valign=top>
+ <td><%number%></td>
+ <td><%description%></td>
+ <td align=right><%qty%></td>
+ <td><%unit%></td>
+ </tr>
+<%end number%>
+
+ <tr>
+ <td colspan=4><hr noshade></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+<%if notes%>
+ <td>Märkused</td>
+ <td><pre><%notes%></pre></td>
+<%end notes%>
+ <td align=right>
+ <%shippingpoint%>
+ </td>
+ </tr>
+
+ </table>
+ </td>
+</tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td><font size=-3>
+ Tagastatud toodetele kehtib 10% tagastamistasu. Enne toodete tagastamist on vajalik
+<%company%> nõusolek. Tagastavad tooted peavad olema makstud ning kindlustatud,
+ <%company%> ei vastuta transpordi käigus tekkinud kahjude eest.
+ </font>
+ </td>
+ <td width=150>
+ X <hr noshade>
+ </td>
+ </tr>
+ </table>
+ </td>
+</tr>
+
+</table>
+
+</td>
+</tr>
+</table>
+
+
+
+
+
+
+
diff --git a/sql-ledger/templates/Estonian-packing_list.tex b/sql-ledger/templates/Estonian-packing_list.tex
new file mode 100644
index 0000000..06c763a
--- /dev/null
+++ b/sql-ledger/templates/Estonian-packing_list.tex
@@ -0,0 +1,119 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.5cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.5cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
+
+\newsavebox{\hdr}
+\sbox{\hdr}{
+ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+ \parbox{\textwidth}{
+ \parbox[b]{12cm}{
+ <%company%>
+
+ <%address%>}\hfill
+ \begin{tabular}[b]{rr@{}}
+ Telefon & <%tel%>\\
+ Faks & <%fax%>
+ \end{tabular}
+
+ \rule[1.5ex]{\textwidth}{0.5pt}
+ }
+}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}}
+
+\pagestyle{myheadings}
+%\thispagestyle{empty} use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+
+\newpage
+
+\markright{<%company%>\hfill <%invnumber%>}
+
+\vspace*{-12pt}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}}
+ \textbf{Kood} & \textbf{Kirjeldus} & \textbf{Kogus} &
+ \textbf{Ühik} & \textbf{Bin} \\
+<%end pagebreak%>
+
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\vspace*{2cm}
+
+<%shiptoname%>
+
+<%shiptoaddr1%>
+
+<%shiptoaddr2%>
+
+<%shiptoaddr3%>
+
+<%shiptoaddr4%>
+
+\vspace{3.5cm}
+
+\textbf{S A A T E L E H T} \parbox{0.3cm}{\hfill}
+
+\hfill
+\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
+ \textbf{Date} & <%invdate%> \\
+ \textbf{Number} & <%invnumber%> \\
+ \textbf{Customer} & <%customer_id%>
+\end{tabular}
+
+\vspace{1cm}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}}
+ \textbf{Kood} & \textbf{Selgitus} & \textbf{Kogus} &
+ \textbf{Ühik} & \textbf{Bin} \\
+<%foreach number%>
+ <%number%> & <%description%> & <%qty%> &
+ <%unit%> & <%bin%> \\
+<%end number%>
+\end{tabular*}
+
+
+\parbox{\textwidth}{
+\rule{\textwidth}{2pt}
+
+\vspace{12pt}
+
+<%if notes%>
+ <%notes%>
+<%end if%>
+
+}
+
+\vfill
+\centerline{\textbf{Täname meeldiva koostöö eest!}}
+
+\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+\footnotetext[1]{\tiny
+ Tagastatud toodetele kehtib 10\% tagastamistasu. Enne toodete tagastamist on vajalik <%company%> nõusolek. Tagastavad tooted peavad olema makstud ning kindlustatud, <%company%> ei vastuta transpordi käigus tekkinud kahjude eest.}
+
+\end{document}
+
diff --git a/sql-ledger/templates/Estonian-purchase_order.html b/sql-ledger/templates/Estonian-purchase_order.html
new file mode 100644
index 0000000..7ee0073
--- /dev/null
+++ b/sql-ledger/templates/Estonian-purchase_order.html
@@ -0,0 +1,195 @@
+<head>
+ <title>Ostutellimus</title>
+</head>
+
+<body bgcolor=ffffff>
+
+<table width=100%>
+<tr valign=bottom>
+ <td width=10>&nbsp;</td>
+ <td>
+
+ <table width=100%>
+ <tr>
+ <td>
+ <h4>
+ <%company%>
+ <br><%address%>
+ </h4>
+ </td>
+
+ <td align=right>
+ <h4>
+ Tel: <%tel%>
+ <br>Fax: <%fax%>
+ </h4>
+ </td>
+ </tr>
+
+ <tr>
+ <th colspan=3>
+ <h4>O S T U T E L L I M U S</h4>
+ </th>
+ </tr>
+
+ </table>
+
+
+ <table width=100% callspacing=0 cellpadding=0>
+
+ <tr>
+ <td align=right>
+ <table>
+ <tr>
+ <th align=right>Tellimuse Kpv</th><td width=10>&nbsp;</td><td><%orddate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Required by</th><td width=10>&nbsp;</td><td><%reqdate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Number</th><td>&nbsp;</td><td><%ordnumber%></td></tr>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+ </td>
+ </table>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <th align=left><font color=ffffff>To:</th>
+ </tr>
+
+ <tr>
+ <td><%name%>
+ <br><%addr1%>
+ <br><%addr2%>
+ <br><%addr3%>
+ <br><%addr4%>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+<!-- <th align=right><font color=ffffff>No.</th> -->
+ <th align=left><font color=ffffff>Number</th>
+ <th align=left><font color=ffffff>Description</th>
+ <th><font color=ffffff>Qt'y</th>
+ <th>&nbsp;</th>
+ <th><font color=ffffff>Price</th>
+ <th><font color=ffffff>Amount</th>
+ </tr>
+
+<%foreach number%>
+ <tr valign=top>
+<!-- <td align=right><%runningnumber%>.</td>
+adjust the colspan if you include this to shift subtotal one to the right
+-->
+ <td><%number%></td>
+ <td><%description%></td>
+ <td align=right><%qty%></td>
+ <td><%unit%></td>
+ <td align=right><%sellprice%></td>
+ <td align=right><%linetotal%></td>
+ </tr>
+<%end number%>
+
+ <tr>
+ <td colspan=6><hr noshade></td>
+ </tr>
+
+ <tr>
+ <th colspan=4 align=right>Vahesumma</th>
+ <td colspan=2 align=right><%subtotal%></td>
+ </tr>
+
+<%foreach tax%>
+ <tr>
+ <th colspan=4 align=right><%taxdescription%> @ <%taxrate%> %</th>
+ <td colspan=2 align=right><%tax%></td>
+ </tr>
+<%end tax%>
+
+ <tr>
+ <td colspan=2>&nbsp;</td>
+ <td colspan=4><hr noshade></td>
+ </tr>
+
+ <tr>
+ <td colspan=2>Maksetähtaeg <b><%terms%></b> tööpäeva</td>
+ <th colspan=2 align=right>Kokku</th>
+ <th colspan=2 align=right><%total%></th>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+<%if notes%>
+ <td>Märkused</td>
+ <td><pre><%notes%></pre></td>
+<%end notes%>
+ <td align=right>
+ Kõik hinnad: <b><%currency%></b>
+ <br><%shippingpoint%>
+ </td>
+ </tr>
+
+ </table>
+ </td>
+</tr>
+
+<tr><td>&nbsp;</td></tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td><font size=-3>
+ Maksetähtaeg <%terms%> päeva alates arve kuupäevast.
+ Intress tasumata summadelt on 1.5% kuus kuni arve täeliku tasumiseni.
+ Tagastatud toodetele kehtib 10% tagastamistasu. Enne toodete tagastamist on vajalik
+<%company%> nõusolek. Tagastavad tooted peavad olema makstud ning kindlustatud,
+<%company%> ei vastuta transpordi käigus tekkinud kahjude eest.
+ </font>
+ </td>
+ <td width=150>
+ X <hr noshade>
+ </td>
+ </tr>
+ </table>
+ </td>
+</tr>
+
+</table>
+
+</td>
+</tr>
+</table>
+
+</body>
+</html>
+
diff --git a/sql-ledger/templates/Estonian-purchase_order.tex b/sql-ledger/templates/Estonian-purchase_order.tex
new file mode 100644
index 0000000..ee1d778
--- /dev/null
+++ b/sql-ledger/templates/Estonian-purchase_order.tex
@@ -0,0 +1,143 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.5cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.5cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
+
+\newsavebox{\hdr}
+\sbox{\hdr}{
+ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+ \parbox{\textwidth}{
+ \parbox[b]{12cm}{
+ <%company%>
+
+ <%address%>}\hfill
+ \begin{tabular}[b]{rr@{}}
+ Telefon & <%tel%>\\
+ Faks & <%fax%>
+ \end{tabular}
+
+ \rule[1.5ex]{\textwidth}{0.5pt}
+ }
+}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\markboth{<%company%>\hfill <%ordnumber%>}{\usebox{\hdr}}
+
+\pagestyle{myheadings}
+%\thispagestyle{empty} use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+
+ \rule{\textwidth}{2pt}
+
+ \hfill
+ \begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Vahesumma} & \textbf{<%sumcarriedforward%>} \\
+ \end{tabularx}
+
+\newpage
+
+\markright{<%company%>\hfill <%ordnumber%>}
+
+\vspace*{-12pt}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}}
+ \textbf{Kood} & \textbf{Kirjeldus} & \textbf{Kogus} &
+ \textbf{Ühik} & \textbf{Hind} & \textbf{Kogus} \\
+ & üle kantud lehelt <%lastpage%> & & & & <%sumcarriedforward%> \\
+<%end pagebreak%>
+
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\vspace*{2cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{3.5cm}
+
+\textbf{O S T U T E L L I M U S} \parbox{0.3cm}{\hfill}
+\hfill
+\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
+ \textbf{Date} & <%orddate%> \\
+<%if reqdate%>
+ \textbf{Required by} & <%reqdate%> \\
+<%end reqdate%>
+ \textbf{Number} & <%ordnumber%>
+\end{tabular}
+
+\vspace{1cm}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}}
+ \textbf{Kood} & \textbf{Kirjeldus} & \textbf{Kogus} &
+ \textbf{Ühik} & \textbf{Hind} & \textbf{Kokku} \\
+<%foreach number%>
+ <%number%> & <%description%> & <%qty%> &
+ <%unit%> & <%sellprice%> & <%linetotal%> \\
+<%end number%>
+\end{tabular*}
+
+
+\parbox{\textwidth}{
+\rule{\textwidth}{2pt}
+
+\vspace{0.2cm}
+
+\hfill
+\begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Vahesumma} & \textbf{<%subtotal%>} \\
+<%foreach tax%>
+ <%taxdescription%> on <%taxbase%> & <%tax%>\\
+<%end tax%>
+ \hline
+ \textbf{Summa} & \textbf{<%ordtotal%>}\\
+\end{tabularx}
+
+\vspace{0.3cm}
+
+\hfill
+ Kõik hinnad \textbf{<%currency%>} funds.
+
+\vspace{12pt}
+
+<%if notes%>
+ <%notes%>
+<%end if%>
+
+}
+
+
+%\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+%\footnotetext[1]{\tiny }
+
+\end{document}
+
+
diff --git a/sql-ledger/templates/Estonian-receipt.tex b/sql-ledger/templates/Estonian-receipt.tex
new file mode 100644
index 0000000..5b64e81
--- /dev/null
+++ b/sql-ledger/templates/Estonian-receipt.tex
@@ -0,0 +1,71 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.4cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.0cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+
+\fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont
+
+\parbox[t]{12cm}{
+ <%company%>
+
+ <%address%>}
+\hfill
+\parbox[t]{6cm}{\hfill <%source%>}
+
+\vspace*{0.6cm}
+
+<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill}
+
+\vspace{0.5cm}
+
+\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%>
+
+\vspace{0.5cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{2.8cm}
+
+<%company%>
+
+\vspace{0.5cm}
+
+<%name%> \hfill <%datepaid%> \hfill <%source%>
+
+\vspace{0.5cm}
+\begin{tabularx}{\textwidth}{lXrr@{}}
+\textbf{Invoice No.} & \textbf{Invoice Date}
+ & \textbf{Due} & \textbf{Applied} \\
+<%foreach invnumber%>
+<%invnumber%> & <%invdate%> \dotfill
+ & <%due%> & <%paid%> \\
+<%end invnumber%>
+\end{tabularx}
+
+\vfill
+
+\end{document}
+
diff --git a/sql-ledger/templates/Estonian-sales_order.html b/sql-ledger/templates/Estonian-sales_order.html
new file mode 100644
index 0000000..d608b73
--- /dev/null
+++ b/sql-ledger/templates/Estonian-sales_order.html
@@ -0,0 +1,214 @@
+<head>
+ <title>Müügitellimus</title>
+</head>
+
+<body bgcolor=ffffff>
+
+<table width=100%>
+<tr valign=bottom>
+ <td width=10>&nbsp;</td>
+ <td>
+
+ <table width=100%>
+ <tr>
+ <td>
+ <h4>
+ <%company%>
+ <br><%address%>
+ </h4>
+ </td>
+
+ <td align=right>
+ <h4>
+ Tel: <%tel%>
+ <br>Fax: <%fax%>
+ </h4>
+ </td>
+ </tr>
+
+ <tr>
+ <th colspan=3>
+ <h4>M Ü Ü G I T E L L I M U S</h4>
+ </th>
+ </tr>
+
+ </table>
+
+
+ <table width=100% callspacing=0 cellpadding=0>
+
+ <tr>
+ <td align=right>
+ <table>
+ <tr>
+ <th align=right>Tellimuse kpv</th><td width=10>&nbsp;</td><td><%orddate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Tarnekuupäev</th><td width=10>&nbsp;</td><td><%reqdate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Number</th><td>&nbsp;</td><td><%ordnumber%></td></tr>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+ </td>
+ </table>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <th align=left><font color=ffffff>Tellija aadress:</th>
+ <th align=left><font color=ffffff>Tarneaadress:</th>
+ </tr>
+
+ <tr>
+ <td><%name%>
+ <br><%addr1%>
+ <br><%addr2%>
+ <br><%addr3%>
+ <br><%addr4%>
+ </td>
+
+ <td><%shiptoname%>
+ <br><%shiptoaddr1%>
+ <br><%shiptoaddr2%>
+ <br><%shiptoaddr3%>
+ <br><%shiptoaddr4%>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+<!-- <th align=right><font color=ffffff>Nr.</th> -->
+ <th align=left><font color=ffffff>Kood</th>
+ <th align=left><font color=ffffff>Selgitus</th>
+ <th><font color=ffffff>Kogus</th>
+ <th>&nbsp;</th>
+ <th><font color=ffffff>Hind</th>
+ <th><font color=ffffff>Allh%</th>
+ <th><font color=ffffff>Summa</th>
+ </tr>
+
+<%foreach number%>
+ <tr valign=top>
+<!-- <td align=right><%runningnumber%>.</td>
+adjust the colspan if you include this to shift subtotal one to the right
+-->
+ <td><%number%></td>
+ <td><%description%></td>
+ <td align=right><%qty%></td>
+ <td><%unit%></td>
+ <td align=right><%sellprice%></td>
+ <td align=right><%discount%></td>
+ <td align=right><%linetotal%></td>
+ </tr>
+<%end number%>
+
+ <tr>
+ <td colspan=7><hr noshade></td>
+ </tr>
+
+ <tr>
+<%if taxincluded%>
+ <th colspan=5 align=right>Kokku</th>
+ <td colspan=2 align=right><%ordtotal%></td>
+<%end taxincluded%>
+
+<%if not taxincluded%>
+ <th colspan=5 align=right>Vahesumma</th>
+ <td colspan=2 align=right><%subtotal%></td>
+<%end taxincluded%>
+ </tr>
+
+<%foreach tax%>
+ <tr>
+ <th colspan=5 align=right><%taxdescription%> <%taxbase%> @ <%taxrate%> %</th>
+ <td colspan=2 align=right><%tax%></td>
+ </tr>
+<%end tax%>
+
+ <tr>
+ <td colspan=2>&nbsp;</td>
+ <td colspan=5><hr noshade></td>
+ </tr>
+
+ <tr>
+ <td colspan=3>Maksetähtaeg <b><%terms%></b> päeva</td>
+ <th colspan=2 align=right>Kokku</th>
+ <th colspan=2 align=right><%ordtotal%></th>
+ </tr>
+<%if taxincluded%>
+ <tr>
+ <td colspan=3>Summa sisaldab käibemaksu</td>
+ </tr>
+<%end taxincluded%>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+<%if notes%>
+ <td>Märkused</td>
+ <td><pre><%notes%></pre></td>
+<%end notes%>
+ <td align=right>
+ Kõik hinnad <b><%currency%></b>
+ <br><%shippingpoint%>
+ </td>
+ </tr>
+
+ </table>
+ </td>
+</tr>
+
+<tr><td>&nbsp;</td></tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td><font size=-3>
+ Eritellimusel tehtud toodetel ning toodetel mida on kliendi soovil
+ kohandatud või täiendatud on tellimuse katkestamise tasu 10% tellimuse hinnast.
+ </font>
+ </td>
+ <td width=150>
+ X <hr noshade>
+ </td>
+ </tr>
+ </table>
+ </td>
+</tr>
+
+</table>
+
+</td>
+</tr>
+</table>
+
+</body>
+</html>
+
diff --git a/sql-ledger/templates/Estonian-sales_order.tex b/sql-ledger/templates/Estonian-sales_order.tex
new file mode 100644
index 0000000..beb32c5
--- /dev/null
+++ b/sql-ledger/templates/Estonian-sales_order.tex
@@ -0,0 +1,141 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.5cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.5cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
+
+\newsavebox{\hdr}
+\sbox{\hdr}{
+ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+ \parbox{\textwidth}{
+ \parbox[b]{12cm}{
+ <%company%>
+
+ <%address%>}\hfill
+ \begin{tabular}[b]{rr@{}}
+ Telefon & <%tel%>\\
+ Faks & <%fax%>
+ \end{tabular}
+
+ \rule[1.5ex]{\textwidth}{0.5pt}
+ }
+}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\markboth{<%company%>\hfill <%ordnumber%>}{\usebox{\hdr}}
+
+\pagestyle{myheadings}
+%\thispagestyle{empty} use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+
+ \rule{\textwidth}{2pt}
+
+ \hfill
+ \begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Vahesumma} & \textbf{<%sumcarriedforward%>} \\
+ \end{tabularx}
+
+\newpage
+
+\markright{<%company%>\hfill <%ordnumber%>}
+
+\vspace*{-12pt}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
+ \textbf{Kood} & \textbf{Kirjeldus} & \textbf{Kogus} &
+ \textbf{Ühik} & \textbf{Hind} & \textbf{Kirjeldus} & \textbf{Kokku} \\
+ & carried forward from <%lastpage%> & & & & & <%sumcarriedforward%> \\
+<%end pagebreak%>
+
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\vspace*{2cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{3.5cm}
+
+\textbf{M Ü Ü G I T E L L I M U S} \parbox{0.3cm}{\hfill}
+\hfill
+\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
+ \textbf{Kuupäev} & <%orddate%> \\
+ \textbf{Number} & <%ordnumber%>
+\end{tabular}
+
+\vspace{1cm}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
+ \textbf{Kood} & \textbf{Kirjeldus} & \textbf{Kogus} &
+ \textbf{Ühik} & \textbf{Hind} & \textbf{Alh} & \textbf{Kokku} \\
+<%foreach number%>
+ <%number%> & <%description%> & <%qty%> &
+ <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\
+<%end number%>
+\end{tabular*}
+
+
+\parbox{\textwidth}{
+\rule{\textwidth}{2pt}
+
+\vspace{0.2cm}
+
+\hfill
+\begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Vahesumma} & \textbf{<%subtotal%>} \\
+<%foreach tax%>
+ <%taxdescription%> on <%taxbase%> & <%tax%>\\
+<%end tax%>
+ \hline
+ \textbf{Summa} & \textbf{<%ordtotal%>}\\
+\end{tabularx}
+
+\vspace{0.3cm}
+
+\hfill
+ Kõik hinnad \textbf{<%currency%>} funds.
+
+\vspace{12pt}
+
+<%if notes%>
+ <%notes%>
+<%end if%>
+
+}
+
+
+\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+\footnotetext[1]{\tiny
+ Tagastatud toodetele kehtib 10\% tagastamistasu. Enne toodete tagastamist on vajalik <%company%> nõusolek. Tagastavad tooted peavad olema makstud ning kindlustatud, <%company%> ei vastuta transpordi käigus tekkinud kahjude eest.}
+}
+
+\end{document}
+
diff --git a/sql-ledger/templates/Estonian-statement.html b/sql-ledger/templates/Estonian-statement.html
new file mode 100644
index 0000000..6fca322
--- /dev/null
+++ b/sql-ledger/templates/Estonian-statement.html
@@ -0,0 +1,121 @@
+
+<body bgcolor=ffffff>
+
+<table width=100%>
+ <tr>
+ <td width=10>&nbsp;</td>
+ <td>
+ <table width=100%>
+ <tr>
+ <td>
+ <h4>
+ <%company%>
+ <br><%address%>
+ </h4>
+ </td>
+ <th><img src=http://www.sql-ledger.org/images/sql-ledger.png border=0 width=64 height=58></th>
+ <td align=right>
+ <h4>
+ Tel: <%tel%>
+ <br>Fax: <%fax%>
+ </h4>
+ </td>
+ </tr>
+ <tr>
+ <th colspan=3><h4>S T A T E M E N T</h4></th>
+ </tr>
+ <tr>
+ <td colspan=3 align=right><%statementdate%></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td><%name%>
+ <br><%addr1%>
+ <br><%addr2%>
+ <br><%addr3%>
+ <br><%addr4%>
+ <br>
+<%if customerphone%>
+ <br>Tel: <%customerphone%>
+<%end customerphone%>
+<%if customerfax%>
+ <br>Fax: <%customerfax%>
+<%end customerfax%>
+<%if email%>
+ <br><%email%>
+<%end email%>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr height=10></tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td>
+ <table width=100%>
+ <tr>
+ <th align=left>Invoice #</th>
+ <th width=15%>Date</th>
+ <th width=15%>Due</th>
+ <th width=10%>Current</th>
+ <th width=10%>30</th>
+ <th width=10%>60</th>
+ <th width=10%>90+</th>
+ </tr>
+<%foreach invnumber%>
+ <tr>
+ <td><%invnumber%></td>
+ <td><%invdate%></td>
+ <td><%duedate%></td>
+ <td align=right><%c0%></td>
+ <td align=right><%c30%></td>
+ <td align=right><%c60%></td>
+ <td align=right><%c90%></td>
+ </tr>
+<%end invnumber%>
+ <tr>
+ <td colspan=7><hr size=1></td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td>&nbsp;</td>
+ <td>&nbsp;</td>
+ <th align=right><%c0total%></td>
+ <th align=right><%c30total%></td>
+ <th align=right><%c60total%></td>
+ <th align=right><%c90total%></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr height=10></tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td align=right>
+ <table width=50%>
+ <tr>
+ <th>Total Outstanding</th>
+ <th align=right><%total%></th>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td><hr noshade></td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td>Please make check payable to <b><%company%></b>.
+ </td>
+ </tr>
+ <tr height=20></tr>
+</table>
+
diff --git a/sql-ledger/templates/Estonian-statement.tex b/sql-ledger/templates/Estonian-statement.tex
new file mode 100644
index 0000000..0b63f75
--- /dev/null
+++ b/sql-ledger/templates/Estonian-statement.tex
@@ -0,0 +1,137 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.5cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.5cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
+
+\newsavebox{\hdr}
+\sbox{\hdr}{
+ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+ \parbox{\textwidth}{
+ \parbox[b]{12cm}{
+ <%company%>
+
+ <%address%>}\hfill
+ \begin{tabular}[b]{rrr@{}}
+ Tel & <%tel%>\\
+ Fax & <%fax%>
+ \end{tabular}
+
+ \rule[1.5ex]{\textwidth}{0.5pt}
+ }
+}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\markboth{<%company%>\hfill <%statementdate%>}{\usebox{\hdr}}
+
+\pagestyle{myheadings}
+%\thispagestyle{empty} use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+
+ \rule{\textwidth}{2pt}
+
+ \hfill
+ \begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
+ \end{tabularx}
+
+\newpage
+
+\markright{<%company%>\hfill <%statementdate%>}
+
+\vspace*{-12pt}
+
+\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}}
+ \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} &
+ \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\
+ carried forward from <%lastpage%> & & & & & & <%sumcarriedforward%> \\
+<%end pagebreak%>
+
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\vspace*{1.5cm}
+
+\parbox[t]{1cm}{\hfill}
+\parbox[t]{10.5cm}{
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+}
+\parbox[t]{7.5cm}{
+<%if customerphone%>
+Tel: <%customerphone%>
+<%end customerphone%>
+
+<%if customerfax%>
+Fax: <%customerfax%>
+<%end customerfax%>
+
+<%email%>
+}
+\hfill
+
+\vspace{1cm}
+
+\textbf{S T A T E M E N T} \hfill
+
+\hfill <%statementdate%>
+
+\vspace{2cm}
+
+\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}}
+ \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} &
+ \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\
+<%foreach invnumber%>
+ <%invnumber%> & <%invdate%> & <%duedate%> &
+ <%c0%> & <%c30%> & <%c60%> & <%c90%> \\
+<%end invnumber%>
+\textbf{Subtotal} & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%>
+\end{tabular*}
+\rule{\textwidth}{1pt}
+
+\vspace{1cm}
+
+\hfill
+\begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Total outstanding} & <%total%>
+\end{tabularx}
+
+\vfill
+
+Please make check payable to <%company%>
+
+\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+\footnotetext[1]{\tiny
+}
+
+\end{document}
+
diff --git a/sql-ledger/templates/French-balance_sheet.html b/sql-ledger/templates/French-balance_sheet.html
new file mode 100644
index 0000000..56748d6
--- /dev/null
+++ b/sql-ledger/templates/French-balance_sheet.html
@@ -0,0 +1,109 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional">
+
+<html>
+
+<head>
+
+<title>Bilan</title>
+<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-15">
+
+</head>
+
+<body bgcolor=ffffff>
+
+<h2 align=center>
+<%company%>
+<br><%address%>
+
+<p>BILAN DE VÉRIFICATION
+<br><%period%>
+</h2>
+
+<table border=0>
+<tr>
+ <th align=left width=400 colspan=2>ACTIF<br><hr align=left width=250 size=5 noshade></th>
+ <th><%this_period%></th>
+ <th><%last_period%></th>
+</tr>
+
+<%foreach asset_account%>
+<tr>
+ <td> </td>
+ <td><%asset_account%></td>
+ <td align=right><%asset_this_period%></td>
+ <td align=right><%asset_last_period%></td>
+</tr>
+<%end asset_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <th align=left colspan=2>Total Actif</th>
+ <td align=right><%total_assets_this_period%><hr noshade size=2></td>
+ <td align=right><%total_assets_last_period%><hr noshade size=2></td>
+</tr>
+
+<tr>
+ <th align=left colspan=4>PASSIF<b><hr align=left width=250 size=5 noshade></th>
+</tr>
+
+<%foreach liability_account%>
+<tr>
+ <td></td>
+ <td><%liability_account%></td>
+ <td align=right><%liability_this_period%></td>
+ <td align=right><%liability_last_period%></td>
+</tr>
+<%end liability_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <td></td>
+ <th align=left>Total Passif</th>
+ <td align=right><%total_liabilities_this_period%><br><hr noshade size=2</td>
+ <td align=right><%total_liabilities_last_period%><br><hr noshade size=2</td>
+</tr>
+
+<tr>
+ <th align=left colspan=4>BENEFICES NON DISTRIBUÉS<br><hr align=left width=250 size=5 noshade></th>
+</tr>
+
+<%foreach equity_account%>
+<tr>
+ <td></td>
+ <td><%equity_account%></td>
+ <td align=right><%equity_this_period%></td>
+ <td align=right><%equity_last_period%></td>
+</tr>
+<%end equity_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <td></td>
+ <th align=left>Total Capital</th>
+ <td align=right><%total_equity_this_period%><br><hr noshade size=2</td>
+ <td align=right><%total_equity_last_period%><br><hr noshade size=2</td>
+</tr>
+
+<tr valign=top>
+ <th align=left colspan=2>TOTAL PASSIF & CAPITAL</th>
+ <td align=right><%total_this_period%><br><hr noshade size=2></td>
+ <td align=right><%total_last_period%><br><hr noshade size=2></td>
+</tr>
+</table>
+</body>
+</html>
diff --git a/sql-ledger/templates/French-check.tex b/sql-ledger/templates/French-check.tex
new file mode 100644
index 0000000..5b64e81
--- /dev/null
+++ b/sql-ledger/templates/French-check.tex
@@ -0,0 +1,71 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.4cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.0cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+
+\fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont
+
+\parbox[t]{12cm}{
+ <%company%>
+
+ <%address%>}
+\hfill
+\parbox[t]{6cm}{\hfill <%source%>}
+
+\vspace*{0.6cm}
+
+<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill}
+
+\vspace{0.5cm}
+
+\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%>
+
+\vspace{0.5cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{2.8cm}
+
+<%company%>
+
+\vspace{0.5cm}
+
+<%name%> \hfill <%datepaid%> \hfill <%source%>
+
+\vspace{0.5cm}
+\begin{tabularx}{\textwidth}{lXrr@{}}
+\textbf{Invoice No.} & \textbf{Invoice Date}
+ & \textbf{Due} & \textbf{Applied} \\
+<%foreach invnumber%>
+<%invnumber%> & <%invdate%> \dotfill
+ & <%due%> & <%paid%> \\
+<%end invnumber%>
+\end{tabularx}
+
+\vfill
+
+\end{document}
+
diff --git a/sql-ledger/templates/French-income_statement.html b/sql-ledger/templates/French-income_statement.html
new file mode 100644
index 0000000..e76df09
--- /dev/null
+++ b/sql-ledger/templates/French-income_statement.html
@@ -0,0 +1,86 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional">
+
+<html>
+
+<head>
+
+<title>Compte de Résultat</title>
+<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-15">
+
+</head>
+
+<body bgcolor=ffffff>
+
+<h2 align=center>
+<%company%>
+<br><%address%>
+
+<p>Compte de Résultat
+<br><%period%>
+</h2>
+
+
+<table width=100% border=0>
+<tr>
+ <th width=400 align=left colspan=2>RECETTES<br><hr width=300 size=5 align=left noshade></th>
+ <th><%this_period%></th>
+ <th><%last_period%></th>
+</tr>
+
+<%foreach income_account%>
+<tr>
+ <td width=4> </td>
+ <td><%income_account%></td>
+ <td align=right><%income_this_period%></td>
+ <td align=right><%income_last_period%></td>
+</tr>
+<%end income_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <td> </td>
+ <th align=left>Total Recettes</th>
+ <td align=right><%total_income_this_period%><hr noshade size=2></td>
+ <td align=right><%total_income_last_period%><hr noshade size=2></td>
+</tr>
+
+<tr>
+ <th align=left colspan=2>DÉPENSES<br><hr width=300 size=5 align=left noshade></th>
+</tr>
+
+<%foreach expense_account%>
+<tr>
+ <td> </td>
+ <td><%expense_account%></td>
+ <td align=right><%expenses_this_period%></td>
+ <td align=right><%expenses_last_period%></td>
+</tr>
+<%end expense_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <td> </td>
+ <th align=left>Total Dépenses</th>
+ <td align=right><%total_expenses_this_period%><br><hr noshade size=2</td>
+ <td align=right><%total_expenses_last_period%><br><hr noshade size=2</td>
+</tr>
+
+<tr valign=top>
+ <th align=left colspan=2>BENEFICES / PERTES (en <%currency%> )</th>
+ <td align=right><%total_this_period%><br><hr noshade size=2></td>
+ <td align=right><%total_last_period%><br><hr noshade size=2></td>
+</tr>
+
+</table>
+</body>
+</html>
diff --git a/sql-ledger/templates/French-invoice.html b/sql-ledger/templates/French-invoice.html
new file mode 100644
index 0000000..901a317
--- /dev/null
+++ b/sql-ledger/templates/French-invoice.html
@@ -0,0 +1,309 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional">
+
+<html>
+
+<head>
+
+<title>A2A <%invnumber%> <%name%></title>
+<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-15">
+
+</head>
+
+<body bgcolor="ffffff">
+
+<table width="100%">
+<tr valign=bottom>
+ <td width=10>&nbsp;</td>
+ <td>
+
+ <table width="100%">
+ <tr>
+ <td>
+ <h4>
+ <%company%>
+ <br><%address%>
+ </h4>
+ </td>
+
+ <td align=right>
+ <h4>
+ Tél&nbsp;: <%tel%>
+ <br>Fax&nbsp;: <%fax%>
+ </h4>
+ </td>
+ </tr>
+
+ <tr>
+ <th colspan=3>
+ <h4>F A C T U R E</h4>
+ </th>
+ </tr>
+
+ </table>
+
+
+ <table width="100%" cellspacing=0 cellpadding=0>
+
+ <tr>
+ <td align=right>
+ <table>
+ <tr>
+ <th align=right>Date de facture</th><td width=10>&nbsp;</td><td><%invdate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Date d'échéance</th><td width=10>&nbsp;</td><td><%duedate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>N° de facture</th><td>&nbsp;</td><td><%invnumber%></td></tr>
+ </tr>
+
+<!--
+ <tr>
+ <th align=right>Correspondant</th><td>&amp;nbsp;</td><td><%employee%></td>
+ </tr>
+-->
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+ </td>
+ </table>
+ </tr>
+
+ <tr>
+ <td>
+ <table width="100%">
+ <tr bgcolor="000000">
+ <th align=left><font color=ffffff>Adresse de facturation</font></th>
+ <th align=left><font color=ffffff>Adresse d'envoi</font></th>
+ </tr>
+
+<!--
+ d'autres variables pouvant être utilisées ici :
+ contact, shiptocontact, shiptophone, shiptofax
+-->
+
+ <tr valign=top>
+ <td><%name%>
+ <br><%addr1%>
+ <br><%addr2%>
+ <br><%addr3%>
+ <br><%addr4%>
+ </td>
+
+ <td><%shiptoname%>
+ <br><%shiptoaddr1%>
+ <br><%shiptoaddr2%>
+ <br><%shiptoaddr3%>
+ <br><%shiptoaddr4%>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ <tr>
+ <td>
+ <table width="100%">
+ <tr bgcolor="000000">
+<!-- <th align=right><font color="ffffff">N°</font></th> -->
+ <th align=left><font color="ffffff">N°</font></th>
+ <th align=left><font color="ffffff">Description</font></th>
+ <th><font color="ffffff">Qté</font></th>
+ <th>&nbsp;</th>
+ <th><font color="ffffff">Prix</font></th>
+ <th><font color="ffffff">Remise</font></th>
+ <th><font color="ffffff">Montant</font></th>
+ </tr>
+
+<%foreach number%>
+ <tr valign=top>
+<!-- <td align=right><%runningnumber%>.</td>
+veuillez adapter le colspan si vous comptez inclure ce poste.
+ceci permettra de décaler le poste sous-total vers la gauche.
+-->
+ <td><%number%></td>
+ <td><%description%></td>
+ <td align=right><%qty%></td>
+ <td><%unit%></td>
+ <td align=right><%sellprice%></td>
+ <td align=right><%discount%></td>
+ <td align=right><%linetotal%></td>
+ </tr>
+<%end number%>
+
+<!--
+vous pouvez également utiliser netprice à la place de sellprice
+si vous ne voulez pas afficher la remise
+netprice = sellprice - discount
+-->
+
+ <tr>
+ <td colspan=7><hr noshade></td>
+ </tr>
+
+ <tr>
+<%if taxincluded%>
+ <th colspan=5 align=right>Total</th>
+ <td colspan=2 align=right><%invtotal%></td>
+<%end taxincluded%>
+<%if not taxincluded%>
+ <th colspan=5 align=right>Sous-total</th>
+ <td colspan=2 align=right><%subtotal%></td>
+<%end taxincluded%>
+ </tr>
+
+<%foreach tax%>
+ <tr>
+ <th colspan=5 align=right><%taxdescription%></th>
+ <td colspan=2 align=right><%tax%></td>
+ </tr>
+<%end tax%>
+
+<%if paid%>
+ <tr>
+ <th colspan=5 align=right>Déjà payé</th>
+ <td colspan=2 align=right>- <%paid%></td>
+ </tr>
+<%end paid%>
+
+ <tr>
+ <td colspan=3>&nbsp;</td>
+ <td colspan=4><hr noshade></td>
+ </tr>
+
+ <tr>
+ <td colspan=3>À régler dans <b><%terms%></b> jours au plus tard.</td>
+ <th colspan=2 align=right>Solde à régler</th>
+ <th colspan=2 align=right><%total%></th>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+
+<tr>
+ <td>
+ <table width="100%">
+ <tr valign=top>
+<%if notes%>
+ <td>À noter&nbsp;:</td>
+ <td><%notes%></td>
+<%end notes%>
+ <td align=right>
+ Tous prix indiqués en <b><%currency%></b>
+ <br><%shippingpoint%>
+ </td>
+ </tr>
+
+ </table>
+ </td>
+</tr>
+
+<tr><td>&nbsp;</td></tr>
+
+<%if paid%>
+<tr>
+ <td colspan=7>
+ <table width="60%">
+ <tr>
+ <th align=left>Détail règlements</th>
+ </tr>
+ <tr>
+ <td colspan=4>
+ <hr noshade>
+ </td>
+ </tr>
+ <tr>
+ <th align=left>Date</th>
+ <th align=left>Compte</th>
+ <th align=left>Source</th>
+ <th align=left>Montant</th>
+ </tr>
+<%end paid%>
+
+<%foreach payment%>
+ <tr>
+ <td><%paymentdate%></td>
+ <td><%paymentaccount%></td>
+ <td><%paymentsource%></td>
+ <td><%payment%></td>
+ </tr>
+<%end payment%>
+
+<%if paid%>
+ </table>
+ </td>
+</tr>
+
+<tr>
+ <td>&nbsp;</td>
+</tr>
+<%end paid%>
+
+<tr>
+ <th colspan=7>
+ <!-- <br>Merci beaucoup&amp;nbsp;! -->
+ </th>
+</tr>
+
+<tr><td>&nbsp;</td></tr>
+
+<tr>
+ <td>
+ <table width="100%">
+ <tr valign=top>
+ <td><font size=-3>
+ &nbsp;
+ </td>
+ <td width=150>
+ X <hr noshade>
+ </td>
+ </tr>
+ </table>
+ </td>
+</tr>
+
+<!-- <%foreach tax%>
+ <tr>
+ <th colspan=7 align=left><font size=-2><%taxdescription%> Numéro de TVA <%taxnumber%></font></th>
+ </tr>
+<%end tax%> -->
+
+<%if taxincluded%>
+ <tr>
+ <th colspan=7 align=left><font size=-2>Les taxes affichés sont inclus dans le prix.</font></th>
+ </tr>
+<%end taxincluded%>
+
+<!-- business number
+ <tr>
+ <th colspan=7 align=left><font size=-2>Régistre de Commerce&amp;nbsp;: <%businessnumber%></font></th>
+ </tr>
+-->
+
+<!-- information banquaire -->
+ <tr><td>
+ <h6><center>N° TVA&nbsp;: &nbsp;&nbsp;Banque&nbsp;: &nbsp;&nbsp;N° de compte&nbsp;: &nbsp;&nbsp;Code SWIFT&nbsp;: </center>
+ </h6>
+ </td>
+ </tr>
+
+</table>
+
+</td>
+</tr>
+</table>
+
+</body>
+</html>
diff --git a/sql-ledger/templates/French-invoice.tex b/sql-ledger/templates/French-invoice.tex
new file mode 100644
index 0000000..2896fc9
--- /dev/null
+++ b/sql-ledger/templates/French-invoice.tex
@@ -0,0 +1,151 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage[frenchb]{babel}
+\usepackage[latin1]{inputenc}
+\usepackage{tabularx}
+\setlength{\voffset}{0.5cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.5cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
+
+\newsavebox{\hdr}
+\sbox{\hdr}{
+ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+ \parbox{\textwidth}{
+ \parbox[b]{12cm}{
+ <%company%>
+
+ <%address%>}\hfill
+ \begin{tabular}[b]{rr@{}}
+ Téléphone & <%tel%>\\
+ Télécopieur & <%fax%>
+ \end{tabular}
+
+ \rule[1.5ex]{\textwidth}{0.5pt}
+ }
+}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}}
+
+\pagestyle{myheadings}
+%\thispagestyle{empty} use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+
+ \rule{\textwidth}{2pt}
+
+ \hfill
+ \begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Sous-total} & \textbf{<%sumcarriedforward%>} \\
+ \end{tabularx}
+
+\newpage
+
+\markright{<%company%>\hfill <%invnumber%>}
+
+\vspace*{-12pt}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
+ \textbf{Numéro} & \textbf{Description} & \textbf{Qté} &
+ \textbf{Unité} & \textbf{Prix} & \textbf{Remise} & \textbf{Montant} \\
+ & reporté de la page <%lastpage%> & & & & & <%sumcarriedforward%> \\
+<%end pagebreak%>
+
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\vspace*{2cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{3.5cm}
+
+\textbf{F A C T U R E}
+\hfill
+\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
+ \textbf{Date de facturation} & <%invdate%> \\
+ \textbf{Numéro de facture} & <%invnumber%> \\
+ \textbf{Numéro de client} & <%customer_id%>
+\end{tabular}
+
+\vspace{1cm}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
+ \textbf{Numéro} & \textbf{Description} & \textbf{Qté} &
+ \textbf{Unité} & \textbf{Prix} & \textbf{Remise} & \textbf{Montant} \\
+<%foreach number%>
+ <%number%> & <%description%> & <%qty%> &
+ <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\
+<%end number%>
+\end{tabular*}
+
+
+\parbox{\textwidth}{
+\rule{\textwidth}{2pt}
+
+\vspace{0.2cm}
+
+\hfill
+\begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Sous-total} & \textbf{<%subtotal%>} \\
+<%foreach tax%>
+ <%taxdescription%> de <%taxbase%> & <%tax%>\\
+<%end tax%>
+ \hline
+ \textbf{Total} & \textbf{<%total%>}\\
+\end{tabularx}
+
+\vspace{0.3cm}
+
+\hfill
+ Tous les prix indiqués sont en \textbf{<%currency%>}.
+
+\vspace{12pt}
+
+<%if notes%>
+ <%notes%>
+<%end if%>
+
+}
+
+\vfill
+\centerline{\textbf{Merci de faire affaire avec nous!}}
+
+\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+\footnotetext[1]{\tiny
+Le paiement doit être acquitté au plus tard <%terms%> jours à partir de
+la date de facturation. Des intérêts seront perçus à raison de 1.5\% par
+mois après <%duedate%> jusqu'à ce que le paiement soit complet. Les
+éléments retournés seront sujets à un supplément de remmagasinnage de
+10\%. Une autorisation de renvoi doit être obtenue au préalable auprès de
+<%company%>. Les frais de transports et d'assurance sur les éléments
+retournés devront être couvert par le client de façon appropriée.
+<%company%> ne peut être tenue responsable des dommages survenus pendant
+le transit.}
+
+\end{document}
diff --git a/sql-ledger/templates/French-packing_list.html b/sql-ledger/templates/French-packing_list.html
new file mode 100644
index 0000000..3fa2fec
--- /dev/null
+++ b/sql-ledger/templates/French-packing_list.html
@@ -0,0 +1,152 @@
+CTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional">
+
+<html>
+
+<head>
+
+<title>A2A <%invnumber%> <%name%></title>
+<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-15">
+
+</head>
+
+<body bgcolor=ffffff>
+
+<table width=100%>
+<tr>
+ <td width=10>
+ </td>
+ <td>
+
+ <table width=100%>
+ <tr>
+ <td>
+ <h4>
+ <%company%>
+ <br><%address%>
+ </h4>
+ </td>
+
+ <th colspan=2>
+ <h4 align=center>L I S T E&nbsp;&nbsp;D ' E N V O I</h4>
+ </th>
+ </tr>
+
+ </table>
+
+
+ <table width=100% callspacing=0 cellpadding=0>
+
+ <tr>
+ <td align=right>
+ <table>
+ <tr>
+ <th align=right>Date de facture&nbsp;:</th><td width=10> </td><td><%invdate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Numéro de facture&nbsp;:</th><td></td><td><%invnumber%></td></tr>
+ </tr>
+
+ <tr>
+ <td>
+ </td>
+ </tr>
+ </td>
+ </table>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <th align=left><font color=ffffff>Adresse d'envoi</th>
+ </tr>
+
+ <tr>
+ <td><%shiptoname%>
+ <br><%shiptoaddr1%>
+ <br><%shiptoaddr2%>
+ <br><%shiptoaddr3%>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <th align=left><font color=ffffff>N°</th>
+ <th align=left><font color=ffffff>Description</th>
+ <th><font color=ffffff>Qté</th>
+ <th>&nbsp;</th>
+ </tr>
+
+<%foreach number%>
+ <tr valign=top>
+ <td><%number%></td>
+ <td><%description%></td>
+ <td align=center><%qty%></td>
+ <td><%unit%></td>
+ </tr>
+<%end number%>
+
+ <tr>
+ <td colspan=4><hr noshade></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+<%if notes%>
+ <td>À noter&nbsp;:</td>
+ <td><pre><%notes%></pre></td>
+<%end notes%>
+ <td align=right><b>EXPÉDIÉ PAR&nbsp;:
+ <%shippingpoint%></b>
+ </td>
+ </tr>
+
+ </table>
+ </td>
+</tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td><font size=-3><!--
+ Conditions d'envoi :
+ Items returned are subject to
+ a 10% restocking charge. A return authorization must be obtained
+ from <%company%> before goods are returned. Returns must be shipped
+ prepaid and properly insured. <%company%> will not be responsible
+ for damages during transit. -->
+ </font>
+ </td>
+ <td width=150>
+ X <hr noshade>
+ </td>
+ </tr>
+ </table>
+ </td>
+</tr>
+
+</table>
+
+</td>
+</tr>
+</table>
+</body>
+</html>
diff --git a/sql-ledger/templates/French-packing_list.tex b/sql-ledger/templates/French-packing_list.tex
new file mode 100644
index 0000000..87113de
--- /dev/null
+++ b/sql-ledger/templates/French-packing_list.tex
@@ -0,0 +1,125 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage[frenchb]{babel}
+\usepackage[latin1]{inputenc}
+\usepackage{tabularx}
+\setlength{\voffset}{0.5cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.5cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
+
+\newsavebox{\hdr}
+\sbox{\hdr}{
+ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+ \parbox{\textwidth}{
+ \parbox[b]{12cm}{
+ <%company%>
+
+ <%address%>}\hfill
+ \begin{tabular}[b]{rr@{}}
+ Téléphone & <%tel%>\\
+ Télécopieur & <%fax%>
+ \end{tabular}
+
+ \rule[1.5ex]{\textwidth}{0.5pt}
+ }
+}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}}
+
+\pagestyle{myheadings}
+%\thispagestyle{empty} use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+
+\newpage
+
+\markright{<%company%>\hfill <%invnumber%>}
+
+\vspace*{-12pt}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}}
+ \textbf{Numéro} & \textbf{Description} & \textbf{Qté} &
+ \textbf{Unité} & \textbf{Bin} \\
+<%end pagebreak%>
+
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\vspace*{2cm}
+
+<%shiptoname%>
+
+<%shiptoaddr1%>
+
+<%shiptoaddr2%>
+
+<%shiptoaddr3%>
+
+<%shiptoaddr4%>
+
+\vspace{3.5cm}
+
+\textbf{L I S T E} \parbox{0.3cm}{\hfill} \textbf{D E}
+\parbox{0.3cm}{\hfill} \textbf{P A Q U E T A G E}
+
+\hfill
+\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
+ \textbf{Date de facture} & <%invdate%> \\
+ \textbf{Numéro de facture} & <%invnumber%> \\
+ \textbf{Numéro de client} & <%customer_id%>
+\end{tabular}
+
+\vspace{1cm}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}}
+ \textbf{Numéro} & \textbf{Description} & \textbf{Qté} &
+ \textbf{Unité} & \textbf{Bin} \\
+<%foreach number%>
+ <%number%> & <%description%> & <%qty%> &
+ <%unit%> & <%bin%> \\
+<%end number%>
+\end{tabular*}
+
+
+\parbox{\textwidth}{
+\rule{\textwidth}{2pt}
+
+\vspace{12pt}
+
+<%if notes%>
+ <%notes%>
+<%end if%>
+
+}
+
+\vfill
+\centerline{\textbf{Merci de faire affaire avec nous!}}
+
+\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+\footnotetext[1]{\tiny
+Les éléments retournés seront sujets à un supplément de remmagasinnage de
+10\%. Une autorisation de renvoi doit être obtenue au préalable auprès de
+<%company%>. Les frais de transports et d'assurance sur les éléments
+retournés devront être couvert par le client de façon appropriée.
+<%company%> ne peut être tenue responsable des dommages survenus pendant
+le transit.}
+
+\end{document}
diff --git a/sql-ledger/templates/French-purchase_order.html b/sql-ledger/templates/French-purchase_order.html
new file mode 100644
index 0000000..a5da0ad
--- /dev/null
+++ b/sql-ledger/templates/French-purchase_order.html
@@ -0,0 +1,207 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional">
+
+<html>
+
+<head>
+
+<title>Commande <%ordnumber%> <%name%></title>
+<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-15">
+
+</head>
+
+<body bgcolor=ffffff>
+
+<table width=100%>
+<tr valign=bottom>
+ <td width=10>&nbsp;</td>
+ <td>
+
+ <table width=100%>
+ <tr>
+ <td>
+ <h4>
+ <%company%>
+ <br><%address%>
+ </h4>
+ </td>
+
+ <td align=right>
+ <h4>
+ Tél&nbsp;: <%tel%>
+ <br>Fax&nbsp;: <%fax%>
+ </h4>
+ </td>
+ </tr>
+
+ <tr>
+ <th colspan=3>
+ <h4>B O N&nbsp;&nbsp;D E&nbsp;&nbsp;C O M M A N D E</h4>
+ </th>
+ </tr>
+
+ </table>
+
+
+ <table width=100% cellspacing=0 cellpadding=0>
+
+ <tr>
+ <td align=right>
+ <table>
+ <tr>
+ <th align=right>Date commande</th><td width=10>&nbsp;</td><td><%orddate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Requis pour</th><td width=10>&nbsp;</td><td><%reqdate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>N° commande</th><td>&nbsp;</td><td><%ordnumber%></td></tr>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+ </td>
+ </table>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <th align=left><font color=ffffff>Commandé par</th>
+ </tr>
+
+ <tr>
+ <td><%name%>
+ <br><%addr1%>
+ <br><%addr2%>
+ <br><%addr3%>
+ <br><%addr4%>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+<!-- <th align=right><font color=ffffff>No.</th> -->
+ <th align=left><font color=ffffff>N°</th>
+ <th align=left><font color=ffffff>Description</th>
+ <th><font color=ffffff>Qté</th>
+ <th>&nbsp;</th>
+ <th><font color=ffffff>Prix</th>
+ <th><font color=ffffff>Montant</th>
+ </tr>
+
+<%foreach number%>
+ <tr valign=top>
+<!-- <td align=right><%runningnumber%>.</td>
+veuillez ajuster le colspan si vous voulez inclure ce poste pour décaler le sous-total vers la droite.
+-->
+ <td><%number%></td>
+ <td><%description%></td>
+ <td align=right><%qty%></td>
+ <td><%unit%></td>
+ <td align=right><%sellprice%></td>
+ <td align=right><%linetotal%></td>
+ </tr>
+<%end number%>
+
+ <tr>
+ <td colspan=6><hr noshade></td>
+ </tr>
+
+ <tr>
+ <th colspan=4 align=right>Sous-total</th>
+ <td colspan=2 align=right><%subtotal%></td>
+ </tr>
+
+<%foreach tax%>
+ <tr>
+ <th colspan=4 align=right><%taxdescription%> @ <%taxrate%> %</th>
+ <td colspan=2 align=right><%tax%></td>
+ </tr>
+<%end tax%>
+
+ <tr>
+ <td colspan=2>&nbsp;</td>
+ <td colspan=4><hr noshade></td>
+ </tr>
+
+ <tr>
+ <td colspan=2>À régler dans <b><%terms%></b> jours au plus tard</td>
+ <th colspan=2 align=right>Total</th>
+ <th colspan=2 align=right><%total%></th>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+<%if notes%>
+ <td>À noter&nbsp;:</td>
+ <td><pre><%notes%></pre></td>
+<%end notes%>
+ <td align=right>
+ Tous prix indiqués en <b><%currency%></b>
+ <br><%shippingpoint%>
+ </td>
+ </tr>
+
+ </table>
+ </td>
+</tr>
+
+<tr><td>&nbsp;</td></tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td>
+<!--
+<font size=-3>
+ Payment due NET <%terms%> Days from date of Invoice.
+ Interest on overdue amounts will acrue at the rate of 1.5% per month
+ from due date until paid in full. Items returned are subject to
+ a 10% restocking charge. A return authorization must be obtained
+ from <%company%> before goods are returned. Returns must be shipped
+ prepaid and properly insured. <%company%> will not be responsible
+ for damages during transit.
+ </font>
+-->
+ </td>
+ <td width=150>
+ X <hr noshade>
+ </td>
+ </tr>
+ </table>
+ </td>
+</tr>
+
+</table>
+
+</td>
+</tr>
+</table>
+
+</body>
+</html>
+
diff --git a/sql-ledger/templates/French-purchase_order.tex b/sql-ledger/templates/French-purchase_order.tex
new file mode 100644
index 0000000..670d59c
--- /dev/null
+++ b/sql-ledger/templates/French-purchase_order.tex
@@ -0,0 +1,143 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage[frenchb]{babel}
+\usepackage[latin1]{inputenc}
+\usepackage{tabularx}
+\setlength{\voffset}{0.5cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.5cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
+
+\newsavebox{\hdr}
+\sbox{\hdr}{
+ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+ \parbox{\textwidth}{
+ \parbox[b]{12cm}{
+ <%company%>
+
+ <%address%>}\hfill
+ \begin{tabular}[b]{rr@{}}
+ Téléphone & <%tel%>\\
+ Télécopieur & <%fax%>
+ \end{tabular}
+
+ \rule[1.5ex]{\textwidth}{0.5pt}
+ }
+}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\markboth{<%company%>\hfill <%ordnumber%>}{\usebox{\hdr}}
+
+\pagestyle{myheadings}
+%\thispagestyle{empty} use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+
+ \rule{\textwidth}{2pt}
+
+ \hfill
+ \begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Sous-total} & \textbf{<%sumcarriedforward%>} \\
+ \end{tabularx}
+
+\newpage
+
+\markright{<%company%>\hfill <%ordnumber%>}
+
+\vspace*{-12pt}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}}
+ \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
+ \textbf{Unit} & \textbf{Price} & \textbf{Amount} \\
+ & reporté de la page <%lastpage%> & & & & <%sumcarriedforward%> \\
+<%end pagebreak%>
+
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\vspace*{2cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{3.5cm}
+
+\textbf{B O N} \parbox{0.3cm}{\hfill} \textbf{D E} \parbox{0.3cm}{\hfill}
+\textbf{C O M M A N D E}
+\hfill
+\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
+ \textbf{Date de la commande} & <%orddate%> \\
+<%if reqdate%>
+ \textbf{Livrable le} & <%reqdate%> \\
+<%end reqdate%>
+ \textbf{Numéro de commande} & <%ordnumber%>
+\end{tabular}
+
+\vspace{1cm}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}}
+ \textbf{Numéro} & \textbf{Description} & \textbf{Qté} &
+ \textbf{Unité} & \textbf{Prix} & \textbf{Montant} \\
+<%foreach number%>
+ <%number%> & <%description%> & <%qty%> &
+ <%unit%> & <%sellprice%> & <%linetotal%> \\
+<%end number%>
+\end{tabular*}
+
+
+\parbox{\textwidth}{
+\rule{\textwidth}{2pt}
+
+\vspace{0.2cm}
+
+\hfill
+\begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Sous-total} & \textbf{<%subtotal%>} \\
+<%foreach tax%>
+ <%taxdescription%> de <%taxbase%> & <%tax%>\\
+<%end tax%>
+ \hline
+ \textbf{Total} & \textbf{<%ordtotal%>}\\
+\end{tabularx}
+
+\vspace{0.3cm}
+
+\hfill
+ Tous les prix indiqués sont en \textbf{<%currency%>}.
+
+\vspace{12pt}
+
+<%if notes%>
+ <%notes%>
+<%end if%>
+
+}
+
+
+%\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+%\footnotetext[1]{\tiny }
+
+\end{document}
diff --git a/sql-ledger/templates/French-receipt.tex b/sql-ledger/templates/French-receipt.tex
new file mode 100644
index 0000000..5b64e81
--- /dev/null
+++ b/sql-ledger/templates/French-receipt.tex
@@ -0,0 +1,71 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.4cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.0cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+
+\fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont
+
+\parbox[t]{12cm}{
+ <%company%>
+
+ <%address%>}
+\hfill
+\parbox[t]{6cm}{\hfill <%source%>}
+
+\vspace*{0.6cm}
+
+<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill}
+
+\vspace{0.5cm}
+
+\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%>
+
+\vspace{0.5cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{2.8cm}
+
+<%company%>
+
+\vspace{0.5cm}
+
+<%name%> \hfill <%datepaid%> \hfill <%source%>
+
+\vspace{0.5cm}
+\begin{tabularx}{\textwidth}{lXrr@{}}
+\textbf{Invoice No.} & \textbf{Invoice Date}
+ & \textbf{Due} & \textbf{Applied} \\
+<%foreach invnumber%>
+<%invnumber%> & <%invdate%> \dotfill
+ & <%due%> & <%paid%> \\
+<%end invnumber%>
+\end{tabularx}
+
+\vfill
+
+\end{document}
+
diff --git a/sql-ledger/templates/French-sales_order.html b/sql-ledger/templates/French-sales_order.html
new file mode 100644
index 0000000..492e75e
--- /dev/null
+++ b/sql-ledger/templates/French-sales_order.html
@@ -0,0 +1,229 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional">
+
+<html>
+
+<head>
+
+<title>Commande <%ordnumber%> <%name%></title>
+<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-15">
+
+</head>
+
+<body bgcolor="ffffff">
+
+<table width="100%">
+<tr valign=bottom>
+ <td width=10>&nbsp;</td>
+ <td>
+
+ <table width="100%">
+ <tr>
+ <td>
+ <h4>
+ <%company%>
+ <br><%address%>
+ </h4>
+ </td>
+
+ <td align=right>
+ <h4>
+ Tél&nbsp;: <%tel%>
+ <br>Fax&nbsp;: <%fax%>
+ </h4>
+ </td>
+ </tr>
+
+ <tr>
+ <th colspan=3>
+ <h4>B O N&nbsp;&nbsp;&nbsp;D E&nbsp;&nbsp;&nbsp;C O M M A N D E</h4>
+ </th>
+ </tr>
+
+ </table>
+
+
+ <table width=100% cellspacing=0 cellpadding=0>
+
+ <tr>
+ <td align=right>
+ <table>
+ <tr>
+ <th align=right>Date commande</th><td width=10>&nbsp;</td><td><%orddate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Requis pour</th><td width=10>&nbsp;</td><td><%reqdate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>N° commande</th><td>&nbsp;</td><td><%ordnumber%></td></tr>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+ </td>
+ </table>
+ </tr>
+
+ <tr>
+ <td>
+ <table width="100%">
+ <tr bgcolor="000000">
+ <th align=left><font color="ffffff">Commandé par</th>
+ <th align=left><font color="ffffff">Adresse d'envoi</th>
+ </tr>
+
+ <tr>
+ <td><%name%>
+ <br><%addr1%>
+ <br><%addr2%>
+ <br><%addr3%>
+ <br><%addr4%>
+ </td>
+
+ <td><%shiptoname%>
+ <br><%shiptoaddr1%>
+ <br><%shiptoaddr2%>
+ <br><%shiptoaddr3%>
+ <br><%shiptoaddr4%>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ <tr>
+ <td>
+ <table width="100%">
+ <tr bgcolor="000000">
+<!-- <th align=right><font color="ffffff">N°</th> -->
+ <th align=left><font color="ffffff">N°</th>
+ <th align=left><font color="ffffff">Description</th>
+ <th><font color="ffffff">Qté</th>
+ <th>&nbsp;</th>
+ <th><font color="ffffff">Prix</th>
+ <th><font color="ffffff">Remise</th>
+ <th><font color="ffffff">Montant</th>
+ </tr>
+
+<%foreach number%>
+ <tr valign=top>
+<!-- <td align=right><%runningnumber%>.</td>
+adjust the colspan if you include this to shift subtotal one to the right
+-->
+ <td><%number%></td>
+ <td><%description%></td>
+ <td align=right><%qty%></td>
+ <td><%unit%></td>
+ <td align=right><%sellprice%></td>
+ <td align=right><%discount%></td>
+ <td align=right><%linetotal%></td>
+ </tr>
+<%end number%>
+
+ <tr>
+ <td colspan=7><hr noshade></td>
+ </tr>
+
+ <tr>
+<%if taxincluded%>
+ <th colspan=5 align=right>Total</th>
+ <td colspan=2 align=right><%ordtotal%></td>
+<%end taxincluded%>
+
+<%if not taxincluded%>
+ <th colspan=5 align=right>Sous-total</th>
+ <td colspan=2 align=right><%subtotal%></td>
+<%end taxincluded%>
+ </tr>
+
+<%foreach tax%>
+ <tr>
+ <th colspan=5 align=right><%taxdescription%></th>
+ <td colspan=2 align=right><%tax%></td>
+ </tr>
+<%end tax%>
+
+ <tr>
+ <td colspan=2>&nbsp;</td>
+ <td colspan=5><hr noshade></td>
+ </tr>
+
+ <tr>
+ <td colspan=3>À régler dans <b><%terms%></b> jours au plus tard</td>
+ <th colspan=2 align=right>Total</th>
+ <th colspan=2 align=right><%ordtotal%></th>
+ </tr>
+<%if taxincluded%>
+ <tr>
+ <td colspan=3>Taxe comprise dans Total</td>
+ </tr>
+<%end taxincluded%>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+
+<tr>
+ <td>
+ <table width="100%">
+ <tr valign=top>
+<%if notes%>
+ <td>À noter&nbsp;:</td>
+ <td><%notes%></td>
+<%end notes%>
+ <td align=right>
+ Tous prix indiqués en <b><%currency%></b>
+ <br><%shippingpoint%>
+ </td>
+ </tr>
+
+ </table>
+ </td>
+</tr>
+
+<tr><td>&nbsp;</td></tr>
+
+<tr>
+ <td>
+ <table width="100%">
+ <tr valign=top>
+ <td><font size=-3>
+<!--
+ A 10% order cancellation fee will be applied for any special order
+ products or products that have been customized, enhanced or
+ upgraded at customers request.
+-->
+ </font>
+ </td>
+ <td width=150>
+ X <hr noshade>
+ </td>
+ </tr>
+ <tr>
+ <td colspan=5>
+ <h6><center>N° TVA&nbsp;: &nbsp;&nbsp;Banque&nbsp;: &nbsp;&nbsp;N° de compte&nbsp;: &nbsp;&nbsp;Code SWIFT&nbsp;: </center>
+ </h6>
+ </td>
+ </tr>
+ </table>
+ </td>
+</tr>
+
+</table>
+
+</td>
+</tr>
+</table>
+
+</body>
+</html>
diff --git a/sql-ledger/templates/French-sales_order.tex b/sql-ledger/templates/French-sales_order.tex
new file mode 100644
index 0000000..88e142f
--- /dev/null
+++ b/sql-ledger/templates/French-sales_order.tex
@@ -0,0 +1,144 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage[frenchb]{babel}
+\usepackage[latin1]{inputenc}
+\usepackage{tabularx}
+\setlength{\voffset}{0.5cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.5cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
+
+\newsavebox{\hdr}
+\sbox{\hdr}{
+ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+ \parbox{\textwidth}{
+ \parbox[b]{12cm}{
+ <%company%>
+
+ <%address%>}\hfill
+ \begin{tabular}[b]{rr@{}}
+ Téléphone & <%tel%>\\
+ Télécopieur & <%fax%>
+ \end{tabular}
+
+ \rule[1.5ex]{\textwidth}{0.5pt}
+ }
+}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\markboth{<%company%>\hfill <%ordnumber%>}{\usebox{\hdr}}
+
+\pagestyle{myheadings}
+%\thispagestyle{empty} use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+
+ \rule{\textwidth}{2pt}
+
+ \hfill
+ \begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Sous-total} & \textbf{<%sumcarriedforward%>} \\
+ \end{tabularx}
+
+\newpage
+
+\markright{<%company%>\hfill <%ordnumber%>}
+
+\vspace*{-12pt}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
+ \textbf{Numéro} & \textbf{Description} & \textbf{Qté} &
+ \textbf{Unité} & \textbf{Prix} & \textbf{Remise} & \textbf{Montant} \\
+ & reporté de la page <%lastpage%> & & & & & <%sumcarriedforward%> \\
+<%end pagebreak%>
+
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\vspace*{2cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{3.5cm}
+
+\textbf{C O M M A N D E} \parbox{0.3cm}{\hfill} \textbf{C L I E N T}
+\hfill
+\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
+ \textbf{Date de la commande} & <%orddate%> \\
+ \textbf{Numéro de commande} & <%ordnumber%>
+\end{tabular}
+
+\vspace{1cm}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
+ \textbf{Numéro} & \textbf{Description} & \textbf{Qté} &
+ \textbf{Unité} & \textbf{Prix} & \textbf{Remise} & \textbf{Montant} \\
+<%foreach number%>
+ <%number%> & <%description%> & <%qty%> &
+ <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\
+<%end number%>
+\end{tabular*}
+
+
+\parbox{\textwidth}{
+\rule{\textwidth}{2pt}
+
+\vspace{0.2cm}
+
+\hfill
+\begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Sous-total} & \textbf{<%subtotal%>} \\
+<%foreach tax%>
+ <%taxdescription%> de <%taxbase%> & <%tax%>\\
+<%end tax%>
+ \hline
+ \textbf{Total} & \textbf{<%ordtotal%>}\\
+\end{tabularx}
+
+\vspace{0.3cm}
+
+\hfill
+ Tous les prix indiqués sont en \textbf{<%currency%>}.
+
+\vspace{12pt}
+
+<%if notes%>
+ <%notes%>
+<%end if%>
+
+}
+
+
+\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+\footnotetext[1]{\tiny
+Un supplément de 10% sera appliqué à toute commande spécifique et à tout
+produit adapté, amélioré ou mis-à-jour à la demande du client. Les
+éléments non-retournables sont indiqués ci-dessus.
+}
+
+\end{document}
+
diff --git a/sql-ledger/templates/French-statement.html b/sql-ledger/templates/French-statement.html
new file mode 100644
index 0000000..c2c9a5d
--- /dev/null
+++ b/sql-ledger/templates/French-statement.html
@@ -0,0 +1,133 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional">
+
+<html>
+
+<head>
+
+<title>Extrait de compte pour <%name%></title>
+<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-15">
+
+</head>
+
+
+<body bgcolor=ffffff>
+
+<table width=100%>
+ <tr>
+ <td width=10>&nbsp;</td>
+ <td>
+ <table width=100%>
+ <tr>
+ <td>
+ <h4>
+ <%company%>
+ <br><%address%>
+ </h4>
+ </td>
+ <th></th>
+ <td align=right>
+ <h4>
+ Tél&nbsp;: <%tel%>
+ <br>Fax&nbsp;: <%fax%>
+ </h4>
+ </td>
+ </tr>
+ <tr>
+ <th colspan=3><h4>E X T R A I T&nbsp;&nbsp;D E&nbsp;&nbsp;C O M P T E</h4></th>
+ </tr>
+ <tr>
+ <td colspan=3 align=right><%statementdate%></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td><%name%>
+ <br><%addr1%>
+ <br><%addr2%>
+ <br><%addr3%>
+ <br><%addr4%>
+ <br>
+<%if customerphone%>
+ <br>Tél&nbsp;: <%customerphone%>
+<%end customerphone%>
+<%if customerfax%>
+ <br>Fax&nbsp;: <%customerfax%>
+<%end customerfax%>
+<%if email%>
+ <br><%email%>
+<%end email%>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr height=10></tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td>
+ <table width=100%>
+ <tr>
+ <th align=left>Facture n°</th>
+ <th width=15%>Date</th>
+ <th width=15%>Echeance</th>
+ <th width=10%>Actuel</th>
+ <th width=10%>30</th>
+ <th width=10%>60</th>
+ <th width=10%>90+</th>
+ </tr>
+<%foreach invnumber%>
+ <tr>
+ <td><%invnumber%></td>
+ <td><%invdate%></td>
+ <td><%duedate%></td>
+ <td align=right><%c0%></td>
+ <td align=right><%c30%></td>
+ <td align=right><%c60%></td>
+ <td align=right><%c90%></td>
+ </tr>
+<%end invnumber%>
+ <tr>
+ <td colspan=7><hr size=1></td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td>&nbsp;</td>
+ <td>&nbsp;</td>
+ <th align=right><%c0total%></td>
+ <th align=right><%c30total%></td>
+ <th align=right><%c60total%></td>
+ <th align=right><%c90total%></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr height=10></tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td align=right>
+ <table width=50%>
+ <tr>
+ <th>Solde impayé</th>
+ <th align=right><%total%></th>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td><hr noshade></td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td>Tout paiement au nom de <b><%company%></b>
+ </td>
+ </tr>
+ <tr height=20></tr>
+</table>
+</body>
+</html>
diff --git a/sql-ledger/templates/French-statement.tex b/sql-ledger/templates/French-statement.tex
new file mode 100644
index 0000000..0b63f75
--- /dev/null
+++ b/sql-ledger/templates/French-statement.tex
@@ -0,0 +1,137 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.5cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.5cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
+
+\newsavebox{\hdr}
+\sbox{\hdr}{
+ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+ \parbox{\textwidth}{
+ \parbox[b]{12cm}{
+ <%company%>
+
+ <%address%>}\hfill
+ \begin{tabular}[b]{rrr@{}}
+ Tel & <%tel%>\\
+ Fax & <%fax%>
+ \end{tabular}
+
+ \rule[1.5ex]{\textwidth}{0.5pt}
+ }
+}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\markboth{<%company%>\hfill <%statementdate%>}{\usebox{\hdr}}
+
+\pagestyle{myheadings}
+%\thispagestyle{empty} use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+
+ \rule{\textwidth}{2pt}
+
+ \hfill
+ \begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
+ \end{tabularx}
+
+\newpage
+
+\markright{<%company%>\hfill <%statementdate%>}
+
+\vspace*{-12pt}
+
+\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}}
+ \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} &
+ \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\
+ carried forward from <%lastpage%> & & & & & & <%sumcarriedforward%> \\
+<%end pagebreak%>
+
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\vspace*{1.5cm}
+
+\parbox[t]{1cm}{\hfill}
+\parbox[t]{10.5cm}{
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+}
+\parbox[t]{7.5cm}{
+<%if customerphone%>
+Tel: <%customerphone%>
+<%end customerphone%>
+
+<%if customerfax%>
+Fax: <%customerfax%>
+<%end customerfax%>
+
+<%email%>
+}
+\hfill
+
+\vspace{1cm}
+
+\textbf{S T A T E M E N T} \hfill
+
+\hfill <%statementdate%>
+
+\vspace{2cm}
+
+\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}}
+ \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} &
+ \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\
+<%foreach invnumber%>
+ <%invnumber%> & <%invdate%> & <%duedate%> &
+ <%c0%> & <%c30%> & <%c60%> & <%c90%> \\
+<%end invnumber%>
+\textbf{Subtotal} & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%>
+\end{tabular*}
+\rule{\textwidth}{1pt}
+
+\vspace{1cm}
+
+\hfill
+\begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Total outstanding} & <%total%>
+\end{tabularx}
+
+\vfill
+
+Please make check payable to <%company%>
+
+\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+\footnotetext[1]{\tiny
+}
+
+\end{document}
+
diff --git a/sql-ledger/templates/German-balance_sheet.html b/sql-ledger/templates/German-balance_sheet.html
new file mode 100644
index 0000000..f0d6f5e
--- /dev/null
+++ b/sql-ledger/templates/German-balance_sheet.html
@@ -0,0 +1,100 @@
+
+<body bgcolor=ffffff>
+
+<h2 align=center>
+<%company%>
+<br><%address%>
+
+<p>BILANZ
+<br><%period%>
+</h2>
+
+<table border=0>
+<tr>
+ <th align=left width=400 colspan=2>AKTIVA<br><hr align=left width=250 size=5 noshade></th>
+ <th><%this_period%></th>
+ <th><%last_period%></th>
+</tr>
+
+<%foreach asset_account%>
+<tr>
+ <td> </td>
+ <td><%asset_account%></td>
+ <td align=right><%asset_this_period%></td>
+ <td align=right><%asset_last_period%></td>
+</tr>
+<%end asset_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <th align=left colspan=2>TOTAL</th>
+ <td align=right><%total_assets_this_period%><hr noshade size=2></td>
+ <td align=right><%total_assets_last_period%><hr noshade size=2></td>
+</tr>
+
+<tr>
+ <th align=left colspan=4>PASSIVA<b><hr align=left width=250 size=5 noshade></th>
+</tr>
+
+<%foreach liability_account%>
+<tr>
+ <td></td>
+ <td><%liability_account%></td>
+ <td align=right><%liability_this_period%></td>
+ <td align=right><%liability_last_period%></td>
+</tr>
+<%end liability_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <td></td>
+ <th align=left>TOTAL</th>
+ <td align=right><%total_liabilities_this_period%><br><hr noshade size=2</td>
+ <td align=right><%total_liabilities_last_period%><br><hr noshade size=2</td>
+</tr>
+
+<tr>
+ <th align=left colspan=4>EIGENTUM<br><hr align=left width=250 size=5 noshade></th>
+</tr>
+
+<%foreach equity_account%>
+<tr>
+ <td></td>
+ <td><%equity_account%></td>
+ <td align=right><%equity_this_period%></td>
+ <td align=right><%equity_last_period%></td>
+</tr>
+<%end equity_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <td></td>
+ <th align=left>TOTAL</th>
+ <td align=right><%total_equity_this_period%><br><hr noshade size=2</td>
+ <td align=right><%total_equity_last_period%><br><hr noshade size=2</td>
+</tr>
+
+<tr valign=top>
+ <th align=left colspan=2>TOTAL PASSIVA & EIGETNTUM</th>
+ <td align=right><%total_this_period%><br><hr noshade size=2></td>
+ <td align=right><%total_last_period%><br><hr noshade size=2></td>
+</tr>
+</table>
+
+
+
diff --git a/sql-ledger/templates/German-check.tex b/sql-ledger/templates/German-check.tex
new file mode 100644
index 0000000..d6256e7
--- /dev/null
+++ b/sql-ledger/templates/German-check.tex
@@ -0,0 +1,71 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.4cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.0cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+
+\fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont
+
+\parbox[t]{12cm}{
+ <%company%>
+
+ <%address%>}
+\hfill
+\parbox[t]{6cm}{\hfill <%source%>}
+
+\vspace*{0.6cm}
+
+<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill}
+
+\vspace{0.5cm}
+
+\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%>
+
+\vspace{0.5cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{2.8cm}
+
+<%company%>
+
+\vspace{0.5cm}
+
+<%name%> \hfill <%datepaid%> \hfill <%source%>
+
+\vspace{0.5cm}
+\begin{tabularx}{\textwidth}{lXrr@{}}
+\textbf{Rechnung} & \textbf{Ausgestellt}
+ & \textbf{Fällig} & \textbf{Verrechnet} \\
+<%foreach invnumber%>
+<%invnumber%> & <%invdate%> \dotfill
+ & <%due%> & <%paid%> \\
+<%end invnumber%>
+\end{tabularx}
+
+\vfill
+
+\end{document}
+
diff --git a/sql-ledger/templates/German-income_statement.html b/sql-ledger/templates/German-income_statement.html
new file mode 100644
index 0000000..aa3c22f
--- /dev/null
+++ b/sql-ledger/templates/German-income_statement.html
@@ -0,0 +1,78 @@
+
+<body bgcolor=ffffff>
+
+<h2 align=center>
+<%company%>
+<br><%address%>
+
+<p>GEWINN & VERLUST
+<br><%period%>
+</h2>
+
+
+<table width=100% border=0>
+<tr>
+ <th width=400 align=left colspan=2>EINNAHMEN<br><hr width=300 size=5 align=left noshade></th>
+ <th><%this_period%></th>
+ <th><%last_period%></th>
+</tr>
+
+<%foreach income_account%>
+<tr>
+ <td width=4> </td>
+ <td><%income_account%></td>
+ <td align=right><%income_this_period%></td>
+ <td align=right><%income_last_period%></td>
+</tr>
+<%end income_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <td> </td>
+ <th align=left>Totale Einnahmen</th>
+ <td align=right><%total_income_this_period%><hr noshade size=2></td>
+ <td align=right><%total_income_last_period%><hr noshade size=2></td>
+</tr>
+
+<tr>
+ <th align=left colspan=2>AUSGABEN<br><hr width=300 size=5 align=left noshade></th>
+</tr>
+
+<%foreach expense_account%>
+<tr>
+ <td> </td>
+ <td><%expense_account%></td>
+ <td align=right><%expenses_this_period%></td>
+ <td align=right><%expenses_last_period%></td>
+</tr>
+<%end expense_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <td> </td>
+ <th align=left>Totale Ausgaben</th>
+ <td align=right><%total_expenses_this_period%><br><hr noshade size=2</td>
+ <td align=right><%total_expenses_last_period%><br><hr noshade size=2</td>
+</tr>
+
+<tr valign=top>
+ <th align=left colspan=2>GEWINN / (VERLUST)</th>
+ <td align=right><%total_this_period%><br><hr noshade size=2></td>
+ <td align=right><%total_last_period%><br><hr noshade size=2></td>
+</tr>
+
+</table>
+
+</body>
+</html>
+
diff --git a/sql-ledger/templates/German-invoice.html b/sql-ledger/templates/German-invoice.html
new file mode 100644
index 0000000..b2128c9
--- /dev/null
+++ b/sql-ledger/templates/German-invoice.html
@@ -0,0 +1,265 @@
+
+<body bgcolor=ffffff>
+
+<table width=100%>
+<tr valign=bottom>
+ <td width=10>&nbsp;</td>
+ <td>
+
+ <table width=100%>
+ <tr>
+ <td>
+ <h4>
+ <%company%>
+ <br><%address%>
+ </h4>
+ </td>
+
+ <td align=right>
+ <h4>
+ Telefon <%tel%>
+ <br>Telefax <%fax%>
+ </h4>
+ </td>
+ </tr>
+
+ <tr>
+ <th colspan=3>
+ <h4>R E C H N U N G</h4>
+ </th>
+ </tr>
+
+ </table>
+
+
+ <table width=100% callspacing=0 cellpadding=0>
+
+ <tr>
+ <td align=right>
+ <table>
+ <tr>
+ <th align=right>Ausgestellt am</th><td width=10>&nbsp;</td><td><%invdate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Bezahlbar bis</th><td width=10>&nbsp;</td><td><%duedate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Nummer</th><td>&nbsp;</td><td><%invnumber%></td></tr>
+ </tr>
+
+<!--
+ <tr>
+ <th align=right>Clerk:</th><td>&nbsp;</td><td><%username%></td>
+ </tr>
+-->
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+ </td>
+ </table>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <th align=left><font color=ffffff>An:</th>
+ <th align=left><font color=ffffff>Lieferaddresse:</th>
+ </tr>
+
+<!--
+ other variables which can be use:
+ contact, shiptocontact, shiptophone, shiptofax
+-->
+
+ <tr>
+ <td><%name%>
+ <br><%addr1%>
+ <br><%addr2%>
+ <br><%addr3%>
+ <br><%addr4%>
+ </td>
+
+ <td><%shiptoname%>
+ <br><%shiptoaddr1%>
+ <br><%shiptoaddr2%>
+ <br><%shiptoaddr3%>
+ <br><%shiptoaddr4%>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+<!-- <th align=right><font color=ffffff>No.</th> -->
+ <th align=left><font color=ffffff>Nummer</th>
+ <th align=left><font color=ffffff>Beschreibung</th>
+ <th><font color=ffffff>Anz.</th>
+ <th>&nbsp;</th>
+ <th><font color=ffffff>Preis</th>
+ <th><font color=ffffff>Rab</th>
+ <th><font color=ffffff>Total</th>
+ </tr>
+
+<%foreach number%>
+ <tr valign=top>
+<!-- <td align=right><%runningnumber%>.</td>
+adjust the colspan if you include this to shift subtotal one to the right
+-->
+ <td><%number%></td>
+ <td><%description%></td>
+ <td align=right><%qty%></td>
+ <td><%unit%></td>
+ <td align=right><%sellprice%></td>
+ <td align=right><%discount%></td>
+ <td align=right><%linetotal%></td>
+ </tr>
+<%end number%>
+
+<!--
+you can also use netprice instead of sellprice if you
+don't want to show the discount
+netprice = sellprice - discount
+-->
+
+ <tr>
+ <td colspan=7><hr noshade></td>
+ </tr>
+
+<%if taxincluded%>
+ <tr>
+ <th colspan=5 align=right>Total</th>
+ <td colspan=2 align=right><%invtotal%></td>
+ </tr>
+<%end taxincluded%>
+<%if not taxincluded%>
+ <tr>
+ <th colspan=5 align=right>Zwischensumme</th>
+ <td colspan=2 align=right><%subtotal%></td>
+ </tr>
+<%end taxincluded%>
+
+<%foreach tax%>
+ <tr>
+ <th colspan=5 align=right><%taxdescription%> auf <%taxbase%></th>
+ <td colspan=2 align=right><%tax%></td>
+ </tr>
+<%end tax%>
+
+<%if paid%>
+ <tr>
+ <th colspan=5 align=right>Bezahlt</th>
+ <td colspan=2 align=right>- <%paid%></td>
+ </tr>
+<%end paid%>
+
+ <tr>
+ <td colspan=3>&nbsp;</td>
+ <td colspan=4><hr noshade></td>
+ </tr>
+
+ <tr>
+ <td colspan=3>Bezahlbar innerhalb von <b><%terms%></b> Tagen</td>
+<%if total%>
+ <th colspan=2 align=right>Total</th>
+ <th colspan=2 align=right><%total%></th>
+<%end total%>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+<%if notes%>
+ <td>Bemerkungen:</td>
+ <td><%notes%></td>
+<%end notes%>
+ <td align=right>
+ Alle Preise in <b><%currency%></b>
+ <br><%shippingpoint%>
+ </td>
+ </tr>
+
+ </table>
+ </td>
+</tr>
+
+<tr><td>&nbsp;</td></tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td><font size=-3>
+ Rechnung ist bezahlbar innerhalb von <%terms%> Tagen.
+ Nach dem <%duedate%> werden Zinsen zu einem
+ monatlichen Satz von 1.5% verrechnet.
+ Waren bleiben im Besitz von <%company%> bis die Rechnung voll bezahlt ist.
+ Rückgaben werden mit 10% Lagergebühren belastet. Beschädigte Waren
+ und Waren ohne eine Rückgabenummer werden nicht entgegengenommen.
+ </font>
+ </td>
+ <td width=150>
+ X <hr noshade>
+ </td>
+ </tr>
+ </table>
+ </td>
+</tr>
+
+<%foreach tax%>
+ <tr>
+ <th colspan=7 align=left><font size=-2><%taxdescription%> Registration <%taxnumber%></th>
+ </tr>
+<%end tax%>
+
+<%if taxincluded%>
+ <tr>
+ <th colspan=7 align=left><font size=-2>Steuern sind im Preis inbegriffen.</th>
+ </tr>
+<%end taxincluded%>
+
+<!-- business number
+ <tr>
+ <th colspan=7 align=left><font size=-2>Business Number: <%businessnumber%></font></th>
+ </tr>
+-->
+
+ <tr>
+ <th colspan=7 align=left>
+ <hr>
+ <br>Bankverbindung
+ <br>Bank
+ <br>Bankleitzahl
+ <br>Konto No.
+ </td>
+ </tr>
+
+</table>
+
+</td>
+</tr>
+</table>
+
+</body>
+</html>
+
diff --git a/sql-ledger/templates/German-invoice.tex b/sql-ledger/templates/German-invoice.tex
new file mode 100644
index 0000000..0b38bb5
--- /dev/null
+++ b/sql-ledger/templates/German-invoice.tex
@@ -0,0 +1,155 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.5cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.5cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
+
+\newsavebox{\hdr}
+\sbox{\hdr}{
+ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+ \parbox{\textwidth}{
+ \parbox[b]{12cm}{
+ <%company%>
+
+ <%address%>}\hfill
+ \begin{tabular}[b]{rr@{}}
+ Telefon & <%tel%>\\
+ Telefax & <%fax%>
+ \end{tabular}
+
+ \rule[1.5ex]{\textwidth}{0.5pt}
+ }
+}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}}
+
+\pagestyle{myheadings}
+%\thispagestyle{empty} use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+
+ \rule{\textwidth}{2pt}
+
+ \hfill
+ \begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
+ \end{tabularx}
+
+\newpage
+
+\markright{<%company%>\hfill <%invnumber%>}
+
+\vspace*{-12pt}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
+ \textbf{Nummer} & \textbf{Artikel} & \textbf{Anz} &
+ \textbf{Einh} & \textbf{Preis} & \textbf{Rab} & \textbf{Total} \\
+ & Übertrag von Seite <%lastpage%> & & & & & <%sumcarriedforward%> \\
+<%end pagebreak%>
+
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\vspace*{2cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{3.5cm}
+
+\textbf{R E C H N U N G}
+\hfill
+\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
+ \textbf{Datum} & <%invdate%> \\
+ \textbf{Nummer} & <%invnumber%> \\
+\end{tabular}
+
+\vspace{1cm}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
+ \textbf{Nummer} & \textbf{Artikel} & \textbf{Anz} &
+ \textbf{Einh} & \textbf{Preis} & \textbf{Rab} & \textbf{Total} \\
+<%foreach number%>
+ <%number%> & <%description%> & <%qty%> &
+ <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\
+<%end number%>
+\end{tabular*}
+
+
+\parbox{\textwidth}{
+\rule{\textwidth}{2pt}
+
+\vspace{0.2cm}
+
+\hfill
+\begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Zwischensumme} & \textbf{<%subtotal%>} \\
+<%foreach tax%>
+ <%taxdescription%> auf <%taxbase%> & <%tax%> \\
+<%end tax%>
+ \hline
+ \textbf{Total} & \textbf{<%invtotal%>} \\
+<%if paid%>
+ \textbf{Bezahlt} & <%paid%> \\
+<%end paid%>
+<%if total%>
+ \textbf{Bezahlbar} & \textbf{<%total%>} \\
+<%end total%>
+\end{tabularx}
+
+\vspace{0.3cm}
+
+\hfill
+ Alle Preise in \textbf{<%currency%>}.
+
+\vspace{12pt}
+
+<%if notes%>
+ <%notes%>
+<%end if%>
+
+}
+
+%\vfill
+%\centerline{\textbf{salute}}
+
+\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+\footnotetext[1]{\tiny
+Rechnung ist bezahlbar innerhalb von <%terms%> Tagen.
+Nach dem <%duedate%> werden Zinsen zu einem
+monatlichen Satz von 1.5\% verrechnet.
+Waren bleiben im Besitz von <%company%> bis die Rechnung voll bezahlt ist.
+Rückgaben werden mit 10 Prozent Lagergebühren belastet. Beschädigte Waren
+und Waren ohne eine Rückgabenummer werden nicht entgegengenommen.
+}
+
+\end{document}
+
+
diff --git a/sql-ledger/templates/German-packing_list.html b/sql-ledger/templates/German-packing_list.html
new file mode 100644
index 0000000..09ef402
--- /dev/null
+++ b/sql-ledger/templates/German-packing_list.html
@@ -0,0 +1,146 @@
+
+<body bgcolor=ffffff>
+
+<table width=100%>
+<tr>
+ <td width=10>
+ </td>
+ <td>
+
+ <table width=100%>
+ <tr>
+ <td>
+ <h4>
+ <%company%>
+ <br><%address%>
+ </h4>
+ </td>
+
+ <th colspan=2>
+ <h4 align=center>V E R P P A C K U N G S L I S T E</h4>
+ </th>
+ </tr>
+
+ </table>
+
+
+ <table width=100% callspacing=0 cellpadding=0>
+
+ <tr>
+ <td align=right>
+ <table>
+ <tr>
+ <th align=right>Datum</th><td width=10> </td><td><%invdate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Nummer</th><td></td><td><%invnumber%></td></tr>
+ </tr>
+
+ <tr>
+ <td>
+ </td>
+ </tr>
+ </td>
+ </table>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <th align=left><font color=ffffff>Zustellung an:</th>
+ </tr>
+
+ <tr>
+ <td><%shiptoname%>
+ <br><%shiptoaddr1%>
+ <br><%shiptoaddr2%>
+ <br><%shiptoaddr3%>
+ <br><%shiptoaddr4%>
+<%if shiptocontact%>
+ <p>An: <%shiptocontact%>
+<%end shiptocontact%>
+
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <th align=left><font color=ffffff>Nummer</th>
+ <th align=left><font color=ffffff>Artikel</th>
+ <th><font color=ffffff>Anz</th>
+ <th>&nbsp;</th>
+ </tr>
+
+<%foreach number%>
+ <tr valign=top>
+ <td><%number%></td>
+ <td><%description%></td>
+ <td align=right><%qty%></td>
+ <td><%unit%></td>
+ </tr>
+<%end number%>
+
+ <tr>
+ <td colspan=4><hr noshade></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+<%if notes%>
+ <td>Bemerkungen</td>
+ <td><%notes%></td>
+<%end notes%>
+ <td align=right>
+ <%shippingpoint%>
+ </td>
+ </tr>
+
+ </table>
+ </td>
+</tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td><font size=-3>
+ Beschädigte Waren und Waren ohne Rückgabenummer werden nicht
+ entgegengenommen. Lagerkosten werden mit 10% berrechnet.
+ Waren müssen ausreichended verpackt und versichert sein.
+ </font>
+ </td>
+ <td width=150>
+ X <hr noshade>
+ </td>
+ </tr>
+ </table>
+ </td>
+</tr>
+
+</table>
+
+</td>
+</tr>
+</table>
+
+</body>
+</html>
+
diff --git a/sql-ledger/templates/German-packing_list.tex b/sql-ledger/templates/German-packing_list.tex
new file mode 100644
index 0000000..dbfc93b
--- /dev/null
+++ b/sql-ledger/templates/German-packing_list.tex
@@ -0,0 +1,118 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.5cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.5cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
+
+\newsavebox{\hdr}
+\sbox{\hdr}{
+ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+ \parbox{\textwidth}{
+ \parbox[b]{12cm}{
+ <%company%>
+
+ <%address%>}\hfill
+ \begin{tabular}[b]{rr@{}}
+ Telefon & <%tel%>\\
+ Telefax & <%fax%>
+ \end{tabular}
+
+ \rule[1.5ex]{\textwidth}{0.5pt}
+ }
+}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}}
+
+\pagestyle{myheadings}
+%\thispagestyle{empty} use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+
+\newpage
+
+\markright{<%company%>\hfill <%invnumber%>}
+
+\vspace*{-12pt}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}}
+ \textbf{Nummer} & \textbf{Artikel} & \textbf{Anz} &
+ \textbf{Einh} & \textbf{Steige} \\
+<%end pagebreak%>
+
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\vspace*{2cm}
+
+<%shiptoname%>
+
+<%shiptoaddr1%>
+
+<%shiptoaddr2%>
+
+<%shiptoaddr3%>
+
+<%shiptoaddr4%>
+
+\vspace{3.5cm}
+
+\textbf{P A C K I N G} \parbox{0.3cm}{\hfill} \textbf{L I S T}
+
+\hfill
+\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
+ \textbf{Datum} & <%invdate%> \\
+ \textbf{Nummer} & <%invnumber%> \\
+\end{tabular}
+
+\vspace{1cm}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}}
+ \textbf{Nummer} & \textbf{Artikel} & \textbf{Anz} &
+ \textbf{Einh} & \textbf{Steige} \\
+<%foreach number%>
+ <%number%> & <%description%> & <%qty%> &
+ <%unit%> & <%bin%> \\
+<%end number%>
+\end{tabular*}
+
+
+\parbox{\textwidth}{
+\rule{\textwidth}{2pt}
+
+\vspace{12pt}
+
+<%if notes%>
+ <%notes%>
+<%end if%>
+
+}
+
+\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+\footnotetext[1]{\tiny
+Beschädigte Waren und Waren ohne Rückgabenummer werden nicht
+entgegengenommen. Lagerkosten werden mit 10\% berrechnet.
+Waren müssen ausreichended verpackt und versichert sein.
+}
+
+\end{document}
+
diff --git a/sql-ledger/templates/German-purchase_order.html b/sql-ledger/templates/German-purchase_order.html
new file mode 100644
index 0000000..9771d02
--- /dev/null
+++ b/sql-ledger/templates/German-purchase_order.html
@@ -0,0 +1,188 @@
+
+<body bgcolor=ffffff>
+
+<table width=100%>
+<tr valign=bottom>
+ <td width=10>&nbsp;</td>
+ <td>
+
+ <table width=100%>
+ <tr>
+ <td>
+ <h4>
+ <%company%>
+ <br><%address%>
+ </h4>
+ </td>
+
+ <td align=right>
+ <h4>
+ Telefon <%tel%>
+ <br>Telefax <%fax%>
+ </h4>
+ </td>
+ </tr>
+
+ <tr>
+ <th colspan=3>
+ <h4>B E S T E L L U N G</h4>
+ </th>
+ </tr>
+
+ </table>
+
+
+ <table width=100% callspacing=0 cellpadding=0>
+
+ <tr>
+ <td align=right>
+ <table>
+ <tr>
+ <th align=right>Bestellungsdatum</th><td width=10>&nbsp;</td><td><%orddate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Lieferbar bis</th><td width=10>&nbsp;</td><td><%reqdate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Bestellnummer</th><td>&nbsp;</td><td><%ordnumber%></td></tr>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+ </td>
+ </table>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <th align=left><font color=ffffff>An:</th>
+ </tr>
+
+ <tr>
+ <td><%name%>
+ <br><%addr1%>
+ <br><%addr2%>
+ <br><%addr3%>
+ <br><%addr4%>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+<!-- <th align=right><font color=ffffff>No.</th> -->
+ <th align=left><font color=ffffff>Nummer</th>
+ <th align=left><font color=ffffff>Artikel</th>
+ <th><font color=ffffff>Anz</th>
+ <th>&nbsp;</th>
+ <th><font color=ffffff>Preis</th>
+ <th><font color=ffffff>Total</th>
+ </tr>
+
+<%foreach number%>
+ <tr valign=top>
+<!-- <td align=right><%runningnumber%>.</td>
+adjust the colspan if you include this to shift subtotal one to the right
+-->
+ <td><%number%></td>
+ <td><%description%></td>
+ <td align=right><%qty%></td>
+ <td><%unit%></td>
+ <td align=right><%sellprice%></td>
+ <td align=right><%linetotal%></td>
+ </tr>
+<%end number%>
+
+ <tr>
+ <td colspan=6><hr noshade></td>
+ </tr>
+
+ <tr>
+ <th colspan=4 align=right>Zwischensumme</th>
+ <td colspan=2 align=right><%subtotal%></td>
+ </tr>
+
+<%foreach tax%>
+ <tr>
+ <th colspan=4 align=right><%taxdescription%> @ <%taxrate%> %</th>
+ <td colspan=2 align=right><%tax%></td>
+ </tr>
+<%end tax%>
+
+ <tr>
+ <td colspan=2>&nbsp;</td>
+ <td colspan=4><hr noshade></td>
+ </tr>
+
+ <tr>
+ <td colspan=2>Netto <b><%terms%></b> Tage</td>
+ <th colspan=2 align=right>Total</th>
+ <th colspan=2 align=right><%total%></th>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+<%if notes%>
+ <td>Bemerkungen</td>
+ <td><%notes%></td>
+<%end notes%>
+ <td align=right>
+ Alle Preise in <b><%currency%></b>
+ <br><%shippingpoint%>
+ </td>
+ </tr>
+
+ </table>
+ </td>
+</tr>
+
+<tr><td>&nbsp;</td></tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td><font size=-3>
+ &nbsp;
+ </font>
+ </td>
+ <td width=150>
+ X <hr noshade>
+ </td>
+ </tr>
+ </table>
+ </td>
+</tr>
+
+</table>
+
+</td>
+</tr>
+</table>
+
+</body>
+</html>
+
diff --git a/sql-ledger/templates/German-purchase_order.tex b/sql-ledger/templates/German-purchase_order.tex
new file mode 100644
index 0000000..f56f1a3
--- /dev/null
+++ b/sql-ledger/templates/German-purchase_order.tex
@@ -0,0 +1,143 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.5cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.5cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
+
+\newsavebox{\hdr}
+\sbox{\hdr}{
+ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+ \parbox{\textwidth}{
+ \parbox[b]{12cm}{
+ <%company%>
+
+ <%address%>}\hfill
+ \begin{tabular}[b]{rr@{}}
+ Telefon & <%tel%>\\
+ Telefax & <%fax%>
+ \end{tabular}
+
+ \rule[1.5ex]{\textwidth}{0.5pt}
+ }
+}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\markboth{<%company%>\hfill <%ordnumber%>}{\usebox{\hdr}}
+
+\pagestyle{myheadings}
+%\thispagestyle{empty} use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+
+ \rule{\textwidth}{2pt}
+
+ \hfill
+ \begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Zwischensumme} & \textbf{<%sumcarriedforward%>} \\
+ \end{tabularx}
+
+\newpage
+
+\markright{<%company%>\hfill <%ordnumber%>}
+
+\vspace*{-12pt}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}}
+ \textbf{Nummer} & \textbf{Artikel} & \textbf{Anz} &
+ \textbf{Einh} & \textbf{Preis} & \textbf{Total} \\
+ & Übertrag von <%lastpage%> & & & & <%sumcarriedforward%> \\
+<%end pagebreak%>
+
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\vspace*{2cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{3.5cm}
+
+\textbf{B E S T E L L U N G}
+\hfill
+\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
+ \textbf{Datum} & <%orddate%> \\
+<%if reqdate%>
+ \textbf{Lieferung bis} & <%reqdate%> \\
+<%end reqdate%>
+ \textbf{Nummer} & <%ordnumber%>
+\end{tabular}
+
+\vspace{1cm}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}}
+ \textbf{Nummer} & \textbf{Artikel} & \textbf{Anz} &
+ \textbf{Einh} & \textbf{Preis} & \textbf{Total} \\
+<%foreach number%>
+ <%number%> & <%description%> & <%qty%> &
+ <%unit%> & <%sellprice%> & <%linetotal%> \\
+<%end number%>
+\end{tabular*}
+
+
+\parbox{\textwidth}{
+\rule{\textwidth}{2pt}
+
+\vspace{0.2cm}
+
+\hfill
+\begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Zwischensumme} & \textbf{<%subtotal%>} \\
+<%foreach tax%>
+ <%taxdescription%> on <%taxbase%> & <%tax%>\\
+<%end tax%>
+ \hline
+ \textbf{Total} & \textbf{<%ordtotal%>}\\
+\end{tabularx}
+
+\vspace{0.3cm}
+
+\hfill
+ Alle Preise in \textbf{<%currency%>}.
+
+\vspace{12pt}
+
+<%if notes%>
+ <%notes%>
+<%end if%>
+
+}
+
+
+%\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+%\footnotetext[1]{\tiny }
+
+\end{document}
+
+
diff --git a/sql-ledger/templates/German-receipt.tex b/sql-ledger/templates/German-receipt.tex
new file mode 100644
index 0000000..d6256e7
--- /dev/null
+++ b/sql-ledger/templates/German-receipt.tex
@@ -0,0 +1,71 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.4cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.0cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+
+\fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont
+
+\parbox[t]{12cm}{
+ <%company%>
+
+ <%address%>}
+\hfill
+\parbox[t]{6cm}{\hfill <%source%>}
+
+\vspace*{0.6cm}
+
+<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill}
+
+\vspace{0.5cm}
+
+\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%>
+
+\vspace{0.5cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{2.8cm}
+
+<%company%>
+
+\vspace{0.5cm}
+
+<%name%> \hfill <%datepaid%> \hfill <%source%>
+
+\vspace{0.5cm}
+\begin{tabularx}{\textwidth}{lXrr@{}}
+\textbf{Rechnung} & \textbf{Ausgestellt}
+ & \textbf{Fällig} & \textbf{Verrechnet} \\
+<%foreach invnumber%>
+<%invnumber%> & <%invdate%> \dotfill
+ & <%due%> & <%paid%> \\
+<%end invnumber%>
+\end{tabularx}
+
+\vfill
+
+\end{document}
+
diff --git a/sql-ledger/templates/German-sales_order.html b/sql-ledger/templates/German-sales_order.html
new file mode 100644
index 0000000..edb8b90
--- /dev/null
+++ b/sql-ledger/templates/German-sales_order.html
@@ -0,0 +1,213 @@
+
+<body bgcolor=ffffff>
+
+<table width=100%>
+<tr valign=bottom>
+ <td width=10>&nbsp;</td>
+ <td>
+
+ <table width=100%>
+ <tr>
+ <td>
+ <h4>
+ <%company%>
+ <br><%address%>
+ </h4>
+ </td>
+
+ <td align=right>
+ <h4>
+ Telefon <%tel%>
+ <br>Telefax <%fax%>
+ </h4>
+ </td>
+ </tr>
+
+ <tr>
+ <th colspan=3>
+ <h4>B E S T E L L U N G</h4>
+ </th>
+ </tr>
+
+ </table>
+
+
+ <table width=100% callspacing=0 cellpadding=0>
+
+ <tr>
+ <td align=right>
+ <table>
+ <tr>
+ <th align=right>Datum</th><td width=10>&nbsp;</td><td><%orddate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Lieferbar bei</th><td width=10>&nbsp;</td><td><%reqdate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Bestellnummer</th><td>&nbsp;</td><td><%ordnumber%></td></tr>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+ </td>
+ </table>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <th align=left><font color=ffffff>Verrechnet An:</th>
+ <th align=left><font color=ffffff>Lieferaddresse:</th>
+ </tr>
+
+ <tr>
+ <td><%name%>
+ <br><%addr1%>
+ <br><%addr2%>
+ <br><%addr3%>
+ <br><%addr4%>
+ </td>
+
+ <td><%shiptoname%>
+ <br><%shiptoaddr1%>
+ <br><%shiptoaddr2%>
+ <br><%shiptoaddr3%>
+ <br><%shiptoaddr4%>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+<!-- <th align=right><font color=ffffff>No.</th> -->
+ <th align=left><font color=ffffff>Nummer</th>
+ <th align=left><font color=ffffff>Artikel</th>
+ <th><font color=ffffff>Anz</th>
+ <th>&nbsp;</th>
+ <th><font color=ffffff>Preis</th>
+ <th><font color=ffffff>Rab</th>
+ <th><font color=ffffff>Total</th>
+ </tr>
+
+<%foreach number%>
+ <tr valign=top>
+<!-- <td align=right><%runningnumber%>.</td>
+adjust the colspan if you include this to shift subtotal one to the right
+-->
+ <td><%number%></td>
+ <td><%description%></td>
+ <td align=right><%qty%></td>
+ <td><%unit%></td>
+ <td align=right><%sellprice%></td>
+ <td align=right><%discount%></td>
+ <td align=right><%linetotal%></td>
+ </tr>
+<%end number%>
+
+ <tr>
+ <td colspan=7><hr noshade></td>
+ </tr>
+
+<%if taxincluded%>
+ <tr>
+ <th colspan=5 align=right>Total</th>
+ <td colspan=2 align=right><%ordtotal%></td>
+ </tr>
+<%end taxincluded%>
+
+<%if not taxincluded%>
+ <tr>
+ <th colspan=5 align=right>Zwischensumme</th>
+ <td colspan=2 align=right><%subtotal%></td>
+ </tr>
+<%end taxincluded%>
+
+<%foreach tax%>
+ <tr>
+ <th colspan=5 align=right><%taxdescription%> auf <%taxbase%> @ <%taxrate%> %</th>
+ <td colspan=2 align=right><%tax%></td>
+ </tr>
+<%end tax%>
+
+ <tr>
+ <td colspan=2>&nbsp;</td>
+ <td colspan=5><hr noshade></td>
+ </tr>
+
+ <tr>
+ <td colspan=3>Netto <b><%terms%></b> Tage</td>
+ <th colspan=2 align=right>Total</th>
+ <th colspan=2 align=right><%ordtotal%></th>
+ </tr>
+<%if taxincluded%>
+ <tr>
+ <td colspan=3>Steuern sind im Preis inbegriffen</td>
+ </tr>
+<%end taxincluded%>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+<%if notes%>
+ <td>Bemerkungen</td>
+ <td><%notes%></td>
+<%end notes%>
+ <td align=right>
+ Alle Preise in <b><%currency%></b>
+ <br><%shippingpoint%>
+ </td>
+ </tr>
+
+ </table>
+ </td>
+</tr>
+
+<tr><td>&nbsp;</td></tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td><font size=-3>
+ Spezialprodukte werden nicht zurückgenommen. Für alle anderen Waren
+ wird eine 10% Stornogebühr verrechnet.
+ </font>
+ </td>
+ <td width=150>
+ X <hr noshade>
+ </td>
+ </tr>
+ </table>
+ </td>
+</tr>
+
+</table>
+
+</td>
+</tr>
+</table>
+
+</body>
+</html>
+
diff --git a/sql-ledger/templates/German-sales_order.tex b/sql-ledger/templates/German-sales_order.tex
new file mode 100644
index 0000000..21948c6
--- /dev/null
+++ b/sql-ledger/templates/German-sales_order.tex
@@ -0,0 +1,142 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.5cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.5cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
+
+\newsavebox{\hdr}
+\sbox{\hdr}{
+ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+ \parbox{\textwidth}{
+ \parbox[b]{12cm}{
+ <%company%>
+
+ <%address%>}\hfill
+ \begin{tabular}[b]{rr@{}}
+ Telefon & <%tel%>\\
+ Telefax & <%fax%>
+ \end{tabular}
+
+ \rule[1.5ex]{\textwidth}{0.5pt}
+ }
+}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\markboth{<%company%>\hfill <%ordnumber%>}{\usebox{\hdr}}
+
+\pagestyle{myheadings}
+%\thispagestyle{empty} use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+
+ \rule{\textwidth}{2pt}
+
+ \hfill
+ \begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Zwischensumme} & \textbf{<%sumcarriedforward%>} \\
+ \end{tabularx}
+
+\newpage
+
+\markright{<%company%>\hfill <%ordnumber%>}
+
+\vspace*{-12pt}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
+ \textbf{Nummer} & \textbf{Artikel} & \textbf{Anz} &
+ \textbf{Einh} & \textbf{Preis} & \textbf{Rab} & \textbf{Total} \\
+ & Übertrag von Seite <%lastpage%> & & & & & <%sumcarriedforward%> \\
+<%end pagebreak%>
+
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\vspace*{2cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{3.5cm}
+
+\textbf{B E S T E L L U N G}
+\hfill
+\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
+ \textbf{Datum} & <%orddate%> \\
+ \textbf{Nummer} & <%ordnumber%>
+\end{tabular}
+
+\vspace{1cm}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
+ \textbf{Nummer} & \textbf{Artikel} & \textbf{Anz} &
+ \textbf{Einh} & \textbf{Preis} & \textbf{Rab} & \textbf{Total} \\
+<%foreach number%>
+ <%number%> & <%description%> & <%qty%> &
+ <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\
+<%end number%>
+\end{tabular*}
+
+
+\parbox{\textwidth}{
+\rule{\textwidth}{2pt}
+
+\vspace{0.2cm}
+
+\hfill
+\begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Zwischensumme} & \textbf{<%subtotal%>} \\
+<%foreach tax%>
+ <%taxdescription%> auf <%taxbase%> & <%tax%>\\
+<%end tax%>
+ \hline
+ \textbf{Total} & \textbf{<%ordtotal%>}\\
+\end{tabularx}
+
+\vspace{0.3cm}
+
+\hfill
+ Alle Preise in \textbf{<%currency%>}.
+
+\vspace{12pt}
+
+<%if notes%>
+ <%notes%>
+<%end if%>
+
+}
+
+
+\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+\footnotetext[1]{\tiny
+Spezialprodukte werden nicht zurückgenommen. Für alle anderen Waren
+wird eine 10\% Stornogebühr verrechnet.
+}
+
+\end{document}
+
diff --git a/sql-ledger/templates/German-statement.html b/sql-ledger/templates/German-statement.html
new file mode 100644
index 0000000..6fca322
--- /dev/null
+++ b/sql-ledger/templates/German-statement.html
@@ -0,0 +1,121 @@
+
+<body bgcolor=ffffff>
+
+<table width=100%>
+ <tr>
+ <td width=10>&nbsp;</td>
+ <td>
+ <table width=100%>
+ <tr>
+ <td>
+ <h4>
+ <%company%>
+ <br><%address%>
+ </h4>
+ </td>
+ <th><img src=http://www.sql-ledger.org/images/sql-ledger.png border=0 width=64 height=58></th>
+ <td align=right>
+ <h4>
+ Tel: <%tel%>
+ <br>Fax: <%fax%>
+ </h4>
+ </td>
+ </tr>
+ <tr>
+ <th colspan=3><h4>S T A T E M E N T</h4></th>
+ </tr>
+ <tr>
+ <td colspan=3 align=right><%statementdate%></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td><%name%>
+ <br><%addr1%>
+ <br><%addr2%>
+ <br><%addr3%>
+ <br><%addr4%>
+ <br>
+<%if customerphone%>
+ <br>Tel: <%customerphone%>
+<%end customerphone%>
+<%if customerfax%>
+ <br>Fax: <%customerfax%>
+<%end customerfax%>
+<%if email%>
+ <br><%email%>
+<%end email%>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr height=10></tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td>
+ <table width=100%>
+ <tr>
+ <th align=left>Invoice #</th>
+ <th width=15%>Date</th>
+ <th width=15%>Due</th>
+ <th width=10%>Current</th>
+ <th width=10%>30</th>
+ <th width=10%>60</th>
+ <th width=10%>90+</th>
+ </tr>
+<%foreach invnumber%>
+ <tr>
+ <td><%invnumber%></td>
+ <td><%invdate%></td>
+ <td><%duedate%></td>
+ <td align=right><%c0%></td>
+ <td align=right><%c30%></td>
+ <td align=right><%c60%></td>
+ <td align=right><%c90%></td>
+ </tr>
+<%end invnumber%>
+ <tr>
+ <td colspan=7><hr size=1></td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td>&nbsp;</td>
+ <td>&nbsp;</td>
+ <th align=right><%c0total%></td>
+ <th align=right><%c30total%></td>
+ <th align=right><%c60total%></td>
+ <th align=right><%c90total%></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr height=10></tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td align=right>
+ <table width=50%>
+ <tr>
+ <th>Total Outstanding</th>
+ <th align=right><%total%></th>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td><hr noshade></td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td>Please make check payable to <b><%company%></b>.
+ </td>
+ </tr>
+ <tr height=20></tr>
+</table>
+
diff --git a/sql-ledger/templates/German-statement.tex b/sql-ledger/templates/German-statement.tex
new file mode 100644
index 0000000..0b63f75
--- /dev/null
+++ b/sql-ledger/templates/German-statement.tex
@@ -0,0 +1,137 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.5cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.5cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
+
+\newsavebox{\hdr}
+\sbox{\hdr}{
+ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+ \parbox{\textwidth}{
+ \parbox[b]{12cm}{
+ <%company%>
+
+ <%address%>}\hfill
+ \begin{tabular}[b]{rrr@{}}
+ Tel & <%tel%>\\
+ Fax & <%fax%>
+ \end{tabular}
+
+ \rule[1.5ex]{\textwidth}{0.5pt}
+ }
+}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\markboth{<%company%>\hfill <%statementdate%>}{\usebox{\hdr}}
+
+\pagestyle{myheadings}
+%\thispagestyle{empty} use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+
+ \rule{\textwidth}{2pt}
+
+ \hfill
+ \begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
+ \end{tabularx}
+
+\newpage
+
+\markright{<%company%>\hfill <%statementdate%>}
+
+\vspace*{-12pt}
+
+\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}}
+ \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} &
+ \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\
+ carried forward from <%lastpage%> & & & & & & <%sumcarriedforward%> \\
+<%end pagebreak%>
+
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\vspace*{1.5cm}
+
+\parbox[t]{1cm}{\hfill}
+\parbox[t]{10.5cm}{
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+}
+\parbox[t]{7.5cm}{
+<%if customerphone%>
+Tel: <%customerphone%>
+<%end customerphone%>
+
+<%if customerfax%>
+Fax: <%customerfax%>
+<%end customerfax%>
+
+<%email%>
+}
+\hfill
+
+\vspace{1cm}
+
+\textbf{S T A T E M E N T} \hfill
+
+\hfill <%statementdate%>
+
+\vspace{2cm}
+
+\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}}
+ \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} &
+ \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\
+<%foreach invnumber%>
+ <%invnumber%> & <%invdate%> & <%duedate%> &
+ <%c0%> & <%c30%> & <%c60%> & <%c90%> \\
+<%end invnumber%>
+\textbf{Subtotal} & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%>
+\end{tabular*}
+\rule{\textwidth}{1pt}
+
+\vspace{1cm}
+
+\hfill
+\begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Total outstanding} & <%total%>
+\end{tabularx}
+
+\vfill
+
+Please make check payable to <%company%>
+
+\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+\footnotetext[1]{\tiny
+}
+
+\end{document}
+
diff --git a/sql-ledger/templates/Service-balance_sheet.html b/sql-ledger/templates/Service-balance_sheet.html
new file mode 100644
index 0000000..478caab
--- /dev/null
+++ b/sql-ledger/templates/Service-balance_sheet.html
@@ -0,0 +1,100 @@
+
+<body bgcolor=ffffff>
+
+<h2 align=center>
+<%company%>
+<br><%address%>
+
+<p>BALANCE SHEET
+<br><%period%>
+</h2>
+
+<table border=0>
+<tr>
+ <th align=left width=400 colspan=2>ASSETS<br><hr align=left width=250 size=5 noshade></th>
+ <th><%this_period%></th>
+ <th><%last_period%></th>
+</tr>
+
+<%foreach asset_account%>
+<tr>
+ <td> </td>
+ <td><%asset_account%></td>
+ <td align=right><%asset_this_period%></td>
+ <td align=right><%asset_last_period%></td>
+</tr>
+<%end asset_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <th align=left colspan=2>TOTAL ASSETS</th>
+ <td align=right><%total_assets_this_period%><hr noshade size=2></td>
+ <td align=right><%total_assets_last_period%><hr noshade size=2></td>
+</tr>
+
+<tr>
+ <th align=left colspan=4>LIABILITIES<b><hr align=left width=250 size=5 noshade></th>
+</tr>
+
+<%foreach liability_account%>
+<tr>
+ <td></td>
+ <td><%liability_account%></td>
+ <td align=right><%liability_this_period%></td>
+ <td align=right><%liability_last_period%></td>
+</tr>
+<%end liability_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <td></td>
+ <th align=left>Total Liabilities</th>
+ <td align=right><%total_liabilities_this_period%><br><hr noshade size=2</td>
+ <td align=right><%total_liabilities_last_period%><br><hr noshade size=2</td>
+</tr>
+
+<tr>
+ <th align=left colspan=4>SHAREHOLDER'S EQUITY<br><hr align=left width=250 size=5 noshade></th>
+</tr>
+
+<%foreach equity_account%>
+<tr>
+ <td></td>
+ <td><%equity_account%></td>
+ <td align=right><%equity_this_period%></td>
+ <td align=right><%equity_last_period%></td>
+</tr>
+<%end equity_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <td></td>
+ <th align=left>Total Equity</th>
+ <td align=right><%total_equity_this_period%><br><hr noshade size=2</td>
+ <td align=right><%total_equity_last_period%><br><hr noshade size=2</td>
+</tr>
+
+<tr valign=top>
+ <th align=left colspan=2>TOTAL LIABILITIES & EQUITY</th>
+ <td align=right><%total_this_period%><br><hr noshade size=2></td>
+ <td align=right><%total_last_period%><br><hr noshade size=2></td>
+</tr>
+</table>
+
+
+
diff --git a/sql-ledger/templates/Service-check.tex b/sql-ledger/templates/Service-check.tex
new file mode 100644
index 0000000..5b64e81
--- /dev/null
+++ b/sql-ledger/templates/Service-check.tex
@@ -0,0 +1,71 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.4cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.0cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+
+\fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont
+
+\parbox[t]{12cm}{
+ <%company%>
+
+ <%address%>}
+\hfill
+\parbox[t]{6cm}{\hfill <%source%>}
+
+\vspace*{0.6cm}
+
+<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill}
+
+\vspace{0.5cm}
+
+\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%>
+
+\vspace{0.5cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{2.8cm}
+
+<%company%>
+
+\vspace{0.5cm}
+
+<%name%> \hfill <%datepaid%> \hfill <%source%>
+
+\vspace{0.5cm}
+\begin{tabularx}{\textwidth}{lXrr@{}}
+\textbf{Invoice No.} & \textbf{Invoice Date}
+ & \textbf{Due} & \textbf{Applied} \\
+<%foreach invnumber%>
+<%invnumber%> & <%invdate%> \dotfill
+ & <%due%> & <%paid%> \\
+<%end invnumber%>
+\end{tabularx}
+
+\vfill
+
+\end{document}
+
diff --git a/sql-ledger/templates/Service-income_statement.html b/sql-ledger/templates/Service-income_statement.html
new file mode 100644
index 0000000..e9d6a40
--- /dev/null
+++ b/sql-ledger/templates/Service-income_statement.html
@@ -0,0 +1,82 @@
+
+<body bgcolor=ffffff>
+
+<h2 align=center>
+<%company%>
+<br><%address%>
+
+<p>INCOME STATEMENT
+<br><%period%>
+</h2>
+
+
+<table width=100% border=0>
+<tr>
+ <th width=400 align=left colspan=2>INCOME<br><hr width=300 size=5 align=left noshade></th>
+ <th><%this_period%></th>
+ <th><%last_period%></th>
+</tr>
+
+<%foreach income_account%>
+<tr>
+ <td width=4> </td>
+ <td><%income_account%></td>
+ <td align=right><%income_this_period%></td>
+ <td align=right><%income_last_period%></td>
+</tr>
+<%end income_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <td> </td>
+ <th align=left>Total Income</th>
+ <td align=right><%total_income_this_period%><hr noshade size=2></td>
+ <td align=right><%total_income_last_period%><hr noshade size=2></td>
+</tr>
+
+<tr>
+ <th align=left colspan=2>EXPENSES<br><hr width=300 size=5 align=left noshade></th>
+</tr>
+
+<%foreach expense_account%>
+<tr>
+ <td> </td>
+ <td><%expense_account%></td>
+ <td align=right><%expenses_this_period%></td>
+ <td align=right><%expenses_last_period%></td>
+</tr>
+<%end expense_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <td> </td>
+ <th align=left>Total Expenses</th>
+ <td align=right><%total_expenses_this_period%><br><hr noshade size=2</td>
+ <td align=right><%total_expenses_last_period%><br><hr noshade size=2</td>
+</tr>
+
+<tr valign=top>
+ <th align=left colspan=2>INCOME / (LOSS)</th>
+ <td align=right><%total_this_period%><br><hr noshade size=2></td>
+ <td align=right><%total_last_period%><br><hr noshade size=2></td>
+</tr>
+
+</table>
+
+
+
+
+
+
+
+
diff --git a/sql-ledger/templates/Service-invoice.html b/sql-ledger/templates/Service-invoice.html
new file mode 100644
index 0000000..8ae6897
--- /dev/null
+++ b/sql-ledger/templates/Service-invoice.html
@@ -0,0 +1,226 @@
+
+<body bgcolor=ffffff>
+
+<table width=100%>
+<tr>
+ <td width=10>
+ </td>
+ <td>
+
+ <table width=100%>
+ <tr>
+ <td>
+ <h4>
+ <%company%>
+ <br><%address%>
+ <br>Tel/Fax <%tel%> / <%fax%>
+ </h4>
+ </td>
+
+ <th colspan=2>
+ <h4 align=center>I N V O I C E</h4>
+ </th>
+ </tr>
+
+ </table>
+
+
+ <table width=100% callspacing=0 cellpadding=0>
+
+ <tr>
+ <td align=right>
+ <table>
+ <tr>
+ <th align=right>Date</th><td width=10> </td><td><%invdate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Number</th><td></td><td><%invnumber%></td></tr>
+ </tr>
+
+<!-- prepared by: <%username%>
+-->
+
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <th align=left><font color=ffffff>To:</th>
+ </tr>
+
+ <tr>
+ <td><%name%>
+ <br><%addr1%>
+ <br><%addr2%>
+ <br><%addr3%>
+ <br><%addr4%>
+ </td>
+
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <th align=left><font color=ffffff>Description</th>
+ <th>&nbsp;</th>
+ <th><font color=ffffff>Amount</th>
+ </tr>
+
+<%foreach number%>
+ <tr valign=top>
+ <td><%description%></td>
+ <td>&nbsp;</td>
+ <td align=right><%linetotal%></td>
+ </tr>
+<%end number%>
+
+ <tr>
+ <td colspan=3><hr noshade></td>
+ </tr>
+
+ <tr>
+<%if taxincluded%>
+ <td>&nbsp;</td>
+ <th align=right>Total</th>
+ <td align=right><%invtotal%></td>
+<%end taxincluded%>
+<%if not taxincluded%>
+ <td>&nbsp;</td>
+ <th align=right>Subtotal</th>
+ <td align=right><%subtotal%></td>
+<%end taxincluded%>
+ </tr>
+
+<%foreach tax%>
+ <tr>
+ <th colspan=2 align=right><%taxdescription%></th>
+ <td align=right><%tax%></td>
+ </tr>
+<%end tax%>
+
+<!--
+ <%taxbase%> = total netamount for each tax bracket
+ <%taxrate%> = taxrate in percent
+-->
+
+<%if paid%>
+ <tr>
+ <td>&nbsp;</td>
+ <th align=right>Paid</th>
+ <td align=right><%paid%></td>
+ </tr>
+<%end paid%>
+
+ <tr>
+ <td>&nbsp;</td>
+ <td colspan=2><hr noshade></td>
+ </tr>
+
+ <tr>
+ <td>
+<%if terms%>
+Terms &nbsp;Net <b><%terms%></b> days
+<%end terms%>
+</td>
+ <th align=right>Total</th>
+ <th align=right><%total%></th>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+
+<%if notes%>
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td>Notes</td>
+ <td><pre><%notes%></pre></td>
+ <td align=right>
+ &nbsp;
+ </td>
+ </tr>
+
+ </table>
+ </td>
+</tr>
+<%end notes%>
+
+<tr><td>&nbsp;</td></tr>
+
+<tr>
+ <th colspan=3>
+ Please make check payable to <%company%>
+ <br>Thank you for your valued business!
+ </th>
+</tr>
+
+
+<tr><td>&nbsp;</td></tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td><font size=-3>
+ Payment due NET <%terms%> Days from date of Invoice.
+ Interest on overdue amounts will acrue at the rate of 1.5% per month
+ from due date until paid in full.
+ </font>
+ </td>
+ <td width=150>
+ X <hr noshade>
+ </td>
+ </tr>
+ </table>
+ </td>
+</tr>
+
+<%foreach tax%>
+ <tr>
+ <th colspan=3 align=left><font size=-2><%taxdescription%> Registration <%taxnumber%></th>
+ </tr>
+<%end tax%>
+
+<!--
+ %username% = user name
+ %businessnumber% = business number
+-->
+
+<!-- banking information
+ <tr>
+ <th colspan=3 align=left><font size=-2>Banking Information:
+ <br>Bank
+ <br>Transit No.
+ <br>Account No.
+ </th>
+ </tr>
+-->
+
+</table>
+
+</td>
+</tr>
+</table>
+
+</body>
+</html>
+
diff --git a/sql-ledger/templates/Service-invoice.tex b/sql-ledger/templates/Service-invoice.tex
new file mode 100644
index 0000000..810a50e
--- /dev/null
+++ b/sql-ledger/templates/Service-invoice.tex
@@ -0,0 +1,151 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.5cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.5cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
+
+\newsavebox{\hdr}
+\sbox{\hdr}{
+ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+ \parbox{\textwidth}{
+ \parbox[b]{12cm}{
+ <%company%>
+
+ <%address%>}\hfill
+ \begin{tabular}[b]{rr@{}}
+ Telephone & <%tel%>\\
+ Facsimile & <%fax%>
+ \end{tabular}
+
+ \rule[1.5ex]{\textwidth}{0.5pt}
+ }
+}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}}
+
+\pagestyle{myheadings}
+%\thispagestyle{empty} use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+
+ \rule{\textwidth}{2pt}
+
+ \hfill
+ \begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
+ \end{tabularx}
+
+\newpage
+
+\markright{<%company%>\hfill <%invnumber%>}
+
+\vspace*{-12pt}
+
+\begin{tabular*}{\textwidth}{@{}p{\descrwidth}@{\extracolsep\fill}rlrr@{}}
+ \textbf{Description} & \textbf{Qt'y} &
+ \textbf{Unit} & \textbf{Price} & \textbf{Amount} \\
+ & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\
+<%end pagebreak%>
+
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\vspace*{2cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{3.5cm}
+
+\textbf{I N V O I C E}
+\hfill
+\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
+ \textbf{Date} & <%invdate%> \\
+ \textbf{Number} & <%invnumber%> \\
+ \textbf{Customer} & <%customer_id%>
+\end{tabular}
+
+\vspace{1cm}
+
+\begin{tabular*}{\textwidth}{@{}p{\descrwidth}@{\extracolsep\fill}rlrr@{}}
+ \textbf{Description} & \textbf{Qt'y} &
+ \textbf{Unit} & \textbf{Price} & \textbf{Amount} \\
+<%foreach number%>
+ <%description%> & <%qty%> &
+ <%unit%> & <%sellprice%> & <%linetotal%> \\
+<%end number%>
+\end{tabular*}
+
+
+\parbox{\textwidth}{
+\rule{\textwidth}{2pt}
+
+\vspace{0.2cm}
+
+\hfill
+\begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Subtotal} & \textbf{<%subtotal%>} \\
+<%foreach tax%>
+ <%taxdescription%> on <%taxbase%> & <%tax%> \\
+<%end tax%>
+<%if paid%>
+ \textbf{Paid} & - <%paid%> \\
+<%end paid%>
+ \hline
+ \textbf{Balance Owing} & \textbf{<%total%>} \\
+
+\end{tabularx}
+
+\vspace{0.3cm}
+
+\hfill
+ All prices in \textbf{<%currency%>} funds.
+
+\vspace{12pt}
+
+<%if notes%>
+ <%notes%>
+<%end if%>
+
+}
+
+\vfill
+\centerline{\textbf{Thank You for your valued business!}}
+
+\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+\footnotetext[1]{\tiny
+Payment due NET <%terms%> Days from date of Invoice. Interest on overdue
+amounts will acrue at the rate of 1.5\% per month starting <%duedate%>
+until paid in full.
+}
+
+\end{document}
+
+
diff --git a/sql-ledger/templates/Service-packing_list.html b/sql-ledger/templates/Service-packing_list.html
new file mode 100644
index 0000000..07ba8d6
--- /dev/null
+++ b/sql-ledger/templates/Service-packing_list.html
@@ -0,0 +1,148 @@
+
+<body bgcolor=ffffff>
+
+<table width=100%>
+<tr>
+ <td width=10>
+ </td>
+ <td>
+
+ <table width=100%>
+ <tr>
+ <td>
+ <h4>
+ <%company%>
+ <br><%address%>
+ </h4>
+ </td>
+
+ <th colspan=2>
+ <h4 align=center>P A C K I N G &nbsp;&nbsp; L I S T</h4>
+ </th>
+ </tr>
+
+ </table>
+
+
+ <table width=100% callspacing=0 cellpadding=0>
+
+ <tr>
+ <td align=right>
+ <table>
+ <tr>
+ <th align=right>Date</th><td width=10> </td><td><%invdate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Number</th><td></td><td><%invnumber%></td></tr>
+ </tr>
+
+ <tr>
+ <td>
+ </td>
+ </tr>
+ </td>
+ </table>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <th align=left><font color=ffffff>Ship To:</th>
+ </tr>
+
+ <tr>
+ <td><%shiptoname%>
+ <br><%shiptoaddr1%>
+ <br><%shiptoaddr2%>
+ <br><%shiptoaddr3%>
+ <br><%shiptoaddr4%>
+<%if shiptocontact%>
+ <p>Attn: <%shiptocontact%>
+<%end shiptocontact%>
+
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <th align=left><font color=ffffff>Number</th>
+ <th align=left><font color=ffffff>Description</th>
+ <th><font color=ffffff>Qt'y</th>
+ <th>&nbsp;</th>
+ </tr>
+
+<%foreach number%>
+ <tr valign=top>
+ <td><%number%></td>
+ <td><%description%></td>
+ <td align=right><%qty%></td>
+ <td><%unit%></td>
+ </tr>
+<%end number%>
+
+ <tr>
+ <td colspan=4><hr noshade></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+<%if notes%>
+ <td>Notes</td>
+ <td><pre><%notes%></pre></td>
+<%end notes%>
+ <td align=right>
+ <%shippingpoint%>
+ </td>
+ </tr>
+
+ </table>
+ </td>
+</tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td><font size=-3>
+ Items returned are subject to
+ a 10% restocking charge. A return authorization must be obtained
+ from <%company%> before goods are returned. Returns must be shipped
+ prepaid and properly insured. <%company%> will not be responsible
+ for damages during transit.
+ </font>
+ </td>
+ <td width=150>
+ X <hr noshade>
+ </td>
+ </tr>
+ </table>
+ </td>
+</tr>
+
+</table>
+
+</td>
+</tr>
+</table>
+
+</body>
+</html>
+
diff --git a/sql-ledger/templates/Service-packing_list.tex b/sql-ledger/templates/Service-packing_list.tex
new file mode 100644
index 0000000..b5a6a8a
--- /dev/null
+++ b/sql-ledger/templates/Service-packing_list.tex
@@ -0,0 +1,120 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.5cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.5cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
+
+\newsavebox{\hdr}
+\sbox{\hdr}{
+ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+ \parbox{\textwidth}{
+ \parbox[b]{12cm}{
+ <%company%>
+
+ <%address%>}\hfill
+ \begin{tabular}[b]{rr@{}}
+ Telephone & <%tel%>\\
+ Facsimile & <%fax%>
+ \end{tabular}
+
+ \rule[1.5ex]{\textwidth}{0.5pt}
+ }
+}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}}
+
+\pagestyle{myheadings}
+%\thispagestyle{empty} use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+
+\newpage
+
+\markright{<%company%>\hfill <%invnumber%>}
+
+\vspace*{-12pt}
+
+\begin{tabular*}{\textwidth}{@{}p{\descrwidth}@{\extracolsep\fill}rl@{}}
+ \textbf{Description} & \textbf{Qt'y} &
+ \textbf{Unit} \\
+<%end pagebreak%>
+
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\vspace*{2cm}
+
+<%shiptoname%>
+
+<%shiptoaddr1%>
+
+<%shiptoaddr2%>
+
+<%shiptoaddr3%>
+
+<%shiptoaddr4%>
+
+\vspace{3.5cm}
+
+\textbf{P A C K I N G} \parbox{0.3cm}{\hfill} \textbf{L I S T}
+
+\hfill
+\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
+ \textbf{Date} & <%invdate%> \\
+ \textbf{Number} & <%invnumber%> \\
+ \textbf{Customer} & <%customer_id%>
+\end{tabular}
+
+\vspace{1cm}
+
+\begin{tabular*}{\textwidth}{@{}p{\descrwidth}@{\extracolsep\fill}rl@{}}
+ \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} \\
+<%foreach number%>
+ <%description%> & <%qty%> & <%unit%> \\
+<%end number%>
+\end{tabular*}
+
+
+\parbox{\textwidth}{
+\rule{\textwidth}{2pt}
+
+\vspace{12pt}
+
+<%if notes%>
+ <%notes%>
+<%end if%>
+
+}
+
+%\vfill
+%\centerline{\textbf{Thank You for your valued business!}}
+
+%\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+%\footnotetext[1]{\tiny
+%Items returned are subject to a 10\% restocking charge.
+%A return authorization must be obtained from <%company%> before goods are
+%returned. Returns must be shipped prepaid and properly insured.
+%<%company%> will not be responsible for damages during transit.}
+
+\end{document}
+
diff --git a/sql-ledger/templates/Service-purchase_order.html b/sql-ledger/templates/Service-purchase_order.html
new file mode 100644
index 0000000..f2e9f7e
--- /dev/null
+++ b/sql-ledger/templates/Service-purchase_order.html
@@ -0,0 +1,194 @@
+
+<body bgcolor=ffffff>
+
+<table width=100%>
+<tr valign=bottom>
+ <td width=10>&nbsp;</td>
+ <td>
+
+ <table width=100%>
+ <tr>
+ <td>
+ <h4>
+ <%company%>
+ <br><%address%>
+ </h4>
+ </td>
+
+ <td align=right>
+ <h4>
+ Telephone: <%tel%>
+ <br>Facsimile: <%fax%>
+ </h4>
+ </td>
+ </tr>
+
+ <tr>
+ <th colspan=3>
+ <h4>P U R C H A S E &nbsp;&nbsp; O R D E R</h4>
+ </th>
+ </tr>
+
+ </table>
+
+
+ <table width=100% callspacing=0 cellpadding=0>
+
+ <tr>
+ <td align=right>
+ <table>
+ <tr>
+ <th align=right>Order Date</th><td width=10>&nbsp;</td><td><%orddate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Required by</th><td width=10>&nbsp;</td><td><%reqdate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Number</th><td>&nbsp;</td><td><%ordnumber%></td></tr>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+ </td>
+ </table>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <th align=left><font color=ffffff>To:</th>
+ </tr>
+
+ <tr>
+ <td><%name%>
+ <br><%addr1%>
+ <br><%addr2%>
+ <br><%addr3%>
+ <br><%addr4%>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+<!-- <th align=right><font color=ffffff>No.</th> -->
+ <th align=left><font color=ffffff>Number</th>
+ <th align=left><font color=ffffff>Description</th>
+ <th><font color=ffffff>Qt'y</th>
+ <th>&nbsp;</th>
+ <th><font color=ffffff>Price</th>
+ <th><font color=ffffff>Amount</th>
+ </tr>
+
+<%foreach number%>
+ <tr valign=top>
+<!-- <td align=right><%runningnumber%>.</td>
+adjust the colspan if you include this to shift subtotal one to the right
+-->
+ <td><%number%></td>
+ <td><%description%></td>
+ <td align=right><%qty%></td>
+ <td><%unit%></td>
+ <td align=right><%sellprice%></td>
+ <td align=right><%linetotal%></td>
+ </tr>
+<%end number%>
+
+ <tr>
+ <td colspan=6><hr noshade></td>
+ </tr>
+
+ <tr>
+ <th colspan=4 align=right>Subtotal</th>
+ <td colspan=2 align=right><%subtotal%></td>
+ </tr>
+
+<%foreach tax%>
+ <tr>
+ <th colspan=4 align=right><%taxdescription%> @ <%taxrate%> %</th>
+ <td colspan=2 align=right><%tax%></td>
+ </tr>
+<%end tax%>
+
+ <tr>
+ <td colspan=2>&nbsp;</td>
+ <td colspan=4><hr noshade></td>
+ </tr>
+
+ <tr>
+ <td colspan=2>Terms Net <b><%terms%></b> days</td>
+ <th colspan=2 align=right>Total</th>
+ <th colspan=2 align=right><%total%></th>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+<%if notes%>
+ <td>Notes</td>
+ <td><pre><%notes%></pre></td>
+<%end notes%>
+ <td align=right>
+ All prices in <b><%currency%></b> Funds
+ <br><%shippingpoint%>
+ </td>
+ </tr>
+
+ </table>
+ </td>
+</tr>
+
+<tr><td>&nbsp;</td></tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td><font size=-3>
+ Payment due NET <%terms%> Days from date of Invoice.
+ Interest on overdue amounts will acrue at the rate of 1.5% per month
+ from due date until paid in full. Items returned are subject to
+ a 10% restocking charge. A return authorization must be obtained
+ from <%company%> before goods are returned. Returns must be shipped
+ prepaid and properly insured. <%company%> will not be responsible
+ for damages during transit.
+ </font>
+ </td>
+ <td width=150>
+ X <hr noshade>
+ </td>
+ </tr>
+ </table>
+ </td>
+</tr>
+
+</table>
+
+</td>
+</tr>
+</table>
+
+</body>
+</html>
+
diff --git a/sql-ledger/templates/Service-purchase_order.tex b/sql-ledger/templates/Service-purchase_order.tex
new file mode 100644
index 0000000..e6cc92c
--- /dev/null
+++ b/sql-ledger/templates/Service-purchase_order.tex
@@ -0,0 +1,143 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.5cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.5cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
+
+\newsavebox{\hdr}
+\sbox{\hdr}{
+ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+ \parbox{\textwidth}{
+ \parbox[b]{12cm}{
+ <%company%>
+
+ <%address%>}\hfill
+ \begin{tabular}[b]{rr@{}}
+ Telephone & <%tel%>\\
+ Facsimile & <%fax%>
+ \end{tabular}
+
+ \rule[1.5ex]{\textwidth}{0.5pt}
+ }
+}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\markboth{<%company%>\hfill <%ordnumber%>}{\usebox{\hdr}}
+
+\pagestyle{myheadings}
+%\thispagestyle{empty} use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+
+ \rule{\textwidth}{2pt}
+
+ \hfill
+ \begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
+ \end{tabularx}
+
+\newpage
+
+\markright{<%company%>\hfill <%ordnumber%>}
+
+\vspace*{-12pt}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}}
+ \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
+ \textbf{Unit} & \textbf{Price} & \textbf{Amount} \\
+ & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\
+<%end pagebreak%>
+
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\vspace*{2cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{3.5cm}
+
+\textbf{P U R C H A S E} \parbox{0.3cm}{\hfill} \textbf{O R D E R}
+\hfill
+\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
+ \textbf{Date} & <%orddate%> \\
+<%if reqdate%>
+ \textbf{Required by} & <%reqdate%> \\
+<%end reqdate%>
+ \textbf{Number} & <%ordnumber%>
+\end{tabular}
+
+\vspace{1cm}
+
+\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}}
+ \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
+ \textbf{Unit} & \textbf{Price} & \textbf{Amount} \\
+<%foreach number%>
+ <%number%> & <%description%> & <%qty%> &
+ <%unit%> & <%sellprice%> & <%linetotal%> \\
+<%end number%>
+\end{tabular*}
+
+
+\parbox{\textwidth}{
+\rule{\textwidth}{2pt}
+
+\vspace{0.2cm}
+
+\hfill
+\begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Subtotal} & \textbf{<%subtotal%>} \\
+<%foreach tax%>
+ <%taxdescription%> on <%taxbase%> & <%tax%>\\
+<%end tax%>
+ \hline
+ \textbf{Total} & \textbf{<%ordtotal%>}\\
+\end{tabularx}
+
+\vspace{0.3cm}
+
+\hfill
+ All prices in \textbf{<%currency%>} funds.
+
+\vspace{12pt}
+
+<%if notes%>
+ <%notes%>
+<%end if%>
+
+}
+
+
+%\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+%\footnotetext[1]{\tiny }
+
+\end{document}
+
+
diff --git a/sql-ledger/templates/Service-receipt.tex b/sql-ledger/templates/Service-receipt.tex
new file mode 100644
index 0000000..5b64e81
--- /dev/null
+++ b/sql-ledger/templates/Service-receipt.tex
@@ -0,0 +1,71 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.4cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.0cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+
+\fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont
+
+\parbox[t]{12cm}{
+ <%company%>
+
+ <%address%>}
+\hfill
+\parbox[t]{6cm}{\hfill <%source%>}
+
+\vspace*{0.6cm}
+
+<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill}
+
+\vspace{0.5cm}
+
+\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%>
+
+\vspace{0.5cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{2.8cm}
+
+<%company%>
+
+\vspace{0.5cm}
+
+<%name%> \hfill <%datepaid%> \hfill <%source%>
+
+\vspace{0.5cm}
+\begin{tabularx}{\textwidth}{lXrr@{}}
+\textbf{Invoice No.} & \textbf{Invoice Date}
+ & \textbf{Due} & \textbf{Applied} \\
+<%foreach invnumber%>
+<%invnumber%> & <%invdate%> \dotfill
+ & <%due%> & <%paid%> \\
+<%end invnumber%>
+\end{tabularx}
+
+\vfill
+
+\end{document}
+
diff --git a/sql-ledger/templates/Service-sales_order.html b/sql-ledger/templates/Service-sales_order.html
new file mode 100644
index 0000000..319cc3b
--- /dev/null
+++ b/sql-ledger/templates/Service-sales_order.html
@@ -0,0 +1,198 @@
+
+<body bgcolor=ffffff>
+
+<table width=100%>
+<tr valign=bottom>
+ <td width=10>&nbsp;</td>
+ <td>
+
+ <table width=100%>
+ <tr>
+ <td>
+ <h4>
+ <%company%>
+ <br><%address%>
+ </h4>
+ </td>
+
+ <td align=right>
+ <h4>
+ Telelephone: <%tel%>
+ <br>Facsimile: <%fax%>
+ </h4>
+ </td>
+ </tr>
+
+ <tr>
+ <th colspan=3>
+ <h4>S A L E S &nbsp;&nbsp; O R D E R</h4>
+ </th>
+ </tr>
+
+ </table>
+
+
+ <table width=100% callspacing=0 cellpadding=0>
+
+ <tr>
+ <td align=right>
+ <table>
+ <tr>
+ <th align=right>Order Date</th><td width=10>&nbsp;</td><td><%orddate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Required by</th><td width=10>&nbsp;</td><td><%reqdate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Number</th><td>&nbsp;</td><td><%ordnumber%></td></tr>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+ </td>
+ </table>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <th align=left><font color=ffffff>To:</th>
+ </tr>
+
+ <tr>
+ <td><%name%>
+ <br><%addr1%>
+ <br><%addr2%>
+ <br><%addr3%>
+ <br><%addr4%>
+<%if contact%>
+ <p>Attn: <%contact%>
+%end contact%>
+
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+<!-- <th align=right><font color=ffffff>No.</th> -->
+ <th align=left><font color=ffffff>Number</th>
+ <th align=left><font color=ffffff>Description</th>
+ <th><font color=ffffff>Qt'y</th>
+ <th>&nbsp;</th>
+ <th><font color=ffffff>Price</th>
+ <th><font color=ffffff>Amount</th>
+ </tr>
+
+<%foreach number%>
+ <tr valign=top>
+<!-- <td align=right><%runningnumber%>.</td>
+adjust the colspan if you include this to shift subtotal one to the right
+-->
+ <td><%number%></td>
+ <td><%description%></td>
+ <td align=right><%qty%></td>
+ <td><%unit%></td>
+ <td align=right><%sellprice%></td>
+ <td align=right><%linetotal%></td>
+ </tr>
+<%end number%>
+
+ <tr>
+ <td colspan=6><hr noshade></td>
+ </tr>
+
+ <tr>
+ <th colspan=4 align=right>Subtotal</th>
+ <td colspan=2 align=right><%subtotal%></td>
+ </tr>
+
+<%foreach tax%>
+ <tr>
+ <th colspan=4 align=right><%taxdescription%> @ <%taxrate%> %</th>
+ <td colspan=2 align=right><%tax%></td>
+ </tr>
+<%end tax%>
+
+ <tr>
+ <td colspan=2>&nbsp;</td>
+ <td colspan=4><hr noshade></td>
+ </tr>
+
+ <tr>
+ <td colspan=2>Terms Net <b><%terms%></b> days</td>
+ <th colspan=2 align=right>Total</th>
+ <th colspan=2 align=right><%total%></th>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+<%if notes%>
+ <td>Notes</td>
+ <td><pre><%notes%></pre></td>
+<%end notes%>
+ <td align=right>
+ All prices in <b><%currency%></b> Funds
+ <br><%shippingpoint%>
+ </td>
+ </tr>
+
+ </table>
+ </td>
+</tr>
+
+<tr><td>&nbsp;</td></tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td><font size=-3>
+ Payment due NET <%terms%> Days from date of Invoice.
+ Interest on overdue amounts will acrue at the rate of 1.5% per month
+ from due date until paid in full. Items returned are subject to
+ a 10% restocking charge. A return authorization must be obtained
+ from <%company%> before goods are returned. Returns must be shipped
+ prepaid and properly insured. <%company%> will not be responsible
+ for damages during transit.
+ </font>
+ </td>
+ <td width=150>
+ X <hr noshade>
+ </td>
+ </tr>
+ </table>
+ </td>
+</tr>
+
+</table>
+
+</td>
+</tr>
+</table>
+
+</body>
+</html>
+
diff --git a/sql-ledger/templates/Service-sales_order.tex b/sql-ledger/templates/Service-sales_order.tex
new file mode 100644
index 0000000..c5664e0
--- /dev/null
+++ b/sql-ledger/templates/Service-sales_order.tex
@@ -0,0 +1,139 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.5cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.5cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
+
+\newsavebox{\hdr}
+\sbox{\hdr}{
+ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+ \parbox{\textwidth}{
+ \parbox[b]{12cm}{
+ <%company%>
+
+ <%address%>}\hfill
+ \begin{tabular}[b]{rr@{}}
+ Telephone & <%tel%>\\
+ Facsimile & <%fax%>
+ \end{tabular}
+
+ \rule[1.5ex]{\textwidth}{0.5pt}
+ }
+}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\markboth{<%company%>\hfill <%ordnumber%>}{\usebox{\hdr}}
+
+\pagestyle{myheadings}
+%\thispagestyle{empty} use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+
+ \rule{\textwidth}{2pt}
+
+ \hfill
+ \begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
+ \end{tabularx}
+
+\newpage
+
+\markright{<%company%>\hfill <%ordnumber%>}
+
+\vspace*{-12pt}
+
+\begin{tabular*}{\textwidth}{@{}p{\descrwidth}@{\extracolsep\fill}rlrr@{}}
+ \textbf{Description} & \textbf{Qt'y} &
+ \textbf{Unit} & \textbf{Price} & \textbf{Amount} \\
+ & carried forward from <%lastpage%> & & & <%sumcarriedforward%> \\
+<%end pagebreak%>
+
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\vspace*{2cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{3.5cm}
+
+\textbf{S A L E S} \parbox{0.3cm}{\hfill} \textbf{O R D E R}
+\hfill
+\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
+ \textbf{Date} & <%orddate%> \\
+ \textbf{Number} & <%ordnumber%>
+\end{tabular}
+
+\vspace{1cm}
+
+\begin{tabular*}{\textwidth}{@{}p{\descrwidth}@{\extracolsep\fill}rlrr@{}}
+ \textbf{Description} & \textbf{Qt'y} &
+ \textbf{Unit} & \textbf{Price} & \textbf{Amount} \\
+<%foreach number%>
+ <%description%> & <%qty%> &
+ <%unit%> & <%sellprice%> & <%linetotal%> \\
+<%end number%>
+\end{tabular*}
+
+
+\parbox{\textwidth}{
+\rule{\textwidth}{2pt}
+
+\vspace{0.2cm}
+
+\hfill
+\begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Subtotal} & \textbf{<%subtotal%>} \\
+<%foreach tax%>
+ <%taxdescription%> on <%taxbase%> & <%tax%>\\
+<%end tax%>
+ \hline
+ \textbf{Total} & \textbf{<%ordtotal%>}\\
+\end{tabularx}
+
+\vspace{0.3cm}
+
+\hfill
+ All prices in \textbf{<%currency%>} funds.
+
+\vspace{12pt}
+
+<%if notes%>
+ <%notes%>
+<%end if%>
+
+}
+
+
+%\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+%\footnotetext[1]{\tiny }
+
+\end{document}
+
diff --git a/sql-ledger/templates/Service-statement.html b/sql-ledger/templates/Service-statement.html
new file mode 100644
index 0000000..6fca322
--- /dev/null
+++ b/sql-ledger/templates/Service-statement.html
@@ -0,0 +1,121 @@
+
+<body bgcolor=ffffff>
+
+<table width=100%>
+ <tr>
+ <td width=10>&nbsp;</td>
+ <td>
+ <table width=100%>
+ <tr>
+ <td>
+ <h4>
+ <%company%>
+ <br><%address%>
+ </h4>
+ </td>
+ <th><img src=http://www.sql-ledger.org/images/sql-ledger.png border=0 width=64 height=58></th>
+ <td align=right>
+ <h4>
+ Tel: <%tel%>
+ <br>Fax: <%fax%>
+ </h4>
+ </td>
+ </tr>
+ <tr>
+ <th colspan=3><h4>S T A T E M E N T</h4></th>
+ </tr>
+ <tr>
+ <td colspan=3 align=right><%statementdate%></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td><%name%>
+ <br><%addr1%>
+ <br><%addr2%>
+ <br><%addr3%>
+ <br><%addr4%>
+ <br>
+<%if customerphone%>
+ <br>Tel: <%customerphone%>
+<%end customerphone%>
+<%if customerfax%>
+ <br>Fax: <%customerfax%>
+<%end customerfax%>
+<%if email%>
+ <br><%email%>
+<%end email%>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr height=10></tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td>
+ <table width=100%>
+ <tr>
+ <th align=left>Invoice #</th>
+ <th width=15%>Date</th>
+ <th width=15%>Due</th>
+ <th width=10%>Current</th>
+ <th width=10%>30</th>
+ <th width=10%>60</th>
+ <th width=10%>90+</th>
+ </tr>
+<%foreach invnumber%>
+ <tr>
+ <td><%invnumber%></td>
+ <td><%invdate%></td>
+ <td><%duedate%></td>
+ <td align=right><%c0%></td>
+ <td align=right><%c30%></td>
+ <td align=right><%c60%></td>
+ <td align=right><%c90%></td>
+ </tr>
+<%end invnumber%>
+ <tr>
+ <td colspan=7><hr size=1></td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td>&nbsp;</td>
+ <td>&nbsp;</td>
+ <th align=right><%c0total%></td>
+ <th align=right><%c30total%></td>
+ <th align=right><%c60total%></td>
+ <th align=right><%c90total%></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr height=10></tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td align=right>
+ <table width=50%>
+ <tr>
+ <th>Total Outstanding</th>
+ <th align=right><%total%></th>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td><hr noshade></td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td>Please make check payable to <b><%company%></b>.
+ </td>
+ </tr>
+ <tr height=20></tr>
+</table>
+
diff --git a/sql-ledger/templates/Service-statement.tex b/sql-ledger/templates/Service-statement.tex
new file mode 100644
index 0000000..0b63f75
--- /dev/null
+++ b/sql-ledger/templates/Service-statement.tex
@@ -0,0 +1,137 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.5cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.5cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
+
+\newsavebox{\hdr}
+\sbox{\hdr}{
+ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+ \parbox{\textwidth}{
+ \parbox[b]{12cm}{
+ <%company%>
+
+ <%address%>}\hfill
+ \begin{tabular}[b]{rrr@{}}
+ Tel & <%tel%>\\
+ Fax & <%fax%>
+ \end{tabular}
+
+ \rule[1.5ex]{\textwidth}{0.5pt}
+ }
+}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\markboth{<%company%>\hfill <%statementdate%>}{\usebox{\hdr}}
+
+\pagestyle{myheadings}
+%\thispagestyle{empty} use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+
+ \rule{\textwidth}{2pt}
+
+ \hfill
+ \begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
+ \end{tabularx}
+
+\newpage
+
+\markright{<%company%>\hfill <%statementdate%>}
+
+\vspace*{-12pt}
+
+\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}}
+ \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} &
+ \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\
+ carried forward from <%lastpage%> & & & & & & <%sumcarriedforward%> \\
+<%end pagebreak%>
+
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\vspace*{1.5cm}
+
+\parbox[t]{1cm}{\hfill}
+\parbox[t]{10.5cm}{
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+}
+\parbox[t]{7.5cm}{
+<%if customerphone%>
+Tel: <%customerphone%>
+<%end customerphone%>
+
+<%if customerfax%>
+Fax: <%customerfax%>
+<%end customerfax%>
+
+<%email%>
+}
+\hfill
+
+\vspace{1cm}
+
+\textbf{S T A T E M E N T} \hfill
+
+\hfill <%statementdate%>
+
+\vspace{2cm}
+
+\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}}
+ \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} &
+ \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\
+<%foreach invnumber%>
+ <%invnumber%> & <%invdate%> & <%duedate%> &
+ <%c0%> & <%c30%> & <%c60%> & <%c90%> \\
+<%end invnumber%>
+\textbf{Subtotal} & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%>
+\end{tabular*}
+\rule{\textwidth}{1pt}
+
+\vspace{1cm}
+
+\hfill
+\begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Total outstanding} & <%total%>
+\end{tabularx}
+
+\vfill
+
+Please make check payable to <%company%>
+
+\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+\footnotetext[1]{\tiny
+}
+
+\end{document}
+
diff --git a/sql-ledger/templates/Spanish_A4-balance_sheet.html b/sql-ledger/templates/Spanish_A4-balance_sheet.html
new file mode 100644
index 0000000..aef74d0
--- /dev/null
+++ b/sql-ledger/templates/Spanish_A4-balance_sheet.html
@@ -0,0 +1,100 @@
+<head>
+ <title>Hoja de Balance</title>
+</head>
+
+<body bgcolor=ffffff>
+
+<h2 align=center>
+<%company%>
+<br><%address%>
+
+<p>HOJA DE BALANCE
+<br><%period%>
+</h2>
+
+<table border=0>
+<tr>
+ <th align=left width=400 colspan=2>ACTIVOS<br><hr align=left width=250 size=5 noshade></th>
+ <th><%this_period%></th>
+ <th><%last_period%></th>
+</tr>
+
+<%foreach asset_account%>
+<tr>
+ <td>&nbsp;</td>
+ <td><%asset_account%></td>
+ <td align=right><%asset_this_period%></td>
+ <td align=right><%asset_last_period%></td>
+</tr>
+<%end asset_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <th align=left colspan=2>Total de activos</th>
+ <td align=right><%total_assets_this_period%><hr noshade size=2></td>
+ <td align=right><%total_assets_last_period%><hr noshade size=2></td>
+</tr>
+
+<tr>
+ <th align=left colspan=4>PASIVOS<b><hr align=left width=250 size=5 noshade></th>
+</tr>
+
+<%foreach liability_account%>
+<tr>
+ <td></td>
+ <td><%liability_account%></td>
+ <td align=right><%liability_this_period%></td>
+ <td align=right><%liability_last_period%></td>
+</tr>
+<%end liability_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <td></td>
+ <th align=left>Total de pasivos</th>
+ <td align=right><%total_liabilities_this_period%><br><hr noshade size=2</td>
+ <td align=right><%total_liabilities_last_period%><br><hr noshade size=2</td>
+</tr>
+
+<tr>
+ <th align=left colspan=4>CAPITAL<br><hr align=left width=250 size=5 noshade></th>
+</tr>
+
+<%foreach equity_account%>
+<tr>
+ <td></td>
+ <td><%equity_account%></td>
+ <td align=right><%equity_this_period%></td>
+ <td align=right><%equity_last_period%></td>
+</tr>
+<%end equity_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <td></td>
+ <th align=left>Capital total</th>
+ <td align=right><%total_equity_this_period%><br><hr noshade size=2</td>
+ <td align=right><%total_equity_last_period%><br><hr noshade size=2</td>
+</tr>
+
+<tr valign=top>
+ <th align=left colspan=2>Total de pasivos y capital</th>
+ <td align=right><%total_this_period%><br><hr noshade size=2></td>
+ <td align=right><%total_last_period%><br><hr noshade size=2></td>
+</tr>
+</table>
diff --git a/sql-ledger/templates/Spanish_A4-check.tex b/sql-ledger/templates/Spanish_A4-check.tex
new file mode 100644
index 0000000..a1ef969
--- /dev/null
+++ b/sql-ledger/templates/Spanish_A4-check.tex
@@ -0,0 +1,71 @@
+\documentclass[a4paper,oneside]{article}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.4cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.0cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+
+\fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont
+
+\parbox[t]{12cm}{
+ <%company%>
+
+ <%address%>}
+\hfill
+\parbox[t]{6cm}{\hfill <%source%>}
+
+\vspace*{0.6cm}
+
+<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill}
+
+\vspace{0.5cm}
+
+\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%>
+
+\vspace{0.5cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{2.8cm}
+
+<%company%>
+
+\vspace{0.5cm}
+
+<%name%> \hfill <%datepaid%> \hfill <%source%>
+
+\vspace{0.5cm}
+\begin{tabularx}{\textwidth}{lXrr@{}}
+\textbf{Invoice No.} & \textbf{Invoice Date}
+ & \textbf{Due} & \textbf{Applied} \\
+<%foreach invnumber%>
+<%invnumber%> & <%invdate%> \dotfill
+ & <%due%> & <%paid%> \\
+<%end invnumber%>
+\end{tabularx}
+
+\vfill
+
+\end{document}
+
diff --git a/sql-ledger/templates/Spanish_A4-income_statement.html b/sql-ledger/templates/Spanish_A4-income_statement.html
new file mode 100644
index 0000000..fbb5653
--- /dev/null
+++ b/sql-ledger/templates/Spanish_A4-income_statement.html
@@ -0,0 +1,77 @@
+<head>
+ <title>Balance de Situación</title>
+</head>
+
+<body bgcolor=ffffff>
+
+<h2 align=center>
+<%company%>
+<br><%address%>
+
+<p>BALANCE DE SITUACIÓN
+<br><%period%>
+</h2>
+
+
+<table width=100% border=0>
+<tr>
+ <th width=400 align=left colspan=2>INGRESOS<br><hr width=300 size=5 align=left noshade></th>
+ <th><%this_period%></th>
+ <th><%last_period%></th>
+</tr>
+
+<%foreach income_account%>
+<tr>
+ <td width=4>&nbsp;</td>
+ <td><%income_account%></td>
+ <td align=right><%income_this_period%></td>
+ <td align=right><%income_last_period%></td>
+</tr>
+<%end income_account%>
+
+<tr>
+ <td colspan=2>&nbsp;</td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <td>&nbsp;</td>
+ <th align=left>Total de ingresos</th>
+ <td align=right><%total_income_this_period%><hr noshade size=2></td>
+ <td align=right><%total_income_last_period%><hr noshade size=2></td>
+</tr>
+
+<tr>
+ <th align=left colspan=2>GASTOS<br><hr width=300 size=5 align=left noshade></th>
+</tr>
+
+<%foreach expense_account%>
+<tr>
+ <td>&nbsp;</td>
+ <td><%expense_account%></td>
+ <td align=right><%expenses_this_period%></td>
+ <td align=right><%expenses_last_period%></td>
+</tr>
+<%end expense_account%>
+
+<tr>
+ <td colspan=2>&nbsp;</td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <td>&nbsp;</td>
+ <th align=left>Total de gastos</th>
+ <td align=right><%total_expenses_this_period%><br><hr noshade size=2</td>
+ <td align=right><%total_expenses_last_period%><br><hr noshade size=2</td>
+</tr>
+
+<tr valign=top>
+ <th align=left colspan=2>GANANCIA/(PERDIDA)</th>
+ <td align=right><%total_this_period%><br><hr noshade size=2></td>
+ <td align=right><%total_last_period%><br><hr noshade size=2></td>
+</tr>
+
+</table>
diff --git a/sql-ledger/templates/Spanish_A4-invoice.html b/sql-ledger/templates/Spanish_A4-invoice.html
new file mode 100644
index 0000000..d274936
--- /dev/null
+++ b/sql-ledger/templates/Spanish_A4-invoice.html
@@ -0,0 +1,153 @@
+<head>
+ <title>Factura de Instalaciones Industriales San José</title>
+</head>
+
+<body bgcolor="ffffff">
+ <!-- Cabecera -->
+ <table width="100%">
+ <tr valign=bottom>
+ <td width="10">&nbsp;</td>
+ <td>
+ <table width=100%>
+ <tr>
+ <th colspan="4"> </th>
+ <th align="left">
+ <h4>F A C T U R A</h4>
+ </th>
+ </tr>
+
+ <tr>
+ <td colspan="5"> </td>
+ </tr>
+
+ <tr>
+ <td colspan="4"> </td>
+ <td align="left"><%name%></td>
+ </tr>
+
+ <tr>
+ <td>Número</td>
+ <td>Fecha</td>
+ <td>Cód. Cliente</td>
+ <td width="10%"> </td>
+ <td><%addr1%></td>
+ </tr>
+ <tr>
+ <td><b><%invnumber%></b></td>
+ <td><b><%invdate%></b></td>
+ <td><b><%customer_id%></b></td>
+ <td> </td>
+ <td><%addr2%></td>
+ </tr>
+ <tr>
+ <td colspan="4">
+ <td><%addr3%></td>
+ </tr>
+ <tr>
+ <td colspan="4">
+ <td><%addr4%></td>
+ </tr>
+ </table>
+ </table>
+
+ <!-- Cuerpo -->
+ <table width=100% cellspacing=0 cellpadding=0>
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <!-- <th align=left><font color=ffffff>Número</th> -->
+ <!-- <th><font color=ffffff>Cant.</th> -->
+ <th align="left"><font color="ffffff">Cant.</th>
+ <th align="left"><font color="ffffff">Descripción</th>
+ <th align="left"><font color="ffffff">Precio</th>
+ <!-- <th align="left"><font color="ffffff">Dto.</th> -->
+ <th align="left"><font color="ffffff">Importe</th>
+ </tr>
+
+ <tr>
+ <td colspan="4"><hr noshade></td>
+ </tr>
+
+<%foreach number%>
+ <tr valign=top>
+ <!-- <td><%number%></td> -->
+ <!-- <td><%unit%></td> -->
+ <td align="right"><%qty%></td>
+ <td align="left"><%description%></td>
+ <td align="right"><%sellprice%></td>
+ <!-- <td align=right><%discount%></td> -->
+ <td align="right"><%linetotal%></td>
+ </tr>
+<%end number%>
+
+ <tr>
+ <td colspan="4"><hr noshade></td>
+ </tr>
+ </table>
+
+ <!-- Subtotales, impuestos y totales -->
+ <table width="100%">
+ <tr>
+<%if taxincluded%>
+ <th align=right>Total</th>
+ <td align=right><%invtotal%></td>
+<%end taxincluded%>
+<%if not taxincluded%>
+ <th align="right">Base imponible</th>
+ <td align="right"><%subtotal%> &euro;</td>
+<%end taxincluded%>
+ </tr>
+
+<%foreach tax%>
+ <tr>
+ <th align="right">IVA (<%taxrate%>%) sobre <%taxbase%>:</th>
+ <td align="right"><%tax%> &euro;</td>
+ </tr>
+<%end tax%>
+
+<%if paid%>
+ <tr>
+ <th align="right">Pagado:</th>
+ <td align="right"><%paid%> &euro;</td>
+ </tr>
+<%end paid%>
+
+ <tr>
+ <td>&nbsp;</td>
+ <td><hr noshade></td>
+ </tr>
+
+ <tr>
+ <th align="right">Total:</th>
+ <th align="right"><%invtotal%> &euro;</th>
+ </tr>
+
+ <tr>
+ <td colspan="4">&nbsp;</td>
+ </tr>
+
+ </table>
+
+
+ <!-- Pie -->
+ <table width="100%">
+ <tr valign=top>
+<%if notes%>
+ <td>Notas</td>
+ <td><%notes%></td>
+<%end notes%>
+ </tr>
+
+<%if taxincluded%>
+ <tr>
+ <th colspan="2" align="left"><font size=-2>Los precios incluyen impuestos.</th>
+ </tr>
+<%end taxincluded%>
+
+ </table>
+
+
+</body>
+</html>
+
diff --git a/sql-ledger/templates/Spanish_A4-invoice.tex b/sql-ledger/templates/Spanish_A4-invoice.tex
new file mode 100644
index 0000000..1d0619e
--- /dev/null
+++ b/sql-ledger/templates/Spanish_A4-invoice.tex
@@ -0,0 +1,108 @@
+\documentclass[a4paper,oneside]{article}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\usepackage{marvosym} % Euro \EUR
+\usepackage{fancyhdr}
+\setlength{\topmargin}{0cm}
+\setlength{\topskip}{0cm}
+\setlength{\headheight}{0cm}
+\setlength{\headsep}{0.5cm}
+\setlength{\textheight}{24.2cm}
+\setlength{\textwidth}{19cm}
+\setlength{\oddsidemargin}{-1.4cm}
+\setlength{\evensidemargin}{-1.4cm}
+\setlength{\footskip}{1cm}
+
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{13.0cm}
+
+\newsavebox{\hdr}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\sbox{\hdr}{
+
+\begin{minipage}[t]{0.6\linewidth}
+\vspace{2.2cm}
+
+\begin{tabular}[t]{p{1.7cm}p{2.4cm}p{1.7cm}}\\
+\centering{Número} & \centering{Fecha} & C. Cliente\\
+\centering{<%invnumber%>} & \centering{<%invdate%>} & \centering{<%customer_id%>}
+\end{tabular}
+\end{minipage}
+
+\begin{minipage}[t]{0.4\linewidth}
+\textbf{F A C T U R A}
+\vspace{1cm}
+
+<%shiptoname%>
+
+<%shiptoaddr1%>
+
+<%shiptoaddr2%>
+
+<%shiptoaddr3%>
+
+<%shiptoaddr4%>
+\end{minipage}
+
+}
+
+\pagestyle{fancy}
+\renewcommand{\headrulewidth}{0cm}
+\renewcommand{\footrulewidth}{0cm}
+\cfoot{\thepage}
+%\markboth{\usebox{\hdr}}{\usebox{\hdr}}
+%\thispagestyle{empty} %use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+\newpage
+\usebox{\hdr}
+%\markboth{\usebox{\hdr}}{\usebox{\hdr}}
+\vspace{0.5cm}
+
+\begin{tabular*}{\textwidth}{rp{\descrwidth}rr}
+ \textbf{Cant.} & \textbf{Descripción} & \textbf{Precio} & \textbf{Importe} \\ \hline
+<%end pagebreak%>
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\usebox{\hdr}
+\vspace{0.5cm}
+
+\begin{tabular*}{\textwidth}{rp{\descrwidth}rr}
+ \textbf{Cant.} & \textbf{Descripción} & \textbf{Precio} & \textbf{Importe} \\ \hline
+<%foreach number%>
+ <%qty%> & <%description%> & <%sellprice%> & <%linetotal%> \\
+<%end number%>
+\end{tabular*}
+
+\parbox{\textwidth}{
+\vspace{12pt}
+<%if notes%>
+ <%notes%>
+<%end if%>
+}
+
+\vfill
+
+\begin{flushright}
+\begin{tabularx}{10cm}{Xr@{}}
+ \textbf{Base imponible} & \textbf{<%subtotal%>} \EUR \\
+<%foreach tax%>
+ IVA (<%taxrate%>\%) sobre <%taxbase%> & <%tax%> \EUR\\
+<%end tax%>
+ \hline
+ \textbf{Total} & \textbf{<%invtotal%>} \EUR\\
+\end{tabularx}
+\end{flushright}
+
+%\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+\end{document}
+
diff --git a/sql-ledger/templates/Spanish_A4-packing_list.html b/sql-ledger/templates/Spanish_A4-packing_list.html
new file mode 100644
index 0000000..c34d189
--- /dev/null
+++ b/sql-ledger/templates/Spanish_A4-packing_list.html
@@ -0,0 +1,155 @@
+<head>
+ <title>Albarán de Instalaciones Industriales San José</title>
+</head>
+
+<body bgcolor="ffffff">
+ <!-- Cabecera -->
+ <table width="100%">
+ <tr valign=bottom>
+ <td width="10">&nbsp;</td>
+ <td>
+ <table width=100%>
+ <tr>
+ <th colspan="5"> </th>
+ <th align="left">
+ <h4>A L B A R Á N</h4>
+ </th>
+ </tr>
+
+ <tr>
+ <td colspan="6"> </td>
+ </tr>
+
+ <tr>
+ <td colspan="5"> </td>
+ <td align="left"><%name%></td>
+ </tr>
+
+ <tr>
+ <td>Número</td>
+ <td>Factura</td>
+ <td>Fecha</td>
+ <td>Cód. Cliente</td>
+ <td width="10%"> </td>
+ <td><%addr1%></td>
+ </tr>
+ <tr>
+ <td><b><%ordnumber%></b></td>
+ <td><b><%invnumber%></b></td>
+ <td><b><%invdate%></b></td>
+ <td><b><%customer_id%></b></td>
+ <td> </td>
+ <td><%addr2%></td>
+ </tr>
+ <tr>
+ <td colspan="5">
+ <td><%addr3%></td>
+ </tr>
+ <tr>
+ <td colspan="5">
+ <td><%addr4%></td>
+ </tr>
+ </table>
+ </table>
+
+ <!-- Cuerpo -->
+ <table width=100% cellspacing=0 cellpadding=0>
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <!-- <th align=left><font color=ffffff>Número</th> -->
+ <!-- <th><font color=ffffff>Cant.</th> -->
+ <th align="left"><font color="ffffff">Cant.</th>
+ <th align="left"><font color="ffffff">Descripción</th>
+ <th align="left"><font color="ffffff">Precio</th>
+ <!-- <th align="left"><font color="ffffff">Dto.</th> -->
+ <th align="left"><font color="ffffff">Importe</th>
+ </tr>
+
+ <tr>
+ <td colspan="4"><hr noshade></td>
+ </tr>
+
+<%foreach number%>
+ <tr valign=top>
+ <!-- <td><%number%></td> -->
+ <!-- <td><%unit%></td> -->
+ <td align="right"><%qty%></td>
+ <td align="left"><%description%></td>
+ <td align="right"><%sellprice%></td>
+ <!-- <td align=right><%discount%></td> -->
+ <td align="right"><%linetotal%></td>
+ </tr>
+<%end number%>
+
+ <tr>
+ <td colspan="4"><hr noshade></td>
+ </tr>
+ </table>
+
+ <!-- Subtotales, impuestos y totales -->
+ <table width="100%">
+ <tr>
+<%if taxincluded%>
+ <th align=right>Total</th>
+ <td align=right><%invtotal%></td>
+<%end taxincluded%>
+<%if not taxincluded%>
+ <th align="right">Base imponible</th>
+ <td align="right"><%subtotal%> &euro;</td>
+<%end taxincluded%>
+ </tr>
+
+<%foreach tax%>
+ <tr>
+ <th align="right">IVA (<%taxrate%>%) sobre <%taxbase%>:</th>
+ <td align="right"><%tax%> &euro;</td>
+ </tr>
+<%end tax%>
+
+<%if paid%>
+ <tr>
+ <th align="right">Pagado:</th>
+ <td align="right"><%paid%> &euro;</td>
+ </tr>
+<%end paid%>
+
+ <tr>
+ <td>&nbsp;</td>
+ <td><hr noshade></td>
+ </tr>
+
+ <tr>
+ <th align="right">Total:</th>
+ <th align="right"><%invtotal%> &euro;</th>
+ </tr>
+
+ <tr>
+ <td colspan="4">&nbsp;</td>
+ </tr>
+
+ </table>
+
+
+ <!-- Pie -->
+ <table width="100%">
+ <tr valign=top>
+<%if notes%>
+ <td>Notas</td>
+ <td><%notes%></td>
+<%end notes%>
+ </tr>
+
+<%if taxincluded%>
+ <tr>
+ <th colspan="2" align="left"><font size=-2>Los precios incluyen impuestos.</th>
+ </tr>
+<%end taxincluded%>
+
+ </table>
+
+
+</body>
+</html>
+
diff --git a/sql-ledger/templates/Spanish_A4-packing_list.tex b/sql-ledger/templates/Spanish_A4-packing_list.tex
new file mode 100644
index 0000000..312c349
--- /dev/null
+++ b/sql-ledger/templates/Spanish_A4-packing_list.tex
@@ -0,0 +1,108 @@
+\documentclass[a4paper,oneside]{article}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\usepackage{marvosym} % Euro \EUR
+\usepackage{fancyhdr}
+\setlength{\topmargin}{0cm}
+\setlength{\topskip}{0cm}
+\setlength{\headheight}{0cm}
+\setlength{\headsep}{0.5cm}
+\setlength{\textheight}{24.2cm}
+\setlength{\textwidth}{19cm}
+\setlength{\oddsidemargin}{-1.4cm}
+\setlength{\evensidemargin}{-1.4cm}
+\setlength{\footskip}{1cm}
+
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{13.0cm}
+
+\newsavebox{\hdr}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\sbox{\hdr}{
+
+\begin{minipage}[t]{0.6\linewidth}
+\vspace{2.2cm}
+
+\begin{tabular}[t]{p{1.7cm}p{1.7cm}p{2.4cm}p{1.7cm}}\\
+\centering{Número} & \centering{Número} & \centering{Fecha} & C. Cliente\\
+ \centering{<%ordnumber%>} & \centering{<%invnumber%>} & \centering{<%invdate%>} & \centering{<%customer_id%>}
+\end{tabular}
+\end{minipage}
+
+\begin{minipage}[t]{0.4\linewidth}
+\textbf{A L B A R Á N}
+\vspace{1cm}
+
+<%shiptoname%>
+
+<%shiptoaddr1%>
+
+<%shiptoaddr2%>
+
+<%shiptoaddr3%>
+
+<%shiptoaddr4%>
+\end{minipage}
+
+}
+
+\pagestyle{fancy}
+\renewcommand{\headrulewidth}{0cm}
+\renewcommand{\footrulewidth}{0cm}
+\cfoot{\thepage}
+%\markboth{\usebox{\hdr}}{\usebox{\hdr}}
+%\thispagestyle{empty} %use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+\newpage
+\usebox{\hdr}
+\vspace{0.5cm}
+
+%\markboth{\usebox{\hdr}}{\usebox{\hdr}}
+\begin{tabular*}{\textwidth}{rp{\descrwidth}rr}
+ \textbf{Cant.} & \textbf{Descripción} & \textbf{Precio} & \textbf{Importe} \\ \hline
+<%end pagebreak%>
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\usebox{\hdr}
+\vspace{0.5cm}
+
+\begin{tabular*}{\textwidth}{rp{\descrwidth}rr}
+ \textbf{Cant.} & \textbf{Descripción} & \textbf{Precio} & \textbf{Importe} \\ \hline
+<%foreach number%>
+ <%qty%> & <%description%> & <%sellprice%> & <%linetotal%> \\
+<%end number%>
+\end{tabular*}
+
+\parbox{\textwidth}{
+\vspace{12pt}
+<%if notes%>
+ <%notes%>
+<%end if%>
+}
+
+\vfill
+
+\begin{flushright}
+\begin{tabularx}{10cm}{Xr@{}}
+ \textbf{Base imponible} & \textbf{<%subtotal%>} \EUR \\
+<%foreach tax%>
+ IVA (<%taxrate%>\%) sobre <%taxbase%> & <%tax%> \EUR\\
+<%end tax%>
+ \hline
+ \textbf{Total} & \textbf{<%invtotal%>} \EUR\\
+\end{tabularx}
+\end{flushright}
+
+%\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+\end{document}
+
diff --git a/sql-ledger/templates/Spanish_A4-purchase_order.html b/sql-ledger/templates/Spanish_A4-purchase_order.html
new file mode 100644
index 0000000..693fe65
--- /dev/null
+++ b/sql-ledger/templates/Spanish_A4-purchase_order.html
@@ -0,0 +1,153 @@
+<head>
+ <title>Pedido de Instalaciones Industriales San José</title>
+</head>
+
+<body bgcolor="ffffff">
+ <!-- Cabecera -->
+ <table width="100%">
+ <tr valign=bottom>
+ <td width="10">&nbsp;</td>
+ <td>
+ <table width=100%>
+ <tr>
+ <th colspan="4"> </th>
+ <th align="left">
+ <h4>P E D I D O</h4>
+ </th>
+ </tr>
+
+ <tr>
+ <td colspan="5"> </td>
+ </tr>
+
+ <tr>
+ <td colspan="4"> </td>
+ <td align="left"><%name%></td>
+ </tr>
+
+ <tr>
+ <td>Número</td>
+ <td>Fecha</td>
+ <td>Cód. Proveedor</td>
+ <td width="10%"> </td>
+ <td><%addr1%></td>
+ </tr>
+ <tr>
+ <td><b><%ordnumber%></b></td>
+ <td><b><%orddate%></b></td>
+ <td><b><%vendor_id%></b></td>
+ <td> </td>
+ <td><%addr2%></td>
+ </tr>
+ <tr>
+ <td colspan="4">
+ <td><%addr3%></td>
+ </tr>
+ <tr>
+ <td colspan="4">
+ <td><%addr4%></td>
+ </tr>
+ </table>
+ </table>
+
+ <!-- Cuerpo -->
+ <table width=100% cellspacing=0 cellpadding=0>
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <!-- <th align=left><font color=ffffff>Número</th> -->
+ <!-- <th><font color=ffffff>Cant.</th> -->
+ <th align="left"><font color="ffffff">Cant.</th>
+ <th align="left"><font color="ffffff">Descripción</th>
+ <th align="left"><font color="ffffff">Precio</th>
+ <!-- <th align="left"><font color="ffffff">Dto.</th> -->
+ <th align="left"><font color="ffffff">Importe</th>
+ </tr>
+
+ <tr>
+ <td colspan="4"><hr noshade></td>
+ </tr>
+
+<%foreach number%>
+ <tr valign=top>
+ <!-- <td><%number%></td> -->
+ <!-- <td><%unit%></td> -->
+ <td align="right"><%qty%></td>
+ <td align="left"><%description%></td>
+ <td align="right"><%sellprice%></td>
+ <!-- <td align=right><%discount%></td> -->
+ <td align="right"><%linetotal%></td>
+ </tr>
+<%end number%>
+
+ <tr>
+ <td colspan="4"><hr noshade></td>
+ </tr>
+ </table>
+
+ <!-- Subtotales, impuestos y totales -->
+ <table width="100%">
+ <tr>
+<%if taxincluded%>
+ <th align="right">Total</th>
+ <td align="right"><%ordtotal%></td>
+<%end taxincluded%>
+<%if not taxincluded%>
+ <th align="right">Base imponible</th>
+ <td align="right"><%subtotal%> &euro;</td>
+<%end taxincluded%>
+ </tr>
+
+<%foreach tax%>
+ <tr>
+ <th align="right">IVA (<%taxrate%>%) sobre <%taxbase%>:</th>
+ <td align="right"><%tax%> &euro;</td>
+ </tr>
+<%end tax%>
+
+<%if paid%>
+ <tr>
+ <th align="right">Pagado:</th>
+ <td align="right"><%paid%> &euro;</td>
+ </tr>
+<%end paid%>
+
+ <tr>
+ <td>&nbsp;</td>
+ <td><hr noshade></td>
+ </tr>
+
+ <tr>
+ <th align="right">Total:</th>
+ <th align="right"><%ordtotal%> &euro;</th>
+ </tr>
+
+ <tr>
+ <td colspan="4">&nbsp;</td>
+ </tr>
+
+ </table>
+
+
+ <!-- Pie -->
+ <table width="100%">
+ <tr valign=top>
+<%if notes%>
+ <td>Notas</td>
+ <td><%notes%></td>
+<%end notes%>
+ </tr>
+
+<%if taxincluded%>
+ <tr>
+ <th colspan="2" align="left"><font size=-2>Los precios incluyen impuestos.</th>
+ </tr>
+<%end taxincluded%>
+
+ </table>
+
+
+</body>
+</html>
+
diff --git a/sql-ledger/templates/Spanish_A4-purchase_order.tex b/sql-ledger/templates/Spanish_A4-purchase_order.tex
new file mode 100644
index 0000000..f8300ae
--- /dev/null
+++ b/sql-ledger/templates/Spanish_A4-purchase_order.tex
@@ -0,0 +1,107 @@
+\documentclass[a4paper,oneside]{article}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\usepackage{marvosym} % Euro \EUR
+\usepackage{fancyhdr}
+\setlength{\topmargin}{0cm}
+\setlength{\topskip}{0cm}
+\setlength{\headheight}{0cm}
+\setlength{\headsep}{0.5cm}
+\setlength{\textheight}{24.2cm}
+\setlength{\textwidth}{19cm}
+\setlength{\oddsidemargin}{-1.4cm}
+\setlength{\evensidemargin}{-1.4cm}
+\setlength{\footskip}{1cm}
+
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{13.0cm}
+
+\newsavebox{\hdr}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\sbox{\hdr}{
+\begin{minipage}[t]{0.6\linewidth}
+\vspace{2.2cm}
+
+\begin{tabular}[t]{p{1.7cm}p{2.4cm}p{1.7cm}}\\
+\centering{Número} & \centering{Fecha} & C. Cliente\\
+\centering{<%ordnumber%>} & \centering{<%orddate%>} & \centering{<%vendor_id%>}
+\end{tabular}
+\end{minipage}
+
+\begin{minipage}[t]{0.4\linewidth}
+\textbf{P E D I D O}
+\vspace{1cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+\end{minipage}
+
+}
+
+\pagestyle{fancy}
+\renewcommand{\headrulewidth}{0cm}
+\renewcommand{\footrulewidth}{0cm}
+\cfoot{\thepage}
+%\markboth{\usebox{\hdr}}{\usebox{\hdr}}
+%\thispagestyle{empty} %use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+\newpage
+\usebox{\hdr}
+%\markboth{\usebox{\hdr}}{\usebox{\hdr}}
+\vspace{0.5cm}
+
+\begin{tabular*}{\textwidth}{rp{\descrwidth}rr}
+ \textbf{Cant.} & \textbf{Descripción} & \textbf{Precio} & \textbf{Importe} \\ \hline
+<%end pagebreak%>
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\usebox{\hdr}
+\vspace{0.5cm}
+
+\begin{tabular*}{\textwidth}{rp{\descrwidth}rr}
+ \textbf{Cant.} & \textbf{Descripción} & \textbf{Precio} & \textbf{Importe} \\ \hline
+<%foreach number%>
+ <%qty%> & <%description%> & <%sellprice%> & <%linetotal%> \\
+<%end number%>
+\end{tabular*}
+
+\parbox{\textwidth}{
+\vspace{12pt}
+<%if notes%>
+ <%notes%>
+<%end if%>
+}
+
+\vfill
+
+\begin{flushright}
+\begin{tabularx}{10cm}{Xr@{}}
+ \textbf{Base imponible} & \textbf{<%subtotal%>} \EUR \\
+<%foreach tax%>
+ IVA (<%taxrate%>\%) sobre <%taxbase%> & <%tax%> \EUR\\
+<%end tax%>
+ \hline
+ \textbf{Total} & \textbf{<%ordtotal%>} \EUR\\
+\end{tabularx}
+\end{flushright}
+
+%\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+\end{document}
+
diff --git a/sql-ledger/templates/Spanish_A4-receipt.tex b/sql-ledger/templates/Spanish_A4-receipt.tex
new file mode 100644
index 0000000..a1ef969
--- /dev/null
+++ b/sql-ledger/templates/Spanish_A4-receipt.tex
@@ -0,0 +1,71 @@
+\documentclass[a4paper,oneside]{article}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.4cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.0cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+
+\fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont
+
+\parbox[t]{12cm}{
+ <%company%>
+
+ <%address%>}
+\hfill
+\parbox[t]{6cm}{\hfill <%source%>}
+
+\vspace*{0.6cm}
+
+<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill}
+
+\vspace{0.5cm}
+
+\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%>
+
+\vspace{0.5cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{2.8cm}
+
+<%company%>
+
+\vspace{0.5cm}
+
+<%name%> \hfill <%datepaid%> \hfill <%source%>
+
+\vspace{0.5cm}
+\begin{tabularx}{\textwidth}{lXrr@{}}
+\textbf{Invoice No.} & \textbf{Invoice Date}
+ & \textbf{Due} & \textbf{Applied} \\
+<%foreach invnumber%>
+<%invnumber%> & <%invdate%> \dotfill
+ & <%due%> & <%paid%> \\
+<%end invnumber%>
+\end{tabularx}
+
+\vfill
+
+\end{document}
+
diff --git a/sql-ledger/templates/Spanish_A4-sales_order.html b/sql-ledger/templates/Spanish_A4-sales_order.html
new file mode 100644
index 0000000..d54f375
--- /dev/null
+++ b/sql-ledger/templates/Spanish_A4-sales_order.html
@@ -0,0 +1,153 @@
+<head>
+ <title>Presupuesto de Instalaciones Industriales San José</title>
+</head>
+
+<body bgcolor="ffffff">
+ <!-- Cabecera -->
+ <table width="100%">
+ <tr valign=bottom>
+ <td width="10">&nbsp;</td>
+ <td>
+ <table width=100%>
+ <tr>
+ <th colspan="4"> </th>
+ <th align="left">
+ <h4>P R E S U P U E S T O</h4>
+ </th>
+ </tr>
+
+ <tr>
+ <td colspan="5"> </td>
+ </tr>
+
+ <tr>
+ <td colspan="4"> </td>
+ <td align="left"><%name%></td>
+ </tr>
+
+ <tr>
+ <td>Número</td>
+ <td>Fecha</td>
+ <td>Cód. Cliente</td>
+ <td width="10%"> </td>
+ <td><%addr1%></td>
+ </tr>
+ <tr>
+ <td><b><%ordnumber%></b></td>
+ <td><b><%orddate%></b></td>
+ <td><b><%customer_id%></b></td>
+ <td> </td>
+ <td><%addr2%></td>
+ </tr>
+ <tr>
+ <td colspan="4">
+ <td><%addr3%></td>
+ </tr>
+ <tr>
+ <td colspan="4">
+ <td><%addr4%></td>
+ </tr>
+ </table>
+ </table>
+
+ <!-- Cuerpo -->
+ <table width=100% cellspacing=0 cellpadding=0>
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <!-- <th align=left><font color=ffffff>Número</th> -->
+ <!-- <th><font color=ffffff>Cant.</th> -->
+ <th align="left"><font color="ffffff">Cant.</th>
+ <th align="left"><font color="ffffff">Descripción</th>
+ <th align="left"><font color="ffffff">Precio</th>
+ <!-- <th align="left"><font color="ffffff">Dto.</th> -->
+ <th align="left"><font color="ffffff">Importe</th>
+ </tr>
+
+ <tr>
+ <td colspan="4"><hr noshade></td>
+ </tr>
+
+<%foreach number%>
+ <tr valign=top>
+ <!-- <td><%number%></td> -->
+ <!-- <td><%unit%></td> -->
+ <td align="right"><%qty%></td>
+ <td align="left"><%description%></td>
+ <td align="right"><%sellprice%></td>
+ <!-- <td align=right><%discount%></td> -->
+ <td align="right"><%linetotal%></td>
+ </tr>
+<%end number%>
+
+ <tr>
+ <td colspan="4"><hr noshade></td>
+ </tr>
+ </table>
+
+ <!-- Subtotales, impuestos y totales -->
+ <table width="100%">
+ <tr>
+<%if taxincluded%>
+ <th align=right>Total</th>
+ <td align=right><%ordtotal%></td>
+<%end taxincluded%>
+<%if not taxincluded%>
+ <th align="right">Base imponible</th>
+ <td align="right"><%subtotal%> &euro;</td>
+<%end taxincluded%>
+ </tr>
+
+<%foreach tax%>
+ <tr>
+ <th align="right">IVA (<%taxrate%>%) sobre <%taxbase%>:</th>
+ <td align="right"><%tax%> &euro;</td>
+ </tr>
+<%end tax%>
+
+<%if paid%>
+ <tr>
+ <th align="right">Pagado:</th>
+ <td align="right"><%paid%> &euro;</td>
+ </tr>
+<%end paid%>
+
+ <tr>
+ <td>&nbsp;</td>
+ <td><hr noshade></td>
+ </tr>
+
+ <tr>
+ <th align="right">Total:</th>
+ <th align="right"><%ordtotal%> &euro;</th>
+ </tr>
+
+ <tr>
+ <td colspan="4">&nbsp;</td>
+ </tr>
+
+ </table>
+
+
+ <!-- Pie -->
+ <table width="100%">
+ <tr valign=top>
+<%if notes%>
+ <td>Notas</td>
+ <td><%notes%></td>
+<%end notes%>
+ </tr>
+
+<%if taxincluded%>
+ <tr>
+ <th colspan="2" align="left"><font size=-2>Los precios incluyen impuestos.</th>
+ </tr>
+<%end taxincluded%>
+
+ </table>
+
+
+</body>
+</html>
+
diff --git a/sql-ledger/templates/Spanish_A4-sales_order.tex b/sql-ledger/templates/Spanish_A4-sales_order.tex
new file mode 100644
index 0000000..f8300ae
--- /dev/null
+++ b/sql-ledger/templates/Spanish_A4-sales_order.tex
@@ -0,0 +1,107 @@
+\documentclass[a4paper,oneside]{article}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\usepackage{marvosym} % Euro \EUR
+\usepackage{fancyhdr}
+\setlength{\topmargin}{0cm}
+\setlength{\topskip}{0cm}
+\setlength{\headheight}{0cm}
+\setlength{\headsep}{0.5cm}
+\setlength{\textheight}{24.2cm}
+\setlength{\textwidth}{19cm}
+\setlength{\oddsidemargin}{-1.4cm}
+\setlength{\evensidemargin}{-1.4cm}
+\setlength{\footskip}{1cm}
+
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{13.0cm}
+
+\newsavebox{\hdr}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\sbox{\hdr}{
+\begin{minipage}[t]{0.6\linewidth}
+\vspace{2.2cm}
+
+\begin{tabular}[t]{p{1.7cm}p{2.4cm}p{1.7cm}}\\
+\centering{Número} & \centering{Fecha} & C. Cliente\\
+\centering{<%ordnumber%>} & \centering{<%orddate%>} & \centering{<%vendor_id%>}
+\end{tabular}
+\end{minipage}
+
+\begin{minipage}[t]{0.4\linewidth}
+\textbf{P E D I D O}
+\vspace{1cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+\end{minipage}
+
+}
+
+\pagestyle{fancy}
+\renewcommand{\headrulewidth}{0cm}
+\renewcommand{\footrulewidth}{0cm}
+\cfoot{\thepage}
+%\markboth{\usebox{\hdr}}{\usebox{\hdr}}
+%\thispagestyle{empty} %use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+\newpage
+\usebox{\hdr}
+%\markboth{\usebox{\hdr}}{\usebox{\hdr}}
+\vspace{0.5cm}
+
+\begin{tabular*}{\textwidth}{rp{\descrwidth}rr}
+ \textbf{Cant.} & \textbf{Descripción} & \textbf{Precio} & \textbf{Importe} \\ \hline
+<%end pagebreak%>
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\usebox{\hdr}
+\vspace{0.5cm}
+
+\begin{tabular*}{\textwidth}{rp{\descrwidth}rr}
+ \textbf{Cant.} & \textbf{Descripción} & \textbf{Precio} & \textbf{Importe} \\ \hline
+<%foreach number%>
+ <%qty%> & <%description%> & <%sellprice%> & <%linetotal%> \\
+<%end number%>
+\end{tabular*}
+
+\parbox{\textwidth}{
+\vspace{12pt}
+<%if notes%>
+ <%notes%>
+<%end if%>
+}
+
+\vfill
+
+\begin{flushright}
+\begin{tabularx}{10cm}{Xr@{}}
+ \textbf{Base imponible} & \textbf{<%subtotal%>} \EUR \\
+<%foreach tax%>
+ IVA (<%taxrate%>\%) sobre <%taxbase%> & <%tax%> \EUR\\
+<%end tax%>
+ \hline
+ \textbf{Total} & \textbf{<%ordtotal%>} \EUR\\
+\end{tabularx}
+\end{flushright}
+
+%\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+\end{document}
+
diff --git a/sql-ledger/templates/Spanish_A4-statement.html b/sql-ledger/templates/Spanish_A4-statement.html
new file mode 100644
index 0000000..6fca322
--- /dev/null
+++ b/sql-ledger/templates/Spanish_A4-statement.html
@@ -0,0 +1,121 @@
+
+<body bgcolor=ffffff>
+
+<table width=100%>
+ <tr>
+ <td width=10>&nbsp;</td>
+ <td>
+ <table width=100%>
+ <tr>
+ <td>
+ <h4>
+ <%company%>
+ <br><%address%>
+ </h4>
+ </td>
+ <th><img src=http://www.sql-ledger.org/images/sql-ledger.png border=0 width=64 height=58></th>
+ <td align=right>
+ <h4>
+ Tel: <%tel%>
+ <br>Fax: <%fax%>
+ </h4>
+ </td>
+ </tr>
+ <tr>
+ <th colspan=3><h4>S T A T E M E N T</h4></th>
+ </tr>
+ <tr>
+ <td colspan=3 align=right><%statementdate%></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td><%name%>
+ <br><%addr1%>
+ <br><%addr2%>
+ <br><%addr3%>
+ <br><%addr4%>
+ <br>
+<%if customerphone%>
+ <br>Tel: <%customerphone%>
+<%end customerphone%>
+<%if customerfax%>
+ <br>Fax: <%customerfax%>
+<%end customerfax%>
+<%if email%>
+ <br><%email%>
+<%end email%>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr height=10></tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td>
+ <table width=100%>
+ <tr>
+ <th align=left>Invoice #</th>
+ <th width=15%>Date</th>
+ <th width=15%>Due</th>
+ <th width=10%>Current</th>
+ <th width=10%>30</th>
+ <th width=10%>60</th>
+ <th width=10%>90+</th>
+ </tr>
+<%foreach invnumber%>
+ <tr>
+ <td><%invnumber%></td>
+ <td><%invdate%></td>
+ <td><%duedate%></td>
+ <td align=right><%c0%></td>
+ <td align=right><%c30%></td>
+ <td align=right><%c60%></td>
+ <td align=right><%c90%></td>
+ </tr>
+<%end invnumber%>
+ <tr>
+ <td colspan=7><hr size=1></td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td>&nbsp;</td>
+ <td>&nbsp;</td>
+ <th align=right><%c0total%></td>
+ <th align=right><%c30total%></td>
+ <th align=right><%c60total%></td>
+ <th align=right><%c90total%></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr height=10></tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td align=right>
+ <table width=50%>
+ <tr>
+ <th>Total Outstanding</th>
+ <th align=right><%total%></th>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td><hr noshade></td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td>Please make check payable to <b><%company%></b>.
+ </td>
+ </tr>
+ <tr height=20></tr>
+</table>
+
diff --git a/sql-ledger/templates/Spanish_A4-statement.tex b/sql-ledger/templates/Spanish_A4-statement.tex
new file mode 100644
index 0000000..268bb1a
--- /dev/null
+++ b/sql-ledger/templates/Spanish_A4-statement.tex
@@ -0,0 +1,137 @@
+\documentclass[a4paper,oneside]{article}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.5cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.5cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
+
+\newsavebox{\hdr}
+\sbox{\hdr}{
+ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+ \parbox{\textwidth}{
+ \parbox[b]{12cm}{
+ <%company%>
+
+ <%address%>}\hfill
+ \begin{tabular}[b]{rrr@{}}
+ Tel & <%tel%>\\
+ Fax & <%fax%>
+ \end{tabular}
+
+ \rule[1.5ex]{\textwidth}{0.5pt}
+ }
+}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\markboth{<%company%>\hfill <%statementdate%>}{\usebox{\hdr}}
+
+\pagestyle{myheadings}
+%\thispagestyle{empty} use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+
+ \rule{\textwidth}{2pt}
+
+ \hfill
+ \begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
+ \end{tabularx}
+
+\newpage
+
+\markright{<%company%>\hfill <%statementdate%>}
+
+\vspace*{-12pt}
+
+\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}}
+ \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} &
+ \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\
+ carried forward from <%lastpage%> & & & & & & <%sumcarriedforward%> \\
+<%end pagebreak%>
+
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\vspace*{1.5cm}
+
+\parbox[t]{1cm}{\hfill}
+\parbox[t]{10.5cm}{
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+}
+\parbox[t]{7.5cm}{
+<%if customerphone%>
+Tel: <%customerphone%>
+<%end customerphone%>
+
+<%if customerfax%>
+Fax: <%customerfax%>
+<%end customerfax%>
+
+<%email%>
+}
+\hfill
+
+\vspace{1cm}
+
+\textbf{S T A T E M E N T} \hfill
+
+\hfill <%statementdate%>
+
+\vspace{2cm}
+
+\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}}
+ \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} &
+ \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\
+<%foreach invnumber%>
+ <%invnumber%> & <%invdate%> & <%duedate%> &
+ <%c0%> & <%c30%> & <%c60%> & <%c90%> \\
+<%end invnumber%>
+\textbf{Subtotal} & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%>
+\end{tabular*}
+\rule{\textwidth}{1pt}
+
+\vspace{1cm}
+
+\hfill
+\begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Total outstanding} & <%total%>
+\end{tabularx}
+
+\vfill
+
+Please make check payable to <%company%>
+
+\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+\footnotetext[1]{\tiny
+}
+
+\end{document}
+
diff --git a/sql-ledger/templates/Spanish_Letter-balance_sheet.html b/sql-ledger/templates/Spanish_Letter-balance_sheet.html
new file mode 100644
index 0000000..aef74d0
--- /dev/null
+++ b/sql-ledger/templates/Spanish_Letter-balance_sheet.html
@@ -0,0 +1,100 @@
+<head>
+ <title>Hoja de Balance</title>
+</head>
+
+<body bgcolor=ffffff>
+
+<h2 align=center>
+<%company%>
+<br><%address%>
+
+<p>HOJA DE BALANCE
+<br><%period%>
+</h2>
+
+<table border=0>
+<tr>
+ <th align=left width=400 colspan=2>ACTIVOS<br><hr align=left width=250 size=5 noshade></th>
+ <th><%this_period%></th>
+ <th><%last_period%></th>
+</tr>
+
+<%foreach asset_account%>
+<tr>
+ <td>&nbsp;</td>
+ <td><%asset_account%></td>
+ <td align=right><%asset_this_period%></td>
+ <td align=right><%asset_last_period%></td>
+</tr>
+<%end asset_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <th align=left colspan=2>Total de activos</th>
+ <td align=right><%total_assets_this_period%><hr noshade size=2></td>
+ <td align=right><%total_assets_last_period%><hr noshade size=2></td>
+</tr>
+
+<tr>
+ <th align=left colspan=4>PASIVOS<b><hr align=left width=250 size=5 noshade></th>
+</tr>
+
+<%foreach liability_account%>
+<tr>
+ <td></td>
+ <td><%liability_account%></td>
+ <td align=right><%liability_this_period%></td>
+ <td align=right><%liability_last_period%></td>
+</tr>
+<%end liability_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <td></td>
+ <th align=left>Total de pasivos</th>
+ <td align=right><%total_liabilities_this_period%><br><hr noshade size=2</td>
+ <td align=right><%total_liabilities_last_period%><br><hr noshade size=2</td>
+</tr>
+
+<tr>
+ <th align=left colspan=4>CAPITAL<br><hr align=left width=250 size=5 noshade></th>
+</tr>
+
+<%foreach equity_account%>
+<tr>
+ <td></td>
+ <td><%equity_account%></td>
+ <td align=right><%equity_this_period%></td>
+ <td align=right><%equity_last_period%></td>
+</tr>
+<%end equity_account%>
+
+<tr>
+ <td colspan=2> </td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <td></td>
+ <th align=left>Capital total</th>
+ <td align=right><%total_equity_this_period%><br><hr noshade size=2</td>
+ <td align=right><%total_equity_last_period%><br><hr noshade size=2</td>
+</tr>
+
+<tr valign=top>
+ <th align=left colspan=2>Total de pasivos y capital</th>
+ <td align=right><%total_this_period%><br><hr noshade size=2></td>
+ <td align=right><%total_last_period%><br><hr noshade size=2></td>
+</tr>
+</table>
diff --git a/sql-ledger/templates/Spanish_Letter-check.tex b/sql-ledger/templates/Spanish_Letter-check.tex
new file mode 100644
index 0000000..5b64e81
--- /dev/null
+++ b/sql-ledger/templates/Spanish_Letter-check.tex
@@ -0,0 +1,71 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.4cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.0cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+
+\fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont
+
+\parbox[t]{12cm}{
+ <%company%>
+
+ <%address%>}
+\hfill
+\parbox[t]{6cm}{\hfill <%source%>}
+
+\vspace*{0.6cm}
+
+<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill}
+
+\vspace{0.5cm}
+
+\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%>
+
+\vspace{0.5cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{2.8cm}
+
+<%company%>
+
+\vspace{0.5cm}
+
+<%name%> \hfill <%datepaid%> \hfill <%source%>
+
+\vspace{0.5cm}
+\begin{tabularx}{\textwidth}{lXrr@{}}
+\textbf{Invoice No.} & \textbf{Invoice Date}
+ & \textbf{Due} & \textbf{Applied} \\
+<%foreach invnumber%>
+<%invnumber%> & <%invdate%> \dotfill
+ & <%due%> & <%paid%> \\
+<%end invnumber%>
+\end{tabularx}
+
+\vfill
+
+\end{document}
+
diff --git a/sql-ledger/templates/Spanish_Letter-income_statement.html b/sql-ledger/templates/Spanish_Letter-income_statement.html
new file mode 100644
index 0000000..fbb5653
--- /dev/null
+++ b/sql-ledger/templates/Spanish_Letter-income_statement.html
@@ -0,0 +1,77 @@
+<head>
+ <title>Balance de Situación</title>
+</head>
+
+<body bgcolor=ffffff>
+
+<h2 align=center>
+<%company%>
+<br><%address%>
+
+<p>BALANCE DE SITUACIÓN
+<br><%period%>
+</h2>
+
+
+<table width=100% border=0>
+<tr>
+ <th width=400 align=left colspan=2>INGRESOS<br><hr width=300 size=5 align=left noshade></th>
+ <th><%this_period%></th>
+ <th><%last_period%></th>
+</tr>
+
+<%foreach income_account%>
+<tr>
+ <td width=4>&nbsp;</td>
+ <td><%income_account%></td>
+ <td align=right><%income_this_period%></td>
+ <td align=right><%income_last_period%></td>
+</tr>
+<%end income_account%>
+
+<tr>
+ <td colspan=2>&nbsp;</td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <td>&nbsp;</td>
+ <th align=left>Total de ingresos</th>
+ <td align=right><%total_income_this_period%><hr noshade size=2></td>
+ <td align=right><%total_income_last_period%><hr noshade size=2></td>
+</tr>
+
+<tr>
+ <th align=left colspan=2>GASTOS<br><hr width=300 size=5 align=left noshade></th>
+</tr>
+
+<%foreach expense_account%>
+<tr>
+ <td>&nbsp;</td>
+ <td><%expense_account%></td>
+ <td align=right><%expenses_this_period%></td>
+ <td align=right><%expenses_last_period%></td>
+</tr>
+<%end expense_account%>
+
+<tr>
+ <td colspan=2>&nbsp;</td>
+ <td><hr noshade size=1></td>
+ <td><hr noshade size=1></td>
+</tr>
+
+<tr valign=top>
+ <td>&nbsp;</td>
+ <th align=left>Total de gastos</th>
+ <td align=right><%total_expenses_this_period%><br><hr noshade size=2</td>
+ <td align=right><%total_expenses_last_period%><br><hr noshade size=2</td>
+</tr>
+
+<tr valign=top>
+ <th align=left colspan=2>GANANCIA/(PERDIDA)</th>
+ <td align=right><%total_this_period%><br><hr noshade size=2></td>
+ <td align=right><%total_last_period%><br><hr noshade size=2></td>
+</tr>
+
+</table>
diff --git a/sql-ledger/templates/Spanish_Letter-invoice.html b/sql-ledger/templates/Spanish_Letter-invoice.html
new file mode 100644
index 0000000..d274936
--- /dev/null
+++ b/sql-ledger/templates/Spanish_Letter-invoice.html
@@ -0,0 +1,153 @@
+<head>
+ <title>Factura de Instalaciones Industriales San José</title>
+</head>
+
+<body bgcolor="ffffff">
+ <!-- Cabecera -->
+ <table width="100%">
+ <tr valign=bottom>
+ <td width="10">&nbsp;</td>
+ <td>
+ <table width=100%>
+ <tr>
+ <th colspan="4"> </th>
+ <th align="left">
+ <h4>F A C T U R A</h4>
+ </th>
+ </tr>
+
+ <tr>
+ <td colspan="5"> </td>
+ </tr>
+
+ <tr>
+ <td colspan="4"> </td>
+ <td align="left"><%name%></td>
+ </tr>
+
+ <tr>
+ <td>Número</td>
+ <td>Fecha</td>
+ <td>Cód. Cliente</td>
+ <td width="10%"> </td>
+ <td><%addr1%></td>
+ </tr>
+ <tr>
+ <td><b><%invnumber%></b></td>
+ <td><b><%invdate%></b></td>
+ <td><b><%customer_id%></b></td>
+ <td> </td>
+ <td><%addr2%></td>
+ </tr>
+ <tr>
+ <td colspan="4">
+ <td><%addr3%></td>
+ </tr>
+ <tr>
+ <td colspan="4">
+ <td><%addr4%></td>
+ </tr>
+ </table>
+ </table>
+
+ <!-- Cuerpo -->
+ <table width=100% cellspacing=0 cellpadding=0>
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <!-- <th align=left><font color=ffffff>Número</th> -->
+ <!-- <th><font color=ffffff>Cant.</th> -->
+ <th align="left"><font color="ffffff">Cant.</th>
+ <th align="left"><font color="ffffff">Descripción</th>
+ <th align="left"><font color="ffffff">Precio</th>
+ <!-- <th align="left"><font color="ffffff">Dto.</th> -->
+ <th align="left"><font color="ffffff">Importe</th>
+ </tr>
+
+ <tr>
+ <td colspan="4"><hr noshade></td>
+ </tr>
+
+<%foreach number%>
+ <tr valign=top>
+ <!-- <td><%number%></td> -->
+ <!-- <td><%unit%></td> -->
+ <td align="right"><%qty%></td>
+ <td align="left"><%description%></td>
+ <td align="right"><%sellprice%></td>
+ <!-- <td align=right><%discount%></td> -->
+ <td align="right"><%linetotal%></td>
+ </tr>
+<%end number%>
+
+ <tr>
+ <td colspan="4"><hr noshade></td>
+ </tr>
+ </table>
+
+ <!-- Subtotales, impuestos y totales -->
+ <table width="100%">
+ <tr>
+<%if taxincluded%>
+ <th align=right>Total</th>
+ <td align=right><%invtotal%></td>
+<%end taxincluded%>
+<%if not taxincluded%>
+ <th align="right">Base imponible</th>
+ <td align="right"><%subtotal%> &euro;</td>
+<%end taxincluded%>
+ </tr>
+
+<%foreach tax%>
+ <tr>
+ <th align="right">IVA (<%taxrate%>%) sobre <%taxbase%>:</th>
+ <td align="right"><%tax%> &euro;</td>
+ </tr>
+<%end tax%>
+
+<%if paid%>
+ <tr>
+ <th align="right">Pagado:</th>
+ <td align="right"><%paid%> &euro;</td>
+ </tr>
+<%end paid%>
+
+ <tr>
+ <td>&nbsp;</td>
+ <td><hr noshade></td>
+ </tr>
+
+ <tr>
+ <th align="right">Total:</th>
+ <th align="right"><%invtotal%> &euro;</th>
+ </tr>
+
+ <tr>
+ <td colspan="4">&nbsp;</td>
+ </tr>
+
+ </table>
+
+
+ <!-- Pie -->
+ <table width="100%">
+ <tr valign=top>
+<%if notes%>
+ <td>Notas</td>
+ <td><%notes%></td>
+<%end notes%>
+ </tr>
+
+<%if taxincluded%>
+ <tr>
+ <th colspan="2" align="left"><font size=-2>Los precios incluyen impuestos.</th>
+ </tr>
+<%end taxincluded%>
+
+ </table>
+
+
+</body>
+</html>
+
diff --git a/sql-ledger/templates/Spanish_Letter-invoice.tex b/sql-ledger/templates/Spanish_Letter-invoice.tex
new file mode 100644
index 0000000..8fdd38a
--- /dev/null
+++ b/sql-ledger/templates/Spanish_Letter-invoice.tex
@@ -0,0 +1,110 @@
+% ve-invoice.tex
+\documentclass[letterpaper,oneside]{article}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+%\usepackage{marvosym} % Euro \EUR
+\usepackage{fancyhdr}
+\setlength{\topmargin}{0cm}
+\setlength{\topskip}{0cm}
+\setlength{\headheight}{0cm}
+\setlength{\headsep}{0.5cm}
+\setlength{\textheight}{24.2cm}
+\setlength{\textwidth}{19cm}
+\setlength{\oddsidemargin}{-1.4cm}
+\setlength{\evensidemargin}{-1.4cm}
+\setlength{\footskip}{1cm}
+
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{13.0cm}
+
+\newsavebox{\hdr}
+
+%Or whatever font you want!
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\sbox{\hdr}{
+
+\begin{minipage}[t]{0.6\linewidth}
+\vspace{2.2cm}
+
+\begin{tabular}[t]{p{1.7cm}p{2.4cm}p{1.7cm}}\\
+\centering{Número} & \centering{Fecha} & C. Cliente\\
+\centering{<%invnumber%>} & \centering{<%invdate%>} & \centering{<%customer_id%>}
+\end{tabular}
+\end{minipage}
+
+\begin{minipage}[t]{0.4\linewidth}
+\textbf{F A C T U R A}
+\vspace{1cm}
+
+<%shiptoname%>
+
+<%shiptoaddr1%>
+
+<%shiptoaddr2%>
+
+<%shiptoaddr3%>
+
+<%shiptoaddr4%>
+\end{minipage}
+
+}
+
+\pagestyle{fancy}
+\renewcommand{\headrulewidth}{0cm}
+\renewcommand{\footrulewidth}{0cm}
+\cfoot{\thepage}
+%\markboth{\usebox{\hdr}}{\usebox{\hdr}}
+%\thispagestyle{empty} %use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+\newpage
+\usebox{\hdr}
+%\markboth{\usebox{\hdr}}{\usebox{\hdr}}
+\vspace{0.5cm}
+
+\begin{tabular*}{\textwidth}{rp{\descrwidth}rr}
+ \textbf{Cant.} & \textbf{Descripción} & \textbf{Precio} & \textbf{Importe} \\ \hline
+<%end pagebreak%>
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\usebox{\hdr}
+\vspace{0.5cm}
+
+\begin{tabular*}{\textwidth}{rp{\descrwidth}rr}
+ \textbf{Cant.} & \textbf{Descripción} & \textbf{Precio} & \textbf{Importe} \\ \hline
+<%foreach number%>
+ <%qty%> & <%description%> & <%sellprice%> & <%linetotal%> \\
+<%end number%>
+\end{tabular*}
+
+\parbox{\textwidth}{
+\vspace{12pt}
+<%if notes%>
+ <%notes%>
+<%end if%>
+}
+
+\vfill
+
+\begin{flushright}
+\begin{tabularx}{10cm}{Xr@{}}
+ \textbf{Base imponible} & \textbf{<%subtotal%>} \\
+<%foreach tax%>
+ IVA (<%taxrate%>\%) sobre <%taxbase%> & <%tax%> \\
+<%end tax%>
+ \hline
+ \textbf{Total} & \textbf{<%invtotal%>} \\
+\end{tabularx}
+\end{flushright}
+
+%\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+\end{document}
+
diff --git a/sql-ledger/templates/Spanish_Letter-packing_list.html b/sql-ledger/templates/Spanish_Letter-packing_list.html
new file mode 100644
index 0000000..c34d189
--- /dev/null
+++ b/sql-ledger/templates/Spanish_Letter-packing_list.html
@@ -0,0 +1,155 @@
+<head>
+ <title>Albarán de Instalaciones Industriales San José</title>
+</head>
+
+<body bgcolor="ffffff">
+ <!-- Cabecera -->
+ <table width="100%">
+ <tr valign=bottom>
+ <td width="10">&nbsp;</td>
+ <td>
+ <table width=100%>
+ <tr>
+ <th colspan="5"> </th>
+ <th align="left">
+ <h4>A L B A R Á N</h4>
+ </th>
+ </tr>
+
+ <tr>
+ <td colspan="6"> </td>
+ </tr>
+
+ <tr>
+ <td colspan="5"> </td>
+ <td align="left"><%name%></td>
+ </tr>
+
+ <tr>
+ <td>Número</td>
+ <td>Factura</td>
+ <td>Fecha</td>
+ <td>Cód. Cliente</td>
+ <td width="10%"> </td>
+ <td><%addr1%></td>
+ </tr>
+ <tr>
+ <td><b><%ordnumber%></b></td>
+ <td><b><%invnumber%></b></td>
+ <td><b><%invdate%></b></td>
+ <td><b><%customer_id%></b></td>
+ <td> </td>
+ <td><%addr2%></td>
+ </tr>
+ <tr>
+ <td colspan="5">
+ <td><%addr3%></td>
+ </tr>
+ <tr>
+ <td colspan="5">
+ <td><%addr4%></td>
+ </tr>
+ </table>
+ </table>
+
+ <!-- Cuerpo -->
+ <table width=100% cellspacing=0 cellpadding=0>
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <!-- <th align=left><font color=ffffff>Número</th> -->
+ <!-- <th><font color=ffffff>Cant.</th> -->
+ <th align="left"><font color="ffffff">Cant.</th>
+ <th align="left"><font color="ffffff">Descripción</th>
+ <th align="left"><font color="ffffff">Precio</th>
+ <!-- <th align="left"><font color="ffffff">Dto.</th> -->
+ <th align="left"><font color="ffffff">Importe</th>
+ </tr>
+
+ <tr>
+ <td colspan="4"><hr noshade></td>
+ </tr>
+
+<%foreach number%>
+ <tr valign=top>
+ <!-- <td><%number%></td> -->
+ <!-- <td><%unit%></td> -->
+ <td align="right"><%qty%></td>
+ <td align="left"><%description%></td>
+ <td align="right"><%sellprice%></td>
+ <!-- <td align=right><%discount%></td> -->
+ <td align="right"><%linetotal%></td>
+ </tr>
+<%end number%>
+
+ <tr>
+ <td colspan="4"><hr noshade></td>
+ </tr>
+ </table>
+
+ <!-- Subtotales, impuestos y totales -->
+ <table width="100%">
+ <tr>
+<%if taxincluded%>
+ <th align=right>Total</th>
+ <td align=right><%invtotal%></td>
+<%end taxincluded%>
+<%if not taxincluded%>
+ <th align="right">Base imponible</th>
+ <td align="right"><%subtotal%> &euro;</td>
+<%end taxincluded%>
+ </tr>
+
+<%foreach tax%>
+ <tr>
+ <th align="right">IVA (<%taxrate%>%) sobre <%taxbase%>:</th>
+ <td align="right"><%tax%> &euro;</td>
+ </tr>
+<%end tax%>
+
+<%if paid%>
+ <tr>
+ <th align="right">Pagado:</th>
+ <td align="right"><%paid%> &euro;</td>
+ </tr>
+<%end paid%>
+
+ <tr>
+ <td>&nbsp;</td>
+ <td><hr noshade></td>
+ </tr>
+
+ <tr>
+ <th align="right">Total:</th>
+ <th align="right"><%invtotal%> &euro;</th>
+ </tr>
+
+ <tr>
+ <td colspan="4">&nbsp;</td>
+ </tr>
+
+ </table>
+
+
+ <!-- Pie -->
+ <table width="100%">
+ <tr valign=top>
+<%if notes%>
+ <td>Notas</td>
+ <td><%notes%></td>
+<%end notes%>
+ </tr>
+
+<%if taxincluded%>
+ <tr>
+ <th colspan="2" align="left"><font size=-2>Los precios incluyen impuestos.</th>
+ </tr>
+<%end taxincluded%>
+
+ </table>
+
+
+</body>
+</html>
+
diff --git a/sql-ledger/templates/Spanish_Letter-packing_list.tex b/sql-ledger/templates/Spanish_Letter-packing_list.tex
new file mode 100644
index 0000000..bf146ca
--- /dev/null
+++ b/sql-ledger/templates/Spanish_Letter-packing_list.tex
@@ -0,0 +1,108 @@
+\documentclass[letterpaper,oneside]{article}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+%\usepackage{marvosym} % Euro \EUR
+\usepackage{fancyhdr}
+\setlength{\topmargin}{0cm}
+\setlength{\topskip}{0cm}
+\setlength{\headheight}{0cm}
+\setlength{\headsep}{0.5cm}
+\setlength{\textheight}{24.2cm}
+\setlength{\textwidth}{19cm}
+\setlength{\oddsidemargin}{-1.4cm}
+\setlength{\evensidemargin}{-1.4cm}
+\setlength{\footskip}{1cm}
+
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{13.0cm}
+
+\newsavebox{\hdr}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\sbox{\hdr}{
+
+\begin{minipage}[t]{0.6\linewidth}
+\vspace{2.2cm}
+
+\begin{tabular}[t]{p{1.7cm}p{1.7cm}p{2.4cm}p{1.7cm}}\\
+\centering{Número} & \centering{Número} & \centering{Fecha} & C. Cliente\\
+ \centering{<%ordnumber%>} & \centering{<%invnumber%>} & \centering{<%invdate%>} & \centering{<%customer_id%>}
+\end{tabular}
+\end{minipage}
+
+\begin{minipage}[t]{0.4\linewidth}
+\textbf{A L B A R Á N}
+\vspace{1cm}
+
+<%shiptoname%>
+
+<%shiptoaddr1%>
+
+<%shiptoaddr2%>
+
+<%shiptoaddr3%>
+
+<%shiptoaddr4%>
+\end{minipage}
+
+}
+
+\pagestyle{fancy}
+\renewcommand{\headrulewidth}{0cm}
+\renewcommand{\footrulewidth}{0cm}
+\cfoot{\thepage}
+%\markboth{\usebox{\hdr}}{\usebox{\hdr}}
+%\thispagestyle{empty} %use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+\newpage
+\usebox{\hdr}
+\vspace{0.5cm}
+
+%\markboth{\usebox{\hdr}}{\usebox{\hdr}}
+\begin{tabular*}{\textwidth}{rp{\descrwidth}rr}
+ \textbf{Cant.} & \textbf{Descripción} & \textbf{Precio} & \textbf{Importe} \\ \hline
+<%end pagebreak%>
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\usebox{\hdr}
+\vspace{0.5cm}
+
+\begin{tabular*}{\textwidth}{rp{\descrwidth}rr}
+ \textbf{Cant.} & \textbf{Descripción} & \textbf{Precio} & \textbf{Importe} \\ \hline
+<%foreach number%>
+ <%qty%> & <%description%> & <%sellprice%> & <%linetotal%> \\
+<%end number%>
+\end{tabular*}
+
+\parbox{\textwidth}{
+\vspace{12pt}
+<%if notes%>
+ <%notes%>
+<%end if%>
+}
+
+\vfill
+
+\begin{flushright}
+\begin{tabularx}{10cm}{Xr@{}}
+ \textbf{Base imponible} & \textbf{<%subtotal%>} \\
+<%foreach tax%>
+ IVA (<%taxrate%>\%) sobre <%taxbase%> & <%tax%> \\
+<%end tax%>
+ \hline
+ \textbf{Total} & \textbf{<%invtotal%>} \\
+\end{tabularx}
+\end{flushright}
+
+%\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+\end{document}
+
diff --git a/sql-ledger/templates/Spanish_Letter-purchase_order.html b/sql-ledger/templates/Spanish_Letter-purchase_order.html
new file mode 100644
index 0000000..693fe65
--- /dev/null
+++ b/sql-ledger/templates/Spanish_Letter-purchase_order.html
@@ -0,0 +1,153 @@
+<head>
+ <title>Pedido de Instalaciones Industriales San José</title>
+</head>
+
+<body bgcolor="ffffff">
+ <!-- Cabecera -->
+ <table width="100%">
+ <tr valign=bottom>
+ <td width="10">&nbsp;</td>
+ <td>
+ <table width=100%>
+ <tr>
+ <th colspan="4"> </th>
+ <th align="left">
+ <h4>P E D I D O</h4>
+ </th>
+ </tr>
+
+ <tr>
+ <td colspan="5"> </td>
+ </tr>
+
+ <tr>
+ <td colspan="4"> </td>
+ <td align="left"><%name%></td>
+ </tr>
+
+ <tr>
+ <td>Número</td>
+ <td>Fecha</td>
+ <td>Cód. Proveedor</td>
+ <td width="10%"> </td>
+ <td><%addr1%></td>
+ </tr>
+ <tr>
+ <td><b><%ordnumber%></b></td>
+ <td><b><%orddate%></b></td>
+ <td><b><%vendor_id%></b></td>
+ <td> </td>
+ <td><%addr2%></td>
+ </tr>
+ <tr>
+ <td colspan="4">
+ <td><%addr3%></td>
+ </tr>
+ <tr>
+ <td colspan="4">
+ <td><%addr4%></td>
+ </tr>
+ </table>
+ </table>
+
+ <!-- Cuerpo -->
+ <table width=100% cellspacing=0 cellpadding=0>
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <!-- <th align=left><font color=ffffff>Número</th> -->
+ <!-- <th><font color=ffffff>Cant.</th> -->
+ <th align="left"><font color="ffffff">Cant.</th>
+ <th align="left"><font color="ffffff">Descripción</th>
+ <th align="left"><font color="ffffff">Precio</th>
+ <!-- <th align="left"><font color="ffffff">Dto.</th> -->
+ <th align="left"><font color="ffffff">Importe</th>
+ </tr>
+
+ <tr>
+ <td colspan="4"><hr noshade></td>
+ </tr>
+
+<%foreach number%>
+ <tr valign=top>
+ <!-- <td><%number%></td> -->
+ <!-- <td><%unit%></td> -->
+ <td align="right"><%qty%></td>
+ <td align="left"><%description%></td>
+ <td align="right"><%sellprice%></td>
+ <!-- <td align=right><%discount%></td> -->
+ <td align="right"><%linetotal%></td>
+ </tr>
+<%end number%>
+
+ <tr>
+ <td colspan="4"><hr noshade></td>
+ </tr>
+ </table>
+
+ <!-- Subtotales, impuestos y totales -->
+ <table width="100%">
+ <tr>
+<%if taxincluded%>
+ <th align="right">Total</th>
+ <td align="right"><%ordtotal%></td>
+<%end taxincluded%>
+<%if not taxincluded%>
+ <th align="right">Base imponible</th>
+ <td align="right"><%subtotal%> &euro;</td>
+<%end taxincluded%>
+ </tr>
+
+<%foreach tax%>
+ <tr>
+ <th align="right">IVA (<%taxrate%>%) sobre <%taxbase%>:</th>
+ <td align="right"><%tax%> &euro;</td>
+ </tr>
+<%end tax%>
+
+<%if paid%>
+ <tr>
+ <th align="right">Pagado:</th>
+ <td align="right"><%paid%> &euro;</td>
+ </tr>
+<%end paid%>
+
+ <tr>
+ <td>&nbsp;</td>
+ <td><hr noshade></td>
+ </tr>
+
+ <tr>
+ <th align="right">Total:</th>
+ <th align="right"><%ordtotal%> &euro;</th>
+ </tr>
+
+ <tr>
+ <td colspan="4">&nbsp;</td>
+ </tr>
+
+ </table>
+
+
+ <!-- Pie -->
+ <table width="100%">
+ <tr valign=top>
+<%if notes%>
+ <td>Notas</td>
+ <td><%notes%></td>
+<%end notes%>
+ </tr>
+
+<%if taxincluded%>
+ <tr>
+ <th colspan="2" align="left"><font size=-2>Los precios incluyen impuestos.</th>
+ </tr>
+<%end taxincluded%>
+
+ </table>
+
+
+</body>
+</html>
+
diff --git a/sql-ledger/templates/Spanish_Letter-purchase_order.tex b/sql-ledger/templates/Spanish_Letter-purchase_order.tex
new file mode 100644
index 0000000..177f4b8
--- /dev/null
+++ b/sql-ledger/templates/Spanish_Letter-purchase_order.tex
@@ -0,0 +1,107 @@
+\documentclass[letterpaper,oneside]{article}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+%\usepackage{marvosym} % Euro \EUR
+\usepackage{fancyhdr}
+\setlength{\topmargin}{0cm}
+\setlength{\topskip}{0cm}
+\setlength{\headheight}{0cm}
+\setlength{\headsep}{0.5cm}
+\setlength{\textheight}{24.2cm}
+\setlength{\textwidth}{19cm}
+\setlength{\oddsidemargin}{-1.4cm}
+\setlength{\evensidemargin}{-1.4cm}
+\setlength{\footskip}{1cm}
+
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{13.0cm}
+
+\newsavebox{\hdr}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\sbox{\hdr}{
+\begin{minipage}[t]{0.6\linewidth}
+\vspace{2.2cm}
+
+\begin{tabular}[t]{p{1.7cm}p{2.4cm}p{1.7cm}}\\
+\centering{Número} & \centering{Fecha} & C. Cliente\\
+\centering{<%ordnumber%>} & \centering{<%orddate%>} & \centering{<%vendor_id%>}
+\end{tabular}
+\end{minipage}
+
+\begin{minipage}[t]{0.4\linewidth}
+\textbf{O R D E N \quad D E \quad C O M P R A}
+\vspace{1cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+\end{minipage}
+
+}
+
+\pagestyle{fancy}
+\renewcommand{\headrulewidth}{0cm}
+\renewcommand{\footrulewidth}{0cm}
+\cfoot{\thepage}
+%\markboth{\usebox{\hdr}}{\usebox{\hdr}}
+%\thispagestyle{empty} %use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+\newpage
+\usebox{\hdr}
+%\markboth{\usebox{\hdr}}{\usebox{\hdr}}
+\vspace{0.5cm}
+
+\begin{tabular*}{\textwidth}{rp{\descrwidth}rr}
+ \textbf{Cant.} & \textbf{Descripción} & \textbf{Precio} & \textbf{Importe} \\ \hline
+<%end pagebreak%>
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\usebox{\hdr}
+\vspace{0.5cm}
+
+\begin{tabular*}{\textwidth}{rp{\descrwidth}rr}
+ \textbf{Cant.} & \textbf{Descripción} & \textbf{Precio} & \textbf{Importe} \\ \hline
+<%foreach number%>
+ <%qty%> & <%description%> & <%sellprice%> & <%linetotal%> \\
+<%end number%>
+\end{tabular*}
+
+\parbox{\textwidth}{
+\vspace{12pt}
+<%if notes%>
+ <%notes%>
+<%end if%>
+}
+
+\vfill
+
+\begin{flushright}
+\begin{tabularx}{10cm}{Xr@{}}
+ \textbf{Base imponible} & \textbf{<%subtotal%>} \\
+<%foreach tax%>
+ IVA (<%taxrate%>\%) sobre <%taxbase%> & <%tax%> \\
+<%end tax%>
+ \hline
+ \textbf{Total} & \textbf{<%ordtotal%>} \\
+\end{tabularx}
+\end{flushright}
+
+%\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+\end{document}
+
diff --git a/sql-ledger/templates/Spanish_Letter-receipt.tex b/sql-ledger/templates/Spanish_Letter-receipt.tex
new file mode 100644
index 0000000..5b64e81
--- /dev/null
+++ b/sql-ledger/templates/Spanish_Letter-receipt.tex
@@ -0,0 +1,71 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.4cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.0cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+
+\fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont
+
+\parbox[t]{12cm}{
+ <%company%>
+
+ <%address%>}
+\hfill
+\parbox[t]{6cm}{\hfill <%source%>}
+
+\vspace*{0.6cm}
+
+<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill}
+
+\vspace{0.5cm}
+
+\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%>
+
+\vspace{0.5cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+\vspace{2.8cm}
+
+<%company%>
+
+\vspace{0.5cm}
+
+<%name%> \hfill <%datepaid%> \hfill <%source%>
+
+\vspace{0.5cm}
+\begin{tabularx}{\textwidth}{lXrr@{}}
+\textbf{Invoice No.} & \textbf{Invoice Date}
+ & \textbf{Due} & \textbf{Applied} \\
+<%foreach invnumber%>
+<%invnumber%> & <%invdate%> \dotfill
+ & <%due%> & <%paid%> \\
+<%end invnumber%>
+\end{tabularx}
+
+\vfill
+
+\end{document}
+
diff --git a/sql-ledger/templates/Spanish_Letter-sales_order.html b/sql-ledger/templates/Spanish_Letter-sales_order.html
new file mode 100644
index 0000000..d54f375
--- /dev/null
+++ b/sql-ledger/templates/Spanish_Letter-sales_order.html
@@ -0,0 +1,153 @@
+<head>
+ <title>Presupuesto de Instalaciones Industriales San José</title>
+</head>
+
+<body bgcolor="ffffff">
+ <!-- Cabecera -->
+ <table width="100%">
+ <tr valign=bottom>
+ <td width="10">&nbsp;</td>
+ <td>
+ <table width=100%>
+ <tr>
+ <th colspan="4"> </th>
+ <th align="left">
+ <h4>P R E S U P U E S T O</h4>
+ </th>
+ </tr>
+
+ <tr>
+ <td colspan="5"> </td>
+ </tr>
+
+ <tr>
+ <td colspan="4"> </td>
+ <td align="left"><%name%></td>
+ </tr>
+
+ <tr>
+ <td>Número</td>
+ <td>Fecha</td>
+ <td>Cód. Cliente</td>
+ <td width="10%"> </td>
+ <td><%addr1%></td>
+ </tr>
+ <tr>
+ <td><b><%ordnumber%></b></td>
+ <td><b><%orddate%></b></td>
+ <td><b><%customer_id%></b></td>
+ <td> </td>
+ <td><%addr2%></td>
+ </tr>
+ <tr>
+ <td colspan="4">
+ <td><%addr3%></td>
+ </tr>
+ <tr>
+ <td colspan="4">
+ <td><%addr4%></td>
+ </tr>
+ </table>
+ </table>
+
+ <!-- Cuerpo -->
+ <table width=100% cellspacing=0 cellpadding=0>
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <!-- <th align=left><font color=ffffff>Número</th> -->
+ <!-- <th><font color=ffffff>Cant.</th> -->
+ <th align="left"><font color="ffffff">Cant.</th>
+ <th align="left"><font color="ffffff">Descripción</th>
+ <th align="left"><font color="ffffff">Precio</th>
+ <!-- <th align="left"><font color="ffffff">Dto.</th> -->
+ <th align="left"><font color="ffffff">Importe</th>
+ </tr>
+
+ <tr>
+ <td colspan="4"><hr noshade></td>
+ </tr>
+
+<%foreach number%>
+ <tr valign=top>
+ <!-- <td><%number%></td> -->
+ <!-- <td><%unit%></td> -->
+ <td align="right"><%qty%></td>
+ <td align="left"><%description%></td>
+ <td align="right"><%sellprice%></td>
+ <!-- <td align=right><%discount%></td> -->
+ <td align="right"><%linetotal%></td>
+ </tr>
+<%end number%>
+
+ <tr>
+ <td colspan="4"><hr noshade></td>
+ </tr>
+ </table>
+
+ <!-- Subtotales, impuestos y totales -->
+ <table width="100%">
+ <tr>
+<%if taxincluded%>
+ <th align=right>Total</th>
+ <td align=right><%ordtotal%></td>
+<%end taxincluded%>
+<%if not taxincluded%>
+ <th align="right">Base imponible</th>
+ <td align="right"><%subtotal%> &euro;</td>
+<%end taxincluded%>
+ </tr>
+
+<%foreach tax%>
+ <tr>
+ <th align="right">IVA (<%taxrate%>%) sobre <%taxbase%>:</th>
+ <td align="right"><%tax%> &euro;</td>
+ </tr>
+<%end tax%>
+
+<%if paid%>
+ <tr>
+ <th align="right">Pagado:</th>
+ <td align="right"><%paid%> &euro;</td>
+ </tr>
+<%end paid%>
+
+ <tr>
+ <td>&nbsp;</td>
+ <td><hr noshade></td>
+ </tr>
+
+ <tr>
+ <th align="right">Total:</th>
+ <th align="right"><%ordtotal%> &euro;</th>
+ </tr>
+
+ <tr>
+ <td colspan="4">&nbsp;</td>
+ </tr>
+
+ </table>
+
+
+ <!-- Pie -->
+ <table width="100%">
+ <tr valign=top>
+<%if notes%>
+ <td>Notas</td>
+ <td><%notes%></td>
+<%end notes%>
+ </tr>
+
+<%if taxincluded%>
+ <tr>
+ <th colspan="2" align="left"><font size=-2>Los precios incluyen impuestos.</th>
+ </tr>
+<%end taxincluded%>
+
+ </table>
+
+
+</body>
+</html>
+
diff --git a/sql-ledger/templates/Spanish_Letter-sales_order.tex b/sql-ledger/templates/Spanish_Letter-sales_order.tex
new file mode 100644
index 0000000..fd51cb6
--- /dev/null
+++ b/sql-ledger/templates/Spanish_Letter-sales_order.tex
@@ -0,0 +1,107 @@
+\documentclass[letterpaper,oneside]{article}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+%\usepackage{marvosym} % Euro \EUR
+\usepackage{fancyhdr}
+\setlength{\topmargin}{0cm}
+\setlength{\topskip}{0cm}
+\setlength{\headheight}{0cm}
+\setlength{\headsep}{0.5cm}
+\setlength{\textheight}{24.2cm}
+\setlength{\textwidth}{19cm}
+\setlength{\oddsidemargin}{-1.4cm}
+\setlength{\evensidemargin}{-1.4cm}
+\setlength{\footskip}{1cm}
+
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{13.0cm}
+
+\newsavebox{\hdr}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\sbox{\hdr}{
+\begin{minipage}[t]{0.6\linewidth}
+\vspace{2.2cm}
+
+\begin{tabular}[t]{p{1.7cm}p{2.4cm}p{1.7cm}}\\
+\centering{Número} & \centering{Fecha} & C. Cliente\\
+\centering{<%ordnumber%>} & \centering{<%orddate%>} & \centering{<%vendor_id%>}
+\end{tabular}
+\end{minipage}
+
+\begin{minipage}[t]{0.4\linewidth}
+\textbf{P E D I D O}
+\vspace{1cm}
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+\end{minipage}
+
+}
+
+\pagestyle{fancy}
+\renewcommand{\headrulewidth}{0cm}
+\renewcommand{\footrulewidth}{0cm}
+\cfoot{\thepage}
+%\markboth{\usebox{\hdr}}{\usebox{\hdr}}
+%\thispagestyle{empty} %use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+\newpage
+\usebox{\hdr}
+%\markboth{\usebox{\hdr}}{\usebox{\hdr}}
+\vspace{0.5cm}
+
+\begin{tabular*}{\textwidth}{rp{\descrwidth}rr}
+ \textbf{Cant.} & \textbf{Descripción} & \textbf{Precio} & \textbf{Importe} \\ \hline
+<%end pagebreak%>
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\usebox{\hdr}
+\vspace{0.5cm}
+
+\begin{tabular*}{\textwidth}{rp{\descrwidth}rr}
+ \textbf{Cant.} & \textbf{Descripción} & \textbf{Precio} & \textbf{Importe} \\ \hline
+<%foreach number%>
+ <%qty%> & <%description%> & <%sellprice%> & <%linetotal%> \\
+<%end number%>
+\end{tabular*}
+
+\parbox{\textwidth}{
+\vspace{12pt}
+<%if notes%>
+ <%notes%>
+<%end if%>
+}
+
+\vfill
+
+\begin{flushright}
+\begin{tabularx}{10cm}{Xr@{}}
+ \textbf{Base imponible} & \textbf{<%subtotal%>} \\
+<%foreach tax%>
+ IVA (<%taxrate%>\%) sobre <%taxbase%> & <%tax%> \\
+<%end tax%>
+ \hline
+ \textbf{Total} & \textbf{<%ordtotal%>} \\
+\end{tabularx}
+\end{flushright}
+
+%\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+\end{document}
+
diff --git a/sql-ledger/templates/Spanish_Letter-statement.html b/sql-ledger/templates/Spanish_Letter-statement.html
new file mode 100644
index 0000000..6fca322
--- /dev/null
+++ b/sql-ledger/templates/Spanish_Letter-statement.html
@@ -0,0 +1,121 @@
+
+<body bgcolor=ffffff>
+
+<table width=100%>
+ <tr>
+ <td width=10>&nbsp;</td>
+ <td>
+ <table width=100%>
+ <tr>
+ <td>
+ <h4>
+ <%company%>
+ <br><%address%>
+ </h4>
+ </td>
+ <th><img src=http://www.sql-ledger.org/images/sql-ledger.png border=0 width=64 height=58></th>
+ <td align=right>
+ <h4>
+ Tel: <%tel%>
+ <br>Fax: <%fax%>
+ </h4>
+ </td>
+ </tr>
+ <tr>
+ <th colspan=3><h4>S T A T E M E N T</h4></th>
+ </tr>
+ <tr>
+ <td colspan=3 align=right><%statementdate%></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td><%name%>
+ <br><%addr1%>
+ <br><%addr2%>
+ <br><%addr3%>
+ <br><%addr4%>
+ <br>
+<%if customerphone%>
+ <br>Tel: <%customerphone%>
+<%end customerphone%>
+<%if customerfax%>
+ <br>Fax: <%customerfax%>
+<%end customerfax%>
+<%if email%>
+ <br><%email%>
+<%end email%>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr height=10></tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td>
+ <table width=100%>
+ <tr>
+ <th align=left>Invoice #</th>
+ <th width=15%>Date</th>
+ <th width=15%>Due</th>
+ <th width=10%>Current</th>
+ <th width=10%>30</th>
+ <th width=10%>60</th>
+ <th width=10%>90+</th>
+ </tr>
+<%foreach invnumber%>
+ <tr>
+ <td><%invnumber%></td>
+ <td><%invdate%></td>
+ <td><%duedate%></td>
+ <td align=right><%c0%></td>
+ <td align=right><%c30%></td>
+ <td align=right><%c60%></td>
+ <td align=right><%c90%></td>
+ </tr>
+<%end invnumber%>
+ <tr>
+ <td colspan=7><hr size=1></td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td>&nbsp;</td>
+ <td>&nbsp;</td>
+ <th align=right><%c0total%></td>
+ <th align=right><%c30total%></td>
+ <th align=right><%c60total%></td>
+ <th align=right><%c90total%></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr height=10></tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td align=right>
+ <table width=50%>
+ <tr>
+ <th>Total Outstanding</th>
+ <th align=right><%total%></th>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td><hr noshade></td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td>Please make check payable to <b><%company%></b>.
+ </td>
+ </tr>
+ <tr height=20></tr>
+</table>
+
diff --git a/sql-ledger/templates/Spanish_Letter-statement.tex b/sql-ledger/templates/Spanish_Letter-statement.tex
new file mode 100644
index 0000000..0b63f75
--- /dev/null
+++ b/sql-ledger/templates/Spanish_Letter-statement.tex
@@ -0,0 +1,137 @@
+\documentclass[twoside]{scrartcl}
+\usepackage[frame]{xy}
+\usepackage{tabularx}
+\usepackage[latin1]{inputenc}
+\setlength{\voffset}{0.5cm}
+\setlength{\hoffset}{-2.0cm}
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0.5cm}
+\setlength{\headsep}{1cm}
+\setlength{\topskip}{0pt}
+\setlength{\oddsidemargin}{1.0cm}
+\setlength{\evensidemargin}{1.0cm}
+\setlength{\textwidth}{19.2cm}
+\setlength{\textheight}{24.5cm}
+\setlength{\footskip}{1cm}
+\setlength{\parindent}{0pt}
+\renewcommand{\baselinestretch}{1}
+\begin{document}
+
+\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
+
+\newsavebox{\hdr}
+\sbox{\hdr}{
+ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+ \parbox{\textwidth}{
+ \parbox[b]{12cm}{
+ <%company%>
+
+ <%address%>}\hfill
+ \begin{tabular}[b]{rrr@{}}
+ Tel & <%tel%>\\
+ Fax & <%fax%>
+ \end{tabular}
+
+ \rule[1.5ex]{\textwidth}{0.5pt}
+ }
+}
+
+\fontfamily{cmss}\fontshape{n}\selectfont
+
+\markboth{<%company%>\hfill <%statementdate%>}{\usebox{\hdr}}
+
+\pagestyle{myheadings}
+%\thispagestyle{empty} use this with letterhead paper
+
+<%pagebreak 90 27 48%>
+\end{tabular*}
+
+ \rule{\textwidth}{2pt}
+
+ \hfill
+ \begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
+ \end{tabularx}
+
+\newpage
+
+\markright{<%company%>\hfill <%statementdate%>}
+
+\vspace*{-12pt}
+
+\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}}
+ \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} &
+ \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\
+ carried forward from <%lastpage%> & & & & & & <%sumcarriedforward%> \\
+<%end pagebreak%>
+
+
+\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+
+\vspace*{1.5cm}
+
+\parbox[t]{1cm}{\hfill}
+\parbox[t]{10.5cm}{
+
+<%name%>
+
+<%addr1%>
+
+<%addr2%>
+
+<%addr3%>
+
+<%addr4%>
+
+}
+\parbox[t]{7.5cm}{
+<%if customerphone%>
+Tel: <%customerphone%>
+<%end customerphone%>
+
+<%if customerfax%>
+Fax: <%customerfax%>
+<%end customerfax%>
+
+<%email%>
+}
+\hfill
+
+\vspace{1cm}
+
+\textbf{S T A T E M E N T} \hfill
+
+\hfill <%statementdate%>
+
+\vspace{2cm}
+
+\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}}
+ \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} &
+ \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\
+<%foreach invnumber%>
+ <%invnumber%> & <%invdate%> & <%duedate%> &
+ <%c0%> & <%c30%> & <%c60%> & <%c90%> \\
+<%end invnumber%>
+\textbf{Subtotal} & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%>
+\end{tabular*}
+\rule{\textwidth}{1pt}
+
+\vspace{1cm}
+
+\hfill
+\begin{tabularx}{7cm}{Xr@{}}
+ \textbf{Total outstanding} & <%total%>
+\end{tabularx}
+
+\vfill
+
+Please make check payable to <%company%>
+
+\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+
+\footnotetext[1]{\tiny
+}
+
+\end{document}
+
diff --git a/sql-ledger/users/members.default b/sql-ledger/users/members.default
new file mode 100644
index 0000000..5f7830d
--- /dev/null
+++ b/sql-ledger/users/members.default
@@ -0,0 +1,5 @@
+# SQL-Ledger Accounting members
+
+[root login]
+password=
+