Report Strono-Date, Booking+Fewo Notice, Custom Mail opti
This commit is contained in:
parent
644ec93c53
commit
5d55e5be3f
35 changed files with 581 additions and 41 deletions
|
|
@ -25,20 +25,35 @@
|
|||
<div class="col-sm-12">
|
||||
@if($booking_notice->from_user_id === \Auth::user()->id)
|
||||
<div class="bg-primary rounded py-2 px-3 mr-3 text-white mb-2">
|
||||
<div class="font-weight-semibold mb-1">{{ $booking_notice->getName() }} | {{ $booking_notice->created_at->format("d.m.Y - H:i:s") }}
|
||||
@else
|
||||
<div class="bg-secondary rounded py-2 px-3 mr-3 mb-2">
|
||||
<div class="font-weight-semibold mb-1">{{ $booking_notice->getName() }} | {{ $booking_notice->created_at->format("d.m.Y - H:i:s") }}
|
||||
@endif
|
||||
<div class="font-weight-semibold mb-1">{{ $booking_notice->getName() }} | {{ $booking_notice->created_at->format("d.m.Y - H:i:s") }}</div>
|
||||
{!! nl2br($booking_notice->message) !!}
|
||||
</div>
|
||||
</div>
|
||||
{{-- <div class="col-sm-12">
|
||||
<div class="bg-lighter rounded py-2 px-3 mr-3 mb-2">
|
||||
<div class="font-weight-semibold mb-1">You | {{ $booking_notice->created_at->format("d.m.Y H:i:s") }}</div>
|
||||
@if($booking_notice->edit_at != null)
|
||||
| <i class="ion ion-ios-create"></i> {{ $booking_notice->edit_at->format("d.m.Y - H:i:s") }}
|
||||
@endif
|
||||
@if($booking_notice->from_user_id === \Auth::user()->id || \Auth::user()->isPermission('sua-bo-n-edit'))
|
||||
<div class="float-right"><a href="">
|
||||
<a href="javascript:void(0)" class="btn btn-xs btn-white" data-toggle="modal" data-target="#modals-load-content"
|
||||
data-id="{{ $booking_notice->id }}"
|
||||
data-model="BookingNotice"
|
||||
data-action="edit_notice"
|
||||
data-url="{{ route('booking_detail', [$booking->id]) }}"
|
||||
data-redirect="back"
|
||||
data-booking_id="{{$booking->id}}"
|
||||
data-route="{{ route('booking_modal_load') }}">
|
||||
<i class="ion ion-ios-create"></i>
|
||||
</a>
|
||||
<a href="{{ route('booking_delete', [$booking_notice->id, 'booking_notice']) }}" class="btn btn-xs btn-white text-danger" onclick="return confirm('Wirklich löschen?');"><i class="ion ion-md-trash"></i></a>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
{!! nl2br($booking_notice->message) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
--}}
|
||||
@endforeach
|
||||
@endif
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue