2020-05-05 10:42:02 +00:00
|
|
|
@extends("backpack::layout")
|
|
|
|
|
@section('header')
|
|
|
|
|
<section class="content-header">
|
|
|
|
|
<h1>
|
2020-05-05 11:46:35 +00:00
|
|
|
<span class="text-capitalize">{!! $crud->getHeading() ?? $crud->entity_name !!}</span>
|
|
|
|
|
<small>{!! $crud->getSubheading() ?? '#'.$entry->code !!}.</small>
|
2020-05-05 10:42:02 +00:00
|
|
|
</h1>
|
|
|
|
|
<ol class="breadcrumb">
|
|
|
|
|
<li><a href="{{ url(config('backpack.base.route_prefix'), 'dashboard') }}">{{ trans('backpack::crud.admin') }}</a></li>
|
|
|
|
|
<li><a href="{{ url($crud->route) }}" class="text-capitalize">{{ $crud->entity_name_plural }}</a></li>
|
|
|
|
|
<li class="active">{{ trans('backpack::crud.preview') }}</li>
|
|
|
|
|
</ol>
|
|
|
|
|
</section>
|
|
|
|
|
@endsection
|
|
|
|
|
|
|
|
|
|
@section('content')
|
2020-05-05 10:55:21 +00:00
|
|
|
@if ($crud->hasAccess('list'))
|
|
|
|
|
<a href="{{ url($crud->route) }}" class="hidden-print"><i class="fa fa-angle-double-left"></i> {{ trans('backpack::crud.back_to_all') }} <span>{{ $crud->entity_name_plural }}</span></a>
|
2020-05-05 10:42:02 +00:00
|
|
|
|
2020-05-05 10:55:21 +00:00
|
|
|
<a href="javascript: window.print();" class="pull-right hidden-print"><i class="fa fa-print"></i></a>
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="{{ $crud->getShowContentClass() }}">
|
|
|
|
|
|
|
|
|
|
<!-- Default box -->
|
|
|
|
|
<div class="m-t-20">
|
|
|
|
|
<div class="box no-padding no-border">
|
|
|
|
|
<table class="table table-striped">
|
|
|
|
|
<tbody>
|
2020-05-05 11:46:35 +00:00
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
<strong>Name :</strong>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
{{$entry->name}}
|
|
|
|
|
</td>
|
2020-05-05 11:52:22 +00:00
|
|
|
</tr>
|
|
|
|
|
<tr>
|
2020-05-05 11:46:35 +00:00
|
|
|
<td>
|
|
|
|
|
<strong>
|
|
|
|
|
Email :
|
|
|
|
|
</strong>
|
|
|
|
|
</td>
|
|
|
|
|
<td>{{$entry->email}}</td>
|
2020-05-05 11:52:22 +00:00
|
|
|
</tr>
|
|
|
|
|
<tr>
|
2020-05-05 11:46:35 +00:00
|
|
|
<td>
|
2020-05-05 11:49:23 +00:00
|
|
|
<strong>Phone :</strong>
|
2020-05-05 11:46:35 +00:00
|
|
|
</td>
|
|
|
|
|
<td>{{$entry->phone}}</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><strong>Subject : </strong></td>
|
2020-05-05 11:52:22 +00:00
|
|
|
<td colspan="5">{{$entry->subject}}</td>
|
2020-05-05 11:46:35 +00:00
|
|
|
</tr>
|
2020-05-05 12:05:07 +00:00
|
|
|
@if($entry->attachment)
|
|
|
|
|
<tr>
|
|
|
|
|
<td><strong>Attachment:</strong></td>
|
2020-05-05 12:16:25 +00:00
|
|
|
<td><a href="{{asset('user_content/'.$entry->attachment)}}">{{$entry->attachment}}</a> </td>
|
2020-05-05 12:05:07 +00:00
|
|
|
</tr>
|
|
|
|
|
@endif
|
2020-05-05 10:55:21 +00:00
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</div><!-- /.box-body -->
|
|
|
|
|
</div><!-- /.box -->
|
2020-05-05 12:16:25 +00:00
|
|
|
<div class="card">
|
2020-05-05 12:05:07 +00:00
|
|
|
<div class="alert alert-primary" role="alert">
|
|
|
|
|
{{$entry->text}}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2020-05-05 10:55:21 +00:00
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
@endsection
|