Skip to content

Commit

Permalink
Un-dumb a few things
Browse files Browse the repository at this point in the history
  • Loading branch information
V13Axel committed Jan 25, 2023
1 parent fe920d4 commit c8c707a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions app/Models/Concerns/SyncsSubscriptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ trait SyncsSubscriptions {
public function syncSubscriptions()
{
if(!$this->stripe_id) {
dump('ere');
return;
}

Expand All @@ -28,7 +27,6 @@ public function syncSubscriptions()
]);

if($customer->isDeleted()) {
dump('here');
$this->stripe_id = null;
$this->save();

Expand Down
2 changes: 1 addition & 1 deletion resources/views/errors/calendar_unavailable.blade.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<x-error-layout>
<h1>{{ $title ?? "That calendar is unavailable." }}</h1>

<p>There are a couple of reasons for this:</p>
<p>There are a couple of reasons this can happen:</p>
<ul class="list-disc ml-6">
<li>
The creator has set it to be private, and you are not on the calendar's user list
Expand Down
3 changes: 1 addition & 2 deletions resources/views/profile/billing.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@
<h2 id="user-details-heading" class="text-lg leading-6 font-medium text-gray-900 dark:text-gray-200">Subscription</h2>
<p class="mt-1 text-sm text-gray-500 dark:text-gray-400">
@if($subscription)
<i class="pr-1 fa fa-credit-card"></i> {{ strtoupper(auth()->user()->pm_type) }} (...{{ auth()->user()->pm_last_four }})
@unless($subscription->onGracePeriod())
<i class="fa fa-ellipsis-h px-2"></i><i class="pr-1 fa fa-calendar"></i> Renews on: {{ $subscription_renews_at }}
<i class="pr-1 fa fa-calendar"></i> Renews on: {{ $subscription_renews_at }}
@else
<p class="text-red-500 dark:text-red-600"><i class="fa fa-exclamation-triangle"></i> Cancelled, ending {{ $subscription->ends_at->format('Y-m-d') }}</p>
@endunless
Expand Down

0 comments on commit c8c707a

Please sign in to comment.