osb/resources/views/vendor/spark/settings/payment-method-braintree.blade.php
2017-11-03 16:26:07 +11:00

24 lines
887 B
PHP

<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>