@extends('admin.layout') @section('admin-title') Sales @endsection @section('admin-content') {!! breadcrumbs(['Admin Panel' => 'admin', 'Sales' => 'admin/sales']) !!}

Sales

You can create new sales posts here. Creating a sales post alerts every user that there is a new post, unless the post is marked as not viewable (see the post creation page for details).

Create New Sales Post
@if (!count($saleses))

No sales found.

@else {!! $saleses->render() !!}
Title
Posted At
Last Edited
@foreach ($saleses as $sales)
@if (!$sales->is_visible) @if ($sales->post_at) @else @endif @endif {{ $sales->title }}
{!! pretty_date($sales->post_at ?: $sales->created_at) !!}
{!! pretty_date($sales->updated_at) !!}
@endforeach
{!! $saleses->render() !!}
{{ $saleses->total() }} result{{ $saleses->total() == 1 ? '' : 's' }} found.
@endif @endsection