Commit Graph

304 Commits

Author SHA1 Message Date
Will Marshall
c1cdf3e331 Removing some dud debugging stuff, fiddling with the checkout spec 2014-02-27 16:11:17 +11:00
Will Marshall
91a8e1c071 Fixing a Javascript bug 2014-02-27 14:47:33 +11:00
Will Marshall
a0abd9c95a Merge branch 'master' into checkout 2014-02-26 15:52:37 +11:00
Rob H
1f569e4be1 Add loading splash to BOM 2014-02-22 14:49:19 +11:00
Rob H
1b10bf53c0 WIP: BOM loads with orders filtered by default date restrictions 2014-02-22 11:33:36 +11:00
Rob H
5ec7a10e16 Add date filter fields to BOM 2014-02-21 14:01:33 +11:00
Rohan Mitchell
f88b930137 Extract unit_value_with_description into unit_description only when a string starting with a number is provided 2014-02-19 13:32:17 +11:00
Will Marshall
6a861de1e1 Reworking the checkout form some more 2014-02-18 14:50:50 +11:00
Will Marshall
ece7caa14a Moving Darkswarm to new Angular version 2014-02-18 14:00:23 +11:00
Will Marshall
3024007bd3 Reworking our page structure to work better with Angular controllers 2014-02-18 13:51:39 +11:00
Rohan Mitchell
547f46fbc9 Deal with unit_value of zero correctly - do not treat as nil 2014-02-18 10:32:36 +11:00
Will Marshall
3c696b6762 Adding payment method switching 2014-02-14 13:30:28 +11:00
Will Marshall
4704e927e3 Form toggling! Fuck yeah 2014-02-14 11:31:27 +11:00
Will Marshall
25916caeb4 Starting on Angular models for Checkout, pretties 2014-02-13 16:14:11 +11:00
Rohan Mitchell
701896be95 BPE: Add variant and save it to server. Edit the saved variant. 2014-02-13 11:52:44 +11:00
Rohan Mitchell
4d24fec6fb BPE: Add a variant. Do not show edit on unsaved variants. Delete unsaved variants. 2014-02-13 09:26:07 +11:00
Rohan Mitchell
4aa43cfbe0 Set the master unit value for a product without variants 2014-02-12 13:57:49 +11:00
Rohan Mitchell
b2ad6c7d57 Filter products for submit includes master variant 2014-02-11 19:23:27 +11:00
Rohan Mitchell
e845c0dc06 Remove derived attributes from master variant 2014-02-11 19:20:46 +11:00
Rohan Mitchell
0b255ed1e9 Pack the master variant before sending to the server 2014-02-11 19:19:12 +11:00
Rohan Mitchell
c7c70252d0 ofnTrackProduct and ofnTrackVariant accept nested properties as arguments 2014-02-11 19:13:11 +11:00
Rob H
17456ebf2e BOM: only fetch completed orders 2014-02-07 15:29:31 +11:00
Will Marshall
cec0ad8a83 Adding ze boilerplate 2014-02-07 13:55:25 +11:00
Rohan Mitchell
33691085bd Only perform scaling when a scale is present. Fixes items values not saving then loading as infinity. 2014-02-06 13:51:08 +11:00
Rob H
9373dcea3d Merge branch 'master' into bom 2014-01-31 12:32:23 +08:00
Rob H
58d1bf0092 BOM: can update quantities of line_items 2014-01-31 11:57:57 +08:00
Rob H
d679c7ac30 BOM dataSubmitter service changes class of relevant element based on response 2014-01-31 11:38:38 +08:00
Rob H
7dbb7a5c2c BOM: applying ofnLineItemUpdAttr directive to quantity field, tracks changes with update-pending class 2014-01-31 11:17:27 +08:00
Rob H
67db698a50 BOM: Add ofnLineItemUpdAttr directive to watch for changes in line_item attributes 2014-01-30 18:40:23 +08:00
Rob H
4fb06b76c7 BOM: Add switchClass service to help visualise update status 2014-01-30 18:34:48 +08:00
Rob H
b8448853ac BOM: Add dataSubmitter service to handle updates 2014-01-30 17:09:55 +08:00
Rob H
224d91083d BOM: Add factory to monitor changes made to line_items 2014-01-30 14:12:28 +08:00
Will Marshall
803f653d39 Cleaning up handling of the page when no order cycle is selected 2014-01-22 14:25:41 +11:00
Rob H
90f88d260b Confirm deletion of line items on BOM 2014-01-19 21:59:07 +08:00
Rob H
b9a3031663 Line item delete button works 2014-01-19 21:46:11 +08:00
Rob H
701b5aceb4 Add 'All' option to supplier and distributor filters 2014-01-18 14:26:07 +08:00
Rob H
79631ebb8e Add distributor filter to BOM 2014-01-18 12:48:52 +08:00
Rob H
680b5c8a42 Add supplier filter to BOM 2014-01-18 11:13:32 +08:00
Rob H
d6b4f8129c Match supplier of each line item with the list fetched from server 2014-01-17 17:14:05 +08:00
Rob H
94c375ad31 WIP: changing BOM listing from orders to line items 2014-01-17 16:57:08 +08:00
Will Marshall
48854fdcf5 Adding date parsing to Angular 2014-01-17 17:13:15 +11:00
Rob H
5aa032b54c BOM: fetchOrders sends request to API and resetOrders stores returned data 2014-01-17 14:00:02 +08:00
Rob H
c6d9bfafbc Create shared services module for backend angularjs, rename modules 2014-01-17 13:48:28 +08:00
Rob H
970942ff42 Add JS spec and basic initialisation code for BOM 2014-01-17 13:16:35 +08:00
Rohan Mitchell
87cf596a30 For a product with one or more on_demand variants, don't show 'On demand' at the product level 2014-01-17 16:12:07 +11:00
Rohan Mitchell
ed78cc053b Do not update product on_hand when product has on_demand variants 2014-01-17 16:12:07 +11:00
Rohan Mitchell
d861495d7d Fix incomplete save when first setting variant_unit 2014-01-16 14:20:26 +11:00
Rob H
ce5b24a777 Prevent duplicate filters being added 2014-01-15 15:50:41 +08:00
Rob H
8146301b2f Add validation to BPE advanced filter box 2014-01-15 14:35:46 +08:00
Rohan Mitchell
29235cd2cb Merge branch 'master' into product-amount-units
Conflicts:
	app/assets/javascripts/admin/bulk_product_update.js.coffee
	spec/spec_helper.rb
2014-01-14 15:34:05 +11:00