Mails previews, Lead Passolution, Lead Country Files, LeadParticipant
This commit is contained in:
parent
5e3bd3a1ba
commit
ae70577289
28 changed files with 596 additions and 97 deletions
|
|
@ -42,6 +42,60 @@
|
|||
</tr>
|
||||
@endif
|
||||
@endforeach
|
||||
@if($lead->travel_country_crm)
|
||||
@foreach($lead->travel_country_crm->getContactLandsModels() as $TravelCountry)
|
||||
@if($TravelCountry->stern_travel_country)
|
||||
@foreach($TravelCountry->stern_travel_country->general_files as $general_files)
|
||||
<tr>
|
||||
<th scope="row">{{$lead_files_count++}}</th>
|
||||
<td>
|
||||
<a target="_blank" href="{{ $general_files->getURL() }}" class="badge badge-md badge-info">
|
||||
<i class="{{$general_files->getIconExt()}} mr-1"></i> {{$general_files->original_name}}
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
@if(Auth::user()->isPermission('sua-st-co'))
|
||||
<a href="{{route('admin_settings_travel_country_detail', [$TravelCountry->stern_travel_country->id, 'data'])}}">{{$TravelCountry->stern_travel_country->name }}</a> |
|
||||
@endif
|
||||
{{ $general_files->mine }} | {{ $general_files->formatBytes() }}
|
||||
</td>
|
||||
<td>{{\App\Services\Util::_format_date($general_files->created_at, 'date')}}</td>
|
||||
<td>
|
||||
<a href="{{ $general_files->getURL('download') }}" class="btn btn-xs btn-default"
|
||||
title="Download" data-placement="left" rel="tooltip">
|
||||
<i class="fa fa-download"></i>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
|
||||
@foreach($lead->getPassolutionPDF() as $PassolutionPDF)
|
||||
@if($PassolutionPDF)
|
||||
<tr>
|
||||
<th scope="row">{{$lead_files_count++}}</th>
|
||||
<td>
|
||||
<a target="_blank" href="{{ $PassolutionPDF['url'] }}?t={{ time() }}" class="badge badge-md badge-next">
|
||||
<i class="fa fa-file-pdf mr-1"></i> {{$PassolutionPDF['filename']}}
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
Passolution |
|
||||
{{ \App\Services\Util::_formatBytes($PassolutionPDF['size']) }}
|
||||
</td>
|
||||
<td>{{\App\Services\Util::_format_date($PassolutionPDF['date'], 'date')}}</td>
|
||||
<td>
|
||||
<a href="{{ $PassolutionPDF['url'] }}?t={{ time() }}" class="btn btn-xs btn-default"
|
||||
title="Download" data-placement="left" rel="tooltip" download="">
|
||||
<i class="fa fa-download"></i>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
|
||||
@if($lead->lead_files)
|
||||
@foreach($lead->lead_files as $lead_file)
|
||||
|
|
@ -76,6 +130,11 @@
|
|||
@if(Auth::user()->isPermission('sua-st-em'))
|
||||
<div class="float-left small">Allgemeine Dateien unter: <a href="{{route('admin_settings_emails', ['settings'])}}">Einstellungen -> E-Mails / Einstellungen</a></div>
|
||||
@endif
|
||||
@if(Auth::user()->isPermission('sua-st-co'))
|
||||
<br><div class="float-left small">Landesspezifische Dateien unter: <a href="{{route('admin_settings_travel_country', [])}}">Einstellungen -> Reieseländer</a></div>
|
||||
@endif
|
||||
<br><div class="float-left small">Passolution Dateien aktualisieren: <a class="ml-2 btn btn-xs btn-warning" href="{{ route('lead_delete', [$lead->id, 'passolution_file']) }}" onclick="return confirm('{{__('Einreisebestimmungen erneuern?')}}');"><i class="fa fa-sync"></i></a>
|
||||
</div>
|
||||
<button type="button" class="btn btn-sm btn-primary" data-toggle="modal"
|
||||
data-target="#modals-load-content"
|
||||
data-id="new-file"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue