Passolution, Mails, Tickets,
This commit is contained in:
parent
0857a34766
commit
f79806ffe8
46 changed files with 556 additions and 831 deletions
|
|
@ -41,10 +41,14 @@
|
|||
<div class="card">
|
||||
<div class="card-body">
|
||||
<div class="form-row">
|
||||
<div class="form-group col-sm-12">
|
||||
<div class="form-group col-sm-8">
|
||||
<label class="form-label" for="name">{{ __('Name') }} *</label>
|
||||
{{ Form::text('name', $model->name, array('placeholder'=>__('Name'), 'class'=>'form-control', 'id'=>'name', 'required'=>true)) }}
|
||||
</div>
|
||||
<div class="form-group col-sm-4">
|
||||
<label class="form-label" for="destco">{{ __('Code') }} *</label>
|
||||
{{ Form::text('destco', $model->destco, array('placeholder'=>__('Code'), 'class'=>'form-control', 'id'=>'destco', 'required'=>true)) }}
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<h4>Inhalte für Seite</h4>
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@
|
|||
<th style="max-width: 60px;"> </th>
|
||||
<th>{{__('Name')}}</th>
|
||||
<th>{{__('Bezug')}}</th>
|
||||
<th>{{__('Code')}}</th>
|
||||
<th>{{__('E-Mail(s)')}}</th>
|
||||
<th><i class="fa fa-eye"></i> {{__('Seite')}}</th>
|
||||
<th><i class="fa fa-eye"></i> {{__('CRM')}}</th>
|
||||
|
|
@ -42,11 +43,13 @@
|
|||
<span class="fa fa-edit"></span>
|
||||
</a>
|
||||
</td>
|
||||
|
||||
<td><a href="{{ route('admin_settings_travel_country_detail', [$value->id]) }}">{{ $value->name }}</a></td>
|
||||
<td>
|
||||
{!! implode("<br>", $value->getContactLandsArray()) !!}
|
||||
</td>
|
||||
<td>
|
||||
{{ $value->destco }}
|
||||
</td>
|
||||
<td>
|
||||
{!! \App\Services\Util::_implodeLines($value->contact_emails, "<br>") !!}
|
||||
</td>
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@
|
|||
<tr>
|
||||
<th style="max-width: 60px;"> </th>
|
||||
<th>{{__('Name')}}</th>
|
||||
<th>{{__('Code')}}</th>
|
||||
<th>{{__('sichtbar')}}</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
|
|
@ -26,11 +27,13 @@
|
|||
<button type="button" class="btn icon-btn btn-sm btn-primary" data-toggle="modal" data-target="#modals-default"
|
||||
data-id="{{ $value->id }}"
|
||||
data-name="{{ $value->name }}"
|
||||
data-nat="{{ $value->nat }}"
|
||||
data-active="{{ $value->active }}">
|
||||
<span class="fa fa-edit"></span>
|
||||
</button>
|
||||
</td>
|
||||
<td data-sort="{{ $value->id }}">{{ $value->name }}</td>
|
||||
<td data-sort="{{ $value->nat }}">{{ $value->nat }}</td>
|
||||
<td data-sort="{{ $value->active }}">{!! \App\Services\HTMLHelper::getActiveIcon($value->active) !!}</td>
|
||||
<td><a class="text-danger" href="{{ route('admin_settings_travel_nationality_delete', [$value->id]) }}" onclick="return confirm('{{__('Wirklich löschen?')}}');"><i class="fa fa-trash-alt"></i></a></td>
|
||||
|
||||
|
|
@ -65,6 +68,12 @@
|
|||
{{ Form::text('name', '', array('placeholder'=>__('Description'), 'class'=>'form-control', 'required'=>true)) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="form-group col">
|
||||
<label for="name" class="form-label">Code*</label>
|
||||
{{ Form::text('nat', '', array('placeholder'=>__('Code'), 'class'=>'form-control', 'required'=>true)) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="custom-control custom-checkbox m-0">
|
||||
{{ Form::checkbox('active', 1, '', array('class'=>'custom-control-input')) }}
|
||||
|
|
@ -88,6 +97,7 @@
|
|||
var button = $(event.relatedTarget);
|
||||
$(this).find(".modal-content input[name='id']").val(button.data('id'));
|
||||
$(this).find(".modal-body input[name='name']").val(button.data('name'));
|
||||
$(this).find(".modal-body input[name='nat']").val(button.data('nat'));
|
||||
$(this).find(".modal-body input[name='active']").prop( "checked", button.data('active'));
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue