freescout-customers-groups/Resources/views/conversations/partials/groups-selection.blade.php

64 lines
1.8 KiB
PHP
Raw Normal View History

<?php
/*
SPDX-License-Identifier: AGPL-3.0-only
SPDX-FileCopyrightText: © 2024 Millions Missing FRANCE <info@millionsmissing.fr>
*/
?>
@include('partials/flash_messages')
<!-- List of Customers Groups that should be included in this Conversation as Cc: -->
<div class="form-group{{ $errors->has('groups_cc') ? ' has-error' : '' }}">
<label for="groups_cc" class="col-sm-2 control-label">{{ __('mmfcustomersgroups::customers-groups.add-as-cc') }}</label>
<div class="col-sm-9">
<div class="multi-container">
@foreach ( $groups as $group )
<div class="control-group">
<div class="controls">
<label
class="control-label checkbox"
for="group-{{ $group->id }}"
style="text-align: left;"
>
<input
type="checkbox"
name="groups_cc[]"
id="group-{{ $group->id }}"
value="{{ $group->id }}"
>
{{ $group->name }}
</label>
</div>
</div>
@endforeach
</div>
</div>
</div>
<!-- List of Customers Groups that should be included in this Conversation as Bcc: -->
<div class="form-group{{ $errors->has('groups_bcc') ? ' has-error' : '' }}">
<label for="groups_bcc" class="col-sm-2 control-label">{{ __('mmfcustomersgroups::customers-groups.add-as-bcc') }}</label>
<div class="col-sm-9">
<div class="multi-container">
@foreach ( $groups as $group )
<div class="control-group">
<div class="controls">
<label
class="control-label checkbox"
for="group-{{ $group->id }}"
style="text-align: left;"
>
<input
type="checkbox"
name="groups_bcc[]"
id="group-{{ $group->id }}"
value="{{ $group->id }}"
>
{{ $group->name }}
</label>
</div>
</div>
@endforeach
</div>
</div>
</div>