142 |
own_document_tax_total |
own_document_tax_total |
143 |
summarizes own_items_taxes |
summarizes own_items_taxes |
144 |
*/ |
*/ |
145 |
|
|
146 |
own_document_tax_total: |
own_document_tax_total: |
147 |
id (bigserial) |
id (bigserial) |
148 |
# what document is this tax total about? |
# what document is this tax total about? |
1181 |
name (varchar(80)) |
name (varchar(80)) |
1182 |
# this is a chunk of code used to work out how much tax we |
# this is a chunk of code used to work out how much tax we |
1183 |
# should pay |
# should pay |
1184 |
graft (text) |
# graft (text) |
1185 |
:account: |
:account: |
1186 |
:history: |
:history: |
1187 |
|
|
1188 |
/* |
/* |
|
proceeding |
|
1189 |
|
|
1190 |
|
tax_formula |
1191 |
|
from : seller |
1192 |
|
to : buyer |
1193 |
|
|
1194 |
|
*/ |
1195 |
|
tax_formula: |
1196 |
|
id (serial) |
1197 |
|
from_profile -> tax_profile |
1198 |
|
to_profile -> tax_profile |
1199 |
|
graft (text) |
1200 |
|
# :account: |
1201 |
|
:history: |
1202 |
|
/* |
1203 |
|
proceeding |
1204 |
a proceeding is a guy coming up to the cashier and paying up. Or |
a proceeding is a guy coming up to the cashier and paying up. Or |
1205 |
viceversa. A proceeding usually involves one or more documents |
viceversa. A proceeding usually involves one or more documents |
1206 |
(usually at least one of these is ours), and one or more movements. |
(usually at least one of these is ours), and one or more movements. |
|
|
|
1207 |
*/ |
*/ |
1208 |
proceeding: |
proceeding: |
1209 |
id (bigserial) |
id (bigserial) |