updated confirmer
This commit is contained in:
parent
619f2ece9b
commit
a1f80c6f7d
@ -11,7 +11,7 @@ class ConfirmClientFromBitrix extends Controller
|
|||||||
public function confirm(Request $request)
|
public function confirm(Request $request)
|
||||||
{
|
{
|
||||||
$deal = Deal::where('confirm_token', $request->hash)->first();
|
$deal = Deal::where('confirm_token', $request->hash)->first();
|
||||||
if ($request->is_unique == true)
|
if ((bool) $request->is_unique)
|
||||||
{
|
{
|
||||||
$deal->status = DealStatus::UNIQUE;
|
$deal->status = DealStatus::UNIQUE;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -20,8 +20,8 @@ public function send()
|
|||||||
);
|
);
|
||||||
$opts = array(
|
$opts = array(
|
||||||
'ssl' => array(
|
'ssl' => array(
|
||||||
'verify_peer' => false,
|
'verify_peer' => true,
|
||||||
'verify_peername' => false
|
'verify_peername' => true
|
||||||
),
|
),
|
||||||
'http' => array(
|
'http' => array(
|
||||||
'method' => 'POST',
|
'method' => 'POST',
|
||||||
|
|||||||
@ -138,12 +138,12 @@ class="bi bi-check-circle-fill" viewBox="0 0 16 16">
|
|||||||
кабинете</div>
|
кабинете</div>
|
||||||
<div class="text-center mt-3">
|
<div class="text-center mt-3">
|
||||||
<button wire:click="resetData"
|
<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>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@if ($status == self::ERROR)
|
@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"
|
<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" fill="currentColor"
|
||||||
class="bi bi-emoji-astonished" viewBox="0 0 16 16">
|
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" />
|
<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>
|
</svg>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="text-center fs-3 text-white">Ой!</div>
|
<div class="text-center fs-3">Ой!</div>
|
||||||
<div class="text-center fs-5 ">Кажется, возникла проблема на нашей стороне, мы уже ее решаем.
|
<div class="text-center fs-5 ">Кажется, возникла проблема на нашей стороне, мы уже ее решаем.
|
||||||
Попробуйте зайти сюда позже.</div>
|
Попробуйте зайти сюда позже.</div>
|
||||||
<div class="text-center my-3">
|
<div class="text-center my-3">
|
||||||
<button wire:click="back"
|
<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>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user