Commit Graph
81 Commits
Author SHA1 Message Date
Martin 4c7ab37a21 PW-680 fixed a bug where exchange_rate and price_adjustments didnt reload properly between requests 2017-03-03 10:44:12 +01:00
Rikard Bartholf 3e240a3123 PW-636 Update VAT for France 2017-02-01 09:15:53 +01:00
Rikard Bartholf 617c2daa06 PW-622 Use column in materials table for getting prices
Squashed commit of the following:

commit 801333b25a635c5fce12d937d6808894ef2475d3
Author: Martin <me.carlsson@gmail.com>
Date:   Tue Jan 3 10:59:45 2017 +0100

    PW-622 divide by float

commit 9e2c696751c28c017bcb452ea4349509ca787fd9
Author: Martin <me.carlsson@gmail.com>
Date:   Mon Jan 2 13:46:57 2017 +0100

    PW-622 use new material_price column
2017-01-17 11:42:26 +01:00
Martin 5ad053a09b add m2_price_excl_vat to all price resources 2016-12-12 12:08:00 +01:00
Martin cab0060521 do not use values in the inquiry canvas price formula 2016-11-26 00:21:25 +01:00
Martin 3433113cb9 add support for product price calculations 2016-11-19 19:56:39 +01:00
Martin b5c8145f96 add m2_price to canvas price resource 2016-11-19 17:18:55 +01:00
Martin 2bd2094f63 rename material_price to m2_price 2016-11-19 17:15:23 +01:00
Martin 4679dd2bbe PW-570 inquiry price calculations 2016-11-19 16:38:37 +01:00
Martin 980aa8f88b remove unecessary validation check 2016-11-14 00:16:30 +01:00
Martin 8e28378cb8 only check api keys on selected resources 2016-11-14 00:10:57 +01:00
Martin 81504a5366 remove redundant code 2016-11-13 21:07:45 +01:00
Martin affcc9635b rename material_price to m2_price 2016-11-13 20:14:55 +01:00
Martin d854ff9798 validators are now decorators instead 2016-11-13 19:38:45 +01:00
Martin 66b1787722 put all extensions in a new file 2016-11-13 19:30:17 +01:00
Martin 6587a27cd2 add endpoint for health-checks 2016-11-11 15:44:23 +01:00
Martin 4affc08eae test with non-rounded values for diy-frame prices 2016-11-08 14:47:32 +01:00
Martin 1f75cb9cc5 diy-frame endpoint now returns price excl vat 2016-11-08 13:54:46 +01:00
Martin 7216e38060 add rounded parameter to wallpaper price calculations 2016-11-08 13:39:45 +01:00
Martin 1d6e2cc354 improve canvas-frame price calculations 2016-11-08 13:24:08 +01:00
Martin cf5fe9fc69 refactor canvas material price calculations 2016-11-08 13:04:17 +01:00
Martin 0663bedc80 refactor material prices 2016-11-01 14:39:59 +01:00
Martin bf9fc3ae5a PW-567 add the old canvas formula 2016-10-31 17:57:11 +01:00
Martin 7fc34d9ee7 fix some small formatting issues 2016-10-22 03:26:36 +02:00
Martin 2e78700857 disable self-adhesive wallpaper material 2016-10-18 13:56:33 +02:00
Martin 180994045e add models for text-tags 2016-09-19 13:07:43 +02:00
Martin 1541119e3c remove the default sorting from models 2016-09-03 00:50:12 +02:00
Martin bb2e2abad0 pagination improved 2016-09-02 12:51:14 +02:00
Martin 92d3732a09 P5-802 add pagination 2016-08-18 17:39:24 +02:00
Martin 0b39ae3649 add default sorting for designers 2016-08-16 17:20:59 +02:00
Martin e65be51741 add default sorting for categories 2016-08-16 17:20:48 +02:00
Martin 46b5f116be pep8 it 2016-08-08 15:21:30 +02:00
Martin da96b4c183 PW-349 change minium price for wallpaper on US to 2sqm 2016-08-08 15:19:54 +02:00
Joakim Lundell 9dbee8ca2c merge P5-567 2016-08-01 13:16:12 +02:00
Martin 4c8c35f298 change VAT on eu market to 25% 2016-07-28 16:12:25 +02:00
Martin 30a0f00bd7 add is_number validator 2016-07-26 12:48:51 +02:00
Martin 8ad3571253 add __init__ file 2016-07-15 16:58:25 +02:00
Martin 7d241e2d2c slugify moved to lib 2016-07-15 16:57:43 +02:00
Martin f6849225b6 moved flask-esales extension to esales module 2016-07-15 16:12:06 +02:00
Martin e2831351b4 add material price setter 2016-07-10 23:43:41 +02:00
Martin 7e029d9637 material price should always return a float 2016-07-10 23:43:31 +02:00
Martin 663b07fe47 pep8 2016-07-10 23:41:51 +02:00
Martin 9ae2fea044 add inquiry model 2016-07-10 23:38:32 +02:00
Martin ada5d4ad2c add contract customer model 2016-07-10 23:36:27 +02:00
Martin 93426a5516 add designer pricepremium 2016-07-10 23:34:39 +02:00
Martin 3c271e2967 use data as key for all resource-lists 2016-07-09 21:36:22 +02:00
Martin 956898e3b5 designerid renamed to id 2016-07-09 21:33:12 +02:00
Martin 1a805ec69e add validate_territory validator 2016-07-08 16:49:49 +02:00
Martin c0f4cad8f9 market price_adjustments and exchange_rate now returns the correct values 2016-07-08 16:45:33 +02:00
Martin 23ab6588f7 validationError was moved to new file to avoid circular imports in the future 2016-07-08 16:41:33 +02:00