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-stripe.blade.php

29 lines
1.0 KiB
PHP
Raw Normal View History

2017-11-03 05:26:07 +00:00
<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>