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

29 lines
1.0 KiB
PHP

<spark-payment-method-stripe :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 VAT ID -->
@if (Spark::collectsEuropeanVat())
@include('spark::settings.payment-method.update-vat-id')
@endif
<!-- Update Card -->
@include('spark::settings.payment-method.update-payment-method-stripe')
<div>
<div v-if="billable.stripe_id">
<!-- Redeem Coupon -->
@include('spark::settings.payment-method.redeem-coupon')
</div>
</div>
</div>
</spark-payment-method-stripe>