summaryrefslogtreecommitdiff
path: root/data/settings.lua
blob: b62b0c90e56f33373e8d664ba751f3ce0e3f3dfd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
invoicer = ""
address_line_1 = ""
address_line_2 = ""
business_id = ""
www_address = ""
iban = ""
bic_swift = ""

-- How to format dates. See
--
--     http://www.lua.org/manual/5.3/manual.html#pdf-os.date
--
-- and
--
--     http://strftime.net
--
-- for documentation.
date_fmt = "%d.%m.%Y"

-- Maps column names in your CSV to laskuri internal names. Substitute the
-- values in double quotes with your own column names.
columns = {
    InvoiceNr = "InvoiceNr",
    ReferenceNr = "ReferenceNr",
    Price = "Price",
    Amount = "Amount",
    Unit = "Unit",
    Customer = "Customer",
    Product = "Product",
    Vat = "Vat",
}

-- Defaults for columns.
defaults = {
    Price = 0,
    Amount = 1,
    Unit = "kpl",
    Vat = 0,
}