diff --git a/resources/views/dashboard.blade.php b/resources/views/dashboard.blade.php index 8f08c05..2bf8087 100644 --- a/resources/views/dashboard.blade.php +++ b/resources/views/dashboard.blade.php @@ -1,5 +1,6 @@
+ @include('partials.past-due-banner')
diff --git a/resources/views/partials/past-due-banner.blade.php b/resources/views/partials/past-due-banner.blade.php new file mode 100644 index 0000000..f3b68fe --- /dev/null +++ b/resources/views/partials/past-due-banner.blade.php @@ -0,0 +1,18 @@ +@auth + @if (auth()->user()->grace_period_until !== null) +
+
+ We couldn't charge your card. + Update your payment method by + {{ auth()->user()->grace_period_until->format('l, j M') }} + or your paid features will end. +
+ + Update card + +
+ @endif +@endauth