Commit graph

307 commits

Author SHA1 Message Date
PCoder
e2c86116b2 Use username for opennebula related tasks 2020-03-05 15:27:18 +05:30
PCoder
42fb55dee1 Don't use encoded bytes and its str representation as uid
(Refer redmine #7764)
2020-02-25 19:19:40 +05:30
PCoder
c43afb7c59 Use round_up method 2020-02-01 13:47:29 +05:30
PCoder
8ee4081f60 Fix round up calculations 2020-01-29 16:58:47 +05:30
PCoder
a81fdc8ec1 Revert back to original vat calculation 2020-01-29 16:45: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
24740438f7 get_vm_price_for_given_vat: Also return discount amount with vat 2020-01-29 16:02:26 +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
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
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
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
2378410f2d Compare country for creating new tax id 2019-12-31 18:22:57 +05:30
PCoder
aba3092207 Ignore spaces, hyphens and dots in vat number comparison 2019-12-31 15:57:50 +05:30
PCoder
7949ab274e Impove logging 2019-12-31 15:43:43 +05:30
PCoder
c142d743d1 Show only error message 2019-12-26 20:25:07 +05:30
PCoder
74921fcd4a Send the same error message as forwarded by Stripe 2019-12-26 20:21:01 +05:30
PCoder
fcdabd8dc3 Set vat validation status in more places 2019-12-26 19:55:28 +05:30
PCoder
69996f536b Add vat_validation_status 2019-12-26 19:35:50 +05:30
PCoder
c6147c887c More logging + improve ba string repr 2019-12-26 18:34:26 +05:30
PCoder
6d0a7f7049 Improve stripe_customer_id 2019-12-26 18:06:22 +05:30
PCoder
5ab0bf6993 Retrieve tax id if exists before creating a new one 2019-12-26 14:46:16 +05:30
PCoder
833dc9bdcb Change stripe_tax_id field to char + regenerate migrations 2019-12-26 11:41:29 +05:30
PCoder
4a40438edc Also handle ch_vat 2019-12-25 23:10:18 +05:30
PCoder
785f99311d Handle invalid VAT number case 2019-12-25 21:02:43 +05:30
PCoder
8996254212 Save stripe tax id 2019-12-25 18:44:43 +05:30
PCoder
c6db34efdd Add DateTimeField vat_number_validated_on 2019-12-25 11:00:04 +05:30
PCoder
e48ae6a39d Update migration to make vat_number non mandatory 2019-12-25 08:31:40 +05:30
PCoder
8409acf02d Add missing vat_number field 2019-12-21 10:10:32 +05:30
PCoder
32cfdea68c Add missing vat_number field to user billing address 2019-12-21 10:05:58 +05:30
PCoder
e3078f3ea9 Add migration 2019-12-21 08:52:43 +05:30
PCoder
2d66ae6783 Improve BillingAddress string representation
Include VAT number if available
2019-12-21 08:52:09 +05:30
PCoder
202a514b1b Set empty default value for vat_number 2019-12-21 08:51:43 +05:30
PCoder
f566aa8a2e Make VAT number a part of billing address 2019-12-21 08:43:34 +05:30
PCoder
c9de757bc7 Merge remote-tracking branch 'mainRepo/master' into feature/VAT_number 2019-12-21 08:19:23 +05:30
ed22a2261e Extend ModelBackend instead of rolling our own 2019-12-19 14:03:25 +05:00
PCoder
4ef4eaf785 Merge branch 'master' into ldap_integration 2019-12-18 21:22:57 +05:30
b29ff91b46 utils/migration/0007 removed 2019-12-18 15:43:28 +05:00
PCoder
cdaf498487 Remove default for CharField (introduced unwantedly) 2019-12-17 22:09:34 +05:30
PCoder
33120d14f3 Modify billing address form and signup forms to include vat_number 2019-12-17 21:35:02 +05:30
PCoder
69061c016b Improve string representation of the billing address 2019-12-17 18:45:29 +05:30
b52f2de8d7 now using hash func from utils.ldap_manager 2019-12-14 14:29:45 +05:00
2a1932e052 Added validator to allow only letters + spaces + hyphen, Normalizing usernames to ASCII 2019-12-13 20:37:30 +05:00
b4995336c6 username would consist of only alphanumerics, ldap fields are encoded in utf-8 2019-12-13 17:52:00 +05:00
PCoder
49453cacd4 Merge remote-tracking branch 'mainRepo/master' into ldap_integration 2019-12-12 21:33:49 +05:30
PCoder
fbfc1152b8 Remove unknown or unspecified country option 2019-12-12 17:42:18 +05:30