PHP Classes

File: resources/views/livewire/tenant/billing/current-payment-method.blade.php

Recommend this page to a friend!
  Classes of Nyi Nyi Lwin   Laravel SAAS Boilerplate   resources/views/livewire/tenant/billing/current-payment-method.blade.php   Download  
File: resources/views/livewire/tenant/billing/current-payment-method.blade.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Laravel SAAS Boilerplate
Base application to develop software as a service
Author: By
Last change:
Date: 2 years ago
Size: 507 bytes
 

Contents

Class file image Download
<div>
    <h4 class="font-medium text-gray-900">{{ __('Current Payment Method') }}</h4>
    @if(tenant()->hasDefaultPaymentMethod())
        <p class="mt-2">
            {{ ucfirst(tenant()->defaultPaymentMethod()->asStripePaymentMethod()->card->brand) }} ending in
            {{ tenant()->defaultPaymentMethod()->asStripePaymentMethod()->card->last4 }}
        </p>
    @else
        <p class="mt-2">
            {{ __('No payment method set yet. Please add one below.') }}
        </p>
    @endif
</div>