Parent Directory | Revision Log | Patch
revision 1.1 by jlenton, Tue Feb 4 21:11:53 2003 UTC | revision 1.2 by apronotti, Fri Feb 14 20:22:27 2003 UTC | |
---|---|---|
# | Line 1 | Line 1 |
1 | delete from _tax_data; | delete from _tax_data; |
2 | delete from tax; | delete from tax; |
3 | insert into tax (id) values (1); | insert into tax (id) values (1); |
4 | insert into _tax_data (id,_table,name,_start_t) values (1,1,'IVA',current_timestamp); | insert into _tax_data (id,_table,name,_start_t,graft) values (1,1,'IVA',current_timestamp,'def graft(ourIVACond, alienIVACond, amount, taxPercent):\n\tif ourIVACond == 1 and alienIVACond == 2:\n\t\treturn amount * taxPercent / 100 + (amount * taxPercent / 100) / 2\n\telse:\n\t\treturn amount * taxPercent / 100\n'); |
5 |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |