lk.zachem.info/app/Modules/Admin/Views/bitrix/webhooks.blade.php
2025-08-28 01:47:38 +08:00

27 lines
1.1 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@php($title = 'Битрикс24: вебхуки')
@extends('layouts.admin')
@section('content')
<div class="alert alert-primary" role="alert">
Создайтие вебхуки на методы, указанные ниже, на стороне вашего Битрикс24. Затем укажите эти вебхуки ниже.
</div>
<form action="{{ route('admin.bitrix.webhooks.create') }}" method="post">
@foreach ($names as $name)
<div class="row my-2">
@csrf
<div class="col-3">
{{ __('admin.' . $name) }}
</div>
<div class="col-9">
<input class="form-control" type="text" name="{{ $name }}"
value="{{ array_key_exists($name, $webhooks) ? $webhooks[$name]['url'] : '' }}">
</div>
</div>
@endforeach
<button type="submit" class="btn btn-primary mb-3">
<i class="bi bi-save"></i> Сохранить
</button>
</form>
@endsection