sql-ledger

The official SQL-Ledger version, plus some additions.

Github星跟踪图

What is SQL-Ledger?

SQL-Ledger is an open source ERP and accounting system. It gives you all the functionality you need for quotations, order management, invoices, payrolls and much more. The program is written in Perl, runs on an Apache webserver, uses a PostgreSQL database and is highly configurable.

About this repo

SQL-Ledger is developed by DWS Systems Inc.. The master branch contains the original version from DWS. It has version tags, so you can download a specific version back to 2.6.0 from October 1, 2005.

The full branch, which is checked out by default, provides some additions:

  • WLprinter
  • real Unicode support
  • JSON API
  • recently used objects
  • Docker files for test environment
  • minimalistic documentation
  • Swiss charts of accounts in German, French and Italian
  • several security patches

Installation

To install the program on Debian, you can use the Ansible Role for SQL-Ledger. If you are on a different distribution, either follow the instructions from DWS, or open an issue in the other repo (the chances that you get an update depend on your Github name, the weather and the lunar phase).

WLprinter

WLprinter, included in the full branch, is a Java program that is executed on the client PC and allows to print directly from SQL-Ledger to your local printers. It is available for printing if you add a printer with command wlprinter at System--Workstations. The client program is started from Batch--WLprinter. You will have to add a Java security exception for your SQL-Ledger server.

Unicode Support

In difference to the original SQL-Ledger, the version in the full branch internally works with Unicode characters. This requires that your database, your templates and translations are all encoded in UTF-8.

Docker

With

docker-compose up -d

you can start a simple test environment (without LaTeX support). SQL-Ledger runs at localhost/sql-ledger and at localhost:8080 you find the db management tool Adminer. The PostgreSQL database runs on host db with username and password sql-ledger and uses a persistent volume.

Documentation

The documentation is very minimalistic and doesn't contain much more than the function names of the different modules. If you have Mojolicious and Mojolicious::Plugin::PODViewer installed, you can start a perldoc server from your SQL-Ledger base directory with

perl -I. -Mojo -E'plugin "PODViewer"; a->start' daemon

and browse to localhost:3000/perldoc/sql-ledger.

Contributing

As mentioned above, what you find here is more or less a copy of the code from DWS. 'copy' means that the code flows from DWS to here and rarely in the other direction. 'more or less' means that the differences between the full and the master branch should always be as small that it is possible to include updates without problems. 2 merge conflics are not a problem, but 100 conflics are.

It follows that if you want the DWS code to change, you have to speak with them. If on the other hand you want this repo to change, don't care about the moon calendar and create an issue.

It was mentioned too that the full branch contains some additions, like Unicode support and documentation. So it's probably more correct to call it a superset of the DWS code.

主要指标

概览
名称与所有者Tekki/sql-ledger
主编程语言Perl
编程语言Perl (语言数: 9)
平台
许可证GNU General Public License v3.0
所有者活动
创建于2010-11-23 15:01:17
推送于2025-08-25 08:49:04
最后一次提交2023-09-21 06:38:02
发布数181
最新版本名称v3.2.12.059 (发布于 2025-06-17 08:15:27)
第一版名称v2.6.00 (发布于 2010-12-21 17:01:45)
用户参与
星数43
关注者数10
派生数16
提交数549
已启用问题?
问题数68
打开的问题数11
拉请求数0
打开的拉请求数1
关闭的拉请求数2
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?