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
Colin Kuskie
5946fd5476
add a input validation check and test for Tax->calculate
2008-03-01 21:22:53 +00:00
Colin Kuskie
9d377193d3
placeholder for calculate in Shop::Tax.pm
2008-03-01 04:54:21 +00:00
Colin Kuskie
a8598bc108
Finish testing all of shop tax's exceptions.
...
Convert a few exceptions to better types in import.
2008-02-27 23:40:08 +00:00
Colin Kuskie
a61ab090ee
convert Shop::Tax to use exceptions
2008-02-27 00:35:10 +00:00
Colin Kuskie
c613e38995
Input validation tests for importTaxData.
2008-02-18 21:23:43 +00:00
Colin Kuskie
215031bb4e
Renamed the import and export methods to prevent Perl from
...
calling them.
Added code and tests for import method. It needs more testing
for user input validation.
2008-02-18 19:27:45 +00:00
Colin Kuskie
6415b9186f
Added the export method.
...
Basic tests for the export method. Need to check the CSV file
to make sure it's created correctly.
2008-02-16 17:11:10 +00:00
Colin Kuskie
0701adf7e0
Add input validation for the add method, and test it.
...
Now it's time for the import and export methods.
2008-02-16 06:48:00 +00:00
Colin Kuskie
645c21bc3b
Tax: add the delete method, with tests
2008-02-16 05:36:25 +00:00
Colin Kuskie
19591d37d4
Fix a bug in the upgrade script, with a default applied to the wrong column.
...
Built the add method, and tested it, too.
2008-02-15 23:17:52 +00:00
Colin Kuskie
70b8331794
Add the tax table.
...
Add the getItems method, for accessing the entire tax table.
2008-02-15 22:15:58 +00:00
Colin Kuskie
cf3ed73830
Fix a bad use test in Shop/Tax.t
...
Begin Tax.pm, using Class::InsideOut with a basic constructor and a session method.
2008-02-15 18:51:02 +00:00