This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
site-base/resources/views/vendor/spark/settings/payment-method-braintree.blade.php

24 lines
887 B
PHP
Raw Normal View History

2017-11-03 05:26:07 +00:00
<spark-payment-method-braintree :user="user" :team="team" :billable-type="billableType" inline-template>
<div>
<!-- Current Discount -->
<div class="panel panel-success" v-if="currentDiscount">
<div class="panel-heading">Current Discount</div>
<div class="panel-body">
You currently receive a discount of @{{ formattedDiscount(currentDiscount) }}
for @{{ formattedDiscountDuration(currentDiscount) }}.
</div>
</div>
<!-- Update Card -->
@include('spark::settings.payment-method.update-payment-method-braintree')
<div>
<div v-if="billable.current_billing_plan">
<!-- Redeem Coupon -->
@include('spark::settings.payment-method.redeem-coupon')
</div>
</div>
</div>
</spark-payment-method-braintree>