@extends('backend.global.layout') @section('content') @include('backend.global.notifications')
@include('backend.global.header-card', ['button_label' => 'Adicionar Oferta', 'button_url' => route('manager.offers.create')])
@if(isset($offers) && count($offers) > 0) {{ csrf_field() }} @foreach($offers as $n) @include('backend.global.table-actions', ['show_route' => route('manager.offers.show', $n->id), 'edit_route' => route('manager.offers.edit', $n->id), 'delete_route' => route('manager.offers.delete', ['id' => $n->id])]) @endforeach
Titulo Sub-Titulo Data Criação Vísivel ACÇÕES
{{ $n->title }} {{ $n->subtitle }} {{ date('d-m-Y', strtotime($n->created_at)) }} {{ $n->is_visible ? 'Sim' : 'Não' }}
@else @include('backend.snippets.norecords') @endif
@endsection