opensteam 0.9.2 → 0.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG +53 -0
- data/README.rdoc +19 -10
- data/generators/opensteam/opensteam_generator.rb +27 -3
- data/generators/opensteam/templates/app/controllers/admin/configurations_controller.rb +85 -0
- data/generators/opensteam/templates/app/controllers/admin/inventories_controller.rb +1 -1
- data/generators/opensteam/templates/app/controllers/admin/invoices_controller.rb +35 -4
- data/generators/opensteam/templates/app/controllers/admin/orders_controller.rb +5 -4
- data/generators/opensteam/templates/app/controllers/admin/shipments_controller.rb +6 -3
- data/generators/opensteam/templates/app/controllers/admin/shipping_rate_groups_controller.rb +76 -0
- data/generators/opensteam/templates/app/controllers/admin/tax_groups_controller.rb +124 -0
- data/generators/opensteam/templates/app/controllers/admin/tax_rules_controller.rb +19 -0
- data/generators/opensteam/templates/app/controllers/admin/tax_zones_controller.rb +118 -0
- data/generators/opensteam/templates/app/controllers/admin/users_controller.rb +1 -1
- data/generators/opensteam/templates/app/controllers/admin_controller.rb +20 -0
- data/generators/opensteam/templates/app/controllers/carts_controller.rb +118 -0
- data/generators/opensteam/templates/app/controllers/checkout_controller.rb +119 -79
- data/generators/opensteam/templates/app/controllers/profile_controller.rb +2 -4
- data/generators/opensteam/templates/app/controllers/searches_controller.rb +1 -1
- data/generators/opensteam/templates/app/controllers/user_sessions_controller.rb +2 -1
- data/generators/opensteam/templates/app/controllers/users_controller.rb +10 -3
- data/generators/opensteam/templates/app/helpers/admin_helper.rb +15 -1
- data/generators/opensteam/templates/app/helpers/checkout_helper.rb +38 -0
- data/generators/opensteam/templates/app/helpers/webshop_helper.rb +6 -1
- data/generators/opensteam/templates/app/models/zone.rb +18 -0
- data/generators/opensteam/templates/app/views/admin/_menu.html.erb +18 -0
- data/generators/opensteam/templates/app/views/admin/catalog.html.erb +2 -3
- data/generators/opensteam/templates/app/views/admin/configurations/edit.html.erb +20 -0
- data/generators/opensteam/templates/app/views/admin/configurations/index.html.erb +22 -0
- data/generators/opensteam/templates/app/views/admin/configurations/new.html.erb +19 -0
- data/generators/opensteam/templates/app/views/admin/configurations/show.html.erb +13 -0
- data/generators/opensteam/templates/app/views/admin/filters/_filter.html.erb +1 -1
- data/generators/opensteam/templates/app/views/admin/index.html.erb +0 -19
- data/generators/opensteam/templates/app/views/admin/inventories/edit.html.erb +10 -6
- data/generators/opensteam/templates/app/views/admin/inventories/new.html.erb +5 -0
- data/generators/opensteam/templates/app/views/admin/inventories/show.html.erb +10 -6
- data/generators/opensteam/templates/app/views/admin/invoices/_invoice.html.erb +1 -0
- data/generators/opensteam/templates/app/views/admin/invoices/_invoice_fields.html.erb +52 -0
- data/generators/opensteam/templates/app/views/admin/invoices/new.html.erb +9 -37
- data/generators/opensteam/templates/app/views/admin/invoices/show.html.erb +10 -36
- data/generators/opensteam/templates/app/views/admin/invoices/show.pdf.prawn +59 -0
- data/generators/opensteam/templates/app/views/admin/order_config.html.erb +5 -0
- data/generators/opensteam/templates/app/views/admin/order_items/_item_entry.html.erb +9 -0
- data/generators/opensteam/templates/app/views/admin/order_items/_items_table.html.erb +16 -0
- data/generators/opensteam/templates/app/views/admin/orders/_order.html.erb +9 -9
- data/generators/opensteam/templates/app/views/admin/orders/_orders.html.erb +1 -1
- data/generators/opensteam/templates/app/views/admin/orders/show.html.erb +25 -9
- data/generators/opensteam/templates/app/views/admin/payment_types.html.erb +27 -0
- data/generators/opensteam/templates/app/views/admin/payments/_credit_card_payment.html.erb +26 -0
- data/generators/opensteam/templates/app/views/admin/payments/_credit_card_payment_info.html.erb +15 -0
- data/generators/opensteam/templates/app/views/admin/payments/_direct_debit_payment.html.erb +5 -0
- data/generators/opensteam/templates/app/views/admin/shipments/new.html.erb +45 -30
- data/generators/opensteam/templates/app/views/admin/shipments/show.html.erb +3 -3
- data/generators/opensteam/templates/app/views/admin/shipping_rate_groups/_payment_addition.html.erb +12 -0
- data/generators/opensteam/templates/app/views/admin/shipping_rate_groups/_rate.html.erb +16 -0
- data/generators/opensteam/templates/app/views/admin/shipping_rate_groups/edit.html.erb +63 -0
- data/generators/opensteam/templates/app/views/admin/shipping_rate_groups/index.html.erb +28 -0
- data/generators/opensteam/templates/app/views/admin/shipping_rate_groups/new.html.erb +60 -0
- data/generators/opensteam/templates/app/views/admin/shipping_rate_groups/show.html.erb +13 -0
- data/generators/opensteam/templates/app/views/admin/system.html.erb +5 -0
- data/generators/opensteam/templates/app/views/admin/tax_groups/_attributes.html.erb +11 -0
- data/generators/opensteam/templates/app/views/admin/tax_groups/_tax_groups.html.erb +17 -0
- data/generators/opensteam/templates/app/views/admin/tax_groups/_tax_groups_row.html.erb +12 -0
- data/generators/opensteam/templates/app/views/admin/tax_groups/_tax_rule.html.erb +14 -0
- data/generators/opensteam/templates/app/views/admin/tax_groups/edit.html.erb +26 -0
- data/generators/opensteam/templates/app/views/admin/tax_groups/index.html.erb +8 -0
- data/generators/opensteam/templates/app/views/admin/tax_groups/new.html.erb +27 -0
- data/generators/opensteam/templates/app/views/admin/tax_groups/show.html.erb +28 -0
- data/generators/opensteam/templates/app/views/admin/tax_zones/_attributes.html.erb +18 -0
- data/generators/opensteam/templates/app/views/admin/tax_zones/_tax_zone_row.html.erb +13 -0
- data/generators/opensteam/templates/app/views/admin/tax_zones/_tax_zones.html.erb +11 -0
- data/generators/opensteam/templates/app/views/admin/tax_zones/edit.html.erb +16 -0
- data/generators/opensteam/templates/app/views/admin/tax_zones/index.html.erb +16 -0
- data/generators/opensteam/templates/app/views/admin/tax_zones/new.html.erb +14 -0
- data/generators/opensteam/templates/app/views/admin/tax_zones/show.html.erb +15 -0
- data/generators/opensteam/templates/app/views/admin/users.html.erb +0 -1
- data/generators/opensteam/templates/app/views/admin/users/show.html.erb +10 -0
- data/generators/opensteam/templates/app/views/administration_mailer/order_customer.erb +1 -1
- data/generators/opensteam/templates/app/views/carts/_cart.html.erb +7 -0
- data/generators/opensteam/templates/app/views/carts/_cart_content.html.erb +45 -0
- data/generators/opensteam/templates/app/views/carts/create.rjs +3 -0
- data/generators/opensteam/templates/app/views/{cart → carts}/index.html.erb +0 -0
- data/generators/opensteam/templates/app/views/carts/update.rjs +11 -0
- data/generators/opensteam/templates/app/views/checkout/_address.html.erb +42 -0
- data/generators/opensteam/templates/app/views/checkout/_customer.html.erb +31 -0
- data/generators/opensteam/templates/app/views/checkout/_edit_checkout.html.erb +42 -0
- data/generators/opensteam/templates/app/views/checkout/_new_checkout.html.erb +44 -0
- data/generators/opensteam/templates/app/views/checkout/_shipping_buttons.html.erb +8 -0
- data/generators/opensteam/templates/app/views/checkout/edit.html.erb +7 -0
- data/generators/opensteam/templates/app/views/checkout/new.html.erb +11 -0
- data/generators/opensteam/templates/app/views/checkout/outro.html.erb +1 -4
- data/generators/opensteam/templates/app/views/checkout/show.html.erb +63 -0
- data/generators/opensteam/templates/app/views/common/_header_admin.html.erb +5 -0
- data/generators/opensteam/templates/app/views/layouts/admin.html.erb +28 -12
- data/generators/opensteam/templates/app/views/layouts/profile.html.erb +2 -2
- data/generators/opensteam/templates/app/views/layouts/webshop.html.erb +5 -4
- data/generators/opensteam/templates/app/views/payment/_advance_payment_payment.html.erb +1 -0
- data/generators/opensteam/templates/app/views/payment/_credit_card_payment.html.erb +37 -0
- data/generators/opensteam/templates/app/views/payment/_credit_card_payment_confirmation.html.erb +20 -0
- data/generators/opensteam/templates/app/views/payment/_direct_debit_payment.html.erb +5 -0
- data/generators/opensteam/templates/app/views/payment/_direct_debit_payment_confirmation.html.erb +5 -0
- data/generators/opensteam/templates/app/views/profile/index.html.erb +1 -1
- data/generators/opensteam/templates/app/views/profile/infos/edit.html.erb +20 -12
- data/generators/opensteam/templates/app/views/profile/infos/edit_password.html.erb +16 -12
- data/generators/opensteam/templates/app/views/profile/orders/_order.html.erb +1 -1
- data/generators/opensteam/templates/app/views/profile/orders/show.html.erb +10 -7
- data/generators/opensteam/templates/app/views/webshop/_inventory_content.html.erb +1 -0
- data/generators/opensteam/templates/app/views/webshop/show.html.erb +3 -1
- data/generators/opensteam/templates/config/initializers/init_states.rb +13 -24
- data/generators/opensteam/templates/config/initializers/opensteam.rb +41 -0
- data/generators/opensteam/templates/config/initializers/opensteam_model_tables.rb +49 -10
- data/generators/opensteam/templates/config/initializers/opensteam_security.rb +8 -0
- data/generators/opensteam/templates/config/initializers/payment_process.rb +37 -0
- data/generators/opensteam/templates/db/migrate/20080609095723_create_addresses.rb +8 -2
- data/generators/opensteam/templates/db/migrate/20080609095726_create_inventories.rb +6 -3
- data/generators/opensteam/templates/db/migrate/20080609095728_create_order_items.rb +12 -1
- data/generators/opensteam/templates/db/migrate/20080609095729_create_orders.rb +8 -12
- data/generators/opensteam/templates/db/migrate/20080609095730_create_payment_types.rb +2 -0
- data/generators/opensteam/templates/db/migrate/20080714131513_create_invoices.rb +2 -1
- data/generators/opensteam/templates/db/migrate/20080714131650_create_shipments.rb +3 -1
- data/generators/opensteam/templates/db/migrate/20080808075247_create_containers.rb +30 -0
- data/generators/opensteam/templates/db/migrate/20080808083011_create_container_items.rb +25 -0
- data/generators/opensteam/templates/db/migrate/20080812102727_create_tax_zones.rb +16 -0
- data/generators/opensteam/templates/db/migrate/20080812102858_create_tax_rules.rb +15 -0
- data/generators/opensteam/templates/db/migrate/20080812102956_create_tax_groups.rb +14 -0
- data/generators/opensteam/templates/db/migrate/20080831181436_create_configurations.rb +15 -0
- data/generators/opensteam/templates/db/migrate/20080903131506_create_payments.rb +22 -0
- data/generators/opensteam/templates/db/migrate/20080904133625_create_payment_transactions.rb +24 -0
- data/generators/opensteam/templates/db/migrate/20080916102341_create_zones.rb +19 -0
- data/generators/opensteam/templates/db/migrate/20080916134340_create_region_shipping_rates.rb +18 -0
- data/generators/opensteam/templates/db/migrate/20080916134523_create_shipping_rate_groups.rb +18 -0
- data/generators/opensteam/templates/db/migrate/20080916135226_create_shipping_payment_additions.rb +20 -0
- data/generators/opensteam/templates/db/migrate/20080916135228_init_opensteam_config.rb +60 -0
- data/generators/opensteam/templates/public/images/opensteam_black.jpg +0 -0
- data/generators/opensteam/templates/public/images/pdf.png +0 -0
- data/generators/opensteam/templates/public/images/shader.png +0 -0
- data/generators/opensteam/templates/public/index.html +1 -0
- data/generators/opensteam/templates/public/javascripts/opensteam.js +21 -21
- data/generators/opensteam/templates/public/stylesheets/opensteam_admin.css +291 -0
- data/generators/opensteam/templates/public/stylesheets/opensteam_white.css +47 -11
- data/generators/opensteam/templates/tasks/opensteam.rake +2 -12
- data/generators/opensteam/templates/test/fixtures/addresses.yml +26 -0
- data/generators/opensteam/templates/test/fixtures/configurations.yml +29 -0
- data/generators/opensteam/templates/test/fixtures/inventories.yml +32 -15
- data/generators/opensteam/templates/test/fixtures/profiles.yml +21 -0
- data/generators/opensteam/templates/test/fixtures/region_shipping_rates.yml +33 -0
- data/generators/opensteam/templates/test/fixtures/shipping_payment_additions.yml +91 -0
- data/generators/opensteam/templates/test/fixtures/shipping_rate_groups.yml +25 -0
- data/generators/opensteam/templates/test/fixtures/tax_groups.yml +13 -0
- data/generators/opensteam/templates/test/fixtures/tax_rules.yml +29 -0
- data/generators/opensteam/templates/test/fixtures/tax_zones.yml +33 -0
- data/generators/opensteam/templates/test/fixtures/users.yml +26 -0
- data/generators/opensteam/templates/test/fixtures/zones.yml +2707 -0
- data/generators/opensteam/templates/test/functional/carts_controller_test.rb +103 -0
- data/generators/opensteam/templates/test/test_helper.rb +38 -0
- data/generators/opensteam/templates/test/unit/container_test.rb +71 -0
- data/generators/opensteam/templates/test/unit/order_test.rb +93 -0
- data/generators/opensteam/templates/test/unit/payment_test.rb +220 -0
- data/generators/opensteam/templates/test/unit/product_test.rb +158 -0
- data/generators/opensteam/templates/vendor/plugins/prawnto/.gitignore +3 -0
- data/generators/opensteam/templates/vendor/plugins/prawnto/MIT-LICENSE +20 -0
- data/generators/opensteam/templates/vendor/plugins/prawnto/README +12 -0
- data/generators/opensteam/templates/vendor/plugins/prawnto/Rakefile +22 -0
- data/generators/opensteam/templates/vendor/plugins/prawnto/init.rb +6 -0
- data/generators/opensteam/templates/vendor/plugins/prawnto/lib/prawnto.rb +13 -0
- data/generators/opensteam/templates/vendor/plugins/prawnto/lib/prawnto/action_controller.rb +47 -0
- data/generators/opensteam/templates/vendor/plugins/prawnto/lib/prawnto/template_handler/base.rb +75 -0
- data/generators/opensteam/templates/vendor/plugins/prawnto/lib/prawnto/template_handler/raw.rb +54 -0
- data/generators/opensteam/templates/vendor/plugins/prawnto/tasks/prawnto_tasks.rake +4 -0
- data/generators/opensteam/templates/vendor/plugins/prawnto/test/action_controller_test.rb +36 -0
- data/generators/opensteam/templates/vendor/plugins/prawnto/test/base_template_handler_test.rb +58 -0
- data/generators/opensteam/templates/vendor/plugins/prawnto/test/raw_template_handler_test.rb +163 -0
- data/generators/opensteam/templates/vendor/plugins/prawnto/test/template_handler_test_mocks.rb +83 -0
- data/generators/opensteam_product/templates/views/admin/_attributes.html.erb +8 -3
- data/generators/opensteam_product/templates/views/admin/_inventories.html.erb +2 -0
- data/lib/opensteam.rb +0 -1
- data/lib/opensteam/base.rb +2 -1
- data/lib/opensteam/checkout.rb +3 -12
- data/lib/opensteam/config.rb +50 -2
- data/lib/opensteam/container.rb +196 -0
- data/lib/opensteam/extension_base.rb +19 -1
- data/lib/opensteam/finder.rb +1 -1
- data/lib/opensteam/helpers/config_table_helper.rb +18 -6
- data/lib/opensteam/initializer.rb +24 -4
- data/lib/opensteam/inventory_base.rb +6 -1
- data/lib/opensteam/invoice_base.rb +12 -13
- data/lib/opensteam/money.rb +230 -0
- data/lib/opensteam/order_base.rb +122 -48
- data/lib/opensteam/payment.rb +225 -0
- data/lib/opensteam/payment/advance_payment.rb +34 -0
- data/lib/opensteam/payment/credit_card_payment.rb +217 -0
- data/lib/opensteam/payment/direct_debit_payment.rb +53 -0
- data/lib/opensteam/product_base.rb +48 -12
- data/lib/opensteam/security.rb +54 -0
- data/lib/opensteam/shipment_base.rb +214 -6
- data/lib/opensteam/shopping_cart.rb +20 -300
- data/lib/opensteam/state_logic.rb +5 -3
- data/lib/opensteam/state_machine.rb +8 -3
- data/lib/opensteam/user_base.rb +48 -6
- data/lib/opensteam/version.rb +1 -1
- metadata +122 -16
- data/generators/opensteam/templates/app/controllers/cart_controller.rb +0 -94
- data/generators/opensteam/templates/app/views/admin/orders/_event.html.erb +0 -5
- data/generators/opensteam/templates/app/views/admin/orders/_order_item.html.erb +0 -10
- data/generators/opensteam/templates/app/views/cart/_cart.html.erb +0 -8
- data/generators/opensteam/templates/app/views/cart/_cart_content.html.erb +0 -20
- data/generators/opensteam/templates/app/views/cart/update.rjs +0 -1
- data/generators/opensteam/templates/app/views/checkout/payment.html.erb +0 -8
- data/generators/opensteam/templates/app/views/checkout/shipping.html.erb +0 -45
- data/generators/opensteam/templates/app/views/checkout/show_cart.html.erb +0 -13
- data/generators/opensteam/templates/app/views/checkout/update_cart_content.rjs +0 -2
- data/generators/opensteam/templates/app/views/profile/orders/_order_item.html.erb +0 -10
- data/generators/opensteam/templates/db/migrate/20080609095725_create_dummy_users.rb +0 -21
- data/lib/opensteam/cart_base.rb +0 -227
|
@@ -22,18 +22,6 @@ namespace :opensteam do
|
|
|
22
22
|
task :create do
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
# begin
|
|
26
|
-
# require 'has_many_polymorphs'
|
|
27
|
-
# rescue LoadError
|
|
28
|
-
# puts '-' * 80
|
|
29
|
-
# puts
|
|
30
|
-
# puts "\tYour are missing the \'has_many_polymorphs' gem.\n\t1Please install it before proceeding"
|
|
31
|
-
# puts
|
|
32
|
-
# puts '-' * 80
|
|
33
|
-
# raise
|
|
34
|
-
# end
|
|
35
|
-
|
|
36
|
-
|
|
37
25
|
logger "welcome to the OpenSteam 'Petstore' sample application"
|
|
38
26
|
|
|
39
27
|
logger "creating opensteam petstore products"
|
|
@@ -65,6 +53,8 @@ namespace :opensteam do
|
|
|
65
53
|
|
|
66
54
|
require 'active_record'
|
|
67
55
|
require 'active_record/fixtures'
|
|
56
|
+
|
|
57
|
+
ENV['FIXTURES'] = "inventories_properties,properties,product_animals,inventories,product_dog_foods"
|
|
68
58
|
ActiveRecord::Base.establish_connection( YAML.load_file("config/database.yml")["#{RAILS_ENV}"] )
|
|
69
59
|
(ENV['FIXTURES'] ? ENV['FIXTURES'].split(/,/) : Dir.glob(File.join(RAILS_ROOT, 'test', 'fixtures', '*.{yml,csv}'))).each do |fixture_file|
|
|
70
60
|
Fixtures.create_fixtures('test/fixtures', File.basename(fixture_file, '.*'))
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
address_00001:
|
|
3
|
+
postal: "1010"
|
|
4
|
+
city: Vienna
|
|
5
|
+
updated_at: 2008-09-02 12:34:00 Z
|
|
6
|
+
country: Austria
|
|
7
|
+
lastname: Schaerfer
|
|
8
|
+
id: 1
|
|
9
|
+
firstname: Michael
|
|
10
|
+
street: Street1
|
|
11
|
+
user_id: 2
|
|
12
|
+
state:
|
|
13
|
+
created_at: 2008-09-02 12:33:47 Z
|
|
14
|
+
|
|
15
|
+
address_00002:
|
|
16
|
+
postal: "1010"
|
|
17
|
+
city: Vienna
|
|
18
|
+
updated_at: 2008-09-02 12:34:00 Z
|
|
19
|
+
country: Austria
|
|
20
|
+
lastname: Schaerfer
|
|
21
|
+
id: 2
|
|
22
|
+
firstname: Michael
|
|
23
|
+
street: Street2
|
|
24
|
+
user_id: 2
|
|
25
|
+
state:
|
|
26
|
+
created_at: 2008-09-02 12:33:47 Z
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
---
|
|
2
|
+
configuration_00006:
|
|
3
|
+
updated_at: 2008-09-23 09:43:09 Z
|
|
4
|
+
type:
|
|
5
|
+
id: 6
|
|
6
|
+
value: per_order
|
|
7
|
+
key: shipping_strategy
|
|
8
|
+
created_at: 2008-09-17 15:26:45 Z
|
|
9
|
+
configuration_00001:
|
|
10
|
+
updated_at: 2008-09-01 13:01:40 Z
|
|
11
|
+
type:
|
|
12
|
+
id: 1
|
|
13
|
+
value: Austria
|
|
14
|
+
key: default_country
|
|
15
|
+
created_at: 2008-09-01 12:25:03 Z
|
|
16
|
+
configuration_00002:
|
|
17
|
+
updated_at: 2008-09-17 12:50:53 Z
|
|
18
|
+
type:
|
|
19
|
+
id: 2
|
|
20
|
+
value: Default Shipping Rate
|
|
21
|
+
key: shipping_rate_group_default
|
|
22
|
+
created_at: 2008-09-17 12:38:39 Z
|
|
23
|
+
configuration_00003:
|
|
24
|
+
updated_at: 2008-09-17 12:50:41 Z
|
|
25
|
+
type:
|
|
26
|
+
id: 3
|
|
27
|
+
value: Default Shipping Rate
|
|
28
|
+
key: product_shipping_rate_group_default
|
|
29
|
+
created_at: 2008-09-17 12:50:41 Z
|
|
@@ -3,6 +3,7 @@ inventory_00042:
|
|
|
3
3
|
updated_at: 2008-05-23 12:57:43 +02:00
|
|
4
4
|
price: 1.11
|
|
5
5
|
product_type: DogFood
|
|
6
|
+
tax_group_id: 1
|
|
6
7
|
product_id: 2
|
|
7
8
|
id: 42
|
|
8
9
|
version:
|
|
@@ -16,6 +17,7 @@ inventory_00043:
|
|
|
16
17
|
updated_at: 2008-05-23 12:57:43 +02:00
|
|
17
18
|
price: 2.59
|
|
18
19
|
product_type: DogFood
|
|
20
|
+
tax_group_id: 1
|
|
19
21
|
product_id: 2
|
|
20
22
|
id: 43
|
|
21
23
|
version:
|
|
@@ -27,21 +29,23 @@ inventory_00043:
|
|
|
27
29
|
|
|
28
30
|
inventory_00033:
|
|
29
31
|
updated_at: 2008-05-23 12:59:58 +02:00
|
|
30
|
-
price: 23
|
|
32
|
+
price: 23.0
|
|
31
33
|
product_type: Animal
|
|
34
|
+
tax_group_id: 2
|
|
32
35
|
product_id: 89
|
|
33
36
|
id: 33
|
|
34
37
|
version:
|
|
35
|
-
description:
|
|
36
|
-
storage:
|
|
38
|
+
description: ""
|
|
39
|
+
storage: 123
|
|
37
40
|
created_at: 2008-05-23 12:39:38 +02:00
|
|
38
41
|
back_ordered: 0
|
|
39
42
|
active: 1
|
|
40
43
|
|
|
41
44
|
inventory_00044:
|
|
42
45
|
updated_at: 2008-05-23 12:58:37 +02:00
|
|
43
|
-
price: 42
|
|
46
|
+
price: 42.0
|
|
44
47
|
product_type: DogFood
|
|
48
|
+
tax_group_id: 1
|
|
45
49
|
product_id: 2
|
|
46
50
|
id: 44
|
|
47
51
|
version:
|
|
@@ -53,8 +57,9 @@ inventory_00044:
|
|
|
53
57
|
|
|
54
58
|
inventory_00045:
|
|
55
59
|
updated_at: 2008-05-23 12:57:43 +02:00
|
|
56
|
-
price: 23
|
|
60
|
+
price: 23.0
|
|
57
61
|
product_type: DogFood
|
|
62
|
+
tax_group_id: 1
|
|
58
63
|
product_id: 2
|
|
59
64
|
id: 45
|
|
60
65
|
version:
|
|
@@ -66,21 +71,23 @@ inventory_00045:
|
|
|
66
71
|
|
|
67
72
|
inventory_00034:
|
|
68
73
|
updated_at: 2008-05-23 13:00:45 +02:00
|
|
69
|
-
price: 13
|
|
74
|
+
price: 13.0
|
|
70
75
|
product_type: Animal
|
|
76
|
+
tax_group_id: 2
|
|
71
77
|
product_id: 90
|
|
72
78
|
id: 34
|
|
73
79
|
version:
|
|
74
80
|
description: ""
|
|
75
|
-
storage:
|
|
81
|
+
storage: 123
|
|
76
82
|
created_at: 2008-05-23 12:39:38 +02:00
|
|
77
83
|
back_ordered: 0
|
|
78
84
|
active: 1
|
|
79
85
|
|
|
80
86
|
inventory_00035:
|
|
81
87
|
updated_at: 2008-05-23 12:41:50 +02:00
|
|
82
|
-
price: 654
|
|
88
|
+
price: 654.0
|
|
83
89
|
product_type: Animal
|
|
90
|
+
tax_group_id: 2
|
|
84
91
|
product_id: 91
|
|
85
92
|
id: 35
|
|
86
93
|
version:
|
|
@@ -92,8 +99,9 @@ inventory_00035:
|
|
|
92
99
|
|
|
93
100
|
inventory_00046:
|
|
94
101
|
updated_at: 2008-05-23 12:57:44 +02:00
|
|
95
|
-
price: 123
|
|
102
|
+
price: 123.0
|
|
96
103
|
product_type: DogFood
|
|
104
|
+
tax_group_id: 2
|
|
97
105
|
product_id: 2
|
|
98
106
|
id: 46
|
|
99
107
|
version:
|
|
@@ -105,8 +113,9 @@ inventory_00046:
|
|
|
105
113
|
|
|
106
114
|
inventory_00047:
|
|
107
115
|
updated_at: 2008-05-23 12:59:10 +02:00
|
|
108
|
-
price: 600
|
|
116
|
+
price: 600.0
|
|
109
117
|
product_type: DogFood
|
|
118
|
+
tax_group_id: 1
|
|
110
119
|
product_id: 2
|
|
111
120
|
id: 47
|
|
112
121
|
version:
|
|
@@ -118,8 +127,9 @@ inventory_00047:
|
|
|
118
127
|
|
|
119
128
|
inventory_00036:
|
|
120
129
|
updated_at: 2008-05-23 13:02:07 +02:00
|
|
121
|
-
price: 599
|
|
130
|
+
price: 599.0
|
|
122
131
|
product_type: Animal
|
|
132
|
+
tax_group_id: 1
|
|
123
133
|
product_id: 92
|
|
124
134
|
id: 36
|
|
125
135
|
version:
|
|
@@ -133,6 +143,7 @@ inventory_00037:
|
|
|
133
143
|
updated_at: 2008-05-23 12:41:50 +02:00
|
|
134
144
|
price: 5.66
|
|
135
145
|
product_type: Animal
|
|
146
|
+
tax_group_id: 1
|
|
136
147
|
product_id: 93
|
|
137
148
|
id: 37
|
|
138
149
|
version:
|
|
@@ -146,6 +157,7 @@ inventory_00048:
|
|
|
146
157
|
updated_at: 2008-05-23 12:57:44 +02:00
|
|
147
158
|
price: 40.59
|
|
148
159
|
product_type: DogFood
|
|
160
|
+
tax_group_id: 2
|
|
149
161
|
product_id: 2
|
|
150
162
|
id: 48
|
|
151
163
|
version:
|
|
@@ -159,6 +171,7 @@ inventory_00049:
|
|
|
159
171
|
updated_at: 2008-05-23 12:57:44 +02:00
|
|
160
172
|
price: 1.99
|
|
161
173
|
product_type: DogFood
|
|
174
|
+
tax_group_id: 2
|
|
162
175
|
product_id: 2
|
|
163
176
|
id: 49
|
|
164
177
|
version:
|
|
@@ -170,8 +183,9 @@ inventory_00049:
|
|
|
170
183
|
|
|
171
184
|
inventory_00038:
|
|
172
185
|
updated_at: 2008-05-23 12:41:50 +02:00
|
|
173
|
-
price: 2.
|
|
186
|
+
price: 2.9
|
|
174
187
|
product_type: Animal
|
|
188
|
+
tax_group_id: 1
|
|
175
189
|
product_id: 94
|
|
176
190
|
id: 38
|
|
177
191
|
version:
|
|
@@ -183,8 +197,9 @@ inventory_00038:
|
|
|
183
197
|
|
|
184
198
|
inventory_00039:
|
|
185
199
|
updated_at: 2008-05-23 13:01:16 +02:00
|
|
186
|
-
price: 100
|
|
200
|
+
price: 100.0
|
|
187
201
|
product_type: Animal
|
|
202
|
+
tax_group_id: 1
|
|
188
203
|
product_id: 95
|
|
189
204
|
id: 39
|
|
190
205
|
version:
|
|
@@ -196,8 +211,9 @@ inventory_00039:
|
|
|
196
211
|
|
|
197
212
|
inventory_00040:
|
|
198
213
|
updated_at: 2008-05-23 13:03:29 +02:00
|
|
199
|
-
price: 12
|
|
214
|
+
price: 12.0
|
|
200
215
|
product_type: Animal
|
|
216
|
+
tax_group_id: 1
|
|
201
217
|
product_id: 96
|
|
202
218
|
id: 40
|
|
203
219
|
version:
|
|
@@ -209,8 +225,9 @@ inventory_00040:
|
|
|
209
225
|
|
|
210
226
|
inventory_00041:
|
|
211
227
|
updated_at: 2008-05-23 12:58:18 +02:00
|
|
212
|
-
price: 457
|
|
228
|
+
price: 457.0
|
|
213
229
|
product_type: DogFood
|
|
230
|
+
tax_group_id: 1
|
|
214
231
|
product_id: 2
|
|
215
232
|
id: 41
|
|
216
233
|
version:
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
profile_00001:
|
|
3
|
+
name: Admin
|
|
4
|
+
updated_at: 2008-09-02 12:27:03 Z
|
|
5
|
+
id: 1
|
|
6
|
+
description: Admin Profile
|
|
7
|
+
created_at: 2008-09-02 12:27:03 Z
|
|
8
|
+
|
|
9
|
+
profile_00002:
|
|
10
|
+
name: Customer
|
|
11
|
+
updated_at: 2008-09-02 12:27:03 Z
|
|
12
|
+
id: 2
|
|
13
|
+
description:
|
|
14
|
+
created_at: 2008-09-02 12:27:03 Z
|
|
15
|
+
|
|
16
|
+
profile_00003:
|
|
17
|
+
name: Guest
|
|
18
|
+
updated_at: 2008-09-02 12:33:47 Z
|
|
19
|
+
id: 3
|
|
20
|
+
description:
|
|
21
|
+
created_at: 2008-09-02 12:33:47 Z
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
---
|
|
2
|
+
region_shipping_rate_00007:
|
|
3
|
+
updated_at: 2008-09-17 13:28:07 Z
|
|
4
|
+
zone_id: 104
|
|
5
|
+
rate: 4.0
|
|
6
|
+
id: 7
|
|
7
|
+
shipping_method: Post
|
|
8
|
+
shipping_rate_group_id: 9
|
|
9
|
+
created_at: 2008-09-17 13:28:07 Z
|
|
10
|
+
region_shipping_rate_00008:
|
|
11
|
+
updated_at: 2008-09-18 13:32:05 Z
|
|
12
|
+
zone_id: 132
|
|
13
|
+
rate: 123.0
|
|
14
|
+
id: 8
|
|
15
|
+
shipping_method: DHL
|
|
16
|
+
shipping_rate_group_id: 9
|
|
17
|
+
created_at: 2008-09-17 13:28:07 Z
|
|
18
|
+
region_shipping_rate_00012:
|
|
19
|
+
updated_at: 2008-09-18 15:23:47 Z
|
|
20
|
+
zone_id: 104
|
|
21
|
+
rate: 7.0
|
|
22
|
+
id: 12
|
|
23
|
+
shipping_method: Post
|
|
24
|
+
shipping_rate_group_id: 11
|
|
25
|
+
created_at: 2008-09-18 15:23:47 Z
|
|
26
|
+
region_shipping_rate_00013:
|
|
27
|
+
updated_at: 2008-09-18 15:24:07 Z
|
|
28
|
+
zone_id: 104
|
|
29
|
+
rate: 77.0
|
|
30
|
+
id: 13
|
|
31
|
+
shipping_method: Post
|
|
32
|
+
shipping_rate_group_id: 12
|
|
33
|
+
created_at: 2008-09-18 15:24:07 Z
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
---
|
|
2
|
+
shipping_payment_addition_00010:
|
|
3
|
+
fix_value: false
|
|
4
|
+
updated_at: 2008-09-18 13:09:32 Z
|
|
5
|
+
operator: +
|
|
6
|
+
id: 10
|
|
7
|
+
amount: 1.0
|
|
8
|
+
payment_type: credit_card
|
|
9
|
+
shipping_rate_group_id: 9
|
|
10
|
+
created_at: 2008-09-18 13:09:32 Z
|
|
11
|
+
shipping_payment_addition_00011:
|
|
12
|
+
fix_value: false
|
|
13
|
+
updated_at: 2008-09-18 13:32:28 Z
|
|
14
|
+
operator: +
|
|
15
|
+
id: 11
|
|
16
|
+
amount: 3.44
|
|
17
|
+
payment_type: direct_debit
|
|
18
|
+
shipping_rate_group_id: 9
|
|
19
|
+
created_at: 2008-09-18 13:09:32 Z
|
|
20
|
+
shipping_payment_addition_00001:
|
|
21
|
+
fix_value: false
|
|
22
|
+
updated_at: 2008-09-17 09:39:28 Z
|
|
23
|
+
operator: +
|
|
24
|
+
id: 1
|
|
25
|
+
amount: 10.0
|
|
26
|
+
payment_type: credit_card
|
|
27
|
+
shipping_rate_group_id: 1
|
|
28
|
+
created_at: 2008-09-17 09:39:28 Z
|
|
29
|
+
shipping_payment_addition_00002:
|
|
30
|
+
fix_value: false
|
|
31
|
+
updated_at: 2008-09-17 09:42:34 Z
|
|
32
|
+
operator: +
|
|
33
|
+
id: 2
|
|
34
|
+
amount: 0.0
|
|
35
|
+
payment_type: credit_card
|
|
36
|
+
shipping_rate_group_id: 2
|
|
37
|
+
created_at: 2008-09-17 09:42:34 Z
|
|
38
|
+
shipping_payment_addition_00003:
|
|
39
|
+
fix_value:
|
|
40
|
+
updated_at: 2008-09-17 09:44:14 Z
|
|
41
|
+
operator: +
|
|
42
|
+
id: 3
|
|
43
|
+
amount: 0.0
|
|
44
|
+
payment_type: credit_card
|
|
45
|
+
shipping_rate_group_id: 3
|
|
46
|
+
created_at: 2008-09-17 09:44:14 Z
|
|
47
|
+
shipping_payment_addition_00004:
|
|
48
|
+
fix_value: false
|
|
49
|
+
updated_at: 2008-09-17 10:05:10 Z
|
|
50
|
+
operator: +
|
|
51
|
+
id: 4
|
|
52
|
+
amount: 10.0
|
|
53
|
+
payment_type: credit_card
|
|
54
|
+
shipping_rate_group_id: 4
|
|
55
|
+
created_at: 2008-09-17 10:05:10 Z
|
|
56
|
+
shipping_payment_addition_00005:
|
|
57
|
+
fix_value:
|
|
58
|
+
updated_at: 2008-09-17 10:12:25 Z
|
|
59
|
+
operator: +
|
|
60
|
+
id: 5
|
|
61
|
+
amount: 0.0
|
|
62
|
+
payment_type: credit_card
|
|
63
|
+
shipping_rate_group_id: 5
|
|
64
|
+
created_at: 2008-09-17 10:12:25 Z
|
|
65
|
+
shipping_payment_addition_00006:
|
|
66
|
+
fix_value: false
|
|
67
|
+
updated_at: 2008-09-17 10:23:46 Z
|
|
68
|
+
operator: +
|
|
69
|
+
id: 6
|
|
70
|
+
amount: 0.0
|
|
71
|
+
payment_type: credit_card
|
|
72
|
+
shipping_rate_group_id: 6
|
|
73
|
+
created_at: 2008-09-17 10:23:46 Z
|
|
74
|
+
shipping_payment_addition_00007:
|
|
75
|
+
fix_value:
|
|
76
|
+
updated_at: 2008-09-17 10:24:55 Z
|
|
77
|
+
operator: +
|
|
78
|
+
id: 7
|
|
79
|
+
amount: 0.0
|
|
80
|
+
payment_type: credit_card
|
|
81
|
+
shipping_rate_group_id: 7
|
|
82
|
+
created_at: 2008-09-17 10:24:55 Z
|
|
83
|
+
shipping_payment_addition_00008:
|
|
84
|
+
fix_value: false
|
|
85
|
+
updated_at: 2008-09-17 13:28:07 Z
|
|
86
|
+
operator: +
|
|
87
|
+
id: 8
|
|
88
|
+
amount: 2.0
|
|
89
|
+
payment_type: credit_card
|
|
90
|
+
shipping_rate_group_id:
|
|
91
|
+
created_at: 2008-09-17 13:28:07 Z
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
shipping_rate_group_00009:
|
|
3
|
+
name: Default Shipping Rate
|
|
4
|
+
updated_at: 2008-09-25 11:35:05 Z
|
|
5
|
+
shipping_disabled: false
|
|
6
|
+
id: 9
|
|
7
|
+
master_rate: 5.0
|
|
8
|
+
created_at: 2008-09-17 13:28:07 Z
|
|
9
|
+
active:
|
|
10
|
+
shipping_rate_group_00011:
|
|
11
|
+
name: Dogs
|
|
12
|
+
updated_at: 2008-09-18 15:23:47 Z
|
|
13
|
+
shipping_disabled: false
|
|
14
|
+
id: 11
|
|
15
|
+
master_rate:
|
|
16
|
+
created_at: 2008-09-18 15:23:47 Z
|
|
17
|
+
active:
|
|
18
|
+
shipping_rate_group_00012:
|
|
19
|
+
name: Reptiles
|
|
20
|
+
updated_at: 2008-09-19 10:43:30 Z
|
|
21
|
+
shipping_disabled: false
|
|
22
|
+
id: 12
|
|
23
|
+
master_rate: 999.99
|
|
24
|
+
created_at: 2008-09-18 15:24:07 Z
|
|
25
|
+
active:
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
tax_group_00001:
|
|
3
|
+
name: taxable (normal)
|
|
4
|
+
updated_at: 2008-08-26 14:15:40 Z
|
|
5
|
+
type: Opensteam::Money::Tax::ProductTaxGroup
|
|
6
|
+
id: 1
|
|
7
|
+
created_at: 2008-08-26 11:02:42 Z
|
|
8
|
+
tax_group_00002:
|
|
9
|
+
name: taxable (reduced)
|
|
10
|
+
updated_at: 2008-08-26 14:15:40 Z
|
|
11
|
+
type: Opensteam::Money::Tax::ProductTaxGroup
|
|
12
|
+
id: 2
|
|
13
|
+
created_at: 2008-08-26 11:03:27 Z
|