@lang('webhooks::app.webhooks')
@foreach (\Modules\Webhooks\Entities\WebhooksSetting::WEBHOOK_FOR as $webhookFor)
webhook_for) selected @endif>{{ $webhookFor }}
@endforeach
{{--
*
--}}
@lang('app.url')
@foreach (\Modules\Webhooks\Entities\WebhooksSetting::METHODS as $method)
request_method) selected @endif>{{ $method }}
@endforeach
request_format == 'JSON') selected @endif> @lang('webhooks::modules.json')
{{ __('webhooks::app.requestHeaders') }}
@forelse ($webhook->webhooksHeadersRequests as $item)
@if ($loop->first)
@endif @if (in_array($item->headers_key, \Modules\Webhooks\Entities\WebhooksSetting::HEADERS))
@foreach (\Modules\Webhooks\Entities\WebhooksSetting::HEADERS as $header)
headers_key) selected @endif> {{ $header }}
@endforeach
@else
@endif
@if ($loop->first)
@endif
@if (!$loop->first)
@lang('app.delete')
@endif
@empty
@foreach (\Modules\Webhooks\Entities\WebhooksSetting::HEADERS as $header)
{{ $header }}
@endforeach
@endforelse
@lang('webhooks::app.addMore')
{{ __('webhooks::app.requestBody') }}
@forelse ($webhook->webhooksBodyRequests as $item)
@if ($loop->first)
@endif
@if ($loop->first)
@lang('webhooks::modules.value')
@endif
@if ($loop->iteration !== 1)
@lang('app.delete')
@endif
@empty
@lang('webhooks::modules.value')
@endforelse
@lang('webhooks::app.addMore')
@lang('app.save')
@lang('app.cancel')