2014-11-24 21:07:38 +00:00
< div class = "billing-options-element" >
2013-11-15 23:17:12 +00:00
<!-- Credit Card -->
2015-05-07 20:43:45 +00:00
< div style = "margin-bottom: 20px" >
2013-11-15 23:17:12 +00:00
< div class = "panel-title" >
Credit Card
< / div >
< div class = "panel-body" >
2015-05-07 20:43:45 +00:00
< div class = "cor-loader-inline" ng-show = "!currentCard || changingCard" > < / div >
2013-11-15 23:17:12 +00:00
< div class = "current-card" ng-show = "currentCard && !changingCard" >
2014-05-22 20:52:51 +00:00
< div class = "alert alert-warning" ng-if = "currentCard.last4 && isExpiringSoon(currentCard)" >
Your current credit card is expiring soon!
< / div >
2013-12-21 03:38:53 +00:00
< img ng-src = "{{ '/static/img/creditcards/' + getCreditImage(currentCard) }}" ng-show = "currentCard.last4" >
2013-11-15 23:17:12 +00:00
< span class = "no-card-outline" ng-show = "!currentCard.last4" > < / span >
< span class = "last4" ng-show = "currentCard.last4" > ****-****-****-< b > {{ currentCard.last4 }}< / b > < / span >
2014-05-22 20:52:51 +00:00
< span class = "expires" ng-show = "currentCard.last4" >
{{ currentCard.exp_month }} / {{ currentCard.exp_year }}
< / span >
2013-11-15 23:17:12 +00:00
< span class = "not-found" ng-show = "!currentCard.last4" > No credit card found< / span >
< / div >
2013-11-15 23:58:47 +00:00
< button class = "btn btn-primary" ng-show = "currentCard && !changingCard" ng-click = "changeCard()" >
2013-11-15 23:17:12 +00:00
Change Credit Card
< / button >
< / div >
< / div >
<!-- Options -->
2015-05-07 20:43:45 +00:00
< div style = "margin-bottom: 20px" >
2013-11-15 19:42:31 +00:00
< div class = "panel-title" >
2015-12-28 18:59:50 +00:00
Billing Receipts
2015-05-07 20:43:45 +00:00
< div class = "cor-loader-inline" ng-show = "working" > < / div >
2013-11-15 19:42:31 +00:00
< / div >
< div class = "panel-body" >
< div class = "settings-option" >
< input id = "invoiceEmail" type = "checkbox" ng-model = "invoice_email" >
< label for = "invoiceEmail" > Send Receipt Emails< / label >
< div class = "settings-description" >
2015-12-28 18:59:50 +00:00
If checked, a receipt email will be sent to < a href = "javascript:void(0)" ng-click = "changeInvoiceEmailAddress()" > {{ obj.invoice_email_address || obj.email }}< / a > on every successful charge
2013-11-15 19:42:31 +00:00
< / div >
< / div >
< / div >
< / div >
2013-11-19 22:06:17 +00:00
<!-- Modal message dialog -->
< div class = "modal fade" id = "cannotchangecardModal" >
< div class = "modal-dialog" >
< div class = "modal-content" >
< div class = "modal-header" >
< button type = "button" class = "close" data-dismiss = "modal" aria-hidden = "true" > × < / button >
< h4 class = "modal-title" > Cannot change credit card< / h4 >
< / div >
< div class = "modal-body" >
Your credit card could not be changed
< / div >
< div class = "modal-footer" >
< button type = "button" class = "btn btn-default" data-dismiss = "modal" > Close< / button >
< / div >
< / div > <!-- /.modal - content -->
< / div > <!-- /.modal - dialog -->
< / div > <!-- /.modal -->
2013-11-15 19:42:31 +00:00
< / div >