Fixes for BPP in subscriptions

This commit is contained in:
David Bomba 2022-07-29 09:19:49 +10:00
parent 066f959c7d
commit 7357e4026f
2 changed files with 7 additions and 2 deletions

View File

@ -19,7 +19,12 @@ class AddSmsVerificationToHostedAccount extends Migration
$table->boolean('account_sms_verified')->default(0);
});
App\Models\Account::query()->update(['account_sms_verified' => true]);
App\Models\Account::query()->cursor()->each(function ($account){
$account->account_sms_verified = true;
$account->save();
});
}
/**

View File

@ -20,7 +20,7 @@
@foreach($subscription->service()->products() as $product)
<div class="flex items-center justify-between mb-4 bg-white rounded px-6 py-4 shadow-sm border">
<div>
<p class="text-sm text-gray-800">{{ $product->notes }}</p>
<p class="text-sm text-gray-800">{!! $product->notes !!}</p>
</div>
<div data-ref="price-and-quantity-container">
<span