Commit graph

8142 commits

Author SHA1 Message Date
Colin Kuskie
8ac717f2e7 GT to > 2008-02-25 00:44:33 +00:00
Colin Kuskie
c1e0471d51 Add getEditForm to the ShipDriver, and test it. 2008-02-25 00:06:24 +00:00
Colin Kuskie
4ce8cd1a07 getEditForm also needs to accept the name of the hash key where
the list of fields is, because it is different in different
places in WebGUI.
2008-02-25 00:05:41 +00:00
Colin Kuskie
b1990836d0 Refactor out the getEditForm code from WebGUI::Workflow::Activity and
put it into HTMLForm.  Now HTMLForm can generate dynamic, definition
based forms for WebGUI.
2008-02-24 04:04:36 +00:00
Colin Kuskie
95b8244ce0 add the get tests and method 2008-02-23 06:30:55 +00:00
Colin Kuskie
39aa431e2c Move the delete test after the new test, so that there's an object
to pull from the db.  Sheesh.
Remove the id generation from inside the private build method
and make sure it returns the built object.
2008-02-23 06:17:39 +00:00
Colin Kuskie
669bb870eb Start working on the new method, with tests.
Refactor out the object building code into a private method to be shared by
new and create.
2008-02-23 00:30:18 +00:00
Colin Kuskie
b174ce51fb getName, getId, set, create with db storage.
Added tests for all those methods.
Check that definition gets a session object or else.
2008-02-22 23:51:13 +00:00
Colin Kuskie
72177f762c label is already stored in the options, and never used directly in any method. Code that wants it can instanciate an object 2008-02-22 19:08:32 +00:00
Colin Kuskie
ac28252d53 side porting Windows testing fix 2008-02-22 18:32:56 +00:00
Colin Kuskie
cf5dfda32e Add more tests for the object instanciated by create. Still
needs a db interface, though.
2008-02-22 04:48:21 +00:00
Colin Kuskie
3f4aed78d2 Valiadate inputs to create. 2008-02-22 00:15:44 +00:00
Colin Kuskie
6cc51fa176 add pod 2008-02-21 05:31:14 +00:00
Colin Kuskie
a89c507ed6 definition method for ShipDriver, with tests 2008-02-21 05:19:20 +00:00
JT Smith
40b432da40 took Sku a bit further 2008-02-21 04:19:26 +00:00
Colin Kuskie
33928cba06 Stubbing for ShipDriver.pm 2008-02-21 04:12:26 +00:00
JT Smith
2ca95d8586 Made a little progress on the sku tests and base class. 2008-02-21 03:16:59 +00:00
Colin Kuskie
e9327db8d8 sideporting i18n fix 2008-02-20 21:33:58 +00:00
JT Smith
902c1ae891 typo on the calculation 2008-02-20 19:19:29 +00:00
JT Smith
a87fbf590a added missing line between login and payment options 2008-02-20 19:13:37 +00:00
JT Smith
4ec9917adb eliminate references to the coupon table 2008-02-20 19:05:19 +00:00
Colin Kuskie
ae22286c6b coupon => shipper table 2008-02-20 16:54:43 +00:00
Colin Kuskie
3fa331ac4c side porting over new Asset get test from HEAD 2008-02-20 16:45:50 +00:00
Colin Kuskie
99aeed0736 In indented (literal) text, POD markup is disabled, so => can be used
directly.
2008-02-20 16:29:32 +00:00
JT Smith
3e62f64e55 couple of missing methods 2008-02-20 06:36:10 +00:00
JT Smith
3b8a28fd16 fixing pay and shipper docs, and cleaned up special characters in the others 2008-02-20 06:33:46 +00:00
Colin Kuskie
8acfd57741 add properties accessor to ship driver 2008-02-20 05:08:24 +00:00
Colin Kuskie
2a08053d14 update tax calculation taking into account tax override on a per product basis 2008-02-20 04:53:51 +00:00
JT Smith
74d7a98cde an override for the default tax rate 2008-02-20 04:49:02 +00:00
Colin Kuskie
02011a7d37 finalize names and update docs to match 2008-02-19 18:33:45 +00:00
Colin Kuskie
995ae35bb0 base work for ShipperDriver module with tests 2008-02-19 04:50:20 +00:00
Colin Kuskie
dff8f24ea9 Fix a few typos 2008-02-19 04:49:51 +00:00
Colin Kuskie
c613e38995 Input validation tests for importTaxData. 2008-02-18 21:23:43 +00:00
Colin Kuskie
95a327ea62 move the CSV tax table into its own subdirectory 2008-02-18 19:48:42 +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
76f3e986b7 Port over missing diagnostic for getPathFrag test. 2008-02-18 18:33:32 +00:00
Colin Kuskie
b4ef882e4c Fix a bug where $/ ended up being undef globally. 2008-02-18 18:17:12 +00:00
Colin Kuskie
e47ec1fd16 Subs named import do special things in perl. Renaming
import and export to importTaxData and exportTaxData,
respectively.
2008-02-18 00:44:32 +00:00
Colin Kuskie
40e4e96a66 check the CSV output made by export 2008-02-17 04:58:51 +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
JT Smith
c3e9e5f5c3 formatting problem 2008-02-16 15:52:25 +00:00
JT Smith
7c872c49c9 separating sku from main 2008-02-16 15:50:03 +00:00
JT Smith
9538fc0440 separating sku docs from main commerce docs 2008-02-16 15:48:58 +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
JT Smith
649d34f1a7 started cart tests, realizing need to build sku first 2008-02-15 23:02:59 +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
JT Smith
f08f3a0ffe seperated the cart doc out on it's own 2008-02-15 22:02:21 +00:00
JT Smith
3d16d5b486 removing generated images 2008-02-15 21:35:21 +00:00