Commit graph

4915 commits

Author SHA1 Message Date
PCoder
b103cff0a6 Dont round_up discount (is obtained from subtraction) 2020-02-01 13:54:29 +05:30
PCoder
c43afb7c59 Use round_up method 2020-02-01 13:47:29 +05:30
PCoder
2058c660c0 Retrieve only one invoice 2020-02-01 13:15:03 +05:30
PCoder
23b25002ae Take users to invoice url instead of orders
Orders need a VAT alignment fix
2020-02-01 13:00:10 +05:30
PCoder
b645f9894b Open invoice in a new window 2020-02-01 12:25:56 +05:30
PCoder
9d21181073 Get stripe invoice obj correctly 2020-02-01 12:23:47 +05:30
PCoder
d8482c52f9 Get invoice correctly 2020-02-01 12:20:13 +05:30
PCoder
918d2b17e1 Change invoice url 2020-02-01 12:13:56 +05:30
PCoder
e6f00abd71 Do not round 2020-02-01 09:17:24 +05:30
PCoder
838163bd59 Make total price consistent 2020-02-01 09:15:12 +05:30
PCoder
b1acd3f25b Convert VAT percent to CHF before calculations 2020-02-01 09:02:17 +05:30
PCoder
f4393426d3 Fix proper VAT values 2020-02-01 08:53:24 +05:30
PCoder
7a9b315e2e Add media query for device width less than 368px 2020-01-30 12:33:47 +05:30
PCoder
3141dc2793 Round price_with_vat 2020-01-30 11:52:29 +05:30
PCoder
3d51e4fe32 Update alignments 2020-01-30 11:39:54 +05:30
PCoder
f546c5cb4f Increase content space in order detail desktop view 2020-01-29 17:38:44 +05:30
PCoder
4128aeb64d Add line height for final price 2020-01-29 17:21:59 +05:30
PCoder
8ee4081f60 Fix round up calculations 2020-01-29 16:58:47 +05:30
PCoder
ad606c2c55 Correct calculation of total price 2020-01-29 16:50:05 +05:30
PCoder
a81fdc8ec1 Revert back to original vat calculation 2020-01-29 16:45:07 +05:30
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