Commit graph

4895 commits

Author SHA1 Message Date
PCoder
6132638faa Use correct vat 2020-01-29 16:32:07 +05:30
PCoder
48cc2b4939 Fix discount amount calculation after VAT 2020-01-29 16:19:56 +05:30
PCoder
1f79ccd490 Convert discount amount into CHF 2020-01-29 16:15:28 +05:30
PCoder
b8eca59e0d Fix design for showing prices excl and incl vat and discount 2020-01-29 16:04:03 +05:30
PCoder
970834cc38 Add parameters needed for displaying prices after discount, and vat 2020-01-29 16:03:13 +05:30
PCoder
24740438f7 get_vm_price_for_given_vat: Also return discount amount with vat 2020-01-29 16:02:26 +05:30
PCoder
cde6c51d4b Reset vat_validation_status when on payment page 2020-01-26 10:06:31 +05:30
PCoder
d1fd57b730 Correct the way we get amount from discount 2020-01-24 15:26:41 +05:30
PCoder
156930ab26 Add price_after_discount explicitly for showing in template 2020-01-24 15:24:46 +05:30
PCoder
112f3e17a9 Convert to decimal for type consistency 2020-01-24 15:03:07 +05:30
PCoder
38550ea75c Rearrange the way we show VAT and discount calculations 2020-01-24 15:00:16 +05:30
PCoder
e01b27835e Make subscription exclusive of VAT + Add VAT separately to subscription 2020-01-24 14:11:55 +05:30
PCoder
ec00785068 Update get_stripe_plan_id to make it compatible with excl_vat 2020-01-24 14:10:56 +05:30
PCoder
399f9ed6c9 Adjust hosting VM buy flow 2020-01-23 16:37:35 +05:30
PCoder
a82c4d556c Update Changelog for 2.9.5 2020-01-20 13:25:49 +05:30
PCoder
0b2a305f57 Fix pep warning 2020-01-20 12:09:49 +05:30
PCoder
a00a9f6ff0 Show invoices directly from stripe 2020-01-20 12:07:32 +05:30
PCoder
fd4f61bc5c Update Changelog for 2.9.4 2020-01-10 20:16:16 +05:30
PCoder
9212c02cd7 Check vat_validation_status exists in dict before using it 2020-01-10 19:47:49 +05:30
PCoder
5fe1c21b57 Update Changelog for 2.9.3 2020-01-05 12:56:17 +05:30
PCoder
f762cbe58c Update Changelog 2020-01-05 10:00:57 +05:30
PCoder
4b8b0b0540 Add stripe tax rate migration 2020-01-05 09:59:23 +05:30
PCoder
5468d5436c Add StripeTaxRate model 2020-01-05 09:57:54 +05:30
PCoder
96e50ddc8a Add vat rates for CY, IL and LI manually 2020-01-04 22:47:22 +05:30
PCoder
235904d784 Update Changelog for 2.9.2 2020-01-02 12:58:53 +05:30
PCoder
ceb7f9b0e6 Revert back to email 2020-01-02 12:34:42 +05:30
PCoder
7d7bd60a7f Error emails list is already a list 2020-01-02 12:27:26 +05:30
PCoder
b4a3c5e277 Send VM deleted message to error mail list 2020-01-02 12:17:57 +05:30
PCoder
5f81bc9091 Improve admin email for VM terminate 2020-01-02 12:07:55 +05:30
PCoder
690952156d Convert to str before joining 2020-01-01 02:04:55 +05:30
PCoder
f4e84f62a4 Save billing address only if billing_address exists 2020-01-01 01:28:35 +05:30
PCoder
0d27bac3a8 Update Changelog for 2.9.1 2020-01-01 00:54:03 +05:30
PCoder
251676ead8 Fix getting StripeCustomer from stripe_id 2020-01-01 00:52:11 +05:30
PCoder
2acb1fb418 Remove duplicate 2020-01-01 00:37:36 +05:30
PCoder
7130df9fd4 Update Changelog (add notes for deployment) 2020-01-01 00:36:22 +05:30
PCoder
18b04a70e6 Update Changelog for 2.9 2020-01-01 00:33:57 +05:30
PCoder
ed1a4fc1a6 Merge remote-tracking branch 'mainRepo/master' into feature/VAT_number 2020-01-01 00:21:35 +05:30
PCoder
0bca5113ca Fix unwanted char 2020-01-01 00:10:56 +05:30
PCoder
efaf75615b Send email to admin on VAT number update 2020-01-01 00:01:44 +05:30
PCoder
d4bfcbef47 Use message as returned by stripe 2019-12-31 22:55:53 +05:30
PCoder
6674e70ded Compare vat numbers only 2019-12-31 22:54:12 +05:30
PCoder
8f2bd568db Restore billing address if VAT number is not valid 2019-12-31 22:53:32 +05:30
PCoder
0695d68903 Create StripeCustomer if not already created 2019-12-31 22:52:49 +05:30
PCoder
6ac6db8212 Get the last user billing address as the default address 2019-12-31 22:52:24 +05:30
PCoder
7423a80670 Use correct variable 2019-12-31 22:50:46 +05:30
PCoder
ca5724f10f Fix error message 2019-12-31 18:36:38 +05:30
PCoder
2378410f2d Compare country for creating new tax id 2019-12-31 18:22:57 +05:30
PCoder
9078e46196 Add log 2019-12-31 18:08:09 +05:30
PCoder
3ca7e89f4f Show VAT for eu countries only 2019-12-31 17:28:11 +05:30
PCoder
aba3092207 Ignore spaces, hyphens and dots in vat number comparison 2019-12-31 15:57:50 +05:30