Colin Kuskie
73df992b1e
Add missing Tax i18n.
2009-06-20 01:45:55 +00:00
Martin Kamerbeek
461c80a6b8
Pluggable Tax: more POD, more tests, better code and less bugs
2009-05-06 13:33:16 +00:00
Colin Kuskie
a75cd108b1
Add back code for throwing exceptions when session is not passed
...
to class methods.
2009-04-24 03:47:40 +00:00
Colin Kuskie
c541788968
Add missing POD and legal statements for many Shop modules.
2009-04-24 03:13:28 +00:00
Martin Kamerbeek
2e4ce42b76
Adding pluggable tax system.
2009-04-17 13:32:18 +00:00
Colin Kuskie
e92017500e
change mime type of json methods from text/json to application/json
2008-10-26 04:11:47 +00:00
JT Smith
20f8df1291
upgrading to YUI 2.6
...
data tables are going to need some work yet, but the other stuff seems to be working 100%
2008-10-22 23:53:29 +00:00
Colin Kuskie
ee9772d543
fix broken i18n labels in Asset export, and in the Shop
2008-07-27 02:59:33 +00:00
Kaleb Murphy
16ccbc7aaa
Shop Tax pagination now fixed. Pagination had a silent JS death that needed testing for, and sorting....don't ask how sorting was fixed as it involved pentacles, my soul, and a contract.
2008-07-17 16:45:14 +00:00
Kaleb Murphy
70a63233b1
Some improvements to Tax.pm sorting, but it is still borked.
2008-07-17 04:19:05 +00:00
Kaleb Murphy
ffba8c1858
Fixed pagination in Tax, sorting still broken
2008-07-16 21:49:05 +00:00
Colin Kuskie
5e1a0eb1be
in Shop/Tax, make taxes floating point numbers instead of integers
2008-07-16 17:00:05 +00:00
Colin Kuskie
2049c28ce3
finish up exception handling for importing taxes and reporting messages back to the user
2008-06-17 23:28:28 +00:00
Colin Kuskie
4dfac86f2f
Add hoverHelp for the Tax screen.
...
Change tax rate to be an integer.
2008-06-17 21:12:00 +00:00
Colin Kuskie
994da561a5
web interface for importing and exporting products. Additional tests for the import/export API
2008-06-05 04:10:48 +00:00
Colin Kuskie
9f8498a359
Remove debugging statements from Tax.pm
2008-05-26 23:59:57 +00:00
Colin Kuskie
c913c3ede3
more POD for Tax.pm
2008-05-25 23:49:59 +00:00
JT Smith
ac3c7d18b9
fixed a limitation with buildSearchQuery in SQL
...
started working on registrant search in EMS
2008-04-04 18:37:53 +00:00
Colin Kuskie
1d7ee90a34
committing broken server-side sorting/pagination code for more debug tomorrow
2008-03-25 03:51:05 +00:00
Colin Kuskie
f2032f39c6
Further testing showed that pagination metadata won't parse as
...
strings.
2008-03-25 01:55:02 +00:00
Colin Kuskie
b9af7f97ac
Ask YUI to parse strings as numbers in the Tax module.
2008-03-25 01:15:59 +00:00
Colin Kuskie
0b516612b9
add tax UI
2008-03-24 22:30:04 +00:00
Colin Kuskie
283d5a2fed
align and uncolor buttons
2008-03-24 21:04:08 +00:00
Colin Kuskie
ff3a650cc7
import tax data
2008-03-24 20:43:07 +00:00
Colin Kuskie
2acdf7ea4e
export tax data works in the UI
2008-03-24 20:09:18 +00:00
Colin Kuskie
58425066f9
finish delete UI
2008-03-24 19:06:23 +00:00
Colin Kuskie
baeb0dd941
reorder js libraries to get rid of warnings
2008-03-24 18:51:41 +00:00
Colin Kuskie
ec857806e6
delete a row of tax data from the UI
2008-03-24 18:38:54 +00:00
Colin Kuskie
1ff8acff21
fix support library loading
2008-03-24 16:47:47 +00:00
Colin Kuskie
4b4f389586
numerify the taxRate for making JSON
2008-03-24 16:23:10 +00:00
Colin Kuskie
3f5d947282
Get rid of buildDataTableStructure.
2008-03-24 16:13:24 +00:00
Colin Kuskie
a6cf090545
fix a few small typos, manage still not managing
2008-03-24 00:44:15 +00:00
Colin Kuskie
825f6e2503
Add the export button and div.
2008-03-23 21:35:52 +00:00
Colin Kuskie
bb274380ce
Add a column for the tax rate (duh) and the taxId. The taxId will
...
eventually be replaced with an icon for deleting tax info.
Change the comment character in the JS.
Return the generated output inside of an admin console.
2008-03-23 20:58:05 +00:00
Colin Kuskie
1453900e01
renamed www_view to www_manage, and added more JS
2008-03-20 05:17:33 +00:00
Colin Kuskie
ff61a8e50a
Cache the main cart address tax info.
...
Build some more JS for the view Tax screen.
2008-03-19 23:31:14 +00:00
Colin Kuskie
f3fd67378f
Add a SQL method for building searchable queries.
...
Add tests for that method.
Convert Shop/Tax and Shop/Transaction to use that for their JSON generating methods.
2008-03-19 19:35:43 +00:00
Colin Kuskie
875187ee74
Fix the Shop/Transaction tests for JSON.
...
Convert Shop/Transaction and Shop/Tax to use buildDataTableStructure.
Change SQL.pm to return a hash instead of a hashref for buildDataTableStructure.
2008-03-19 04:45:02 +00:00
Colin Kuskie
94b03aa3f5
Fix a bug in the json method for getting tax data.
...
Tests for the json method.
A LOT of California tax data for testing.
2008-03-18 23:34:35 +00:00
Colin Kuskie
f40bed7ef3
Add i18n for Tax, for the UI.
...
Begin to flesh out the DataTable JS for www_view. Add a method to slurp all the
tax data out of the db at once.
Add a test for the slurp method, and stop using the private sub that used to
do it in the tests.
2008-03-10 04:25:36 +00:00
JT Smith
a535104d7a
shipping is closer
2008-03-07 17:04:26 +00:00
Colin Kuskie
14ffef86c1
Add a method for determining if users can access commerce functions, and
...
stub out www_view
2008-03-07 04:39:17 +00:00
Colin Kuskie
e32bdb6217
find_in_set seems to be case insensitive, natively.
2008-03-07 02:37:13 +00:00
Colin Kuskie
52cf8b672c
Allow alternations in the tax data, so that it is case insensitive
...
and allows multiple definitions of an entry (like state, city or country)
2008-03-07 02:16:40 +00:00
Colin Kuskie
50fc494759
optimize the SQL query for getting tax rates
2008-03-06 23:41:16 +00:00
Colin Kuskie
d956e58bd7
Change the Shop::Tax system to be hierarchial.
...
Update all sample tax tables and tests.
2008-03-06 22:34:21 +00:00
JT Smith
aa5355930a
made it use a helper method
2008-03-05 16:34:12 +00:00
JT Smith
112834a9b7
added some helper methods for addressing, and got the cart closer to working
2008-03-05 16:32:08 +00:00
Colin Kuskie
8c862439f9
Update the POD for Cart.pm. Return value for addItem is not items in cart, it's the
...
created item.
Finish up the Tax calculate method, with tests.
2008-03-05 03:37:53 +00:00
Colin Kuskie
2bc6cd49a7
Remove an extra my from Shop::Cart.
...
Add the getTaxRates method to Tax, with tests.
Add some calculate code to Tax, with tests, which don't pass yet.
2008-03-05 00:22:40 +00:00