updated confirmer

This commit is contained in:
Thekindbull 2025-03-03 18:23:57 +08:00
parent 619f2ece9b
commit a1f80c6f7d
3 changed files with 7 additions and 7 deletions

View File

@ -11,7 +11,7 @@ class ConfirmClientFromBitrix extends Controller
public function confirm(Request $request)
{
$deal = Deal::where('confirm_token', $request->hash)->first();
if ($request->is_unique == true)
if ((bool) $request->is_unique)
{
$deal->status = DealStatus::UNIQUE;
}

View File

@ -20,8 +20,8 @@ public function send()
);
$opts = array(
'ssl' => array(
'verify_peer' => false,
'verify_peername' => false
'verify_peer' => true,
'verify_peername' => true
),
'http' => array(
'method' => 'POST',

View File

@ -138,12 +138,12 @@ class="bi bi-check-circle-fill" viewBox="0 0 16 16">
кабинете</div>
<div class="text-center mt-3">
<button wire:click="resetData"
class="btn active border-white border-3 text-white rounded">Продолжить</button>
class="btn active border-white border-3 rounded">Продолжить</button>
</div>
@endif
@if ($status == self::ERROR)
<div class="text-center fs-1 text-white mt-3">
<div class="text-center fs-1 mt-3">
<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" fill="currentColor"
class="bi bi-emoji-astonished" viewBox="0 0 16 16">
<path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16" />
@ -152,12 +152,12 @@ class="bi bi-emoji-astonished" viewBox="0 0 16 16">
</svg>
</div>
<div class="text-center fs-3 text-white">Ой!</div>
<div class="text-center fs-3">Ой!</div>
<div class="text-center fs-5 ">Кажется, возникла проблема на нашей стороне, мы уже ее решаем.
Попробуйте зайти сюда позже.</div>
<div class="text-center my-3">
<button wire:click="back"
class="btn btn-lg active border-white border-2 text-white rounded">Повторить</button>
class="btn btn-lg active border-2 rounded">Повторить</button>
</div>
@endif
</div>