master_template/resources/views/crud/generated/news/show.blade.php
2024-06-15 22:23:54 +05:45

29 lines
2.4 KiB
PHP

@extends('backend.template')
@section('content')
<div class='card'>
<div class='card-header d-flex justify-content-between align-items-center'>
<h2><?php echo label('View Details'); ?></h2>
<?php createButton("btn-primary btn-cancel","","Back to List",route('news.index')); ?>
</div>
<div class='card-body'>
<p><b>Newscategories Id :&nbsp;&nbsp;&nbsp;&nbsp;</b> <span>{{$data->newscategories_id}}</span></p><p><b>Provinces Id :&nbsp;&nbsp;&nbsp;&nbsp;</b> <span>{{$data->provinces_id}}</span></p><p><b>News Type Id :&nbsp;&nbsp;&nbsp;&nbsp;</b> <span>{{$data->news_type_id}}</span></p><p><b>Authors Id :&nbsp;&nbsp;&nbsp;&nbsp;</b> <span>{{$data->authors_id}}</span></p><p><b>Title :&nbsp;&nbsp;&nbsp;&nbsp;</b> <span>{{$data->title}}</span></p><p><b>Nepali Title :&nbsp;&nbsp;&nbsp;&nbsp;</b> <span>{{$data->nepali_title}}</span></p><p><b>Alias :&nbsp;&nbsp;&nbsp;&nbsp;</b> <span>{{$data->alias}}</span></p><p><b>Content :&nbsp;&nbsp;&nbsp;&nbsp;</b> <span>{{$data->content}}</span></p><p><b>Featured News :&nbsp;&nbsp;&nbsp;&nbsp;</b> <span>{{$data->featured_news}}</span></p><p><b>Image :&nbsp;&nbsp;&nbsp;&nbsp;</b> <span>{{$data->image}}</span></p><p><b>Thumb :&nbsp;&nbsp;&nbsp;&nbsp;</b> <span>{{$data->thumb}}</span></p><p><b>Image Source :&nbsp;&nbsp;&nbsp;&nbsp;</b> <span>{{$data->image_source}}</span></p><p><b>Display Order :&nbsp;&nbsp;&nbsp;&nbsp;</b> <span>{{$data->display_order}}</span></p><p><b>Status :&nbsp;&nbsp;&nbsp;&nbsp;</b> <span
class="{{$data->status == 1 ? 'text-success' : 'text-danger'}}">{{$data->status == 1 ? 'Active' : 'Inactive'}}</span></p><p><b>Remarks :&nbsp;&nbsp;&nbsp;&nbsp;</b> <span>{{$data->remarks}}</span></p><p><b>Created By :&nbsp;&nbsp;&nbsp;&nbsp;</b> <span>{{$data->created_by}}</span></p><p><b>Updated By :&nbsp;&nbsp;&nbsp;&nbsp;</b> <span>{{$data->updated_by}}</span></p><div class="d-flex justify-content-between">
<div>
<p><b>Created On :</b>&nbsp;&nbsp;&nbsp;<span>{{$data->created_at}}</span></p>
<p><b>Created By :</b>&nbsp;&nbsp;&nbsp;<span>{{$data->createdBy}}</span></p>
</div>
<div>
<p><b>Updated On :</b>&nbsp;&nbsp;&nbsp;<span>{{$data->updated_at}}</span></p>
<p><b>Updated By :</b>&nbsp;&nbsp;&nbsp;<span>{{$data->updatedBy}}</span></p>
</div>
</div>
</div>
</div>
@endSection