summaryrefslogtreecommitdiff
path: root/sql-ledger/templates
diff options
context:
space:
mode:
Diffstat (limited to 'sql-ledger/templates')
-rw-r--r--sql-ledger/templates/Brazilian_Portuguese-ap_transaction.html229
-rw-r--r--sql-ledger/templates/Brazilian_Portuguese-ap_transaction.tex125
-rw-r--r--sql-ledger/templates/Brazilian_Portuguese-ar_transaction.html237
-rw-r--r--sql-ledger/templates/Brazilian_Portuguese-ar_transaction.tex131
-rw-r--r--sql-ledger/templates/Brazilian_Portuguese-balance_sheet.html103
-rw-r--r--sql-ledger/templates/Brazilian_Portuguese-bin_list.html189
-rw-r--r--sql-ledger/templates/Brazilian_Portuguese-bin_list.tex147
-rw-r--r--sql-ledger/templates/Brazilian_Portuguese-check.tex75
-rw-r--r--sql-ledger/templates/Brazilian_Portuguese-income_statement.html77
-rw-r--r--sql-ledger/templates/Brazilian_Portuguese-invoice.html324
-rw-r--r--sql-ledger/templates/Brazilian_Portuguese-invoice.tex227
-rw-r--r--sql-ledger/templates/Brazilian_Portuguese-packing_list.html143
-rw-r--r--sql-ledger/templates/Brazilian_Portuguese-packing_list.tex110
-rw-r--r--sql-ledger/templates/Brazilian_Portuguese-pick_list.html153
-rw-r--r--sql-ledger/templates/Brazilian_Portuguese-pick_list.tex143
-rw-r--r--sql-ledger/templates/Brazilian_Portuguese-pos_invoice.txt51
-rw-r--r--sql-ledger/templates/Brazilian_Portuguese-purchase_order.html191
-rw-r--r--sql-ledger/templates/Brazilian_Portuguese-purchase_order.tex200
-rw-r--r--sql-ledger/templates/Brazilian_Portuguese-receipt.tex75
-rw-r--r--sql-ledger/templates/Brazilian_Portuguese-request_quotation.html202
-rw-r--r--sql-ledger/templates/Brazilian_Portuguese-request_quotation.tex175
-rw-r--r--sql-ledger/templates/Brazilian_Portuguese-sales_order.html229
-rw-r--r--sql-ledger/templates/Brazilian_Portuguese-sales_order.tex144
-rw-r--r--sql-ledger/templates/Brazilian_Portuguese-sales_quotation.html225
-rw-r--r--sql-ledger/templates/Brazilian_Portuguese-sales_quotation.tex157
-rw-r--r--sql-ledger/templates/Brazilian_Portuguese-statement.html129
-rw-r--r--sql-ledger/templates/Brazilian_Portuguese-statement.tex110
-rw-r--r--sql-ledger/templates/Brazilian_Portuguese-work_order.html177
-rw-r--r--sql-ledger/templates/Brazilian_Portuguese-work_order.tex177
-rw-r--r--sql-ledger/templates/Danish-ap_transaction.html229
-rw-r--r--sql-ledger/templates/Danish-ap_transaction.tex125
-rw-r--r--sql-ledger/templates/Danish-ar_transaction.html237
-rw-r--r--sql-ledger/templates/Danish-ar_transaction.tex131
-rw-r--r--sql-ledger/templates/Danish-balance_sheet.html96
-rw-r--r--sql-ledger/templates/Danish-bin_list.html189
-rw-r--r--sql-ledger/templates/Danish-bin_list.tex147
-rw-r--r--sql-ledger/templates/Danish-check.tex75
-rw-r--r--sql-ledger/templates/Danish-income_statement.html73
-rw-r--r--sql-ledger/templates/Danish-invoice.html282
-rw-r--r--sql-ledger/templates/Danish-invoice.tex156
-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-pick_list.html153
-rw-r--r--sql-ledger/templates/Danish-pick_list.tex144
-rw-r--r--sql-ledger/templates/Danish-pos_invoice.txt51
-rw-r--r--sql-ledger/templates/Danish-purchase_order.html195
-rw-r--r--sql-ledger/templates/Danish-purchase_order.tex147
-rw-r--r--sql-ledger/templates/Danish-receipt.tex75
-rw-r--r--sql-ledger/templates/Danish-request_quotation.html202
-rw-r--r--sql-ledger/templates/Danish-request_quotation.tex175
-rw-r--r--sql-ledger/templates/Danish-sales_order.html218
-rw-r--r--sql-ledger/templates/Danish-sales_order.tex151
-rw-r--r--sql-ledger/templates/Danish-sales_quotation.html225
-rw-r--r--sql-ledger/templates/Danish-sales_quotation.tex157
-rw-r--r--sql-ledger/templates/Danish-statement.html125
-rw-r--r--sql-ledger/templates/Danish-statement.tex111
-rw-r--r--sql-ledger/templates/Danish-work_order.html174
-rw-r--r--sql-ledger/templates/Danish-work_order.tex177
-rw-r--r--sql-ledger/templates/Default-ap_transaction.html229
-rw-r--r--sql-ledger/templates/Default-ap_transaction.tex125
-rw-r--r--sql-ledger/templates/Default-ar_transaction.html237
-rw-r--r--sql-ledger/templates/Default-ar_transaction.tex131
-rw-r--r--sql-ledger/templates/Default-balance_sheet.html110
-rw-r--r--sql-ledger/templates/Default-bin_list.html189
-rw-r--r--sql-ledger/templates/Default-bin_list.tex147
-rw-r--r--sql-ledger/templates/Default-check.tex78
-rw-r--r--sql-ledger/templates/Default-income_statement.html81
-rw-r--r--sql-ledger/templates/Default-invoice.html337
-rw-r--r--sql-ledger/templates/Default-invoice.tex235
-rw-r--r--sql-ledger/templates/Default-packing_list.html197
-rw-r--r--sql-ledger/templates/Default-packing_list.tex161
-rw-r--r--sql-ledger/templates/Default-pick_list.html153
-rw-r--r--sql-ledger/templates/Default-pick_list.tex143
-rw-r--r--sql-ledger/templates/Default-pos_invoice.txt51
-rw-r--r--sql-ledger/templates/Default-purchase_order.html252
-rw-r--r--sql-ledger/templates/Default-purchase_order.tex195
-rw-r--r--sql-ledger/templates/Default-receipt.tex78
-rw-r--r--sql-ledger/templates/Default-request_quotation.html202
-rw-r--r--sql-ledger/templates/Default-request_quotation.tex175
-rw-r--r--sql-ledger/templates/Default-sales_order.html245
-rw-r--r--sql-ledger/templates/Default-sales_order.tex207
-rw-r--r--sql-ledger/templates/Default-sales_quotation.html225
-rw-r--r--sql-ledger/templates/Default-sales_quotation.tex157
-rw-r--r--sql-ledger/templates/Default-statement.html134
-rw-r--r--sql-ledger/templates/Default-statement.tex110
-rw-r--r--sql-ledger/templates/Default-work_order.html177
-rw-r--r--sql-ledger/templates/Default-work_order.tex177
-rw-r--r--sql-ledger/templates/Dutch-ap_transaction.html229
-rw-r--r--sql-ledger/templates/Dutch-ap_transaction.tex125
-rw-r--r--sql-ledger/templates/Dutch-ar_transaction.html237
-rw-r--r--sql-ledger/templates/Dutch-ar_transaction.tex131
-rw-r--r--sql-ledger/templates/Dutch-balance_sheet.html110
-rw-r--r--sql-ledger/templates/Dutch-bin_list.html189
-rw-r--r--sql-ledger/templates/Dutch-bin_list.tex147
-rw-r--r--sql-ledger/templates/Dutch-check.tex75
-rw-r--r--sql-ledger/templates/Dutch-income_statement.html81
-rw-r--r--sql-ledger/templates/Dutch-invoice.html248
-rw-r--r--sql-ledger/templates/Dutch-invoice.tex142
-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-pick_list.html153
-rw-r--r--sql-ledger/templates/Dutch-pick_list.tex144
-rw-r--r--sql-ledger/templates/Dutch-pos_invoice.txt51
-rw-r--r--sql-ledger/templates/Dutch-purchase_order.html190
-rw-r--r--sql-ledger/templates/Dutch-purchase_order.tex141
-rw-r--r--sql-ledger/templates/Dutch-receipt.tex75
-rw-r--r--sql-ledger/templates/Dutch-request_quotation.html202
-rw-r--r--sql-ledger/templates/Dutch-request_quotation.tex175
-rw-r--r--sql-ledger/templates/Dutch-sales_order.html216
-rw-r--r--sql-ledger/templates/Dutch-sales_order.tex141
-rw-r--r--sql-ledger/templates/Dutch-sales_quotation.html225
-rw-r--r--sql-ledger/templates/Dutch-sales_quotation.tex157
-rw-r--r--sql-ledger/templates/Dutch-statement.html125
-rw-r--r--sql-ledger/templates/Dutch-statement.tex111
-rw-r--r--sql-ledger/templates/Dutch-work_order.html174
-rw-r--r--sql-ledger/templates/Dutch-work_order.tex177
-rw-r--r--sql-ledger/templates/Estonian-ap_transaction.html229
-rw-r--r--sql-ledger/templates/Estonian-ap_transaction.tex125
-rw-r--r--sql-ledger/templates/Estonian-ar_transaction.html237
-rw-r--r--sql-ledger/templates/Estonian-ar_transaction.tex131
-rw-r--r--sql-ledger/templates/Estonian-balance_sheet.html103
-rw-r--r--sql-ledger/templates/Estonian-bin_list.html189
-rw-r--r--sql-ledger/templates/Estonian-bin_list.tex147
-rw-r--r--sql-ledger/templates/Estonian-check.tex75
-rw-r--r--sql-ledger/templates/Estonian-income_statement.html84
-rw-r--r--sql-ledger/templates/Estonian-invoice.html224
-rw-r--r--sql-ledger/templates/Estonian-invoice.tex151
-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-pick_list.html153
-rw-r--r--sql-ledger/templates/Estonian-pick_list.tex143
-rw-r--r--sql-ledger/templates/Estonian-pos_invoice.txt51
-rw-r--r--sql-ledger/templates/Estonian-purchase_order.html199
-rw-r--r--sql-ledger/templates/Estonian-purchase_order.tex147
-rw-r--r--sql-ledger/templates/Estonian-receipt.tex75
-rw-r--r--sql-ledger/templates/Estonian-request_quotation.html202
-rw-r--r--sql-ledger/templates/Estonian-request_quotation.tex175
-rw-r--r--sql-ledger/templates/Estonian-sales_order.html222
-rw-r--r--sql-ledger/templates/Estonian-sales_order.tex148
-rw-r--r--sql-ledger/templates/Estonian-statement.html125
-rw-r--r--sql-ledger/templates/Estonian-statement.tex111
-rw-r--r--sql-ledger/templates/Estonian-work_order.html174
-rw-r--r--sql-ledger/templates/Estonian-work_order.tex177
-rw-r--r--sql-ledger/templates/French-ap_transaction.html229
-rw-r--r--sql-ledger/templates/French-ap_transaction.tex125
-rw-r--r--sql-ledger/templates/French-ar_transaction.html237
-rw-r--r--sql-ledger/templates/French-ar_transaction.tex131
-rw-r--r--sql-ledger/templates/French-balance_sheet.html109
-rw-r--r--sql-ledger/templates/French-bin_list.html189
-rw-r--r--sql-ledger/templates/French-bin_list.tex147
-rw-r--r--sql-ledger/templates/French-check.tex75
-rw-r--r--sql-ledger/templates/French-income_statement.html86
-rw-r--r--sql-ledger/templates/French-invoice.html318
-rw-r--r--sql-ledger/templates/French-invoice.tex155
-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-pick_list.html153
-rw-r--r--sql-ledger/templates/French-pick_list.tex144
-rw-r--r--sql-ledger/templates/French-pos_invoice.txt51
-rw-r--r--sql-ledger/templates/French-purchase_order.html211
-rw-r--r--sql-ledger/templates/French-purchase_order.tex147
-rw-r--r--sql-ledger/templates/French-receipt.tex75
-rw-r--r--sql-ledger/templates/French-request_quotation.html202
-rw-r--r--sql-ledger/templates/French-request_quotation.tex175
-rw-r--r--sql-ledger/templates/French-sales_order.html237
-rw-r--r--sql-ledger/templates/French-sales_order.tex151
-rw-r--r--sql-ledger/templates/French-sales_quotation.html225
-rw-r--r--sql-ledger/templates/French-sales_quotation.tex157
-rw-r--r--sql-ledger/templates/French-statement.html137
-rw-r--r--sql-ledger/templates/French-statement.tex111
-rw-r--r--sql-ledger/templates/French-work_order.html174
-rw-r--r--sql-ledger/templates/French-work_order.tex177
-rw-r--r--sql-ledger/templates/German-ap_transaction.html229
-rw-r--r--sql-ledger/templates/German-ap_transaction.tex125
-rw-r--r--sql-ledger/templates/German-ar_transaction.html237
-rw-r--r--sql-ledger/templates/German-ar_transaction.tex131
-rw-r--r--sql-ledger/templates/German-balance_sheet.html100
-rw-r--r--sql-ledger/templates/German-bin_list.html189
-rw-r--r--sql-ledger/templates/German-bin_list.tex147
-rw-r--r--sql-ledger/templates/German-check.tex75
-rw-r--r--sql-ledger/templates/German-income_statement.html78
-rw-r--r--sql-ledger/templates/German-invoice.html274
-rw-r--r--sql-ledger/templates/German-invoice.tex159
-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-pick_list.html153
-rw-r--r--sql-ledger/templates/German-pick_list.tex144
-rw-r--r--sql-ledger/templates/German-pos_invoice.txt51
-rw-r--r--sql-ledger/templates/German-purchase_order.html192
-rw-r--r--sql-ledger/templates/German-purchase_order.tex147
-rw-r--r--sql-ledger/templates/German-receipt.tex75
-rw-r--r--sql-ledger/templates/German-request_quotation.html202
-rw-r--r--sql-ledger/templates/German-request_quotation.tex175
-rw-r--r--sql-ledger/templates/German-sales_order.html221
-rw-r--r--sql-ledger/templates/German-sales_order.tex149
-rw-r--r--sql-ledger/templates/German-sales_quotation.html225
-rw-r--r--sql-ledger/templates/German-sales_quotation.tex157
-rw-r--r--sql-ledger/templates/German-statement.html125
-rw-r--r--sql-ledger/templates/German-statement.tex111
-rw-r--r--sql-ledger/templates/German-work_order.html174
-rw-r--r--sql-ledger/templates/German-work_order.tex177
-rw-r--r--sql-ledger/templates/Hungarian-ap_transaction.html229
-rw-r--r--sql-ledger/templates/Hungarian-ap_transaction.tex125
-rw-r--r--sql-ledger/templates/Hungarian-ar_transaction.html237
-rw-r--r--sql-ledger/templates/Hungarian-ar_transaction.tex131
-rw-r--r--sql-ledger/templates/Hungarian-balance_sheet.html100
-rw-r--r--sql-ledger/templates/Hungarian-bin_list.html189
-rw-r--r--sql-ledger/templates/Hungarian-bin_list.tex147
-rw-r--r--sql-ledger/templates/Hungarian-check.tex81
-rw-r--r--sql-ledger/templates/Hungarian-income_statement.html82
-rw-r--r--sql-ledger/templates/Hungarian-invoice.html303
-rw-r--r--sql-ledger/templates/Hungarian-invoice.tex280
-rw-r--r--sql-ledger/templates/Hungarian-packing_list.html148
-rw-r--r--sql-ledger/templates/Hungarian-packing_list.tex122
-rw-r--r--sql-ledger/templates/Hungarian-pick_list.html153
-rw-r--r--sql-ledger/templates/Hungarian-pick_list.tex143
-rw-r--r--sql-ledger/templates/Hungarian-pos_invoice.txt48
-rw-r--r--sql-ledger/templates/Hungarian-purchase_order.html230
-rw-r--r--sql-ledger/templates/Hungarian-purchase_order.tex206
-rw-r--r--sql-ledger/templates/Hungarian-receipt.tex78
-rw-r--r--sql-ledger/templates/Hungarian-request_quotation.html202
-rw-r--r--sql-ledger/templates/Hungarian-request_quotation.tex175
-rw-r--r--sql-ledger/templates/Hungarian-sales_order.html221
-rw-r--r--sql-ledger/templates/Hungarian-sales_order.tex147
-rw-r--r--sql-ledger/templates/Hungarian-sales_quotation.html225
-rw-r--r--sql-ledger/templates/Hungarian-sales_quotation.tex157
-rw-r--r--sql-ledger/templates/Hungarian-statement.html125
-rw-r--r--sql-ledger/templates/Hungarian-statement.tex141
-rw-r--r--sql-ledger/templates/Hungarian-work_order.html174
-rw-r--r--sql-ledger/templates/Hungarian-work_order.tex177
-rw-r--r--sql-ledger/templates/Italian-ap_transaction.html229
-rw-r--r--sql-ledger/templates/Italian-ap_transaction.tex125
-rw-r--r--sql-ledger/templates/Italian-ar_transaction.html237
-rw-r--r--sql-ledger/templates/Italian-ar_transaction.tex131
-rw-r--r--sql-ledger/templates/Italian-balance_sheet.html103
-rw-r--r--sql-ledger/templates/Italian-bin_list.html189
-rw-r--r--sql-ledger/templates/Italian-bin_list.tex147
-rw-r--r--sql-ledger/templates/Italian-check.tex81
-rw-r--r--sql-ledger/templates/Italian-income_statement.html78
-rw-r--r--sql-ledger/templates/Italian-invoice.html209
-rw-r--r--sql-ledger/templates/Italian-invoice.tex236
-rw-r--r--sql-ledger/templates/Italian-packing_list.html126
-rw-r--r--sql-ledger/templates/Italian-packing_list.tex114
-rw-r--r--sql-ledger/templates/Italian-pick_list.html153
-rw-r--r--sql-ledger/templates/Italian-pick_list.tex144
-rw-r--r--sql-ledger/templates/Italian-pos_invoice.txt51
-rw-r--r--sql-ledger/templates/Italian-purchase_order.html232
-rw-r--r--sql-ledger/templates/Italian-purchase_order.tex206
-rw-r--r--sql-ledger/templates/Italian-receipt.tex78
-rw-r--r--sql-ledger/templates/Italian-request_quotation.html202
-rw-r--r--sql-ledger/templates/Italian-request_quotation.tex175
-rw-r--r--sql-ledger/templates/Italian-sales_order.html207
-rw-r--r--sql-ledger/templates/Italian-sales_order.tex150
-rw-r--r--sql-ledger/templates/Italian-sales_quotation.html225
-rw-r--r--sql-ledger/templates/Italian-sales_quotation.tex157
-rw-r--r--sql-ledger/templates/Italian-statement.html125
-rw-r--r--sql-ledger/templates/Italian-statement.tex141
-rw-r--r--sql-ledger/templates/Italian-work_order.html174
-rw-r--r--sql-ledger/templates/Italian-work_order.tex177
-rw-r--r--sql-ledger/templates/Norwegian-ap_transaction.html229
-rw-r--r--sql-ledger/templates/Norwegian-ap_transaction.tex125
-rw-r--r--sql-ledger/templates/Norwegian-ar_transaction.html237
-rw-r--r--sql-ledger/templates/Norwegian-ar_transaction.tex131
-rw-r--r--sql-ledger/templates/Norwegian-balance_sheet.html100
-rw-r--r--sql-ledger/templates/Norwegian-bin_list.html189
-rw-r--r--sql-ledger/templates/Norwegian-bin_list.tex147
-rw-r--r--sql-ledger/templates/Norwegian-check.tex81
-rw-r--r--sql-ledger/templates/Norwegian-income_statement.html78
-rw-r--r--sql-ledger/templates/Norwegian-invoice.html226
-rw-r--r--sql-ledger/templates/Norwegian-invoice.tex237
-rw-r--r--sql-ledger/templates/Norwegian-packing_list.html142
-rw-r--r--sql-ledger/templates/Norwegian-packing_list.tex123
-rw-r--r--sql-ledger/templates/Norwegian-pick_list.html153
-rw-r--r--sql-ledger/templates/Norwegian-pick_list.tex144
-rw-r--r--sql-ledger/templates/Norwegian-pos_invoice.txt51
-rw-r--r--sql-ledger/templates/Norwegian-purchase_order.html201
-rw-r--r--sql-ledger/templates/Norwegian-purchase_order.tex206
-rw-r--r--sql-ledger/templates/Norwegian-receipt.tex78
-rw-r--r--sql-ledger/templates/Norwegian-request_quotation.html202
-rw-r--r--sql-ledger/templates/Norwegian-request_quotation.tex175
-rw-r--r--sql-ledger/templates/Norwegian-sales_order.html220
-rw-r--r--sql-ledger/templates/Norwegian-sales_order.tex150
-rw-r--r--sql-ledger/templates/Norwegian-sales_quotation.html225
-rw-r--r--sql-ledger/templates/Norwegian-sales_quotation.tex157
-rw-r--r--sql-ledger/templates/Norwegian-statement.html120
-rw-r--r--sql-ledger/templates/Norwegian-statement.tex139
-rw-r--r--sql-ledger/templates/Norwegian-work_order.html174
-rw-r--r--sql-ledger/templates/Norwegian-work_order.tex177
-rw-r--r--sql-ledger/templates/Service-ap_transaction.html229
-rw-r--r--sql-ledger/templates/Service-ap_transaction.tex125
-rw-r--r--sql-ledger/templates/Service-ar_transaction.html237
-rw-r--r--sql-ledger/templates/Service-ar_transaction.tex131
-rw-r--r--sql-ledger/templates/Service-balance_sheet.html110
-rw-r--r--sql-ledger/templates/Service-bin_list.html189
-rw-r--r--sql-ledger/templates/Service-bin_list.tex147
-rw-r--r--sql-ledger/templates/Service-check.tex75
-rw-r--r--sql-ledger/templates/Service-income_statement.html81
-rw-r--r--sql-ledger/templates/Service-invoice.html230
-rw-r--r--sql-ledger/templates/Service-invoice.tex155
-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-pick_list.html153
-rw-r--r--sql-ledger/templates/Service-pick_list.tex144
-rw-r--r--sql-ledger/templates/Service-pos_invoice.txt51
-rw-r--r--sql-ledger/templates/Service-purchase_order.html198
-rw-r--r--sql-ledger/templates/Service-purchase_order.tex147
-rw-r--r--sql-ledger/templates/Service-receipt.tex78
-rw-r--r--sql-ledger/templates/Service-request_quotation.html202
-rw-r--r--sql-ledger/templates/Service-request_quotation.tex175
-rw-r--r--sql-ledger/templates/Service-sales_order.html202
-rw-r--r--sql-ledger/templates/Service-sales_order.tex146
-rw-r--r--sql-ledger/templates/Service-sales_quotation.html225
-rw-r--r--sql-ledger/templates/Service-sales_quotation.tex157
-rw-r--r--sql-ledger/templates/Service-statement.html130
-rw-r--r--sql-ledger/templates/Service-statement.tex111
-rw-r--r--sql-ledger/templates/Service-work_order.html174
-rw-r--r--sql-ledger/templates/Service-work_order.tex177
-rw-r--r--sql-ledger/templates/Spanish_A4-ap_transaction.html229
-rw-r--r--sql-ledger/templates/Spanish_A4-ap_transaction.tex125
-rw-r--r--sql-ledger/templates/Spanish_A4-ar_transaction.html237
-rw-r--r--sql-ledger/templates/Spanish_A4-ar_transaction.tex131
-rw-r--r--sql-ledger/templates/Spanish_A4-balance_sheet.html100
-rw-r--r--sql-ledger/templates/Spanish_A4-bin_list.html189
-rw-r--r--sql-ledger/templates/Spanish_A4-bin_list.tex147
-rw-r--r--sql-ledger/templates/Spanish_A4-check.tex75
-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-pick_list.html153
-rw-r--r--sql-ledger/templates/Spanish_A4-pick_list.tex144
-rw-r--r--sql-ledger/templates/Spanish_A4-pos_invoice.txt51
-rw-r--r--sql-ledger/templates/Spanish_A4-purchase_order.html153
-rw-r--r--sql-ledger/templates/Spanish_A4-purchase_order.tex111
-rw-r--r--sql-ledger/templates/Spanish_A4-receipt.tex75
-rw-r--r--sql-ledger/templates/Spanish_A4-request_quotation.html202
-rw-r--r--sql-ledger/templates/Spanish_A4-request_quotation.tex175
-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-sales_quotation.html225
-rw-r--r--sql-ledger/templates/Spanish_A4-sales_quotation.tex157
-rw-r--r--sql-ledger/templates/Spanish_A4-statement.html125
-rw-r--r--sql-ledger/templates/Spanish_A4-statement.tex111
-rw-r--r--sql-ledger/templates/Spanish_A4-work_order.html174
-rw-r--r--sql-ledger/templates/Spanish_A4-work_order.tex177
-rw-r--r--sql-ledger/templates/Spanish_Letter-ap_transaction.html229
-rw-r--r--sql-ledger/templates/Spanish_Letter-ap_transaction.tex125
-rw-r--r--sql-ledger/templates/Spanish_Letter-ar_transaction.html237
-rw-r--r--sql-ledger/templates/Spanish_Letter-ar_transaction.tex131
-rw-r--r--sql-ledger/templates/Spanish_Letter-balance_sheet.html100
-rw-r--r--sql-ledger/templates/Spanish_Letter-bin_list.html189
-rw-r--r--sql-ledger/templates/Spanish_Letter-bin_list.tex147
-rw-r--r--sql-ledger/templates/Spanish_Letter-check.tex75
-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-pick_list.html153
-rw-r--r--sql-ledger/templates/Spanish_Letter-pick_list.tex144
-rw-r--r--sql-ledger/templates/Spanish_Letter-pos_invoice.txt51
-rw-r--r--sql-ledger/templates/Spanish_Letter-purchase_order.html153
-rw-r--r--sql-ledger/templates/Spanish_Letter-purchase_order.tex111
-rw-r--r--sql-ledger/templates/Spanish_Letter-receipt.tex75
-rw-r--r--sql-ledger/templates/Spanish_Letter-request_quotation.html202
-rw-r--r--sql-ledger/templates/Spanish_Letter-request_quotation.tex175
-rw-r--r--sql-ledger/templates/Spanish_Letter-sales_order.html153
-rw-r--r--sql-ledger/templates/Spanish_Letter-sales_order.tex111
-rw-r--r--sql-ledger/templates/Spanish_Letter-sales_quotation.html225
-rw-r--r--sql-ledger/templates/Spanish_Letter-sales_quotation.tex157
-rw-r--r--sql-ledger/templates/Spanish_Letter-statement.html125
-rw-r--r--sql-ledger/templates/Spanish_Letter-statement.tex111
-rw-r--r--sql-ledger/templates/Spanish_Letter-work_order.html174
-rw-r--r--sql-ledger/templates/Spanish_Letter-work_order.tex177
375 files changed, 0 insertions, 58343 deletions
diff --git a/sql-ledger/templates/Brazilian_Portuguese-ap_transaction.html b/sql-ledger/templates/Brazilian_Portuguese-ap_transaction.html
deleted file mode 100644
index c7bae85..0000000
--- a/sql-ledger/templates/Brazilian_Portuguese-ap_transaction.html
+++ /dev/null
@@ -1,229 +0,0 @@
-
-<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>
- <hr noshade><br>
- <h4>A P - T R A N S A C T I O N</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
-
- <%if contact%>
- <br><%contact%>
- <br>
- <%end contact%>
-
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
-
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
-
- <%if email%>
- <br><%email%>
- <%end email%>
- </td>
-
- <td align=right>
- <table>
- <tr>
- <th align=left nowrap>Invoice #</th>
- <td><%invnumber%></td>
- </tr>
- <tr>
- <th align=left nowrap>Date</th>
- <td><%invdate%></td>
- </tr>
- <tr>
- <th align=left nowrap>Due</th>
- <td><%duedate%></td>
- </tr>
- <tr>
- <th align=left>Order #</th>
- <td><%ordnumber%>&nbsp;</td>
- </tr>
- <tr>
- <th align=left nowrap>Employee</th>
- <td><%employee%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=50%>
- <table>
- <%foreach account%>
- <tr valign=top>
- <td><%accno%></td>
- <td><%account%></td>
- <td align=right><%amount%></td>
- <td><%projectnumber%></td>
- </tr>
- <%end account%>
-
- <tr>
- <%if taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Subtotal</th>
- <td align=right><%subtotal%></td>
- <%end taxincluded%>
- </tr>
-
- <%foreach tax%>
- <tr>
- <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th>
- <td align=right><%tax%></td>
- </tr>
- <%end tax%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- </table>
- </td>
- <td width=50%>
- <%notes%>
- </td>
- </tr>
- </table>
- </td>
- <tr>
- <td>&nbsp;</td>
-
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <%text_amount%> ***** <%decimal%>/100 <%currency%>
- </td>
- </tr>
-
- <%if paid%>
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table>
- <tr>
- <th>Payments</th>
- </tr>
-
- <tr>
- <td>
- <hr noshade>
- </td>
- </tr>
-
- <tr>
- <td>
- <table>
- <tr>
- <th align=left>Date</th>
- <th align=left>Account</th>
- <th align=left>Source</th>
- <th align=left>Memo</th>
- <th align=left>Amount</th>
- </tr>
- <%end paid%>
-
- <%foreach payment%>
- <tr>
- <td><%paymentdate%></td>
- <td><%paymentaccount%></td>
- <td><%paymentsource%></td>
- <td><%paymentmemo%></td>
- <td><%payment%></td>
- </tr>
- <%end payment%>
-
- <%if paid%>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <%end paid%>
-
- <tr height=10></tr>
-
- <%if taxincluded%>
- <tr>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th>
- </tr>
- <%end taxincluded%>
-
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Brazilian_Portuguese-ap_transaction.tex b/sql-ledger/templates/Brazilian_Portuguese-ap_transaction.tex
deleted file mode 100644
index 8bfd9f7..0000000
--- a/sql-ledger/templates/Brazilian_Portuguese-ap_transaction.tex
+++ /dev/null
@@ -1,125 +0,0 @@
-\documentclass[10pt,letterpaper,oneside,onecolumn]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{%
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5em]{\textwidth}{0.5pt}
-}
-
-\centerline{\textbf{A P} \hspace{0.3cm} \textbf{T R A N S A C T I O N}}
-
-\vspace*{0.5cm}
-
-\parbox[t]{.5\textwidth}{
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-<%end contact%>
-
-\vspace{0.2cm}
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\hfill
-\begin{tabular}[t]{ll}
- \textbf{Invoice \#} & <%invnumber%> \\
- \textbf{Date} & <%invdate%> \\
- \textbf{Due} & <%duedate%> \\
- \textbf{Order \#} & <%ordnumber%> \\
- \textbf{Employee} & <%employee%> \\
-\end{tabular}
-
-\vspace{1cm}
-
-\begin{tabularx}{.5\textwidth}[t]{@{}llrl@{}}
-<%foreach amount%>
- <%accno%> & <%account%> & <%amount%> & <%projectnumber%> \\
-<%end amount%>
-
- \multicolumn{2}{r}{\textbf{Subtotal}} & <%subtotal%> & \\
-<%foreach tax%>
- \multicolumn{2}{r}{\textbf{<%taxdescription%> @ <%taxrate%> \%}} & <%tax%> & \\
-<%end tax%>
-
- \multicolumn{2}{r}{\textbf{Total}} & <%invtotal%> & \\
-
-\end{tabularx}
-<%notes%>
-
-\vspace{0.3cm}
-
-<%text_amount%> ***** <%decimal%>/100 <%currency%>
-
-\vspace{0.3cm}
-
-<%if paid%>
-\begin{tabular}{@{}llllr@{}}
- \multicolumn{5}{c}{\textbf{Payments}} \\
- \hline
- \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\
-<%end paid%>
-<%foreach payment%>
- <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%paymentmemo%> & <%payment%> \\
-<%end payment%>
-<%if paid%>
-\end{tabular}
-<%end paid%>
-
-\end{document}
-
diff --git a/sql-ledger/templates/Brazilian_Portuguese-ar_transaction.html b/sql-ledger/templates/Brazilian_Portuguese-ar_transaction.html
deleted file mode 100644
index dbd0a1c..0000000
--- a/sql-ledger/templates/Brazilian_Portuguese-ar_transaction.html
+++ /dev/null
@@ -1,237 +0,0 @@
-
-<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>
- <hr noshade><br>
- <h4>A R - T R A N S A C T I O N</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
-
- <%if contact%>
- <br><%contact%>
- <br>
- <%end contact%>
-
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
-
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
-
- <%if email%>
- <br><%email%>
- <%end email%>
- </td>
-
- <td align=right>
- <table>
- <tr>
- <th align=left nowrap>Invoice #</th>
- <td><%invnumber%></td>
- </tr>
- <tr>
- <th align=left nowrap>Date</th>
- <td><%invdate%></td>
- </tr>
- <tr>
- <th align=left nowrap>Due</th>
- <td><%duedate%></td>
- </tr>
- <tr>
- <th align=left>Order #</th>
- <td><%ordnumber%>&nbsp;</td>
- </tr>
- <tr>
- <th align=left nowrap>Salesperson</th>
- <td><%employee%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=50%>
- <table>
- <%foreach account%>
- <tr valign=top>
- <td><%accno%></td>
- <td><%account%></td>
- <td align=right><%amount%></td>
- <td><%projectnumber%></td>
- </tr>
- <%end account%>
-
- <tr>
- <%if taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Subtotal</th>
- <td align=right><%subtotal%></td>
- <%end taxincluded%>
- </tr>
-
- <%foreach tax%>
- <tr>
- <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th>
- <td align=right><%tax%></td>
- </tr>
- <%end tax%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- </table>
- </td>
- <td width=50%>
- <%notes%>
- </td>
- </tr>
- </table>
- </td>
- <tr>
- <td>&nbsp;</td>
-
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <%text_amount%> ***** <%decimal%>/100 <%currency%>
- </td>
- </tr>
-
- <%if paid%>
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table>
- <tr>
- <th>Payments</th>
- </tr>
-
- <tr>
- <td>
- <hr noshade>
- </td>
- </tr>
-
- <tr>
- <td>
- <table>
- <tr>
- <th align=left>Date</th>
- <th align=left>Account</th>
- <th align=left>Source</th>
- <th align=left>Memo</th>
- <th align=left>Amount</th>
- </tr>
- <%end paid%>
-
- <%foreach payment%>
- <tr>
- <td><%paymentdate%></td>
- <td><%paymentaccount%></td>
- <td><%paymentsource%></td>
- <td><%paymentmemo%></td>
- <td><%payment%></td>
- </tr>
- <%end payment%>
-
- <%if paid%>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <%end paid%>
-
- <tr height=10></tr>
-
- <%foreach tax%>
- <tr>
- <td>&nbsp;</td>
-
- <th colspan=9 align=left><font size=-2><%taxdescription%> Registration <%taxnumber%></th>
- </tr>
- <%end tax%>
-
- <%if taxincluded%>
- <tr>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th>
- </tr>
- <%end taxincluded%>
-
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Brazilian_Portuguese-ar_transaction.tex b/sql-ledger/templates/Brazilian_Portuguese-ar_transaction.tex
deleted file mode 100644
index 654d2b9..0000000
--- a/sql-ledger/templates/Brazilian_Portuguese-ar_transaction.tex
+++ /dev/null
@@ -1,131 +0,0 @@
-\documentclass[10pt,letterpaper,oneside,onecolumn]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{%
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5em]{\textwidth}{0.5pt}
-}
-
-\centerline{\textbf{A R} \hspace{0.3cm} \textbf{T R A N S A C T I O N}}
-
-\vspace*{0.5cm}
-
-\parbox[t]{.5\textwidth}{
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-<%end contact%>
-
-\vspace{0.2cm}
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\hfill
-\begin{tabular}[t]{ll}
- \textbf{Invoice \#} & <%invnumber%> \\
- \textbf{Date} & <%invdate%> \\
- \textbf{Due} & <%duedate%> \\
- \textbf{Order \#} & <%ordnumber%> \\
- \textbf{Employee} & <%employee%> \\
-\end{tabular}
-
-\vspace{1cm}
-
-\begin{tabularx}{.5\textwidth}[t]{@{}llrl@{}}
-<%foreach amount%>
- <%accno%> & <%account%> & <%amount%> & <%projectnumber%> \\
-<%end amount%>
-
- \multicolumn{2}{r}{\textbf{Subtotal}} & <%subtotal%> & \\
-<%foreach tax%>
- \multicolumn{2}{r}{\textbf{<%taxdescription%> @ <%taxrate%> \%}} & <%tax%> & \\
-<%end tax%>
-
- \multicolumn{2}{r}{\textbf{Total}} & <%invtotal%> & \\
-
-\end{tabularx}
-<%notes%>
-
-\vspace{0.3cm}
-
-<%text_amount%> ***** <%decimal%>/100 <%currency%>
-
-\vspace{0.3cm}
-
-<%if paid%>
-\begin{tabular}{@{}llllr@{}}
- \multicolumn{5}{c}{\textbf{Payments}} \\
- \hline
- \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\
-<%end paid%>
-<%foreach payment%>
- <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%paymentmemo%> & <%payment%> \\
-<%end payment%>
-<%if paid%>
-\end{tabular}
-<%end paid%>
-
-\vspace{0.5cm}
-
-<%foreach tax%>
-\textbf{\small{<%taxdescription%> Registration <%taxnumber%>}} \\
-<%end tax%>
-
-\end{document}
-
diff --git a/sql-ledger/templates/Brazilian_Portuguese-balance_sheet.html b/sql-ledger/templates/Brazilian_Portuguese-balance_sheet.html
deleted file mode 100644
index 20c3c51..0000000
--- a/sql-ledger/templates/Brazilian_Portuguese-balance_sheet.html
+++ /dev/null
@@ -1,103 +0,0 @@
-
-<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-bin_list.html b/sql-ledger/templates/Brazilian_Portuguese-bin_list.html
deleted file mode 100644
index c945421..0000000
--- a/sql-ledger/templates/Brazilian_Portuguese-bin_list.html
+++ /dev/null
@@ -1,189 +0,0 @@
-
-<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>
-
- <th align=right>
- <h4>
- Tel: <%tel%>
- <br>Fax: <%fax%>
- </h4>
- </td>
- </tr>
-
- <tr>
- <th colspan=3>
- <h4>B I N &nbsp;&nbsp; L I S T</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% cellspacing=0 cellpadding=0>
- <tr bgcolor=000000>
- <th align=left width=50%><font color=ffffff>From</th>
- <th align=left width=50%><font color=ffffff>Ship To</th>
- </tr>
-
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
-
- <%if contact%>
- <br>Attn: <%contact%>
- <%end contact%>
-
- <%if vendorphone%>
- <br>Tel: <%vendorphone%>
- <%end vendorphone%>
-
- <%if vendorfax%>
- <br>Fax: <%vendorfax%>
- <%end vendorfax%>
-
- <%if email%>
- <br><%email%>
- <%end email%>
-
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
-
- <br>
- <%if shiptocontact%>
- <br>Attn: <%shiptocontact%>
- <%end shiptocontact%>
-
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
-
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left nowrap>Order #</th>
- <th width=17% align=left nowrap>Date</th>
- <th width=17% align=left nowrap>Contact</th>
- <%if warehouse%>
- <th width=17% align=left nowrap>Warehouse</th>
- <%end warehouse%>
- <th width=17% align=left>Shipping Point</th>
- <th width=15% align=left>Ship via</th>
- </tr>
-
- <tr>
- <td><%ordnumber%>&nbsp;</td>
-
- <%if shippingdate%>
- <td><%shippingdate%></td>
- <%end shippingdate%>
-
- <%if not shippingdate%>
- <td><%orddate%></td>
- <%end shippingdate%>
-
- <td><%employee%>&nbsp;</td>
-
- <%if warehouse%>
- <td><%warehouse%></td>
- <%end warehouse%>
-
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr bgcolor=000000>
- <th align=left><font color=ffffff>Pos</th>
- <th align=left><font color=ffffff>Number</th>
- <th align=left><font color=ffffff>Description</th>
- <th><font color=ffffff>Serialnumber</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Qty</th>
- <th><font color=ffffff>Recd</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Bin</th>
- </tr>
-
- <%foreach number%>
- <tr valign=top>
- <td><%runningnumber%></td>
- <td><%number%></td>
- <td><%description%></td>
- <td><%serialnumber%></td>
- <td><%deliverydate%></td>
- <td align=right><%qty%></td>
- <td align=right><%ship%></td>
- <td><%unit%></td>
- <td><%bin%></td>
- </tr>
- <%end number%>
-
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td><hr noshade></td>
- </tr>
-
-</table>
-
diff --git a/sql-ledger/templates/Brazilian_Portuguese-bin_list.tex b/sql-ledger/templates/Brazilian_Portuguese-bin_list.tex
deleted file mode 100644
index 034fd72..0000000
--- a/sql-ledger/templates/Brazilian_Portuguese-bin_list.tex
+++ /dev/null
@@ -1,147 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 37%>
-\end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}rlXllrrll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.5\textwidth}{
-\textbf{From}
-\vspace{0.7cm}
-
-<%name%>
-
-<%address1%>
-
-<%if %address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country4%>
-<%end country%>
-}
-\parbox[t]{.4\textwidth}{
-\textbf{Ship To}
-\vspace{0.7cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%if shiptoaddress2%>
-<%shiptoaddress2%>
-<%end shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{B I N} \parbox{0.3cm}{\hfill} \textbf{L I S T}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{Order \#} & \textbf{Date} & \textbf{Contact}
- <%if warehouse%>
- & \textbf{Warehouse}
- <%end warehouse%>
- & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em]
- \hline
-
- <%ordnumber%>
- <%if shippingdate%>
- & <%shippingdate%>
- <%end shippingdate%>
- <%if not shippingdate%>
- & <%orddate%>
- <%end shippingdate%>
- & <%employee%>
- <%if warehouse%>
- & <%warehouse%>
- <%end warehouse%>
- & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}rlXllrrll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\
-
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> &
- <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> & <%bin%> \\
-<%end number%>
-\end{tabularx}
-
-
-\rule{\textwidth}{2pt}
-
-\end{document}
-
diff --git a/sql-ledger/templates/Brazilian_Portuguese-check.tex b/sql-ledger/templates/Brazilian_Portuguese-check.tex
deleted file mode 100644
index 4daf4ea..0000000
--- a/sql-ledger/templates/Brazilian_Portuguese-check.tex
+++ /dev/null
@@ -1,75 +0,0 @@
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\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
deleted file mode 100644
index 3531122..0000000
--- a/sql-ledger/templates/Brazilian_Portuguese-income_statement.html
+++ /dev/null
@@ -1,77 +0,0 @@
-
-<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
deleted file mode 100644
index 0d280d4..0000000
--- a/sql-ledger/templates/Brazilian_Portuguese-invoice.html
+++ /dev/null
@@ -1,324 +0,0 @@
-
-<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><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
-<br><%shiptoaddress2%>
-<%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
- </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
-to show the percentage for a discount use <%discountrate%>
--->
-
- <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
deleted file mode 100644
index 286e00c..0000000
--- a/sql-ledger/templates/Brazilian_Portuguese-invoice.tex
+++ /dev/null
@@ -1,227 +0,0 @@
-\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 37%>
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\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%>
-
-<%shiptoaddress1%>
-
-<%if shiptoaddress2%>
-<%shiptoaddress2%>
-<%end shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
-
-\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!}}
-
-\end{document}
-
diff --git a/sql-ledger/templates/Brazilian_Portuguese-packing_list.html b/sql-ledger/templates/Brazilian_Portuguese-packing_list.html
deleted file mode 100644
index 4cdee74..0000000
--- a/sql-ledger/templates/Brazilian_Portuguese-packing_list.html
+++ /dev/null
@@ -1,143 +0,0 @@
-
-<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
deleted file mode 100644
index 9429df3..0000000
--- a/sql-ledger/templates/Brazilian_Portuguese-packing_list.tex
+++ /dev/null
@@ -1,110 +0,0 @@
-\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 37%>
-\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%>
-
-}
-
-\end{document}
-
diff --git a/sql-ledger/templates/Brazilian_Portuguese-pick_list.html b/sql-ledger/templates/Brazilian_Portuguese-pick_list.html
deleted file mode 100644
index 7548560..0000000
--- a/sql-ledger/templates/Brazilian_Portuguese-pick_list.html
+++ /dev/null
@@ -1,153 +0,0 @@
-
-<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>P I C K &nbsp;&nbsp; L I S T</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <tr bgcolor=000000>
- <th width=50% align=left><font color=ffffff>Ship To:</th>
- <th width=50%>&nbsp;</th>
- </tr>
-
- <tr valign=top>
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
- </td>
-
- <td>
- <%if shiptocontact%>
- <br>Attn: <%shiptocontact%>
- <%end shiptocontact%>
-
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
-
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
-
- <%shiptoemail%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% border=1>
- <tr>
- <th width=15% align=left>Invoice #</th>
- <th width=15% align=left>Order #</th>
- <th width=10% align=left>Date</th>
- <th width=15% align=left nowrap>Contact</th>
- <th width=15% align=left>Warehouse</th>
- <th width=10% align=left>Shipping Point</th>
- <th width=10% align=left>Ship via</th>
- </tr>
-
- <tr>
- <td><%invnumber%>&nbsp;</td>
- <td><%ordnumber%>&nbsp;</td>
- <%if shippingdate%>
- <td><%shippingdate%></td>
- <%end shippingdate%>
-
- <%if not shippingdate%>
- <td><%transdate%></td>
- <%end shippingdate%>
-
- <td><%employee%>&nbsp;</td>
- <td><%warehouse%>&nbsp;</td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr bgcolor=000000>
- <th align=left><font color=ffffff>Pos</th>
- <th align=left><font color=ffffff>Number</th>
- <th align=left><font color=ffffff>Description</th>
- <th><font color=ffffff>Qty</th>
- <th><font color=ffffff>Ship</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Bin</th>
- </tr>
-
- <%foreach number%>
- <tr valign=top>
- <td><%runningnumber%>
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td align=right>[&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]</td>
- <td><%unit%></td>
- <td align=right><%bin%></td>
- </tr>
- <%end number%>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td><hr noshade></td>
- </tr>
-
-</table>
-
diff --git a/sql-ledger/templates/Brazilian_Portuguese-pick_list.tex b/sql-ledger/templates/Brazilian_Portuguese-pick_list.tex
deleted file mode 100644
index cfe213c..0000000
--- a/sql-ledger/templates/Brazilian_Portuguese-pick_list.tex
+++ /dev/null
@@ -1,143 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 37%>
-\end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}rlXrcll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} &
- \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.5\textwidth}{
- \textbf{Ship To}
-} \hfill
-
-\vspace{0.7cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.5\textwidth}{
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-}
-\parbox[t]{.4\textwidth}{
- <%shiptocontact%>
-
- <%if shiptophone%>
- Tel: <%shiptophone%>
- <%end shiptophone%>
-
- <%if shiptofax%>
- Fax: <%shiptofax%>
- <%end shiptofax%>
-
- <%shiptoemail%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{P I C K} \parbox{0.3cm}{\hfill} \textbf{L I S T}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{7}{|X}|} \hline
- \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact}
- & \textbf{Warehouse} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em]
- \hline
- <%invnumber%> & <%ordnumber%>
- <%if shippingdate%>
- & <%shippingdate%>
- <%end shippingdate%>
- <%if not shippingdate%>
- & <%transdate%>
- <%end shippingdate%>
- & <%employee%>
- <%if warehouse%>
- & <%warehouse%>
- <%end warehouse%>
- & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}rlXrcll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} &
- \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> &
- <%qty%> & [\hspace{1cm}] & <%unit%> & <%bin%> \\
-<%end number%>
-\end{tabularx}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-}
-
-\end{document}
-
diff --git a/sql-ledger/templates/Brazilian_Portuguese-pos_invoice.txt b/sql-ledger/templates/Brazilian_Portuguese-pos_invoice.txt
deleted file mode 100644
index 9ec12f4..0000000
--- a/sql-ledger/templates/Brazilian_Portuguese-pos_invoice.txt
+++ /dev/null
@@ -1,51 +0,0 @@
-<%company align=center width=40%>
-<%address align=center width=40%>
-
- Till: <%till align=left width=3%> Phone#: <%tel%>
-Clerk: <%username%>
-Sales: <%employee%>
-
-<%invtime%><%invnumber align=right width=16%>
-
- Qty Description Amount
-<%foreach number%>
-<%qty align=right width=5%> <%description align=left width=24 offset=6%> <%linetotal align=right width=9%>
- <%number%> @ <%sellprice%>/<%unit%>
-<%end number%>
-
-Number of items: <%rowcount%>
-<%if taxincluded%>
- ---------------
- Amount Due: <%invtotal align=right width=9%>
-<%end taxincluded%>
-<%if not taxincluded%>
- ------------
- Subtotal: <%subtotal align=right width=9%>
-<%end taxincluded%>
-<%foreach tax%>
-<%taxdescription align=right width=23%> @ <%taxrate align=right width=2%>%: <%tax align=right width=9%>
-<%end tax%>
- Amount Due: <%invtotal align=right width=9%>
-<%foreach payment%>
-<%paymentaccount align=right width=29%>: <%payment align=right width=9%> <%currency%>
-<%end payment%>
-<%if change%>
- Change: <%change align=right width=9%>
-<%end change%>
-<%if total%>
- Balance Due: <%total align=right width=9%>
-<%end total%>
-<%if discount%>
-
-<%discount%> % Discount applied
-<%end discount%>
-
- Thank you for your valued business!
-
-<%if taxincluded%>
-Taxes are included in price.
-<%end taxincluded%>
-
-
-
-
diff --git a/sql-ledger/templates/Brazilian_Portuguese-purchase_order.html b/sql-ledger/templates/Brazilian_Portuguese-purchase_order.html
deleted file mode 100644
index d51d300..0000000
--- a/sql-ledger/templates/Brazilian_Portuguese-purchase_order.html
+++ /dev/null
@@ -1,191 +0,0 @@
-
-<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><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
- </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
deleted file mode 100644
index f25abdc..0000000
--- a/sql-ledger/templates/Brazilian_Portuguese-purchase_order.tex
+++ /dev/null
@@ -1,200 +0,0 @@
-\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 37%>
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\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%>
-
-<%shiptoaddress1%>
-
-<%if shiptoaddress2%>
-<%shiptoaddress2%>
-<%end shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
-
-\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%>
-
-}
-
-\end{document}
-
diff --git a/sql-ledger/templates/Brazilian_Portuguese-receipt.tex b/sql-ledger/templates/Brazilian_Portuguese-receipt.tex
deleted file mode 100644
index 4daf4ea..0000000
--- a/sql-ledger/templates/Brazilian_Portuguese-receipt.tex
+++ /dev/null
@@ -1,75 +0,0 @@
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\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-request_quotation.html b/sql-ledger/templates/Brazilian_Portuguese-request_quotation.html
deleted file mode 100644
index a9a6f4f..0000000
--- a/sql-ledger/templates/Brazilian_Portuguese-request_quotation.html
+++ /dev/null
@@ -1,202 +0,0 @@
-
-<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><img src=http://www.sql-ledger.org/images/sql-ledger.png border=0 width=64 height=58>
- </td>
-
- <td align=right>
- <h4>
- Tel: <%tel%>
- <br>Fax: <%fax%>
- </h4>
- </td>
- </tr>
-
- <tr>
- <th colspan=3>
- <h4>R E Q U E S T &nbsp;&nbsp; F O R &nbsp;&nbsp; Q U O T A T I O N</h4>
- </th>
- </tr>
-
- </table>
-
-
- <table width=100% callspacing=0 cellpadding=0>
-
- <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><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
-<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><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddr2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
-<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 colspan=2>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left>RFQ #</th>
- <th width=17% align=left>Date</th>
- <th width=17% align=left>Required by</th>
- <th width=17% align=left>Contact</th>
- <th width=17% align=left>Shipping Point</th>
- <th width=15% align=left>Ship via</th>
- </tr>
-
- <tr>
- <td><%quonumber%></td>
- <td><%quodate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height="10"></tr>
-
- <tr>
- <td>Please provide price and delivery time for the following items:</td>
- </tr>
-
- <tr height="10"></tr>
-
- <tr>
- <td>
- <table width=100%>
- <tr>
-<!-- <th align=right>No.</th> -->
- <th align=left>Number</th>
- <th align=left><font color=ffffff>Description</th>
- <th>Qt'y</th>
- <th>&nbsp;</th>
- <th>Delivery</th>
- <th>Unit Price</th>
- <th>Extended</th>
- </tr>
-
-<%foreach number%>
- <tr valign=top>
-<!-- <td align=right><%runningnumber%>.</td>
-other per line item variables available <%reqdate%>
-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>
-
- </tr>
-<%end number%>
-
- <tr>
- <td colspan=7><hr noshade></td>
- </tr>
-
- </table>
- </td>
- </tr>
-
-<tr>
- <td>
- <table width=100%>
-<%if notes%>
- <tr valign=top>
- <td>Notes</td>
- <td><%notes%></td>
- </tr>
-<%end notes%>
-
- </table>
- </td>
-</tr>
-
-<tr><td>&nbsp;</td></tr>
-
-<tr>
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=70%>&nbsp;</td>
-
- <td width=30%>
- X <hr noshade>
- </td>
- </tr>
- </table>
- </td>
-</tr>
-
-</table>
-
-</td>
-</tr>
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Brazilian_Portuguese-request_quotation.tex b/sql-ledger/templates/Brazilian_Portuguese-request_quotation.tex
deleted file mode 100644
index 4e9cfe0..0000000
--- a/sql-ledger/templates/Brazilian_Portuguese-request_quotation.tex
+++ /dev/null
@@ -1,175 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 48%>
-\end{tabularx}
-
- \rule{\textwidth}{2pt}
-
- \hfill
- \begin{tabularx}{7cm}{Xr@{}}
- \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
- \end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}lXrlrr@{}}
- \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
- \textbf{Unit} & \textbf{Price} & \textbf{Extended} \\
- & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.45\textwidth}{
-\textbf{To}
-\vspace{0.7cm}
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-\vspace{0.2cm}
-<%end contact%>
-
-<%if vendorphone%>
-Tel: <%vendorphone%>
-<%end vendorphone%>
-
-<%if vendorfax%>
-Fax: <%vendorfax%>
-<%end vendorfax%>
-
-<%email%>
-}
-\parbox[t]{.45\textwidth}{
-\textbf{Ship To}
-\vspace{0.7cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-
-\vspace{0.3cm}
-
-<%if shiptocontact%>
-<%shiptocontact%>
-\vspace{0.2cm}
-<%end shiptocontact%>
-
-<%if shiptophone%>
-Tel: <%shiptophone%>
-<%end shiptophone%>
-
-<%if shiptofax%>
-Fax: <%shiptofax%>
-<%end shiptofax%>
-
-<%shiptoemail%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{R E Q U E S T for Q U O T A T I O N}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{RFQ \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex]
- \hline
- <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-Please provide price and delivery time for the following items:
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}lXrllrr@{}}
- \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & &
- \textbf{Delivery} & \textbf{Unit Price} & \textbf{Extended} \\
-<%foreach number%>
- <%number%> & <%description%> & <%qty%> & <%unit%> \\
-<%end number%>
-\end{tabularx}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\hfill
-
-<%notes%>
-
-}
-
-\end{document}
-
diff --git a/sql-ledger/templates/Brazilian_Portuguese-sales_order.html b/sql-ledger/templates/Brazilian_Portuguese-sales_order.html
deleted file mode 100644
index 9ec4fe6..0000000
--- a/sql-ledger/templates/Brazilian_Portuguese-sales_order.html
+++ /dev/null
@@ -1,229 +0,0 @@
-
-<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><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
-<br><%shiptoaddress2%>
-<%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
- </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
deleted file mode 100644
index 2652fcd..0000000
--- a/sql-ledger/templates/Brazilian_Portuguese-sales_order.tex
+++ /dev/null
@@ -1,144 +0,0 @@
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\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%> \\
-<%if reqdate%>
- \textbf{Requerido por} & <%reqdate%> \\
-<%end reqdate%>
- \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-sales_quotation.html b/sql-ledger/templates/Brazilian_Portuguese-sales_quotation.html
deleted file mode 100644
index cc57a5c..0000000
--- a/sql-ledger/templates/Brazilian_Portuguese-sales_quotation.html
+++ /dev/null
@@ -1,225 +0,0 @@
-
-<body bgcolor=ffffff>
-
-<table width=100%>
-<tr valign=bottom>
- <td width=10>&nbsp;</td>
- <td>
-
- <table width=100%>
- <tr valign=top>
- <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><td colspan=3>&nbsp;</td></tr>
-
- <tr>
- <th colspan=3>
- <h4>Q U O T A T I O N</h4>
- </th>
- </tr>
-
- </table>
-
- <table width=100% callspacing=0 cellpadding=0>
-
- <tr>
- <td>
- <table width=100%>
-
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
-
- <br>
- <%if contact%>
- <br>Attn: <%contact%>
- <%end contact%>
-
- <%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><td>&nbsp;</td></tr>
-
- <tr>
- <td colspan=2>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left nowrap>Number</th>
- <th width=17% align=left>Date</th>
- <th width=17% align=left>Valid until</th>
- <th width=17% align=left nowrap>Contact</th>
- <th width=17% align=left nowrap>Shipping Point</th>
- <th width=15% align=left nowrap>Ship via</th>
- </tr>
-
- <tr>
- <td><%quonumber%></td>
- <td><%quodate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</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>
-
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td align=right><%sellprice%></td>
- <td align=right><%discountrate%></td>
- <td align=right><%linetotal%></td>
- </tr>
-<%end number%>
-
- <tr>
- <td colspan=8><hr noshade></td>
- </tr>
-
- <tr>
-<%if taxincluded%>
- <th colspan=6 align=right>Total</th>
- <td colspan=2 align=right><%invtotal%></td>
-<%end taxincluded%>
-
-<%if not taxincluded%>
- <th colspan=6 align=right>Subtotal</th>
- <td colspan=2 align=right><%subtotal%></td>
-<%end taxincluded%>
- </tr>
-
-<%foreach tax%>
- <tr>
- <th colspan=6 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th>
- <td colspan=2 align=right><%tax%></td>
- </tr>
-<%end tax%>
-
- <tr>
- <td colspan=4>&nbsp;</td>
- <td colspan=4><hr noshade></td>
- </tr>
-
- <tr>
- <td colspan=4>&nbsp;
-<%if terms%>
- Terms Net <b><%terms%></b> days
-<%end terms%>
- </td>
- <th colspan=2 align=right>Total</th>
- <th colspan=2 align=right><%quototal%></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
- </td>
- </tr>
-
- </table>
- </td>
-</tr>
-
-<tr><td>&nbsp;</td></tr>
-
-<tr>
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=60%><font size=-3>
- Special order items are subject to a 10% cancellation fee.
- </font>
- </td>
- <td width=40%>
- X <hr noshade>
- </td>
- </tr>
- </table>
- </td>
-</tr>
-
-</table>
-
-</td>
-</tr>
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Brazilian_Portuguese-sales_quotation.tex b/sql-ledger/templates/Brazilian_Portuguese-sales_quotation.tex
deleted file mode 100644
index acc4870..0000000
--- a/sql-ledger/templates/Brazilian_Portuguese-sales_quotation.tex
+++ /dev/null
@@ -1,157 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 48%>
-\end{tabular*}
-
- \rule{\textwidth}{2pt}
-
- \hfill
- \begin{tabularx}{7cm}{Xr@{}}
- \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
- \end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%quonumber%>}{<%company%>\hfill <%quonumber%>}
-
-\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%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.45\textwidth}{
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%contact%>
-
-\vspace{0.2cm}
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-
-\vspace{1cm}
-
-\textbf{Q U O T A T I O N}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{Quotation \#} & \textbf{Date} & \textbf{Valid until} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex]
- \hline
- <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\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%> & <%discountrate%> & <%linetotal%> \\
-<%end number%>
-\end{tabular*}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\vspace{0.2cm}
-
-\hfill
-\begin{tabularx}{7cm}{Xr@{}}
- Subtotal & <%subtotal%> \\
-<%foreach tax%>
- <%taxdescription%> on <%taxbase%> & <%tax%>\\
-<%end tax%>
- \hline
- Total & <%quototal%>\\
-\end{tabularx}
-
-\vspace{0.3cm}
-
-\hfill
- All prices in \textbf{<%currency%>}.
-
-\vspace{12pt}
-
-<%notes%>
-
-}
-
-\vfill
-
-\end{document}
-
-
diff --git a/sql-ledger/templates/Brazilian_Portuguese-statement.html b/sql-ledger/templates/Brazilian_Portuguese-statement.html
deleted file mode 100644
index f2da08d..0000000
--- a/sql-ledger/templates/Brazilian_Portuguese-statement.html
+++ /dev/null
@@ -1,129 +0,0 @@
-
-<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><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
- <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
deleted file mode 100644
index 7f20809..0000000
--- a/sql-ledger/templates/Brazilian_Portuguese-statement.tex
+++ /dev/null
@@ -1,110 +0,0 @@
-\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
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{1.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.5\textwidth}{
-<%name%>\\
-<%address1%>\\
-<%if address2%>
-<%address2%>
-<%end address2%>\\
-<%city%> <%state%> <%zipcode%>\\
-<%if country%>
-<%country%>
-<%end country%>\\
-
-}
-\parbox[t]{.4\textwidth}{
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{RELATÓRIO} \hfill \textbf{<%statementdate%>}
-
-\vspace{2cm}
-
-\begin{tabular*}{\textwidth}{|l@{\extracolsep\fill}ccrrrr|}
- \hline
- \textbf{Número da Fatura \#} & \textbf{Data} & \textbf{Prazo} &
- \textbf{Atual} & \textbf{30} & \textbf{60} & \textbf{90+} \\
- \hline
-<%foreach invnumber%>
- <%invnumber%> & <%invdate%> & <%duedate%> &
- <%c0%> & <%c30%> & <%c60%> & <%c90%> \\
-<%end invnumber%>
- \multicolumn{7}{|l|}{\mbox{}} \\
- \hline
- \textbf{Subtotal} & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%> \\
- \hline
-\end{tabular*}
-
-\vspace{0.5cm}
-
-\hfill
-\begin{tabularx}{7cm}{Xr@{}}
- \textbf{Totais} & \textbf{<%total%>}
-\end{tabularx}
-
-\vfill
-
-Favor pagar com <%company%>
-
-\end{document}
-
diff --git a/sql-ledger/templates/Brazilian_Portuguese-work_order.html b/sql-ledger/templates/Brazilian_Portuguese-work_order.html
deleted file mode 100644
index 64674cd..0000000
--- a/sql-ledger/templates/Brazilian_Portuguese-work_order.html
+++ /dev/null
@@ -1,177 +0,0 @@
-
-<body bgcolor=ffffff>
-
-<table width=100%>
- <tr>
- <td width=10>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=bottom>
- <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>W O R K &nbsp;&nbsp; O R D E R</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <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><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%>
- <br><%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
- <%if contact%>
- <br>Attn: <%contact%>
- <%end contact%>
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
- <%if email%>
- <br><%email%>
- <%end email%>
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%>
- <br><%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
- <br>
- <%if shiptocontact%>
- <br><%shiptocontact%>
- <%end shiptocontact%>
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
- <%if shiptoemail%>
- <br><%shiptoemail%>
- <%end shiptoemail%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left nowrap>Order Number</th>
- <th width=17% align=left>Order Date</th>
- <th width=17% align=left>Required by</th>
- <th width=17% align=left nowrap>Salesperson</th>
- <th width=17% align=left nowrap>Shipping Point</th>
- <th width=15% align=left nowrap>Ship Via</th>
- </tr>
-
- <tr>
- <td><%ordnumber%></td>
- <td><%orddate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <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>Bin</th>
- <th><font color=ffffff>Serial No.</th>
- </tr>
-
- <%foreach number%>
- <tr valign=top>
- <td align=right><%runningnumber%>.</td>
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td><%bin%></td>
- <td><%serialnumber%></td>
- </tr>
- <%end number%>
-
- <tr>
- <td colspan=7><hr noshade></td>
- </tr>
-
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <%if notes%>
- <td><%notes%></td>
- <%end notes%>
- </tr>
-</table>
-
-</body>
-</html>
-
-
diff --git a/sql-ledger/templates/Brazilian_Portuguese-work_order.tex b/sql-ledger/templates/Brazilian_Portuguese-work_order.tex
deleted file mode 100644
index cb6774d..0000000
--- a/sql-ledger/templates/Brazilian_Portuguese-work_order.tex
+++ /dev/null
@@ -1,177 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{%
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5em]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 48%>
-\end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}rlXrll@{}}
- \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
- & \textbf{Serial Number} \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.45\textwidth}{
-\textbf{To}
-\vspace{0.7cm}
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-\vspace{0.2cm}
-<%end contact%>
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\parbox[t]{.45\textwidth}{
-\textbf{Ship To}
-\vspace{0.7cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-
-\vspace{0.3cm}
-
-<%if shiptocontact%>
-<%shiptocontact%>
-\vspace{0.2cm}
-<%end shiptocontact%>
-
-<%if shiptophone%>
-Tel: <%shiptophone%>
-<%end shiptophone%>
-
-<%if shiptofax%>
-Fax: <%shiptofax%>
-<%end shiptofax%>
-
-<%shiptoemail%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{W O R K} \parbox{0.3cm}{\hfill} \textbf{O R D E R}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship Via} \\ [0.5em]
- \hline
- <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}rlXrll@{}}
- \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
- & \textbf{Serial Number} \\
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> & <%qty%> &
- <%unit%> & <%serialnumber%> \\
-<%end number%>
-\end{tabularx}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\vspace{12pt}
-
-<%if notes%>
- <%notes%>
-<%end if%>
-
-}
-
-\vfill
-
-\vspace{1cm}
-
-\rule{\textwidth}{0.5pt}
-
-\end{document}
-
-
-
-
-
-
diff --git a/sql-ledger/templates/Danish-ap_transaction.html b/sql-ledger/templates/Danish-ap_transaction.html
deleted file mode 100644
index c7bae85..0000000
--- a/sql-ledger/templates/Danish-ap_transaction.html
+++ /dev/null
@@ -1,229 +0,0 @@
-
-<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>
- <hr noshade><br>
- <h4>A P - T R A N S A C T I O N</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
-
- <%if contact%>
- <br><%contact%>
- <br>
- <%end contact%>
-
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
-
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
-
- <%if email%>
- <br><%email%>
- <%end email%>
- </td>
-
- <td align=right>
- <table>
- <tr>
- <th align=left nowrap>Invoice #</th>
- <td><%invnumber%></td>
- </tr>
- <tr>
- <th align=left nowrap>Date</th>
- <td><%invdate%></td>
- </tr>
- <tr>
- <th align=left nowrap>Due</th>
- <td><%duedate%></td>
- </tr>
- <tr>
- <th align=left>Order #</th>
- <td><%ordnumber%>&nbsp;</td>
- </tr>
- <tr>
- <th align=left nowrap>Employee</th>
- <td><%employee%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=50%>
- <table>
- <%foreach account%>
- <tr valign=top>
- <td><%accno%></td>
- <td><%account%></td>
- <td align=right><%amount%></td>
- <td><%projectnumber%></td>
- </tr>
- <%end account%>
-
- <tr>
- <%if taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Subtotal</th>
- <td align=right><%subtotal%></td>
- <%end taxincluded%>
- </tr>
-
- <%foreach tax%>
- <tr>
- <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th>
- <td align=right><%tax%></td>
- </tr>
- <%end tax%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- </table>
- </td>
- <td width=50%>
- <%notes%>
- </td>
- </tr>
- </table>
- </td>
- <tr>
- <td>&nbsp;</td>
-
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <%text_amount%> ***** <%decimal%>/100 <%currency%>
- </td>
- </tr>
-
- <%if paid%>
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table>
- <tr>
- <th>Payments</th>
- </tr>
-
- <tr>
- <td>
- <hr noshade>
- </td>
- </tr>
-
- <tr>
- <td>
- <table>
- <tr>
- <th align=left>Date</th>
- <th align=left>Account</th>
- <th align=left>Source</th>
- <th align=left>Memo</th>
- <th align=left>Amount</th>
- </tr>
- <%end paid%>
-
- <%foreach payment%>
- <tr>
- <td><%paymentdate%></td>
- <td><%paymentaccount%></td>
- <td><%paymentsource%></td>
- <td><%paymentmemo%></td>
- <td><%payment%></td>
- </tr>
- <%end payment%>
-
- <%if paid%>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <%end paid%>
-
- <tr height=10></tr>
-
- <%if taxincluded%>
- <tr>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th>
- </tr>
- <%end taxincluded%>
-
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Danish-ap_transaction.tex b/sql-ledger/templates/Danish-ap_transaction.tex
deleted file mode 100644
index 8bfd9f7..0000000
--- a/sql-ledger/templates/Danish-ap_transaction.tex
+++ /dev/null
@@ -1,125 +0,0 @@
-\documentclass[10pt,letterpaper,oneside,onecolumn]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{%
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5em]{\textwidth}{0.5pt}
-}
-
-\centerline{\textbf{A P} \hspace{0.3cm} \textbf{T R A N S A C T I O N}}
-
-\vspace*{0.5cm}
-
-\parbox[t]{.5\textwidth}{
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-<%end contact%>
-
-\vspace{0.2cm}
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\hfill
-\begin{tabular}[t]{ll}
- \textbf{Invoice \#} & <%invnumber%> \\
- \textbf{Date} & <%invdate%> \\
- \textbf{Due} & <%duedate%> \\
- \textbf{Order \#} & <%ordnumber%> \\
- \textbf{Employee} & <%employee%> \\
-\end{tabular}
-
-\vspace{1cm}
-
-\begin{tabularx}{.5\textwidth}[t]{@{}llrl@{}}
-<%foreach amount%>
- <%accno%> & <%account%> & <%amount%> & <%projectnumber%> \\
-<%end amount%>
-
- \multicolumn{2}{r}{\textbf{Subtotal}} & <%subtotal%> & \\
-<%foreach tax%>
- \multicolumn{2}{r}{\textbf{<%taxdescription%> @ <%taxrate%> \%}} & <%tax%> & \\
-<%end tax%>
-
- \multicolumn{2}{r}{\textbf{Total}} & <%invtotal%> & \\
-
-\end{tabularx}
-<%notes%>
-
-\vspace{0.3cm}
-
-<%text_amount%> ***** <%decimal%>/100 <%currency%>
-
-\vspace{0.3cm}
-
-<%if paid%>
-\begin{tabular}{@{}llllr@{}}
- \multicolumn{5}{c}{\textbf{Payments}} \\
- \hline
- \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\
-<%end paid%>
-<%foreach payment%>
- <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%paymentmemo%> & <%payment%> \\
-<%end payment%>
-<%if paid%>
-\end{tabular}
-<%end paid%>
-
-\end{document}
-
diff --git a/sql-ledger/templates/Danish-ar_transaction.html b/sql-ledger/templates/Danish-ar_transaction.html
deleted file mode 100644
index dbd0a1c..0000000
--- a/sql-ledger/templates/Danish-ar_transaction.html
+++ /dev/null
@@ -1,237 +0,0 @@
-
-<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>
- <hr noshade><br>
- <h4>A R - T R A N S A C T I O N</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
-
- <%if contact%>
- <br><%contact%>
- <br>
- <%end contact%>
-
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
-
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
-
- <%if email%>
- <br><%email%>
- <%end email%>
- </td>
-
- <td align=right>
- <table>
- <tr>
- <th align=left nowrap>Invoice #</th>
- <td><%invnumber%></td>
- </tr>
- <tr>
- <th align=left nowrap>Date</th>
- <td><%invdate%></td>
- </tr>
- <tr>
- <th align=left nowrap>Due</th>
- <td><%duedate%></td>
- </tr>
- <tr>
- <th align=left>Order #</th>
- <td><%ordnumber%>&nbsp;</td>
- </tr>
- <tr>
- <th align=left nowrap>Salesperson</th>
- <td><%employee%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=50%>
- <table>
- <%foreach account%>
- <tr valign=top>
- <td><%accno%></td>
- <td><%account%></td>
- <td align=right><%amount%></td>
- <td><%projectnumber%></td>
- </tr>
- <%end account%>
-
- <tr>
- <%if taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Subtotal</th>
- <td align=right><%subtotal%></td>
- <%end taxincluded%>
- </tr>
-
- <%foreach tax%>
- <tr>
- <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th>
- <td align=right><%tax%></td>
- </tr>
- <%end tax%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- </table>
- </td>
- <td width=50%>
- <%notes%>
- </td>
- </tr>
- </table>
- </td>
- <tr>
- <td>&nbsp;</td>
-
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <%text_amount%> ***** <%decimal%>/100 <%currency%>
- </td>
- </tr>
-
- <%if paid%>
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table>
- <tr>
- <th>Payments</th>
- </tr>
-
- <tr>
- <td>
- <hr noshade>
- </td>
- </tr>
-
- <tr>
- <td>
- <table>
- <tr>
- <th align=left>Date</th>
- <th align=left>Account</th>
- <th align=left>Source</th>
- <th align=left>Memo</th>
- <th align=left>Amount</th>
- </tr>
- <%end paid%>
-
- <%foreach payment%>
- <tr>
- <td><%paymentdate%></td>
- <td><%paymentaccount%></td>
- <td><%paymentsource%></td>
- <td><%paymentmemo%></td>
- <td><%payment%></td>
- </tr>
- <%end payment%>
-
- <%if paid%>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <%end paid%>
-
- <tr height=10></tr>
-
- <%foreach tax%>
- <tr>
- <td>&nbsp;</td>
-
- <th colspan=9 align=left><font size=-2><%taxdescription%> Registration <%taxnumber%></th>
- </tr>
- <%end tax%>
-
- <%if taxincluded%>
- <tr>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th>
- </tr>
- <%end taxincluded%>
-
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Danish-ar_transaction.tex b/sql-ledger/templates/Danish-ar_transaction.tex
deleted file mode 100644
index 654d2b9..0000000
--- a/sql-ledger/templates/Danish-ar_transaction.tex
+++ /dev/null
@@ -1,131 +0,0 @@
-\documentclass[10pt,letterpaper,oneside,onecolumn]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{%
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5em]{\textwidth}{0.5pt}
-}
-
-\centerline{\textbf{A R} \hspace{0.3cm} \textbf{T R A N S A C T I O N}}
-
-\vspace*{0.5cm}
-
-\parbox[t]{.5\textwidth}{
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-<%end contact%>
-
-\vspace{0.2cm}
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\hfill
-\begin{tabular}[t]{ll}
- \textbf{Invoice \#} & <%invnumber%> \\
- \textbf{Date} & <%invdate%> \\
- \textbf{Due} & <%duedate%> \\
- \textbf{Order \#} & <%ordnumber%> \\
- \textbf{Employee} & <%employee%> \\
-\end{tabular}
-
-\vspace{1cm}
-
-\begin{tabularx}{.5\textwidth}[t]{@{}llrl@{}}
-<%foreach amount%>
- <%accno%> & <%account%> & <%amount%> & <%projectnumber%> \\
-<%end amount%>
-
- \multicolumn{2}{r}{\textbf{Subtotal}} & <%subtotal%> & \\
-<%foreach tax%>
- \multicolumn{2}{r}{\textbf{<%taxdescription%> @ <%taxrate%> \%}} & <%tax%> & \\
-<%end tax%>
-
- \multicolumn{2}{r}{\textbf{Total}} & <%invtotal%> & \\
-
-\end{tabularx}
-<%notes%>
-
-\vspace{0.3cm}
-
-<%text_amount%> ***** <%decimal%>/100 <%currency%>
-
-\vspace{0.3cm}
-
-<%if paid%>
-\begin{tabular}{@{}llllr@{}}
- \multicolumn{5}{c}{\textbf{Payments}} \\
- \hline
- \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\
-<%end paid%>
-<%foreach payment%>
- <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%paymentmemo%> & <%payment%> \\
-<%end payment%>
-<%if paid%>
-\end{tabular}
-<%end paid%>
-
-\vspace{0.5cm}
-
-<%foreach tax%>
-\textbf{\small{<%taxdescription%> Registration <%taxnumber%>}} \\
-<%end tax%>
-
-\end{document}
-
diff --git a/sql-ledger/templates/Danish-balance_sheet.html b/sql-ledger/templates/Danish-balance_sheet.html
deleted file mode 100644
index 61929ed..0000000
--- a/sql-ledger/templates/Danish-balance_sheet.html
+++ /dev/null
@@ -1,96 +0,0 @@
-<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-bin_list.html b/sql-ledger/templates/Danish-bin_list.html
deleted file mode 100644
index c945421..0000000
--- a/sql-ledger/templates/Danish-bin_list.html
+++ /dev/null
@@ -1,189 +0,0 @@
-
-<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>
-
- <th align=right>
- <h4>
- Tel: <%tel%>
- <br>Fax: <%fax%>
- </h4>
- </td>
- </tr>
-
- <tr>
- <th colspan=3>
- <h4>B I N &nbsp;&nbsp; L I S T</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% cellspacing=0 cellpadding=0>
- <tr bgcolor=000000>
- <th align=left width=50%><font color=ffffff>From</th>
- <th align=left width=50%><font color=ffffff>Ship To</th>
- </tr>
-
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
-
- <%if contact%>
- <br>Attn: <%contact%>
- <%end contact%>
-
- <%if vendorphone%>
- <br>Tel: <%vendorphone%>
- <%end vendorphone%>
-
- <%if vendorfax%>
- <br>Fax: <%vendorfax%>
- <%end vendorfax%>
-
- <%if email%>
- <br><%email%>
- <%end email%>
-
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
-
- <br>
- <%if shiptocontact%>
- <br>Attn: <%shiptocontact%>
- <%end shiptocontact%>
-
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
-
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left nowrap>Order #</th>
- <th width=17% align=left nowrap>Date</th>
- <th width=17% align=left nowrap>Contact</th>
- <%if warehouse%>
- <th width=17% align=left nowrap>Warehouse</th>
- <%end warehouse%>
- <th width=17% align=left>Shipping Point</th>
- <th width=15% align=left>Ship via</th>
- </tr>
-
- <tr>
- <td><%ordnumber%>&nbsp;</td>
-
- <%if shippingdate%>
- <td><%shippingdate%></td>
- <%end shippingdate%>
-
- <%if not shippingdate%>
- <td><%orddate%></td>
- <%end shippingdate%>
-
- <td><%employee%>&nbsp;</td>
-
- <%if warehouse%>
- <td><%warehouse%></td>
- <%end warehouse%>
-
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr bgcolor=000000>
- <th align=left><font color=ffffff>Pos</th>
- <th align=left><font color=ffffff>Number</th>
- <th align=left><font color=ffffff>Description</th>
- <th><font color=ffffff>Serialnumber</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Qty</th>
- <th><font color=ffffff>Recd</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Bin</th>
- </tr>
-
- <%foreach number%>
- <tr valign=top>
- <td><%runningnumber%></td>
- <td><%number%></td>
- <td><%description%></td>
- <td><%serialnumber%></td>
- <td><%deliverydate%></td>
- <td align=right><%qty%></td>
- <td align=right><%ship%></td>
- <td><%unit%></td>
- <td><%bin%></td>
- </tr>
- <%end number%>
-
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td><hr noshade></td>
- </tr>
-
-</table>
-
diff --git a/sql-ledger/templates/Danish-bin_list.tex b/sql-ledger/templates/Danish-bin_list.tex
deleted file mode 100644
index 034fd72..0000000
--- a/sql-ledger/templates/Danish-bin_list.tex
+++ /dev/null
@@ -1,147 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 37%>
-\end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}rlXllrrll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.5\textwidth}{
-\textbf{From}
-\vspace{0.7cm}
-
-<%name%>
-
-<%address1%>
-
-<%if %address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country4%>
-<%end country%>
-}
-\parbox[t]{.4\textwidth}{
-\textbf{Ship To}
-\vspace{0.7cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%if shiptoaddress2%>
-<%shiptoaddress2%>
-<%end shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{B I N} \parbox{0.3cm}{\hfill} \textbf{L I S T}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{Order \#} & \textbf{Date} & \textbf{Contact}
- <%if warehouse%>
- & \textbf{Warehouse}
- <%end warehouse%>
- & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em]
- \hline
-
- <%ordnumber%>
- <%if shippingdate%>
- & <%shippingdate%>
- <%end shippingdate%>
- <%if not shippingdate%>
- & <%orddate%>
- <%end shippingdate%>
- & <%employee%>
- <%if warehouse%>
- & <%warehouse%>
- <%end warehouse%>
- & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}rlXllrrll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\
-
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> &
- <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> & <%bin%> \\
-<%end number%>
-\end{tabularx}
-
-
-\rule{\textwidth}{2pt}
-
-\end{document}
-
diff --git a/sql-ledger/templates/Danish-check.tex b/sql-ledger/templates/Danish-check.tex
deleted file mode 100644
index 6742b5b..0000000
--- a/sql-ledger/templates/Danish-check.tex
+++ /dev/null
@@ -1,75 +0,0 @@
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\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
deleted file mode 100644
index c065297..0000000
--- a/sql-ledger/templates/Danish-income_statement.html
+++ /dev/null
@@ -1,73 +0,0 @@
-<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
deleted file mode 100644
index 4eda948..0000000
--- a/sql-ledger/templates/Danish-invoice.html
+++ /dev/null
@@ -1,282 +0,0 @@
-
-<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><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
- </td>
-
- <%if shiptoname%>
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
-<br><%shiptoaddress2%>
-<%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
- </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
-to show the percentage for a discount use <%discountrate%>
--->
-
- <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
deleted file mode 100644
index 0cc07be..0000000
--- a/sql-ledger/templates/Danish-invoice.tex
+++ /dev/null
@@ -1,156 +0,0 @@
-\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 37%>
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\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
deleted file mode 100644
index 76e02b4..0000000
--- a/sql-ledger/templates/Danish-packing_list.html
+++ /dev/null
@@ -1,145 +0,0 @@
-<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
deleted file mode 100644
index 4821767..0000000
--- a/sql-ledger/templates/Danish-packing_list.tex
+++ /dev/null
@@ -1,123 +0,0 @@
-\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 37%>
-\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-pick_list.html b/sql-ledger/templates/Danish-pick_list.html
deleted file mode 100644
index 7548560..0000000
--- a/sql-ledger/templates/Danish-pick_list.html
+++ /dev/null
@@ -1,153 +0,0 @@
-
-<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>P I C K &nbsp;&nbsp; L I S T</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <tr bgcolor=000000>
- <th width=50% align=left><font color=ffffff>Ship To:</th>
- <th width=50%>&nbsp;</th>
- </tr>
-
- <tr valign=top>
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
- </td>
-
- <td>
- <%if shiptocontact%>
- <br>Attn: <%shiptocontact%>
- <%end shiptocontact%>
-
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
-
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
-
- <%shiptoemail%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% border=1>
- <tr>
- <th width=15% align=left>Invoice #</th>
- <th width=15% align=left>Order #</th>
- <th width=10% align=left>Date</th>
- <th width=15% align=left nowrap>Contact</th>
- <th width=15% align=left>Warehouse</th>
- <th width=10% align=left>Shipping Point</th>
- <th width=10% align=left>Ship via</th>
- </tr>
-
- <tr>
- <td><%invnumber%>&nbsp;</td>
- <td><%ordnumber%>&nbsp;</td>
- <%if shippingdate%>
- <td><%shippingdate%></td>
- <%end shippingdate%>
-
- <%if not shippingdate%>
- <td><%transdate%></td>
- <%end shippingdate%>
-
- <td><%employee%>&nbsp;</td>
- <td><%warehouse%>&nbsp;</td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr bgcolor=000000>
- <th align=left><font color=ffffff>Pos</th>
- <th align=left><font color=ffffff>Number</th>
- <th align=left><font color=ffffff>Description</th>
- <th><font color=ffffff>Qty</th>
- <th><font color=ffffff>Ship</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Bin</th>
- </tr>
-
- <%foreach number%>
- <tr valign=top>
- <td><%runningnumber%>
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td align=right>[&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]</td>
- <td><%unit%></td>
- <td align=right><%bin%></td>
- </tr>
- <%end number%>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td><hr noshade></td>
- </tr>
-
-</table>
-
diff --git a/sql-ledger/templates/Danish-pick_list.tex b/sql-ledger/templates/Danish-pick_list.tex
deleted file mode 100644
index c737f6a..0000000
--- a/sql-ledger/templates/Danish-pick_list.tex
+++ /dev/null
@@ -1,144 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 37%>
-\end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}rlXrcll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} &
- \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\
-
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.5\textwidth}{
- \textbf{Ship To}
-} \hfill
-
-\vspace{0.7cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.5\textwidth}{
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-}
-\parbox[t]{.4\textwidth}{
- <%shiptocontact%>
-
- <%if shiptophone%>
- Tel: <%shiptophone%>
- <%end shiptophone%>
-
- <%if shiptofax%>
- Fax: <%shiptofax%>
- <%end shiptofax%>
-
- <%shiptoemail%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{P I C K} \parbox{0.3cm}{\hfill} \textbf{L I S T}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{7}{|X}|} \hline
- \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact}
- & \textbf{Warehouse} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em]
- \hline
- <%invnumber%> & <%ordnumber%>
- <%if shippingdate%>
- & <%shippingdate%>
- <%end shippingdate%>
- <%if not shippingdate%>
- & <%transdate%>
- <%end shippingdate%>
- & <%employee%>
- <%if warehouse%>
- & <%warehouse%>
- <%end warehouse%>
- & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}rlXrcll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} &
- \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> &
- <%qty%> & [\hspace{1cm}] & <%unit%> & <%bin%> \\
-<%end number%>
-\end{tabularx}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-}
-
-\end{document}
-
diff --git a/sql-ledger/templates/Danish-pos_invoice.txt b/sql-ledger/templates/Danish-pos_invoice.txt
deleted file mode 100644
index 9ec12f4..0000000
--- a/sql-ledger/templates/Danish-pos_invoice.txt
+++ /dev/null
@@ -1,51 +0,0 @@
-<%company align=center width=40%>
-<%address align=center width=40%>
-
- Till: <%till align=left width=3%> Phone#: <%tel%>
-Clerk: <%username%>
-Sales: <%employee%>
-
-<%invtime%><%invnumber align=right width=16%>
-
- Qty Description Amount
-<%foreach number%>
-<%qty align=right width=5%> <%description align=left width=24 offset=6%> <%linetotal align=right width=9%>
- <%number%> @ <%sellprice%>/<%unit%>
-<%end number%>
-
-Number of items: <%rowcount%>
-<%if taxincluded%>
- ---------------
- Amount Due: <%invtotal align=right width=9%>
-<%end taxincluded%>
-<%if not taxincluded%>
- ------------
- Subtotal: <%subtotal align=right width=9%>
-<%end taxincluded%>
-<%foreach tax%>
-<%taxdescription align=right width=23%> @ <%taxrate align=right width=2%>%: <%tax align=right width=9%>
-<%end tax%>
- Amount Due: <%invtotal align=right width=9%>
-<%foreach payment%>
-<%paymentaccount align=right width=29%>: <%payment align=right width=9%> <%currency%>
-<%end payment%>
-<%if change%>
- Change: <%change align=right width=9%>
-<%end change%>
-<%if total%>
- Balance Due: <%total align=right width=9%>
-<%end total%>
-<%if discount%>
-
-<%discount%> % Discount applied
-<%end discount%>
-
- Thank you for your valued business!
-
-<%if taxincluded%>
-Taxes are included in price.
-<%end taxincluded%>
-
-
-
-
diff --git a/sql-ledger/templates/Danish-purchase_order.html b/sql-ledger/templates/Danish-purchase_order.html
deleted file mode 100644
index 64802b7..0000000
--- a/sql-ledger/templates/Danish-purchase_order.html
+++ /dev/null
@@ -1,195 +0,0 @@
-<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><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
- </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
deleted file mode 100644
index 9a02400..0000000
--- a/sql-ledger/templates/Danish-purchase_order.tex
+++ /dev/null
@@ -1,147 +0,0 @@
-\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 37%>
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\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
deleted file mode 100644
index 6742b5b..0000000
--- a/sql-ledger/templates/Danish-receipt.tex
+++ /dev/null
@@ -1,75 +0,0 @@
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\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-request_quotation.html b/sql-ledger/templates/Danish-request_quotation.html
deleted file mode 100644
index a9a6f4f..0000000
--- a/sql-ledger/templates/Danish-request_quotation.html
+++ /dev/null
@@ -1,202 +0,0 @@
-
-<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><img src=http://www.sql-ledger.org/images/sql-ledger.png border=0 width=64 height=58>
- </td>
-
- <td align=right>
- <h4>
- Tel: <%tel%>
- <br>Fax: <%fax%>
- </h4>
- </td>
- </tr>
-
- <tr>
- <th colspan=3>
- <h4>R E Q U E S T &nbsp;&nbsp; F O R &nbsp;&nbsp; Q U O T A T I O N</h4>
- </th>
- </tr>
-
- </table>
-
-
- <table width=100% callspacing=0 cellpadding=0>
-
- <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><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
-<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><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddr2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
-<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 colspan=2>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left>RFQ #</th>
- <th width=17% align=left>Date</th>
- <th width=17% align=left>Required by</th>
- <th width=17% align=left>Contact</th>
- <th width=17% align=left>Shipping Point</th>
- <th width=15% align=left>Ship via</th>
- </tr>
-
- <tr>
- <td><%quonumber%></td>
- <td><%quodate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height="10"></tr>
-
- <tr>
- <td>Please provide price and delivery time for the following items:</td>
- </tr>
-
- <tr height="10"></tr>
-
- <tr>
- <td>
- <table width=100%>
- <tr>
-<!-- <th align=right>No.</th> -->
- <th align=left>Number</th>
- <th align=left><font color=ffffff>Description</th>
- <th>Qt'y</th>
- <th>&nbsp;</th>
- <th>Delivery</th>
- <th>Unit Price</th>
- <th>Extended</th>
- </tr>
-
-<%foreach number%>
- <tr valign=top>
-<!-- <td align=right><%runningnumber%>.</td>
-other per line item variables available <%reqdate%>
-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>
-
- </tr>
-<%end number%>
-
- <tr>
- <td colspan=7><hr noshade></td>
- </tr>
-
- </table>
- </td>
- </tr>
-
-<tr>
- <td>
- <table width=100%>
-<%if notes%>
- <tr valign=top>
- <td>Notes</td>
- <td><%notes%></td>
- </tr>
-<%end notes%>
-
- </table>
- </td>
-</tr>
-
-<tr><td>&nbsp;</td></tr>
-
-<tr>
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=70%>&nbsp;</td>
-
- <td width=30%>
- X <hr noshade>
- </td>
- </tr>
- </table>
- </td>
-</tr>
-
-</table>
-
-</td>
-</tr>
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Danish-request_quotation.tex b/sql-ledger/templates/Danish-request_quotation.tex
deleted file mode 100644
index 4e9cfe0..0000000
--- a/sql-ledger/templates/Danish-request_quotation.tex
+++ /dev/null
@@ -1,175 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 48%>
-\end{tabularx}
-
- \rule{\textwidth}{2pt}
-
- \hfill
- \begin{tabularx}{7cm}{Xr@{}}
- \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
- \end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}lXrlrr@{}}
- \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
- \textbf{Unit} & \textbf{Price} & \textbf{Extended} \\
- & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.45\textwidth}{
-\textbf{To}
-\vspace{0.7cm}
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-\vspace{0.2cm}
-<%end contact%>
-
-<%if vendorphone%>
-Tel: <%vendorphone%>
-<%end vendorphone%>
-
-<%if vendorfax%>
-Fax: <%vendorfax%>
-<%end vendorfax%>
-
-<%email%>
-}
-\parbox[t]{.45\textwidth}{
-\textbf{Ship To}
-\vspace{0.7cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-
-\vspace{0.3cm}
-
-<%if shiptocontact%>
-<%shiptocontact%>
-\vspace{0.2cm}
-<%end shiptocontact%>
-
-<%if shiptophone%>
-Tel: <%shiptophone%>
-<%end shiptophone%>
-
-<%if shiptofax%>
-Fax: <%shiptofax%>
-<%end shiptofax%>
-
-<%shiptoemail%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{R E Q U E S T for Q U O T A T I O N}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{RFQ \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex]
- \hline
- <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-Please provide price and delivery time for the following items:
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}lXrllrr@{}}
- \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & &
- \textbf{Delivery} & \textbf{Unit Price} & \textbf{Extended} \\
-<%foreach number%>
- <%number%> & <%description%> & <%qty%> & <%unit%> \\
-<%end number%>
-\end{tabularx}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\hfill
-
-<%notes%>
-
-}
-
-\end{document}
-
diff --git a/sql-ledger/templates/Danish-sales_order.html b/sql-ledger/templates/Danish-sales_order.html
deleted file mode 100644
index 8242f37..0000000
--- a/sql-ledger/templates/Danish-sales_order.html
+++ /dev/null
@@ -1,218 +0,0 @@
-<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><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
-<br><%shiptoaddress2%>
-<%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
- </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
deleted file mode 100644
index b631789..0000000
--- a/sql-ledger/templates/Danish-sales_order.tex
+++ /dev/null
@@ -1,151 +0,0 @@
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\vspace{3.5cm}
-
-\textbf{S A L G S O R D R E}
-\hfill
-\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
- \textbf{Ordredato} & <%orddate%> \\
-<%if reqdate%>
- \textbf{Ønsket leveringsdato} & <%reqdate%> \\
-<%end reqdate%>
- \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-sales_quotation.html b/sql-ledger/templates/Danish-sales_quotation.html
deleted file mode 100644
index cc57a5c..0000000
--- a/sql-ledger/templates/Danish-sales_quotation.html
+++ /dev/null
@@ -1,225 +0,0 @@
-
-<body bgcolor=ffffff>
-
-<table width=100%>
-<tr valign=bottom>
- <td width=10>&nbsp;</td>
- <td>
-
- <table width=100%>
- <tr valign=top>
- <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><td colspan=3>&nbsp;</td></tr>
-
- <tr>
- <th colspan=3>
- <h4>Q U O T A T I O N</h4>
- </th>
- </tr>
-
- </table>
-
- <table width=100% callspacing=0 cellpadding=0>
-
- <tr>
- <td>
- <table width=100%>
-
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
-
- <br>
- <%if contact%>
- <br>Attn: <%contact%>
- <%end contact%>
-
- <%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><td>&nbsp;</td></tr>
-
- <tr>
- <td colspan=2>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left nowrap>Number</th>
- <th width=17% align=left>Date</th>
- <th width=17% align=left>Valid until</th>
- <th width=17% align=left nowrap>Contact</th>
- <th width=17% align=left nowrap>Shipping Point</th>
- <th width=15% align=left nowrap>Ship via</th>
- </tr>
-
- <tr>
- <td><%quonumber%></td>
- <td><%quodate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</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>
-
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td align=right><%sellprice%></td>
- <td align=right><%discountrate%></td>
- <td align=right><%linetotal%></td>
- </tr>
-<%end number%>
-
- <tr>
- <td colspan=8><hr noshade></td>
- </tr>
-
- <tr>
-<%if taxincluded%>
- <th colspan=6 align=right>Total</th>
- <td colspan=2 align=right><%invtotal%></td>
-<%end taxincluded%>
-
-<%if not taxincluded%>
- <th colspan=6 align=right>Subtotal</th>
- <td colspan=2 align=right><%subtotal%></td>
-<%end taxincluded%>
- </tr>
-
-<%foreach tax%>
- <tr>
- <th colspan=6 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th>
- <td colspan=2 align=right><%tax%></td>
- </tr>
-<%end tax%>
-
- <tr>
- <td colspan=4>&nbsp;</td>
- <td colspan=4><hr noshade></td>
- </tr>
-
- <tr>
- <td colspan=4>&nbsp;
-<%if terms%>
- Terms Net <b><%terms%></b> days
-<%end terms%>
- </td>
- <th colspan=2 align=right>Total</th>
- <th colspan=2 align=right><%quototal%></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
- </td>
- </tr>
-
- </table>
- </td>
-</tr>
-
-<tr><td>&nbsp;</td></tr>
-
-<tr>
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=60%><font size=-3>
- Special order items are subject to a 10% cancellation fee.
- </font>
- </td>
- <td width=40%>
- X <hr noshade>
- </td>
- </tr>
- </table>
- </td>
-</tr>
-
-</table>
-
-</td>
-</tr>
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Danish-sales_quotation.tex b/sql-ledger/templates/Danish-sales_quotation.tex
deleted file mode 100644
index acc4870..0000000
--- a/sql-ledger/templates/Danish-sales_quotation.tex
+++ /dev/null
@@ -1,157 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 48%>
-\end{tabular*}
-
- \rule{\textwidth}{2pt}
-
- \hfill
- \begin{tabularx}{7cm}{Xr@{}}
- \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
- \end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%quonumber%>}{<%company%>\hfill <%quonumber%>}
-
-\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%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.45\textwidth}{
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%contact%>
-
-\vspace{0.2cm}
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-
-\vspace{1cm}
-
-\textbf{Q U O T A T I O N}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{Quotation \#} & \textbf{Date} & \textbf{Valid until} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex]
- \hline
- <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\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%> & <%discountrate%> & <%linetotal%> \\
-<%end number%>
-\end{tabular*}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\vspace{0.2cm}
-
-\hfill
-\begin{tabularx}{7cm}{Xr@{}}
- Subtotal & <%subtotal%> \\
-<%foreach tax%>
- <%taxdescription%> on <%taxbase%> & <%tax%>\\
-<%end tax%>
- \hline
- Total & <%quototal%>\\
-\end{tabularx}
-
-\vspace{0.3cm}
-
-\hfill
- All prices in \textbf{<%currency%>}.
-
-\vspace{12pt}
-
-<%notes%>
-
-}
-
-\vfill
-
-\end{document}
-
-
diff --git a/sql-ledger/templates/Danish-statement.html b/sql-ledger/templates/Danish-statement.html
deleted file mode 100644
index a5efdf0..0000000
--- a/sql-ledger/templates/Danish-statement.html
+++ /dev/null
@@ -1,125 +0,0 @@
-
-<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><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
- <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
deleted file mode 100644
index 5865da1..0000000
--- a/sql-ledger/templates/Danish-statement.tex
+++ /dev/null
@@ -1,111 +0,0 @@
-\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
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{1.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{10.5cm}{
-
-<%name%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-}
-\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 \textbf{<%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%>
-
-\end{document}
-
diff --git a/sql-ledger/templates/Danish-work_order.html b/sql-ledger/templates/Danish-work_order.html
deleted file mode 100644
index 0732fe2..0000000
--- a/sql-ledger/templates/Danish-work_order.html
+++ /dev/null
@@ -1,174 +0,0 @@
-
-<body bgcolor=ffffff>
-
-<table width=100%>
- <tr>
- <td width=10>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=bottom>
- <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>W O R K &nbsp;&nbsp; O R D E R</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <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><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%>
- <br><%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
- <%if contact%>
- <br>Attn: <%contact%>
- <%end contact%>
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
- <%if email%>
- <br><%email%>
- <%end email%>
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%>
- <br><%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
- <br>
- <%if shiptocontact%>
- <br><%shiptocontact%>
- <%end shiptocontact%>
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
- <%if shiptoemail%>
- <br><%shiptoemail%>
- <%end shiptoemail%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left nowrap>Order Number</th>
- <th width=17% align=left>Order Date</th>
- <th width=17% align=left>Required by</th>
- <th width=17% align=left nowrap>Salesperson</th>
- <th width=17% align=left nowrap>Shipping Point</th>
- <th width=15% align=left nowrap>Ship Via</th>
- </tr>
-
- <tr>
- <td><%ordnumber%></td>
- <td><%orddate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <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>Serial No.</th>
- </tr>
-
- <%foreach number%>
- <tr valign=top>
- <td align=right><%runningnumber%>.</td>
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td><%serialnumber%></td>
- </tr>
- <%end number%>
-
- <tr>
- <td colspan=6><hr noshade></td>
- </tr>
-
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <%if notes%>
- <td><%notes%></td>
- <%end notes%>
- </tr>
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Danish-work_order.tex b/sql-ledger/templates/Danish-work_order.tex
deleted file mode 100644
index cb6774d..0000000
--- a/sql-ledger/templates/Danish-work_order.tex
+++ /dev/null
@@ -1,177 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{%
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5em]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 48%>
-\end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}rlXrll@{}}
- \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
- & \textbf{Serial Number} \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.45\textwidth}{
-\textbf{To}
-\vspace{0.7cm}
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-\vspace{0.2cm}
-<%end contact%>
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\parbox[t]{.45\textwidth}{
-\textbf{Ship To}
-\vspace{0.7cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-
-\vspace{0.3cm}
-
-<%if shiptocontact%>
-<%shiptocontact%>
-\vspace{0.2cm}
-<%end shiptocontact%>
-
-<%if shiptophone%>
-Tel: <%shiptophone%>
-<%end shiptophone%>
-
-<%if shiptofax%>
-Fax: <%shiptofax%>
-<%end shiptofax%>
-
-<%shiptoemail%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{W O R K} \parbox{0.3cm}{\hfill} \textbf{O R D E R}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship Via} \\ [0.5em]
- \hline
- <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}rlXrll@{}}
- \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
- & \textbf{Serial Number} \\
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> & <%qty%> &
- <%unit%> & <%serialnumber%> \\
-<%end number%>
-\end{tabularx}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\vspace{12pt}
-
-<%if notes%>
- <%notes%>
-<%end if%>
-
-}
-
-\vfill
-
-\vspace{1cm}
-
-\rule{\textwidth}{0.5pt}
-
-\end{document}
-
-
-
-
-
-
diff --git a/sql-ledger/templates/Default-ap_transaction.html b/sql-ledger/templates/Default-ap_transaction.html
deleted file mode 100644
index c7bae85..0000000
--- a/sql-ledger/templates/Default-ap_transaction.html
+++ /dev/null
@@ -1,229 +0,0 @@
-
-<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>
- <hr noshade><br>
- <h4>A P - T R A N S A C T I O N</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
-
- <%if contact%>
- <br><%contact%>
- <br>
- <%end contact%>
-
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
-
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
-
- <%if email%>
- <br><%email%>
- <%end email%>
- </td>
-
- <td align=right>
- <table>
- <tr>
- <th align=left nowrap>Invoice #</th>
- <td><%invnumber%></td>
- </tr>
- <tr>
- <th align=left nowrap>Date</th>
- <td><%invdate%></td>
- </tr>
- <tr>
- <th align=left nowrap>Due</th>
- <td><%duedate%></td>
- </tr>
- <tr>
- <th align=left>Order #</th>
- <td><%ordnumber%>&nbsp;</td>
- </tr>
- <tr>
- <th align=left nowrap>Employee</th>
- <td><%employee%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=50%>
- <table>
- <%foreach account%>
- <tr valign=top>
- <td><%accno%></td>
- <td><%account%></td>
- <td align=right><%amount%></td>
- <td><%projectnumber%></td>
- </tr>
- <%end account%>
-
- <tr>
- <%if taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Subtotal</th>
- <td align=right><%subtotal%></td>
- <%end taxincluded%>
- </tr>
-
- <%foreach tax%>
- <tr>
- <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th>
- <td align=right><%tax%></td>
- </tr>
- <%end tax%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- </table>
- </td>
- <td width=50%>
- <%notes%>
- </td>
- </tr>
- </table>
- </td>
- <tr>
- <td>&nbsp;</td>
-
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <%text_amount%> ***** <%decimal%>/100 <%currency%>
- </td>
- </tr>
-
- <%if paid%>
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table>
- <tr>
- <th>Payments</th>
- </tr>
-
- <tr>
- <td>
- <hr noshade>
- </td>
- </tr>
-
- <tr>
- <td>
- <table>
- <tr>
- <th align=left>Date</th>
- <th align=left>Account</th>
- <th align=left>Source</th>
- <th align=left>Memo</th>
- <th align=left>Amount</th>
- </tr>
- <%end paid%>
-
- <%foreach payment%>
- <tr>
- <td><%paymentdate%></td>
- <td><%paymentaccount%></td>
- <td><%paymentsource%></td>
- <td><%paymentmemo%></td>
- <td><%payment%></td>
- </tr>
- <%end payment%>
-
- <%if paid%>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <%end paid%>
-
- <tr height=10></tr>
-
- <%if taxincluded%>
- <tr>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th>
- </tr>
- <%end taxincluded%>
-
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Default-ap_transaction.tex b/sql-ledger/templates/Default-ap_transaction.tex
deleted file mode 100644
index 8bfd9f7..0000000
--- a/sql-ledger/templates/Default-ap_transaction.tex
+++ /dev/null
@@ -1,125 +0,0 @@
-\documentclass[10pt,letterpaper,oneside,onecolumn]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{%
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5em]{\textwidth}{0.5pt}
-}
-
-\centerline{\textbf{A P} \hspace{0.3cm} \textbf{T R A N S A C T I O N}}
-
-\vspace*{0.5cm}
-
-\parbox[t]{.5\textwidth}{
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-<%end contact%>
-
-\vspace{0.2cm}
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\hfill
-\begin{tabular}[t]{ll}
- \textbf{Invoice \#} & <%invnumber%> \\
- \textbf{Date} & <%invdate%> \\
- \textbf{Due} & <%duedate%> \\
- \textbf{Order \#} & <%ordnumber%> \\
- \textbf{Employee} & <%employee%> \\
-\end{tabular}
-
-\vspace{1cm}
-
-\begin{tabularx}{.5\textwidth}[t]{@{}llrl@{}}
-<%foreach amount%>
- <%accno%> & <%account%> & <%amount%> & <%projectnumber%> \\
-<%end amount%>
-
- \multicolumn{2}{r}{\textbf{Subtotal}} & <%subtotal%> & \\
-<%foreach tax%>
- \multicolumn{2}{r}{\textbf{<%taxdescription%> @ <%taxrate%> \%}} & <%tax%> & \\
-<%end tax%>
-
- \multicolumn{2}{r}{\textbf{Total}} & <%invtotal%> & \\
-
-\end{tabularx}
-<%notes%>
-
-\vspace{0.3cm}
-
-<%text_amount%> ***** <%decimal%>/100 <%currency%>
-
-\vspace{0.3cm}
-
-<%if paid%>
-\begin{tabular}{@{}llllr@{}}
- \multicolumn{5}{c}{\textbf{Payments}} \\
- \hline
- \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\
-<%end paid%>
-<%foreach payment%>
- <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%paymentmemo%> & <%payment%> \\
-<%end payment%>
-<%if paid%>
-\end{tabular}
-<%end paid%>
-
-\end{document}
-
diff --git a/sql-ledger/templates/Default-ar_transaction.html b/sql-ledger/templates/Default-ar_transaction.html
deleted file mode 100644
index dbd0a1c..0000000
--- a/sql-ledger/templates/Default-ar_transaction.html
+++ /dev/null
@@ -1,237 +0,0 @@
-
-<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>
- <hr noshade><br>
- <h4>A R - T R A N S A C T I O N</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
-
- <%if contact%>
- <br><%contact%>
- <br>
- <%end contact%>
-
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
-
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
-
- <%if email%>
- <br><%email%>
- <%end email%>
- </td>
-
- <td align=right>
- <table>
- <tr>
- <th align=left nowrap>Invoice #</th>
- <td><%invnumber%></td>
- </tr>
- <tr>
- <th align=left nowrap>Date</th>
- <td><%invdate%></td>
- </tr>
- <tr>
- <th align=left nowrap>Due</th>
- <td><%duedate%></td>
- </tr>
- <tr>
- <th align=left>Order #</th>
- <td><%ordnumber%>&nbsp;</td>
- </tr>
- <tr>
- <th align=left nowrap>Salesperson</th>
- <td><%employee%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=50%>
- <table>
- <%foreach account%>
- <tr valign=top>
- <td><%accno%></td>
- <td><%account%></td>
- <td align=right><%amount%></td>
- <td><%projectnumber%></td>
- </tr>
- <%end account%>
-
- <tr>
- <%if taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Subtotal</th>
- <td align=right><%subtotal%></td>
- <%end taxincluded%>
- </tr>
-
- <%foreach tax%>
- <tr>
- <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th>
- <td align=right><%tax%></td>
- </tr>
- <%end tax%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- </table>
- </td>
- <td width=50%>
- <%notes%>
- </td>
- </tr>
- </table>
- </td>
- <tr>
- <td>&nbsp;</td>
-
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <%text_amount%> ***** <%decimal%>/100 <%currency%>
- </td>
- </tr>
-
- <%if paid%>
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table>
- <tr>
- <th>Payments</th>
- </tr>
-
- <tr>
- <td>
- <hr noshade>
- </td>
- </tr>
-
- <tr>
- <td>
- <table>
- <tr>
- <th align=left>Date</th>
- <th align=left>Account</th>
- <th align=left>Source</th>
- <th align=left>Memo</th>
- <th align=left>Amount</th>
- </tr>
- <%end paid%>
-
- <%foreach payment%>
- <tr>
- <td><%paymentdate%></td>
- <td><%paymentaccount%></td>
- <td><%paymentsource%></td>
- <td><%paymentmemo%></td>
- <td><%payment%></td>
- </tr>
- <%end payment%>
-
- <%if paid%>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <%end paid%>
-
- <tr height=10></tr>
-
- <%foreach tax%>
- <tr>
- <td>&nbsp;</td>
-
- <th colspan=9 align=left><font size=-2><%taxdescription%> Registration <%taxnumber%></th>
- </tr>
- <%end tax%>
-
- <%if taxincluded%>
- <tr>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th>
- </tr>
- <%end taxincluded%>
-
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Default-ar_transaction.tex b/sql-ledger/templates/Default-ar_transaction.tex
deleted file mode 100644
index 654d2b9..0000000
--- a/sql-ledger/templates/Default-ar_transaction.tex
+++ /dev/null
@@ -1,131 +0,0 @@
-\documentclass[10pt,letterpaper,oneside,onecolumn]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{%
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5em]{\textwidth}{0.5pt}
-}
-
-\centerline{\textbf{A R} \hspace{0.3cm} \textbf{T R A N S A C T I O N}}
-
-\vspace*{0.5cm}
-
-\parbox[t]{.5\textwidth}{
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-<%end contact%>
-
-\vspace{0.2cm}
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\hfill
-\begin{tabular}[t]{ll}
- \textbf{Invoice \#} & <%invnumber%> \\
- \textbf{Date} & <%invdate%> \\
- \textbf{Due} & <%duedate%> \\
- \textbf{Order \#} & <%ordnumber%> \\
- \textbf{Employee} & <%employee%> \\
-\end{tabular}
-
-\vspace{1cm}
-
-\begin{tabularx}{.5\textwidth}[t]{@{}llrl@{}}
-<%foreach amount%>
- <%accno%> & <%account%> & <%amount%> & <%projectnumber%> \\
-<%end amount%>
-
- \multicolumn{2}{r}{\textbf{Subtotal}} & <%subtotal%> & \\
-<%foreach tax%>
- \multicolumn{2}{r}{\textbf{<%taxdescription%> @ <%taxrate%> \%}} & <%tax%> & \\
-<%end tax%>
-
- \multicolumn{2}{r}{\textbf{Total}} & <%invtotal%> & \\
-
-\end{tabularx}
-<%notes%>
-
-\vspace{0.3cm}
-
-<%text_amount%> ***** <%decimal%>/100 <%currency%>
-
-\vspace{0.3cm}
-
-<%if paid%>
-\begin{tabular}{@{}llllr@{}}
- \multicolumn{5}{c}{\textbf{Payments}} \\
- \hline
- \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\
-<%end paid%>
-<%foreach payment%>
- <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%paymentmemo%> & <%payment%> \\
-<%end payment%>
-<%if paid%>
-\end{tabular}
-<%end paid%>
-
-\vspace{0.5cm}
-
-<%foreach tax%>
-\textbf{\small{<%taxdescription%> Registration <%taxnumber%>}} \\
-<%end tax%>
-
-\end{document}
-
diff --git a/sql-ledger/templates/Default-balance_sheet.html b/sql-ledger/templates/Default-balance_sheet.html
deleted file mode 100644
index c84ad95..0000000
--- a/sql-ledger/templates/Default-balance_sheet.html
+++ /dev/null
@@ -1,110 +0,0 @@
-
-<body>
-
-<h2 align=center>
-<%company%>
-<br><%address%>
-
-<p>BALANCE SHEET
-<br>as at <%this_period%>
-</h2>
-
-<%if department%>
-<h4>Department: <%department%></h4>
-<%end department%>
-
-<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-bin_list.html b/sql-ledger/templates/Default-bin_list.html
deleted file mode 100644
index 204da54..0000000
--- a/sql-ledger/templates/Default-bin_list.html
+++ /dev/null
@@ -1,189 +0,0 @@
-
-<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>
-
- <th align=right>
- <h4>
- Tel: <%tel%>
- <br>Fax: <%fax%>
- </h4>
- </td>
- </tr>
-
- <tr>
- <th colspan=3>
- <h4>B I N &nbsp;&nbsp; L I S T</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% cellspacing=0 cellpadding=0>
- <tr bgcolor=000000>
- <th align=left width=50%><font color=ffffff>From</th>
- <th align=left width=50%><font color=ffffff>Ship To</th>
- </tr>
-
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
- <br>
-
- <%if contact%>
- <br>Attn: <%contact%>
- <%end contact%>
-
- <%if vendorphone%>
- <br>Tel: <%vendorphone%>
- <%end vendorphone%>
-
- <%if vendorfax%>
- <br>Fax: <%vendorfax%>
- <%end vendorfax%>
-
- <%if email%>
- <br><%email%>
- <%end email%>
-
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
-<br><%shiptoaddress2%>
-<%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
-
- <br>
- <%if shiptocontact%>
- <br>Attn: <%shiptocontact%>
- <%end shiptocontact%>
-
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
-
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left nowrap>Order #</th>
- <th width=17% align=left nowrap>Date</th>
- <th width=17% align=left nowrap>Contact</th>
- <%if warehouse%>
- <th width=17% align=left nowrap>Warehouse</th>
- <%end warehouse%>
- <th width=17% align=left>Shipping Point</th>
- <th width=15% align=left>Ship via</th>
- </tr>
-
- <tr>
- <td><%ordnumber%>&nbsp;</td>
-
- <%if shippingdate%>
- <td><%shippingdate%></td>
- <%end shippingdate%>
-
- <%if not shippingdate%>
- <td><%orddate%></td>
- <%end shippingdate%>
-
- <td><%employee%>&nbsp;</td>
-
- <%if warehouse%>
- <td><%warehouse%></td>
- <%end warehouse%>
-
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr bgcolor=000000>
- <th align=left><font color=ffffff>Pos</th>
- <th align=left><font color=ffffff>Number</th>
- <th align=left><font color=ffffff>Description</th>
- <th><font color=ffffff>Serialnumber</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Qty</th>
- <th><font color=ffffff>Recd</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Bin</th>
- </tr>
-
- <%foreach number%>
- <tr valign=top>
- <td><%runningnumber%></td>
- <td><%number%></td>
- <td><%description%></td>
- <td><%serialnumber%></td>
- <td><%deliverydate%></td>
- <td align=right><%qty%></td>
- <td align=right><%ship%></td>
- <td><%unit%></td>
- <td><%bin%></td>
- </tr>
- <%end number%>
-
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td><hr noshade></td>
- </tr>
-
-</table>
-
diff --git a/sql-ledger/templates/Default-bin_list.tex b/sql-ledger/templates/Default-bin_list.tex
deleted file mode 100644
index 82e19c1..0000000
--- a/sql-ledger/templates/Default-bin_list.tex
+++ /dev/null
@@ -1,147 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 37%>
-\end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}rlXllrrll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.5\textwidth}{
-\textbf{From}
-\vspace{0.7cm}
-
-<%name%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-}
-\parbox[t]{.4\textwidth}{
-\textbf{Ship To}
-\vspace{0.7cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%if shiptoaddress2%>
-<%shiptoaddress2%>
-<%end shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{B I N} \parbox{0.3cm}{\hfill} \textbf{L I S T}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{Order \#} & \textbf{Date} & \textbf{Contact}
- <%if warehouse%>
- & \textbf{Warehouse}
- <%end warehouse%>
- & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em]
- \hline
-
- <%ordnumber%>
- <%if shippingdate%>
- & <%shippingdate%>
- <%end shippingdate%>
- <%if not shippingdate%>
- & <%orddate%>
- <%end shippingdate%>
- & <%employee%>
- <%if warehouse%>
- & <%warehouse%>
- <%end warehouse%>
- & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}rlXllrrll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\
-
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> &
- <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> & <%bin%> \\
-<%end number%>
-\end{tabularx}
-
-
-\rule{\textwidth}{2pt}
-
-\end{document}
-
diff --git a/sql-ledger/templates/Default-check.tex b/sql-ledger/templates/Default-check.tex
deleted file mode 100644
index 7f25a21..0000000
--- a/sql-ledger/templates/Default-check.tex
+++ /dev/null
@@ -1,78 +0,0 @@
-\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%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{1.8cm}
-
-<%memo%>
-
-\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}
-
-\vspace{1cm}
-
-<%memo%>
-
-\vfill
-
-\end{document}
diff --git a/sql-ledger/templates/Default-income_statement.html b/sql-ledger/templates/Default-income_statement.html
deleted file mode 100644
index eab9ff0..0000000
--- a/sql-ledger/templates/Default-income_statement.html
+++ /dev/null
@@ -1,81 +0,0 @@
-
-<body>
-
-<h2 align=center>
-<%company%>
-<br><%address%>
-
-<p>INCOME STATEMENT
-<br><%period%>
-</h2>
-
-<%if department%>
-<h4>Department: <%department%></h4>
-<%end department%>
-
-<%if projectnumber%>
-<h4>Project Number: <%projectnumber%></h4>
-<%end projectnumber%>
-
-<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
deleted file mode 100644
index 6f37b87..0000000
--- a/sql-ledger/templates/Default-invoice.html
+++ /dev/null
@@ -1,337 +0,0 @@
-
-<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>I N V O I C E</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <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><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
-
- <%if contact%>
- <br><%contact%>
- <br>
- <%end contact%>
-
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
-
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
-
- <%if email%>
- <br><%email%>
- <%end email%>
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
- <br>
-
- <%if shiptocontact%>
- <br><%shiptocontact%>
- <br>
- <%end shiptocontact%>
-
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
-
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
-
- <%if shiptoemail%>
- <br><%shiptoemail%>
- <%end shiptoemail%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% border=1>
- <tr>
- <th width=14% align=left nowrap>Invoice #</th>
- <th width=14% align=left nowrap>Date</th>
- <th width=14% align=left nowrap>Due</th>
- <th width=14% align=left>Order #</th>
- <th width=14% align=left nowrap>Salesperson</th>
- <th width=14% align=left nowrap>Shipping Point</th>
- <th width=14% align=left nowrap>Ship via</th>
- </tr>
-
- <tr>
- <td><%invnumber%></td>
- <td><%invdate%></td>
- <td><%duedate%></td>
- <td><%ordnumber%>&nbsp;</td>
- <td><%employee%>&nbsp;</td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <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>&nbsp;</th>
- <th align=right><font color=ffffff>Qt'y</th>
- <th>&nbsp;</th>
- <th align=right><font color=ffffff>Unit Price</th>
- <th align=right><font color=ffffff>Disc %</th>
- <th align=right><font color=ffffff>Extended</th>
- </tr>
-
- <%foreach number%>
- <tr valign=top>
- <td align=right><%runningnumber%>.</td>
- <td><%number%></td>
- <td><%description%></td>
- <td><%deliverydate%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td align=right><%sellprice%></td>
- <td align=right><%discountrate%></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=9><hr noshade></td>
- </tr>
-
- <tr>
- <%if taxincluded%>
- <th colspan=7 align=right>Total</th>
- <td colspan=2 align=right><%invtotal%></td>
- <%end taxincluded%>
-
- <%if not taxincluded%>
- <th colspan=7 align=right>Subtotal</th>
- <td colspan=2 align=right><%subtotal%></td>
- <%end taxincluded%>
- </tr>
-
- <%foreach tax%>
- <tr>
- <th colspan=7 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th>
- <td colspan=2 align=right><%tax%></td>
- </tr>
- <%end tax%>
-
- <%if paid%>
- <tr>
- <th colspan=7 align=right>Paid</th>
- <td colspan=2 align=right>- <%paid%></td>
- </tr>
- <%end paid%>
-
- <tr>
- <td colspan=5>&nbsp;</td>
- <td colspan=4><hr noshade></td>
- </tr>
-
- <%if total%>
- <tr>
- <td colspan=5>&nbsp;</td>
- <th colspan=2 align=right nowrap>Balance Due</th>
- <th colspan=2 align=right><%total%></th>
- </tr>
- <%end total%>
-
- <tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=top>
- <%if notes%>
- <td><%notes%></td>
- <%end notes%>
-
- <td><%text_amount%> ***** <%decimal%>/100</td>
-
- <td align=right nowrap>
- All prices in <b><%currency%></b>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <%if paid%>
- <tr>
- <td>&nbsp;</td>
-
- <td colspan=9>
- <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>
- <%end paid%>
-
- <tr height=10></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <th>
- Thank you for your valued business!
- </th>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=60%><font size=-3>
- Payment due by <%duedate%>.
- 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=40%>
- X <hr noshade>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <%foreach tax%>
- <tr>
- <td>&nbsp;</td>
-
- <th colspan=9 align=left><font size=-2><%taxdescription%> Registration <%taxnumber%></th>
- </tr>
- <%end tax%>
-
- <%if taxincluded%>
- <tr>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <th colspan=8 align=left><font size=-2>Taxes shown are included in price.</th>
- </tr>
- <%end taxincluded%>
-
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Default-invoice.tex b/sql-ledger/templates/Default-invoice.tex
deleted file mode 100644
index a57f98b..0000000
--- a/sql-ledger/templates/Default-invoice.tex
+++ /dev/null
@@ -1,235 +0,0 @@
-\documentclass[10pt,letterpaper,oneside,onecolumn]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\newsavebox{\ftr}
-\sbox{\ftr}{
- \parbox{\textwidth}{
- \tiny
- \rule[1.5em]{\textwidth}{0.5pt}
-Payment due NET <%terms%> Days from date of Invoice. Interest on overdue amounts will acrue at the rate of 12\% per annum starting from <%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.
- }
-}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{%
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5em]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 37%>
-\end{tabularx}
-
- \rule{\textwidth}{2pt}
-
- \hfill
- \begin{tabularx}{7cm}{Xr@{}}
- \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
- \end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%invnumber%>}{<%company%>\hfill <%invnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}rlXlrlrrr@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} & & \textbf{Qt'y} &
- \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ [0.5em]
- & carried forward from page <%lastpage%> & & & & & & <%sumcarriedforward%> \\ [0.5em]
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.6\textwidth}{
-\textbf{To}
-\vspace{0.7cm}
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-\vspace{0.2cm}
-<%end contact%>
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\parbox[t]{.4\textwidth}{
-\textbf{Ship To}
-\vspace{0.7cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-
-\vspace{0.3cm}
-
-<%if shiptocontact%>
-<%shiptocontact%>
-\vspace{0.2cm}
-<%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{tabularx}{\textwidth}{*{7}{|X}|} \hline
- \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} & \textbf{Order \#}
- & \textbf{Salesperson} & \textbf{Shipping Point} &
- \textbf{Ship via} \\ [0.5em]
- \hline
- <%invnumber%> & <%invdate%> & <%duedate%> & <%ordnumber%> & <%employee%>
- & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}rlXlrlrrr@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} & & \textbf{Qt'y} &
- \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ [0.5em]
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> & <%deliverydate%> &
- <%qty%> & <%unit%> & <%sellprice%> & <%discountrate%> & <%linetotal%> \\
-<%end number%>
-\end{tabularx}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\vspace{0.2cm}
-
-\hfill
-\begin{tabularx}{7cm}{Xr@{}}
- Subtotal & <%subtotal%> \\
-<%foreach tax%>
- <%taxdescription%> on <%taxbase%> & <%tax%> \\
-<%end tax%>
-<%if paid%>
- Paid & - <%paid%> \\
-<%end paid%>
- \hline
-<%if total%>
- Balance Due & <%total%>
-<%end total%>
-\end{tabularx}
-
-\vspace{0.3cm}
-
-<%text_amount%> ***** <%decimal%>/100
-\hfill
-All prices in \textbf{<%currency%>}.
-
-\vspace{12pt}
-
-<%if notes%>
- <%notes%>
-<%end if%>
-
-}
-
-\vfill
-
-<%if paid%>
-\begin{tabularx}{10cm}{@{}lXlr@{}}
- \textbf{Payments} & & & \\
- \hline
- \textbf{Date} & & \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!}}
-
-\rule{\textwidth}{0.5pt}
-
-\usebox{\ftr}
-
-\end{document}
-
diff --git a/sql-ledger/templates/Default-packing_list.html b/sql-ledger/templates/Default-packing_list.html
deleted file mode 100644
index 130f454..0000000
--- a/sql-ledger/templates/Default-packing_list.html
+++ /dev/null
@@ -1,197 +0,0 @@
-
-<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>P A C K I N G &nbsp;&nbsp; L I S T</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% cellspacing=0 cellpadding=0>
- <tr bgcolor=000000>
- <th width=50% align=left><font color=ffffff>Ship To:</th>
- <th width=50%>&nbsp;</th>
- </tr>
-
- <tr valign=top>
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
- </td>
-
- <td>
- <%if shiptocontact%>
- <br>Attn: <%shiptocontact%>
- <%end shiptocontact%>
-
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
-
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
-
- <%shiptoemail%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left>Invoice #</th>
- <th width=17% align=left>Order #</th>
- <th width=17% align=left>Date</th>
- <th width=17% align=left nowrap>Contact</th>
- <%if warehouse%>
- <th width=17% align=left>Warehouse</th>
- <%end warehouse%>
- <th width=17% align=left>Shipping Point</th>
- <th width=15% align=left>Ship via</th>
- </tr>
-
- <tr>
- <td><%invnumber%>&nbsp;</td>
- <td><%ordnumber%>&nbsp;</td>
-
- <%if shippingdate%>
- <td><%shippingdate%></td>
- <%end shippingdate%>
-
- <%if not shippingdate%>
- <td><%transdate%></td>
- <%end shippingdate%>
-
- <td><%employee%>&nbsp;</td>
-
- <%if warehouse%>
- <td><%warehouse%>&nbsp;</td>
- <%end warehouse%>
-
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr bgcolor=000000>
- <th align=left><font color=ffffff>Pos</th>
- <th align=left><font color=ffffff>Number</th>
- <th align=left><font color=ffffff>Description</th>
- <th align=left><font color=ffffff>Serial Number</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Qty</th>
- <th><font color=ffffff>Ship</th>
- <th>&nbsp;</th>
- </tr>
-
- <%foreach number%>
- <tr valign=top>
- <td><%runningnumber%></td>
- <td><%number%></td>
- <td><%description%></td>
- <td><%serialnumber%></td>
- <td><%deliverydate%></td>
- <td align=right><%qty%></td>
- <td align=right><%ship%></td>
- <td><%unit%></td>
- </tr>
- <%end number%>
-
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td><hr noshade></td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=top>
- <td>Notes</td>
- <td><%notes%></td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=70%><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=30%>
- X <hr noshade>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-</table>
-
diff --git a/sql-ledger/templates/Default-packing_list.tex b/sql-ledger/templates/Default-packing_list.tex
deleted file mode 100644
index 9d08a61..0000000
--- a/sql-ledger/templates/Default-packing_list.tex
+++ /dev/null
@@ -1,161 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 37%>
-\end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}rlXllrrl@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Ship} & \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.5\textwidth}{
-\textbf{Ship To}} \hfill
-
-\vspace{0.7cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.5\textwidth}{
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-}
-\parbox[t]{.4\textwidth}{
- <%shiptocontact%>
-
- <%if shiptophone%>
- Tel: <%shiptophone%>
- <%end shiptophone%>
-
- <%if shiptofax%>
- Fax: <%shiptofax%>
- <%end shiptofax%>
-
- <%shiptoemail%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{P A C K I N G} \parbox{0.3cm}{\hfill} \textbf{L I S T}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{7}{|X}|} \hline
- \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact}
- <%if warehouse%>
- & \textbf{Warehouse}
- <%end warehouse%>
- & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em]
- \hline
-
- <%invnumber%> & <%ordnumber%>
- <%if shippingdate%>
- & <%shippingdate%>
- <%end shippingdate%>
- <%if not shippingdate%>
- & <%transdate%>
- <%end shippingdate%>
- & <%employee%>
- <%if warehouse%>
- & <%warehouse%>
- <%end warehouse%>
- & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}rlXllrrl@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Ship} & \\
-
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> &
- <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> \\
-<%end number%>
-\end{tabularx}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\vspace{12pt}
-
-<%notes%>
-
-}
-
-\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-pick_list.html b/sql-ledger/templates/Default-pick_list.html
deleted file mode 100644
index 7548560..0000000
--- a/sql-ledger/templates/Default-pick_list.html
+++ /dev/null
@@ -1,153 +0,0 @@
-
-<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>P I C K &nbsp;&nbsp; L I S T</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <tr bgcolor=000000>
- <th width=50% align=left><font color=ffffff>Ship To:</th>
- <th width=50%>&nbsp;</th>
- </tr>
-
- <tr valign=top>
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
- </td>
-
- <td>
- <%if shiptocontact%>
- <br>Attn: <%shiptocontact%>
- <%end shiptocontact%>
-
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
-
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
-
- <%shiptoemail%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% border=1>
- <tr>
- <th width=15% align=left>Invoice #</th>
- <th width=15% align=left>Order #</th>
- <th width=10% align=left>Date</th>
- <th width=15% align=left nowrap>Contact</th>
- <th width=15% align=left>Warehouse</th>
- <th width=10% align=left>Shipping Point</th>
- <th width=10% align=left>Ship via</th>
- </tr>
-
- <tr>
- <td><%invnumber%>&nbsp;</td>
- <td><%ordnumber%>&nbsp;</td>
- <%if shippingdate%>
- <td><%shippingdate%></td>
- <%end shippingdate%>
-
- <%if not shippingdate%>
- <td><%transdate%></td>
- <%end shippingdate%>
-
- <td><%employee%>&nbsp;</td>
- <td><%warehouse%>&nbsp;</td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr bgcolor=000000>
- <th align=left><font color=ffffff>Pos</th>
- <th align=left><font color=ffffff>Number</th>
- <th align=left><font color=ffffff>Description</th>
- <th><font color=ffffff>Qty</th>
- <th><font color=ffffff>Ship</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Bin</th>
- </tr>
-
- <%foreach number%>
- <tr valign=top>
- <td><%runningnumber%>
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td align=right>[&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]</td>
- <td><%unit%></td>
- <td align=right><%bin%></td>
- </tr>
- <%end number%>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td><hr noshade></td>
- </tr>
-
-</table>
-
diff --git a/sql-ledger/templates/Default-pick_list.tex b/sql-ledger/templates/Default-pick_list.tex
deleted file mode 100644
index a23dc9f..0000000
--- a/sql-ledger/templates/Default-pick_list.tex
+++ /dev/null
@@ -1,143 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 37%>
-\end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}rlXrcll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} &
- \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\
-
-<%end pagebreak%>
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.5\textwidth}{
- \textbf{Ship To}
-} \hfill
-
-\vspace{0.7cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.5\textwidth}{
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-}
-\parbox[t]{.4\textwidth}{
- <%shiptocontact%>
-
- <%if shiptophone%>
- Tel: <%shiptophone%>
- <%end shiptophone%>
-
- <%if shiptofax%>
- Fax: <%shiptofax%>
- <%end shiptofax%>
-
- <%shiptoemail%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{P I C K} \parbox{0.3cm}{\hfill} \textbf{L I S T}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{7}{|X}|} \hline
- \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact}
- & \textbf{Warehouse} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em]
- \hline
- <%invnumber%> & <%ordnumber%>
- <%if shippingdate%>
- & <%shippingdate%>
- <%end shippingdate%>
- <%if not shippingdate%>
- & <%transdate%>
- <%end shippingdate%>
- & <%employee%>
- <%if warehouse%>
- & <%warehouse%>
- <%end warehouse%>
- & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}rlXrcll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} &
- \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> &
- <%qty%> & [\hspace{1cm}] & <%unit%> & <%bin%> \\
-<%end number%>
-\end{tabularx}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-}
-
-\end{document}
-
diff --git a/sql-ledger/templates/Default-pos_invoice.txt b/sql-ledger/templates/Default-pos_invoice.txt
deleted file mode 100644
index 9ec12f4..0000000
--- a/sql-ledger/templates/Default-pos_invoice.txt
+++ /dev/null
@@ -1,51 +0,0 @@
-<%company align=center width=40%>
-<%address align=center width=40%>
-
- Till: <%till align=left width=3%> Phone#: <%tel%>
-Clerk: <%username%>
-Sales: <%employee%>
-
-<%invtime%><%invnumber align=right width=16%>
-
- Qty Description Amount
-<%foreach number%>
-<%qty align=right width=5%> <%description align=left width=24 offset=6%> <%linetotal align=right width=9%>
- <%number%> @ <%sellprice%>/<%unit%>
-<%end number%>
-
-Number of items: <%rowcount%>
-<%if taxincluded%>
- ---------------
- Amount Due: <%invtotal align=right width=9%>
-<%end taxincluded%>
-<%if not taxincluded%>
- ------------
- Subtotal: <%subtotal align=right width=9%>
-<%end taxincluded%>
-<%foreach tax%>
-<%taxdescription align=right width=23%> @ <%taxrate align=right width=2%>%: <%tax align=right width=9%>
-<%end tax%>
- Amount Due: <%invtotal align=right width=9%>
-<%foreach payment%>
-<%paymentaccount align=right width=29%>: <%payment align=right width=9%> <%currency%>
-<%end payment%>
-<%if change%>
- Change: <%change align=right width=9%>
-<%end change%>
-<%if total%>
- Balance Due: <%total align=right width=9%>
-<%end total%>
-<%if discount%>
-
-<%discount%> % Discount applied
-<%end discount%>
-
- Thank you for your valued business!
-
-<%if taxincluded%>
-Taxes are included in price.
-<%end taxincluded%>
-
-
-
-
diff --git a/sql-ledger/templates/Default-purchase_order.html b/sql-ledger/templates/Default-purchase_order.html
deleted file mode 100644
index f353a11..0000000
--- a/sql-ledger/templates/Default-purchase_order.html
+++ /dev/null
@@ -1,252 +0,0 @@
-
-<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><img src=http://www.sql-ledger.org/images/sql-ledger.png border=0 width=64 height=58>
- </td>
-
- <td align=right>
- <h4>
- Tel: <%tel%>
- <br>Fax: <%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>
- <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><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
-<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><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
-<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 colspan=2>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left>Order #</th>
- <th width=17% align=left>Order Date</th>
- <th width=17% align=left>Required by</th>
- <th width=17% align=left>Contact</th>
- <th width=17% align=left>Shipping Point</th>
- <th width=15% align=left>Ship Via</th>
- </tr>
-
- <tr>
- <td><%ordnumber%></td>
- <td><%orddate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </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>%</th>
- <th><font color=ffffff>Amount</th>
- </tr>
-
-<%foreach number%>
- <tr valign=top>
-<!-- <td align=right><%runningnumber%>.</td>
-other per line item variables available <%reqdate%>
-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><%discountrate%></th>
- <td align=right><%linetotal%></td>
- </tr>
-<%end number%>
-
- <tr>
- <td colspan=7><hr noshade></td>
- </tr>
-
- <tr>
-<%if taxincluded%>
- <th colspan=6 align=right>Total</th>
- <th colspan=1 align=right><%ordtotal%></th>
-<%end taxincluded%>
-
-<%if not taxincluded%>
- <th colspan=6 align=right>Subtotal</th>
- <td colspan=1 align=right><%subtotal%></td>
-<%end taxincluded%>
- </tr>
-
-<%foreach tax%>
- <tr>
- <th colspan=6 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th>
- <td colspan=1 align=right><%tax%></td>
- </tr>
-<%end tax%>
-
- <tr>
- <td colspan=3>&nbsp;</td>
- <td colspan=4><hr noshade></td>
- </tr>
-
-<%if not taxincluded%>
- <th colspan=6 align=right>Total</th>
- <td colspan=1 align=right><%ordtotal%></td>
-<%end taxincluded%>
-
-<%if terms%>
- <tr>
- <td colspan=3>Terms Net <b><%terms%></b> days</td>
- <th colspan=3 align=right>Total</th>
- <th colspan=1 align=right><%ordtotal%></th>
- </tr>
-<%end terms%>
-
-<%if taxincluded%>
- <tr>
- <td colspan=2>Tax included</td>
- </tr>
-<%end taxincluded%>
-
- <tr>
- <td>&nbsp;</td>
- </tr>
-
-<%if ordtotal%>
- <tr>
- <td colspan=7 align=right>
- All prices in <b><%currency%></b> Funds
- </td>
- </tr>
-<%end ordtotal%>
-
- </table>
- </td>
- </tr>
-
-<tr>
- <td>
- <table width=100%>
-<%if notes%>
- <tr valign=top>
- <td>Notes</td>
- <td><%notes%></td>
- </tr>
-<%end notes%>
-
- </table>
- </td>
-</tr>
-
-<tr><td>&nbsp;</td></tr>
-
-<tr>
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=70%>&nbsp;</td>
-
- <td width=30%>
- 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
deleted file mode 100644
index 863b654..0000000
--- a/sql-ledger/templates/Default-purchase_order.tex
+++ /dev/null
@@ -1,195 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 48%>
-\end{tabularx}
-
- \rule{\textwidth}{2pt}
-
- \hfill
- \begin{tabularx}{7cm}{Xr@{}}
- Subtotal & <%sumcarriedforward%> \\
- \end{tabularx}
-
-\newpage
-
-\markright{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}lXrlrr@{}}
- \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
- \textbf{Unit} & \textbf{Price} & \textbf{Amount} \\
- & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.45\textwidth}{
-\textbf{To}
-\vspace{0.5cm}
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\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]{.45\textwidth}{
-\textbf{Ship To}
-\vspace{0.5cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-
-\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
-
-\vspace{1cm}
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{Order \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex]
- \hline
- <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}lXrlrr@{}}
- \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
- \textbf{Unit} & \textbf{Price} & \textbf{Amount} \\
-<%foreach number%>
- <%number%> & <%description%> & <%qty%> &
- <%unit%> & <%sellprice%> & <%linetotal%> \\
-<%end number%>
-\end{tabularx}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\vspace{0.2cm}
-
-\hfill
-\begin{tabularx}{7cm}{Xr@{}}
- Subtotal & <%subtotal%> \\
-<%foreach tax%>
- <%taxdescription%> on <%taxbase%> & <%tax%>\\
-<%end tax%>
- \hline
- Total & <%ordtotal%>\\
-\end{tabularx}
-
-\vspace{0.3cm}
-
-\hfill
- All prices 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/Default-receipt.tex b/sql-ledger/templates/Default-receipt.tex
deleted file mode 100644
index 7f25a21..0000000
--- a/sql-ledger/templates/Default-receipt.tex
+++ /dev/null
@@ -1,78 +0,0 @@
-\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%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{1.8cm}
-
-<%memo%>
-
-\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}
-
-\vspace{1cm}
-
-<%memo%>
-
-\vfill
-
-\end{document}
diff --git a/sql-ledger/templates/Default-request_quotation.html b/sql-ledger/templates/Default-request_quotation.html
deleted file mode 100644
index a9a6f4f..0000000
--- a/sql-ledger/templates/Default-request_quotation.html
+++ /dev/null
@@ -1,202 +0,0 @@
-
-<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><img src=http://www.sql-ledger.org/images/sql-ledger.png border=0 width=64 height=58>
- </td>
-
- <td align=right>
- <h4>
- Tel: <%tel%>
- <br>Fax: <%fax%>
- </h4>
- </td>
- </tr>
-
- <tr>
- <th colspan=3>
- <h4>R E Q U E S T &nbsp;&nbsp; F O R &nbsp;&nbsp; Q U O T A T I O N</h4>
- </th>
- </tr>
-
- </table>
-
-
- <table width=100% callspacing=0 cellpadding=0>
-
- <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><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
-<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><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddr2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
-<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 colspan=2>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left>RFQ #</th>
- <th width=17% align=left>Date</th>
- <th width=17% align=left>Required by</th>
- <th width=17% align=left>Contact</th>
- <th width=17% align=left>Shipping Point</th>
- <th width=15% align=left>Ship via</th>
- </tr>
-
- <tr>
- <td><%quonumber%></td>
- <td><%quodate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height="10"></tr>
-
- <tr>
- <td>Please provide price and delivery time for the following items:</td>
- </tr>
-
- <tr height="10"></tr>
-
- <tr>
- <td>
- <table width=100%>
- <tr>
-<!-- <th align=right>No.</th> -->
- <th align=left>Number</th>
- <th align=left><font color=ffffff>Description</th>
- <th>Qt'y</th>
- <th>&nbsp;</th>
- <th>Delivery</th>
- <th>Unit Price</th>
- <th>Extended</th>
- </tr>
-
-<%foreach number%>
- <tr valign=top>
-<!-- <td align=right><%runningnumber%>.</td>
-other per line item variables available <%reqdate%>
-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>
-
- </tr>
-<%end number%>
-
- <tr>
- <td colspan=7><hr noshade></td>
- </tr>
-
- </table>
- </td>
- </tr>
-
-<tr>
- <td>
- <table width=100%>
-<%if notes%>
- <tr valign=top>
- <td>Notes</td>
- <td><%notes%></td>
- </tr>
-<%end notes%>
-
- </table>
- </td>
-</tr>
-
-<tr><td>&nbsp;</td></tr>
-
-<tr>
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=70%>&nbsp;</td>
-
- <td width=30%>
- X <hr noshade>
- </td>
- </tr>
- </table>
- </td>
-</tr>
-
-</table>
-
-</td>
-</tr>
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Default-request_quotation.tex b/sql-ledger/templates/Default-request_quotation.tex
deleted file mode 100644
index 4e9cfe0..0000000
--- a/sql-ledger/templates/Default-request_quotation.tex
+++ /dev/null
@@ -1,175 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 48%>
-\end{tabularx}
-
- \rule{\textwidth}{2pt}
-
- \hfill
- \begin{tabularx}{7cm}{Xr@{}}
- \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
- \end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}lXrlrr@{}}
- \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
- \textbf{Unit} & \textbf{Price} & \textbf{Extended} \\
- & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.45\textwidth}{
-\textbf{To}
-\vspace{0.7cm}
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-\vspace{0.2cm}
-<%end contact%>
-
-<%if vendorphone%>
-Tel: <%vendorphone%>
-<%end vendorphone%>
-
-<%if vendorfax%>
-Fax: <%vendorfax%>
-<%end vendorfax%>
-
-<%email%>
-}
-\parbox[t]{.45\textwidth}{
-\textbf{Ship To}
-\vspace{0.7cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-
-\vspace{0.3cm}
-
-<%if shiptocontact%>
-<%shiptocontact%>
-\vspace{0.2cm}
-<%end shiptocontact%>
-
-<%if shiptophone%>
-Tel: <%shiptophone%>
-<%end shiptophone%>
-
-<%if shiptofax%>
-Fax: <%shiptofax%>
-<%end shiptofax%>
-
-<%shiptoemail%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{R E Q U E S T for Q U O T A T I O N}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{RFQ \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex]
- \hline
- <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-Please provide price and delivery time for the following items:
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}lXrllrr@{}}
- \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & &
- \textbf{Delivery} & \textbf{Unit Price} & \textbf{Extended} \\
-<%foreach number%>
- <%number%> & <%description%> & <%qty%> & <%unit%> \\
-<%end number%>
-\end{tabularx}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\hfill
-
-<%notes%>
-
-}
-
-\end{document}
-
diff --git a/sql-ledger/templates/Default-sales_order.html b/sql-ledger/templates/Default-sales_order.html
deleted file mode 100644
index 5d12e6b..0000000
--- a/sql-ledger/templates/Default-sales_order.html
+++ /dev/null
@@ -1,245 +0,0 @@
-
-<body bgcolor=ffffff>
-
-<table width=100%>
- <tr>
- <td width=10>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=bottom>
- <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 A L E S &nbsp;&nbsp; O R D E R</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <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><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%>
- <br><%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
- <%if contact%>
- <br>Attn: <%contact%>
- <%end contact%>
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
- <%if email%>
- <br><%email%>
- <%end email%>
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%>
- <br><%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
- <br>
- <%if shiptocontact%>
- <br><%shiptocontact%>
- <%end shiptocontact%>
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
- <%if shiptoemail%>
- <br><%shiptoemail%>
- <%end shiptoemail%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left nowrap>Order Number</th>
- <th width=17% align=left>Order Date</th>
- <th width=17% align=left>Required by</th>
- <th width=17% align=left nowrap>Salesperson</th>
- <th width=17% align=left nowrap>Shipping Point</th>
- <th width=15% align=left nowrap>Ship Via</th>
- </tr>
-
- <tr>
- <td><%ordnumber%></td>
- <td><%orddate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <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>
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td align=right><%sellprice%></td>
- <td align=right><%discountrate%></td>
- <td align=right><%linetotal%></td>
- </tr>
- <%end number%>
-
- <tr>
- <td colspan=8><hr noshade></td>
- </tr>
-
- <tr>
- <%if taxincluded%>
- <th colspan=6 align=right>Total</th>
- <td colspan=2 align=right><%invtotal%></td>
- <%end taxincluded%>
-
- <%if not taxincluded%>
- <th colspan=6 align=right>Subtotal</th>
- <td colspan=2 align=right><%subtotal%></td>
- <%end taxincluded%>
- </tr>
-
- <%foreach tax%>
- <tr>
- <th colspan=6 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th>
- <td colspan=2 align=right><%tax%></td>
- </tr>
- <%end tax%>
-
- <tr>
- <td colspan=4>&nbsp;</td>
- <td colspan=4><hr noshade></td>
- </tr>
-
- <tr>
- <td colspan=4>
- <%text_amount%> ***** <%decimal%>/100
- <%if terms%>
- <br>Terms Net <b><%terms%></b> days
- <%end terms%>
- </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>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=top>
- <%if notes%>
- <td>Notes</td>
- <td><%notes%></td>
- <%end notes%>
- <td align=right nowrap>
- All prices in <%currency%> Funds</b>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=60%><font size=-3>
- Special order items are subject to a 10% order cancellation fee.
- </font>
- </td>
- <td width=40%>
- X <hr noshade>
- </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
deleted file mode 100644
index 0269419..0000000
--- a/sql-ledger/templates/Default-sales_order.tex
+++ /dev/null
@@ -1,207 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{%
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5em]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 48%>
-\end{tabularx}
-
- \rule{\textwidth}{2pt}
-
- \hfill
- \begin{tabularx}{7cm}{Xr@{}}
- \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
- \end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}rlXrlrrr@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
- \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\
- & carried forward from <%lastpage%> & & & & & <%sumcarriedforward%> \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.45\textwidth}{
-\textbf{To}
-\vspace{0.7cm}
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-\vspace{0.2cm}
-<%end contact%>
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\parbox[t]{.45\textwidth}{
-\textbf{Ship To}
-\vspace{0.7cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-
-\vspace{0.3cm}
-
-<%if shiptocontact%>
-<%shiptocontact%>
-\vspace{0.2cm}
-<%end shiptocontact%>
-
-<%if shiptophone%>
-Tel: <%shiptophone%>
-<%end shiptophone%>
-
-<%if shiptofax%>
-Fax: <%shiptofax%>
-<%end shiptofax%>
-
-<%shiptoemail%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{S A L E S} \parbox{0.3cm}{\hfill} \textbf{O R D E R}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship Via} \\ [0.5em]
- \hline
- <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}rlXrlrrr@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
- \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> & <%qty%> &
- <%unit%> & <%sellprice%> & <%discountrate%> & <%linetotal%> \\
-<%end number%>
-\end{tabularx}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\vspace{0.2cm}
-
-\hfill
-\begin{tabularx}{7cm}{Xr@{}}
- Subtotal & <%subtotal%> \\
-<%foreach tax%>
- <%taxdescription%> on <%taxbase%> & <%tax%>\\
-<%end tax%>
- \hline
- Total & <%ordtotal%>\\
-\end{tabularx}
-
-\vspace{0.3cm}
-
-<%text_amount%> ***** <%decimal%>/100
-\hfill
-All prices in \textbf{<%currency%>}.
-
-<%if terms%>
-Terms: <%terms%> days
-<%end terms%>
-
-\vspace{12pt}
-
-<%notes%>
-
-}
-
-\vfill
-
-\vspace{1cm}
-
-\centerline{\textbf{Thank You for your valued business!}}
-
-\rule{\textwidth}{0.5pt}
-
-\end{document}
-
-
-
-
-
-
diff --git a/sql-ledger/templates/Default-sales_quotation.html b/sql-ledger/templates/Default-sales_quotation.html
deleted file mode 100644
index cc57a5c..0000000
--- a/sql-ledger/templates/Default-sales_quotation.html
+++ /dev/null
@@ -1,225 +0,0 @@
-
-<body bgcolor=ffffff>
-
-<table width=100%>
-<tr valign=bottom>
- <td width=10>&nbsp;</td>
- <td>
-
- <table width=100%>
- <tr valign=top>
- <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><td colspan=3>&nbsp;</td></tr>
-
- <tr>
- <th colspan=3>
- <h4>Q U O T A T I O N</h4>
- </th>
- </tr>
-
- </table>
-
- <table width=100% callspacing=0 cellpadding=0>
-
- <tr>
- <td>
- <table width=100%>
-
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
-
- <br>
- <%if contact%>
- <br>Attn: <%contact%>
- <%end contact%>
-
- <%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><td>&nbsp;</td></tr>
-
- <tr>
- <td colspan=2>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left nowrap>Number</th>
- <th width=17% align=left>Date</th>
- <th width=17% align=left>Valid until</th>
- <th width=17% align=left nowrap>Contact</th>
- <th width=17% align=left nowrap>Shipping Point</th>
- <th width=15% align=left nowrap>Ship via</th>
- </tr>
-
- <tr>
- <td><%quonumber%></td>
- <td><%quodate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</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>
-
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td align=right><%sellprice%></td>
- <td align=right><%discountrate%></td>
- <td align=right><%linetotal%></td>
- </tr>
-<%end number%>
-
- <tr>
- <td colspan=8><hr noshade></td>
- </tr>
-
- <tr>
-<%if taxincluded%>
- <th colspan=6 align=right>Total</th>
- <td colspan=2 align=right><%invtotal%></td>
-<%end taxincluded%>
-
-<%if not taxincluded%>
- <th colspan=6 align=right>Subtotal</th>
- <td colspan=2 align=right><%subtotal%></td>
-<%end taxincluded%>
- </tr>
-
-<%foreach tax%>
- <tr>
- <th colspan=6 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th>
- <td colspan=2 align=right><%tax%></td>
- </tr>
-<%end tax%>
-
- <tr>
- <td colspan=4>&nbsp;</td>
- <td colspan=4><hr noshade></td>
- </tr>
-
- <tr>
- <td colspan=4>&nbsp;
-<%if terms%>
- Terms Net <b><%terms%></b> days
-<%end terms%>
- </td>
- <th colspan=2 align=right>Total</th>
- <th colspan=2 align=right><%quototal%></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
- </td>
- </tr>
-
- </table>
- </td>
-</tr>
-
-<tr><td>&nbsp;</td></tr>
-
-<tr>
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=60%><font size=-3>
- Special order items are subject to a 10% cancellation fee.
- </font>
- </td>
- <td width=40%>
- X <hr noshade>
- </td>
- </tr>
- </table>
- </td>
-</tr>
-
-</table>
-
-</td>
-</tr>
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Default-sales_quotation.tex b/sql-ledger/templates/Default-sales_quotation.tex
deleted file mode 100644
index acc4870..0000000
--- a/sql-ledger/templates/Default-sales_quotation.tex
+++ /dev/null
@@ -1,157 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 48%>
-\end{tabular*}
-
- \rule{\textwidth}{2pt}
-
- \hfill
- \begin{tabularx}{7cm}{Xr@{}}
- \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
- \end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%quonumber%>}{<%company%>\hfill <%quonumber%>}
-
-\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%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.45\textwidth}{
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%contact%>
-
-\vspace{0.2cm}
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-
-\vspace{1cm}
-
-\textbf{Q U O T A T I O N}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{Quotation \#} & \textbf{Date} & \textbf{Valid until} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex]
- \hline
- <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\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%> & <%discountrate%> & <%linetotal%> \\
-<%end number%>
-\end{tabular*}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\vspace{0.2cm}
-
-\hfill
-\begin{tabularx}{7cm}{Xr@{}}
- Subtotal & <%subtotal%> \\
-<%foreach tax%>
- <%taxdescription%> on <%taxbase%> & <%tax%>\\
-<%end tax%>
- \hline
- Total & <%quototal%>\\
-\end{tabularx}
-
-\vspace{0.3cm}
-
-\hfill
- All prices in \textbf{<%currency%>}.
-
-\vspace{12pt}
-
-<%notes%>
-
-}
-
-\vfill
-
-\end{document}
-
-
diff --git a/sql-ledger/templates/Default-statement.html b/sql-ledger/templates/Default-statement.html
deleted file mode 100644
index f00ad0e..0000000
--- a/sql-ledger/templates/Default-statement.html
+++ /dev/null
@@ -1,134 +0,0 @@
-
-<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><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <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 align=left>Order#</th>
-<th align=left>Notes</th>
- <th width=10%>Date</th>
- <th width=10%>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><%ordnumber%></td>
-<td><%notes%></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=9><hr size=1></td>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td>&nbsp;</td>
- <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>
-
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Default-statement.tex b/sql-ledger/templates/Default-statement.tex
deleted file mode 100644
index 3edeacc..0000000
--- a/sql-ledger/templates/Default-statement.tex
+++ /dev/null
@@ -1,110 +0,0 @@
-\documentclass[english,twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{babel}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-\begin{document}
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{%
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5em]{\textwidth}{0.5pt}
-}
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.45\textwidth}{
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-}
-\parbox[t]{.45\textwidth}{
-<%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 \textbf{<%statementdate%>}
-
-\vspace{2cm}
-
-\begin{tabularx}{\textwidth}{|llXccrrrr|}
- \hline
- \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Notes} &
- \textbf{Date} & \textbf{Due} &
- \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\
- \hline
-<%foreach invnumber%>
- <%invnumber%> & <%ordnumber%> & <%notes%> & <%invdate%> & <%duedate%> &
- <%c0%> & <%c30%> & <%c60%> & <%c90%> \\
-<%end invnumber%>
- \multicolumn{9}{|l|}{\mbox{}} \\
- \hline
- \textbf{Subtotal} & & & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%> \\
- \hline
-\end{tabularx}
-
-\vspace{0.5cm}
-
-\hfill
-\begin{tabularx}{.4\textwidth}{Xr@{}}
- \textbf{Total outstanding} & \textbf{<%total%>}
-\end{tabularx}
-
-\vfill
-
-Please make check payable to <%company%>
-
-\end{document}
-
-
diff --git a/sql-ledger/templates/Default-work_order.html b/sql-ledger/templates/Default-work_order.html
deleted file mode 100644
index 64674cd..0000000
--- a/sql-ledger/templates/Default-work_order.html
+++ /dev/null
@@ -1,177 +0,0 @@
-
-<body bgcolor=ffffff>
-
-<table width=100%>
- <tr>
- <td width=10>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=bottom>
- <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>W O R K &nbsp;&nbsp; O R D E R</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <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><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%>
- <br><%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
- <%if contact%>
- <br>Attn: <%contact%>
- <%end contact%>
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
- <%if email%>
- <br><%email%>
- <%end email%>
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%>
- <br><%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
- <br>
- <%if shiptocontact%>
- <br><%shiptocontact%>
- <%end shiptocontact%>
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
- <%if shiptoemail%>
- <br><%shiptoemail%>
- <%end shiptoemail%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left nowrap>Order Number</th>
- <th width=17% align=left>Order Date</th>
- <th width=17% align=left>Required by</th>
- <th width=17% align=left nowrap>Salesperson</th>
- <th width=17% align=left nowrap>Shipping Point</th>
- <th width=15% align=left nowrap>Ship Via</th>
- </tr>
-
- <tr>
- <td><%ordnumber%></td>
- <td><%orddate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <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>Bin</th>
- <th><font color=ffffff>Serial No.</th>
- </tr>
-
- <%foreach number%>
- <tr valign=top>
- <td align=right><%runningnumber%>.</td>
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td><%bin%></td>
- <td><%serialnumber%></td>
- </tr>
- <%end number%>
-
- <tr>
- <td colspan=7><hr noshade></td>
- </tr>
-
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <%if notes%>
- <td><%notes%></td>
- <%end notes%>
- </tr>
-</table>
-
-</body>
-</html>
-
-
diff --git a/sql-ledger/templates/Default-work_order.tex b/sql-ledger/templates/Default-work_order.tex
deleted file mode 100644
index cb6774d..0000000
--- a/sql-ledger/templates/Default-work_order.tex
+++ /dev/null
@@ -1,177 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{%
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5em]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 48%>
-\end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}rlXrll@{}}
- \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
- & \textbf{Serial Number} \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.45\textwidth}{
-\textbf{To}
-\vspace{0.7cm}
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-\vspace{0.2cm}
-<%end contact%>
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\parbox[t]{.45\textwidth}{
-\textbf{Ship To}
-\vspace{0.7cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-
-\vspace{0.3cm}
-
-<%if shiptocontact%>
-<%shiptocontact%>
-\vspace{0.2cm}
-<%end shiptocontact%>
-
-<%if shiptophone%>
-Tel: <%shiptophone%>
-<%end shiptophone%>
-
-<%if shiptofax%>
-Fax: <%shiptofax%>
-<%end shiptofax%>
-
-<%shiptoemail%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{W O R K} \parbox{0.3cm}{\hfill} \textbf{O R D E R}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship Via} \\ [0.5em]
- \hline
- <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}rlXrll@{}}
- \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
- & \textbf{Serial Number} \\
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> & <%qty%> &
- <%unit%> & <%serialnumber%> \\
-<%end number%>
-\end{tabularx}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\vspace{12pt}
-
-<%if notes%>
- <%notes%>
-<%end if%>
-
-}
-
-\vfill
-
-\vspace{1cm}
-
-\rule{\textwidth}{0.5pt}
-
-\end{document}
-
-
-
-
-
-
diff --git a/sql-ledger/templates/Dutch-ap_transaction.html b/sql-ledger/templates/Dutch-ap_transaction.html
deleted file mode 100644
index c7bae85..0000000
--- a/sql-ledger/templates/Dutch-ap_transaction.html
+++ /dev/null
@@ -1,229 +0,0 @@
-
-<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>
- <hr noshade><br>
- <h4>A P - T R A N S A C T I O N</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
-
- <%if contact%>
- <br><%contact%>
- <br>
- <%end contact%>
-
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
-
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
-
- <%if email%>
- <br><%email%>
- <%end email%>
- </td>
-
- <td align=right>
- <table>
- <tr>
- <th align=left nowrap>Invoice #</th>
- <td><%invnumber%></td>
- </tr>
- <tr>
- <th align=left nowrap>Date</th>
- <td><%invdate%></td>
- </tr>
- <tr>
- <th align=left nowrap>Due</th>
- <td><%duedate%></td>
- </tr>
- <tr>
- <th align=left>Order #</th>
- <td><%ordnumber%>&nbsp;</td>
- </tr>
- <tr>
- <th align=left nowrap>Employee</th>
- <td><%employee%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=50%>
- <table>
- <%foreach account%>
- <tr valign=top>
- <td><%accno%></td>
- <td><%account%></td>
- <td align=right><%amount%></td>
- <td><%projectnumber%></td>
- </tr>
- <%end account%>
-
- <tr>
- <%if taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Subtotal</th>
- <td align=right><%subtotal%></td>
- <%end taxincluded%>
- </tr>
-
- <%foreach tax%>
- <tr>
- <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th>
- <td align=right><%tax%></td>
- </tr>
- <%end tax%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- </table>
- </td>
- <td width=50%>
- <%notes%>
- </td>
- </tr>
- </table>
- </td>
- <tr>
- <td>&nbsp;</td>
-
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <%text_amount%> ***** <%decimal%>/100 <%currency%>
- </td>
- </tr>
-
- <%if paid%>
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table>
- <tr>
- <th>Payments</th>
- </tr>
-
- <tr>
- <td>
- <hr noshade>
- </td>
- </tr>
-
- <tr>
- <td>
- <table>
- <tr>
- <th align=left>Date</th>
- <th align=left>Account</th>
- <th align=left>Source</th>
- <th align=left>Memo</th>
- <th align=left>Amount</th>
- </tr>
- <%end paid%>
-
- <%foreach payment%>
- <tr>
- <td><%paymentdate%></td>
- <td><%paymentaccount%></td>
- <td><%paymentsource%></td>
- <td><%paymentmemo%></td>
- <td><%payment%></td>
- </tr>
- <%end payment%>
-
- <%if paid%>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <%end paid%>
-
- <tr height=10></tr>
-
- <%if taxincluded%>
- <tr>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th>
- </tr>
- <%end taxincluded%>
-
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Dutch-ap_transaction.tex b/sql-ledger/templates/Dutch-ap_transaction.tex
deleted file mode 100644
index 8bfd9f7..0000000
--- a/sql-ledger/templates/Dutch-ap_transaction.tex
+++ /dev/null
@@ -1,125 +0,0 @@
-\documentclass[10pt,letterpaper,oneside,onecolumn]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{%
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5em]{\textwidth}{0.5pt}
-}
-
-\centerline{\textbf{A P} \hspace{0.3cm} \textbf{T R A N S A C T I O N}}
-
-\vspace*{0.5cm}
-
-\parbox[t]{.5\textwidth}{
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-<%end contact%>
-
-\vspace{0.2cm}
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\hfill
-\begin{tabular}[t]{ll}
- \textbf{Invoice \#} & <%invnumber%> \\
- \textbf{Date} & <%invdate%> \\
- \textbf{Due} & <%duedate%> \\
- \textbf{Order \#} & <%ordnumber%> \\
- \textbf{Employee} & <%employee%> \\
-\end{tabular}
-
-\vspace{1cm}
-
-\begin{tabularx}{.5\textwidth}[t]{@{}llrl@{}}
-<%foreach amount%>
- <%accno%> & <%account%> & <%amount%> & <%projectnumber%> \\
-<%end amount%>
-
- \multicolumn{2}{r}{\textbf{Subtotal}} & <%subtotal%> & \\
-<%foreach tax%>
- \multicolumn{2}{r}{\textbf{<%taxdescription%> @ <%taxrate%> \%}} & <%tax%> & \\
-<%end tax%>
-
- \multicolumn{2}{r}{\textbf{Total}} & <%invtotal%> & \\
-
-\end{tabularx}
-<%notes%>
-
-\vspace{0.3cm}
-
-<%text_amount%> ***** <%decimal%>/100 <%currency%>
-
-\vspace{0.3cm}
-
-<%if paid%>
-\begin{tabular}{@{}llllr@{}}
- \multicolumn{5}{c}{\textbf{Payments}} \\
- \hline
- \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\
-<%end paid%>
-<%foreach payment%>
- <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%paymentmemo%> & <%payment%> \\
-<%end payment%>
-<%if paid%>
-\end{tabular}
-<%end paid%>
-
-\end{document}
-
diff --git a/sql-ledger/templates/Dutch-ar_transaction.html b/sql-ledger/templates/Dutch-ar_transaction.html
deleted file mode 100644
index dbd0a1c..0000000
--- a/sql-ledger/templates/Dutch-ar_transaction.html
+++ /dev/null
@@ -1,237 +0,0 @@
-
-<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>
- <hr noshade><br>
- <h4>A R - T R A N S A C T I O N</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
-
- <%if contact%>
- <br><%contact%>
- <br>
- <%end contact%>
-
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
-
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
-
- <%if email%>
- <br><%email%>
- <%end email%>
- </td>
-
- <td align=right>
- <table>
- <tr>
- <th align=left nowrap>Invoice #</th>
- <td><%invnumber%></td>
- </tr>
- <tr>
- <th align=left nowrap>Date</th>
- <td><%invdate%></td>
- </tr>
- <tr>
- <th align=left nowrap>Due</th>
- <td><%duedate%></td>
- </tr>
- <tr>
- <th align=left>Order #</th>
- <td><%ordnumber%>&nbsp;</td>
- </tr>
- <tr>
- <th align=left nowrap>Salesperson</th>
- <td><%employee%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=50%>
- <table>
- <%foreach account%>
- <tr valign=top>
- <td><%accno%></td>
- <td><%account%></td>
- <td align=right><%amount%></td>
- <td><%projectnumber%></td>
- </tr>
- <%end account%>
-
- <tr>
- <%if taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Subtotal</th>
- <td align=right><%subtotal%></td>
- <%end taxincluded%>
- </tr>
-
- <%foreach tax%>
- <tr>
- <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th>
- <td align=right><%tax%></td>
- </tr>
- <%end tax%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- </table>
- </td>
- <td width=50%>
- <%notes%>
- </td>
- </tr>
- </table>
- </td>
- <tr>
- <td>&nbsp;</td>
-
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <%text_amount%> ***** <%decimal%>/100 <%currency%>
- </td>
- </tr>
-
- <%if paid%>
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table>
- <tr>
- <th>Payments</th>
- </tr>
-
- <tr>
- <td>
- <hr noshade>
- </td>
- </tr>
-
- <tr>
- <td>
- <table>
- <tr>
- <th align=left>Date</th>
- <th align=left>Account</th>
- <th align=left>Source</th>
- <th align=left>Memo</th>
- <th align=left>Amount</th>
- </tr>
- <%end paid%>
-
- <%foreach payment%>
- <tr>
- <td><%paymentdate%></td>
- <td><%paymentaccount%></td>
- <td><%paymentsource%></td>
- <td><%paymentmemo%></td>
- <td><%payment%></td>
- </tr>
- <%end payment%>
-
- <%if paid%>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <%end paid%>
-
- <tr height=10></tr>
-
- <%foreach tax%>
- <tr>
- <td>&nbsp;</td>
-
- <th colspan=9 align=left><font size=-2><%taxdescription%> Registration <%taxnumber%></th>
- </tr>
- <%end tax%>
-
- <%if taxincluded%>
- <tr>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th>
- </tr>
- <%end taxincluded%>
-
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Dutch-ar_transaction.tex b/sql-ledger/templates/Dutch-ar_transaction.tex
deleted file mode 100644
index 654d2b9..0000000
--- a/sql-ledger/templates/Dutch-ar_transaction.tex
+++ /dev/null
@@ -1,131 +0,0 @@
-\documentclass[10pt,letterpaper,oneside,onecolumn]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{%
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5em]{\textwidth}{0.5pt}
-}
-
-\centerline{\textbf{A R} \hspace{0.3cm} \textbf{T R A N S A C T I O N}}
-
-\vspace*{0.5cm}
-
-\parbox[t]{.5\textwidth}{
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-<%end contact%>
-
-\vspace{0.2cm}
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\hfill
-\begin{tabular}[t]{ll}
- \textbf{Invoice \#} & <%invnumber%> \\
- \textbf{Date} & <%invdate%> \\
- \textbf{Due} & <%duedate%> \\
- \textbf{Order \#} & <%ordnumber%> \\
- \textbf{Employee} & <%employee%> \\
-\end{tabular}
-
-\vspace{1cm}
-
-\begin{tabularx}{.5\textwidth}[t]{@{}llrl@{}}
-<%foreach amount%>
- <%accno%> & <%account%> & <%amount%> & <%projectnumber%> \\
-<%end amount%>
-
- \multicolumn{2}{r}{\textbf{Subtotal}} & <%subtotal%> & \\
-<%foreach tax%>
- \multicolumn{2}{r}{\textbf{<%taxdescription%> @ <%taxrate%> \%}} & <%tax%> & \\
-<%end tax%>
-
- \multicolumn{2}{r}{\textbf{Total}} & <%invtotal%> & \\
-
-\end{tabularx}
-<%notes%>
-
-\vspace{0.3cm}
-
-<%text_amount%> ***** <%decimal%>/100 <%currency%>
-
-\vspace{0.3cm}
-
-<%if paid%>
-\begin{tabular}{@{}llllr@{}}
- \multicolumn{5}{c}{\textbf{Payments}} \\
- \hline
- \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\
-<%end paid%>
-<%foreach payment%>
- <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%paymentmemo%> & <%payment%> \\
-<%end payment%>
-<%if paid%>
-\end{tabular}
-<%end paid%>
-
-\vspace{0.5cm}
-
-<%foreach tax%>
-\textbf{\small{<%taxdescription%> Registration <%taxnumber%>}} \\
-<%end tax%>
-
-\end{document}
-
diff --git a/sql-ledger/templates/Dutch-balance_sheet.html b/sql-ledger/templates/Dutch-balance_sheet.html
deleted file mode 100644
index 5eef5f5..0000000
--- a/sql-ledger/templates/Dutch-balance_sheet.html
+++ /dev/null
@@ -1,110 +0,0 @@
-
-<body>
-
-<h2 align=center>
-<%company%>
-<br><%address%>
-
-<p>BALANS
-<br>per <%this_period%>
-</h2>
-
-<%if department%>
-<h4>Afdeling: <%department%></h4>
-<%end department%>
-
-<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>EIGEN VERMOGEN<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 Eigen Vermogen</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 & EIGEN VERMOGEN</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-bin_list.html b/sql-ledger/templates/Dutch-bin_list.html
deleted file mode 100644
index c945421..0000000
--- a/sql-ledger/templates/Dutch-bin_list.html
+++ /dev/null
@@ -1,189 +0,0 @@
-
-<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>
-
- <th align=right>
- <h4>
- Tel: <%tel%>
- <br>Fax: <%fax%>
- </h4>
- </td>
- </tr>
-
- <tr>
- <th colspan=3>
- <h4>B I N &nbsp;&nbsp; L I S T</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% cellspacing=0 cellpadding=0>
- <tr bgcolor=000000>
- <th align=left width=50%><font color=ffffff>From</th>
- <th align=left width=50%><font color=ffffff>Ship To</th>
- </tr>
-
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
-
- <%if contact%>
- <br>Attn: <%contact%>
- <%end contact%>
-
- <%if vendorphone%>
- <br>Tel: <%vendorphone%>
- <%end vendorphone%>
-
- <%if vendorfax%>
- <br>Fax: <%vendorfax%>
- <%end vendorfax%>
-
- <%if email%>
- <br><%email%>
- <%end email%>
-
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
-
- <br>
- <%if shiptocontact%>
- <br>Attn: <%shiptocontact%>
- <%end shiptocontact%>
-
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
-
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left nowrap>Order #</th>
- <th width=17% align=left nowrap>Date</th>
- <th width=17% align=left nowrap>Contact</th>
- <%if warehouse%>
- <th width=17% align=left nowrap>Warehouse</th>
- <%end warehouse%>
- <th width=17% align=left>Shipping Point</th>
- <th width=15% align=left>Ship via</th>
- </tr>
-
- <tr>
- <td><%ordnumber%>&nbsp;</td>
-
- <%if shippingdate%>
- <td><%shippingdate%></td>
- <%end shippingdate%>
-
- <%if not shippingdate%>
- <td><%orddate%></td>
- <%end shippingdate%>
-
- <td><%employee%>&nbsp;</td>
-
- <%if warehouse%>
- <td><%warehouse%></td>
- <%end warehouse%>
-
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr bgcolor=000000>
- <th align=left><font color=ffffff>Pos</th>
- <th align=left><font color=ffffff>Number</th>
- <th align=left><font color=ffffff>Description</th>
- <th><font color=ffffff>Serialnumber</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Qty</th>
- <th><font color=ffffff>Recd</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Bin</th>
- </tr>
-
- <%foreach number%>
- <tr valign=top>
- <td><%runningnumber%></td>
- <td><%number%></td>
- <td><%description%></td>
- <td><%serialnumber%></td>
- <td><%deliverydate%></td>
- <td align=right><%qty%></td>
- <td align=right><%ship%></td>
- <td><%unit%></td>
- <td><%bin%></td>
- </tr>
- <%end number%>
-
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td><hr noshade></td>
- </tr>
-
-</table>
-
diff --git a/sql-ledger/templates/Dutch-bin_list.tex b/sql-ledger/templates/Dutch-bin_list.tex
deleted file mode 100644
index 034fd72..0000000
--- a/sql-ledger/templates/Dutch-bin_list.tex
+++ /dev/null
@@ -1,147 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 37%>
-\end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}rlXllrrll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.5\textwidth}{
-\textbf{From}
-\vspace{0.7cm}
-
-<%name%>
-
-<%address1%>
-
-<%if %address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country4%>
-<%end country%>
-}
-\parbox[t]{.4\textwidth}{
-\textbf{Ship To}
-\vspace{0.7cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%if shiptoaddress2%>
-<%shiptoaddress2%>
-<%end shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{B I N} \parbox{0.3cm}{\hfill} \textbf{L I S T}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{Order \#} & \textbf{Date} & \textbf{Contact}
- <%if warehouse%>
- & \textbf{Warehouse}
- <%end warehouse%>
- & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em]
- \hline
-
- <%ordnumber%>
- <%if shippingdate%>
- & <%shippingdate%>
- <%end shippingdate%>
- <%if not shippingdate%>
- & <%orddate%>
- <%end shippingdate%>
- & <%employee%>
- <%if warehouse%>
- & <%warehouse%>
- <%end warehouse%>
- & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}rlXllrrll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\
-
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> &
- <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> & <%bin%> \\
-<%end number%>
-\end{tabularx}
-
-
-\rule{\textwidth}{2pt}
-
-\end{document}
-
diff --git a/sql-ledger/templates/Dutch-check.tex b/sql-ledger/templates/Dutch-check.tex
deleted file mode 100644
index 6742b5b..0000000
--- a/sql-ledger/templates/Dutch-check.tex
+++ /dev/null
@@ -1,75 +0,0 @@
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\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
deleted file mode 100644
index c4c1cfb..0000000
--- a/sql-ledger/templates/Dutch-income_statement.html
+++ /dev/null
@@ -1,81 +0,0 @@
-
-<body>
-
-<h2 align=center>
-<%company%>
-<br><%address%>
-
-<p>INKOMSTEN OVERZICHT
-<br><%period%>
-</h2>
-
-<%if department%>
-<h4>Afdeling: <%department%></h4>
-<%end department%>
-
-<%if projectnumber%>
-<h4>Project Nummer: <%projectnumber%></h4>
-<%end projectnumber%>
-
-<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>UITGAVEN<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 UITGAVEN</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
deleted file mode 100644
index 1ebb63a..0000000
--- a/sql-ledger/templates/Dutch-invoice.html
+++ /dev/null
@@ -1,248 +0,0 @@
-
-<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><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
-<br><%shiptoaddress2%>
-<%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
- </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
-to show the percentage for a discount use <%discountrate%>
--->
-
- <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
deleted file mode 100644
index 6cd7a83..0000000
--- a/sql-ledger/templates/Dutch-invoice.tex
+++ /dev/null
@@ -1,142 +0,0 @@
-\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 37%>
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\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
deleted file mode 100644
index aea6ba7..0000000
--- a/sql-ledger/templates/Dutch-packing_list.html
+++ /dev/null
@@ -1,121 +0,0 @@
-
-<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
deleted file mode 100644
index be19440..0000000
--- a/sql-ledger/templates/Dutch-packing_list.tex
+++ /dev/null
@@ -1,114 +0,0 @@
-\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 37%>
-\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-pick_list.html b/sql-ledger/templates/Dutch-pick_list.html
deleted file mode 100644
index 7548560..0000000
--- a/sql-ledger/templates/Dutch-pick_list.html
+++ /dev/null
@@ -1,153 +0,0 @@
-
-<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>P I C K &nbsp;&nbsp; L I S T</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <tr bgcolor=000000>
- <th width=50% align=left><font color=ffffff>Ship To:</th>
- <th width=50%>&nbsp;</th>
- </tr>
-
- <tr valign=top>
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
- </td>
-
- <td>
- <%if shiptocontact%>
- <br>Attn: <%shiptocontact%>
- <%end shiptocontact%>
-
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
-
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
-
- <%shiptoemail%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% border=1>
- <tr>
- <th width=15% align=left>Invoice #</th>
- <th width=15% align=left>Order #</th>
- <th width=10% align=left>Date</th>
- <th width=15% align=left nowrap>Contact</th>
- <th width=15% align=left>Warehouse</th>
- <th width=10% align=left>Shipping Point</th>
- <th width=10% align=left>Ship via</th>
- </tr>
-
- <tr>
- <td><%invnumber%>&nbsp;</td>
- <td><%ordnumber%>&nbsp;</td>
- <%if shippingdate%>
- <td><%shippingdate%></td>
- <%end shippingdate%>
-
- <%if not shippingdate%>
- <td><%transdate%></td>
- <%end shippingdate%>
-
- <td><%employee%>&nbsp;</td>
- <td><%warehouse%>&nbsp;</td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr bgcolor=000000>
- <th align=left><font color=ffffff>Pos</th>
- <th align=left><font color=ffffff>Number</th>
- <th align=left><font color=ffffff>Description</th>
- <th><font color=ffffff>Qty</th>
- <th><font color=ffffff>Ship</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Bin</th>
- </tr>
-
- <%foreach number%>
- <tr valign=top>
- <td><%runningnumber%>
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td align=right>[&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]</td>
- <td><%unit%></td>
- <td align=right><%bin%></td>
- </tr>
- <%end number%>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td><hr noshade></td>
- </tr>
-
-</table>
-
diff --git a/sql-ledger/templates/Dutch-pick_list.tex b/sql-ledger/templates/Dutch-pick_list.tex
deleted file mode 100644
index c737f6a..0000000
--- a/sql-ledger/templates/Dutch-pick_list.tex
+++ /dev/null
@@ -1,144 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 37%>
-\end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}rlXrcll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} &
- \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\
-
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.5\textwidth}{
- \textbf{Ship To}
-} \hfill
-
-\vspace{0.7cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.5\textwidth}{
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-}
-\parbox[t]{.4\textwidth}{
- <%shiptocontact%>
-
- <%if shiptophone%>
- Tel: <%shiptophone%>
- <%end shiptophone%>
-
- <%if shiptofax%>
- Fax: <%shiptofax%>
- <%end shiptofax%>
-
- <%shiptoemail%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{P I C K} \parbox{0.3cm}{\hfill} \textbf{L I S T}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{7}{|X}|} \hline
- \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact}
- & \textbf{Warehouse} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em]
- \hline
- <%invnumber%> & <%ordnumber%>
- <%if shippingdate%>
- & <%shippingdate%>
- <%end shippingdate%>
- <%if not shippingdate%>
- & <%transdate%>
- <%end shippingdate%>
- & <%employee%>
- <%if warehouse%>
- & <%warehouse%>
- <%end warehouse%>
- & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}rlXrcll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} &
- \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> &
- <%qty%> & [\hspace{1cm}] & <%unit%> & <%bin%> \\
-<%end number%>
-\end{tabularx}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-}
-
-\end{document}
-
diff --git a/sql-ledger/templates/Dutch-pos_invoice.txt b/sql-ledger/templates/Dutch-pos_invoice.txt
deleted file mode 100644
index 18de4c2..0000000
--- a/sql-ledger/templates/Dutch-pos_invoice.txt
+++ /dev/null
@@ -1,51 +0,0 @@
-<%company align=center width=40%>
-<%address align=center width=40%>
-
- Kassa: <%till align=left width=3%> Telefoon: <%tel%>
-Kassier: <%username%>
-Verkoper: <%employee%>
-
-<%invtime%><%invnumber align=right width=16%>
-
- Hoeveelheid Omschrijving Bedrag
-<%foreach number%>
-<%qty align=right width=5%> <%description align=left width=24 offset=6%> <%linetotal align=right width=9%>
- <%number%> @ <%sellprice%>/<%unit%>
-<%end number%>
-
-Aantal items: <%rowcount%>
-<%if taxincluded%>
- ---------------
- Bedrag : <%invtotal align=right width=9%>
-<%end taxincluded%>
-<%if not taxincluded%>
- ------------
- Subtotaal: <%subtotal align=right width=9%>
-<%end taxincluded%>
-<%foreach tax%>
-<%taxdescription align=right width=23%> @ <%taxrate align=right width=2%>%: <%tax align=right width=9%>
-<%end tax%>
- Bedrag : <%invtotal align=right width=9%>
-<%foreach payment%>
-<%paymentaccount align=right width=29%>: <%payment align=right width=9%> <%currency%>
-<%end payment%>
-<%if change%>
- Wisselgeld: <%change align=right width=9%>
-<%end change%>
-<%if total%>
- Te betalen : <%total align=right width=9%>
-<%end total%>
-<%if discount%>
-
-<%discount%> % Discount applied
-<%end discount%>
-
- Dank u en tot ziens!
-
-<%if taxincluded%>
-Belasting is in de prijs inbegrepen.
-<%end taxincluded%>
-
-
-
-
diff --git a/sql-ledger/templates/Dutch-purchase_order.html b/sql-ledger/templates/Dutch-purchase_order.html
deleted file mode 100644
index 2aafc46..0000000
--- a/sql-ledger/templates/Dutch-purchase_order.html
+++ /dev/null
@@ -1,190 +0,0 @@
-
-<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><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
- </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
deleted file mode 100644
index 0e6d690..0000000
--- a/sql-ledger/templates/Dutch-purchase_order.tex
+++ /dev/null
@@ -1,141 +0,0 @@
-\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 37%>
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\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
deleted file mode 100644
index 6742b5b..0000000
--- a/sql-ledger/templates/Dutch-receipt.tex
+++ /dev/null
@@ -1,75 +0,0 @@
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\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-request_quotation.html b/sql-ledger/templates/Dutch-request_quotation.html
deleted file mode 100644
index a9a6f4f..0000000
--- a/sql-ledger/templates/Dutch-request_quotation.html
+++ /dev/null
@@ -1,202 +0,0 @@
-
-<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><img src=http://www.sql-ledger.org/images/sql-ledger.png border=0 width=64 height=58>
- </td>
-
- <td align=right>
- <h4>
- Tel: <%tel%>
- <br>Fax: <%fax%>
- </h4>
- </td>
- </tr>
-
- <tr>
- <th colspan=3>
- <h4>R E Q U E S T &nbsp;&nbsp; F O R &nbsp;&nbsp; Q U O T A T I O N</h4>
- </th>
- </tr>
-
- </table>
-
-
- <table width=100% callspacing=0 cellpadding=0>
-
- <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><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
-<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><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddr2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
-<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 colspan=2>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left>RFQ #</th>
- <th width=17% align=left>Date</th>
- <th width=17% align=left>Required by</th>
- <th width=17% align=left>Contact</th>
- <th width=17% align=left>Shipping Point</th>
- <th width=15% align=left>Ship via</th>
- </tr>
-
- <tr>
- <td><%quonumber%></td>
- <td><%quodate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height="10"></tr>
-
- <tr>
- <td>Please provide price and delivery time for the following items:</td>
- </tr>
-
- <tr height="10"></tr>
-
- <tr>
- <td>
- <table width=100%>
- <tr>
-<!-- <th align=right>No.</th> -->
- <th align=left>Number</th>
- <th align=left><font color=ffffff>Description</th>
- <th>Qt'y</th>
- <th>&nbsp;</th>
- <th>Delivery</th>
- <th>Unit Price</th>
- <th>Extended</th>
- </tr>
-
-<%foreach number%>
- <tr valign=top>
-<!-- <td align=right><%runningnumber%>.</td>
-other per line item variables available <%reqdate%>
-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>
-
- </tr>
-<%end number%>
-
- <tr>
- <td colspan=7><hr noshade></td>
- </tr>
-
- </table>
- </td>
- </tr>
-
-<tr>
- <td>
- <table width=100%>
-<%if notes%>
- <tr valign=top>
- <td>Notes</td>
- <td><%notes%></td>
- </tr>
-<%end notes%>
-
- </table>
- </td>
-</tr>
-
-<tr><td>&nbsp;</td></tr>
-
-<tr>
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=70%>&nbsp;</td>
-
- <td width=30%>
- X <hr noshade>
- </td>
- </tr>
- </table>
- </td>
-</tr>
-
-</table>
-
-</td>
-</tr>
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Dutch-request_quotation.tex b/sql-ledger/templates/Dutch-request_quotation.tex
deleted file mode 100644
index 4e9cfe0..0000000
--- a/sql-ledger/templates/Dutch-request_quotation.tex
+++ /dev/null
@@ -1,175 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 48%>
-\end{tabularx}
-
- \rule{\textwidth}{2pt}
-
- \hfill
- \begin{tabularx}{7cm}{Xr@{}}
- \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
- \end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}lXrlrr@{}}
- \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
- \textbf{Unit} & \textbf{Price} & \textbf{Extended} \\
- & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.45\textwidth}{
-\textbf{To}
-\vspace{0.7cm}
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-\vspace{0.2cm}
-<%end contact%>
-
-<%if vendorphone%>
-Tel: <%vendorphone%>
-<%end vendorphone%>
-
-<%if vendorfax%>
-Fax: <%vendorfax%>
-<%end vendorfax%>
-
-<%email%>
-}
-\parbox[t]{.45\textwidth}{
-\textbf{Ship To}
-\vspace{0.7cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-
-\vspace{0.3cm}
-
-<%if shiptocontact%>
-<%shiptocontact%>
-\vspace{0.2cm}
-<%end shiptocontact%>
-
-<%if shiptophone%>
-Tel: <%shiptophone%>
-<%end shiptophone%>
-
-<%if shiptofax%>
-Fax: <%shiptofax%>
-<%end shiptofax%>
-
-<%shiptoemail%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{R E Q U E S T for Q U O T A T I O N}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{RFQ \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex]
- \hline
- <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-Please provide price and delivery time for the following items:
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}lXrllrr@{}}
- \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & &
- \textbf{Delivery} & \textbf{Unit Price} & \textbf{Extended} \\
-<%foreach number%>
- <%number%> & <%description%> & <%qty%> & <%unit%> \\
-<%end number%>
-\end{tabularx}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\hfill
-
-<%notes%>
-
-}
-
-\end{document}
-
diff --git a/sql-ledger/templates/Dutch-sales_order.html b/sql-ledger/templates/Dutch-sales_order.html
deleted file mode 100644
index a94b446..0000000
--- a/sql-ledger/templates/Dutch-sales_order.html
+++ /dev/null
@@ -1,216 +0,0 @@
-
-<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><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
-<br><%shiptoaddress2%>
-<%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
- </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
deleted file mode 100644
index 1dc08d4..0000000
--- a/sql-ledger/templates/Dutch-sales_order.tex
+++ /dev/null
@@ -1,141 +0,0 @@
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\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{Bestel 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}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-sales_quotation.html b/sql-ledger/templates/Dutch-sales_quotation.html
deleted file mode 100644
index cc57a5c..0000000
--- a/sql-ledger/templates/Dutch-sales_quotation.html
+++ /dev/null
@@ -1,225 +0,0 @@
-
-<body bgcolor=ffffff>
-
-<table width=100%>
-<tr valign=bottom>
- <td width=10>&nbsp;</td>
- <td>
-
- <table width=100%>
- <tr valign=top>
- <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><td colspan=3>&nbsp;</td></tr>
-
- <tr>
- <th colspan=3>
- <h4>Q U O T A T I O N</h4>
- </th>
- </tr>
-
- </table>
-
- <table width=100% callspacing=0 cellpadding=0>
-
- <tr>
- <td>
- <table width=100%>
-
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
-
- <br>
- <%if contact%>
- <br>Attn: <%contact%>
- <%end contact%>
-
- <%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><td>&nbsp;</td></tr>
-
- <tr>
- <td colspan=2>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left nowrap>Number</th>
- <th width=17% align=left>Date</th>
- <th width=17% align=left>Valid until</th>
- <th width=17% align=left nowrap>Contact</th>
- <th width=17% align=left nowrap>Shipping Point</th>
- <th width=15% align=left nowrap>Ship via</th>
- </tr>
-
- <tr>
- <td><%quonumber%></td>
- <td><%quodate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</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>
-
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td align=right><%sellprice%></td>
- <td align=right><%discountrate%></td>
- <td align=right><%linetotal%></td>
- </tr>
-<%end number%>
-
- <tr>
- <td colspan=8><hr noshade></td>
- </tr>
-
- <tr>
-<%if taxincluded%>
- <th colspan=6 align=right>Total</th>
- <td colspan=2 align=right><%invtotal%></td>
-<%end taxincluded%>
-
-<%if not taxincluded%>
- <th colspan=6 align=right>Subtotal</th>
- <td colspan=2 align=right><%subtotal%></td>
-<%end taxincluded%>
- </tr>
-
-<%foreach tax%>
- <tr>
- <th colspan=6 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th>
- <td colspan=2 align=right><%tax%></td>
- </tr>
-<%end tax%>
-
- <tr>
- <td colspan=4>&nbsp;</td>
- <td colspan=4><hr noshade></td>
- </tr>
-
- <tr>
- <td colspan=4>&nbsp;
-<%if terms%>
- Terms Net <b><%terms%></b> days
-<%end terms%>
- </td>
- <th colspan=2 align=right>Total</th>
- <th colspan=2 align=right><%quototal%></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
- </td>
- </tr>
-
- </table>
- </td>
-</tr>
-
-<tr><td>&nbsp;</td></tr>
-
-<tr>
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=60%><font size=-3>
- Special order items are subject to a 10% cancellation fee.
- </font>
- </td>
- <td width=40%>
- X <hr noshade>
- </td>
- </tr>
- </table>
- </td>
-</tr>
-
-</table>
-
-</td>
-</tr>
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Dutch-sales_quotation.tex b/sql-ledger/templates/Dutch-sales_quotation.tex
deleted file mode 100644
index acc4870..0000000
--- a/sql-ledger/templates/Dutch-sales_quotation.tex
+++ /dev/null
@@ -1,157 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 48%>
-\end{tabular*}
-
- \rule{\textwidth}{2pt}
-
- \hfill
- \begin{tabularx}{7cm}{Xr@{}}
- \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
- \end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%quonumber%>}{<%company%>\hfill <%quonumber%>}
-
-\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%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.45\textwidth}{
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%contact%>
-
-\vspace{0.2cm}
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-
-\vspace{1cm}
-
-\textbf{Q U O T A T I O N}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{Quotation \#} & \textbf{Date} & \textbf{Valid until} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex]
- \hline
- <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\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%> & <%discountrate%> & <%linetotal%> \\
-<%end number%>
-\end{tabular*}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\vspace{0.2cm}
-
-\hfill
-\begin{tabularx}{7cm}{Xr@{}}
- Subtotal & <%subtotal%> \\
-<%foreach tax%>
- <%taxdescription%> on <%taxbase%> & <%tax%>\\
-<%end tax%>
- \hline
- Total & <%quototal%>\\
-\end{tabularx}
-
-\vspace{0.3cm}
-
-\hfill
- All prices in \textbf{<%currency%>}.
-
-\vspace{12pt}
-
-<%notes%>
-
-}
-
-\vfill
-
-\end{document}
-
-
diff --git a/sql-ledger/templates/Dutch-statement.html b/sql-ledger/templates/Dutch-statement.html
deleted file mode 100644
index f2a386e..0000000
--- a/sql-ledger/templates/Dutch-statement.html
+++ /dev/null
@@ -1,125 +0,0 @@
-
-<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><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
- <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
deleted file mode 100644
index eaedd20..0000000
--- a/sql-ledger/templates/Dutch-statement.tex
+++ /dev/null
@@ -1,111 +0,0 @@
-\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
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{1.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{10.5cm}{
-
-<%name%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-}
-\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 \textbf{<%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{0.5cm}
-
-\hfill
-\begin{tabularx}{7cm}{Xr@{}}
- \textbf{Totaal openstaand} & <%total%>
-\end{tabularx}
-
-\vfill
-
-Maak U betalingen over aan <%company%>
-
-\end{document}
-
diff --git a/sql-ledger/templates/Dutch-work_order.html b/sql-ledger/templates/Dutch-work_order.html
deleted file mode 100644
index 3b6b89e..0000000
--- a/sql-ledger/templates/Dutch-work_order.html
+++ /dev/null
@@ -1,174 +0,0 @@
-
-<body bgcolor=ffffff>
-
-<table width=100%>
- <tr>
- <td width=10>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=bottom>
- <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>W E R K &nbsp;&nbsp; B O N</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <tr bgcolor=000000>
- <th align=left width=50%><font color=ffffff>Voor</th>
- <th align=left width=50%><font color=ffffff>Verzendadres</th>
- </tr>
-
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%>
- <br><%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
- <%if contact%>
- <br>t.a.v. <%contact%>
- <%end contact%>
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
- <%if email%>
- <br><%email%>
- <%end email%>
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%>
- <br><%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
- <br>
- <%if shiptocontact%>
- <br><%shiptocontact%>
- <%end shiptocontact%>
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
- <%if shiptoemail%>
- <br><%shiptoemail%>
- <%end shiptoemail%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left nowrap>Order Nr</th>
- <th width=17% align=left>Order Datum</th>
- <th width=17% align=left>Gewenste Leverdatum</th>
- <th width=17% align=left nowrap>Verkoper</th>
- <th width=17% align=left nowrap>Verzenden vanaf</th>
- <th width=15% align=left nowrap>Verzenden via</th>
- </tr>
-
- <tr>
- <td><%ordnumber%></td>
- <td><%orddate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <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>Hoeveelheid</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Serie Nr.</th>
- </tr>
-
- <%foreach number%>
- <tr valign=top>
- <td align=right><%runningnumber%>.</td>
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td><%serialnumber%></td>
- </tr>
- <%end number%>
-
- <tr>
- <td colspan=6><hr noshade></td>
- </tr>
-
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <%if notes%>
- <td><%notes%></td>
- <%end notes%>
- </tr>
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Dutch-work_order.tex b/sql-ledger/templates/Dutch-work_order.tex
deleted file mode 100644
index cb6774d..0000000
--- a/sql-ledger/templates/Dutch-work_order.tex
+++ /dev/null
@@ -1,177 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{%
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5em]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 48%>
-\end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}rlXrll@{}}
- \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
- & \textbf{Serial Number} \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.45\textwidth}{
-\textbf{To}
-\vspace{0.7cm}
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-\vspace{0.2cm}
-<%end contact%>
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\parbox[t]{.45\textwidth}{
-\textbf{Ship To}
-\vspace{0.7cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-
-\vspace{0.3cm}
-
-<%if shiptocontact%>
-<%shiptocontact%>
-\vspace{0.2cm}
-<%end shiptocontact%>
-
-<%if shiptophone%>
-Tel: <%shiptophone%>
-<%end shiptophone%>
-
-<%if shiptofax%>
-Fax: <%shiptofax%>
-<%end shiptofax%>
-
-<%shiptoemail%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{W O R K} \parbox{0.3cm}{\hfill} \textbf{O R D E R}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship Via} \\ [0.5em]
- \hline
- <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}rlXrll@{}}
- \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
- & \textbf{Serial Number} \\
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> & <%qty%> &
- <%unit%> & <%serialnumber%> \\
-<%end number%>
-\end{tabularx}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\vspace{12pt}
-
-<%if notes%>
- <%notes%>
-<%end if%>
-
-}
-
-\vfill
-
-\vspace{1cm}
-
-\rule{\textwidth}{0.5pt}
-
-\end{document}
-
-
-
-
-
-
diff --git a/sql-ledger/templates/Estonian-ap_transaction.html b/sql-ledger/templates/Estonian-ap_transaction.html
deleted file mode 100644
index c7bae85..0000000
--- a/sql-ledger/templates/Estonian-ap_transaction.html
+++ /dev/null
@@ -1,229 +0,0 @@
-
-<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>
- <hr noshade><br>
- <h4>A P - T R A N S A C T I O N</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
-
- <%if contact%>
- <br><%contact%>
- <br>
- <%end contact%>
-
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
-
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
-
- <%if email%>
- <br><%email%>
- <%end email%>
- </td>
-
- <td align=right>
- <table>
- <tr>
- <th align=left nowrap>Invoice #</th>
- <td><%invnumber%></td>
- </tr>
- <tr>
- <th align=left nowrap>Date</th>
- <td><%invdate%></td>
- </tr>
- <tr>
- <th align=left nowrap>Due</th>
- <td><%duedate%></td>
- </tr>
- <tr>
- <th align=left>Order #</th>
- <td><%ordnumber%>&nbsp;</td>
- </tr>
- <tr>
- <th align=left nowrap>Employee</th>
- <td><%employee%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=50%>
- <table>
- <%foreach account%>
- <tr valign=top>
- <td><%accno%></td>
- <td><%account%></td>
- <td align=right><%amount%></td>
- <td><%projectnumber%></td>
- </tr>
- <%end account%>
-
- <tr>
- <%if taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Subtotal</th>
- <td align=right><%subtotal%></td>
- <%end taxincluded%>
- </tr>
-
- <%foreach tax%>
- <tr>
- <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th>
- <td align=right><%tax%></td>
- </tr>
- <%end tax%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- </table>
- </td>
- <td width=50%>
- <%notes%>
- </td>
- </tr>
- </table>
- </td>
- <tr>
- <td>&nbsp;</td>
-
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <%text_amount%> ***** <%decimal%>/100 <%currency%>
- </td>
- </tr>
-
- <%if paid%>
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table>
- <tr>
- <th>Payments</th>
- </tr>
-
- <tr>
- <td>
- <hr noshade>
- </td>
- </tr>
-
- <tr>
- <td>
- <table>
- <tr>
- <th align=left>Date</th>
- <th align=left>Account</th>
- <th align=left>Source</th>
- <th align=left>Memo</th>
- <th align=left>Amount</th>
- </tr>
- <%end paid%>
-
- <%foreach payment%>
- <tr>
- <td><%paymentdate%></td>
- <td><%paymentaccount%></td>
- <td><%paymentsource%></td>
- <td><%paymentmemo%></td>
- <td><%payment%></td>
- </tr>
- <%end payment%>
-
- <%if paid%>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <%end paid%>
-
- <tr height=10></tr>
-
- <%if taxincluded%>
- <tr>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th>
- </tr>
- <%end taxincluded%>
-
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Estonian-ap_transaction.tex b/sql-ledger/templates/Estonian-ap_transaction.tex
deleted file mode 100644
index 8bfd9f7..0000000
--- a/sql-ledger/templates/Estonian-ap_transaction.tex
+++ /dev/null
@@ -1,125 +0,0 @@
-\documentclass[10pt,letterpaper,oneside,onecolumn]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{%
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5em]{\textwidth}{0.5pt}
-}
-
-\centerline{\textbf{A P} \hspace{0.3cm} \textbf{T R A N S A C T I O N}}
-
-\vspace*{0.5cm}
-
-\parbox[t]{.5\textwidth}{
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-<%end contact%>
-
-\vspace{0.2cm}
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\hfill
-\begin{tabular}[t]{ll}
- \textbf{Invoice \#} & <%invnumber%> \\
- \textbf{Date} & <%invdate%> \\
- \textbf{Due} & <%duedate%> \\
- \textbf{Order \#} & <%ordnumber%> \\
- \textbf{Employee} & <%employee%> \\
-\end{tabular}
-
-\vspace{1cm}
-
-\begin{tabularx}{.5\textwidth}[t]{@{}llrl@{}}
-<%foreach amount%>
- <%accno%> & <%account%> & <%amount%> & <%projectnumber%> \\
-<%end amount%>
-
- \multicolumn{2}{r}{\textbf{Subtotal}} & <%subtotal%> & \\
-<%foreach tax%>
- \multicolumn{2}{r}{\textbf{<%taxdescription%> @ <%taxrate%> \%}} & <%tax%> & \\
-<%end tax%>
-
- \multicolumn{2}{r}{\textbf{Total}} & <%invtotal%> & \\
-
-\end{tabularx}
-<%notes%>
-
-\vspace{0.3cm}
-
-<%text_amount%> ***** <%decimal%>/100 <%currency%>
-
-\vspace{0.3cm}
-
-<%if paid%>
-\begin{tabular}{@{}llllr@{}}
- \multicolumn{5}{c}{\textbf{Payments}} \\
- \hline
- \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\
-<%end paid%>
-<%foreach payment%>
- <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%paymentmemo%> & <%payment%> \\
-<%end payment%>
-<%if paid%>
-\end{tabular}
-<%end paid%>
-
-\end{document}
-
diff --git a/sql-ledger/templates/Estonian-ar_transaction.html b/sql-ledger/templates/Estonian-ar_transaction.html
deleted file mode 100644
index dbd0a1c..0000000
--- a/sql-ledger/templates/Estonian-ar_transaction.html
+++ /dev/null
@@ -1,237 +0,0 @@
-
-<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>
- <hr noshade><br>
- <h4>A R - T R A N S A C T I O N</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
-
- <%if contact%>
- <br><%contact%>
- <br>
- <%end contact%>
-
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
-
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
-
- <%if email%>
- <br><%email%>
- <%end email%>
- </td>
-
- <td align=right>
- <table>
- <tr>
- <th align=left nowrap>Invoice #</th>
- <td><%invnumber%></td>
- </tr>
- <tr>
- <th align=left nowrap>Date</th>
- <td><%invdate%></td>
- </tr>
- <tr>
- <th align=left nowrap>Due</th>
- <td><%duedate%></td>
- </tr>
- <tr>
- <th align=left>Order #</th>
- <td><%ordnumber%>&nbsp;</td>
- </tr>
- <tr>
- <th align=left nowrap>Salesperson</th>
- <td><%employee%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=50%>
- <table>
- <%foreach account%>
- <tr valign=top>
- <td><%accno%></td>
- <td><%account%></td>
- <td align=right><%amount%></td>
- <td><%projectnumber%></td>
- </tr>
- <%end account%>
-
- <tr>
- <%if taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Subtotal</th>
- <td align=right><%subtotal%></td>
- <%end taxincluded%>
- </tr>
-
- <%foreach tax%>
- <tr>
- <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th>
- <td align=right><%tax%></td>
- </tr>
- <%end tax%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- </table>
- </td>
- <td width=50%>
- <%notes%>
- </td>
- </tr>
- </table>
- </td>
- <tr>
- <td>&nbsp;</td>
-
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <%text_amount%> ***** <%decimal%>/100 <%currency%>
- </td>
- </tr>
-
- <%if paid%>
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table>
- <tr>
- <th>Payments</th>
- </tr>
-
- <tr>
- <td>
- <hr noshade>
- </td>
- </tr>
-
- <tr>
- <td>
- <table>
- <tr>
- <th align=left>Date</th>
- <th align=left>Account</th>
- <th align=left>Source</th>
- <th align=left>Memo</th>
- <th align=left>Amount</th>
- </tr>
- <%end paid%>
-
- <%foreach payment%>
- <tr>
- <td><%paymentdate%></td>
- <td><%paymentaccount%></td>
- <td><%paymentsource%></td>
- <td><%paymentmemo%></td>
- <td><%payment%></td>
- </tr>
- <%end payment%>
-
- <%if paid%>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <%end paid%>
-
- <tr height=10></tr>
-
- <%foreach tax%>
- <tr>
- <td>&nbsp;</td>
-
- <th colspan=9 align=left><font size=-2><%taxdescription%> Registration <%taxnumber%></th>
- </tr>
- <%end tax%>
-
- <%if taxincluded%>
- <tr>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th>
- </tr>
- <%end taxincluded%>
-
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Estonian-ar_transaction.tex b/sql-ledger/templates/Estonian-ar_transaction.tex
deleted file mode 100644
index 654d2b9..0000000
--- a/sql-ledger/templates/Estonian-ar_transaction.tex
+++ /dev/null
@@ -1,131 +0,0 @@
-\documentclass[10pt,letterpaper,oneside,onecolumn]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{%
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5em]{\textwidth}{0.5pt}
-}
-
-\centerline{\textbf{A R} \hspace{0.3cm} \textbf{T R A N S A C T I O N}}
-
-\vspace*{0.5cm}
-
-\parbox[t]{.5\textwidth}{
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-<%end contact%>
-
-\vspace{0.2cm}
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\hfill
-\begin{tabular}[t]{ll}
- \textbf{Invoice \#} & <%invnumber%> \\
- \textbf{Date} & <%invdate%> \\
- \textbf{Due} & <%duedate%> \\
- \textbf{Order \#} & <%ordnumber%> \\
- \textbf{Employee} & <%employee%> \\
-\end{tabular}
-
-\vspace{1cm}
-
-\begin{tabularx}{.5\textwidth}[t]{@{}llrl@{}}
-<%foreach amount%>
- <%accno%> & <%account%> & <%amount%> & <%projectnumber%> \\
-<%end amount%>
-
- \multicolumn{2}{r}{\textbf{Subtotal}} & <%subtotal%> & \\
-<%foreach tax%>
- \multicolumn{2}{r}{\textbf{<%taxdescription%> @ <%taxrate%> \%}} & <%tax%> & \\
-<%end tax%>
-
- \multicolumn{2}{r}{\textbf{Total}} & <%invtotal%> & \\
-
-\end{tabularx}
-<%notes%>
-
-\vspace{0.3cm}
-
-<%text_amount%> ***** <%decimal%>/100 <%currency%>
-
-\vspace{0.3cm}
-
-<%if paid%>
-\begin{tabular}{@{}llllr@{}}
- \multicolumn{5}{c}{\textbf{Payments}} \\
- \hline
- \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\
-<%end paid%>
-<%foreach payment%>
- <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%paymentmemo%> & <%payment%> \\
-<%end payment%>
-<%if paid%>
-\end{tabular}
-<%end paid%>
-
-\vspace{0.5cm}
-
-<%foreach tax%>
-\textbf{\small{<%taxdescription%> Registration <%taxnumber%>}} \\
-<%end tax%>
-
-\end{document}
-
diff --git a/sql-ledger/templates/Estonian-balance_sheet.html b/sql-ledger/templates/Estonian-balance_sheet.html
deleted file mode 100644
index dcfa40b..0000000
--- a/sql-ledger/templates/Estonian-balance_sheet.html
+++ /dev/null
@@ -1,103 +0,0 @@
-<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-bin_list.html b/sql-ledger/templates/Estonian-bin_list.html
deleted file mode 100644
index c945421..0000000
--- a/sql-ledger/templates/Estonian-bin_list.html
+++ /dev/null
@@ -1,189 +0,0 @@
-
-<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>
-
- <th align=right>
- <h4>
- Tel: <%tel%>
- <br>Fax: <%fax%>
- </h4>
- </td>
- </tr>
-
- <tr>
- <th colspan=3>
- <h4>B I N &nbsp;&nbsp; L I S T</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% cellspacing=0 cellpadding=0>
- <tr bgcolor=000000>
- <th align=left width=50%><font color=ffffff>From</th>
- <th align=left width=50%><font color=ffffff>Ship To</th>
- </tr>
-
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
-
- <%if contact%>
- <br>Attn: <%contact%>
- <%end contact%>
-
- <%if vendorphone%>
- <br>Tel: <%vendorphone%>
- <%end vendorphone%>
-
- <%if vendorfax%>
- <br>Fax: <%vendorfax%>
- <%end vendorfax%>
-
- <%if email%>
- <br><%email%>
- <%end email%>
-
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
-
- <br>
- <%if shiptocontact%>
- <br>Attn: <%shiptocontact%>
- <%end shiptocontact%>
-
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
-
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left nowrap>Order #</th>
- <th width=17% align=left nowrap>Date</th>
- <th width=17% align=left nowrap>Contact</th>
- <%if warehouse%>
- <th width=17% align=left nowrap>Warehouse</th>
- <%end warehouse%>
- <th width=17% align=left>Shipping Point</th>
- <th width=15% align=left>Ship via</th>
- </tr>
-
- <tr>
- <td><%ordnumber%>&nbsp;</td>
-
- <%if shippingdate%>
- <td><%shippingdate%></td>
- <%end shippingdate%>
-
- <%if not shippingdate%>
- <td><%orddate%></td>
- <%end shippingdate%>
-
- <td><%employee%>&nbsp;</td>
-
- <%if warehouse%>
- <td><%warehouse%></td>
- <%end warehouse%>
-
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr bgcolor=000000>
- <th align=left><font color=ffffff>Pos</th>
- <th align=left><font color=ffffff>Number</th>
- <th align=left><font color=ffffff>Description</th>
- <th><font color=ffffff>Serialnumber</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Qty</th>
- <th><font color=ffffff>Recd</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Bin</th>
- </tr>
-
- <%foreach number%>
- <tr valign=top>
- <td><%runningnumber%></td>
- <td><%number%></td>
- <td><%description%></td>
- <td><%serialnumber%></td>
- <td><%deliverydate%></td>
- <td align=right><%qty%></td>
- <td align=right><%ship%></td>
- <td><%unit%></td>
- <td><%bin%></td>
- </tr>
- <%end number%>
-
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td><hr noshade></td>
- </tr>
-
-</table>
-
diff --git a/sql-ledger/templates/Estonian-bin_list.tex b/sql-ledger/templates/Estonian-bin_list.tex
deleted file mode 100644
index 034fd72..0000000
--- a/sql-ledger/templates/Estonian-bin_list.tex
+++ /dev/null
@@ -1,147 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 37%>
-\end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}rlXllrrll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.5\textwidth}{
-\textbf{From}
-\vspace{0.7cm}
-
-<%name%>
-
-<%address1%>
-
-<%if %address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country4%>
-<%end country%>
-}
-\parbox[t]{.4\textwidth}{
-\textbf{Ship To}
-\vspace{0.7cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%if shiptoaddress2%>
-<%shiptoaddress2%>
-<%end shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{B I N} \parbox{0.3cm}{\hfill} \textbf{L I S T}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{Order \#} & \textbf{Date} & \textbf{Contact}
- <%if warehouse%>
- & \textbf{Warehouse}
- <%end warehouse%>
- & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em]
- \hline
-
- <%ordnumber%>
- <%if shippingdate%>
- & <%shippingdate%>
- <%end shippingdate%>
- <%if not shippingdate%>
- & <%orddate%>
- <%end shippingdate%>
- & <%employee%>
- <%if warehouse%>
- & <%warehouse%>
- <%end warehouse%>
- & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}rlXllrrll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\
-
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> &
- <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> & <%bin%> \\
-<%end number%>
-\end{tabularx}
-
-
-\rule{\textwidth}{2pt}
-
-\end{document}
-
diff --git a/sql-ledger/templates/Estonian-check.tex b/sql-ledger/templates/Estonian-check.tex
deleted file mode 100644
index 6742b5b..0000000
--- a/sql-ledger/templates/Estonian-check.tex
+++ /dev/null
@@ -1,75 +0,0 @@
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\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
deleted file mode 100644
index b0594ea..0000000
--- a/sql-ledger/templates/Estonian-income_statement.html
+++ /dev/null
@@ -1,84 +0,0 @@
-<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
deleted file mode 100644
index 7522436..0000000
--- a/sql-ledger/templates/Estonian-invoice.html
+++ /dev/null
@@ -1,224 +0,0 @@
-<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><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
-<br><%shiptoaddress2%>
-<%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
- </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
-to show the percentage for a discount use <%discountrate%>
--->
-
- <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
deleted file mode 100644
index f54dfa4..0000000
--- a/sql-ledger/templates/Estonian-invoice.tex
+++ /dev/null
@@ -1,151 +0,0 @@
-\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 37%>
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\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
deleted file mode 100644
index 0006307..0000000
--- a/sql-ledger/templates/Estonian-packing_list.html
+++ /dev/null
@@ -1,147 +0,0 @@
-<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
deleted file mode 100644
index cdd72fc..0000000
--- a/sql-ledger/templates/Estonian-packing_list.tex
+++ /dev/null
@@ -1,119 +0,0 @@
-\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 37%>
-\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-pick_list.html b/sql-ledger/templates/Estonian-pick_list.html
deleted file mode 100644
index 7548560..0000000
--- a/sql-ledger/templates/Estonian-pick_list.html
+++ /dev/null
@@ -1,153 +0,0 @@
-
-<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>P I C K &nbsp;&nbsp; L I S T</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <tr bgcolor=000000>
- <th width=50% align=left><font color=ffffff>Ship To:</th>
- <th width=50%>&nbsp;</th>
- </tr>
-
- <tr valign=top>
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
- </td>
-
- <td>
- <%if shiptocontact%>
- <br>Attn: <%shiptocontact%>
- <%end shiptocontact%>
-
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
-
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
-
- <%shiptoemail%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% border=1>
- <tr>
- <th width=15% align=left>Invoice #</th>
- <th width=15% align=left>Order #</th>
- <th width=10% align=left>Date</th>
- <th width=15% align=left nowrap>Contact</th>
- <th width=15% align=left>Warehouse</th>
- <th width=10% align=left>Shipping Point</th>
- <th width=10% align=left>Ship via</th>
- </tr>
-
- <tr>
- <td><%invnumber%>&nbsp;</td>
- <td><%ordnumber%>&nbsp;</td>
- <%if shippingdate%>
- <td><%shippingdate%></td>
- <%end shippingdate%>
-
- <%if not shippingdate%>
- <td><%transdate%></td>
- <%end shippingdate%>
-
- <td><%employee%>&nbsp;</td>
- <td><%warehouse%>&nbsp;</td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr bgcolor=000000>
- <th align=left><font color=ffffff>Pos</th>
- <th align=left><font color=ffffff>Number</th>
- <th align=left><font color=ffffff>Description</th>
- <th><font color=ffffff>Qty</th>
- <th><font color=ffffff>Ship</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Bin</th>
- </tr>
-
- <%foreach number%>
- <tr valign=top>
- <td><%runningnumber%>
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td align=right>[&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]</td>
- <td><%unit%></td>
- <td align=right><%bin%></td>
- </tr>
- <%end number%>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td><hr noshade></td>
- </tr>
-
-</table>
-
diff --git a/sql-ledger/templates/Estonian-pick_list.tex b/sql-ledger/templates/Estonian-pick_list.tex
deleted file mode 100644
index 1300f53..0000000
--- a/sql-ledger/templates/Estonian-pick_list.tex
+++ /dev/null
@@ -1,143 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 37%>
-\end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-\begin{tabularx}{\textwidth}{@{}rlXrcll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} &
- \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\
-
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.5\textwidth}{
- \textbf{Ship To}
-} \hfill
-
-\vspace{0.7cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.5\textwidth}{
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-}
-\parbox[t]{.4\textwidth}{
- <%shiptocontact%>
-
- <%if shiptophone%>
- Tel: <%shiptophone%>
- <%end shiptophone%>
-
- <%if shiptofax%>
- Fax: <%shiptofax%>
- <%end shiptofax%>
-
- <%shiptoemail%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{P I C K} \parbox{0.3cm}{\hfill} \textbf{L I S T}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{7}{|X}|} \hline
- \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact}
- & \textbf{Warehouse} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em]
- \hline
- <%invnumber%> & <%ordnumber%>
- <%if shippingdate%>
- & <%shippingdate%>
- <%end shippingdate%>
- <%if not shippingdate%>
- & <%transdate%>
- <%end shippingdate%>
- & <%employee%>
- <%if warehouse%>
- & <%warehouse%>
- <%end warehouse%>
- & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}rlXrcll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} &
- \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> &
- <%qty%> & [\hspace{1cm}] & <%unit%> & <%bin%> \\
-<%end number%>
-\end{tabularx}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-}
-
-\end{document}
-
diff --git a/sql-ledger/templates/Estonian-pos_invoice.txt b/sql-ledger/templates/Estonian-pos_invoice.txt
deleted file mode 100644
index 9ec12f4..0000000
--- a/sql-ledger/templates/Estonian-pos_invoice.txt
+++ /dev/null
@@ -1,51 +0,0 @@
-<%company align=center width=40%>
-<%address align=center width=40%>
-
- Till: <%till align=left width=3%> Phone#: <%tel%>
-Clerk: <%username%>
-Sales: <%employee%>
-
-<%invtime%><%invnumber align=right width=16%>
-
- Qty Description Amount
-<%foreach number%>
-<%qty align=right width=5%> <%description align=left width=24 offset=6%> <%linetotal align=right width=9%>
- <%number%> @ <%sellprice%>/<%unit%>
-<%end number%>
-
-Number of items: <%rowcount%>
-<%if taxincluded%>
- ---------------
- Amount Due: <%invtotal align=right width=9%>
-<%end taxincluded%>
-<%if not taxincluded%>
- ------------
- Subtotal: <%subtotal align=right width=9%>
-<%end taxincluded%>
-<%foreach tax%>
-<%taxdescription align=right width=23%> @ <%taxrate align=right width=2%>%: <%tax align=right width=9%>
-<%end tax%>
- Amount Due: <%invtotal align=right width=9%>
-<%foreach payment%>
-<%paymentaccount align=right width=29%>: <%payment align=right width=9%> <%currency%>
-<%end payment%>
-<%if change%>
- Change: <%change align=right width=9%>
-<%end change%>
-<%if total%>
- Balance Due: <%total align=right width=9%>
-<%end total%>
-<%if discount%>
-
-<%discount%> % Discount applied
-<%end discount%>
-
- Thank you for your valued business!
-
-<%if taxincluded%>
-Taxes are included in price.
-<%end taxincluded%>
-
-
-
-
diff --git a/sql-ledger/templates/Estonian-purchase_order.html b/sql-ledger/templates/Estonian-purchase_order.html
deleted file mode 100644
index 4ad1c7f..0000000
--- a/sql-ledger/templates/Estonian-purchase_order.html
+++ /dev/null
@@ -1,199 +0,0 @@
-<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><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
- </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
deleted file mode 100644
index 1074982..0000000
--- a/sql-ledger/templates/Estonian-purchase_order.tex
+++ /dev/null
@@ -1,147 +0,0 @@
-\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 37%>
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\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
deleted file mode 100644
index 6742b5b..0000000
--- a/sql-ledger/templates/Estonian-receipt.tex
+++ /dev/null
@@ -1,75 +0,0 @@
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\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-request_quotation.html b/sql-ledger/templates/Estonian-request_quotation.html
deleted file mode 100644
index a9a6f4f..0000000
--- a/sql-ledger/templates/Estonian-request_quotation.html
+++ /dev/null
@@ -1,202 +0,0 @@
-
-<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><img src=http://www.sql-ledger.org/images/sql-ledger.png border=0 width=64 height=58>
- </td>
-
- <td align=right>
- <h4>
- Tel: <%tel%>
- <br>Fax: <%fax%>
- </h4>
- </td>
- </tr>
-
- <tr>
- <th colspan=3>
- <h4>R E Q U E S T &nbsp;&nbsp; F O R &nbsp;&nbsp; Q U O T A T I O N</h4>
- </th>
- </tr>
-
- </table>
-
-
- <table width=100% callspacing=0 cellpadding=0>
-
- <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><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
-<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><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddr2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
-<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 colspan=2>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left>RFQ #</th>
- <th width=17% align=left>Date</th>
- <th width=17% align=left>Required by</th>
- <th width=17% align=left>Contact</th>
- <th width=17% align=left>Shipping Point</th>
- <th width=15% align=left>Ship via</th>
- </tr>
-
- <tr>
- <td><%quonumber%></td>
- <td><%quodate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height="10"></tr>
-
- <tr>
- <td>Please provide price and delivery time for the following items:</td>
- </tr>
-
- <tr height="10"></tr>
-
- <tr>
- <td>
- <table width=100%>
- <tr>
-<!-- <th align=right>No.</th> -->
- <th align=left>Number</th>
- <th align=left><font color=ffffff>Description</th>
- <th>Qt'y</th>
- <th>&nbsp;</th>
- <th>Delivery</th>
- <th>Unit Price</th>
- <th>Extended</th>
- </tr>
-
-<%foreach number%>
- <tr valign=top>
-<!-- <td align=right><%runningnumber%>.</td>
-other per line item variables available <%reqdate%>
-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>
-
- </tr>
-<%end number%>
-
- <tr>
- <td colspan=7><hr noshade></td>
- </tr>
-
- </table>
- </td>
- </tr>
-
-<tr>
- <td>
- <table width=100%>
-<%if notes%>
- <tr valign=top>
- <td>Notes</td>
- <td><%notes%></td>
- </tr>
-<%end notes%>
-
- </table>
- </td>
-</tr>
-
-<tr><td>&nbsp;</td></tr>
-
-<tr>
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=70%>&nbsp;</td>
-
- <td width=30%>
- X <hr noshade>
- </td>
- </tr>
- </table>
- </td>
-</tr>
-
-</table>
-
-</td>
-</tr>
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Estonian-request_quotation.tex b/sql-ledger/templates/Estonian-request_quotation.tex
deleted file mode 100644
index 4e9cfe0..0000000
--- a/sql-ledger/templates/Estonian-request_quotation.tex
+++ /dev/null
@@ -1,175 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 48%>
-\end{tabularx}
-
- \rule{\textwidth}{2pt}
-
- \hfill
- \begin{tabularx}{7cm}{Xr@{}}
- \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
- \end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}lXrlrr@{}}
- \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
- \textbf{Unit} & \textbf{Price} & \textbf{Extended} \\
- & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.45\textwidth}{
-\textbf{To}
-\vspace{0.7cm}
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-\vspace{0.2cm}
-<%end contact%>
-
-<%if vendorphone%>
-Tel: <%vendorphone%>
-<%end vendorphone%>
-
-<%if vendorfax%>
-Fax: <%vendorfax%>
-<%end vendorfax%>
-
-<%email%>
-}
-\parbox[t]{.45\textwidth}{
-\textbf{Ship To}
-\vspace{0.7cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-
-\vspace{0.3cm}
-
-<%if shiptocontact%>
-<%shiptocontact%>
-\vspace{0.2cm}
-<%end shiptocontact%>
-
-<%if shiptophone%>
-Tel: <%shiptophone%>
-<%end shiptophone%>
-
-<%if shiptofax%>
-Fax: <%shiptofax%>
-<%end shiptofax%>
-
-<%shiptoemail%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{R E Q U E S T for Q U O T A T I O N}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{RFQ \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex]
- \hline
- <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-Please provide price and delivery time for the following items:
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}lXrllrr@{}}
- \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & &
- \textbf{Delivery} & \textbf{Unit Price} & \textbf{Extended} \\
-<%foreach number%>
- <%number%> & <%description%> & <%qty%> & <%unit%> \\
-<%end number%>
-\end{tabularx}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\hfill
-
-<%notes%>
-
-}
-
-\end{document}
-
diff --git a/sql-ledger/templates/Estonian-sales_order.html b/sql-ledger/templates/Estonian-sales_order.html
deleted file mode 100644
index 1c712ea..0000000
--- a/sql-ledger/templates/Estonian-sales_order.html
+++ /dev/null
@@ -1,222 +0,0 @@
-<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><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
-<br><%shiptoaddress2%>
-<%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
- </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
deleted file mode 100644
index 6056039..0000000
--- a/sql-ledger/templates/Estonian-sales_order.tex
+++ /dev/null
@@ -1,148 +0,0 @@
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\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%> \\
-<%if reqdate%>
- \textbf{Tarnekuupäev} & <%reqdate%> \\
-<%end reqdate%>
- \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
deleted file mode 100644
index a5efdf0..0000000
--- a/sql-ledger/templates/Estonian-statement.html
+++ /dev/null
@@ -1,125 +0,0 @@
-
-<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><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
- <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
deleted file mode 100644
index fdc7339..0000000
--- a/sql-ledger/templates/Estonian-statement.tex
+++ /dev/null
@@ -1,111 +0,0 @@
-\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
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{1.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{10.5cm}{
-
-<%name%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-}
-\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 \textbf{<%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{0.5cm}
-
-\hfill
-\begin{tabularx}{7cm}{Xr@{}}
- \textbf{Total outstanding} & <%total%>
-\end{tabularx}
-
-\vfill
-
-Please make check payable to <%company%>
-
-\end{document}
-
diff --git a/sql-ledger/templates/Estonian-work_order.html b/sql-ledger/templates/Estonian-work_order.html
deleted file mode 100644
index 0732fe2..0000000
--- a/sql-ledger/templates/Estonian-work_order.html
+++ /dev/null
@@ -1,174 +0,0 @@
-
-<body bgcolor=ffffff>
-
-<table width=100%>
- <tr>
- <td width=10>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=bottom>
- <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>W O R K &nbsp;&nbsp; O R D E R</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <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><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%>
- <br><%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
- <%if contact%>
- <br>Attn: <%contact%>
- <%end contact%>
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
- <%if email%>
- <br><%email%>
- <%end email%>
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%>
- <br><%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
- <br>
- <%if shiptocontact%>
- <br><%shiptocontact%>
- <%end shiptocontact%>
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
- <%if shiptoemail%>
- <br><%shiptoemail%>
- <%end shiptoemail%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left nowrap>Order Number</th>
- <th width=17% align=left>Order Date</th>
- <th width=17% align=left>Required by</th>
- <th width=17% align=left nowrap>Salesperson</th>
- <th width=17% align=left nowrap>Shipping Point</th>
- <th width=15% align=left nowrap>Ship Via</th>
- </tr>
-
- <tr>
- <td><%ordnumber%></td>
- <td><%orddate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <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>Serial No.</th>
- </tr>
-
- <%foreach number%>
- <tr valign=top>
- <td align=right><%runningnumber%>.</td>
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td><%serialnumber%></td>
- </tr>
- <%end number%>
-
- <tr>
- <td colspan=6><hr noshade></td>
- </tr>
-
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <%if notes%>
- <td><%notes%></td>
- <%end notes%>
- </tr>
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Estonian-work_order.tex b/sql-ledger/templates/Estonian-work_order.tex
deleted file mode 100644
index cb6774d..0000000
--- a/sql-ledger/templates/Estonian-work_order.tex
+++ /dev/null
@@ -1,177 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{%
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5em]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 48%>
-\end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}rlXrll@{}}
- \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
- & \textbf{Serial Number} \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.45\textwidth}{
-\textbf{To}
-\vspace{0.7cm}
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-\vspace{0.2cm}
-<%end contact%>
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\parbox[t]{.45\textwidth}{
-\textbf{Ship To}
-\vspace{0.7cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-
-\vspace{0.3cm}
-
-<%if shiptocontact%>
-<%shiptocontact%>
-\vspace{0.2cm}
-<%end shiptocontact%>
-
-<%if shiptophone%>
-Tel: <%shiptophone%>
-<%end shiptophone%>
-
-<%if shiptofax%>
-Fax: <%shiptofax%>
-<%end shiptofax%>
-
-<%shiptoemail%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{W O R K} \parbox{0.3cm}{\hfill} \textbf{O R D E R}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship Via} \\ [0.5em]
- \hline
- <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}rlXrll@{}}
- \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
- & \textbf{Serial Number} \\
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> & <%qty%> &
- <%unit%> & <%serialnumber%> \\
-<%end number%>
-\end{tabularx}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\vspace{12pt}
-
-<%if notes%>
- <%notes%>
-<%end if%>
-
-}
-
-\vfill
-
-\vspace{1cm}
-
-\rule{\textwidth}{0.5pt}
-
-\end{document}
-
-
-
-
-
-
diff --git a/sql-ledger/templates/French-ap_transaction.html b/sql-ledger/templates/French-ap_transaction.html
deleted file mode 100644
index c7bae85..0000000
--- a/sql-ledger/templates/French-ap_transaction.html
+++ /dev/null
@@ -1,229 +0,0 @@
-
-<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>
- <hr noshade><br>
- <h4>A P - T R A N S A C T I O N</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
-
- <%if contact%>
- <br><%contact%>
- <br>
- <%end contact%>
-
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
-
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
-
- <%if email%>
- <br><%email%>
- <%end email%>
- </td>
-
- <td align=right>
- <table>
- <tr>
- <th align=left nowrap>Invoice #</th>
- <td><%invnumber%></td>
- </tr>
- <tr>
- <th align=left nowrap>Date</th>
- <td><%invdate%></td>
- </tr>
- <tr>
- <th align=left nowrap>Due</th>
- <td><%duedate%></td>
- </tr>
- <tr>
- <th align=left>Order #</th>
- <td><%ordnumber%>&nbsp;</td>
- </tr>
- <tr>
- <th align=left nowrap>Employee</th>
- <td><%employee%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=50%>
- <table>
- <%foreach account%>
- <tr valign=top>
- <td><%accno%></td>
- <td><%account%></td>
- <td align=right><%amount%></td>
- <td><%projectnumber%></td>
- </tr>
- <%end account%>
-
- <tr>
- <%if taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Subtotal</th>
- <td align=right><%subtotal%></td>
- <%end taxincluded%>
- </tr>
-
- <%foreach tax%>
- <tr>
- <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th>
- <td align=right><%tax%></td>
- </tr>
- <%end tax%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- </table>
- </td>
- <td width=50%>
- <%notes%>
- </td>
- </tr>
- </table>
- </td>
- <tr>
- <td>&nbsp;</td>
-
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <%text_amount%> ***** <%decimal%>/100 <%currency%>
- </td>
- </tr>
-
- <%if paid%>
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table>
- <tr>
- <th>Payments</th>
- </tr>
-
- <tr>
- <td>
- <hr noshade>
- </td>
- </tr>
-
- <tr>
- <td>
- <table>
- <tr>
- <th align=left>Date</th>
- <th align=left>Account</th>
- <th align=left>Source</th>
- <th align=left>Memo</th>
- <th align=left>Amount</th>
- </tr>
- <%end paid%>
-
- <%foreach payment%>
- <tr>
- <td><%paymentdate%></td>
- <td><%paymentaccount%></td>
- <td><%paymentsource%></td>
- <td><%paymentmemo%></td>
- <td><%payment%></td>
- </tr>
- <%end payment%>
-
- <%if paid%>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <%end paid%>
-
- <tr height=10></tr>
-
- <%if taxincluded%>
- <tr>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th>
- </tr>
- <%end taxincluded%>
-
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/French-ap_transaction.tex b/sql-ledger/templates/French-ap_transaction.tex
deleted file mode 100644
index 8bfd9f7..0000000
--- a/sql-ledger/templates/French-ap_transaction.tex
+++ /dev/null
@@ -1,125 +0,0 @@
-\documentclass[10pt,letterpaper,oneside,onecolumn]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{%
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5em]{\textwidth}{0.5pt}
-}
-
-\centerline{\textbf{A P} \hspace{0.3cm} \textbf{T R A N S A C T I O N}}
-
-\vspace*{0.5cm}
-
-\parbox[t]{.5\textwidth}{
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-<%end contact%>
-
-\vspace{0.2cm}
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\hfill
-\begin{tabular}[t]{ll}
- \textbf{Invoice \#} & <%invnumber%> \\
- \textbf{Date} & <%invdate%> \\
- \textbf{Due} & <%duedate%> \\
- \textbf{Order \#} & <%ordnumber%> \\
- \textbf{Employee} & <%employee%> \\
-\end{tabular}
-
-\vspace{1cm}
-
-\begin{tabularx}{.5\textwidth}[t]{@{}llrl@{}}
-<%foreach amount%>
- <%accno%> & <%account%> & <%amount%> & <%projectnumber%> \\
-<%end amount%>
-
- \multicolumn{2}{r}{\textbf{Subtotal}} & <%subtotal%> & \\
-<%foreach tax%>
- \multicolumn{2}{r}{\textbf{<%taxdescription%> @ <%taxrate%> \%}} & <%tax%> & \\
-<%end tax%>
-
- \multicolumn{2}{r}{\textbf{Total}} & <%invtotal%> & \\
-
-\end{tabularx}
-<%notes%>
-
-\vspace{0.3cm}
-
-<%text_amount%> ***** <%decimal%>/100 <%currency%>
-
-\vspace{0.3cm}
-
-<%if paid%>
-\begin{tabular}{@{}llllr@{}}
- \multicolumn{5}{c}{\textbf{Payments}} \\
- \hline
- \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\
-<%end paid%>
-<%foreach payment%>
- <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%paymentmemo%> & <%payment%> \\
-<%end payment%>
-<%if paid%>
-\end{tabular}
-<%end paid%>
-
-\end{document}
-
diff --git a/sql-ledger/templates/French-ar_transaction.html b/sql-ledger/templates/French-ar_transaction.html
deleted file mode 100644
index dbd0a1c..0000000
--- a/sql-ledger/templates/French-ar_transaction.html
+++ /dev/null
@@ -1,237 +0,0 @@
-
-<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>
- <hr noshade><br>
- <h4>A R - T R A N S A C T I O N</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
-
- <%if contact%>
- <br><%contact%>
- <br>
- <%end contact%>
-
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
-
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
-
- <%if email%>
- <br><%email%>
- <%end email%>
- </td>
-
- <td align=right>
- <table>
- <tr>
- <th align=left nowrap>Invoice #</th>
- <td><%invnumber%></td>
- </tr>
- <tr>
- <th align=left nowrap>Date</th>
- <td><%invdate%></td>
- </tr>
- <tr>
- <th align=left nowrap>Due</th>
- <td><%duedate%></td>
- </tr>
- <tr>
- <th align=left>Order #</th>
- <td><%ordnumber%>&nbsp;</td>
- </tr>
- <tr>
- <th align=left nowrap>Salesperson</th>
- <td><%employee%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=50%>
- <table>
- <%foreach account%>
- <tr valign=top>
- <td><%accno%></td>
- <td><%account%></td>
- <td align=right><%amount%></td>
- <td><%projectnumber%></td>
- </tr>
- <%end account%>
-
- <tr>
- <%if taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Subtotal</th>
- <td align=right><%subtotal%></td>
- <%end taxincluded%>
- </tr>
-
- <%foreach tax%>
- <tr>
- <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th>
- <td align=right><%tax%></td>
- </tr>
- <%end tax%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- </table>
- </td>
- <td width=50%>
- <%notes%>
- </td>
- </tr>
- </table>
- </td>
- <tr>
- <td>&nbsp;</td>
-
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <%text_amount%> ***** <%decimal%>/100 <%currency%>
- </td>
- </tr>
-
- <%if paid%>
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table>
- <tr>
- <th>Payments</th>
- </tr>
-
- <tr>
- <td>
- <hr noshade>
- </td>
- </tr>
-
- <tr>
- <td>
- <table>
- <tr>
- <th align=left>Date</th>
- <th align=left>Account</th>
- <th align=left>Source</th>
- <th align=left>Memo</th>
- <th align=left>Amount</th>
- </tr>
- <%end paid%>
-
- <%foreach payment%>
- <tr>
- <td><%paymentdate%></td>
- <td><%paymentaccount%></td>
- <td><%paymentsource%></td>
- <td><%paymentmemo%></td>
- <td><%payment%></td>
- </tr>
- <%end payment%>
-
- <%if paid%>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <%end paid%>
-
- <tr height=10></tr>
-
- <%foreach tax%>
- <tr>
- <td>&nbsp;</td>
-
- <th colspan=9 align=left><font size=-2><%taxdescription%> Registration <%taxnumber%></th>
- </tr>
- <%end tax%>
-
- <%if taxincluded%>
- <tr>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th>
- </tr>
- <%end taxincluded%>
-
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/French-ar_transaction.tex b/sql-ledger/templates/French-ar_transaction.tex
deleted file mode 100644
index 654d2b9..0000000
--- a/sql-ledger/templates/French-ar_transaction.tex
+++ /dev/null
@@ -1,131 +0,0 @@
-\documentclass[10pt,letterpaper,oneside,onecolumn]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{%
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5em]{\textwidth}{0.5pt}
-}
-
-\centerline{\textbf{A R} \hspace{0.3cm} \textbf{T R A N S A C T I O N}}
-
-\vspace*{0.5cm}
-
-\parbox[t]{.5\textwidth}{
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-<%end contact%>
-
-\vspace{0.2cm}
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\hfill
-\begin{tabular}[t]{ll}
- \textbf{Invoice \#} & <%invnumber%> \\
- \textbf{Date} & <%invdate%> \\
- \textbf{Due} & <%duedate%> \\
- \textbf{Order \#} & <%ordnumber%> \\
- \textbf{Employee} & <%employee%> \\
-\end{tabular}
-
-\vspace{1cm}
-
-\begin{tabularx}{.5\textwidth}[t]{@{}llrl@{}}
-<%foreach amount%>
- <%accno%> & <%account%> & <%amount%> & <%projectnumber%> \\
-<%end amount%>
-
- \multicolumn{2}{r}{\textbf{Subtotal}} & <%subtotal%> & \\
-<%foreach tax%>
- \multicolumn{2}{r}{\textbf{<%taxdescription%> @ <%taxrate%> \%}} & <%tax%> & \\
-<%end tax%>
-
- \multicolumn{2}{r}{\textbf{Total}} & <%invtotal%> & \\
-
-\end{tabularx}
-<%notes%>
-
-\vspace{0.3cm}
-
-<%text_amount%> ***** <%decimal%>/100 <%currency%>
-
-\vspace{0.3cm}
-
-<%if paid%>
-\begin{tabular}{@{}llllr@{}}
- \multicolumn{5}{c}{\textbf{Payments}} \\
- \hline
- \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\
-<%end paid%>
-<%foreach payment%>
- <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%paymentmemo%> & <%payment%> \\
-<%end payment%>
-<%if paid%>
-\end{tabular}
-<%end paid%>
-
-\vspace{0.5cm}
-
-<%foreach tax%>
-\textbf{\small{<%taxdescription%> Registration <%taxnumber%>}} \\
-<%end tax%>
-
-\end{document}
-
diff --git a/sql-ledger/templates/French-balance_sheet.html b/sql-ledger/templates/French-balance_sheet.html
deleted file mode 100644
index 56748d6..0000000
--- a/sql-ledger/templates/French-balance_sheet.html
+++ /dev/null
@@ -1,109 +0,0 @@
-<!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-bin_list.html b/sql-ledger/templates/French-bin_list.html
deleted file mode 100644
index c945421..0000000
--- a/sql-ledger/templates/French-bin_list.html
+++ /dev/null
@@ -1,189 +0,0 @@
-
-<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>
-
- <th align=right>
- <h4>
- Tel: <%tel%>
- <br>Fax: <%fax%>
- </h4>
- </td>
- </tr>
-
- <tr>
- <th colspan=3>
- <h4>B I N &nbsp;&nbsp; L I S T</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% cellspacing=0 cellpadding=0>
- <tr bgcolor=000000>
- <th align=left width=50%><font color=ffffff>From</th>
- <th align=left width=50%><font color=ffffff>Ship To</th>
- </tr>
-
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
-
- <%if contact%>
- <br>Attn: <%contact%>
- <%end contact%>
-
- <%if vendorphone%>
- <br>Tel: <%vendorphone%>
- <%end vendorphone%>
-
- <%if vendorfax%>
- <br>Fax: <%vendorfax%>
- <%end vendorfax%>
-
- <%if email%>
- <br><%email%>
- <%end email%>
-
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
-
- <br>
- <%if shiptocontact%>
- <br>Attn: <%shiptocontact%>
- <%end shiptocontact%>
-
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
-
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left nowrap>Order #</th>
- <th width=17% align=left nowrap>Date</th>
- <th width=17% align=left nowrap>Contact</th>
- <%if warehouse%>
- <th width=17% align=left nowrap>Warehouse</th>
- <%end warehouse%>
- <th width=17% align=left>Shipping Point</th>
- <th width=15% align=left>Ship via</th>
- </tr>
-
- <tr>
- <td><%ordnumber%>&nbsp;</td>
-
- <%if shippingdate%>
- <td><%shippingdate%></td>
- <%end shippingdate%>
-
- <%if not shippingdate%>
- <td><%orddate%></td>
- <%end shippingdate%>
-
- <td><%employee%>&nbsp;</td>
-
- <%if warehouse%>
- <td><%warehouse%></td>
- <%end warehouse%>
-
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr bgcolor=000000>
- <th align=left><font color=ffffff>Pos</th>
- <th align=left><font color=ffffff>Number</th>
- <th align=left><font color=ffffff>Description</th>
- <th><font color=ffffff>Serialnumber</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Qty</th>
- <th><font color=ffffff>Recd</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Bin</th>
- </tr>
-
- <%foreach number%>
- <tr valign=top>
- <td><%runningnumber%></td>
- <td><%number%></td>
- <td><%description%></td>
- <td><%serialnumber%></td>
- <td><%deliverydate%></td>
- <td align=right><%qty%></td>
- <td align=right><%ship%></td>
- <td><%unit%></td>
- <td><%bin%></td>
- </tr>
- <%end number%>
-
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td><hr noshade></td>
- </tr>
-
-</table>
-
diff --git a/sql-ledger/templates/French-bin_list.tex b/sql-ledger/templates/French-bin_list.tex
deleted file mode 100644
index 034fd72..0000000
--- a/sql-ledger/templates/French-bin_list.tex
+++ /dev/null
@@ -1,147 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 37%>
-\end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}rlXllrrll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.5\textwidth}{
-\textbf{From}
-\vspace{0.7cm}
-
-<%name%>
-
-<%address1%>
-
-<%if %address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country4%>
-<%end country%>
-}
-\parbox[t]{.4\textwidth}{
-\textbf{Ship To}
-\vspace{0.7cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%if shiptoaddress2%>
-<%shiptoaddress2%>
-<%end shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{B I N} \parbox{0.3cm}{\hfill} \textbf{L I S T}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{Order \#} & \textbf{Date} & \textbf{Contact}
- <%if warehouse%>
- & \textbf{Warehouse}
- <%end warehouse%>
- & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em]
- \hline
-
- <%ordnumber%>
- <%if shippingdate%>
- & <%shippingdate%>
- <%end shippingdate%>
- <%if not shippingdate%>
- & <%orddate%>
- <%end shippingdate%>
- & <%employee%>
- <%if warehouse%>
- & <%warehouse%>
- <%end warehouse%>
- & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}rlXllrrll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\
-
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> &
- <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> & <%bin%> \\
-<%end number%>
-\end{tabularx}
-
-
-\rule{\textwidth}{2pt}
-
-\end{document}
-
diff --git a/sql-ledger/templates/French-check.tex b/sql-ledger/templates/French-check.tex
deleted file mode 100644
index 6742b5b..0000000
--- a/sql-ledger/templates/French-check.tex
+++ /dev/null
@@ -1,75 +0,0 @@
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\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
deleted file mode 100644
index e76df09..0000000
--- a/sql-ledger/templates/French-income_statement.html
+++ /dev/null
@@ -1,86 +0,0 @@
-<!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
deleted file mode 100644
index 69cae56..0000000
--- a/sql-ledger/templates/French-invoice.html
+++ /dev/null
@@ -1,318 +0,0 @@
-<!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><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
-<br><%shiptoaddress2%>
-<%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
- </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
-to show the percentage for a discount use <%discountrate%>
--->
-
- <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
deleted file mode 100644
index 828c625..0000000
--- a/sql-ledger/templates/French-invoice.tex
+++ /dev/null
@@ -1,155 +0,0 @@
-\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 37%>
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\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
deleted file mode 100644
index 3fa2fec..0000000
--- a/sql-ledger/templates/French-packing_list.html
+++ /dev/null
@@ -1,152 +0,0 @@
-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
deleted file mode 100644
index d8be76c..0000000
--- a/sql-ledger/templates/French-packing_list.tex
+++ /dev/null
@@ -1,125 +0,0 @@
-\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 37%>
-\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-pick_list.html b/sql-ledger/templates/French-pick_list.html
deleted file mode 100644
index 7548560..0000000
--- a/sql-ledger/templates/French-pick_list.html
+++ /dev/null
@@ -1,153 +0,0 @@
-
-<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>P I C K &nbsp;&nbsp; L I S T</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <tr bgcolor=000000>
- <th width=50% align=left><font color=ffffff>Ship To:</th>
- <th width=50%>&nbsp;</th>
- </tr>
-
- <tr valign=top>
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
- </td>
-
- <td>
- <%if shiptocontact%>
- <br>Attn: <%shiptocontact%>
- <%end shiptocontact%>
-
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
-
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
-
- <%shiptoemail%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% border=1>
- <tr>
- <th width=15% align=left>Invoice #</th>
- <th width=15% align=left>Order #</th>
- <th width=10% align=left>Date</th>
- <th width=15% align=left nowrap>Contact</th>
- <th width=15% align=left>Warehouse</th>
- <th width=10% align=left>Shipping Point</th>
- <th width=10% align=left>Ship via</th>
- </tr>
-
- <tr>
- <td><%invnumber%>&nbsp;</td>
- <td><%ordnumber%>&nbsp;</td>
- <%if shippingdate%>
- <td><%shippingdate%></td>
- <%end shippingdate%>
-
- <%if not shippingdate%>
- <td><%transdate%></td>
- <%end shippingdate%>
-
- <td><%employee%>&nbsp;</td>
- <td><%warehouse%>&nbsp;</td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr bgcolor=000000>
- <th align=left><font color=ffffff>Pos</th>
- <th align=left><font color=ffffff>Number</th>
- <th align=left><font color=ffffff>Description</th>
- <th><font color=ffffff>Qty</th>
- <th><font color=ffffff>Ship</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Bin</th>
- </tr>
-
- <%foreach number%>
- <tr valign=top>
- <td><%runningnumber%>
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td align=right>[&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]</td>
- <td><%unit%></td>
- <td align=right><%bin%></td>
- </tr>
- <%end number%>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td><hr noshade></td>
- </tr>
-
-</table>
-
diff --git a/sql-ledger/templates/French-pick_list.tex b/sql-ledger/templates/French-pick_list.tex
deleted file mode 100644
index c737f6a..0000000
--- a/sql-ledger/templates/French-pick_list.tex
+++ /dev/null
@@ -1,144 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 37%>
-\end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}rlXrcll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} &
- \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\
-
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.5\textwidth}{
- \textbf{Ship To}
-} \hfill
-
-\vspace{0.7cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.5\textwidth}{
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-}
-\parbox[t]{.4\textwidth}{
- <%shiptocontact%>
-
- <%if shiptophone%>
- Tel: <%shiptophone%>
- <%end shiptophone%>
-
- <%if shiptofax%>
- Fax: <%shiptofax%>
- <%end shiptofax%>
-
- <%shiptoemail%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{P I C K} \parbox{0.3cm}{\hfill} \textbf{L I S T}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{7}{|X}|} \hline
- \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact}
- & \textbf{Warehouse} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em]
- \hline
- <%invnumber%> & <%ordnumber%>
- <%if shippingdate%>
- & <%shippingdate%>
- <%end shippingdate%>
- <%if not shippingdate%>
- & <%transdate%>
- <%end shippingdate%>
- & <%employee%>
- <%if warehouse%>
- & <%warehouse%>
- <%end warehouse%>
- & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}rlXrcll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} &
- \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> &
- <%qty%> & [\hspace{1cm}] & <%unit%> & <%bin%> \\
-<%end number%>
-\end{tabularx}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-}
-
-\end{document}
-
diff --git a/sql-ledger/templates/French-pos_invoice.txt b/sql-ledger/templates/French-pos_invoice.txt
deleted file mode 100644
index 9ec12f4..0000000
--- a/sql-ledger/templates/French-pos_invoice.txt
+++ /dev/null
@@ -1,51 +0,0 @@
-<%company align=center width=40%>
-<%address align=center width=40%>
-
- Till: <%till align=left width=3%> Phone#: <%tel%>
-Clerk: <%username%>
-Sales: <%employee%>
-
-<%invtime%><%invnumber align=right width=16%>
-
- Qty Description Amount
-<%foreach number%>
-<%qty align=right width=5%> <%description align=left width=24 offset=6%> <%linetotal align=right width=9%>
- <%number%> @ <%sellprice%>/<%unit%>
-<%end number%>
-
-Number of items: <%rowcount%>
-<%if taxincluded%>
- ---------------
- Amount Due: <%invtotal align=right width=9%>
-<%end taxincluded%>
-<%if not taxincluded%>
- ------------
- Subtotal: <%subtotal align=right width=9%>
-<%end taxincluded%>
-<%foreach tax%>
-<%taxdescription align=right width=23%> @ <%taxrate align=right width=2%>%: <%tax align=right width=9%>
-<%end tax%>
- Amount Due: <%invtotal align=right width=9%>
-<%foreach payment%>
-<%paymentaccount align=right width=29%>: <%payment align=right width=9%> <%currency%>
-<%end payment%>
-<%if change%>
- Change: <%change align=right width=9%>
-<%end change%>
-<%if total%>
- Balance Due: <%total align=right width=9%>
-<%end total%>
-<%if discount%>
-
-<%discount%> % Discount applied
-<%end discount%>
-
- Thank you for your valued business!
-
-<%if taxincluded%>
-Taxes are included in price.
-<%end taxincluded%>
-
-
-
-
diff --git a/sql-ledger/templates/French-purchase_order.html b/sql-ledger/templates/French-purchase_order.html
deleted file mode 100644
index 29af338..0000000
--- a/sql-ledger/templates/French-purchase_order.html
+++ /dev/null
@@ -1,211 +0,0 @@
-<!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><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
- </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
deleted file mode 100644
index d95653d..0000000
--- a/sql-ledger/templates/French-purchase_order.tex
+++ /dev/null
@@ -1,147 +0,0 @@
-\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 37%>
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\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
deleted file mode 100644
index 6742b5b..0000000
--- a/sql-ledger/templates/French-receipt.tex
+++ /dev/null
@@ -1,75 +0,0 @@
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\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-request_quotation.html b/sql-ledger/templates/French-request_quotation.html
deleted file mode 100644
index a9a6f4f..0000000
--- a/sql-ledger/templates/French-request_quotation.html
+++ /dev/null
@@ -1,202 +0,0 @@
-
-<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><img src=http://www.sql-ledger.org/images/sql-ledger.png border=0 width=64 height=58>
- </td>
-
- <td align=right>
- <h4>
- Tel: <%tel%>
- <br>Fax: <%fax%>
- </h4>
- </td>
- </tr>
-
- <tr>
- <th colspan=3>
- <h4>R E Q U E S T &nbsp;&nbsp; F O R &nbsp;&nbsp; Q U O T A T I O N</h4>
- </th>
- </tr>
-
- </table>
-
-
- <table width=100% callspacing=0 cellpadding=0>
-
- <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><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
-<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><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddr2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
-<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 colspan=2>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left>RFQ #</th>
- <th width=17% align=left>Date</th>
- <th width=17% align=left>Required by</th>
- <th width=17% align=left>Contact</th>
- <th width=17% align=left>Shipping Point</th>
- <th width=15% align=left>Ship via</th>
- </tr>
-
- <tr>
- <td><%quonumber%></td>
- <td><%quodate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height="10"></tr>
-
- <tr>
- <td>Please provide price and delivery time for the following items:</td>
- </tr>
-
- <tr height="10"></tr>
-
- <tr>
- <td>
- <table width=100%>
- <tr>
-<!-- <th align=right>No.</th> -->
- <th align=left>Number</th>
- <th align=left><font color=ffffff>Description</th>
- <th>Qt'y</th>
- <th>&nbsp;</th>
- <th>Delivery</th>
- <th>Unit Price</th>
- <th>Extended</th>
- </tr>
-
-<%foreach number%>
- <tr valign=top>
-<!-- <td align=right><%runningnumber%>.</td>
-other per line item variables available <%reqdate%>
-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>
-
- </tr>
-<%end number%>
-
- <tr>
- <td colspan=7><hr noshade></td>
- </tr>
-
- </table>
- </td>
- </tr>
-
-<tr>
- <td>
- <table width=100%>
-<%if notes%>
- <tr valign=top>
- <td>Notes</td>
- <td><%notes%></td>
- </tr>
-<%end notes%>
-
- </table>
- </td>
-</tr>
-
-<tr><td>&nbsp;</td></tr>
-
-<tr>
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=70%>&nbsp;</td>
-
- <td width=30%>
- X <hr noshade>
- </td>
- </tr>
- </table>
- </td>
-</tr>
-
-</table>
-
-</td>
-</tr>
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/French-request_quotation.tex b/sql-ledger/templates/French-request_quotation.tex
deleted file mode 100644
index 4e9cfe0..0000000
--- a/sql-ledger/templates/French-request_quotation.tex
+++ /dev/null
@@ -1,175 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 48%>
-\end{tabularx}
-
- \rule{\textwidth}{2pt}
-
- \hfill
- \begin{tabularx}{7cm}{Xr@{}}
- \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
- \end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}lXrlrr@{}}
- \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
- \textbf{Unit} & \textbf{Price} & \textbf{Extended} \\
- & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.45\textwidth}{
-\textbf{To}
-\vspace{0.7cm}
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-\vspace{0.2cm}
-<%end contact%>
-
-<%if vendorphone%>
-Tel: <%vendorphone%>
-<%end vendorphone%>
-
-<%if vendorfax%>
-Fax: <%vendorfax%>
-<%end vendorfax%>
-
-<%email%>
-}
-\parbox[t]{.45\textwidth}{
-\textbf{Ship To}
-\vspace{0.7cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-
-\vspace{0.3cm}
-
-<%if shiptocontact%>
-<%shiptocontact%>
-\vspace{0.2cm}
-<%end shiptocontact%>
-
-<%if shiptophone%>
-Tel: <%shiptophone%>
-<%end shiptophone%>
-
-<%if shiptofax%>
-Fax: <%shiptofax%>
-<%end shiptofax%>
-
-<%shiptoemail%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{R E Q U E S T for Q U O T A T I O N}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{RFQ \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex]
- \hline
- <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-Please provide price and delivery time for the following items:
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}lXrllrr@{}}
- \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & &
- \textbf{Delivery} & \textbf{Unit Price} & \textbf{Extended} \\
-<%foreach number%>
- <%number%> & <%description%> & <%qty%> & <%unit%> \\
-<%end number%>
-\end{tabularx}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\hfill
-
-<%notes%>
-
-}
-
-\end{document}
-
diff --git a/sql-ledger/templates/French-sales_order.html b/sql-ledger/templates/French-sales_order.html
deleted file mode 100644
index 3bf0a7b..0000000
--- a/sql-ledger/templates/French-sales_order.html
+++ /dev/null
@@ -1,237 +0,0 @@
-<!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><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
-<br><%shiptoaddress2%>
-<%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
- </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
deleted file mode 100644
index ceefade..0000000
--- a/sql-ledger/templates/French-sales_order.tex
+++ /dev/null
@@ -1,151 +0,0 @@
-\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 37%>
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\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%> \\
- <%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}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-sales_quotation.html b/sql-ledger/templates/French-sales_quotation.html
deleted file mode 100644
index cc57a5c..0000000
--- a/sql-ledger/templates/French-sales_quotation.html
+++ /dev/null
@@ -1,225 +0,0 @@
-
-<body bgcolor=ffffff>
-
-<table width=100%>
-<tr valign=bottom>
- <td width=10>&nbsp;</td>
- <td>
-
- <table width=100%>
- <tr valign=top>
- <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><td colspan=3>&nbsp;</td></tr>
-
- <tr>
- <th colspan=3>
- <h4>Q U O T A T I O N</h4>
- </th>
- </tr>
-
- </table>
-
- <table width=100% callspacing=0 cellpadding=0>
-
- <tr>
- <td>
- <table width=100%>
-
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
-
- <br>
- <%if contact%>
- <br>Attn: <%contact%>
- <%end contact%>
-
- <%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><td>&nbsp;</td></tr>
-
- <tr>
- <td colspan=2>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left nowrap>Number</th>
- <th width=17% align=left>Date</th>
- <th width=17% align=left>Valid until</th>
- <th width=17% align=left nowrap>Contact</th>
- <th width=17% align=left nowrap>Shipping Point</th>
- <th width=15% align=left nowrap>Ship via</th>
- </tr>
-
- <tr>
- <td><%quonumber%></td>
- <td><%quodate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</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>
-
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td align=right><%sellprice%></td>
- <td align=right><%discountrate%></td>
- <td align=right><%linetotal%></td>
- </tr>
-<%end number%>
-
- <tr>
- <td colspan=8><hr noshade></td>
- </tr>
-
- <tr>
-<%if taxincluded%>
- <th colspan=6 align=right>Total</th>
- <td colspan=2 align=right><%invtotal%></td>
-<%end taxincluded%>
-
-<%if not taxincluded%>
- <th colspan=6 align=right>Subtotal</th>
- <td colspan=2 align=right><%subtotal%></td>
-<%end taxincluded%>
- </tr>
-
-<%foreach tax%>
- <tr>
- <th colspan=6 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th>
- <td colspan=2 align=right><%tax%></td>
- </tr>
-<%end tax%>
-
- <tr>
- <td colspan=4>&nbsp;</td>
- <td colspan=4><hr noshade></td>
- </tr>
-
- <tr>
- <td colspan=4>&nbsp;
-<%if terms%>
- Terms Net <b><%terms%></b> days
-<%end terms%>
- </td>
- <th colspan=2 align=right>Total</th>
- <th colspan=2 align=right><%quototal%></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
- </td>
- </tr>
-
- </table>
- </td>
-</tr>
-
-<tr><td>&nbsp;</td></tr>
-
-<tr>
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=60%><font size=-3>
- Special order items are subject to a 10% cancellation fee.
- </font>
- </td>
- <td width=40%>
- X <hr noshade>
- </td>
- </tr>
- </table>
- </td>
-</tr>
-
-</table>
-
-</td>
-</tr>
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/French-sales_quotation.tex b/sql-ledger/templates/French-sales_quotation.tex
deleted file mode 100644
index acc4870..0000000
--- a/sql-ledger/templates/French-sales_quotation.tex
+++ /dev/null
@@ -1,157 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 48%>
-\end{tabular*}
-
- \rule{\textwidth}{2pt}
-
- \hfill
- \begin{tabularx}{7cm}{Xr@{}}
- \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
- \end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%quonumber%>}{<%company%>\hfill <%quonumber%>}
-
-\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%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.45\textwidth}{
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%contact%>
-
-\vspace{0.2cm}
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-
-\vspace{1cm}
-
-\textbf{Q U O T A T I O N}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{Quotation \#} & \textbf{Date} & \textbf{Valid until} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex]
- \hline
- <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\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%> & <%discountrate%> & <%linetotal%> \\
-<%end number%>
-\end{tabular*}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\vspace{0.2cm}
-
-\hfill
-\begin{tabularx}{7cm}{Xr@{}}
- Subtotal & <%subtotal%> \\
-<%foreach tax%>
- <%taxdescription%> on <%taxbase%> & <%tax%>\\
-<%end tax%>
- \hline
- Total & <%quototal%>\\
-\end{tabularx}
-
-\vspace{0.3cm}
-
-\hfill
- All prices in \textbf{<%currency%>}.
-
-\vspace{12pt}
-
-<%notes%>
-
-}
-
-\vfill
-
-\end{document}
-
-
diff --git a/sql-ledger/templates/French-statement.html b/sql-ledger/templates/French-statement.html
deleted file mode 100644
index 015a8de..0000000
--- a/sql-ledger/templates/French-statement.html
+++ /dev/null
@@ -1,137 +0,0 @@
-<!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><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
- <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
deleted file mode 100644
index fdc7339..0000000
--- a/sql-ledger/templates/French-statement.tex
+++ /dev/null
@@ -1,111 +0,0 @@
-\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
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{1.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{10.5cm}{
-
-<%name%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-}
-\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 \textbf{<%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{0.5cm}
-
-\hfill
-\begin{tabularx}{7cm}{Xr@{}}
- \textbf{Total outstanding} & <%total%>
-\end{tabularx}
-
-\vfill
-
-Please make check payable to <%company%>
-
-\end{document}
-
diff --git a/sql-ledger/templates/French-work_order.html b/sql-ledger/templates/French-work_order.html
deleted file mode 100644
index 0732fe2..0000000
--- a/sql-ledger/templates/French-work_order.html
+++ /dev/null
@@ -1,174 +0,0 @@
-
-<body bgcolor=ffffff>
-
-<table width=100%>
- <tr>
- <td width=10>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=bottom>
- <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>W O R K &nbsp;&nbsp; O R D E R</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <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><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%>
- <br><%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
- <%if contact%>
- <br>Attn: <%contact%>
- <%end contact%>
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
- <%if email%>
- <br><%email%>
- <%end email%>
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%>
- <br><%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
- <br>
- <%if shiptocontact%>
- <br><%shiptocontact%>
- <%end shiptocontact%>
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
- <%if shiptoemail%>
- <br><%shiptoemail%>
- <%end shiptoemail%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left nowrap>Order Number</th>
- <th width=17% align=left>Order Date</th>
- <th width=17% align=left>Required by</th>
- <th width=17% align=left nowrap>Salesperson</th>
- <th width=17% align=left nowrap>Shipping Point</th>
- <th width=15% align=left nowrap>Ship Via</th>
- </tr>
-
- <tr>
- <td><%ordnumber%></td>
- <td><%orddate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <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>Serial No.</th>
- </tr>
-
- <%foreach number%>
- <tr valign=top>
- <td align=right><%runningnumber%>.</td>
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td><%serialnumber%></td>
- </tr>
- <%end number%>
-
- <tr>
- <td colspan=6><hr noshade></td>
- </tr>
-
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <%if notes%>
- <td><%notes%></td>
- <%end notes%>
- </tr>
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/French-work_order.tex b/sql-ledger/templates/French-work_order.tex
deleted file mode 100644
index cb6774d..0000000
--- a/sql-ledger/templates/French-work_order.tex
+++ /dev/null
@@ -1,177 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{%
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5em]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 48%>
-\end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}rlXrll@{}}
- \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
- & \textbf{Serial Number} \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.45\textwidth}{
-\textbf{To}
-\vspace{0.7cm}
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-\vspace{0.2cm}
-<%end contact%>
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\parbox[t]{.45\textwidth}{
-\textbf{Ship To}
-\vspace{0.7cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-
-\vspace{0.3cm}
-
-<%if shiptocontact%>
-<%shiptocontact%>
-\vspace{0.2cm}
-<%end shiptocontact%>
-
-<%if shiptophone%>
-Tel: <%shiptophone%>
-<%end shiptophone%>
-
-<%if shiptofax%>
-Fax: <%shiptofax%>
-<%end shiptofax%>
-
-<%shiptoemail%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{W O R K} \parbox{0.3cm}{\hfill} \textbf{O R D E R}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship Via} \\ [0.5em]
- \hline
- <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}rlXrll@{}}
- \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
- & \textbf{Serial Number} \\
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> & <%qty%> &
- <%unit%> & <%serialnumber%> \\
-<%end number%>
-\end{tabularx}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\vspace{12pt}
-
-<%if notes%>
- <%notes%>
-<%end if%>
-
-}
-
-\vfill
-
-\vspace{1cm}
-
-\rule{\textwidth}{0.5pt}
-
-\end{document}
-
-
-
-
-
-
diff --git a/sql-ledger/templates/German-ap_transaction.html b/sql-ledger/templates/German-ap_transaction.html
deleted file mode 100644
index c7bae85..0000000
--- a/sql-ledger/templates/German-ap_transaction.html
+++ /dev/null
@@ -1,229 +0,0 @@
-
-<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>
- <hr noshade><br>
- <h4>A P - T R A N S A C T I O N</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
-
- <%if contact%>
- <br><%contact%>
- <br>
- <%end contact%>
-
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
-
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
-
- <%if email%>
- <br><%email%>
- <%end email%>
- </td>
-
- <td align=right>
- <table>
- <tr>
- <th align=left nowrap>Invoice #</th>
- <td><%invnumber%></td>
- </tr>
- <tr>
- <th align=left nowrap>Date</th>
- <td><%invdate%></td>
- </tr>
- <tr>
- <th align=left nowrap>Due</th>
- <td><%duedate%></td>
- </tr>
- <tr>
- <th align=left>Order #</th>
- <td><%ordnumber%>&nbsp;</td>
- </tr>
- <tr>
- <th align=left nowrap>Employee</th>
- <td><%employee%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=50%>
- <table>
- <%foreach account%>
- <tr valign=top>
- <td><%accno%></td>
- <td><%account%></td>
- <td align=right><%amount%></td>
- <td><%projectnumber%></td>
- </tr>
- <%end account%>
-
- <tr>
- <%if taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Subtotal</th>
- <td align=right><%subtotal%></td>
- <%end taxincluded%>
- </tr>
-
- <%foreach tax%>
- <tr>
- <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th>
- <td align=right><%tax%></td>
- </tr>
- <%end tax%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- </table>
- </td>
- <td width=50%>
- <%notes%>
- </td>
- </tr>
- </table>
- </td>
- <tr>
- <td>&nbsp;</td>
-
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <%text_amount%> ***** <%decimal%>/100 <%currency%>
- </td>
- </tr>
-
- <%if paid%>
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table>
- <tr>
- <th>Payments</th>
- </tr>
-
- <tr>
- <td>
- <hr noshade>
- </td>
- </tr>
-
- <tr>
- <td>
- <table>
- <tr>
- <th align=left>Date</th>
- <th align=left>Account</th>
- <th align=left>Source</th>
- <th align=left>Memo</th>
- <th align=left>Amount</th>
- </tr>
- <%end paid%>
-
- <%foreach payment%>
- <tr>
- <td><%paymentdate%></td>
- <td><%paymentaccount%></td>
- <td><%paymentsource%></td>
- <td><%paymentmemo%></td>
- <td><%payment%></td>
- </tr>
- <%end payment%>
-
- <%if paid%>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <%end paid%>
-
- <tr height=10></tr>
-
- <%if taxincluded%>
- <tr>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th>
- </tr>
- <%end taxincluded%>
-
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/German-ap_transaction.tex b/sql-ledger/templates/German-ap_transaction.tex
deleted file mode 100644
index 8bfd9f7..0000000
--- a/sql-ledger/templates/German-ap_transaction.tex
+++ /dev/null
@@ -1,125 +0,0 @@
-\documentclass[10pt,letterpaper,oneside,onecolumn]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{%
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5em]{\textwidth}{0.5pt}
-}
-
-\centerline{\textbf{A P} \hspace{0.3cm} \textbf{T R A N S A C T I O N}}
-
-\vspace*{0.5cm}
-
-\parbox[t]{.5\textwidth}{
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-<%end contact%>
-
-\vspace{0.2cm}
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\hfill
-\begin{tabular}[t]{ll}
- \textbf{Invoice \#} & <%invnumber%> \\
- \textbf{Date} & <%invdate%> \\
- \textbf{Due} & <%duedate%> \\
- \textbf{Order \#} & <%ordnumber%> \\
- \textbf{Employee} & <%employee%> \\
-\end{tabular}
-
-\vspace{1cm}
-
-\begin{tabularx}{.5\textwidth}[t]{@{}llrl@{}}
-<%foreach amount%>
- <%accno%> & <%account%> & <%amount%> & <%projectnumber%> \\
-<%end amount%>
-
- \multicolumn{2}{r}{\textbf{Subtotal}} & <%subtotal%> & \\
-<%foreach tax%>
- \multicolumn{2}{r}{\textbf{<%taxdescription%> @ <%taxrate%> \%}} & <%tax%> & \\
-<%end tax%>
-
- \multicolumn{2}{r}{\textbf{Total}} & <%invtotal%> & \\
-
-\end{tabularx}
-<%notes%>
-
-\vspace{0.3cm}
-
-<%text_amount%> ***** <%decimal%>/100 <%currency%>
-
-\vspace{0.3cm}
-
-<%if paid%>
-\begin{tabular}{@{}llllr@{}}
- \multicolumn{5}{c}{\textbf{Payments}} \\
- \hline
- \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\
-<%end paid%>
-<%foreach payment%>
- <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%paymentmemo%> & <%payment%> \\
-<%end payment%>
-<%if paid%>
-\end{tabular}
-<%end paid%>
-
-\end{document}
-
diff --git a/sql-ledger/templates/German-ar_transaction.html b/sql-ledger/templates/German-ar_transaction.html
deleted file mode 100644
index dbd0a1c..0000000
--- a/sql-ledger/templates/German-ar_transaction.html
+++ /dev/null
@@ -1,237 +0,0 @@
-
-<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>
- <hr noshade><br>
- <h4>A R - T R A N S A C T I O N</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
-
- <%if contact%>
- <br><%contact%>
- <br>
- <%end contact%>
-
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
-
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
-
- <%if email%>
- <br><%email%>
- <%end email%>
- </td>
-
- <td align=right>
- <table>
- <tr>
- <th align=left nowrap>Invoice #</th>
- <td><%invnumber%></td>
- </tr>
- <tr>
- <th align=left nowrap>Date</th>
- <td><%invdate%></td>
- </tr>
- <tr>
- <th align=left nowrap>Due</th>
- <td><%duedate%></td>
- </tr>
- <tr>
- <th align=left>Order #</th>
- <td><%ordnumber%>&nbsp;</td>
- </tr>
- <tr>
- <th align=left nowrap>Salesperson</th>
- <td><%employee%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=50%>
- <table>
- <%foreach account%>
- <tr valign=top>
- <td><%accno%></td>
- <td><%account%></td>
- <td align=right><%amount%></td>
- <td><%projectnumber%></td>
- </tr>
- <%end account%>
-
- <tr>
- <%if taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Subtotal</th>
- <td align=right><%subtotal%></td>
- <%end taxincluded%>
- </tr>
-
- <%foreach tax%>
- <tr>
- <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th>
- <td align=right><%tax%></td>
- </tr>
- <%end tax%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- </table>
- </td>
- <td width=50%>
- <%notes%>
- </td>
- </tr>
- </table>
- </td>
- <tr>
- <td>&nbsp;</td>
-
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <%text_amount%> ***** <%decimal%>/100 <%currency%>
- </td>
- </tr>
-
- <%if paid%>
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table>
- <tr>
- <th>Payments</th>
- </tr>
-
- <tr>
- <td>
- <hr noshade>
- </td>
- </tr>
-
- <tr>
- <td>
- <table>
- <tr>
- <th align=left>Date</th>
- <th align=left>Account</th>
- <th align=left>Source</th>
- <th align=left>Memo</th>
- <th align=left>Amount</th>
- </tr>
- <%end paid%>
-
- <%foreach payment%>
- <tr>
- <td><%paymentdate%></td>
- <td><%paymentaccount%></td>
- <td><%paymentsource%></td>
- <td><%paymentmemo%></td>
- <td><%payment%></td>
- </tr>
- <%end payment%>
-
- <%if paid%>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <%end paid%>
-
- <tr height=10></tr>
-
- <%foreach tax%>
- <tr>
- <td>&nbsp;</td>
-
- <th colspan=9 align=left><font size=-2><%taxdescription%> Registration <%taxnumber%></th>
- </tr>
- <%end tax%>
-
- <%if taxincluded%>
- <tr>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th>
- </tr>
- <%end taxincluded%>
-
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/German-ar_transaction.tex b/sql-ledger/templates/German-ar_transaction.tex
deleted file mode 100644
index 654d2b9..0000000
--- a/sql-ledger/templates/German-ar_transaction.tex
+++ /dev/null
@@ -1,131 +0,0 @@
-\documentclass[10pt,letterpaper,oneside,onecolumn]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{%
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5em]{\textwidth}{0.5pt}
-}
-
-\centerline{\textbf{A R} \hspace{0.3cm} \textbf{T R A N S A C T I O N}}
-
-\vspace*{0.5cm}
-
-\parbox[t]{.5\textwidth}{
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-<%end contact%>
-
-\vspace{0.2cm}
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\hfill
-\begin{tabular}[t]{ll}
- \textbf{Invoice \#} & <%invnumber%> \\
- \textbf{Date} & <%invdate%> \\
- \textbf{Due} & <%duedate%> \\
- \textbf{Order \#} & <%ordnumber%> \\
- \textbf{Employee} & <%employee%> \\
-\end{tabular}
-
-\vspace{1cm}
-
-\begin{tabularx}{.5\textwidth}[t]{@{}llrl@{}}
-<%foreach amount%>
- <%accno%> & <%account%> & <%amount%> & <%projectnumber%> \\
-<%end amount%>
-
- \multicolumn{2}{r}{\textbf{Subtotal}} & <%subtotal%> & \\
-<%foreach tax%>
- \multicolumn{2}{r}{\textbf{<%taxdescription%> @ <%taxrate%> \%}} & <%tax%> & \\
-<%end tax%>
-
- \multicolumn{2}{r}{\textbf{Total}} & <%invtotal%> & \\
-
-\end{tabularx}
-<%notes%>
-
-\vspace{0.3cm}
-
-<%text_amount%> ***** <%decimal%>/100 <%currency%>
-
-\vspace{0.3cm}
-
-<%if paid%>
-\begin{tabular}{@{}llllr@{}}
- \multicolumn{5}{c}{\textbf{Payments}} \\
- \hline
- \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\
-<%end paid%>
-<%foreach payment%>
- <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%paymentmemo%> & <%payment%> \\
-<%end payment%>
-<%if paid%>
-\end{tabular}
-<%end paid%>
-
-\vspace{0.5cm}
-
-<%foreach tax%>
-\textbf{\small{<%taxdescription%> Registration <%taxnumber%>}} \\
-<%end tax%>
-
-\end{document}
-
diff --git a/sql-ledger/templates/German-balance_sheet.html b/sql-ledger/templates/German-balance_sheet.html
deleted file mode 100644
index f0d6f5e..0000000
--- a/sql-ledger/templates/German-balance_sheet.html
+++ /dev/null
@@ -1,100 +0,0 @@
-
-<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-bin_list.html b/sql-ledger/templates/German-bin_list.html
deleted file mode 100644
index c945421..0000000
--- a/sql-ledger/templates/German-bin_list.html
+++ /dev/null
@@ -1,189 +0,0 @@
-
-<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>
-
- <th align=right>
- <h4>
- Tel: <%tel%>
- <br>Fax: <%fax%>
- </h4>
- </td>
- </tr>
-
- <tr>
- <th colspan=3>
- <h4>B I N &nbsp;&nbsp; L I S T</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% cellspacing=0 cellpadding=0>
- <tr bgcolor=000000>
- <th align=left width=50%><font color=ffffff>From</th>
- <th align=left width=50%><font color=ffffff>Ship To</th>
- </tr>
-
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
-
- <%if contact%>
- <br>Attn: <%contact%>
- <%end contact%>
-
- <%if vendorphone%>
- <br>Tel: <%vendorphone%>
- <%end vendorphone%>
-
- <%if vendorfax%>
- <br>Fax: <%vendorfax%>
- <%end vendorfax%>
-
- <%if email%>
- <br><%email%>
- <%end email%>
-
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
-
- <br>
- <%if shiptocontact%>
- <br>Attn: <%shiptocontact%>
- <%end shiptocontact%>
-
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
-
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left nowrap>Order #</th>
- <th width=17% align=left nowrap>Date</th>
- <th width=17% align=left nowrap>Contact</th>
- <%if warehouse%>
- <th width=17% align=left nowrap>Warehouse</th>
- <%end warehouse%>
- <th width=17% align=left>Shipping Point</th>
- <th width=15% align=left>Ship via</th>
- </tr>
-
- <tr>
- <td><%ordnumber%>&nbsp;</td>
-
- <%if shippingdate%>
- <td><%shippingdate%></td>
- <%end shippingdate%>
-
- <%if not shippingdate%>
- <td><%orddate%></td>
- <%end shippingdate%>
-
- <td><%employee%>&nbsp;</td>
-
- <%if warehouse%>
- <td><%warehouse%></td>
- <%end warehouse%>
-
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr bgcolor=000000>
- <th align=left><font color=ffffff>Pos</th>
- <th align=left><font color=ffffff>Number</th>
- <th align=left><font color=ffffff>Description</th>
- <th><font color=ffffff>Serialnumber</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Qty</th>
- <th><font color=ffffff>Recd</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Bin</th>
- </tr>
-
- <%foreach number%>
- <tr valign=top>
- <td><%runningnumber%></td>
- <td><%number%></td>
- <td><%description%></td>
- <td><%serialnumber%></td>
- <td><%deliverydate%></td>
- <td align=right><%qty%></td>
- <td align=right><%ship%></td>
- <td><%unit%></td>
- <td><%bin%></td>
- </tr>
- <%end number%>
-
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td><hr noshade></td>
- </tr>
-
-</table>
-
diff --git a/sql-ledger/templates/German-bin_list.tex b/sql-ledger/templates/German-bin_list.tex
deleted file mode 100644
index 034fd72..0000000
--- a/sql-ledger/templates/German-bin_list.tex
+++ /dev/null
@@ -1,147 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 37%>
-\end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}rlXllrrll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.5\textwidth}{
-\textbf{From}
-\vspace{0.7cm}
-
-<%name%>
-
-<%address1%>
-
-<%if %address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country4%>
-<%end country%>
-}
-\parbox[t]{.4\textwidth}{
-\textbf{Ship To}
-\vspace{0.7cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%if shiptoaddress2%>
-<%shiptoaddress2%>
-<%end shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{B I N} \parbox{0.3cm}{\hfill} \textbf{L I S T}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{Order \#} & \textbf{Date} & \textbf{Contact}
- <%if warehouse%>
- & \textbf{Warehouse}
- <%end warehouse%>
- & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em]
- \hline
-
- <%ordnumber%>
- <%if shippingdate%>
- & <%shippingdate%>
- <%end shippingdate%>
- <%if not shippingdate%>
- & <%orddate%>
- <%end shippingdate%>
- & <%employee%>
- <%if warehouse%>
- & <%warehouse%>
- <%end warehouse%>
- & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}rlXllrrll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\
-
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> &
- <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> & <%bin%> \\
-<%end number%>
-\end{tabularx}
-
-
-\rule{\textwidth}{2pt}
-
-\end{document}
-
diff --git a/sql-ledger/templates/German-check.tex b/sql-ledger/templates/German-check.tex
deleted file mode 100644
index 881ee37..0000000
--- a/sql-ledger/templates/German-check.tex
+++ /dev/null
@@ -1,75 +0,0 @@
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\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
deleted file mode 100644
index aa3c22f..0000000
--- a/sql-ledger/templates/German-income_statement.html
+++ /dev/null
@@ -1,78 +0,0 @@
-
-<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
deleted file mode 100644
index d181bda..0000000
--- a/sql-ledger/templates/German-invoice.html
+++ /dev/null
@@ -1,274 +0,0 @@
-
-<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><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
-<br><%shiptoaddress2%>
-<%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
- </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
-to show the percentage for a discount use <%discountrate%>
--->
-
- <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
deleted file mode 100644
index 77c432b..0000000
--- a/sql-ledger/templates/German-invoice.tex
+++ /dev/null
@@ -1,159 +0,0 @@
-\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 37%>
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\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
deleted file mode 100644
index 09ef402..0000000
--- a/sql-ledger/templates/German-packing_list.html
+++ /dev/null
@@ -1,146 +0,0 @@
-
-<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
deleted file mode 100644
index 2ddf99b..0000000
--- a/sql-ledger/templates/German-packing_list.tex
+++ /dev/null
@@ -1,118 +0,0 @@
-\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 37%>
-\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-pick_list.html b/sql-ledger/templates/German-pick_list.html
deleted file mode 100644
index 7548560..0000000
--- a/sql-ledger/templates/German-pick_list.html
+++ /dev/null
@@ -1,153 +0,0 @@
-
-<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>P I C K &nbsp;&nbsp; L I S T</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <tr bgcolor=000000>
- <th width=50% align=left><font color=ffffff>Ship To:</th>
- <th width=50%>&nbsp;</th>
- </tr>
-
- <tr valign=top>
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
- </td>
-
- <td>
- <%if shiptocontact%>
- <br>Attn: <%shiptocontact%>
- <%end shiptocontact%>
-
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
-
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
-
- <%shiptoemail%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% border=1>
- <tr>
- <th width=15% align=left>Invoice #</th>
- <th width=15% align=left>Order #</th>
- <th width=10% align=left>Date</th>
- <th width=15% align=left nowrap>Contact</th>
- <th width=15% align=left>Warehouse</th>
- <th width=10% align=left>Shipping Point</th>
- <th width=10% align=left>Ship via</th>
- </tr>
-
- <tr>
- <td><%invnumber%>&nbsp;</td>
- <td><%ordnumber%>&nbsp;</td>
- <%if shippingdate%>
- <td><%shippingdate%></td>
- <%end shippingdate%>
-
- <%if not shippingdate%>
- <td><%transdate%></td>
- <%end shippingdate%>
-
- <td><%employee%>&nbsp;</td>
- <td><%warehouse%>&nbsp;</td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr bgcolor=000000>
- <th align=left><font color=ffffff>Pos</th>
- <th align=left><font color=ffffff>Number</th>
- <th align=left><font color=ffffff>Description</th>
- <th><font color=ffffff>Qty</th>
- <th><font color=ffffff>Ship</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Bin</th>
- </tr>
-
- <%foreach number%>
- <tr valign=top>
- <td><%runningnumber%>
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td align=right>[&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]</td>
- <td><%unit%></td>
- <td align=right><%bin%></td>
- </tr>
- <%end number%>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td><hr noshade></td>
- </tr>
-
-</table>
-
diff --git a/sql-ledger/templates/German-pick_list.tex b/sql-ledger/templates/German-pick_list.tex
deleted file mode 100644
index c737f6a..0000000
--- a/sql-ledger/templates/German-pick_list.tex
+++ /dev/null
@@ -1,144 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 37%>
-\end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}rlXrcll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} &
- \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\
-
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.5\textwidth}{
- \textbf{Ship To}
-} \hfill
-
-\vspace{0.7cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.5\textwidth}{
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-}
-\parbox[t]{.4\textwidth}{
- <%shiptocontact%>
-
- <%if shiptophone%>
- Tel: <%shiptophone%>
- <%end shiptophone%>
-
- <%if shiptofax%>
- Fax: <%shiptofax%>
- <%end shiptofax%>
-
- <%shiptoemail%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{P I C K} \parbox{0.3cm}{\hfill} \textbf{L I S T}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{7}{|X}|} \hline
- \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact}
- & \textbf{Warehouse} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em]
- \hline
- <%invnumber%> & <%ordnumber%>
- <%if shippingdate%>
- & <%shippingdate%>
- <%end shippingdate%>
- <%if not shippingdate%>
- & <%transdate%>
- <%end shippingdate%>
- & <%employee%>
- <%if warehouse%>
- & <%warehouse%>
- <%end warehouse%>
- & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}rlXrcll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} &
- \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> &
- <%qty%> & [\hspace{1cm}] & <%unit%> & <%bin%> \\
-<%end number%>
-\end{tabularx}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-}
-
-\end{document}
-
diff --git a/sql-ledger/templates/German-pos_invoice.txt b/sql-ledger/templates/German-pos_invoice.txt
deleted file mode 100644
index 9ec12f4..0000000
--- a/sql-ledger/templates/German-pos_invoice.txt
+++ /dev/null
@@ -1,51 +0,0 @@
-<%company align=center width=40%>
-<%address align=center width=40%>
-
- Till: <%till align=left width=3%> Phone#: <%tel%>
-Clerk: <%username%>
-Sales: <%employee%>
-
-<%invtime%><%invnumber align=right width=16%>
-
- Qty Description Amount
-<%foreach number%>
-<%qty align=right width=5%> <%description align=left width=24 offset=6%> <%linetotal align=right width=9%>
- <%number%> @ <%sellprice%>/<%unit%>
-<%end number%>
-
-Number of items: <%rowcount%>
-<%if taxincluded%>
- ---------------
- Amount Due: <%invtotal align=right width=9%>
-<%end taxincluded%>
-<%if not taxincluded%>
- ------------
- Subtotal: <%subtotal align=right width=9%>
-<%end taxincluded%>
-<%foreach tax%>
-<%taxdescription align=right width=23%> @ <%taxrate align=right width=2%>%: <%tax align=right width=9%>
-<%end tax%>
- Amount Due: <%invtotal align=right width=9%>
-<%foreach payment%>
-<%paymentaccount align=right width=29%>: <%payment align=right width=9%> <%currency%>
-<%end payment%>
-<%if change%>
- Change: <%change align=right width=9%>
-<%end change%>
-<%if total%>
- Balance Due: <%total align=right width=9%>
-<%end total%>
-<%if discount%>
-
-<%discount%> % Discount applied
-<%end discount%>
-
- Thank you for your valued business!
-
-<%if taxincluded%>
-Taxes are included in price.
-<%end taxincluded%>
-
-
-
-
diff --git a/sql-ledger/templates/German-purchase_order.html b/sql-ledger/templates/German-purchase_order.html
deleted file mode 100644
index c9cebc8..0000000
--- a/sql-ledger/templates/German-purchase_order.html
+++ /dev/null
@@ -1,192 +0,0 @@
-
-<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><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
- </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
deleted file mode 100644
index e1e62c2..0000000
--- a/sql-ledger/templates/German-purchase_order.tex
+++ /dev/null
@@ -1,147 +0,0 @@
-\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 37%>
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\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
deleted file mode 100644
index 881ee37..0000000
--- a/sql-ledger/templates/German-receipt.tex
+++ /dev/null
@@ -1,75 +0,0 @@
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\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-request_quotation.html b/sql-ledger/templates/German-request_quotation.html
deleted file mode 100644
index a9a6f4f..0000000
--- a/sql-ledger/templates/German-request_quotation.html
+++ /dev/null
@@ -1,202 +0,0 @@
-
-<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><img src=http://www.sql-ledger.org/images/sql-ledger.png border=0 width=64 height=58>
- </td>
-
- <td align=right>
- <h4>
- Tel: <%tel%>
- <br>Fax: <%fax%>
- </h4>
- </td>
- </tr>
-
- <tr>
- <th colspan=3>
- <h4>R E Q U E S T &nbsp;&nbsp; F O R &nbsp;&nbsp; Q U O T A T I O N</h4>
- </th>
- </tr>
-
- </table>
-
-
- <table width=100% callspacing=0 cellpadding=0>
-
- <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><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
-<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><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddr2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
-<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 colspan=2>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left>RFQ #</th>
- <th width=17% align=left>Date</th>
- <th width=17% align=left>Required by</th>
- <th width=17% align=left>Contact</th>
- <th width=17% align=left>Shipping Point</th>
- <th width=15% align=left>Ship via</th>
- </tr>
-
- <tr>
- <td><%quonumber%></td>
- <td><%quodate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height="10"></tr>
-
- <tr>
- <td>Please provide price and delivery time for the following items:</td>
- </tr>
-
- <tr height="10"></tr>
-
- <tr>
- <td>
- <table width=100%>
- <tr>
-<!-- <th align=right>No.</th> -->
- <th align=left>Number</th>
- <th align=left><font color=ffffff>Description</th>
- <th>Qt'y</th>
- <th>&nbsp;</th>
- <th>Delivery</th>
- <th>Unit Price</th>
- <th>Extended</th>
- </tr>
-
-<%foreach number%>
- <tr valign=top>
-<!-- <td align=right><%runningnumber%>.</td>
-other per line item variables available <%reqdate%>
-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>
-
- </tr>
-<%end number%>
-
- <tr>
- <td colspan=7><hr noshade></td>
- </tr>
-
- </table>
- </td>
- </tr>
-
-<tr>
- <td>
- <table width=100%>
-<%if notes%>
- <tr valign=top>
- <td>Notes</td>
- <td><%notes%></td>
- </tr>
-<%end notes%>
-
- </table>
- </td>
-</tr>
-
-<tr><td>&nbsp;</td></tr>
-
-<tr>
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=70%>&nbsp;</td>
-
- <td width=30%>
- X <hr noshade>
- </td>
- </tr>
- </table>
- </td>
-</tr>
-
-</table>
-
-</td>
-</tr>
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/German-request_quotation.tex b/sql-ledger/templates/German-request_quotation.tex
deleted file mode 100644
index 4e9cfe0..0000000
--- a/sql-ledger/templates/German-request_quotation.tex
+++ /dev/null
@@ -1,175 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 48%>
-\end{tabularx}
-
- \rule{\textwidth}{2pt}
-
- \hfill
- \begin{tabularx}{7cm}{Xr@{}}
- \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
- \end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}lXrlrr@{}}
- \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
- \textbf{Unit} & \textbf{Price} & \textbf{Extended} \\
- & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.45\textwidth}{
-\textbf{To}
-\vspace{0.7cm}
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-\vspace{0.2cm}
-<%end contact%>
-
-<%if vendorphone%>
-Tel: <%vendorphone%>
-<%end vendorphone%>
-
-<%if vendorfax%>
-Fax: <%vendorfax%>
-<%end vendorfax%>
-
-<%email%>
-}
-\parbox[t]{.45\textwidth}{
-\textbf{Ship To}
-\vspace{0.7cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-
-\vspace{0.3cm}
-
-<%if shiptocontact%>
-<%shiptocontact%>
-\vspace{0.2cm}
-<%end shiptocontact%>
-
-<%if shiptophone%>
-Tel: <%shiptophone%>
-<%end shiptophone%>
-
-<%if shiptofax%>
-Fax: <%shiptofax%>
-<%end shiptofax%>
-
-<%shiptoemail%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{R E Q U E S T for Q U O T A T I O N}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{RFQ \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex]
- \hline
- <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-Please provide price and delivery time for the following items:
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}lXrllrr@{}}
- \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & &
- \textbf{Delivery} & \textbf{Unit Price} & \textbf{Extended} \\
-<%foreach number%>
- <%number%> & <%description%> & <%qty%> & <%unit%> \\
-<%end number%>
-\end{tabularx}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\hfill
-
-<%notes%>
-
-}
-
-\end{document}
-
diff --git a/sql-ledger/templates/German-sales_order.html b/sql-ledger/templates/German-sales_order.html
deleted file mode 100644
index ce37fc4..0000000
--- a/sql-ledger/templates/German-sales_order.html
+++ /dev/null
@@ -1,221 +0,0 @@
-
-<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>Bestelldatum</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><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
-<br><%shiptoaddress2%>
-<%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
- </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
deleted file mode 100644
index 98f2cc4..0000000
--- a/sql-ledger/templates/German-sales_order.tex
+++ /dev/null
@@ -1,149 +0,0 @@
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\vspace{3.5cm}
-
-\textbf{B E S T E L L U N G}
-\hfill
-\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
- \textbf{Bestelldatum} & <%orddate%> \\
-<%if reqdate%>
- \textbf{Lieferbar bei} & <%reqdate%> \\
-<%end reqdate%>
- \textbf{Bestellnummer} & <%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-sales_quotation.html b/sql-ledger/templates/German-sales_quotation.html
deleted file mode 100644
index cc57a5c..0000000
--- a/sql-ledger/templates/German-sales_quotation.html
+++ /dev/null
@@ -1,225 +0,0 @@
-
-<body bgcolor=ffffff>
-
-<table width=100%>
-<tr valign=bottom>
- <td width=10>&nbsp;</td>
- <td>
-
- <table width=100%>
- <tr valign=top>
- <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><td colspan=3>&nbsp;</td></tr>
-
- <tr>
- <th colspan=3>
- <h4>Q U O T A T I O N</h4>
- </th>
- </tr>
-
- </table>
-
- <table width=100% callspacing=0 cellpadding=0>
-
- <tr>
- <td>
- <table width=100%>
-
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
-
- <br>
- <%if contact%>
- <br>Attn: <%contact%>
- <%end contact%>
-
- <%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><td>&nbsp;</td></tr>
-
- <tr>
- <td colspan=2>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left nowrap>Number</th>
- <th width=17% align=left>Date</th>
- <th width=17% align=left>Valid until</th>
- <th width=17% align=left nowrap>Contact</th>
- <th width=17% align=left nowrap>Shipping Point</th>
- <th width=15% align=left nowrap>Ship via</th>
- </tr>
-
- <tr>
- <td><%quonumber%></td>
- <td><%quodate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</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>
-
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td align=right><%sellprice%></td>
- <td align=right><%discountrate%></td>
- <td align=right><%linetotal%></td>
- </tr>
-<%end number%>
-
- <tr>
- <td colspan=8><hr noshade></td>
- </tr>
-
- <tr>
-<%if taxincluded%>
- <th colspan=6 align=right>Total</th>
- <td colspan=2 align=right><%invtotal%></td>
-<%end taxincluded%>
-
-<%if not taxincluded%>
- <th colspan=6 align=right>Subtotal</th>
- <td colspan=2 align=right><%subtotal%></td>
-<%end taxincluded%>
- </tr>
-
-<%foreach tax%>
- <tr>
- <th colspan=6 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th>
- <td colspan=2 align=right><%tax%></td>
- </tr>
-<%end tax%>
-
- <tr>
- <td colspan=4>&nbsp;</td>
- <td colspan=4><hr noshade></td>
- </tr>
-
- <tr>
- <td colspan=4>&nbsp;
-<%if terms%>
- Terms Net <b><%terms%></b> days
-<%end terms%>
- </td>
- <th colspan=2 align=right>Total</th>
- <th colspan=2 align=right><%quototal%></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
- </td>
- </tr>
-
- </table>
- </td>
-</tr>
-
-<tr><td>&nbsp;</td></tr>
-
-<tr>
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=60%><font size=-3>
- Special order items are subject to a 10% cancellation fee.
- </font>
- </td>
- <td width=40%>
- X <hr noshade>
- </td>
- </tr>
- </table>
- </td>
-</tr>
-
-</table>
-
-</td>
-</tr>
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/German-sales_quotation.tex b/sql-ledger/templates/German-sales_quotation.tex
deleted file mode 100644
index acc4870..0000000
--- a/sql-ledger/templates/German-sales_quotation.tex
+++ /dev/null
@@ -1,157 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 48%>
-\end{tabular*}
-
- \rule{\textwidth}{2pt}
-
- \hfill
- \begin{tabularx}{7cm}{Xr@{}}
- \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
- \end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%quonumber%>}{<%company%>\hfill <%quonumber%>}
-
-\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%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.45\textwidth}{
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%contact%>
-
-\vspace{0.2cm}
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-
-\vspace{1cm}
-
-\textbf{Q U O T A T I O N}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{Quotation \#} & \textbf{Date} & \textbf{Valid until} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex]
- \hline
- <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\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%> & <%discountrate%> & <%linetotal%> \\
-<%end number%>
-\end{tabular*}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\vspace{0.2cm}
-
-\hfill
-\begin{tabularx}{7cm}{Xr@{}}
- Subtotal & <%subtotal%> \\
-<%foreach tax%>
- <%taxdescription%> on <%taxbase%> & <%tax%>\\
-<%end tax%>
- \hline
- Total & <%quototal%>\\
-\end{tabularx}
-
-\vspace{0.3cm}
-
-\hfill
- All prices in \textbf{<%currency%>}.
-
-\vspace{12pt}
-
-<%notes%>
-
-}
-
-\vfill
-
-\end{document}
-
-
diff --git a/sql-ledger/templates/German-statement.html b/sql-ledger/templates/German-statement.html
deleted file mode 100644
index a5efdf0..0000000
--- a/sql-ledger/templates/German-statement.html
+++ /dev/null
@@ -1,125 +0,0 @@
-
-<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><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
- <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
deleted file mode 100644
index fdc7339..0000000
--- a/sql-ledger/templates/German-statement.tex
+++ /dev/null
@@ -1,111 +0,0 @@
-\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
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{1.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{10.5cm}{
-
-<%name%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-}
-\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 \textbf{<%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{0.5cm}
-
-\hfill
-\begin{tabularx}{7cm}{Xr@{}}
- \textbf{Total outstanding} & <%total%>
-\end{tabularx}
-
-\vfill
-
-Please make check payable to <%company%>
-
-\end{document}
-
diff --git a/sql-ledger/templates/German-work_order.html b/sql-ledger/templates/German-work_order.html
deleted file mode 100644
index 0732fe2..0000000
--- a/sql-ledger/templates/German-work_order.html
+++ /dev/null
@@ -1,174 +0,0 @@
-
-<body bgcolor=ffffff>
-
-<table width=100%>
- <tr>
- <td width=10>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=bottom>
- <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>W O R K &nbsp;&nbsp; O R D E R</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <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><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%>
- <br><%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
- <%if contact%>
- <br>Attn: <%contact%>
- <%end contact%>
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
- <%if email%>
- <br><%email%>
- <%end email%>
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%>
- <br><%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
- <br>
- <%if shiptocontact%>
- <br><%shiptocontact%>
- <%end shiptocontact%>
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
- <%if shiptoemail%>
- <br><%shiptoemail%>
- <%end shiptoemail%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left nowrap>Order Number</th>
- <th width=17% align=left>Order Date</th>
- <th width=17% align=left>Required by</th>
- <th width=17% align=left nowrap>Salesperson</th>
- <th width=17% align=left nowrap>Shipping Point</th>
- <th width=15% align=left nowrap>Ship Via</th>
- </tr>
-
- <tr>
- <td><%ordnumber%></td>
- <td><%orddate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <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>Serial No.</th>
- </tr>
-
- <%foreach number%>
- <tr valign=top>
- <td align=right><%runningnumber%>.</td>
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td><%serialnumber%></td>
- </tr>
- <%end number%>
-
- <tr>
- <td colspan=6><hr noshade></td>
- </tr>
-
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <%if notes%>
- <td><%notes%></td>
- <%end notes%>
- </tr>
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/German-work_order.tex b/sql-ledger/templates/German-work_order.tex
deleted file mode 100644
index cb6774d..0000000
--- a/sql-ledger/templates/German-work_order.tex
+++ /dev/null
@@ -1,177 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{%
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5em]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 48%>
-\end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}rlXrll@{}}
- \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
- & \textbf{Serial Number} \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.45\textwidth}{
-\textbf{To}
-\vspace{0.7cm}
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-\vspace{0.2cm}
-<%end contact%>
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\parbox[t]{.45\textwidth}{
-\textbf{Ship To}
-\vspace{0.7cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-
-\vspace{0.3cm}
-
-<%if shiptocontact%>
-<%shiptocontact%>
-\vspace{0.2cm}
-<%end shiptocontact%>
-
-<%if shiptophone%>
-Tel: <%shiptophone%>
-<%end shiptophone%>
-
-<%if shiptofax%>
-Fax: <%shiptofax%>
-<%end shiptofax%>
-
-<%shiptoemail%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{W O R K} \parbox{0.3cm}{\hfill} \textbf{O R D E R}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship Via} \\ [0.5em]
- \hline
- <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}rlXrll@{}}
- \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
- & \textbf{Serial Number} \\
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> & <%qty%> &
- <%unit%> & <%serialnumber%> \\
-<%end number%>
-\end{tabularx}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\vspace{12pt}
-
-<%if notes%>
- <%notes%>
-<%end if%>
-
-}
-
-\vfill
-
-\vspace{1cm}
-
-\rule{\textwidth}{0.5pt}
-
-\end{document}
-
-
-
-
-
-
diff --git a/sql-ledger/templates/Hungarian-ap_transaction.html b/sql-ledger/templates/Hungarian-ap_transaction.html
deleted file mode 100644
index c7bae85..0000000
--- a/sql-ledger/templates/Hungarian-ap_transaction.html
+++ /dev/null
@@ -1,229 +0,0 @@
-
-<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>
- <hr noshade><br>
- <h4>A P - T R A N S A C T I O N</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
-
- <%if contact%>
- <br><%contact%>
- <br>
- <%end contact%>
-
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
-
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
-
- <%if email%>
- <br><%email%>
- <%end email%>
- </td>
-
- <td align=right>
- <table>
- <tr>
- <th align=left nowrap>Invoice #</th>
- <td><%invnumber%></td>
- </tr>
- <tr>
- <th align=left nowrap>Date</th>
- <td><%invdate%></td>
- </tr>
- <tr>
- <th align=left nowrap>Due</th>
- <td><%duedate%></td>
- </tr>
- <tr>
- <th align=left>Order #</th>
- <td><%ordnumber%>&nbsp;</td>
- </tr>
- <tr>
- <th align=left nowrap>Employee</th>
- <td><%employee%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=50%>
- <table>
- <%foreach account%>
- <tr valign=top>
- <td><%accno%></td>
- <td><%account%></td>
- <td align=right><%amount%></td>
- <td><%projectnumber%></td>
- </tr>
- <%end account%>
-
- <tr>
- <%if taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Subtotal</th>
- <td align=right><%subtotal%></td>
- <%end taxincluded%>
- </tr>
-
- <%foreach tax%>
- <tr>
- <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th>
- <td align=right><%tax%></td>
- </tr>
- <%end tax%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- </table>
- </td>
- <td width=50%>
- <%notes%>
- </td>
- </tr>
- </table>
- </td>
- <tr>
- <td>&nbsp;</td>
-
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <%text_amount%> ***** <%decimal%>/100 <%currency%>
- </td>
- </tr>
-
- <%if paid%>
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table>
- <tr>
- <th>Payments</th>
- </tr>
-
- <tr>
- <td>
- <hr noshade>
- </td>
- </tr>
-
- <tr>
- <td>
- <table>
- <tr>
- <th align=left>Date</th>
- <th align=left>Account</th>
- <th align=left>Source</th>
- <th align=left>Memo</th>
- <th align=left>Amount</th>
- </tr>
- <%end paid%>
-
- <%foreach payment%>
- <tr>
- <td><%paymentdate%></td>
- <td><%paymentaccount%></td>
- <td><%paymentsource%></td>
- <td><%paymentmemo%></td>
- <td><%payment%></td>
- </tr>
- <%end payment%>
-
- <%if paid%>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <%end paid%>
-
- <tr height=10></tr>
-
- <%if taxincluded%>
- <tr>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th>
- </tr>
- <%end taxincluded%>
-
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Hungarian-ap_transaction.tex b/sql-ledger/templates/Hungarian-ap_transaction.tex
deleted file mode 100644
index 8bfd9f7..0000000
--- a/sql-ledger/templates/Hungarian-ap_transaction.tex
+++ /dev/null
@@ -1,125 +0,0 @@
-\documentclass[10pt,letterpaper,oneside,onecolumn]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{%
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5em]{\textwidth}{0.5pt}
-}
-
-\centerline{\textbf{A P} \hspace{0.3cm} \textbf{T R A N S A C T I O N}}
-
-\vspace*{0.5cm}
-
-\parbox[t]{.5\textwidth}{
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-<%end contact%>
-
-\vspace{0.2cm}
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\hfill
-\begin{tabular}[t]{ll}
- \textbf{Invoice \#} & <%invnumber%> \\
- \textbf{Date} & <%invdate%> \\
- \textbf{Due} & <%duedate%> \\
- \textbf{Order \#} & <%ordnumber%> \\
- \textbf{Employee} & <%employee%> \\
-\end{tabular}
-
-\vspace{1cm}
-
-\begin{tabularx}{.5\textwidth}[t]{@{}llrl@{}}
-<%foreach amount%>
- <%accno%> & <%account%> & <%amount%> & <%projectnumber%> \\
-<%end amount%>
-
- \multicolumn{2}{r}{\textbf{Subtotal}} & <%subtotal%> & \\
-<%foreach tax%>
- \multicolumn{2}{r}{\textbf{<%taxdescription%> @ <%taxrate%> \%}} & <%tax%> & \\
-<%end tax%>
-
- \multicolumn{2}{r}{\textbf{Total}} & <%invtotal%> & \\
-
-\end{tabularx}
-<%notes%>
-
-\vspace{0.3cm}
-
-<%text_amount%> ***** <%decimal%>/100 <%currency%>
-
-\vspace{0.3cm}
-
-<%if paid%>
-\begin{tabular}{@{}llllr@{}}
- \multicolumn{5}{c}{\textbf{Payments}} \\
- \hline
- \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\
-<%end paid%>
-<%foreach payment%>
- <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%paymentmemo%> & <%payment%> \\
-<%end payment%>
-<%if paid%>
-\end{tabular}
-<%end paid%>
-
-\end{document}
-
diff --git a/sql-ledger/templates/Hungarian-ar_transaction.html b/sql-ledger/templates/Hungarian-ar_transaction.html
deleted file mode 100644
index dbd0a1c..0000000
--- a/sql-ledger/templates/Hungarian-ar_transaction.html
+++ /dev/null
@@ -1,237 +0,0 @@
-
-<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>
- <hr noshade><br>
- <h4>A R - T R A N S A C T I O N</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
-
- <%if contact%>
- <br><%contact%>
- <br>
- <%end contact%>
-
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
-
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
-
- <%if email%>
- <br><%email%>
- <%end email%>
- </td>
-
- <td align=right>
- <table>
- <tr>
- <th align=left nowrap>Invoice #</th>
- <td><%invnumber%></td>
- </tr>
- <tr>
- <th align=left nowrap>Date</th>
- <td><%invdate%></td>
- </tr>
- <tr>
- <th align=left nowrap>Due</th>
- <td><%duedate%></td>
- </tr>
- <tr>
- <th align=left>Order #</th>
- <td><%ordnumber%>&nbsp;</td>
- </tr>
- <tr>
- <th align=left nowrap>Salesperson</th>
- <td><%employee%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=50%>
- <table>
- <%foreach account%>
- <tr valign=top>
- <td><%accno%></td>
- <td><%account%></td>
- <td align=right><%amount%></td>
- <td><%projectnumber%></td>
- </tr>
- <%end account%>
-
- <tr>
- <%if taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Subtotal</th>
- <td align=right><%subtotal%></td>
- <%end taxincluded%>
- </tr>
-
- <%foreach tax%>
- <tr>
- <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th>
- <td align=right><%tax%></td>
- </tr>
- <%end tax%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- </table>
- </td>
- <td width=50%>
- <%notes%>
- </td>
- </tr>
- </table>
- </td>
- <tr>
- <td>&nbsp;</td>
-
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <%text_amount%> ***** <%decimal%>/100 <%currency%>
- </td>
- </tr>
-
- <%if paid%>
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table>
- <tr>
- <th>Payments</th>
- </tr>
-
- <tr>
- <td>
- <hr noshade>
- </td>
- </tr>
-
- <tr>
- <td>
- <table>
- <tr>
- <th align=left>Date</th>
- <th align=left>Account</th>
- <th align=left>Source</th>
- <th align=left>Memo</th>
- <th align=left>Amount</th>
- </tr>
- <%end paid%>
-
- <%foreach payment%>
- <tr>
- <td><%paymentdate%></td>
- <td><%paymentaccount%></td>
- <td><%paymentsource%></td>
- <td><%paymentmemo%></td>
- <td><%payment%></td>
- </tr>
- <%end payment%>
-
- <%if paid%>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <%end paid%>
-
- <tr height=10></tr>
-
- <%foreach tax%>
- <tr>
- <td>&nbsp;</td>
-
- <th colspan=9 align=left><font size=-2><%taxdescription%> Registration <%taxnumber%></th>
- </tr>
- <%end tax%>
-
- <%if taxincluded%>
- <tr>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th>
- </tr>
- <%end taxincluded%>
-
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Hungarian-ar_transaction.tex b/sql-ledger/templates/Hungarian-ar_transaction.tex
deleted file mode 100644
index 654d2b9..0000000
--- a/sql-ledger/templates/Hungarian-ar_transaction.tex
+++ /dev/null
@@ -1,131 +0,0 @@
-\documentclass[10pt,letterpaper,oneside,onecolumn]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{%
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5em]{\textwidth}{0.5pt}
-}
-
-\centerline{\textbf{A R} \hspace{0.3cm} \textbf{T R A N S A C T I O N}}
-
-\vspace*{0.5cm}
-
-\parbox[t]{.5\textwidth}{
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-<%end contact%>
-
-\vspace{0.2cm}
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\hfill
-\begin{tabular}[t]{ll}
- \textbf{Invoice \#} & <%invnumber%> \\
- \textbf{Date} & <%invdate%> \\
- \textbf{Due} & <%duedate%> \\
- \textbf{Order \#} & <%ordnumber%> \\
- \textbf{Employee} & <%employee%> \\
-\end{tabular}
-
-\vspace{1cm}
-
-\begin{tabularx}{.5\textwidth}[t]{@{}llrl@{}}
-<%foreach amount%>
- <%accno%> & <%account%> & <%amount%> & <%projectnumber%> \\
-<%end amount%>
-
- \multicolumn{2}{r}{\textbf{Subtotal}} & <%subtotal%> & \\
-<%foreach tax%>
- \multicolumn{2}{r}{\textbf{<%taxdescription%> @ <%taxrate%> \%}} & <%tax%> & \\
-<%end tax%>
-
- \multicolumn{2}{r}{\textbf{Total}} & <%invtotal%> & \\
-
-\end{tabularx}
-<%notes%>
-
-\vspace{0.3cm}
-
-<%text_amount%> ***** <%decimal%>/100 <%currency%>
-
-\vspace{0.3cm}
-
-<%if paid%>
-\begin{tabular}{@{}llllr@{}}
- \multicolumn{5}{c}{\textbf{Payments}} \\
- \hline
- \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\
-<%end paid%>
-<%foreach payment%>
- <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%paymentmemo%> & <%payment%> \\
-<%end payment%>
-<%if paid%>
-\end{tabular}
-<%end paid%>
-
-\vspace{0.5cm}
-
-<%foreach tax%>
-\textbf{\small{<%taxdescription%> Registration <%taxnumber%>}} \\
-<%end tax%>
-
-\end{document}
-
diff --git a/sql-ledger/templates/Hungarian-balance_sheet.html b/sql-ledger/templates/Hungarian-balance_sheet.html
deleted file mode 100644
index b3efde2..0000000
--- a/sql-ledger/templates/Hungarian-balance_sheet.html
+++ /dev/null
@@ -1,100 +0,0 @@
-
-<body bgcolor=ffffff>
-
-<h2 align=center>
-<%company%>
-<br><%address%>
-
-<p>MÉRLEG
-<br><%period%>
-</h2>
-
-<table border=0>
-<tr>
- <th align=left width=400 colspan=2>ESZKÖZÖK<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>Eszközök összesen</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>SAJÁT TÕKE<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>Tõke összesen</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>
- <th align=left colspan=4>KÖTELEZETTSÉGEK<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>Kötelezettségek összesen</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 valign=top>
- <th align=left colspan=2>KÖTELEZETTSÉGEK & TÕKE ÖSSZESEN</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/Hungarian-bin_list.html b/sql-ledger/templates/Hungarian-bin_list.html
deleted file mode 100644
index c945421..0000000
--- a/sql-ledger/templates/Hungarian-bin_list.html
+++ /dev/null
@@ -1,189 +0,0 @@
-
-<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>
-
- <th align=right>
- <h4>
- Tel: <%tel%>
- <br>Fax: <%fax%>
- </h4>
- </td>
- </tr>
-
- <tr>
- <th colspan=3>
- <h4>B I N &nbsp;&nbsp; L I S T</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% cellspacing=0 cellpadding=0>
- <tr bgcolor=000000>
- <th align=left width=50%><font color=ffffff>From</th>
- <th align=left width=50%><font color=ffffff>Ship To</th>
- </tr>
-
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
-
- <%if contact%>
- <br>Attn: <%contact%>
- <%end contact%>
-
- <%if vendorphone%>
- <br>Tel: <%vendorphone%>
- <%end vendorphone%>
-
- <%if vendorfax%>
- <br>Fax: <%vendorfax%>
- <%end vendorfax%>
-
- <%if email%>
- <br><%email%>
- <%end email%>
-
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
-
- <br>
- <%if shiptocontact%>
- <br>Attn: <%shiptocontact%>
- <%end shiptocontact%>
-
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
-
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left nowrap>Order #</th>
- <th width=17% align=left nowrap>Date</th>
- <th width=17% align=left nowrap>Contact</th>
- <%if warehouse%>
- <th width=17% align=left nowrap>Warehouse</th>
- <%end warehouse%>
- <th width=17% align=left>Shipping Point</th>
- <th width=15% align=left>Ship via</th>
- </tr>
-
- <tr>
- <td><%ordnumber%>&nbsp;</td>
-
- <%if shippingdate%>
- <td><%shippingdate%></td>
- <%end shippingdate%>
-
- <%if not shippingdate%>
- <td><%orddate%></td>
- <%end shippingdate%>
-
- <td><%employee%>&nbsp;</td>
-
- <%if warehouse%>
- <td><%warehouse%></td>
- <%end warehouse%>
-
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr bgcolor=000000>
- <th align=left><font color=ffffff>Pos</th>
- <th align=left><font color=ffffff>Number</th>
- <th align=left><font color=ffffff>Description</th>
- <th><font color=ffffff>Serialnumber</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Qty</th>
- <th><font color=ffffff>Recd</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Bin</th>
- </tr>
-
- <%foreach number%>
- <tr valign=top>
- <td><%runningnumber%></td>
- <td><%number%></td>
- <td><%description%></td>
- <td><%serialnumber%></td>
- <td><%deliverydate%></td>
- <td align=right><%qty%></td>
- <td align=right><%ship%></td>
- <td><%unit%></td>
- <td><%bin%></td>
- </tr>
- <%end number%>
-
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td><hr noshade></td>
- </tr>
-
-</table>
-
diff --git a/sql-ledger/templates/Hungarian-bin_list.tex b/sql-ledger/templates/Hungarian-bin_list.tex
deleted file mode 100644
index 034fd72..0000000
--- a/sql-ledger/templates/Hungarian-bin_list.tex
+++ /dev/null
@@ -1,147 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 37%>
-\end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}rlXllrrll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.5\textwidth}{
-\textbf{From}
-\vspace{0.7cm}
-
-<%name%>
-
-<%address1%>
-
-<%if %address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country4%>
-<%end country%>
-}
-\parbox[t]{.4\textwidth}{
-\textbf{Ship To}
-\vspace{0.7cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%if shiptoaddress2%>
-<%shiptoaddress2%>
-<%end shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{B I N} \parbox{0.3cm}{\hfill} \textbf{L I S T}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{Order \#} & \textbf{Date} & \textbf{Contact}
- <%if warehouse%>
- & \textbf{Warehouse}
- <%end warehouse%>
- & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em]
- \hline
-
- <%ordnumber%>
- <%if shippingdate%>
- & <%shippingdate%>
- <%end shippingdate%>
- <%if not shippingdate%>
- & <%orddate%>
- <%end shippingdate%>
- & <%employee%>
- <%if warehouse%>
- & <%warehouse%>
- <%end warehouse%>
- & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}rlXllrrll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\
-
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> &
- <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> & <%bin%> \\
-<%end number%>
-\end{tabularx}
-
-
-\rule{\textwidth}{2pt}
-
-\end{document}
-
diff --git a/sql-ledger/templates/Hungarian-check.tex b/sql-ledger/templates/Hungarian-check.tex
deleted file mode 100644
index 08c95c3..0000000
--- a/sql-ledger/templates/Hungarian-check.tex
+++ /dev/null
@@ -1,81 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin2]{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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\vspace{1.8cm}
-
-<%notes%>
-
-\vspace{0.8cm}
-
-<%company%>
-
-\vspace{0.5cm}
-
-<%name%> \hfill <%datepaid%> \hfill <%source%>
-
-\vspace{0.5cm}
-\begin{tabularx}{\textwidth}{lXrr@{}}
-\textbf{Számlaszám} & \textbf{Telj. dátuma}
- & \textbf{Esedékes} & \textbf{Kifizetett} \\
-<%foreach invnumber%>
-<%invnumber%> & <%invdate%> \dotfill
- & <%due%> & <%paid%> \\
-<%end invnumber%>
-\end{tabularx}
-
-\vfill
-
-\end{document}
-
-
-
diff --git a/sql-ledger/templates/Hungarian-income_statement.html b/sql-ledger/templates/Hungarian-income_statement.html
deleted file mode 100644
index e9e4a45..0000000
--- a/sql-ledger/templates/Hungarian-income_statement.html
+++ /dev/null
@@ -1,82 +0,0 @@
-
-<body bgcolor=ffffff>
-
-<h2 align=center>
-<%company%>
-<br><%address%>
-
-<p>EREDMÉNYKIMUTATÁS
-<br><%period%>
-</h2>
-
-
-<table width=100% border=0>
-<tr>
- <th width=400 align=left colspan=2>BEVÉTELEK<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>Bevételek összesen</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><br><hr width=300 size=5 align=left noshade>RÁFORDÍTÁSOK</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>Ráfordítások összesen</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>NYERESÉG / (VESZTESÉG)</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/Hungarian-invoice.html b/sql-ledger/templates/Hungarian-invoice.html
deleted file mode 100644
index a7a7198..0000000
--- a/sql-ledger/templates/Hungarian-invoice.html
+++ /dev/null
@@ -1,303 +0,0 @@
-
-<body bgcolor=ffffff>
-
-<table width=100% >
-<tr valign=bottom>
- <td width=10>&nbsp;</td>
- <td>
-
- <table width=100% >
- <tr>
- <td align=center><!--<img src=logo.jpg>--><br>&nbsp;<br>
- <font size=3><B> SZÁMLA</B></font>
- </td>
- </tr>
-
- <tr>
- <td align=right>
- <!-- <%copysum%> -->
- </td>
- </tr>
- <tr>
- <td align=right>
- Másolat
- </td>
- </tr>
- </table>
-
-
- <table width=100% callspacing=0 cellpadding=0 >
-<tr>
- <td><hr noshade></td>
-</tr>
-
- <tr>
- <td>
- <table width=100% >
- <tr >
- <th align=left width=50%>Eladó:</th>
- <th align=left width=50%>Vevõ:</th>
- </tr>
- <tr valign=top>
- <td><%company%>
- <br><%address%>
- <br>Adószám:<%businessnumber%>
- <br>tel:<%tel%>
- <br>fax:<%fax%>
- </td>
-
-
- <td><%name%>
- <br><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
- </td>
-
- </tr>
- </table>
- </td>
- </tr>
-<tr>
- <td><hr noshade></td>
-</tr>
-
-<tr>
-<td>
- <table width=100%>
- <tr>
- <th>Fizetési mód</th>
- <th>Telj. dátuma</th>
- <th>Számla kelte</th>
- <th>Esedékesség</th>
- <th>Megrendelés</th>
- <th>Kiállította</th>
- <th>Sorszám</th>
- </tr>
- <tr>
- <td align=center><%shippingpoint%></td>
- <td align=center><%invdate%></td>
- <td align=center><%crdate%></td>
- <td align=center><%duedate%></td>
- <td align=center><%ordnumber%></td>
- <td align=center><%employee%></td>
- <td align=center><font size=2><%invnumber%></font></td>
- </tr>
- </table>
-<td>
-<tr>
-<tr>
- <td><hr noshade></td>
-</tr>
-
- <tr >
- <td height=470 valign=top>
- <table width=100% >
- <tr>
- <th align=right>&nbsp;</th>
- <th align=left>Áru</th>
- <th align=left>Megnevezés</th>
- <th align=left nowrap>VTSZ</th>
- <th>Menny.</th>
- <th>&nbsp;</th>
- <th align=right>Nettó egységár</th>
-<!-- <th><font color=ffffff>Disc</th> -->
- <th align=right>Nettó összeg</th>
- <th align=right>ÁFA%</th>
- <th align=right>ÁFA összeg</th>
- <th align=right>Bruttó összeg</th>
- </tr>
-
-<%foreach number%>
- <tr valign=top>
- <td align=center><%runningnumber%>.</td>
- <td nowrap align=left><%number%></td>
- <td nowrap align=left><%description%></td>
- <td nowrap align=center><%bin%></td>
- <td align=center><%qty%></td>
- <td align=center><%unit%></td>
- <td align=right><%netprice%></td>
-<!-- <td align=right><%discount%></td> -->
- <td align=right><%linetotal%></td>
- <td align=right><%linetaxrate%></td>
- <td align=right><%taxamount%></td>
- <td align=right><%linetotal2%></td>
- </tr>
-<%end number%>
-
-<!--
-you can also use netprice instead of sellprice if you
-don't want to show the discount
-netprice = sellprice - discount
-to show the percentage for a discount use <%discountrate%>
--->
-
- <tr>
- <td colspan=11><hr noshade></td>
- </tr>
-
- <tr>
-<%if taxincluded%>
- <th colspan=9 align=right>Total</th>
- <td colspan=2 align=right><%invtotal%></td>
-<%end taxincluded%>
-<%if not taxincluded%>
- <th colspan=9 align=right>Nettó összesen</th>
- <td colspan=2 align=right><%subtotal%></td>
-<%end taxincluded%>
- </tr>
-
-<%foreach tax%>
- <tr>
- <th colspan=9 align=right>alap: <%taxbase%> ráta: <%taxrate%> %</th>
- <td colspan=2 align=right><%tax%></td>
- </tr>
-<%end tax%>
-
-<%if paid%>
- <tr>
- <th colspan=9 align=right>Fizetve</th>
- <td colspan=2 align=right>- <%paid%></td>
- </tr>
-<%end paid%>
-
- <tr>
- <td colspan=6>&nbsp;</td>
- <td colspan=5><hr noshade></td>
- </tr>
-
- <tr>
-<!-- <td colspan=6>Fizetési határidõ: <b><%terms%></b> nap</td> -->
- <th colspan=9 align=right>A számla végösszege:</th>
- <th colspan=2 align=right><%total%>&nbsp;Ft</th>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
- </tr>
-
- </table>
- </td>
- </tr>
-
-<tr>
- <td>
- <table width=100% >
- <tr valign=top>
-<%if notes%>
- <td><b>Megjegyzés:</b>&nbsp;<%notes%></td>
- <td ></td>
-<%end notes%>
- <td align=right>
-<!-- All prices in <b><%currency%></b> Funds -->
- </td>
- </tr>
-
- </table>
- </td>
-</tr>
-
-<tr><td>&nbsp;</td></tr>
-
-<%if paid%>
-<tr>
- <td colspan=7>
- <table width=60% >
- <tr>
- <th align=left>Fizetések</th>
- </tr>
- <tr>
- <td colspan=4>
- <hr noshade>
- </td>
- </tr>
- <tr>
- <th align=left>Dátum</th>
- <th align=left>Számla</th>
- <th align=left>Bizonylatszám</th>
- <th align=left>Összeg</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>
-<%intnotes%>
- </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%>
-
-
-
-
-<!-- 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/Hungarian-invoice.tex b/sql-ledger/templates/Hungarian-invoice.tex
deleted file mode 100644
index 09878b0..0000000
--- a/sql-ledger/templates/Hungarian-invoice.tex
+++ /dev/null
@@ -1,280 +0,0 @@
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%%% %%%
-%%% Szamla - LaTeX sablon v. 1.01 %%%
-%%% Kovacs Laszlo -- lakovacs@inf.unideb.hu %%%
-%%% %%%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%%%
-%%% 2003.10.31.
-%%%
-%%%
-
-
-\documentclass[twoside]{article}
-%\documentclass[twoside]{scrartcl}
-% \usepackage[frame]{xy}
-\usepackage{tabularx}
-%\usepackage{graphicx}
-\usepackage[latin2]{inputenc}
-
-
-
-\setlength{\voffset}{-0.5cm}
-\setlength{\hoffset}{-2.5cm}
-\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}
-
-
-\newcommand{\PAR}[1]{\texttt{\upshape <\%#1\%>}\typeout{#1}}
-
-
-\begin{document}
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-
-
-\newsavebox{\headright}
-\sbox{\headright}{
- \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
- \parbox{\textwidth}{
- \begin{center}
-% \includegraphics[scale=1.0]{/tmp/logo_04.eps} \\[.3cm]
- {\large\bfseries SZÁMLA} \\
- \end{center}
-
- \mbox{}\hfill <%copysum%> \\
- \mbox{}\hfill <%copynumber%>
- }
-}
-
-\newsavebox{\headleft}
-\sbox{\headleft}{
- \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
- \parbox{\textwidth}{
-% \includegraphics[scale=.5]{/tmp/logo_04.eps}
- \hfill <%invnumber%>\\[-3mm]
- \rule{\textwidth}{.5pt}
- }
-}
-
-
-
-\markboth{}{\usebox{\headright}}
-
-\pagestyle{myheadings}
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\fontshape{n}\selectfont
-
-
-<%pagebreak 90 27 48%>
-\end{tabularx}
-}
-
-\rule{\textwidth}{1.5pt}
-
- \hfill
- \begin{tabularx}{7cm}{X@{ }r@{}}
- \textbf{Részösszeg} & <%sumcarriedforward%> \cr
- \end{tabularx}
-
-\newpage
-
-\markboth{\usebox{\headleft}}{\usebox{\headleft}}
-
-\mbox{}\vspace{.5cm}
-
-\rule{\textwidth}{1.5pt}
-
-\vspace{.3cm}
-
-{\scriptsize
-\begin{tabularx}{\textwidth}{>{\hsize=0.4cm\centering}X@{\ }
- >{\hsize=0.9cm\raggedleft}X@{\ }
- >{\hsize=1.9cm\raggedleft}X@{\ }
- >{\hsize=2.9cm\raggedleft}X@{\ }
- >{\hsize=1.9cm\centering}X@{\ }
- >{\hsize=0.9cm\centering}X@{\ }
- >{\hsize=0.5cm\centering}X@{\ }
- >{\hsize=2.0cm\raggedleft}X@{\ }
- >{\hsize=2.0cm\raggedleft}X@{\ }
- >{\hsize=0.8cm\raggedleft}X@{\ }
- >{\hsize=2.0cm\raggedleft}X@{\ }
- >{\hsize=2.0cm\raggedleft}X@{}
- }
- \textbf{no} & \textbf{Márka} & \textbf{Áru} & \centering\textbf{Megnevezés} &
- \textbf{VTSZ} & \textbf{Menny.} & \textbf{u} &
- \textbf{Nettó egységár} & \textbf{Nettó összeg} & \textbf{ÁFA\%} &
- \textbf{ÁFA összeg} & \textbf{Bruttó összeg}
- \cr
- & & \textbf{elõzõ oldalról} &
- & & &
- & & &
- & & <%sumcarriedforward%>
- \cr
-<%end pagebreak%>
-
-\mbox{}\vspace{3.5cm}
-
-\rule{\textwidth}{1.5pt}
-
-\vspace{3mm}
-
-\hbox to\hsize{
-\begin{minipage}[t]{9.5cm}
-\textbf{Eladó:} \\
-<%company%>\\
-<%address%>\\
-Adószám: <%businessnumber%>\\
-tel: <%tel%>\\
-fax: <%fax%>
-\end{minipage}
-\hfill \
-\begin{minipage}[t]{9.5cm}
-\textbf{Vevõ:} \\
-<%name%>\\
-<%address1%>\\
-<%if address2%>
-<%address2%>
-<%end address2%>\\
-<%city%> <%state%> <%zipcode%>\\
-<%if country%>
-<%country%>
-<%end country%>
-\end{minipage}
-}
-
-
-\vspace{5mm}
-
-\rule{\textwidth}{1.5pt}
-
-\vspace{3mm}
-
-\hspace{-3mm}
-\begin{tabularx}{\textwidth}{>{\hsize=2.1cm\centering}X@{\ }
- >{\hsize=2.8cm\centering}X@{\ }
- >{\hsize=2.8cm\centering}X@{\ }
- >{\hsize=2.8cm\centering}X@{\ }
- >{\hsize=3.4cm\centering}X@{\ }
- >{\hsize=2.5cm\centering}X@{\ }
- >{\hsize=2.0cm\raggedleft}X@{}}
- \textbf{Fizetési mód} & \textbf{Telj.~dátuma} & \textbf{Számla kelte} &
- \textbf{Esedékesség} & \textbf{Megrendelés} & \textbf{Kiállította} & \textbf{Sorszám}
- \cr
- <%shippingpoint%> & <%invdate%> & <%crdate%> &
- <%duedate%> & <%ordnumber%> & <%employee%> & <%invnumber%>
-\end{tabularx}
-
-
-\vspace{5mm}
-
-\rule{\textwidth}{1.5pt}
-
-\vspace{3mm}
-
-\hspace{-3mm}
-{\scriptsize
-\begin{tabularx}{\textwidth}{>{\hsize=0.4cm\centering}X@{\ }
- >{\hsize=0.9cm\raggedright}X@{\ }
- >{\hsize=1.9cm\raggedright}X@{\ }
- >{\hsize=2.9cm\raggedright}X@{\ }
- >{\hsize=1.9cm\centering}X@{\ }
- >{\hsize=0.9cm\raggedleft}X@{\ }
- >{\hsize=0.5cm\centering}X@{\ }
- >{\hsize=2.0cm\raggedleft}X@{\ }
- >{\hsize=2.0cm\raggedleft}X@{\ }
- >{\hsize=0.8cm\raggedleft}X@{\ }
- >{\hsize=2.0cm\raggedleft}X@{\ }
- >{\hsize=2.0cm\raggedleft}X@{}
- }
- \centering\textbf{sz.} & \raggedright\textbf{Márka} & \raggedright\textbf{Áru} & \raggedright\textbf{Megnevezés} &
- \centering\textbf{VTSZ} & \raggedleft\textbf{Menny.} & \centering\textbf{egys.} &
- \raggedleft\textbf{Nettó egységár} & \raggedleft\textbf{Nettó összeg} & \raggedright\textbf{ÁFA\%} &
- \raggedleft\textbf{ÁFA összeg} & \raggedleft\textbf{Bruttó összeg}
- \cr
-<%foreach number%>
- <%runningnumber%> & <%partsgroup%> & <%number%> & <%description%> &
- <%bin%> & <%qty%> & <%unit%> &
- <%netprice%> & <%linetotal%> & <%linetaxrate%> &
- <%taxamount%> & <%linetotal2%>
- \cr
-<%end number%>
-\end{tabularx}
-}
-
-\rule{\textwidth}{1.5pt}
-
-\hbox to\hsize{
-\hspace{8.4cm}
-\begin{minipage}[t]{11cm}
-
-\rule{10.6cm}{1.5pt}
-
-\vspace{.2cm}
-
-\begin{tabularx}{10cm}{>{\hsize=7cm\raggedleft}X>{\hsize=3cm\raggedleft}X}
-%\textbf{Total} & <%invtotal%> \cr
-\textbf{Nettó összesen} & <%subtotal%> \cr
-<%foreach tax%>
-\textbf{Alap:} <%taxbase%> \textbf{ráta:} <%taxrate%> & <%tax%> \cr
-<%end tax%>
-<%if paid%>
-\textbf{Fizetve:} & -<%paid%>
-<%end paid%>
-\end{tabularx}
-
-\rule{10.6cm}{1.5pt}
-\begin{tabularx}{10cm}{>{\hsize=7cm\raggedleft}X>{\hsize=3cm\raggedleft}X}
-\textbf{A számla végösszege} & <%total%> \textbf{Ft}
-\end{tabularx}
-
-\end{minipage}
-}
-
-
-\vfill
-\vspace{1cm}
-<%if notes%>
-\textbf{Megjegyzés:} <%notes%>
-\vspace{1cm}
-<%end if%>
-
-
-<%if paid%>
-\textbf{Fizetések:}
-
-\rule{12cm}{1.5pt}
-
-\vspace{.2cm}
-
-\begin{tabularx}{12cm}{@{}>{\hsize=2.9cm\centering}X@{\ }
- >{\hsize=2.9cm\centering}X@{\ }
- >{\hsize=2.9cm\centering}X@{\ }
- >{\hsize=2.9cm\raggedleft}X@{}}
- \textbf{Dátum} & \textbf{Számla} & \textbf{Bizonylatszám} & \textbf{Összeg}
- \cr
-<%end paid%>
-<%foreach payment%>
- <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%payment%>
- \cr
-<%end payment%>
-<%if paid%>
-\end{tabularx}
-<%end paid%>
-
-\vspace{1cm}
-
-<%intnotes%>
-
-\end{document}
-
-
-
diff --git a/sql-ledger/templates/Hungarian-packing_list.html b/sql-ledger/templates/Hungarian-packing_list.html
deleted file mode 100644
index f3cf6b4..0000000
--- a/sql-ledger/templates/Hungarian-packing_list.html
+++ /dev/null
@@ -1,148 +0,0 @@
-
-<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=left>SZÁLLÍTÓLEVÉL</h4>
- </th>
- </tr>
-
- </table>
-
-
- <table width=100% callspacing=0 cellpadding=0>
-
- <tr>
- <td align=right>
- <table>
- <tr>
- <th align=right>Dátum</th><td width=10> </td><td><%invdate%></td>
- </tr>
-
- <tr>
- <th align=right>Szám</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>Szállítási cím:</th>
- </tr>
-
- <tr>
- <td><%shiptoname%>
- <br><%shiptoaddr1%>
- <br><%shiptoaddr2%>
- <br><%shiptoaddr3%>
- <br><%shiptoaddr4%>
-<%if shiptocontact%>
- <p>Kapcsolattartó: <%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>Szám</th>
- <th align=left><font color=ffffff>Szöveges leírás</th>
- <th align=right><font color=ffffff>Menny.</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>Megjegyzés</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>
- A visszaszállított áruk után 10 % újraraktározási
- díjat kell fizetni. Engedélyt a visszaszállításra csak
- a <%company%> adhat ki. A visszárut csak elõre kifizetve és biztosítva
- lehet visszaszállítani. <%company%> nem tehetõ felelõssé a visszaszállítás
- során keletkezett kárért.
- </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/Hungarian-packing_list.tex b/sql-ledger/templates/Hungarian-packing_list.tex
deleted file mode 100644
index 506b242..0000000
--- a/sql-ledger/templates/Hungarian-packing_list.tex
+++ /dev/null
@@ -1,122 +0,0 @@
-\documentclass[twoside]{article}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin2]{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%>\\
- 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{Szám} & \textbf{Szöveges leírás} & \textbf{Menny.} &
- \textbf{egys.} & \textbf{Bin} \\
-<%end pagebreak%>
-
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{2cm}
-
-<%shiptoname%>
-
-<%shiptoaddr1%>
-
-<%shiptoaddr2%>
-
-<%shiptoaddr3%>
-
-<%shiptoaddr4%>
-
-\vspace{3.5cm}
-
-\textbf{S Z Á L L I T Ó} \parbox{0.3cm}{\hfill} \textbf{L E V É L}
-
-\hfill
-\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
- \textbf{Dátum} & <%invdate%> \\
- \textbf{Szám} & <%invnumber%> \\
- \textbf{Vevõ} & <%customer_id%>
-\end{tabular}
-
-\vspace{1cm}
-
-\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}}
- \textbf{Szám} & \textbf{Szöveges leírás} & \textbf{Menny.} &
- \textbf{egys.} & \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{Köszönjük az együttmûködést!}}
-
-\renewcommand{\thefootnote}{\fnsymbol{footnote}}
-
-\footnotetext[1]{\tiny
-A visszaszállított áruk után 10\% újraraktározási díjat kell fizetni.
-Engedélyt a visszaszállításra csak a <%company%> adhat ki. A visszárut
-csak elõre kifizetve és biztosítva lehet visszaszállítani. <%company%>
-nem tehetõ felelõssé a visszaszállítás során keletkezett kárért.
-}
-\end{document}
-
diff --git a/sql-ledger/templates/Hungarian-pick_list.html b/sql-ledger/templates/Hungarian-pick_list.html
deleted file mode 100644
index 7548560..0000000
--- a/sql-ledger/templates/Hungarian-pick_list.html
+++ /dev/null
@@ -1,153 +0,0 @@
-
-<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>P I C K &nbsp;&nbsp; L I S T</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <tr bgcolor=000000>
- <th width=50% align=left><font color=ffffff>Ship To:</th>
- <th width=50%>&nbsp;</th>
- </tr>
-
- <tr valign=top>
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
- </td>
-
- <td>
- <%if shiptocontact%>
- <br>Attn: <%shiptocontact%>
- <%end shiptocontact%>
-
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
-
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
-
- <%shiptoemail%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% border=1>
- <tr>
- <th width=15% align=left>Invoice #</th>
- <th width=15% align=left>Order #</th>
- <th width=10% align=left>Date</th>
- <th width=15% align=left nowrap>Contact</th>
- <th width=15% align=left>Warehouse</th>
- <th width=10% align=left>Shipping Point</th>
- <th width=10% align=left>Ship via</th>
- </tr>
-
- <tr>
- <td><%invnumber%>&nbsp;</td>
- <td><%ordnumber%>&nbsp;</td>
- <%if shippingdate%>
- <td><%shippingdate%></td>
- <%end shippingdate%>
-
- <%if not shippingdate%>
- <td><%transdate%></td>
- <%end shippingdate%>
-
- <td><%employee%>&nbsp;</td>
- <td><%warehouse%>&nbsp;</td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr bgcolor=000000>
- <th align=left><font color=ffffff>Pos</th>
- <th align=left><font color=ffffff>Number</th>
- <th align=left><font color=ffffff>Description</th>
- <th><font color=ffffff>Qty</th>
- <th><font color=ffffff>Ship</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Bin</th>
- </tr>
-
- <%foreach number%>
- <tr valign=top>
- <td><%runningnumber%>
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td align=right>[&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]</td>
- <td><%unit%></td>
- <td align=right><%bin%></td>
- </tr>
- <%end number%>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td><hr noshade></td>
- </tr>
-
-</table>
-
diff --git a/sql-ledger/templates/Hungarian-pick_list.tex b/sql-ledger/templates/Hungarian-pick_list.tex
deleted file mode 100644
index fc331fa..0000000
--- a/sql-ledger/templates/Hungarian-pick_list.tex
+++ /dev/null
@@ -1,143 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 37%>
-\end{tabular*}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rcll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} &
- \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.5\textwidth}{
- \textbf{Ship To}
-} \hfill
-
-\vspace{0.7cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.5\textwidth}{
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-}
-\parbox[t]{.4\textwidth}{
- <%shiptocontact%>
-
- <%if shiptophone%>
- Tel: <%shiptophone%>
- <%end shiptophone%>
-
- <%if shiptofax%>
- Fax: <%shiptofax%>
- <%end shiptofax%>
-
- <%shiptoemail%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{P I C K} \parbox{0.3cm}{\hfill} \textbf{L I S T}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{7}{|X}|} \hline
- \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact}
- & \textbf{Warehouse} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em]
- \hline
- <%invnumber%> & <%ordnumber%>
- <%if shippingdate%>
- & <%shippingdate%>
- <%end shippingdate%>
- <%if not shippingdate%>
- & <%transdate%>
- <%end shippingdate%>
- & <%employee%>
- <%if warehouse%>
- & <%warehouse%>
- <%end warehouse%>
- & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}rlXrcll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} &
- \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> &
- <%qty%> & [\hspace{1cm}] & <%unit%> & <%bin%> \\
-<%end number%>
-\end{tabularx}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-}
-
-\end{document}
-
diff --git a/sql-ledger/templates/Hungarian-pos_invoice.txt b/sql-ledger/templates/Hungarian-pos_invoice.txt
deleted file mode 100644
index bbca9a0..0000000
--- a/sql-ledger/templates/Hungarian-pos_invoice.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-<%company align=center width=40%>
-<%address align=center width=40%>
-
- Kassza: <%till align=left width=3%> Telefon#: <%tel%>
- Eladó: <%employee%>
-
-<%invtime%><%invnumber align=right width=16%>
-
-Menny Név Összeg
-<%foreach number%>
-<%qty align=right width=5%> <%description align=left width=24 offset=6%> <%linetotal align=right width=9%>
- <%number%> @ <%sellprice%>/<%unit%>
-<%end number%>
-
- Tételszám: <%rowcount%>
-<%if taxincluded%>
- ---------------
- Bruttó: <%invtotal align=right width=9%>
-<%end taxincluded%>
-<%if not taxincluded%>
- ------------
- Nettó: <%subtotal align=right width=9%>
-<%end taxincluded%>
-<%foreach tax%>
-<%taxdescription align=right width=23%> @ <%taxrate align=right width=2%>%: <%tax align=right width=9%>
-<%end tax%>
- Bruttó: <%invtotal align=right width=9%>
-<%foreach payment%>
-<%paymentaccount align=right width=29%>: <%payment align=right width=9%> <%currency%>
-<%end payment%>
-<%if change%>
- Visszajáró: <%change align=right width=9%>
-<%end change%>
-<%if total%>
- Fizetendõ: <%total align=right width=9%>
-<%end total%>
-<%if discount%>
-
-<%discount%> % Engedmény levonva
-<%end discount%>
-
- Köszönjük a vásárlást!
-
-<%if taxincluded%>
-A végösszeg bruttóban értendõ
-<%end taxincluded%>
-
-
diff --git a/sql-ledger/templates/Hungarian-purchase_order.html b/sql-ledger/templates/Hungarian-purchase_order.html
deleted file mode 100644
index 2f95eb7..0000000
--- a/sql-ledger/templates/Hungarian-purchase_order.html
+++ /dev/null
@@ -1,230 +0,0 @@
-
-<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>Fax: <%fax%>
- </h4>
- </td>
- </tr>
-
- <tr>
- <th colspan=3>
- <h4>BESZERZÉSI &nbsp;&nbsp; RENDELÉS</h4>
- </th>
- </tr>
-
- </table>
-
-
- <table width=100% callspacing=0 cellpadding=0>
-
- <tr>
- <td align=right>
- <table>
- <tr>
- <th align=right>Rendelés dátuma</th><td width=10>&nbsp;</td><td><%orddate%></td>
- </tr>
-
- <tr>
- <th align=right>Leszállítás</th><td width=10>&nbsp;</td><td><%reqdate%></td>
- </tr>
-
- <tr>
- <th align=right>Szám</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>Szállító:</th>
- <th align=left width=50%><font color=ffffff>Szállítási cím:</th>
- </tr>
-
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
-
-<br>
-<%if contact%>
-<br>Kapcsolattartó: <%contact%>
-<%end contact%>
-<%if vendorphone%>
-<br>Tel: <%vendorphone%>
-<%end vendorphone%>
-<%if vendorfax%>
-<br>Fax: <%vendorfax%>
-<%end vendorfax%>
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
-<br><%shiptoaddress2%>
-<%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
-
-<br>
-<%if shiptocontact%>
-<br>Kapcsolattartó: <%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>Szám</th>
- <th align=left><font color=ffffff>Szöveges leírás</th>
- <th align=right><font color=ffffff>Menny</th>
- <th>&nbsp;</th>
- <th align=right><font color=ffffff>Ár</th>
- <th align=right><font color=ffffff>Összeg</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> Nettó összeg</th>
- <td colspan=2 align=right><%subtotal%></td>
- </tr>
-
-<%foreach tax%>
- <tr>
- <th colspan=4 align=right><%taxdescription%>alap: <%taxbase%> ráta: <%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>Határidõ <b><%terms%></b> nap</td>
- <th colspan=2 align=right> Bruttó összeg</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>Megjegyzés</td>
- <td><pre><%notes%></pre></td>
-<%end notes%>
- <td align=right>
-<!-- Az árak <b><%currency%></b>-ban vannak meghatározva-->
- Az árak Forintban értendõk
- <br><%shippingpoint%>
- </td>
- </tr>
-
- </table>
- </td>
-</tr>
-
-<tr><td>&nbsp;</td></tr>
-
-<tr>
- <td>
- <table width=100%>
- <tr valign=top>
- <td><font size=-3>
-<!--
-További megjegyzések
--->
-
- </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/Hungarian-purchase_order.tex b/sql-ledger/templates/Hungarian-purchase_order.tex
deleted file mode 100644
index 7b59e75..0000000
--- a/sql-ledger/templates/Hungarian-purchase_order.tex
+++ /dev/null
@@ -1,206 +0,0 @@
-\documentclass[twoside]{article}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin2]{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%>\\
- 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{Részösszeg} & \textbf{<%sumcarriedforward%>} \\
- \end{tabularx}
-
-\newpage
-
-\markright{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}}
- \textbf{Szám} & \textbf{Szöveges leírás} & \textbf{Menny.} &
- \textbf{egys.} & \textbf{Ár} & \textbf{Összeg} \\
- & folytatás az elõzõ oldalról: <%lastpage%> & & & & <%sumcarriedforward%> \\
-<%end pagebreak%>
-
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{10.5cm}{
-\textbf{Szállító}
-\vspace{0.5cm}
-
-<%name%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-Kapcsolattartó: <%contact%>
-\vspace{0.3cm}
-<%end contact%>
-
-<%if vendorphone%>
-Tel: <%vendorphone%>
-<%end vendorphone%>
-
-<%if vendorfax%>
-Fax: <%vendorfax%>
-<%end vendorfax%>
-
-<%email%>
-}
-\parbox[t]{7.5cm}{
-\textbf{Szállítási cím}
-\vspace{0.3cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%if shiptoaddress2%>
-<%shiptoaddress2%>
-<%end shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
-
-\vspace{0.3cm}
-
-<%if shiptocontact%>
-Szállítási kapcsolattartó: <%shiptocontact%>
-\vspace{0.3cm}
-<%end shiptocontact%>
-
-<%if shiptophone%>
-Tel: <%shiptophone%>
-<%end shiptophone%>
-
-<%if shiptofax%>
-Fax: <%shiptofax%>
-<%end shiptofax%>
-
-<%shiptoemail%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{B E S Z E R Z É S I} \parbox{0.3cm}{\hfill} \textbf{R E N D E L É S}
-\hfill
-\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
- \textbf{Dátum} & <%orddate%> \\
-<%if reqdate%>
- \textbf{Leszállítás} & <%reqdate%> \\
-<%end reqdate%>
- \textbf{Szám} & <%ordnumber%>
-\end{tabular}
-
-\vspace{1cm}
-
-\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}}
- \textbf{Szám} & \textbf{Szöveges leírás} & \textbf{Menny.} &
- \textbf{egys.} & \textbf{Ár} & \textbf{Összeg} \\
-<%foreach number%>
- <%number%> & <%description%> & <%qty%> &
- <%unit%> & <%sellprice%> & <%linetotal%> \\
-<%end number%>
-\end{tabular*}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\vspace{0.2cm}
-
-\hfill
-\begin{tabularx}{9cm}{Xr@{}}
- \textbf{Nettó összeg} & \textbf{<%subtotal%>} \\
-<%foreach tax%>
- <%taxdescription%> alap <%taxbase%> & <%tax%>\\
-<%end tax%>
- \hline
- \textbf{Bruttó összeg} & \textbf{<%ordtotal%>}\\
-\end{tabularx}
-
-\vspace{0.3cm}
-
-\hfill
- % All prices in \textbf{<%currency%>} funds.
-Az árak Forintban értendõk
-\vspace{12pt}
-
-<%if notes%>
- <%notes%>
-<%end if%>
-
-}
-
-
-%\renewcommand{\thefootnote}{\fnsymbol{footnote}}
-
-%\footnotetext[1]{\tiny }
-
-\end{document}
-
-
diff --git a/sql-ledger/templates/Hungarian-receipt.tex b/sql-ledger/templates/Hungarian-receipt.tex
deleted file mode 100644
index a77e595..0000000
--- a/sql-ledger/templates/Hungarian-receipt.tex
+++ /dev/null
@@ -1,78 +0,0 @@
-\documentclass[twoside]{article}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin2]{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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\vspace{1.8cm}
-
-<%notes%>
-
-\vspace{0.8cm}
-
-<%company%>
-
-\vspace{0.5cm}
-
-<%name%> \hfill <%datepaid%> \hfill <%source%>
-
-\vspace{0.5cm}
-\begin{tabularx}{\textwidth}{lXrr@{}}
-\textbf{Számlaszám} & \textbf{Telj. dátuma}
- & \textbf{Esedékes} & \textbf{Kifizetett} \\
-<%foreach invnumber%>
-<%invnumber%> & <%invdate%> \dotfill
- & <%due%> & <%paid%> \\
-<%end invnumber%>
-\end{tabularx}
-
-\vfill
-
-\end{document}
diff --git a/sql-ledger/templates/Hungarian-request_quotation.html b/sql-ledger/templates/Hungarian-request_quotation.html
deleted file mode 100644
index a9a6f4f..0000000
--- a/sql-ledger/templates/Hungarian-request_quotation.html
+++ /dev/null
@@ -1,202 +0,0 @@
-
-<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><img src=http://www.sql-ledger.org/images/sql-ledger.png border=0 width=64 height=58>
- </td>
-
- <td align=right>
- <h4>
- Tel: <%tel%>
- <br>Fax: <%fax%>
- </h4>
- </td>
- </tr>
-
- <tr>
- <th colspan=3>
- <h4>R E Q U E S T &nbsp;&nbsp; F O R &nbsp;&nbsp; Q U O T A T I O N</h4>
- </th>
- </tr>
-
- </table>
-
-
- <table width=100% callspacing=0 cellpadding=0>
-
- <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><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
-<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><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddr2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
-<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 colspan=2>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left>RFQ #</th>
- <th width=17% align=left>Date</th>
- <th width=17% align=left>Required by</th>
- <th width=17% align=left>Contact</th>
- <th width=17% align=left>Shipping Point</th>
- <th width=15% align=left>Ship via</th>
- </tr>
-
- <tr>
- <td><%quonumber%></td>
- <td><%quodate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height="10"></tr>
-
- <tr>
- <td>Please provide price and delivery time for the following items:</td>
- </tr>
-
- <tr height="10"></tr>
-
- <tr>
- <td>
- <table width=100%>
- <tr>
-<!-- <th align=right>No.</th> -->
- <th align=left>Number</th>
- <th align=left><font color=ffffff>Description</th>
- <th>Qt'y</th>
- <th>&nbsp;</th>
- <th>Delivery</th>
- <th>Unit Price</th>
- <th>Extended</th>
- </tr>
-
-<%foreach number%>
- <tr valign=top>
-<!-- <td align=right><%runningnumber%>.</td>
-other per line item variables available <%reqdate%>
-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>
-
- </tr>
-<%end number%>
-
- <tr>
- <td colspan=7><hr noshade></td>
- </tr>
-
- </table>
- </td>
- </tr>
-
-<tr>
- <td>
- <table width=100%>
-<%if notes%>
- <tr valign=top>
- <td>Notes</td>
- <td><%notes%></td>
- </tr>
-<%end notes%>
-
- </table>
- </td>
-</tr>
-
-<tr><td>&nbsp;</td></tr>
-
-<tr>
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=70%>&nbsp;</td>
-
- <td width=30%>
- X <hr noshade>
- </td>
- </tr>
- </table>
- </td>
-</tr>
-
-</table>
-
-</td>
-</tr>
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Hungarian-request_quotation.tex b/sql-ledger/templates/Hungarian-request_quotation.tex
deleted file mode 100644
index 4e9cfe0..0000000
--- a/sql-ledger/templates/Hungarian-request_quotation.tex
+++ /dev/null
@@ -1,175 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 48%>
-\end{tabularx}
-
- \rule{\textwidth}{2pt}
-
- \hfill
- \begin{tabularx}{7cm}{Xr@{}}
- \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
- \end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}lXrlrr@{}}
- \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
- \textbf{Unit} & \textbf{Price} & \textbf{Extended} \\
- & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.45\textwidth}{
-\textbf{To}
-\vspace{0.7cm}
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-\vspace{0.2cm}
-<%end contact%>
-
-<%if vendorphone%>
-Tel: <%vendorphone%>
-<%end vendorphone%>
-
-<%if vendorfax%>
-Fax: <%vendorfax%>
-<%end vendorfax%>
-
-<%email%>
-}
-\parbox[t]{.45\textwidth}{
-\textbf{Ship To}
-\vspace{0.7cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-
-\vspace{0.3cm}
-
-<%if shiptocontact%>
-<%shiptocontact%>
-\vspace{0.2cm}
-<%end shiptocontact%>
-
-<%if shiptophone%>
-Tel: <%shiptophone%>
-<%end shiptophone%>
-
-<%if shiptofax%>
-Fax: <%shiptofax%>
-<%end shiptofax%>
-
-<%shiptoemail%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{R E Q U E S T for Q U O T A T I O N}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{RFQ \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex]
- \hline
- <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-Please provide price and delivery time for the following items:
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}lXrllrr@{}}
- \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & &
- \textbf{Delivery} & \textbf{Unit Price} & \textbf{Extended} \\
-<%foreach number%>
- <%number%> & <%description%> & <%qty%> & <%unit%> \\
-<%end number%>
-\end{tabularx}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\hfill
-
-<%notes%>
-
-}
-
-\end{document}
-
diff --git a/sql-ledger/templates/Hungarian-sales_order.html b/sql-ledger/templates/Hungarian-sales_order.html
deleted file mode 100644
index ff518a1..0000000
--- a/sql-ledger/templates/Hungarian-sales_order.html
+++ /dev/null
@@ -1,221 +0,0 @@
-
-<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>Fax: <%fax%>
- </h4>
- </td>
- </tr>
-
- <tr>
- <th colspan=3>
- <h4>VEVÕRENDELÉS</h4>
- </th>
- </tr>
-
- </table>
-
-
- <table width=100% callspacing=0 cellpadding=0>
-
- <tr>
- <td align=right>
- <table>
- <tr>
- <th align=right>Rendelés dátuma</th><td width=10>&nbsp;</td><td><%orddate%></td>
- </tr>
-
- <tr>
- <th align=right>Leszállítás</th><td width=10>&nbsp;</td><td><%reqdate%></td>
- </tr>
-
- <tr>
- <th align=right>Szám</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>Vevõ:</th>
- <th align=left><font color=ffffff>Szállítási cím:</th>
- </tr>
-
- <tr>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
-<br><%shiptoaddress2%>
-<%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
- </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>Szám</th>
- <th align=left><font color=ffffff>Szöveges leírás</th>
- <th align=right><font color=ffffff>Menny</th>
- <th>&nbsp;</th>
- <th align=right><font color=ffffff>Ár</th>
- <th align=right><font color=ffffff>Engedmény</th>
- <th align right><font color=ffffff>Összeg</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>Bruttó összeg</th>
- <td colspan=2 align=right><%ordtotal%></td>
-<%end taxincluded%>
-
-<%if not taxincluded%>
- <th colspan=5 align=right>Nettó összeg</th>
- <td colspan=2 align=right><%subtotal%></td>
-<%end taxincluded%>
- </tr>
-
-<%foreach tax%>
- <tr>
- <th colspan=5 align=right><%taxdescription%> alap <%taxbase%> ráta: <%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>Fizetési határidõ: <b><%terms%></b> nap</td>
- <th colspan=2 align=right>Bruttó összeg</th>
- <th colspan=2 align=right><%ordtotal%></th>
- </tr>
-<%if taxincluded%>
- <tr>
- <td colspan=3>A végösszeg tartalmazza az adó összegét</td>
- </tr>
-<%end taxincluded%>
-
- <tr>
- <td>&nbsp;</td>
- </tr>
-
- </table>
- </td>
- </tr>
-
-<tr>
- <td>
- <table width=100%>
- <tr valign=top>
-<%if notes%>
- <td>Megjegyzés</td>
- <td><pre><%notes%></pre></td>
-<%end notes%>
- <td align=right>
-<!-- All prices in <b><%currency%></b> Funds -->
- Az árak Forintban értendõk
- <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/Hungarian-sales_order.tex b/sql-ledger/templates/Hungarian-sales_order.tex
deleted file mode 100644
index 7f536f4..0000000
--- a/sql-ledger/templates/Hungarian-sales_order.tex
+++ /dev/null
@@ -1,147 +0,0 @@
-\documentclass[twoside]{article}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin2]{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%>\\
- 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{Részösszeg} & \textbf{<%sumcarriedforward%>} \\
- \end{tabularx}
-
-\newpage
-
-\markright{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
- \textbf{Szám} & \textbf{Szöveges leírás} & \textbf{Menny.} &
- \textbf{egys.} & \textbf{Ár} & \textbf{Engedmény} & \textbf{Összeg} \\
- & folytatás az elõzõ oldalról: <%lastpage%> & & & & & <%sumcarriedforward%> \\
-<%end pagebreak%>
-
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{2cm}
-
-<%name%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\vspace{3.5cm}
-
-\textbf{V E V Õ} \parbox{0.3cm}{\hfill} \textbf{R E N D E L É S}
-\hfill
-\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
- \textbf{Rendelés dátuma} & <%orddate%> \\
-<%if reqdate%>
- \textbf{Leszállítás} & <%reqdate%> \\
-<%end reqdate%>
- \textbf{Szám} & <%ordnumber%>
-\end{tabular}
-
-\vspace{1cm}
-
-\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
- \textbf{Szám} & \textbf{Szöveges leírás} & \textbf{Menny.} &
- \textbf{egys.} & \textbf{Ár} & \textbf{Engedmény} & \textbf{Összeg} \\
-<%foreach number%>
- <%number%> & <%description%> & <%qty%> &
- <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\
-<%end number%>
-\end{tabular*}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\vspace{0.2cm}
-
-\hfill
-\begin{tabularx}{9cm}{Xr@{}}
- \textbf{Nettó összeg} & \textbf{<%subtotal%>} \\
-<%foreach tax%>
- <%taxdescription%> alap <%taxbase%> <%tax%>\\
-<%end tax%>
- \hline
- \textbf{Bruttó összeg} & \textbf{<%ordtotal%>}\\
-\end{tabularx}
-
-\vspace{0.3cm}
-
-\hfill
-% All prices in \textbf{<%currency%>} funds.
-Az árak Forintban értendõk
-\vspace{12pt}
-
-<%if notes%>
- <%notes%>
-<%end if%>
-
-}
-
-
-\renewcommand{\thefootnote}{\fnsymbol{footnote}}
-
-\footnotetext[1]{\tiny
-}
-
-\end{document}
-
diff --git a/sql-ledger/templates/Hungarian-sales_quotation.html b/sql-ledger/templates/Hungarian-sales_quotation.html
deleted file mode 100644
index cc57a5c..0000000
--- a/sql-ledger/templates/Hungarian-sales_quotation.html
+++ /dev/null
@@ -1,225 +0,0 @@
-
-<body bgcolor=ffffff>
-
-<table width=100%>
-<tr valign=bottom>
- <td width=10>&nbsp;</td>
- <td>
-
- <table width=100%>
- <tr valign=top>
- <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><td colspan=3>&nbsp;</td></tr>
-
- <tr>
- <th colspan=3>
- <h4>Q U O T A T I O N</h4>
- </th>
- </tr>
-
- </table>
-
- <table width=100% callspacing=0 cellpadding=0>
-
- <tr>
- <td>
- <table width=100%>
-
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
-
- <br>
- <%if contact%>
- <br>Attn: <%contact%>
- <%end contact%>
-
- <%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><td>&nbsp;</td></tr>
-
- <tr>
- <td colspan=2>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left nowrap>Number</th>
- <th width=17% align=left>Date</th>
- <th width=17% align=left>Valid until</th>
- <th width=17% align=left nowrap>Contact</th>
- <th width=17% align=left nowrap>Shipping Point</th>
- <th width=15% align=left nowrap>Ship via</th>
- </tr>
-
- <tr>
- <td><%quonumber%></td>
- <td><%quodate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</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>
-
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td align=right><%sellprice%></td>
- <td align=right><%discountrate%></td>
- <td align=right><%linetotal%></td>
- </tr>
-<%end number%>
-
- <tr>
- <td colspan=8><hr noshade></td>
- </tr>
-
- <tr>
-<%if taxincluded%>
- <th colspan=6 align=right>Total</th>
- <td colspan=2 align=right><%invtotal%></td>
-<%end taxincluded%>
-
-<%if not taxincluded%>
- <th colspan=6 align=right>Subtotal</th>
- <td colspan=2 align=right><%subtotal%></td>
-<%end taxincluded%>
- </tr>
-
-<%foreach tax%>
- <tr>
- <th colspan=6 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th>
- <td colspan=2 align=right><%tax%></td>
- </tr>
-<%end tax%>
-
- <tr>
- <td colspan=4>&nbsp;</td>
- <td colspan=4><hr noshade></td>
- </tr>
-
- <tr>
- <td colspan=4>&nbsp;
-<%if terms%>
- Terms Net <b><%terms%></b> days
-<%end terms%>
- </td>
- <th colspan=2 align=right>Total</th>
- <th colspan=2 align=right><%quototal%></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
- </td>
- </tr>
-
- </table>
- </td>
-</tr>
-
-<tr><td>&nbsp;</td></tr>
-
-<tr>
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=60%><font size=-3>
- Special order items are subject to a 10% cancellation fee.
- </font>
- </td>
- <td width=40%>
- X <hr noshade>
- </td>
- </tr>
- </table>
- </td>
-</tr>
-
-</table>
-
-</td>
-</tr>
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Hungarian-sales_quotation.tex b/sql-ledger/templates/Hungarian-sales_quotation.tex
deleted file mode 100644
index acc4870..0000000
--- a/sql-ledger/templates/Hungarian-sales_quotation.tex
+++ /dev/null
@@ -1,157 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 48%>
-\end{tabular*}
-
- \rule{\textwidth}{2pt}
-
- \hfill
- \begin{tabularx}{7cm}{Xr@{}}
- \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
- \end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%quonumber%>}{<%company%>\hfill <%quonumber%>}
-
-\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%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.45\textwidth}{
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%contact%>
-
-\vspace{0.2cm}
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-
-\vspace{1cm}
-
-\textbf{Q U O T A T I O N}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{Quotation \#} & \textbf{Date} & \textbf{Valid until} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex]
- \hline
- <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\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%> & <%discountrate%> & <%linetotal%> \\
-<%end number%>
-\end{tabular*}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\vspace{0.2cm}
-
-\hfill
-\begin{tabularx}{7cm}{Xr@{}}
- Subtotal & <%subtotal%> \\
-<%foreach tax%>
- <%taxdescription%> on <%taxbase%> & <%tax%>\\
-<%end tax%>
- \hline
- Total & <%quototal%>\\
-\end{tabularx}
-
-\vspace{0.3cm}
-
-\hfill
- All prices in \textbf{<%currency%>}.
-
-\vspace{12pt}
-
-<%notes%>
-
-}
-
-\vfill
-
-\end{document}
-
-
diff --git a/sql-ledger/templates/Hungarian-statement.html b/sql-ledger/templates/Hungarian-statement.html
deleted file mode 100644
index 20945a3..0000000
--- a/sql-ledger/templates/Hungarian-statement.html
+++ /dev/null
@@ -1,125 +0,0 @@
-
-<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>K I M U T A T Á S</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><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
- <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>Számla #</th>
- <th width=15% align=left>Dátum</th>
- <th width=15% align=left>Esedékesség</th>
- <th width=10% align=right>0-30</th>
- <th width=10% align=right>30</th>
- <th width=10% align=right>60</th>
- <th width=10% align=right>90+</th>
- </tr>
-<%foreach invnumber%>
- <tr>
- <td align=left><%invnumber%></td>
- <td align=left><%invdate%></td>
- <td align=left><%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>Nyitott tételek összesen:</th>
- <th align=right><%total%></th>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td><hr noshade></td>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td>Kérjük a fizetendõ összeget a <b><%company%></b> bankszámlájára átutalni szíveskedjenek.
- </td>
- </tr>
- <tr height=20></tr>
-</table>
-
diff --git a/sql-ledger/templates/Hungarian-statement.tex b/sql-ledger/templates/Hungarian-statement.tex
deleted file mode 100644
index fb685e1..0000000
--- a/sql-ledger/templates/Hungarian-statement.tex
+++ /dev/null
@@ -1,141 +0,0 @@
-\documentclass[twoside]{article}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin2]{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{Részösszeg} & \textbf{<%sumcarriedforward%>} \\
- \end{tabularx}
-
-\newpage
-
-\markright{<%company%>\hfill <%statementdate%>}
-
-\vspace*{-12pt}
-
-\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}}
- \textbf{Számla \#} & \textbf{Dátum} & \textbf{Esedékesség} &
- \textbf{0-30} & \textbf{30} & \textbf{60} & \textbf{90+} \\
- folytatás az elõzõ oldalról: <%lastpage%> & & & & & & <%sumcarriedforward%> \\
-<%end pagebreak%>
-
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{1.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{10.5cm}{
-
-<%name%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-}
-\parbox[t]{7.5cm}{
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{K I M U T A T Á S} \hfill
-
-\hfill <%statementdate%>
-
-\vspace{2cm}
-
-\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}}
- \textbf{Számla \#} & \textbf{Dátum} & \textbf{Esedékesség} &
- \textbf{Nem lejárt} & \textbf{30} & \textbf{60} & \textbf{90+} \\
-<%foreach invnumber%>
- <%invnumber%> & <%invdate%> & <%duedate%> &
- <%c0%> & <%c30%> & <%c60%> & <%c90%> \\
-<%end invnumber%>
-\textbf{Összesen} & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%>
-\end{tabular*}
-\rule{\textwidth}{1pt}
-
-\vspace{1cm}
-
-\hfill
-\begin{tabularx}{7cm}{Xr@{}}
- \textbf{Nyitott tételek összesen} & <%total%>
-\end{tabularx}
-
-\vfill
-
-Kérjük a fizetendõ összeget a <%company%> bankszámlájára átutalni szíveskedjenek.
-
-\renewcommand{\thefootnote}{\fnsymbol{footnote}}
-
-\footnotetext[1]{\tiny
-}
-
-\end{document}
-
diff --git a/sql-ledger/templates/Hungarian-work_order.html b/sql-ledger/templates/Hungarian-work_order.html
deleted file mode 100644
index 0732fe2..0000000
--- a/sql-ledger/templates/Hungarian-work_order.html
+++ /dev/null
@@ -1,174 +0,0 @@
-
-<body bgcolor=ffffff>
-
-<table width=100%>
- <tr>
- <td width=10>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=bottom>
- <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>W O R K &nbsp;&nbsp; O R D E R</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <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><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%>
- <br><%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
- <%if contact%>
- <br>Attn: <%contact%>
- <%end contact%>
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
- <%if email%>
- <br><%email%>
- <%end email%>
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%>
- <br><%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
- <br>
- <%if shiptocontact%>
- <br><%shiptocontact%>
- <%end shiptocontact%>
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
- <%if shiptoemail%>
- <br><%shiptoemail%>
- <%end shiptoemail%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left nowrap>Order Number</th>
- <th width=17% align=left>Order Date</th>
- <th width=17% align=left>Required by</th>
- <th width=17% align=left nowrap>Salesperson</th>
- <th width=17% align=left nowrap>Shipping Point</th>
- <th width=15% align=left nowrap>Ship Via</th>
- </tr>
-
- <tr>
- <td><%ordnumber%></td>
- <td><%orddate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <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>Serial No.</th>
- </tr>
-
- <%foreach number%>
- <tr valign=top>
- <td align=right><%runningnumber%>.</td>
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td><%serialnumber%></td>
- </tr>
- <%end number%>
-
- <tr>
- <td colspan=6><hr noshade></td>
- </tr>
-
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <%if notes%>
- <td><%notes%></td>
- <%end notes%>
- </tr>
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Hungarian-work_order.tex b/sql-ledger/templates/Hungarian-work_order.tex
deleted file mode 100644
index cb6774d..0000000
--- a/sql-ledger/templates/Hungarian-work_order.tex
+++ /dev/null
@@ -1,177 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{%
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5em]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 48%>
-\end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}rlXrll@{}}
- \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
- & \textbf{Serial Number} \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.45\textwidth}{
-\textbf{To}
-\vspace{0.7cm}
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-\vspace{0.2cm}
-<%end contact%>
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\parbox[t]{.45\textwidth}{
-\textbf{Ship To}
-\vspace{0.7cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-
-\vspace{0.3cm}
-
-<%if shiptocontact%>
-<%shiptocontact%>
-\vspace{0.2cm}
-<%end shiptocontact%>
-
-<%if shiptophone%>
-Tel: <%shiptophone%>
-<%end shiptophone%>
-
-<%if shiptofax%>
-Fax: <%shiptofax%>
-<%end shiptofax%>
-
-<%shiptoemail%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{W O R K} \parbox{0.3cm}{\hfill} \textbf{O R D E R}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship Via} \\ [0.5em]
- \hline
- <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}rlXrll@{}}
- \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
- & \textbf{Serial Number} \\
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> & <%qty%> &
- <%unit%> & <%serialnumber%> \\
-<%end number%>
-\end{tabularx}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\vspace{12pt}
-
-<%if notes%>
- <%notes%>
-<%end if%>
-
-}
-
-\vfill
-
-\vspace{1cm}
-
-\rule{\textwidth}{0.5pt}
-
-\end{document}
-
-
-
-
-
-
diff --git a/sql-ledger/templates/Italian-ap_transaction.html b/sql-ledger/templates/Italian-ap_transaction.html
deleted file mode 100644
index c7bae85..0000000
--- a/sql-ledger/templates/Italian-ap_transaction.html
+++ /dev/null
@@ -1,229 +0,0 @@
-
-<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>
- <hr noshade><br>
- <h4>A P - T R A N S A C T I O N</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
-
- <%if contact%>
- <br><%contact%>
- <br>
- <%end contact%>
-
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
-
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
-
- <%if email%>
- <br><%email%>
- <%end email%>
- </td>
-
- <td align=right>
- <table>
- <tr>
- <th align=left nowrap>Invoice #</th>
- <td><%invnumber%></td>
- </tr>
- <tr>
- <th align=left nowrap>Date</th>
- <td><%invdate%></td>
- </tr>
- <tr>
- <th align=left nowrap>Due</th>
- <td><%duedate%></td>
- </tr>
- <tr>
- <th align=left>Order #</th>
- <td><%ordnumber%>&nbsp;</td>
- </tr>
- <tr>
- <th align=left nowrap>Employee</th>
- <td><%employee%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=50%>
- <table>
- <%foreach account%>
- <tr valign=top>
- <td><%accno%></td>
- <td><%account%></td>
- <td align=right><%amount%></td>
- <td><%projectnumber%></td>
- </tr>
- <%end account%>
-
- <tr>
- <%if taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Subtotal</th>
- <td align=right><%subtotal%></td>
- <%end taxincluded%>
- </tr>
-
- <%foreach tax%>
- <tr>
- <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th>
- <td align=right><%tax%></td>
- </tr>
- <%end tax%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- </table>
- </td>
- <td width=50%>
- <%notes%>
- </td>
- </tr>
- </table>
- </td>
- <tr>
- <td>&nbsp;</td>
-
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <%text_amount%> ***** <%decimal%>/100 <%currency%>
- </td>
- </tr>
-
- <%if paid%>
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table>
- <tr>
- <th>Payments</th>
- </tr>
-
- <tr>
- <td>
- <hr noshade>
- </td>
- </tr>
-
- <tr>
- <td>
- <table>
- <tr>
- <th align=left>Date</th>
- <th align=left>Account</th>
- <th align=left>Source</th>
- <th align=left>Memo</th>
- <th align=left>Amount</th>
- </tr>
- <%end paid%>
-
- <%foreach payment%>
- <tr>
- <td><%paymentdate%></td>
- <td><%paymentaccount%></td>
- <td><%paymentsource%></td>
- <td><%paymentmemo%></td>
- <td><%payment%></td>
- </tr>
- <%end payment%>
-
- <%if paid%>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <%end paid%>
-
- <tr height=10></tr>
-
- <%if taxincluded%>
- <tr>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th>
- </tr>
- <%end taxincluded%>
-
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Italian-ap_transaction.tex b/sql-ledger/templates/Italian-ap_transaction.tex
deleted file mode 100644
index 8bfd9f7..0000000
--- a/sql-ledger/templates/Italian-ap_transaction.tex
+++ /dev/null
@@ -1,125 +0,0 @@
-\documentclass[10pt,letterpaper,oneside,onecolumn]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{%
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5em]{\textwidth}{0.5pt}
-}
-
-\centerline{\textbf{A P} \hspace{0.3cm} \textbf{T R A N S A C T I O N}}
-
-\vspace*{0.5cm}
-
-\parbox[t]{.5\textwidth}{
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-<%end contact%>
-
-\vspace{0.2cm}
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\hfill
-\begin{tabular}[t]{ll}
- \textbf{Invoice \#} & <%invnumber%> \\
- \textbf{Date} & <%invdate%> \\
- \textbf{Due} & <%duedate%> \\
- \textbf{Order \#} & <%ordnumber%> \\
- \textbf{Employee} & <%employee%> \\
-\end{tabular}
-
-\vspace{1cm}
-
-\begin{tabularx}{.5\textwidth}[t]{@{}llrl@{}}
-<%foreach amount%>
- <%accno%> & <%account%> & <%amount%> & <%projectnumber%> \\
-<%end amount%>
-
- \multicolumn{2}{r}{\textbf{Subtotal}} & <%subtotal%> & \\
-<%foreach tax%>
- \multicolumn{2}{r}{\textbf{<%taxdescription%> @ <%taxrate%> \%}} & <%tax%> & \\
-<%end tax%>
-
- \multicolumn{2}{r}{\textbf{Total}} & <%invtotal%> & \\
-
-\end{tabularx}
-<%notes%>
-
-\vspace{0.3cm}
-
-<%text_amount%> ***** <%decimal%>/100 <%currency%>
-
-\vspace{0.3cm}
-
-<%if paid%>
-\begin{tabular}{@{}llllr@{}}
- \multicolumn{5}{c}{\textbf{Payments}} \\
- \hline
- \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\
-<%end paid%>
-<%foreach payment%>
- <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%paymentmemo%> & <%payment%> \\
-<%end payment%>
-<%if paid%>
-\end{tabular}
-<%end paid%>
-
-\end{document}
-
diff --git a/sql-ledger/templates/Italian-ar_transaction.html b/sql-ledger/templates/Italian-ar_transaction.html
deleted file mode 100644
index dbd0a1c..0000000
--- a/sql-ledger/templates/Italian-ar_transaction.html
+++ /dev/null
@@ -1,237 +0,0 @@
-
-<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>
- <hr noshade><br>
- <h4>A R - T R A N S A C T I O N</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
-
- <%if contact%>
- <br><%contact%>
- <br>
- <%end contact%>
-
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
-
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
-
- <%if email%>
- <br><%email%>
- <%end email%>
- </td>
-
- <td align=right>
- <table>
- <tr>
- <th align=left nowrap>Invoice #</th>
- <td><%invnumber%></td>
- </tr>
- <tr>
- <th align=left nowrap>Date</th>
- <td><%invdate%></td>
- </tr>
- <tr>
- <th align=left nowrap>Due</th>
- <td><%duedate%></td>
- </tr>
- <tr>
- <th align=left>Order #</th>
- <td><%ordnumber%>&nbsp;</td>
- </tr>
- <tr>
- <th align=left nowrap>Salesperson</th>
- <td><%employee%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=50%>
- <table>
- <%foreach account%>
- <tr valign=top>
- <td><%accno%></td>
- <td><%account%></td>
- <td align=right><%amount%></td>
- <td><%projectnumber%></td>
- </tr>
- <%end account%>
-
- <tr>
- <%if taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Subtotal</th>
- <td align=right><%subtotal%></td>
- <%end taxincluded%>
- </tr>
-
- <%foreach tax%>
- <tr>
- <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th>
- <td align=right><%tax%></td>
- </tr>
- <%end tax%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- </table>
- </td>
- <td width=50%>
- <%notes%>
- </td>
- </tr>
- </table>
- </td>
- <tr>
- <td>&nbsp;</td>
-
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <%text_amount%> ***** <%decimal%>/100 <%currency%>
- </td>
- </tr>
-
- <%if paid%>
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table>
- <tr>
- <th>Payments</th>
- </tr>
-
- <tr>
- <td>
- <hr noshade>
- </td>
- </tr>
-
- <tr>
- <td>
- <table>
- <tr>
- <th align=left>Date</th>
- <th align=left>Account</th>
- <th align=left>Source</th>
- <th align=left>Memo</th>
- <th align=left>Amount</th>
- </tr>
- <%end paid%>
-
- <%foreach payment%>
- <tr>
- <td><%paymentdate%></td>
- <td><%paymentaccount%></td>
- <td><%paymentsource%></td>
- <td><%paymentmemo%></td>
- <td><%payment%></td>
- </tr>
- <%end payment%>
-
- <%if paid%>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <%end paid%>
-
- <tr height=10></tr>
-
- <%foreach tax%>
- <tr>
- <td>&nbsp;</td>
-
- <th colspan=9 align=left><font size=-2><%taxdescription%> Registration <%taxnumber%></th>
- </tr>
- <%end tax%>
-
- <%if taxincluded%>
- <tr>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th>
- </tr>
- <%end taxincluded%>
-
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Italian-ar_transaction.tex b/sql-ledger/templates/Italian-ar_transaction.tex
deleted file mode 100644
index 654d2b9..0000000
--- a/sql-ledger/templates/Italian-ar_transaction.tex
+++ /dev/null
@@ -1,131 +0,0 @@
-\documentclass[10pt,letterpaper,oneside,onecolumn]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{%
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5em]{\textwidth}{0.5pt}
-}
-
-\centerline{\textbf{A R} \hspace{0.3cm} \textbf{T R A N S A C T I O N}}
-
-\vspace*{0.5cm}
-
-\parbox[t]{.5\textwidth}{
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-<%end contact%>
-
-\vspace{0.2cm}
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\hfill
-\begin{tabular}[t]{ll}
- \textbf{Invoice \#} & <%invnumber%> \\
- \textbf{Date} & <%invdate%> \\
- \textbf{Due} & <%duedate%> \\
- \textbf{Order \#} & <%ordnumber%> \\
- \textbf{Employee} & <%employee%> \\
-\end{tabular}
-
-\vspace{1cm}
-
-\begin{tabularx}{.5\textwidth}[t]{@{}llrl@{}}
-<%foreach amount%>
- <%accno%> & <%account%> & <%amount%> & <%projectnumber%> \\
-<%end amount%>
-
- \multicolumn{2}{r}{\textbf{Subtotal}} & <%subtotal%> & \\
-<%foreach tax%>
- \multicolumn{2}{r}{\textbf{<%taxdescription%> @ <%taxrate%> \%}} & <%tax%> & \\
-<%end tax%>
-
- \multicolumn{2}{r}{\textbf{Total}} & <%invtotal%> & \\
-
-\end{tabularx}
-<%notes%>
-
-\vspace{0.3cm}
-
-<%text_amount%> ***** <%decimal%>/100 <%currency%>
-
-\vspace{0.3cm}
-
-<%if paid%>
-\begin{tabular}{@{}llllr@{}}
- \multicolumn{5}{c}{\textbf{Payments}} \\
- \hline
- \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\
-<%end paid%>
-<%foreach payment%>
- <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%paymentmemo%> & <%payment%> \\
-<%end payment%>
-<%if paid%>
-\end{tabular}
-<%end paid%>
-
-\vspace{0.5cm}
-
-<%foreach tax%>
-\textbf{\small{<%taxdescription%> Registration <%taxnumber%>}} \\
-<%end tax%>
-
-\end{document}
-
diff --git a/sql-ledger/templates/Italian-balance_sheet.html b/sql-ledger/templates/Italian-balance_sheet.html
deleted file mode 100644
index d7ea69b..0000000
--- a/sql-ledger/templates/Italian-balance_sheet.html
+++ /dev/null
@@ -1,103 +0,0 @@
-
-<body bgcolor=ffffff>
-
-<h2 align=center>
-<%company%>
-<br><%address%>
-
-<p>STATO PATRIMONIALE
-<br><%period%>
-</h2>
-
-<table border=0>
-<tr>
- <th align=left width=400 colspan=2>ATTIVITA'<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>TOTALE ATTIVITA</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>PASSIVITA'<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>Totale Passivita'</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>CAPITALE NETTO<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>Totale Capitale Netto</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>TOTALE PASSIVITA'</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/Italian-bin_list.html b/sql-ledger/templates/Italian-bin_list.html
deleted file mode 100644
index c945421..0000000
--- a/sql-ledger/templates/Italian-bin_list.html
+++ /dev/null
@@ -1,189 +0,0 @@
-
-<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>
-
- <th align=right>
- <h4>
- Tel: <%tel%>
- <br>Fax: <%fax%>
- </h4>
- </td>
- </tr>
-
- <tr>
- <th colspan=3>
- <h4>B I N &nbsp;&nbsp; L I S T</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% cellspacing=0 cellpadding=0>
- <tr bgcolor=000000>
- <th align=left width=50%><font color=ffffff>From</th>
- <th align=left width=50%><font color=ffffff>Ship To</th>
- </tr>
-
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
-
- <%if contact%>
- <br>Attn: <%contact%>
- <%end contact%>
-
- <%if vendorphone%>
- <br>Tel: <%vendorphone%>
- <%end vendorphone%>
-
- <%if vendorfax%>
- <br>Fax: <%vendorfax%>
- <%end vendorfax%>
-
- <%if email%>
- <br><%email%>
- <%end email%>
-
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
-
- <br>
- <%if shiptocontact%>
- <br>Attn: <%shiptocontact%>
- <%end shiptocontact%>
-
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
-
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left nowrap>Order #</th>
- <th width=17% align=left nowrap>Date</th>
- <th width=17% align=left nowrap>Contact</th>
- <%if warehouse%>
- <th width=17% align=left nowrap>Warehouse</th>
- <%end warehouse%>
- <th width=17% align=left>Shipping Point</th>
- <th width=15% align=left>Ship via</th>
- </tr>
-
- <tr>
- <td><%ordnumber%>&nbsp;</td>
-
- <%if shippingdate%>
- <td><%shippingdate%></td>
- <%end shippingdate%>
-
- <%if not shippingdate%>
- <td><%orddate%></td>
- <%end shippingdate%>
-
- <td><%employee%>&nbsp;</td>
-
- <%if warehouse%>
- <td><%warehouse%></td>
- <%end warehouse%>
-
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr bgcolor=000000>
- <th align=left><font color=ffffff>Pos</th>
- <th align=left><font color=ffffff>Number</th>
- <th align=left><font color=ffffff>Description</th>
- <th><font color=ffffff>Serialnumber</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Qty</th>
- <th><font color=ffffff>Recd</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Bin</th>
- </tr>
-
- <%foreach number%>
- <tr valign=top>
- <td><%runningnumber%></td>
- <td><%number%></td>
- <td><%description%></td>
- <td><%serialnumber%></td>
- <td><%deliverydate%></td>
- <td align=right><%qty%></td>
- <td align=right><%ship%></td>
- <td><%unit%></td>
- <td><%bin%></td>
- </tr>
- <%end number%>
-
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td><hr noshade></td>
- </tr>
-
-</table>
-
diff --git a/sql-ledger/templates/Italian-bin_list.tex b/sql-ledger/templates/Italian-bin_list.tex
deleted file mode 100644
index 034fd72..0000000
--- a/sql-ledger/templates/Italian-bin_list.tex
+++ /dev/null
@@ -1,147 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 37%>
-\end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}rlXllrrll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.5\textwidth}{
-\textbf{From}
-\vspace{0.7cm}
-
-<%name%>
-
-<%address1%>
-
-<%if %address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country4%>
-<%end country%>
-}
-\parbox[t]{.4\textwidth}{
-\textbf{Ship To}
-\vspace{0.7cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%if shiptoaddress2%>
-<%shiptoaddress2%>
-<%end shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{B I N} \parbox{0.3cm}{\hfill} \textbf{L I S T}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{Order \#} & \textbf{Date} & \textbf{Contact}
- <%if warehouse%>
- & \textbf{Warehouse}
- <%end warehouse%>
- & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em]
- \hline
-
- <%ordnumber%>
- <%if shippingdate%>
- & <%shippingdate%>
- <%end shippingdate%>
- <%if not shippingdate%>
- & <%orddate%>
- <%end shippingdate%>
- & <%employee%>
- <%if warehouse%>
- & <%warehouse%>
- <%end warehouse%>
- & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}rlXllrrll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\
-
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> &
- <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> & <%bin%> \\
-<%end number%>
-\end{tabularx}
-
-
-\rule{\textwidth}{2pt}
-
-\end{document}
-
diff --git a/sql-ledger/templates/Italian-check.tex b/sql-ledger/templates/Italian-check.tex
deleted file mode 100644
index a5c06aa..0000000
--- a/sql-ledger/templates/Italian-check.tex
+++ /dev/null
@@ -1,81 +0,0 @@
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\vspace{1.8cm}
-
-<%notes%>
-
-\vspace{0.8cm}
-
-<%company%>
-
-\vspace{0.5cm}
-
-<%name%> \hfill <%datepaid%> \hfill <%source%>
-
-\vspace{0.5cm}
-\begin{tabularx}{\textwidth}{lXrr@{}}
-\textbf{Fattura Numero} & \textbf{Data Fattura}
- & \textbf{Dovuto} & \textbf{Applicato} \\
-<%foreach invnumber%>
-<%invnumber%> & <%invdate%> \dotfill
- & <%due%> & <%paid%> \\
-<%end invnumber%>
-\end{tabularx}
-
-\vfill
-
-\end{document}
-
-
-
diff --git a/sql-ledger/templates/Italian-income_statement.html b/sql-ledger/templates/Italian-income_statement.html
deleted file mode 100644
index 5577101..0000000
--- a/sql-ledger/templates/Italian-income_statement.html
+++ /dev/null
@@ -1,78 +0,0 @@
-
-<body bgcolor=ffffff>
-
-<h2 align=center>
-<%company%>
-<br><%address%>
-
-<p>CONTO ECONOMICO
-<br><%period%>
-</h2>
-
-
-<table width=100% border=0>
-<tr>
- <th width=400 align=left colspan=2>RICAVI<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 Ricavi</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>COSTI<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 Costi</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>UTILE / (PERDITA)</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/Italian-invoice.html b/sql-ledger/templates/Italian-invoice.html
deleted file mode 100644
index 3fd6e3d..0000000
--- a/sql-ledger/templates/Italian-invoice.html
+++ /dev/null
@@ -1,209 +0,0 @@
-
-<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>FATTURA</h4>
- </th>
- </tr>
-
- </table>
-
-
- <table width=100% callspacing=0 cellpadding=0>
-
- <tr>
- <td align=right>
- <table>
- <tr>
- <th align=right>Data fattura</th><td width=10>&nbsp;</td><td><%invdate%></td>
- </tr>
-
- <tr>
- <th align=right>Scadenza</th><td width=10>&nbsp;</td><td><%duedate%></td>
- </tr>
-
- <tr>
- <th align=right>Numero fattura</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>Sede legale:</th>
- <th align=left><font color=ffffff>Inviare fattura a:</th>
- </tr>
-
- <tr>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
-<br><%shiptoaddress2%>
-<%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
- </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>Numero</th>
- <th align=left><font color=ffffff>Descrizione</th>
- <th><font color=ffffff>Quantit&agrave;</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Prezzo</th>
- <th><font color=ffffff>Sconto</th>
- <th><font color=ffffff>Totale riga</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
-to show the percentage for a discount use <%discountrate%>
--->
-
- <tr>
- <td colspan=7><hr noshade></td>
- </tr>
-
- <tr>
- <th colspan=5 align=right>Totale righe</th>
- <td colspan=2 align=right><%subtotal%></td>
- </tr>
-
-<%foreach tax%>
- <tr>
- <th colspan=5 align=right><%taxdescription%>: <%taxrate%>% su <%taxbase%></th>
- <td colspan=2 align=right><%tax%></td>
- </tr>
-<%end tax%>
-
-<%if paid%>
- <tr>
- <th colspan=5 align=right>Importo gi&agrave; pagato</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>Scadenza a <b><%terms%></b> giorni data fattura.</td>
- <th colspan=2 align=right>Totale da pagare</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>
- <td>Note</td>
- <td><%notes%></td>
- <td align=right>
- I prezzi sono espressi in valuta <b><%currency%></b>.
- <br><%shippingpoint%>
- </td>
- </tr>
-
- </table>
- </td>
-</tr>
-
-<tr><td>&nbsp;</td></tr>
-
-<tr>
- <td>
- Per i pagamenti successivi alla scadenza della fattura sar&agrave;
- addebitato l'interesse legale, aumentato di due punti percentuali, fino al
- pagamento completo.
- </td>
-</tr>
-
-</table>
-
-</td>
-</tr>
-</table>
-
-</body>
-</html>
diff --git a/sql-ledger/templates/Italian-invoice.tex b/sql-ledger/templates/Italian-invoice.tex
deleted file mode 100644
index 6d3cb10..0000000
--- a/sql-ledger/templates/Italian-invoice.tex
+++ /dev/null
@@ -1,236 +0,0 @@
-\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}{18cm}
-\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@{}}
- Tel & <%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{Totale riga} & \textbf{<%sumcarriedforward%>} \\
- \end{tabularx}
-
-\newpage
-
-\markright{<%company%>\hfill <%invnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
- \textbf{Codice} & \textbf{Descrizione} & \textbf{Quantita'} &
- \textbf{Unita'} & \textbf{Prezzo} & \textbf{Sc.} & \textbf{Totale righe} \\
- & 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{Sede legale:}
- \vspace{0.5cm}
-
-<%name%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\vspace{0.3cm}
-
-%<%if contact%>
-%Attn: <%contact%>
-%\vspace{0.3cm}
-%<%end contact%>
-\vspace{0.5cm}
-
-<%if customerphone%>
-Telefono: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\parbox[t]{7.5cm}{
-\textbf{Inviare fatttura a:}
-\vspace{0.5cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%if shiptoaddress2%>
-<%shiptoaddress2%>
-<%end shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
-
-\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{FATTURA}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
- \textbf{Data fattura} & <%invdate%> \\
- \textbf{Numero fattura} & <%invnumber%> \\
- \textbf{Ordine} & <%ordnumber%>
-\end{tabular}
-
-\vspace{1cm}
-
-\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
- \textbf{Codice} & \textbf{Descrizione} & \textbf{Qt\`a} &
- \textbf{Un.} & \textbf{Prezzo} & \textbf{Sc.} & \textbf{Tot. riga} \\
-<%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{Totale righe} & \textbf{<%subtotal%>} \\
-<%foreach tax%>
- <%taxdescription%>: <%taxrate%>\% & <%tax%>\\
-<%end tax%>
-<%if paid%>
- \textbf{Pagato} & - <%paid%> \\
-<%end paid%>
- \hline
- \textbf{Totale da pagare} & \textbf{<%total%>} \\
-\end{tabularx}
-
-\vspace{0.3cm}
-
-\hfill
- Tutti i prezzi sono espressi in valuta \textbf{<%currency%>}.
-
-\vspace{12pt}
-
-<%if notes%>
- <%notes%>
-<%end if%>
-
-}
-
-\vfill
-
-<%if paid%>
-\begin{tabularx}{10cm}{@{}lXlr@{}}
- \textbf{Pagamenti} & & & \\
- \hline
- \textbf{Data} & \textbf{Conto} & \textbf{Documento di riferimento} & \textbf{Importo} \\
-<%end paid%>
-<%foreach payment%>
- <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%payment%> \\
-<%end payment%>
-<%if paid%>
-\end{tabularx}
-<%end paid%>
-
-\vspace{1cm}
-
-%\centerline{\textbf{Grazie per averci scelto!}}
-
-\renewcommand{\thefootnote}{\fnsymbol{footnote}}
-
-\footnotetext[1]{\tiny
-Per i pagamenti successivi alla scadenza della fattura sara'
-addebitato l'interesse legale, aumentato di due punti percentuali, fino al
-pagamento completo.
-}
-
-\end{document}
-
-
-
diff --git a/sql-ledger/templates/Italian-packing_list.html b/sql-ledger/templates/Italian-packing_list.html
deleted file mode 100644
index 4a451d8..0000000
--- a/sql-ledger/templates/Italian-packing_list.html
+++ /dev/null
@@ -1,126 +0,0 @@
-
-<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 A &nbsp;&nbsp; E T I C H E T T E</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>Numero</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>Inviare a:</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>Numero</th>
- <th align=left><font color=ffffff>Descrizione</th>
- <th><font color=ffffff>Quantit&agrave;</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>
- <td>Note</td>
- <td><%notes%></td>
- <td align=right>
- <%shippingpoint%>
- </td>
- </tr>
-
- </table>
- </td>
-</tr>
-
-<tr>
- <td>
- </td>
-</tr>
-
-</table>
-
-</td>
-</tr>
-</table>
-
-
-
-
diff --git a/sql-ledger/templates/Italian-packing_list.tex b/sql-ledger/templates/Italian-packing_list.tex
deleted file mode 100644
index 2140c24..0000000
--- a/sql-ledger/templates/Italian-packing_list.tex
+++ /dev/null
@@ -1,114 +0,0 @@
-\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@{}}
- Tel & <%tel%>\\
- Fac & <%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{Numero} & \textbf{Descrizione} & \textbf{Quantita'} &
- \textbf{Unita'} & \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 A} \parbox{0.3cm}{\hfill} \textbf{E T I C H E T T E}
-
-\hfill
-\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
- \textbf{Data} & <%invdate%> \\
- \textbf{Numero} & <%invnumber%> \\
- \textbf{Cliente} & <%customer_id%>
-\end{tabular}
-
-\vspace{1cm}
-
-\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}}
- \textbf{Codice} & \textbf{Descrizione} & \textbf{Quantita'} &
- \textbf{Unita'} & \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
-
-
-\end{document}
-
diff --git a/sql-ledger/templates/Italian-pick_list.html b/sql-ledger/templates/Italian-pick_list.html
deleted file mode 100644
index 7548560..0000000
--- a/sql-ledger/templates/Italian-pick_list.html
+++ /dev/null
@@ -1,153 +0,0 @@
-
-<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>P I C K &nbsp;&nbsp; L I S T</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <tr bgcolor=000000>
- <th width=50% align=left><font color=ffffff>Ship To:</th>
- <th width=50%>&nbsp;</th>
- </tr>
-
- <tr valign=top>
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
- </td>
-
- <td>
- <%if shiptocontact%>
- <br>Attn: <%shiptocontact%>
- <%end shiptocontact%>
-
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
-
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
-
- <%shiptoemail%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% border=1>
- <tr>
- <th width=15% align=left>Invoice #</th>
- <th width=15% align=left>Order #</th>
- <th width=10% align=left>Date</th>
- <th width=15% align=left nowrap>Contact</th>
- <th width=15% align=left>Warehouse</th>
- <th width=10% align=left>Shipping Point</th>
- <th width=10% align=left>Ship via</th>
- </tr>
-
- <tr>
- <td><%invnumber%>&nbsp;</td>
- <td><%ordnumber%>&nbsp;</td>
- <%if shippingdate%>
- <td><%shippingdate%></td>
- <%end shippingdate%>
-
- <%if not shippingdate%>
- <td><%transdate%></td>
- <%end shippingdate%>
-
- <td><%employee%>&nbsp;</td>
- <td><%warehouse%>&nbsp;</td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr bgcolor=000000>
- <th align=left><font color=ffffff>Pos</th>
- <th align=left><font color=ffffff>Number</th>
- <th align=left><font color=ffffff>Description</th>
- <th><font color=ffffff>Qty</th>
- <th><font color=ffffff>Ship</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Bin</th>
- </tr>
-
- <%foreach number%>
- <tr valign=top>
- <td><%runningnumber%>
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td align=right>[&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]</td>
- <td><%unit%></td>
- <td align=right><%bin%></td>
- </tr>
- <%end number%>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td><hr noshade></td>
- </tr>
-
-</table>
-
diff --git a/sql-ledger/templates/Italian-pick_list.tex b/sql-ledger/templates/Italian-pick_list.tex
deleted file mode 100644
index c737f6a..0000000
--- a/sql-ledger/templates/Italian-pick_list.tex
+++ /dev/null
@@ -1,144 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 37%>
-\end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}rlXrcll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} &
- \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\
-
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.5\textwidth}{
- \textbf{Ship To}
-} \hfill
-
-\vspace{0.7cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.5\textwidth}{
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-}
-\parbox[t]{.4\textwidth}{
- <%shiptocontact%>
-
- <%if shiptophone%>
- Tel: <%shiptophone%>
- <%end shiptophone%>
-
- <%if shiptofax%>
- Fax: <%shiptofax%>
- <%end shiptofax%>
-
- <%shiptoemail%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{P I C K} \parbox{0.3cm}{\hfill} \textbf{L I S T}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{7}{|X}|} \hline
- \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact}
- & \textbf{Warehouse} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em]
- \hline
- <%invnumber%> & <%ordnumber%>
- <%if shippingdate%>
- & <%shippingdate%>
- <%end shippingdate%>
- <%if not shippingdate%>
- & <%transdate%>
- <%end shippingdate%>
- & <%employee%>
- <%if warehouse%>
- & <%warehouse%>
- <%end warehouse%>
- & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}rlXrcll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} &
- \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> &
- <%qty%> & [\hspace{1cm}] & <%unit%> & <%bin%> \\
-<%end number%>
-\end{tabularx}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-}
-
-\end{document}
-
diff --git a/sql-ledger/templates/Italian-pos_invoice.txt b/sql-ledger/templates/Italian-pos_invoice.txt
deleted file mode 100644
index 9ec12f4..0000000
--- a/sql-ledger/templates/Italian-pos_invoice.txt
+++ /dev/null
@@ -1,51 +0,0 @@
-<%company align=center width=40%>
-<%address align=center width=40%>
-
- Till: <%till align=left width=3%> Phone#: <%tel%>
-Clerk: <%username%>
-Sales: <%employee%>
-
-<%invtime%><%invnumber align=right width=16%>
-
- Qty Description Amount
-<%foreach number%>
-<%qty align=right width=5%> <%description align=left width=24 offset=6%> <%linetotal align=right width=9%>
- <%number%> @ <%sellprice%>/<%unit%>
-<%end number%>
-
-Number of items: <%rowcount%>
-<%if taxincluded%>
- ---------------
- Amount Due: <%invtotal align=right width=9%>
-<%end taxincluded%>
-<%if not taxincluded%>
- ------------
- Subtotal: <%subtotal align=right width=9%>
-<%end taxincluded%>
-<%foreach tax%>
-<%taxdescription align=right width=23%> @ <%taxrate align=right width=2%>%: <%tax align=right width=9%>
-<%end tax%>
- Amount Due: <%invtotal align=right width=9%>
-<%foreach payment%>
-<%paymentaccount align=right width=29%>: <%payment align=right width=9%> <%currency%>
-<%end payment%>
-<%if change%>
- Change: <%change align=right width=9%>
-<%end change%>
-<%if total%>
- Balance Due: <%total align=right width=9%>
-<%end total%>
-<%if discount%>
-
-<%discount%> % Discount applied
-<%end discount%>
-
- Thank you for your valued business!
-
-<%if taxincluded%>
-Taxes are included in price.
-<%end taxincluded%>
-
-
-
-
diff --git a/sql-ledger/templates/Italian-purchase_order.html b/sql-ledger/templates/Italian-purchase_order.html
deleted file mode 100644
index 27a982a..0000000
--- a/sql-ledger/templates/Italian-purchase_order.html
+++ /dev/null
@@ -1,232 +0,0 @@
-
-<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>
- Telefono: <%tel%>
- <br>Fax: <%fax%>
- </h4>
- </td>
- </tr>
-
- <tr>
- <th colspan=3>
- <h4>ORDINE DI ACQUISTO</h4>
- </th>
- </tr>
-
- </table>
-
-
- <table width=100% callspacing=0 cellpadding=0>
-
- <tr>
- <td align=right>
- <table>
- <tr>
- <th align=right>Data ordine</th><td width=10>&nbsp;</td><td><%orddate%></td>
- </tr>
-
- <tr>
- <th align=right>Consegna</th><td width=10>&nbsp;</td><td><%reqdate%></td>
- </tr>
-
- <tr>
- <th align=right>Ordine numero</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>Ordinare a:</th>
- <th align=left width=50%><font color=ffffff>Recapito:</th>
- </tr>
-
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
-
-<br>
-<%if contact%>
-<br>All'attenzione di: <%contact%>
-<%end contact%>
-<%if vendorphone%>
-<br>Telefono: <%vendorphone%>
-<%end vendorphone%>
-<%if vendorfax%>
-<br>Fax: <%vendorfax%>
-<%end vendorfax%>
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
-<br><%shiptoaddress2%>
-<%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
-
-<br>
-<%if shiptocontact%>
-<br>All'attenzione di: <%shiptocontact%>
-<%end shiptocontact%>
-<%if shiptophone%>
-<br>Telefono: <%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>Codice</th>
- <th align=left><font color=ffffff>Descrizione</th>
- <th><font color=ffffff>Quantit&agrave;</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Prezzo</th>
- <th><font color=ffffff>Totale riga</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>Totale righe</th>
- <td colspan=2 align=right><%subtotal%></td>
- </tr>
-
-<%foreach tax%>
- <tr>
- <th colspan=4 align=right><%taxdescription%>: <%taxrate%>% su <%taxbase%></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><!--Termine di pagamento: <b><%terms%></b> giorni--></td>
- <th colspan=2 align=right>Totale ordine</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>Note</td>
- <td><pre><%notes%></pre></td>
-<%end notes%>
- <td align=right>
- Tutti i prezzi sono espressi in valuta <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/Italian-purchase_order.tex b/sql-ledger/templates/Italian-purchase_order.tex
deleted file mode 100644
index db8f451..0000000
--- a/sql-ledger/templates/Italian-purchase_order.tex
+++ /dev/null
@@ -1,206 +0,0 @@
-\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}{18cm}
-\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@{}}
- Tel & <%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{Subtotale} & \textbf{<%sumcarriedforward%>} \\
- \end{tabularx}
-
-\newpage
-
-\markright{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}}
- \textbf{Numero} & \textbf{Descrizione} & \textbf{Quantita'} &
- \textbf{Unita'} & \textbf{Prezzo} & \textbf{Subtotale} \\
- & 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{Ordinare a:}
-\vspace{0.5cm}
-
-<%name%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\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{Spedire la merce a:}
-\vspace{0.3cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%if shiptoaddress2%>
-<%shiptoaddress2%>
-<%end shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
-
-\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{ORDINE DI ACQUISTO}
-\hfill
-\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
- \textbf{Data} & <%orddate%> \\
-<%if reqdate%>
- \textbf{Consegna} & <%reqdate%> \\
-<%end reqdate%>
- \textbf{Ordine numero} & <%ordnumber%>
-\end{tabular}
-
-\vspace{1cm}
-
-\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}}
- \textbf{Codice} & \textbf{Descrizione} & \textbf{Quantit\`a} &
- \textbf{Unit\`a} & \textbf{Prezzo} & \textbf{Totale riga} \\
-<%foreach number%>
- <%number%> & <%description%> & <%qty%> &
- <%unit%> & <%sellprice%> & <%linetotal%> \\
-<%end number%>
-\end{tabular*}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\vspace{0.2cm}
-
-\hfill
-\begin{tabularx}{10cm}{Xr@{}}
- \textbf{Totale righe} & \textbf{<%subtotal%>} \\
-<%foreach tax%>
- <%taxdescription%>: <%taxrate%>\% su <%taxbase%> & <%tax%>\\
-<%end tax%>
- \hline
- \textbf{Totale ordine} & \textbf{<%ordtotal%>}\\
-\end{tabularx}
-
-\vspace{0.3cm}
-
-\hfill
- Tutti i prezzi sono espressi in valuta \textbf{<%currency%>}.
-
-\vspace{12pt}
-
-<%if notes%>
- <%notes%>
-<%end if%>
-
-}
-
-
-%\renewcommand{\thefootnote}{\fnsymbol{footnote}}
-
-%\footnotetext[1]{\tiny }
-
-\end{document}
-
-
diff --git a/sql-ledger/templates/Italian-receipt.tex b/sql-ledger/templates/Italian-receipt.tex
deleted file mode 100644
index 3baf6d7a..0000000
--- a/sql-ledger/templates/Italian-receipt.tex
+++ /dev/null
@@ -1,78 +0,0 @@
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\vspace{1.8cm}
-
-<%notes%>
-
-\vspace{0.8cm}
-
-<%company%>
-
-\vspace{0.5cm}
-
-<%name%> \hfill <%datepaid%> \hfill <%source%>
-
-\vspace{0.5cm}
-\begin{tabularx}{\textwidth}{lXrr@{}}
-\textbf{Fattura Numero} & \textbf{Data}
- & \textbf{Dovuto} & \textbf{Applicato} \\
-<%foreach invnumber%>
-<%invnumber%> & <%invdate%> \dotfill
- & <%due%> & <%paid%> \\
-<%end invnumber%>
-\end{tabularx}
-
-\vfill
-
-\end{document}
diff --git a/sql-ledger/templates/Italian-request_quotation.html b/sql-ledger/templates/Italian-request_quotation.html
deleted file mode 100644
index a9a6f4f..0000000
--- a/sql-ledger/templates/Italian-request_quotation.html
+++ /dev/null
@@ -1,202 +0,0 @@
-
-<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><img src=http://www.sql-ledger.org/images/sql-ledger.png border=0 width=64 height=58>
- </td>
-
- <td align=right>
- <h4>
- Tel: <%tel%>
- <br>Fax: <%fax%>
- </h4>
- </td>
- </tr>
-
- <tr>
- <th colspan=3>
- <h4>R E Q U E S T &nbsp;&nbsp; F O R &nbsp;&nbsp; Q U O T A T I O N</h4>
- </th>
- </tr>
-
- </table>
-
-
- <table width=100% callspacing=0 cellpadding=0>
-
- <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><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
-<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><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddr2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
-<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 colspan=2>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left>RFQ #</th>
- <th width=17% align=left>Date</th>
- <th width=17% align=left>Required by</th>
- <th width=17% align=left>Contact</th>
- <th width=17% align=left>Shipping Point</th>
- <th width=15% align=left>Ship via</th>
- </tr>
-
- <tr>
- <td><%quonumber%></td>
- <td><%quodate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height="10"></tr>
-
- <tr>
- <td>Please provide price and delivery time for the following items:</td>
- </tr>
-
- <tr height="10"></tr>
-
- <tr>
- <td>
- <table width=100%>
- <tr>
-<!-- <th align=right>No.</th> -->
- <th align=left>Number</th>
- <th align=left><font color=ffffff>Description</th>
- <th>Qt'y</th>
- <th>&nbsp;</th>
- <th>Delivery</th>
- <th>Unit Price</th>
- <th>Extended</th>
- </tr>
-
-<%foreach number%>
- <tr valign=top>
-<!-- <td align=right><%runningnumber%>.</td>
-other per line item variables available <%reqdate%>
-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>
-
- </tr>
-<%end number%>
-
- <tr>
- <td colspan=7><hr noshade></td>
- </tr>
-
- </table>
- </td>
- </tr>
-
-<tr>
- <td>
- <table width=100%>
-<%if notes%>
- <tr valign=top>
- <td>Notes</td>
- <td><%notes%></td>
- </tr>
-<%end notes%>
-
- </table>
- </td>
-</tr>
-
-<tr><td>&nbsp;</td></tr>
-
-<tr>
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=70%>&nbsp;</td>
-
- <td width=30%>
- X <hr noshade>
- </td>
- </tr>
- </table>
- </td>
-</tr>
-
-</table>
-
-</td>
-</tr>
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Italian-request_quotation.tex b/sql-ledger/templates/Italian-request_quotation.tex
deleted file mode 100644
index 4e9cfe0..0000000
--- a/sql-ledger/templates/Italian-request_quotation.tex
+++ /dev/null
@@ -1,175 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 48%>
-\end{tabularx}
-
- \rule{\textwidth}{2pt}
-
- \hfill
- \begin{tabularx}{7cm}{Xr@{}}
- \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
- \end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}lXrlrr@{}}
- \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
- \textbf{Unit} & \textbf{Price} & \textbf{Extended} \\
- & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.45\textwidth}{
-\textbf{To}
-\vspace{0.7cm}
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-\vspace{0.2cm}
-<%end contact%>
-
-<%if vendorphone%>
-Tel: <%vendorphone%>
-<%end vendorphone%>
-
-<%if vendorfax%>
-Fax: <%vendorfax%>
-<%end vendorfax%>
-
-<%email%>
-}
-\parbox[t]{.45\textwidth}{
-\textbf{Ship To}
-\vspace{0.7cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-
-\vspace{0.3cm}
-
-<%if shiptocontact%>
-<%shiptocontact%>
-\vspace{0.2cm}
-<%end shiptocontact%>
-
-<%if shiptophone%>
-Tel: <%shiptophone%>
-<%end shiptophone%>
-
-<%if shiptofax%>
-Fax: <%shiptofax%>
-<%end shiptofax%>
-
-<%shiptoemail%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{R E Q U E S T for Q U O T A T I O N}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{RFQ \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex]
- \hline
- <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-Please provide price and delivery time for the following items:
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}lXrllrr@{}}
- \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & &
- \textbf{Delivery} & \textbf{Unit Price} & \textbf{Extended} \\
-<%foreach number%>
- <%number%> & <%description%> & <%qty%> & <%unit%> \\
-<%end number%>
-\end{tabularx}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\hfill
-
-<%notes%>
-
-}
-
-\end{document}
-
diff --git a/sql-ledger/templates/Italian-sales_order.html b/sql-ledger/templates/Italian-sales_order.html
deleted file mode 100644
index af79e81..0000000
--- a/sql-ledger/templates/Italian-sales_order.html
+++ /dev/null
@@ -1,207 +0,0 @@
-
-<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>ORDINE DI VENDITA</h4>
- </th>
- </tr>
-
- </table>
-
-
- <table width=100% callspacing=0 cellpadding=0>
-
- <tr>
- <td align=right>
- <table>
- <tr>
- <th align=right>Data ordine</th><td width=10>&nbsp;</td><td><%orddate%></td>
- </tr>
-
- <tr>
- <th align=right>Consegna</th><td width=10>&nbsp;</td><td><%reqdate%></td>
- </tr>
-
- <tr>
- <th align=right>Ordine numero</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>Ordinato da:</th>
- <th align=left><font color=ffffff>Recapito:</th>
- </tr>
-
- <tr>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
-<br><%shiptoaddress2%>
-<%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
- </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>Numero</th>
- <th align=left><font color=ffffff>Descrizione</th>
- <th><font color=ffffff>Quantit&agrave;</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Prezzo</th>
- <th><font color=ffffff>Totale riga</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><%linetotal%></td>
- </tr>
-<%end number%>
-
- <tr>
- <td colspan=6><hr noshade></td>
- </tr>
-
- <tr>
- <th colspan=4 align=right>Totale righe</th>
- <td colspan=2 align=right><%subtotal%></td>
- </tr>
-
-<%foreach tax%>
- <tr>
- <th colspan=4 align=right><%taxdescription%>: <%taxrate%>% su <%taxbase%></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><!--Termine: <b><%terms%></b> giorni.--></td>
- <th colspan=2 align=right>Totale</th>
- <th colspan=2 align=right><%ordtotal%></th>
- </tr>
-<%if taxincluded%>
- <tr>
- <td colspan=3>L'IVA &egrave; inclusa nel Totale</td>
- </tr>
-<%end taxincluded%>
-
- <tr>
- <td>&nbsp;</td>
- </tr>
-
- </table>
- </td>
- </tr>
-
-<tr>
- <td>
- <table width=100%>
- <tr valign=top>
-<%if notes%>
- <td>Note</td>
- <td><pre><%notes%></pre></td>
-<%end notes%>
- <td align=right>
- Tutti i prezzi sono espressi in valuta <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>
- Verr&agrave; applicato un 10% di commissione sulla cancellazione dell'ordine
- per ogni modifica a richiesta del cliente.
- </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/Italian-sales_order.tex b/sql-ledger/templates/Italian-sales_order.tex
deleted file mode 100644
index 3c0c4d8..0000000
--- a/sql-ledger/templates/Italian-sales_order.tex
+++ /dev/null
@@ -1,150 +0,0 @@
-\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}{18cm}
-\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@{}}
- Telefono & <%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{Codice} & \textbf{Descrzione} & \textbf{Quantit\`a} &
- \textbf{Unit\`a} & \textbf{Prezzo} & \textbf{Sconto} & \textbf{Totale riga} \\
- & carried forward from <%lastpage%> & & & & & <%sumcarriedforward%> \\
-<%end pagebreak%>
-
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{2cm}
-
-<%name%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\vspace{3.5cm}
-
-\textbf{ORDINE DI VENDITA}
-\hfill
-\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
- \textbf{Data ordine} & <%orddate%> \\
-<%if reqdate%>
- \textbf{Consegna} & <%reqdate%> \\
-<%end reqdate%>
- \textbf{Ordine numero} & <%ordnumber%>
-\end{tabular}
-
-\vspace{1cm}
-
-\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
- \textbf{Codice} & \textbf{Descrizione} & \textbf{Qt\`a} &
- \textbf{Un.} & \textbf{Prezzo} & \textbf{Sconto} & \textbf{Tot. riga} \\
-<%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{Totale righe} & \textbf{<%subtotal%>} \\
-<%foreach tax%>
- <%taxdescription%>: <%taxrate%>\% su <%taxbase%> & <%tax%>\\
-<%end tax%>
- \hline
- \textbf{Totale ordine} & \textbf{<%ordtotal%>}\\
-\end{tabularx}
-
-\vspace{0.3cm}
-
-\hfill
- Tutti i prezzi sono in valuta \textbf{<%currency%>}.
-
-\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/Italian-sales_quotation.html b/sql-ledger/templates/Italian-sales_quotation.html
deleted file mode 100644
index cc57a5c..0000000
--- a/sql-ledger/templates/Italian-sales_quotation.html
+++ /dev/null
@@ -1,225 +0,0 @@
-
-<body bgcolor=ffffff>
-
-<table width=100%>
-<tr valign=bottom>
- <td width=10>&nbsp;</td>
- <td>
-
- <table width=100%>
- <tr valign=top>
- <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><td colspan=3>&nbsp;</td></tr>
-
- <tr>
- <th colspan=3>
- <h4>Q U O T A T I O N</h4>
- </th>
- </tr>
-
- </table>
-
- <table width=100% callspacing=0 cellpadding=0>
-
- <tr>
- <td>
- <table width=100%>
-
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
-
- <br>
- <%if contact%>
- <br>Attn: <%contact%>
- <%end contact%>
-
- <%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><td>&nbsp;</td></tr>
-
- <tr>
- <td colspan=2>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left nowrap>Number</th>
- <th width=17% align=left>Date</th>
- <th width=17% align=left>Valid until</th>
- <th width=17% align=left nowrap>Contact</th>
- <th width=17% align=left nowrap>Shipping Point</th>
- <th width=15% align=left nowrap>Ship via</th>
- </tr>
-
- <tr>
- <td><%quonumber%></td>
- <td><%quodate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</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>
-
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td align=right><%sellprice%></td>
- <td align=right><%discountrate%></td>
- <td align=right><%linetotal%></td>
- </tr>
-<%end number%>
-
- <tr>
- <td colspan=8><hr noshade></td>
- </tr>
-
- <tr>
-<%if taxincluded%>
- <th colspan=6 align=right>Total</th>
- <td colspan=2 align=right><%invtotal%></td>
-<%end taxincluded%>
-
-<%if not taxincluded%>
- <th colspan=6 align=right>Subtotal</th>
- <td colspan=2 align=right><%subtotal%></td>
-<%end taxincluded%>
- </tr>
-
-<%foreach tax%>
- <tr>
- <th colspan=6 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th>
- <td colspan=2 align=right><%tax%></td>
- </tr>
-<%end tax%>
-
- <tr>
- <td colspan=4>&nbsp;</td>
- <td colspan=4><hr noshade></td>
- </tr>
-
- <tr>
- <td colspan=4>&nbsp;
-<%if terms%>
- Terms Net <b><%terms%></b> days
-<%end terms%>
- </td>
- <th colspan=2 align=right>Total</th>
- <th colspan=2 align=right><%quototal%></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
- </td>
- </tr>
-
- </table>
- </td>
-</tr>
-
-<tr><td>&nbsp;</td></tr>
-
-<tr>
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=60%><font size=-3>
- Special order items are subject to a 10% cancellation fee.
- </font>
- </td>
- <td width=40%>
- X <hr noshade>
- </td>
- </tr>
- </table>
- </td>
-</tr>
-
-</table>
-
-</td>
-</tr>
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Italian-sales_quotation.tex b/sql-ledger/templates/Italian-sales_quotation.tex
deleted file mode 100644
index acc4870..0000000
--- a/sql-ledger/templates/Italian-sales_quotation.tex
+++ /dev/null
@@ -1,157 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 48%>
-\end{tabular*}
-
- \rule{\textwidth}{2pt}
-
- \hfill
- \begin{tabularx}{7cm}{Xr@{}}
- \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
- \end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%quonumber%>}{<%company%>\hfill <%quonumber%>}
-
-\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%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.45\textwidth}{
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%contact%>
-
-\vspace{0.2cm}
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-
-\vspace{1cm}
-
-\textbf{Q U O T A T I O N}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{Quotation \#} & \textbf{Date} & \textbf{Valid until} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex]
- \hline
- <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\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%> & <%discountrate%> & <%linetotal%> \\
-<%end number%>
-\end{tabular*}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\vspace{0.2cm}
-
-\hfill
-\begin{tabularx}{7cm}{Xr@{}}
- Subtotal & <%subtotal%> \\
-<%foreach tax%>
- <%taxdescription%> on <%taxbase%> & <%tax%>\\
-<%end tax%>
- \hline
- Total & <%quototal%>\\
-\end{tabularx}
-
-\vspace{0.3cm}
-
-\hfill
- All prices in \textbf{<%currency%>}.
-
-\vspace{12pt}
-
-<%notes%>
-
-}
-
-\vfill
-
-\end{document}
-
-
diff --git a/sql-ledger/templates/Italian-statement.html b/sql-ledger/templates/Italian-statement.html
deleted file mode 100644
index d3e1b32..0000000
--- a/sql-ledger/templates/Italian-statement.html
+++ /dev/null
@@ -1,125 +0,0 @@
-
-<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>E S T R A T T O &nbsp;&nbsp;&nbsp;&nbsp; C O N T O</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><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
- <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>Fattura Numero</th>
- <th width=15%>Data</th>
- <th width=15%>Dovuto</th>
- <th width=10%>Corrente</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>Totale Dovuto</th>
- <th align=right><%total%></th>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td><hr noshade></td>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td>Per favore intestare gli assegni a: <b><%company%></b>.
- </td>
- </tr>
- <tr height=20></tr>
-</table>
-
diff --git a/sql-ledger/templates/Italian-statement.tex b/sql-ledger/templates/Italian-statement.tex
deleted file mode 100644
index bb4834c..0000000
--- a/sql-ledger/templates/Italian-statement.tex
+++ /dev/null
@@ -1,141 +0,0 @@
-\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{Subtotale} & \textbf{<%sumcarriedforward%>} \\
- \end{tabularx}
-
-\newpage
-
-\markright{<%company%>\hfill <%statementdate%>}
-
-\vspace*{-12pt}
-
-\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}}
- \textbf{Fattura Numero} & \textbf{Data} & \textbf{Dovuto} &
- \textbf{Scaduto} & \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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-}
-\parbox[t]{7.5cm}{
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{E S T R A T T O} \parbox{0.3cm}{\hfill} \textbf{C O N T O} \hfill
-
-\hfill <%statementdate%>
-
-\vspace{2cm}
-
-\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}}
- \textbf{Fattura Numero} & \textbf{Data} & \textbf{Dovuto} &
- \textbf{Corrente} & \textbf{30} & \textbf{60} & \textbf{90+} \\
-<%foreach invnumber%>
- <%invnumber%> & <%invdate%> & <%duedate%> &
- <%c0%> & <%c30%> & <%c60%> & <%c90%> \\
-<%end invnumber%>
-\textbf{Subtotale} & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%>
-\end{tabular*}
-\rule{\textwidth}{1pt}
-
-\vspace{1cm}
-
-\hfill
-\begin{tabularx}{7cm}{Xr@{}}
- \textbf{Totale Dovuto} & <%total%>
-\end{tabularx}
-
-\vfill
-
-Per favore intestare gli assegni a: <%company%>
-
-\renewcommand{\thefootnote}{\fnsymbol{footnote}}
-
-\footnotetext[1]{\tiny
-}
-
-\end{document}
-
diff --git a/sql-ledger/templates/Italian-work_order.html b/sql-ledger/templates/Italian-work_order.html
deleted file mode 100644
index 0732fe2..0000000
--- a/sql-ledger/templates/Italian-work_order.html
+++ /dev/null
@@ -1,174 +0,0 @@
-
-<body bgcolor=ffffff>
-
-<table width=100%>
- <tr>
- <td width=10>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=bottom>
- <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>W O R K &nbsp;&nbsp; O R D E R</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <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><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%>
- <br><%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
- <%if contact%>
- <br>Attn: <%contact%>
- <%end contact%>
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
- <%if email%>
- <br><%email%>
- <%end email%>
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%>
- <br><%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
- <br>
- <%if shiptocontact%>
- <br><%shiptocontact%>
- <%end shiptocontact%>
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
- <%if shiptoemail%>
- <br><%shiptoemail%>
- <%end shiptoemail%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left nowrap>Order Number</th>
- <th width=17% align=left>Order Date</th>
- <th width=17% align=left>Required by</th>
- <th width=17% align=left nowrap>Salesperson</th>
- <th width=17% align=left nowrap>Shipping Point</th>
- <th width=15% align=left nowrap>Ship Via</th>
- </tr>
-
- <tr>
- <td><%ordnumber%></td>
- <td><%orddate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <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>Serial No.</th>
- </tr>
-
- <%foreach number%>
- <tr valign=top>
- <td align=right><%runningnumber%>.</td>
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td><%serialnumber%></td>
- </tr>
- <%end number%>
-
- <tr>
- <td colspan=6><hr noshade></td>
- </tr>
-
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <%if notes%>
- <td><%notes%></td>
- <%end notes%>
- </tr>
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Italian-work_order.tex b/sql-ledger/templates/Italian-work_order.tex
deleted file mode 100644
index cb6774d..0000000
--- a/sql-ledger/templates/Italian-work_order.tex
+++ /dev/null
@@ -1,177 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{%
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5em]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 48%>
-\end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}rlXrll@{}}
- \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
- & \textbf{Serial Number} \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.45\textwidth}{
-\textbf{To}
-\vspace{0.7cm}
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-\vspace{0.2cm}
-<%end contact%>
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\parbox[t]{.45\textwidth}{
-\textbf{Ship To}
-\vspace{0.7cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-
-\vspace{0.3cm}
-
-<%if shiptocontact%>
-<%shiptocontact%>
-\vspace{0.2cm}
-<%end shiptocontact%>
-
-<%if shiptophone%>
-Tel: <%shiptophone%>
-<%end shiptophone%>
-
-<%if shiptofax%>
-Fax: <%shiptofax%>
-<%end shiptofax%>
-
-<%shiptoemail%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{W O R K} \parbox{0.3cm}{\hfill} \textbf{O R D E R}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship Via} \\ [0.5em]
- \hline
- <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}rlXrll@{}}
- \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
- & \textbf{Serial Number} \\
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> & <%qty%> &
- <%unit%> & <%serialnumber%> \\
-<%end number%>
-\end{tabularx}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\vspace{12pt}
-
-<%if notes%>
- <%notes%>
-<%end if%>
-
-}
-
-\vfill
-
-\vspace{1cm}
-
-\rule{\textwidth}{0.5pt}
-
-\end{document}
-
-
-
-
-
-
diff --git a/sql-ledger/templates/Norwegian-ap_transaction.html b/sql-ledger/templates/Norwegian-ap_transaction.html
deleted file mode 100644
index c7bae85..0000000
--- a/sql-ledger/templates/Norwegian-ap_transaction.html
+++ /dev/null
@@ -1,229 +0,0 @@
-
-<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>
- <hr noshade><br>
- <h4>A P - T R A N S A C T I O N</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
-
- <%if contact%>
- <br><%contact%>
- <br>
- <%end contact%>
-
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
-
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
-
- <%if email%>
- <br><%email%>
- <%end email%>
- </td>
-
- <td align=right>
- <table>
- <tr>
- <th align=left nowrap>Invoice #</th>
- <td><%invnumber%></td>
- </tr>
- <tr>
- <th align=left nowrap>Date</th>
- <td><%invdate%></td>
- </tr>
- <tr>
- <th align=left nowrap>Due</th>
- <td><%duedate%></td>
- </tr>
- <tr>
- <th align=left>Order #</th>
- <td><%ordnumber%>&nbsp;</td>
- </tr>
- <tr>
- <th align=left nowrap>Employee</th>
- <td><%employee%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=50%>
- <table>
- <%foreach account%>
- <tr valign=top>
- <td><%accno%></td>
- <td><%account%></td>
- <td align=right><%amount%></td>
- <td><%projectnumber%></td>
- </tr>
- <%end account%>
-
- <tr>
- <%if taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Subtotal</th>
- <td align=right><%subtotal%></td>
- <%end taxincluded%>
- </tr>
-
- <%foreach tax%>
- <tr>
- <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th>
- <td align=right><%tax%></td>
- </tr>
- <%end tax%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- </table>
- </td>
- <td width=50%>
- <%notes%>
- </td>
- </tr>
- </table>
- </td>
- <tr>
- <td>&nbsp;</td>
-
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <%text_amount%> ***** <%decimal%>/100 <%currency%>
- </td>
- </tr>
-
- <%if paid%>
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table>
- <tr>
- <th>Payments</th>
- </tr>
-
- <tr>
- <td>
- <hr noshade>
- </td>
- </tr>
-
- <tr>
- <td>
- <table>
- <tr>
- <th align=left>Date</th>
- <th align=left>Account</th>
- <th align=left>Source</th>
- <th align=left>Memo</th>
- <th align=left>Amount</th>
- </tr>
- <%end paid%>
-
- <%foreach payment%>
- <tr>
- <td><%paymentdate%></td>
- <td><%paymentaccount%></td>
- <td><%paymentsource%></td>
- <td><%paymentmemo%></td>
- <td><%payment%></td>
- </tr>
- <%end payment%>
-
- <%if paid%>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <%end paid%>
-
- <tr height=10></tr>
-
- <%if taxincluded%>
- <tr>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th>
- </tr>
- <%end taxincluded%>
-
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Norwegian-ap_transaction.tex b/sql-ledger/templates/Norwegian-ap_transaction.tex
deleted file mode 100644
index 8bfd9f7..0000000
--- a/sql-ledger/templates/Norwegian-ap_transaction.tex
+++ /dev/null
@@ -1,125 +0,0 @@
-\documentclass[10pt,letterpaper,oneside,onecolumn]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{%
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5em]{\textwidth}{0.5pt}
-}
-
-\centerline{\textbf{A P} \hspace{0.3cm} \textbf{T R A N S A C T I O N}}
-
-\vspace*{0.5cm}
-
-\parbox[t]{.5\textwidth}{
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-<%end contact%>
-
-\vspace{0.2cm}
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\hfill
-\begin{tabular}[t]{ll}
- \textbf{Invoice \#} & <%invnumber%> \\
- \textbf{Date} & <%invdate%> \\
- \textbf{Due} & <%duedate%> \\
- \textbf{Order \#} & <%ordnumber%> \\
- \textbf{Employee} & <%employee%> \\
-\end{tabular}
-
-\vspace{1cm}
-
-\begin{tabularx}{.5\textwidth}[t]{@{}llrl@{}}
-<%foreach amount%>
- <%accno%> & <%account%> & <%amount%> & <%projectnumber%> \\
-<%end amount%>
-
- \multicolumn{2}{r}{\textbf{Subtotal}} & <%subtotal%> & \\
-<%foreach tax%>
- \multicolumn{2}{r}{\textbf{<%taxdescription%> @ <%taxrate%> \%}} & <%tax%> & \\
-<%end tax%>
-
- \multicolumn{2}{r}{\textbf{Total}} & <%invtotal%> & \\
-
-\end{tabularx}
-<%notes%>
-
-\vspace{0.3cm}
-
-<%text_amount%> ***** <%decimal%>/100 <%currency%>
-
-\vspace{0.3cm}
-
-<%if paid%>
-\begin{tabular}{@{}llllr@{}}
- \multicolumn{5}{c}{\textbf{Payments}} \\
- \hline
- \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\
-<%end paid%>
-<%foreach payment%>
- <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%paymentmemo%> & <%payment%> \\
-<%end payment%>
-<%if paid%>
-\end{tabular}
-<%end paid%>
-
-\end{document}
-
diff --git a/sql-ledger/templates/Norwegian-ar_transaction.html b/sql-ledger/templates/Norwegian-ar_transaction.html
deleted file mode 100644
index dbd0a1c..0000000
--- a/sql-ledger/templates/Norwegian-ar_transaction.html
+++ /dev/null
@@ -1,237 +0,0 @@
-
-<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>
- <hr noshade><br>
- <h4>A R - T R A N S A C T I O N</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
-
- <%if contact%>
- <br><%contact%>
- <br>
- <%end contact%>
-
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
-
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
-
- <%if email%>
- <br><%email%>
- <%end email%>
- </td>
-
- <td align=right>
- <table>
- <tr>
- <th align=left nowrap>Invoice #</th>
- <td><%invnumber%></td>
- </tr>
- <tr>
- <th align=left nowrap>Date</th>
- <td><%invdate%></td>
- </tr>
- <tr>
- <th align=left nowrap>Due</th>
- <td><%duedate%></td>
- </tr>
- <tr>
- <th align=left>Order #</th>
- <td><%ordnumber%>&nbsp;</td>
- </tr>
- <tr>
- <th align=left nowrap>Salesperson</th>
- <td><%employee%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=50%>
- <table>
- <%foreach account%>
- <tr valign=top>
- <td><%accno%></td>
- <td><%account%></td>
- <td align=right><%amount%></td>
- <td><%projectnumber%></td>
- </tr>
- <%end account%>
-
- <tr>
- <%if taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Subtotal</th>
- <td align=right><%subtotal%></td>
- <%end taxincluded%>
- </tr>
-
- <%foreach tax%>
- <tr>
- <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th>
- <td align=right><%tax%></td>
- </tr>
- <%end tax%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- </table>
- </td>
- <td width=50%>
- <%notes%>
- </td>
- </tr>
- </table>
- </td>
- <tr>
- <td>&nbsp;</td>
-
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <%text_amount%> ***** <%decimal%>/100 <%currency%>
- </td>
- </tr>
-
- <%if paid%>
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table>
- <tr>
- <th>Payments</th>
- </tr>
-
- <tr>
- <td>
- <hr noshade>
- </td>
- </tr>
-
- <tr>
- <td>
- <table>
- <tr>
- <th align=left>Date</th>
- <th align=left>Account</th>
- <th align=left>Source</th>
- <th align=left>Memo</th>
- <th align=left>Amount</th>
- </tr>
- <%end paid%>
-
- <%foreach payment%>
- <tr>
- <td><%paymentdate%></td>
- <td><%paymentaccount%></td>
- <td><%paymentsource%></td>
- <td><%paymentmemo%></td>
- <td><%payment%></td>
- </tr>
- <%end payment%>
-
- <%if paid%>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <%end paid%>
-
- <tr height=10></tr>
-
- <%foreach tax%>
- <tr>
- <td>&nbsp;</td>
-
- <th colspan=9 align=left><font size=-2><%taxdescription%> Registration <%taxnumber%></th>
- </tr>
- <%end tax%>
-
- <%if taxincluded%>
- <tr>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th>
- </tr>
- <%end taxincluded%>
-
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Norwegian-ar_transaction.tex b/sql-ledger/templates/Norwegian-ar_transaction.tex
deleted file mode 100644
index 654d2b9..0000000
--- a/sql-ledger/templates/Norwegian-ar_transaction.tex
+++ /dev/null
@@ -1,131 +0,0 @@
-\documentclass[10pt,letterpaper,oneside,onecolumn]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{%
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5em]{\textwidth}{0.5pt}
-}
-
-\centerline{\textbf{A R} \hspace{0.3cm} \textbf{T R A N S A C T I O N}}
-
-\vspace*{0.5cm}
-
-\parbox[t]{.5\textwidth}{
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-<%end contact%>
-
-\vspace{0.2cm}
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\hfill
-\begin{tabular}[t]{ll}
- \textbf{Invoice \#} & <%invnumber%> \\
- \textbf{Date} & <%invdate%> \\
- \textbf{Due} & <%duedate%> \\
- \textbf{Order \#} & <%ordnumber%> \\
- \textbf{Employee} & <%employee%> \\
-\end{tabular}
-
-\vspace{1cm}
-
-\begin{tabularx}{.5\textwidth}[t]{@{}llrl@{}}
-<%foreach amount%>
- <%accno%> & <%account%> & <%amount%> & <%projectnumber%> \\
-<%end amount%>
-
- \multicolumn{2}{r}{\textbf{Subtotal}} & <%subtotal%> & \\
-<%foreach tax%>
- \multicolumn{2}{r}{\textbf{<%taxdescription%> @ <%taxrate%> \%}} & <%tax%> & \\
-<%end tax%>
-
- \multicolumn{2}{r}{\textbf{Total}} & <%invtotal%> & \\
-
-\end{tabularx}
-<%notes%>
-
-\vspace{0.3cm}
-
-<%text_amount%> ***** <%decimal%>/100 <%currency%>
-
-\vspace{0.3cm}
-
-<%if paid%>
-\begin{tabular}{@{}llllr@{}}
- \multicolumn{5}{c}{\textbf{Payments}} \\
- \hline
- \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\
-<%end paid%>
-<%foreach payment%>
- <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%paymentmemo%> & <%payment%> \\
-<%end payment%>
-<%if paid%>
-\end{tabular}
-<%end paid%>
-
-\vspace{0.5cm}
-
-<%foreach tax%>
-\textbf{\small{<%taxdescription%> Registration <%taxnumber%>}} \\
-<%end tax%>
-
-\end{document}
-
diff --git a/sql-ledger/templates/Norwegian-balance_sheet.html b/sql-ledger/templates/Norwegian-balance_sheet.html
deleted file mode 100644
index 2047432..0000000
--- a/sql-ledger/templates/Norwegian-balance_sheet.html
+++ /dev/null
@@ -1,100 +0,0 @@
-
-<body bgcolor=ffffff>
-
-<h2 align=center>
-<%company%>
-<br><%address%>
-
-<p>B A L A N S E
-<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>TOTALE AKTIVA</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 gjeld</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>EGENKAPITAL<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 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>TOTAL GJELD 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/Norwegian-bin_list.html b/sql-ledger/templates/Norwegian-bin_list.html
deleted file mode 100644
index c945421..0000000
--- a/sql-ledger/templates/Norwegian-bin_list.html
+++ /dev/null
@@ -1,189 +0,0 @@
-
-<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>
-
- <th align=right>
- <h4>
- Tel: <%tel%>
- <br>Fax: <%fax%>
- </h4>
- </td>
- </tr>
-
- <tr>
- <th colspan=3>
- <h4>B I N &nbsp;&nbsp; L I S T</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% cellspacing=0 cellpadding=0>
- <tr bgcolor=000000>
- <th align=left width=50%><font color=ffffff>From</th>
- <th align=left width=50%><font color=ffffff>Ship To</th>
- </tr>
-
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
-
- <%if contact%>
- <br>Attn: <%contact%>
- <%end contact%>
-
- <%if vendorphone%>
- <br>Tel: <%vendorphone%>
- <%end vendorphone%>
-
- <%if vendorfax%>
- <br>Fax: <%vendorfax%>
- <%end vendorfax%>
-
- <%if email%>
- <br><%email%>
- <%end email%>
-
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
-
- <br>
- <%if shiptocontact%>
- <br>Attn: <%shiptocontact%>
- <%end shiptocontact%>
-
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
-
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left nowrap>Order #</th>
- <th width=17% align=left nowrap>Date</th>
- <th width=17% align=left nowrap>Contact</th>
- <%if warehouse%>
- <th width=17% align=left nowrap>Warehouse</th>
- <%end warehouse%>
- <th width=17% align=left>Shipping Point</th>
- <th width=15% align=left>Ship via</th>
- </tr>
-
- <tr>
- <td><%ordnumber%>&nbsp;</td>
-
- <%if shippingdate%>
- <td><%shippingdate%></td>
- <%end shippingdate%>
-
- <%if not shippingdate%>
- <td><%orddate%></td>
- <%end shippingdate%>
-
- <td><%employee%>&nbsp;</td>
-
- <%if warehouse%>
- <td><%warehouse%></td>
- <%end warehouse%>
-
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr bgcolor=000000>
- <th align=left><font color=ffffff>Pos</th>
- <th align=left><font color=ffffff>Number</th>
- <th align=left><font color=ffffff>Description</th>
- <th><font color=ffffff>Serialnumber</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Qty</th>
- <th><font color=ffffff>Recd</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Bin</th>
- </tr>
-
- <%foreach number%>
- <tr valign=top>
- <td><%runningnumber%></td>
- <td><%number%></td>
- <td><%description%></td>
- <td><%serialnumber%></td>
- <td><%deliverydate%></td>
- <td align=right><%qty%></td>
- <td align=right><%ship%></td>
- <td><%unit%></td>
- <td><%bin%></td>
- </tr>
- <%end number%>
-
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td><hr noshade></td>
- </tr>
-
-</table>
-
diff --git a/sql-ledger/templates/Norwegian-bin_list.tex b/sql-ledger/templates/Norwegian-bin_list.tex
deleted file mode 100644
index 034fd72..0000000
--- a/sql-ledger/templates/Norwegian-bin_list.tex
+++ /dev/null
@@ -1,147 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 37%>
-\end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}rlXllrrll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.5\textwidth}{
-\textbf{From}
-\vspace{0.7cm}
-
-<%name%>
-
-<%address1%>
-
-<%if %address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country4%>
-<%end country%>
-}
-\parbox[t]{.4\textwidth}{
-\textbf{Ship To}
-\vspace{0.7cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%if shiptoaddress2%>
-<%shiptoaddress2%>
-<%end shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{B I N} \parbox{0.3cm}{\hfill} \textbf{L I S T}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{Order \#} & \textbf{Date} & \textbf{Contact}
- <%if warehouse%>
- & \textbf{Warehouse}
- <%end warehouse%>
- & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em]
- \hline
-
- <%ordnumber%>
- <%if shippingdate%>
- & <%shippingdate%>
- <%end shippingdate%>
- <%if not shippingdate%>
- & <%orddate%>
- <%end shippingdate%>
- & <%employee%>
- <%if warehouse%>
- & <%warehouse%>
- <%end warehouse%>
- & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}rlXllrrll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\
-
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> &
- <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> & <%bin%> \\
-<%end number%>
-\end{tabularx}
-
-
-\rule{\textwidth}{2pt}
-
-\end{document}
-
diff --git a/sql-ledger/templates/Norwegian-check.tex b/sql-ledger/templates/Norwegian-check.tex
deleted file mode 100644
index 75699ba..0000000
--- a/sql-ledger/templates/Norwegian-check.tex
+++ /dev/null
@@ -1,81 +0,0 @@
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\vspace{1.8cm}
-
-<%notes%>
-
-\vspace{0.8cm}
-
-<%company%>
-
-\vspace{0.5cm}
-
-<%name%> \hfill <%datepaid%> \hfill <%source%>
-
-\vspace{0.5cm}
-\begin{tabularx}{\textwidth}{lXrr@{}}
-\textbf{Faktura nr.} & \textbf{Faktura dato}
- & \textbf{Skyldig} & \textbf{Betalt} \\
-<%foreach invnumber%>
-<%invnumber%> & <%invdate%> \dotfill
- & <%due%> & <%paid%> \\
-<%end invnumber%>
-\end{tabularx}
-
-\vfill
-
-\end{document}
-
-
-
diff --git a/sql-ledger/templates/Norwegian-income_statement.html b/sql-ledger/templates/Norwegian-income_statement.html
deleted file mode 100644
index 945d19a..0000000
--- a/sql-ledger/templates/Norwegian-income_statement.html
+++ /dev/null
@@ -1,78 +0,0 @@
-
-<body bgcolor=ffffff>
-
-<h2 align=center>
-<%company%>
-<br><%address%>
-
-<p>D R I F T S R E G N S K A P
-<br><%period%>
-</h2>
-
-
-<table width=100% border=0>
-<tr>
- <th width=400 align=left colspan=2><br></th>
- <th><%this_period%></th>
- <th><%last_period%></th>
-</tr>
-
-<tr>
- <th align=left colspan=2>INNTEKTER<br><hr width=300 size=5 align=left noshade></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 inntekter</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>UTGIFTER<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 utgifter</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/Norwegian-invoice.html b/sql-ledger/templates/Norwegian-invoice.html
deleted file mode 100644
index 8ac7143..0000000
--- a/sql-ledger/templates/Norwegian-invoice.html
+++ /dev/null
@@ -1,226 +0,0 @@
-
-<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 A K T U R A</h4>
- </th>
- </tr>
-
- </table>
-
-<!-- other variables you can use include
-tel, fax, signature, username, businessnumber -->
-
- <table width=100% cellspacing=0 cellpadding=0>
-
- <tr>
- <td align=right>
- <table>
-
- <tr>
- <th align=right>Fakturanr.:</th><td></td><td><%invnumber%></td></tr>
- </tr>
-
- <tr>
- <th align=right>Fakturadato:</th><td width=10> </td><td><%invdate%></td>
- </tr>
- <tr>
- <td>
- </td>
- </tr>
- </td>
- </table>
- </tr>
-
- <tr>
- <td>
- <table width=100%>
- <tr bgcolor=000000>
- <th align=left><font color=ffffff>Fakturaadresse:</th>
- <%if shiptoname%>
- <th align=left><font color=ffffff>Leveringsadresse:</th>
- <%end shiptoname%>
- </tr>
-
- <tr>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
- </td>
- <%if shiptoname%>
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
-<br><%shiptoaddress2%>
-<%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
- </td>
- <%end shiptoname%>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>
- <table width=100%>
- <tr bgcolor=000000>
- <th align=left><font color=ffffff>Nummer</th>
- <th align=left><font color=ffffff>Beskrivelse</th>
- <th><font color=ffffff>Antall</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Pris</th>
- <th><font color=ffffff>Rabatt</th>
- <th><font color=ffffff>Sum</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
-to show the percentage for a discount use <%discountrate%>
--->
-
- <tr>
- <td colspan=7><hr noshade></td>
- </tr>
-
- <tr>
- <th colspan=5 align=right>Subtotal</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>Allerede betalt</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>Betalingsfrist <b><%terms%></b> dager</td>
- <th colspan=2 align=right>Å betale</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>Merk</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> </td></tr>
-
-<tr>
- <th colspan=7>
-<!-- 20030814/Marius Kjeldahl: Commented out check statement as checks
-are dead in Norway AFAIK -->
-
-<!-- Utsted vennligst sjekk til <%company%> på norsk bank -->
- <br>
- </th>
-</tr>
-
-
-<tr><td> </td></tr>
-
-<tr>
- <td>
- <table width=100%>
- <tr valign=top>
- <td><font size=-3>
- Betaling innen <%terms%> dager fra fakturadato.
- Etterskuddsrenter beregnes med 1% per påbegynt måned.
-
- </font>
- </td>
-
- </tr>
- </table>
- </td>
-</tr>
-
-<%foreach tax%>
-<tr>
- <th colspan=7 align=left><font size=-2><%taxdescription%> Organisasjonsnr.: <%taxnumber%></th>
-</tr>
-<%end tax%>
-
-</table>
-
-</td>
-</tr>
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Norwegian-invoice.tex b/sql-ledger/templates/Norwegian-invoice.tex
deleted file mode 100644
index 05c75c6..0000000
--- a/sql-ledger/templates/Norwegian-invoice.tex
+++ /dev/null
@@ -1,237 +0,0 @@
-\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%>\\
- Telefaks & <%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{Ant.} &
- \textbf{Enhet} & \textbf{Pris} & \textbf{Rabatt} & \textbf{Sum} \\
- & 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{Til}
- \vspace{0.5cm}
-
-<%name%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\vspace{0.3cm}
-
-%<%if contact%>
-%Attn: <%contact%>
-%\vspace{0.3cm}
-%<%end contact%>
-\vspace{0.5cm}
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Faks: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\parbox[t]{7.5cm}{
-\textbf{Leveringsadresse}
-\vspace{0.5cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%if shiptoaddress2%>
-<%shiptoaddress2%>
-<%end shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
-
-\vspace{0.3cm}
-
-\vspace{0.3cm}
-
-<%if shiptocontact%>
-Attn: <%shiptocontact%>
-\vspace{0.3cm}
-<%end shiptocontact%>
-
-<%if shiptophone%>
-Tel.: <%shiptophone%>
-<%end shiptophone%>
-
-<%if shiptofax%>
-Faks: <%shiptofax%>
-<%end shiptofax%>
-
-<%shiptoemail%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{F A K T U R A}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
- \textbf{Dato} & <%invdate%> \\
- \textbf{Fakturanr.} & <%invnumber%> \\
- \textbf{Ordrenr.} & <%ordnumber%> \\
- \textbf{Kontakt} & <%employee%>
-\end{tabular}
-
-\vspace{1cm}
-
-\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
- \textbf{Nummer} & \textbf{Beskrivelse} & \textbf{Ant.} &
- \textbf{Enhet} & \textbf{Pris} & \textbf{Rabatt} & \textbf{Sum} \\
-<%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{Betalt} & - <%paid%> \\
-<%end paid%>
- \hline
- \textbf{Skyldig} & \textbf{<%total%>} \\
-\end{tabularx}
-
-\vspace{0.3cm}
-
-\hfill
- Alle priser i \textbf{<%currency%>} valuta.
-
-\vspace{12pt}
-
-<%if notes%>
- <%notes%>
-<%end if%>
-
-}
-
-\vfill
-
-<%if paid%>
-\begin{tabularx}{10cm}{@{}lXlr@{}}
- \textbf{Innbetalinger} & & & \\
- \hline
- \textbf{Dato} & \textbf{Konto} & \textbf{Kilde} & \textbf{Sum} \\
-<%end paid%>
-<%foreach payment%>
- <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%payment%> \\
-<%end payment%>
-<%if paid%>
-\end{tabularx}
-<%end paid%>
-
-\vspace{1cm}
-
-\centerline{\textbf{Takk for handelen!}}
-
-\renewcommand{\thefootnote}{\fnsymbol{footnote}}
-
-\footnotetext[1]{\tiny
-Betalingen må betales innen <%terms%> dager fra fakturadato. Ved
-forsinket betaling belastes en månedlig rente på 1.5\% per måned,
-fra <%duedate%> inntil betalingen er fullstendig. Varer som returneres
-belastes med 10\% returgebyr. Retur må forhåndsgodkjennes fra
-<%company%> før varene returneres. Retur må sendes forhåndsbetalt og
-må være forsikret. <%company%> er ikke ansvarlig for transportskader.
-}
-
-\end{document}
diff --git a/sql-ledger/templates/Norwegian-packing_list.html b/sql-ledger/templates/Norwegian-packing_list.html
deleted file mode 100644
index 6f9be8e..0000000
--- a/sql-ledger/templates/Norwegian-packing_list.html
+++ /dev/null
@@ -1,142 +0,0 @@
-
-<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%>
- </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>Beskrivelse</th>
- <th><font color=ffffff>Antall</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>Note</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>
-
-Retur skal sendes forskuddsbetalt og være forsvarlig pakket.
-<%company%> er ikke være ansvarlig for skader under
-transport.
-
- </font>
- </td>
- <td width=150>
- X <hr noshade>
- </td>
- </tr>
- </table>
- </td>
-</tr>
-
-</table>
-
-</td>
-</tr>
-</table>
-
-
-
diff --git a/sql-ledger/templates/Norwegian-packing_list.tex b/sql-ledger/templates/Norwegian-packing_list.tex
deleted file mode 100644
index 4444b8f..0000000
--- a/sql-ledger/templates/Norwegian-packing_list.tex
+++ /dev/null
@@ -1,123 +0,0 @@
-\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%>\\
- Telefaks & <%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{F Ø L G E} \parbox{0.3cm}{\hfill} \textbf{S E D D E L}
-
-\hfill
-\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
- \textbf{Dato} & <%invdate%> \\
- \textbf{Fakturanr.} & <%invnumber%> \\
- \textbf{Kundeid.} & <%customer_id%>
-\end{tabular}
-
-\vspace{1cm}
-
-\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}}
- \textbf{Nummer} & \textbf{Beskrivelse} & \textbf{Ant.} &
- \textbf{Enhet} & \textbf{Kurv} \\
-<%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{Takk for handelen!}}
-
-\renewcommand{\thefootnote}{\fnsymbol{footnote}}
-
-\footnotetext[1]{\tiny
-Varer som returneres
-belastes med 10\% returgebyr. Retur må forhåndsgodkjennes fra
-<%company%> før varene returneres. Retur må sendes forhåndsbetalt og
-må være forsikret. <%company%> er ikke ansvarlig for transportskader.
-}
-
-\end{document}
-
diff --git a/sql-ledger/templates/Norwegian-pick_list.html b/sql-ledger/templates/Norwegian-pick_list.html
deleted file mode 100644
index 7548560..0000000
--- a/sql-ledger/templates/Norwegian-pick_list.html
+++ /dev/null
@@ -1,153 +0,0 @@
-
-<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>P I C K &nbsp;&nbsp; L I S T</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <tr bgcolor=000000>
- <th width=50% align=left><font color=ffffff>Ship To:</th>
- <th width=50%>&nbsp;</th>
- </tr>
-
- <tr valign=top>
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
- </td>
-
- <td>
- <%if shiptocontact%>
- <br>Attn: <%shiptocontact%>
- <%end shiptocontact%>
-
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
-
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
-
- <%shiptoemail%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% border=1>
- <tr>
- <th width=15% align=left>Invoice #</th>
- <th width=15% align=left>Order #</th>
- <th width=10% align=left>Date</th>
- <th width=15% align=left nowrap>Contact</th>
- <th width=15% align=left>Warehouse</th>
- <th width=10% align=left>Shipping Point</th>
- <th width=10% align=left>Ship via</th>
- </tr>
-
- <tr>
- <td><%invnumber%>&nbsp;</td>
- <td><%ordnumber%>&nbsp;</td>
- <%if shippingdate%>
- <td><%shippingdate%></td>
- <%end shippingdate%>
-
- <%if not shippingdate%>
- <td><%transdate%></td>
- <%end shippingdate%>
-
- <td><%employee%>&nbsp;</td>
- <td><%warehouse%>&nbsp;</td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr bgcolor=000000>
- <th align=left><font color=ffffff>Pos</th>
- <th align=left><font color=ffffff>Number</th>
- <th align=left><font color=ffffff>Description</th>
- <th><font color=ffffff>Qty</th>
- <th><font color=ffffff>Ship</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Bin</th>
- </tr>
-
- <%foreach number%>
- <tr valign=top>
- <td><%runningnumber%>
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td align=right>[&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]</td>
- <td><%unit%></td>
- <td align=right><%bin%></td>
- </tr>
- <%end number%>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td><hr noshade></td>
- </tr>
-
-</table>
-
diff --git a/sql-ledger/templates/Norwegian-pick_list.tex b/sql-ledger/templates/Norwegian-pick_list.tex
deleted file mode 100644
index c737f6a..0000000
--- a/sql-ledger/templates/Norwegian-pick_list.tex
+++ /dev/null
@@ -1,144 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 37%>
-\end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}rlXrcll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} &
- \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\
-
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.5\textwidth}{
- \textbf{Ship To}
-} \hfill
-
-\vspace{0.7cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.5\textwidth}{
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-}
-\parbox[t]{.4\textwidth}{
- <%shiptocontact%>
-
- <%if shiptophone%>
- Tel: <%shiptophone%>
- <%end shiptophone%>
-
- <%if shiptofax%>
- Fax: <%shiptofax%>
- <%end shiptofax%>
-
- <%shiptoemail%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{P I C K} \parbox{0.3cm}{\hfill} \textbf{L I S T}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{7}{|X}|} \hline
- \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact}
- & \textbf{Warehouse} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em]
- \hline
- <%invnumber%> & <%ordnumber%>
- <%if shippingdate%>
- & <%shippingdate%>
- <%end shippingdate%>
- <%if not shippingdate%>
- & <%transdate%>
- <%end shippingdate%>
- & <%employee%>
- <%if warehouse%>
- & <%warehouse%>
- <%end warehouse%>
- & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}rlXrcll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} &
- \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> &
- <%qty%> & [\hspace{1cm}] & <%unit%> & <%bin%> \\
-<%end number%>
-\end{tabularx}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-}
-
-\end{document}
-
diff --git a/sql-ledger/templates/Norwegian-pos_invoice.txt b/sql-ledger/templates/Norwegian-pos_invoice.txt
deleted file mode 100644
index 9ec12f4..0000000
--- a/sql-ledger/templates/Norwegian-pos_invoice.txt
+++ /dev/null
@@ -1,51 +0,0 @@
-<%company align=center width=40%>
-<%address align=center width=40%>
-
- Till: <%till align=left width=3%> Phone#: <%tel%>
-Clerk: <%username%>
-Sales: <%employee%>
-
-<%invtime%><%invnumber align=right width=16%>
-
- Qty Description Amount
-<%foreach number%>
-<%qty align=right width=5%> <%description align=left width=24 offset=6%> <%linetotal align=right width=9%>
- <%number%> @ <%sellprice%>/<%unit%>
-<%end number%>
-
-Number of items: <%rowcount%>
-<%if taxincluded%>
- ---------------
- Amount Due: <%invtotal align=right width=9%>
-<%end taxincluded%>
-<%if not taxincluded%>
- ------------
- Subtotal: <%subtotal align=right width=9%>
-<%end taxincluded%>
-<%foreach tax%>
-<%taxdescription align=right width=23%> @ <%taxrate align=right width=2%>%: <%tax align=right width=9%>
-<%end tax%>
- Amount Due: <%invtotal align=right width=9%>
-<%foreach payment%>
-<%paymentaccount align=right width=29%>: <%payment align=right width=9%> <%currency%>
-<%end payment%>
-<%if change%>
- Change: <%change align=right width=9%>
-<%end change%>
-<%if total%>
- Balance Due: <%total align=right width=9%>
-<%end total%>
-<%if discount%>
-
-<%discount%> % Discount applied
-<%end discount%>
-
- Thank you for your valued business!
-
-<%if taxincluded%>
-Taxes are included in price.
-<%end taxincluded%>
-
-
-
-
diff --git a/sql-ledger/templates/Norwegian-purchase_order.html b/sql-ledger/templates/Norwegian-purchase_order.html
deleted file mode 100644
index 3991f55..0000000
--- a/sql-ledger/templates/Norwegian-purchase_order.html
+++ /dev/null
@@ -1,201 +0,0 @@
-
-<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>Telefaks: <%fax%>
- </h4>
- </td>
- </tr>
-
- <tr>
- <th colspan=3>
- <h4>I N N K J Ø P S &nbsp;&nbsp; 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>Ordre dato</th><td width=10>&nbsp;</td><td><%orddate%></td>
- </tr>
-
- <tr>
- <th align=right>Leveres innen</th><td width=10>&nbsp;</td><td><%reqdate%></td>
- </tr>
-
- <tr>
- <th align=right>Ordrenr.</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><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
- </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>Beskrivelse</th>
- <th><font color=ffffff>Ant.</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Pris</th>
- <th><font color=ffffff>Sum</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>Betalingsfirst <b><%terms%></b> dager</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>Note</td>
- <td><pre><%notes%></pre></td>
-<%end notes%>
- <td align=right>
- Alle priser i valuta <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>
-
-Betaling skal skje innen <%terms%> dager fra
-fakturadato. Forsinkelsesrente påregnes med 1.5% per måned fra
-fakturadato inntil det fulle beløpet er betalt.
-
-Ved retur belastes 10% returgebyr. Retur av varer må
-forhåndsgodkjennes av <%company%> før varer sendes. Vareretur må
-sendes forhåndsbetalt og med tilstrekkelig forsikring. <%company%> er
-ikke ansvarlig for transportskader.
-
- </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/Norwegian-purchase_order.tex b/sql-ledger/templates/Norwegian-purchase_order.tex
deleted file mode 100644
index 8b18210..0000000
--- a/sql-ledger/templates/Norwegian-purchase_order.tex
+++ /dev/null
@@ -1,206 +0,0 @@
-\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%>\\
- Telefaks & <%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{Ant.} &
- \textbf{Enhet} & \textbf{Pris} & \textbf{Sum} \\
- & 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{Til}
-\vspace{0.5cm}
-
-<%name%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\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{Send til}
-\vspace{0.3cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%if shiptoaddress2%>
-<%shiptoaddress2%>
-<%end shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
-
-\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 N K J Ø P S} \parbox{0.3cm}{\hfill} \textbf{O R D R E}
-\hfill
-\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
- \textbf{Dato} & <%orddate%> \\
-<%if reqdate%>
- \textbf{Levers innen} & <%reqdate%> \\
-<%end reqdate%>
- \textbf{Ordrenr.} & <%ordnumber%>
-\end{tabular}
-
-\vspace{1cm}
-
-\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}}
- \textbf{Nummer} & \textbf{Beskrivelse} & \textbf{Ant.} &
- \textbf{Enhet} & \textbf{Pris} & \textbf{Sum} \\
-<%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 valuta \textbf{<%currency%>}.
-
-\vspace{12pt}
-
-<%if notes%>
- <%notes%>
-<%end if%>
-
-}
-
-
-%\renewcommand{\thefootnote}{\fnsymbol{footnote}}
-
-%\footnotetext[1]{\tiny }
-
-\end{document}
-
-
diff --git a/sql-ledger/templates/Norwegian-receipt.tex b/sql-ledger/templates/Norwegian-receipt.tex
deleted file mode 100644
index 1914cec..0000000
--- a/sql-ledger/templates/Norwegian-receipt.tex
+++ /dev/null
@@ -1,78 +0,0 @@
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\vspace{1.8cm}
-
-<%notes%>
-
-\vspace{0.8cm}
-
-<%company%>
-
-\vspace{0.5cm}
-
-<%name%> \hfill <%datepaid%> \hfill <%source%>
-
-\vspace{0.5cm}
-\begin{tabularx}{\textwidth}{lXrr@{}}
-\textbf{Fakturanr.} & \textbf{Fakturadato}
- & \textbf{Skyldig} & \textbf{Betalt} \\
-<%foreach invnumber%>
-<%invnumber%> & <%invdate%> \dotfill
- & <%due%> & <%paid%> \\
-<%end invnumber%>
-\end{tabularx}
-
-\vfill
-
-\end{document}
diff --git a/sql-ledger/templates/Norwegian-request_quotation.html b/sql-ledger/templates/Norwegian-request_quotation.html
deleted file mode 100644
index a9a6f4f..0000000
--- a/sql-ledger/templates/Norwegian-request_quotation.html
+++ /dev/null
@@ -1,202 +0,0 @@
-
-<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><img src=http://www.sql-ledger.org/images/sql-ledger.png border=0 width=64 height=58>
- </td>
-
- <td align=right>
- <h4>
- Tel: <%tel%>
- <br>Fax: <%fax%>
- </h4>
- </td>
- </tr>
-
- <tr>
- <th colspan=3>
- <h4>R E Q U E S T &nbsp;&nbsp; F O R &nbsp;&nbsp; Q U O T A T I O N</h4>
- </th>
- </tr>
-
- </table>
-
-
- <table width=100% callspacing=0 cellpadding=0>
-
- <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><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
-<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><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddr2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
-<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 colspan=2>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left>RFQ #</th>
- <th width=17% align=left>Date</th>
- <th width=17% align=left>Required by</th>
- <th width=17% align=left>Contact</th>
- <th width=17% align=left>Shipping Point</th>
- <th width=15% align=left>Ship via</th>
- </tr>
-
- <tr>
- <td><%quonumber%></td>
- <td><%quodate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height="10"></tr>
-
- <tr>
- <td>Please provide price and delivery time for the following items:</td>
- </tr>
-
- <tr height="10"></tr>
-
- <tr>
- <td>
- <table width=100%>
- <tr>
-<!-- <th align=right>No.</th> -->
- <th align=left>Number</th>
- <th align=left><font color=ffffff>Description</th>
- <th>Qt'y</th>
- <th>&nbsp;</th>
- <th>Delivery</th>
- <th>Unit Price</th>
- <th>Extended</th>
- </tr>
-
-<%foreach number%>
- <tr valign=top>
-<!-- <td align=right><%runningnumber%>.</td>
-other per line item variables available <%reqdate%>
-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>
-
- </tr>
-<%end number%>
-
- <tr>
- <td colspan=7><hr noshade></td>
- </tr>
-
- </table>
- </td>
- </tr>
-
-<tr>
- <td>
- <table width=100%>
-<%if notes%>
- <tr valign=top>
- <td>Notes</td>
- <td><%notes%></td>
- </tr>
-<%end notes%>
-
- </table>
- </td>
-</tr>
-
-<tr><td>&nbsp;</td></tr>
-
-<tr>
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=70%>&nbsp;</td>
-
- <td width=30%>
- X <hr noshade>
- </td>
- </tr>
- </table>
- </td>
-</tr>
-
-</table>
-
-</td>
-</tr>
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Norwegian-request_quotation.tex b/sql-ledger/templates/Norwegian-request_quotation.tex
deleted file mode 100644
index 4e9cfe0..0000000
--- a/sql-ledger/templates/Norwegian-request_quotation.tex
+++ /dev/null
@@ -1,175 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 48%>
-\end{tabularx}
-
- \rule{\textwidth}{2pt}
-
- \hfill
- \begin{tabularx}{7cm}{Xr@{}}
- \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
- \end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}lXrlrr@{}}
- \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
- \textbf{Unit} & \textbf{Price} & \textbf{Extended} \\
- & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.45\textwidth}{
-\textbf{To}
-\vspace{0.7cm}
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-\vspace{0.2cm}
-<%end contact%>
-
-<%if vendorphone%>
-Tel: <%vendorphone%>
-<%end vendorphone%>
-
-<%if vendorfax%>
-Fax: <%vendorfax%>
-<%end vendorfax%>
-
-<%email%>
-}
-\parbox[t]{.45\textwidth}{
-\textbf{Ship To}
-\vspace{0.7cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-
-\vspace{0.3cm}
-
-<%if shiptocontact%>
-<%shiptocontact%>
-\vspace{0.2cm}
-<%end shiptocontact%>
-
-<%if shiptophone%>
-Tel: <%shiptophone%>
-<%end shiptophone%>
-
-<%if shiptofax%>
-Fax: <%shiptofax%>
-<%end shiptofax%>
-
-<%shiptoemail%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{R E Q U E S T for Q U O T A T I O N}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{RFQ \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex]
- \hline
- <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-Please provide price and delivery time for the following items:
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}lXrllrr@{}}
- \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & &
- \textbf{Delivery} & \textbf{Unit Price} & \textbf{Extended} \\
-<%foreach number%>
- <%number%> & <%description%> & <%qty%> & <%unit%> \\
-<%end number%>
-\end{tabularx}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\hfill
-
-<%notes%>
-
-}
-
-\end{document}
-
diff --git a/sql-ledger/templates/Norwegian-sales_order.html b/sql-ledger/templates/Norwegian-sales_order.html
deleted file mode 100644
index 9a6e831..0000000
--- a/sql-ledger/templates/Norwegian-sales_order.html
+++ /dev/null
@@ -1,220 +0,0 @@
-
-<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>Telefaks: <%fax%>
- </h4>
- </td>
- </tr>
-
- <tr>
- <th colspan=3>
- <h4>S A L G S &nbsp;&nbsp; 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>Ordre dato</th><td width=10>&nbsp;</td><td><%orddate%></td>
- </tr>
-
- <tr>
- <th align=right>Leveringsdato</th><td width=10>&nbsp;</td><td><%reqdate%></td>
- </tr>
-
- <tr>
- <th align=right>Ordrenr.</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><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
-<br><%shiptoaddress2%>
-<%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
- </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>Beskrivelse</th>
- <th><font color=ffffff>Ant.</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Pris</th>
- <th><font color=ffffff>Rabatt</th>
- <th><font color=ffffff>Sum</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>Betalingsfrist <b><%terms%></b> dager</td>
- <th colspan=2 align=right>Total</th>
- <th colspan=2 align=right><%ordtotal%></th>
- </tr>
-<%if taxincluded%>
- <tr>
- <td colspan=3>Mva er inkludert i Total</td>
- </tr>
-<%end taxincluded%>
-
- <tr>
- <td>&nbsp;</td>
- </tr>
-
- </table>
- </td>
- </tr>
-
-<tr>
- <td>
- <table width=100%>
- <tr valign=top>
-<%if notes%>
- <td>Note</td>
- <td><pre><%notes%></pre></td>
-<%end notes%>
- <td align=right>
- Alle priser i valuta <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>
-Ved spesialtilpassede ordre (påkrevd av kunden), skreddersydde produkter, utvidede eller
-oppgraderte produkter belastes et 10% avbestillingsgebyr. Varer som
-ikke kan returneres er merket over.
- </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/Norwegian-sales_order.tex b/sql-ledger/templates/Norwegian-sales_order.tex
deleted file mode 100644
index 10916f5..0000000
--- a/sql-ledger/templates/Norwegian-sales_order.tex
+++ /dev/null
@@ -1,150 +0,0 @@
-\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%>\\
- Telefaks & <%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{Ant.} &
- \textbf{Enhet} & \textbf{Pris} & \textbf{Rabatt} & \textbf{Sum} \\
- & carried forward from <%lastpage%> & & & & & <%sumcarriedforward%> \\
-<%end pagebreak%>
-
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{2cm}
-
-<%name%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\vspace{3.5cm}
-
-\textbf{S A L G S} \parbox{0.3cm}{\hfill} \textbf{O R D R E}
-\hfill
-\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
- \textbf{Ordre dato} & <%orddate%> \\
-<%if reqdate%>
- \textbf{Leveres innen} & <%reqdate%> \\
-<%end reqdate%>
- \textbf{Ordrenr.} & <%ordnumber%>
-\end{tabular}
-
-\vspace{1cm}
-
-\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
- \textbf{Nummer} & \textbf{Beskrivelse} & \textbf{Ant.} &
- \textbf{Enhet} & \textbf{Pris} & \textbf{Rabatt} & \textbf{Sum} \\
-<%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
- Alle priser i valuta \textbf{<%currency%>}.
-
-\vspace{12pt}
-
-<%if notes%>
- <%notes%>
-<%end if%>
-
-}
-
-
-\renewcommand{\thefootnote}{\fnsymbol{footnote}}
-
-\footnotetext[1]{\tiny
-Ved spesialtilpassede ordre (påkrevd av kunden), skreddersydde produkter, utvidede eller
-oppgraderte produkter belastes et 10\% avbestillingsgebyr. Varer som
-ikke kan returneres er merket over.
-}
-
-\end{document}
-
diff --git a/sql-ledger/templates/Norwegian-sales_quotation.html b/sql-ledger/templates/Norwegian-sales_quotation.html
deleted file mode 100644
index cc57a5c..0000000
--- a/sql-ledger/templates/Norwegian-sales_quotation.html
+++ /dev/null
@@ -1,225 +0,0 @@
-
-<body bgcolor=ffffff>
-
-<table width=100%>
-<tr valign=bottom>
- <td width=10>&nbsp;</td>
- <td>
-
- <table width=100%>
- <tr valign=top>
- <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><td colspan=3>&nbsp;</td></tr>
-
- <tr>
- <th colspan=3>
- <h4>Q U O T A T I O N</h4>
- </th>
- </tr>
-
- </table>
-
- <table width=100% callspacing=0 cellpadding=0>
-
- <tr>
- <td>
- <table width=100%>
-
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
-
- <br>
- <%if contact%>
- <br>Attn: <%contact%>
- <%end contact%>
-
- <%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><td>&nbsp;</td></tr>
-
- <tr>
- <td colspan=2>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left nowrap>Number</th>
- <th width=17% align=left>Date</th>
- <th width=17% align=left>Valid until</th>
- <th width=17% align=left nowrap>Contact</th>
- <th width=17% align=left nowrap>Shipping Point</th>
- <th width=15% align=left nowrap>Ship via</th>
- </tr>
-
- <tr>
- <td><%quonumber%></td>
- <td><%quodate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</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>
-
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td align=right><%sellprice%></td>
- <td align=right><%discountrate%></td>
- <td align=right><%linetotal%></td>
- </tr>
-<%end number%>
-
- <tr>
- <td colspan=8><hr noshade></td>
- </tr>
-
- <tr>
-<%if taxincluded%>
- <th colspan=6 align=right>Total</th>
- <td colspan=2 align=right><%invtotal%></td>
-<%end taxincluded%>
-
-<%if not taxincluded%>
- <th colspan=6 align=right>Subtotal</th>
- <td colspan=2 align=right><%subtotal%></td>
-<%end taxincluded%>
- </tr>
-
-<%foreach tax%>
- <tr>
- <th colspan=6 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th>
- <td colspan=2 align=right><%tax%></td>
- </tr>
-<%end tax%>
-
- <tr>
- <td colspan=4>&nbsp;</td>
- <td colspan=4><hr noshade></td>
- </tr>
-
- <tr>
- <td colspan=4>&nbsp;
-<%if terms%>
- Terms Net <b><%terms%></b> days
-<%end terms%>
- </td>
- <th colspan=2 align=right>Total</th>
- <th colspan=2 align=right><%quototal%></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
- </td>
- </tr>
-
- </table>
- </td>
-</tr>
-
-<tr><td>&nbsp;</td></tr>
-
-<tr>
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=60%><font size=-3>
- Special order items are subject to a 10% cancellation fee.
- </font>
- </td>
- <td width=40%>
- X <hr noshade>
- </td>
- </tr>
- </table>
- </td>
-</tr>
-
-</table>
-
-</td>
-</tr>
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Norwegian-sales_quotation.tex b/sql-ledger/templates/Norwegian-sales_quotation.tex
deleted file mode 100644
index acc4870..0000000
--- a/sql-ledger/templates/Norwegian-sales_quotation.tex
+++ /dev/null
@@ -1,157 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 48%>
-\end{tabular*}
-
- \rule{\textwidth}{2pt}
-
- \hfill
- \begin{tabularx}{7cm}{Xr@{}}
- \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
- \end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%quonumber%>}{<%company%>\hfill <%quonumber%>}
-
-\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%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.45\textwidth}{
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%contact%>
-
-\vspace{0.2cm}
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-
-\vspace{1cm}
-
-\textbf{Q U O T A T I O N}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{Quotation \#} & \textbf{Date} & \textbf{Valid until} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex]
- \hline
- <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\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%> & <%discountrate%> & <%linetotal%> \\
-<%end number%>
-\end{tabular*}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\vspace{0.2cm}
-
-\hfill
-\begin{tabularx}{7cm}{Xr@{}}
- Subtotal & <%subtotal%> \\
-<%foreach tax%>
- <%taxdescription%> on <%taxbase%> & <%tax%>\\
-<%end tax%>
- \hline
- Total & <%quototal%>\\
-\end{tabularx}
-
-\vspace{0.3cm}
-
-\hfill
- All prices in \textbf{<%currency%>}.
-
-\vspace{12pt}
-
-<%notes%>
-
-}
-
-\vfill
-
-\end{document}
-
-
diff --git a/sql-ledger/templates/Norwegian-statement.html b/sql-ledger/templates/Norwegian-statement.html
deleted file mode 100644
index 97ba64e..0000000
--- a/sql-ledger/templates/Norwegian-statement.html
+++ /dev/null
@@ -1,120 +0,0 @@
-
-<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>
- Telefon: <%tel%>
- <br>Telefaks: <%fax%>
- </h4>
- </td>
- </tr>
- <tr>
- <th colspan=3><h4>O V E R S I K 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><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
- <br>
-<%if customerphone%>
- <br>Telefon: <%customerphone%>
-<%end customerphone%>
-<%if customerfax%>
- <br>Telefaks: <%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>Faktura #</th>
- <th width=15%>Dato</th>
- <th width=15%>Betalingsfrist</th>
- <th width=10%>Nåværende</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>Totalt utestående</th>
- <th align=right><%total%></th>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td><hr noshade></td>
- </tr>
- <tr height=20></tr>
-</table>
-
diff --git a/sql-ledger/templates/Norwegian-statement.tex b/sql-ledger/templates/Norwegian-statement.tex
deleted file mode 100644
index 6975c1b..0000000
--- a/sql-ledger/templates/Norwegian-statement.tex
+++ /dev/null
@@ -1,139 +0,0 @@
-\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%>\\
- Faks & <%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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-}
-\parbox[t]{7.5cm}{
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{O V E R S I K T} \hfill
-
-\hfill <%statementdate%>
-
-\vspace{2cm}
-
-\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}}
- \textbf{Faktura \#} & \textbf{Dato} & \textbf{Frist} &
- \textbf{Skyldig} & \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{Totalt skyldig} & <%total%>
-\end{tabularx}
-
-\vfill
-
-\renewcommand{\thefootnote}{\fnsymbol{footnote}}
-
-\footnotetext[1]{\tiny
-}
-
-\end{document}
-
diff --git a/sql-ledger/templates/Norwegian-work_order.html b/sql-ledger/templates/Norwegian-work_order.html
deleted file mode 100644
index 0732fe2..0000000
--- a/sql-ledger/templates/Norwegian-work_order.html
+++ /dev/null
@@ -1,174 +0,0 @@
-
-<body bgcolor=ffffff>
-
-<table width=100%>
- <tr>
- <td width=10>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=bottom>
- <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>W O R K &nbsp;&nbsp; O R D E R</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <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><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%>
- <br><%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
- <%if contact%>
- <br>Attn: <%contact%>
- <%end contact%>
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
- <%if email%>
- <br><%email%>
- <%end email%>
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%>
- <br><%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
- <br>
- <%if shiptocontact%>
- <br><%shiptocontact%>
- <%end shiptocontact%>
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
- <%if shiptoemail%>
- <br><%shiptoemail%>
- <%end shiptoemail%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left nowrap>Order Number</th>
- <th width=17% align=left>Order Date</th>
- <th width=17% align=left>Required by</th>
- <th width=17% align=left nowrap>Salesperson</th>
- <th width=17% align=left nowrap>Shipping Point</th>
- <th width=15% align=left nowrap>Ship Via</th>
- </tr>
-
- <tr>
- <td><%ordnumber%></td>
- <td><%orddate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <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>Serial No.</th>
- </tr>
-
- <%foreach number%>
- <tr valign=top>
- <td align=right><%runningnumber%>.</td>
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td><%serialnumber%></td>
- </tr>
- <%end number%>
-
- <tr>
- <td colspan=6><hr noshade></td>
- </tr>
-
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <%if notes%>
- <td><%notes%></td>
- <%end notes%>
- </tr>
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Norwegian-work_order.tex b/sql-ledger/templates/Norwegian-work_order.tex
deleted file mode 100644
index cb6774d..0000000
--- a/sql-ledger/templates/Norwegian-work_order.tex
+++ /dev/null
@@ -1,177 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{%
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5em]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 48%>
-\end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}rlXrll@{}}
- \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
- & \textbf{Serial Number} \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.45\textwidth}{
-\textbf{To}
-\vspace{0.7cm}
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-\vspace{0.2cm}
-<%end contact%>
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\parbox[t]{.45\textwidth}{
-\textbf{Ship To}
-\vspace{0.7cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-
-\vspace{0.3cm}
-
-<%if shiptocontact%>
-<%shiptocontact%>
-\vspace{0.2cm}
-<%end shiptocontact%>
-
-<%if shiptophone%>
-Tel: <%shiptophone%>
-<%end shiptophone%>
-
-<%if shiptofax%>
-Fax: <%shiptofax%>
-<%end shiptofax%>
-
-<%shiptoemail%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{W O R K} \parbox{0.3cm}{\hfill} \textbf{O R D E R}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship Via} \\ [0.5em]
- \hline
- <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}rlXrll@{}}
- \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
- & \textbf{Serial Number} \\
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> & <%qty%> &
- <%unit%> & <%serialnumber%> \\
-<%end number%>
-\end{tabularx}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\vspace{12pt}
-
-<%if notes%>
- <%notes%>
-<%end if%>
-
-}
-
-\vfill
-
-\vspace{1cm}
-
-\rule{\textwidth}{0.5pt}
-
-\end{document}
-
-
-
-
-
-
diff --git a/sql-ledger/templates/Service-ap_transaction.html b/sql-ledger/templates/Service-ap_transaction.html
deleted file mode 100644
index c7bae85..0000000
--- a/sql-ledger/templates/Service-ap_transaction.html
+++ /dev/null
@@ -1,229 +0,0 @@
-
-<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>
- <hr noshade><br>
- <h4>A P - T R A N S A C T I O N</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
-
- <%if contact%>
- <br><%contact%>
- <br>
- <%end contact%>
-
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
-
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
-
- <%if email%>
- <br><%email%>
- <%end email%>
- </td>
-
- <td align=right>
- <table>
- <tr>
- <th align=left nowrap>Invoice #</th>
- <td><%invnumber%></td>
- </tr>
- <tr>
- <th align=left nowrap>Date</th>
- <td><%invdate%></td>
- </tr>
- <tr>
- <th align=left nowrap>Due</th>
- <td><%duedate%></td>
- </tr>
- <tr>
- <th align=left>Order #</th>
- <td><%ordnumber%>&nbsp;</td>
- </tr>
- <tr>
- <th align=left nowrap>Employee</th>
- <td><%employee%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=50%>
- <table>
- <%foreach account%>
- <tr valign=top>
- <td><%accno%></td>
- <td><%account%></td>
- <td align=right><%amount%></td>
- <td><%projectnumber%></td>
- </tr>
- <%end account%>
-
- <tr>
- <%if taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Subtotal</th>
- <td align=right><%subtotal%></td>
- <%end taxincluded%>
- </tr>
-
- <%foreach tax%>
- <tr>
- <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th>
- <td align=right><%tax%></td>
- </tr>
- <%end tax%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- </table>
- </td>
- <td width=50%>
- <%notes%>
- </td>
- </tr>
- </table>
- </td>
- <tr>
- <td>&nbsp;</td>
-
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <%text_amount%> ***** <%decimal%>/100 <%currency%>
- </td>
- </tr>
-
- <%if paid%>
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table>
- <tr>
- <th>Payments</th>
- </tr>
-
- <tr>
- <td>
- <hr noshade>
- </td>
- </tr>
-
- <tr>
- <td>
- <table>
- <tr>
- <th align=left>Date</th>
- <th align=left>Account</th>
- <th align=left>Source</th>
- <th align=left>Memo</th>
- <th align=left>Amount</th>
- </tr>
- <%end paid%>
-
- <%foreach payment%>
- <tr>
- <td><%paymentdate%></td>
- <td><%paymentaccount%></td>
- <td><%paymentsource%></td>
- <td><%paymentmemo%></td>
- <td><%payment%></td>
- </tr>
- <%end payment%>
-
- <%if paid%>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <%end paid%>
-
- <tr height=10></tr>
-
- <%if taxincluded%>
- <tr>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th>
- </tr>
- <%end taxincluded%>
-
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Service-ap_transaction.tex b/sql-ledger/templates/Service-ap_transaction.tex
deleted file mode 100644
index 8bfd9f7..0000000
--- a/sql-ledger/templates/Service-ap_transaction.tex
+++ /dev/null
@@ -1,125 +0,0 @@
-\documentclass[10pt,letterpaper,oneside,onecolumn]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{%
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5em]{\textwidth}{0.5pt}
-}
-
-\centerline{\textbf{A P} \hspace{0.3cm} \textbf{T R A N S A C T I O N}}
-
-\vspace*{0.5cm}
-
-\parbox[t]{.5\textwidth}{
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-<%end contact%>
-
-\vspace{0.2cm}
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\hfill
-\begin{tabular}[t]{ll}
- \textbf{Invoice \#} & <%invnumber%> \\
- \textbf{Date} & <%invdate%> \\
- \textbf{Due} & <%duedate%> \\
- \textbf{Order \#} & <%ordnumber%> \\
- \textbf{Employee} & <%employee%> \\
-\end{tabular}
-
-\vspace{1cm}
-
-\begin{tabularx}{.5\textwidth}[t]{@{}llrl@{}}
-<%foreach amount%>
- <%accno%> & <%account%> & <%amount%> & <%projectnumber%> \\
-<%end amount%>
-
- \multicolumn{2}{r}{\textbf{Subtotal}} & <%subtotal%> & \\
-<%foreach tax%>
- \multicolumn{2}{r}{\textbf{<%taxdescription%> @ <%taxrate%> \%}} & <%tax%> & \\
-<%end tax%>
-
- \multicolumn{2}{r}{\textbf{Total}} & <%invtotal%> & \\
-
-\end{tabularx}
-<%notes%>
-
-\vspace{0.3cm}
-
-<%text_amount%> ***** <%decimal%>/100 <%currency%>
-
-\vspace{0.3cm}
-
-<%if paid%>
-\begin{tabular}{@{}llllr@{}}
- \multicolumn{5}{c}{\textbf{Payments}} \\
- \hline
- \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\
-<%end paid%>
-<%foreach payment%>
- <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%paymentmemo%> & <%payment%> \\
-<%end payment%>
-<%if paid%>
-\end{tabular}
-<%end paid%>
-
-\end{document}
-
diff --git a/sql-ledger/templates/Service-ar_transaction.html b/sql-ledger/templates/Service-ar_transaction.html
deleted file mode 100644
index dbd0a1c..0000000
--- a/sql-ledger/templates/Service-ar_transaction.html
+++ /dev/null
@@ -1,237 +0,0 @@
-
-<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>
- <hr noshade><br>
- <h4>A R - T R A N S A C T I O N</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
-
- <%if contact%>
- <br><%contact%>
- <br>
- <%end contact%>
-
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
-
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
-
- <%if email%>
- <br><%email%>
- <%end email%>
- </td>
-
- <td align=right>
- <table>
- <tr>
- <th align=left nowrap>Invoice #</th>
- <td><%invnumber%></td>
- </tr>
- <tr>
- <th align=left nowrap>Date</th>
- <td><%invdate%></td>
- </tr>
- <tr>
- <th align=left nowrap>Due</th>
- <td><%duedate%></td>
- </tr>
- <tr>
- <th align=left>Order #</th>
- <td><%ordnumber%>&nbsp;</td>
- </tr>
- <tr>
- <th align=left nowrap>Salesperson</th>
- <td><%employee%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=50%>
- <table>
- <%foreach account%>
- <tr valign=top>
- <td><%accno%></td>
- <td><%account%></td>
- <td align=right><%amount%></td>
- <td><%projectnumber%></td>
- </tr>
- <%end account%>
-
- <tr>
- <%if taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Subtotal</th>
- <td align=right><%subtotal%></td>
- <%end taxincluded%>
- </tr>
-
- <%foreach tax%>
- <tr>
- <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th>
- <td align=right><%tax%></td>
- </tr>
- <%end tax%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- </table>
- </td>
- <td width=50%>
- <%notes%>
- </td>
- </tr>
- </table>
- </td>
- <tr>
- <td>&nbsp;</td>
-
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <%text_amount%> ***** <%decimal%>/100 <%currency%>
- </td>
- </tr>
-
- <%if paid%>
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table>
- <tr>
- <th>Payments</th>
- </tr>
-
- <tr>
- <td>
- <hr noshade>
- </td>
- </tr>
-
- <tr>
- <td>
- <table>
- <tr>
- <th align=left>Date</th>
- <th align=left>Account</th>
- <th align=left>Source</th>
- <th align=left>Memo</th>
- <th align=left>Amount</th>
- </tr>
- <%end paid%>
-
- <%foreach payment%>
- <tr>
- <td><%paymentdate%></td>
- <td><%paymentaccount%></td>
- <td><%paymentsource%></td>
- <td><%paymentmemo%></td>
- <td><%payment%></td>
- </tr>
- <%end payment%>
-
- <%if paid%>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <%end paid%>
-
- <tr height=10></tr>
-
- <%foreach tax%>
- <tr>
- <td>&nbsp;</td>
-
- <th colspan=9 align=left><font size=-2><%taxdescription%> Registration <%taxnumber%></th>
- </tr>
- <%end tax%>
-
- <%if taxincluded%>
- <tr>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th>
- </tr>
- <%end taxincluded%>
-
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Service-ar_transaction.tex b/sql-ledger/templates/Service-ar_transaction.tex
deleted file mode 100644
index 654d2b9..0000000
--- a/sql-ledger/templates/Service-ar_transaction.tex
+++ /dev/null
@@ -1,131 +0,0 @@
-\documentclass[10pt,letterpaper,oneside,onecolumn]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{%
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5em]{\textwidth}{0.5pt}
-}
-
-\centerline{\textbf{A R} \hspace{0.3cm} \textbf{T R A N S A C T I O N}}
-
-\vspace*{0.5cm}
-
-\parbox[t]{.5\textwidth}{
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-<%end contact%>
-
-\vspace{0.2cm}
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\hfill
-\begin{tabular}[t]{ll}
- \textbf{Invoice \#} & <%invnumber%> \\
- \textbf{Date} & <%invdate%> \\
- \textbf{Due} & <%duedate%> \\
- \textbf{Order \#} & <%ordnumber%> \\
- \textbf{Employee} & <%employee%> \\
-\end{tabular}
-
-\vspace{1cm}
-
-\begin{tabularx}{.5\textwidth}[t]{@{}llrl@{}}
-<%foreach amount%>
- <%accno%> & <%account%> & <%amount%> & <%projectnumber%> \\
-<%end amount%>
-
- \multicolumn{2}{r}{\textbf{Subtotal}} & <%subtotal%> & \\
-<%foreach tax%>
- \multicolumn{2}{r}{\textbf{<%taxdescription%> @ <%taxrate%> \%}} & <%tax%> & \\
-<%end tax%>
-
- \multicolumn{2}{r}{\textbf{Total}} & <%invtotal%> & \\
-
-\end{tabularx}
-<%notes%>
-
-\vspace{0.3cm}
-
-<%text_amount%> ***** <%decimal%>/100 <%currency%>
-
-\vspace{0.3cm}
-
-<%if paid%>
-\begin{tabular}{@{}llllr@{}}
- \multicolumn{5}{c}{\textbf{Payments}} \\
- \hline
- \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\
-<%end paid%>
-<%foreach payment%>
- <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%paymentmemo%> & <%payment%> \\
-<%end payment%>
-<%if paid%>
-\end{tabular}
-<%end paid%>
-
-\vspace{0.5cm}
-
-<%foreach tax%>
-\textbf{\small{<%taxdescription%> Registration <%taxnumber%>}} \\
-<%end tax%>
-
-\end{document}
-
diff --git a/sql-ledger/templates/Service-balance_sheet.html b/sql-ledger/templates/Service-balance_sheet.html
deleted file mode 100644
index c84ad95..0000000
--- a/sql-ledger/templates/Service-balance_sheet.html
+++ /dev/null
@@ -1,110 +0,0 @@
-
-<body>
-
-<h2 align=center>
-<%company%>
-<br><%address%>
-
-<p>BALANCE SHEET
-<br>as at <%this_period%>
-</h2>
-
-<%if department%>
-<h4>Department: <%department%></h4>
-<%end department%>
-
-<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-bin_list.html b/sql-ledger/templates/Service-bin_list.html
deleted file mode 100644
index c945421..0000000
--- a/sql-ledger/templates/Service-bin_list.html
+++ /dev/null
@@ -1,189 +0,0 @@
-
-<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>
-
- <th align=right>
- <h4>
- Tel: <%tel%>
- <br>Fax: <%fax%>
- </h4>
- </td>
- </tr>
-
- <tr>
- <th colspan=3>
- <h4>B I N &nbsp;&nbsp; L I S T</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% cellspacing=0 cellpadding=0>
- <tr bgcolor=000000>
- <th align=left width=50%><font color=ffffff>From</th>
- <th align=left width=50%><font color=ffffff>Ship To</th>
- </tr>
-
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
-
- <%if contact%>
- <br>Attn: <%contact%>
- <%end contact%>
-
- <%if vendorphone%>
- <br>Tel: <%vendorphone%>
- <%end vendorphone%>
-
- <%if vendorfax%>
- <br>Fax: <%vendorfax%>
- <%end vendorfax%>
-
- <%if email%>
- <br><%email%>
- <%end email%>
-
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
-
- <br>
- <%if shiptocontact%>
- <br>Attn: <%shiptocontact%>
- <%end shiptocontact%>
-
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
-
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left nowrap>Order #</th>
- <th width=17% align=left nowrap>Date</th>
- <th width=17% align=left nowrap>Contact</th>
- <%if warehouse%>
- <th width=17% align=left nowrap>Warehouse</th>
- <%end warehouse%>
- <th width=17% align=left>Shipping Point</th>
- <th width=15% align=left>Ship via</th>
- </tr>
-
- <tr>
- <td><%ordnumber%>&nbsp;</td>
-
- <%if shippingdate%>
- <td><%shippingdate%></td>
- <%end shippingdate%>
-
- <%if not shippingdate%>
- <td><%orddate%></td>
- <%end shippingdate%>
-
- <td><%employee%>&nbsp;</td>
-
- <%if warehouse%>
- <td><%warehouse%></td>
- <%end warehouse%>
-
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr bgcolor=000000>
- <th align=left><font color=ffffff>Pos</th>
- <th align=left><font color=ffffff>Number</th>
- <th align=left><font color=ffffff>Description</th>
- <th><font color=ffffff>Serialnumber</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Qty</th>
- <th><font color=ffffff>Recd</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Bin</th>
- </tr>
-
- <%foreach number%>
- <tr valign=top>
- <td><%runningnumber%></td>
- <td><%number%></td>
- <td><%description%></td>
- <td><%serialnumber%></td>
- <td><%deliverydate%></td>
- <td align=right><%qty%></td>
- <td align=right><%ship%></td>
- <td><%unit%></td>
- <td><%bin%></td>
- </tr>
- <%end number%>
-
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td><hr noshade></td>
- </tr>
-
-</table>
-
diff --git a/sql-ledger/templates/Service-bin_list.tex b/sql-ledger/templates/Service-bin_list.tex
deleted file mode 100644
index 034fd72..0000000
--- a/sql-ledger/templates/Service-bin_list.tex
+++ /dev/null
@@ -1,147 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 37%>
-\end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}rlXllrrll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.5\textwidth}{
-\textbf{From}
-\vspace{0.7cm}
-
-<%name%>
-
-<%address1%>
-
-<%if %address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country4%>
-<%end country%>
-}
-\parbox[t]{.4\textwidth}{
-\textbf{Ship To}
-\vspace{0.7cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%if shiptoaddress2%>
-<%shiptoaddress2%>
-<%end shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{B I N} \parbox{0.3cm}{\hfill} \textbf{L I S T}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{Order \#} & \textbf{Date} & \textbf{Contact}
- <%if warehouse%>
- & \textbf{Warehouse}
- <%end warehouse%>
- & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em]
- \hline
-
- <%ordnumber%>
- <%if shippingdate%>
- & <%shippingdate%>
- <%end shippingdate%>
- <%if not shippingdate%>
- & <%orddate%>
- <%end shippingdate%>
- & <%employee%>
- <%if warehouse%>
- & <%warehouse%>
- <%end warehouse%>
- & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}rlXllrrll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\
-
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> &
- <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> & <%bin%> \\
-<%end number%>
-\end{tabularx}
-
-
-\rule{\textwidth}{2pt}
-
-\end{document}
-
diff --git a/sql-ledger/templates/Service-check.tex b/sql-ledger/templates/Service-check.tex
deleted file mode 100644
index 6742b5b..0000000
--- a/sql-ledger/templates/Service-check.tex
+++ /dev/null
@@ -1,75 +0,0 @@
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\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
deleted file mode 100644
index eab9ff0..0000000
--- a/sql-ledger/templates/Service-income_statement.html
+++ /dev/null
@@ -1,81 +0,0 @@
-
-<body>
-
-<h2 align=center>
-<%company%>
-<br><%address%>
-
-<p>INCOME STATEMENT
-<br><%period%>
-</h2>
-
-<%if department%>
-<h4>Department: <%department%></h4>
-<%end department%>
-
-<%if projectnumber%>
-<h4>Project Number: <%projectnumber%></h4>
-<%end projectnumber%>
-
-<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
deleted file mode 100644
index 193dd1f..0000000
--- a/sql-ledger/templates/Service-invoice.html
+++ /dev/null
@@ -1,230 +0,0 @@
-
-<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><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
- </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
deleted file mode 100644
index b4baba8..0000000
--- a/sql-ledger/templates/Service-invoice.tex
+++ /dev/null
@@ -1,155 +0,0 @@
-\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 37%>
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\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
deleted file mode 100644
index 07ba8d6..0000000
--- a/sql-ledger/templates/Service-packing_list.html
+++ /dev/null
@@ -1,148 +0,0 @@
-
-<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
deleted file mode 100644
index f7e158a..0000000
--- a/sql-ledger/templates/Service-packing_list.tex
+++ /dev/null
@@ -1,120 +0,0 @@
-\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 37%>
-\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-pick_list.html b/sql-ledger/templates/Service-pick_list.html
deleted file mode 100644
index 7548560..0000000
--- a/sql-ledger/templates/Service-pick_list.html
+++ /dev/null
@@ -1,153 +0,0 @@
-
-<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>P I C K &nbsp;&nbsp; L I S T</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <tr bgcolor=000000>
- <th width=50% align=left><font color=ffffff>Ship To:</th>
- <th width=50%>&nbsp;</th>
- </tr>
-
- <tr valign=top>
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
- </td>
-
- <td>
- <%if shiptocontact%>
- <br>Attn: <%shiptocontact%>
- <%end shiptocontact%>
-
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
-
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
-
- <%shiptoemail%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% border=1>
- <tr>
- <th width=15% align=left>Invoice #</th>
- <th width=15% align=left>Order #</th>
- <th width=10% align=left>Date</th>
- <th width=15% align=left nowrap>Contact</th>
- <th width=15% align=left>Warehouse</th>
- <th width=10% align=left>Shipping Point</th>
- <th width=10% align=left>Ship via</th>
- </tr>
-
- <tr>
- <td><%invnumber%>&nbsp;</td>
- <td><%ordnumber%>&nbsp;</td>
- <%if shippingdate%>
- <td><%shippingdate%></td>
- <%end shippingdate%>
-
- <%if not shippingdate%>
- <td><%transdate%></td>
- <%end shippingdate%>
-
- <td><%employee%>&nbsp;</td>
- <td><%warehouse%>&nbsp;</td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr bgcolor=000000>
- <th align=left><font color=ffffff>Pos</th>
- <th align=left><font color=ffffff>Number</th>
- <th align=left><font color=ffffff>Description</th>
- <th><font color=ffffff>Qty</th>
- <th><font color=ffffff>Ship</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Bin</th>
- </tr>
-
- <%foreach number%>
- <tr valign=top>
- <td><%runningnumber%>
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td align=right>[&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]</td>
- <td><%unit%></td>
- <td align=right><%bin%></td>
- </tr>
- <%end number%>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td><hr noshade></td>
- </tr>
-
-</table>
-
diff --git a/sql-ledger/templates/Service-pick_list.tex b/sql-ledger/templates/Service-pick_list.tex
deleted file mode 100644
index c737f6a..0000000
--- a/sql-ledger/templates/Service-pick_list.tex
+++ /dev/null
@@ -1,144 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 37%>
-\end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}rlXrcll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} &
- \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\
-
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.5\textwidth}{
- \textbf{Ship To}
-} \hfill
-
-\vspace{0.7cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.5\textwidth}{
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-}
-\parbox[t]{.4\textwidth}{
- <%shiptocontact%>
-
- <%if shiptophone%>
- Tel: <%shiptophone%>
- <%end shiptophone%>
-
- <%if shiptofax%>
- Fax: <%shiptofax%>
- <%end shiptofax%>
-
- <%shiptoemail%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{P I C K} \parbox{0.3cm}{\hfill} \textbf{L I S T}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{7}{|X}|} \hline
- \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact}
- & \textbf{Warehouse} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em]
- \hline
- <%invnumber%> & <%ordnumber%>
- <%if shippingdate%>
- & <%shippingdate%>
- <%end shippingdate%>
- <%if not shippingdate%>
- & <%transdate%>
- <%end shippingdate%>
- & <%employee%>
- <%if warehouse%>
- & <%warehouse%>
- <%end warehouse%>
- & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}rlXrcll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} &
- \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> &
- <%qty%> & [\hspace{1cm}] & <%unit%> & <%bin%> \\
-<%end number%>
-\end{tabularx}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-}
-
-\end{document}
-
diff --git a/sql-ledger/templates/Service-pos_invoice.txt b/sql-ledger/templates/Service-pos_invoice.txt
deleted file mode 100644
index 9ec12f4..0000000
--- a/sql-ledger/templates/Service-pos_invoice.txt
+++ /dev/null
@@ -1,51 +0,0 @@
-<%company align=center width=40%>
-<%address align=center width=40%>
-
- Till: <%till align=left width=3%> Phone#: <%tel%>
-Clerk: <%username%>
-Sales: <%employee%>
-
-<%invtime%><%invnumber align=right width=16%>
-
- Qty Description Amount
-<%foreach number%>
-<%qty align=right width=5%> <%description align=left width=24 offset=6%> <%linetotal align=right width=9%>
- <%number%> @ <%sellprice%>/<%unit%>
-<%end number%>
-
-Number of items: <%rowcount%>
-<%if taxincluded%>
- ---------------
- Amount Due: <%invtotal align=right width=9%>
-<%end taxincluded%>
-<%if not taxincluded%>
- ------------
- Subtotal: <%subtotal align=right width=9%>
-<%end taxincluded%>
-<%foreach tax%>
-<%taxdescription align=right width=23%> @ <%taxrate align=right width=2%>%: <%tax align=right width=9%>
-<%end tax%>
- Amount Due: <%invtotal align=right width=9%>
-<%foreach payment%>
-<%paymentaccount align=right width=29%>: <%payment align=right width=9%> <%currency%>
-<%end payment%>
-<%if change%>
- Change: <%change align=right width=9%>
-<%end change%>
-<%if total%>
- Balance Due: <%total align=right width=9%>
-<%end total%>
-<%if discount%>
-
-<%discount%> % Discount applied
-<%end discount%>
-
- Thank you for your valued business!
-
-<%if taxincluded%>
-Taxes are included in price.
-<%end taxincluded%>
-
-
-
-
diff --git a/sql-ledger/templates/Service-purchase_order.html b/sql-ledger/templates/Service-purchase_order.html
deleted file mode 100644
index de5fd80..0000000
--- a/sql-ledger/templates/Service-purchase_order.html
+++ /dev/null
@@ -1,198 +0,0 @@
-
-<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><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
- </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><%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/Service-purchase_order.tex b/sql-ledger/templates/Service-purchase_order.tex
deleted file mode 100644
index 5195c20..0000000
--- a/sql-ledger/templates/Service-purchase_order.tex
+++ /dev/null
@@ -1,147 +0,0 @@
-\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 37%>
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\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
deleted file mode 100644
index 7f25a21..0000000
--- a/sql-ledger/templates/Service-receipt.tex
+++ /dev/null
@@ -1,78 +0,0 @@
-\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%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{1.8cm}
-
-<%memo%>
-
-\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}
-
-\vspace{1cm}
-
-<%memo%>
-
-\vfill
-
-\end{document}
diff --git a/sql-ledger/templates/Service-request_quotation.html b/sql-ledger/templates/Service-request_quotation.html
deleted file mode 100644
index a9a6f4f..0000000
--- a/sql-ledger/templates/Service-request_quotation.html
+++ /dev/null
@@ -1,202 +0,0 @@
-
-<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><img src=http://www.sql-ledger.org/images/sql-ledger.png border=0 width=64 height=58>
- </td>
-
- <td align=right>
- <h4>
- Tel: <%tel%>
- <br>Fax: <%fax%>
- </h4>
- </td>
- </tr>
-
- <tr>
- <th colspan=3>
- <h4>R E Q U E S T &nbsp;&nbsp; F O R &nbsp;&nbsp; Q U O T A T I O N</h4>
- </th>
- </tr>
-
- </table>
-
-
- <table width=100% callspacing=0 cellpadding=0>
-
- <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><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
-<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><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddr2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
-<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 colspan=2>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left>RFQ #</th>
- <th width=17% align=left>Date</th>
- <th width=17% align=left>Required by</th>
- <th width=17% align=left>Contact</th>
- <th width=17% align=left>Shipping Point</th>
- <th width=15% align=left>Ship via</th>
- </tr>
-
- <tr>
- <td><%quonumber%></td>
- <td><%quodate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height="10"></tr>
-
- <tr>
- <td>Please provide price and delivery time for the following items:</td>
- </tr>
-
- <tr height="10"></tr>
-
- <tr>
- <td>
- <table width=100%>
- <tr>
-<!-- <th align=right>No.</th> -->
- <th align=left>Number</th>
- <th align=left><font color=ffffff>Description</th>
- <th>Qt'y</th>
- <th>&nbsp;</th>
- <th>Delivery</th>
- <th>Unit Price</th>
- <th>Extended</th>
- </tr>
-
-<%foreach number%>
- <tr valign=top>
-<!-- <td align=right><%runningnumber%>.</td>
-other per line item variables available <%reqdate%>
-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>
-
- </tr>
-<%end number%>
-
- <tr>
- <td colspan=7><hr noshade></td>
- </tr>
-
- </table>
- </td>
- </tr>
-
-<tr>
- <td>
- <table width=100%>
-<%if notes%>
- <tr valign=top>
- <td>Notes</td>
- <td><%notes%></td>
- </tr>
-<%end notes%>
-
- </table>
- </td>
-</tr>
-
-<tr><td>&nbsp;</td></tr>
-
-<tr>
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=70%>&nbsp;</td>
-
- <td width=30%>
- X <hr noshade>
- </td>
- </tr>
- </table>
- </td>
-</tr>
-
-</table>
-
-</td>
-</tr>
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Service-request_quotation.tex b/sql-ledger/templates/Service-request_quotation.tex
deleted file mode 100644
index 4e9cfe0..0000000
--- a/sql-ledger/templates/Service-request_quotation.tex
+++ /dev/null
@@ -1,175 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 48%>
-\end{tabularx}
-
- \rule{\textwidth}{2pt}
-
- \hfill
- \begin{tabularx}{7cm}{Xr@{}}
- \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
- \end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}lXrlrr@{}}
- \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
- \textbf{Unit} & \textbf{Price} & \textbf{Extended} \\
- & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.45\textwidth}{
-\textbf{To}
-\vspace{0.7cm}
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-\vspace{0.2cm}
-<%end contact%>
-
-<%if vendorphone%>
-Tel: <%vendorphone%>
-<%end vendorphone%>
-
-<%if vendorfax%>
-Fax: <%vendorfax%>
-<%end vendorfax%>
-
-<%email%>
-}
-\parbox[t]{.45\textwidth}{
-\textbf{Ship To}
-\vspace{0.7cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-
-\vspace{0.3cm}
-
-<%if shiptocontact%>
-<%shiptocontact%>
-\vspace{0.2cm}
-<%end shiptocontact%>
-
-<%if shiptophone%>
-Tel: <%shiptophone%>
-<%end shiptophone%>
-
-<%if shiptofax%>
-Fax: <%shiptofax%>
-<%end shiptofax%>
-
-<%shiptoemail%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{R E Q U E S T for Q U O T A T I O N}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{RFQ \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex]
- \hline
- <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-Please provide price and delivery time for the following items:
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}lXrllrr@{}}
- \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & &
- \textbf{Delivery} & \textbf{Unit Price} & \textbf{Extended} \\
-<%foreach number%>
- <%number%> & <%description%> & <%qty%> & <%unit%> \\
-<%end number%>
-\end{tabularx}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\hfill
-
-<%notes%>
-
-}
-
-\end{document}
-
diff --git a/sql-ledger/templates/Service-sales_order.html b/sql-ledger/templates/Service-sales_order.html
deleted file mode 100644
index 8150db1..0000000
--- a/sql-ledger/templates/Service-sales_order.html
+++ /dev/null
@@ -1,202 +0,0 @@
-
-<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><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
-<%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
deleted file mode 100644
index aadfffa..0000000
--- a/sql-ledger/templates/Service-sales_order.tex
+++ /dev/null
@@ -1,146 +0,0 @@
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\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%> \\
-<%if reqdate%>
- \textbf{Required by} & <%reqdate%> \\
-<%end reqdate%>
- \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-sales_quotation.html b/sql-ledger/templates/Service-sales_quotation.html
deleted file mode 100644
index cc57a5c..0000000
--- a/sql-ledger/templates/Service-sales_quotation.html
+++ /dev/null
@@ -1,225 +0,0 @@
-
-<body bgcolor=ffffff>
-
-<table width=100%>
-<tr valign=bottom>
- <td width=10>&nbsp;</td>
- <td>
-
- <table width=100%>
- <tr valign=top>
- <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><td colspan=3>&nbsp;</td></tr>
-
- <tr>
- <th colspan=3>
- <h4>Q U O T A T I O N</h4>
- </th>
- </tr>
-
- </table>
-
- <table width=100% callspacing=0 cellpadding=0>
-
- <tr>
- <td>
- <table width=100%>
-
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
-
- <br>
- <%if contact%>
- <br>Attn: <%contact%>
- <%end contact%>
-
- <%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><td>&nbsp;</td></tr>
-
- <tr>
- <td colspan=2>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left nowrap>Number</th>
- <th width=17% align=left>Date</th>
- <th width=17% align=left>Valid until</th>
- <th width=17% align=left nowrap>Contact</th>
- <th width=17% align=left nowrap>Shipping Point</th>
- <th width=15% align=left nowrap>Ship via</th>
- </tr>
-
- <tr>
- <td><%quonumber%></td>
- <td><%quodate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</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>
-
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td align=right><%sellprice%></td>
- <td align=right><%discountrate%></td>
- <td align=right><%linetotal%></td>
- </tr>
-<%end number%>
-
- <tr>
- <td colspan=8><hr noshade></td>
- </tr>
-
- <tr>
-<%if taxincluded%>
- <th colspan=6 align=right>Total</th>
- <td colspan=2 align=right><%invtotal%></td>
-<%end taxincluded%>
-
-<%if not taxincluded%>
- <th colspan=6 align=right>Subtotal</th>
- <td colspan=2 align=right><%subtotal%></td>
-<%end taxincluded%>
- </tr>
-
-<%foreach tax%>
- <tr>
- <th colspan=6 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th>
- <td colspan=2 align=right><%tax%></td>
- </tr>
-<%end tax%>
-
- <tr>
- <td colspan=4>&nbsp;</td>
- <td colspan=4><hr noshade></td>
- </tr>
-
- <tr>
- <td colspan=4>&nbsp;
-<%if terms%>
- Terms Net <b><%terms%></b> days
-<%end terms%>
- </td>
- <th colspan=2 align=right>Total</th>
- <th colspan=2 align=right><%quototal%></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
- </td>
- </tr>
-
- </table>
- </td>
-</tr>
-
-<tr><td>&nbsp;</td></tr>
-
-<tr>
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=60%><font size=-3>
- Special order items are subject to a 10% cancellation fee.
- </font>
- </td>
- <td width=40%>
- X <hr noshade>
- </td>
- </tr>
- </table>
- </td>
-</tr>
-
-</table>
-
-</td>
-</tr>
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Service-sales_quotation.tex b/sql-ledger/templates/Service-sales_quotation.tex
deleted file mode 100644
index acc4870..0000000
--- a/sql-ledger/templates/Service-sales_quotation.tex
+++ /dev/null
@@ -1,157 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 48%>
-\end{tabular*}
-
- \rule{\textwidth}{2pt}
-
- \hfill
- \begin{tabularx}{7cm}{Xr@{}}
- \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
- \end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%quonumber%>}{<%company%>\hfill <%quonumber%>}
-
-\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%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.45\textwidth}{
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%contact%>
-
-\vspace{0.2cm}
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-
-\vspace{1cm}
-
-\textbf{Q U O T A T I O N}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{Quotation \#} & \textbf{Date} & \textbf{Valid until} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex]
- \hline
- <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\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%> & <%discountrate%> & <%linetotal%> \\
-<%end number%>
-\end{tabular*}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\vspace{0.2cm}
-
-\hfill
-\begin{tabularx}{7cm}{Xr@{}}
- Subtotal & <%subtotal%> \\
-<%foreach tax%>
- <%taxdescription%> on <%taxbase%> & <%tax%>\\
-<%end tax%>
- \hline
- Total & <%quototal%>\\
-\end{tabularx}
-
-\vspace{0.3cm}
-
-\hfill
- All prices in \textbf{<%currency%>}.
-
-\vspace{12pt}
-
-<%notes%>
-
-}
-
-\vfill
-
-\end{document}
-
-
diff --git a/sql-ledger/templates/Service-statement.html b/sql-ledger/templates/Service-statement.html
deleted file mode 100644
index 5e28850..0000000
--- a/sql-ledger/templates/Service-statement.html
+++ /dev/null
@@ -1,130 +0,0 @@
-
-<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><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <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 align=left>Order #</th>
-<!-- <th align=left>Notes</th> -->
- <th width=10%>Date</th>
- <th width=10%>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><%ordnumber%></td>
-<!-- <td><%notes%></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=8><hr size=1></td>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <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
deleted file mode 100644
index c927c5d..0000000
--- a/sql-ledger/templates/Service-statement.tex
+++ /dev/null
@@ -1,111 +0,0 @@
-\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
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{1.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{10.5cm}{
-
-<%name%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-}
-\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 \textbf{<%statementdate%>}
-
-\vspace{2cm}
-
-\begin{tabular*}{\textwidth}{@{}ll@{\extracolsep\fill}ccrrrr@{}}
- \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Due} &
- \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\
-<%foreach invnumber%>
- <%invnumber%> & <%ordnumber%> & <%invdate%> & <%duedate%> &
- <%c0%> & <%c30%> & <%c60%> & <%c90%> \\
-<%end invnumber%>
-\textbf{Subtotal} & & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%>
-\end{tabular*}
-\rule{\textwidth}{1pt}
-
-\vspace{0.5cm}
-
-\hfill
-\begin{tabularx}{7cm}{Xr@{}}
- \textbf{Total outstanding} & <%total%>
-\end{tabularx}
-
-\vfill
-
-Please make check payable to <%company%>
-
-\end{document}
-
diff --git a/sql-ledger/templates/Service-work_order.html b/sql-ledger/templates/Service-work_order.html
deleted file mode 100644
index 0732fe2..0000000
--- a/sql-ledger/templates/Service-work_order.html
+++ /dev/null
@@ -1,174 +0,0 @@
-
-<body bgcolor=ffffff>
-
-<table width=100%>
- <tr>
- <td width=10>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=bottom>
- <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>W O R K &nbsp;&nbsp; O R D E R</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <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><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%>
- <br><%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
- <%if contact%>
- <br>Attn: <%contact%>
- <%end contact%>
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
- <%if email%>
- <br><%email%>
- <%end email%>
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%>
- <br><%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
- <br>
- <%if shiptocontact%>
- <br><%shiptocontact%>
- <%end shiptocontact%>
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
- <%if shiptoemail%>
- <br><%shiptoemail%>
- <%end shiptoemail%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left nowrap>Order Number</th>
- <th width=17% align=left>Order Date</th>
- <th width=17% align=left>Required by</th>
- <th width=17% align=left nowrap>Salesperson</th>
- <th width=17% align=left nowrap>Shipping Point</th>
- <th width=15% align=left nowrap>Ship Via</th>
- </tr>
-
- <tr>
- <td><%ordnumber%></td>
- <td><%orddate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <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>Serial No.</th>
- </tr>
-
- <%foreach number%>
- <tr valign=top>
- <td align=right><%runningnumber%>.</td>
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td><%serialnumber%></td>
- </tr>
- <%end number%>
-
- <tr>
- <td colspan=6><hr noshade></td>
- </tr>
-
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <%if notes%>
- <td><%notes%></td>
- <%end notes%>
- </tr>
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Service-work_order.tex b/sql-ledger/templates/Service-work_order.tex
deleted file mode 100644
index cb6774d..0000000
--- a/sql-ledger/templates/Service-work_order.tex
+++ /dev/null
@@ -1,177 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{%
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5em]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 48%>
-\end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}rlXrll@{}}
- \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
- & \textbf{Serial Number} \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.45\textwidth}{
-\textbf{To}
-\vspace{0.7cm}
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-\vspace{0.2cm}
-<%end contact%>
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\parbox[t]{.45\textwidth}{
-\textbf{Ship To}
-\vspace{0.7cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-
-\vspace{0.3cm}
-
-<%if shiptocontact%>
-<%shiptocontact%>
-\vspace{0.2cm}
-<%end shiptocontact%>
-
-<%if shiptophone%>
-Tel: <%shiptophone%>
-<%end shiptophone%>
-
-<%if shiptofax%>
-Fax: <%shiptofax%>
-<%end shiptofax%>
-
-<%shiptoemail%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{W O R K} \parbox{0.3cm}{\hfill} \textbf{O R D E R}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship Via} \\ [0.5em]
- \hline
- <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}rlXrll@{}}
- \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
- & \textbf{Serial Number} \\
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> & <%qty%> &
- <%unit%> & <%serialnumber%> \\
-<%end number%>
-\end{tabularx}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\vspace{12pt}
-
-<%if notes%>
- <%notes%>
-<%end if%>
-
-}
-
-\vfill
-
-\vspace{1cm}
-
-\rule{\textwidth}{0.5pt}
-
-\end{document}
-
-
-
-
-
-
diff --git a/sql-ledger/templates/Spanish_A4-ap_transaction.html b/sql-ledger/templates/Spanish_A4-ap_transaction.html
deleted file mode 100644
index c7bae85..0000000
--- a/sql-ledger/templates/Spanish_A4-ap_transaction.html
+++ /dev/null
@@ -1,229 +0,0 @@
-
-<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>
- <hr noshade><br>
- <h4>A P - T R A N S A C T I O N</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
-
- <%if contact%>
- <br><%contact%>
- <br>
- <%end contact%>
-
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
-
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
-
- <%if email%>
- <br><%email%>
- <%end email%>
- </td>
-
- <td align=right>
- <table>
- <tr>
- <th align=left nowrap>Invoice #</th>
- <td><%invnumber%></td>
- </tr>
- <tr>
- <th align=left nowrap>Date</th>
- <td><%invdate%></td>
- </tr>
- <tr>
- <th align=left nowrap>Due</th>
- <td><%duedate%></td>
- </tr>
- <tr>
- <th align=left>Order #</th>
- <td><%ordnumber%>&nbsp;</td>
- </tr>
- <tr>
- <th align=left nowrap>Employee</th>
- <td><%employee%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=50%>
- <table>
- <%foreach account%>
- <tr valign=top>
- <td><%accno%></td>
- <td><%account%></td>
- <td align=right><%amount%></td>
- <td><%projectnumber%></td>
- </tr>
- <%end account%>
-
- <tr>
- <%if taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Subtotal</th>
- <td align=right><%subtotal%></td>
- <%end taxincluded%>
- </tr>
-
- <%foreach tax%>
- <tr>
- <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th>
- <td align=right><%tax%></td>
- </tr>
- <%end tax%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- </table>
- </td>
- <td width=50%>
- <%notes%>
- </td>
- </tr>
- </table>
- </td>
- <tr>
- <td>&nbsp;</td>
-
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <%text_amount%> ***** <%decimal%>/100 <%currency%>
- </td>
- </tr>
-
- <%if paid%>
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table>
- <tr>
- <th>Payments</th>
- </tr>
-
- <tr>
- <td>
- <hr noshade>
- </td>
- </tr>
-
- <tr>
- <td>
- <table>
- <tr>
- <th align=left>Date</th>
- <th align=left>Account</th>
- <th align=left>Source</th>
- <th align=left>Memo</th>
- <th align=left>Amount</th>
- </tr>
- <%end paid%>
-
- <%foreach payment%>
- <tr>
- <td><%paymentdate%></td>
- <td><%paymentaccount%></td>
- <td><%paymentsource%></td>
- <td><%paymentmemo%></td>
- <td><%payment%></td>
- </tr>
- <%end payment%>
-
- <%if paid%>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <%end paid%>
-
- <tr height=10></tr>
-
- <%if taxincluded%>
- <tr>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th>
- </tr>
- <%end taxincluded%>
-
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Spanish_A4-ap_transaction.tex b/sql-ledger/templates/Spanish_A4-ap_transaction.tex
deleted file mode 100644
index 8bfd9f7..0000000
--- a/sql-ledger/templates/Spanish_A4-ap_transaction.tex
+++ /dev/null
@@ -1,125 +0,0 @@
-\documentclass[10pt,letterpaper,oneside,onecolumn]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{%
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5em]{\textwidth}{0.5pt}
-}
-
-\centerline{\textbf{A P} \hspace{0.3cm} \textbf{T R A N S A C T I O N}}
-
-\vspace*{0.5cm}
-
-\parbox[t]{.5\textwidth}{
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-<%end contact%>
-
-\vspace{0.2cm}
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\hfill
-\begin{tabular}[t]{ll}
- \textbf{Invoice \#} & <%invnumber%> \\
- \textbf{Date} & <%invdate%> \\
- \textbf{Due} & <%duedate%> \\
- \textbf{Order \#} & <%ordnumber%> \\
- \textbf{Employee} & <%employee%> \\
-\end{tabular}
-
-\vspace{1cm}
-
-\begin{tabularx}{.5\textwidth}[t]{@{}llrl@{}}
-<%foreach amount%>
- <%accno%> & <%account%> & <%amount%> & <%projectnumber%> \\
-<%end amount%>
-
- \multicolumn{2}{r}{\textbf{Subtotal}} & <%subtotal%> & \\
-<%foreach tax%>
- \multicolumn{2}{r}{\textbf{<%taxdescription%> @ <%taxrate%> \%}} & <%tax%> & \\
-<%end tax%>
-
- \multicolumn{2}{r}{\textbf{Total}} & <%invtotal%> & \\
-
-\end{tabularx}
-<%notes%>
-
-\vspace{0.3cm}
-
-<%text_amount%> ***** <%decimal%>/100 <%currency%>
-
-\vspace{0.3cm}
-
-<%if paid%>
-\begin{tabular}{@{}llllr@{}}
- \multicolumn{5}{c}{\textbf{Payments}} \\
- \hline
- \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\
-<%end paid%>
-<%foreach payment%>
- <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%paymentmemo%> & <%payment%> \\
-<%end payment%>
-<%if paid%>
-\end{tabular}
-<%end paid%>
-
-\end{document}
-
diff --git a/sql-ledger/templates/Spanish_A4-ar_transaction.html b/sql-ledger/templates/Spanish_A4-ar_transaction.html
deleted file mode 100644
index dbd0a1c..0000000
--- a/sql-ledger/templates/Spanish_A4-ar_transaction.html
+++ /dev/null
@@ -1,237 +0,0 @@
-
-<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>
- <hr noshade><br>
- <h4>A R - T R A N S A C T I O N</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
-
- <%if contact%>
- <br><%contact%>
- <br>
- <%end contact%>
-
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
-
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
-
- <%if email%>
- <br><%email%>
- <%end email%>
- </td>
-
- <td align=right>
- <table>
- <tr>
- <th align=left nowrap>Invoice #</th>
- <td><%invnumber%></td>
- </tr>
- <tr>
- <th align=left nowrap>Date</th>
- <td><%invdate%></td>
- </tr>
- <tr>
- <th align=left nowrap>Due</th>
- <td><%duedate%></td>
- </tr>
- <tr>
- <th align=left>Order #</th>
- <td><%ordnumber%>&nbsp;</td>
- </tr>
- <tr>
- <th align=left nowrap>Salesperson</th>
- <td><%employee%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=50%>
- <table>
- <%foreach account%>
- <tr valign=top>
- <td><%accno%></td>
- <td><%account%></td>
- <td align=right><%amount%></td>
- <td><%projectnumber%></td>
- </tr>
- <%end account%>
-
- <tr>
- <%if taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Subtotal</th>
- <td align=right><%subtotal%></td>
- <%end taxincluded%>
- </tr>
-
- <%foreach tax%>
- <tr>
- <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th>
- <td align=right><%tax%></td>
- </tr>
- <%end tax%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- </table>
- </td>
- <td width=50%>
- <%notes%>
- </td>
- </tr>
- </table>
- </td>
- <tr>
- <td>&nbsp;</td>
-
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <%text_amount%> ***** <%decimal%>/100 <%currency%>
- </td>
- </tr>
-
- <%if paid%>
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table>
- <tr>
- <th>Payments</th>
- </tr>
-
- <tr>
- <td>
- <hr noshade>
- </td>
- </tr>
-
- <tr>
- <td>
- <table>
- <tr>
- <th align=left>Date</th>
- <th align=left>Account</th>
- <th align=left>Source</th>
- <th align=left>Memo</th>
- <th align=left>Amount</th>
- </tr>
- <%end paid%>
-
- <%foreach payment%>
- <tr>
- <td><%paymentdate%></td>
- <td><%paymentaccount%></td>
- <td><%paymentsource%></td>
- <td><%paymentmemo%></td>
- <td><%payment%></td>
- </tr>
- <%end payment%>
-
- <%if paid%>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <%end paid%>
-
- <tr height=10></tr>
-
- <%foreach tax%>
- <tr>
- <td>&nbsp;</td>
-
- <th colspan=9 align=left><font size=-2><%taxdescription%> Registration <%taxnumber%></th>
- </tr>
- <%end tax%>
-
- <%if taxincluded%>
- <tr>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th>
- </tr>
- <%end taxincluded%>
-
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Spanish_A4-ar_transaction.tex b/sql-ledger/templates/Spanish_A4-ar_transaction.tex
deleted file mode 100644
index 654d2b9..0000000
--- a/sql-ledger/templates/Spanish_A4-ar_transaction.tex
+++ /dev/null
@@ -1,131 +0,0 @@
-\documentclass[10pt,letterpaper,oneside,onecolumn]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{%
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5em]{\textwidth}{0.5pt}
-}
-
-\centerline{\textbf{A R} \hspace{0.3cm} \textbf{T R A N S A C T I O N}}
-
-\vspace*{0.5cm}
-
-\parbox[t]{.5\textwidth}{
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-<%end contact%>
-
-\vspace{0.2cm}
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\hfill
-\begin{tabular}[t]{ll}
- \textbf{Invoice \#} & <%invnumber%> \\
- \textbf{Date} & <%invdate%> \\
- \textbf{Due} & <%duedate%> \\
- \textbf{Order \#} & <%ordnumber%> \\
- \textbf{Employee} & <%employee%> \\
-\end{tabular}
-
-\vspace{1cm}
-
-\begin{tabularx}{.5\textwidth}[t]{@{}llrl@{}}
-<%foreach amount%>
- <%accno%> & <%account%> & <%amount%> & <%projectnumber%> \\
-<%end amount%>
-
- \multicolumn{2}{r}{\textbf{Subtotal}} & <%subtotal%> & \\
-<%foreach tax%>
- \multicolumn{2}{r}{\textbf{<%taxdescription%> @ <%taxrate%> \%}} & <%tax%> & \\
-<%end tax%>
-
- \multicolumn{2}{r}{\textbf{Total}} & <%invtotal%> & \\
-
-\end{tabularx}
-<%notes%>
-
-\vspace{0.3cm}
-
-<%text_amount%> ***** <%decimal%>/100 <%currency%>
-
-\vspace{0.3cm}
-
-<%if paid%>
-\begin{tabular}{@{}llllr@{}}
- \multicolumn{5}{c}{\textbf{Payments}} \\
- \hline
- \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\
-<%end paid%>
-<%foreach payment%>
- <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%paymentmemo%> & <%payment%> \\
-<%end payment%>
-<%if paid%>
-\end{tabular}
-<%end paid%>
-
-\vspace{0.5cm}
-
-<%foreach tax%>
-\textbf{\small{<%taxdescription%> Registration <%taxnumber%>}} \\
-<%end tax%>
-
-\end{document}
-
diff --git a/sql-ledger/templates/Spanish_A4-balance_sheet.html b/sql-ledger/templates/Spanish_A4-balance_sheet.html
deleted file mode 100644
index aef74d0..0000000
--- a/sql-ledger/templates/Spanish_A4-balance_sheet.html
+++ /dev/null
@@ -1,100 +0,0 @@
-<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-bin_list.html b/sql-ledger/templates/Spanish_A4-bin_list.html
deleted file mode 100644
index c945421..0000000
--- a/sql-ledger/templates/Spanish_A4-bin_list.html
+++ /dev/null
@@ -1,189 +0,0 @@
-
-<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>
-
- <th align=right>
- <h4>
- Tel: <%tel%>
- <br>Fax: <%fax%>
- </h4>
- </td>
- </tr>
-
- <tr>
- <th colspan=3>
- <h4>B I N &nbsp;&nbsp; L I S T</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% cellspacing=0 cellpadding=0>
- <tr bgcolor=000000>
- <th align=left width=50%><font color=ffffff>From</th>
- <th align=left width=50%><font color=ffffff>Ship To</th>
- </tr>
-
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
-
- <%if contact%>
- <br>Attn: <%contact%>
- <%end contact%>
-
- <%if vendorphone%>
- <br>Tel: <%vendorphone%>
- <%end vendorphone%>
-
- <%if vendorfax%>
- <br>Fax: <%vendorfax%>
- <%end vendorfax%>
-
- <%if email%>
- <br><%email%>
- <%end email%>
-
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
-
- <br>
- <%if shiptocontact%>
- <br>Attn: <%shiptocontact%>
- <%end shiptocontact%>
-
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
-
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left nowrap>Order #</th>
- <th width=17% align=left nowrap>Date</th>
- <th width=17% align=left nowrap>Contact</th>
- <%if warehouse%>
- <th width=17% align=left nowrap>Warehouse</th>
- <%end warehouse%>
- <th width=17% align=left>Shipping Point</th>
- <th width=15% align=left>Ship via</th>
- </tr>
-
- <tr>
- <td><%ordnumber%>&nbsp;</td>
-
- <%if shippingdate%>
- <td><%shippingdate%></td>
- <%end shippingdate%>
-
- <%if not shippingdate%>
- <td><%orddate%></td>
- <%end shippingdate%>
-
- <td><%employee%>&nbsp;</td>
-
- <%if warehouse%>
- <td><%warehouse%></td>
- <%end warehouse%>
-
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr bgcolor=000000>
- <th align=left><font color=ffffff>Pos</th>
- <th align=left><font color=ffffff>Number</th>
- <th align=left><font color=ffffff>Description</th>
- <th><font color=ffffff>Serialnumber</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Qty</th>
- <th><font color=ffffff>Recd</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Bin</th>
- </tr>
-
- <%foreach number%>
- <tr valign=top>
- <td><%runningnumber%></td>
- <td><%number%></td>
- <td><%description%></td>
- <td><%serialnumber%></td>
- <td><%deliverydate%></td>
- <td align=right><%qty%></td>
- <td align=right><%ship%></td>
- <td><%unit%></td>
- <td><%bin%></td>
- </tr>
- <%end number%>
-
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td><hr noshade></td>
- </tr>
-
-</table>
-
diff --git a/sql-ledger/templates/Spanish_A4-bin_list.tex b/sql-ledger/templates/Spanish_A4-bin_list.tex
deleted file mode 100644
index 034fd72..0000000
--- a/sql-ledger/templates/Spanish_A4-bin_list.tex
+++ /dev/null
@@ -1,147 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 37%>
-\end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}rlXllrrll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.5\textwidth}{
-\textbf{From}
-\vspace{0.7cm}
-
-<%name%>
-
-<%address1%>
-
-<%if %address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country4%>
-<%end country%>
-}
-\parbox[t]{.4\textwidth}{
-\textbf{Ship To}
-\vspace{0.7cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%if shiptoaddress2%>
-<%shiptoaddress2%>
-<%end shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{B I N} \parbox{0.3cm}{\hfill} \textbf{L I S T}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{Order \#} & \textbf{Date} & \textbf{Contact}
- <%if warehouse%>
- & \textbf{Warehouse}
- <%end warehouse%>
- & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em]
- \hline
-
- <%ordnumber%>
- <%if shippingdate%>
- & <%shippingdate%>
- <%end shippingdate%>
- <%if not shippingdate%>
- & <%orddate%>
- <%end shippingdate%>
- & <%employee%>
- <%if warehouse%>
- & <%warehouse%>
- <%end warehouse%>
- & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}rlXllrrll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\
-
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> &
- <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> & <%bin%> \\
-<%end number%>
-\end{tabularx}
-
-
-\rule{\textwidth}{2pt}
-
-\end{document}
-
diff --git a/sql-ledger/templates/Spanish_A4-check.tex b/sql-ledger/templates/Spanish_A4-check.tex
deleted file mode 100644
index 4e7cfc6..0000000
--- a/sql-ledger/templates/Spanish_A4-check.tex
+++ /dev/null
@@ -1,75 +0,0 @@
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\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
deleted file mode 100644
index fbb5653..0000000
--- a/sql-ledger/templates/Spanish_A4-income_statement.html
+++ /dev/null
@@ -1,77 +0,0 @@
-<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
deleted file mode 100644
index f551574..0000000
--- a/sql-ledger/templates/Spanish_A4-invoice.html
+++ /dev/null
@@ -1,153 +0,0 @@
-<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><%address1%></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><%city%> <%state%> <%zipcode%></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
deleted file mode 100644
index 24b55bf..0000000
--- a/sql-ledger/templates/Spanish_A4-invoice.tex
+++ /dev/null
@@ -1,108 +0,0 @@
-\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}
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-\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 37%>
-\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_A4-packing_list.html b/sql-ledger/templates/Spanish_A4-packing_list.html
deleted file mode 100644
index 82cba4f..0000000
--- a/sql-ledger/templates/Spanish_A4-packing_list.html
+++ /dev/null
@@ -1,155 +0,0 @@
-<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><%address1%></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><%city%> <%state%> <%zipcode%></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
deleted file mode 100644
index 979e14a..0000000
--- a/sql-ledger/templates/Spanish_A4-packing_list.tex
+++ /dev/null
@@ -1,108 +0,0 @@
-\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%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-\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 37%>
-\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_A4-pick_list.html b/sql-ledger/templates/Spanish_A4-pick_list.html
deleted file mode 100644
index 7548560..0000000
--- a/sql-ledger/templates/Spanish_A4-pick_list.html
+++ /dev/null
@@ -1,153 +0,0 @@
-
-<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>P I C K &nbsp;&nbsp; L I S T</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <tr bgcolor=000000>
- <th width=50% align=left><font color=ffffff>Ship To:</th>
- <th width=50%>&nbsp;</th>
- </tr>
-
- <tr valign=top>
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
- </td>
-
- <td>
- <%if shiptocontact%>
- <br>Attn: <%shiptocontact%>
- <%end shiptocontact%>
-
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
-
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
-
- <%shiptoemail%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% border=1>
- <tr>
- <th width=15% align=left>Invoice #</th>
- <th width=15% align=left>Order #</th>
- <th width=10% align=left>Date</th>
- <th width=15% align=left nowrap>Contact</th>
- <th width=15% align=left>Warehouse</th>
- <th width=10% align=left>Shipping Point</th>
- <th width=10% align=left>Ship via</th>
- </tr>
-
- <tr>
- <td><%invnumber%>&nbsp;</td>
- <td><%ordnumber%>&nbsp;</td>
- <%if shippingdate%>
- <td><%shippingdate%></td>
- <%end shippingdate%>
-
- <%if not shippingdate%>
- <td><%transdate%></td>
- <%end shippingdate%>
-
- <td><%employee%>&nbsp;</td>
- <td><%warehouse%>&nbsp;</td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr bgcolor=000000>
- <th align=left><font color=ffffff>Pos</th>
- <th align=left><font color=ffffff>Number</th>
- <th align=left><font color=ffffff>Description</th>
- <th><font color=ffffff>Qty</th>
- <th><font color=ffffff>Ship</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Bin</th>
- </tr>
-
- <%foreach number%>
- <tr valign=top>
- <td><%runningnumber%>
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td align=right>[&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]</td>
- <td><%unit%></td>
- <td align=right><%bin%></td>
- </tr>
- <%end number%>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td><hr noshade></td>
- </tr>
-
-</table>
-
diff --git a/sql-ledger/templates/Spanish_A4-pick_list.tex b/sql-ledger/templates/Spanish_A4-pick_list.tex
deleted file mode 100644
index c737f6a..0000000
--- a/sql-ledger/templates/Spanish_A4-pick_list.tex
+++ /dev/null
@@ -1,144 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 37%>
-\end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}rlXrcll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} &
- \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\
-
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.5\textwidth}{
- \textbf{Ship To}
-} \hfill
-
-\vspace{0.7cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.5\textwidth}{
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-}
-\parbox[t]{.4\textwidth}{
- <%shiptocontact%>
-
- <%if shiptophone%>
- Tel: <%shiptophone%>
- <%end shiptophone%>
-
- <%if shiptofax%>
- Fax: <%shiptofax%>
- <%end shiptofax%>
-
- <%shiptoemail%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{P I C K} \parbox{0.3cm}{\hfill} \textbf{L I S T}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{7}{|X}|} \hline
- \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact}
- & \textbf{Warehouse} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em]
- \hline
- <%invnumber%> & <%ordnumber%>
- <%if shippingdate%>
- & <%shippingdate%>
- <%end shippingdate%>
- <%if not shippingdate%>
- & <%transdate%>
- <%end shippingdate%>
- & <%employee%>
- <%if warehouse%>
- & <%warehouse%>
- <%end warehouse%>
- & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}rlXrcll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} &
- \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> &
- <%qty%> & [\hspace{1cm}] & <%unit%> & <%bin%> \\
-<%end number%>
-\end{tabularx}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-}
-
-\end{document}
-
diff --git a/sql-ledger/templates/Spanish_A4-pos_invoice.txt b/sql-ledger/templates/Spanish_A4-pos_invoice.txt
deleted file mode 100644
index 9ec12f4..0000000
--- a/sql-ledger/templates/Spanish_A4-pos_invoice.txt
+++ /dev/null
@@ -1,51 +0,0 @@
-<%company align=center width=40%>
-<%address align=center width=40%>
-
- Till: <%till align=left width=3%> Phone#: <%tel%>
-Clerk: <%username%>
-Sales: <%employee%>
-
-<%invtime%><%invnumber align=right width=16%>
-
- Qty Description Amount
-<%foreach number%>
-<%qty align=right width=5%> <%description align=left width=24 offset=6%> <%linetotal align=right width=9%>
- <%number%> @ <%sellprice%>/<%unit%>
-<%end number%>
-
-Number of items: <%rowcount%>
-<%if taxincluded%>
- ---------------
- Amount Due: <%invtotal align=right width=9%>
-<%end taxincluded%>
-<%if not taxincluded%>
- ------------
- Subtotal: <%subtotal align=right width=9%>
-<%end taxincluded%>
-<%foreach tax%>
-<%taxdescription align=right width=23%> @ <%taxrate align=right width=2%>%: <%tax align=right width=9%>
-<%end tax%>
- Amount Due: <%invtotal align=right width=9%>
-<%foreach payment%>
-<%paymentaccount align=right width=29%>: <%payment align=right width=9%> <%currency%>
-<%end payment%>
-<%if change%>
- Change: <%change align=right width=9%>
-<%end change%>
-<%if total%>
- Balance Due: <%total align=right width=9%>
-<%end total%>
-<%if discount%>
-
-<%discount%> % Discount applied
-<%end discount%>
-
- Thank you for your valued business!
-
-<%if taxincluded%>
-Taxes are included in price.
-<%end taxincluded%>
-
-
-
-
diff --git a/sql-ledger/templates/Spanish_A4-purchase_order.html b/sql-ledger/templates/Spanish_A4-purchase_order.html
deleted file mode 100644
index 493fd37..0000000
--- a/sql-ledger/templates/Spanish_A4-purchase_order.html
+++ /dev/null
@@ -1,153 +0,0 @@
-<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><%address1%></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><%city%> <%state%> <%zipcode%></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
deleted file mode 100644
index df9ade1..0000000
--- a/sql-ledger/templates/Spanish_A4-purchase_order.tex
+++ /dev/null
@@ -1,111 +0,0 @@
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-\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 37%>
-\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
deleted file mode 100644
index 4e7cfc6..0000000
--- a/sql-ledger/templates/Spanish_A4-receipt.tex
+++ /dev/null
@@ -1,75 +0,0 @@
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\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-request_quotation.html b/sql-ledger/templates/Spanish_A4-request_quotation.html
deleted file mode 100644
index a9a6f4f..0000000
--- a/sql-ledger/templates/Spanish_A4-request_quotation.html
+++ /dev/null
@@ -1,202 +0,0 @@
-
-<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><img src=http://www.sql-ledger.org/images/sql-ledger.png border=0 width=64 height=58>
- </td>
-
- <td align=right>
- <h4>
- Tel: <%tel%>
- <br>Fax: <%fax%>
- </h4>
- </td>
- </tr>
-
- <tr>
- <th colspan=3>
- <h4>R E Q U E S T &nbsp;&nbsp; F O R &nbsp;&nbsp; Q U O T A T I O N</h4>
- </th>
- </tr>
-
- </table>
-
-
- <table width=100% callspacing=0 cellpadding=0>
-
- <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><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
-<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><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddr2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
-<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 colspan=2>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left>RFQ #</th>
- <th width=17% align=left>Date</th>
- <th width=17% align=left>Required by</th>
- <th width=17% align=left>Contact</th>
- <th width=17% align=left>Shipping Point</th>
- <th width=15% align=left>Ship via</th>
- </tr>
-
- <tr>
- <td><%quonumber%></td>
- <td><%quodate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height="10"></tr>
-
- <tr>
- <td>Please provide price and delivery time for the following items:</td>
- </tr>
-
- <tr height="10"></tr>
-
- <tr>
- <td>
- <table width=100%>
- <tr>
-<!-- <th align=right>No.</th> -->
- <th align=left>Number</th>
- <th align=left><font color=ffffff>Description</th>
- <th>Qt'y</th>
- <th>&nbsp;</th>
- <th>Delivery</th>
- <th>Unit Price</th>
- <th>Extended</th>
- </tr>
-
-<%foreach number%>
- <tr valign=top>
-<!-- <td align=right><%runningnumber%>.</td>
-other per line item variables available <%reqdate%>
-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>
-
- </tr>
-<%end number%>
-
- <tr>
- <td colspan=7><hr noshade></td>
- </tr>
-
- </table>
- </td>
- </tr>
-
-<tr>
- <td>
- <table width=100%>
-<%if notes%>
- <tr valign=top>
- <td>Notes</td>
- <td><%notes%></td>
- </tr>
-<%end notes%>
-
- </table>
- </td>
-</tr>
-
-<tr><td>&nbsp;</td></tr>
-
-<tr>
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=70%>&nbsp;</td>
-
- <td width=30%>
- X <hr noshade>
- </td>
- </tr>
- </table>
- </td>
-</tr>
-
-</table>
-
-</td>
-</tr>
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Spanish_A4-request_quotation.tex b/sql-ledger/templates/Spanish_A4-request_quotation.tex
deleted file mode 100644
index 4e9cfe0..0000000
--- a/sql-ledger/templates/Spanish_A4-request_quotation.tex
+++ /dev/null
@@ -1,175 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 48%>
-\end{tabularx}
-
- \rule{\textwidth}{2pt}
-
- \hfill
- \begin{tabularx}{7cm}{Xr@{}}
- \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
- \end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}lXrlrr@{}}
- \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
- \textbf{Unit} & \textbf{Price} & \textbf{Extended} \\
- & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.45\textwidth}{
-\textbf{To}
-\vspace{0.7cm}
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-\vspace{0.2cm}
-<%end contact%>
-
-<%if vendorphone%>
-Tel: <%vendorphone%>
-<%end vendorphone%>
-
-<%if vendorfax%>
-Fax: <%vendorfax%>
-<%end vendorfax%>
-
-<%email%>
-}
-\parbox[t]{.45\textwidth}{
-\textbf{Ship To}
-\vspace{0.7cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-
-\vspace{0.3cm}
-
-<%if shiptocontact%>
-<%shiptocontact%>
-\vspace{0.2cm}
-<%end shiptocontact%>
-
-<%if shiptophone%>
-Tel: <%shiptophone%>
-<%end shiptophone%>
-
-<%if shiptofax%>
-Fax: <%shiptofax%>
-<%end shiptofax%>
-
-<%shiptoemail%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{R E Q U E S T for Q U O T A T I O N}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{RFQ \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex]
- \hline
- <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-Please provide price and delivery time for the following items:
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}lXrllrr@{}}
- \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & &
- \textbf{Delivery} & \textbf{Unit Price} & \textbf{Extended} \\
-<%foreach number%>
- <%number%> & <%description%> & <%qty%> & <%unit%> \\
-<%end number%>
-\end{tabularx}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\hfill
-
-<%notes%>
-
-}
-
-\end{document}
-
diff --git a/sql-ledger/templates/Spanish_A4-sales_order.html b/sql-ledger/templates/Spanish_A4-sales_order.html
deleted file mode 100644
index a3cdfc7..0000000
--- a/sql-ledger/templates/Spanish_A4-sales_order.html
+++ /dev/null
@@ -1,153 +0,0 @@
-<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><%address1%></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><%city%> <%state%> <%zipcode%></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
deleted file mode 100644
index 2ce9007..0000000
--- a/sql-ledger/templates/Spanish_A4-sales_order.tex
+++ /dev/null
@@ -1,107 +0,0 @@
-\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%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-\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 37%>
-\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_A4-sales_quotation.html b/sql-ledger/templates/Spanish_A4-sales_quotation.html
deleted file mode 100644
index cc57a5c..0000000
--- a/sql-ledger/templates/Spanish_A4-sales_quotation.html
+++ /dev/null
@@ -1,225 +0,0 @@
-
-<body bgcolor=ffffff>
-
-<table width=100%>
-<tr valign=bottom>
- <td width=10>&nbsp;</td>
- <td>
-
- <table width=100%>
- <tr valign=top>
- <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><td colspan=3>&nbsp;</td></tr>
-
- <tr>
- <th colspan=3>
- <h4>Q U O T A T I O N</h4>
- </th>
- </tr>
-
- </table>
-
- <table width=100% callspacing=0 cellpadding=0>
-
- <tr>
- <td>
- <table width=100%>
-
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
-
- <br>
- <%if contact%>
- <br>Attn: <%contact%>
- <%end contact%>
-
- <%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><td>&nbsp;</td></tr>
-
- <tr>
- <td colspan=2>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left nowrap>Number</th>
- <th width=17% align=left>Date</th>
- <th width=17% align=left>Valid until</th>
- <th width=17% align=left nowrap>Contact</th>
- <th width=17% align=left nowrap>Shipping Point</th>
- <th width=15% align=left nowrap>Ship via</th>
- </tr>
-
- <tr>
- <td><%quonumber%></td>
- <td><%quodate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</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>
-
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td align=right><%sellprice%></td>
- <td align=right><%discountrate%></td>
- <td align=right><%linetotal%></td>
- </tr>
-<%end number%>
-
- <tr>
- <td colspan=8><hr noshade></td>
- </tr>
-
- <tr>
-<%if taxincluded%>
- <th colspan=6 align=right>Total</th>
- <td colspan=2 align=right><%invtotal%></td>
-<%end taxincluded%>
-
-<%if not taxincluded%>
- <th colspan=6 align=right>Subtotal</th>
- <td colspan=2 align=right><%subtotal%></td>
-<%end taxincluded%>
- </tr>
-
-<%foreach tax%>
- <tr>
- <th colspan=6 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th>
- <td colspan=2 align=right><%tax%></td>
- </tr>
-<%end tax%>
-
- <tr>
- <td colspan=4>&nbsp;</td>
- <td colspan=4><hr noshade></td>
- </tr>
-
- <tr>
- <td colspan=4>&nbsp;
-<%if terms%>
- Terms Net <b><%terms%></b> days
-<%end terms%>
- </td>
- <th colspan=2 align=right>Total</th>
- <th colspan=2 align=right><%quototal%></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
- </td>
- </tr>
-
- </table>
- </td>
-</tr>
-
-<tr><td>&nbsp;</td></tr>
-
-<tr>
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=60%><font size=-3>
- Special order items are subject to a 10% cancellation fee.
- </font>
- </td>
- <td width=40%>
- X <hr noshade>
- </td>
- </tr>
- </table>
- </td>
-</tr>
-
-</table>
-
-</td>
-</tr>
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Spanish_A4-sales_quotation.tex b/sql-ledger/templates/Spanish_A4-sales_quotation.tex
deleted file mode 100644
index acc4870..0000000
--- a/sql-ledger/templates/Spanish_A4-sales_quotation.tex
+++ /dev/null
@@ -1,157 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 48%>
-\end{tabular*}
-
- \rule{\textwidth}{2pt}
-
- \hfill
- \begin{tabularx}{7cm}{Xr@{}}
- \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
- \end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%quonumber%>}{<%company%>\hfill <%quonumber%>}
-
-\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%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.45\textwidth}{
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%contact%>
-
-\vspace{0.2cm}
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-
-\vspace{1cm}
-
-\textbf{Q U O T A T I O N}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{Quotation \#} & \textbf{Date} & \textbf{Valid until} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex]
- \hline
- <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\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%> & <%discountrate%> & <%linetotal%> \\
-<%end number%>
-\end{tabular*}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\vspace{0.2cm}
-
-\hfill
-\begin{tabularx}{7cm}{Xr@{}}
- Subtotal & <%subtotal%> \\
-<%foreach tax%>
- <%taxdescription%> on <%taxbase%> & <%tax%>\\
-<%end tax%>
- \hline
- Total & <%quototal%>\\
-\end{tabularx}
-
-\vspace{0.3cm}
-
-\hfill
- All prices in \textbf{<%currency%>}.
-
-\vspace{12pt}
-
-<%notes%>
-
-}
-
-\vfill
-
-\end{document}
-
-
diff --git a/sql-ledger/templates/Spanish_A4-statement.html b/sql-ledger/templates/Spanish_A4-statement.html
deleted file mode 100644
index a5efdf0..0000000
--- a/sql-ledger/templates/Spanish_A4-statement.html
+++ /dev/null
@@ -1,125 +0,0 @@
-
-<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><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
- <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
deleted file mode 100644
index e33c23c..0000000
--- a/sql-ledger/templates/Spanish_A4-statement.tex
+++ /dev/null
@@ -1,111 +0,0 @@
-\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
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{1.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{10.5cm}{
-
-<%name%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-}
-\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 \textbf{<%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{0.5cm}
-
-\hfill
-\begin{tabularx}{7cm}{Xr@{}}
- \textbf{Total outstanding} & <%total%>
-\end{tabularx}
-
-\vfill
-
-Please make check payable to <%company%>
-
-\end{document}
-
diff --git a/sql-ledger/templates/Spanish_A4-work_order.html b/sql-ledger/templates/Spanish_A4-work_order.html
deleted file mode 100644
index 0732fe2..0000000
--- a/sql-ledger/templates/Spanish_A4-work_order.html
+++ /dev/null
@@ -1,174 +0,0 @@
-
-<body bgcolor=ffffff>
-
-<table width=100%>
- <tr>
- <td width=10>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=bottom>
- <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>W O R K &nbsp;&nbsp; O R D E R</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <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><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%>
- <br><%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
- <%if contact%>
- <br>Attn: <%contact%>
- <%end contact%>
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
- <%if email%>
- <br><%email%>
- <%end email%>
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%>
- <br><%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
- <br>
- <%if shiptocontact%>
- <br><%shiptocontact%>
- <%end shiptocontact%>
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
- <%if shiptoemail%>
- <br><%shiptoemail%>
- <%end shiptoemail%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left nowrap>Order Number</th>
- <th width=17% align=left>Order Date</th>
- <th width=17% align=left>Required by</th>
- <th width=17% align=left nowrap>Salesperson</th>
- <th width=17% align=left nowrap>Shipping Point</th>
- <th width=15% align=left nowrap>Ship Via</th>
- </tr>
-
- <tr>
- <td><%ordnumber%></td>
- <td><%orddate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <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>Serial No.</th>
- </tr>
-
- <%foreach number%>
- <tr valign=top>
- <td align=right><%runningnumber%>.</td>
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td><%serialnumber%></td>
- </tr>
- <%end number%>
-
- <tr>
- <td colspan=6><hr noshade></td>
- </tr>
-
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <%if notes%>
- <td><%notes%></td>
- <%end notes%>
- </tr>
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Spanish_A4-work_order.tex b/sql-ledger/templates/Spanish_A4-work_order.tex
deleted file mode 100644
index cb6774d..0000000
--- a/sql-ledger/templates/Spanish_A4-work_order.tex
+++ /dev/null
@@ -1,177 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{%
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5em]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 48%>
-\end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}rlXrll@{}}
- \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
- & \textbf{Serial Number} \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.45\textwidth}{
-\textbf{To}
-\vspace{0.7cm}
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-\vspace{0.2cm}
-<%end contact%>
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\parbox[t]{.45\textwidth}{
-\textbf{Ship To}
-\vspace{0.7cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-
-\vspace{0.3cm}
-
-<%if shiptocontact%>
-<%shiptocontact%>
-\vspace{0.2cm}
-<%end shiptocontact%>
-
-<%if shiptophone%>
-Tel: <%shiptophone%>
-<%end shiptophone%>
-
-<%if shiptofax%>
-Fax: <%shiptofax%>
-<%end shiptofax%>
-
-<%shiptoemail%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{W O R K} \parbox{0.3cm}{\hfill} \textbf{O R D E R}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship Via} \\ [0.5em]
- \hline
- <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}rlXrll@{}}
- \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
- & \textbf{Serial Number} \\
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> & <%qty%> &
- <%unit%> & <%serialnumber%> \\
-<%end number%>
-\end{tabularx}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\vspace{12pt}
-
-<%if notes%>
- <%notes%>
-<%end if%>
-
-}
-
-\vfill
-
-\vspace{1cm}
-
-\rule{\textwidth}{0.5pt}
-
-\end{document}
-
-
-
-
-
-
diff --git a/sql-ledger/templates/Spanish_Letter-ap_transaction.html b/sql-ledger/templates/Spanish_Letter-ap_transaction.html
deleted file mode 100644
index c7bae85..0000000
--- a/sql-ledger/templates/Spanish_Letter-ap_transaction.html
+++ /dev/null
@@ -1,229 +0,0 @@
-
-<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>
- <hr noshade><br>
- <h4>A P - T R A N S A C T I O N</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
-
- <%if contact%>
- <br><%contact%>
- <br>
- <%end contact%>
-
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
-
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
-
- <%if email%>
- <br><%email%>
- <%end email%>
- </td>
-
- <td align=right>
- <table>
- <tr>
- <th align=left nowrap>Invoice #</th>
- <td><%invnumber%></td>
- </tr>
- <tr>
- <th align=left nowrap>Date</th>
- <td><%invdate%></td>
- </tr>
- <tr>
- <th align=left nowrap>Due</th>
- <td><%duedate%></td>
- </tr>
- <tr>
- <th align=left>Order #</th>
- <td><%ordnumber%>&nbsp;</td>
- </tr>
- <tr>
- <th align=left nowrap>Employee</th>
- <td><%employee%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=50%>
- <table>
- <%foreach account%>
- <tr valign=top>
- <td><%accno%></td>
- <td><%account%></td>
- <td align=right><%amount%></td>
- <td><%projectnumber%></td>
- </tr>
- <%end account%>
-
- <tr>
- <%if taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Subtotal</th>
- <td align=right><%subtotal%></td>
- <%end taxincluded%>
- </tr>
-
- <%foreach tax%>
- <tr>
- <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th>
- <td align=right><%tax%></td>
- </tr>
- <%end tax%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- </table>
- </td>
- <td width=50%>
- <%notes%>
- </td>
- </tr>
- </table>
- </td>
- <tr>
- <td>&nbsp;</td>
-
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <%text_amount%> ***** <%decimal%>/100 <%currency%>
- </td>
- </tr>
-
- <%if paid%>
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table>
- <tr>
- <th>Payments</th>
- </tr>
-
- <tr>
- <td>
- <hr noshade>
- </td>
- </tr>
-
- <tr>
- <td>
- <table>
- <tr>
- <th align=left>Date</th>
- <th align=left>Account</th>
- <th align=left>Source</th>
- <th align=left>Memo</th>
- <th align=left>Amount</th>
- </tr>
- <%end paid%>
-
- <%foreach payment%>
- <tr>
- <td><%paymentdate%></td>
- <td><%paymentaccount%></td>
- <td><%paymentsource%></td>
- <td><%paymentmemo%></td>
- <td><%payment%></td>
- </tr>
- <%end payment%>
-
- <%if paid%>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <%end paid%>
-
- <tr height=10></tr>
-
- <%if taxincluded%>
- <tr>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th>
- </tr>
- <%end taxincluded%>
-
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Spanish_Letter-ap_transaction.tex b/sql-ledger/templates/Spanish_Letter-ap_transaction.tex
deleted file mode 100644
index 8bfd9f7..0000000
--- a/sql-ledger/templates/Spanish_Letter-ap_transaction.tex
+++ /dev/null
@@ -1,125 +0,0 @@
-\documentclass[10pt,letterpaper,oneside,onecolumn]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{%
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5em]{\textwidth}{0.5pt}
-}
-
-\centerline{\textbf{A P} \hspace{0.3cm} \textbf{T R A N S A C T I O N}}
-
-\vspace*{0.5cm}
-
-\parbox[t]{.5\textwidth}{
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-<%end contact%>
-
-\vspace{0.2cm}
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\hfill
-\begin{tabular}[t]{ll}
- \textbf{Invoice \#} & <%invnumber%> \\
- \textbf{Date} & <%invdate%> \\
- \textbf{Due} & <%duedate%> \\
- \textbf{Order \#} & <%ordnumber%> \\
- \textbf{Employee} & <%employee%> \\
-\end{tabular}
-
-\vspace{1cm}
-
-\begin{tabularx}{.5\textwidth}[t]{@{}llrl@{}}
-<%foreach amount%>
- <%accno%> & <%account%> & <%amount%> & <%projectnumber%> \\
-<%end amount%>
-
- \multicolumn{2}{r}{\textbf{Subtotal}} & <%subtotal%> & \\
-<%foreach tax%>
- \multicolumn{2}{r}{\textbf{<%taxdescription%> @ <%taxrate%> \%}} & <%tax%> & \\
-<%end tax%>
-
- \multicolumn{2}{r}{\textbf{Total}} & <%invtotal%> & \\
-
-\end{tabularx}
-<%notes%>
-
-\vspace{0.3cm}
-
-<%text_amount%> ***** <%decimal%>/100 <%currency%>
-
-\vspace{0.3cm}
-
-<%if paid%>
-\begin{tabular}{@{}llllr@{}}
- \multicolumn{5}{c}{\textbf{Payments}} \\
- \hline
- \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\
-<%end paid%>
-<%foreach payment%>
- <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%paymentmemo%> & <%payment%> \\
-<%end payment%>
-<%if paid%>
-\end{tabular}
-<%end paid%>
-
-\end{document}
-
diff --git a/sql-ledger/templates/Spanish_Letter-ar_transaction.html b/sql-ledger/templates/Spanish_Letter-ar_transaction.html
deleted file mode 100644
index dbd0a1c..0000000
--- a/sql-ledger/templates/Spanish_Letter-ar_transaction.html
+++ /dev/null
@@ -1,237 +0,0 @@
-
-<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>
- <hr noshade><br>
- <h4>A R - T R A N S A C T I O N</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
-
- <%if contact%>
- <br><%contact%>
- <br>
- <%end contact%>
-
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
-
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
-
- <%if email%>
- <br><%email%>
- <%end email%>
- </td>
-
- <td align=right>
- <table>
- <tr>
- <th align=left nowrap>Invoice #</th>
- <td><%invnumber%></td>
- </tr>
- <tr>
- <th align=left nowrap>Date</th>
- <td><%invdate%></td>
- </tr>
- <tr>
- <th align=left nowrap>Due</th>
- <td><%duedate%></td>
- </tr>
- <tr>
- <th align=left>Order #</th>
- <td><%ordnumber%>&nbsp;</td>
- </tr>
- <tr>
- <th align=left nowrap>Salesperson</th>
- <td><%employee%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=50%>
- <table>
- <%foreach account%>
- <tr valign=top>
- <td><%accno%></td>
- <td><%account%></td>
- <td align=right><%amount%></td>
- <td><%projectnumber%></td>
- </tr>
- <%end account%>
-
- <tr>
- <%if taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Subtotal</th>
- <td align=right><%subtotal%></td>
- <%end taxincluded%>
- </tr>
-
- <%foreach tax%>
- <tr>
- <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th>
- <td align=right><%tax%></td>
- </tr>
- <%end tax%>
-
- <%if not taxincluded%>
- <th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
-
- </table>
- </td>
- <td width=50%>
- <%notes%>
- </td>
- </tr>
- </table>
- </td>
- <tr>
- <td>&nbsp;</td>
-
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <%text_amount%> ***** <%decimal%>/100 <%currency%>
- </td>
- </tr>
-
- <%if paid%>
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table>
- <tr>
- <th>Payments</th>
- </tr>
-
- <tr>
- <td>
- <hr noshade>
- </td>
- </tr>
-
- <tr>
- <td>
- <table>
- <tr>
- <th align=left>Date</th>
- <th align=left>Account</th>
- <th align=left>Source</th>
- <th align=left>Memo</th>
- <th align=left>Amount</th>
- </tr>
- <%end paid%>
-
- <%foreach payment%>
- <tr>
- <td><%paymentdate%></td>
- <td><%paymentaccount%></td>
- <td><%paymentsource%></td>
- <td><%paymentmemo%></td>
- <td><%payment%></td>
- </tr>
- <%end payment%>
-
- <%if paid%>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <%end paid%>
-
- <tr height=10></tr>
-
- <%foreach tax%>
- <tr>
- <td>&nbsp;</td>
-
- <th colspan=9 align=left><font size=-2><%taxdescription%> Registration <%taxnumber%></th>
- </tr>
- <%end tax%>
-
- <%if taxincluded%>
- <tr>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th>
- </tr>
- <%end taxincluded%>
-
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Spanish_Letter-ar_transaction.tex b/sql-ledger/templates/Spanish_Letter-ar_transaction.tex
deleted file mode 100644
index 654d2b9..0000000
--- a/sql-ledger/templates/Spanish_Letter-ar_transaction.tex
+++ /dev/null
@@ -1,131 +0,0 @@
-\documentclass[10pt,letterpaper,oneside,onecolumn]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{%
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5em]{\textwidth}{0.5pt}
-}
-
-\centerline{\textbf{A R} \hspace{0.3cm} \textbf{T R A N S A C T I O N}}
-
-\vspace*{0.5cm}
-
-\parbox[t]{.5\textwidth}{
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-<%end contact%>
-
-\vspace{0.2cm}
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\hfill
-\begin{tabular}[t]{ll}
- \textbf{Invoice \#} & <%invnumber%> \\
- \textbf{Date} & <%invdate%> \\
- \textbf{Due} & <%duedate%> \\
- \textbf{Order \#} & <%ordnumber%> \\
- \textbf{Employee} & <%employee%> \\
-\end{tabular}
-
-\vspace{1cm}
-
-\begin{tabularx}{.5\textwidth}[t]{@{}llrl@{}}
-<%foreach amount%>
- <%accno%> & <%account%> & <%amount%> & <%projectnumber%> \\
-<%end amount%>
-
- \multicolumn{2}{r}{\textbf{Subtotal}} & <%subtotal%> & \\
-<%foreach tax%>
- \multicolumn{2}{r}{\textbf{<%taxdescription%> @ <%taxrate%> \%}} & <%tax%> & \\
-<%end tax%>
-
- \multicolumn{2}{r}{\textbf{Total}} & <%invtotal%> & \\
-
-\end{tabularx}
-<%notes%>
-
-\vspace{0.3cm}
-
-<%text_amount%> ***** <%decimal%>/100 <%currency%>
-
-\vspace{0.3cm}
-
-<%if paid%>
-\begin{tabular}{@{}llllr@{}}
- \multicolumn{5}{c}{\textbf{Payments}} \\
- \hline
- \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\
-<%end paid%>
-<%foreach payment%>
- <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%paymentmemo%> & <%payment%> \\
-<%end payment%>
-<%if paid%>
-\end{tabular}
-<%end paid%>
-
-\vspace{0.5cm}
-
-<%foreach tax%>
-\textbf{\small{<%taxdescription%> Registration <%taxnumber%>}} \\
-<%end tax%>
-
-\end{document}
-
diff --git a/sql-ledger/templates/Spanish_Letter-balance_sheet.html b/sql-ledger/templates/Spanish_Letter-balance_sheet.html
deleted file mode 100644
index aef74d0..0000000
--- a/sql-ledger/templates/Spanish_Letter-balance_sheet.html
+++ /dev/null
@@ -1,100 +0,0 @@
-<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-bin_list.html b/sql-ledger/templates/Spanish_Letter-bin_list.html
deleted file mode 100644
index c945421..0000000
--- a/sql-ledger/templates/Spanish_Letter-bin_list.html
+++ /dev/null
@@ -1,189 +0,0 @@
-
-<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>
-
- <th align=right>
- <h4>
- Tel: <%tel%>
- <br>Fax: <%fax%>
- </h4>
- </td>
- </tr>
-
- <tr>
- <th colspan=3>
- <h4>B I N &nbsp;&nbsp; L I S T</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% cellspacing=0 cellpadding=0>
- <tr bgcolor=000000>
- <th align=left width=50%><font color=ffffff>From</th>
- <th align=left width=50%><font color=ffffff>Ship To</th>
- </tr>
-
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
-
- <%if contact%>
- <br>Attn: <%contact%>
- <%end contact%>
-
- <%if vendorphone%>
- <br>Tel: <%vendorphone%>
- <%end vendorphone%>
-
- <%if vendorfax%>
- <br>Fax: <%vendorfax%>
- <%end vendorfax%>
-
- <%if email%>
- <br><%email%>
- <%end email%>
-
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
-
- <br>
- <%if shiptocontact%>
- <br>Attn: <%shiptocontact%>
- <%end shiptocontact%>
-
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
-
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left nowrap>Order #</th>
- <th width=17% align=left nowrap>Date</th>
- <th width=17% align=left nowrap>Contact</th>
- <%if warehouse%>
- <th width=17% align=left nowrap>Warehouse</th>
- <%end warehouse%>
- <th width=17% align=left>Shipping Point</th>
- <th width=15% align=left>Ship via</th>
- </tr>
-
- <tr>
- <td><%ordnumber%>&nbsp;</td>
-
- <%if shippingdate%>
- <td><%shippingdate%></td>
- <%end shippingdate%>
-
- <%if not shippingdate%>
- <td><%orddate%></td>
- <%end shippingdate%>
-
- <td><%employee%>&nbsp;</td>
-
- <%if warehouse%>
- <td><%warehouse%></td>
- <%end warehouse%>
-
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr bgcolor=000000>
- <th align=left><font color=ffffff>Pos</th>
- <th align=left><font color=ffffff>Number</th>
- <th align=left><font color=ffffff>Description</th>
- <th><font color=ffffff>Serialnumber</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Qty</th>
- <th><font color=ffffff>Recd</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Bin</th>
- </tr>
-
- <%foreach number%>
- <tr valign=top>
- <td><%runningnumber%></td>
- <td><%number%></td>
- <td><%description%></td>
- <td><%serialnumber%></td>
- <td><%deliverydate%></td>
- <td align=right><%qty%></td>
- <td align=right><%ship%></td>
- <td><%unit%></td>
- <td><%bin%></td>
- </tr>
- <%end number%>
-
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td><hr noshade></td>
- </tr>
-
-</table>
-
diff --git a/sql-ledger/templates/Spanish_Letter-bin_list.tex b/sql-ledger/templates/Spanish_Letter-bin_list.tex
deleted file mode 100644
index 034fd72..0000000
--- a/sql-ledger/templates/Spanish_Letter-bin_list.tex
+++ /dev/null
@@ -1,147 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 37%>
-\end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}rlXllrrll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.5\textwidth}{
-\textbf{From}
-\vspace{0.7cm}
-
-<%name%>
-
-<%address1%>
-
-<%if %address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country4%>
-<%end country%>
-}
-\parbox[t]{.4\textwidth}{
-\textbf{Ship To}
-\vspace{0.7cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%if shiptoaddress2%>
-<%shiptoaddress2%>
-<%end shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{B I N} \parbox{0.3cm}{\hfill} \textbf{L I S T}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{Order \#} & \textbf{Date} & \textbf{Contact}
- <%if warehouse%>
- & \textbf{Warehouse}
- <%end warehouse%>
- & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em]
- \hline
-
- <%ordnumber%>
- <%if shippingdate%>
- & <%shippingdate%>
- <%end shippingdate%>
- <%if not shippingdate%>
- & <%orddate%>
- <%end shippingdate%>
- & <%employee%>
- <%if warehouse%>
- & <%warehouse%>
- <%end warehouse%>
- & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}rlXllrrll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\
-
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> &
- <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> & <%bin%> \\
-<%end number%>
-\end{tabularx}
-
-
-\rule{\textwidth}{2pt}
-
-\end{document}
-
diff --git a/sql-ledger/templates/Spanish_Letter-check.tex b/sql-ledger/templates/Spanish_Letter-check.tex
deleted file mode 100644
index 6742b5b..0000000
--- a/sql-ledger/templates/Spanish_Letter-check.tex
+++ /dev/null
@@ -1,75 +0,0 @@
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\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
deleted file mode 100644
index fbb5653..0000000
--- a/sql-ledger/templates/Spanish_Letter-income_statement.html
+++ /dev/null
@@ -1,77 +0,0 @@
-<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
deleted file mode 100644
index f551574..0000000
--- a/sql-ledger/templates/Spanish_Letter-invoice.html
+++ /dev/null
@@ -1,153 +0,0 @@
-<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><%address1%></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><%city%> <%state%> <%zipcode%></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
deleted file mode 100644
index 3051cb7..0000000
--- a/sql-ledger/templates/Spanish_Letter-invoice.tex
+++ /dev/null
@@ -1,110 +0,0 @@
-% 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}
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-\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 37%>
-\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
deleted file mode 100644
index 82cba4f..0000000
--- a/sql-ledger/templates/Spanish_Letter-packing_list.html
+++ /dev/null
@@ -1,155 +0,0 @@
-<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><%address1%></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><%city%> <%state%> <%zipcode%></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
deleted file mode 100644
index f87b4e4..0000000
--- a/sql-ledger/templates/Spanish_Letter-packing_list.tex
+++ /dev/null
@@ -1,108 +0,0 @@
-\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}
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-\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 37%>
-\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-pick_list.html b/sql-ledger/templates/Spanish_Letter-pick_list.html
deleted file mode 100644
index 7548560..0000000
--- a/sql-ledger/templates/Spanish_Letter-pick_list.html
+++ /dev/null
@@ -1,153 +0,0 @@
-
-<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>P I C K &nbsp;&nbsp; L I S T</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <tr bgcolor=000000>
- <th width=50% align=left><font color=ffffff>Ship To:</th>
- <th width=50%>&nbsp;</th>
- </tr>
-
- <tr valign=top>
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
- </td>
-
- <td>
- <%if shiptocontact%>
- <br>Attn: <%shiptocontact%>
- <%end shiptocontact%>
-
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
-
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
-
- <%shiptoemail%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% border=1>
- <tr>
- <th width=15% align=left>Invoice #</th>
- <th width=15% align=left>Order #</th>
- <th width=10% align=left>Date</th>
- <th width=15% align=left nowrap>Contact</th>
- <th width=15% align=left>Warehouse</th>
- <th width=10% align=left>Shipping Point</th>
- <th width=10% align=left>Ship via</th>
- </tr>
-
- <tr>
- <td><%invnumber%>&nbsp;</td>
- <td><%ordnumber%>&nbsp;</td>
- <%if shippingdate%>
- <td><%shippingdate%></td>
- <%end shippingdate%>
-
- <%if not shippingdate%>
- <td><%transdate%></td>
- <%end shippingdate%>
-
- <td><%employee%>&nbsp;</td>
- <td><%warehouse%>&nbsp;</td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr bgcolor=000000>
- <th align=left><font color=ffffff>Pos</th>
- <th align=left><font color=ffffff>Number</th>
- <th align=left><font color=ffffff>Description</th>
- <th><font color=ffffff>Qty</th>
- <th><font color=ffffff>Ship</th>
- <th>&nbsp;</th>
- <th><font color=ffffff>Bin</th>
- </tr>
-
- <%foreach number%>
- <tr valign=top>
- <td><%runningnumber%>
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td align=right>[&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]</td>
- <td><%unit%></td>
- <td align=right><%bin%></td>
- </tr>
- <%end number%>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td><hr noshade></td>
- </tr>
-
-</table>
-
diff --git a/sql-ledger/templates/Spanish_Letter-pick_list.tex b/sql-ledger/templates/Spanish_Letter-pick_list.tex
deleted file mode 100644
index c737f6a..0000000
--- a/sql-ledger/templates/Spanish_Letter-pick_list.tex
+++ /dev/null
@@ -1,144 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage[latin1]{inputenc}
-\usepackage{graphicx}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 37%>
-\end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}rlXrcll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} &
- \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\
-
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.5\textwidth}{
- \textbf{Ship To}
-} \hfill
-
-\vspace{0.7cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.5\textwidth}{
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-}
-\parbox[t]{.4\textwidth}{
- <%shiptocontact%>
-
- <%if shiptophone%>
- Tel: <%shiptophone%>
- <%end shiptophone%>
-
- <%if shiptofax%>
- Fax: <%shiptofax%>
- <%end shiptofax%>
-
- <%shiptoemail%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{P I C K} \parbox{0.3cm}{\hfill} \textbf{L I S T}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{7}{|X}|} \hline
- \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact}
- & \textbf{Warehouse} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em]
- \hline
- <%invnumber%> & <%ordnumber%>
- <%if shippingdate%>
- & <%shippingdate%>
- <%end shippingdate%>
- <%if not shippingdate%>
- & <%transdate%>
- <%end shippingdate%>
- & <%employee%>
- <%if warehouse%>
- & <%warehouse%>
- <%end warehouse%>
- & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}rlXrcll@{}}
- \textbf{Pos} & \textbf{Number} & \textbf{Description} &
- \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> &
- <%qty%> & [\hspace{1cm}] & <%unit%> & <%bin%> \\
-<%end number%>
-\end{tabularx}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-}
-
-\end{document}
-
diff --git a/sql-ledger/templates/Spanish_Letter-pos_invoice.txt b/sql-ledger/templates/Spanish_Letter-pos_invoice.txt
deleted file mode 100644
index 9ec12f4..0000000
--- a/sql-ledger/templates/Spanish_Letter-pos_invoice.txt
+++ /dev/null
@@ -1,51 +0,0 @@
-<%company align=center width=40%>
-<%address align=center width=40%>
-
- Till: <%till align=left width=3%> Phone#: <%tel%>
-Clerk: <%username%>
-Sales: <%employee%>
-
-<%invtime%><%invnumber align=right width=16%>
-
- Qty Description Amount
-<%foreach number%>
-<%qty align=right width=5%> <%description align=left width=24 offset=6%> <%linetotal align=right width=9%>
- <%number%> @ <%sellprice%>/<%unit%>
-<%end number%>
-
-Number of items: <%rowcount%>
-<%if taxincluded%>
- ---------------
- Amount Due: <%invtotal align=right width=9%>
-<%end taxincluded%>
-<%if not taxincluded%>
- ------------
- Subtotal: <%subtotal align=right width=9%>
-<%end taxincluded%>
-<%foreach tax%>
-<%taxdescription align=right width=23%> @ <%taxrate align=right width=2%>%: <%tax align=right width=9%>
-<%end tax%>
- Amount Due: <%invtotal align=right width=9%>
-<%foreach payment%>
-<%paymentaccount align=right width=29%>: <%payment align=right width=9%> <%currency%>
-<%end payment%>
-<%if change%>
- Change: <%change align=right width=9%>
-<%end change%>
-<%if total%>
- Balance Due: <%total align=right width=9%>
-<%end total%>
-<%if discount%>
-
-<%discount%> % Discount applied
-<%end discount%>
-
- Thank you for your valued business!
-
-<%if taxincluded%>
-Taxes are included in price.
-<%end taxincluded%>
-
-
-
-
diff --git a/sql-ledger/templates/Spanish_Letter-purchase_order.html b/sql-ledger/templates/Spanish_Letter-purchase_order.html
deleted file mode 100644
index 493fd37..0000000
--- a/sql-ledger/templates/Spanish_Letter-purchase_order.html
+++ /dev/null
@@ -1,153 +0,0 @@
-<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><%address1%></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><%city%> <%state%> <%zipcode%></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
deleted file mode 100644
index dee8990..0000000
--- a/sql-ledger/templates/Spanish_Letter-purchase_order.tex
+++ /dev/null
@@ -1,111 +0,0 @@
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-\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 37%>
-\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
deleted file mode 100644
index 6742b5b..0000000
--- a/sql-ledger/templates/Spanish_Letter-receipt.tex
+++ /dev/null
@@ -1,75 +0,0 @@
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-\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-request_quotation.html b/sql-ledger/templates/Spanish_Letter-request_quotation.html
deleted file mode 100644
index a9a6f4f..0000000
--- a/sql-ledger/templates/Spanish_Letter-request_quotation.html
+++ /dev/null
@@ -1,202 +0,0 @@
-
-<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><img src=http://www.sql-ledger.org/images/sql-ledger.png border=0 width=64 height=58>
- </td>
-
- <td align=right>
- <h4>
- Tel: <%tel%>
- <br>Fax: <%fax%>
- </h4>
- </td>
- </tr>
-
- <tr>
- <th colspan=3>
- <h4>R E Q U E S T &nbsp;&nbsp; F O R &nbsp;&nbsp; Q U O T A T I O N</h4>
- </th>
- </tr>
-
- </table>
-
-
- <table width=100% callspacing=0 cellpadding=0>
-
- <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><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
-<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><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddr2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
-<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 colspan=2>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left>RFQ #</th>
- <th width=17% align=left>Date</th>
- <th width=17% align=left>Required by</th>
- <th width=17% align=left>Contact</th>
- <th width=17% align=left>Shipping Point</th>
- <th width=15% align=left>Ship via</th>
- </tr>
-
- <tr>
- <td><%quonumber%></td>
- <td><%quodate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height="10"></tr>
-
- <tr>
- <td>Please provide price and delivery time for the following items:</td>
- </tr>
-
- <tr height="10"></tr>
-
- <tr>
- <td>
- <table width=100%>
- <tr>
-<!-- <th align=right>No.</th> -->
- <th align=left>Number</th>
- <th align=left><font color=ffffff>Description</th>
- <th>Qt'y</th>
- <th>&nbsp;</th>
- <th>Delivery</th>
- <th>Unit Price</th>
- <th>Extended</th>
- </tr>
-
-<%foreach number%>
- <tr valign=top>
-<!-- <td align=right><%runningnumber%>.</td>
-other per line item variables available <%reqdate%>
-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>
-
- </tr>
-<%end number%>
-
- <tr>
- <td colspan=7><hr noshade></td>
- </tr>
-
- </table>
- </td>
- </tr>
-
-<tr>
- <td>
- <table width=100%>
-<%if notes%>
- <tr valign=top>
- <td>Notes</td>
- <td><%notes%></td>
- </tr>
-<%end notes%>
-
- </table>
- </td>
-</tr>
-
-<tr><td>&nbsp;</td></tr>
-
-<tr>
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=70%>&nbsp;</td>
-
- <td width=30%>
- X <hr noshade>
- </td>
- </tr>
- </table>
- </td>
-</tr>
-
-</table>
-
-</td>
-</tr>
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Spanish_Letter-request_quotation.tex b/sql-ledger/templates/Spanish_Letter-request_quotation.tex
deleted file mode 100644
index 4e9cfe0..0000000
--- a/sql-ledger/templates/Spanish_Letter-request_quotation.tex
+++ /dev/null
@@ -1,175 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 48%>
-\end{tabularx}
-
- \rule{\textwidth}{2pt}
-
- \hfill
- \begin{tabularx}{7cm}{Xr@{}}
- \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
- \end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}lXrlrr@{}}
- \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
- \textbf{Unit} & \textbf{Price} & \textbf{Extended} \\
- & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.45\textwidth}{
-\textbf{To}
-\vspace{0.7cm}
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-\vspace{0.2cm}
-<%end contact%>
-
-<%if vendorphone%>
-Tel: <%vendorphone%>
-<%end vendorphone%>
-
-<%if vendorfax%>
-Fax: <%vendorfax%>
-<%end vendorfax%>
-
-<%email%>
-}
-\parbox[t]{.45\textwidth}{
-\textbf{Ship To}
-\vspace{0.7cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-
-\vspace{0.3cm}
-
-<%if shiptocontact%>
-<%shiptocontact%>
-\vspace{0.2cm}
-<%end shiptocontact%>
-
-<%if shiptophone%>
-Tel: <%shiptophone%>
-<%end shiptophone%>
-
-<%if shiptofax%>
-Fax: <%shiptofax%>
-<%end shiptofax%>
-
-<%shiptoemail%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{R E Q U E S T for Q U O T A T I O N}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{RFQ \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex]
- \hline
- <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-Please provide price and delivery time for the following items:
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}lXrllrr@{}}
- \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & &
- \textbf{Delivery} & \textbf{Unit Price} & \textbf{Extended} \\
-<%foreach number%>
- <%number%> & <%description%> & <%qty%> & <%unit%> \\
-<%end number%>
-\end{tabularx}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\hfill
-
-<%notes%>
-
-}
-
-\end{document}
-
diff --git a/sql-ledger/templates/Spanish_Letter-sales_order.html b/sql-ledger/templates/Spanish_Letter-sales_order.html
deleted file mode 100644
index a3cdfc7..0000000
--- a/sql-ledger/templates/Spanish_Letter-sales_order.html
+++ /dev/null
@@ -1,153 +0,0 @@
-<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><%address1%></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><%city%> <%state%> <%zipcode%></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
deleted file mode 100644
index eb242fc..0000000
--- a/sql-ledger/templates/Spanish_Letter-sales_order.tex
+++ /dev/null
@@ -1,111 +0,0 @@
-\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%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-\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 37%>
-\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-sales_quotation.html b/sql-ledger/templates/Spanish_Letter-sales_quotation.html
deleted file mode 100644
index cc57a5c..0000000
--- a/sql-ledger/templates/Spanish_Letter-sales_quotation.html
+++ /dev/null
@@ -1,225 +0,0 @@
-
-<body bgcolor=ffffff>
-
-<table width=100%>
-<tr valign=bottom>
- <td width=10>&nbsp;</td>
- <td>
-
- <table width=100%>
- <tr valign=top>
- <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><td colspan=3>&nbsp;</td></tr>
-
- <tr>
- <th colspan=3>
- <h4>Q U O T A T I O N</h4>
- </th>
- </tr>
-
- </table>
-
- <table width=100% callspacing=0 cellpadding=0>
-
- <tr>
- <td>
- <table width=100%>
-
- <tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
-
- <br>
- <%if contact%>
- <br>Attn: <%contact%>
- <%end contact%>
-
- <%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><td>&nbsp;</td></tr>
-
- <tr>
- <td colspan=2>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left nowrap>Number</th>
- <th width=17% align=left>Date</th>
- <th width=17% align=left>Valid until</th>
- <th width=17% align=left nowrap>Contact</th>
- <th width=17% align=left nowrap>Shipping Point</th>
- <th width=15% align=left nowrap>Ship via</th>
- </tr>
-
- <tr>
- <td><%quonumber%></td>
- <td><%quodate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</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>
-
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td align=right><%sellprice%></td>
- <td align=right><%discountrate%></td>
- <td align=right><%linetotal%></td>
- </tr>
-<%end number%>
-
- <tr>
- <td colspan=8><hr noshade></td>
- </tr>
-
- <tr>
-<%if taxincluded%>
- <th colspan=6 align=right>Total</th>
- <td colspan=2 align=right><%invtotal%></td>
-<%end taxincluded%>
-
-<%if not taxincluded%>
- <th colspan=6 align=right>Subtotal</th>
- <td colspan=2 align=right><%subtotal%></td>
-<%end taxincluded%>
- </tr>
-
-<%foreach tax%>
- <tr>
- <th colspan=6 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th>
- <td colspan=2 align=right><%tax%></td>
- </tr>
-<%end tax%>
-
- <tr>
- <td colspan=4>&nbsp;</td>
- <td colspan=4><hr noshade></td>
- </tr>
-
- <tr>
- <td colspan=4>&nbsp;
-<%if terms%>
- Terms Net <b><%terms%></b> days
-<%end terms%>
- </td>
- <th colspan=2 align=right>Total</th>
- <th colspan=2 align=right><%quototal%></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
- </td>
- </tr>
-
- </table>
- </td>
-</tr>
-
-<tr><td>&nbsp;</td></tr>
-
-<tr>
- <td>
- <table width=100%>
- <tr valign=top>
- <td width=60%><font size=-3>
- Special order items are subject to a 10% cancellation fee.
- </font>
- </td>
- <td width=40%>
- X <hr noshade>
- </td>
- </tr>
- </table>
- </td>
-</tr>
-
-</table>
-
-</td>
-</tr>
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Spanish_Letter-sales_quotation.tex b/sql-ledger/templates/Spanish_Letter-sales_quotation.tex
deleted file mode 100644
index acc4870..0000000
--- a/sql-ledger/templates/Spanish_Letter-sales_quotation.tex
+++ /dev/null
@@ -1,157 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{
- \parbox[b]{.42\textwidth}{
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5ex]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 48%>
-\end{tabular*}
-
- \rule{\textwidth}{2pt}
-
- \hfill
- \begin{tabularx}{7cm}{Xr@{}}
- \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
- \end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%quonumber%>}{<%company%>\hfill <%quonumber%>}
-
-\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%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.45\textwidth}{
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%contact%>
-
-\vspace{0.2cm}
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-
-\vspace{1cm}
-
-\textbf{Q U O T A T I O N}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{Quotation \#} & \textbf{Date} & \textbf{Valid until} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex]
- \hline
- <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\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%> & <%discountrate%> & <%linetotal%> \\
-<%end number%>
-\end{tabular*}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\vspace{0.2cm}
-
-\hfill
-\begin{tabularx}{7cm}{Xr@{}}
- Subtotal & <%subtotal%> \\
-<%foreach tax%>
- <%taxdescription%> on <%taxbase%> & <%tax%>\\
-<%end tax%>
- \hline
- Total & <%quototal%>\\
-\end{tabularx}
-
-\vspace{0.3cm}
-
-\hfill
- All prices in \textbf{<%currency%>}.
-
-\vspace{12pt}
-
-<%notes%>
-
-}
-
-\vfill
-
-\end{document}
-
-
diff --git a/sql-ledger/templates/Spanish_Letter-statement.html b/sql-ledger/templates/Spanish_Letter-statement.html
deleted file mode 100644
index a5efdf0..0000000
--- a/sql-ledger/templates/Spanish_Letter-statement.html
+++ /dev/null
@@ -1,125 +0,0 @@
-
-<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><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
- <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
deleted file mode 100644
index fdc7339..0000000
--- a/sql-ledger/templates/Spanish_Letter-statement.tex
+++ /dev/null
@@ -1,111 +0,0 @@
-\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
-
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\vspace*{1.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{10.5cm}{
-
-<%name%>
-
-<%address1%>
-
-<%if address2%>
-<%address2%>
-<%end address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%if country%>
-<%country%>
-<%end country%>
-
-}
-\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 \textbf{<%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{0.5cm}
-
-\hfill
-\begin{tabularx}{7cm}{Xr@{}}
- \textbf{Total outstanding} & <%total%>
-\end{tabularx}
-
-\vfill
-
-Please make check payable to <%company%>
-
-\end{document}
-
diff --git a/sql-ledger/templates/Spanish_Letter-work_order.html b/sql-ledger/templates/Spanish_Letter-work_order.html
deleted file mode 100644
index 0732fe2..0000000
--- a/sql-ledger/templates/Spanish_Letter-work_order.html
+++ /dev/null
@@ -1,174 +0,0 @@
-
-<body bgcolor=ffffff>
-
-<table width=100%>
- <tr>
- <td width=10>&nbsp;</td>
-
- <td>
- <table width=100%>
- <tr valign=bottom>
- <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>W O R K &nbsp;&nbsp; O R D E R</h4>
- </th>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% callspacing=0 cellpadding=0>
- <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><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%>
- <br><%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
- <br>
- <%if contact%>
- <br>Attn: <%contact%>
- <%end contact%>
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
- <%if email%>
- <br><%email%>
- <%end email%>
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%>
- <br><%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
- <br>
- <%if shiptocontact%>
- <br><%shiptocontact%>
- <%end shiptocontact%>
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
- <%if shiptoemail%>
- <br><%shiptoemail%>
- <%end shiptoemail%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr height=5></tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <td>
- <table width=100% border=1>
- <tr>
- <th width=17% align=left nowrap>Order Number</th>
- <th width=17% align=left>Order Date</th>
- <th width=17% align=left>Required by</th>
- <th width=17% align=left nowrap>Salesperson</th>
- <th width=17% align=left nowrap>Shipping Point</th>
- <th width=15% align=left nowrap>Ship Via</th>
- </tr>
-
- <tr>
- <td><%ordnumber%></td>
- <td><%orddate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%>&nbsp;</td>
- <td><%shipvia%>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <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>Serial No.</th>
- </tr>
-
- <%foreach number%>
- <tr valign=top>
- <td align=right><%runningnumber%>.</td>
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td><%serialnumber%></td>
- </tr>
- <%end number%>
-
- <tr>
- <td colspan=6><hr noshade></td>
- </tr>
-
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
-
- <%if notes%>
- <td><%notes%></td>
- <%end notes%>
- </tr>
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Spanish_Letter-work_order.tex b/sql-ledger/templates/Spanish_Letter-work_order.tex
deleted file mode 100644
index cb6774d..0000000
--- a/sql-ledger/templates/Spanish_Letter-work_order.tex
+++ /dev/null
@@ -1,177 +0,0 @@
-\documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
-\usepackage{tabularx}
-\usepackage{graphicx}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-1.9cm}
-\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.7cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
-\begin{document}
-
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
-\pagestyle{myheadings}
-\thispagestyle{empty}
-
-\vspace*{-1.3cm}
-
-\parbox{\textwidth}{%
- \parbox[b]{.42\textwidth}{%
- <%company%>
-
- <%address%>
- }
- \parbox[b]{.2\textwidth}{
- \includegraphics[scale=0.3]{sql-ledger}
- }\hfill
- \begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
- \end{tabular}
-
- \rule[1.5em]{\textwidth}{0.5pt}
-}
-
-
-<%pagebreak 90 27 48%>
-\end{tabularx}
-
-\newpage
-
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabularx}{\textwidth}{@{}rlXrll@{}}
- \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
- & \textbf{Serial Number} \\
-<%end pagebreak%>
-
-
-\vspace*{0.5cm}
-
-\parbox[t]{1cm}{\hfill}
-\parbox[t]{.45\textwidth}{
-\textbf{To}
-\vspace{0.7cm}
-
-<%name%>
-
-<%address1%>
-
-<%address2%>
-
-<%city%> <%state%> <%zipcode%>
-
-<%country%>
-
-\vspace{0.3cm}
-
-<%if contact%>
-<%contact%>
-\vspace{0.2cm}
-<%end contact%>
-
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
-
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
-
-<%email%>
-}
-\parbox[t]{.45\textwidth}{
-\textbf{Ship To}
-\vspace{0.7cm}
-
-<%shiptoname%>
-
-<%shiptoaddress1%>
-
-<%shiptoaddress2%>
-
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-
-<%shiptocountry%>
-
-\vspace{0.3cm}
-
-<%if shiptocontact%>
-<%shiptocontact%>
-\vspace{0.2cm}
-<%end shiptocontact%>
-
-<%if shiptophone%>
-Tel: <%shiptophone%>
-<%end shiptophone%>
-
-<%if shiptofax%>
-Fax: <%shiptofax%>
-<%end shiptofax%>
-
-<%shiptoemail%>
-}
-\hfill
-
-\vspace{1cm}
-
-\textbf{W O R K} \parbox{0.3cm}{\hfill} \textbf{O R D E R}
-\hfill
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
- \textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship Via} \\ [0.5em]
- \hline
- <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
- \hline
-\end{tabularx}
-
-\vspace{1cm}
-
-\begin{tabularx}{\textwidth}{@{}rlXrll@{}}
- \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
- & \textbf{Serial Number} \\
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> & <%qty%> &
- <%unit%> & <%serialnumber%> \\
-<%end number%>
-\end{tabularx}
-
-
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
-
-\vspace{12pt}
-
-<%if notes%>
- <%notes%>
-<%end if%>
-
-}
-
-\vfill
-
-\vspace{1cm}
-
-\rule{\textwidth}{0.5pt}
-
-\end{document}
-
-
-
-
-
-