@extends('admin.layouts.master')
@section('content')
@section('bodyClass')
@parent
hold-transition skin-blue sidebar-mini
@stop
{{ lang('master_records') }}
{{ ucwords(str_replace('-', ' ', $postType)) }}
Manage {{ ucwords(str_replace('-', ' ', $postType)) }}
Total {{ $post_items->count() }} records
@if ($buttons['add'])
@endif
@include('admin.common.filter_search')
@include('admin.common.user_message')
| # |
Title |
@if ($buttons['status'])
Current Status |
@endif
Update |
@if (!empty($post_items) && $post_items->count() > 0)
@php $inc = getPaginationSerial($post_items); @endphp
@foreach ($post_items as $item)
@php
$statusChangeUrl = apa('post/' . $postType . '/changestatus/' . $item->post_id . '/' . $item->post_status, true);
@endphp
| {{ $inc++ }} |
{!! $item->post_title !!}
@if ($buttons['status'])
|
{!! getAdminStatusIcon($item->post_status, $statusChangeUrl) !!}
|
@endif
{!! getAdminActionIcons($buttons, $postType, $item) !!}
|
@endforeach
@else
| No records found! |
@endif
{!! $post_items->links() !!}
@stop