Commit graph

1585 commits

Author SHA1 Message Date
PCoder
79cbfac092 Escape ssh key before storing 2020-11-12 12:12:46 +05:30
PCoder
2973ef3b1d Use correct variable 2020-10-11 17:24:33 +05:30
PCoder
81ec1125cb Capture both actions requires_action and requires_source_action 2020-10-11 17:21:15 +05:30
PCoder
877553e442 Add logger message 2020-10-11 16:45:23 +05:30
PCoder
70bfef4738 Show SCA modal when required 2020-10-11 16:01:55 +05:30
PCoder
fb59ae4055 Add migration 2020-07-21 22:03:18 +05:30
PCoder
050309a68e Add exclude_vat_calculations field and add VAT only when this is set to False 2020-07-21 21:54:54 +05:30
PCoder
c339c19cfd Fix date format bug 2020-07-01 01:21:57 +05:30
PCoder
58377319b9 Make migration reversible 2020-07-01 01:18:57 +05:30
PCoder
87a154bd0a Create migration 2020-07-01 00:47:59 +05:30
PCoder
0c39336653 Sort invoices by created_at desc 2020-06-22 20:04:01 +05:30
PCoder
81fd129d48 Use css to hide div than js 2020-06-19 16:05:06 +05:30
PCoder
25255c862a Remove buggy # in dom element id 2020-06-19 15:50:24 +05:30
PCoder
1b29a23ede Remove default display none of one-time-payments div 2020-06-19 15:48:00 +05:30
PCoder
6b3ecfaff4 Use show/hide instead of toggle 2020-06-19 15:45:44 +05:30
PCoder
c4e7f99202 Add slideToggles to subscription/one-time-payments divs 2020-06-19 15:38:26 +05:30
PCoder
0dc9c6cdca Fix element id 2020-06-19 15:30:38 +05:30
PCoder
38109e175a Move js to correct place 2020-06-19 15:25:34 +05:30
PCoder
081f81c41c Begin handling click events 2020-06-19 13:13:26 +05:30
PCoder
ffae844ee5 Merge remote-tracking branch 'mainRepo/master' into 7894/show-one-time-payment-invoices 2020-06-19 12:40:52 +05:30
PCoder
af36a49366 Revert back errors 2020-06-10 13:36:33 +05:30
PCoder
4bff49dab6 Refactor polling time to terminate VM 2020-06-10 12:27:59 +05:30
PCoder
f089892c90 Remove duplicated html + add href link to order 2020-04-10 20:02:12 +05:30
PCoder
a395b7a4a6 Do not update ho -> doing so, crashes 2020-04-10 18:44:45 +05:30
PCoder
8443e03b1f Add ho values 2020-04-07 19:33:13 +05:30
PCoder
3aff4bb69a Fix bug 2020-04-07 19:22:45 +05:30
PCoder
84c3db7e52 Pass HostingOrder instance 2020-04-07 19:21:47 +05:30
PCoder
d35403311f Fix bug fetching variables 2020-04-07 19:16:55 +05:30
PCoder
8a3fa667a0 Fix bug 2020-04-07 18:57:20 +05:30
PCoder
132a5112fd Fix getting id 2020-04-07 18:46:05 +05:30
PCoder
b01f12c9ec Fix passing params to template filter 2020-04-07 18:41:43 +05:30
PCoder
4869fd51df Change to filter from simple 2020-04-07 18:35:25 +05:30
PCoder
4435eef077 Chanage tag to simple 2020-04-01 17:26:12 +05:30
PCoder
343a9440f0 Load invs_charge context from user's charges 2020-04-01 17:09:02 +05:30
PCoder
27aa0ea595 Create another div for onetime charges 2020-04-01 17:08:22 +05:30
PCoder
70264d592d Put contents for subscription in a div of its own 2020-04-01 17:07:44 +05:30
PCoder
cec7938c9c Add tabs for one time payments 2020-04-01 11:30:27 +05:30
PCoder
cb3ff73100 Filter out None case for discount's name 2020-03-25 18:47:00 +05:30
PCoder
580960548e Merge tag '2.10.2' into branch-2.10.3b
Introduce base price for VMs and let admins add stripe_coupon_id
2020-03-18 12:05:57 +05:30
PCoder
b9096de386 More replacements: use username instead of emails 2020-03-05 18:17:14 +05:30
PCoder
b44a7f98b5 Use username instead of email when creating VM 2020-03-05 15:55:44 +05:30
PCoder
e2c86116b2 Use username for opennebula related tasks 2020-03-05 15:27:18 +05:30
PCoder
2cbf146ebc Change button to a href 2020-02-25 14:40:54 +05:30
PCoder
e322e58246 Use appropriate stripe_coupon_id 2020-02-04 09:06:10 +05:30
PCoder
e6de90e431 Set vm base price in js also 2020-02-03 12:07:50 +05:30
PCoder
a5d393ad20 Right align prices 2020-02-02 13:21:01 +05:30
PCoder
e094930d6e Show product name in invoices list if product is not a VM 2020-02-02 12:39:19 +05:30
PCoder
2058c660c0 Retrieve only one invoice 2020-02-01 13:15:03 +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
e01b27835e Make subscription exclusive of VAT + Add VAT separately to subscription 2020-01-24 14:11:55 +05:30
PCoder
399f9ed6c9 Adjust hosting VM buy flow 2020-01-23 16:37:35 +05:30
PCoder
a00a9f6ff0 Show invoices directly from stripe 2020-01-20 12:07:32 +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
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
f4e84f62a4 Save billing address only if billing_address exists 2020-01-01 01:28:35 +05:30
PCoder
efaf75615b Send email to admin on VAT number update 2020-01-01 00:01:44 +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
3ca7e89f4f Show VAT for eu countries only 2019-12-31 17:28:11 +05:30
PCoder
7397be98a5 Remove message tags printed mistakenly 2019-12-26 20:40:50 +05:30
PCoder
398a255965 Change condition so as to show error messages in red 2019-12-26 20:36:54 +05:30
PCoder
3202c83c68 Show error messages in red 2019-12-26 20:32:01 +05:30
PCoder
2a760639f6 Set validation status to empty on error 2019-12-26 20:27:15 +05:30
PCoder
cbf2f05d70 Use the latest billing address as the default one 2019-12-26 18:54:17 +05:30
PCoder
9e87fa76c3 More logging 2019-12-26 18:47:40 +05:30
PCoder
364f5599e6 Correct the way we show vat error 2019-12-26 14:08:53 +05:30
PCoder
ec5bfb18b3 Replace parenthesis is template 2019-12-26 14:05:56 +05:30
PCoder
c3b22992ea Fix wrong elif syntax 2019-12-26 14:00:27 +05:30
PCoder
2038d719f0 Show status icon for pending and verified only 2019-12-26 13:58:50 +05:30
PCoder
b284ed70a6 Show error elegantly 2019-12-26 13:56:31 +05:30
PCoder
7eff6fc92c Use correct field 2019-12-26 13:52:14 +05:30
PCoder
262bf3e2f7 Force VAT validation on each save 2019-12-26 13:49:18 +05:30
PCoder
99e70d95c4 VAT number validation in settings 2019-12-26 13:31:15 +05:30
PCoder
92570ada7f Add VAT number to order detail (hosting) 2019-12-25 10:37:45 +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
aa26458a8c Make greetings in dashboard font-weight equal to 300 2019-12-18 19:39:41 +05:00
75b08cfbf8 Change password in db only if password change in ldap is successfull 2019-12-18 12:52:46 +05:00
PCoder
24edf05e7a Save vat_number after payment is submitted 2019-12-17 23:57:15 +05:30
PCoder
6ea486b527 Initialize vat number in payment forms 2019-12-17 23:48:05 +05:30
PCoder
568d874476 Add initial value for the vat_number field in the settings 2019-12-17 23:32:49 +05:30
PCoder
5e97d70a5e Save VAT number 2019-12-17 22:52:22 +05:30
PCoder
0f3acf5db4 Change order_detail and invoice_detail templates to show VAT number 2019-12-17 22:51:54 +05:30
a8149edba5 Make greeting in dashboard a little bigger and increase margin 2019-12-16 20:17:26 +05:00
f9a9a24516 Show username in navbar and setting. Show greeting in dashboard for user's name 2019-12-16 12:54:59 +05:00
b52f2de8d7 now using hash func from utils.ldap_manager 2019-12-14 14:29:45 +05:00
3b9322b929 init commit 2019-12-10 22:53:50 +05:00
PCoder
cc027c2497 Add eu vat code 2019-12-09 18:07:46 +05:30
PCoder
fcc671a707 Fix >= for first_vm_id_after_eu_vat 2019-12-09 18:07:19 +05:30
PCoder
a6695a103f Refactor PRE_EU_VAT_RATE + fix >= for first_vm_id_after_eu_vat 2019-12-09 18:06:14 +05:30
PCoder
d2d9eafa41 Fix using wrongly copy/pasted variable 2019-12-09 15:20:05 +05:30
PCoder
d0398ddec2 Set after_eu_vat_intro for hosting VM buy flow 2019-12-09 15:15:21 +05:30